daily update
[binutils.git] / Makefile.in
blob2cbfbdb91224ec527dafe1219de269e576446032
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;
182 # Target libraries are put under this directory:
183 TARGET_SUBDIR = @target_subdir@
184 # This is set by the configure script to the arguments to use when configuring
185 # directories built for the target.
186 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
187 # This is the list of variables to export in the environment when
188 # configuring subdirectories for the host system.
189 BASE_TARGET_EXPORTS = \
190 $(BASE_EXPORTS) \
191 AR="$(AR_FOR_TARGET)"; export AR; \
192 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
193 CC="$(CC_FOR_TARGET)"; export CC; \
194 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
195 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
196 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
198 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
199 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
200 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
201 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
202 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
203 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
204 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
205 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
208 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
209 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
211 RAW_CXX_TARGET_EXPORTS = \
212 $(BASE_TARGET_EXPORTS) \
213 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
214 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
216 NORMAL_TARGET_EXPORTS = \
217 $(BASE_TARGET_EXPORTS) \
218 CXX="$(CXX_FOR_TARGET)"; export CXX;
220 # Where to find GMP
221 HOST_GMPLIBS = @gmplibs@
222 HOST_GMPINC = @gmpinc@
224 # ----------------------------------------------
225 # Programs producing files for the BUILD machine
226 # ----------------------------------------------
228 SHELL = @config_shell@
230 # pwd command to use. Allow user to override default by setting PWDCMD in
231 # the environment to account for automounters. The make variable must not
232 # be called PWDCMD, otherwise the value set here is passed to make
233 # subprocesses and overrides the setting from the user's environment.
234 # Don't use PWD since it is a common shell environment variable and we
235 # don't want to corrupt it.
236 PWD_COMMAND = $${PWDCMD-pwd}
238 # compilers to use to create programs which must be run in the build
239 # environment.
240 CC_FOR_BUILD = @CC_FOR_BUILD@
241 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
243 CXX_FOR_BUILD = $(CXX)
245 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
246 # here so that they can be overridden by Makefile fragments.
247 BUILD_PREFIX = @BUILD_PREFIX@
248 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
250 # Flags to pass to stage2 and later makes. They are defined
251 # here so that they can be overridden by Makefile fragments.
252 BOOT_CFLAGS= -g -O2
253 BOOT_LDFLAGS=
255 BISON = @BISON@
256 YACC = @YACC@
257 FLEX = @FLEX@
258 LEX = @LEX@
259 M4 = @M4@
260 MAKEINFO = @MAKEINFO@
261 EXPECT = @EXPECT@
262 RUNTEST = @RUNTEST@
264 # This just becomes part of the MAKEINFO definition passed down to
265 # sub-makes. It lets flags be given on the command line while still
266 # using the makeinfo from the object tree.
267 # (Default to avoid splitting info files by setting the threshold high.)
268 MAKEINFOFLAGS = --split-size=5000000
270 # ---------------------------------------------
271 # Programs producing files for the HOST machine
272 # ---------------------------------------------
274 AS = @AS@
275 AR = @AR@
276 AR_FLAGS = rc
277 CC = @CC@
278 CXX = @CXX@
279 DLLTOOL = @DLLTOOL@
280 LD = @LD@
281 LIPO = @LIPO@
282 NM = @NM@
283 OBJDUMP = @OBJDUMP@
284 RANLIB = @RANLIB@
285 STRIP = @STRIP@
286 WINDRES = @WINDRES@
288 CFLAGS = @CFLAGS@
289 LDFLAGS =
290 LIBCFLAGS = $(CFLAGS)
291 CXXFLAGS = @CXXFLAGS@
292 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
293 PICFLAG =
295 # -----------------------------------------------
296 # Programs producing files for the TARGET machine
297 # -----------------------------------------------
299 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
301 AR_FOR_TARGET=@AR_FOR_TARGET@
302 AS_FOR_TARGET=@AS_FOR_TARGET@
303 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
305 # If GCC_FOR_TARGET is not overriden on the command line, then this
306 # variable is passed down to the gcc Makefile, where it is used to
307 # build libgcc2.a. We define it here so that it can itself be
308 # overridden on the command line.
309 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
310 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
311 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
315 LD_FOR_TARGET=@LD_FOR_TARGET@
317 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
318 NM_FOR_TARGET=@NM_FOR_TARGET@
319 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
320 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
321 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
322 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
324 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
325 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
326 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
328 # During gcc bootstrap, if we use some random cc for stage1 then
329 # CFLAGS will be just -g. We want to ensure that TARGET libraries
330 # (which we know are built with gcc) are built with optimizations so
331 # prepend -O2 when setting CFLAGS_FOR_TARGET.
332 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
333 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
334 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
336 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
337 LDFLAGS_FOR_TARGET =
338 PICFLAG_FOR_TARGET =
340 # ------------------------------------
341 # Miscellaneous targets and flag lists
342 # ------------------------------------
344 # The first rule in the file had better be this one. Don't put any above it.
345 # This lives here to allow makefile fragments to contain dependencies.
346 all:
348 #### host and target specific makefile fragments come in here.
349 @target_makefile_frag@
350 @alphaieee_frag@
351 @ospace_frag@
352 @host_makefile_frag@
355 # This is the list of directories that may be needed in RPATH_ENVVAR
356 # so that prorgams built for the target machine work.
357 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
359 @if target-libstdc++-v3
360 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
361 @endif target-libstdc++-v3
363 @if target-libmudflap
364 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
365 @endif target-libmudflap
367 @if target-libssp
368 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
369 @endif target-libssp
371 @if target-libgomp
372 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
373 @endif target-libgomp
377 # This is the list of directories that may be needed in RPATH_ENVVAR
378 # so that programs built for the host machine work.
379 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
381 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
382 @if gcc
383 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
384 @endif gcc
387 @if bfd
388 HOST_LIB_PATH_bfd = \
389 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
390 @endif bfd
392 @if opcodes
393 HOST_LIB_PATH_opcodes = \
394 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
395 @endif opcodes
398 # Flags to pass down to all sub-makes.
399 BASE_FLAGS_TO_PASS = \
400 "DESTDIR=$(DESTDIR)" \
401 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
402 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
403 "bindir=$(bindir)" \
404 "datadir=$(datadir)" \
405 "exec_prefix=$(exec_prefix)" \
406 "includedir=$(includedir)" \
407 "datarootdir=$(datarootdir)" \
408 "docdir=$(docdir)" \
409 "infodir=$(infodir)" \
410 "htmldir=$(htmldir)" \
411 "libdir=$(libdir)" \
412 "libexecdir=$(libexecdir)" \
413 "lispdir=$(lispdir)" \
414 "localstatedir=$(localstatedir)" \
415 "mandir=$(mandir)" \
416 "oldincludedir=$(oldincludedir)" \
417 "prefix=$(prefix)" \
418 "sbindir=$(sbindir)" \
419 "sharedstatedir=$(sharedstatedir)" \
420 "sysconfdir=$(sysconfdir)" \
421 "tooldir=$(tooldir)" \
422 "build_tooldir=$(build_tooldir)" \
423 "target_alias=$(target_alias)" \
424 "BISON=$(BISON)" \
425 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
426 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
427 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
428 "EXPECT=$(EXPECT)" \
429 "FLEX=$(FLEX)" \
430 "INSTALL=$(INSTALL)" \
431 "INSTALL_DATA=$(INSTALL_DATA)" \
432 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
433 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
434 "LEX=$(LEX)" \
435 "M4=$(M4)" \
436 "MAKE=$(MAKE)" \
437 "RUNTEST=$(RUNTEST)" \
438 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
439 "SHELL=$(SHELL)" \
440 "YACC=$(YACC)" \
441 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
442 "AR_FLAGS=$(AR_FLAGS)" \
443 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
445 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
446 "CFLAGS=$(CFLAGS)" \
447 "CXXFLAGS=$(CXXFLAGS)" \
448 "LDFLAGS=$(LDFLAGS)" \
449 "LIBCFLAGS=$(LIBCFLAGS)" \
450 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
451 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
452 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
453 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
454 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
455 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
456 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
457 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
458 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
459 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
460 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
461 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
462 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
463 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
464 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
465 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
466 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
467 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
468 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
469 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
470 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
471 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
472 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
473 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
474 "LEAN=$(LEAN)" \
475 "CONFIG_SHELL=$(SHELL)" \
476 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
478 # We leave this in just in case, but it is not needed anymore.
479 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
481 # Flags to pass down to most sub-makes, in which we're building with
482 # the host environment.
483 EXTRA_HOST_FLAGS = \
484 'AR=$(AR)' \
485 'AS=$(AS)' \
486 'CC=$(CC)' \
487 'CXX=$(CXX)' \
488 'DLLTOOL=$(DLLTOOL)' \
489 'LD=$(LD)' \
490 'LIPO=$(LIPO)' \
491 'NM=$(NM)' \
492 'OBJDUMP=$(OBJDUMP)' \
493 'RANLIB=$(RANLIB)' \
494 'STRIP=$(STRIP)' \
495 'WINDRES=$(WINDRES)'
497 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
499 # Flags that are concerned with the location of the X11 include files
500 # and library files
502 # NOTE: until the top-level is getting the values via autoconf, it only
503 # causes problems to have this top-level Makefile overriding the autoconf-set
504 # values in child directories. Only variables that don't conflict with
505 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
507 X11_FLAGS_TO_PASS = \
508 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
509 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
511 # Flags to pass down to makes which are built with the target environment.
512 # The double $ decreases the length of the command line; those variables
513 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
514 # COMPILER_ prefixed variables are not passed down so we expand them here.
515 EXTRA_TARGET_FLAGS = \
516 'AR=$$(AR_FOR_TARGET)' \
517 'AS=$(COMPILER_AS_FOR_TARGET)' \
518 'CC=$$(CC_FOR_TARGET)' \
519 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
520 'CXX=$$(CXX_FOR_TARGET)' \
521 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
522 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
523 'LD=$(COMPILER_LD_FOR_TARGET)' \
524 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
525 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
526 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
527 'NM=$(COMPILER_NM_FOR_TARGET)' \
528 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
529 'RANLIB=$$(RANLIB_FOR_TARGET)' \
530 'WINDRES=$$(WINDRES_FOR_TARGET)'
532 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
534 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
535 # unfortunately needs the native compiler and the target ar and
536 # ranlib.
537 # If any variables are added here, they must be added to do-*, below.
538 # The BUILD_* variables are a special case, which are used for the gcc
539 # cross-building scheme.
540 EXTRA_GCC_FLAGS = \
541 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
542 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
543 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
544 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
548 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
550 .PHONY: configure-host
551 configure-host: \
552 maybe-configure-ash \
553 maybe-configure-autoconf \
554 maybe-configure-automake \
555 maybe-configure-bash \
556 maybe-configure-bfd \
557 maybe-configure-opcodes \
558 maybe-configure-binutils \
559 maybe-configure-bison \
560 maybe-configure-byacc \
561 maybe-configure-bzip2 \
562 maybe-configure-dejagnu \
563 maybe-configure-diff \
564 maybe-configure-dosutils \
565 maybe-configure-etc \
566 maybe-configure-fastjar \
567 maybe-configure-fileutils \
568 maybe-configure-findutils \
569 maybe-configure-find \
570 maybe-configure-fixincludes \
571 maybe-configure-flex \
572 maybe-configure-gas \
573 maybe-configure-gcc \
574 maybe-configure-gawk \
575 maybe-configure-gettext \
576 maybe-configure-gnuserv \
577 maybe-configure-gprof \
578 maybe-configure-gzip \
579 maybe-configure-hello \
580 maybe-configure-indent \
581 maybe-configure-intl \
582 maybe-configure-tcl \
583 maybe-configure-itcl \
584 maybe-configure-ld \
585 maybe-configure-libcpp \
586 maybe-configure-libdecnumber \
587 maybe-configure-libgui \
588 maybe-configure-libiberty \
589 maybe-configure-libtool \
590 maybe-configure-m4 \
591 maybe-configure-make \
592 maybe-configure-mmalloc \
593 maybe-configure-patch \
594 maybe-configure-perl \
595 maybe-configure-prms \
596 maybe-configure-rcs \
597 maybe-configure-readline \
598 maybe-configure-release \
599 maybe-configure-recode \
600 maybe-configure-sed \
601 maybe-configure-send-pr \
602 maybe-configure-shellutils \
603 maybe-configure-sid \
604 maybe-configure-sim \
605 maybe-configure-tar \
606 maybe-configure-texinfo \
607 maybe-configure-textutils \
608 maybe-configure-time \
609 maybe-configure-uudecode \
610 maybe-configure-wdiff \
611 maybe-configure-zip \
612 maybe-configure-zlib \
613 maybe-configure-gdb \
614 maybe-configure-expect \
615 maybe-configure-guile \
616 maybe-configure-tk \
617 maybe-configure-libtermcap \
618 maybe-configure-utils \
619 maybe-configure-gnattools
620 .PHONY: configure-target
621 configure-target: \
622 maybe-configure-target-libstdc++-v3 \
623 maybe-configure-target-libmudflap \
624 maybe-configure-target-libssp \
625 maybe-configure-target-newlib \
626 maybe-configure-target-libgfortran \
627 maybe-configure-target-libobjc \
628 maybe-configure-target-libtermcap \
629 maybe-configure-target-winsup \
630 maybe-configure-target-libgloss \
631 maybe-configure-target-libiberty \
632 maybe-configure-target-gperf \
633 maybe-configure-target-examples \
634 maybe-configure-target-libffi \
635 maybe-configure-target-libjava \
636 maybe-configure-target-zlib \
637 maybe-configure-target-boehm-gc \
638 maybe-configure-target-qthreads \
639 maybe-configure-target-rda \
640 maybe-configure-target-libada \
641 maybe-configure-target-libgomp
643 # The target built for a native non-bootstrap build.
644 .PHONY: all
645 all:
646 @if gcc-bootstrap
647 [ -f stage_final ] || echo stage3 > stage_final
648 @r=`${PWD_COMMAND}`; export r; \
649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
651 @endif gcc-bootstrap
652 @: $(MAKE); $(unstage)
653 @r=`${PWD_COMMAND}`; export r; \
654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
655 if [ -f stage_last ]; then \
656 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
657 else \
658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
661 .PHONY: all-build
663 all-build: maybe-all-build-libiberty
664 all-build: maybe-all-build-bison
665 all-build: maybe-all-build-byacc
666 all-build: maybe-all-build-flex
667 all-build: maybe-all-build-m4
668 all-build: maybe-all-build-texinfo
669 all-build: maybe-all-build-fixincludes
671 .PHONY: all-host
673 all-host: maybe-all-ash
674 all-host: maybe-all-autoconf
675 all-host: maybe-all-automake
676 all-host: maybe-all-bash
677 @if bfd-no-bootstrap
678 all-host: maybe-all-bfd
679 @endif bfd-no-bootstrap
680 @if opcodes-no-bootstrap
681 all-host: maybe-all-opcodes
682 @endif opcodes-no-bootstrap
683 @if binutils-no-bootstrap
684 all-host: maybe-all-binutils
685 @endif binutils-no-bootstrap
686 all-host: maybe-all-bison
687 all-host: maybe-all-byacc
688 all-host: maybe-all-bzip2
689 all-host: maybe-all-dejagnu
690 all-host: maybe-all-diff
691 all-host: maybe-all-dosutils
692 all-host: maybe-all-etc
693 all-host: maybe-all-fastjar
694 all-host: maybe-all-fileutils
695 all-host: maybe-all-findutils
696 all-host: maybe-all-find
697 all-host: maybe-all-fixincludes
698 all-host: maybe-all-flex
699 @if gas-no-bootstrap
700 all-host: maybe-all-gas
701 @endif gas-no-bootstrap
702 @if gcc-no-bootstrap
703 all-host: maybe-all-gcc
704 @endif gcc-no-bootstrap
705 all-host: maybe-all-gawk
706 all-host: maybe-all-gettext
707 all-host: maybe-all-gnuserv
708 all-host: maybe-all-gprof
709 all-host: maybe-all-gzip
710 all-host: maybe-all-hello
711 all-host: maybe-all-indent
712 @if intl-no-bootstrap
713 all-host: maybe-all-intl
714 @endif intl-no-bootstrap
715 all-host: maybe-all-tcl
716 all-host: maybe-all-itcl
717 @if ld-no-bootstrap
718 all-host: maybe-all-ld
719 @endif ld-no-bootstrap
720 @if libcpp-no-bootstrap
721 all-host: maybe-all-libcpp
722 @endif libcpp-no-bootstrap
723 @if libdecnumber-no-bootstrap
724 all-host: maybe-all-libdecnumber
725 @endif libdecnumber-no-bootstrap
726 all-host: maybe-all-libgui
727 @if libiberty-no-bootstrap
728 all-host: maybe-all-libiberty
729 @endif libiberty-no-bootstrap
730 all-host: maybe-all-libtool
731 all-host: maybe-all-m4
732 all-host: maybe-all-make
733 all-host: maybe-all-mmalloc
734 all-host: maybe-all-patch
735 all-host: maybe-all-perl
736 all-host: maybe-all-prms
737 all-host: maybe-all-rcs
738 all-host: maybe-all-readline
739 all-host: maybe-all-release
740 all-host: maybe-all-recode
741 all-host: maybe-all-sed
742 all-host: maybe-all-send-pr
743 all-host: maybe-all-shellutils
744 all-host: maybe-all-sid
745 all-host: maybe-all-sim
746 all-host: maybe-all-tar
747 all-host: maybe-all-texinfo
748 all-host: maybe-all-textutils
749 all-host: maybe-all-time
750 all-host: maybe-all-uudecode
751 all-host: maybe-all-wdiff
752 all-host: maybe-all-zip
753 @if zlib-no-bootstrap
754 all-host: maybe-all-zlib
755 @endif zlib-no-bootstrap
756 all-host: maybe-all-gdb
757 all-host: maybe-all-expect
758 all-host: maybe-all-guile
759 all-host: maybe-all-tk
760 all-host: maybe-all-libtermcap
761 all-host: maybe-all-utils
762 all-host: maybe-all-gnattools
764 .PHONY: all-target
766 all-target: maybe-all-target-libstdc++-v3
767 all-target: maybe-all-target-libmudflap
768 all-target: maybe-all-target-libssp
769 all-target: maybe-all-target-newlib
770 all-target: maybe-all-target-libgfortran
771 all-target: maybe-all-target-libobjc
772 all-target: maybe-all-target-libtermcap
773 all-target: maybe-all-target-winsup
774 all-target: maybe-all-target-libgloss
775 all-target: maybe-all-target-libiberty
776 all-target: maybe-all-target-gperf
777 all-target: maybe-all-target-examples
778 all-target: maybe-all-target-libffi
779 all-target: maybe-all-target-libjava
780 all-target: maybe-all-target-zlib
781 all-target: maybe-all-target-boehm-gc
782 all-target: maybe-all-target-qthreads
783 all-target: maybe-all-target-rda
784 all-target: maybe-all-target-libada
785 all-target: maybe-all-target-libgomp
787 # Do a target for all the subdirectories. A ``make do-X'' will do a
788 # ``make X'' in all subdirectories (because, in general, there is a
789 # dependency (below) of X upon do-X, a ``make X'' will also do this,
790 # but it may do additional work as well).
792 .PHONY: do-info
793 do-info:
794 @: $(MAKE); $(unstage)
795 @r=`${PWD_COMMAND}`; export r; \
796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
797 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
798 info-target
801 .PHONY: info-host
803 info-host: maybe-info-ash
804 info-host: maybe-info-autoconf
805 info-host: maybe-info-automake
806 info-host: maybe-info-bash
807 info-host: maybe-info-bfd
808 info-host: maybe-info-opcodes
809 info-host: maybe-info-binutils
810 info-host: maybe-info-bison
811 info-host: maybe-info-byacc
812 info-host: maybe-info-bzip2
813 info-host: maybe-info-dejagnu
814 info-host: maybe-info-diff
815 info-host: maybe-info-dosutils
816 info-host: maybe-info-etc
817 info-host: maybe-info-fastjar
818 info-host: maybe-info-fileutils
819 info-host: maybe-info-findutils
820 info-host: maybe-info-find
821 info-host: maybe-info-fixincludes
822 info-host: maybe-info-flex
823 info-host: maybe-info-gas
824 info-host: maybe-info-gcc
825 info-host: maybe-info-gawk
826 info-host: maybe-info-gettext
827 info-host: maybe-info-gnuserv
828 info-host: maybe-info-gprof
829 info-host: maybe-info-gzip
830 info-host: maybe-info-hello
831 info-host: maybe-info-indent
832 info-host: maybe-info-intl
833 info-host: maybe-info-tcl
834 info-host: maybe-info-itcl
835 info-host: maybe-info-ld
836 info-host: maybe-info-libcpp
837 info-host: maybe-info-libdecnumber
838 info-host: maybe-info-libgui
839 info-host: maybe-info-libiberty
840 info-host: maybe-info-libtool
841 info-host: maybe-info-m4
842 info-host: maybe-info-make
843 info-host: maybe-info-mmalloc
844 info-host: maybe-info-patch
845 info-host: maybe-info-perl
846 info-host: maybe-info-prms
847 info-host: maybe-info-rcs
848 info-host: maybe-info-readline
849 info-host: maybe-info-release
850 info-host: maybe-info-recode
851 info-host: maybe-info-sed
852 info-host: maybe-info-send-pr
853 info-host: maybe-info-shellutils
854 info-host: maybe-info-sid
855 info-host: maybe-info-sim
856 info-host: maybe-info-tar
857 info-host: maybe-info-texinfo
858 info-host: maybe-info-textutils
859 info-host: maybe-info-time
860 info-host: maybe-info-uudecode
861 info-host: maybe-info-wdiff
862 info-host: maybe-info-zip
863 info-host: maybe-info-zlib
864 info-host: maybe-info-gdb
865 info-host: maybe-info-expect
866 info-host: maybe-info-guile
867 info-host: maybe-info-tk
868 info-host: maybe-info-libtermcap
869 info-host: maybe-info-utils
870 info-host: maybe-info-gnattools
872 .PHONY: info-target
874 info-target: maybe-info-target-libstdc++-v3
875 info-target: maybe-info-target-libmudflap
876 info-target: maybe-info-target-libssp
877 info-target: maybe-info-target-newlib
878 info-target: maybe-info-target-libgfortran
879 info-target: maybe-info-target-libobjc
880 info-target: maybe-info-target-libtermcap
881 info-target: maybe-info-target-winsup
882 info-target: maybe-info-target-libgloss
883 info-target: maybe-info-target-libiberty
884 info-target: maybe-info-target-gperf
885 info-target: maybe-info-target-examples
886 info-target: maybe-info-target-libffi
887 info-target: maybe-info-target-libjava
888 info-target: maybe-info-target-zlib
889 info-target: maybe-info-target-boehm-gc
890 info-target: maybe-info-target-qthreads
891 info-target: maybe-info-target-rda
892 info-target: maybe-info-target-libada
893 info-target: maybe-info-target-libgomp
895 .PHONY: do-dvi
896 do-dvi:
897 @: $(MAKE); $(unstage)
898 @r=`${PWD_COMMAND}`; export r; \
899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
900 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
901 dvi-target
904 .PHONY: dvi-host
906 dvi-host: maybe-dvi-ash
907 dvi-host: maybe-dvi-autoconf
908 dvi-host: maybe-dvi-automake
909 dvi-host: maybe-dvi-bash
910 dvi-host: maybe-dvi-bfd
911 dvi-host: maybe-dvi-opcodes
912 dvi-host: maybe-dvi-binutils
913 dvi-host: maybe-dvi-bison
914 dvi-host: maybe-dvi-byacc
915 dvi-host: maybe-dvi-bzip2
916 dvi-host: maybe-dvi-dejagnu
917 dvi-host: maybe-dvi-diff
918 dvi-host: maybe-dvi-dosutils
919 dvi-host: maybe-dvi-etc
920 dvi-host: maybe-dvi-fastjar
921 dvi-host: maybe-dvi-fileutils
922 dvi-host: maybe-dvi-findutils
923 dvi-host: maybe-dvi-find
924 dvi-host: maybe-dvi-fixincludes
925 dvi-host: maybe-dvi-flex
926 dvi-host: maybe-dvi-gas
927 dvi-host: maybe-dvi-gcc
928 dvi-host: maybe-dvi-gawk
929 dvi-host: maybe-dvi-gettext
930 dvi-host: maybe-dvi-gnuserv
931 dvi-host: maybe-dvi-gprof
932 dvi-host: maybe-dvi-gzip
933 dvi-host: maybe-dvi-hello
934 dvi-host: maybe-dvi-indent
935 dvi-host: maybe-dvi-intl
936 dvi-host: maybe-dvi-tcl
937 dvi-host: maybe-dvi-itcl
938 dvi-host: maybe-dvi-ld
939 dvi-host: maybe-dvi-libcpp
940 dvi-host: maybe-dvi-libdecnumber
941 dvi-host: maybe-dvi-libgui
942 dvi-host: maybe-dvi-libiberty
943 dvi-host: maybe-dvi-libtool
944 dvi-host: maybe-dvi-m4
945 dvi-host: maybe-dvi-make
946 dvi-host: maybe-dvi-mmalloc
947 dvi-host: maybe-dvi-patch
948 dvi-host: maybe-dvi-perl
949 dvi-host: maybe-dvi-prms
950 dvi-host: maybe-dvi-rcs
951 dvi-host: maybe-dvi-readline
952 dvi-host: maybe-dvi-release
953 dvi-host: maybe-dvi-recode
954 dvi-host: maybe-dvi-sed
955 dvi-host: maybe-dvi-send-pr
956 dvi-host: maybe-dvi-shellutils
957 dvi-host: maybe-dvi-sid
958 dvi-host: maybe-dvi-sim
959 dvi-host: maybe-dvi-tar
960 dvi-host: maybe-dvi-texinfo
961 dvi-host: maybe-dvi-textutils
962 dvi-host: maybe-dvi-time
963 dvi-host: maybe-dvi-uudecode
964 dvi-host: maybe-dvi-wdiff
965 dvi-host: maybe-dvi-zip
966 dvi-host: maybe-dvi-zlib
967 dvi-host: maybe-dvi-gdb
968 dvi-host: maybe-dvi-expect
969 dvi-host: maybe-dvi-guile
970 dvi-host: maybe-dvi-tk
971 dvi-host: maybe-dvi-libtermcap
972 dvi-host: maybe-dvi-utils
973 dvi-host: maybe-dvi-gnattools
975 .PHONY: dvi-target
977 dvi-target: maybe-dvi-target-libstdc++-v3
978 dvi-target: maybe-dvi-target-libmudflap
979 dvi-target: maybe-dvi-target-libssp
980 dvi-target: maybe-dvi-target-newlib
981 dvi-target: maybe-dvi-target-libgfortran
982 dvi-target: maybe-dvi-target-libobjc
983 dvi-target: maybe-dvi-target-libtermcap
984 dvi-target: maybe-dvi-target-winsup
985 dvi-target: maybe-dvi-target-libgloss
986 dvi-target: maybe-dvi-target-libiberty
987 dvi-target: maybe-dvi-target-gperf
988 dvi-target: maybe-dvi-target-examples
989 dvi-target: maybe-dvi-target-libffi
990 dvi-target: maybe-dvi-target-libjava
991 dvi-target: maybe-dvi-target-zlib
992 dvi-target: maybe-dvi-target-boehm-gc
993 dvi-target: maybe-dvi-target-qthreads
994 dvi-target: maybe-dvi-target-rda
995 dvi-target: maybe-dvi-target-libada
996 dvi-target: maybe-dvi-target-libgomp
998 .PHONY: do-html
999 do-html:
1000 @: $(MAKE); $(unstage)
1001 @r=`${PWD_COMMAND}`; export r; \
1002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1003 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1004 html-target
1007 .PHONY: html-host
1009 html-host: maybe-html-ash
1010 html-host: maybe-html-autoconf
1011 html-host: maybe-html-automake
1012 html-host: maybe-html-bash
1013 html-host: maybe-html-bfd
1014 html-host: maybe-html-opcodes
1015 html-host: maybe-html-binutils
1016 html-host: maybe-html-bison
1017 html-host: maybe-html-byacc
1018 html-host: maybe-html-bzip2
1019 html-host: maybe-html-dejagnu
1020 html-host: maybe-html-diff
1021 html-host: maybe-html-dosutils
1022 html-host: maybe-html-etc
1023 html-host: maybe-html-fastjar
1024 html-host: maybe-html-fileutils
1025 html-host: maybe-html-findutils
1026 html-host: maybe-html-find
1027 html-host: maybe-html-fixincludes
1028 html-host: maybe-html-flex
1029 html-host: maybe-html-gas
1030 html-host: maybe-html-gcc
1031 html-host: maybe-html-gawk
1032 html-host: maybe-html-gettext
1033 html-host: maybe-html-gnuserv
1034 html-host: maybe-html-gprof
1035 html-host: maybe-html-gzip
1036 html-host: maybe-html-hello
1037 html-host: maybe-html-indent
1038 html-host: maybe-html-intl
1039 html-host: maybe-html-tcl
1040 html-host: maybe-html-itcl
1041 html-host: maybe-html-ld
1042 html-host: maybe-html-libcpp
1043 html-host: maybe-html-libdecnumber
1044 html-host: maybe-html-libgui
1045 html-host: maybe-html-libiberty
1046 html-host: maybe-html-libtool
1047 html-host: maybe-html-m4
1048 html-host: maybe-html-make
1049 html-host: maybe-html-mmalloc
1050 html-host: maybe-html-patch
1051 html-host: maybe-html-perl
1052 html-host: maybe-html-prms
1053 html-host: maybe-html-rcs
1054 html-host: maybe-html-readline
1055 html-host: maybe-html-release
1056 html-host: maybe-html-recode
1057 html-host: maybe-html-sed
1058 html-host: maybe-html-send-pr
1059 html-host: maybe-html-shellutils
1060 html-host: maybe-html-sid
1061 html-host: maybe-html-sim
1062 html-host: maybe-html-tar
1063 html-host: maybe-html-texinfo
1064 html-host: maybe-html-textutils
1065 html-host: maybe-html-time
1066 html-host: maybe-html-uudecode
1067 html-host: maybe-html-wdiff
1068 html-host: maybe-html-zip
1069 html-host: maybe-html-zlib
1070 html-host: maybe-html-gdb
1071 html-host: maybe-html-expect
1072 html-host: maybe-html-guile
1073 html-host: maybe-html-tk
1074 html-host: maybe-html-libtermcap
1075 html-host: maybe-html-utils
1076 html-host: maybe-html-gnattools
1078 .PHONY: html-target
1080 html-target: maybe-html-target-libstdc++-v3
1081 html-target: maybe-html-target-libmudflap
1082 html-target: maybe-html-target-libssp
1083 html-target: maybe-html-target-newlib
1084 html-target: maybe-html-target-libgfortran
1085 html-target: maybe-html-target-libobjc
1086 html-target: maybe-html-target-libtermcap
1087 html-target: maybe-html-target-winsup
1088 html-target: maybe-html-target-libgloss
1089 html-target: maybe-html-target-libiberty
1090 html-target: maybe-html-target-gperf
1091 html-target: maybe-html-target-examples
1092 html-target: maybe-html-target-libffi
1093 html-target: maybe-html-target-libjava
1094 html-target: maybe-html-target-zlib
1095 html-target: maybe-html-target-boehm-gc
1096 html-target: maybe-html-target-qthreads
1097 html-target: maybe-html-target-rda
1098 html-target: maybe-html-target-libada
1099 html-target: maybe-html-target-libgomp
1101 .PHONY: do-TAGS
1102 do-TAGS:
1103 @: $(MAKE); $(unstage)
1104 @r=`${PWD_COMMAND}`; export r; \
1105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1106 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1107 TAGS-target
1110 .PHONY: TAGS-host
1112 TAGS-host: maybe-TAGS-ash
1113 TAGS-host: maybe-TAGS-autoconf
1114 TAGS-host: maybe-TAGS-automake
1115 TAGS-host: maybe-TAGS-bash
1116 TAGS-host: maybe-TAGS-bfd
1117 TAGS-host: maybe-TAGS-opcodes
1118 TAGS-host: maybe-TAGS-binutils
1119 TAGS-host: maybe-TAGS-bison
1120 TAGS-host: maybe-TAGS-byacc
1121 TAGS-host: maybe-TAGS-bzip2
1122 TAGS-host: maybe-TAGS-dejagnu
1123 TAGS-host: maybe-TAGS-diff
1124 TAGS-host: maybe-TAGS-dosutils
1125 TAGS-host: maybe-TAGS-etc
1126 TAGS-host: maybe-TAGS-fastjar
1127 TAGS-host: maybe-TAGS-fileutils
1128 TAGS-host: maybe-TAGS-findutils
1129 TAGS-host: maybe-TAGS-find
1130 TAGS-host: maybe-TAGS-fixincludes
1131 TAGS-host: maybe-TAGS-flex
1132 TAGS-host: maybe-TAGS-gas
1133 TAGS-host: maybe-TAGS-gcc
1134 TAGS-host: maybe-TAGS-gawk
1135 TAGS-host: maybe-TAGS-gettext
1136 TAGS-host: maybe-TAGS-gnuserv
1137 TAGS-host: maybe-TAGS-gprof
1138 TAGS-host: maybe-TAGS-gzip
1139 TAGS-host: maybe-TAGS-hello
1140 TAGS-host: maybe-TAGS-indent
1141 TAGS-host: maybe-TAGS-intl
1142 TAGS-host: maybe-TAGS-tcl
1143 TAGS-host: maybe-TAGS-itcl
1144 TAGS-host: maybe-TAGS-ld
1145 TAGS-host: maybe-TAGS-libcpp
1146 TAGS-host: maybe-TAGS-libdecnumber
1147 TAGS-host: maybe-TAGS-libgui
1148 TAGS-host: maybe-TAGS-libiberty
1149 TAGS-host: maybe-TAGS-libtool
1150 TAGS-host: maybe-TAGS-m4
1151 TAGS-host: maybe-TAGS-make
1152 TAGS-host: maybe-TAGS-mmalloc
1153 TAGS-host: maybe-TAGS-patch
1154 TAGS-host: maybe-TAGS-perl
1155 TAGS-host: maybe-TAGS-prms
1156 TAGS-host: maybe-TAGS-rcs
1157 TAGS-host: maybe-TAGS-readline
1158 TAGS-host: maybe-TAGS-release
1159 TAGS-host: maybe-TAGS-recode
1160 TAGS-host: maybe-TAGS-sed
1161 TAGS-host: maybe-TAGS-send-pr
1162 TAGS-host: maybe-TAGS-shellutils
1163 TAGS-host: maybe-TAGS-sid
1164 TAGS-host: maybe-TAGS-sim
1165 TAGS-host: maybe-TAGS-tar
1166 TAGS-host: maybe-TAGS-texinfo
1167 TAGS-host: maybe-TAGS-textutils
1168 TAGS-host: maybe-TAGS-time
1169 TAGS-host: maybe-TAGS-uudecode
1170 TAGS-host: maybe-TAGS-wdiff
1171 TAGS-host: maybe-TAGS-zip
1172 TAGS-host: maybe-TAGS-zlib
1173 TAGS-host: maybe-TAGS-gdb
1174 TAGS-host: maybe-TAGS-expect
1175 TAGS-host: maybe-TAGS-guile
1176 TAGS-host: maybe-TAGS-tk
1177 TAGS-host: maybe-TAGS-libtermcap
1178 TAGS-host: maybe-TAGS-utils
1179 TAGS-host: maybe-TAGS-gnattools
1181 .PHONY: TAGS-target
1183 TAGS-target: maybe-TAGS-target-libstdc++-v3
1184 TAGS-target: maybe-TAGS-target-libmudflap
1185 TAGS-target: maybe-TAGS-target-libssp
1186 TAGS-target: maybe-TAGS-target-newlib
1187 TAGS-target: maybe-TAGS-target-libgfortran
1188 TAGS-target: maybe-TAGS-target-libobjc
1189 TAGS-target: maybe-TAGS-target-libtermcap
1190 TAGS-target: maybe-TAGS-target-winsup
1191 TAGS-target: maybe-TAGS-target-libgloss
1192 TAGS-target: maybe-TAGS-target-libiberty
1193 TAGS-target: maybe-TAGS-target-gperf
1194 TAGS-target: maybe-TAGS-target-examples
1195 TAGS-target: maybe-TAGS-target-libffi
1196 TAGS-target: maybe-TAGS-target-libjava
1197 TAGS-target: maybe-TAGS-target-zlib
1198 TAGS-target: maybe-TAGS-target-boehm-gc
1199 TAGS-target: maybe-TAGS-target-qthreads
1200 TAGS-target: maybe-TAGS-target-rda
1201 TAGS-target: maybe-TAGS-target-libada
1202 TAGS-target: maybe-TAGS-target-libgomp
1204 .PHONY: do-install-info
1205 do-install-info:
1206 @: $(MAKE); $(unstage)
1207 @r=`${PWD_COMMAND}`; export r; \
1208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1209 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1210 install-info-target
1213 .PHONY: install-info-host
1215 install-info-host: maybe-install-info-ash
1216 install-info-host: maybe-install-info-autoconf
1217 install-info-host: maybe-install-info-automake
1218 install-info-host: maybe-install-info-bash
1219 install-info-host: maybe-install-info-bfd
1220 install-info-host: maybe-install-info-opcodes
1221 install-info-host: maybe-install-info-binutils
1222 install-info-host: maybe-install-info-bison
1223 install-info-host: maybe-install-info-byacc
1224 install-info-host: maybe-install-info-bzip2
1225 install-info-host: maybe-install-info-dejagnu
1226 install-info-host: maybe-install-info-diff
1227 install-info-host: maybe-install-info-dosutils
1228 install-info-host: maybe-install-info-etc
1229 install-info-host: maybe-install-info-fastjar
1230 install-info-host: maybe-install-info-fileutils
1231 install-info-host: maybe-install-info-findutils
1232 install-info-host: maybe-install-info-find
1233 install-info-host: maybe-install-info-fixincludes
1234 install-info-host: maybe-install-info-flex
1235 install-info-host: maybe-install-info-gas
1236 install-info-host: maybe-install-info-gcc
1237 install-info-host: maybe-install-info-gawk
1238 install-info-host: maybe-install-info-gettext
1239 install-info-host: maybe-install-info-gnuserv
1240 install-info-host: maybe-install-info-gprof
1241 install-info-host: maybe-install-info-gzip
1242 install-info-host: maybe-install-info-hello
1243 install-info-host: maybe-install-info-indent
1244 install-info-host: maybe-install-info-intl
1245 install-info-host: maybe-install-info-tcl
1246 install-info-host: maybe-install-info-itcl
1247 install-info-host: maybe-install-info-ld
1248 install-info-host: maybe-install-info-libcpp
1249 install-info-host: maybe-install-info-libdecnumber
1250 install-info-host: maybe-install-info-libgui
1251 install-info-host: maybe-install-info-libiberty
1252 install-info-host: maybe-install-info-libtool
1253 install-info-host: maybe-install-info-m4
1254 install-info-host: maybe-install-info-make
1255 install-info-host: maybe-install-info-mmalloc
1256 install-info-host: maybe-install-info-patch
1257 install-info-host: maybe-install-info-perl
1258 install-info-host: maybe-install-info-prms
1259 install-info-host: maybe-install-info-rcs
1260 install-info-host: maybe-install-info-readline
1261 install-info-host: maybe-install-info-release
1262 install-info-host: maybe-install-info-recode
1263 install-info-host: maybe-install-info-sed
1264 install-info-host: maybe-install-info-send-pr
1265 install-info-host: maybe-install-info-shellutils
1266 install-info-host: maybe-install-info-sid
1267 install-info-host: maybe-install-info-sim
1268 install-info-host: maybe-install-info-tar
1269 install-info-host: maybe-install-info-texinfo
1270 install-info-host: maybe-install-info-textutils
1271 install-info-host: maybe-install-info-time
1272 install-info-host: maybe-install-info-uudecode
1273 install-info-host: maybe-install-info-wdiff
1274 install-info-host: maybe-install-info-zip
1275 install-info-host: maybe-install-info-zlib
1276 install-info-host: maybe-install-info-gdb
1277 install-info-host: maybe-install-info-expect
1278 install-info-host: maybe-install-info-guile
1279 install-info-host: maybe-install-info-tk
1280 install-info-host: maybe-install-info-libtermcap
1281 install-info-host: maybe-install-info-utils
1282 install-info-host: maybe-install-info-gnattools
1284 .PHONY: install-info-target
1286 install-info-target: maybe-install-info-target-libstdc++-v3
1287 install-info-target: maybe-install-info-target-libmudflap
1288 install-info-target: maybe-install-info-target-libssp
1289 install-info-target: maybe-install-info-target-newlib
1290 install-info-target: maybe-install-info-target-libgfortran
1291 install-info-target: maybe-install-info-target-libobjc
1292 install-info-target: maybe-install-info-target-libtermcap
1293 install-info-target: maybe-install-info-target-winsup
1294 install-info-target: maybe-install-info-target-libgloss
1295 install-info-target: maybe-install-info-target-libiberty
1296 install-info-target: maybe-install-info-target-gperf
1297 install-info-target: maybe-install-info-target-examples
1298 install-info-target: maybe-install-info-target-libffi
1299 install-info-target: maybe-install-info-target-libjava
1300 install-info-target: maybe-install-info-target-zlib
1301 install-info-target: maybe-install-info-target-boehm-gc
1302 install-info-target: maybe-install-info-target-qthreads
1303 install-info-target: maybe-install-info-target-rda
1304 install-info-target: maybe-install-info-target-libada
1305 install-info-target: maybe-install-info-target-libgomp
1307 .PHONY: do-install-html
1308 do-install-html:
1309 @: $(MAKE); $(unstage)
1310 @r=`${PWD_COMMAND}`; export r; \
1311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1313 install-html-target
1316 .PHONY: install-html-host
1318 install-html-host: maybe-install-html-ash
1319 install-html-host: maybe-install-html-autoconf
1320 install-html-host: maybe-install-html-automake
1321 install-html-host: maybe-install-html-bash
1322 install-html-host: maybe-install-html-bfd
1323 install-html-host: maybe-install-html-opcodes
1324 install-html-host: maybe-install-html-binutils
1325 install-html-host: maybe-install-html-bison
1326 install-html-host: maybe-install-html-byacc
1327 install-html-host: maybe-install-html-bzip2
1328 install-html-host: maybe-install-html-dejagnu
1329 install-html-host: maybe-install-html-diff
1330 install-html-host: maybe-install-html-dosutils
1331 install-html-host: maybe-install-html-etc
1332 install-html-host: maybe-install-html-fastjar
1333 install-html-host: maybe-install-html-fileutils
1334 install-html-host: maybe-install-html-findutils
1335 install-html-host: maybe-install-html-find
1336 install-html-host: maybe-install-html-fixincludes
1337 install-html-host: maybe-install-html-flex
1338 install-html-host: maybe-install-html-gas
1339 install-html-host: maybe-install-html-gcc
1340 install-html-host: maybe-install-html-gawk
1341 install-html-host: maybe-install-html-gettext
1342 install-html-host: maybe-install-html-gnuserv
1343 install-html-host: maybe-install-html-gprof
1344 install-html-host: maybe-install-html-gzip
1345 install-html-host: maybe-install-html-hello
1346 install-html-host: maybe-install-html-indent
1347 install-html-host: maybe-install-html-intl
1348 install-html-host: maybe-install-html-tcl
1349 install-html-host: maybe-install-html-itcl
1350 install-html-host: maybe-install-html-ld
1351 install-html-host: maybe-install-html-libcpp
1352 install-html-host: maybe-install-html-libdecnumber
1353 install-html-host: maybe-install-html-libgui
1354 install-html-host: maybe-install-html-libiberty
1355 install-html-host: maybe-install-html-libtool
1356 install-html-host: maybe-install-html-m4
1357 install-html-host: maybe-install-html-make
1358 install-html-host: maybe-install-html-mmalloc
1359 install-html-host: maybe-install-html-patch
1360 install-html-host: maybe-install-html-perl
1361 install-html-host: maybe-install-html-prms
1362 install-html-host: maybe-install-html-rcs
1363 install-html-host: maybe-install-html-readline
1364 install-html-host: maybe-install-html-release
1365 install-html-host: maybe-install-html-recode
1366 install-html-host: maybe-install-html-sed
1367 install-html-host: maybe-install-html-send-pr
1368 install-html-host: maybe-install-html-shellutils
1369 install-html-host: maybe-install-html-sid
1370 install-html-host: maybe-install-html-sim
1371 install-html-host: maybe-install-html-tar
1372 install-html-host: maybe-install-html-texinfo
1373 install-html-host: maybe-install-html-textutils
1374 install-html-host: maybe-install-html-time
1375 install-html-host: maybe-install-html-uudecode
1376 install-html-host: maybe-install-html-wdiff
1377 install-html-host: maybe-install-html-zip
1378 install-html-host: maybe-install-html-zlib
1379 install-html-host: maybe-install-html-gdb
1380 install-html-host: maybe-install-html-expect
1381 install-html-host: maybe-install-html-guile
1382 install-html-host: maybe-install-html-tk
1383 install-html-host: maybe-install-html-libtermcap
1384 install-html-host: maybe-install-html-utils
1385 install-html-host: maybe-install-html-gnattools
1387 .PHONY: install-html-target
1389 install-html-target: maybe-install-html-target-libstdc++-v3
1390 install-html-target: maybe-install-html-target-libmudflap
1391 install-html-target: maybe-install-html-target-libssp
1392 install-html-target: maybe-install-html-target-newlib
1393 install-html-target: maybe-install-html-target-libgfortran
1394 install-html-target: maybe-install-html-target-libobjc
1395 install-html-target: maybe-install-html-target-libtermcap
1396 install-html-target: maybe-install-html-target-winsup
1397 install-html-target: maybe-install-html-target-libgloss
1398 install-html-target: maybe-install-html-target-libiberty
1399 install-html-target: maybe-install-html-target-gperf
1400 install-html-target: maybe-install-html-target-examples
1401 install-html-target: maybe-install-html-target-libffi
1402 install-html-target: maybe-install-html-target-libjava
1403 install-html-target: maybe-install-html-target-zlib
1404 install-html-target: maybe-install-html-target-boehm-gc
1405 install-html-target: maybe-install-html-target-qthreads
1406 install-html-target: maybe-install-html-target-rda
1407 install-html-target: maybe-install-html-target-libada
1408 install-html-target: maybe-install-html-target-libgomp
1410 .PHONY: do-installcheck
1411 do-installcheck:
1412 @: $(MAKE); $(unstage)
1413 @r=`${PWD_COMMAND}`; export r; \
1414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1415 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1416 installcheck-target
1419 .PHONY: installcheck-host
1421 installcheck-host: maybe-installcheck-ash
1422 installcheck-host: maybe-installcheck-autoconf
1423 installcheck-host: maybe-installcheck-automake
1424 installcheck-host: maybe-installcheck-bash
1425 installcheck-host: maybe-installcheck-bfd
1426 installcheck-host: maybe-installcheck-opcodes
1427 installcheck-host: maybe-installcheck-binutils
1428 installcheck-host: maybe-installcheck-bison
1429 installcheck-host: maybe-installcheck-byacc
1430 installcheck-host: maybe-installcheck-bzip2
1431 installcheck-host: maybe-installcheck-dejagnu
1432 installcheck-host: maybe-installcheck-diff
1433 installcheck-host: maybe-installcheck-dosutils
1434 installcheck-host: maybe-installcheck-etc
1435 installcheck-host: maybe-installcheck-fastjar
1436 installcheck-host: maybe-installcheck-fileutils
1437 installcheck-host: maybe-installcheck-findutils
1438 installcheck-host: maybe-installcheck-find
1439 installcheck-host: maybe-installcheck-fixincludes
1440 installcheck-host: maybe-installcheck-flex
1441 installcheck-host: maybe-installcheck-gas
1442 installcheck-host: maybe-installcheck-gcc
1443 installcheck-host: maybe-installcheck-gawk
1444 installcheck-host: maybe-installcheck-gettext
1445 installcheck-host: maybe-installcheck-gnuserv
1446 installcheck-host: maybe-installcheck-gprof
1447 installcheck-host: maybe-installcheck-gzip
1448 installcheck-host: maybe-installcheck-hello
1449 installcheck-host: maybe-installcheck-indent
1450 installcheck-host: maybe-installcheck-intl
1451 installcheck-host: maybe-installcheck-tcl
1452 installcheck-host: maybe-installcheck-itcl
1453 installcheck-host: maybe-installcheck-ld
1454 installcheck-host: maybe-installcheck-libcpp
1455 installcheck-host: maybe-installcheck-libdecnumber
1456 installcheck-host: maybe-installcheck-libgui
1457 installcheck-host: maybe-installcheck-libiberty
1458 installcheck-host: maybe-installcheck-libtool
1459 installcheck-host: maybe-installcheck-m4
1460 installcheck-host: maybe-installcheck-make
1461 installcheck-host: maybe-installcheck-mmalloc
1462 installcheck-host: maybe-installcheck-patch
1463 installcheck-host: maybe-installcheck-perl
1464 installcheck-host: maybe-installcheck-prms
1465 installcheck-host: maybe-installcheck-rcs
1466 installcheck-host: maybe-installcheck-readline
1467 installcheck-host: maybe-installcheck-release
1468 installcheck-host: maybe-installcheck-recode
1469 installcheck-host: maybe-installcheck-sed
1470 installcheck-host: maybe-installcheck-send-pr
1471 installcheck-host: maybe-installcheck-shellutils
1472 installcheck-host: maybe-installcheck-sid
1473 installcheck-host: maybe-installcheck-sim
1474 installcheck-host: maybe-installcheck-tar
1475 installcheck-host: maybe-installcheck-texinfo
1476 installcheck-host: maybe-installcheck-textutils
1477 installcheck-host: maybe-installcheck-time
1478 installcheck-host: maybe-installcheck-uudecode
1479 installcheck-host: maybe-installcheck-wdiff
1480 installcheck-host: maybe-installcheck-zip
1481 installcheck-host: maybe-installcheck-zlib
1482 installcheck-host: maybe-installcheck-gdb
1483 installcheck-host: maybe-installcheck-expect
1484 installcheck-host: maybe-installcheck-guile
1485 installcheck-host: maybe-installcheck-tk
1486 installcheck-host: maybe-installcheck-libtermcap
1487 installcheck-host: maybe-installcheck-utils
1488 installcheck-host: maybe-installcheck-gnattools
1490 .PHONY: installcheck-target
1492 installcheck-target: maybe-installcheck-target-libstdc++-v3
1493 installcheck-target: maybe-installcheck-target-libmudflap
1494 installcheck-target: maybe-installcheck-target-libssp
1495 installcheck-target: maybe-installcheck-target-newlib
1496 installcheck-target: maybe-installcheck-target-libgfortran
1497 installcheck-target: maybe-installcheck-target-libobjc
1498 installcheck-target: maybe-installcheck-target-libtermcap
1499 installcheck-target: maybe-installcheck-target-winsup
1500 installcheck-target: maybe-installcheck-target-libgloss
1501 installcheck-target: maybe-installcheck-target-libiberty
1502 installcheck-target: maybe-installcheck-target-gperf
1503 installcheck-target: maybe-installcheck-target-examples
1504 installcheck-target: maybe-installcheck-target-libffi
1505 installcheck-target: maybe-installcheck-target-libjava
1506 installcheck-target: maybe-installcheck-target-zlib
1507 installcheck-target: maybe-installcheck-target-boehm-gc
1508 installcheck-target: maybe-installcheck-target-qthreads
1509 installcheck-target: maybe-installcheck-target-rda
1510 installcheck-target: maybe-installcheck-target-libada
1511 installcheck-target: maybe-installcheck-target-libgomp
1513 .PHONY: do-mostlyclean
1514 do-mostlyclean:
1515 @: $(MAKE); $(unstage)
1516 @r=`${PWD_COMMAND}`; export r; \
1517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1518 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1519 mostlyclean-target
1522 .PHONY: mostlyclean-host
1524 mostlyclean-host: maybe-mostlyclean-ash
1525 mostlyclean-host: maybe-mostlyclean-autoconf
1526 mostlyclean-host: maybe-mostlyclean-automake
1527 mostlyclean-host: maybe-mostlyclean-bash
1528 mostlyclean-host: maybe-mostlyclean-bfd
1529 mostlyclean-host: maybe-mostlyclean-opcodes
1530 mostlyclean-host: maybe-mostlyclean-binutils
1531 mostlyclean-host: maybe-mostlyclean-bison
1532 mostlyclean-host: maybe-mostlyclean-byacc
1533 mostlyclean-host: maybe-mostlyclean-bzip2
1534 mostlyclean-host: maybe-mostlyclean-dejagnu
1535 mostlyclean-host: maybe-mostlyclean-diff
1536 mostlyclean-host: maybe-mostlyclean-dosutils
1537 mostlyclean-host: maybe-mostlyclean-etc
1538 mostlyclean-host: maybe-mostlyclean-fastjar
1539 mostlyclean-host: maybe-mostlyclean-fileutils
1540 mostlyclean-host: maybe-mostlyclean-findutils
1541 mostlyclean-host: maybe-mostlyclean-find
1542 mostlyclean-host: maybe-mostlyclean-fixincludes
1543 mostlyclean-host: maybe-mostlyclean-flex
1544 mostlyclean-host: maybe-mostlyclean-gas
1545 mostlyclean-host: maybe-mostlyclean-gcc
1546 mostlyclean-host: maybe-mostlyclean-gawk
1547 mostlyclean-host: maybe-mostlyclean-gettext
1548 mostlyclean-host: maybe-mostlyclean-gnuserv
1549 mostlyclean-host: maybe-mostlyclean-gprof
1550 mostlyclean-host: maybe-mostlyclean-gzip
1551 mostlyclean-host: maybe-mostlyclean-hello
1552 mostlyclean-host: maybe-mostlyclean-indent
1553 mostlyclean-host: maybe-mostlyclean-intl
1554 mostlyclean-host: maybe-mostlyclean-tcl
1555 mostlyclean-host: maybe-mostlyclean-itcl
1556 mostlyclean-host: maybe-mostlyclean-ld
1557 mostlyclean-host: maybe-mostlyclean-libcpp
1558 mostlyclean-host: maybe-mostlyclean-libdecnumber
1559 mostlyclean-host: maybe-mostlyclean-libgui
1560 mostlyclean-host: maybe-mostlyclean-libiberty
1561 mostlyclean-host: maybe-mostlyclean-libtool
1562 mostlyclean-host: maybe-mostlyclean-m4
1563 mostlyclean-host: maybe-mostlyclean-make
1564 mostlyclean-host: maybe-mostlyclean-mmalloc
1565 mostlyclean-host: maybe-mostlyclean-patch
1566 mostlyclean-host: maybe-mostlyclean-perl
1567 mostlyclean-host: maybe-mostlyclean-prms
1568 mostlyclean-host: maybe-mostlyclean-rcs
1569 mostlyclean-host: maybe-mostlyclean-readline
1570 mostlyclean-host: maybe-mostlyclean-release
1571 mostlyclean-host: maybe-mostlyclean-recode
1572 mostlyclean-host: maybe-mostlyclean-sed
1573 mostlyclean-host: maybe-mostlyclean-send-pr
1574 mostlyclean-host: maybe-mostlyclean-shellutils
1575 mostlyclean-host: maybe-mostlyclean-sid
1576 mostlyclean-host: maybe-mostlyclean-sim
1577 mostlyclean-host: maybe-mostlyclean-tar
1578 mostlyclean-host: maybe-mostlyclean-texinfo
1579 mostlyclean-host: maybe-mostlyclean-textutils
1580 mostlyclean-host: maybe-mostlyclean-time
1581 mostlyclean-host: maybe-mostlyclean-uudecode
1582 mostlyclean-host: maybe-mostlyclean-wdiff
1583 mostlyclean-host: maybe-mostlyclean-zip
1584 mostlyclean-host: maybe-mostlyclean-zlib
1585 mostlyclean-host: maybe-mostlyclean-gdb
1586 mostlyclean-host: maybe-mostlyclean-expect
1587 mostlyclean-host: maybe-mostlyclean-guile
1588 mostlyclean-host: maybe-mostlyclean-tk
1589 mostlyclean-host: maybe-mostlyclean-libtermcap
1590 mostlyclean-host: maybe-mostlyclean-utils
1591 mostlyclean-host: maybe-mostlyclean-gnattools
1593 .PHONY: mostlyclean-target
1595 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1596 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1597 mostlyclean-target: maybe-mostlyclean-target-libssp
1598 mostlyclean-target: maybe-mostlyclean-target-newlib
1599 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1600 mostlyclean-target: maybe-mostlyclean-target-libobjc
1601 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1602 mostlyclean-target: maybe-mostlyclean-target-winsup
1603 mostlyclean-target: maybe-mostlyclean-target-libgloss
1604 mostlyclean-target: maybe-mostlyclean-target-libiberty
1605 mostlyclean-target: maybe-mostlyclean-target-gperf
1606 mostlyclean-target: maybe-mostlyclean-target-examples
1607 mostlyclean-target: maybe-mostlyclean-target-libffi
1608 mostlyclean-target: maybe-mostlyclean-target-libjava
1609 mostlyclean-target: maybe-mostlyclean-target-zlib
1610 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1611 mostlyclean-target: maybe-mostlyclean-target-qthreads
1612 mostlyclean-target: maybe-mostlyclean-target-rda
1613 mostlyclean-target: maybe-mostlyclean-target-libada
1614 mostlyclean-target: maybe-mostlyclean-target-libgomp
1616 .PHONY: do-clean
1617 do-clean:
1618 @: $(MAKE); $(unstage)
1619 @r=`${PWD_COMMAND}`; export r; \
1620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1621 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1622 clean-target
1625 .PHONY: clean-host
1627 clean-host: maybe-clean-ash
1628 clean-host: maybe-clean-autoconf
1629 clean-host: maybe-clean-automake
1630 clean-host: maybe-clean-bash
1631 clean-host: maybe-clean-bfd
1632 clean-host: maybe-clean-opcodes
1633 clean-host: maybe-clean-binutils
1634 clean-host: maybe-clean-bison
1635 clean-host: maybe-clean-byacc
1636 clean-host: maybe-clean-bzip2
1637 clean-host: maybe-clean-dejagnu
1638 clean-host: maybe-clean-diff
1639 clean-host: maybe-clean-dosutils
1640 clean-host: maybe-clean-etc
1641 clean-host: maybe-clean-fastjar
1642 clean-host: maybe-clean-fileutils
1643 clean-host: maybe-clean-findutils
1644 clean-host: maybe-clean-find
1645 clean-host: maybe-clean-fixincludes
1646 clean-host: maybe-clean-flex
1647 clean-host: maybe-clean-gas
1648 clean-host: maybe-clean-gcc
1649 clean-host: maybe-clean-gawk
1650 clean-host: maybe-clean-gettext
1651 clean-host: maybe-clean-gnuserv
1652 clean-host: maybe-clean-gprof
1653 clean-host: maybe-clean-gzip
1654 clean-host: maybe-clean-hello
1655 clean-host: maybe-clean-indent
1656 clean-host: maybe-clean-intl
1657 clean-host: maybe-clean-tcl
1658 clean-host: maybe-clean-itcl
1659 clean-host: maybe-clean-ld
1660 clean-host: maybe-clean-libcpp
1661 clean-host: maybe-clean-libdecnumber
1662 clean-host: maybe-clean-libgui
1663 clean-host: maybe-clean-libiberty
1664 clean-host: maybe-clean-libtool
1665 clean-host: maybe-clean-m4
1666 clean-host: maybe-clean-make
1667 clean-host: maybe-clean-mmalloc
1668 clean-host: maybe-clean-patch
1669 clean-host: maybe-clean-perl
1670 clean-host: maybe-clean-prms
1671 clean-host: maybe-clean-rcs
1672 clean-host: maybe-clean-readline
1673 clean-host: maybe-clean-release
1674 clean-host: maybe-clean-recode
1675 clean-host: maybe-clean-sed
1676 clean-host: maybe-clean-send-pr
1677 clean-host: maybe-clean-shellutils
1678 clean-host: maybe-clean-sid
1679 clean-host: maybe-clean-sim
1680 clean-host: maybe-clean-tar
1681 clean-host: maybe-clean-texinfo
1682 clean-host: maybe-clean-textutils
1683 clean-host: maybe-clean-time
1684 clean-host: maybe-clean-uudecode
1685 clean-host: maybe-clean-wdiff
1686 clean-host: maybe-clean-zip
1687 clean-host: maybe-clean-zlib
1688 clean-host: maybe-clean-gdb
1689 clean-host: maybe-clean-expect
1690 clean-host: maybe-clean-guile
1691 clean-host: maybe-clean-tk
1692 clean-host: maybe-clean-libtermcap
1693 clean-host: maybe-clean-utils
1694 clean-host: maybe-clean-gnattools
1696 .PHONY: clean-target
1698 clean-target: maybe-clean-target-libstdc++-v3
1699 clean-target: maybe-clean-target-libmudflap
1700 clean-target: maybe-clean-target-libssp
1701 clean-target: maybe-clean-target-newlib
1702 clean-target: maybe-clean-target-libgfortran
1703 clean-target: maybe-clean-target-libobjc
1704 clean-target: maybe-clean-target-libtermcap
1705 clean-target: maybe-clean-target-winsup
1706 clean-target: maybe-clean-target-libgloss
1707 clean-target: maybe-clean-target-libiberty
1708 clean-target: maybe-clean-target-gperf
1709 clean-target: maybe-clean-target-examples
1710 clean-target: maybe-clean-target-libffi
1711 clean-target: maybe-clean-target-libjava
1712 clean-target: maybe-clean-target-zlib
1713 clean-target: maybe-clean-target-boehm-gc
1714 clean-target: maybe-clean-target-qthreads
1715 clean-target: maybe-clean-target-rda
1716 clean-target: maybe-clean-target-libada
1717 clean-target: maybe-clean-target-libgomp
1719 .PHONY: do-distclean
1720 do-distclean:
1721 @: $(MAKE); $(unstage)
1722 @r=`${PWD_COMMAND}`; export r; \
1723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1724 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1725 distclean-target
1728 .PHONY: distclean-host
1730 distclean-host: maybe-distclean-ash
1731 distclean-host: maybe-distclean-autoconf
1732 distclean-host: maybe-distclean-automake
1733 distclean-host: maybe-distclean-bash
1734 distclean-host: maybe-distclean-bfd
1735 distclean-host: maybe-distclean-opcodes
1736 distclean-host: maybe-distclean-binutils
1737 distclean-host: maybe-distclean-bison
1738 distclean-host: maybe-distclean-byacc
1739 distclean-host: maybe-distclean-bzip2
1740 distclean-host: maybe-distclean-dejagnu
1741 distclean-host: maybe-distclean-diff
1742 distclean-host: maybe-distclean-dosutils
1743 distclean-host: maybe-distclean-etc
1744 distclean-host: maybe-distclean-fastjar
1745 distclean-host: maybe-distclean-fileutils
1746 distclean-host: maybe-distclean-findutils
1747 distclean-host: maybe-distclean-find
1748 distclean-host: maybe-distclean-fixincludes
1749 distclean-host: maybe-distclean-flex
1750 distclean-host: maybe-distclean-gas
1751 distclean-host: maybe-distclean-gcc
1752 distclean-host: maybe-distclean-gawk
1753 distclean-host: maybe-distclean-gettext
1754 distclean-host: maybe-distclean-gnuserv
1755 distclean-host: maybe-distclean-gprof
1756 distclean-host: maybe-distclean-gzip
1757 distclean-host: maybe-distclean-hello
1758 distclean-host: maybe-distclean-indent
1759 distclean-host: maybe-distclean-intl
1760 distclean-host: maybe-distclean-tcl
1761 distclean-host: maybe-distclean-itcl
1762 distclean-host: maybe-distclean-ld
1763 distclean-host: maybe-distclean-libcpp
1764 distclean-host: maybe-distclean-libdecnumber
1765 distclean-host: maybe-distclean-libgui
1766 distclean-host: maybe-distclean-libiberty
1767 distclean-host: maybe-distclean-libtool
1768 distclean-host: maybe-distclean-m4
1769 distclean-host: maybe-distclean-make
1770 distclean-host: maybe-distclean-mmalloc
1771 distclean-host: maybe-distclean-patch
1772 distclean-host: maybe-distclean-perl
1773 distclean-host: maybe-distclean-prms
1774 distclean-host: maybe-distclean-rcs
1775 distclean-host: maybe-distclean-readline
1776 distclean-host: maybe-distclean-release
1777 distclean-host: maybe-distclean-recode
1778 distclean-host: maybe-distclean-sed
1779 distclean-host: maybe-distclean-send-pr
1780 distclean-host: maybe-distclean-shellutils
1781 distclean-host: maybe-distclean-sid
1782 distclean-host: maybe-distclean-sim
1783 distclean-host: maybe-distclean-tar
1784 distclean-host: maybe-distclean-texinfo
1785 distclean-host: maybe-distclean-textutils
1786 distclean-host: maybe-distclean-time
1787 distclean-host: maybe-distclean-uudecode
1788 distclean-host: maybe-distclean-wdiff
1789 distclean-host: maybe-distclean-zip
1790 distclean-host: maybe-distclean-zlib
1791 distclean-host: maybe-distclean-gdb
1792 distclean-host: maybe-distclean-expect
1793 distclean-host: maybe-distclean-guile
1794 distclean-host: maybe-distclean-tk
1795 distclean-host: maybe-distclean-libtermcap
1796 distclean-host: maybe-distclean-utils
1797 distclean-host: maybe-distclean-gnattools
1799 .PHONY: distclean-target
1801 distclean-target: maybe-distclean-target-libstdc++-v3
1802 distclean-target: maybe-distclean-target-libmudflap
1803 distclean-target: maybe-distclean-target-libssp
1804 distclean-target: maybe-distclean-target-newlib
1805 distclean-target: maybe-distclean-target-libgfortran
1806 distclean-target: maybe-distclean-target-libobjc
1807 distclean-target: maybe-distclean-target-libtermcap
1808 distclean-target: maybe-distclean-target-winsup
1809 distclean-target: maybe-distclean-target-libgloss
1810 distclean-target: maybe-distclean-target-libiberty
1811 distclean-target: maybe-distclean-target-gperf
1812 distclean-target: maybe-distclean-target-examples
1813 distclean-target: maybe-distclean-target-libffi
1814 distclean-target: maybe-distclean-target-libjava
1815 distclean-target: maybe-distclean-target-zlib
1816 distclean-target: maybe-distclean-target-boehm-gc
1817 distclean-target: maybe-distclean-target-qthreads
1818 distclean-target: maybe-distclean-target-rda
1819 distclean-target: maybe-distclean-target-libada
1820 distclean-target: maybe-distclean-target-libgomp
1822 .PHONY: do-maintainer-clean
1823 do-maintainer-clean:
1824 @: $(MAKE); $(unstage)
1825 @r=`${PWD_COMMAND}`; export r; \
1826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1827 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1828 maintainer-clean-target
1831 .PHONY: maintainer-clean-host
1833 maintainer-clean-host: maybe-maintainer-clean-ash
1834 maintainer-clean-host: maybe-maintainer-clean-autoconf
1835 maintainer-clean-host: maybe-maintainer-clean-automake
1836 maintainer-clean-host: maybe-maintainer-clean-bash
1837 maintainer-clean-host: maybe-maintainer-clean-bfd
1838 maintainer-clean-host: maybe-maintainer-clean-opcodes
1839 maintainer-clean-host: maybe-maintainer-clean-binutils
1840 maintainer-clean-host: maybe-maintainer-clean-bison
1841 maintainer-clean-host: maybe-maintainer-clean-byacc
1842 maintainer-clean-host: maybe-maintainer-clean-bzip2
1843 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1844 maintainer-clean-host: maybe-maintainer-clean-diff
1845 maintainer-clean-host: maybe-maintainer-clean-dosutils
1846 maintainer-clean-host: maybe-maintainer-clean-etc
1847 maintainer-clean-host: maybe-maintainer-clean-fastjar
1848 maintainer-clean-host: maybe-maintainer-clean-fileutils
1849 maintainer-clean-host: maybe-maintainer-clean-findutils
1850 maintainer-clean-host: maybe-maintainer-clean-find
1851 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1852 maintainer-clean-host: maybe-maintainer-clean-flex
1853 maintainer-clean-host: maybe-maintainer-clean-gas
1854 maintainer-clean-host: maybe-maintainer-clean-gcc
1855 maintainer-clean-host: maybe-maintainer-clean-gawk
1856 maintainer-clean-host: maybe-maintainer-clean-gettext
1857 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1858 maintainer-clean-host: maybe-maintainer-clean-gprof
1859 maintainer-clean-host: maybe-maintainer-clean-gzip
1860 maintainer-clean-host: maybe-maintainer-clean-hello
1861 maintainer-clean-host: maybe-maintainer-clean-indent
1862 maintainer-clean-host: maybe-maintainer-clean-intl
1863 maintainer-clean-host: maybe-maintainer-clean-tcl
1864 maintainer-clean-host: maybe-maintainer-clean-itcl
1865 maintainer-clean-host: maybe-maintainer-clean-ld
1866 maintainer-clean-host: maybe-maintainer-clean-libcpp
1867 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1868 maintainer-clean-host: maybe-maintainer-clean-libgui
1869 maintainer-clean-host: maybe-maintainer-clean-libiberty
1870 maintainer-clean-host: maybe-maintainer-clean-libtool
1871 maintainer-clean-host: maybe-maintainer-clean-m4
1872 maintainer-clean-host: maybe-maintainer-clean-make
1873 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1874 maintainer-clean-host: maybe-maintainer-clean-patch
1875 maintainer-clean-host: maybe-maintainer-clean-perl
1876 maintainer-clean-host: maybe-maintainer-clean-prms
1877 maintainer-clean-host: maybe-maintainer-clean-rcs
1878 maintainer-clean-host: maybe-maintainer-clean-readline
1879 maintainer-clean-host: maybe-maintainer-clean-release
1880 maintainer-clean-host: maybe-maintainer-clean-recode
1881 maintainer-clean-host: maybe-maintainer-clean-sed
1882 maintainer-clean-host: maybe-maintainer-clean-send-pr
1883 maintainer-clean-host: maybe-maintainer-clean-shellutils
1884 maintainer-clean-host: maybe-maintainer-clean-sid
1885 maintainer-clean-host: maybe-maintainer-clean-sim
1886 maintainer-clean-host: maybe-maintainer-clean-tar
1887 maintainer-clean-host: maybe-maintainer-clean-texinfo
1888 maintainer-clean-host: maybe-maintainer-clean-textutils
1889 maintainer-clean-host: maybe-maintainer-clean-time
1890 maintainer-clean-host: maybe-maintainer-clean-uudecode
1891 maintainer-clean-host: maybe-maintainer-clean-wdiff
1892 maintainer-clean-host: maybe-maintainer-clean-zip
1893 maintainer-clean-host: maybe-maintainer-clean-zlib
1894 maintainer-clean-host: maybe-maintainer-clean-gdb
1895 maintainer-clean-host: maybe-maintainer-clean-expect
1896 maintainer-clean-host: maybe-maintainer-clean-guile
1897 maintainer-clean-host: maybe-maintainer-clean-tk
1898 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1899 maintainer-clean-host: maybe-maintainer-clean-utils
1900 maintainer-clean-host: maybe-maintainer-clean-gnattools
1902 .PHONY: maintainer-clean-target
1904 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1905 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1906 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1907 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1908 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1909 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1910 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1911 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1912 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1913 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1914 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1915 maintainer-clean-target: maybe-maintainer-clean-target-examples
1916 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1917 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1918 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1919 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1920 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1921 maintainer-clean-target: maybe-maintainer-clean-target-rda
1922 maintainer-clean-target: maybe-maintainer-clean-target-libada
1923 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1926 # Here are the targets which correspond to the do-X targets.
1928 .PHONY: info installcheck dvi html install-info install-html
1929 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1930 .PHONY: local-clean local-distclean local-maintainer-clean
1931 info: do-info
1932 installcheck: do-installcheck
1933 dvi: do-dvi
1934 html: do-html
1936 # Make sure makeinfo is built before we do a `make info', if we're
1937 # in fact building texinfo.
1938 do-info: maybe-all-texinfo
1940 install-info: do-install-info dir.info
1941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1942 if [ -f dir.info ] ; then \
1943 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1944 else true ; fi
1946 install-html: do-install-html
1948 local-clean:
1949 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1951 local-distclean:
1952 -rm -f Makefile config.status config.cache mh-frag mt-frag
1953 -rm -f maybedep.tmp serdep.tmp
1954 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1955 rm -rf $(TARGET_SUBDIR); \
1956 else true; fi
1957 -rm -rf $(BUILD_SUBDIR)
1958 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1959 rm -rf $(HOST_SUBDIR); \
1960 else true; fi
1961 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1962 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1963 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1964 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1965 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1967 local-maintainer-clean:
1968 @echo "This command is intended for maintainers to use;"
1969 @echo "it deletes files that may require special tools to rebuild."
1971 clean: do-clean local-clean
1972 mostlyclean: do-mostlyclean local-clean
1973 distclean: do-distclean local-clean local-distclean
1974 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1975 maintainer-clean: local-distclean
1976 realclean: maintainer-clean
1978 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1979 clean-target: clean-target-libgcc
1980 clean-target-libgcc:
1981 test ! -d gcc || (cd gcc && $(MAKE) $@)
1983 # Check target.
1985 .PHONY: check do-check
1986 check: do-check
1988 # Only include modules actually being configured and built.
1989 .PHONY: check-host
1990 check-host: \
1991 maybe-check-ash \
1992 maybe-check-autoconf \
1993 maybe-check-automake \
1994 maybe-check-bash \
1995 maybe-check-bfd \
1996 maybe-check-opcodes \
1997 maybe-check-binutils \
1998 maybe-check-bison \
1999 maybe-check-byacc \
2000 maybe-check-bzip2 \
2001 maybe-check-dejagnu \
2002 maybe-check-diff \
2003 maybe-check-dosutils \
2004 maybe-check-etc \
2005 maybe-check-fastjar \
2006 maybe-check-fileutils \
2007 maybe-check-findutils \
2008 maybe-check-find \
2009 maybe-check-fixincludes \
2010 maybe-check-flex \
2011 maybe-check-gas \
2012 maybe-check-gcc \
2013 maybe-check-gawk \
2014 maybe-check-gettext \
2015 maybe-check-gnuserv \
2016 maybe-check-gprof \
2017 maybe-check-gzip \
2018 maybe-check-hello \
2019 maybe-check-indent \
2020 maybe-check-intl \
2021 maybe-check-tcl \
2022 maybe-check-itcl \
2023 maybe-check-ld \
2024 maybe-check-libcpp \
2025 maybe-check-libdecnumber \
2026 maybe-check-libgui \
2027 maybe-check-libiberty \
2028 maybe-check-libtool \
2029 maybe-check-m4 \
2030 maybe-check-make \
2031 maybe-check-mmalloc \
2032 maybe-check-patch \
2033 maybe-check-perl \
2034 maybe-check-prms \
2035 maybe-check-rcs \
2036 maybe-check-readline \
2037 maybe-check-release \
2038 maybe-check-recode \
2039 maybe-check-sed \
2040 maybe-check-send-pr \
2041 maybe-check-shellutils \
2042 maybe-check-sid \
2043 maybe-check-sim \
2044 maybe-check-tar \
2045 maybe-check-texinfo \
2046 maybe-check-textutils \
2047 maybe-check-time \
2048 maybe-check-uudecode \
2049 maybe-check-wdiff \
2050 maybe-check-zip \
2051 maybe-check-zlib \
2052 maybe-check-gdb \
2053 maybe-check-expect \
2054 maybe-check-guile \
2055 maybe-check-tk \
2056 maybe-check-libtermcap \
2057 maybe-check-utils \
2058 maybe-check-gnattools
2060 .PHONY: check-target
2061 check-target: \
2062 maybe-check-target-libstdc++-v3 \
2063 maybe-check-target-libmudflap \
2064 maybe-check-target-libssp \
2065 maybe-check-target-newlib \
2066 maybe-check-target-libgfortran \
2067 maybe-check-target-libobjc \
2068 maybe-check-target-libtermcap \
2069 maybe-check-target-winsup \
2070 maybe-check-target-libgloss \
2071 maybe-check-target-libiberty \
2072 maybe-check-target-gperf \
2073 maybe-check-target-examples \
2074 maybe-check-target-libffi \
2075 maybe-check-target-libjava \
2076 maybe-check-target-zlib \
2077 maybe-check-target-boehm-gc \
2078 maybe-check-target-qthreads \
2079 maybe-check-target-rda \
2080 maybe-check-target-libada \
2081 maybe-check-target-libgomp
2083 do-check:
2084 @: $(MAKE); $(unstage)
2085 @r=`${PWD_COMMAND}`; export r; \
2086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2087 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2089 # Automated reporting of test results.
2091 warning.log: build.log
2092 $(srcdir)/contrib/warn_summary build.log > $@
2094 mail-report.log:
2095 if test x'$(BOOT_CFLAGS)' != x''; then \
2096 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2097 fi; \
2098 $(srcdir)/contrib/test_summary -t >$@
2099 chmod +x $@
2100 echo If you really want to send e-mail, run ./$@ now
2102 mail-report-with-warnings.log: warning.log
2103 if test x'$(BOOT_CFLAGS)' != x''; then \
2104 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2105 fi; \
2106 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2107 chmod +x $@
2108 echo If you really want to send e-mail, run ./$@ now
2110 # Installation targets.
2112 .PHONY: install uninstall
2113 install:
2114 @: $(MAKE); $(unstage)
2115 @r=`${PWD_COMMAND}`; export r; \
2116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2117 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2119 .PHONY: install-host-nogcc
2120 install-host-nogcc: \
2121 maybe-install-ash \
2122 maybe-install-autoconf \
2123 maybe-install-automake \
2124 maybe-install-bash \
2125 maybe-install-bfd \
2126 maybe-install-opcodes \
2127 maybe-install-binutils \
2128 maybe-install-bison \
2129 maybe-install-byacc \
2130 maybe-install-bzip2 \
2131 maybe-install-dejagnu \
2132 maybe-install-diff \
2133 maybe-install-dosutils \
2134 maybe-install-etc \
2135 maybe-install-fastjar \
2136 maybe-install-fileutils \
2137 maybe-install-findutils \
2138 maybe-install-find \
2139 maybe-install-fixincludes \
2140 maybe-install-flex \
2141 maybe-install-gas \
2142 maybe-install-gawk \
2143 maybe-install-gettext \
2144 maybe-install-gnuserv \
2145 maybe-install-gprof \
2146 maybe-install-gzip \
2147 maybe-install-hello \
2148 maybe-install-indent \
2149 maybe-install-intl \
2150 maybe-install-tcl \
2151 maybe-install-itcl \
2152 maybe-install-ld \
2153 maybe-install-libcpp \
2154 maybe-install-libdecnumber \
2155 maybe-install-libgui \
2156 maybe-install-libiberty \
2157 maybe-install-libtool \
2158 maybe-install-m4 \
2159 maybe-install-make \
2160 maybe-install-mmalloc \
2161 maybe-install-patch \
2162 maybe-install-perl \
2163 maybe-install-prms \
2164 maybe-install-rcs \
2165 maybe-install-readline \
2166 maybe-install-release \
2167 maybe-install-recode \
2168 maybe-install-sed \
2169 maybe-install-send-pr \
2170 maybe-install-shellutils \
2171 maybe-install-sid \
2172 maybe-install-sim \
2173 maybe-install-tar \
2174 maybe-install-texinfo \
2175 maybe-install-textutils \
2176 maybe-install-time \
2177 maybe-install-uudecode \
2178 maybe-install-wdiff \
2179 maybe-install-zip \
2180 maybe-install-zlib \
2181 maybe-install-gdb \
2182 maybe-install-expect \
2183 maybe-install-guile \
2184 maybe-install-tk \
2185 maybe-install-libtermcap \
2186 maybe-install-utils \
2187 maybe-install-gnattools
2189 .PHONY: install-host
2190 install-host: \
2191 maybe-install-ash \
2192 maybe-install-autoconf \
2193 maybe-install-automake \
2194 maybe-install-bash \
2195 maybe-install-bfd \
2196 maybe-install-opcodes \
2197 maybe-install-binutils \
2198 maybe-install-bison \
2199 maybe-install-byacc \
2200 maybe-install-bzip2 \
2201 maybe-install-dejagnu \
2202 maybe-install-diff \
2203 maybe-install-dosutils \
2204 maybe-install-etc \
2205 maybe-install-fastjar \
2206 maybe-install-fileutils \
2207 maybe-install-findutils \
2208 maybe-install-find \
2209 maybe-install-fixincludes \
2210 maybe-install-flex \
2211 maybe-install-gas \
2212 maybe-install-gcc \
2213 maybe-install-gawk \
2214 maybe-install-gettext \
2215 maybe-install-gnuserv \
2216 maybe-install-gprof \
2217 maybe-install-gzip \
2218 maybe-install-hello \
2219 maybe-install-indent \
2220 maybe-install-intl \
2221 maybe-install-tcl \
2222 maybe-install-itcl \
2223 maybe-install-ld \
2224 maybe-install-libcpp \
2225 maybe-install-libdecnumber \
2226 maybe-install-libgui \
2227 maybe-install-libiberty \
2228 maybe-install-libtool \
2229 maybe-install-m4 \
2230 maybe-install-make \
2231 maybe-install-mmalloc \
2232 maybe-install-patch \
2233 maybe-install-perl \
2234 maybe-install-prms \
2235 maybe-install-rcs \
2236 maybe-install-readline \
2237 maybe-install-release \
2238 maybe-install-recode \
2239 maybe-install-sed \
2240 maybe-install-send-pr \
2241 maybe-install-shellutils \
2242 maybe-install-sid \
2243 maybe-install-sim \
2244 maybe-install-tar \
2245 maybe-install-texinfo \
2246 maybe-install-textutils \
2247 maybe-install-time \
2248 maybe-install-uudecode \
2249 maybe-install-wdiff \
2250 maybe-install-zip \
2251 maybe-install-zlib \
2252 maybe-install-gdb \
2253 maybe-install-expect \
2254 maybe-install-guile \
2255 maybe-install-tk \
2256 maybe-install-libtermcap \
2257 maybe-install-utils \
2258 maybe-install-gnattools
2260 .PHONY: install-target
2261 install-target: \
2262 maybe-install-target-libstdc++-v3 \
2263 maybe-install-target-libmudflap \
2264 maybe-install-target-libssp \
2265 maybe-install-target-newlib \
2266 maybe-install-target-libgfortran \
2267 maybe-install-target-libobjc \
2268 maybe-install-target-libtermcap \
2269 maybe-install-target-winsup \
2270 maybe-install-target-libgloss \
2271 maybe-install-target-libiberty \
2272 maybe-install-target-gperf \
2273 maybe-install-target-examples \
2274 maybe-install-target-libffi \
2275 maybe-install-target-libjava \
2276 maybe-install-target-zlib \
2277 maybe-install-target-boehm-gc \
2278 maybe-install-target-qthreads \
2279 maybe-install-target-rda \
2280 maybe-install-target-libada \
2281 maybe-install-target-libgomp
2283 uninstall:
2284 @echo "the uninstall target is not supported in this tree"
2286 .PHONY: install.all
2287 install.all: install-no-fixedincludes
2288 @if [ -f ./gcc/Makefile ] ; then \
2289 r=`${PWD_COMMAND}` ; export r ; \
2290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2291 $(HOST_EXPORTS) \
2292 (cd ./gcc && \
2293 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2294 else \
2295 true ; \
2298 # install-no-fixedincludes is used because Cygnus can not distribute
2299 # the fixed header files.
2300 .PHONY: install-no-fixedincludes
2301 install-no-fixedincludes: installdirs install-host-nogcc \
2302 install-target gcc-no-fixedincludes
2304 ### other supporting targets
2306 MAKEDIRS= \
2307 $(DESTDIR)$(prefix) \
2308 $(DESTDIR)$(exec_prefix)
2309 .PHONY: installdirs
2310 installdirs: mkinstalldirs
2311 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2313 dir.info: do-install-info
2314 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2315 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2316 mv -f dir.info.new dir.info ; \
2317 else true ; \
2320 dist:
2321 @echo "Building a full distribution of this tree isn't done"
2322 @echo "via 'make dist'. Check out the etc/ subdirectory"
2324 etags tags: TAGS
2326 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2327 # ability to use several tags files at once, so there is probably no need
2328 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2329 # (if we felt like it) have this Makefile write a piece of elisp which
2330 # the user could load to tell emacs19 where all the TAGS files we just
2331 # built are.
2332 TAGS: do-TAGS
2334 # ------------------------------------
2335 # Macros for configure and all targets
2336 # ------------------------------------
2342 # --------------------------------------
2343 # Modules which run on the build machine
2344 # --------------------------------------
2347 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2348 maybe-configure-build-libiberty:
2349 @if gcc-bootstrap
2350 configure-build-libiberty: stage_current
2351 @endif gcc-bootstrap
2352 @if build-libiberty
2353 maybe-configure-build-libiberty: configure-build-libiberty
2354 configure-build-libiberty:
2355 @: $(MAKE); $(unstage)
2356 @r=`${PWD_COMMAND}`; export r; \
2357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2358 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2359 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2360 $(BUILD_EXPORTS) \
2361 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2362 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2363 case $(srcdir) in \
2364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2365 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2367 esac; \
2368 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2369 libsrcdir="$$s/libiberty"; \
2370 rm -f no-such-file || : ; \
2371 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2372 $(BUILD_CONFIGARGS) $${srcdiroption} \
2373 || exit 1
2374 @endif build-libiberty
2380 .PHONY: all-build-libiberty maybe-all-build-libiberty
2381 maybe-all-build-libiberty:
2382 @if gcc-bootstrap
2383 all-build-libiberty: stage_current
2384 @endif gcc-bootstrap
2385 @if build-libiberty
2386 TARGET-build-libiberty=all
2387 maybe-all-build-libiberty: all-build-libiberty
2388 all-build-libiberty: configure-build-libiberty
2389 @: $(MAKE); $(unstage)
2390 @r=`${PWD_COMMAND}`; export r; \
2391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2392 $(BUILD_EXPORTS) \
2393 (cd $(BUILD_SUBDIR)/libiberty && \
2394 $(MAKE) $(TARGET-build-libiberty))
2395 @endif build-libiberty
2401 .PHONY: configure-build-bison maybe-configure-build-bison
2402 maybe-configure-build-bison:
2403 @if gcc-bootstrap
2404 configure-build-bison: stage_current
2405 @endif gcc-bootstrap
2406 @if build-bison
2407 maybe-configure-build-bison: configure-build-bison
2408 configure-build-bison:
2409 @: $(MAKE); $(unstage)
2410 @r=`${PWD_COMMAND}`; export r; \
2411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2412 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2413 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2414 $(BUILD_EXPORTS) \
2415 echo Configuring in $(BUILD_SUBDIR)/bison; \
2416 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2417 case $(srcdir) in \
2418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2419 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2421 esac; \
2422 srcdiroption="--srcdir=$${topdir}/bison"; \
2423 libsrcdir="$$s/bison"; \
2424 rm -f no-such-file || : ; \
2425 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2426 $(BUILD_CONFIGARGS) $${srcdiroption} \
2427 || exit 1
2428 @endif build-bison
2434 .PHONY: all-build-bison maybe-all-build-bison
2435 maybe-all-build-bison:
2436 @if gcc-bootstrap
2437 all-build-bison: stage_current
2438 @endif gcc-bootstrap
2439 @if build-bison
2440 TARGET-build-bison=all
2441 maybe-all-build-bison: all-build-bison
2442 all-build-bison: configure-build-bison
2443 @: $(MAKE); $(unstage)
2444 @r=`${PWD_COMMAND}`; export r; \
2445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2446 $(BUILD_EXPORTS) \
2447 (cd $(BUILD_SUBDIR)/bison && \
2448 $(MAKE) $(TARGET-build-bison))
2449 @endif build-bison
2455 .PHONY: configure-build-byacc maybe-configure-build-byacc
2456 maybe-configure-build-byacc:
2457 @if gcc-bootstrap
2458 configure-build-byacc: stage_current
2459 @endif gcc-bootstrap
2460 @if build-byacc
2461 maybe-configure-build-byacc: configure-build-byacc
2462 configure-build-byacc:
2463 @: $(MAKE); $(unstage)
2464 @r=`${PWD_COMMAND}`; export r; \
2465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2466 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2467 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2468 $(BUILD_EXPORTS) \
2469 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2470 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2471 case $(srcdir) in \
2472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2473 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2475 esac; \
2476 srcdiroption="--srcdir=$${topdir}/byacc"; \
2477 libsrcdir="$$s/byacc"; \
2478 rm -f no-such-file || : ; \
2479 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2480 $(BUILD_CONFIGARGS) $${srcdiroption} \
2481 || exit 1
2482 @endif build-byacc
2488 .PHONY: all-build-byacc maybe-all-build-byacc
2489 maybe-all-build-byacc:
2490 @if gcc-bootstrap
2491 all-build-byacc: stage_current
2492 @endif gcc-bootstrap
2493 @if build-byacc
2494 TARGET-build-byacc=all
2495 maybe-all-build-byacc: all-build-byacc
2496 all-build-byacc: configure-build-byacc
2497 @: $(MAKE); $(unstage)
2498 @r=`${PWD_COMMAND}`; export r; \
2499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500 $(BUILD_EXPORTS) \
2501 (cd $(BUILD_SUBDIR)/byacc && \
2502 $(MAKE) $(TARGET-build-byacc))
2503 @endif build-byacc
2509 .PHONY: configure-build-flex maybe-configure-build-flex
2510 maybe-configure-build-flex:
2511 @if gcc-bootstrap
2512 configure-build-flex: stage_current
2513 @endif gcc-bootstrap
2514 @if build-flex
2515 maybe-configure-build-flex: configure-build-flex
2516 configure-build-flex:
2517 @: $(MAKE); $(unstage)
2518 @r=`${PWD_COMMAND}`; export r; \
2519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2520 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2521 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2522 $(BUILD_EXPORTS) \
2523 echo Configuring in $(BUILD_SUBDIR)/flex; \
2524 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2525 case $(srcdir) in \
2526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2527 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2529 esac; \
2530 srcdiroption="--srcdir=$${topdir}/flex"; \
2531 libsrcdir="$$s/flex"; \
2532 rm -f no-such-file || : ; \
2533 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2534 $(BUILD_CONFIGARGS) $${srcdiroption} \
2535 || exit 1
2536 @endif build-flex
2542 .PHONY: all-build-flex maybe-all-build-flex
2543 maybe-all-build-flex:
2544 @if gcc-bootstrap
2545 all-build-flex: stage_current
2546 @endif gcc-bootstrap
2547 @if build-flex
2548 TARGET-build-flex=all
2549 maybe-all-build-flex: all-build-flex
2550 all-build-flex: configure-build-flex
2551 @: $(MAKE); $(unstage)
2552 @r=`${PWD_COMMAND}`; export r; \
2553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2554 $(BUILD_EXPORTS) \
2555 (cd $(BUILD_SUBDIR)/flex && \
2556 $(MAKE) $(TARGET-build-flex))
2557 @endif build-flex
2563 .PHONY: configure-build-m4 maybe-configure-build-m4
2564 maybe-configure-build-m4:
2565 @if gcc-bootstrap
2566 configure-build-m4: stage_current
2567 @endif gcc-bootstrap
2568 @if build-m4
2569 maybe-configure-build-m4: configure-build-m4
2570 configure-build-m4:
2571 @: $(MAKE); $(unstage)
2572 @r=`${PWD_COMMAND}`; export r; \
2573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2575 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2576 $(BUILD_EXPORTS) \
2577 echo Configuring in $(BUILD_SUBDIR)/m4; \
2578 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2579 case $(srcdir) in \
2580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2581 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2583 esac; \
2584 srcdiroption="--srcdir=$${topdir}/m4"; \
2585 libsrcdir="$$s/m4"; \
2586 rm -f no-such-file || : ; \
2587 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2588 $(BUILD_CONFIGARGS) $${srcdiroption} \
2589 || exit 1
2590 @endif build-m4
2596 .PHONY: all-build-m4 maybe-all-build-m4
2597 maybe-all-build-m4:
2598 @if gcc-bootstrap
2599 all-build-m4: stage_current
2600 @endif gcc-bootstrap
2601 @if build-m4
2602 TARGET-build-m4=all
2603 maybe-all-build-m4: all-build-m4
2604 all-build-m4: configure-build-m4
2605 @: $(MAKE); $(unstage)
2606 @r=`${PWD_COMMAND}`; export r; \
2607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2608 $(BUILD_EXPORTS) \
2609 (cd $(BUILD_SUBDIR)/m4 && \
2610 $(MAKE) $(TARGET-build-m4))
2611 @endif build-m4
2617 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2618 maybe-configure-build-texinfo:
2619 @if gcc-bootstrap
2620 configure-build-texinfo: stage_current
2621 @endif gcc-bootstrap
2622 @if build-texinfo
2623 maybe-configure-build-texinfo: configure-build-texinfo
2624 configure-build-texinfo:
2625 @: $(MAKE); $(unstage)
2626 @r=`${PWD_COMMAND}`; export r; \
2627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2628 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2629 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2630 $(BUILD_EXPORTS) \
2631 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2632 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2633 case $(srcdir) in \
2634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2635 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2637 esac; \
2638 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2639 libsrcdir="$$s/texinfo"; \
2640 rm -f no-such-file || : ; \
2641 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2642 $(BUILD_CONFIGARGS) $${srcdiroption} \
2643 || exit 1
2644 @endif build-texinfo
2650 .PHONY: all-build-texinfo maybe-all-build-texinfo
2651 maybe-all-build-texinfo:
2652 @if gcc-bootstrap
2653 all-build-texinfo: stage_current
2654 @endif gcc-bootstrap
2655 @if build-texinfo
2656 TARGET-build-texinfo=all
2657 maybe-all-build-texinfo: all-build-texinfo
2658 all-build-texinfo: configure-build-texinfo
2659 @: $(MAKE); $(unstage)
2660 @r=`${PWD_COMMAND}`; export r; \
2661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2662 $(BUILD_EXPORTS) \
2663 (cd $(BUILD_SUBDIR)/texinfo && \
2664 $(MAKE) $(TARGET-build-texinfo))
2665 @endif build-texinfo
2671 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2672 maybe-configure-build-fixincludes:
2673 @if gcc-bootstrap
2674 configure-build-fixincludes: stage_current
2675 @endif gcc-bootstrap
2676 @if build-fixincludes
2677 maybe-configure-build-fixincludes: configure-build-fixincludes
2678 configure-build-fixincludes:
2679 @: $(MAKE); $(unstage)
2680 @r=`${PWD_COMMAND}`; export r; \
2681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2682 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2683 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2684 $(BUILD_EXPORTS) \
2685 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2686 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2687 case $(srcdir) in \
2688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2689 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2691 esac; \
2692 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2693 libsrcdir="$$s/fixincludes"; \
2694 rm -f no-such-file || : ; \
2695 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2696 $(BUILD_CONFIGARGS) $${srcdiroption} \
2697 || exit 1
2698 @endif build-fixincludes
2704 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2705 maybe-all-build-fixincludes:
2706 @if gcc-bootstrap
2707 all-build-fixincludes: stage_current
2708 @endif gcc-bootstrap
2709 @if build-fixincludes
2710 TARGET-build-fixincludes=all
2711 maybe-all-build-fixincludes: all-build-fixincludes
2712 all-build-fixincludes: configure-build-fixincludes
2713 @: $(MAKE); $(unstage)
2714 @r=`${PWD_COMMAND}`; export r; \
2715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2716 $(BUILD_EXPORTS) \
2717 (cd $(BUILD_SUBDIR)/fixincludes && \
2718 $(MAKE) $(TARGET-build-fixincludes))
2719 @endif build-fixincludes
2725 # --------------------------------------
2726 # Modules which run on the host machine
2727 # --------------------------------------
2730 .PHONY: configure-ash maybe-configure-ash
2731 maybe-configure-ash:
2732 @if gcc-bootstrap
2733 configure-ash: stage_current
2734 @endif gcc-bootstrap
2735 @if ash
2736 maybe-configure-ash: configure-ash
2737 configure-ash:
2738 @: $(MAKE); $(unstage)
2739 @r=`${PWD_COMMAND}`; export r; \
2740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2741 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2743 $(HOST_EXPORTS) \
2744 echo Configuring in $(HOST_SUBDIR)/ash; \
2745 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2746 case $(srcdir) in \
2747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2748 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2750 esac; \
2751 srcdiroption="--srcdir=$${topdir}/ash"; \
2752 libsrcdir="$$s/ash"; \
2753 $(SHELL) $${libsrcdir}/configure \
2754 $(HOST_CONFIGARGS) $${srcdiroption} \
2755 || exit 1
2756 @endif ash
2762 .PHONY: all-ash maybe-all-ash
2763 maybe-all-ash:
2764 @if gcc-bootstrap
2765 all-ash: stage_current
2766 @endif gcc-bootstrap
2767 @if ash
2768 TARGET-ash=all
2769 maybe-all-ash: all-ash
2770 all-ash: configure-ash
2771 @: $(MAKE); $(unstage)
2772 @r=`${PWD_COMMAND}`; export r; \
2773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2774 $(HOST_EXPORTS) \
2775 (cd $(HOST_SUBDIR)/ash && \
2776 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2777 @endif ash
2782 .PHONY: check-ash maybe-check-ash
2783 maybe-check-ash:
2784 @if ash
2785 maybe-check-ash: check-ash
2787 check-ash:
2788 @: $(MAKE); $(unstage)
2789 @r=`${PWD_COMMAND}`; export r; \
2790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2791 $(HOST_EXPORTS) \
2792 (cd $(HOST_SUBDIR)/ash && \
2793 $(MAKE) $(FLAGS_TO_PASS) check)
2795 @endif ash
2797 .PHONY: install-ash maybe-install-ash
2798 maybe-install-ash:
2799 @if ash
2800 maybe-install-ash: install-ash
2802 install-ash: installdirs
2803 @: $(MAKE); $(unstage)
2804 @r=`${PWD_COMMAND}`; export r; \
2805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2806 $(HOST_EXPORTS) \
2807 (cd $(HOST_SUBDIR)/ash && \
2808 $(MAKE) $(FLAGS_TO_PASS) install)
2810 @endif ash
2812 # Other targets (info, dvi, etc.)
2814 .PHONY: maybe-info-ash info-ash
2815 maybe-info-ash:
2816 @if ash
2817 maybe-info-ash: info-ash
2819 info-ash: \
2820 configure-ash
2821 @: $(MAKE); $(unstage)
2822 @[ -f ./ash/Makefile ] || exit 0; \
2823 r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825 $(HOST_EXPORTS) \
2826 for flag in $(EXTRA_HOST_FLAGS) ; do \
2827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2828 done; \
2829 echo "Doing info in ash" ; \
2830 (cd $(HOST_SUBDIR)/ash && \
2831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2833 "RANLIB=$${RANLIB}" \
2834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2835 info) \
2836 || exit 1
2838 @endif ash
2840 .PHONY: maybe-dvi-ash dvi-ash
2841 maybe-dvi-ash:
2842 @if ash
2843 maybe-dvi-ash: dvi-ash
2845 dvi-ash: \
2846 configure-ash
2847 @: $(MAKE); $(unstage)
2848 @[ -f ./ash/Makefile ] || exit 0; \
2849 r=`${PWD_COMMAND}`; export r; \
2850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2851 $(HOST_EXPORTS) \
2852 for flag in $(EXTRA_HOST_FLAGS) ; do \
2853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2854 done; \
2855 echo "Doing dvi in ash" ; \
2856 (cd $(HOST_SUBDIR)/ash && \
2857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2859 "RANLIB=$${RANLIB}" \
2860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2861 dvi) \
2862 || exit 1
2864 @endif ash
2866 .PHONY: maybe-html-ash html-ash
2867 maybe-html-ash:
2868 @if ash
2869 maybe-html-ash: html-ash
2871 html-ash: \
2872 configure-ash
2873 @: $(MAKE); $(unstage)
2874 @[ -f ./ash/Makefile ] || exit 0; \
2875 r=`${PWD_COMMAND}`; export r; \
2876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2877 $(HOST_EXPORTS) \
2878 for flag in $(EXTRA_HOST_FLAGS) ; do \
2879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2880 done; \
2881 echo "Doing html in ash" ; \
2882 (cd $(HOST_SUBDIR)/ash && \
2883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2885 "RANLIB=$${RANLIB}" \
2886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2887 html) \
2888 || exit 1
2890 @endif ash
2892 .PHONY: maybe-TAGS-ash TAGS-ash
2893 maybe-TAGS-ash:
2894 @if ash
2895 maybe-TAGS-ash: TAGS-ash
2897 TAGS-ash: \
2898 configure-ash
2899 @: $(MAKE); $(unstage)
2900 @[ -f ./ash/Makefile ] || exit 0; \
2901 r=`${PWD_COMMAND}`; export r; \
2902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 $(HOST_EXPORTS) \
2904 for flag in $(EXTRA_HOST_FLAGS) ; do \
2905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2906 done; \
2907 echo "Doing TAGS in ash" ; \
2908 (cd $(HOST_SUBDIR)/ash && \
2909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2911 "RANLIB=$${RANLIB}" \
2912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2913 TAGS) \
2914 || exit 1
2916 @endif ash
2918 .PHONY: maybe-install-info-ash install-info-ash
2919 maybe-install-info-ash:
2920 @if ash
2921 maybe-install-info-ash: install-info-ash
2923 install-info-ash: \
2924 configure-ash \
2925 info-ash
2926 @: $(MAKE); $(unstage)
2927 @[ -f ./ash/Makefile ] || exit 0; \
2928 r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 $(HOST_EXPORTS) \
2931 for flag in $(EXTRA_HOST_FLAGS) ; do \
2932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2933 done; \
2934 echo "Doing install-info in ash" ; \
2935 (cd $(HOST_SUBDIR)/ash && \
2936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2938 "RANLIB=$${RANLIB}" \
2939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2940 install-info) \
2941 || exit 1
2943 @endif ash
2945 .PHONY: maybe-install-html-ash install-html-ash
2946 maybe-install-html-ash:
2947 @if ash
2948 maybe-install-html-ash: install-html-ash
2950 install-html-ash: \
2951 configure-ash \
2952 html-ash
2953 @: $(MAKE); $(unstage)
2954 @[ -f ./ash/Makefile ] || exit 0; \
2955 r=`${PWD_COMMAND}`; export r; \
2956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2957 $(HOST_EXPORTS) \
2958 for flag in $(EXTRA_HOST_FLAGS) ; do \
2959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2960 done; \
2961 echo "Doing install-html in ash" ; \
2962 (cd $(HOST_SUBDIR)/ash && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2965 "RANLIB=$${RANLIB}" \
2966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2967 install-html) \
2968 || exit 1
2970 @endif ash
2972 .PHONY: maybe-installcheck-ash installcheck-ash
2973 maybe-installcheck-ash:
2974 @if ash
2975 maybe-installcheck-ash: installcheck-ash
2977 installcheck-ash: \
2978 configure-ash
2979 @: $(MAKE); $(unstage)
2980 @[ -f ./ash/Makefile ] || exit 0; \
2981 r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 $(HOST_EXPORTS) \
2984 for flag in $(EXTRA_HOST_FLAGS) ; do \
2985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2986 done; \
2987 echo "Doing installcheck in ash" ; \
2988 (cd $(HOST_SUBDIR)/ash && \
2989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2991 "RANLIB=$${RANLIB}" \
2992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2993 installcheck) \
2994 || exit 1
2996 @endif ash
2998 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2999 maybe-mostlyclean-ash:
3000 @if ash
3001 maybe-mostlyclean-ash: mostlyclean-ash
3003 mostlyclean-ash:
3004 @: $(MAKE); $(unstage)
3005 @[ -f ./ash/Makefile ] || exit 0; \
3006 r=`${PWD_COMMAND}`; export r; \
3007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3008 $(HOST_EXPORTS) \
3009 for flag in $(EXTRA_HOST_FLAGS) ; do \
3010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3011 done; \
3012 echo "Doing mostlyclean in ash" ; \
3013 (cd $(HOST_SUBDIR)/ash && \
3014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3016 "RANLIB=$${RANLIB}" \
3017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3018 mostlyclean) \
3019 || exit 1
3021 @endif ash
3023 .PHONY: maybe-clean-ash clean-ash
3024 maybe-clean-ash:
3025 @if ash
3026 maybe-clean-ash: clean-ash
3028 clean-ash:
3029 @: $(MAKE); $(unstage)
3030 @[ -f ./ash/Makefile ] || exit 0; \
3031 r=`${PWD_COMMAND}`; export r; \
3032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3033 $(HOST_EXPORTS) \
3034 for flag in $(EXTRA_HOST_FLAGS) ; do \
3035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3036 done; \
3037 echo "Doing clean in ash" ; \
3038 (cd $(HOST_SUBDIR)/ash && \
3039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3041 "RANLIB=$${RANLIB}" \
3042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3043 clean) \
3044 || exit 1
3046 @endif ash
3048 .PHONY: maybe-distclean-ash distclean-ash
3049 maybe-distclean-ash:
3050 @if ash
3051 maybe-distclean-ash: distclean-ash
3053 distclean-ash:
3054 @: $(MAKE); $(unstage)
3055 @[ -f ./ash/Makefile ] || exit 0; \
3056 r=`${PWD_COMMAND}`; export r; \
3057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3058 $(HOST_EXPORTS) \
3059 for flag in $(EXTRA_HOST_FLAGS) ; do \
3060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3061 done; \
3062 echo "Doing distclean in ash" ; \
3063 (cd $(HOST_SUBDIR)/ash && \
3064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3066 "RANLIB=$${RANLIB}" \
3067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3068 distclean) \
3069 || exit 1
3071 @endif ash
3073 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3074 maybe-maintainer-clean-ash:
3075 @if ash
3076 maybe-maintainer-clean-ash: maintainer-clean-ash
3078 maintainer-clean-ash:
3079 @: $(MAKE); $(unstage)
3080 @[ -f ./ash/Makefile ] || exit 0; \
3081 r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 $(HOST_EXPORTS) \
3084 for flag in $(EXTRA_HOST_FLAGS) ; do \
3085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3086 done; \
3087 echo "Doing maintainer-clean in ash" ; \
3088 (cd $(HOST_SUBDIR)/ash && \
3089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3091 "RANLIB=$${RANLIB}" \
3092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3093 maintainer-clean) \
3094 || exit 1
3096 @endif ash
3100 .PHONY: configure-autoconf maybe-configure-autoconf
3101 maybe-configure-autoconf:
3102 @if gcc-bootstrap
3103 configure-autoconf: stage_current
3104 @endif gcc-bootstrap
3105 @if autoconf
3106 maybe-configure-autoconf: configure-autoconf
3107 configure-autoconf:
3108 @: $(MAKE); $(unstage)
3109 @r=`${PWD_COMMAND}`; export r; \
3110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3111 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3113 $(HOST_EXPORTS) \
3114 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3115 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3116 case $(srcdir) in \
3117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3118 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3120 esac; \
3121 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3122 libsrcdir="$$s/autoconf"; \
3123 $(SHELL) $${libsrcdir}/configure \
3124 $(HOST_CONFIGARGS) $${srcdiroption} \
3125 || exit 1
3126 @endif autoconf
3132 .PHONY: all-autoconf maybe-all-autoconf
3133 maybe-all-autoconf:
3134 @if gcc-bootstrap
3135 all-autoconf: stage_current
3136 @endif gcc-bootstrap
3137 @if autoconf
3138 TARGET-autoconf=all
3139 maybe-all-autoconf: all-autoconf
3140 all-autoconf: configure-autoconf
3141 @: $(MAKE); $(unstage)
3142 @r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144 $(HOST_EXPORTS) \
3145 (cd $(HOST_SUBDIR)/autoconf && \
3146 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3147 @endif autoconf
3152 .PHONY: check-autoconf maybe-check-autoconf
3153 maybe-check-autoconf:
3154 @if autoconf
3155 maybe-check-autoconf: check-autoconf
3157 check-autoconf:
3158 @: $(MAKE); $(unstage)
3159 @r=`${PWD_COMMAND}`; export r; \
3160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3161 $(HOST_EXPORTS) \
3162 (cd $(HOST_SUBDIR)/autoconf && \
3163 $(MAKE) $(FLAGS_TO_PASS) check)
3165 @endif autoconf
3167 .PHONY: install-autoconf maybe-install-autoconf
3168 maybe-install-autoconf:
3169 @if autoconf
3170 maybe-install-autoconf: install-autoconf
3172 install-autoconf: installdirs
3173 @: $(MAKE); $(unstage)
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3176 $(HOST_EXPORTS) \
3177 (cd $(HOST_SUBDIR)/autoconf && \
3178 $(MAKE) $(FLAGS_TO_PASS) install)
3180 @endif autoconf
3182 # Other targets (info, dvi, etc.)
3184 .PHONY: maybe-info-autoconf info-autoconf
3185 maybe-info-autoconf:
3186 @if autoconf
3187 maybe-info-autoconf: info-autoconf
3189 info-autoconf: \
3190 configure-autoconf
3191 @: $(MAKE); $(unstage)
3192 @[ -f ./autoconf/Makefile ] || exit 0; \
3193 r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 $(HOST_EXPORTS) \
3196 for flag in $(EXTRA_HOST_FLAGS) ; do \
3197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3198 done; \
3199 echo "Doing info in autoconf" ; \
3200 (cd $(HOST_SUBDIR)/autoconf && \
3201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3203 "RANLIB=$${RANLIB}" \
3204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3205 info) \
3206 || exit 1
3208 @endif autoconf
3210 .PHONY: maybe-dvi-autoconf dvi-autoconf
3211 maybe-dvi-autoconf:
3212 @if autoconf
3213 maybe-dvi-autoconf: dvi-autoconf
3215 dvi-autoconf: \
3216 configure-autoconf
3217 @: $(MAKE); $(unstage)
3218 @[ -f ./autoconf/Makefile ] || exit 0; \
3219 r=`${PWD_COMMAND}`; export r; \
3220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3221 $(HOST_EXPORTS) \
3222 for flag in $(EXTRA_HOST_FLAGS) ; do \
3223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3224 done; \
3225 echo "Doing dvi in autoconf" ; \
3226 (cd $(HOST_SUBDIR)/autoconf && \
3227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229 "RANLIB=$${RANLIB}" \
3230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3231 dvi) \
3232 || exit 1
3234 @endif autoconf
3236 .PHONY: maybe-html-autoconf html-autoconf
3237 maybe-html-autoconf:
3238 @if autoconf
3239 maybe-html-autoconf: html-autoconf
3241 html-autoconf: \
3242 configure-autoconf
3243 @: $(MAKE); $(unstage)
3244 @[ -f ./autoconf/Makefile ] || exit 0; \
3245 r=`${PWD_COMMAND}`; export r; \
3246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3247 $(HOST_EXPORTS) \
3248 for flag in $(EXTRA_HOST_FLAGS) ; do \
3249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3250 done; \
3251 echo "Doing html in autoconf" ; \
3252 (cd $(HOST_SUBDIR)/autoconf && \
3253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3255 "RANLIB=$${RANLIB}" \
3256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3257 html) \
3258 || exit 1
3260 @endif autoconf
3262 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3263 maybe-TAGS-autoconf:
3264 @if autoconf
3265 maybe-TAGS-autoconf: TAGS-autoconf
3267 TAGS-autoconf: \
3268 configure-autoconf
3269 @: $(MAKE); $(unstage)
3270 @[ -f ./autoconf/Makefile ] || exit 0; \
3271 r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 $(HOST_EXPORTS) \
3274 for flag in $(EXTRA_HOST_FLAGS) ; do \
3275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3276 done; \
3277 echo "Doing TAGS in autoconf" ; \
3278 (cd $(HOST_SUBDIR)/autoconf && \
3279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3281 "RANLIB=$${RANLIB}" \
3282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3283 TAGS) \
3284 || exit 1
3286 @endif autoconf
3288 .PHONY: maybe-install-info-autoconf install-info-autoconf
3289 maybe-install-info-autoconf:
3290 @if autoconf
3291 maybe-install-info-autoconf: install-info-autoconf
3293 install-info-autoconf: \
3294 configure-autoconf \
3295 info-autoconf
3296 @: $(MAKE); $(unstage)
3297 @[ -f ./autoconf/Makefile ] || exit 0; \
3298 r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 $(HOST_EXPORTS) \
3301 for flag in $(EXTRA_HOST_FLAGS) ; do \
3302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3303 done; \
3304 echo "Doing install-info in autoconf" ; \
3305 (cd $(HOST_SUBDIR)/autoconf && \
3306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308 "RANLIB=$${RANLIB}" \
3309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3310 install-info) \
3311 || exit 1
3313 @endif autoconf
3315 .PHONY: maybe-install-html-autoconf install-html-autoconf
3316 maybe-install-html-autoconf:
3317 @if autoconf
3318 maybe-install-html-autoconf: install-html-autoconf
3320 install-html-autoconf: \
3321 configure-autoconf \
3322 html-autoconf
3323 @: $(MAKE); $(unstage)
3324 @[ -f ./autoconf/Makefile ] || exit 0; \
3325 r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 $(HOST_EXPORTS) \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3330 done; \
3331 echo "Doing install-html in autoconf" ; \
3332 (cd $(HOST_SUBDIR)/autoconf && \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3337 install-html) \
3338 || exit 1
3340 @endif autoconf
3342 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3343 maybe-installcheck-autoconf:
3344 @if autoconf
3345 maybe-installcheck-autoconf: installcheck-autoconf
3347 installcheck-autoconf: \
3348 configure-autoconf
3349 @: $(MAKE); $(unstage)
3350 @[ -f ./autoconf/Makefile ] || exit 0; \
3351 r=`${PWD_COMMAND}`; export r; \
3352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3353 $(HOST_EXPORTS) \
3354 for flag in $(EXTRA_HOST_FLAGS) ; do \
3355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3356 done; \
3357 echo "Doing installcheck in autoconf" ; \
3358 (cd $(HOST_SUBDIR)/autoconf && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3361 "RANLIB=$${RANLIB}" \
3362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3363 installcheck) \
3364 || exit 1
3366 @endif autoconf
3368 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3369 maybe-mostlyclean-autoconf:
3370 @if autoconf
3371 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3373 mostlyclean-autoconf:
3374 @: $(MAKE); $(unstage)
3375 @[ -f ./autoconf/Makefile ] || exit 0; \
3376 r=`${PWD_COMMAND}`; export r; \
3377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3378 $(HOST_EXPORTS) \
3379 for flag in $(EXTRA_HOST_FLAGS) ; do \
3380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3381 done; \
3382 echo "Doing mostlyclean in autoconf" ; \
3383 (cd $(HOST_SUBDIR)/autoconf && \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3386 "RANLIB=$${RANLIB}" \
3387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3388 mostlyclean) \
3389 || exit 1
3391 @endif autoconf
3393 .PHONY: maybe-clean-autoconf clean-autoconf
3394 maybe-clean-autoconf:
3395 @if autoconf
3396 maybe-clean-autoconf: clean-autoconf
3398 clean-autoconf:
3399 @: $(MAKE); $(unstage)
3400 @[ -f ./autoconf/Makefile ] || exit 0; \
3401 r=`${PWD_COMMAND}`; export r; \
3402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3403 $(HOST_EXPORTS) \
3404 for flag in $(EXTRA_HOST_FLAGS) ; do \
3405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3406 done; \
3407 echo "Doing clean in autoconf" ; \
3408 (cd $(HOST_SUBDIR)/autoconf && \
3409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3411 "RANLIB=$${RANLIB}" \
3412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3413 clean) \
3414 || exit 1
3416 @endif autoconf
3418 .PHONY: maybe-distclean-autoconf distclean-autoconf
3419 maybe-distclean-autoconf:
3420 @if autoconf
3421 maybe-distclean-autoconf: distclean-autoconf
3423 distclean-autoconf:
3424 @: $(MAKE); $(unstage)
3425 @[ -f ./autoconf/Makefile ] || exit 0; \
3426 r=`${PWD_COMMAND}`; export r; \
3427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3428 $(HOST_EXPORTS) \
3429 for flag in $(EXTRA_HOST_FLAGS) ; do \
3430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3431 done; \
3432 echo "Doing distclean in autoconf" ; \
3433 (cd $(HOST_SUBDIR)/autoconf && \
3434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3436 "RANLIB=$${RANLIB}" \
3437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3438 distclean) \
3439 || exit 1
3441 @endif autoconf
3443 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3444 maybe-maintainer-clean-autoconf:
3445 @if autoconf
3446 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3448 maintainer-clean-autoconf:
3449 @: $(MAKE); $(unstage)
3450 @[ -f ./autoconf/Makefile ] || exit 0; \
3451 r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 $(HOST_EXPORTS) \
3454 for flag in $(EXTRA_HOST_FLAGS) ; do \
3455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3456 done; \
3457 echo "Doing maintainer-clean in autoconf" ; \
3458 (cd $(HOST_SUBDIR)/autoconf && \
3459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3461 "RANLIB=$${RANLIB}" \
3462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 maintainer-clean) \
3464 || exit 1
3466 @endif autoconf
3470 .PHONY: configure-automake maybe-configure-automake
3471 maybe-configure-automake:
3472 @if gcc-bootstrap
3473 configure-automake: stage_current
3474 @endif gcc-bootstrap
3475 @if automake
3476 maybe-configure-automake: configure-automake
3477 configure-automake:
3478 @: $(MAKE); $(unstage)
3479 @r=`${PWD_COMMAND}`; export r; \
3480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3481 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3483 $(HOST_EXPORTS) \
3484 echo Configuring in $(HOST_SUBDIR)/automake; \
3485 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3486 case $(srcdir) in \
3487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3488 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3490 esac; \
3491 srcdiroption="--srcdir=$${topdir}/automake"; \
3492 libsrcdir="$$s/automake"; \
3493 $(SHELL) $${libsrcdir}/configure \
3494 $(HOST_CONFIGARGS) $${srcdiroption} \
3495 || exit 1
3496 @endif automake
3502 .PHONY: all-automake maybe-all-automake
3503 maybe-all-automake:
3504 @if gcc-bootstrap
3505 all-automake: stage_current
3506 @endif gcc-bootstrap
3507 @if automake
3508 TARGET-automake=all
3509 maybe-all-automake: all-automake
3510 all-automake: configure-automake
3511 @: $(MAKE); $(unstage)
3512 @r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 $(HOST_EXPORTS) \
3515 (cd $(HOST_SUBDIR)/automake && \
3516 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3517 @endif automake
3522 .PHONY: check-automake maybe-check-automake
3523 maybe-check-automake:
3524 @if automake
3525 maybe-check-automake: check-automake
3527 check-automake:
3528 @: $(MAKE); $(unstage)
3529 @r=`${PWD_COMMAND}`; export r; \
3530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3531 $(HOST_EXPORTS) \
3532 (cd $(HOST_SUBDIR)/automake && \
3533 $(MAKE) $(FLAGS_TO_PASS) check)
3535 @endif automake
3537 .PHONY: install-automake maybe-install-automake
3538 maybe-install-automake:
3539 @if automake
3540 maybe-install-automake: install-automake
3542 install-automake: installdirs
3543 @: $(MAKE); $(unstage)
3544 @r=`${PWD_COMMAND}`; export r; \
3545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3546 $(HOST_EXPORTS) \
3547 (cd $(HOST_SUBDIR)/automake && \
3548 $(MAKE) $(FLAGS_TO_PASS) install)
3550 @endif automake
3552 # Other targets (info, dvi, etc.)
3554 .PHONY: maybe-info-automake info-automake
3555 maybe-info-automake:
3556 @if automake
3557 maybe-info-automake: info-automake
3559 info-automake: \
3560 configure-automake
3561 @: $(MAKE); $(unstage)
3562 @[ -f ./automake/Makefile ] || exit 0; \
3563 r=`${PWD_COMMAND}`; export r; \
3564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3565 $(HOST_EXPORTS) \
3566 for flag in $(EXTRA_HOST_FLAGS) ; do \
3567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3568 done; \
3569 echo "Doing info in automake" ; \
3570 (cd $(HOST_SUBDIR)/automake && \
3571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3573 "RANLIB=$${RANLIB}" \
3574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3575 info) \
3576 || exit 1
3578 @endif automake
3580 .PHONY: maybe-dvi-automake dvi-automake
3581 maybe-dvi-automake:
3582 @if automake
3583 maybe-dvi-automake: dvi-automake
3585 dvi-automake: \
3586 configure-automake
3587 @: $(MAKE); $(unstage)
3588 @[ -f ./automake/Makefile ] || exit 0; \
3589 r=`${PWD_COMMAND}`; export r; \
3590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3591 $(HOST_EXPORTS) \
3592 for flag in $(EXTRA_HOST_FLAGS) ; do \
3593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3594 done; \
3595 echo "Doing dvi in automake" ; \
3596 (cd $(HOST_SUBDIR)/automake && \
3597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3599 "RANLIB=$${RANLIB}" \
3600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3601 dvi) \
3602 || exit 1
3604 @endif automake
3606 .PHONY: maybe-html-automake html-automake
3607 maybe-html-automake:
3608 @if automake
3609 maybe-html-automake: html-automake
3611 html-automake: \
3612 configure-automake
3613 @: $(MAKE); $(unstage)
3614 @[ -f ./automake/Makefile ] || exit 0; \
3615 r=`${PWD_COMMAND}`; export r; \
3616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 $(HOST_EXPORTS) \
3618 for flag in $(EXTRA_HOST_FLAGS) ; do \
3619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3620 done; \
3621 echo "Doing html in automake" ; \
3622 (cd $(HOST_SUBDIR)/automake && \
3623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3625 "RANLIB=$${RANLIB}" \
3626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3627 html) \
3628 || exit 1
3630 @endif automake
3632 .PHONY: maybe-TAGS-automake TAGS-automake
3633 maybe-TAGS-automake:
3634 @if automake
3635 maybe-TAGS-automake: TAGS-automake
3637 TAGS-automake: \
3638 configure-automake
3639 @: $(MAKE); $(unstage)
3640 @[ -f ./automake/Makefile ] || exit 0; \
3641 r=`${PWD_COMMAND}`; export r; \
3642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3643 $(HOST_EXPORTS) \
3644 for flag in $(EXTRA_HOST_FLAGS) ; do \
3645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3646 done; \
3647 echo "Doing TAGS in automake" ; \
3648 (cd $(HOST_SUBDIR)/automake && \
3649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3651 "RANLIB=$${RANLIB}" \
3652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3653 TAGS) \
3654 || exit 1
3656 @endif automake
3658 .PHONY: maybe-install-info-automake install-info-automake
3659 maybe-install-info-automake:
3660 @if automake
3661 maybe-install-info-automake: install-info-automake
3663 install-info-automake: \
3664 configure-automake \
3665 info-automake
3666 @: $(MAKE); $(unstage)
3667 @[ -f ./automake/Makefile ] || exit 0; \
3668 r=`${PWD_COMMAND}`; export r; \
3669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3670 $(HOST_EXPORTS) \
3671 for flag in $(EXTRA_HOST_FLAGS) ; do \
3672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3673 done; \
3674 echo "Doing install-info in automake" ; \
3675 (cd $(HOST_SUBDIR)/automake && \
3676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3678 "RANLIB=$${RANLIB}" \
3679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3680 install-info) \
3681 || exit 1
3683 @endif automake
3685 .PHONY: maybe-install-html-automake install-html-automake
3686 maybe-install-html-automake:
3687 @if automake
3688 maybe-install-html-automake: install-html-automake
3690 install-html-automake: \
3691 configure-automake \
3692 html-automake
3693 @: $(MAKE); $(unstage)
3694 @[ -f ./automake/Makefile ] || exit 0; \
3695 r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697 $(HOST_EXPORTS) \
3698 for flag in $(EXTRA_HOST_FLAGS) ; do \
3699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3700 done; \
3701 echo "Doing install-html in automake" ; \
3702 (cd $(HOST_SUBDIR)/automake && \
3703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3705 "RANLIB=$${RANLIB}" \
3706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3707 install-html) \
3708 || exit 1
3710 @endif automake
3712 .PHONY: maybe-installcheck-automake installcheck-automake
3713 maybe-installcheck-automake:
3714 @if automake
3715 maybe-installcheck-automake: installcheck-automake
3717 installcheck-automake: \
3718 configure-automake
3719 @: $(MAKE); $(unstage)
3720 @[ -f ./automake/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3723 $(HOST_EXPORTS) \
3724 for flag in $(EXTRA_HOST_FLAGS) ; do \
3725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3726 done; \
3727 echo "Doing installcheck in automake" ; \
3728 (cd $(HOST_SUBDIR)/automake && \
3729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731 "RANLIB=$${RANLIB}" \
3732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3733 installcheck) \
3734 || exit 1
3736 @endif automake
3738 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3739 maybe-mostlyclean-automake:
3740 @if automake
3741 maybe-mostlyclean-automake: mostlyclean-automake
3743 mostlyclean-automake:
3744 @: $(MAKE); $(unstage)
3745 @[ -f ./automake/Makefile ] || exit 0; \
3746 r=`${PWD_COMMAND}`; export r; \
3747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3748 $(HOST_EXPORTS) \
3749 for flag in $(EXTRA_HOST_FLAGS) ; do \
3750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3751 done; \
3752 echo "Doing mostlyclean in automake" ; \
3753 (cd $(HOST_SUBDIR)/automake && \
3754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3756 "RANLIB=$${RANLIB}" \
3757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3758 mostlyclean) \
3759 || exit 1
3761 @endif automake
3763 .PHONY: maybe-clean-automake clean-automake
3764 maybe-clean-automake:
3765 @if automake
3766 maybe-clean-automake: clean-automake
3768 clean-automake:
3769 @: $(MAKE); $(unstage)
3770 @[ -f ./automake/Makefile ] || exit 0; \
3771 r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(HOST_EXPORTS) \
3774 for flag in $(EXTRA_HOST_FLAGS) ; do \
3775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3776 done; \
3777 echo "Doing clean in automake" ; \
3778 (cd $(HOST_SUBDIR)/automake && \
3779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3781 "RANLIB=$${RANLIB}" \
3782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3783 clean) \
3784 || exit 1
3786 @endif automake
3788 .PHONY: maybe-distclean-automake distclean-automake
3789 maybe-distclean-automake:
3790 @if automake
3791 maybe-distclean-automake: distclean-automake
3793 distclean-automake:
3794 @: $(MAKE); $(unstage)
3795 @[ -f ./automake/Makefile ] || exit 0; \
3796 r=`${PWD_COMMAND}`; export r; \
3797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3798 $(HOST_EXPORTS) \
3799 for flag in $(EXTRA_HOST_FLAGS) ; do \
3800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3801 done; \
3802 echo "Doing distclean in automake" ; \
3803 (cd $(HOST_SUBDIR)/automake && \
3804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3806 "RANLIB=$${RANLIB}" \
3807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3808 distclean) \
3809 || exit 1
3811 @endif automake
3813 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3814 maybe-maintainer-clean-automake:
3815 @if automake
3816 maybe-maintainer-clean-automake: maintainer-clean-automake
3818 maintainer-clean-automake:
3819 @: $(MAKE); $(unstage)
3820 @[ -f ./automake/Makefile ] || exit 0; \
3821 r=`${PWD_COMMAND}`; export r; \
3822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3823 $(HOST_EXPORTS) \
3824 for flag in $(EXTRA_HOST_FLAGS) ; do \
3825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3826 done; \
3827 echo "Doing maintainer-clean in automake" ; \
3828 (cd $(HOST_SUBDIR)/automake && \
3829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3831 "RANLIB=$${RANLIB}" \
3832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3833 maintainer-clean) \
3834 || exit 1
3836 @endif automake
3840 .PHONY: configure-bash maybe-configure-bash
3841 maybe-configure-bash:
3842 @if gcc-bootstrap
3843 configure-bash: stage_current
3844 @endif gcc-bootstrap
3845 @if bash
3846 maybe-configure-bash: configure-bash
3847 configure-bash:
3848 @: $(MAKE); $(unstage)
3849 @r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3853 $(HOST_EXPORTS) \
3854 echo Configuring in $(HOST_SUBDIR)/bash; \
3855 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3856 case $(srcdir) in \
3857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3858 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3860 esac; \
3861 srcdiroption="--srcdir=$${topdir}/bash"; \
3862 libsrcdir="$$s/bash"; \
3863 $(SHELL) $${libsrcdir}/configure \
3864 $(HOST_CONFIGARGS) $${srcdiroption} \
3865 || exit 1
3866 @endif bash
3872 .PHONY: all-bash maybe-all-bash
3873 maybe-all-bash:
3874 @if gcc-bootstrap
3875 all-bash: stage_current
3876 @endif gcc-bootstrap
3877 @if bash
3878 TARGET-bash=all
3879 maybe-all-bash: all-bash
3880 all-bash: configure-bash
3881 @: $(MAKE); $(unstage)
3882 @r=`${PWD_COMMAND}`; export r; \
3883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3884 $(HOST_EXPORTS) \
3885 (cd $(HOST_SUBDIR)/bash && \
3886 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3887 @endif bash
3892 .PHONY: check-bash maybe-check-bash
3893 maybe-check-bash:
3894 @if bash
3895 maybe-check-bash: check-bash
3897 check-bash:
3898 @: $(MAKE); $(unstage)
3899 @r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 $(HOST_EXPORTS) \
3902 (cd $(HOST_SUBDIR)/bash && \
3903 $(MAKE) $(FLAGS_TO_PASS) check)
3905 @endif bash
3907 .PHONY: install-bash maybe-install-bash
3908 maybe-install-bash:
3909 @if bash
3910 maybe-install-bash: install-bash
3912 install-bash: installdirs
3913 @: $(MAKE); $(unstage)
3914 @r=`${PWD_COMMAND}`; export r; \
3915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3916 $(HOST_EXPORTS) \
3917 (cd $(HOST_SUBDIR)/bash && \
3918 $(MAKE) $(FLAGS_TO_PASS) install)
3920 @endif bash
3922 # Other targets (info, dvi, etc.)
3924 .PHONY: maybe-info-bash info-bash
3925 maybe-info-bash:
3926 @if bash
3927 maybe-info-bash: info-bash
3929 info-bash: \
3930 configure-bash
3931 @: $(MAKE); $(unstage)
3932 @[ -f ./bash/Makefile ] || exit 0; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 $(HOST_EXPORTS) \
3936 for flag in $(EXTRA_HOST_FLAGS) ; do \
3937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3938 done; \
3939 echo "Doing info in bash" ; \
3940 (cd $(HOST_SUBDIR)/bash && \
3941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943 "RANLIB=$${RANLIB}" \
3944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3945 info) \
3946 || exit 1
3948 @endif bash
3950 .PHONY: maybe-dvi-bash dvi-bash
3951 maybe-dvi-bash:
3952 @if bash
3953 maybe-dvi-bash: dvi-bash
3955 dvi-bash: \
3956 configure-bash
3957 @: $(MAKE); $(unstage)
3958 @[ -f ./bash/Makefile ] || exit 0; \
3959 r=`${PWD_COMMAND}`; export r; \
3960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3961 $(HOST_EXPORTS) \
3962 for flag in $(EXTRA_HOST_FLAGS) ; do \
3963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3964 done; \
3965 echo "Doing dvi in bash" ; \
3966 (cd $(HOST_SUBDIR)/bash && \
3967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3969 "RANLIB=$${RANLIB}" \
3970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3971 dvi) \
3972 || exit 1
3974 @endif bash
3976 .PHONY: maybe-html-bash html-bash
3977 maybe-html-bash:
3978 @if bash
3979 maybe-html-bash: html-bash
3981 html-bash: \
3982 configure-bash
3983 @: $(MAKE); $(unstage)
3984 @[ -f ./bash/Makefile ] || exit 0; \
3985 r=`${PWD_COMMAND}`; export r; \
3986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3987 $(HOST_EXPORTS) \
3988 for flag in $(EXTRA_HOST_FLAGS) ; do \
3989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3990 done; \
3991 echo "Doing html in bash" ; \
3992 (cd $(HOST_SUBDIR)/bash && \
3993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3995 "RANLIB=$${RANLIB}" \
3996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3997 html) \
3998 || exit 1
4000 @endif bash
4002 .PHONY: maybe-TAGS-bash TAGS-bash
4003 maybe-TAGS-bash:
4004 @if bash
4005 maybe-TAGS-bash: TAGS-bash
4007 TAGS-bash: \
4008 configure-bash
4009 @: $(MAKE); $(unstage)
4010 @[ -f ./bash/Makefile ] || exit 0; \
4011 r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 $(HOST_EXPORTS) \
4014 for flag in $(EXTRA_HOST_FLAGS) ; do \
4015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4016 done; \
4017 echo "Doing TAGS in bash" ; \
4018 (cd $(HOST_SUBDIR)/bash && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4021 "RANLIB=$${RANLIB}" \
4022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4023 TAGS) \
4024 || exit 1
4026 @endif bash
4028 .PHONY: maybe-install-info-bash install-info-bash
4029 maybe-install-info-bash:
4030 @if bash
4031 maybe-install-info-bash: install-info-bash
4033 install-info-bash: \
4034 configure-bash \
4035 info-bash
4036 @: $(MAKE); $(unstage)
4037 @[ -f ./bash/Makefile ] || exit 0; \
4038 r=`${PWD_COMMAND}`; export r; \
4039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4040 $(HOST_EXPORTS) \
4041 for flag in $(EXTRA_HOST_FLAGS) ; do \
4042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4043 done; \
4044 echo "Doing install-info in bash" ; \
4045 (cd $(HOST_SUBDIR)/bash && \
4046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4048 "RANLIB=$${RANLIB}" \
4049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4050 install-info) \
4051 || exit 1
4053 @endif bash
4055 .PHONY: maybe-install-html-bash install-html-bash
4056 maybe-install-html-bash:
4057 @if bash
4058 maybe-install-html-bash: install-html-bash
4060 install-html-bash: \
4061 configure-bash \
4062 html-bash
4063 @: $(MAKE); $(unstage)
4064 @[ -f ./bash/Makefile ] || exit 0; \
4065 r=`${PWD_COMMAND}`; export r; \
4066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4067 $(HOST_EXPORTS) \
4068 for flag in $(EXTRA_HOST_FLAGS) ; do \
4069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4070 done; \
4071 echo "Doing install-html in bash" ; \
4072 (cd $(HOST_SUBDIR)/bash && \
4073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4075 "RANLIB=$${RANLIB}" \
4076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4077 install-html) \
4078 || exit 1
4080 @endif bash
4082 .PHONY: maybe-installcheck-bash installcheck-bash
4083 maybe-installcheck-bash:
4084 @if bash
4085 maybe-installcheck-bash: installcheck-bash
4087 installcheck-bash: \
4088 configure-bash
4089 @: $(MAKE); $(unstage)
4090 @[ -f ./bash/Makefile ] || exit 0; \
4091 r=`${PWD_COMMAND}`; export r; \
4092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4093 $(HOST_EXPORTS) \
4094 for flag in $(EXTRA_HOST_FLAGS) ; do \
4095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4096 done; \
4097 echo "Doing installcheck in bash" ; \
4098 (cd $(HOST_SUBDIR)/bash && \
4099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4101 "RANLIB=$${RANLIB}" \
4102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4103 installcheck) \
4104 || exit 1
4106 @endif bash
4108 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4109 maybe-mostlyclean-bash:
4110 @if bash
4111 maybe-mostlyclean-bash: mostlyclean-bash
4113 mostlyclean-bash:
4114 @: $(MAKE); $(unstage)
4115 @[ -f ./bash/Makefile ] || exit 0; \
4116 r=`${PWD_COMMAND}`; export r; \
4117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4118 $(HOST_EXPORTS) \
4119 for flag in $(EXTRA_HOST_FLAGS) ; do \
4120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4121 done; \
4122 echo "Doing mostlyclean in bash" ; \
4123 (cd $(HOST_SUBDIR)/bash && \
4124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4126 "RANLIB=$${RANLIB}" \
4127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4128 mostlyclean) \
4129 || exit 1
4131 @endif bash
4133 .PHONY: maybe-clean-bash clean-bash
4134 maybe-clean-bash:
4135 @if bash
4136 maybe-clean-bash: clean-bash
4138 clean-bash:
4139 @: $(MAKE); $(unstage)
4140 @[ -f ./bash/Makefile ] || exit 0; \
4141 r=`${PWD_COMMAND}`; export r; \
4142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4143 $(HOST_EXPORTS) \
4144 for flag in $(EXTRA_HOST_FLAGS) ; do \
4145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4146 done; \
4147 echo "Doing clean in bash" ; \
4148 (cd $(HOST_SUBDIR)/bash && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4151 "RANLIB=$${RANLIB}" \
4152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4153 clean) \
4154 || exit 1
4156 @endif bash
4158 .PHONY: maybe-distclean-bash distclean-bash
4159 maybe-distclean-bash:
4160 @if bash
4161 maybe-distclean-bash: distclean-bash
4163 distclean-bash:
4164 @: $(MAKE); $(unstage)
4165 @[ -f ./bash/Makefile ] || exit 0; \
4166 r=`${PWD_COMMAND}`; export r; \
4167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 $(HOST_EXPORTS) \
4169 for flag in $(EXTRA_HOST_FLAGS) ; do \
4170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4171 done; \
4172 echo "Doing distclean in bash" ; \
4173 (cd $(HOST_SUBDIR)/bash && \
4174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4176 "RANLIB=$${RANLIB}" \
4177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4178 distclean) \
4179 || exit 1
4181 @endif bash
4183 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4184 maybe-maintainer-clean-bash:
4185 @if bash
4186 maybe-maintainer-clean-bash: maintainer-clean-bash
4188 maintainer-clean-bash:
4189 @: $(MAKE); $(unstage)
4190 @[ -f ./bash/Makefile ] || exit 0; \
4191 r=`${PWD_COMMAND}`; export r; \
4192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4193 $(HOST_EXPORTS) \
4194 for flag in $(EXTRA_HOST_FLAGS) ; do \
4195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4196 done; \
4197 echo "Doing maintainer-clean in bash" ; \
4198 (cd $(HOST_SUBDIR)/bash && \
4199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4201 "RANLIB=$${RANLIB}" \
4202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4203 maintainer-clean) \
4204 || exit 1
4206 @endif bash
4210 .PHONY: configure-bfd maybe-configure-bfd
4211 maybe-configure-bfd:
4212 @if gcc-bootstrap
4213 configure-bfd: stage_current
4214 @endif gcc-bootstrap
4215 @if bfd
4216 maybe-configure-bfd: configure-bfd
4217 configure-bfd:
4218 @r=`${PWD_COMMAND}`; export r; \
4219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4220 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4222 $(HOST_EXPORTS) \
4223 echo Configuring in $(HOST_SUBDIR)/bfd; \
4224 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4225 case $(srcdir) in \
4226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4227 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4229 esac; \
4230 srcdiroption="--srcdir=$${topdir}/bfd"; \
4231 libsrcdir="$$s/bfd"; \
4232 $(SHELL) $${libsrcdir}/configure \
4233 $(HOST_CONFIGARGS) $${srcdiroption} \
4234 || exit 1
4235 @endif bfd
4239 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4240 maybe-configure-stage1-bfd:
4241 @if bfd-bootstrap
4242 maybe-configure-stage1-bfd: configure-stage1-bfd
4243 configure-stage1-bfd:
4244 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4246 @r=`${PWD_COMMAND}`; export r; \
4247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4248 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4249 $(HOST_EXPORTS) \
4250 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4252 cd $(HOST_SUBDIR)/bfd || exit 1; \
4253 case $(srcdir) in \
4254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4255 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4257 esac; \
4258 srcdiroption="--srcdir=$${topdir}/bfd"; \
4259 libsrcdir="$$s/bfd"; \
4260 $(SHELL) $${libsrcdir}/configure \
4261 $(HOST_CONFIGARGS) $${srcdiroption} \
4262 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4263 @endif bfd-bootstrap
4265 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4266 maybe-configure-stage2-bfd:
4267 @if bfd-bootstrap
4268 maybe-configure-stage2-bfd: configure-stage2-bfd
4269 configure-stage2-bfd:
4270 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4272 @r=`${PWD_COMMAND}`; export r; \
4273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4274 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4275 $(HOST_EXPORTS) \
4276 $(POSTSTAGE1_HOST_EXPORTS) \
4277 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4279 cd $(HOST_SUBDIR)/bfd || exit 1; \
4280 case $(srcdir) in \
4281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4282 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4284 esac; \
4285 srcdiroption="--srcdir=$${topdir}/bfd"; \
4286 libsrcdir="$$s/bfd"; \
4287 $(SHELL) $${libsrcdir}/configure \
4288 $(HOST_CONFIGARGS) $${srcdiroption} \
4289 @stage2_werror_flag@
4290 @endif bfd-bootstrap
4292 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4293 maybe-configure-stage3-bfd:
4294 @if bfd-bootstrap
4295 maybe-configure-stage3-bfd: configure-stage3-bfd
4296 configure-stage3-bfd:
4297 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4299 @r=`${PWD_COMMAND}`; export r; \
4300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4302 $(HOST_EXPORTS) \
4303 $(POSTSTAGE1_HOST_EXPORTS) \
4304 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4306 cd $(HOST_SUBDIR)/bfd || exit 1; \
4307 case $(srcdir) in \
4308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4309 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4311 esac; \
4312 srcdiroption="--srcdir=$${topdir}/bfd"; \
4313 libsrcdir="$$s/bfd"; \
4314 $(SHELL) $${libsrcdir}/configure \
4315 $(HOST_CONFIGARGS) $${srcdiroption} \
4316 @stage2_werror_flag@
4317 @endif bfd-bootstrap
4319 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4320 maybe-configure-stage4-bfd:
4321 @if bfd-bootstrap
4322 maybe-configure-stage4-bfd: configure-stage4-bfd
4323 configure-stage4-bfd:
4324 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4326 @r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4329 $(HOST_EXPORTS) \
4330 $(POSTSTAGE1_HOST_EXPORTS) \
4331 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4333 cd $(HOST_SUBDIR)/bfd || exit 1; \
4334 case $(srcdir) in \
4335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4336 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4338 esac; \
4339 srcdiroption="--srcdir=$${topdir}/bfd"; \
4340 libsrcdir="$$s/bfd"; \
4341 $(SHELL) $${libsrcdir}/configure \
4342 $(HOST_CONFIGARGS) $${srcdiroption} \
4343 @stage2_werror_flag@
4344 @endif bfd-bootstrap
4346 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4347 maybe-configure-stageprofile-bfd:
4348 @if bfd-bootstrap
4349 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4350 configure-stageprofile-bfd:
4351 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4352 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4353 @r=`${PWD_COMMAND}`; export r; \
4354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4355 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4356 $(HOST_EXPORTS) \
4357 $(POSTSTAGE1_HOST_EXPORTS) \
4358 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4360 cd $(HOST_SUBDIR)/bfd || exit 1; \
4361 case $(srcdir) in \
4362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4363 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4365 esac; \
4366 srcdiroption="--srcdir=$${topdir}/bfd"; \
4367 libsrcdir="$$s/bfd"; \
4368 $(SHELL) $${libsrcdir}/configure \
4369 $(HOST_CONFIGARGS) $${srcdiroption} \
4370 @stage2_werror_flag@
4371 @endif bfd-bootstrap
4373 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4374 maybe-configure-stagefeedback-bfd:
4375 @if bfd-bootstrap
4376 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4377 configure-stagefeedback-bfd:
4378 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4380 @r=`${PWD_COMMAND}`; export r; \
4381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4382 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4383 $(HOST_EXPORTS) \
4384 $(POSTSTAGE1_HOST_EXPORTS) \
4385 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4387 cd $(HOST_SUBDIR)/bfd || exit 1; \
4388 case $(srcdir) in \
4389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4390 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4392 esac; \
4393 srcdiroption="--srcdir=$${topdir}/bfd"; \
4394 libsrcdir="$$s/bfd"; \
4395 $(SHELL) $${libsrcdir}/configure \
4396 $(HOST_CONFIGARGS) $${srcdiroption} \
4397 @stage2_werror_flag@
4398 @endif bfd-bootstrap
4404 .PHONY: all-bfd maybe-all-bfd
4405 maybe-all-bfd:
4406 @if gcc-bootstrap
4407 all-bfd: stage_current
4408 @endif gcc-bootstrap
4409 @if bfd
4410 TARGET-bfd=all
4411 maybe-all-bfd: all-bfd
4412 all-bfd: configure-bfd
4413 @r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 $(HOST_EXPORTS) \
4416 (cd $(HOST_SUBDIR)/bfd && \
4417 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4418 @endif bfd
4422 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4423 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4424 maybe-all-stage1-bfd:
4425 maybe-clean-stage1-bfd:
4426 @if bfd-bootstrap
4427 maybe-all-stage1-bfd: all-stage1-bfd
4428 all-stage1: all-stage1-bfd
4429 TARGET-stage1-bfd = $(TARGET-bfd)
4430 all-stage1-bfd: configure-stage1-bfd
4431 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4432 @r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434 $(HOST_EXPORTS) \
4435 cd $(HOST_SUBDIR)/bfd && \
4436 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4437 $(TARGET-stage1-bfd)
4439 maybe-clean-stage1-bfd: clean-stage1-bfd
4440 clean-stage1: clean-stage1-bfd
4441 clean-stage1-bfd:
4442 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4443 || exit 0 ; \
4444 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4445 cd $(HOST_SUBDIR)/bfd && \
4446 $(MAKE) $(FLAGS_TO_PASS) \
4447 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4448 @endif bfd-bootstrap
4451 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4452 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4453 maybe-all-stage2-bfd:
4454 maybe-clean-stage2-bfd:
4455 @if bfd-bootstrap
4456 maybe-all-stage2-bfd: all-stage2-bfd
4457 all-stage2: all-stage2-bfd
4458 TARGET-stage2-bfd = $(TARGET-bfd)
4459 all-stage2-bfd: configure-stage2-bfd
4460 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4461 @r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 $(HOST_EXPORTS) \
4464 $(POSTSTAGE1_HOST_EXPORTS) \
4465 cd $(HOST_SUBDIR)/bfd && \
4466 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4467 $(TARGET-stage2-bfd)
4469 maybe-clean-stage2-bfd: clean-stage2-bfd
4470 clean-stage2: clean-stage2-bfd
4471 clean-stage2-bfd:
4472 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4473 || exit 0 ; \
4474 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4475 cd $(HOST_SUBDIR)/bfd && \
4476 $(MAKE) $(FLAGS_TO_PASS) \
4477 $(POSTSTAGE1_FLAGS_TO_PASS) \
4478 clean
4479 @endif bfd-bootstrap
4482 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4483 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4484 maybe-all-stage3-bfd:
4485 maybe-clean-stage3-bfd:
4486 @if bfd-bootstrap
4487 maybe-all-stage3-bfd: all-stage3-bfd
4488 all-stage3: all-stage3-bfd
4489 TARGET-stage3-bfd = $(TARGET-bfd)
4490 all-stage3-bfd: configure-stage3-bfd
4491 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4492 @r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(HOST_EXPORTS) \
4495 $(POSTSTAGE1_HOST_EXPORTS) \
4496 cd $(HOST_SUBDIR)/bfd && \
4497 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4498 $(TARGET-stage3-bfd)
4500 maybe-clean-stage3-bfd: clean-stage3-bfd
4501 clean-stage3: clean-stage3-bfd
4502 clean-stage3-bfd:
4503 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4504 || exit 0 ; \
4505 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4506 cd $(HOST_SUBDIR)/bfd && \
4507 $(MAKE) $(FLAGS_TO_PASS) \
4508 $(POSTSTAGE1_FLAGS_TO_PASS) \
4509 clean
4510 @endif bfd-bootstrap
4513 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4514 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4515 maybe-all-stage4-bfd:
4516 maybe-clean-stage4-bfd:
4517 @if bfd-bootstrap
4518 maybe-all-stage4-bfd: all-stage4-bfd
4519 all-stage4: all-stage4-bfd
4520 TARGET-stage4-bfd = $(TARGET-bfd)
4521 all-stage4-bfd: configure-stage4-bfd
4522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4523 @r=`${PWD_COMMAND}`; export r; \
4524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4525 $(HOST_EXPORTS) \
4526 $(POSTSTAGE1_HOST_EXPORTS) \
4527 cd $(HOST_SUBDIR)/bfd && \
4528 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4529 $(TARGET-stage4-bfd)
4531 maybe-clean-stage4-bfd: clean-stage4-bfd
4532 clean-stage4: clean-stage4-bfd
4533 clean-stage4-bfd:
4534 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4535 || exit 0 ; \
4536 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4537 cd $(HOST_SUBDIR)/bfd && \
4538 $(MAKE) $(FLAGS_TO_PASS) \
4539 $(POSTSTAGE1_FLAGS_TO_PASS) \
4540 clean
4541 @endif bfd-bootstrap
4544 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4545 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4546 maybe-all-stageprofile-bfd:
4547 maybe-clean-stageprofile-bfd:
4548 @if bfd-bootstrap
4549 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4550 all-stageprofile: all-stageprofile-bfd
4551 TARGET-stageprofile-bfd = $(TARGET-bfd)
4552 all-stageprofile-bfd: configure-stageprofile-bfd
4553 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4554 @r=`${PWD_COMMAND}`; export r; \
4555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4556 $(HOST_EXPORTS) \
4557 $(POSTSTAGE1_HOST_EXPORTS) \
4558 cd $(HOST_SUBDIR)/bfd && \
4559 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4560 $(TARGET-stageprofile-bfd)
4562 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4563 clean-stageprofile: clean-stageprofile-bfd
4564 clean-stageprofile-bfd:
4565 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4566 || exit 0 ; \
4567 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4568 cd $(HOST_SUBDIR)/bfd && \
4569 $(MAKE) $(FLAGS_TO_PASS) \
4570 $(POSTSTAGE1_FLAGS_TO_PASS) \
4571 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4572 @endif bfd-bootstrap
4575 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4576 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4577 maybe-all-stagefeedback-bfd:
4578 maybe-clean-stagefeedback-bfd:
4579 @if bfd-bootstrap
4580 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4581 all-stagefeedback: all-stagefeedback-bfd
4582 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4583 all-stagefeedback-bfd: configure-stagefeedback-bfd
4584 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4585 @r=`${PWD_COMMAND}`; export r; \
4586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4587 $(HOST_EXPORTS) \
4588 $(POSTSTAGE1_HOST_EXPORTS) \
4589 cd $(HOST_SUBDIR)/bfd && \
4590 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4591 $(TARGET-stagefeedback-bfd)
4593 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4594 clean-stagefeedback: clean-stagefeedback-bfd
4595 clean-stagefeedback-bfd:
4596 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4597 || exit 0 ; \
4598 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4599 cd $(HOST_SUBDIR)/bfd && \
4600 $(MAKE) $(FLAGS_TO_PASS) \
4601 $(POSTSTAGE1_FLAGS_TO_PASS) \
4602 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4603 @endif bfd-bootstrap
4609 .PHONY: check-bfd maybe-check-bfd
4610 maybe-check-bfd:
4611 @if bfd
4612 maybe-check-bfd: check-bfd
4614 check-bfd:
4615 @: $(MAKE); $(unstage)
4616 @r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 $(HOST_EXPORTS) \
4619 (cd $(HOST_SUBDIR)/bfd && \
4620 $(MAKE) $(FLAGS_TO_PASS) check)
4622 @endif bfd
4624 .PHONY: install-bfd maybe-install-bfd
4625 maybe-install-bfd:
4626 @if bfd
4627 maybe-install-bfd: install-bfd
4629 install-bfd: installdirs
4630 @: $(MAKE); $(unstage)
4631 @r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 $(HOST_EXPORTS) \
4634 (cd $(HOST_SUBDIR)/bfd && \
4635 $(MAKE) $(FLAGS_TO_PASS) install)
4637 @endif bfd
4639 # Other targets (info, dvi, etc.)
4641 .PHONY: maybe-info-bfd info-bfd
4642 maybe-info-bfd:
4643 @if bfd
4644 maybe-info-bfd: info-bfd
4646 info-bfd: \
4647 configure-bfd
4648 @[ -f ./bfd/Makefile ] || exit 0; \
4649 r=`${PWD_COMMAND}`; export r; \
4650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4651 $(HOST_EXPORTS) \
4652 for flag in $(EXTRA_HOST_FLAGS) ; do \
4653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4654 done; \
4655 echo "Doing info in bfd" ; \
4656 (cd $(HOST_SUBDIR)/bfd && \
4657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4659 "RANLIB=$${RANLIB}" \
4660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4661 info) \
4662 || exit 1
4664 @endif bfd
4666 .PHONY: maybe-dvi-bfd dvi-bfd
4667 maybe-dvi-bfd:
4668 @if bfd
4669 maybe-dvi-bfd: dvi-bfd
4671 dvi-bfd: \
4672 configure-bfd
4673 @[ -f ./bfd/Makefile ] || exit 0; \
4674 r=`${PWD_COMMAND}`; export r; \
4675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 $(HOST_EXPORTS) \
4677 for flag in $(EXTRA_HOST_FLAGS) ; do \
4678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4679 done; \
4680 echo "Doing dvi in bfd" ; \
4681 (cd $(HOST_SUBDIR)/bfd && \
4682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4684 "RANLIB=$${RANLIB}" \
4685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4686 dvi) \
4687 || exit 1
4689 @endif bfd
4691 .PHONY: maybe-html-bfd html-bfd
4692 maybe-html-bfd:
4693 @if bfd
4694 maybe-html-bfd: html-bfd
4696 html-bfd: \
4697 configure-bfd
4698 @[ -f ./bfd/Makefile ] || exit 0; \
4699 r=`${PWD_COMMAND}`; export r; \
4700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4701 $(HOST_EXPORTS) \
4702 for flag in $(EXTRA_HOST_FLAGS) ; do \
4703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4704 done; \
4705 echo "Doing html in bfd" ; \
4706 (cd $(HOST_SUBDIR)/bfd && \
4707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4709 "RANLIB=$${RANLIB}" \
4710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4711 html) \
4712 || exit 1
4714 @endif bfd
4716 .PHONY: maybe-TAGS-bfd TAGS-bfd
4717 maybe-TAGS-bfd:
4718 @if bfd
4719 maybe-TAGS-bfd: TAGS-bfd
4721 TAGS-bfd: \
4722 configure-bfd
4723 @[ -f ./bfd/Makefile ] || exit 0; \
4724 r=`${PWD_COMMAND}`; export r; \
4725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4726 $(HOST_EXPORTS) \
4727 for flag in $(EXTRA_HOST_FLAGS) ; do \
4728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4729 done; \
4730 echo "Doing TAGS in bfd" ; \
4731 (cd $(HOST_SUBDIR)/bfd && \
4732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4734 "RANLIB=$${RANLIB}" \
4735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4736 TAGS) \
4737 || exit 1
4739 @endif bfd
4741 .PHONY: maybe-install-info-bfd install-info-bfd
4742 maybe-install-info-bfd:
4743 @if bfd
4744 maybe-install-info-bfd: install-info-bfd
4746 install-info-bfd: \
4747 configure-bfd \
4748 info-bfd
4749 @[ -f ./bfd/Makefile ] || exit 0; \
4750 r=`${PWD_COMMAND}`; export r; \
4751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4752 $(HOST_EXPORTS) \
4753 for flag in $(EXTRA_HOST_FLAGS) ; do \
4754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4755 done; \
4756 echo "Doing install-info in bfd" ; \
4757 (cd $(HOST_SUBDIR)/bfd && \
4758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4760 "RANLIB=$${RANLIB}" \
4761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4762 install-info) \
4763 || exit 1
4765 @endif bfd
4767 .PHONY: maybe-install-html-bfd install-html-bfd
4768 maybe-install-html-bfd:
4769 @if bfd
4770 maybe-install-html-bfd: install-html-bfd
4772 install-html-bfd: \
4773 configure-bfd \
4774 html-bfd
4775 @[ -f ./bfd/Makefile ] || exit 0; \
4776 r=`${PWD_COMMAND}`; export r; \
4777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4778 $(HOST_EXPORTS) \
4779 for flag in $(EXTRA_HOST_FLAGS) ; do \
4780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4781 done; \
4782 echo "Doing install-html in bfd" ; \
4783 (cd $(HOST_SUBDIR)/bfd && \
4784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4786 "RANLIB=$${RANLIB}" \
4787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4788 install-html) \
4789 || exit 1
4791 @endif bfd
4793 .PHONY: maybe-installcheck-bfd installcheck-bfd
4794 maybe-installcheck-bfd:
4795 @if bfd
4796 maybe-installcheck-bfd: installcheck-bfd
4798 installcheck-bfd: \
4799 configure-bfd
4800 @[ -f ./bfd/Makefile ] || exit 0; \
4801 r=`${PWD_COMMAND}`; export r; \
4802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4803 $(HOST_EXPORTS) \
4804 for flag in $(EXTRA_HOST_FLAGS) ; do \
4805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4806 done; \
4807 echo "Doing installcheck in bfd" ; \
4808 (cd $(HOST_SUBDIR)/bfd && \
4809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4811 "RANLIB=$${RANLIB}" \
4812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4813 installcheck) \
4814 || exit 1
4816 @endif bfd
4818 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4819 maybe-mostlyclean-bfd:
4820 @if bfd
4821 maybe-mostlyclean-bfd: mostlyclean-bfd
4823 mostlyclean-bfd:
4824 @[ -f ./bfd/Makefile ] || exit 0; \
4825 r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 $(HOST_EXPORTS) \
4828 for flag in $(EXTRA_HOST_FLAGS) ; do \
4829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4830 done; \
4831 echo "Doing mostlyclean in bfd" ; \
4832 (cd $(HOST_SUBDIR)/bfd && \
4833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4835 "RANLIB=$${RANLIB}" \
4836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4837 mostlyclean) \
4838 || exit 1
4840 @endif bfd
4842 .PHONY: maybe-clean-bfd clean-bfd
4843 maybe-clean-bfd:
4844 @if bfd
4845 maybe-clean-bfd: clean-bfd
4847 clean-bfd:
4848 @[ -f ./bfd/Makefile ] || exit 0; \
4849 r=`${PWD_COMMAND}`; export r; \
4850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4851 $(HOST_EXPORTS) \
4852 for flag in $(EXTRA_HOST_FLAGS) ; do \
4853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4854 done; \
4855 echo "Doing clean in bfd" ; \
4856 (cd $(HOST_SUBDIR)/bfd && \
4857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4859 "RANLIB=$${RANLIB}" \
4860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4861 clean) \
4862 || exit 1
4864 @endif bfd
4866 .PHONY: maybe-distclean-bfd distclean-bfd
4867 maybe-distclean-bfd:
4868 @if bfd
4869 maybe-distclean-bfd: distclean-bfd
4871 distclean-bfd:
4872 @[ -f ./bfd/Makefile ] || exit 0; \
4873 r=`${PWD_COMMAND}`; export r; \
4874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4875 $(HOST_EXPORTS) \
4876 for flag in $(EXTRA_HOST_FLAGS) ; do \
4877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4878 done; \
4879 echo "Doing distclean in bfd" ; \
4880 (cd $(HOST_SUBDIR)/bfd && \
4881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4883 "RANLIB=$${RANLIB}" \
4884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4885 distclean) \
4886 || exit 1
4888 @endif bfd
4890 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4891 maybe-maintainer-clean-bfd:
4892 @if bfd
4893 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4895 maintainer-clean-bfd:
4896 @[ -f ./bfd/Makefile ] || exit 0; \
4897 r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 $(HOST_EXPORTS) \
4900 for flag in $(EXTRA_HOST_FLAGS) ; do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4902 done; \
4903 echo "Doing maintainer-clean in bfd" ; \
4904 (cd $(HOST_SUBDIR)/bfd && \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 maintainer-clean) \
4910 || exit 1
4912 @endif bfd
4916 .PHONY: configure-opcodes maybe-configure-opcodes
4917 maybe-configure-opcodes:
4918 @if gcc-bootstrap
4919 configure-opcodes: stage_current
4920 @endif gcc-bootstrap
4921 @if opcodes
4922 maybe-configure-opcodes: configure-opcodes
4923 configure-opcodes:
4924 @r=`${PWD_COMMAND}`; export r; \
4925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4926 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4928 $(HOST_EXPORTS) \
4929 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4930 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4931 case $(srcdir) in \
4932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4933 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4935 esac; \
4936 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4937 libsrcdir="$$s/opcodes"; \
4938 $(SHELL) $${libsrcdir}/configure \
4939 $(HOST_CONFIGARGS) $${srcdiroption} \
4940 || exit 1
4941 @endif opcodes
4945 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4946 maybe-configure-stage1-opcodes:
4947 @if opcodes-bootstrap
4948 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4949 configure-stage1-opcodes:
4950 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4952 @r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4954 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4955 $(HOST_EXPORTS) \
4956 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4958 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4959 case $(srcdir) in \
4960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4961 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4963 esac; \
4964 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4965 libsrcdir="$$s/opcodes"; \
4966 $(SHELL) $${libsrcdir}/configure \
4967 $(HOST_CONFIGARGS) $${srcdiroption} \
4968 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4969 @endif opcodes-bootstrap
4971 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4972 maybe-configure-stage2-opcodes:
4973 @if opcodes-bootstrap
4974 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4975 configure-stage2-opcodes:
4976 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4978 @r=`${PWD_COMMAND}`; export r; \
4979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4980 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4981 $(HOST_EXPORTS) \
4982 $(POSTSTAGE1_HOST_EXPORTS) \
4983 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4985 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4986 case $(srcdir) in \
4987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4988 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4990 esac; \
4991 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4992 libsrcdir="$$s/opcodes"; \
4993 $(SHELL) $${libsrcdir}/configure \
4994 $(HOST_CONFIGARGS) $${srcdiroption} \
4995 @stage2_werror_flag@
4996 @endif opcodes-bootstrap
4998 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4999 maybe-configure-stage3-opcodes:
5000 @if opcodes-bootstrap
5001 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5002 configure-stage3-opcodes:
5003 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5005 @r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5008 $(HOST_EXPORTS) \
5009 $(POSTSTAGE1_HOST_EXPORTS) \
5010 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5012 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5013 case $(srcdir) in \
5014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5015 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5017 esac; \
5018 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5019 libsrcdir="$$s/opcodes"; \
5020 $(SHELL) $${libsrcdir}/configure \
5021 $(HOST_CONFIGARGS) $${srcdiroption} \
5022 @stage2_werror_flag@
5023 @endif opcodes-bootstrap
5025 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5026 maybe-configure-stage4-opcodes:
5027 @if opcodes-bootstrap
5028 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5029 configure-stage4-opcodes:
5030 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5032 @r=`${PWD_COMMAND}`; export r; \
5033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5034 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5035 $(HOST_EXPORTS) \
5036 $(POSTSTAGE1_HOST_EXPORTS) \
5037 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5039 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5040 case $(srcdir) in \
5041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5042 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5044 esac; \
5045 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5046 libsrcdir="$$s/opcodes"; \
5047 $(SHELL) $${libsrcdir}/configure \
5048 $(HOST_CONFIGARGS) $${srcdiroption} \
5049 @stage2_werror_flag@
5050 @endif opcodes-bootstrap
5052 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5053 maybe-configure-stageprofile-opcodes:
5054 @if opcodes-bootstrap
5055 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5056 configure-stageprofile-opcodes:
5057 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5059 @r=`${PWD_COMMAND}`; export r; \
5060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5061 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5062 $(HOST_EXPORTS) \
5063 $(POSTSTAGE1_HOST_EXPORTS) \
5064 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5066 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5067 case $(srcdir) in \
5068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5069 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5071 esac; \
5072 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5073 libsrcdir="$$s/opcodes"; \
5074 $(SHELL) $${libsrcdir}/configure \
5075 $(HOST_CONFIGARGS) $${srcdiroption} \
5076 @stage2_werror_flag@
5077 @endif opcodes-bootstrap
5079 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5080 maybe-configure-stagefeedback-opcodes:
5081 @if opcodes-bootstrap
5082 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5083 configure-stagefeedback-opcodes:
5084 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5086 @r=`${PWD_COMMAND}`; export r; \
5087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5088 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5089 $(HOST_EXPORTS) \
5090 $(POSTSTAGE1_HOST_EXPORTS) \
5091 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5093 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5094 case $(srcdir) in \
5095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5096 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5098 esac; \
5099 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5100 libsrcdir="$$s/opcodes"; \
5101 $(SHELL) $${libsrcdir}/configure \
5102 $(HOST_CONFIGARGS) $${srcdiroption} \
5103 @stage2_werror_flag@
5104 @endif opcodes-bootstrap
5110 .PHONY: all-opcodes maybe-all-opcodes
5111 maybe-all-opcodes:
5112 @if gcc-bootstrap
5113 all-opcodes: stage_current
5114 @endif gcc-bootstrap
5115 @if opcodes
5116 TARGET-opcodes=all
5117 maybe-all-opcodes: all-opcodes
5118 all-opcodes: configure-opcodes
5119 @r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 $(HOST_EXPORTS) \
5122 (cd $(HOST_SUBDIR)/opcodes && \
5123 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5124 @endif opcodes
5128 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5129 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5130 maybe-all-stage1-opcodes:
5131 maybe-clean-stage1-opcodes:
5132 @if opcodes-bootstrap
5133 maybe-all-stage1-opcodes: all-stage1-opcodes
5134 all-stage1: all-stage1-opcodes
5135 TARGET-stage1-opcodes = $(TARGET-opcodes)
5136 all-stage1-opcodes: configure-stage1-opcodes
5137 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5138 @r=`${PWD_COMMAND}`; export r; \
5139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5140 $(HOST_EXPORTS) \
5141 cd $(HOST_SUBDIR)/opcodes && \
5142 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5143 $(TARGET-stage1-opcodes)
5145 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5146 clean-stage1: clean-stage1-opcodes
5147 clean-stage1-opcodes:
5148 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5149 || exit 0 ; \
5150 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5151 cd $(HOST_SUBDIR)/opcodes && \
5152 $(MAKE) $(FLAGS_TO_PASS) \
5153 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5154 @endif opcodes-bootstrap
5157 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5158 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5159 maybe-all-stage2-opcodes:
5160 maybe-clean-stage2-opcodes:
5161 @if opcodes-bootstrap
5162 maybe-all-stage2-opcodes: all-stage2-opcodes
5163 all-stage2: all-stage2-opcodes
5164 TARGET-stage2-opcodes = $(TARGET-opcodes)
5165 all-stage2-opcodes: configure-stage2-opcodes
5166 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5167 @r=`${PWD_COMMAND}`; export r; \
5168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5169 $(HOST_EXPORTS) \
5170 $(POSTSTAGE1_HOST_EXPORTS) \
5171 cd $(HOST_SUBDIR)/opcodes && \
5172 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5173 $(TARGET-stage2-opcodes)
5175 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5176 clean-stage2: clean-stage2-opcodes
5177 clean-stage2-opcodes:
5178 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5179 || exit 0 ; \
5180 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5181 cd $(HOST_SUBDIR)/opcodes && \
5182 $(MAKE) $(FLAGS_TO_PASS) \
5183 $(POSTSTAGE1_FLAGS_TO_PASS) \
5184 clean
5185 @endif opcodes-bootstrap
5188 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5189 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5190 maybe-all-stage3-opcodes:
5191 maybe-clean-stage3-opcodes:
5192 @if opcodes-bootstrap
5193 maybe-all-stage3-opcodes: all-stage3-opcodes
5194 all-stage3: all-stage3-opcodes
5195 TARGET-stage3-opcodes = $(TARGET-opcodes)
5196 all-stage3-opcodes: configure-stage3-opcodes
5197 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5198 @r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 $(POSTSTAGE1_HOST_EXPORTS) \
5202 cd $(HOST_SUBDIR)/opcodes && \
5203 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5204 $(TARGET-stage3-opcodes)
5206 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5207 clean-stage3: clean-stage3-opcodes
5208 clean-stage3-opcodes:
5209 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5210 || exit 0 ; \
5211 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5212 cd $(HOST_SUBDIR)/opcodes && \
5213 $(MAKE) $(FLAGS_TO_PASS) \
5214 $(POSTSTAGE1_FLAGS_TO_PASS) \
5215 clean
5216 @endif opcodes-bootstrap
5219 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5220 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5221 maybe-all-stage4-opcodes:
5222 maybe-clean-stage4-opcodes:
5223 @if opcodes-bootstrap
5224 maybe-all-stage4-opcodes: all-stage4-opcodes
5225 all-stage4: all-stage4-opcodes
5226 TARGET-stage4-opcodes = $(TARGET-opcodes)
5227 all-stage4-opcodes: configure-stage4-opcodes
5228 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5229 @r=`${PWD_COMMAND}`; export r; \
5230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5231 $(HOST_EXPORTS) \
5232 $(POSTSTAGE1_HOST_EXPORTS) \
5233 cd $(HOST_SUBDIR)/opcodes && \
5234 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5235 $(TARGET-stage4-opcodes)
5237 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5238 clean-stage4: clean-stage4-opcodes
5239 clean-stage4-opcodes:
5240 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5241 || exit 0 ; \
5242 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5243 cd $(HOST_SUBDIR)/opcodes && \
5244 $(MAKE) $(FLAGS_TO_PASS) \
5245 $(POSTSTAGE1_FLAGS_TO_PASS) \
5246 clean
5247 @endif opcodes-bootstrap
5250 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5251 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5252 maybe-all-stageprofile-opcodes:
5253 maybe-clean-stageprofile-opcodes:
5254 @if opcodes-bootstrap
5255 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5256 all-stageprofile: all-stageprofile-opcodes
5257 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5258 all-stageprofile-opcodes: configure-stageprofile-opcodes
5259 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5260 @r=`${PWD_COMMAND}`; export r; \
5261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 $(HOST_EXPORTS) \
5263 $(POSTSTAGE1_HOST_EXPORTS) \
5264 cd $(HOST_SUBDIR)/opcodes && \
5265 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5266 $(TARGET-stageprofile-opcodes)
5268 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5269 clean-stageprofile: clean-stageprofile-opcodes
5270 clean-stageprofile-opcodes:
5271 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5272 || exit 0 ; \
5273 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5274 cd $(HOST_SUBDIR)/opcodes && \
5275 $(MAKE) $(FLAGS_TO_PASS) \
5276 $(POSTSTAGE1_FLAGS_TO_PASS) \
5277 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5278 @endif opcodes-bootstrap
5281 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5282 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5283 maybe-all-stagefeedback-opcodes:
5284 maybe-clean-stagefeedback-opcodes:
5285 @if opcodes-bootstrap
5286 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5287 all-stagefeedback: all-stagefeedback-opcodes
5288 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5289 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5291 @r=`${PWD_COMMAND}`; export r; \
5292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5293 $(HOST_EXPORTS) \
5294 $(POSTSTAGE1_HOST_EXPORTS) \
5295 cd $(HOST_SUBDIR)/opcodes && \
5296 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5297 $(TARGET-stagefeedback-opcodes)
5299 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5300 clean-stagefeedback: clean-stagefeedback-opcodes
5301 clean-stagefeedback-opcodes:
5302 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5303 || exit 0 ; \
5304 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5305 cd $(HOST_SUBDIR)/opcodes && \
5306 $(MAKE) $(FLAGS_TO_PASS) \
5307 $(POSTSTAGE1_FLAGS_TO_PASS) \
5308 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5309 @endif opcodes-bootstrap
5315 .PHONY: check-opcodes maybe-check-opcodes
5316 maybe-check-opcodes:
5317 @if opcodes
5318 maybe-check-opcodes: check-opcodes
5320 check-opcodes:
5321 @: $(MAKE); $(unstage)
5322 @r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 $(HOST_EXPORTS) \
5325 (cd $(HOST_SUBDIR)/opcodes && \
5326 $(MAKE) $(FLAGS_TO_PASS) check)
5328 @endif opcodes
5330 .PHONY: install-opcodes maybe-install-opcodes
5331 maybe-install-opcodes:
5332 @if opcodes
5333 maybe-install-opcodes: install-opcodes
5335 install-opcodes: installdirs
5336 @: $(MAKE); $(unstage)
5337 @r=`${PWD_COMMAND}`; export r; \
5338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5339 $(HOST_EXPORTS) \
5340 (cd $(HOST_SUBDIR)/opcodes && \
5341 $(MAKE) $(FLAGS_TO_PASS) install)
5343 @endif opcodes
5345 # Other targets (info, dvi, etc.)
5347 .PHONY: maybe-info-opcodes info-opcodes
5348 maybe-info-opcodes:
5349 @if opcodes
5350 maybe-info-opcodes: info-opcodes
5352 info-opcodes: \
5353 configure-opcodes
5354 @[ -f ./opcodes/Makefile ] || exit 0; \
5355 r=`${PWD_COMMAND}`; export r; \
5356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5357 $(HOST_EXPORTS) \
5358 for flag in $(EXTRA_HOST_FLAGS) ; do \
5359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5360 done; \
5361 echo "Doing info in opcodes" ; \
5362 (cd $(HOST_SUBDIR)/opcodes && \
5363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5365 "RANLIB=$${RANLIB}" \
5366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5367 info) \
5368 || exit 1
5370 @endif opcodes
5372 .PHONY: maybe-dvi-opcodes dvi-opcodes
5373 maybe-dvi-opcodes:
5374 @if opcodes
5375 maybe-dvi-opcodes: dvi-opcodes
5377 dvi-opcodes: \
5378 configure-opcodes
5379 @[ -f ./opcodes/Makefile ] || exit 0; \
5380 r=`${PWD_COMMAND}`; export r; \
5381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5382 $(HOST_EXPORTS) \
5383 for flag in $(EXTRA_HOST_FLAGS) ; do \
5384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5385 done; \
5386 echo "Doing dvi in opcodes" ; \
5387 (cd $(HOST_SUBDIR)/opcodes && \
5388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5390 "RANLIB=$${RANLIB}" \
5391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5392 dvi) \
5393 || exit 1
5395 @endif opcodes
5397 .PHONY: maybe-html-opcodes html-opcodes
5398 maybe-html-opcodes:
5399 @if opcodes
5400 maybe-html-opcodes: html-opcodes
5402 html-opcodes: \
5403 configure-opcodes
5404 @[ -f ./opcodes/Makefile ] || exit 0; \
5405 r=`${PWD_COMMAND}`; export r; \
5406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5407 $(HOST_EXPORTS) \
5408 for flag in $(EXTRA_HOST_FLAGS) ; do \
5409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5410 done; \
5411 echo "Doing html in opcodes" ; \
5412 (cd $(HOST_SUBDIR)/opcodes && \
5413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5415 "RANLIB=$${RANLIB}" \
5416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5417 html) \
5418 || exit 1
5420 @endif opcodes
5422 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5423 maybe-TAGS-opcodes:
5424 @if opcodes
5425 maybe-TAGS-opcodes: TAGS-opcodes
5427 TAGS-opcodes: \
5428 configure-opcodes
5429 @[ -f ./opcodes/Makefile ] || exit 0; \
5430 r=`${PWD_COMMAND}`; export r; \
5431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5432 $(HOST_EXPORTS) \
5433 for flag in $(EXTRA_HOST_FLAGS) ; do \
5434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5435 done; \
5436 echo "Doing TAGS in opcodes" ; \
5437 (cd $(HOST_SUBDIR)/opcodes && \
5438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5440 "RANLIB=$${RANLIB}" \
5441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5442 TAGS) \
5443 || exit 1
5445 @endif opcodes
5447 .PHONY: maybe-install-info-opcodes install-info-opcodes
5448 maybe-install-info-opcodes:
5449 @if opcodes
5450 maybe-install-info-opcodes: install-info-opcodes
5452 install-info-opcodes: \
5453 configure-opcodes \
5454 info-opcodes
5455 @[ -f ./opcodes/Makefile ] || exit 0; \
5456 r=`${PWD_COMMAND}`; export r; \
5457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5458 $(HOST_EXPORTS) \
5459 for flag in $(EXTRA_HOST_FLAGS) ; do \
5460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5461 done; \
5462 echo "Doing install-info in opcodes" ; \
5463 (cd $(HOST_SUBDIR)/opcodes && \
5464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5466 "RANLIB=$${RANLIB}" \
5467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5468 install-info) \
5469 || exit 1
5471 @endif opcodes
5473 .PHONY: maybe-install-html-opcodes install-html-opcodes
5474 maybe-install-html-opcodes:
5475 @if opcodes
5476 maybe-install-html-opcodes: install-html-opcodes
5478 install-html-opcodes: \
5479 configure-opcodes \
5480 html-opcodes
5481 @[ -f ./opcodes/Makefile ] || exit 0; \
5482 r=`${PWD_COMMAND}`; export r; \
5483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5484 $(HOST_EXPORTS) \
5485 for flag in $(EXTRA_HOST_FLAGS) ; do \
5486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5487 done; \
5488 echo "Doing install-html in opcodes" ; \
5489 (cd $(HOST_SUBDIR)/opcodes && \
5490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5492 "RANLIB=$${RANLIB}" \
5493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5494 install-html) \
5495 || exit 1
5497 @endif opcodes
5499 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5500 maybe-installcheck-opcodes:
5501 @if opcodes
5502 maybe-installcheck-opcodes: installcheck-opcodes
5504 installcheck-opcodes: \
5505 configure-opcodes
5506 @[ -f ./opcodes/Makefile ] || exit 0; \
5507 r=`${PWD_COMMAND}`; export r; \
5508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5509 $(HOST_EXPORTS) \
5510 for flag in $(EXTRA_HOST_FLAGS) ; do \
5511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5512 done; \
5513 echo "Doing installcheck in opcodes" ; \
5514 (cd $(HOST_SUBDIR)/opcodes && \
5515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5517 "RANLIB=$${RANLIB}" \
5518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5519 installcheck) \
5520 || exit 1
5522 @endif opcodes
5524 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5525 maybe-mostlyclean-opcodes:
5526 @if opcodes
5527 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5529 mostlyclean-opcodes:
5530 @[ -f ./opcodes/Makefile ] || exit 0; \
5531 r=`${PWD_COMMAND}`; export r; \
5532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5533 $(HOST_EXPORTS) \
5534 for flag in $(EXTRA_HOST_FLAGS) ; do \
5535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5536 done; \
5537 echo "Doing mostlyclean in opcodes" ; \
5538 (cd $(HOST_SUBDIR)/opcodes && \
5539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5541 "RANLIB=$${RANLIB}" \
5542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5543 mostlyclean) \
5544 || exit 1
5546 @endif opcodes
5548 .PHONY: maybe-clean-opcodes clean-opcodes
5549 maybe-clean-opcodes:
5550 @if opcodes
5551 maybe-clean-opcodes: clean-opcodes
5553 clean-opcodes:
5554 @[ -f ./opcodes/Makefile ] || exit 0; \
5555 r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5557 $(HOST_EXPORTS) \
5558 for flag in $(EXTRA_HOST_FLAGS) ; do \
5559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5560 done; \
5561 echo "Doing clean in opcodes" ; \
5562 (cd $(HOST_SUBDIR)/opcodes && \
5563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5565 "RANLIB=$${RANLIB}" \
5566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5567 clean) \
5568 || exit 1
5570 @endif opcodes
5572 .PHONY: maybe-distclean-opcodes distclean-opcodes
5573 maybe-distclean-opcodes:
5574 @if opcodes
5575 maybe-distclean-opcodes: distclean-opcodes
5577 distclean-opcodes:
5578 @[ -f ./opcodes/Makefile ] || exit 0; \
5579 r=`${PWD_COMMAND}`; export r; \
5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5581 $(HOST_EXPORTS) \
5582 for flag in $(EXTRA_HOST_FLAGS) ; do \
5583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5584 done; \
5585 echo "Doing distclean in opcodes" ; \
5586 (cd $(HOST_SUBDIR)/opcodes && \
5587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5589 "RANLIB=$${RANLIB}" \
5590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5591 distclean) \
5592 || exit 1
5594 @endif opcodes
5596 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5597 maybe-maintainer-clean-opcodes:
5598 @if opcodes
5599 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5601 maintainer-clean-opcodes:
5602 @[ -f ./opcodes/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(HOST_EXPORTS) \
5606 for flag in $(EXTRA_HOST_FLAGS) ; do \
5607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5608 done; \
5609 echo "Doing maintainer-clean in opcodes" ; \
5610 (cd $(HOST_SUBDIR)/opcodes && \
5611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5613 "RANLIB=$${RANLIB}" \
5614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5615 maintainer-clean) \
5616 || exit 1
5618 @endif opcodes
5622 .PHONY: configure-binutils maybe-configure-binutils
5623 maybe-configure-binutils:
5624 @if gcc-bootstrap
5625 configure-binutils: stage_current
5626 @endif gcc-bootstrap
5627 @if binutils
5628 maybe-configure-binutils: configure-binutils
5629 configure-binutils:
5630 @r=`${PWD_COMMAND}`; export r; \
5631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5632 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5634 $(HOST_EXPORTS) \
5635 echo Configuring in $(HOST_SUBDIR)/binutils; \
5636 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5637 case $(srcdir) in \
5638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5639 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5641 esac; \
5642 srcdiroption="--srcdir=$${topdir}/binutils"; \
5643 libsrcdir="$$s/binutils"; \
5644 $(SHELL) $${libsrcdir}/configure \
5645 $(HOST_CONFIGARGS) $${srcdiroption} \
5646 || exit 1
5647 @endif binutils
5651 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5652 maybe-configure-stage1-binutils:
5653 @if binutils-bootstrap
5654 maybe-configure-stage1-binutils: configure-stage1-binutils
5655 configure-stage1-binutils:
5656 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5658 @r=`${PWD_COMMAND}`; export r; \
5659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5660 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5661 $(HOST_EXPORTS) \
5662 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5664 cd $(HOST_SUBDIR)/binutils || exit 1; \
5665 case $(srcdir) in \
5666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5667 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5669 esac; \
5670 srcdiroption="--srcdir=$${topdir}/binutils"; \
5671 libsrcdir="$$s/binutils"; \
5672 $(SHELL) $${libsrcdir}/configure \
5673 $(HOST_CONFIGARGS) $${srcdiroption} \
5674 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5675 @endif binutils-bootstrap
5677 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5678 maybe-configure-stage2-binutils:
5679 @if binutils-bootstrap
5680 maybe-configure-stage2-binutils: configure-stage2-binutils
5681 configure-stage2-binutils:
5682 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5684 @r=`${PWD_COMMAND}`; export r; \
5685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5686 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5687 $(HOST_EXPORTS) \
5688 $(POSTSTAGE1_HOST_EXPORTS) \
5689 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5691 cd $(HOST_SUBDIR)/binutils || exit 1; \
5692 case $(srcdir) in \
5693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5694 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5696 esac; \
5697 srcdiroption="--srcdir=$${topdir}/binutils"; \
5698 libsrcdir="$$s/binutils"; \
5699 $(SHELL) $${libsrcdir}/configure \
5700 $(HOST_CONFIGARGS) $${srcdiroption} \
5701 @stage2_werror_flag@
5702 @endif binutils-bootstrap
5704 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5705 maybe-configure-stage3-binutils:
5706 @if binutils-bootstrap
5707 maybe-configure-stage3-binutils: configure-stage3-binutils
5708 configure-stage3-binutils:
5709 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5711 @r=`${PWD_COMMAND}`; export r; \
5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5713 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5714 $(HOST_EXPORTS) \
5715 $(POSTSTAGE1_HOST_EXPORTS) \
5716 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5717 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5718 cd $(HOST_SUBDIR)/binutils || exit 1; \
5719 case $(srcdir) in \
5720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5721 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5723 esac; \
5724 srcdiroption="--srcdir=$${topdir}/binutils"; \
5725 libsrcdir="$$s/binutils"; \
5726 $(SHELL) $${libsrcdir}/configure \
5727 $(HOST_CONFIGARGS) $${srcdiroption} \
5728 @stage2_werror_flag@
5729 @endif binutils-bootstrap
5731 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5732 maybe-configure-stage4-binutils:
5733 @if binutils-bootstrap
5734 maybe-configure-stage4-binutils: configure-stage4-binutils
5735 configure-stage4-binutils:
5736 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5738 @r=`${PWD_COMMAND}`; export r; \
5739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5740 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5741 $(HOST_EXPORTS) \
5742 $(POSTSTAGE1_HOST_EXPORTS) \
5743 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5745 cd $(HOST_SUBDIR)/binutils || exit 1; \
5746 case $(srcdir) in \
5747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5748 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5750 esac; \
5751 srcdiroption="--srcdir=$${topdir}/binutils"; \
5752 libsrcdir="$$s/binutils"; \
5753 $(SHELL) $${libsrcdir}/configure \
5754 $(HOST_CONFIGARGS) $${srcdiroption} \
5755 @stage2_werror_flag@
5756 @endif binutils-bootstrap
5758 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5759 maybe-configure-stageprofile-binutils:
5760 @if binutils-bootstrap
5761 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5762 configure-stageprofile-binutils:
5763 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5765 @r=`${PWD_COMMAND}`; export r; \
5766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5767 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5768 $(HOST_EXPORTS) \
5769 $(POSTSTAGE1_HOST_EXPORTS) \
5770 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5772 cd $(HOST_SUBDIR)/binutils || exit 1; \
5773 case $(srcdir) in \
5774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5775 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5777 esac; \
5778 srcdiroption="--srcdir=$${topdir}/binutils"; \
5779 libsrcdir="$$s/binutils"; \
5780 $(SHELL) $${libsrcdir}/configure \
5781 $(HOST_CONFIGARGS) $${srcdiroption} \
5782 @stage2_werror_flag@
5783 @endif binutils-bootstrap
5785 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5786 maybe-configure-stagefeedback-binutils:
5787 @if binutils-bootstrap
5788 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5789 configure-stagefeedback-binutils:
5790 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5795 $(HOST_EXPORTS) \
5796 $(POSTSTAGE1_HOST_EXPORTS) \
5797 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5799 cd $(HOST_SUBDIR)/binutils || exit 1; \
5800 case $(srcdir) in \
5801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5802 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5804 esac; \
5805 srcdiroption="--srcdir=$${topdir}/binutils"; \
5806 libsrcdir="$$s/binutils"; \
5807 $(SHELL) $${libsrcdir}/configure \
5808 $(HOST_CONFIGARGS) $${srcdiroption} \
5809 @stage2_werror_flag@
5810 @endif binutils-bootstrap
5816 .PHONY: all-binutils maybe-all-binutils
5817 maybe-all-binutils:
5818 @if gcc-bootstrap
5819 all-binutils: stage_current
5820 @endif gcc-bootstrap
5821 @if binutils
5822 TARGET-binutils=all
5823 maybe-all-binutils: all-binutils
5824 all-binutils: configure-binutils
5825 @r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 $(HOST_EXPORTS) \
5828 (cd $(HOST_SUBDIR)/binutils && \
5829 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5830 @endif binutils
5834 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5835 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5836 maybe-all-stage1-binutils:
5837 maybe-clean-stage1-binutils:
5838 @if binutils-bootstrap
5839 maybe-all-stage1-binutils: all-stage1-binutils
5840 all-stage1: all-stage1-binutils
5841 TARGET-stage1-binutils = $(TARGET-binutils)
5842 all-stage1-binutils: configure-stage1-binutils
5843 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5844 @r=`${PWD_COMMAND}`; export r; \
5845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5846 $(HOST_EXPORTS) \
5847 cd $(HOST_SUBDIR)/binutils && \
5848 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5849 $(TARGET-stage1-binutils)
5851 maybe-clean-stage1-binutils: clean-stage1-binutils
5852 clean-stage1: clean-stage1-binutils
5853 clean-stage1-binutils:
5854 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5855 || exit 0 ; \
5856 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5857 cd $(HOST_SUBDIR)/binutils && \
5858 $(MAKE) $(FLAGS_TO_PASS) \
5859 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5860 @endif binutils-bootstrap
5863 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5864 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5865 maybe-all-stage2-binutils:
5866 maybe-clean-stage2-binutils:
5867 @if binutils-bootstrap
5868 maybe-all-stage2-binutils: all-stage2-binutils
5869 all-stage2: all-stage2-binutils
5870 TARGET-stage2-binutils = $(TARGET-binutils)
5871 all-stage2-binutils: configure-stage2-binutils
5872 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5873 @r=`${PWD_COMMAND}`; export r; \
5874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5875 $(HOST_EXPORTS) \
5876 $(POSTSTAGE1_HOST_EXPORTS) \
5877 cd $(HOST_SUBDIR)/binutils && \
5878 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5879 $(TARGET-stage2-binutils)
5881 maybe-clean-stage2-binutils: clean-stage2-binutils
5882 clean-stage2: clean-stage2-binutils
5883 clean-stage2-binutils:
5884 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5885 || exit 0 ; \
5886 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5887 cd $(HOST_SUBDIR)/binutils && \
5888 $(MAKE) $(FLAGS_TO_PASS) \
5889 $(POSTSTAGE1_FLAGS_TO_PASS) \
5890 clean
5891 @endif binutils-bootstrap
5894 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5895 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5896 maybe-all-stage3-binutils:
5897 maybe-clean-stage3-binutils:
5898 @if binutils-bootstrap
5899 maybe-all-stage3-binutils: all-stage3-binutils
5900 all-stage3: all-stage3-binutils
5901 TARGET-stage3-binutils = $(TARGET-binutils)
5902 all-stage3-binutils: configure-stage3-binutils
5903 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5904 @r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906 $(HOST_EXPORTS) \
5907 $(POSTSTAGE1_HOST_EXPORTS) \
5908 cd $(HOST_SUBDIR)/binutils && \
5909 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5910 $(TARGET-stage3-binutils)
5912 maybe-clean-stage3-binutils: clean-stage3-binutils
5913 clean-stage3: clean-stage3-binutils
5914 clean-stage3-binutils:
5915 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5916 || exit 0 ; \
5917 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5918 cd $(HOST_SUBDIR)/binutils && \
5919 $(MAKE) $(FLAGS_TO_PASS) \
5920 $(POSTSTAGE1_FLAGS_TO_PASS) \
5921 clean
5922 @endif binutils-bootstrap
5925 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5926 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5927 maybe-all-stage4-binutils:
5928 maybe-clean-stage4-binutils:
5929 @if binutils-bootstrap
5930 maybe-all-stage4-binutils: all-stage4-binutils
5931 all-stage4: all-stage4-binutils
5932 TARGET-stage4-binutils = $(TARGET-binutils)
5933 all-stage4-binutils: configure-stage4-binutils
5934 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5935 @r=`${PWD_COMMAND}`; export r; \
5936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5937 $(HOST_EXPORTS) \
5938 $(POSTSTAGE1_HOST_EXPORTS) \
5939 cd $(HOST_SUBDIR)/binutils && \
5940 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5941 $(TARGET-stage4-binutils)
5943 maybe-clean-stage4-binutils: clean-stage4-binutils
5944 clean-stage4: clean-stage4-binutils
5945 clean-stage4-binutils:
5946 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5947 || exit 0 ; \
5948 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5949 cd $(HOST_SUBDIR)/binutils && \
5950 $(MAKE) $(FLAGS_TO_PASS) \
5951 $(POSTSTAGE1_FLAGS_TO_PASS) \
5952 clean
5953 @endif binutils-bootstrap
5956 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5957 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5958 maybe-all-stageprofile-binutils:
5959 maybe-clean-stageprofile-binutils:
5960 @if binutils-bootstrap
5961 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5962 all-stageprofile: all-stageprofile-binutils
5963 TARGET-stageprofile-binutils = $(TARGET-binutils)
5964 all-stageprofile-binutils: configure-stageprofile-binutils
5965 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5966 @r=`${PWD_COMMAND}`; export r; \
5967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5968 $(HOST_EXPORTS) \
5969 $(POSTSTAGE1_HOST_EXPORTS) \
5970 cd $(HOST_SUBDIR)/binutils && \
5971 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5972 $(TARGET-stageprofile-binutils)
5974 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5975 clean-stageprofile: clean-stageprofile-binutils
5976 clean-stageprofile-binutils:
5977 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5978 || exit 0 ; \
5979 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5980 cd $(HOST_SUBDIR)/binutils && \
5981 $(MAKE) $(FLAGS_TO_PASS) \
5982 $(POSTSTAGE1_FLAGS_TO_PASS) \
5983 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5984 @endif binutils-bootstrap
5987 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5988 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5989 maybe-all-stagefeedback-binutils:
5990 maybe-clean-stagefeedback-binutils:
5991 @if binutils-bootstrap
5992 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5993 all-stagefeedback: all-stagefeedback-binutils
5994 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5995 all-stagefeedback-binutils: configure-stagefeedback-binutils
5996 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5997 @r=`${PWD_COMMAND}`; export r; \
5998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5999 $(HOST_EXPORTS) \
6000 $(POSTSTAGE1_HOST_EXPORTS) \
6001 cd $(HOST_SUBDIR)/binutils && \
6002 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6003 $(TARGET-stagefeedback-binutils)
6005 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6006 clean-stagefeedback: clean-stagefeedback-binutils
6007 clean-stagefeedback-binutils:
6008 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
6009 || exit 0 ; \
6010 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
6011 cd $(HOST_SUBDIR)/binutils && \
6012 $(MAKE) $(FLAGS_TO_PASS) \
6013 $(POSTSTAGE1_FLAGS_TO_PASS) \
6014 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6015 @endif binutils-bootstrap
6021 .PHONY: check-binutils maybe-check-binutils
6022 maybe-check-binutils:
6023 @if binutils
6024 maybe-check-binutils: check-binutils
6026 check-binutils:
6027 @: $(MAKE); $(unstage)
6028 @r=`${PWD_COMMAND}`; export r; \
6029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6030 $(HOST_EXPORTS) \
6031 (cd $(HOST_SUBDIR)/binutils && \
6032 $(MAKE) $(FLAGS_TO_PASS) check)
6034 @endif binutils
6036 .PHONY: install-binutils maybe-install-binutils
6037 maybe-install-binutils:
6038 @if binutils
6039 maybe-install-binutils: install-binutils
6041 install-binutils: installdirs
6042 @: $(MAKE); $(unstage)
6043 @r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6045 $(HOST_EXPORTS) \
6046 (cd $(HOST_SUBDIR)/binutils && \
6047 $(MAKE) $(FLAGS_TO_PASS) install)
6049 @endif binutils
6051 # Other targets (info, dvi, etc.)
6053 .PHONY: maybe-info-binutils info-binutils
6054 maybe-info-binutils:
6055 @if binutils
6056 maybe-info-binutils: info-binutils
6058 info-binutils: \
6059 configure-binutils
6060 @[ -f ./binutils/Makefile ] || exit 0; \
6061 r=`${PWD_COMMAND}`; export r; \
6062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6063 $(HOST_EXPORTS) \
6064 for flag in $(EXTRA_HOST_FLAGS) ; do \
6065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6066 done; \
6067 echo "Doing info in binutils" ; \
6068 (cd $(HOST_SUBDIR)/binutils && \
6069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6071 "RANLIB=$${RANLIB}" \
6072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6073 info) \
6074 || exit 1
6076 @endif binutils
6078 .PHONY: maybe-dvi-binutils dvi-binutils
6079 maybe-dvi-binutils:
6080 @if binutils
6081 maybe-dvi-binutils: dvi-binutils
6083 dvi-binutils: \
6084 configure-binutils
6085 @[ -f ./binutils/Makefile ] || exit 0; \
6086 r=`${PWD_COMMAND}`; export r; \
6087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6088 $(HOST_EXPORTS) \
6089 for flag in $(EXTRA_HOST_FLAGS) ; do \
6090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6091 done; \
6092 echo "Doing dvi in binutils" ; \
6093 (cd $(HOST_SUBDIR)/binutils && \
6094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6096 "RANLIB=$${RANLIB}" \
6097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6098 dvi) \
6099 || exit 1
6101 @endif binutils
6103 .PHONY: maybe-html-binutils html-binutils
6104 maybe-html-binutils:
6105 @if binutils
6106 maybe-html-binutils: html-binutils
6108 html-binutils: \
6109 configure-binutils
6110 @[ -f ./binutils/Makefile ] || exit 0; \
6111 r=`${PWD_COMMAND}`; export r; \
6112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6113 $(HOST_EXPORTS) \
6114 for flag in $(EXTRA_HOST_FLAGS) ; do \
6115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6116 done; \
6117 echo "Doing html in binutils" ; \
6118 (cd $(HOST_SUBDIR)/binutils && \
6119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6121 "RANLIB=$${RANLIB}" \
6122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6123 html) \
6124 || exit 1
6126 @endif binutils
6128 .PHONY: maybe-TAGS-binutils TAGS-binutils
6129 maybe-TAGS-binutils:
6130 @if binutils
6131 maybe-TAGS-binutils: TAGS-binutils
6133 TAGS-binutils: \
6134 configure-binutils
6135 @[ -f ./binutils/Makefile ] || exit 0; \
6136 r=`${PWD_COMMAND}`; export r; \
6137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6138 $(HOST_EXPORTS) \
6139 for flag in $(EXTRA_HOST_FLAGS) ; do \
6140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6141 done; \
6142 echo "Doing TAGS in binutils" ; \
6143 (cd $(HOST_SUBDIR)/binutils && \
6144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6146 "RANLIB=$${RANLIB}" \
6147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6148 TAGS) \
6149 || exit 1
6151 @endif binutils
6153 .PHONY: maybe-install-info-binutils install-info-binutils
6154 maybe-install-info-binutils:
6155 @if binutils
6156 maybe-install-info-binutils: install-info-binutils
6158 install-info-binutils: \
6159 configure-binutils \
6160 info-binutils
6161 @[ -f ./binutils/Makefile ] || exit 0; \
6162 r=`${PWD_COMMAND}`; export r; \
6163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6164 $(HOST_EXPORTS) \
6165 for flag in $(EXTRA_HOST_FLAGS) ; do \
6166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6167 done; \
6168 echo "Doing install-info in binutils" ; \
6169 (cd $(HOST_SUBDIR)/binutils && \
6170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6172 "RANLIB=$${RANLIB}" \
6173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6174 install-info) \
6175 || exit 1
6177 @endif binutils
6179 .PHONY: maybe-install-html-binutils install-html-binutils
6180 maybe-install-html-binutils:
6181 @if binutils
6182 maybe-install-html-binutils: install-html-binutils
6184 install-html-binutils: \
6185 configure-binutils \
6186 html-binutils
6187 @[ -f ./binutils/Makefile ] || exit 0; \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(HOST_EXPORTS) \
6191 for flag in $(EXTRA_HOST_FLAGS) ; do \
6192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6193 done; \
6194 echo "Doing install-html in binutils" ; \
6195 (cd $(HOST_SUBDIR)/binutils && \
6196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6198 "RANLIB=$${RANLIB}" \
6199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6200 install-html) \
6201 || exit 1
6203 @endif binutils
6205 .PHONY: maybe-installcheck-binutils installcheck-binutils
6206 maybe-installcheck-binutils:
6207 @if binutils
6208 maybe-installcheck-binutils: installcheck-binutils
6210 installcheck-binutils: \
6211 configure-binutils
6212 @[ -f ./binutils/Makefile ] || exit 0; \
6213 r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6215 $(HOST_EXPORTS) \
6216 for flag in $(EXTRA_HOST_FLAGS) ; do \
6217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6218 done; \
6219 echo "Doing installcheck in binutils" ; \
6220 (cd $(HOST_SUBDIR)/binutils && \
6221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6223 "RANLIB=$${RANLIB}" \
6224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6225 installcheck) \
6226 || exit 1
6228 @endif binutils
6230 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6231 maybe-mostlyclean-binutils:
6232 @if binutils
6233 maybe-mostlyclean-binutils: mostlyclean-binutils
6235 mostlyclean-binutils:
6236 @[ -f ./binutils/Makefile ] || exit 0; \
6237 r=`${PWD_COMMAND}`; export r; \
6238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6239 $(HOST_EXPORTS) \
6240 for flag in $(EXTRA_HOST_FLAGS) ; do \
6241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6242 done; \
6243 echo "Doing mostlyclean in binutils" ; \
6244 (cd $(HOST_SUBDIR)/binutils && \
6245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6247 "RANLIB=$${RANLIB}" \
6248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6249 mostlyclean) \
6250 || exit 1
6252 @endif binutils
6254 .PHONY: maybe-clean-binutils clean-binutils
6255 maybe-clean-binutils:
6256 @if binutils
6257 maybe-clean-binutils: clean-binutils
6259 clean-binutils:
6260 @[ -f ./binutils/Makefile ] || exit 0; \
6261 r=`${PWD_COMMAND}`; export r; \
6262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6263 $(HOST_EXPORTS) \
6264 for flag in $(EXTRA_HOST_FLAGS) ; do \
6265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6266 done; \
6267 echo "Doing clean in binutils" ; \
6268 (cd $(HOST_SUBDIR)/binutils && \
6269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6271 "RANLIB=$${RANLIB}" \
6272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6273 clean) \
6274 || exit 1
6276 @endif binutils
6278 .PHONY: maybe-distclean-binutils distclean-binutils
6279 maybe-distclean-binutils:
6280 @if binutils
6281 maybe-distclean-binutils: distclean-binutils
6283 distclean-binutils:
6284 @[ -f ./binutils/Makefile ] || exit 0; \
6285 r=`${PWD_COMMAND}`; export r; \
6286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6287 $(HOST_EXPORTS) \
6288 for flag in $(EXTRA_HOST_FLAGS) ; do \
6289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6290 done; \
6291 echo "Doing distclean in binutils" ; \
6292 (cd $(HOST_SUBDIR)/binutils && \
6293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6295 "RANLIB=$${RANLIB}" \
6296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6297 distclean) \
6298 || exit 1
6300 @endif binutils
6302 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6303 maybe-maintainer-clean-binutils:
6304 @if binutils
6305 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6307 maintainer-clean-binutils:
6308 @[ -f ./binutils/Makefile ] || exit 0; \
6309 r=`${PWD_COMMAND}`; export r; \
6310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6311 $(HOST_EXPORTS) \
6312 for flag in $(EXTRA_HOST_FLAGS) ; do \
6313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6314 done; \
6315 echo "Doing maintainer-clean in binutils" ; \
6316 (cd $(HOST_SUBDIR)/binutils && \
6317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6319 "RANLIB=$${RANLIB}" \
6320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6321 maintainer-clean) \
6322 || exit 1
6324 @endif binutils
6328 .PHONY: configure-bison maybe-configure-bison
6329 maybe-configure-bison:
6330 @if gcc-bootstrap
6331 configure-bison: stage_current
6332 @endif gcc-bootstrap
6333 @if bison
6334 maybe-configure-bison: configure-bison
6335 configure-bison:
6336 @: $(MAKE); $(unstage)
6337 @r=`${PWD_COMMAND}`; export r; \
6338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6339 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6341 $(HOST_EXPORTS) \
6342 echo Configuring in $(HOST_SUBDIR)/bison; \
6343 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6344 case $(srcdir) in \
6345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6346 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6348 esac; \
6349 srcdiroption="--srcdir=$${topdir}/bison"; \
6350 libsrcdir="$$s/bison"; \
6351 $(SHELL) $${libsrcdir}/configure \
6352 $(HOST_CONFIGARGS) $${srcdiroption} \
6353 || exit 1
6354 @endif bison
6360 .PHONY: all-bison maybe-all-bison
6361 maybe-all-bison:
6362 @if gcc-bootstrap
6363 all-bison: stage_current
6364 @endif gcc-bootstrap
6365 @if bison
6366 TARGET-bison=all
6367 maybe-all-bison: all-bison
6368 all-bison: configure-bison
6369 @: $(MAKE); $(unstage)
6370 @r=`${PWD_COMMAND}`; export r; \
6371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 $(HOST_EXPORTS) \
6373 (cd $(HOST_SUBDIR)/bison && \
6374 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6375 @endif bison
6380 .PHONY: check-bison maybe-check-bison
6381 maybe-check-bison:
6382 @if bison
6383 maybe-check-bison: check-bison
6385 # This module is only tested in a native toolchain.
6386 check-bison:
6387 @: $(MAKE); $(unstage)
6388 @if [ '$(host)' = '$(target)' ] ; then \
6389 r=`${PWD_COMMAND}`; export r; \
6390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391 $(HOST_EXPORTS) \
6392 (cd $(HOST_SUBDIR)/bison && \
6393 $(MAKE) $(FLAGS_TO_PASS) check); \
6396 @endif bison
6398 .PHONY: install-bison maybe-install-bison
6399 maybe-install-bison:
6400 @if bison
6401 maybe-install-bison: install-bison
6403 install-bison: installdirs
6404 @: $(MAKE); $(unstage)
6405 @r=`${PWD_COMMAND}`; export r; \
6406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6407 $(HOST_EXPORTS) \
6408 (cd $(HOST_SUBDIR)/bison && \
6409 $(MAKE) $(FLAGS_TO_PASS) install)
6411 @endif bison
6413 # Other targets (info, dvi, etc.)
6415 .PHONY: maybe-info-bison info-bison
6416 maybe-info-bison:
6417 @if bison
6418 maybe-info-bison: info-bison
6420 info-bison: \
6421 configure-bison
6422 @: $(MAKE); $(unstage)
6423 @[ -f ./bison/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426 $(HOST_EXPORTS) \
6427 for flag in $(EXTRA_HOST_FLAGS) ; do \
6428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6429 done; \
6430 echo "Doing info in bison" ; \
6431 (cd $(HOST_SUBDIR)/bison && \
6432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6434 "RANLIB=$${RANLIB}" \
6435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6436 info) \
6437 || exit 1
6439 @endif bison
6441 .PHONY: maybe-dvi-bison dvi-bison
6442 maybe-dvi-bison:
6443 @if bison
6444 maybe-dvi-bison: dvi-bison
6446 dvi-bison: \
6447 configure-bison
6448 @: $(MAKE); $(unstage)
6449 @[ -f ./bison/Makefile ] || exit 0; \
6450 r=`${PWD_COMMAND}`; export r; \
6451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452 $(HOST_EXPORTS) \
6453 for flag in $(EXTRA_HOST_FLAGS) ; do \
6454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6455 done; \
6456 echo "Doing dvi in bison" ; \
6457 (cd $(HOST_SUBDIR)/bison && \
6458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6460 "RANLIB=$${RANLIB}" \
6461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6462 dvi) \
6463 || exit 1
6465 @endif bison
6467 .PHONY: maybe-html-bison html-bison
6468 maybe-html-bison:
6469 @if bison
6470 maybe-html-bison: html-bison
6472 html-bison: \
6473 configure-bison
6474 @: $(MAKE); $(unstage)
6475 @[ -f ./bison/Makefile ] || exit 0; \
6476 r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478 $(HOST_EXPORTS) \
6479 for flag in $(EXTRA_HOST_FLAGS) ; do \
6480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6481 done; \
6482 echo "Doing html in bison" ; \
6483 (cd $(HOST_SUBDIR)/bison && \
6484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6486 "RANLIB=$${RANLIB}" \
6487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6488 html) \
6489 || exit 1
6491 @endif bison
6493 .PHONY: maybe-TAGS-bison TAGS-bison
6494 maybe-TAGS-bison:
6495 @if bison
6496 maybe-TAGS-bison: TAGS-bison
6498 TAGS-bison: \
6499 configure-bison
6500 @: $(MAKE); $(unstage)
6501 @[ -f ./bison/Makefile ] || exit 0; \
6502 r=`${PWD_COMMAND}`; export r; \
6503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6504 $(HOST_EXPORTS) \
6505 for flag in $(EXTRA_HOST_FLAGS) ; do \
6506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6507 done; \
6508 echo "Doing TAGS in bison" ; \
6509 (cd $(HOST_SUBDIR)/bison && \
6510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6512 "RANLIB=$${RANLIB}" \
6513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6514 TAGS) \
6515 || exit 1
6517 @endif bison
6519 .PHONY: maybe-install-info-bison install-info-bison
6520 maybe-install-info-bison:
6521 @if bison
6522 maybe-install-info-bison: install-info-bison
6524 install-info-bison: \
6525 configure-bison \
6526 info-bison
6527 @: $(MAKE); $(unstage)
6528 @[ -f ./bison/Makefile ] || exit 0; \
6529 r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(HOST_EXPORTS) \
6532 for flag in $(EXTRA_HOST_FLAGS) ; do \
6533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6534 done; \
6535 echo "Doing install-info in bison" ; \
6536 (cd $(HOST_SUBDIR)/bison && \
6537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6539 "RANLIB=$${RANLIB}" \
6540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6541 install-info) \
6542 || exit 1
6544 @endif bison
6546 .PHONY: maybe-install-html-bison install-html-bison
6547 maybe-install-html-bison:
6548 @if bison
6549 maybe-install-html-bison: install-html-bison
6551 install-html-bison: \
6552 configure-bison \
6553 html-bison
6554 @: $(MAKE); $(unstage)
6555 @[ -f ./bison/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing install-html in bison" ; \
6563 (cd $(HOST_SUBDIR)/bison && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6568 install-html) \
6569 || exit 1
6571 @endif bison
6573 .PHONY: maybe-installcheck-bison installcheck-bison
6574 maybe-installcheck-bison:
6575 @if bison
6576 maybe-installcheck-bison: installcheck-bison
6578 installcheck-bison: \
6579 configure-bison
6580 @: $(MAKE); $(unstage)
6581 @[ -f ./bison/Makefile ] || exit 0; \
6582 r=`${PWD_COMMAND}`; export r; \
6583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 $(HOST_EXPORTS) \
6585 for flag in $(EXTRA_HOST_FLAGS) ; do \
6586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6587 done; \
6588 echo "Doing installcheck in bison" ; \
6589 (cd $(HOST_SUBDIR)/bison && \
6590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6592 "RANLIB=$${RANLIB}" \
6593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6594 installcheck) \
6595 || exit 1
6597 @endif bison
6599 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6600 maybe-mostlyclean-bison:
6601 @if bison
6602 maybe-mostlyclean-bison: mostlyclean-bison
6604 mostlyclean-bison:
6605 @: $(MAKE); $(unstage)
6606 @[ -f ./bison/Makefile ] || exit 0; \
6607 r=`${PWD_COMMAND}`; export r; \
6608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6609 $(HOST_EXPORTS) \
6610 for flag in $(EXTRA_HOST_FLAGS) ; do \
6611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6612 done; \
6613 echo "Doing mostlyclean in bison" ; \
6614 (cd $(HOST_SUBDIR)/bison && \
6615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6617 "RANLIB=$${RANLIB}" \
6618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6619 mostlyclean) \
6620 || exit 1
6622 @endif bison
6624 .PHONY: maybe-clean-bison clean-bison
6625 maybe-clean-bison:
6626 @if bison
6627 maybe-clean-bison: clean-bison
6629 clean-bison:
6630 @: $(MAKE); $(unstage)
6631 @[ -f ./bison/Makefile ] || exit 0; \
6632 r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6634 $(HOST_EXPORTS) \
6635 for flag in $(EXTRA_HOST_FLAGS) ; do \
6636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6637 done; \
6638 echo "Doing clean in bison" ; \
6639 (cd $(HOST_SUBDIR)/bison && \
6640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6642 "RANLIB=$${RANLIB}" \
6643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6644 clean) \
6645 || exit 1
6647 @endif bison
6649 .PHONY: maybe-distclean-bison distclean-bison
6650 maybe-distclean-bison:
6651 @if bison
6652 maybe-distclean-bison: distclean-bison
6654 distclean-bison:
6655 @: $(MAKE); $(unstage)
6656 @[ -f ./bison/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing distclean in bison" ; \
6664 (cd $(HOST_SUBDIR)/bison && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6669 distclean) \
6670 || exit 1
6672 @endif bison
6674 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6675 maybe-maintainer-clean-bison:
6676 @if bison
6677 maybe-maintainer-clean-bison: maintainer-clean-bison
6679 maintainer-clean-bison:
6680 @: $(MAKE); $(unstage)
6681 @[ -f ./bison/Makefile ] || exit 0; \
6682 r=`${PWD_COMMAND}`; export r; \
6683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6684 $(HOST_EXPORTS) \
6685 for flag in $(EXTRA_HOST_FLAGS) ; do \
6686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6687 done; \
6688 echo "Doing maintainer-clean in bison" ; \
6689 (cd $(HOST_SUBDIR)/bison && \
6690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6692 "RANLIB=$${RANLIB}" \
6693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6694 maintainer-clean) \
6695 || exit 1
6697 @endif bison
6701 .PHONY: configure-byacc maybe-configure-byacc
6702 maybe-configure-byacc:
6703 @if gcc-bootstrap
6704 configure-byacc: stage_current
6705 @endif gcc-bootstrap
6706 @if byacc
6707 maybe-configure-byacc: configure-byacc
6708 configure-byacc:
6709 @: $(MAKE); $(unstage)
6710 @r=`${PWD_COMMAND}`; export r; \
6711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6714 $(HOST_EXPORTS) \
6715 echo Configuring in $(HOST_SUBDIR)/byacc; \
6716 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6717 case $(srcdir) in \
6718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6719 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6721 esac; \
6722 srcdiroption="--srcdir=$${topdir}/byacc"; \
6723 libsrcdir="$$s/byacc"; \
6724 $(SHELL) $${libsrcdir}/configure \
6725 $(HOST_CONFIGARGS) $${srcdiroption} \
6726 || exit 1
6727 @endif byacc
6733 .PHONY: all-byacc maybe-all-byacc
6734 maybe-all-byacc:
6735 @if gcc-bootstrap
6736 all-byacc: stage_current
6737 @endif gcc-bootstrap
6738 @if byacc
6739 TARGET-byacc=all
6740 maybe-all-byacc: all-byacc
6741 all-byacc: configure-byacc
6742 @: $(MAKE); $(unstage)
6743 @r=`${PWD_COMMAND}`; export r; \
6744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6745 $(HOST_EXPORTS) \
6746 (cd $(HOST_SUBDIR)/byacc && \
6747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6748 @endif byacc
6753 .PHONY: check-byacc maybe-check-byacc
6754 maybe-check-byacc:
6755 @if byacc
6756 maybe-check-byacc: check-byacc
6758 # This module is only tested in a native toolchain.
6759 check-byacc:
6760 @: $(MAKE); $(unstage)
6761 @if [ '$(host)' = '$(target)' ] ; then \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 (cd $(HOST_SUBDIR)/byacc && \
6766 $(MAKE) $(FLAGS_TO_PASS) check); \
6769 @endif byacc
6771 .PHONY: install-byacc maybe-install-byacc
6772 maybe-install-byacc:
6773 @if byacc
6774 maybe-install-byacc: install-byacc
6776 install-byacc: installdirs
6777 @: $(MAKE); $(unstage)
6778 @r=`${PWD_COMMAND}`; export r; \
6779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780 $(HOST_EXPORTS) \
6781 (cd $(HOST_SUBDIR)/byacc && \
6782 $(MAKE) $(FLAGS_TO_PASS) install)
6784 @endif byacc
6786 # Other targets (info, dvi, etc.)
6788 .PHONY: maybe-info-byacc info-byacc
6789 maybe-info-byacc:
6790 @if byacc
6791 maybe-info-byacc: info-byacc
6793 info-byacc: \
6794 configure-byacc
6795 @: $(MAKE); $(unstage)
6796 @[ -f ./byacc/Makefile ] || exit 0; \
6797 r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6799 $(HOST_EXPORTS) \
6800 for flag in $(EXTRA_HOST_FLAGS) ; do \
6801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6802 done; \
6803 echo "Doing info in byacc" ; \
6804 (cd $(HOST_SUBDIR)/byacc && \
6805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807 "RANLIB=$${RANLIB}" \
6808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6809 info) \
6810 || exit 1
6812 @endif byacc
6814 .PHONY: maybe-dvi-byacc dvi-byacc
6815 maybe-dvi-byacc:
6816 @if byacc
6817 maybe-dvi-byacc: dvi-byacc
6819 dvi-byacc: \
6820 configure-byacc
6821 @: $(MAKE); $(unstage)
6822 @[ -f ./byacc/Makefile ] || exit 0; \
6823 r=`${PWD_COMMAND}`; export r; \
6824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6825 $(HOST_EXPORTS) \
6826 for flag in $(EXTRA_HOST_FLAGS) ; do \
6827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6828 done; \
6829 echo "Doing dvi in byacc" ; \
6830 (cd $(HOST_SUBDIR)/byacc && \
6831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6833 "RANLIB=$${RANLIB}" \
6834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6835 dvi) \
6836 || exit 1
6838 @endif byacc
6840 .PHONY: maybe-html-byacc html-byacc
6841 maybe-html-byacc:
6842 @if byacc
6843 maybe-html-byacc: html-byacc
6845 html-byacc: \
6846 configure-byacc
6847 @: $(MAKE); $(unstage)
6848 @[ -f ./byacc/Makefile ] || exit 0; \
6849 r=`${PWD_COMMAND}`; export r; \
6850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6851 $(HOST_EXPORTS) \
6852 for flag in $(EXTRA_HOST_FLAGS) ; do \
6853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6854 done; \
6855 echo "Doing html in byacc" ; \
6856 (cd $(HOST_SUBDIR)/byacc && \
6857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6859 "RANLIB=$${RANLIB}" \
6860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6861 html) \
6862 || exit 1
6864 @endif byacc
6866 .PHONY: maybe-TAGS-byacc TAGS-byacc
6867 maybe-TAGS-byacc:
6868 @if byacc
6869 maybe-TAGS-byacc: TAGS-byacc
6871 TAGS-byacc: \
6872 configure-byacc
6873 @: $(MAKE); $(unstage)
6874 @[ -f ./byacc/Makefile ] || exit 0; \
6875 r=`${PWD_COMMAND}`; export r; \
6876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6877 $(HOST_EXPORTS) \
6878 for flag in $(EXTRA_HOST_FLAGS) ; do \
6879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6880 done; \
6881 echo "Doing TAGS in byacc" ; \
6882 (cd $(HOST_SUBDIR)/byacc && \
6883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6885 "RANLIB=$${RANLIB}" \
6886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6887 TAGS) \
6888 || exit 1
6890 @endif byacc
6892 .PHONY: maybe-install-info-byacc install-info-byacc
6893 maybe-install-info-byacc:
6894 @if byacc
6895 maybe-install-info-byacc: install-info-byacc
6897 install-info-byacc: \
6898 configure-byacc \
6899 info-byacc
6900 @: $(MAKE); $(unstage)
6901 @[ -f ./byacc/Makefile ] || exit 0; \
6902 r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 $(HOST_EXPORTS) \
6905 for flag in $(EXTRA_HOST_FLAGS) ; do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6907 done; \
6908 echo "Doing install-info in byacc" ; \
6909 (cd $(HOST_SUBDIR)/byacc && \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6914 install-info) \
6915 || exit 1
6917 @endif byacc
6919 .PHONY: maybe-install-html-byacc install-html-byacc
6920 maybe-install-html-byacc:
6921 @if byacc
6922 maybe-install-html-byacc: install-html-byacc
6924 install-html-byacc: \
6925 configure-byacc \
6926 html-byacc
6927 @: $(MAKE); $(unstage)
6928 @[ -f ./byacc/Makefile ] || exit 0; \
6929 r=`${PWD_COMMAND}`; export r; \
6930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6931 $(HOST_EXPORTS) \
6932 for flag in $(EXTRA_HOST_FLAGS) ; do \
6933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6934 done; \
6935 echo "Doing install-html in byacc" ; \
6936 (cd $(HOST_SUBDIR)/byacc && \
6937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6939 "RANLIB=$${RANLIB}" \
6940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6941 install-html) \
6942 || exit 1
6944 @endif byacc
6946 .PHONY: maybe-installcheck-byacc installcheck-byacc
6947 maybe-installcheck-byacc:
6948 @if byacc
6949 maybe-installcheck-byacc: installcheck-byacc
6951 installcheck-byacc: \
6952 configure-byacc
6953 @: $(MAKE); $(unstage)
6954 @[ -f ./byacc/Makefile ] || exit 0; \
6955 r=`${PWD_COMMAND}`; export r; \
6956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6957 $(HOST_EXPORTS) \
6958 for flag in $(EXTRA_HOST_FLAGS) ; do \
6959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6960 done; \
6961 echo "Doing installcheck in byacc" ; \
6962 (cd $(HOST_SUBDIR)/byacc && \
6963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6965 "RANLIB=$${RANLIB}" \
6966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6967 installcheck) \
6968 || exit 1
6970 @endif byacc
6972 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6973 maybe-mostlyclean-byacc:
6974 @if byacc
6975 maybe-mostlyclean-byacc: mostlyclean-byacc
6977 mostlyclean-byacc:
6978 @: $(MAKE); $(unstage)
6979 @[ -f ./byacc/Makefile ] || exit 0; \
6980 r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 $(HOST_EXPORTS) \
6983 for flag in $(EXTRA_HOST_FLAGS) ; do \
6984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6985 done; \
6986 echo "Doing mostlyclean in byacc" ; \
6987 (cd $(HOST_SUBDIR)/byacc && \
6988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6990 "RANLIB=$${RANLIB}" \
6991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6992 mostlyclean) \
6993 || exit 1
6995 @endif byacc
6997 .PHONY: maybe-clean-byacc clean-byacc
6998 maybe-clean-byacc:
6999 @if byacc
7000 maybe-clean-byacc: clean-byacc
7002 clean-byacc:
7003 @: $(MAKE); $(unstage)
7004 @[ -f ./byacc/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 for flag in $(EXTRA_HOST_FLAGS) ; do \
7009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7010 done; \
7011 echo "Doing clean in byacc" ; \
7012 (cd $(HOST_SUBDIR)/byacc && \
7013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7015 "RANLIB=$${RANLIB}" \
7016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7017 clean) \
7018 || exit 1
7020 @endif byacc
7022 .PHONY: maybe-distclean-byacc distclean-byacc
7023 maybe-distclean-byacc:
7024 @if byacc
7025 maybe-distclean-byacc: distclean-byacc
7027 distclean-byacc:
7028 @: $(MAKE); $(unstage)
7029 @[ -f ./byacc/Makefile ] || exit 0; \
7030 r=`${PWD_COMMAND}`; export r; \
7031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 $(HOST_EXPORTS) \
7033 for flag in $(EXTRA_HOST_FLAGS) ; do \
7034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7035 done; \
7036 echo "Doing distclean in byacc" ; \
7037 (cd $(HOST_SUBDIR)/byacc && \
7038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7040 "RANLIB=$${RANLIB}" \
7041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7042 distclean) \
7043 || exit 1
7045 @endif byacc
7047 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7048 maybe-maintainer-clean-byacc:
7049 @if byacc
7050 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7052 maintainer-clean-byacc:
7053 @: $(MAKE); $(unstage)
7054 @[ -f ./byacc/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 $(HOST_EXPORTS) \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7060 done; \
7061 echo "Doing maintainer-clean in byacc" ; \
7062 (cd $(HOST_SUBDIR)/byacc && \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7067 maintainer-clean) \
7068 || exit 1
7070 @endif byacc
7074 .PHONY: configure-bzip2 maybe-configure-bzip2
7075 maybe-configure-bzip2:
7076 @if gcc-bootstrap
7077 configure-bzip2: stage_current
7078 @endif gcc-bootstrap
7079 @if bzip2
7080 maybe-configure-bzip2: configure-bzip2
7081 configure-bzip2:
7082 @: $(MAKE); $(unstage)
7083 @r=`${PWD_COMMAND}`; export r; \
7084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7085 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7087 $(HOST_EXPORTS) \
7088 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7089 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7090 case $(srcdir) in \
7091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7092 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7094 esac; \
7095 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7096 libsrcdir="$$s/bzip2"; \
7097 $(SHELL) $${libsrcdir}/configure \
7098 $(HOST_CONFIGARGS) $${srcdiroption} \
7099 || exit 1
7100 @endif bzip2
7106 .PHONY: all-bzip2 maybe-all-bzip2
7107 maybe-all-bzip2:
7108 @if gcc-bootstrap
7109 all-bzip2: stage_current
7110 @endif gcc-bootstrap
7111 @if bzip2
7112 TARGET-bzip2=all
7113 maybe-all-bzip2: all-bzip2
7114 all-bzip2: configure-bzip2
7115 @: $(MAKE); $(unstage)
7116 @r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(HOST_EXPORTS) \
7119 (cd $(HOST_SUBDIR)/bzip2 && \
7120 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7121 @endif bzip2
7126 .PHONY: check-bzip2 maybe-check-bzip2
7127 maybe-check-bzip2:
7128 @if bzip2
7129 maybe-check-bzip2: check-bzip2
7131 check-bzip2:
7132 @: $(MAKE); $(unstage)
7133 @r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(HOST_EXPORTS) \
7136 (cd $(HOST_SUBDIR)/bzip2 && \
7137 $(MAKE) $(FLAGS_TO_PASS) check)
7139 @endif bzip2
7141 .PHONY: install-bzip2 maybe-install-bzip2
7142 maybe-install-bzip2:
7143 @if bzip2
7144 maybe-install-bzip2: install-bzip2
7146 install-bzip2: installdirs
7147 @: $(MAKE); $(unstage)
7148 @r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(HOST_EXPORTS) \
7151 (cd $(HOST_SUBDIR)/bzip2 && \
7152 $(MAKE) $(FLAGS_TO_PASS) install)
7154 @endif bzip2
7156 # Other targets (info, dvi, etc.)
7158 .PHONY: maybe-info-bzip2 info-bzip2
7159 maybe-info-bzip2:
7160 @if bzip2
7161 maybe-info-bzip2: info-bzip2
7163 info-bzip2: \
7164 configure-bzip2
7165 @: $(MAKE); $(unstage)
7166 @[ -f ./bzip2/Makefile ] || exit 0; \
7167 r=`${PWD_COMMAND}`; export r; \
7168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7169 $(HOST_EXPORTS) \
7170 for flag in $(EXTRA_HOST_FLAGS) ; do \
7171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7172 done; \
7173 echo "Doing info in bzip2" ; \
7174 (cd $(HOST_SUBDIR)/bzip2 && \
7175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7177 "RANLIB=$${RANLIB}" \
7178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7179 info) \
7180 || exit 1
7182 @endif bzip2
7184 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7185 maybe-dvi-bzip2:
7186 @if bzip2
7187 maybe-dvi-bzip2: dvi-bzip2
7189 dvi-bzip2: \
7190 configure-bzip2
7191 @: $(MAKE); $(unstage)
7192 @[ -f ./bzip2/Makefile ] || exit 0; \
7193 r=`${PWD_COMMAND}`; export r; \
7194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7195 $(HOST_EXPORTS) \
7196 for flag in $(EXTRA_HOST_FLAGS) ; do \
7197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7198 done; \
7199 echo "Doing dvi in bzip2" ; \
7200 (cd $(HOST_SUBDIR)/bzip2 && \
7201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7203 "RANLIB=$${RANLIB}" \
7204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7205 dvi) \
7206 || exit 1
7208 @endif bzip2
7210 .PHONY: maybe-html-bzip2 html-bzip2
7211 maybe-html-bzip2:
7212 @if bzip2
7213 maybe-html-bzip2: html-bzip2
7215 html-bzip2: \
7216 configure-bzip2
7217 @: $(MAKE); $(unstage)
7218 @[ -f ./bzip2/Makefile ] || exit 0; \
7219 r=`${PWD_COMMAND}`; export r; \
7220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7221 $(HOST_EXPORTS) \
7222 for flag in $(EXTRA_HOST_FLAGS) ; do \
7223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7224 done; \
7225 echo "Doing html in bzip2" ; \
7226 (cd $(HOST_SUBDIR)/bzip2 && \
7227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7229 "RANLIB=$${RANLIB}" \
7230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7231 html) \
7232 || exit 1
7234 @endif bzip2
7236 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7237 maybe-TAGS-bzip2:
7238 @if bzip2
7239 maybe-TAGS-bzip2: TAGS-bzip2
7241 TAGS-bzip2: \
7242 configure-bzip2
7243 @: $(MAKE); $(unstage)
7244 @[ -f ./bzip2/Makefile ] || exit 0; \
7245 r=`${PWD_COMMAND}`; export r; \
7246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7247 $(HOST_EXPORTS) \
7248 for flag in $(EXTRA_HOST_FLAGS) ; do \
7249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7250 done; \
7251 echo "Doing TAGS in bzip2" ; \
7252 (cd $(HOST_SUBDIR)/bzip2 && \
7253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7255 "RANLIB=$${RANLIB}" \
7256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7257 TAGS) \
7258 || exit 1
7260 @endif bzip2
7262 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7263 maybe-install-info-bzip2:
7264 @if bzip2
7265 maybe-install-info-bzip2: install-info-bzip2
7267 install-info-bzip2: \
7268 configure-bzip2 \
7269 info-bzip2
7270 @: $(MAKE); $(unstage)
7271 @[ -f ./bzip2/Makefile ] || exit 0; \
7272 r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(HOST_EXPORTS) \
7275 for flag in $(EXTRA_HOST_FLAGS) ; do \
7276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 done; \
7278 echo "Doing install-info in bzip2" ; \
7279 (cd $(HOST_SUBDIR)/bzip2 && \
7280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7282 "RANLIB=$${RANLIB}" \
7283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7284 install-info) \
7285 || exit 1
7287 @endif bzip2
7289 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7290 maybe-install-html-bzip2:
7291 @if bzip2
7292 maybe-install-html-bzip2: install-html-bzip2
7294 install-html-bzip2: \
7295 configure-bzip2 \
7296 html-bzip2
7297 @: $(MAKE); $(unstage)
7298 @[ -f ./bzip2/Makefile ] || exit 0; \
7299 r=`${PWD_COMMAND}`; export r; \
7300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7301 $(HOST_EXPORTS) \
7302 for flag in $(EXTRA_HOST_FLAGS) ; do \
7303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7304 done; \
7305 echo "Doing install-html in bzip2" ; \
7306 (cd $(HOST_SUBDIR)/bzip2 && \
7307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7309 "RANLIB=$${RANLIB}" \
7310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7311 install-html) \
7312 || exit 1
7314 @endif bzip2
7316 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7317 maybe-installcheck-bzip2:
7318 @if bzip2
7319 maybe-installcheck-bzip2: installcheck-bzip2
7321 installcheck-bzip2: \
7322 configure-bzip2
7323 @: $(MAKE); $(unstage)
7324 @[ -f ./bzip2/Makefile ] || exit 0; \
7325 r=`${PWD_COMMAND}`; export r; \
7326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7327 $(HOST_EXPORTS) \
7328 for flag in $(EXTRA_HOST_FLAGS) ; do \
7329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7330 done; \
7331 echo "Doing installcheck in bzip2" ; \
7332 (cd $(HOST_SUBDIR)/bzip2 && \
7333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7335 "RANLIB=$${RANLIB}" \
7336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7337 installcheck) \
7338 || exit 1
7340 @endif bzip2
7342 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7343 maybe-mostlyclean-bzip2:
7344 @if bzip2
7345 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7347 mostlyclean-bzip2:
7348 @: $(MAKE); $(unstage)
7349 @[ -f ./bzip2/Makefile ] || exit 0; \
7350 r=`${PWD_COMMAND}`; export r; \
7351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 $(HOST_EXPORTS) \
7353 for flag in $(EXTRA_HOST_FLAGS) ; do \
7354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7355 done; \
7356 echo "Doing mostlyclean in bzip2" ; \
7357 (cd $(HOST_SUBDIR)/bzip2 && \
7358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7360 "RANLIB=$${RANLIB}" \
7361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7362 mostlyclean) \
7363 || exit 1
7365 @endif bzip2
7367 .PHONY: maybe-clean-bzip2 clean-bzip2
7368 maybe-clean-bzip2:
7369 @if bzip2
7370 maybe-clean-bzip2: clean-bzip2
7372 clean-bzip2:
7373 @: $(MAKE); $(unstage)
7374 @[ -f ./bzip2/Makefile ] || exit 0; \
7375 r=`${PWD_COMMAND}`; export r; \
7376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 $(HOST_EXPORTS) \
7378 for flag in $(EXTRA_HOST_FLAGS) ; do \
7379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7380 done; \
7381 echo "Doing clean in bzip2" ; \
7382 (cd $(HOST_SUBDIR)/bzip2 && \
7383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7385 "RANLIB=$${RANLIB}" \
7386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7387 clean) \
7388 || exit 1
7390 @endif bzip2
7392 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7393 maybe-distclean-bzip2:
7394 @if bzip2
7395 maybe-distclean-bzip2: distclean-bzip2
7397 distclean-bzip2:
7398 @: $(MAKE); $(unstage)
7399 @[ -f ./bzip2/Makefile ] || exit 0; \
7400 r=`${PWD_COMMAND}`; export r; \
7401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 $(HOST_EXPORTS) \
7403 for flag in $(EXTRA_HOST_FLAGS) ; do \
7404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7405 done; \
7406 echo "Doing distclean in bzip2" ; \
7407 (cd $(HOST_SUBDIR)/bzip2 && \
7408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7410 "RANLIB=$${RANLIB}" \
7411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7412 distclean) \
7413 || exit 1
7415 @endif bzip2
7417 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7418 maybe-maintainer-clean-bzip2:
7419 @if bzip2
7420 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7422 maintainer-clean-bzip2:
7423 @: $(MAKE); $(unstage)
7424 @[ -f ./bzip2/Makefile ] || exit 0; \
7425 r=`${PWD_COMMAND}`; export r; \
7426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7427 $(HOST_EXPORTS) \
7428 for flag in $(EXTRA_HOST_FLAGS) ; do \
7429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7430 done; \
7431 echo "Doing maintainer-clean in bzip2" ; \
7432 (cd $(HOST_SUBDIR)/bzip2 && \
7433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7435 "RANLIB=$${RANLIB}" \
7436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7437 maintainer-clean) \
7438 || exit 1
7440 @endif bzip2
7444 .PHONY: configure-dejagnu maybe-configure-dejagnu
7445 maybe-configure-dejagnu:
7446 @if gcc-bootstrap
7447 configure-dejagnu: stage_current
7448 @endif gcc-bootstrap
7449 @if dejagnu
7450 maybe-configure-dejagnu: configure-dejagnu
7451 configure-dejagnu:
7452 @: $(MAKE); $(unstage)
7453 @r=`${PWD_COMMAND}`; export r; \
7454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7457 $(HOST_EXPORTS) \
7458 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7459 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7460 case $(srcdir) in \
7461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7462 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7464 esac; \
7465 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7466 libsrcdir="$$s/dejagnu"; \
7467 $(SHELL) $${libsrcdir}/configure \
7468 $(HOST_CONFIGARGS) $${srcdiroption} \
7469 || exit 1
7470 @endif dejagnu
7476 .PHONY: all-dejagnu maybe-all-dejagnu
7477 maybe-all-dejagnu:
7478 @if gcc-bootstrap
7479 all-dejagnu: stage_current
7480 @endif gcc-bootstrap
7481 @if dejagnu
7482 TARGET-dejagnu=all
7483 maybe-all-dejagnu: all-dejagnu
7484 all-dejagnu: configure-dejagnu
7485 @: $(MAKE); $(unstage)
7486 @r=`${PWD_COMMAND}`; export r; \
7487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7488 $(HOST_EXPORTS) \
7489 (cd $(HOST_SUBDIR)/dejagnu && \
7490 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7491 @endif dejagnu
7496 .PHONY: check-dejagnu maybe-check-dejagnu
7497 maybe-check-dejagnu:
7498 @if dejagnu
7499 maybe-check-dejagnu: check-dejagnu
7501 check-dejagnu:
7502 @: $(MAKE); $(unstage)
7503 @r=`${PWD_COMMAND}`; export r; \
7504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7505 $(HOST_EXPORTS) \
7506 (cd $(HOST_SUBDIR)/dejagnu && \
7507 $(MAKE) $(FLAGS_TO_PASS) check)
7509 @endif dejagnu
7511 .PHONY: install-dejagnu maybe-install-dejagnu
7512 maybe-install-dejagnu:
7513 @if dejagnu
7514 maybe-install-dejagnu: install-dejagnu
7516 install-dejagnu: installdirs
7517 @: $(MAKE); $(unstage)
7518 @r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 $(HOST_EXPORTS) \
7521 (cd $(HOST_SUBDIR)/dejagnu && \
7522 $(MAKE) $(FLAGS_TO_PASS) install)
7524 @endif dejagnu
7526 # Other targets (info, dvi, etc.)
7528 .PHONY: maybe-info-dejagnu info-dejagnu
7529 maybe-info-dejagnu:
7530 @if dejagnu
7531 maybe-info-dejagnu: info-dejagnu
7533 info-dejagnu: \
7534 configure-dejagnu
7535 @: $(MAKE); $(unstage)
7536 @[ -f ./dejagnu/Makefile ] || exit 0; \
7537 r=`${PWD_COMMAND}`; export r; \
7538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7539 $(HOST_EXPORTS) \
7540 for flag in $(EXTRA_HOST_FLAGS) ; do \
7541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 done; \
7543 echo "Doing info in dejagnu" ; \
7544 (cd $(HOST_SUBDIR)/dejagnu && \
7545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7547 "RANLIB=$${RANLIB}" \
7548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7549 info) \
7550 || exit 1
7552 @endif dejagnu
7554 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7555 maybe-dvi-dejagnu:
7556 @if dejagnu
7557 maybe-dvi-dejagnu: dvi-dejagnu
7559 dvi-dejagnu: \
7560 configure-dejagnu
7561 @: $(MAKE); $(unstage)
7562 @[ -f ./dejagnu/Makefile ] || exit 0; \
7563 r=`${PWD_COMMAND}`; export r; \
7564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7565 $(HOST_EXPORTS) \
7566 for flag in $(EXTRA_HOST_FLAGS) ; do \
7567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7568 done; \
7569 echo "Doing dvi in dejagnu" ; \
7570 (cd $(HOST_SUBDIR)/dejagnu && \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7573 "RANLIB=$${RANLIB}" \
7574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7575 dvi) \
7576 || exit 1
7578 @endif dejagnu
7580 .PHONY: maybe-html-dejagnu html-dejagnu
7581 maybe-html-dejagnu:
7582 @if dejagnu
7583 maybe-html-dejagnu: html-dejagnu
7585 html-dejagnu: \
7586 configure-dejagnu
7587 @: $(MAKE); $(unstage)
7588 @[ -f ./dejagnu/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing html in dejagnu" ; \
7596 (cd $(HOST_SUBDIR)/dejagnu && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7601 html) \
7602 || exit 1
7604 @endif dejagnu
7606 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7607 maybe-TAGS-dejagnu:
7608 @if dejagnu
7609 maybe-TAGS-dejagnu: TAGS-dejagnu
7611 TAGS-dejagnu: \
7612 configure-dejagnu
7613 @: $(MAKE); $(unstage)
7614 @[ -f ./dejagnu/Makefile ] || exit 0; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 for flag in $(EXTRA_HOST_FLAGS) ; do \
7619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 done; \
7621 echo "Doing TAGS in dejagnu" ; \
7622 (cd $(HOST_SUBDIR)/dejagnu && \
7623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7625 "RANLIB=$${RANLIB}" \
7626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7627 TAGS) \
7628 || exit 1
7630 @endif dejagnu
7632 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7633 maybe-install-info-dejagnu:
7634 @if dejagnu
7635 maybe-install-info-dejagnu: install-info-dejagnu
7637 install-info-dejagnu: \
7638 configure-dejagnu \
7639 info-dejagnu
7640 @: $(MAKE); $(unstage)
7641 @[ -f ./dejagnu/Makefile ] || exit 0; \
7642 r=`${PWD_COMMAND}`; export r; \
7643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7644 $(HOST_EXPORTS) \
7645 for flag in $(EXTRA_HOST_FLAGS) ; do \
7646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7647 done; \
7648 echo "Doing install-info in dejagnu" ; \
7649 (cd $(HOST_SUBDIR)/dejagnu && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7652 "RANLIB=$${RANLIB}" \
7653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7654 install-info) \
7655 || exit 1
7657 @endif dejagnu
7659 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7660 maybe-install-html-dejagnu:
7661 @if dejagnu
7662 maybe-install-html-dejagnu: install-html-dejagnu
7664 install-html-dejagnu: \
7665 configure-dejagnu \
7666 html-dejagnu
7667 @: $(MAKE); $(unstage)
7668 @[ -f ./dejagnu/Makefile ] || exit 0; \
7669 r=`${PWD_COMMAND}`; export r; \
7670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7671 $(HOST_EXPORTS) \
7672 for flag in $(EXTRA_HOST_FLAGS) ; do \
7673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7674 done; \
7675 echo "Doing install-html in dejagnu" ; \
7676 (cd $(HOST_SUBDIR)/dejagnu && \
7677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7679 "RANLIB=$${RANLIB}" \
7680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7681 install-html) \
7682 || exit 1
7684 @endif dejagnu
7686 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7687 maybe-installcheck-dejagnu:
7688 @if dejagnu
7689 maybe-installcheck-dejagnu: installcheck-dejagnu
7691 installcheck-dejagnu: \
7692 configure-dejagnu
7693 @: $(MAKE); $(unstage)
7694 @[ -f ./dejagnu/Makefile ] || exit 0; \
7695 r=`${PWD_COMMAND}`; export r; \
7696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7697 $(HOST_EXPORTS) \
7698 for flag in $(EXTRA_HOST_FLAGS) ; do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7700 done; \
7701 echo "Doing installcheck in dejagnu" ; \
7702 (cd $(HOST_SUBDIR)/dejagnu && \
7703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7705 "RANLIB=$${RANLIB}" \
7706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7707 installcheck) \
7708 || exit 1
7710 @endif dejagnu
7712 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7713 maybe-mostlyclean-dejagnu:
7714 @if dejagnu
7715 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7717 mostlyclean-dejagnu:
7718 @: $(MAKE); $(unstage)
7719 @[ -f ./dejagnu/Makefile ] || exit 0; \
7720 r=`${PWD_COMMAND}`; export r; \
7721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7722 $(HOST_EXPORTS) \
7723 for flag in $(EXTRA_HOST_FLAGS) ; do \
7724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7725 done; \
7726 echo "Doing mostlyclean in dejagnu" ; \
7727 (cd $(HOST_SUBDIR)/dejagnu && \
7728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7730 "RANLIB=$${RANLIB}" \
7731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7732 mostlyclean) \
7733 || exit 1
7735 @endif dejagnu
7737 .PHONY: maybe-clean-dejagnu clean-dejagnu
7738 maybe-clean-dejagnu:
7739 @if dejagnu
7740 maybe-clean-dejagnu: clean-dejagnu
7742 clean-dejagnu:
7743 @: $(MAKE); $(unstage)
7744 @[ -f ./dejagnu/Makefile ] || exit 0; \
7745 r=`${PWD_COMMAND}`; export r; \
7746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747 $(HOST_EXPORTS) \
7748 for flag in $(EXTRA_HOST_FLAGS) ; do \
7749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7750 done; \
7751 echo "Doing clean in dejagnu" ; \
7752 (cd $(HOST_SUBDIR)/dejagnu && \
7753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7755 "RANLIB=$${RANLIB}" \
7756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7757 clean) \
7758 || exit 1
7760 @endif dejagnu
7762 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7763 maybe-distclean-dejagnu:
7764 @if dejagnu
7765 maybe-distclean-dejagnu: distclean-dejagnu
7767 distclean-dejagnu:
7768 @: $(MAKE); $(unstage)
7769 @[ -f ./dejagnu/Makefile ] || exit 0; \
7770 r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 $(HOST_EXPORTS) \
7773 for flag in $(EXTRA_HOST_FLAGS) ; do \
7774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7775 done; \
7776 echo "Doing distclean in dejagnu" ; \
7777 (cd $(HOST_SUBDIR)/dejagnu && \
7778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7780 "RANLIB=$${RANLIB}" \
7781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7782 distclean) \
7783 || exit 1
7785 @endif dejagnu
7787 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7788 maybe-maintainer-clean-dejagnu:
7789 @if dejagnu
7790 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7792 maintainer-clean-dejagnu:
7793 @: $(MAKE); $(unstage)
7794 @[ -f ./dejagnu/Makefile ] || exit 0; \
7795 r=`${PWD_COMMAND}`; export r; \
7796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7797 $(HOST_EXPORTS) \
7798 for flag in $(EXTRA_HOST_FLAGS) ; do \
7799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7800 done; \
7801 echo "Doing maintainer-clean in dejagnu" ; \
7802 (cd $(HOST_SUBDIR)/dejagnu && \
7803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7805 "RANLIB=$${RANLIB}" \
7806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7807 maintainer-clean) \
7808 || exit 1
7810 @endif dejagnu
7814 .PHONY: configure-diff maybe-configure-diff
7815 maybe-configure-diff:
7816 @if gcc-bootstrap
7817 configure-diff: stage_current
7818 @endif gcc-bootstrap
7819 @if diff
7820 maybe-configure-diff: configure-diff
7821 configure-diff:
7822 @: $(MAKE); $(unstage)
7823 @r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7827 $(HOST_EXPORTS) \
7828 echo Configuring in $(HOST_SUBDIR)/diff; \
7829 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7830 case $(srcdir) in \
7831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7832 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7834 esac; \
7835 srcdiroption="--srcdir=$${topdir}/diff"; \
7836 libsrcdir="$$s/diff"; \
7837 $(SHELL) $${libsrcdir}/configure \
7838 $(HOST_CONFIGARGS) $${srcdiroption} \
7839 || exit 1
7840 @endif diff
7846 .PHONY: all-diff maybe-all-diff
7847 maybe-all-diff:
7848 @if gcc-bootstrap
7849 all-diff: stage_current
7850 @endif gcc-bootstrap
7851 @if diff
7852 TARGET-diff=all
7853 maybe-all-diff: all-diff
7854 all-diff: configure-diff
7855 @: $(MAKE); $(unstage)
7856 @r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(HOST_EXPORTS) \
7859 (cd $(HOST_SUBDIR)/diff && \
7860 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7861 @endif diff
7866 .PHONY: check-diff maybe-check-diff
7867 maybe-check-diff:
7868 @if diff
7869 maybe-check-diff: check-diff
7871 check-diff:
7872 @: $(MAKE); $(unstage)
7873 @r=`${PWD_COMMAND}`; export r; \
7874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7875 $(HOST_EXPORTS) \
7876 (cd $(HOST_SUBDIR)/diff && \
7877 $(MAKE) $(FLAGS_TO_PASS) check)
7879 @endif diff
7881 .PHONY: install-diff maybe-install-diff
7882 maybe-install-diff:
7883 @if diff
7884 maybe-install-diff: install-diff
7886 install-diff: installdirs
7887 @: $(MAKE); $(unstage)
7888 @r=`${PWD_COMMAND}`; export r; \
7889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7890 $(HOST_EXPORTS) \
7891 (cd $(HOST_SUBDIR)/diff && \
7892 $(MAKE) $(FLAGS_TO_PASS) install)
7894 @endif diff
7896 # Other targets (info, dvi, etc.)
7898 .PHONY: maybe-info-diff info-diff
7899 maybe-info-diff:
7900 @if diff
7901 maybe-info-diff: info-diff
7903 info-diff: \
7904 configure-diff
7905 @: $(MAKE); $(unstage)
7906 @[ -f ./diff/Makefile ] || exit 0; \
7907 r=`${PWD_COMMAND}`; export r; \
7908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 $(HOST_EXPORTS) \
7910 for flag in $(EXTRA_HOST_FLAGS) ; do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 done; \
7913 echo "Doing info in diff" ; \
7914 (cd $(HOST_SUBDIR)/diff && \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7919 info) \
7920 || exit 1
7922 @endif diff
7924 .PHONY: maybe-dvi-diff dvi-diff
7925 maybe-dvi-diff:
7926 @if diff
7927 maybe-dvi-diff: dvi-diff
7929 dvi-diff: \
7930 configure-diff
7931 @: $(MAKE); $(unstage)
7932 @[ -f ./diff/Makefile ] || exit 0; \
7933 r=`${PWD_COMMAND}`; export r; \
7934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7935 $(HOST_EXPORTS) \
7936 for flag in $(EXTRA_HOST_FLAGS) ; do \
7937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7938 done; \
7939 echo "Doing dvi in diff" ; \
7940 (cd $(HOST_SUBDIR)/diff && \
7941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7943 "RANLIB=$${RANLIB}" \
7944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7945 dvi) \
7946 || exit 1
7948 @endif diff
7950 .PHONY: maybe-html-diff html-diff
7951 maybe-html-diff:
7952 @if diff
7953 maybe-html-diff: html-diff
7955 html-diff: \
7956 configure-diff
7957 @: $(MAKE); $(unstage)
7958 @[ -f ./diff/Makefile ] || exit 0; \
7959 r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(HOST_EXPORTS) \
7962 for flag in $(EXTRA_HOST_FLAGS) ; do \
7963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7964 done; \
7965 echo "Doing html in diff" ; \
7966 (cd $(HOST_SUBDIR)/diff && \
7967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7969 "RANLIB=$${RANLIB}" \
7970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7971 html) \
7972 || exit 1
7974 @endif diff
7976 .PHONY: maybe-TAGS-diff TAGS-diff
7977 maybe-TAGS-diff:
7978 @if diff
7979 maybe-TAGS-diff: TAGS-diff
7981 TAGS-diff: \
7982 configure-diff
7983 @: $(MAKE); $(unstage)
7984 @[ -f ./diff/Makefile ] || exit 0; \
7985 r=`${PWD_COMMAND}`; export r; \
7986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7987 $(HOST_EXPORTS) \
7988 for flag in $(EXTRA_HOST_FLAGS) ; do \
7989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7990 done; \
7991 echo "Doing TAGS in diff" ; \
7992 (cd $(HOST_SUBDIR)/diff && \
7993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7995 "RANLIB=$${RANLIB}" \
7996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7997 TAGS) \
7998 || exit 1
8000 @endif diff
8002 .PHONY: maybe-install-info-diff install-info-diff
8003 maybe-install-info-diff:
8004 @if diff
8005 maybe-install-info-diff: install-info-diff
8007 install-info-diff: \
8008 configure-diff \
8009 info-diff
8010 @: $(MAKE); $(unstage)
8011 @[ -f ./diff/Makefile ] || exit 0; \
8012 r=`${PWD_COMMAND}`; export r; \
8013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8014 $(HOST_EXPORTS) \
8015 for flag in $(EXTRA_HOST_FLAGS) ; do \
8016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 done; \
8018 echo "Doing install-info in diff" ; \
8019 (cd $(HOST_SUBDIR)/diff && \
8020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8022 "RANLIB=$${RANLIB}" \
8023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8024 install-info) \
8025 || exit 1
8027 @endif diff
8029 .PHONY: maybe-install-html-diff install-html-diff
8030 maybe-install-html-diff:
8031 @if diff
8032 maybe-install-html-diff: install-html-diff
8034 install-html-diff: \
8035 configure-diff \
8036 html-diff
8037 @: $(MAKE); $(unstage)
8038 @[ -f ./diff/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 for flag in $(EXTRA_HOST_FLAGS) ; do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 done; \
8045 echo "Doing install-html in diff" ; \
8046 (cd $(HOST_SUBDIR)/diff && \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8051 install-html) \
8052 || exit 1
8054 @endif diff
8056 .PHONY: maybe-installcheck-diff installcheck-diff
8057 maybe-installcheck-diff:
8058 @if diff
8059 maybe-installcheck-diff: installcheck-diff
8061 installcheck-diff: \
8062 configure-diff
8063 @: $(MAKE); $(unstage)
8064 @[ -f ./diff/Makefile ] || exit 0; \
8065 r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 $(HOST_EXPORTS) \
8068 for flag in $(EXTRA_HOST_FLAGS) ; do \
8069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070 done; \
8071 echo "Doing installcheck in diff" ; \
8072 (cd $(HOST_SUBDIR)/diff && \
8073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8075 "RANLIB=$${RANLIB}" \
8076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8077 installcheck) \
8078 || exit 1
8080 @endif diff
8082 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8083 maybe-mostlyclean-diff:
8084 @if diff
8085 maybe-mostlyclean-diff: mostlyclean-diff
8087 mostlyclean-diff:
8088 @: $(MAKE); $(unstage)
8089 @[ -f ./diff/Makefile ] || exit 0; \
8090 r=`${PWD_COMMAND}`; export r; \
8091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8092 $(HOST_EXPORTS) \
8093 for flag in $(EXTRA_HOST_FLAGS) ; do \
8094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8095 done; \
8096 echo "Doing mostlyclean in diff" ; \
8097 (cd $(HOST_SUBDIR)/diff && \
8098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8100 "RANLIB=$${RANLIB}" \
8101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8102 mostlyclean) \
8103 || exit 1
8105 @endif diff
8107 .PHONY: maybe-clean-diff clean-diff
8108 maybe-clean-diff:
8109 @if diff
8110 maybe-clean-diff: clean-diff
8112 clean-diff:
8113 @: $(MAKE); $(unstage)
8114 @[ -f ./diff/Makefile ] || exit 0; \
8115 r=`${PWD_COMMAND}`; export r; \
8116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8117 $(HOST_EXPORTS) \
8118 for flag in $(EXTRA_HOST_FLAGS) ; do \
8119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8120 done; \
8121 echo "Doing clean in diff" ; \
8122 (cd $(HOST_SUBDIR)/diff && \
8123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8125 "RANLIB=$${RANLIB}" \
8126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8127 clean) \
8128 || exit 1
8130 @endif diff
8132 .PHONY: maybe-distclean-diff distclean-diff
8133 maybe-distclean-diff:
8134 @if diff
8135 maybe-distclean-diff: distclean-diff
8137 distclean-diff:
8138 @: $(MAKE); $(unstage)
8139 @[ -f ./diff/Makefile ] || exit 0; \
8140 r=`${PWD_COMMAND}`; export r; \
8141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8142 $(HOST_EXPORTS) \
8143 for flag in $(EXTRA_HOST_FLAGS) ; do \
8144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8145 done; \
8146 echo "Doing distclean in diff" ; \
8147 (cd $(HOST_SUBDIR)/diff && \
8148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8150 "RANLIB=$${RANLIB}" \
8151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8152 distclean) \
8153 || exit 1
8155 @endif diff
8157 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8158 maybe-maintainer-clean-diff:
8159 @if diff
8160 maybe-maintainer-clean-diff: maintainer-clean-diff
8162 maintainer-clean-diff:
8163 @: $(MAKE); $(unstage)
8164 @[ -f ./diff/Makefile ] || exit 0; \
8165 r=`${PWD_COMMAND}`; export r; \
8166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8167 $(HOST_EXPORTS) \
8168 for flag in $(EXTRA_HOST_FLAGS) ; do \
8169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8170 done; \
8171 echo "Doing maintainer-clean in diff" ; \
8172 (cd $(HOST_SUBDIR)/diff && \
8173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8175 "RANLIB=$${RANLIB}" \
8176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8177 maintainer-clean) \
8178 || exit 1
8180 @endif diff
8184 .PHONY: configure-dosutils maybe-configure-dosutils
8185 maybe-configure-dosutils:
8186 @if gcc-bootstrap
8187 configure-dosutils: stage_current
8188 @endif gcc-bootstrap
8189 @if dosutils
8190 maybe-configure-dosutils: configure-dosutils
8191 configure-dosutils:
8192 @: $(MAKE); $(unstage)
8193 @r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8197 $(HOST_EXPORTS) \
8198 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8199 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8200 case $(srcdir) in \
8201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8202 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8204 esac; \
8205 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8206 libsrcdir="$$s/dosutils"; \
8207 $(SHELL) $${libsrcdir}/configure \
8208 $(HOST_CONFIGARGS) $${srcdiroption} \
8209 || exit 1
8210 @endif dosutils
8216 .PHONY: all-dosutils maybe-all-dosutils
8217 maybe-all-dosutils:
8218 @if gcc-bootstrap
8219 all-dosutils: stage_current
8220 @endif gcc-bootstrap
8221 @if dosutils
8222 TARGET-dosutils=all
8223 maybe-all-dosutils: all-dosutils
8224 all-dosutils: configure-dosutils
8225 @: $(MAKE); $(unstage)
8226 @r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 $(HOST_EXPORTS) \
8229 (cd $(HOST_SUBDIR)/dosutils && \
8230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8231 @endif dosutils
8236 .PHONY: check-dosutils maybe-check-dosutils
8237 maybe-check-dosutils:
8238 @if dosutils
8239 maybe-check-dosutils: check-dosutils
8241 check-dosutils:
8243 @endif dosutils
8245 .PHONY: install-dosutils maybe-install-dosutils
8246 maybe-install-dosutils:
8247 @if dosutils
8248 maybe-install-dosutils: install-dosutils
8250 install-dosutils: installdirs
8251 @: $(MAKE); $(unstage)
8252 @r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 $(HOST_EXPORTS) \
8255 (cd $(HOST_SUBDIR)/dosutils && \
8256 $(MAKE) $(FLAGS_TO_PASS) install)
8258 @endif dosutils
8260 # Other targets (info, dvi, etc.)
8262 .PHONY: maybe-info-dosutils info-dosutils
8263 maybe-info-dosutils:
8264 @if dosutils
8265 maybe-info-dosutils: info-dosutils
8267 info-dosutils: \
8268 configure-dosutils
8269 @: $(MAKE); $(unstage)
8270 @[ -f ./dosutils/Makefile ] || exit 0; \
8271 r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273 $(HOST_EXPORTS) \
8274 for flag in $(EXTRA_HOST_FLAGS) ; do \
8275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8276 done; \
8277 echo "Doing info in dosutils" ; \
8278 (cd $(HOST_SUBDIR)/dosutils && \
8279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8281 "RANLIB=$${RANLIB}" \
8282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8283 info) \
8284 || exit 1
8286 @endif dosutils
8288 .PHONY: maybe-dvi-dosutils dvi-dosutils
8289 maybe-dvi-dosutils:
8290 @if dosutils
8291 maybe-dvi-dosutils: dvi-dosutils
8293 dvi-dosutils: \
8294 configure-dosutils
8295 @: $(MAKE); $(unstage)
8296 @[ -f ./dosutils/Makefile ] || exit 0; \
8297 r=`${PWD_COMMAND}`; export r; \
8298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8299 $(HOST_EXPORTS) \
8300 for flag in $(EXTRA_HOST_FLAGS) ; do \
8301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8302 done; \
8303 echo "Doing dvi in dosutils" ; \
8304 (cd $(HOST_SUBDIR)/dosutils && \
8305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8307 "RANLIB=$${RANLIB}" \
8308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8309 dvi) \
8310 || exit 1
8312 @endif dosutils
8314 .PHONY: maybe-html-dosutils html-dosutils
8315 maybe-html-dosutils:
8316 @if dosutils
8317 maybe-html-dosutils: html-dosutils
8319 html-dosutils: \
8320 configure-dosutils
8321 @: $(MAKE); $(unstage)
8322 @[ -f ./dosutils/Makefile ] || exit 0; \
8323 r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 $(HOST_EXPORTS) \
8326 for flag in $(EXTRA_HOST_FLAGS) ; do \
8327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8328 done; \
8329 echo "Doing html in dosutils" ; \
8330 (cd $(HOST_SUBDIR)/dosutils && \
8331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8333 "RANLIB=$${RANLIB}" \
8334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8335 html) \
8336 || exit 1
8338 @endif dosutils
8340 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8341 maybe-TAGS-dosutils:
8342 @if dosutils
8343 maybe-TAGS-dosutils: TAGS-dosutils
8345 TAGS-dosutils: \
8346 configure-dosutils
8347 @: $(MAKE); $(unstage)
8348 @[ -f ./dosutils/Makefile ] || exit 0; \
8349 r=`${PWD_COMMAND}`; export r; \
8350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8351 $(HOST_EXPORTS) \
8352 for flag in $(EXTRA_HOST_FLAGS) ; do \
8353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8354 done; \
8355 echo "Doing TAGS in dosutils" ; \
8356 (cd $(HOST_SUBDIR)/dosutils && \
8357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8359 "RANLIB=$${RANLIB}" \
8360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8361 TAGS) \
8362 || exit 1
8364 @endif dosutils
8366 .PHONY: maybe-install-info-dosutils install-info-dosutils
8367 maybe-install-info-dosutils:
8368 @if dosutils
8369 maybe-install-info-dosutils: install-info-dosutils
8371 install-info-dosutils: \
8372 configure-dosutils \
8373 info-dosutils
8374 @: $(MAKE); $(unstage)
8375 @[ -f ./dosutils/Makefile ] || exit 0; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 $(HOST_EXPORTS) \
8379 for flag in $(EXTRA_HOST_FLAGS) ; do \
8380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8381 done; \
8382 echo "Doing install-info in dosutils" ; \
8383 (cd $(HOST_SUBDIR)/dosutils && \
8384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8386 "RANLIB=$${RANLIB}" \
8387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8388 install-info) \
8389 || exit 1
8391 @endif dosutils
8393 .PHONY: maybe-install-html-dosutils install-html-dosutils
8394 maybe-install-html-dosutils:
8395 @if dosutils
8396 maybe-install-html-dosutils: install-html-dosutils
8398 install-html-dosutils: \
8399 configure-dosutils \
8400 html-dosutils
8401 @: $(MAKE); $(unstage)
8402 @[ -f ./dosutils/Makefile ] || exit 0; \
8403 r=`${PWD_COMMAND}`; export r; \
8404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8405 $(HOST_EXPORTS) \
8406 for flag in $(EXTRA_HOST_FLAGS) ; do \
8407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8408 done; \
8409 echo "Doing install-html in dosutils" ; \
8410 (cd $(HOST_SUBDIR)/dosutils && \
8411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8413 "RANLIB=$${RANLIB}" \
8414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8415 install-html) \
8416 || exit 1
8418 @endif dosutils
8420 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8421 maybe-installcheck-dosutils:
8422 @if dosutils
8423 maybe-installcheck-dosutils: installcheck-dosutils
8425 installcheck-dosutils: \
8426 configure-dosutils
8427 @: $(MAKE); $(unstage)
8428 @[ -f ./dosutils/Makefile ] || exit 0; \
8429 r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8431 $(HOST_EXPORTS) \
8432 for flag in $(EXTRA_HOST_FLAGS) ; do \
8433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8434 done; \
8435 echo "Doing installcheck in dosutils" ; \
8436 (cd $(HOST_SUBDIR)/dosutils && \
8437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8439 "RANLIB=$${RANLIB}" \
8440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8441 installcheck) \
8442 || exit 1
8444 @endif dosutils
8446 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8447 maybe-mostlyclean-dosutils:
8448 @if dosutils
8449 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8451 mostlyclean-dosutils:
8452 @: $(MAKE); $(unstage)
8453 @[ -f ./dosutils/Makefile ] || exit 0; \
8454 r=`${PWD_COMMAND}`; export r; \
8455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8456 $(HOST_EXPORTS) \
8457 for flag in $(EXTRA_HOST_FLAGS) ; do \
8458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8459 done; \
8460 echo "Doing mostlyclean in dosutils" ; \
8461 (cd $(HOST_SUBDIR)/dosutils && \
8462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8464 "RANLIB=$${RANLIB}" \
8465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8466 mostlyclean) \
8467 || exit 1
8469 @endif dosutils
8471 .PHONY: maybe-clean-dosutils clean-dosutils
8472 maybe-clean-dosutils:
8473 @if dosutils
8474 maybe-clean-dosutils: clean-dosutils
8476 clean-dosutils:
8477 @: $(MAKE); $(unstage)
8478 @[ -f ./dosutils/Makefile ] || exit 0; \
8479 r=`${PWD_COMMAND}`; export r; \
8480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8481 $(HOST_EXPORTS) \
8482 for flag in $(EXTRA_HOST_FLAGS) ; do \
8483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8484 done; \
8485 echo "Doing clean in dosutils" ; \
8486 (cd $(HOST_SUBDIR)/dosutils && \
8487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8489 "RANLIB=$${RANLIB}" \
8490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8491 clean) \
8492 || exit 1
8494 @endif dosutils
8496 .PHONY: maybe-distclean-dosutils distclean-dosutils
8497 maybe-distclean-dosutils:
8498 @if dosutils
8499 maybe-distclean-dosutils: distclean-dosutils
8501 distclean-dosutils:
8502 @: $(MAKE); $(unstage)
8503 @[ -f ./dosutils/Makefile ] || exit 0; \
8504 r=`${PWD_COMMAND}`; export r; \
8505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8506 $(HOST_EXPORTS) \
8507 for flag in $(EXTRA_HOST_FLAGS) ; do \
8508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8509 done; \
8510 echo "Doing distclean in dosutils" ; \
8511 (cd $(HOST_SUBDIR)/dosutils && \
8512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8514 "RANLIB=$${RANLIB}" \
8515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8516 distclean) \
8517 || exit 1
8519 @endif dosutils
8521 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8522 maybe-maintainer-clean-dosutils:
8523 @if dosutils
8524 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8526 maintainer-clean-dosutils:
8527 @: $(MAKE); $(unstage)
8528 @[ -f ./dosutils/Makefile ] || exit 0; \
8529 r=`${PWD_COMMAND}`; export r; \
8530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8531 $(HOST_EXPORTS) \
8532 for flag in $(EXTRA_HOST_FLAGS) ; do \
8533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8534 done; \
8535 echo "Doing maintainer-clean in dosutils" ; \
8536 (cd $(HOST_SUBDIR)/dosutils && \
8537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8539 "RANLIB=$${RANLIB}" \
8540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8541 maintainer-clean) \
8542 || exit 1
8544 @endif dosutils
8548 .PHONY: configure-etc maybe-configure-etc
8549 maybe-configure-etc:
8550 @if gcc-bootstrap
8551 configure-etc: stage_current
8552 @endif gcc-bootstrap
8553 @if etc
8554 maybe-configure-etc: configure-etc
8555 configure-etc:
8556 @: $(MAKE); $(unstage)
8557 @r=`${PWD_COMMAND}`; export r; \
8558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8559 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8561 $(HOST_EXPORTS) \
8562 echo Configuring in $(HOST_SUBDIR)/etc; \
8563 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8564 case $(srcdir) in \
8565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8566 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8568 esac; \
8569 srcdiroption="--srcdir=$${topdir}/etc"; \
8570 libsrcdir="$$s/etc"; \
8571 $(SHELL) $${libsrcdir}/configure \
8572 $(HOST_CONFIGARGS) $${srcdiroption} \
8573 || exit 1
8574 @endif etc
8580 .PHONY: all-etc maybe-all-etc
8581 maybe-all-etc:
8582 @if gcc-bootstrap
8583 all-etc: stage_current
8584 @endif gcc-bootstrap
8585 @if etc
8586 TARGET-etc=all
8587 maybe-all-etc: all-etc
8588 all-etc: configure-etc
8589 @: $(MAKE); $(unstage)
8590 @r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(HOST_EXPORTS) \
8593 (cd $(HOST_SUBDIR)/etc && \
8594 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8595 @endif etc
8600 .PHONY: check-etc maybe-check-etc
8601 maybe-check-etc:
8602 @if etc
8603 maybe-check-etc: check-etc
8605 check-etc:
8606 @: $(MAKE); $(unstage)
8607 @r=`${PWD_COMMAND}`; export r; \
8608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8609 $(HOST_EXPORTS) \
8610 (cd $(HOST_SUBDIR)/etc && \
8611 $(MAKE) $(FLAGS_TO_PASS) check)
8613 @endif etc
8615 .PHONY: install-etc maybe-install-etc
8616 maybe-install-etc:
8617 @if etc
8618 maybe-install-etc: install-etc
8620 install-etc: installdirs
8621 @: $(MAKE); $(unstage)
8622 @r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 $(HOST_EXPORTS) \
8625 (cd $(HOST_SUBDIR)/etc && \
8626 $(MAKE) $(FLAGS_TO_PASS) install)
8628 @endif etc
8630 # Other targets (info, dvi, etc.)
8632 .PHONY: maybe-info-etc info-etc
8633 maybe-info-etc:
8634 @if etc
8635 maybe-info-etc: info-etc
8637 info-etc: \
8638 configure-etc
8639 @: $(MAKE); $(unstage)
8640 @[ -f ./etc/Makefile ] || exit 0; \
8641 r=`${PWD_COMMAND}`; export r; \
8642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8643 $(HOST_EXPORTS) \
8644 for flag in $(EXTRA_HOST_FLAGS) ; do \
8645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8646 done; \
8647 echo "Doing info in etc" ; \
8648 (cd $(HOST_SUBDIR)/etc && \
8649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8651 "RANLIB=$${RANLIB}" \
8652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8653 info) \
8654 || exit 1
8656 @endif etc
8658 .PHONY: maybe-dvi-etc dvi-etc
8659 maybe-dvi-etc:
8660 @if etc
8661 maybe-dvi-etc: dvi-etc
8663 dvi-etc: \
8664 configure-etc
8665 @: $(MAKE); $(unstage)
8666 @[ -f ./etc/Makefile ] || exit 0; \
8667 r=`${PWD_COMMAND}`; export r; \
8668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8669 $(HOST_EXPORTS) \
8670 for flag in $(EXTRA_HOST_FLAGS) ; do \
8671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8672 done; \
8673 echo "Doing dvi in etc" ; \
8674 (cd $(HOST_SUBDIR)/etc && \
8675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8677 "RANLIB=$${RANLIB}" \
8678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8679 dvi) \
8680 || exit 1
8682 @endif etc
8684 .PHONY: maybe-html-etc html-etc
8685 maybe-html-etc:
8686 @if etc
8687 maybe-html-etc: html-etc
8689 html-etc: \
8690 configure-etc
8691 @: $(MAKE); $(unstage)
8692 @[ -f ./etc/Makefile ] || exit 0; \
8693 r=`${PWD_COMMAND}`; export r; \
8694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8695 $(HOST_EXPORTS) \
8696 for flag in $(EXTRA_HOST_FLAGS) ; do \
8697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8698 done; \
8699 echo "Doing html in etc" ; \
8700 (cd $(HOST_SUBDIR)/etc && \
8701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8703 "RANLIB=$${RANLIB}" \
8704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8705 html) \
8706 || exit 1
8708 @endif etc
8710 .PHONY: maybe-TAGS-etc TAGS-etc
8711 maybe-TAGS-etc:
8712 @if etc
8713 maybe-TAGS-etc: TAGS-etc
8715 TAGS-etc: \
8716 configure-etc
8717 @: $(MAKE); $(unstage)
8718 @[ -f ./etc/Makefile ] || exit 0; \
8719 r=`${PWD_COMMAND}`; export r; \
8720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8721 $(HOST_EXPORTS) \
8722 for flag in $(EXTRA_HOST_FLAGS) ; do \
8723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8724 done; \
8725 echo "Doing TAGS in etc" ; \
8726 (cd $(HOST_SUBDIR)/etc && \
8727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8729 "RANLIB=$${RANLIB}" \
8730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8731 TAGS) \
8732 || exit 1
8734 @endif etc
8736 .PHONY: maybe-install-info-etc install-info-etc
8737 maybe-install-info-etc:
8738 @if etc
8739 maybe-install-info-etc: install-info-etc
8741 install-info-etc: \
8742 configure-etc \
8743 info-etc
8744 @: $(MAKE); $(unstage)
8745 @[ -f ./etc/Makefile ] || exit 0; \
8746 r=`${PWD_COMMAND}`; export r; \
8747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8748 $(HOST_EXPORTS) \
8749 for flag in $(EXTRA_HOST_FLAGS) ; do \
8750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8751 done; \
8752 echo "Doing install-info in etc" ; \
8753 (cd $(HOST_SUBDIR)/etc && \
8754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8756 "RANLIB=$${RANLIB}" \
8757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8758 install-info) \
8759 || exit 1
8761 @endif etc
8763 .PHONY: maybe-install-html-etc install-html-etc
8764 maybe-install-html-etc:
8765 @if etc
8766 maybe-install-html-etc: install-html-etc
8768 install-html-etc: \
8769 configure-etc \
8770 html-etc
8771 @: $(MAKE); $(unstage)
8772 @[ -f ./etc/Makefile ] || exit 0; \
8773 r=`${PWD_COMMAND}`; export r; \
8774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8775 $(HOST_EXPORTS) \
8776 for flag in $(EXTRA_HOST_FLAGS) ; do \
8777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8778 done; \
8779 echo "Doing install-html in etc" ; \
8780 (cd $(HOST_SUBDIR)/etc && \
8781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8783 "RANLIB=$${RANLIB}" \
8784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8785 install-html) \
8786 || exit 1
8788 @endif etc
8790 .PHONY: maybe-installcheck-etc installcheck-etc
8791 maybe-installcheck-etc:
8792 @if etc
8793 maybe-installcheck-etc: installcheck-etc
8795 installcheck-etc: \
8796 configure-etc
8797 @: $(MAKE); $(unstage)
8798 @[ -f ./etc/Makefile ] || exit 0; \
8799 r=`${PWD_COMMAND}`; export r; \
8800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8801 $(HOST_EXPORTS) \
8802 for flag in $(EXTRA_HOST_FLAGS) ; do \
8803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8804 done; \
8805 echo "Doing installcheck in etc" ; \
8806 (cd $(HOST_SUBDIR)/etc && \
8807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8809 "RANLIB=$${RANLIB}" \
8810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8811 installcheck) \
8812 || exit 1
8814 @endif etc
8816 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8817 maybe-mostlyclean-etc:
8818 @if etc
8819 maybe-mostlyclean-etc: mostlyclean-etc
8821 mostlyclean-etc:
8822 @: $(MAKE); $(unstage)
8823 @[ -f ./etc/Makefile ] || exit 0; \
8824 r=`${PWD_COMMAND}`; export r; \
8825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8826 $(HOST_EXPORTS) \
8827 for flag in $(EXTRA_HOST_FLAGS) ; do \
8828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8829 done; \
8830 echo "Doing mostlyclean in etc" ; \
8831 (cd $(HOST_SUBDIR)/etc && \
8832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8834 "RANLIB=$${RANLIB}" \
8835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8836 mostlyclean) \
8837 || exit 1
8839 @endif etc
8841 .PHONY: maybe-clean-etc clean-etc
8842 maybe-clean-etc:
8843 @if etc
8844 maybe-clean-etc: clean-etc
8846 clean-etc:
8847 @: $(MAKE); $(unstage)
8848 @[ -f ./etc/Makefile ] || exit 0; \
8849 r=`${PWD_COMMAND}`; export r; \
8850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8851 $(HOST_EXPORTS) \
8852 for flag in $(EXTRA_HOST_FLAGS) ; do \
8853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8854 done; \
8855 echo "Doing clean in etc" ; \
8856 (cd $(HOST_SUBDIR)/etc && \
8857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8859 "RANLIB=$${RANLIB}" \
8860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8861 clean) \
8862 || exit 1
8864 @endif etc
8866 .PHONY: maybe-distclean-etc distclean-etc
8867 maybe-distclean-etc:
8868 @if etc
8869 maybe-distclean-etc: distclean-etc
8871 distclean-etc:
8872 @: $(MAKE); $(unstage)
8873 @[ -f ./etc/Makefile ] || exit 0; \
8874 r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 $(HOST_EXPORTS) \
8877 for flag in $(EXTRA_HOST_FLAGS) ; do \
8878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8879 done; \
8880 echo "Doing distclean in etc" ; \
8881 (cd $(HOST_SUBDIR)/etc && \
8882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8884 "RANLIB=$${RANLIB}" \
8885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8886 distclean) \
8887 || exit 1
8889 @endif etc
8891 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8892 maybe-maintainer-clean-etc:
8893 @if etc
8894 maybe-maintainer-clean-etc: maintainer-clean-etc
8896 maintainer-clean-etc:
8897 @: $(MAKE); $(unstage)
8898 @[ -f ./etc/Makefile ] || exit 0; \
8899 r=`${PWD_COMMAND}`; export r; \
8900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8901 $(HOST_EXPORTS) \
8902 for flag in $(EXTRA_HOST_FLAGS) ; do \
8903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8904 done; \
8905 echo "Doing maintainer-clean in etc" ; \
8906 (cd $(HOST_SUBDIR)/etc && \
8907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8909 "RANLIB=$${RANLIB}" \
8910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8911 maintainer-clean) \
8912 || exit 1
8914 @endif etc
8918 .PHONY: configure-fastjar maybe-configure-fastjar
8919 maybe-configure-fastjar:
8920 @if gcc-bootstrap
8921 configure-fastjar: stage_current
8922 @endif gcc-bootstrap
8923 @if fastjar
8924 maybe-configure-fastjar: configure-fastjar
8925 configure-fastjar:
8926 @: $(MAKE); $(unstage)
8927 @r=`${PWD_COMMAND}`; export r; \
8928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8929 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8931 $(HOST_EXPORTS) \
8932 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8933 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8934 case $(srcdir) in \
8935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8936 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8938 esac; \
8939 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8940 libsrcdir="$$s/fastjar"; \
8941 $(SHELL) $${libsrcdir}/configure \
8942 $(HOST_CONFIGARGS) $${srcdiroption} \
8943 || exit 1
8944 @endif fastjar
8950 .PHONY: all-fastjar maybe-all-fastjar
8951 maybe-all-fastjar:
8952 @if gcc-bootstrap
8953 all-fastjar: stage_current
8954 @endif gcc-bootstrap
8955 @if fastjar
8956 TARGET-fastjar=all
8957 maybe-all-fastjar: all-fastjar
8958 all-fastjar: configure-fastjar
8959 @: $(MAKE); $(unstage)
8960 @r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(HOST_EXPORTS) \
8963 (cd $(HOST_SUBDIR)/fastjar && \
8964 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8965 @endif fastjar
8970 .PHONY: check-fastjar maybe-check-fastjar
8971 maybe-check-fastjar:
8972 @if fastjar
8973 maybe-check-fastjar: check-fastjar
8975 # This module is only tested in a native toolchain.
8976 check-fastjar:
8977 @: $(MAKE); $(unstage)
8978 @if [ '$(host)' = '$(target)' ] ; then \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(HOST_EXPORTS) \
8982 (cd $(HOST_SUBDIR)/fastjar && \
8983 $(MAKE) $(FLAGS_TO_PASS) check); \
8986 @endif fastjar
8988 .PHONY: install-fastjar maybe-install-fastjar
8989 maybe-install-fastjar:
8990 @if fastjar
8991 maybe-install-fastjar: install-fastjar
8993 install-fastjar: installdirs
8994 @: $(MAKE); $(unstage)
8995 @r=`${PWD_COMMAND}`; export r; \
8996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8997 $(HOST_EXPORTS) \
8998 (cd $(HOST_SUBDIR)/fastjar && \
8999 $(MAKE) $(FLAGS_TO_PASS) install)
9001 @endif fastjar
9003 # Other targets (info, dvi, etc.)
9005 .PHONY: maybe-info-fastjar info-fastjar
9006 maybe-info-fastjar:
9007 @if fastjar
9008 maybe-info-fastjar: info-fastjar
9010 info-fastjar: \
9011 configure-fastjar
9012 @: $(MAKE); $(unstage)
9013 @[ -f ./fastjar/Makefile ] || exit 0; \
9014 r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 $(HOST_EXPORTS) \
9017 for flag in $(EXTRA_HOST_FLAGS) ; do \
9018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9019 done; \
9020 echo "Doing info in fastjar" ; \
9021 (cd $(HOST_SUBDIR)/fastjar && \
9022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9024 "RANLIB=$${RANLIB}" \
9025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9026 info) \
9027 || exit 1
9029 @endif fastjar
9031 .PHONY: maybe-dvi-fastjar dvi-fastjar
9032 maybe-dvi-fastjar:
9033 @if fastjar
9034 maybe-dvi-fastjar: dvi-fastjar
9036 dvi-fastjar: \
9037 configure-fastjar
9038 @: $(MAKE); $(unstage)
9039 @[ -f ./fastjar/Makefile ] || exit 0; \
9040 r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 $(HOST_EXPORTS) \
9043 for flag in $(EXTRA_HOST_FLAGS) ; do \
9044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9045 done; \
9046 echo "Doing dvi in fastjar" ; \
9047 (cd $(HOST_SUBDIR)/fastjar && \
9048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9050 "RANLIB=$${RANLIB}" \
9051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9052 dvi) \
9053 || exit 1
9055 @endif fastjar
9057 .PHONY: maybe-html-fastjar html-fastjar
9058 maybe-html-fastjar:
9059 @if fastjar
9060 maybe-html-fastjar: html-fastjar
9062 html-fastjar: \
9063 configure-fastjar
9064 @: $(MAKE); $(unstage)
9065 @[ -f ./fastjar/Makefile ] || exit 0; \
9066 r=`${PWD_COMMAND}`; export r; \
9067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9068 $(HOST_EXPORTS) \
9069 for flag in $(EXTRA_HOST_FLAGS) ; do \
9070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9071 done; \
9072 echo "Doing html in fastjar" ; \
9073 (cd $(HOST_SUBDIR)/fastjar && \
9074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9076 "RANLIB=$${RANLIB}" \
9077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9078 html) \
9079 || exit 1
9081 @endif fastjar
9083 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9084 maybe-TAGS-fastjar:
9085 @if fastjar
9086 maybe-TAGS-fastjar: TAGS-fastjar
9088 TAGS-fastjar: \
9089 configure-fastjar
9090 @: $(MAKE); $(unstage)
9091 @[ -f ./fastjar/Makefile ] || exit 0; \
9092 r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9094 $(HOST_EXPORTS) \
9095 for flag in $(EXTRA_HOST_FLAGS) ; do \
9096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9097 done; \
9098 echo "Doing TAGS in fastjar" ; \
9099 (cd $(HOST_SUBDIR)/fastjar && \
9100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9102 "RANLIB=$${RANLIB}" \
9103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9104 TAGS) \
9105 || exit 1
9107 @endif fastjar
9109 .PHONY: maybe-install-info-fastjar install-info-fastjar
9110 maybe-install-info-fastjar:
9111 @if fastjar
9112 maybe-install-info-fastjar: install-info-fastjar
9114 install-info-fastjar: \
9115 configure-fastjar \
9116 info-fastjar
9117 @: $(MAKE); $(unstage)
9118 @[ -f ./fastjar/Makefile ] || exit 0; \
9119 r=`${PWD_COMMAND}`; export r; \
9120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9121 $(HOST_EXPORTS) \
9122 for flag in $(EXTRA_HOST_FLAGS) ; do \
9123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9124 done; \
9125 echo "Doing install-info in fastjar" ; \
9126 (cd $(HOST_SUBDIR)/fastjar && \
9127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9129 "RANLIB=$${RANLIB}" \
9130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9131 install-info) \
9132 || exit 1
9134 @endif fastjar
9136 .PHONY: maybe-install-html-fastjar install-html-fastjar
9137 maybe-install-html-fastjar:
9138 @if fastjar
9139 maybe-install-html-fastjar: install-html-fastjar
9141 install-html-fastjar: \
9142 configure-fastjar \
9143 html-fastjar
9144 @: $(MAKE); $(unstage)
9145 @[ -f ./fastjar/Makefile ] || exit 0; \
9146 r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 for flag in $(EXTRA_HOST_FLAGS) ; do \
9150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9151 done; \
9152 echo "Doing install-html in fastjar" ; \
9153 (cd $(HOST_SUBDIR)/fastjar && \
9154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9156 "RANLIB=$${RANLIB}" \
9157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9158 install-html) \
9159 || exit 1
9161 @endif fastjar
9163 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9164 maybe-installcheck-fastjar:
9165 @if fastjar
9166 maybe-installcheck-fastjar: installcheck-fastjar
9168 installcheck-fastjar: \
9169 configure-fastjar
9170 @: $(MAKE); $(unstage)
9171 @[ -f ./fastjar/Makefile ] || exit 0; \
9172 r=`${PWD_COMMAND}`; export r; \
9173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9174 $(HOST_EXPORTS) \
9175 for flag in $(EXTRA_HOST_FLAGS) ; do \
9176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9177 done; \
9178 echo "Doing installcheck in fastjar" ; \
9179 (cd $(HOST_SUBDIR)/fastjar && \
9180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9182 "RANLIB=$${RANLIB}" \
9183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9184 installcheck) \
9185 || exit 1
9187 @endif fastjar
9189 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9190 maybe-mostlyclean-fastjar:
9191 @if fastjar
9192 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9194 mostlyclean-fastjar:
9195 @: $(MAKE); $(unstage)
9196 @[ -f ./fastjar/Makefile ] || exit 0; \
9197 r=`${PWD_COMMAND}`; export r; \
9198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9199 $(HOST_EXPORTS) \
9200 for flag in $(EXTRA_HOST_FLAGS) ; do \
9201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9202 done; \
9203 echo "Doing mostlyclean in fastjar" ; \
9204 (cd $(HOST_SUBDIR)/fastjar && \
9205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9207 "RANLIB=$${RANLIB}" \
9208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9209 mostlyclean) \
9210 || exit 1
9212 @endif fastjar
9214 .PHONY: maybe-clean-fastjar clean-fastjar
9215 maybe-clean-fastjar:
9216 @if fastjar
9217 maybe-clean-fastjar: clean-fastjar
9219 clean-fastjar:
9220 @: $(MAKE); $(unstage)
9221 @[ -f ./fastjar/Makefile ] || exit 0; \
9222 r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 $(HOST_EXPORTS) \
9225 for flag in $(EXTRA_HOST_FLAGS) ; do \
9226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9227 done; \
9228 echo "Doing clean in fastjar" ; \
9229 (cd $(HOST_SUBDIR)/fastjar && \
9230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9232 "RANLIB=$${RANLIB}" \
9233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9234 clean) \
9235 || exit 1
9237 @endif fastjar
9239 .PHONY: maybe-distclean-fastjar distclean-fastjar
9240 maybe-distclean-fastjar:
9241 @if fastjar
9242 maybe-distclean-fastjar: distclean-fastjar
9244 distclean-fastjar:
9245 @: $(MAKE); $(unstage)
9246 @[ -f ./fastjar/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 $(HOST_EXPORTS) \
9250 for flag in $(EXTRA_HOST_FLAGS) ; do \
9251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9252 done; \
9253 echo "Doing distclean in fastjar" ; \
9254 (cd $(HOST_SUBDIR)/fastjar && \
9255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9257 "RANLIB=$${RANLIB}" \
9258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9259 distclean) \
9260 || exit 1
9262 @endif fastjar
9264 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9265 maybe-maintainer-clean-fastjar:
9266 @if fastjar
9267 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9269 maintainer-clean-fastjar:
9270 @: $(MAKE); $(unstage)
9271 @[ -f ./fastjar/Makefile ] || exit 0; \
9272 r=`${PWD_COMMAND}`; export r; \
9273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9274 $(HOST_EXPORTS) \
9275 for flag in $(EXTRA_HOST_FLAGS) ; do \
9276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9277 done; \
9278 echo "Doing maintainer-clean in fastjar" ; \
9279 (cd $(HOST_SUBDIR)/fastjar && \
9280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9282 "RANLIB=$${RANLIB}" \
9283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9284 maintainer-clean) \
9285 || exit 1
9287 @endif fastjar
9291 .PHONY: configure-fileutils maybe-configure-fileutils
9292 maybe-configure-fileutils:
9293 @if gcc-bootstrap
9294 configure-fileutils: stage_current
9295 @endif gcc-bootstrap
9296 @if fileutils
9297 maybe-configure-fileutils: configure-fileutils
9298 configure-fileutils:
9299 @: $(MAKE); $(unstage)
9300 @r=`${PWD_COMMAND}`; export r; \
9301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9304 $(HOST_EXPORTS) \
9305 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9306 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9307 case $(srcdir) in \
9308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9309 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9311 esac; \
9312 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9313 libsrcdir="$$s/fileutils"; \
9314 $(SHELL) $${libsrcdir}/configure \
9315 $(HOST_CONFIGARGS) $${srcdiroption} \
9316 || exit 1
9317 @endif fileutils
9323 .PHONY: all-fileutils maybe-all-fileutils
9324 maybe-all-fileutils:
9325 @if gcc-bootstrap
9326 all-fileutils: stage_current
9327 @endif gcc-bootstrap
9328 @if fileutils
9329 TARGET-fileutils=all
9330 maybe-all-fileutils: all-fileutils
9331 all-fileutils: configure-fileutils
9332 @: $(MAKE); $(unstage)
9333 @r=`${PWD_COMMAND}`; export r; \
9334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9335 $(HOST_EXPORTS) \
9336 (cd $(HOST_SUBDIR)/fileutils && \
9337 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9338 @endif fileutils
9343 .PHONY: check-fileutils maybe-check-fileutils
9344 maybe-check-fileutils:
9345 @if fileutils
9346 maybe-check-fileutils: check-fileutils
9348 check-fileutils:
9349 @: $(MAKE); $(unstage)
9350 @r=`${PWD_COMMAND}`; export r; \
9351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 $(HOST_EXPORTS) \
9353 (cd $(HOST_SUBDIR)/fileutils && \
9354 $(MAKE) $(FLAGS_TO_PASS) check)
9356 @endif fileutils
9358 .PHONY: install-fileutils maybe-install-fileutils
9359 maybe-install-fileutils:
9360 @if fileutils
9361 maybe-install-fileutils: install-fileutils
9363 install-fileutils: installdirs
9364 @: $(MAKE); $(unstage)
9365 @r=`${PWD_COMMAND}`; export r; \
9366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9367 $(HOST_EXPORTS) \
9368 (cd $(HOST_SUBDIR)/fileutils && \
9369 $(MAKE) $(FLAGS_TO_PASS) install)
9371 @endif fileutils
9373 # Other targets (info, dvi, etc.)
9375 .PHONY: maybe-info-fileutils info-fileutils
9376 maybe-info-fileutils:
9377 @if fileutils
9378 maybe-info-fileutils: info-fileutils
9380 info-fileutils: \
9381 configure-fileutils
9382 @: $(MAKE); $(unstage)
9383 @[ -f ./fileutils/Makefile ] || exit 0; \
9384 r=`${PWD_COMMAND}`; export r; \
9385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9386 $(HOST_EXPORTS) \
9387 for flag in $(EXTRA_HOST_FLAGS) ; do \
9388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9389 done; \
9390 echo "Doing info in fileutils" ; \
9391 (cd $(HOST_SUBDIR)/fileutils && \
9392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9394 "RANLIB=$${RANLIB}" \
9395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9396 info) \
9397 || exit 1
9399 @endif fileutils
9401 .PHONY: maybe-dvi-fileutils dvi-fileutils
9402 maybe-dvi-fileutils:
9403 @if fileutils
9404 maybe-dvi-fileutils: dvi-fileutils
9406 dvi-fileutils: \
9407 configure-fileutils
9408 @: $(MAKE); $(unstage)
9409 @[ -f ./fileutils/Makefile ] || exit 0; \
9410 r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 $(HOST_EXPORTS) \
9413 for flag in $(EXTRA_HOST_FLAGS) ; do \
9414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9415 done; \
9416 echo "Doing dvi in fileutils" ; \
9417 (cd $(HOST_SUBDIR)/fileutils && \
9418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9420 "RANLIB=$${RANLIB}" \
9421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9422 dvi) \
9423 || exit 1
9425 @endif fileutils
9427 .PHONY: maybe-html-fileutils html-fileutils
9428 maybe-html-fileutils:
9429 @if fileutils
9430 maybe-html-fileutils: html-fileutils
9432 html-fileutils: \
9433 configure-fileutils
9434 @: $(MAKE); $(unstage)
9435 @[ -f ./fileutils/Makefile ] || exit 0; \
9436 r=`${PWD_COMMAND}`; export r; \
9437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9438 $(HOST_EXPORTS) \
9439 for flag in $(EXTRA_HOST_FLAGS) ; do \
9440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9441 done; \
9442 echo "Doing html in fileutils" ; \
9443 (cd $(HOST_SUBDIR)/fileutils && \
9444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9446 "RANLIB=$${RANLIB}" \
9447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9448 html) \
9449 || exit 1
9451 @endif fileutils
9453 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9454 maybe-TAGS-fileutils:
9455 @if fileutils
9456 maybe-TAGS-fileutils: TAGS-fileutils
9458 TAGS-fileutils: \
9459 configure-fileutils
9460 @: $(MAKE); $(unstage)
9461 @[ -f ./fileutils/Makefile ] || exit 0; \
9462 r=`${PWD_COMMAND}`; export r; \
9463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9464 $(HOST_EXPORTS) \
9465 for flag in $(EXTRA_HOST_FLAGS) ; do \
9466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9467 done; \
9468 echo "Doing TAGS in fileutils" ; \
9469 (cd $(HOST_SUBDIR)/fileutils && \
9470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9472 "RANLIB=$${RANLIB}" \
9473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9474 TAGS) \
9475 || exit 1
9477 @endif fileutils
9479 .PHONY: maybe-install-info-fileutils install-info-fileutils
9480 maybe-install-info-fileutils:
9481 @if fileutils
9482 maybe-install-info-fileutils: install-info-fileutils
9484 install-info-fileutils: \
9485 configure-fileutils \
9486 info-fileutils
9487 @: $(MAKE); $(unstage)
9488 @[ -f ./fileutils/Makefile ] || exit 0; \
9489 r=`${PWD_COMMAND}`; export r; \
9490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9491 $(HOST_EXPORTS) \
9492 for flag in $(EXTRA_HOST_FLAGS) ; do \
9493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9494 done; \
9495 echo "Doing install-info in fileutils" ; \
9496 (cd $(HOST_SUBDIR)/fileutils && \
9497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9499 "RANLIB=$${RANLIB}" \
9500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9501 install-info) \
9502 || exit 1
9504 @endif fileutils
9506 .PHONY: maybe-install-html-fileutils install-html-fileutils
9507 maybe-install-html-fileutils:
9508 @if fileutils
9509 maybe-install-html-fileutils: install-html-fileutils
9511 install-html-fileutils: \
9512 configure-fileutils \
9513 html-fileutils
9514 @: $(MAKE); $(unstage)
9515 @[ -f ./fileutils/Makefile ] || exit 0; \
9516 r=`${PWD_COMMAND}`; export r; \
9517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9518 $(HOST_EXPORTS) \
9519 for flag in $(EXTRA_HOST_FLAGS) ; do \
9520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9521 done; \
9522 echo "Doing install-html in fileutils" ; \
9523 (cd $(HOST_SUBDIR)/fileutils && \
9524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9526 "RANLIB=$${RANLIB}" \
9527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9528 install-html) \
9529 || exit 1
9531 @endif fileutils
9533 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9534 maybe-installcheck-fileutils:
9535 @if fileutils
9536 maybe-installcheck-fileutils: installcheck-fileutils
9538 installcheck-fileutils: \
9539 configure-fileutils
9540 @: $(MAKE); $(unstage)
9541 @[ -f ./fileutils/Makefile ] || exit 0; \
9542 r=`${PWD_COMMAND}`; export r; \
9543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9544 $(HOST_EXPORTS) \
9545 for flag in $(EXTRA_HOST_FLAGS) ; do \
9546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9547 done; \
9548 echo "Doing installcheck in fileutils" ; \
9549 (cd $(HOST_SUBDIR)/fileutils && \
9550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552 "RANLIB=$${RANLIB}" \
9553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9554 installcheck) \
9555 || exit 1
9557 @endif fileutils
9559 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9560 maybe-mostlyclean-fileutils:
9561 @if fileutils
9562 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9564 mostlyclean-fileutils:
9565 @: $(MAKE); $(unstage)
9566 @[ -f ./fileutils/Makefile ] || exit 0; \
9567 r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 $(HOST_EXPORTS) \
9570 for flag in $(EXTRA_HOST_FLAGS) ; do \
9571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9572 done; \
9573 echo "Doing mostlyclean in fileutils" ; \
9574 (cd $(HOST_SUBDIR)/fileutils && \
9575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9577 "RANLIB=$${RANLIB}" \
9578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9579 mostlyclean) \
9580 || exit 1
9582 @endif fileutils
9584 .PHONY: maybe-clean-fileutils clean-fileutils
9585 maybe-clean-fileutils:
9586 @if fileutils
9587 maybe-clean-fileutils: clean-fileutils
9589 clean-fileutils:
9590 @: $(MAKE); $(unstage)
9591 @[ -f ./fileutils/Makefile ] || exit 0; \
9592 r=`${PWD_COMMAND}`; export r; \
9593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9594 $(HOST_EXPORTS) \
9595 for flag in $(EXTRA_HOST_FLAGS) ; do \
9596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9597 done; \
9598 echo "Doing clean in fileutils" ; \
9599 (cd $(HOST_SUBDIR)/fileutils && \
9600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9602 "RANLIB=$${RANLIB}" \
9603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9604 clean) \
9605 || exit 1
9607 @endif fileutils
9609 .PHONY: maybe-distclean-fileutils distclean-fileutils
9610 maybe-distclean-fileutils:
9611 @if fileutils
9612 maybe-distclean-fileutils: distclean-fileutils
9614 distclean-fileutils:
9615 @: $(MAKE); $(unstage)
9616 @[ -f ./fileutils/Makefile ] || exit 0; \
9617 r=`${PWD_COMMAND}`; export r; \
9618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9619 $(HOST_EXPORTS) \
9620 for flag in $(EXTRA_HOST_FLAGS) ; do \
9621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9622 done; \
9623 echo "Doing distclean in fileutils" ; \
9624 (cd $(HOST_SUBDIR)/fileutils && \
9625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9627 "RANLIB=$${RANLIB}" \
9628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9629 distclean) \
9630 || exit 1
9632 @endif fileutils
9634 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9635 maybe-maintainer-clean-fileutils:
9636 @if fileutils
9637 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9639 maintainer-clean-fileutils:
9640 @: $(MAKE); $(unstage)
9641 @[ -f ./fileutils/Makefile ] || exit 0; \
9642 r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 $(HOST_EXPORTS) \
9645 for flag in $(EXTRA_HOST_FLAGS) ; do \
9646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9647 done; \
9648 echo "Doing maintainer-clean in fileutils" ; \
9649 (cd $(HOST_SUBDIR)/fileutils && \
9650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9652 "RANLIB=$${RANLIB}" \
9653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9654 maintainer-clean) \
9655 || exit 1
9657 @endif fileutils
9661 .PHONY: configure-findutils maybe-configure-findutils
9662 maybe-configure-findutils:
9663 @if gcc-bootstrap
9664 configure-findutils: stage_current
9665 @endif gcc-bootstrap
9666 @if findutils
9667 maybe-configure-findutils: configure-findutils
9668 configure-findutils:
9669 @: $(MAKE); $(unstage)
9670 @r=`${PWD_COMMAND}`; export r; \
9671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9672 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9674 $(HOST_EXPORTS) \
9675 echo Configuring in $(HOST_SUBDIR)/findutils; \
9676 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9677 case $(srcdir) in \
9678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9679 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9681 esac; \
9682 srcdiroption="--srcdir=$${topdir}/findutils"; \
9683 libsrcdir="$$s/findutils"; \
9684 $(SHELL) $${libsrcdir}/configure \
9685 $(HOST_CONFIGARGS) $${srcdiroption} \
9686 || exit 1
9687 @endif findutils
9693 .PHONY: all-findutils maybe-all-findutils
9694 maybe-all-findutils:
9695 @if gcc-bootstrap
9696 all-findutils: stage_current
9697 @endif gcc-bootstrap
9698 @if findutils
9699 TARGET-findutils=all
9700 maybe-all-findutils: all-findutils
9701 all-findutils: configure-findutils
9702 @: $(MAKE); $(unstage)
9703 @r=`${PWD_COMMAND}`; export r; \
9704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9705 $(HOST_EXPORTS) \
9706 (cd $(HOST_SUBDIR)/findutils && \
9707 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9708 @endif findutils
9713 .PHONY: check-findutils maybe-check-findutils
9714 maybe-check-findutils:
9715 @if findutils
9716 maybe-check-findutils: check-findutils
9718 check-findutils:
9719 @: $(MAKE); $(unstage)
9720 @r=`${PWD_COMMAND}`; export r; \
9721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9722 $(HOST_EXPORTS) \
9723 (cd $(HOST_SUBDIR)/findutils && \
9724 $(MAKE) $(FLAGS_TO_PASS) check)
9726 @endif findutils
9728 .PHONY: install-findutils maybe-install-findutils
9729 maybe-install-findutils:
9730 @if findutils
9731 maybe-install-findutils: install-findutils
9733 install-findutils: installdirs
9734 @: $(MAKE); $(unstage)
9735 @r=`${PWD_COMMAND}`; export r; \
9736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9737 $(HOST_EXPORTS) \
9738 (cd $(HOST_SUBDIR)/findutils && \
9739 $(MAKE) $(FLAGS_TO_PASS) install)
9741 @endif findutils
9743 # Other targets (info, dvi, etc.)
9745 .PHONY: maybe-info-findutils info-findutils
9746 maybe-info-findutils:
9747 @if findutils
9748 maybe-info-findutils: info-findutils
9750 info-findutils: \
9751 configure-findutils
9752 @: $(MAKE); $(unstage)
9753 @[ -f ./findutils/Makefile ] || exit 0; \
9754 r=`${PWD_COMMAND}`; export r; \
9755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9756 $(HOST_EXPORTS) \
9757 for flag in $(EXTRA_HOST_FLAGS) ; do \
9758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9759 done; \
9760 echo "Doing info in findutils" ; \
9761 (cd $(HOST_SUBDIR)/findutils && \
9762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9764 "RANLIB=$${RANLIB}" \
9765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9766 info) \
9767 || exit 1
9769 @endif findutils
9771 .PHONY: maybe-dvi-findutils dvi-findutils
9772 maybe-dvi-findutils:
9773 @if findutils
9774 maybe-dvi-findutils: dvi-findutils
9776 dvi-findutils: \
9777 configure-findutils
9778 @: $(MAKE); $(unstage)
9779 @[ -f ./findutils/Makefile ] || exit 0; \
9780 r=`${PWD_COMMAND}`; export r; \
9781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9782 $(HOST_EXPORTS) \
9783 for flag in $(EXTRA_HOST_FLAGS) ; do \
9784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9785 done; \
9786 echo "Doing dvi in findutils" ; \
9787 (cd $(HOST_SUBDIR)/findutils && \
9788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9790 "RANLIB=$${RANLIB}" \
9791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9792 dvi) \
9793 || exit 1
9795 @endif findutils
9797 .PHONY: maybe-html-findutils html-findutils
9798 maybe-html-findutils:
9799 @if findutils
9800 maybe-html-findutils: html-findutils
9802 html-findutils: \
9803 configure-findutils
9804 @: $(MAKE); $(unstage)
9805 @[ -f ./findutils/Makefile ] || exit 0; \
9806 r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9808 $(HOST_EXPORTS) \
9809 for flag in $(EXTRA_HOST_FLAGS) ; do \
9810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9811 done; \
9812 echo "Doing html in findutils" ; \
9813 (cd $(HOST_SUBDIR)/findutils && \
9814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9816 "RANLIB=$${RANLIB}" \
9817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9818 html) \
9819 || exit 1
9821 @endif findutils
9823 .PHONY: maybe-TAGS-findutils TAGS-findutils
9824 maybe-TAGS-findutils:
9825 @if findutils
9826 maybe-TAGS-findutils: TAGS-findutils
9828 TAGS-findutils: \
9829 configure-findutils
9830 @: $(MAKE); $(unstage)
9831 @[ -f ./findutils/Makefile ] || exit 0; \
9832 r=`${PWD_COMMAND}`; export r; \
9833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9834 $(HOST_EXPORTS) \
9835 for flag in $(EXTRA_HOST_FLAGS) ; do \
9836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9837 done; \
9838 echo "Doing TAGS in findutils" ; \
9839 (cd $(HOST_SUBDIR)/findutils && \
9840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9842 "RANLIB=$${RANLIB}" \
9843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9844 TAGS) \
9845 || exit 1
9847 @endif findutils
9849 .PHONY: maybe-install-info-findutils install-info-findutils
9850 maybe-install-info-findutils:
9851 @if findutils
9852 maybe-install-info-findutils: install-info-findutils
9854 install-info-findutils: \
9855 configure-findutils \
9856 info-findutils
9857 @: $(MAKE); $(unstage)
9858 @[ -f ./findutils/Makefile ] || exit 0; \
9859 r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 $(HOST_EXPORTS) \
9862 for flag in $(EXTRA_HOST_FLAGS) ; do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 echo "Doing install-info in findutils" ; \
9866 (cd $(HOST_SUBDIR)/findutils && \
9867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9869 "RANLIB=$${RANLIB}" \
9870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9871 install-info) \
9872 || exit 1
9874 @endif findutils
9876 .PHONY: maybe-install-html-findutils install-html-findutils
9877 maybe-install-html-findutils:
9878 @if findutils
9879 maybe-install-html-findutils: install-html-findutils
9881 install-html-findutils: \
9882 configure-findutils \
9883 html-findutils
9884 @: $(MAKE); $(unstage)
9885 @[ -f ./findutils/Makefile ] || exit 0; \
9886 r=`${PWD_COMMAND}`; export r; \
9887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9888 $(HOST_EXPORTS) \
9889 for flag in $(EXTRA_HOST_FLAGS) ; do \
9890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9891 done; \
9892 echo "Doing install-html in findutils" ; \
9893 (cd $(HOST_SUBDIR)/findutils && \
9894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9896 "RANLIB=$${RANLIB}" \
9897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9898 install-html) \
9899 || exit 1
9901 @endif findutils
9903 .PHONY: maybe-installcheck-findutils installcheck-findutils
9904 maybe-installcheck-findutils:
9905 @if findutils
9906 maybe-installcheck-findutils: installcheck-findutils
9908 installcheck-findutils: \
9909 configure-findutils
9910 @: $(MAKE); $(unstage)
9911 @[ -f ./findutils/Makefile ] || exit 0; \
9912 r=`${PWD_COMMAND}`; export r; \
9913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9914 $(HOST_EXPORTS) \
9915 for flag in $(EXTRA_HOST_FLAGS) ; do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917 done; \
9918 echo "Doing installcheck in findutils" ; \
9919 (cd $(HOST_SUBDIR)/findutils && \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922 "RANLIB=$${RANLIB}" \
9923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9924 installcheck) \
9925 || exit 1
9927 @endif findutils
9929 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9930 maybe-mostlyclean-findutils:
9931 @if findutils
9932 maybe-mostlyclean-findutils: mostlyclean-findutils
9934 mostlyclean-findutils:
9935 @: $(MAKE); $(unstage)
9936 @[ -f ./findutils/Makefile ] || exit 0; \
9937 r=`${PWD_COMMAND}`; export r; \
9938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9939 $(HOST_EXPORTS) \
9940 for flag in $(EXTRA_HOST_FLAGS) ; do \
9941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9942 done; \
9943 echo "Doing mostlyclean in findutils" ; \
9944 (cd $(HOST_SUBDIR)/findutils && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947 "RANLIB=$${RANLIB}" \
9948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9949 mostlyclean) \
9950 || exit 1
9952 @endif findutils
9954 .PHONY: maybe-clean-findutils clean-findutils
9955 maybe-clean-findutils:
9956 @if findutils
9957 maybe-clean-findutils: clean-findutils
9959 clean-findutils:
9960 @: $(MAKE); $(unstage)
9961 @[ -f ./findutils/Makefile ] || exit 0; \
9962 r=`${PWD_COMMAND}`; export r; \
9963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9964 $(HOST_EXPORTS) \
9965 for flag in $(EXTRA_HOST_FLAGS) ; do \
9966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9967 done; \
9968 echo "Doing clean in findutils" ; \
9969 (cd $(HOST_SUBDIR)/findutils && \
9970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9972 "RANLIB=$${RANLIB}" \
9973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9974 clean) \
9975 || exit 1
9977 @endif findutils
9979 .PHONY: maybe-distclean-findutils distclean-findutils
9980 maybe-distclean-findutils:
9981 @if findutils
9982 maybe-distclean-findutils: distclean-findutils
9984 distclean-findutils:
9985 @: $(MAKE); $(unstage)
9986 @[ -f ./findutils/Makefile ] || exit 0; \
9987 r=`${PWD_COMMAND}`; export r; \
9988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9989 $(HOST_EXPORTS) \
9990 for flag in $(EXTRA_HOST_FLAGS) ; do \
9991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9992 done; \
9993 echo "Doing distclean in findutils" ; \
9994 (cd $(HOST_SUBDIR)/findutils && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9999 distclean) \
10000 || exit 1
10002 @endif findutils
10004 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10005 maybe-maintainer-clean-findutils:
10006 @if findutils
10007 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10009 maintainer-clean-findutils:
10010 @: $(MAKE); $(unstage)
10011 @[ -f ./findutils/Makefile ] || exit 0; \
10012 r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10014 $(HOST_EXPORTS) \
10015 for flag in $(EXTRA_HOST_FLAGS) ; do \
10016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10017 done; \
10018 echo "Doing maintainer-clean in findutils" ; \
10019 (cd $(HOST_SUBDIR)/findutils && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 maintainer-clean) \
10025 || exit 1
10027 @endif findutils
10031 .PHONY: configure-find maybe-configure-find
10032 maybe-configure-find:
10033 @if gcc-bootstrap
10034 configure-find: stage_current
10035 @endif gcc-bootstrap
10036 @if find
10037 maybe-configure-find: configure-find
10038 configure-find:
10039 @: $(MAKE); $(unstage)
10040 @r=`${PWD_COMMAND}`; export r; \
10041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10042 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10044 $(HOST_EXPORTS) \
10045 echo Configuring in $(HOST_SUBDIR)/find; \
10046 cd "$(HOST_SUBDIR)/find" || exit 1; \
10047 case $(srcdir) in \
10048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10049 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10051 esac; \
10052 srcdiroption="--srcdir=$${topdir}/find"; \
10053 libsrcdir="$$s/find"; \
10054 $(SHELL) $${libsrcdir}/configure \
10055 $(HOST_CONFIGARGS) $${srcdiroption} \
10056 || exit 1
10057 @endif find
10063 .PHONY: all-find maybe-all-find
10064 maybe-all-find:
10065 @if gcc-bootstrap
10066 all-find: stage_current
10067 @endif gcc-bootstrap
10068 @if find
10069 TARGET-find=all
10070 maybe-all-find: all-find
10071 all-find: configure-find
10072 @: $(MAKE); $(unstage)
10073 @r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10075 $(HOST_EXPORTS) \
10076 (cd $(HOST_SUBDIR)/find && \
10077 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10078 @endif find
10083 .PHONY: check-find maybe-check-find
10084 maybe-check-find:
10085 @if find
10086 maybe-check-find: check-find
10088 check-find:
10089 @: $(MAKE); $(unstage)
10090 @r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(HOST_EXPORTS) \
10093 (cd $(HOST_SUBDIR)/find && \
10094 $(MAKE) $(FLAGS_TO_PASS) check)
10096 @endif find
10098 .PHONY: install-find maybe-install-find
10099 maybe-install-find:
10100 @if find
10101 maybe-install-find: install-find
10103 install-find: installdirs
10104 @: $(MAKE); $(unstage)
10105 @r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(HOST_EXPORTS) \
10108 (cd $(HOST_SUBDIR)/find && \
10109 $(MAKE) $(FLAGS_TO_PASS) install)
10111 @endif find
10113 # Other targets (info, dvi, etc.)
10115 .PHONY: maybe-info-find info-find
10116 maybe-info-find:
10117 @if find
10118 maybe-info-find: info-find
10120 info-find: \
10121 configure-find
10122 @: $(MAKE); $(unstage)
10123 @[ -f ./find/Makefile ] || exit 0; \
10124 r=`${PWD_COMMAND}`; export r; \
10125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10126 $(HOST_EXPORTS) \
10127 for flag in $(EXTRA_HOST_FLAGS) ; do \
10128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10129 done; \
10130 echo "Doing info in find" ; \
10131 (cd $(HOST_SUBDIR)/find && \
10132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10134 "RANLIB=$${RANLIB}" \
10135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10136 info) \
10137 || exit 1
10139 @endif find
10141 .PHONY: maybe-dvi-find dvi-find
10142 maybe-dvi-find:
10143 @if find
10144 maybe-dvi-find: dvi-find
10146 dvi-find: \
10147 configure-find
10148 @: $(MAKE); $(unstage)
10149 @[ -f ./find/Makefile ] || exit 0; \
10150 r=`${PWD_COMMAND}`; export r; \
10151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10152 $(HOST_EXPORTS) \
10153 for flag in $(EXTRA_HOST_FLAGS) ; do \
10154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10155 done; \
10156 echo "Doing dvi in find" ; \
10157 (cd $(HOST_SUBDIR)/find && \
10158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10160 "RANLIB=$${RANLIB}" \
10161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10162 dvi) \
10163 || exit 1
10165 @endif find
10167 .PHONY: maybe-html-find html-find
10168 maybe-html-find:
10169 @if find
10170 maybe-html-find: html-find
10172 html-find: \
10173 configure-find
10174 @: $(MAKE); $(unstage)
10175 @[ -f ./find/Makefile ] || exit 0; \
10176 r=`${PWD_COMMAND}`; export r; \
10177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10178 $(HOST_EXPORTS) \
10179 for flag in $(EXTRA_HOST_FLAGS) ; do \
10180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10181 done; \
10182 echo "Doing html in find" ; \
10183 (cd $(HOST_SUBDIR)/find && \
10184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10186 "RANLIB=$${RANLIB}" \
10187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10188 html) \
10189 || exit 1
10191 @endif find
10193 .PHONY: maybe-TAGS-find TAGS-find
10194 maybe-TAGS-find:
10195 @if find
10196 maybe-TAGS-find: TAGS-find
10198 TAGS-find: \
10199 configure-find
10200 @: $(MAKE); $(unstage)
10201 @[ -f ./find/Makefile ] || exit 0; \
10202 r=`${PWD_COMMAND}`; export r; \
10203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10204 $(HOST_EXPORTS) \
10205 for flag in $(EXTRA_HOST_FLAGS) ; do \
10206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10207 done; \
10208 echo "Doing TAGS in find" ; \
10209 (cd $(HOST_SUBDIR)/find && \
10210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10212 "RANLIB=$${RANLIB}" \
10213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10214 TAGS) \
10215 || exit 1
10217 @endif find
10219 .PHONY: maybe-install-info-find install-info-find
10220 maybe-install-info-find:
10221 @if find
10222 maybe-install-info-find: install-info-find
10224 install-info-find: \
10225 configure-find \
10226 info-find
10227 @: $(MAKE); $(unstage)
10228 @[ -f ./find/Makefile ] || exit 0; \
10229 r=`${PWD_COMMAND}`; export r; \
10230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10231 $(HOST_EXPORTS) \
10232 for flag in $(EXTRA_HOST_FLAGS) ; do \
10233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10234 done; \
10235 echo "Doing install-info in find" ; \
10236 (cd $(HOST_SUBDIR)/find && \
10237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10239 "RANLIB=$${RANLIB}" \
10240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10241 install-info) \
10242 || exit 1
10244 @endif find
10246 .PHONY: maybe-install-html-find install-html-find
10247 maybe-install-html-find:
10248 @if find
10249 maybe-install-html-find: install-html-find
10251 install-html-find: \
10252 configure-find \
10253 html-find
10254 @: $(MAKE); $(unstage)
10255 @[ -f ./find/Makefile ] || exit 0; \
10256 r=`${PWD_COMMAND}`; export r; \
10257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10258 $(HOST_EXPORTS) \
10259 for flag in $(EXTRA_HOST_FLAGS) ; do \
10260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10261 done; \
10262 echo "Doing install-html in find" ; \
10263 (cd $(HOST_SUBDIR)/find && \
10264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10266 "RANLIB=$${RANLIB}" \
10267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10268 install-html) \
10269 || exit 1
10271 @endif find
10273 .PHONY: maybe-installcheck-find installcheck-find
10274 maybe-installcheck-find:
10275 @if find
10276 maybe-installcheck-find: installcheck-find
10278 installcheck-find: \
10279 configure-find
10280 @: $(MAKE); $(unstage)
10281 @[ -f ./find/Makefile ] || exit 0; \
10282 r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 $(HOST_EXPORTS) \
10285 for flag in $(EXTRA_HOST_FLAGS) ; do \
10286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10287 done; \
10288 echo "Doing installcheck in find" ; \
10289 (cd $(HOST_SUBDIR)/find && \
10290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10292 "RANLIB=$${RANLIB}" \
10293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10294 installcheck) \
10295 || exit 1
10297 @endif find
10299 .PHONY: maybe-mostlyclean-find mostlyclean-find
10300 maybe-mostlyclean-find:
10301 @if find
10302 maybe-mostlyclean-find: mostlyclean-find
10304 mostlyclean-find:
10305 @: $(MAKE); $(unstage)
10306 @[ -f ./find/Makefile ] || exit 0; \
10307 r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309 $(HOST_EXPORTS) \
10310 for flag in $(EXTRA_HOST_FLAGS) ; do \
10311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10312 done; \
10313 echo "Doing mostlyclean in find" ; \
10314 (cd $(HOST_SUBDIR)/find && \
10315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10317 "RANLIB=$${RANLIB}" \
10318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10319 mostlyclean) \
10320 || exit 1
10322 @endif find
10324 .PHONY: maybe-clean-find clean-find
10325 maybe-clean-find:
10326 @if find
10327 maybe-clean-find: clean-find
10329 clean-find:
10330 @: $(MAKE); $(unstage)
10331 @[ -f ./find/Makefile ] || exit 0; \
10332 r=`${PWD_COMMAND}`; export r; \
10333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10334 $(HOST_EXPORTS) \
10335 for flag in $(EXTRA_HOST_FLAGS) ; do \
10336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10337 done; \
10338 echo "Doing clean in find" ; \
10339 (cd $(HOST_SUBDIR)/find && \
10340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10342 "RANLIB=$${RANLIB}" \
10343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10344 clean) \
10345 || exit 1
10347 @endif find
10349 .PHONY: maybe-distclean-find distclean-find
10350 maybe-distclean-find:
10351 @if find
10352 maybe-distclean-find: distclean-find
10354 distclean-find:
10355 @: $(MAKE); $(unstage)
10356 @[ -f ./find/Makefile ] || exit 0; \
10357 r=`${PWD_COMMAND}`; export r; \
10358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10359 $(HOST_EXPORTS) \
10360 for flag in $(EXTRA_HOST_FLAGS) ; do \
10361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10362 done; \
10363 echo "Doing distclean in find" ; \
10364 (cd $(HOST_SUBDIR)/find && \
10365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10367 "RANLIB=$${RANLIB}" \
10368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10369 distclean) \
10370 || exit 1
10372 @endif find
10374 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10375 maybe-maintainer-clean-find:
10376 @if find
10377 maybe-maintainer-clean-find: maintainer-clean-find
10379 maintainer-clean-find:
10380 @: $(MAKE); $(unstage)
10381 @[ -f ./find/Makefile ] || exit 0; \
10382 r=`${PWD_COMMAND}`; export r; \
10383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10384 $(HOST_EXPORTS) \
10385 for flag in $(EXTRA_HOST_FLAGS) ; do \
10386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10387 done; \
10388 echo "Doing maintainer-clean in find" ; \
10389 (cd $(HOST_SUBDIR)/find && \
10390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10392 "RANLIB=$${RANLIB}" \
10393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10394 maintainer-clean) \
10395 || exit 1
10397 @endif find
10401 .PHONY: configure-fixincludes maybe-configure-fixincludes
10402 maybe-configure-fixincludes:
10403 @if gcc-bootstrap
10404 configure-fixincludes: stage_current
10405 @endif gcc-bootstrap
10406 @if fixincludes
10407 maybe-configure-fixincludes: configure-fixincludes
10408 configure-fixincludes:
10409 @: $(MAKE); $(unstage)
10410 @r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
10413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
10414 $(HOST_EXPORTS) \
10415 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
10416 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
10417 case $(srcdir) in \
10418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10419 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
10420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10421 esac; \
10422 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
10423 libsrcdir="$$s/fixincludes"; \
10424 $(SHELL) $${libsrcdir}/configure \
10425 $(HOST_CONFIGARGS) $${srcdiroption} \
10426 || exit 1
10427 @endif fixincludes
10433 .PHONY: all-fixincludes maybe-all-fixincludes
10434 maybe-all-fixincludes:
10435 @if gcc-bootstrap
10436 all-fixincludes: stage_current
10437 @endif gcc-bootstrap
10438 @if fixincludes
10439 TARGET-fixincludes=all
10440 maybe-all-fixincludes: all-fixincludes
10441 all-fixincludes: configure-fixincludes
10442 @: $(MAKE); $(unstage)
10443 @r=`${PWD_COMMAND}`; export r; \
10444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10445 $(HOST_EXPORTS) \
10446 (cd $(HOST_SUBDIR)/fixincludes && \
10447 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
10448 @endif fixincludes
10453 .PHONY: check-fixincludes maybe-check-fixincludes
10454 maybe-check-fixincludes:
10455 @if fixincludes
10456 maybe-check-fixincludes: check-fixincludes
10458 check-fixincludes:
10459 @: $(MAKE); $(unstage)
10460 @r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(HOST_EXPORTS) \
10463 (cd $(HOST_SUBDIR)/fixincludes && \
10464 $(MAKE) $(FLAGS_TO_PASS) check)
10466 @endif fixincludes
10468 .PHONY: install-fixincludes maybe-install-fixincludes
10469 maybe-install-fixincludes:
10470 @if fixincludes
10471 maybe-install-fixincludes: install-fixincludes
10473 install-fixincludes: installdirs
10474 @: $(MAKE); $(unstage)
10475 @r=`${PWD_COMMAND}`; export r; \
10476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 $(HOST_EXPORTS) \
10478 (cd $(HOST_SUBDIR)/fixincludes && \
10479 $(MAKE) $(FLAGS_TO_PASS) install)
10481 @endif fixincludes
10483 # Other targets (info, dvi, etc.)
10485 .PHONY: maybe-info-fixincludes info-fixincludes
10486 maybe-info-fixincludes:
10487 @if fixincludes
10488 maybe-info-fixincludes: info-fixincludes
10490 # fixincludes doesn't support info.
10491 info-fixincludes:
10493 @endif fixincludes
10495 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10496 maybe-dvi-fixincludes:
10497 @if fixincludes
10498 maybe-dvi-fixincludes: dvi-fixincludes
10500 # fixincludes doesn't support dvi.
10501 dvi-fixincludes:
10503 @endif fixincludes
10505 .PHONY: maybe-html-fixincludes html-fixincludes
10506 maybe-html-fixincludes:
10507 @if fixincludes
10508 maybe-html-fixincludes: html-fixincludes
10510 html-fixincludes: \
10511 configure-fixincludes
10512 @: $(MAKE); $(unstage)
10513 @[ -f ./fixincludes/Makefile ] || exit 0; \
10514 r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 $(HOST_EXPORTS) \
10517 for flag in $(EXTRA_HOST_FLAGS) ; do \
10518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10519 done; \
10520 echo "Doing html in fixincludes" ; \
10521 (cd $(HOST_SUBDIR)/fixincludes && \
10522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10524 "RANLIB=$${RANLIB}" \
10525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10526 html) \
10527 || exit 1
10529 @endif fixincludes
10531 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10532 maybe-TAGS-fixincludes:
10533 @if fixincludes
10534 maybe-TAGS-fixincludes: TAGS-fixincludes
10536 # fixincludes doesn't support TAGS.
10537 TAGS-fixincludes:
10539 @endif fixincludes
10541 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10542 maybe-install-info-fixincludes:
10543 @if fixincludes
10544 maybe-install-info-fixincludes: install-info-fixincludes
10546 # fixincludes doesn't support install-info.
10547 install-info-fixincludes:
10549 @endif fixincludes
10551 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10552 maybe-install-html-fixincludes:
10553 @if fixincludes
10554 maybe-install-html-fixincludes: install-html-fixincludes
10556 install-html-fixincludes: \
10557 configure-fixincludes \
10558 html-fixincludes
10559 @: $(MAKE); $(unstage)
10560 @[ -f ./fixincludes/Makefile ] || exit 0; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(HOST_EXPORTS) \
10564 for flag in $(EXTRA_HOST_FLAGS) ; do \
10565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10566 done; \
10567 echo "Doing install-html in fixincludes" ; \
10568 (cd $(HOST_SUBDIR)/fixincludes && \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10571 "RANLIB=$${RANLIB}" \
10572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10573 install-html) \
10574 || exit 1
10576 @endif fixincludes
10578 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10579 maybe-installcheck-fixincludes:
10580 @if fixincludes
10581 maybe-installcheck-fixincludes: installcheck-fixincludes
10583 # fixincludes doesn't support installcheck.
10584 installcheck-fixincludes:
10586 @endif fixincludes
10588 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10589 maybe-mostlyclean-fixincludes:
10590 @if fixincludes
10591 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10593 mostlyclean-fixincludes:
10594 @: $(MAKE); $(unstage)
10595 @[ -f ./fixincludes/Makefile ] || exit 0; \
10596 r=`${PWD_COMMAND}`; export r; \
10597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10598 $(HOST_EXPORTS) \
10599 for flag in $(EXTRA_HOST_FLAGS) ; do \
10600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10601 done; \
10602 echo "Doing mostlyclean in fixincludes" ; \
10603 (cd $(HOST_SUBDIR)/fixincludes && \
10604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10606 "RANLIB=$${RANLIB}" \
10607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10608 mostlyclean) \
10609 || exit 1
10611 @endif fixincludes
10613 .PHONY: maybe-clean-fixincludes clean-fixincludes
10614 maybe-clean-fixincludes:
10615 @if fixincludes
10616 maybe-clean-fixincludes: clean-fixincludes
10618 clean-fixincludes:
10619 @: $(MAKE); $(unstage)
10620 @[ -f ./fixincludes/Makefile ] || exit 0; \
10621 r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10623 $(HOST_EXPORTS) \
10624 for flag in $(EXTRA_HOST_FLAGS) ; do \
10625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10626 done; \
10627 echo "Doing clean in fixincludes" ; \
10628 (cd $(HOST_SUBDIR)/fixincludes && \
10629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10631 "RANLIB=$${RANLIB}" \
10632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10633 clean) \
10634 || exit 1
10636 @endif fixincludes
10638 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10639 maybe-distclean-fixincludes:
10640 @if fixincludes
10641 maybe-distclean-fixincludes: distclean-fixincludes
10643 distclean-fixincludes:
10644 @: $(MAKE); $(unstage)
10645 @[ -f ./fixincludes/Makefile ] || exit 0; \
10646 r=`${PWD_COMMAND}`; export r; \
10647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10648 $(HOST_EXPORTS) \
10649 for flag in $(EXTRA_HOST_FLAGS) ; do \
10650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10651 done; \
10652 echo "Doing distclean in fixincludes" ; \
10653 (cd $(HOST_SUBDIR)/fixincludes && \
10654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10656 "RANLIB=$${RANLIB}" \
10657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10658 distclean) \
10659 || exit 1
10661 @endif fixincludes
10663 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10664 maybe-maintainer-clean-fixincludes:
10665 @if fixincludes
10666 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10668 maintainer-clean-fixincludes:
10669 @: $(MAKE); $(unstage)
10670 @[ -f ./fixincludes/Makefile ] || exit 0; \
10671 r=`${PWD_COMMAND}`; export r; \
10672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673 $(HOST_EXPORTS) \
10674 for flag in $(EXTRA_HOST_FLAGS) ; do \
10675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10676 done; \
10677 echo "Doing maintainer-clean in fixincludes" ; \
10678 (cd $(HOST_SUBDIR)/fixincludes && \
10679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10681 "RANLIB=$${RANLIB}" \
10682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10683 maintainer-clean) \
10684 || exit 1
10686 @endif fixincludes
10690 .PHONY: configure-flex maybe-configure-flex
10691 maybe-configure-flex:
10692 @if gcc-bootstrap
10693 configure-flex: stage_current
10694 @endif gcc-bootstrap
10695 @if flex
10696 maybe-configure-flex: configure-flex
10697 configure-flex:
10698 @: $(MAKE); $(unstage)
10699 @r=`${PWD_COMMAND}`; export r; \
10700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10701 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10703 $(HOST_EXPORTS) \
10704 echo Configuring in $(HOST_SUBDIR)/flex; \
10705 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10706 case $(srcdir) in \
10707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10708 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10710 esac; \
10711 srcdiroption="--srcdir=$${topdir}/flex"; \
10712 libsrcdir="$$s/flex"; \
10713 $(SHELL) $${libsrcdir}/configure \
10714 $(HOST_CONFIGARGS) $${srcdiroption} \
10715 || exit 1
10716 @endif flex
10722 .PHONY: all-flex maybe-all-flex
10723 maybe-all-flex:
10724 @if gcc-bootstrap
10725 all-flex: stage_current
10726 @endif gcc-bootstrap
10727 @if flex
10728 TARGET-flex=all
10729 maybe-all-flex: all-flex
10730 all-flex: configure-flex
10731 @: $(MAKE); $(unstage)
10732 @r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(HOST_EXPORTS) \
10735 (cd $(HOST_SUBDIR)/flex && \
10736 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10737 @endif flex
10742 .PHONY: check-flex maybe-check-flex
10743 maybe-check-flex:
10744 @if flex
10745 maybe-check-flex: check-flex
10747 # This module is only tested in a native toolchain.
10748 check-flex:
10749 @: $(MAKE); $(unstage)
10750 @if [ '$(host)' = '$(target)' ] ; then \
10751 r=`${PWD_COMMAND}`; export r; \
10752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753 $(HOST_EXPORTS) \
10754 (cd $(HOST_SUBDIR)/flex && \
10755 $(MAKE) $(FLAGS_TO_PASS) check); \
10758 @endif flex
10760 .PHONY: install-flex maybe-install-flex
10761 maybe-install-flex:
10762 @if flex
10763 maybe-install-flex: install-flex
10765 install-flex: installdirs
10766 @: $(MAKE); $(unstage)
10767 @r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(HOST_EXPORTS) \
10770 (cd $(HOST_SUBDIR)/flex && \
10771 $(MAKE) $(FLAGS_TO_PASS) install)
10773 @endif flex
10775 # Other targets (info, dvi, etc.)
10777 .PHONY: maybe-info-flex info-flex
10778 maybe-info-flex:
10779 @if flex
10780 maybe-info-flex: info-flex
10782 info-flex: \
10783 configure-flex
10784 @: $(MAKE); $(unstage)
10785 @[ -f ./flex/Makefile ] || exit 0; \
10786 r=`${PWD_COMMAND}`; export r; \
10787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10788 $(HOST_EXPORTS) \
10789 for flag in $(EXTRA_HOST_FLAGS) ; do \
10790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10791 done; \
10792 echo "Doing info in flex" ; \
10793 (cd $(HOST_SUBDIR)/flex && \
10794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10796 "RANLIB=$${RANLIB}" \
10797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10798 info) \
10799 || exit 1
10801 @endif flex
10803 .PHONY: maybe-dvi-flex dvi-flex
10804 maybe-dvi-flex:
10805 @if flex
10806 maybe-dvi-flex: dvi-flex
10808 dvi-flex: \
10809 configure-flex
10810 @: $(MAKE); $(unstage)
10811 @[ -f ./flex/Makefile ] || exit 0; \
10812 r=`${PWD_COMMAND}`; export r; \
10813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10814 $(HOST_EXPORTS) \
10815 for flag in $(EXTRA_HOST_FLAGS) ; do \
10816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10817 done; \
10818 echo "Doing dvi in flex" ; \
10819 (cd $(HOST_SUBDIR)/flex && \
10820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10822 "RANLIB=$${RANLIB}" \
10823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10824 dvi) \
10825 || exit 1
10827 @endif flex
10829 .PHONY: maybe-html-flex html-flex
10830 maybe-html-flex:
10831 @if flex
10832 maybe-html-flex: html-flex
10834 html-flex: \
10835 configure-flex
10836 @: $(MAKE); $(unstage)
10837 @[ -f ./flex/Makefile ] || exit 0; \
10838 r=`${PWD_COMMAND}`; export r; \
10839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10840 $(HOST_EXPORTS) \
10841 for flag in $(EXTRA_HOST_FLAGS) ; do \
10842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10843 done; \
10844 echo "Doing html in flex" ; \
10845 (cd $(HOST_SUBDIR)/flex && \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10848 "RANLIB=$${RANLIB}" \
10849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10850 html) \
10851 || exit 1
10853 @endif flex
10855 .PHONY: maybe-TAGS-flex TAGS-flex
10856 maybe-TAGS-flex:
10857 @if flex
10858 maybe-TAGS-flex: TAGS-flex
10860 TAGS-flex: \
10861 configure-flex
10862 @: $(MAKE); $(unstage)
10863 @[ -f ./flex/Makefile ] || exit 0; \
10864 r=`${PWD_COMMAND}`; export r; \
10865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10866 $(HOST_EXPORTS) \
10867 for flag in $(EXTRA_HOST_FLAGS) ; do \
10868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10869 done; \
10870 echo "Doing TAGS in flex" ; \
10871 (cd $(HOST_SUBDIR)/flex && \
10872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10874 "RANLIB=$${RANLIB}" \
10875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10876 TAGS) \
10877 || exit 1
10879 @endif flex
10881 .PHONY: maybe-install-info-flex install-info-flex
10882 maybe-install-info-flex:
10883 @if flex
10884 maybe-install-info-flex: install-info-flex
10886 install-info-flex: \
10887 configure-flex \
10888 info-flex
10889 @: $(MAKE); $(unstage)
10890 @[ -f ./flex/Makefile ] || exit 0; \
10891 r=`${PWD_COMMAND}`; export r; \
10892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10893 $(HOST_EXPORTS) \
10894 for flag in $(EXTRA_HOST_FLAGS) ; do \
10895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10896 done; \
10897 echo "Doing install-info in flex" ; \
10898 (cd $(HOST_SUBDIR)/flex && \
10899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10901 "RANLIB=$${RANLIB}" \
10902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10903 install-info) \
10904 || exit 1
10906 @endif flex
10908 .PHONY: maybe-install-html-flex install-html-flex
10909 maybe-install-html-flex:
10910 @if flex
10911 maybe-install-html-flex: install-html-flex
10913 install-html-flex: \
10914 configure-flex \
10915 html-flex
10916 @: $(MAKE); $(unstage)
10917 @[ -f ./flex/Makefile ] || exit 0; \
10918 r=`${PWD_COMMAND}`; export r; \
10919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10920 $(HOST_EXPORTS) \
10921 for flag in $(EXTRA_HOST_FLAGS) ; do \
10922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10923 done; \
10924 echo "Doing install-html in flex" ; \
10925 (cd $(HOST_SUBDIR)/flex && \
10926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10928 "RANLIB=$${RANLIB}" \
10929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10930 install-html) \
10931 || exit 1
10933 @endif flex
10935 .PHONY: maybe-installcheck-flex installcheck-flex
10936 maybe-installcheck-flex:
10937 @if flex
10938 maybe-installcheck-flex: installcheck-flex
10940 installcheck-flex: \
10941 configure-flex
10942 @: $(MAKE); $(unstage)
10943 @[ -f ./flex/Makefile ] || exit 0; \
10944 r=`${PWD_COMMAND}`; export r; \
10945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10946 $(HOST_EXPORTS) \
10947 for flag in $(EXTRA_HOST_FLAGS) ; do \
10948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10949 done; \
10950 echo "Doing installcheck in flex" ; \
10951 (cd $(HOST_SUBDIR)/flex && \
10952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10954 "RANLIB=$${RANLIB}" \
10955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10956 installcheck) \
10957 || exit 1
10959 @endif flex
10961 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10962 maybe-mostlyclean-flex:
10963 @if flex
10964 maybe-mostlyclean-flex: mostlyclean-flex
10966 mostlyclean-flex:
10967 @: $(MAKE); $(unstage)
10968 @[ -f ./flex/Makefile ] || exit 0; \
10969 r=`${PWD_COMMAND}`; export r; \
10970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10971 $(HOST_EXPORTS) \
10972 for flag in $(EXTRA_HOST_FLAGS) ; do \
10973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10974 done; \
10975 echo "Doing mostlyclean in flex" ; \
10976 (cd $(HOST_SUBDIR)/flex && \
10977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10979 "RANLIB=$${RANLIB}" \
10980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10981 mostlyclean) \
10982 || exit 1
10984 @endif flex
10986 .PHONY: maybe-clean-flex clean-flex
10987 maybe-clean-flex:
10988 @if flex
10989 maybe-clean-flex: clean-flex
10991 clean-flex:
10992 @: $(MAKE); $(unstage)
10993 @[ -f ./flex/Makefile ] || exit 0; \
10994 r=`${PWD_COMMAND}`; export r; \
10995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10996 $(HOST_EXPORTS) \
10997 for flag in $(EXTRA_HOST_FLAGS) ; do \
10998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10999 done; \
11000 echo "Doing clean in flex" ; \
11001 (cd $(HOST_SUBDIR)/flex && \
11002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11004 "RANLIB=$${RANLIB}" \
11005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11006 clean) \
11007 || exit 1
11009 @endif flex
11011 .PHONY: maybe-distclean-flex distclean-flex
11012 maybe-distclean-flex:
11013 @if flex
11014 maybe-distclean-flex: distclean-flex
11016 distclean-flex:
11017 @: $(MAKE); $(unstage)
11018 @[ -f ./flex/Makefile ] || exit 0; \
11019 r=`${PWD_COMMAND}`; export r; \
11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11021 $(HOST_EXPORTS) \
11022 for flag in $(EXTRA_HOST_FLAGS) ; do \
11023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11024 done; \
11025 echo "Doing distclean in flex" ; \
11026 (cd $(HOST_SUBDIR)/flex && \
11027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11029 "RANLIB=$${RANLIB}" \
11030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11031 distclean) \
11032 || exit 1
11034 @endif flex
11036 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11037 maybe-maintainer-clean-flex:
11038 @if flex
11039 maybe-maintainer-clean-flex: maintainer-clean-flex
11041 maintainer-clean-flex:
11042 @: $(MAKE); $(unstage)
11043 @[ -f ./flex/Makefile ] || exit 0; \
11044 r=`${PWD_COMMAND}`; export r; \
11045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11046 $(HOST_EXPORTS) \
11047 for flag in $(EXTRA_HOST_FLAGS) ; do \
11048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11049 done; \
11050 echo "Doing maintainer-clean in flex" ; \
11051 (cd $(HOST_SUBDIR)/flex && \
11052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11054 "RANLIB=$${RANLIB}" \
11055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11056 maintainer-clean) \
11057 || exit 1
11059 @endif flex
11063 .PHONY: configure-gas maybe-configure-gas
11064 maybe-configure-gas:
11065 @if gcc-bootstrap
11066 configure-gas: stage_current
11067 @endif gcc-bootstrap
11068 @if gas
11069 maybe-configure-gas: configure-gas
11070 configure-gas:
11071 @r=`${PWD_COMMAND}`; export r; \
11072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11073 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11075 $(HOST_EXPORTS) \
11076 echo Configuring in $(HOST_SUBDIR)/gas; \
11077 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11078 case $(srcdir) in \
11079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11080 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11082 esac; \
11083 srcdiroption="--srcdir=$${topdir}/gas"; \
11084 libsrcdir="$$s/gas"; \
11085 $(SHELL) $${libsrcdir}/configure \
11086 $(HOST_CONFIGARGS) $${srcdiroption} \
11087 || exit 1
11088 @endif gas
11092 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11093 maybe-configure-stage1-gas:
11094 @if gas-bootstrap
11095 maybe-configure-stage1-gas: configure-stage1-gas
11096 configure-stage1-gas:
11097 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11098 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11099 @r=`${PWD_COMMAND}`; export r; \
11100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11101 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11102 $(HOST_EXPORTS) \
11103 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11105 cd $(HOST_SUBDIR)/gas || exit 1; \
11106 case $(srcdir) in \
11107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11108 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11110 esac; \
11111 srcdiroption="--srcdir=$${topdir}/gas"; \
11112 libsrcdir="$$s/gas"; \
11113 $(SHELL) $${libsrcdir}/configure \
11114 $(HOST_CONFIGARGS) $${srcdiroption} \
11115 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11116 @endif gas-bootstrap
11118 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11119 maybe-configure-stage2-gas:
11120 @if gas-bootstrap
11121 maybe-configure-stage2-gas: configure-stage2-gas
11122 configure-stage2-gas:
11123 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11125 @r=`${PWD_COMMAND}`; export r; \
11126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11127 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11128 $(HOST_EXPORTS) \
11129 $(POSTSTAGE1_HOST_EXPORTS) \
11130 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11132 cd $(HOST_SUBDIR)/gas || exit 1; \
11133 case $(srcdir) in \
11134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11135 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11137 esac; \
11138 srcdiroption="--srcdir=$${topdir}/gas"; \
11139 libsrcdir="$$s/gas"; \
11140 $(SHELL) $${libsrcdir}/configure \
11141 $(HOST_CONFIGARGS) $${srcdiroption} \
11142 @stage2_werror_flag@
11143 @endif gas-bootstrap
11145 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11146 maybe-configure-stage3-gas:
11147 @if gas-bootstrap
11148 maybe-configure-stage3-gas: configure-stage3-gas
11149 configure-stage3-gas:
11150 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11152 @r=`${PWD_COMMAND}`; export r; \
11153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11154 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11155 $(HOST_EXPORTS) \
11156 $(POSTSTAGE1_HOST_EXPORTS) \
11157 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11159 cd $(HOST_SUBDIR)/gas || exit 1; \
11160 case $(srcdir) in \
11161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11162 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11164 esac; \
11165 srcdiroption="--srcdir=$${topdir}/gas"; \
11166 libsrcdir="$$s/gas"; \
11167 $(SHELL) $${libsrcdir}/configure \
11168 $(HOST_CONFIGARGS) $${srcdiroption} \
11169 @stage2_werror_flag@
11170 @endif gas-bootstrap
11172 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11173 maybe-configure-stage4-gas:
11174 @if gas-bootstrap
11175 maybe-configure-stage4-gas: configure-stage4-gas
11176 configure-stage4-gas:
11177 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11178 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11179 @r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11182 $(HOST_EXPORTS) \
11183 $(POSTSTAGE1_HOST_EXPORTS) \
11184 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11185 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11186 cd $(HOST_SUBDIR)/gas || exit 1; \
11187 case $(srcdir) in \
11188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11189 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11191 esac; \
11192 srcdiroption="--srcdir=$${topdir}/gas"; \
11193 libsrcdir="$$s/gas"; \
11194 $(SHELL) $${libsrcdir}/configure \
11195 $(HOST_CONFIGARGS) $${srcdiroption} \
11196 @stage2_werror_flag@
11197 @endif gas-bootstrap
11199 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11200 maybe-configure-stageprofile-gas:
11201 @if gas-bootstrap
11202 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11203 configure-stageprofile-gas:
11204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11206 @r=`${PWD_COMMAND}`; export r; \
11207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11208 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11209 $(HOST_EXPORTS) \
11210 $(POSTSTAGE1_HOST_EXPORTS) \
11211 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11213 cd $(HOST_SUBDIR)/gas || exit 1; \
11214 case $(srcdir) in \
11215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11216 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11218 esac; \
11219 srcdiroption="--srcdir=$${topdir}/gas"; \
11220 libsrcdir="$$s/gas"; \
11221 $(SHELL) $${libsrcdir}/configure \
11222 $(HOST_CONFIGARGS) $${srcdiroption} \
11223 @stage2_werror_flag@
11224 @endif gas-bootstrap
11226 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11227 maybe-configure-stagefeedback-gas:
11228 @if gas-bootstrap
11229 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11230 configure-stagefeedback-gas:
11231 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11233 @r=`${PWD_COMMAND}`; export r; \
11234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11236 $(HOST_EXPORTS) \
11237 $(POSTSTAGE1_HOST_EXPORTS) \
11238 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11240 cd $(HOST_SUBDIR)/gas || exit 1; \
11241 case $(srcdir) in \
11242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11243 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11245 esac; \
11246 srcdiroption="--srcdir=$${topdir}/gas"; \
11247 libsrcdir="$$s/gas"; \
11248 $(SHELL) $${libsrcdir}/configure \
11249 $(HOST_CONFIGARGS) $${srcdiroption} \
11250 @stage2_werror_flag@
11251 @endif gas-bootstrap
11257 .PHONY: all-gas maybe-all-gas
11258 maybe-all-gas:
11259 @if gcc-bootstrap
11260 all-gas: stage_current
11261 @endif gcc-bootstrap
11262 @if gas
11263 TARGET-gas=all
11264 maybe-all-gas: all-gas
11265 all-gas: configure-gas
11266 @r=`${PWD_COMMAND}`; export r; \
11267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11268 $(HOST_EXPORTS) \
11269 (cd $(HOST_SUBDIR)/gas && \
11270 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11271 @endif gas
11275 .PHONY: all-stage1-gas maybe-all-stage1-gas
11276 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11277 maybe-all-stage1-gas:
11278 maybe-clean-stage1-gas:
11279 @if gas-bootstrap
11280 maybe-all-stage1-gas: all-stage1-gas
11281 all-stage1: all-stage1-gas
11282 TARGET-stage1-gas = $(TARGET-gas)
11283 all-stage1-gas: configure-stage1-gas
11284 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11285 @r=`${PWD_COMMAND}`; export r; \
11286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11287 $(HOST_EXPORTS) \
11288 cd $(HOST_SUBDIR)/gas && \
11289 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11290 $(TARGET-stage1-gas)
11292 maybe-clean-stage1-gas: clean-stage1-gas
11293 clean-stage1: clean-stage1-gas
11294 clean-stage1-gas:
11295 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
11296 || exit 0 ; \
11297 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11298 cd $(HOST_SUBDIR)/gas && \
11299 $(MAKE) $(FLAGS_TO_PASS) \
11300 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11301 @endif gas-bootstrap
11304 .PHONY: all-stage2-gas maybe-all-stage2-gas
11305 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11306 maybe-all-stage2-gas:
11307 maybe-clean-stage2-gas:
11308 @if gas-bootstrap
11309 maybe-all-stage2-gas: all-stage2-gas
11310 all-stage2: all-stage2-gas
11311 TARGET-stage2-gas = $(TARGET-gas)
11312 all-stage2-gas: configure-stage2-gas
11313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11314 @r=`${PWD_COMMAND}`; export r; \
11315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11316 $(HOST_EXPORTS) \
11317 $(POSTSTAGE1_HOST_EXPORTS) \
11318 cd $(HOST_SUBDIR)/gas && \
11319 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11320 $(TARGET-stage2-gas)
11322 maybe-clean-stage2-gas: clean-stage2-gas
11323 clean-stage2: clean-stage2-gas
11324 clean-stage2-gas:
11325 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
11326 || exit 0 ; \
11327 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11328 cd $(HOST_SUBDIR)/gas && \
11329 $(MAKE) $(FLAGS_TO_PASS) \
11330 $(POSTSTAGE1_FLAGS_TO_PASS) \
11331 clean
11332 @endif gas-bootstrap
11335 .PHONY: all-stage3-gas maybe-all-stage3-gas
11336 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11337 maybe-all-stage3-gas:
11338 maybe-clean-stage3-gas:
11339 @if gas-bootstrap
11340 maybe-all-stage3-gas: all-stage3-gas
11341 all-stage3: all-stage3-gas
11342 TARGET-stage3-gas = $(TARGET-gas)
11343 all-stage3-gas: configure-stage3-gas
11344 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11345 @r=`${PWD_COMMAND}`; export r; \
11346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11347 $(HOST_EXPORTS) \
11348 $(POSTSTAGE1_HOST_EXPORTS) \
11349 cd $(HOST_SUBDIR)/gas && \
11350 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11351 $(TARGET-stage3-gas)
11353 maybe-clean-stage3-gas: clean-stage3-gas
11354 clean-stage3: clean-stage3-gas
11355 clean-stage3-gas:
11356 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
11357 || exit 0 ; \
11358 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11359 cd $(HOST_SUBDIR)/gas && \
11360 $(MAKE) $(FLAGS_TO_PASS) \
11361 $(POSTSTAGE1_FLAGS_TO_PASS) \
11362 clean
11363 @endif gas-bootstrap
11366 .PHONY: all-stage4-gas maybe-all-stage4-gas
11367 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11368 maybe-all-stage4-gas:
11369 maybe-clean-stage4-gas:
11370 @if gas-bootstrap
11371 maybe-all-stage4-gas: all-stage4-gas
11372 all-stage4: all-stage4-gas
11373 TARGET-stage4-gas = $(TARGET-gas)
11374 all-stage4-gas: configure-stage4-gas
11375 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11376 @r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11378 $(HOST_EXPORTS) \
11379 $(POSTSTAGE1_HOST_EXPORTS) \
11380 cd $(HOST_SUBDIR)/gas && \
11381 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11382 $(TARGET-stage4-gas)
11384 maybe-clean-stage4-gas: clean-stage4-gas
11385 clean-stage4: clean-stage4-gas
11386 clean-stage4-gas:
11387 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
11388 || exit 0 ; \
11389 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11390 cd $(HOST_SUBDIR)/gas && \
11391 $(MAKE) $(FLAGS_TO_PASS) \
11392 $(POSTSTAGE1_FLAGS_TO_PASS) \
11393 clean
11394 @endif gas-bootstrap
11397 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11398 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11399 maybe-all-stageprofile-gas:
11400 maybe-clean-stageprofile-gas:
11401 @if gas-bootstrap
11402 maybe-all-stageprofile-gas: all-stageprofile-gas
11403 all-stageprofile: all-stageprofile-gas
11404 TARGET-stageprofile-gas = $(TARGET-gas)
11405 all-stageprofile-gas: configure-stageprofile-gas
11406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11407 @r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 $(HOST_EXPORTS) \
11410 $(POSTSTAGE1_HOST_EXPORTS) \
11411 cd $(HOST_SUBDIR)/gas && \
11412 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
11413 $(TARGET-stageprofile-gas)
11415 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11416 clean-stageprofile: clean-stageprofile-gas
11417 clean-stageprofile-gas:
11418 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
11419 || exit 0 ; \
11420 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11421 cd $(HOST_SUBDIR)/gas && \
11422 $(MAKE) $(FLAGS_TO_PASS) \
11423 $(POSTSTAGE1_FLAGS_TO_PASS) \
11424 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
11425 @endif gas-bootstrap
11428 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11429 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11430 maybe-all-stagefeedback-gas:
11431 maybe-clean-stagefeedback-gas:
11432 @if gas-bootstrap
11433 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11434 all-stagefeedback: all-stagefeedback-gas
11435 TARGET-stagefeedback-gas = $(TARGET-gas)
11436 all-stagefeedback-gas: configure-stagefeedback-gas
11437 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11438 @r=`${PWD_COMMAND}`; export r; \
11439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11440 $(HOST_EXPORTS) \
11441 $(POSTSTAGE1_HOST_EXPORTS) \
11442 cd $(HOST_SUBDIR)/gas && \
11443 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
11444 $(TARGET-stagefeedback-gas)
11446 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11447 clean-stagefeedback: clean-stagefeedback-gas
11448 clean-stagefeedback-gas:
11449 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
11450 || exit 0 ; \
11451 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11452 cd $(HOST_SUBDIR)/gas && \
11453 $(MAKE) $(FLAGS_TO_PASS) \
11454 $(POSTSTAGE1_FLAGS_TO_PASS) \
11455 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
11456 @endif gas-bootstrap
11462 .PHONY: check-gas maybe-check-gas
11463 maybe-check-gas:
11464 @if gas
11465 maybe-check-gas: check-gas
11467 check-gas:
11468 @: $(MAKE); $(unstage)
11469 @r=`${PWD_COMMAND}`; export r; \
11470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11471 $(HOST_EXPORTS) \
11472 (cd $(HOST_SUBDIR)/gas && \
11473 $(MAKE) $(FLAGS_TO_PASS) check)
11475 @endif gas
11477 .PHONY: install-gas maybe-install-gas
11478 maybe-install-gas:
11479 @if gas
11480 maybe-install-gas: install-gas
11482 install-gas: installdirs
11483 @: $(MAKE); $(unstage)
11484 @r=`${PWD_COMMAND}`; export r; \
11485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11486 $(HOST_EXPORTS) \
11487 (cd $(HOST_SUBDIR)/gas && \
11488 $(MAKE) $(FLAGS_TO_PASS) install)
11490 @endif gas
11492 # Other targets (info, dvi, etc.)
11494 .PHONY: maybe-info-gas info-gas
11495 maybe-info-gas:
11496 @if gas
11497 maybe-info-gas: info-gas
11499 info-gas: \
11500 configure-gas
11501 @[ -f ./gas/Makefile ] || exit 0; \
11502 r=`${PWD_COMMAND}`; export r; \
11503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11504 $(HOST_EXPORTS) \
11505 for flag in $(EXTRA_HOST_FLAGS) ; do \
11506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11507 done; \
11508 echo "Doing info in gas" ; \
11509 (cd $(HOST_SUBDIR)/gas && \
11510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11512 "RANLIB=$${RANLIB}" \
11513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11514 info) \
11515 || exit 1
11517 @endif gas
11519 .PHONY: maybe-dvi-gas dvi-gas
11520 maybe-dvi-gas:
11521 @if gas
11522 maybe-dvi-gas: dvi-gas
11524 dvi-gas: \
11525 configure-gas
11526 @[ -f ./gas/Makefile ] || exit 0; \
11527 r=`${PWD_COMMAND}`; export r; \
11528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11529 $(HOST_EXPORTS) \
11530 for flag in $(EXTRA_HOST_FLAGS) ; do \
11531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11532 done; \
11533 echo "Doing dvi in gas" ; \
11534 (cd $(HOST_SUBDIR)/gas && \
11535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11537 "RANLIB=$${RANLIB}" \
11538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11539 dvi) \
11540 || exit 1
11542 @endif gas
11544 .PHONY: maybe-html-gas html-gas
11545 maybe-html-gas:
11546 @if gas
11547 maybe-html-gas: html-gas
11549 html-gas: \
11550 configure-gas
11551 @[ -f ./gas/Makefile ] || exit 0; \
11552 r=`${PWD_COMMAND}`; export r; \
11553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554 $(HOST_EXPORTS) \
11555 for flag in $(EXTRA_HOST_FLAGS) ; do \
11556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11557 done; \
11558 echo "Doing html in gas" ; \
11559 (cd $(HOST_SUBDIR)/gas && \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11562 "RANLIB=$${RANLIB}" \
11563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11564 html) \
11565 || exit 1
11567 @endif gas
11569 .PHONY: maybe-TAGS-gas TAGS-gas
11570 maybe-TAGS-gas:
11571 @if gas
11572 maybe-TAGS-gas: TAGS-gas
11574 TAGS-gas: \
11575 configure-gas
11576 @[ -f ./gas/Makefile ] || exit 0; \
11577 r=`${PWD_COMMAND}`; export r; \
11578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11579 $(HOST_EXPORTS) \
11580 for flag in $(EXTRA_HOST_FLAGS) ; do \
11581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11582 done; \
11583 echo "Doing TAGS in gas" ; \
11584 (cd $(HOST_SUBDIR)/gas && \
11585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11587 "RANLIB=$${RANLIB}" \
11588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11589 TAGS) \
11590 || exit 1
11592 @endif gas
11594 .PHONY: maybe-install-info-gas install-info-gas
11595 maybe-install-info-gas:
11596 @if gas
11597 maybe-install-info-gas: install-info-gas
11599 install-info-gas: \
11600 configure-gas \
11601 info-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 install-info 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 install-info) \
11616 || exit 1
11618 @endif gas
11620 .PHONY: maybe-install-html-gas install-html-gas
11621 maybe-install-html-gas:
11622 @if gas
11623 maybe-install-html-gas: install-html-gas
11625 install-html-gas: \
11626 configure-gas \
11627 html-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-html 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-html) \
11642 || exit 1
11644 @endif gas
11646 .PHONY: maybe-installcheck-gas installcheck-gas
11647 maybe-installcheck-gas:
11648 @if gas
11649 maybe-installcheck-gas: installcheck-gas
11651 installcheck-gas: \
11652 configure-gas
11653 @[ -f ./gas/Makefile ] || exit 0; \
11654 r=`${PWD_COMMAND}`; export r; \
11655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11656 $(HOST_EXPORTS) \
11657 for flag in $(EXTRA_HOST_FLAGS) ; do \
11658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11659 done; \
11660 echo "Doing installcheck in gas" ; \
11661 (cd $(HOST_SUBDIR)/gas && \
11662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664 "RANLIB=$${RANLIB}" \
11665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11666 installcheck) \
11667 || exit 1
11669 @endif gas
11671 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11672 maybe-mostlyclean-gas:
11673 @if gas
11674 maybe-mostlyclean-gas: mostlyclean-gas
11676 mostlyclean-gas:
11677 @[ -f ./gas/Makefile ] || exit 0; \
11678 r=`${PWD_COMMAND}`; export r; \
11679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11680 $(HOST_EXPORTS) \
11681 for flag in $(EXTRA_HOST_FLAGS) ; do \
11682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11683 done; \
11684 echo "Doing mostlyclean in gas" ; \
11685 (cd $(HOST_SUBDIR)/gas && \
11686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11688 "RANLIB=$${RANLIB}" \
11689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11690 mostlyclean) \
11691 || exit 1
11693 @endif gas
11695 .PHONY: maybe-clean-gas clean-gas
11696 maybe-clean-gas:
11697 @if gas
11698 maybe-clean-gas: clean-gas
11700 clean-gas:
11701 @[ -f ./gas/Makefile ] || exit 0; \
11702 r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11704 $(HOST_EXPORTS) \
11705 for flag in $(EXTRA_HOST_FLAGS) ; do \
11706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11707 done; \
11708 echo "Doing clean in gas" ; \
11709 (cd $(HOST_SUBDIR)/gas && \
11710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11712 "RANLIB=$${RANLIB}" \
11713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11714 clean) \
11715 || exit 1
11717 @endif gas
11719 .PHONY: maybe-distclean-gas distclean-gas
11720 maybe-distclean-gas:
11721 @if gas
11722 maybe-distclean-gas: distclean-gas
11724 distclean-gas:
11725 @[ -f ./gas/Makefile ] || exit 0; \
11726 r=`${PWD_COMMAND}`; export r; \
11727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11728 $(HOST_EXPORTS) \
11729 for flag in $(EXTRA_HOST_FLAGS) ; do \
11730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11731 done; \
11732 echo "Doing distclean in gas" ; \
11733 (cd $(HOST_SUBDIR)/gas && \
11734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11736 "RANLIB=$${RANLIB}" \
11737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11738 distclean) \
11739 || exit 1
11741 @endif gas
11743 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11744 maybe-maintainer-clean-gas:
11745 @if gas
11746 maybe-maintainer-clean-gas: maintainer-clean-gas
11748 maintainer-clean-gas:
11749 @[ -f ./gas/Makefile ] || exit 0; \
11750 r=`${PWD_COMMAND}`; export r; \
11751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11752 $(HOST_EXPORTS) \
11753 for flag in $(EXTRA_HOST_FLAGS) ; do \
11754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11755 done; \
11756 echo "Doing maintainer-clean in gas" ; \
11757 (cd $(HOST_SUBDIR)/gas && \
11758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11760 "RANLIB=$${RANLIB}" \
11761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11762 maintainer-clean) \
11763 || exit 1
11765 @endif gas
11769 .PHONY: configure-gcc maybe-configure-gcc
11770 maybe-configure-gcc:
11771 @if gcc-bootstrap
11772 configure-gcc: stage_current
11773 @endif gcc-bootstrap
11774 @if gcc
11775 maybe-configure-gcc: configure-gcc
11776 configure-gcc:
11777 @r=`${PWD_COMMAND}`; export r; \
11778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11779 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11781 $(HOST_EXPORTS) \
11782 echo Configuring in $(HOST_SUBDIR)/gcc; \
11783 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11784 case $(srcdir) in \
11785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11786 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11788 esac; \
11789 srcdiroption="--srcdir=$${topdir}/gcc"; \
11790 libsrcdir="$$s/gcc"; \
11791 $(SHELL) $${libsrcdir}/configure \
11792 $(HOST_CONFIGARGS) $${srcdiroption} \
11793 || exit 1
11794 @endif gcc
11798 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11799 maybe-configure-stage1-gcc:
11800 @if gcc-bootstrap
11801 maybe-configure-stage1-gcc: configure-stage1-gcc
11802 configure-stage1-gcc:
11803 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11805 @r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11808 $(HOST_EXPORTS) \
11809 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11811 cd $(HOST_SUBDIR)/gcc || exit 1; \
11812 case $(srcdir) in \
11813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11814 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11816 esac; \
11817 srcdiroption="--srcdir=$${topdir}/gcc"; \
11818 libsrcdir="$$s/gcc"; \
11819 $(SHELL) $${libsrcdir}/configure \
11820 $(HOST_CONFIGARGS) $${srcdiroption} \
11821 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11822 @endif gcc-bootstrap
11824 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11825 maybe-configure-stage2-gcc:
11826 @if gcc-bootstrap
11827 maybe-configure-stage2-gcc: configure-stage2-gcc
11828 configure-stage2-gcc:
11829 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-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 $(POSTSTAGE1_HOST_EXPORTS) \
11836 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11838 cd $(HOST_SUBDIR)/gcc || exit 1; \
11839 case $(srcdir) in \
11840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11841 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11843 esac; \
11844 srcdiroption="--srcdir=$${topdir}/gcc"; \
11845 libsrcdir="$$s/gcc"; \
11846 $(SHELL) $${libsrcdir}/configure \
11847 $(HOST_CONFIGARGS) $${srcdiroption} \
11848 @stage2_werror_flag@
11849 @endif gcc-bootstrap
11851 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11852 maybe-configure-stage3-gcc:
11853 @if gcc-bootstrap
11854 maybe-configure-stage3-gcc: configure-stage3-gcc
11855 configure-stage3-gcc:
11856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-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 3 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 @stage2_werror_flag@
11876 @endif gcc-bootstrap
11878 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11879 maybe-configure-stage4-gcc:
11880 @if gcc-bootstrap
11881 maybe-configure-stage4-gcc: configure-stage4-gcc
11882 configure-stage4-gcc:
11883 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11885 @r=`${PWD_COMMAND}`; export r; \
11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11887 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11888 $(HOST_EXPORTS) \
11889 $(POSTSTAGE1_HOST_EXPORTS) \
11890 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11892 cd $(HOST_SUBDIR)/gcc || exit 1; \
11893 case $(srcdir) in \
11894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11895 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11897 esac; \
11898 srcdiroption="--srcdir=$${topdir}/gcc"; \
11899 libsrcdir="$$s/gcc"; \
11900 $(SHELL) $${libsrcdir}/configure \
11901 $(HOST_CONFIGARGS) $${srcdiroption} \
11902 @stage2_werror_flag@
11903 @endif gcc-bootstrap
11905 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11906 maybe-configure-stageprofile-gcc:
11907 @if gcc-bootstrap
11908 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11909 configure-stageprofile-gcc:
11910 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11912 @r=`${PWD_COMMAND}`; export r; \
11913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11915 $(HOST_EXPORTS) \
11916 $(POSTSTAGE1_HOST_EXPORTS) \
11917 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11919 cd $(HOST_SUBDIR)/gcc || exit 1; \
11920 case $(srcdir) in \
11921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11922 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11924 esac; \
11925 srcdiroption="--srcdir=$${topdir}/gcc"; \
11926 libsrcdir="$$s/gcc"; \
11927 $(SHELL) $${libsrcdir}/configure \
11928 $(HOST_CONFIGARGS) $${srcdiroption} \
11929 @stage2_werror_flag@
11930 @endif gcc-bootstrap
11932 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11933 maybe-configure-stagefeedback-gcc:
11934 @if gcc-bootstrap
11935 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11936 configure-stagefeedback-gcc:
11937 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11939 @r=`${PWD_COMMAND}`; export r; \
11940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11941 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11942 $(HOST_EXPORTS) \
11943 $(POSTSTAGE1_HOST_EXPORTS) \
11944 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11946 cd $(HOST_SUBDIR)/gcc || exit 1; \
11947 case $(srcdir) in \
11948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11949 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11951 esac; \
11952 srcdiroption="--srcdir=$${topdir}/gcc"; \
11953 libsrcdir="$$s/gcc"; \
11954 $(SHELL) $${libsrcdir}/configure \
11955 $(HOST_CONFIGARGS) $${srcdiroption} \
11956 @stage2_werror_flag@
11957 @endif gcc-bootstrap
11963 .PHONY: all-gcc maybe-all-gcc
11964 maybe-all-gcc:
11965 @if gcc-bootstrap
11966 all-gcc: stage_current
11967 @endif gcc-bootstrap
11968 @if gcc
11969 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11970 maybe-all-gcc: all-gcc
11971 all-gcc: configure-gcc
11972 @r=`${PWD_COMMAND}`; export r; \
11973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11974 $(HOST_EXPORTS) \
11975 (cd $(HOST_SUBDIR)/gcc && \
11976 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11977 @endif gcc
11981 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11982 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11983 maybe-all-stage1-gcc:
11984 maybe-clean-stage1-gcc:
11985 @if gcc-bootstrap
11986 maybe-all-stage1-gcc: all-stage1-gcc
11987 all-stage1: all-stage1-gcc
11988 TARGET-stage1-gcc = $(TARGET-gcc)
11989 all-stage1-gcc: configure-stage1-gcc
11990 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11991 @r=`${PWD_COMMAND}`; export r; \
11992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11993 $(HOST_EXPORTS) \
11994 cd $(HOST_SUBDIR)/gcc && \
11995 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11996 $(TARGET-stage1-gcc)
11998 maybe-clean-stage1-gcc: clean-stage1-gcc
11999 clean-stage1: clean-stage1-gcc
12000 clean-stage1-gcc:
12001 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
12002 || exit 0 ; \
12003 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
12004 cd $(HOST_SUBDIR)/gcc && \
12005 $(MAKE) $(FLAGS_TO_PASS) \
12006 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12007 @endif gcc-bootstrap
12010 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12011 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12012 maybe-all-stage2-gcc:
12013 maybe-clean-stage2-gcc:
12014 @if gcc-bootstrap
12015 maybe-all-stage2-gcc: all-stage2-gcc
12016 all-stage2: all-stage2-gcc
12017 TARGET-stage2-gcc = $(TARGET-gcc)
12018 all-stage2-gcc: configure-stage2-gcc
12019 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12020 @r=`${PWD_COMMAND}`; export r; \
12021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12022 $(HOST_EXPORTS) \
12023 $(POSTSTAGE1_HOST_EXPORTS) \
12024 cd $(HOST_SUBDIR)/gcc && \
12025 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12026 $(TARGET-stage2-gcc)
12028 maybe-clean-stage2-gcc: clean-stage2-gcc
12029 clean-stage2: clean-stage2-gcc
12030 clean-stage2-gcc:
12031 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
12032 || exit 0 ; \
12033 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
12034 cd $(HOST_SUBDIR)/gcc && \
12035 $(MAKE) $(FLAGS_TO_PASS) \
12036 $(POSTSTAGE1_FLAGS_TO_PASS) \
12037 $(EXTRA_GCC_FLAGS) clean
12038 @endif gcc-bootstrap
12041 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12042 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12043 maybe-all-stage3-gcc:
12044 maybe-clean-stage3-gcc:
12045 @if gcc-bootstrap
12046 maybe-all-stage3-gcc: all-stage3-gcc
12047 all-stage3: all-stage3-gcc
12048 TARGET-stage3-gcc = $(TARGET-gcc)
12049 all-stage3-gcc: configure-stage3-gcc
12050 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12051 @r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 $(HOST_EXPORTS) \
12054 $(POSTSTAGE1_HOST_EXPORTS) \
12055 cd $(HOST_SUBDIR)/gcc && \
12056 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12057 $(TARGET-stage3-gcc)
12059 maybe-clean-stage3-gcc: clean-stage3-gcc
12060 clean-stage3: clean-stage3-gcc
12061 clean-stage3-gcc:
12062 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
12063 || exit 0 ; \
12064 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
12065 cd $(HOST_SUBDIR)/gcc && \
12066 $(MAKE) $(FLAGS_TO_PASS) \
12067 $(POSTSTAGE1_FLAGS_TO_PASS) \
12068 $(EXTRA_GCC_FLAGS) clean
12069 @endif gcc-bootstrap
12072 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12073 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12074 maybe-all-stage4-gcc:
12075 maybe-clean-stage4-gcc:
12076 @if gcc-bootstrap
12077 maybe-all-stage4-gcc: all-stage4-gcc
12078 all-stage4: all-stage4-gcc
12079 TARGET-stage4-gcc = $(TARGET-gcc)
12080 all-stage4-gcc: configure-stage4-gcc
12081 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12082 @r=`${PWD_COMMAND}`; export r; \
12083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12084 $(HOST_EXPORTS) \
12085 $(POSTSTAGE1_HOST_EXPORTS) \
12086 cd $(HOST_SUBDIR)/gcc && \
12087 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12088 $(TARGET-stage4-gcc)
12090 maybe-clean-stage4-gcc: clean-stage4-gcc
12091 clean-stage4: clean-stage4-gcc
12092 clean-stage4-gcc:
12093 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
12094 || exit 0 ; \
12095 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
12096 cd $(HOST_SUBDIR)/gcc && \
12097 $(MAKE) $(FLAGS_TO_PASS) \
12098 $(POSTSTAGE1_FLAGS_TO_PASS) \
12099 $(EXTRA_GCC_FLAGS) clean
12100 @endif gcc-bootstrap
12103 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12104 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12105 maybe-all-stageprofile-gcc:
12106 maybe-clean-stageprofile-gcc:
12107 @if gcc-bootstrap
12108 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12109 all-stageprofile: all-stageprofile-gcc
12110 TARGET-stageprofile-gcc = $(TARGET-gcc)
12111 all-stageprofile-gcc: configure-stageprofile-gcc
12112 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12113 @r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 $(HOST_EXPORTS) \
12116 $(POSTSTAGE1_HOST_EXPORTS) \
12117 cd $(HOST_SUBDIR)/gcc && \
12118 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12119 $(TARGET-stageprofile-gcc)
12121 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12122 clean-stageprofile: clean-stageprofile-gcc
12123 clean-stageprofile-gcc:
12124 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
12125 || exit 0 ; \
12126 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12127 cd $(HOST_SUBDIR)/gcc && \
12128 $(MAKE) $(FLAGS_TO_PASS) \
12129 $(POSTSTAGE1_FLAGS_TO_PASS) \
12130 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12131 @endif gcc-bootstrap
12134 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12135 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12136 maybe-all-stagefeedback-gcc:
12137 maybe-clean-stagefeedback-gcc:
12138 @if gcc-bootstrap
12139 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12140 all-stagefeedback: all-stagefeedback-gcc
12141 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12142 all-stagefeedback-gcc: configure-stagefeedback-gcc
12143 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12144 @r=`${PWD_COMMAND}`; export r; \
12145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12146 $(HOST_EXPORTS) \
12147 $(POSTSTAGE1_HOST_EXPORTS) \
12148 cd $(HOST_SUBDIR)/gcc && \
12149 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12150 $(TARGET-stagefeedback-gcc)
12152 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12153 clean-stagefeedback: clean-stagefeedback-gcc
12154 clean-stagefeedback-gcc:
12155 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
12156 || exit 0 ; \
12157 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12158 cd $(HOST_SUBDIR)/gcc && \
12159 $(MAKE) $(FLAGS_TO_PASS) \
12160 $(POSTSTAGE1_FLAGS_TO_PASS) \
12161 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12162 @endif gcc-bootstrap
12168 .PHONY: check-gcc maybe-check-gcc
12169 maybe-check-gcc:
12170 @if gcc
12171 maybe-check-gcc: check-gcc
12173 check-gcc:
12174 @: $(MAKE); $(unstage)
12175 @r=`${PWD_COMMAND}`; export r; \
12176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12177 $(HOST_EXPORTS) \
12178 (cd $(HOST_SUBDIR)/gcc && \
12179 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12181 @endif gcc
12183 .PHONY: install-gcc maybe-install-gcc
12184 maybe-install-gcc:
12185 @if gcc
12186 maybe-install-gcc: install-gcc
12188 install-gcc: installdirs
12189 @: $(MAKE); $(unstage)
12190 @r=`${PWD_COMMAND}`; export r; \
12191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12192 $(HOST_EXPORTS) \
12193 (cd $(HOST_SUBDIR)/gcc && \
12194 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12196 @endif gcc
12198 # Other targets (info, dvi, etc.)
12200 .PHONY: maybe-info-gcc info-gcc
12201 maybe-info-gcc:
12202 @if gcc
12203 maybe-info-gcc: info-gcc
12205 info-gcc: \
12206 configure-gcc
12207 @[ -f ./gcc/Makefile ] || exit 0; \
12208 r=`${PWD_COMMAND}`; export r; \
12209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12210 $(HOST_EXPORTS) \
12211 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12213 done; \
12214 echo "Doing info in gcc" ; \
12215 (cd $(HOST_SUBDIR)/gcc && \
12216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12218 "RANLIB=$${RANLIB}" \
12219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12220 info) \
12221 || exit 1
12223 @endif gcc
12225 .PHONY: maybe-dvi-gcc dvi-gcc
12226 maybe-dvi-gcc:
12227 @if gcc
12228 maybe-dvi-gcc: dvi-gcc
12230 dvi-gcc: \
12231 configure-gcc
12232 @[ -f ./gcc/Makefile ] || exit 0; \
12233 r=`${PWD_COMMAND}`; export r; \
12234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12235 $(HOST_EXPORTS) \
12236 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12238 done; \
12239 echo "Doing dvi in gcc" ; \
12240 (cd $(HOST_SUBDIR)/gcc && \
12241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12243 "RANLIB=$${RANLIB}" \
12244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12245 dvi) \
12246 || exit 1
12248 @endif gcc
12250 .PHONY: maybe-html-gcc html-gcc
12251 maybe-html-gcc:
12252 @if gcc
12253 maybe-html-gcc: html-gcc
12255 html-gcc: \
12256 configure-gcc
12257 @[ -f ./gcc/Makefile ] || exit 0; \
12258 r=`${PWD_COMMAND}`; export r; \
12259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12260 $(HOST_EXPORTS) \
12261 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12263 done; \
12264 echo "Doing html in gcc" ; \
12265 (cd $(HOST_SUBDIR)/gcc && \
12266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12268 "RANLIB=$${RANLIB}" \
12269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12270 html) \
12271 || exit 1
12273 @endif gcc
12275 .PHONY: maybe-TAGS-gcc TAGS-gcc
12276 maybe-TAGS-gcc:
12277 @if gcc
12278 maybe-TAGS-gcc: TAGS-gcc
12280 TAGS-gcc: \
12281 configure-gcc
12282 @[ -f ./gcc/Makefile ] || exit 0; \
12283 r=`${PWD_COMMAND}`; export r; \
12284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12285 $(HOST_EXPORTS) \
12286 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12288 done; \
12289 echo "Doing TAGS in gcc" ; \
12290 (cd $(HOST_SUBDIR)/gcc && \
12291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12293 "RANLIB=$${RANLIB}" \
12294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12295 TAGS) \
12296 || exit 1
12298 @endif gcc
12300 .PHONY: maybe-install-info-gcc install-info-gcc
12301 maybe-install-info-gcc:
12302 @if gcc
12303 maybe-install-info-gcc: install-info-gcc
12305 install-info-gcc: \
12306 configure-gcc \
12307 info-gcc
12308 @[ -f ./gcc/Makefile ] || exit 0; \
12309 r=`${PWD_COMMAND}`; export r; \
12310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12311 $(HOST_EXPORTS) \
12312 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12314 done; \
12315 echo "Doing install-info in gcc" ; \
12316 (cd $(HOST_SUBDIR)/gcc && \
12317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12319 "RANLIB=$${RANLIB}" \
12320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12321 install-info) \
12322 || exit 1
12324 @endif gcc
12326 .PHONY: maybe-install-html-gcc install-html-gcc
12327 maybe-install-html-gcc:
12328 @if gcc
12329 maybe-install-html-gcc: install-html-gcc
12331 install-html-gcc: \
12332 configure-gcc \
12333 html-gcc
12334 @[ -f ./gcc/Makefile ] || exit 0; \
12335 r=`${PWD_COMMAND}`; export r; \
12336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12337 $(HOST_EXPORTS) \
12338 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12340 done; \
12341 echo "Doing install-html in gcc" ; \
12342 (cd $(HOST_SUBDIR)/gcc && \
12343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12345 "RANLIB=$${RANLIB}" \
12346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12347 install-html) \
12348 || exit 1
12350 @endif gcc
12352 .PHONY: maybe-installcheck-gcc installcheck-gcc
12353 maybe-installcheck-gcc:
12354 @if gcc
12355 maybe-installcheck-gcc: installcheck-gcc
12357 installcheck-gcc: \
12358 configure-gcc
12359 @[ -f ./gcc/Makefile ] || exit 0; \
12360 r=`${PWD_COMMAND}`; export r; \
12361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12362 $(HOST_EXPORTS) \
12363 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12365 done; \
12366 echo "Doing installcheck in gcc" ; \
12367 (cd $(HOST_SUBDIR)/gcc && \
12368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12370 "RANLIB=$${RANLIB}" \
12371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12372 installcheck) \
12373 || exit 1
12375 @endif gcc
12377 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12378 maybe-mostlyclean-gcc:
12379 @if gcc
12380 maybe-mostlyclean-gcc: mostlyclean-gcc
12382 mostlyclean-gcc:
12383 @[ -f ./gcc/Makefile ] || exit 0; \
12384 r=`${PWD_COMMAND}`; export r; \
12385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12386 $(HOST_EXPORTS) \
12387 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12389 done; \
12390 echo "Doing mostlyclean in gcc" ; \
12391 (cd $(HOST_SUBDIR)/gcc && \
12392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12394 "RANLIB=$${RANLIB}" \
12395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12396 mostlyclean) \
12397 || exit 1
12399 @endif gcc
12401 .PHONY: maybe-clean-gcc clean-gcc
12402 maybe-clean-gcc:
12403 @if gcc
12404 maybe-clean-gcc: clean-gcc
12406 clean-gcc:
12407 @[ -f ./gcc/Makefile ] || exit 0; \
12408 r=`${PWD_COMMAND}`; export r; \
12409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12410 $(HOST_EXPORTS) \
12411 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12413 done; \
12414 echo "Doing clean in gcc" ; \
12415 (cd $(HOST_SUBDIR)/gcc && \
12416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12418 "RANLIB=$${RANLIB}" \
12419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12420 clean) \
12421 || exit 1
12423 @endif gcc
12425 .PHONY: maybe-distclean-gcc distclean-gcc
12426 maybe-distclean-gcc:
12427 @if gcc
12428 maybe-distclean-gcc: distclean-gcc
12430 distclean-gcc:
12431 @[ -f ./gcc/Makefile ] || exit 0; \
12432 r=`${PWD_COMMAND}`; export r; \
12433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12434 $(HOST_EXPORTS) \
12435 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12437 done; \
12438 echo "Doing distclean in gcc" ; \
12439 (cd $(HOST_SUBDIR)/gcc && \
12440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12442 "RANLIB=$${RANLIB}" \
12443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12444 distclean) \
12445 || exit 1
12447 @endif gcc
12449 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12450 maybe-maintainer-clean-gcc:
12451 @if gcc
12452 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12454 maintainer-clean-gcc:
12455 @[ -f ./gcc/Makefile ] || exit 0; \
12456 r=`${PWD_COMMAND}`; export r; \
12457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12458 $(HOST_EXPORTS) \
12459 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12461 done; \
12462 echo "Doing maintainer-clean in gcc" ; \
12463 (cd $(HOST_SUBDIR)/gcc && \
12464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12466 "RANLIB=$${RANLIB}" \
12467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12468 maintainer-clean) \
12469 || exit 1
12471 @endif gcc
12475 .PHONY: configure-gawk maybe-configure-gawk
12476 maybe-configure-gawk:
12477 @if gcc-bootstrap
12478 configure-gawk: stage_current
12479 @endif gcc-bootstrap
12480 @if gawk
12481 maybe-configure-gawk: configure-gawk
12482 configure-gawk:
12483 @: $(MAKE); $(unstage)
12484 @r=`${PWD_COMMAND}`; export r; \
12485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12486 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
12487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
12488 $(HOST_EXPORTS) \
12489 echo Configuring in $(HOST_SUBDIR)/gawk; \
12490 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
12491 case $(srcdir) in \
12492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12493 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
12494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12495 esac; \
12496 srcdiroption="--srcdir=$${topdir}/gawk"; \
12497 libsrcdir="$$s/gawk"; \
12498 $(SHELL) $${libsrcdir}/configure \
12499 $(HOST_CONFIGARGS) $${srcdiroption} \
12500 || exit 1
12501 @endif gawk
12507 .PHONY: all-gawk maybe-all-gawk
12508 maybe-all-gawk:
12509 @if gcc-bootstrap
12510 all-gawk: stage_current
12511 @endif gcc-bootstrap
12512 @if gawk
12513 TARGET-gawk=all
12514 maybe-all-gawk: all-gawk
12515 all-gawk: configure-gawk
12516 @: $(MAKE); $(unstage)
12517 @r=`${PWD_COMMAND}`; export r; \
12518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12519 $(HOST_EXPORTS) \
12520 (cd $(HOST_SUBDIR)/gawk && \
12521 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
12522 @endif gawk
12527 .PHONY: check-gawk maybe-check-gawk
12528 maybe-check-gawk:
12529 @if gawk
12530 maybe-check-gawk: check-gawk
12532 check-gawk:
12533 @: $(MAKE); $(unstage)
12534 @r=`${PWD_COMMAND}`; export r; \
12535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12536 $(HOST_EXPORTS) \
12537 (cd $(HOST_SUBDIR)/gawk && \
12538 $(MAKE) $(FLAGS_TO_PASS) check)
12540 @endif gawk
12542 .PHONY: install-gawk maybe-install-gawk
12543 maybe-install-gawk:
12544 @if gawk
12545 maybe-install-gawk: install-gawk
12547 install-gawk: installdirs
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) install)
12555 @endif gawk
12557 # Other targets (info, dvi, etc.)
12559 .PHONY: maybe-info-gawk info-gawk
12560 maybe-info-gawk:
12561 @if gawk
12562 maybe-info-gawk: info-gawk
12564 info-gawk: \
12565 configure-gawk
12566 @: $(MAKE); $(unstage)
12567 @[ -f ./gawk/Makefile ] || exit 0; \
12568 r=`${PWD_COMMAND}`; export r; \
12569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12570 $(HOST_EXPORTS) \
12571 for flag in $(EXTRA_HOST_FLAGS) ; do \
12572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12573 done; \
12574 echo "Doing info in gawk" ; \
12575 (cd $(HOST_SUBDIR)/gawk && \
12576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12578 "RANLIB=$${RANLIB}" \
12579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12580 info) \
12581 || exit 1
12583 @endif gawk
12585 .PHONY: maybe-dvi-gawk dvi-gawk
12586 maybe-dvi-gawk:
12587 @if gawk
12588 maybe-dvi-gawk: dvi-gawk
12590 dvi-gawk: \
12591 configure-gawk
12592 @: $(MAKE); $(unstage)
12593 @[ -f ./gawk/Makefile ] || exit 0; \
12594 r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 $(HOST_EXPORTS) \
12597 for flag in $(EXTRA_HOST_FLAGS) ; do \
12598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12599 done; \
12600 echo "Doing dvi in gawk" ; \
12601 (cd $(HOST_SUBDIR)/gawk && \
12602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12604 "RANLIB=$${RANLIB}" \
12605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12606 dvi) \
12607 || exit 1
12609 @endif gawk
12611 .PHONY: maybe-html-gawk html-gawk
12612 maybe-html-gawk:
12613 @if gawk
12614 maybe-html-gawk: html-gawk
12616 html-gawk: \
12617 configure-gawk
12618 @: $(MAKE); $(unstage)
12619 @[ -f ./gawk/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(HOST_EXPORTS) \
12623 for flag in $(EXTRA_HOST_FLAGS) ; do \
12624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12625 done; \
12626 echo "Doing html in gawk" ; \
12627 (cd $(HOST_SUBDIR)/gawk && \
12628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12630 "RANLIB=$${RANLIB}" \
12631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12632 html) \
12633 || exit 1
12635 @endif gawk
12637 .PHONY: maybe-TAGS-gawk TAGS-gawk
12638 maybe-TAGS-gawk:
12639 @if gawk
12640 maybe-TAGS-gawk: TAGS-gawk
12642 TAGS-gawk: \
12643 configure-gawk
12644 @: $(MAKE); $(unstage)
12645 @[ -f ./gawk/Makefile ] || exit 0; \
12646 r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 $(HOST_EXPORTS) \
12649 for flag in $(EXTRA_HOST_FLAGS) ; do \
12650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12651 done; \
12652 echo "Doing TAGS in gawk" ; \
12653 (cd $(HOST_SUBDIR)/gawk && \
12654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12656 "RANLIB=$${RANLIB}" \
12657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12658 TAGS) \
12659 || exit 1
12661 @endif gawk
12663 .PHONY: maybe-install-info-gawk install-info-gawk
12664 maybe-install-info-gawk:
12665 @if gawk
12666 maybe-install-info-gawk: install-info-gawk
12668 install-info-gawk: \
12669 configure-gawk \
12670 info-gawk
12671 @: $(MAKE); $(unstage)
12672 @[ -f ./gawk/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(HOST_EXPORTS) \
12676 for flag in $(EXTRA_HOST_FLAGS) ; do \
12677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 done; \
12679 echo "Doing install-info in gawk" ; \
12680 (cd $(HOST_SUBDIR)/gawk && \
12681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12683 "RANLIB=$${RANLIB}" \
12684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12685 install-info) \
12686 || exit 1
12688 @endif gawk
12690 .PHONY: maybe-install-html-gawk install-html-gawk
12691 maybe-install-html-gawk:
12692 @if gawk
12693 maybe-install-html-gawk: install-html-gawk
12695 install-html-gawk: \
12696 configure-gawk \
12697 html-gawk
12698 @: $(MAKE); $(unstage)
12699 @[ -f ./gawk/Makefile ] || exit 0; \
12700 r=`${PWD_COMMAND}`; export r; \
12701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12702 $(HOST_EXPORTS) \
12703 for flag in $(EXTRA_HOST_FLAGS) ; do \
12704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12705 done; \
12706 echo "Doing install-html in gawk" ; \
12707 (cd $(HOST_SUBDIR)/gawk && \
12708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12710 "RANLIB=$${RANLIB}" \
12711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12712 install-html) \
12713 || exit 1
12715 @endif gawk
12717 .PHONY: maybe-installcheck-gawk installcheck-gawk
12718 maybe-installcheck-gawk:
12719 @if gawk
12720 maybe-installcheck-gawk: installcheck-gawk
12722 installcheck-gawk: \
12723 configure-gawk
12724 @: $(MAKE); $(unstage)
12725 @[ -f ./gawk/Makefile ] || exit 0; \
12726 r=`${PWD_COMMAND}`; export r; \
12727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12728 $(HOST_EXPORTS) \
12729 for flag in $(EXTRA_HOST_FLAGS) ; do \
12730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12731 done; \
12732 echo "Doing installcheck in gawk" ; \
12733 (cd $(HOST_SUBDIR)/gawk && \
12734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12736 "RANLIB=$${RANLIB}" \
12737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12738 installcheck) \
12739 || exit 1
12741 @endif gawk
12743 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12744 maybe-mostlyclean-gawk:
12745 @if gawk
12746 maybe-mostlyclean-gawk: mostlyclean-gawk
12748 mostlyclean-gawk:
12749 @: $(MAKE); $(unstage)
12750 @[ -f ./gawk/Makefile ] || exit 0; \
12751 r=`${PWD_COMMAND}`; export r; \
12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12753 $(HOST_EXPORTS) \
12754 for flag in $(EXTRA_HOST_FLAGS) ; do \
12755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12756 done; \
12757 echo "Doing mostlyclean in gawk" ; \
12758 (cd $(HOST_SUBDIR)/gawk && \
12759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12761 "RANLIB=$${RANLIB}" \
12762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12763 mostlyclean) \
12764 || exit 1
12766 @endif gawk
12768 .PHONY: maybe-clean-gawk clean-gawk
12769 maybe-clean-gawk:
12770 @if gawk
12771 maybe-clean-gawk: clean-gawk
12773 clean-gawk:
12774 @: $(MAKE); $(unstage)
12775 @[ -f ./gawk/Makefile ] || exit 0; \
12776 r=`${PWD_COMMAND}`; export r; \
12777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12778 $(HOST_EXPORTS) \
12779 for flag in $(EXTRA_HOST_FLAGS) ; do \
12780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12781 done; \
12782 echo "Doing clean in gawk" ; \
12783 (cd $(HOST_SUBDIR)/gawk && \
12784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12786 "RANLIB=$${RANLIB}" \
12787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12788 clean) \
12789 || exit 1
12791 @endif gawk
12793 .PHONY: maybe-distclean-gawk distclean-gawk
12794 maybe-distclean-gawk:
12795 @if gawk
12796 maybe-distclean-gawk: distclean-gawk
12798 distclean-gawk:
12799 @: $(MAKE); $(unstage)
12800 @[ -f ./gawk/Makefile ] || exit 0; \
12801 r=`${PWD_COMMAND}`; export r; \
12802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12803 $(HOST_EXPORTS) \
12804 for flag in $(EXTRA_HOST_FLAGS) ; do \
12805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12806 done; \
12807 echo "Doing distclean in gawk" ; \
12808 (cd $(HOST_SUBDIR)/gawk && \
12809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12811 "RANLIB=$${RANLIB}" \
12812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12813 distclean) \
12814 || exit 1
12816 @endif gawk
12818 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12819 maybe-maintainer-clean-gawk:
12820 @if gawk
12821 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12823 maintainer-clean-gawk:
12824 @: $(MAKE); $(unstage)
12825 @[ -f ./gawk/Makefile ] || exit 0; \
12826 r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 $(HOST_EXPORTS) \
12829 for flag in $(EXTRA_HOST_FLAGS) ; do \
12830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12831 done; \
12832 echo "Doing maintainer-clean in gawk" ; \
12833 (cd $(HOST_SUBDIR)/gawk && \
12834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12836 "RANLIB=$${RANLIB}" \
12837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12838 maintainer-clean) \
12839 || exit 1
12841 @endif gawk
12845 .PHONY: configure-gettext maybe-configure-gettext
12846 maybe-configure-gettext:
12847 @if gcc-bootstrap
12848 configure-gettext: stage_current
12849 @endif gcc-bootstrap
12850 @if gettext
12851 maybe-configure-gettext: configure-gettext
12852 configure-gettext:
12853 @: $(MAKE); $(unstage)
12854 @r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12858 $(HOST_EXPORTS) \
12859 echo Configuring in $(HOST_SUBDIR)/gettext; \
12860 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12861 case $(srcdir) in \
12862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12863 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12865 esac; \
12866 srcdiroption="--srcdir=$${topdir}/gettext"; \
12867 libsrcdir="$$s/gettext"; \
12868 $(SHELL) $${libsrcdir}/configure \
12869 $(HOST_CONFIGARGS) $${srcdiroption} \
12870 || exit 1
12871 @endif gettext
12877 .PHONY: all-gettext maybe-all-gettext
12878 maybe-all-gettext:
12879 @if gcc-bootstrap
12880 all-gettext: stage_current
12881 @endif gcc-bootstrap
12882 @if gettext
12883 TARGET-gettext=all
12884 maybe-all-gettext: all-gettext
12885 all-gettext: configure-gettext
12886 @: $(MAKE); $(unstage)
12887 @r=`${PWD_COMMAND}`; export r; \
12888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12889 $(HOST_EXPORTS) \
12890 (cd $(HOST_SUBDIR)/gettext && \
12891 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12892 @endif gettext
12897 .PHONY: check-gettext maybe-check-gettext
12898 maybe-check-gettext:
12899 @if gettext
12900 maybe-check-gettext: check-gettext
12902 check-gettext:
12903 @: $(MAKE); $(unstage)
12904 @r=`${PWD_COMMAND}`; export r; \
12905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12906 $(HOST_EXPORTS) \
12907 (cd $(HOST_SUBDIR)/gettext && \
12908 $(MAKE) $(FLAGS_TO_PASS) check)
12910 @endif gettext
12912 .PHONY: install-gettext maybe-install-gettext
12913 maybe-install-gettext:
12914 @if gettext
12915 maybe-install-gettext: install-gettext
12917 install-gettext: installdirs
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) install)
12925 @endif gettext
12927 # Other targets (info, dvi, etc.)
12929 .PHONY: maybe-info-gettext info-gettext
12930 maybe-info-gettext:
12931 @if gettext
12932 maybe-info-gettext: info-gettext
12934 info-gettext: \
12935 configure-gettext
12936 @: $(MAKE); $(unstage)
12937 @[ -f ./gettext/Makefile ] || exit 0; \
12938 r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940 $(HOST_EXPORTS) \
12941 for flag in $(EXTRA_HOST_FLAGS) ; do \
12942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12943 done; \
12944 echo "Doing info in gettext" ; \
12945 (cd $(HOST_SUBDIR)/gettext && \
12946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12948 "RANLIB=$${RANLIB}" \
12949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12950 info) \
12951 || exit 1
12953 @endif gettext
12955 .PHONY: maybe-dvi-gettext dvi-gettext
12956 maybe-dvi-gettext:
12957 @if gettext
12958 maybe-dvi-gettext: dvi-gettext
12960 dvi-gettext: \
12961 configure-gettext
12962 @: $(MAKE); $(unstage)
12963 @[ -f ./gettext/Makefile ] || exit 0; \
12964 r=`${PWD_COMMAND}`; export r; \
12965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 $(HOST_EXPORTS) \
12967 for flag in $(EXTRA_HOST_FLAGS) ; do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 done; \
12970 echo "Doing dvi in gettext" ; \
12971 (cd $(HOST_SUBDIR)/gettext && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12976 dvi) \
12977 || exit 1
12979 @endif gettext
12981 .PHONY: maybe-html-gettext html-gettext
12982 maybe-html-gettext:
12983 @if gettext
12984 maybe-html-gettext: html-gettext
12986 html-gettext: \
12987 configure-gettext
12988 @: $(MAKE); $(unstage)
12989 @[ -f ./gettext/Makefile ] || exit 0; \
12990 r=`${PWD_COMMAND}`; export r; \
12991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12992 $(HOST_EXPORTS) \
12993 for flag in $(EXTRA_HOST_FLAGS) ; do \
12994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12995 done; \
12996 echo "Doing html in gettext" ; \
12997 (cd $(HOST_SUBDIR)/gettext && \
12998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13000 "RANLIB=$${RANLIB}" \
13001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13002 html) \
13003 || exit 1
13005 @endif gettext
13007 .PHONY: maybe-TAGS-gettext TAGS-gettext
13008 maybe-TAGS-gettext:
13009 @if gettext
13010 maybe-TAGS-gettext: TAGS-gettext
13012 TAGS-gettext: \
13013 configure-gettext
13014 @: $(MAKE); $(unstage)
13015 @[ -f ./gettext/Makefile ] || exit 0; \
13016 r=`${PWD_COMMAND}`; export r; \
13017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13018 $(HOST_EXPORTS) \
13019 for flag in $(EXTRA_HOST_FLAGS) ; do \
13020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13021 done; \
13022 echo "Doing TAGS in gettext" ; \
13023 (cd $(HOST_SUBDIR)/gettext && \
13024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13026 "RANLIB=$${RANLIB}" \
13027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13028 TAGS) \
13029 || exit 1
13031 @endif gettext
13033 .PHONY: maybe-install-info-gettext install-info-gettext
13034 maybe-install-info-gettext:
13035 @if gettext
13036 maybe-install-info-gettext: install-info-gettext
13038 install-info-gettext: \
13039 configure-gettext \
13040 info-gettext
13041 @: $(MAKE); $(unstage)
13042 @[ -f ./gettext/Makefile ] || exit 0; \
13043 r=`${PWD_COMMAND}`; export r; \
13044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13045 $(HOST_EXPORTS) \
13046 for flag in $(EXTRA_HOST_FLAGS) ; do \
13047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13048 done; \
13049 echo "Doing install-info in gettext" ; \
13050 (cd $(HOST_SUBDIR)/gettext && \
13051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13053 "RANLIB=$${RANLIB}" \
13054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13055 install-info) \
13056 || exit 1
13058 @endif gettext
13060 .PHONY: maybe-install-html-gettext install-html-gettext
13061 maybe-install-html-gettext:
13062 @if gettext
13063 maybe-install-html-gettext: install-html-gettext
13065 install-html-gettext: \
13066 configure-gettext \
13067 html-gettext
13068 @: $(MAKE); $(unstage)
13069 @[ -f ./gettext/Makefile ] || exit 0; \
13070 r=`${PWD_COMMAND}`; export r; \
13071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13072 $(HOST_EXPORTS) \
13073 for flag in $(EXTRA_HOST_FLAGS) ; do \
13074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13075 done; \
13076 echo "Doing install-html in gettext" ; \
13077 (cd $(HOST_SUBDIR)/gettext && \
13078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13080 "RANLIB=$${RANLIB}" \
13081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13082 install-html) \
13083 || exit 1
13085 @endif gettext
13087 .PHONY: maybe-installcheck-gettext installcheck-gettext
13088 maybe-installcheck-gettext:
13089 @if gettext
13090 maybe-installcheck-gettext: installcheck-gettext
13092 installcheck-gettext: \
13093 configure-gettext
13094 @: $(MAKE); $(unstage)
13095 @[ -f ./gettext/Makefile ] || exit 0; \
13096 r=`${PWD_COMMAND}`; export r; \
13097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098 $(HOST_EXPORTS) \
13099 for flag in $(EXTRA_HOST_FLAGS) ; do \
13100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13101 done; \
13102 echo "Doing installcheck in gettext" ; \
13103 (cd $(HOST_SUBDIR)/gettext && \
13104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13106 "RANLIB=$${RANLIB}" \
13107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13108 installcheck) \
13109 || exit 1
13111 @endif gettext
13113 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13114 maybe-mostlyclean-gettext:
13115 @if gettext
13116 maybe-mostlyclean-gettext: mostlyclean-gettext
13118 mostlyclean-gettext:
13119 @: $(MAKE); $(unstage)
13120 @[ -f ./gettext/Makefile ] || exit 0; \
13121 r=`${PWD_COMMAND}`; export r; \
13122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13123 $(HOST_EXPORTS) \
13124 for flag in $(EXTRA_HOST_FLAGS) ; do \
13125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13126 done; \
13127 echo "Doing mostlyclean in gettext" ; \
13128 (cd $(HOST_SUBDIR)/gettext && \
13129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13131 "RANLIB=$${RANLIB}" \
13132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13133 mostlyclean) \
13134 || exit 1
13136 @endif gettext
13138 .PHONY: maybe-clean-gettext clean-gettext
13139 maybe-clean-gettext:
13140 @if gettext
13141 maybe-clean-gettext: clean-gettext
13143 clean-gettext:
13144 @: $(MAKE); $(unstage)
13145 @[ -f ./gettext/Makefile ] || exit 0; \
13146 r=`${PWD_COMMAND}`; export r; \
13147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13148 $(HOST_EXPORTS) \
13149 for flag in $(EXTRA_HOST_FLAGS) ; do \
13150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13151 done; \
13152 echo "Doing clean in gettext" ; \
13153 (cd $(HOST_SUBDIR)/gettext && \
13154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13156 "RANLIB=$${RANLIB}" \
13157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13158 clean) \
13159 || exit 1
13161 @endif gettext
13163 .PHONY: maybe-distclean-gettext distclean-gettext
13164 maybe-distclean-gettext:
13165 @if gettext
13166 maybe-distclean-gettext: distclean-gettext
13168 distclean-gettext:
13169 @: $(MAKE); $(unstage)
13170 @[ -f ./gettext/Makefile ] || exit 0; \
13171 r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 $(HOST_EXPORTS) \
13174 for flag in $(EXTRA_HOST_FLAGS) ; do \
13175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13176 done; \
13177 echo "Doing distclean in gettext" ; \
13178 (cd $(HOST_SUBDIR)/gettext && \
13179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13181 "RANLIB=$${RANLIB}" \
13182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13183 distclean) \
13184 || exit 1
13186 @endif gettext
13188 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
13189 maybe-maintainer-clean-gettext:
13190 @if gettext
13191 maybe-maintainer-clean-gettext: maintainer-clean-gettext
13193 maintainer-clean-gettext:
13194 @: $(MAKE); $(unstage)
13195 @[ -f ./gettext/Makefile ] || exit 0; \
13196 r=`${PWD_COMMAND}`; export r; \
13197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13198 $(HOST_EXPORTS) \
13199 for flag in $(EXTRA_HOST_FLAGS) ; do \
13200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13201 done; \
13202 echo "Doing maintainer-clean in gettext" ; \
13203 (cd $(HOST_SUBDIR)/gettext && \
13204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13206 "RANLIB=$${RANLIB}" \
13207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13208 maintainer-clean) \
13209 || exit 1
13211 @endif gettext
13215 .PHONY: configure-gnuserv maybe-configure-gnuserv
13216 maybe-configure-gnuserv:
13217 @if gcc-bootstrap
13218 configure-gnuserv: stage_current
13219 @endif gcc-bootstrap
13220 @if gnuserv
13221 maybe-configure-gnuserv: configure-gnuserv
13222 configure-gnuserv:
13223 @: $(MAKE); $(unstage)
13224 @r=`${PWD_COMMAND}`; export r; \
13225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13226 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
13227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
13228 $(HOST_EXPORTS) \
13229 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
13230 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
13231 case $(srcdir) in \
13232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13233 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
13234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13235 esac; \
13236 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
13237 libsrcdir="$$s/gnuserv"; \
13238 $(SHELL) $${libsrcdir}/configure \
13239 $(HOST_CONFIGARGS) $${srcdiroption} \
13240 || exit 1
13241 @endif gnuserv
13247 .PHONY: all-gnuserv maybe-all-gnuserv
13248 maybe-all-gnuserv:
13249 @if gcc-bootstrap
13250 all-gnuserv: stage_current
13251 @endif gcc-bootstrap
13252 @if gnuserv
13253 TARGET-gnuserv=all
13254 maybe-all-gnuserv: all-gnuserv
13255 all-gnuserv: configure-gnuserv
13256 @: $(MAKE); $(unstage)
13257 @r=`${PWD_COMMAND}`; export r; \
13258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13259 $(HOST_EXPORTS) \
13260 (cd $(HOST_SUBDIR)/gnuserv && \
13261 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
13262 @endif gnuserv
13267 .PHONY: check-gnuserv maybe-check-gnuserv
13268 maybe-check-gnuserv:
13269 @if gnuserv
13270 maybe-check-gnuserv: check-gnuserv
13272 check-gnuserv:
13273 @: $(MAKE); $(unstage)
13274 @r=`${PWD_COMMAND}`; export r; \
13275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13276 $(HOST_EXPORTS) \
13277 (cd $(HOST_SUBDIR)/gnuserv && \
13278 $(MAKE) $(FLAGS_TO_PASS) check)
13280 @endif gnuserv
13282 .PHONY: install-gnuserv maybe-install-gnuserv
13283 maybe-install-gnuserv:
13284 @if gnuserv
13285 maybe-install-gnuserv: install-gnuserv
13287 install-gnuserv: installdirs
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) install)
13295 @endif gnuserv
13297 # Other targets (info, dvi, etc.)
13299 .PHONY: maybe-info-gnuserv info-gnuserv
13300 maybe-info-gnuserv:
13301 @if gnuserv
13302 maybe-info-gnuserv: info-gnuserv
13304 info-gnuserv: \
13305 configure-gnuserv
13306 @: $(MAKE); $(unstage)
13307 @[ -f ./gnuserv/Makefile ] || exit 0; \
13308 r=`${PWD_COMMAND}`; export r; \
13309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13310 $(HOST_EXPORTS) \
13311 for flag in $(EXTRA_HOST_FLAGS) ; do \
13312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13313 done; \
13314 echo "Doing info in gnuserv" ; \
13315 (cd $(HOST_SUBDIR)/gnuserv && \
13316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13318 "RANLIB=$${RANLIB}" \
13319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13320 info) \
13321 || exit 1
13323 @endif gnuserv
13325 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
13326 maybe-dvi-gnuserv:
13327 @if gnuserv
13328 maybe-dvi-gnuserv: dvi-gnuserv
13330 dvi-gnuserv: \
13331 configure-gnuserv
13332 @: $(MAKE); $(unstage)
13333 @[ -f ./gnuserv/Makefile ] || exit 0; \
13334 r=`${PWD_COMMAND}`; export r; \
13335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13336 $(HOST_EXPORTS) \
13337 for flag in $(EXTRA_HOST_FLAGS) ; do \
13338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13339 done; \
13340 echo "Doing dvi in gnuserv" ; \
13341 (cd $(HOST_SUBDIR)/gnuserv && \
13342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13344 "RANLIB=$${RANLIB}" \
13345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13346 dvi) \
13347 || exit 1
13349 @endif gnuserv
13351 .PHONY: maybe-html-gnuserv html-gnuserv
13352 maybe-html-gnuserv:
13353 @if gnuserv
13354 maybe-html-gnuserv: html-gnuserv
13356 html-gnuserv: \
13357 configure-gnuserv
13358 @: $(MAKE); $(unstage)
13359 @[ -f ./gnuserv/Makefile ] || exit 0; \
13360 r=`${PWD_COMMAND}`; export r; \
13361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13362 $(HOST_EXPORTS) \
13363 for flag in $(EXTRA_HOST_FLAGS) ; do \
13364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13365 done; \
13366 echo "Doing html in gnuserv" ; \
13367 (cd $(HOST_SUBDIR)/gnuserv && \
13368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13370 "RANLIB=$${RANLIB}" \
13371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13372 html) \
13373 || exit 1
13375 @endif gnuserv
13377 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
13378 maybe-TAGS-gnuserv:
13379 @if gnuserv
13380 maybe-TAGS-gnuserv: TAGS-gnuserv
13382 TAGS-gnuserv: \
13383 configure-gnuserv
13384 @: $(MAKE); $(unstage)
13385 @[ -f ./gnuserv/Makefile ] || exit 0; \
13386 r=`${PWD_COMMAND}`; export r; \
13387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388 $(HOST_EXPORTS) \
13389 for flag in $(EXTRA_HOST_FLAGS) ; do \
13390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391 done; \
13392 echo "Doing TAGS in gnuserv" ; \
13393 (cd $(HOST_SUBDIR)/gnuserv && \
13394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13396 "RANLIB=$${RANLIB}" \
13397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13398 TAGS) \
13399 || exit 1
13401 @endif gnuserv
13403 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
13404 maybe-install-info-gnuserv:
13405 @if gnuserv
13406 maybe-install-info-gnuserv: install-info-gnuserv
13408 install-info-gnuserv: \
13409 configure-gnuserv \
13410 info-gnuserv
13411 @: $(MAKE); $(unstage)
13412 @[ -f ./gnuserv/Makefile ] || exit 0; \
13413 r=`${PWD_COMMAND}`; export r; \
13414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13415 $(HOST_EXPORTS) \
13416 for flag in $(EXTRA_HOST_FLAGS) ; do \
13417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13418 done; \
13419 echo "Doing install-info in gnuserv" ; \
13420 (cd $(HOST_SUBDIR)/gnuserv && \
13421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13423 "RANLIB=$${RANLIB}" \
13424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13425 install-info) \
13426 || exit 1
13428 @endif gnuserv
13430 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
13431 maybe-install-html-gnuserv:
13432 @if gnuserv
13433 maybe-install-html-gnuserv: install-html-gnuserv
13435 install-html-gnuserv: \
13436 configure-gnuserv \
13437 html-gnuserv
13438 @: $(MAKE); $(unstage)
13439 @[ -f ./gnuserv/Makefile ] || exit 0; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 $(HOST_EXPORTS) \
13443 for flag in $(EXTRA_HOST_FLAGS) ; do \
13444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13445 done; \
13446 echo "Doing install-html in gnuserv" ; \
13447 (cd $(HOST_SUBDIR)/gnuserv && \
13448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13450 "RANLIB=$${RANLIB}" \
13451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13452 install-html) \
13453 || exit 1
13455 @endif gnuserv
13457 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
13458 maybe-installcheck-gnuserv:
13459 @if gnuserv
13460 maybe-installcheck-gnuserv: installcheck-gnuserv
13462 installcheck-gnuserv: \
13463 configure-gnuserv
13464 @: $(MAKE); $(unstage)
13465 @[ -f ./gnuserv/Makefile ] || exit 0; \
13466 r=`${PWD_COMMAND}`; export r; \
13467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13468 $(HOST_EXPORTS) \
13469 for flag in $(EXTRA_HOST_FLAGS) ; do \
13470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13471 done; \
13472 echo "Doing installcheck in gnuserv" ; \
13473 (cd $(HOST_SUBDIR)/gnuserv && \
13474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13476 "RANLIB=$${RANLIB}" \
13477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13478 installcheck) \
13479 || exit 1
13481 @endif gnuserv
13483 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
13484 maybe-mostlyclean-gnuserv:
13485 @if gnuserv
13486 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
13488 mostlyclean-gnuserv:
13489 @: $(MAKE); $(unstage)
13490 @[ -f ./gnuserv/Makefile ] || exit 0; \
13491 r=`${PWD_COMMAND}`; export r; \
13492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13493 $(HOST_EXPORTS) \
13494 for flag in $(EXTRA_HOST_FLAGS) ; do \
13495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13496 done; \
13497 echo "Doing mostlyclean in gnuserv" ; \
13498 (cd $(HOST_SUBDIR)/gnuserv && \
13499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13501 "RANLIB=$${RANLIB}" \
13502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13503 mostlyclean) \
13504 || exit 1
13506 @endif gnuserv
13508 .PHONY: maybe-clean-gnuserv clean-gnuserv
13509 maybe-clean-gnuserv:
13510 @if gnuserv
13511 maybe-clean-gnuserv: clean-gnuserv
13513 clean-gnuserv:
13514 @: $(MAKE); $(unstage)
13515 @[ -f ./gnuserv/Makefile ] || exit 0; \
13516 r=`${PWD_COMMAND}`; export r; \
13517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13518 $(HOST_EXPORTS) \
13519 for flag in $(EXTRA_HOST_FLAGS) ; do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13521 done; \
13522 echo "Doing clean in gnuserv" ; \
13523 (cd $(HOST_SUBDIR)/gnuserv && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13528 clean) \
13529 || exit 1
13531 @endif gnuserv
13533 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
13534 maybe-distclean-gnuserv:
13535 @if gnuserv
13536 maybe-distclean-gnuserv: distclean-gnuserv
13538 distclean-gnuserv:
13539 @: $(MAKE); $(unstage)
13540 @[ -f ./gnuserv/Makefile ] || exit 0; \
13541 r=`${PWD_COMMAND}`; export r; \
13542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13543 $(HOST_EXPORTS) \
13544 for flag in $(EXTRA_HOST_FLAGS) ; do \
13545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13546 done; \
13547 echo "Doing distclean in gnuserv" ; \
13548 (cd $(HOST_SUBDIR)/gnuserv && \
13549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13551 "RANLIB=$${RANLIB}" \
13552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13553 distclean) \
13554 || exit 1
13556 @endif gnuserv
13558 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
13559 maybe-maintainer-clean-gnuserv:
13560 @if gnuserv
13561 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
13563 maintainer-clean-gnuserv:
13564 @: $(MAKE); $(unstage)
13565 @[ -f ./gnuserv/Makefile ] || exit 0; \
13566 r=`${PWD_COMMAND}`; export r; \
13567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 $(HOST_EXPORTS) \
13569 for flag in $(EXTRA_HOST_FLAGS) ; do \
13570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13571 done; \
13572 echo "Doing maintainer-clean in gnuserv" ; \
13573 (cd $(HOST_SUBDIR)/gnuserv && \
13574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13576 "RANLIB=$${RANLIB}" \
13577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13578 maintainer-clean) \
13579 || exit 1
13581 @endif gnuserv
13585 .PHONY: configure-gprof maybe-configure-gprof
13586 maybe-configure-gprof:
13587 @if gcc-bootstrap
13588 configure-gprof: stage_current
13589 @endif gcc-bootstrap
13590 @if gprof
13591 maybe-configure-gprof: configure-gprof
13592 configure-gprof:
13593 @: $(MAKE); $(unstage)
13594 @r=`${PWD_COMMAND}`; export r; \
13595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13596 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
13597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
13598 $(HOST_EXPORTS) \
13599 echo Configuring in $(HOST_SUBDIR)/gprof; \
13600 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
13601 case $(srcdir) in \
13602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13603 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
13604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13605 esac; \
13606 srcdiroption="--srcdir=$${topdir}/gprof"; \
13607 libsrcdir="$$s/gprof"; \
13608 $(SHELL) $${libsrcdir}/configure \
13609 $(HOST_CONFIGARGS) $${srcdiroption} \
13610 || exit 1
13611 @endif gprof
13617 .PHONY: all-gprof maybe-all-gprof
13618 maybe-all-gprof:
13619 @if gcc-bootstrap
13620 all-gprof: stage_current
13621 @endif gcc-bootstrap
13622 @if gprof
13623 TARGET-gprof=all
13624 maybe-all-gprof: all-gprof
13625 all-gprof: configure-gprof
13626 @: $(MAKE); $(unstage)
13627 @r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(HOST_EXPORTS) \
13630 (cd $(HOST_SUBDIR)/gprof && \
13631 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
13632 @endif gprof
13637 .PHONY: check-gprof maybe-check-gprof
13638 maybe-check-gprof:
13639 @if gprof
13640 maybe-check-gprof: check-gprof
13642 check-gprof:
13643 @: $(MAKE); $(unstage)
13644 @r=`${PWD_COMMAND}`; export r; \
13645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13646 $(HOST_EXPORTS) \
13647 (cd $(HOST_SUBDIR)/gprof && \
13648 $(MAKE) $(FLAGS_TO_PASS) check)
13650 @endif gprof
13652 .PHONY: install-gprof maybe-install-gprof
13653 maybe-install-gprof:
13654 @if gprof
13655 maybe-install-gprof: install-gprof
13657 install-gprof: installdirs
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) install)
13665 @endif gprof
13667 # Other targets (info, dvi, etc.)
13669 .PHONY: maybe-info-gprof info-gprof
13670 maybe-info-gprof:
13671 @if gprof
13672 maybe-info-gprof: info-gprof
13674 info-gprof: \
13675 configure-gprof
13676 @: $(MAKE); $(unstage)
13677 @[ -f ./gprof/Makefile ] || exit 0; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 $(HOST_EXPORTS) \
13681 for flag in $(EXTRA_HOST_FLAGS) ; do \
13682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13683 done; \
13684 echo "Doing info in gprof" ; \
13685 (cd $(HOST_SUBDIR)/gprof && \
13686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13688 "RANLIB=$${RANLIB}" \
13689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13690 info) \
13691 || exit 1
13693 @endif gprof
13695 .PHONY: maybe-dvi-gprof dvi-gprof
13696 maybe-dvi-gprof:
13697 @if gprof
13698 maybe-dvi-gprof: dvi-gprof
13700 dvi-gprof: \
13701 configure-gprof
13702 @: $(MAKE); $(unstage)
13703 @[ -f ./gprof/Makefile ] || exit 0; \
13704 r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 $(HOST_EXPORTS) \
13707 for flag in $(EXTRA_HOST_FLAGS) ; do \
13708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13709 done; \
13710 echo "Doing dvi in gprof" ; \
13711 (cd $(HOST_SUBDIR)/gprof && \
13712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13714 "RANLIB=$${RANLIB}" \
13715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13716 dvi) \
13717 || exit 1
13719 @endif gprof
13721 .PHONY: maybe-html-gprof html-gprof
13722 maybe-html-gprof:
13723 @if gprof
13724 maybe-html-gprof: html-gprof
13726 html-gprof: \
13727 configure-gprof
13728 @: $(MAKE); $(unstage)
13729 @[ -f ./gprof/Makefile ] || exit 0; \
13730 r=`${PWD_COMMAND}`; export r; \
13731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 $(HOST_EXPORTS) \
13733 for flag in $(EXTRA_HOST_FLAGS) ; do \
13734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13735 done; \
13736 echo "Doing html in gprof" ; \
13737 (cd $(HOST_SUBDIR)/gprof && \
13738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13740 "RANLIB=$${RANLIB}" \
13741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13742 html) \
13743 || exit 1
13745 @endif gprof
13747 .PHONY: maybe-TAGS-gprof TAGS-gprof
13748 maybe-TAGS-gprof:
13749 @if gprof
13750 maybe-TAGS-gprof: TAGS-gprof
13752 TAGS-gprof: \
13753 configure-gprof
13754 @: $(MAKE); $(unstage)
13755 @[ -f ./gprof/Makefile ] || exit 0; \
13756 r=`${PWD_COMMAND}`; export r; \
13757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13758 $(HOST_EXPORTS) \
13759 for flag in $(EXTRA_HOST_FLAGS) ; do \
13760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13761 done; \
13762 echo "Doing TAGS in gprof" ; \
13763 (cd $(HOST_SUBDIR)/gprof && \
13764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13766 "RANLIB=$${RANLIB}" \
13767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13768 TAGS) \
13769 || exit 1
13771 @endif gprof
13773 .PHONY: maybe-install-info-gprof install-info-gprof
13774 maybe-install-info-gprof:
13775 @if gprof
13776 maybe-install-info-gprof: install-info-gprof
13778 install-info-gprof: \
13779 configure-gprof \
13780 info-gprof
13781 @: $(MAKE); $(unstage)
13782 @[ -f ./gprof/Makefile ] || exit 0; \
13783 r=`${PWD_COMMAND}`; export r; \
13784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13785 $(HOST_EXPORTS) \
13786 for flag in $(EXTRA_HOST_FLAGS) ; do \
13787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13788 done; \
13789 echo "Doing install-info in gprof" ; \
13790 (cd $(HOST_SUBDIR)/gprof && \
13791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13793 "RANLIB=$${RANLIB}" \
13794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13795 install-info) \
13796 || exit 1
13798 @endif gprof
13800 .PHONY: maybe-install-html-gprof install-html-gprof
13801 maybe-install-html-gprof:
13802 @if gprof
13803 maybe-install-html-gprof: install-html-gprof
13805 install-html-gprof: \
13806 configure-gprof \
13807 html-gprof
13808 @: $(MAKE); $(unstage)
13809 @[ -f ./gprof/Makefile ] || exit 0; \
13810 r=`${PWD_COMMAND}`; export r; \
13811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 $(HOST_EXPORTS) \
13813 for flag in $(EXTRA_HOST_FLAGS) ; do \
13814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13815 done; \
13816 echo "Doing install-html in gprof" ; \
13817 (cd $(HOST_SUBDIR)/gprof && \
13818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13820 "RANLIB=$${RANLIB}" \
13821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13822 install-html) \
13823 || exit 1
13825 @endif gprof
13827 .PHONY: maybe-installcheck-gprof installcheck-gprof
13828 maybe-installcheck-gprof:
13829 @if gprof
13830 maybe-installcheck-gprof: installcheck-gprof
13832 installcheck-gprof: \
13833 configure-gprof
13834 @: $(MAKE); $(unstage)
13835 @[ -f ./gprof/Makefile ] || exit 0; \
13836 r=`${PWD_COMMAND}`; export r; \
13837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 $(HOST_EXPORTS) \
13839 for flag in $(EXTRA_HOST_FLAGS) ; do \
13840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13841 done; \
13842 echo "Doing installcheck in gprof" ; \
13843 (cd $(HOST_SUBDIR)/gprof && \
13844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13846 "RANLIB=$${RANLIB}" \
13847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13848 installcheck) \
13849 || exit 1
13851 @endif gprof
13853 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13854 maybe-mostlyclean-gprof:
13855 @if gprof
13856 maybe-mostlyclean-gprof: mostlyclean-gprof
13858 mostlyclean-gprof:
13859 @: $(MAKE); $(unstage)
13860 @[ -f ./gprof/Makefile ] || exit 0; \
13861 r=`${PWD_COMMAND}`; export r; \
13862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13863 $(HOST_EXPORTS) \
13864 for flag in $(EXTRA_HOST_FLAGS) ; do \
13865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13866 done; \
13867 echo "Doing mostlyclean in gprof" ; \
13868 (cd $(HOST_SUBDIR)/gprof && \
13869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13871 "RANLIB=$${RANLIB}" \
13872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13873 mostlyclean) \
13874 || exit 1
13876 @endif gprof
13878 .PHONY: maybe-clean-gprof clean-gprof
13879 maybe-clean-gprof:
13880 @if gprof
13881 maybe-clean-gprof: clean-gprof
13883 clean-gprof:
13884 @: $(MAKE); $(unstage)
13885 @[ -f ./gprof/Makefile ] || exit 0; \
13886 r=`${PWD_COMMAND}`; export r; \
13887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13888 $(HOST_EXPORTS) \
13889 for flag in $(EXTRA_HOST_FLAGS) ; do \
13890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13891 done; \
13892 echo "Doing clean in gprof" ; \
13893 (cd $(HOST_SUBDIR)/gprof && \
13894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13896 "RANLIB=$${RANLIB}" \
13897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13898 clean) \
13899 || exit 1
13901 @endif gprof
13903 .PHONY: maybe-distclean-gprof distclean-gprof
13904 maybe-distclean-gprof:
13905 @if gprof
13906 maybe-distclean-gprof: distclean-gprof
13908 distclean-gprof:
13909 @: $(MAKE); $(unstage)
13910 @[ -f ./gprof/Makefile ] || exit 0; \
13911 r=`${PWD_COMMAND}`; export r; \
13912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13913 $(HOST_EXPORTS) \
13914 for flag in $(EXTRA_HOST_FLAGS) ; do \
13915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13916 done; \
13917 echo "Doing distclean in gprof" ; \
13918 (cd $(HOST_SUBDIR)/gprof && \
13919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13921 "RANLIB=$${RANLIB}" \
13922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13923 distclean) \
13924 || exit 1
13926 @endif gprof
13928 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13929 maybe-maintainer-clean-gprof:
13930 @if gprof
13931 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13933 maintainer-clean-gprof:
13934 @: $(MAKE); $(unstage)
13935 @[ -f ./gprof/Makefile ] || exit 0; \
13936 r=`${PWD_COMMAND}`; export r; \
13937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13938 $(HOST_EXPORTS) \
13939 for flag in $(EXTRA_HOST_FLAGS) ; do \
13940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13941 done; \
13942 echo "Doing maintainer-clean in gprof" ; \
13943 (cd $(HOST_SUBDIR)/gprof && \
13944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13946 "RANLIB=$${RANLIB}" \
13947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13948 maintainer-clean) \
13949 || exit 1
13951 @endif gprof
13955 .PHONY: configure-gzip maybe-configure-gzip
13956 maybe-configure-gzip:
13957 @if gcc-bootstrap
13958 configure-gzip: stage_current
13959 @endif gcc-bootstrap
13960 @if gzip
13961 maybe-configure-gzip: configure-gzip
13962 configure-gzip:
13963 @: $(MAKE); $(unstage)
13964 @r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13968 $(HOST_EXPORTS) \
13969 echo Configuring in $(HOST_SUBDIR)/gzip; \
13970 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13971 case $(srcdir) in \
13972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13973 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13975 esac; \
13976 srcdiroption="--srcdir=$${topdir}/gzip"; \
13977 libsrcdir="$$s/gzip"; \
13978 $(SHELL) $${libsrcdir}/configure \
13979 $(HOST_CONFIGARGS) $${srcdiroption} \
13980 || exit 1
13981 @endif gzip
13987 .PHONY: all-gzip maybe-all-gzip
13988 maybe-all-gzip:
13989 @if gcc-bootstrap
13990 all-gzip: stage_current
13991 @endif gcc-bootstrap
13992 @if gzip
13993 TARGET-gzip=all
13994 maybe-all-gzip: all-gzip
13995 all-gzip: configure-gzip
13996 @: $(MAKE); $(unstage)
13997 @r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13999 $(HOST_EXPORTS) \
14000 (cd $(HOST_SUBDIR)/gzip && \
14001 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14002 @endif gzip
14007 .PHONY: check-gzip maybe-check-gzip
14008 maybe-check-gzip:
14009 @if gzip
14010 maybe-check-gzip: check-gzip
14012 check-gzip:
14013 @: $(MAKE); $(unstage)
14014 @r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 $(HOST_EXPORTS) \
14017 (cd $(HOST_SUBDIR)/gzip && \
14018 $(MAKE) $(FLAGS_TO_PASS) check)
14020 @endif gzip
14022 .PHONY: install-gzip maybe-install-gzip
14023 maybe-install-gzip:
14024 @if gzip
14025 maybe-install-gzip: install-gzip
14027 install-gzip: installdirs
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) install)
14035 @endif gzip
14037 # Other targets (info, dvi, etc.)
14039 .PHONY: maybe-info-gzip info-gzip
14040 maybe-info-gzip:
14041 @if gzip
14042 maybe-info-gzip: info-gzip
14044 info-gzip: \
14045 configure-gzip
14046 @: $(MAKE); $(unstage)
14047 @[ -f ./gzip/Makefile ] || exit 0; \
14048 r=`${PWD_COMMAND}`; export r; \
14049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14050 $(HOST_EXPORTS) \
14051 for flag in $(EXTRA_HOST_FLAGS) ; do \
14052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14053 done; \
14054 echo "Doing info in gzip" ; \
14055 (cd $(HOST_SUBDIR)/gzip && \
14056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14058 "RANLIB=$${RANLIB}" \
14059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14060 info) \
14061 || exit 1
14063 @endif gzip
14065 .PHONY: maybe-dvi-gzip dvi-gzip
14066 maybe-dvi-gzip:
14067 @if gzip
14068 maybe-dvi-gzip: dvi-gzip
14070 dvi-gzip: \
14071 configure-gzip
14072 @: $(MAKE); $(unstage)
14073 @[ -f ./gzip/Makefile ] || exit 0; \
14074 r=`${PWD_COMMAND}`; export r; \
14075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 $(HOST_EXPORTS) \
14077 for flag in $(EXTRA_HOST_FLAGS) ; do \
14078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079 done; \
14080 echo "Doing dvi in gzip" ; \
14081 (cd $(HOST_SUBDIR)/gzip && \
14082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14084 "RANLIB=$${RANLIB}" \
14085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14086 dvi) \
14087 || exit 1
14089 @endif gzip
14091 .PHONY: maybe-html-gzip html-gzip
14092 maybe-html-gzip:
14093 @if gzip
14094 maybe-html-gzip: html-gzip
14096 html-gzip: \
14097 configure-gzip
14098 @: $(MAKE); $(unstage)
14099 @[ -f ./gzip/Makefile ] || exit 0; \
14100 r=`${PWD_COMMAND}`; export r; \
14101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 $(HOST_EXPORTS) \
14103 for flag in $(EXTRA_HOST_FLAGS) ; do \
14104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14105 done; \
14106 echo "Doing html in gzip" ; \
14107 (cd $(HOST_SUBDIR)/gzip && \
14108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14110 "RANLIB=$${RANLIB}" \
14111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14112 html) \
14113 || exit 1
14115 @endif gzip
14117 .PHONY: maybe-TAGS-gzip TAGS-gzip
14118 maybe-TAGS-gzip:
14119 @if gzip
14120 maybe-TAGS-gzip: TAGS-gzip
14122 TAGS-gzip: \
14123 configure-gzip
14124 @: $(MAKE); $(unstage)
14125 @[ -f ./gzip/Makefile ] || exit 0; \
14126 r=`${PWD_COMMAND}`; export r; \
14127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14128 $(HOST_EXPORTS) \
14129 for flag in $(EXTRA_HOST_FLAGS) ; do \
14130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14131 done; \
14132 echo "Doing TAGS in gzip" ; \
14133 (cd $(HOST_SUBDIR)/gzip && \
14134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14136 "RANLIB=$${RANLIB}" \
14137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14138 TAGS) \
14139 || exit 1
14141 @endif gzip
14143 .PHONY: maybe-install-info-gzip install-info-gzip
14144 maybe-install-info-gzip:
14145 @if gzip
14146 maybe-install-info-gzip: install-info-gzip
14148 install-info-gzip: \
14149 configure-gzip \
14150 info-gzip
14151 @: $(MAKE); $(unstage)
14152 @[ -f ./gzip/Makefile ] || exit 0; \
14153 r=`${PWD_COMMAND}`; export r; \
14154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 $(HOST_EXPORTS) \
14156 for flag in $(EXTRA_HOST_FLAGS) ; do \
14157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14158 done; \
14159 echo "Doing install-info in gzip" ; \
14160 (cd $(HOST_SUBDIR)/gzip && \
14161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14163 "RANLIB=$${RANLIB}" \
14164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14165 install-info) \
14166 || exit 1
14168 @endif gzip
14170 .PHONY: maybe-install-html-gzip install-html-gzip
14171 maybe-install-html-gzip:
14172 @if gzip
14173 maybe-install-html-gzip: install-html-gzip
14175 install-html-gzip: \
14176 configure-gzip \
14177 html-gzip
14178 @: $(MAKE); $(unstage)
14179 @[ -f ./gzip/Makefile ] || exit 0; \
14180 r=`${PWD_COMMAND}`; export r; \
14181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14182 $(HOST_EXPORTS) \
14183 for flag in $(EXTRA_HOST_FLAGS) ; do \
14184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14185 done; \
14186 echo "Doing install-html in gzip" ; \
14187 (cd $(HOST_SUBDIR)/gzip && \
14188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14190 "RANLIB=$${RANLIB}" \
14191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14192 install-html) \
14193 || exit 1
14195 @endif gzip
14197 .PHONY: maybe-installcheck-gzip installcheck-gzip
14198 maybe-installcheck-gzip:
14199 @if gzip
14200 maybe-installcheck-gzip: installcheck-gzip
14202 installcheck-gzip: \
14203 configure-gzip
14204 @: $(MAKE); $(unstage)
14205 @[ -f ./gzip/Makefile ] || exit 0; \
14206 r=`${PWD_COMMAND}`; export r; \
14207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14208 $(HOST_EXPORTS) \
14209 for flag in $(EXTRA_HOST_FLAGS) ; do \
14210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14211 done; \
14212 echo "Doing installcheck in gzip" ; \
14213 (cd $(HOST_SUBDIR)/gzip && \
14214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14216 "RANLIB=$${RANLIB}" \
14217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14218 installcheck) \
14219 || exit 1
14221 @endif gzip
14223 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
14224 maybe-mostlyclean-gzip:
14225 @if gzip
14226 maybe-mostlyclean-gzip: mostlyclean-gzip
14228 mostlyclean-gzip:
14229 @: $(MAKE); $(unstage)
14230 @[ -f ./gzip/Makefile ] || exit 0; \
14231 r=`${PWD_COMMAND}`; export r; \
14232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14233 $(HOST_EXPORTS) \
14234 for flag in $(EXTRA_HOST_FLAGS) ; do \
14235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14236 done; \
14237 echo "Doing mostlyclean in gzip" ; \
14238 (cd $(HOST_SUBDIR)/gzip && \
14239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14241 "RANLIB=$${RANLIB}" \
14242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14243 mostlyclean) \
14244 || exit 1
14246 @endif gzip
14248 .PHONY: maybe-clean-gzip clean-gzip
14249 maybe-clean-gzip:
14250 @if gzip
14251 maybe-clean-gzip: clean-gzip
14253 clean-gzip:
14254 @: $(MAKE); $(unstage)
14255 @[ -f ./gzip/Makefile ] || exit 0; \
14256 r=`${PWD_COMMAND}`; export r; \
14257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14258 $(HOST_EXPORTS) \
14259 for flag in $(EXTRA_HOST_FLAGS) ; do \
14260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14261 done; \
14262 echo "Doing clean in gzip" ; \
14263 (cd $(HOST_SUBDIR)/gzip && \
14264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14266 "RANLIB=$${RANLIB}" \
14267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14268 clean) \
14269 || exit 1
14271 @endif gzip
14273 .PHONY: maybe-distclean-gzip distclean-gzip
14274 maybe-distclean-gzip:
14275 @if gzip
14276 maybe-distclean-gzip: distclean-gzip
14278 distclean-gzip:
14279 @: $(MAKE); $(unstage)
14280 @[ -f ./gzip/Makefile ] || exit 0; \
14281 r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 $(HOST_EXPORTS) \
14284 for flag in $(EXTRA_HOST_FLAGS) ; do \
14285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14286 done; \
14287 echo "Doing distclean in gzip" ; \
14288 (cd $(HOST_SUBDIR)/gzip && \
14289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291 "RANLIB=$${RANLIB}" \
14292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14293 distclean) \
14294 || exit 1
14296 @endif gzip
14298 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
14299 maybe-maintainer-clean-gzip:
14300 @if gzip
14301 maybe-maintainer-clean-gzip: maintainer-clean-gzip
14303 maintainer-clean-gzip:
14304 @: $(MAKE); $(unstage)
14305 @[ -f ./gzip/Makefile ] || exit 0; \
14306 r=`${PWD_COMMAND}`; export r; \
14307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14308 $(HOST_EXPORTS) \
14309 for flag in $(EXTRA_HOST_FLAGS) ; do \
14310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14311 done; \
14312 echo "Doing maintainer-clean in gzip" ; \
14313 (cd $(HOST_SUBDIR)/gzip && \
14314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14316 "RANLIB=$${RANLIB}" \
14317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14318 maintainer-clean) \
14319 || exit 1
14321 @endif gzip
14325 .PHONY: configure-hello maybe-configure-hello
14326 maybe-configure-hello:
14327 @if gcc-bootstrap
14328 configure-hello: stage_current
14329 @endif gcc-bootstrap
14330 @if hello
14331 maybe-configure-hello: configure-hello
14332 configure-hello:
14333 @: $(MAKE); $(unstage)
14334 @r=`${PWD_COMMAND}`; export r; \
14335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14336 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
14337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
14338 $(HOST_EXPORTS) \
14339 echo Configuring in $(HOST_SUBDIR)/hello; \
14340 cd "$(HOST_SUBDIR)/hello" || exit 1; \
14341 case $(srcdir) in \
14342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14343 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
14344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14345 esac; \
14346 srcdiroption="--srcdir=$${topdir}/hello"; \
14347 libsrcdir="$$s/hello"; \
14348 $(SHELL) $${libsrcdir}/configure \
14349 $(HOST_CONFIGARGS) $${srcdiroption} \
14350 || exit 1
14351 @endif hello
14357 .PHONY: all-hello maybe-all-hello
14358 maybe-all-hello:
14359 @if gcc-bootstrap
14360 all-hello: stage_current
14361 @endif gcc-bootstrap
14362 @if hello
14363 TARGET-hello=all
14364 maybe-all-hello: all-hello
14365 all-hello: configure-hello
14366 @: $(MAKE); $(unstage)
14367 @r=`${PWD_COMMAND}`; export r; \
14368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14369 $(HOST_EXPORTS) \
14370 (cd $(HOST_SUBDIR)/hello && \
14371 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
14372 @endif hello
14377 .PHONY: check-hello maybe-check-hello
14378 maybe-check-hello:
14379 @if hello
14380 maybe-check-hello: check-hello
14382 check-hello:
14383 @: $(MAKE); $(unstage)
14384 @r=`${PWD_COMMAND}`; export r; \
14385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14386 $(HOST_EXPORTS) \
14387 (cd $(HOST_SUBDIR)/hello && \
14388 $(MAKE) $(FLAGS_TO_PASS) check)
14390 @endif hello
14392 .PHONY: install-hello maybe-install-hello
14393 maybe-install-hello:
14394 @if hello
14395 maybe-install-hello: install-hello
14397 install-hello: installdirs
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) install)
14405 @endif hello
14407 # Other targets (info, dvi, etc.)
14409 .PHONY: maybe-info-hello info-hello
14410 maybe-info-hello:
14411 @if hello
14412 maybe-info-hello: info-hello
14414 info-hello: \
14415 configure-hello
14416 @: $(MAKE); $(unstage)
14417 @[ -f ./hello/Makefile ] || exit 0; \
14418 r=`${PWD_COMMAND}`; export r; \
14419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14420 $(HOST_EXPORTS) \
14421 for flag in $(EXTRA_HOST_FLAGS) ; do \
14422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14423 done; \
14424 echo "Doing info in hello" ; \
14425 (cd $(HOST_SUBDIR)/hello && \
14426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14428 "RANLIB=$${RANLIB}" \
14429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14430 info) \
14431 || exit 1
14433 @endif hello
14435 .PHONY: maybe-dvi-hello dvi-hello
14436 maybe-dvi-hello:
14437 @if hello
14438 maybe-dvi-hello: dvi-hello
14440 dvi-hello: \
14441 configure-hello
14442 @: $(MAKE); $(unstage)
14443 @[ -f ./hello/Makefile ] || exit 0; \
14444 r=`${PWD_COMMAND}`; export r; \
14445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14446 $(HOST_EXPORTS) \
14447 for flag in $(EXTRA_HOST_FLAGS) ; do \
14448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14449 done; \
14450 echo "Doing dvi in hello" ; \
14451 (cd $(HOST_SUBDIR)/hello && \
14452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14454 "RANLIB=$${RANLIB}" \
14455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14456 dvi) \
14457 || exit 1
14459 @endif hello
14461 .PHONY: maybe-html-hello html-hello
14462 maybe-html-hello:
14463 @if hello
14464 maybe-html-hello: html-hello
14466 html-hello: \
14467 configure-hello
14468 @: $(MAKE); $(unstage)
14469 @[ -f ./hello/Makefile ] || exit 0; \
14470 r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 $(HOST_EXPORTS) \
14473 for flag in $(EXTRA_HOST_FLAGS) ; do \
14474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14475 done; \
14476 echo "Doing html in hello" ; \
14477 (cd $(HOST_SUBDIR)/hello && \
14478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14480 "RANLIB=$${RANLIB}" \
14481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14482 html) \
14483 || exit 1
14485 @endif hello
14487 .PHONY: maybe-TAGS-hello TAGS-hello
14488 maybe-TAGS-hello:
14489 @if hello
14490 maybe-TAGS-hello: TAGS-hello
14492 TAGS-hello: \
14493 configure-hello
14494 @: $(MAKE); $(unstage)
14495 @[ -f ./hello/Makefile ] || exit 0; \
14496 r=`${PWD_COMMAND}`; export r; \
14497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14498 $(HOST_EXPORTS) \
14499 for flag in $(EXTRA_HOST_FLAGS) ; do \
14500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14501 done; \
14502 echo "Doing TAGS in hello" ; \
14503 (cd $(HOST_SUBDIR)/hello && \
14504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14506 "RANLIB=$${RANLIB}" \
14507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14508 TAGS) \
14509 || exit 1
14511 @endif hello
14513 .PHONY: maybe-install-info-hello install-info-hello
14514 maybe-install-info-hello:
14515 @if hello
14516 maybe-install-info-hello: install-info-hello
14518 install-info-hello: \
14519 configure-hello \
14520 info-hello
14521 @: $(MAKE); $(unstage)
14522 @[ -f ./hello/Makefile ] || exit 0; \
14523 r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 $(HOST_EXPORTS) \
14526 for flag in $(EXTRA_HOST_FLAGS) ; do \
14527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14528 done; \
14529 echo "Doing install-info in hello" ; \
14530 (cd $(HOST_SUBDIR)/hello && \
14531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14533 "RANLIB=$${RANLIB}" \
14534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14535 install-info) \
14536 || exit 1
14538 @endif hello
14540 .PHONY: maybe-install-html-hello install-html-hello
14541 maybe-install-html-hello:
14542 @if hello
14543 maybe-install-html-hello: install-html-hello
14545 install-html-hello: \
14546 configure-hello \
14547 html-hello
14548 @: $(MAKE); $(unstage)
14549 @[ -f ./hello/Makefile ] || exit 0; \
14550 r=`${PWD_COMMAND}`; export r; \
14551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14552 $(HOST_EXPORTS) \
14553 for flag in $(EXTRA_HOST_FLAGS) ; do \
14554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14555 done; \
14556 echo "Doing install-html in hello" ; \
14557 (cd $(HOST_SUBDIR)/hello && \
14558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14560 "RANLIB=$${RANLIB}" \
14561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14562 install-html) \
14563 || exit 1
14565 @endif hello
14567 .PHONY: maybe-installcheck-hello installcheck-hello
14568 maybe-installcheck-hello:
14569 @if hello
14570 maybe-installcheck-hello: installcheck-hello
14572 installcheck-hello: \
14573 configure-hello
14574 @: $(MAKE); $(unstage)
14575 @[ -f ./hello/Makefile ] || exit 0; \
14576 r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14578 $(HOST_EXPORTS) \
14579 for flag in $(EXTRA_HOST_FLAGS) ; do \
14580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14581 done; \
14582 echo "Doing installcheck in hello" ; \
14583 (cd $(HOST_SUBDIR)/hello && \
14584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14586 "RANLIB=$${RANLIB}" \
14587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14588 installcheck) \
14589 || exit 1
14591 @endif hello
14593 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
14594 maybe-mostlyclean-hello:
14595 @if hello
14596 maybe-mostlyclean-hello: mostlyclean-hello
14598 mostlyclean-hello:
14599 @: $(MAKE); $(unstage)
14600 @[ -f ./hello/Makefile ] || exit 0; \
14601 r=`${PWD_COMMAND}`; export r; \
14602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14603 $(HOST_EXPORTS) \
14604 for flag in $(EXTRA_HOST_FLAGS) ; do \
14605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14606 done; \
14607 echo "Doing mostlyclean in hello" ; \
14608 (cd $(HOST_SUBDIR)/hello && \
14609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14611 "RANLIB=$${RANLIB}" \
14612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14613 mostlyclean) \
14614 || exit 1
14616 @endif hello
14618 .PHONY: maybe-clean-hello clean-hello
14619 maybe-clean-hello:
14620 @if hello
14621 maybe-clean-hello: clean-hello
14623 clean-hello:
14624 @: $(MAKE); $(unstage)
14625 @[ -f ./hello/Makefile ] || exit 0; \
14626 r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628 $(HOST_EXPORTS) \
14629 for flag in $(EXTRA_HOST_FLAGS) ; do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14631 done; \
14632 echo "Doing clean in hello" ; \
14633 (cd $(HOST_SUBDIR)/hello && \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14638 clean) \
14639 || exit 1
14641 @endif hello
14643 .PHONY: maybe-distclean-hello distclean-hello
14644 maybe-distclean-hello:
14645 @if hello
14646 maybe-distclean-hello: distclean-hello
14648 distclean-hello:
14649 @: $(MAKE); $(unstage)
14650 @[ -f ./hello/Makefile ] || exit 0; \
14651 r=`${PWD_COMMAND}`; export r; \
14652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14653 $(HOST_EXPORTS) \
14654 for flag in $(EXTRA_HOST_FLAGS) ; do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 done; \
14657 echo "Doing distclean in hello" ; \
14658 (cd $(HOST_SUBDIR)/hello && \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14663 distclean) \
14664 || exit 1
14666 @endif hello
14668 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
14669 maybe-maintainer-clean-hello:
14670 @if hello
14671 maybe-maintainer-clean-hello: maintainer-clean-hello
14673 maintainer-clean-hello:
14674 @: $(MAKE); $(unstage)
14675 @[ -f ./hello/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(HOST_EXPORTS) \
14679 for flag in $(EXTRA_HOST_FLAGS) ; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 done; \
14682 echo "Doing maintainer-clean in hello" ; \
14683 (cd $(HOST_SUBDIR)/hello && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14688 maintainer-clean) \
14689 || exit 1
14691 @endif hello
14695 .PHONY: configure-indent maybe-configure-indent
14696 maybe-configure-indent:
14697 @if gcc-bootstrap
14698 configure-indent: stage_current
14699 @endif gcc-bootstrap
14700 @if indent
14701 maybe-configure-indent: configure-indent
14702 configure-indent:
14703 @: $(MAKE); $(unstage)
14704 @r=`${PWD_COMMAND}`; export r; \
14705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14706 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
14707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
14708 $(HOST_EXPORTS) \
14709 echo Configuring in $(HOST_SUBDIR)/indent; \
14710 cd "$(HOST_SUBDIR)/indent" || exit 1; \
14711 case $(srcdir) in \
14712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14713 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
14714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14715 esac; \
14716 srcdiroption="--srcdir=$${topdir}/indent"; \
14717 libsrcdir="$$s/indent"; \
14718 $(SHELL) $${libsrcdir}/configure \
14719 $(HOST_CONFIGARGS) $${srcdiroption} \
14720 || exit 1
14721 @endif indent
14727 .PHONY: all-indent maybe-all-indent
14728 maybe-all-indent:
14729 @if gcc-bootstrap
14730 all-indent: stage_current
14731 @endif gcc-bootstrap
14732 @if indent
14733 TARGET-indent=all
14734 maybe-all-indent: all-indent
14735 all-indent: configure-indent
14736 @: $(MAKE); $(unstage)
14737 @r=`${PWD_COMMAND}`; export r; \
14738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14739 $(HOST_EXPORTS) \
14740 (cd $(HOST_SUBDIR)/indent && \
14741 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
14742 @endif indent
14747 .PHONY: check-indent maybe-check-indent
14748 maybe-check-indent:
14749 @if indent
14750 maybe-check-indent: check-indent
14752 check-indent:
14753 @: $(MAKE); $(unstage)
14754 @r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 $(HOST_EXPORTS) \
14757 (cd $(HOST_SUBDIR)/indent && \
14758 $(MAKE) $(FLAGS_TO_PASS) check)
14760 @endif indent
14762 .PHONY: install-indent maybe-install-indent
14763 maybe-install-indent:
14764 @if indent
14765 maybe-install-indent: install-indent
14767 install-indent: installdirs
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) install)
14775 @endif indent
14777 # Other targets (info, dvi, etc.)
14779 .PHONY: maybe-info-indent info-indent
14780 maybe-info-indent:
14781 @if indent
14782 maybe-info-indent: info-indent
14784 info-indent: \
14785 configure-indent
14786 @: $(MAKE); $(unstage)
14787 @[ -f ./indent/Makefile ] || exit 0; \
14788 r=`${PWD_COMMAND}`; export r; \
14789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14790 $(HOST_EXPORTS) \
14791 for flag in $(EXTRA_HOST_FLAGS) ; do \
14792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14793 done; \
14794 echo "Doing info in indent" ; \
14795 (cd $(HOST_SUBDIR)/indent && \
14796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14798 "RANLIB=$${RANLIB}" \
14799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14800 info) \
14801 || exit 1
14803 @endif indent
14805 .PHONY: maybe-dvi-indent dvi-indent
14806 maybe-dvi-indent:
14807 @if indent
14808 maybe-dvi-indent: dvi-indent
14810 dvi-indent: \
14811 configure-indent
14812 @: $(MAKE); $(unstage)
14813 @[ -f ./indent/Makefile ] || exit 0; \
14814 r=`${PWD_COMMAND}`; export r; \
14815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 $(HOST_EXPORTS) \
14817 for flag in $(EXTRA_HOST_FLAGS) ; do \
14818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14819 done; \
14820 echo "Doing dvi in indent" ; \
14821 (cd $(HOST_SUBDIR)/indent && \
14822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14824 "RANLIB=$${RANLIB}" \
14825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14826 dvi) \
14827 || exit 1
14829 @endif indent
14831 .PHONY: maybe-html-indent html-indent
14832 maybe-html-indent:
14833 @if indent
14834 maybe-html-indent: html-indent
14836 html-indent: \
14837 configure-indent
14838 @: $(MAKE); $(unstage)
14839 @[ -f ./indent/Makefile ] || exit 0; \
14840 r=`${PWD_COMMAND}`; export r; \
14841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14842 $(HOST_EXPORTS) \
14843 for flag in $(EXTRA_HOST_FLAGS) ; do \
14844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14845 done; \
14846 echo "Doing html in indent" ; \
14847 (cd $(HOST_SUBDIR)/indent && \
14848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14850 "RANLIB=$${RANLIB}" \
14851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14852 html) \
14853 || exit 1
14855 @endif indent
14857 .PHONY: maybe-TAGS-indent TAGS-indent
14858 maybe-TAGS-indent:
14859 @if indent
14860 maybe-TAGS-indent: TAGS-indent
14862 TAGS-indent: \
14863 configure-indent
14864 @: $(MAKE); $(unstage)
14865 @[ -f ./indent/Makefile ] || exit 0; \
14866 r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 $(HOST_EXPORTS) \
14869 for flag in $(EXTRA_HOST_FLAGS) ; do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871 done; \
14872 echo "Doing TAGS in indent" ; \
14873 (cd $(HOST_SUBDIR)/indent && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878 TAGS) \
14879 || exit 1
14881 @endif indent
14883 .PHONY: maybe-install-info-indent install-info-indent
14884 maybe-install-info-indent:
14885 @if indent
14886 maybe-install-info-indent: install-info-indent
14888 install-info-indent: \
14889 configure-indent \
14890 info-indent
14891 @: $(MAKE); $(unstage)
14892 @[ -f ./indent/Makefile ] || exit 0; \
14893 r=`${PWD_COMMAND}`; export r; \
14894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 $(HOST_EXPORTS) \
14896 for flag in $(EXTRA_HOST_FLAGS) ; do \
14897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14898 done; \
14899 echo "Doing install-info in indent" ; \
14900 (cd $(HOST_SUBDIR)/indent && \
14901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14903 "RANLIB=$${RANLIB}" \
14904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14905 install-info) \
14906 || exit 1
14908 @endif indent
14910 .PHONY: maybe-install-html-indent install-html-indent
14911 maybe-install-html-indent:
14912 @if indent
14913 maybe-install-html-indent: install-html-indent
14915 install-html-indent: \
14916 configure-indent \
14917 html-indent
14918 @: $(MAKE); $(unstage)
14919 @[ -f ./indent/Makefile ] || exit 0; \
14920 r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 $(HOST_EXPORTS) \
14923 for flag in $(EXTRA_HOST_FLAGS) ; do \
14924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14925 done; \
14926 echo "Doing install-html in indent" ; \
14927 (cd $(HOST_SUBDIR)/indent && \
14928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14930 "RANLIB=$${RANLIB}" \
14931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14932 install-html) \
14933 || exit 1
14935 @endif indent
14937 .PHONY: maybe-installcheck-indent installcheck-indent
14938 maybe-installcheck-indent:
14939 @if indent
14940 maybe-installcheck-indent: installcheck-indent
14942 installcheck-indent: \
14943 configure-indent
14944 @: $(MAKE); $(unstage)
14945 @[ -f ./indent/Makefile ] || exit 0; \
14946 r=`${PWD_COMMAND}`; export r; \
14947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14948 $(HOST_EXPORTS) \
14949 for flag in $(EXTRA_HOST_FLAGS) ; do \
14950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14951 done; \
14952 echo "Doing installcheck in indent" ; \
14953 (cd $(HOST_SUBDIR)/indent && \
14954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14956 "RANLIB=$${RANLIB}" \
14957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14958 installcheck) \
14959 || exit 1
14961 @endif indent
14963 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14964 maybe-mostlyclean-indent:
14965 @if indent
14966 maybe-mostlyclean-indent: mostlyclean-indent
14968 mostlyclean-indent:
14969 @: $(MAKE); $(unstage)
14970 @[ -f ./indent/Makefile ] || exit 0; \
14971 r=`${PWD_COMMAND}`; export r; \
14972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14973 $(HOST_EXPORTS) \
14974 for flag in $(EXTRA_HOST_FLAGS) ; do \
14975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14976 done; \
14977 echo "Doing mostlyclean in indent" ; \
14978 (cd $(HOST_SUBDIR)/indent && \
14979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14981 "RANLIB=$${RANLIB}" \
14982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14983 mostlyclean) \
14984 || exit 1
14986 @endif indent
14988 .PHONY: maybe-clean-indent clean-indent
14989 maybe-clean-indent:
14990 @if indent
14991 maybe-clean-indent: clean-indent
14993 clean-indent:
14994 @: $(MAKE); $(unstage)
14995 @[ -f ./indent/Makefile ] || exit 0; \
14996 r=`${PWD_COMMAND}`; export r; \
14997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14998 $(HOST_EXPORTS) \
14999 for flag in $(EXTRA_HOST_FLAGS) ; do \
15000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15001 done; \
15002 echo "Doing clean in indent" ; \
15003 (cd $(HOST_SUBDIR)/indent && \
15004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15006 "RANLIB=$${RANLIB}" \
15007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15008 clean) \
15009 || exit 1
15011 @endif indent
15013 .PHONY: maybe-distclean-indent distclean-indent
15014 maybe-distclean-indent:
15015 @if indent
15016 maybe-distclean-indent: distclean-indent
15018 distclean-indent:
15019 @: $(MAKE); $(unstage)
15020 @[ -f ./indent/Makefile ] || exit 0; \
15021 r=`${PWD_COMMAND}`; export r; \
15022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15023 $(HOST_EXPORTS) \
15024 for flag in $(EXTRA_HOST_FLAGS) ; do \
15025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15026 done; \
15027 echo "Doing distclean in indent" ; \
15028 (cd $(HOST_SUBDIR)/indent && \
15029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15031 "RANLIB=$${RANLIB}" \
15032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15033 distclean) \
15034 || exit 1
15036 @endif indent
15038 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
15039 maybe-maintainer-clean-indent:
15040 @if indent
15041 maybe-maintainer-clean-indent: maintainer-clean-indent
15043 maintainer-clean-indent:
15044 @: $(MAKE); $(unstage)
15045 @[ -f ./indent/Makefile ] || exit 0; \
15046 r=`${PWD_COMMAND}`; export r; \
15047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15048 $(HOST_EXPORTS) \
15049 for flag in $(EXTRA_HOST_FLAGS) ; do \
15050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15051 done; \
15052 echo "Doing maintainer-clean in indent" ; \
15053 (cd $(HOST_SUBDIR)/indent && \
15054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15056 "RANLIB=$${RANLIB}" \
15057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15058 maintainer-clean) \
15059 || exit 1
15061 @endif indent
15065 .PHONY: configure-intl maybe-configure-intl
15066 maybe-configure-intl:
15067 @if gcc-bootstrap
15068 configure-intl: stage_current
15069 @endif gcc-bootstrap
15070 @if intl
15071 maybe-configure-intl: configure-intl
15072 configure-intl:
15073 @r=`${PWD_COMMAND}`; export r; \
15074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15075 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15077 $(HOST_EXPORTS) \
15078 echo Configuring in $(HOST_SUBDIR)/intl; \
15079 cd "$(HOST_SUBDIR)/intl" || exit 1; \
15080 case $(srcdir) in \
15081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15082 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15084 esac; \
15085 srcdiroption="--srcdir=$${topdir}/intl"; \
15086 libsrcdir="$$s/intl"; \
15087 $(SHELL) $${libsrcdir}/configure \
15088 $(HOST_CONFIGARGS) $${srcdiroption} \
15089 || exit 1
15090 @endif intl
15094 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
15095 maybe-configure-stage1-intl:
15096 @if intl-bootstrap
15097 maybe-configure-stage1-intl: configure-stage1-intl
15098 configure-stage1-intl:
15099 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15101 @r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15104 $(HOST_EXPORTS) \
15105 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
15106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15107 cd $(HOST_SUBDIR)/intl || exit 1; \
15108 case $(srcdir) in \
15109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15110 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15112 esac; \
15113 srcdiroption="--srcdir=$${topdir}/intl"; \
15114 libsrcdir="$$s/intl"; \
15115 $(SHELL) $${libsrcdir}/configure \
15116 $(HOST_CONFIGARGS) $${srcdiroption} \
15117 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15118 @endif intl-bootstrap
15120 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
15121 maybe-configure-stage2-intl:
15122 @if intl-bootstrap
15123 maybe-configure-stage2-intl: configure-stage2-intl
15124 configure-stage2-intl:
15125 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15127 @r=`${PWD_COMMAND}`; export r; \
15128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15129 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15130 $(HOST_EXPORTS) \
15131 $(POSTSTAGE1_HOST_EXPORTS) \
15132 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
15133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15134 cd $(HOST_SUBDIR)/intl || exit 1; \
15135 case $(srcdir) in \
15136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15137 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15139 esac; \
15140 srcdiroption="--srcdir=$${topdir}/intl"; \
15141 libsrcdir="$$s/intl"; \
15142 $(SHELL) $${libsrcdir}/configure \
15143 $(HOST_CONFIGARGS) $${srcdiroption} \
15144 @stage2_werror_flag@
15145 @endif intl-bootstrap
15147 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
15148 maybe-configure-stage3-intl:
15149 @if intl-bootstrap
15150 maybe-configure-stage3-intl: configure-stage3-intl
15151 configure-stage3-intl:
15152 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15154 @r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15157 $(HOST_EXPORTS) \
15158 $(POSTSTAGE1_HOST_EXPORTS) \
15159 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
15160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15161 cd $(HOST_SUBDIR)/intl || exit 1; \
15162 case $(srcdir) in \
15163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15164 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15166 esac; \
15167 srcdiroption="--srcdir=$${topdir}/intl"; \
15168 libsrcdir="$$s/intl"; \
15169 $(SHELL) $${libsrcdir}/configure \
15170 $(HOST_CONFIGARGS) $${srcdiroption} \
15171 @stage2_werror_flag@
15172 @endif intl-bootstrap
15174 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
15175 maybe-configure-stage4-intl:
15176 @if intl-bootstrap
15177 maybe-configure-stage4-intl: configure-stage4-intl
15178 configure-stage4-intl:
15179 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15181 @r=`${PWD_COMMAND}`; export r; \
15182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15183 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15184 $(HOST_EXPORTS) \
15185 $(POSTSTAGE1_HOST_EXPORTS) \
15186 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
15187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15188 cd $(HOST_SUBDIR)/intl || exit 1; \
15189 case $(srcdir) in \
15190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15191 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15193 esac; \
15194 srcdiroption="--srcdir=$${topdir}/intl"; \
15195 libsrcdir="$$s/intl"; \
15196 $(SHELL) $${libsrcdir}/configure \
15197 $(HOST_CONFIGARGS) $${srcdiroption} \
15198 @stage2_werror_flag@
15199 @endif intl-bootstrap
15201 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
15202 maybe-configure-stageprofile-intl:
15203 @if intl-bootstrap
15204 maybe-configure-stageprofile-intl: configure-stageprofile-intl
15205 configure-stageprofile-intl:
15206 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15208 @r=`${PWD_COMMAND}`; export r; \
15209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15211 $(HOST_EXPORTS) \
15212 $(POSTSTAGE1_HOST_EXPORTS) \
15213 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
15214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15215 cd $(HOST_SUBDIR)/intl || exit 1; \
15216 case $(srcdir) in \
15217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15218 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15220 esac; \
15221 srcdiroption="--srcdir=$${topdir}/intl"; \
15222 libsrcdir="$$s/intl"; \
15223 $(SHELL) $${libsrcdir}/configure \
15224 $(HOST_CONFIGARGS) $${srcdiroption} \
15225 @stage2_werror_flag@
15226 @endif intl-bootstrap
15228 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
15229 maybe-configure-stagefeedback-intl:
15230 @if intl-bootstrap
15231 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
15232 configure-stagefeedback-intl:
15233 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15235 @r=`${PWD_COMMAND}`; export r; \
15236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15237 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15238 $(HOST_EXPORTS) \
15239 $(POSTSTAGE1_HOST_EXPORTS) \
15240 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
15241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15242 cd $(HOST_SUBDIR)/intl || exit 1; \
15243 case $(srcdir) in \
15244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15245 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15247 esac; \
15248 srcdiroption="--srcdir=$${topdir}/intl"; \
15249 libsrcdir="$$s/intl"; \
15250 $(SHELL) $${libsrcdir}/configure \
15251 $(HOST_CONFIGARGS) $${srcdiroption} \
15252 @stage2_werror_flag@
15253 @endif intl-bootstrap
15259 .PHONY: all-intl maybe-all-intl
15260 maybe-all-intl:
15261 @if gcc-bootstrap
15262 all-intl: stage_current
15263 @endif gcc-bootstrap
15264 @if intl
15265 TARGET-intl=all
15266 maybe-all-intl: all-intl
15267 all-intl: configure-intl
15268 @r=`${PWD_COMMAND}`; export r; \
15269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15270 $(HOST_EXPORTS) \
15271 (cd $(HOST_SUBDIR)/intl && \
15272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
15273 @endif intl
15277 .PHONY: all-stage1-intl maybe-all-stage1-intl
15278 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
15279 maybe-all-stage1-intl:
15280 maybe-clean-stage1-intl:
15281 @if intl-bootstrap
15282 maybe-all-stage1-intl: all-stage1-intl
15283 all-stage1: all-stage1-intl
15284 TARGET-stage1-intl = $(TARGET-intl)
15285 all-stage1-intl: configure-stage1-intl
15286 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15287 @r=`${PWD_COMMAND}`; export r; \
15288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15289 $(HOST_EXPORTS) \
15290 cd $(HOST_SUBDIR)/intl && \
15291 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15292 $(TARGET-stage1-intl)
15294 maybe-clean-stage1-intl: clean-stage1-intl
15295 clean-stage1: clean-stage1-intl
15296 clean-stage1-intl:
15297 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
15298 || exit 0 ; \
15299 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15300 cd $(HOST_SUBDIR)/intl && \
15301 $(MAKE) $(FLAGS_TO_PASS) \
15302 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15303 @endif intl-bootstrap
15306 .PHONY: all-stage2-intl maybe-all-stage2-intl
15307 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
15308 maybe-all-stage2-intl:
15309 maybe-clean-stage2-intl:
15310 @if intl-bootstrap
15311 maybe-all-stage2-intl: all-stage2-intl
15312 all-stage2: all-stage2-intl
15313 TARGET-stage2-intl = $(TARGET-intl)
15314 all-stage2-intl: configure-stage2-intl
15315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15316 @r=`${PWD_COMMAND}`; export r; \
15317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15318 $(HOST_EXPORTS) \
15319 $(POSTSTAGE1_HOST_EXPORTS) \
15320 cd $(HOST_SUBDIR)/intl && \
15321 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15322 $(TARGET-stage2-intl)
15324 maybe-clean-stage2-intl: clean-stage2-intl
15325 clean-stage2: clean-stage2-intl
15326 clean-stage2-intl:
15327 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
15328 || exit 0 ; \
15329 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15330 cd $(HOST_SUBDIR)/intl && \
15331 $(MAKE) $(FLAGS_TO_PASS) \
15332 $(POSTSTAGE1_FLAGS_TO_PASS) \
15333 clean
15334 @endif intl-bootstrap
15337 .PHONY: all-stage3-intl maybe-all-stage3-intl
15338 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
15339 maybe-all-stage3-intl:
15340 maybe-clean-stage3-intl:
15341 @if intl-bootstrap
15342 maybe-all-stage3-intl: all-stage3-intl
15343 all-stage3: all-stage3-intl
15344 TARGET-stage3-intl = $(TARGET-intl)
15345 all-stage3-intl: configure-stage3-intl
15346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15347 @r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(HOST_EXPORTS) \
15350 $(POSTSTAGE1_HOST_EXPORTS) \
15351 cd $(HOST_SUBDIR)/intl && \
15352 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15353 $(TARGET-stage3-intl)
15355 maybe-clean-stage3-intl: clean-stage3-intl
15356 clean-stage3: clean-stage3-intl
15357 clean-stage3-intl:
15358 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
15359 || exit 0 ; \
15360 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15361 cd $(HOST_SUBDIR)/intl && \
15362 $(MAKE) $(FLAGS_TO_PASS) \
15363 $(POSTSTAGE1_FLAGS_TO_PASS) \
15364 clean
15365 @endif intl-bootstrap
15368 .PHONY: all-stage4-intl maybe-all-stage4-intl
15369 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
15370 maybe-all-stage4-intl:
15371 maybe-clean-stage4-intl:
15372 @if intl-bootstrap
15373 maybe-all-stage4-intl: all-stage4-intl
15374 all-stage4: all-stage4-intl
15375 TARGET-stage4-intl = $(TARGET-intl)
15376 all-stage4-intl: configure-stage4-intl
15377 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15378 @r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380 $(HOST_EXPORTS) \
15381 $(POSTSTAGE1_HOST_EXPORTS) \
15382 cd $(HOST_SUBDIR)/intl && \
15383 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15384 $(TARGET-stage4-intl)
15386 maybe-clean-stage4-intl: clean-stage4-intl
15387 clean-stage4: clean-stage4-intl
15388 clean-stage4-intl:
15389 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
15390 || exit 0 ; \
15391 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15392 cd $(HOST_SUBDIR)/intl && \
15393 $(MAKE) $(FLAGS_TO_PASS) \
15394 $(POSTSTAGE1_FLAGS_TO_PASS) \
15395 clean
15396 @endif intl-bootstrap
15399 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
15400 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
15401 maybe-all-stageprofile-intl:
15402 maybe-clean-stageprofile-intl:
15403 @if intl-bootstrap
15404 maybe-all-stageprofile-intl: all-stageprofile-intl
15405 all-stageprofile: all-stageprofile-intl
15406 TARGET-stageprofile-intl = $(TARGET-intl)
15407 all-stageprofile-intl: configure-stageprofile-intl
15408 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15409 @r=`${PWD_COMMAND}`; export r; \
15410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15411 $(HOST_EXPORTS) \
15412 $(POSTSTAGE1_HOST_EXPORTS) \
15413 cd $(HOST_SUBDIR)/intl && \
15414 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15415 $(TARGET-stageprofile-intl)
15417 maybe-clean-stageprofile-intl: clean-stageprofile-intl
15418 clean-stageprofile: clean-stageprofile-intl
15419 clean-stageprofile-intl:
15420 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
15421 || exit 0 ; \
15422 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15423 cd $(HOST_SUBDIR)/intl && \
15424 $(MAKE) $(FLAGS_TO_PASS) \
15425 $(POSTSTAGE1_FLAGS_TO_PASS) \
15426 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15427 @endif intl-bootstrap
15430 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
15431 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
15432 maybe-all-stagefeedback-intl:
15433 maybe-clean-stagefeedback-intl:
15434 @if intl-bootstrap
15435 maybe-all-stagefeedback-intl: all-stagefeedback-intl
15436 all-stagefeedback: all-stagefeedback-intl
15437 TARGET-stagefeedback-intl = $(TARGET-intl)
15438 all-stagefeedback-intl: configure-stagefeedback-intl
15439 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15440 @r=`${PWD_COMMAND}`; export r; \
15441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15442 $(HOST_EXPORTS) \
15443 $(POSTSTAGE1_HOST_EXPORTS) \
15444 cd $(HOST_SUBDIR)/intl && \
15445 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15446 $(TARGET-stagefeedback-intl)
15448 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
15449 clean-stagefeedback: clean-stagefeedback-intl
15450 clean-stagefeedback-intl:
15451 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
15452 || exit 0 ; \
15453 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15454 cd $(HOST_SUBDIR)/intl && \
15455 $(MAKE) $(FLAGS_TO_PASS) \
15456 $(POSTSTAGE1_FLAGS_TO_PASS) \
15457 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15458 @endif intl-bootstrap
15464 .PHONY: check-intl maybe-check-intl
15465 maybe-check-intl:
15466 @if intl
15467 maybe-check-intl: check-intl
15469 check-intl:
15470 @: $(MAKE); $(unstage)
15471 @r=`${PWD_COMMAND}`; export r; \
15472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15473 $(HOST_EXPORTS) \
15474 (cd $(HOST_SUBDIR)/intl && \
15475 $(MAKE) $(FLAGS_TO_PASS) check)
15477 @endif intl
15479 .PHONY: install-intl maybe-install-intl
15480 maybe-install-intl:
15481 @if intl
15482 maybe-install-intl: install-intl
15484 install-intl: installdirs
15485 @: $(MAKE); $(unstage)
15486 @r=`${PWD_COMMAND}`; export r; \
15487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15488 $(HOST_EXPORTS) \
15489 (cd $(HOST_SUBDIR)/intl && \
15490 $(MAKE) $(FLAGS_TO_PASS) install)
15492 @endif intl
15494 # Other targets (info, dvi, etc.)
15496 .PHONY: maybe-info-intl info-intl
15497 maybe-info-intl:
15498 @if intl
15499 maybe-info-intl: info-intl
15501 info-intl: \
15502 configure-intl
15503 @[ -f ./intl/Makefile ] || exit 0; \
15504 r=`${PWD_COMMAND}`; export r; \
15505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15506 $(HOST_EXPORTS) \
15507 for flag in $(EXTRA_HOST_FLAGS) ; do \
15508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15509 done; \
15510 echo "Doing info in intl" ; \
15511 (cd $(HOST_SUBDIR)/intl && \
15512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15514 "RANLIB=$${RANLIB}" \
15515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15516 info) \
15517 || exit 1
15519 @endif intl
15521 .PHONY: maybe-dvi-intl dvi-intl
15522 maybe-dvi-intl:
15523 @if intl
15524 maybe-dvi-intl: dvi-intl
15526 dvi-intl: \
15527 configure-intl
15528 @[ -f ./intl/Makefile ] || exit 0; \
15529 r=`${PWD_COMMAND}`; export r; \
15530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15531 $(HOST_EXPORTS) \
15532 for flag in $(EXTRA_HOST_FLAGS) ; do \
15533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15534 done; \
15535 echo "Doing dvi in intl" ; \
15536 (cd $(HOST_SUBDIR)/intl && \
15537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15539 "RANLIB=$${RANLIB}" \
15540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15541 dvi) \
15542 || exit 1
15544 @endif intl
15546 .PHONY: maybe-html-intl html-intl
15547 maybe-html-intl:
15548 @if intl
15549 maybe-html-intl: html-intl
15551 html-intl: \
15552 configure-intl
15553 @[ -f ./intl/Makefile ] || exit 0; \
15554 r=`${PWD_COMMAND}`; export r; \
15555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15556 $(HOST_EXPORTS) \
15557 for flag in $(EXTRA_HOST_FLAGS) ; do \
15558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15559 done; \
15560 echo "Doing html in intl" ; \
15561 (cd $(HOST_SUBDIR)/intl && \
15562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15564 "RANLIB=$${RANLIB}" \
15565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15566 html) \
15567 || exit 1
15569 @endif intl
15571 .PHONY: maybe-TAGS-intl TAGS-intl
15572 maybe-TAGS-intl:
15573 @if intl
15574 maybe-TAGS-intl: TAGS-intl
15576 TAGS-intl: \
15577 configure-intl
15578 @[ -f ./intl/Makefile ] || exit 0; \
15579 r=`${PWD_COMMAND}`; export r; \
15580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15581 $(HOST_EXPORTS) \
15582 for flag in $(EXTRA_HOST_FLAGS) ; do \
15583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15584 done; \
15585 echo "Doing TAGS in intl" ; \
15586 (cd $(HOST_SUBDIR)/intl && \
15587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15589 "RANLIB=$${RANLIB}" \
15590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15591 TAGS) \
15592 || exit 1
15594 @endif intl
15596 .PHONY: maybe-install-info-intl install-info-intl
15597 maybe-install-info-intl:
15598 @if intl
15599 maybe-install-info-intl: install-info-intl
15601 install-info-intl: \
15602 configure-intl \
15603 info-intl
15604 @[ -f ./intl/Makefile ] || exit 0; \
15605 r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 $(HOST_EXPORTS) \
15608 for flag in $(EXTRA_HOST_FLAGS) ; do \
15609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610 done; \
15611 echo "Doing install-info in intl" ; \
15612 (cd $(HOST_SUBDIR)/intl && \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615 "RANLIB=$${RANLIB}" \
15616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15617 install-info) \
15618 || exit 1
15620 @endif intl
15622 .PHONY: maybe-install-html-intl install-html-intl
15623 maybe-install-html-intl:
15624 @if intl
15625 maybe-install-html-intl: install-html-intl
15627 install-html-intl: \
15628 configure-intl \
15629 html-intl
15630 @[ -f ./intl/Makefile ] || exit 0; \
15631 r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 $(HOST_EXPORTS) \
15634 for flag in $(EXTRA_HOST_FLAGS) ; do \
15635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15636 done; \
15637 echo "Doing install-html in intl" ; \
15638 (cd $(HOST_SUBDIR)/intl && \
15639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15641 "RANLIB=$${RANLIB}" \
15642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15643 install-html) \
15644 || exit 1
15646 @endif intl
15648 .PHONY: maybe-installcheck-intl installcheck-intl
15649 maybe-installcheck-intl:
15650 @if intl
15651 maybe-installcheck-intl: installcheck-intl
15653 installcheck-intl: \
15654 configure-intl
15655 @[ -f ./intl/Makefile ] || exit 0; \
15656 r=`${PWD_COMMAND}`; export r; \
15657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 $(HOST_EXPORTS) \
15659 for flag in $(EXTRA_HOST_FLAGS) ; do \
15660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15661 done; \
15662 echo "Doing installcheck in intl" ; \
15663 (cd $(HOST_SUBDIR)/intl && \
15664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15666 "RANLIB=$${RANLIB}" \
15667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15668 installcheck) \
15669 || exit 1
15671 @endif intl
15673 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
15674 maybe-mostlyclean-intl:
15675 @if intl
15676 maybe-mostlyclean-intl: mostlyclean-intl
15678 mostlyclean-intl:
15679 @[ -f ./intl/Makefile ] || exit 0; \
15680 r=`${PWD_COMMAND}`; export r; \
15681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15682 $(HOST_EXPORTS) \
15683 for flag in $(EXTRA_HOST_FLAGS) ; do \
15684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15685 done; \
15686 echo "Doing mostlyclean in intl" ; \
15687 (cd $(HOST_SUBDIR)/intl && \
15688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15690 "RANLIB=$${RANLIB}" \
15691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15692 mostlyclean) \
15693 || exit 1
15695 @endif intl
15697 .PHONY: maybe-clean-intl clean-intl
15698 maybe-clean-intl:
15699 @if intl
15700 maybe-clean-intl: clean-intl
15702 clean-intl:
15703 @[ -f ./intl/Makefile ] || exit 0; \
15704 r=`${PWD_COMMAND}`; export r; \
15705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15706 $(HOST_EXPORTS) \
15707 for flag in $(EXTRA_HOST_FLAGS) ; do \
15708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15709 done; \
15710 echo "Doing clean in intl" ; \
15711 (cd $(HOST_SUBDIR)/intl && \
15712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15714 "RANLIB=$${RANLIB}" \
15715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15716 clean) \
15717 || exit 1
15719 @endif intl
15721 .PHONY: maybe-distclean-intl distclean-intl
15722 maybe-distclean-intl:
15723 @if intl
15724 maybe-distclean-intl: distclean-intl
15726 distclean-intl:
15727 @[ -f ./intl/Makefile ] || exit 0; \
15728 r=`${PWD_COMMAND}`; export r; \
15729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15730 $(HOST_EXPORTS) \
15731 for flag in $(EXTRA_HOST_FLAGS) ; do \
15732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15733 done; \
15734 echo "Doing distclean in intl" ; \
15735 (cd $(HOST_SUBDIR)/intl && \
15736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15738 "RANLIB=$${RANLIB}" \
15739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15740 distclean) \
15741 || exit 1
15743 @endif intl
15745 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
15746 maybe-maintainer-clean-intl:
15747 @if intl
15748 maybe-maintainer-clean-intl: maintainer-clean-intl
15750 maintainer-clean-intl:
15751 @[ -f ./intl/Makefile ] || exit 0; \
15752 r=`${PWD_COMMAND}`; export r; \
15753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15754 $(HOST_EXPORTS) \
15755 for flag in $(EXTRA_HOST_FLAGS) ; do \
15756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15757 done; \
15758 echo "Doing maintainer-clean in intl" ; \
15759 (cd $(HOST_SUBDIR)/intl && \
15760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15762 "RANLIB=$${RANLIB}" \
15763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15764 maintainer-clean) \
15765 || exit 1
15767 @endif intl
15771 .PHONY: configure-tcl maybe-configure-tcl
15772 maybe-configure-tcl:
15773 @if gcc-bootstrap
15774 configure-tcl: stage_current
15775 @endif gcc-bootstrap
15776 @if tcl
15777 maybe-configure-tcl: configure-tcl
15778 configure-tcl:
15779 @: $(MAKE); $(unstage)
15780 @r=`${PWD_COMMAND}`; export r; \
15781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15782 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
15783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
15784 $(HOST_EXPORTS) \
15785 echo Configuring in $(HOST_SUBDIR)/tcl; \
15786 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
15787 case $(srcdir) in \
15788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15789 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
15790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15791 esac; \
15792 srcdiroption="--srcdir=$${topdir}/tcl"; \
15793 libsrcdir="$$s/tcl"; \
15794 $(SHELL) $${libsrcdir}/configure \
15795 $(HOST_CONFIGARGS) $${srcdiroption} \
15796 || exit 1
15797 @endif tcl
15803 .PHONY: all-tcl maybe-all-tcl
15804 maybe-all-tcl:
15805 @if gcc-bootstrap
15806 all-tcl: stage_current
15807 @endif gcc-bootstrap
15808 @if tcl
15809 TARGET-tcl=all
15810 maybe-all-tcl: all-tcl
15811 all-tcl: configure-tcl
15812 @: $(MAKE); $(unstage)
15813 @r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 $(HOST_EXPORTS) \
15816 (cd $(HOST_SUBDIR)/tcl && \
15817 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
15818 @endif tcl
15823 .PHONY: check-tcl maybe-check-tcl
15824 maybe-check-tcl:
15825 @if tcl
15826 maybe-check-tcl: check-tcl
15828 check-tcl:
15829 @: $(MAKE); $(unstage)
15830 @r=`${PWD_COMMAND}`; export r; \
15831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15832 $(HOST_EXPORTS) \
15833 (cd $(HOST_SUBDIR)/tcl && \
15834 $(MAKE) $(FLAGS_TO_PASS) check)
15836 @endif tcl
15838 .PHONY: install-tcl maybe-install-tcl
15839 maybe-install-tcl:
15840 @if tcl
15841 maybe-install-tcl: install-tcl
15843 install-tcl: installdirs
15844 @: $(MAKE); $(unstage)
15845 @r=`${PWD_COMMAND}`; export r; \
15846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15847 $(HOST_EXPORTS) \
15848 (cd $(HOST_SUBDIR)/tcl && \
15849 $(MAKE) $(FLAGS_TO_PASS) install)
15851 @endif tcl
15853 # Other targets (info, dvi, etc.)
15855 .PHONY: maybe-info-tcl info-tcl
15856 maybe-info-tcl:
15857 @if tcl
15858 maybe-info-tcl: info-tcl
15860 info-tcl: \
15861 configure-tcl
15862 @: $(MAKE); $(unstage)
15863 @[ -f ./tcl/Makefile ] || exit 0; \
15864 r=`${PWD_COMMAND}`; export r; \
15865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15866 $(HOST_EXPORTS) \
15867 for flag in $(EXTRA_HOST_FLAGS) ; do \
15868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15869 done; \
15870 echo "Doing info in tcl" ; \
15871 (cd $(HOST_SUBDIR)/tcl && \
15872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15874 "RANLIB=$${RANLIB}" \
15875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15876 info) \
15877 || exit 1
15879 @endif tcl
15881 .PHONY: maybe-dvi-tcl dvi-tcl
15882 maybe-dvi-tcl:
15883 @if tcl
15884 maybe-dvi-tcl: dvi-tcl
15886 dvi-tcl: \
15887 configure-tcl
15888 @: $(MAKE); $(unstage)
15889 @[ -f ./tcl/Makefile ] || exit 0; \
15890 r=`${PWD_COMMAND}`; export r; \
15891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15892 $(HOST_EXPORTS) \
15893 for flag in $(EXTRA_HOST_FLAGS) ; do \
15894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15895 done; \
15896 echo "Doing dvi in tcl" ; \
15897 (cd $(HOST_SUBDIR)/tcl && \
15898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15900 "RANLIB=$${RANLIB}" \
15901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15902 dvi) \
15903 || exit 1
15905 @endif tcl
15907 .PHONY: maybe-html-tcl html-tcl
15908 maybe-html-tcl:
15909 @if tcl
15910 maybe-html-tcl: html-tcl
15912 html-tcl: \
15913 configure-tcl
15914 @: $(MAKE); $(unstage)
15915 @[ -f ./tcl/Makefile ] || exit 0; \
15916 r=`${PWD_COMMAND}`; export r; \
15917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15918 $(HOST_EXPORTS) \
15919 for flag in $(EXTRA_HOST_FLAGS) ; do \
15920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15921 done; \
15922 echo "Doing html in tcl" ; \
15923 (cd $(HOST_SUBDIR)/tcl && \
15924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15926 "RANLIB=$${RANLIB}" \
15927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15928 html) \
15929 || exit 1
15931 @endif tcl
15933 .PHONY: maybe-TAGS-tcl TAGS-tcl
15934 maybe-TAGS-tcl:
15935 @if tcl
15936 maybe-TAGS-tcl: TAGS-tcl
15938 TAGS-tcl: \
15939 configure-tcl
15940 @: $(MAKE); $(unstage)
15941 @[ -f ./tcl/Makefile ] || exit 0; \
15942 r=`${PWD_COMMAND}`; export r; \
15943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15944 $(HOST_EXPORTS) \
15945 for flag in $(EXTRA_HOST_FLAGS) ; do \
15946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15947 done; \
15948 echo "Doing TAGS in tcl" ; \
15949 (cd $(HOST_SUBDIR)/tcl && \
15950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15952 "RANLIB=$${RANLIB}" \
15953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15954 TAGS) \
15955 || exit 1
15957 @endif tcl
15959 .PHONY: maybe-install-info-tcl install-info-tcl
15960 maybe-install-info-tcl:
15961 @if tcl
15962 maybe-install-info-tcl: install-info-tcl
15964 install-info-tcl: \
15965 configure-tcl \
15966 info-tcl
15967 @: $(MAKE); $(unstage)
15968 @[ -f ./tcl/Makefile ] || exit 0; \
15969 r=`${PWD_COMMAND}`; export r; \
15970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15971 $(HOST_EXPORTS) \
15972 for flag in $(EXTRA_HOST_FLAGS) ; do \
15973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15974 done; \
15975 echo "Doing install-info in tcl" ; \
15976 (cd $(HOST_SUBDIR)/tcl && \
15977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15979 "RANLIB=$${RANLIB}" \
15980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15981 install-info) \
15982 || exit 1
15984 @endif tcl
15986 .PHONY: maybe-install-html-tcl install-html-tcl
15987 maybe-install-html-tcl:
15988 @if tcl
15989 maybe-install-html-tcl: install-html-tcl
15991 install-html-tcl: \
15992 configure-tcl \
15993 html-tcl
15994 @: $(MAKE); $(unstage)
15995 @[ -f ./tcl/Makefile ] || exit 0; \
15996 r=`${PWD_COMMAND}`; export r; \
15997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15998 $(HOST_EXPORTS) \
15999 for flag in $(EXTRA_HOST_FLAGS) ; do \
16000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16001 done; \
16002 echo "Doing install-html in tcl" ; \
16003 (cd $(HOST_SUBDIR)/tcl && \
16004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16006 "RANLIB=$${RANLIB}" \
16007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16008 install-html) \
16009 || exit 1
16011 @endif tcl
16013 .PHONY: maybe-installcheck-tcl installcheck-tcl
16014 maybe-installcheck-tcl:
16015 @if tcl
16016 maybe-installcheck-tcl: installcheck-tcl
16018 installcheck-tcl: \
16019 configure-tcl
16020 @: $(MAKE); $(unstage)
16021 @[ -f ./tcl/Makefile ] || exit 0; \
16022 r=`${PWD_COMMAND}`; export r; \
16023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16024 $(HOST_EXPORTS) \
16025 for flag in $(EXTRA_HOST_FLAGS) ; do \
16026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16027 done; \
16028 echo "Doing installcheck in tcl" ; \
16029 (cd $(HOST_SUBDIR)/tcl && \
16030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16032 "RANLIB=$${RANLIB}" \
16033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16034 installcheck) \
16035 || exit 1
16037 @endif tcl
16039 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
16040 maybe-mostlyclean-tcl:
16041 @if tcl
16042 maybe-mostlyclean-tcl: mostlyclean-tcl
16044 # tcl doesn't support mostlyclean.
16045 mostlyclean-tcl:
16047 @endif tcl
16049 .PHONY: maybe-clean-tcl clean-tcl
16050 maybe-clean-tcl:
16051 @if tcl
16052 maybe-clean-tcl: clean-tcl
16054 clean-tcl:
16055 @: $(MAKE); $(unstage)
16056 @[ -f ./tcl/Makefile ] || exit 0; \
16057 r=`${PWD_COMMAND}`; export r; \
16058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16059 $(HOST_EXPORTS) \
16060 for flag in $(EXTRA_HOST_FLAGS) ; do \
16061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16062 done; \
16063 echo "Doing clean in tcl" ; \
16064 (cd $(HOST_SUBDIR)/tcl && \
16065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16067 "RANLIB=$${RANLIB}" \
16068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16069 clean) \
16070 || exit 1
16072 @endif tcl
16074 .PHONY: maybe-distclean-tcl distclean-tcl
16075 maybe-distclean-tcl:
16076 @if tcl
16077 maybe-distclean-tcl: distclean-tcl
16079 distclean-tcl:
16080 @: $(MAKE); $(unstage)
16081 @[ -f ./tcl/Makefile ] || exit 0; \
16082 r=`${PWD_COMMAND}`; export r; \
16083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16084 $(HOST_EXPORTS) \
16085 for flag in $(EXTRA_HOST_FLAGS) ; do \
16086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16087 done; \
16088 echo "Doing distclean in tcl" ; \
16089 (cd $(HOST_SUBDIR)/tcl && \
16090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16092 "RANLIB=$${RANLIB}" \
16093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16094 distclean) \
16095 || exit 1
16097 @endif tcl
16099 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16100 maybe-maintainer-clean-tcl:
16101 @if tcl
16102 maybe-maintainer-clean-tcl: maintainer-clean-tcl
16104 maintainer-clean-tcl:
16105 @: $(MAKE); $(unstage)
16106 @[ -f ./tcl/Makefile ] || exit 0; \
16107 r=`${PWD_COMMAND}`; export r; \
16108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16109 $(HOST_EXPORTS) \
16110 for flag in $(EXTRA_HOST_FLAGS) ; do \
16111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16112 done; \
16113 echo "Doing maintainer-clean in tcl" ; \
16114 (cd $(HOST_SUBDIR)/tcl && \
16115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16117 "RANLIB=$${RANLIB}" \
16118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16119 maintainer-clean) \
16120 || exit 1
16122 @endif tcl
16126 .PHONY: configure-itcl maybe-configure-itcl
16127 maybe-configure-itcl:
16128 @if gcc-bootstrap
16129 configure-itcl: stage_current
16130 @endif gcc-bootstrap
16131 @if itcl
16132 maybe-configure-itcl: configure-itcl
16133 configure-itcl:
16134 @: $(MAKE); $(unstage)
16135 @r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16137 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
16138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
16139 $(HOST_EXPORTS) \
16140 echo Configuring in $(HOST_SUBDIR)/itcl; \
16141 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
16142 case $(srcdir) in \
16143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16144 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
16145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16146 esac; \
16147 srcdiroption="--srcdir=$${topdir}/itcl"; \
16148 libsrcdir="$$s/itcl"; \
16149 $(SHELL) $${libsrcdir}/configure \
16150 $(HOST_CONFIGARGS) $${srcdiroption} \
16151 || exit 1
16152 @endif itcl
16158 .PHONY: all-itcl maybe-all-itcl
16159 maybe-all-itcl:
16160 @if gcc-bootstrap
16161 all-itcl: stage_current
16162 @endif gcc-bootstrap
16163 @if itcl
16164 TARGET-itcl=all
16165 maybe-all-itcl: all-itcl
16166 all-itcl: configure-itcl
16167 @: $(MAKE); $(unstage)
16168 @r=`${PWD_COMMAND}`; export r; \
16169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16170 $(HOST_EXPORTS) \
16171 (cd $(HOST_SUBDIR)/itcl && \
16172 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
16173 @endif itcl
16178 .PHONY: check-itcl maybe-check-itcl
16179 maybe-check-itcl:
16180 @if itcl
16181 maybe-check-itcl: check-itcl
16183 check-itcl:
16184 @: $(MAKE); $(unstage)
16185 @r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 (cd $(HOST_SUBDIR)/itcl && \
16189 $(MAKE) $(FLAGS_TO_PASS) check)
16191 @endif itcl
16193 .PHONY: install-itcl maybe-install-itcl
16194 maybe-install-itcl:
16195 @if itcl
16196 maybe-install-itcl: install-itcl
16198 install-itcl: installdirs
16199 @: $(MAKE); $(unstage)
16200 @r=`${PWD_COMMAND}`; export r; \
16201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 $(HOST_EXPORTS) \
16203 (cd $(HOST_SUBDIR)/itcl && \
16204 $(MAKE) $(FLAGS_TO_PASS) install)
16206 @endif itcl
16208 # Other targets (info, dvi, etc.)
16210 .PHONY: maybe-info-itcl info-itcl
16211 maybe-info-itcl:
16212 @if itcl
16213 maybe-info-itcl: info-itcl
16215 info-itcl: \
16216 configure-itcl
16217 @: $(MAKE); $(unstage)
16218 @[ -f ./itcl/Makefile ] || exit 0; \
16219 r=`${PWD_COMMAND}`; export r; \
16220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16221 $(HOST_EXPORTS) \
16222 for flag in $(EXTRA_HOST_FLAGS) ; do \
16223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16224 done; \
16225 echo "Doing info in itcl" ; \
16226 (cd $(HOST_SUBDIR)/itcl && \
16227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16229 "RANLIB=$${RANLIB}" \
16230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16231 info) \
16232 || exit 1
16234 @endif itcl
16236 .PHONY: maybe-dvi-itcl dvi-itcl
16237 maybe-dvi-itcl:
16238 @if itcl
16239 maybe-dvi-itcl: dvi-itcl
16241 dvi-itcl: \
16242 configure-itcl
16243 @: $(MAKE); $(unstage)
16244 @[ -f ./itcl/Makefile ] || exit 0; \
16245 r=`${PWD_COMMAND}`; export r; \
16246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16247 $(HOST_EXPORTS) \
16248 for flag in $(EXTRA_HOST_FLAGS) ; do \
16249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16250 done; \
16251 echo "Doing dvi in itcl" ; \
16252 (cd $(HOST_SUBDIR)/itcl && \
16253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16255 "RANLIB=$${RANLIB}" \
16256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16257 dvi) \
16258 || exit 1
16260 @endif itcl
16262 .PHONY: maybe-html-itcl html-itcl
16263 maybe-html-itcl:
16264 @if itcl
16265 maybe-html-itcl: html-itcl
16267 html-itcl: \
16268 configure-itcl
16269 @: $(MAKE); $(unstage)
16270 @[ -f ./itcl/Makefile ] || exit 0; \
16271 r=`${PWD_COMMAND}`; export r; \
16272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16273 $(HOST_EXPORTS) \
16274 for flag in $(EXTRA_HOST_FLAGS) ; do \
16275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16276 done; \
16277 echo "Doing html in itcl" ; \
16278 (cd $(HOST_SUBDIR)/itcl && \
16279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16281 "RANLIB=$${RANLIB}" \
16282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16283 html) \
16284 || exit 1
16286 @endif itcl
16288 .PHONY: maybe-TAGS-itcl TAGS-itcl
16289 maybe-TAGS-itcl:
16290 @if itcl
16291 maybe-TAGS-itcl: TAGS-itcl
16293 TAGS-itcl: \
16294 configure-itcl
16295 @: $(MAKE); $(unstage)
16296 @[ -f ./itcl/Makefile ] || exit 0; \
16297 r=`${PWD_COMMAND}`; export r; \
16298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16299 $(HOST_EXPORTS) \
16300 for flag in $(EXTRA_HOST_FLAGS) ; do \
16301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16302 done; \
16303 echo "Doing TAGS in itcl" ; \
16304 (cd $(HOST_SUBDIR)/itcl && \
16305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307 "RANLIB=$${RANLIB}" \
16308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16309 TAGS) \
16310 || exit 1
16312 @endif itcl
16314 .PHONY: maybe-install-info-itcl install-info-itcl
16315 maybe-install-info-itcl:
16316 @if itcl
16317 maybe-install-info-itcl: install-info-itcl
16319 install-info-itcl: \
16320 configure-itcl \
16321 info-itcl
16322 @: $(MAKE); $(unstage)
16323 @[ -f ./itcl/Makefile ] || exit 0; \
16324 r=`${PWD_COMMAND}`; export r; \
16325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16326 $(HOST_EXPORTS) \
16327 for flag in $(EXTRA_HOST_FLAGS) ; do \
16328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16329 done; \
16330 echo "Doing install-info in itcl" ; \
16331 (cd $(HOST_SUBDIR)/itcl && \
16332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16334 "RANLIB=$${RANLIB}" \
16335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16336 install-info) \
16337 || exit 1
16339 @endif itcl
16341 .PHONY: maybe-install-html-itcl install-html-itcl
16342 maybe-install-html-itcl:
16343 @if itcl
16344 maybe-install-html-itcl: install-html-itcl
16346 install-html-itcl: \
16347 configure-itcl \
16348 html-itcl
16349 @: $(MAKE); $(unstage)
16350 @[ -f ./itcl/Makefile ] || exit 0; \
16351 r=`${PWD_COMMAND}`; export r; \
16352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16353 $(HOST_EXPORTS) \
16354 for flag in $(EXTRA_HOST_FLAGS) ; do \
16355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16356 done; \
16357 echo "Doing install-html in itcl" ; \
16358 (cd $(HOST_SUBDIR)/itcl && \
16359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16361 "RANLIB=$${RANLIB}" \
16362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16363 install-html) \
16364 || exit 1
16366 @endif itcl
16368 .PHONY: maybe-installcheck-itcl installcheck-itcl
16369 maybe-installcheck-itcl:
16370 @if itcl
16371 maybe-installcheck-itcl: installcheck-itcl
16373 installcheck-itcl: \
16374 configure-itcl
16375 @: $(MAKE); $(unstage)
16376 @[ -f ./itcl/Makefile ] || exit 0; \
16377 r=`${PWD_COMMAND}`; export r; \
16378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 $(HOST_EXPORTS) \
16380 for flag in $(EXTRA_HOST_FLAGS) ; do \
16381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16382 done; \
16383 echo "Doing installcheck in itcl" ; \
16384 (cd $(HOST_SUBDIR)/itcl && \
16385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16387 "RANLIB=$${RANLIB}" \
16388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16389 installcheck) \
16390 || exit 1
16392 @endif itcl
16394 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
16395 maybe-mostlyclean-itcl:
16396 @if itcl
16397 maybe-mostlyclean-itcl: mostlyclean-itcl
16399 mostlyclean-itcl:
16400 @: $(MAKE); $(unstage)
16401 @[ -f ./itcl/Makefile ] || exit 0; \
16402 r=`${PWD_COMMAND}`; export r; \
16403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16404 $(HOST_EXPORTS) \
16405 for flag in $(EXTRA_HOST_FLAGS) ; do \
16406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16407 done; \
16408 echo "Doing mostlyclean in itcl" ; \
16409 (cd $(HOST_SUBDIR)/itcl && \
16410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16412 "RANLIB=$${RANLIB}" \
16413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16414 mostlyclean) \
16415 || exit 1
16417 @endif itcl
16419 .PHONY: maybe-clean-itcl clean-itcl
16420 maybe-clean-itcl:
16421 @if itcl
16422 maybe-clean-itcl: clean-itcl
16424 clean-itcl:
16425 @: $(MAKE); $(unstage)
16426 @[ -f ./itcl/Makefile ] || exit 0; \
16427 r=`${PWD_COMMAND}`; export r; \
16428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429 $(HOST_EXPORTS) \
16430 for flag in $(EXTRA_HOST_FLAGS) ; do \
16431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16432 done; \
16433 echo "Doing clean in itcl" ; \
16434 (cd $(HOST_SUBDIR)/itcl && \
16435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16437 "RANLIB=$${RANLIB}" \
16438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16439 clean) \
16440 || exit 1
16442 @endif itcl
16444 .PHONY: maybe-distclean-itcl distclean-itcl
16445 maybe-distclean-itcl:
16446 @if itcl
16447 maybe-distclean-itcl: distclean-itcl
16449 distclean-itcl:
16450 @: $(MAKE); $(unstage)
16451 @[ -f ./itcl/Makefile ] || exit 0; \
16452 r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 $(HOST_EXPORTS) \
16455 for flag in $(EXTRA_HOST_FLAGS) ; do \
16456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16457 done; \
16458 echo "Doing distclean in itcl" ; \
16459 (cd $(HOST_SUBDIR)/itcl && \
16460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16462 "RANLIB=$${RANLIB}" \
16463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16464 distclean) \
16465 || exit 1
16467 @endif itcl
16469 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16470 maybe-maintainer-clean-itcl:
16471 @if itcl
16472 maybe-maintainer-clean-itcl: maintainer-clean-itcl
16474 maintainer-clean-itcl:
16475 @: $(MAKE); $(unstage)
16476 @[ -f ./itcl/Makefile ] || exit 0; \
16477 r=`${PWD_COMMAND}`; export r; \
16478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16479 $(HOST_EXPORTS) \
16480 for flag in $(EXTRA_HOST_FLAGS) ; do \
16481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16482 done; \
16483 echo "Doing maintainer-clean in itcl" ; \
16484 (cd $(HOST_SUBDIR)/itcl && \
16485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16487 "RANLIB=$${RANLIB}" \
16488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16489 maintainer-clean) \
16490 || exit 1
16492 @endif itcl
16496 .PHONY: configure-ld maybe-configure-ld
16497 maybe-configure-ld:
16498 @if gcc-bootstrap
16499 configure-ld: stage_current
16500 @endif gcc-bootstrap
16501 @if ld
16502 maybe-configure-ld: configure-ld
16503 configure-ld:
16504 @r=`${PWD_COMMAND}`; export r; \
16505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16506 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16508 $(HOST_EXPORTS) \
16509 echo Configuring in $(HOST_SUBDIR)/ld; \
16510 cd "$(HOST_SUBDIR)/ld" || exit 1; \
16511 case $(srcdir) in \
16512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16513 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16515 esac; \
16516 srcdiroption="--srcdir=$${topdir}/ld"; \
16517 libsrcdir="$$s/ld"; \
16518 $(SHELL) $${libsrcdir}/configure \
16519 $(HOST_CONFIGARGS) $${srcdiroption} \
16520 || exit 1
16521 @endif ld
16525 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
16526 maybe-configure-stage1-ld:
16527 @if ld-bootstrap
16528 maybe-configure-stage1-ld: configure-stage1-ld
16529 configure-stage1-ld:
16530 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16532 @r=`${PWD_COMMAND}`; export r; \
16533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16534 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16535 $(HOST_EXPORTS) \
16536 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
16537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16538 cd $(HOST_SUBDIR)/ld || exit 1; \
16539 case $(srcdir) in \
16540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16541 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16543 esac; \
16544 srcdiroption="--srcdir=$${topdir}/ld"; \
16545 libsrcdir="$$s/ld"; \
16546 $(SHELL) $${libsrcdir}/configure \
16547 $(HOST_CONFIGARGS) $${srcdiroption} \
16548 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16549 @endif ld-bootstrap
16551 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
16552 maybe-configure-stage2-ld:
16553 @if ld-bootstrap
16554 maybe-configure-stage2-ld: configure-stage2-ld
16555 configure-stage2-ld:
16556 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16558 @r=`${PWD_COMMAND}`; export r; \
16559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16560 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16561 $(HOST_EXPORTS) \
16562 $(POSTSTAGE1_HOST_EXPORTS) \
16563 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
16564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16565 cd $(HOST_SUBDIR)/ld || exit 1; \
16566 case $(srcdir) in \
16567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16568 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16570 esac; \
16571 srcdiroption="--srcdir=$${topdir}/ld"; \
16572 libsrcdir="$$s/ld"; \
16573 $(SHELL) $${libsrcdir}/configure \
16574 $(HOST_CONFIGARGS) $${srcdiroption} \
16575 @stage2_werror_flag@
16576 @endif ld-bootstrap
16578 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
16579 maybe-configure-stage3-ld:
16580 @if ld-bootstrap
16581 maybe-configure-stage3-ld: configure-stage3-ld
16582 configure-stage3-ld:
16583 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16584 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16585 @r=`${PWD_COMMAND}`; export r; \
16586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16587 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16588 $(HOST_EXPORTS) \
16589 $(POSTSTAGE1_HOST_EXPORTS) \
16590 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
16591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16592 cd $(HOST_SUBDIR)/ld || exit 1; \
16593 case $(srcdir) in \
16594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16595 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16597 esac; \
16598 srcdiroption="--srcdir=$${topdir}/ld"; \
16599 libsrcdir="$$s/ld"; \
16600 $(SHELL) $${libsrcdir}/configure \
16601 $(HOST_CONFIGARGS) $${srcdiroption} \
16602 @stage2_werror_flag@
16603 @endif ld-bootstrap
16605 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
16606 maybe-configure-stage4-ld:
16607 @if ld-bootstrap
16608 maybe-configure-stage4-ld: configure-stage4-ld
16609 configure-stage4-ld:
16610 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16612 @r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16615 $(HOST_EXPORTS) \
16616 $(POSTSTAGE1_HOST_EXPORTS) \
16617 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
16618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16619 cd $(HOST_SUBDIR)/ld || exit 1; \
16620 case $(srcdir) in \
16621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16622 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16624 esac; \
16625 srcdiroption="--srcdir=$${topdir}/ld"; \
16626 libsrcdir="$$s/ld"; \
16627 $(SHELL) $${libsrcdir}/configure \
16628 $(HOST_CONFIGARGS) $${srcdiroption} \
16629 @stage2_werror_flag@
16630 @endif ld-bootstrap
16632 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
16633 maybe-configure-stageprofile-ld:
16634 @if ld-bootstrap
16635 maybe-configure-stageprofile-ld: configure-stageprofile-ld
16636 configure-stageprofile-ld:
16637 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16639 @r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16642 $(HOST_EXPORTS) \
16643 $(POSTSTAGE1_HOST_EXPORTS) \
16644 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
16645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16646 cd $(HOST_SUBDIR)/ld || exit 1; \
16647 case $(srcdir) in \
16648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16649 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16651 esac; \
16652 srcdiroption="--srcdir=$${topdir}/ld"; \
16653 libsrcdir="$$s/ld"; \
16654 $(SHELL) $${libsrcdir}/configure \
16655 $(HOST_CONFIGARGS) $${srcdiroption} \
16656 @stage2_werror_flag@
16657 @endif ld-bootstrap
16659 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
16660 maybe-configure-stagefeedback-ld:
16661 @if ld-bootstrap
16662 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
16663 configure-stagefeedback-ld:
16664 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16666 @r=`${PWD_COMMAND}`; export r; \
16667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16668 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16669 $(HOST_EXPORTS) \
16670 $(POSTSTAGE1_HOST_EXPORTS) \
16671 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
16672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16673 cd $(HOST_SUBDIR)/ld || exit 1; \
16674 case $(srcdir) in \
16675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16676 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16678 esac; \
16679 srcdiroption="--srcdir=$${topdir}/ld"; \
16680 libsrcdir="$$s/ld"; \
16681 $(SHELL) $${libsrcdir}/configure \
16682 $(HOST_CONFIGARGS) $${srcdiroption} \
16683 @stage2_werror_flag@
16684 @endif ld-bootstrap
16690 .PHONY: all-ld maybe-all-ld
16691 maybe-all-ld:
16692 @if gcc-bootstrap
16693 all-ld: stage_current
16694 @endif gcc-bootstrap
16695 @if ld
16696 TARGET-ld=all
16697 maybe-all-ld: all-ld
16698 all-ld: configure-ld
16699 @r=`${PWD_COMMAND}`; export r; \
16700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16701 $(HOST_EXPORTS) \
16702 (cd $(HOST_SUBDIR)/ld && \
16703 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
16704 @endif ld
16708 .PHONY: all-stage1-ld maybe-all-stage1-ld
16709 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
16710 maybe-all-stage1-ld:
16711 maybe-clean-stage1-ld:
16712 @if ld-bootstrap
16713 maybe-all-stage1-ld: all-stage1-ld
16714 all-stage1: all-stage1-ld
16715 TARGET-stage1-ld = $(TARGET-ld)
16716 all-stage1-ld: configure-stage1-ld
16717 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16718 @r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 $(HOST_EXPORTS) \
16721 cd $(HOST_SUBDIR)/ld && \
16722 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16723 $(TARGET-stage1-ld)
16725 maybe-clean-stage1-ld: clean-stage1-ld
16726 clean-stage1: clean-stage1-ld
16727 clean-stage1-ld:
16728 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
16729 || exit 0 ; \
16730 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16731 cd $(HOST_SUBDIR)/ld && \
16732 $(MAKE) $(FLAGS_TO_PASS) \
16733 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16734 @endif ld-bootstrap
16737 .PHONY: all-stage2-ld maybe-all-stage2-ld
16738 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
16739 maybe-all-stage2-ld:
16740 maybe-clean-stage2-ld:
16741 @if ld-bootstrap
16742 maybe-all-stage2-ld: all-stage2-ld
16743 all-stage2: all-stage2-ld
16744 TARGET-stage2-ld = $(TARGET-ld)
16745 all-stage2-ld: configure-stage2-ld
16746 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16747 @r=`${PWD_COMMAND}`; export r; \
16748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16749 $(HOST_EXPORTS) \
16750 $(POSTSTAGE1_HOST_EXPORTS) \
16751 cd $(HOST_SUBDIR)/ld && \
16752 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16753 $(TARGET-stage2-ld)
16755 maybe-clean-stage2-ld: clean-stage2-ld
16756 clean-stage2: clean-stage2-ld
16757 clean-stage2-ld:
16758 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
16759 || exit 0 ; \
16760 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16761 cd $(HOST_SUBDIR)/ld && \
16762 $(MAKE) $(FLAGS_TO_PASS) \
16763 $(POSTSTAGE1_FLAGS_TO_PASS) \
16764 clean
16765 @endif ld-bootstrap
16768 .PHONY: all-stage3-ld maybe-all-stage3-ld
16769 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
16770 maybe-all-stage3-ld:
16771 maybe-clean-stage3-ld:
16772 @if ld-bootstrap
16773 maybe-all-stage3-ld: all-stage3-ld
16774 all-stage3: all-stage3-ld
16775 TARGET-stage3-ld = $(TARGET-ld)
16776 all-stage3-ld: configure-stage3-ld
16777 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16778 @r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 $(POSTSTAGE1_HOST_EXPORTS) \
16782 cd $(HOST_SUBDIR)/ld && \
16783 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16784 $(TARGET-stage3-ld)
16786 maybe-clean-stage3-ld: clean-stage3-ld
16787 clean-stage3: clean-stage3-ld
16788 clean-stage3-ld:
16789 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
16790 || exit 0 ; \
16791 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16792 cd $(HOST_SUBDIR)/ld && \
16793 $(MAKE) $(FLAGS_TO_PASS) \
16794 $(POSTSTAGE1_FLAGS_TO_PASS) \
16795 clean
16796 @endif ld-bootstrap
16799 .PHONY: all-stage4-ld maybe-all-stage4-ld
16800 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
16801 maybe-all-stage4-ld:
16802 maybe-clean-stage4-ld:
16803 @if ld-bootstrap
16804 maybe-all-stage4-ld: all-stage4-ld
16805 all-stage4: all-stage4-ld
16806 TARGET-stage4-ld = $(TARGET-ld)
16807 all-stage4-ld: configure-stage4-ld
16808 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16809 @r=`${PWD_COMMAND}`; export r; \
16810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 $(HOST_EXPORTS) \
16812 $(POSTSTAGE1_HOST_EXPORTS) \
16813 cd $(HOST_SUBDIR)/ld && \
16814 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16815 $(TARGET-stage4-ld)
16817 maybe-clean-stage4-ld: clean-stage4-ld
16818 clean-stage4: clean-stage4-ld
16819 clean-stage4-ld:
16820 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
16821 || exit 0 ; \
16822 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16823 cd $(HOST_SUBDIR)/ld && \
16824 $(MAKE) $(FLAGS_TO_PASS) \
16825 $(POSTSTAGE1_FLAGS_TO_PASS) \
16826 clean
16827 @endif ld-bootstrap
16830 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
16831 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
16832 maybe-all-stageprofile-ld:
16833 maybe-clean-stageprofile-ld:
16834 @if ld-bootstrap
16835 maybe-all-stageprofile-ld: all-stageprofile-ld
16836 all-stageprofile: all-stageprofile-ld
16837 TARGET-stageprofile-ld = $(TARGET-ld)
16838 all-stageprofile-ld: configure-stageprofile-ld
16839 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16840 @r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 $(POSTSTAGE1_HOST_EXPORTS) \
16844 cd $(HOST_SUBDIR)/ld && \
16845 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16846 $(TARGET-stageprofile-ld)
16848 maybe-clean-stageprofile-ld: clean-stageprofile-ld
16849 clean-stageprofile: clean-stageprofile-ld
16850 clean-stageprofile-ld:
16851 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
16852 || exit 0 ; \
16853 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16854 cd $(HOST_SUBDIR)/ld && \
16855 $(MAKE) $(FLAGS_TO_PASS) \
16856 $(POSTSTAGE1_FLAGS_TO_PASS) \
16857 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16858 @endif ld-bootstrap
16861 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
16862 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
16863 maybe-all-stagefeedback-ld:
16864 maybe-clean-stagefeedback-ld:
16865 @if ld-bootstrap
16866 maybe-all-stagefeedback-ld: all-stagefeedback-ld
16867 all-stagefeedback: all-stagefeedback-ld
16868 TARGET-stagefeedback-ld = $(TARGET-ld)
16869 all-stagefeedback-ld: configure-stagefeedback-ld
16870 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16871 @r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 $(HOST_EXPORTS) \
16874 $(POSTSTAGE1_HOST_EXPORTS) \
16875 cd $(HOST_SUBDIR)/ld && \
16876 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16877 $(TARGET-stagefeedback-ld)
16879 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
16880 clean-stagefeedback: clean-stagefeedback-ld
16881 clean-stagefeedback-ld:
16882 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
16883 || exit 0 ; \
16884 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16885 cd $(HOST_SUBDIR)/ld && \
16886 $(MAKE) $(FLAGS_TO_PASS) \
16887 $(POSTSTAGE1_FLAGS_TO_PASS) \
16888 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16889 @endif ld-bootstrap
16895 .PHONY: check-ld maybe-check-ld
16896 maybe-check-ld:
16897 @if ld
16898 maybe-check-ld: check-ld
16900 check-ld:
16901 @: $(MAKE); $(unstage)
16902 @r=`${PWD_COMMAND}`; export r; \
16903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16904 $(HOST_EXPORTS) \
16905 (cd $(HOST_SUBDIR)/ld && \
16906 $(MAKE) $(FLAGS_TO_PASS) check)
16908 @endif ld
16910 .PHONY: install-ld maybe-install-ld
16911 maybe-install-ld:
16912 @if ld
16913 maybe-install-ld: install-ld
16915 install-ld: installdirs
16916 @: $(MAKE); $(unstage)
16917 @r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 $(HOST_EXPORTS) \
16920 (cd $(HOST_SUBDIR)/ld && \
16921 $(MAKE) $(FLAGS_TO_PASS) install)
16923 @endif ld
16925 # Other targets (info, dvi, etc.)
16927 .PHONY: maybe-info-ld info-ld
16928 maybe-info-ld:
16929 @if ld
16930 maybe-info-ld: info-ld
16932 info-ld: \
16933 configure-ld
16934 @[ -f ./ld/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 for flag in $(EXTRA_HOST_FLAGS) ; do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 done; \
16941 echo "Doing info in ld" ; \
16942 (cd $(HOST_SUBDIR)/ld && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16947 info) \
16948 || exit 1
16950 @endif ld
16952 .PHONY: maybe-dvi-ld dvi-ld
16953 maybe-dvi-ld:
16954 @if ld
16955 maybe-dvi-ld: dvi-ld
16957 dvi-ld: \
16958 configure-ld
16959 @[ -f ./ld/Makefile ] || exit 0; \
16960 r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 $(HOST_EXPORTS) \
16963 for flag in $(EXTRA_HOST_FLAGS) ; do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 echo "Doing dvi in ld" ; \
16967 (cd $(HOST_SUBDIR)/ld && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 dvi) \
16973 || exit 1
16975 @endif ld
16977 .PHONY: maybe-html-ld html-ld
16978 maybe-html-ld:
16979 @if ld
16980 maybe-html-ld: html-ld
16982 html-ld: \
16983 configure-ld
16984 @[ -f ./ld/Makefile ] || exit 0; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 $(HOST_EXPORTS) \
16988 for flag in $(EXTRA_HOST_FLAGS) ; do \
16989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16990 done; \
16991 echo "Doing html in ld" ; \
16992 (cd $(HOST_SUBDIR)/ld && \
16993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16995 "RANLIB=$${RANLIB}" \
16996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16997 html) \
16998 || exit 1
17000 @endif ld
17002 .PHONY: maybe-TAGS-ld TAGS-ld
17003 maybe-TAGS-ld:
17004 @if ld
17005 maybe-TAGS-ld: TAGS-ld
17007 TAGS-ld: \
17008 configure-ld
17009 @[ -f ./ld/Makefile ] || exit 0; \
17010 r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 $(HOST_EXPORTS) \
17013 for flag in $(EXTRA_HOST_FLAGS) ; do \
17014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17015 done; \
17016 echo "Doing TAGS in ld" ; \
17017 (cd $(HOST_SUBDIR)/ld && \
17018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17020 "RANLIB=$${RANLIB}" \
17021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17022 TAGS) \
17023 || exit 1
17025 @endif ld
17027 .PHONY: maybe-install-info-ld install-info-ld
17028 maybe-install-info-ld:
17029 @if ld
17030 maybe-install-info-ld: install-info-ld
17032 install-info-ld: \
17033 configure-ld \
17034 info-ld
17035 @[ -f ./ld/Makefile ] || exit 0; \
17036 r=`${PWD_COMMAND}`; export r; \
17037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17038 $(HOST_EXPORTS) \
17039 for flag in $(EXTRA_HOST_FLAGS) ; do \
17040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17041 done; \
17042 echo "Doing install-info in ld" ; \
17043 (cd $(HOST_SUBDIR)/ld && \
17044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17046 "RANLIB=$${RANLIB}" \
17047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17048 install-info) \
17049 || exit 1
17051 @endif ld
17053 .PHONY: maybe-install-html-ld install-html-ld
17054 maybe-install-html-ld:
17055 @if ld
17056 maybe-install-html-ld: install-html-ld
17058 install-html-ld: \
17059 configure-ld \
17060 html-ld
17061 @[ -f ./ld/Makefile ] || exit 0; \
17062 r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064 $(HOST_EXPORTS) \
17065 for flag in $(EXTRA_HOST_FLAGS) ; do \
17066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17067 done; \
17068 echo "Doing install-html in ld" ; \
17069 (cd $(HOST_SUBDIR)/ld && \
17070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17072 "RANLIB=$${RANLIB}" \
17073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17074 install-html) \
17075 || exit 1
17077 @endif ld
17079 .PHONY: maybe-installcheck-ld installcheck-ld
17080 maybe-installcheck-ld:
17081 @if ld
17082 maybe-installcheck-ld: installcheck-ld
17084 installcheck-ld: \
17085 configure-ld
17086 @[ -f ./ld/Makefile ] || exit 0; \
17087 r=`${PWD_COMMAND}`; export r; \
17088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17089 $(HOST_EXPORTS) \
17090 for flag in $(EXTRA_HOST_FLAGS) ; do \
17091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17092 done; \
17093 echo "Doing installcheck in ld" ; \
17094 (cd $(HOST_SUBDIR)/ld && \
17095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17097 "RANLIB=$${RANLIB}" \
17098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17099 installcheck) \
17100 || exit 1
17102 @endif ld
17104 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
17105 maybe-mostlyclean-ld:
17106 @if ld
17107 maybe-mostlyclean-ld: mostlyclean-ld
17109 mostlyclean-ld:
17110 @[ -f ./ld/Makefile ] || exit 0; \
17111 r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 $(HOST_EXPORTS) \
17114 for flag in $(EXTRA_HOST_FLAGS) ; do \
17115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17116 done; \
17117 echo "Doing mostlyclean in ld" ; \
17118 (cd $(HOST_SUBDIR)/ld && \
17119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17121 "RANLIB=$${RANLIB}" \
17122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17123 mostlyclean) \
17124 || exit 1
17126 @endif ld
17128 .PHONY: maybe-clean-ld clean-ld
17129 maybe-clean-ld:
17130 @if ld
17131 maybe-clean-ld: clean-ld
17133 clean-ld:
17134 @[ -f ./ld/Makefile ] || exit 0; \
17135 r=`${PWD_COMMAND}`; export r; \
17136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 $(HOST_EXPORTS) \
17138 for flag in $(EXTRA_HOST_FLAGS) ; do \
17139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17140 done; \
17141 echo "Doing clean in ld" ; \
17142 (cd $(HOST_SUBDIR)/ld && \
17143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17145 "RANLIB=$${RANLIB}" \
17146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17147 clean) \
17148 || exit 1
17150 @endif ld
17152 .PHONY: maybe-distclean-ld distclean-ld
17153 maybe-distclean-ld:
17154 @if ld
17155 maybe-distclean-ld: distclean-ld
17157 distclean-ld:
17158 @[ -f ./ld/Makefile ] || exit 0; \
17159 r=`${PWD_COMMAND}`; export r; \
17160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17161 $(HOST_EXPORTS) \
17162 for flag in $(EXTRA_HOST_FLAGS) ; do \
17163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17164 done; \
17165 echo "Doing distclean in ld" ; \
17166 (cd $(HOST_SUBDIR)/ld && \
17167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17169 "RANLIB=$${RANLIB}" \
17170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17171 distclean) \
17172 || exit 1
17174 @endif ld
17176 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
17177 maybe-maintainer-clean-ld:
17178 @if ld
17179 maybe-maintainer-clean-ld: maintainer-clean-ld
17181 maintainer-clean-ld:
17182 @[ -f ./ld/Makefile ] || exit 0; \
17183 r=`${PWD_COMMAND}`; export r; \
17184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17185 $(HOST_EXPORTS) \
17186 for flag in $(EXTRA_HOST_FLAGS) ; do \
17187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17188 done; \
17189 echo "Doing maintainer-clean in ld" ; \
17190 (cd $(HOST_SUBDIR)/ld && \
17191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17193 "RANLIB=$${RANLIB}" \
17194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17195 maintainer-clean) \
17196 || exit 1
17198 @endif ld
17202 .PHONY: configure-libcpp maybe-configure-libcpp
17203 maybe-configure-libcpp:
17204 @if gcc-bootstrap
17205 configure-libcpp: stage_current
17206 @endif gcc-bootstrap
17207 @if libcpp
17208 maybe-configure-libcpp: configure-libcpp
17209 configure-libcpp:
17210 @r=`${PWD_COMMAND}`; export r; \
17211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17212 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17214 $(HOST_EXPORTS) \
17215 echo Configuring in $(HOST_SUBDIR)/libcpp; \
17216 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
17217 case $(srcdir) in \
17218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17219 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17221 esac; \
17222 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17223 libsrcdir="$$s/libcpp"; \
17224 $(SHELL) $${libsrcdir}/configure \
17225 $(HOST_CONFIGARGS) $${srcdiroption} \
17226 || exit 1
17227 @endif libcpp
17231 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
17232 maybe-configure-stage1-libcpp:
17233 @if libcpp-bootstrap
17234 maybe-configure-stage1-libcpp: configure-stage1-libcpp
17235 configure-stage1-libcpp:
17236 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17238 @r=`${PWD_COMMAND}`; export r; \
17239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17240 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17241 $(HOST_EXPORTS) \
17242 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
17243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17244 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17245 case $(srcdir) in \
17246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17247 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17249 esac; \
17250 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17251 libsrcdir="$$s/libcpp"; \
17252 $(SHELL) $${libsrcdir}/configure \
17253 $(HOST_CONFIGARGS) $${srcdiroption} \
17254 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17255 @endif libcpp-bootstrap
17257 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
17258 maybe-configure-stage2-libcpp:
17259 @if libcpp-bootstrap
17260 maybe-configure-stage2-libcpp: configure-stage2-libcpp
17261 configure-stage2-libcpp:
17262 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17264 @r=`${PWD_COMMAND}`; export r; \
17265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17266 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17267 $(HOST_EXPORTS) \
17268 $(POSTSTAGE1_HOST_EXPORTS) \
17269 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
17270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17271 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17272 case $(srcdir) in \
17273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17274 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17276 esac; \
17277 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17278 libsrcdir="$$s/libcpp"; \
17279 $(SHELL) $${libsrcdir}/configure \
17280 $(HOST_CONFIGARGS) $${srcdiroption} \
17281 @stage2_werror_flag@
17282 @endif libcpp-bootstrap
17284 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
17285 maybe-configure-stage3-libcpp:
17286 @if libcpp-bootstrap
17287 maybe-configure-stage3-libcpp: configure-stage3-libcpp
17288 configure-stage3-libcpp:
17289 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17291 @r=`${PWD_COMMAND}`; export r; \
17292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17293 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17294 $(HOST_EXPORTS) \
17295 $(POSTSTAGE1_HOST_EXPORTS) \
17296 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
17297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17298 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17299 case $(srcdir) in \
17300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17301 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17303 esac; \
17304 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17305 libsrcdir="$$s/libcpp"; \
17306 $(SHELL) $${libsrcdir}/configure \
17307 $(HOST_CONFIGARGS) $${srcdiroption} \
17308 @stage2_werror_flag@
17309 @endif libcpp-bootstrap
17311 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
17312 maybe-configure-stage4-libcpp:
17313 @if libcpp-bootstrap
17314 maybe-configure-stage4-libcpp: configure-stage4-libcpp
17315 configure-stage4-libcpp:
17316 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17318 @r=`${PWD_COMMAND}`; export r; \
17319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17320 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17321 $(HOST_EXPORTS) \
17322 $(POSTSTAGE1_HOST_EXPORTS) \
17323 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
17324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17325 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17326 case $(srcdir) in \
17327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17328 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17330 esac; \
17331 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17332 libsrcdir="$$s/libcpp"; \
17333 $(SHELL) $${libsrcdir}/configure \
17334 $(HOST_CONFIGARGS) $${srcdiroption} \
17335 @stage2_werror_flag@
17336 @endif libcpp-bootstrap
17338 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
17339 maybe-configure-stageprofile-libcpp:
17340 @if libcpp-bootstrap
17341 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
17342 configure-stageprofile-libcpp:
17343 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17344 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17345 @r=`${PWD_COMMAND}`; export r; \
17346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17347 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17348 $(HOST_EXPORTS) \
17349 $(POSTSTAGE1_HOST_EXPORTS) \
17350 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
17351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17352 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17353 case $(srcdir) in \
17354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17355 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17357 esac; \
17358 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17359 libsrcdir="$$s/libcpp"; \
17360 $(SHELL) $${libsrcdir}/configure \
17361 $(HOST_CONFIGARGS) $${srcdiroption} \
17362 @stage2_werror_flag@
17363 @endif libcpp-bootstrap
17365 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
17366 maybe-configure-stagefeedback-libcpp:
17367 @if libcpp-bootstrap
17368 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
17369 configure-stagefeedback-libcpp:
17370 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17372 @r=`${PWD_COMMAND}`; export r; \
17373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17374 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17375 $(HOST_EXPORTS) \
17376 $(POSTSTAGE1_HOST_EXPORTS) \
17377 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
17378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17379 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17380 case $(srcdir) in \
17381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17382 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17384 esac; \
17385 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17386 libsrcdir="$$s/libcpp"; \
17387 $(SHELL) $${libsrcdir}/configure \
17388 $(HOST_CONFIGARGS) $${srcdiroption} \
17389 @stage2_werror_flag@
17390 @endif libcpp-bootstrap
17396 .PHONY: all-libcpp maybe-all-libcpp
17397 maybe-all-libcpp:
17398 @if gcc-bootstrap
17399 all-libcpp: stage_current
17400 @endif gcc-bootstrap
17401 @if libcpp
17402 TARGET-libcpp=all
17403 maybe-all-libcpp: all-libcpp
17404 all-libcpp: configure-libcpp
17405 @r=`${PWD_COMMAND}`; export r; \
17406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17407 $(HOST_EXPORTS) \
17408 (cd $(HOST_SUBDIR)/libcpp && \
17409 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
17410 @endif libcpp
17414 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
17415 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
17416 maybe-all-stage1-libcpp:
17417 maybe-clean-stage1-libcpp:
17418 @if libcpp-bootstrap
17419 maybe-all-stage1-libcpp: all-stage1-libcpp
17420 all-stage1: all-stage1-libcpp
17421 TARGET-stage1-libcpp = $(TARGET-libcpp)
17422 all-stage1-libcpp: configure-stage1-libcpp
17423 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17424 @r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426 $(HOST_EXPORTS) \
17427 cd $(HOST_SUBDIR)/libcpp && \
17428 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17429 $(TARGET-stage1-libcpp)
17431 maybe-clean-stage1-libcpp: clean-stage1-libcpp
17432 clean-stage1: clean-stage1-libcpp
17433 clean-stage1-libcpp:
17434 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
17435 || exit 0 ; \
17436 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17437 cd $(HOST_SUBDIR)/libcpp && \
17438 $(MAKE) $(FLAGS_TO_PASS) \
17439 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17440 @endif libcpp-bootstrap
17443 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
17444 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
17445 maybe-all-stage2-libcpp:
17446 maybe-clean-stage2-libcpp:
17447 @if libcpp-bootstrap
17448 maybe-all-stage2-libcpp: all-stage2-libcpp
17449 all-stage2: all-stage2-libcpp
17450 TARGET-stage2-libcpp = $(TARGET-libcpp)
17451 all-stage2-libcpp: configure-stage2-libcpp
17452 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17453 @r=`${PWD_COMMAND}`; export r; \
17454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17455 $(HOST_EXPORTS) \
17456 $(POSTSTAGE1_HOST_EXPORTS) \
17457 cd $(HOST_SUBDIR)/libcpp && \
17458 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17459 $(TARGET-stage2-libcpp)
17461 maybe-clean-stage2-libcpp: clean-stage2-libcpp
17462 clean-stage2: clean-stage2-libcpp
17463 clean-stage2-libcpp:
17464 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
17465 || exit 0 ; \
17466 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17467 cd $(HOST_SUBDIR)/libcpp && \
17468 $(MAKE) $(FLAGS_TO_PASS) \
17469 $(POSTSTAGE1_FLAGS_TO_PASS) \
17470 clean
17471 @endif libcpp-bootstrap
17474 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
17475 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
17476 maybe-all-stage3-libcpp:
17477 maybe-clean-stage3-libcpp:
17478 @if libcpp-bootstrap
17479 maybe-all-stage3-libcpp: all-stage3-libcpp
17480 all-stage3: all-stage3-libcpp
17481 TARGET-stage3-libcpp = $(TARGET-libcpp)
17482 all-stage3-libcpp: configure-stage3-libcpp
17483 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17484 @r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 $(HOST_EXPORTS) \
17487 $(POSTSTAGE1_HOST_EXPORTS) \
17488 cd $(HOST_SUBDIR)/libcpp && \
17489 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17490 $(TARGET-stage3-libcpp)
17492 maybe-clean-stage3-libcpp: clean-stage3-libcpp
17493 clean-stage3: clean-stage3-libcpp
17494 clean-stage3-libcpp:
17495 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
17496 || exit 0 ; \
17497 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17498 cd $(HOST_SUBDIR)/libcpp && \
17499 $(MAKE) $(FLAGS_TO_PASS) \
17500 $(POSTSTAGE1_FLAGS_TO_PASS) \
17501 clean
17502 @endif libcpp-bootstrap
17505 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
17506 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
17507 maybe-all-stage4-libcpp:
17508 maybe-clean-stage4-libcpp:
17509 @if libcpp-bootstrap
17510 maybe-all-stage4-libcpp: all-stage4-libcpp
17511 all-stage4: all-stage4-libcpp
17512 TARGET-stage4-libcpp = $(TARGET-libcpp)
17513 all-stage4-libcpp: configure-stage4-libcpp
17514 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17515 @r=`${PWD_COMMAND}`; export r; \
17516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517 $(HOST_EXPORTS) \
17518 $(POSTSTAGE1_HOST_EXPORTS) \
17519 cd $(HOST_SUBDIR)/libcpp && \
17520 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17521 $(TARGET-stage4-libcpp)
17523 maybe-clean-stage4-libcpp: clean-stage4-libcpp
17524 clean-stage4: clean-stage4-libcpp
17525 clean-stage4-libcpp:
17526 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
17527 || exit 0 ; \
17528 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17529 cd $(HOST_SUBDIR)/libcpp && \
17530 $(MAKE) $(FLAGS_TO_PASS) \
17531 $(POSTSTAGE1_FLAGS_TO_PASS) \
17532 clean
17533 @endif libcpp-bootstrap
17536 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
17537 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
17538 maybe-all-stageprofile-libcpp:
17539 maybe-clean-stageprofile-libcpp:
17540 @if libcpp-bootstrap
17541 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
17542 all-stageprofile: all-stageprofile-libcpp
17543 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
17544 all-stageprofile-libcpp: configure-stageprofile-libcpp
17545 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17546 @r=`${PWD_COMMAND}`; export r; \
17547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17548 $(HOST_EXPORTS) \
17549 $(POSTSTAGE1_HOST_EXPORTS) \
17550 cd $(HOST_SUBDIR)/libcpp && \
17551 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17552 $(TARGET-stageprofile-libcpp)
17554 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
17555 clean-stageprofile: clean-stageprofile-libcpp
17556 clean-stageprofile-libcpp:
17557 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
17558 || exit 0 ; \
17559 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17560 cd $(HOST_SUBDIR)/libcpp && \
17561 $(MAKE) $(FLAGS_TO_PASS) \
17562 $(POSTSTAGE1_FLAGS_TO_PASS) \
17563 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17564 @endif libcpp-bootstrap
17567 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
17568 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
17569 maybe-all-stagefeedback-libcpp:
17570 maybe-clean-stagefeedback-libcpp:
17571 @if libcpp-bootstrap
17572 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
17573 all-stagefeedback: all-stagefeedback-libcpp
17574 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
17575 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
17576 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17577 @r=`${PWD_COMMAND}`; export r; \
17578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17579 $(HOST_EXPORTS) \
17580 $(POSTSTAGE1_HOST_EXPORTS) \
17581 cd $(HOST_SUBDIR)/libcpp && \
17582 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17583 $(TARGET-stagefeedback-libcpp)
17585 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
17586 clean-stagefeedback: clean-stagefeedback-libcpp
17587 clean-stagefeedback-libcpp:
17588 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
17589 || exit 0 ; \
17590 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17591 cd $(HOST_SUBDIR)/libcpp && \
17592 $(MAKE) $(FLAGS_TO_PASS) \
17593 $(POSTSTAGE1_FLAGS_TO_PASS) \
17594 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17595 @endif libcpp-bootstrap
17601 .PHONY: check-libcpp maybe-check-libcpp
17602 maybe-check-libcpp:
17603 @if libcpp
17604 maybe-check-libcpp: check-libcpp
17606 check-libcpp:
17607 @: $(MAKE); $(unstage)
17608 @r=`${PWD_COMMAND}`; export r; \
17609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17610 $(HOST_EXPORTS) \
17611 (cd $(HOST_SUBDIR)/libcpp && \
17612 $(MAKE) $(FLAGS_TO_PASS) check)
17614 @endif libcpp
17616 .PHONY: install-libcpp maybe-install-libcpp
17617 maybe-install-libcpp:
17618 @if libcpp
17619 maybe-install-libcpp: install-libcpp
17621 install-libcpp: installdirs
17622 @: $(MAKE); $(unstage)
17623 @r=`${PWD_COMMAND}`; export r; \
17624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17625 $(HOST_EXPORTS) \
17626 (cd $(HOST_SUBDIR)/libcpp && \
17627 $(MAKE) $(FLAGS_TO_PASS) install)
17629 @endif libcpp
17631 # Other targets (info, dvi, etc.)
17633 .PHONY: maybe-info-libcpp info-libcpp
17634 maybe-info-libcpp:
17635 @if libcpp
17636 maybe-info-libcpp: info-libcpp
17638 info-libcpp: \
17639 configure-libcpp
17640 @[ -f ./libcpp/Makefile ] || exit 0; \
17641 r=`${PWD_COMMAND}`; export r; \
17642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643 $(HOST_EXPORTS) \
17644 for flag in $(EXTRA_HOST_FLAGS) ; do \
17645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17646 done; \
17647 echo "Doing info in libcpp" ; \
17648 (cd $(HOST_SUBDIR)/libcpp && \
17649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17651 "RANLIB=$${RANLIB}" \
17652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17653 info) \
17654 || exit 1
17656 @endif libcpp
17658 .PHONY: maybe-dvi-libcpp dvi-libcpp
17659 maybe-dvi-libcpp:
17660 @if libcpp
17661 maybe-dvi-libcpp: dvi-libcpp
17663 dvi-libcpp: \
17664 configure-libcpp
17665 @[ -f ./libcpp/Makefile ] || exit 0; \
17666 r=`${PWD_COMMAND}`; export r; \
17667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17668 $(HOST_EXPORTS) \
17669 for flag in $(EXTRA_HOST_FLAGS) ; do \
17670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17671 done; \
17672 echo "Doing dvi in libcpp" ; \
17673 (cd $(HOST_SUBDIR)/libcpp && \
17674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17676 "RANLIB=$${RANLIB}" \
17677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17678 dvi) \
17679 || exit 1
17681 @endif libcpp
17683 .PHONY: maybe-html-libcpp html-libcpp
17684 maybe-html-libcpp:
17685 @if libcpp
17686 maybe-html-libcpp: html-libcpp
17688 html-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 html 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 html) \
17704 || exit 1
17706 @endif libcpp
17708 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
17709 maybe-TAGS-libcpp:
17710 @if libcpp
17711 maybe-TAGS-libcpp: TAGS-libcpp
17713 TAGS-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 TAGS 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 TAGS) \
17729 || exit 1
17731 @endif libcpp
17733 .PHONY: maybe-install-info-libcpp install-info-libcpp
17734 maybe-install-info-libcpp:
17735 @if libcpp
17736 maybe-install-info-libcpp: install-info-libcpp
17738 install-info-libcpp: \
17739 configure-libcpp \
17740 info-libcpp
17741 @[ -f ./libcpp/Makefile ] || exit 0; \
17742 r=`${PWD_COMMAND}`; export r; \
17743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17744 $(HOST_EXPORTS) \
17745 for flag in $(EXTRA_HOST_FLAGS) ; do \
17746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17747 done; \
17748 echo "Doing install-info in libcpp" ; \
17749 (cd $(HOST_SUBDIR)/libcpp && \
17750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17752 "RANLIB=$${RANLIB}" \
17753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17754 install-info) \
17755 || exit 1
17757 @endif libcpp
17759 .PHONY: maybe-install-html-libcpp install-html-libcpp
17760 maybe-install-html-libcpp:
17761 @if libcpp
17762 maybe-install-html-libcpp: install-html-libcpp
17764 install-html-libcpp: \
17765 configure-libcpp \
17766 html-libcpp
17767 @[ -f ./libcpp/Makefile ] || exit 0; \
17768 r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(HOST_EXPORTS) \
17771 for flag in $(EXTRA_HOST_FLAGS) ; do \
17772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17773 done; \
17774 echo "Doing install-html in libcpp" ; \
17775 (cd $(HOST_SUBDIR)/libcpp && \
17776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17778 "RANLIB=$${RANLIB}" \
17779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17780 install-html) \
17781 || exit 1
17783 @endif libcpp
17785 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
17786 maybe-installcheck-libcpp:
17787 @if libcpp
17788 maybe-installcheck-libcpp: installcheck-libcpp
17790 installcheck-libcpp: \
17791 configure-libcpp
17792 @[ -f ./libcpp/Makefile ] || exit 0; \
17793 r=`${PWD_COMMAND}`; export r; \
17794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17795 $(HOST_EXPORTS) \
17796 for flag in $(EXTRA_HOST_FLAGS) ; do \
17797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17798 done; \
17799 echo "Doing installcheck in libcpp" ; \
17800 (cd $(HOST_SUBDIR)/libcpp && \
17801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17803 "RANLIB=$${RANLIB}" \
17804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17805 installcheck) \
17806 || exit 1
17808 @endif libcpp
17810 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
17811 maybe-mostlyclean-libcpp:
17812 @if libcpp
17813 maybe-mostlyclean-libcpp: mostlyclean-libcpp
17815 mostlyclean-libcpp:
17816 @[ -f ./libcpp/Makefile ] || exit 0; \
17817 r=`${PWD_COMMAND}`; export r; \
17818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 $(HOST_EXPORTS) \
17820 for flag in $(EXTRA_HOST_FLAGS) ; do \
17821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17822 done; \
17823 echo "Doing mostlyclean in libcpp" ; \
17824 (cd $(HOST_SUBDIR)/libcpp && \
17825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17827 "RANLIB=$${RANLIB}" \
17828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17829 mostlyclean) \
17830 || exit 1
17832 @endif libcpp
17834 .PHONY: maybe-clean-libcpp clean-libcpp
17835 maybe-clean-libcpp:
17836 @if libcpp
17837 maybe-clean-libcpp: clean-libcpp
17839 clean-libcpp:
17840 @[ -f ./libcpp/Makefile ] || exit 0; \
17841 r=`${PWD_COMMAND}`; export r; \
17842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 $(HOST_EXPORTS) \
17844 for flag in $(EXTRA_HOST_FLAGS) ; do \
17845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17846 done; \
17847 echo "Doing clean in libcpp" ; \
17848 (cd $(HOST_SUBDIR)/libcpp && \
17849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17851 "RANLIB=$${RANLIB}" \
17852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17853 clean) \
17854 || exit 1
17856 @endif libcpp
17858 .PHONY: maybe-distclean-libcpp distclean-libcpp
17859 maybe-distclean-libcpp:
17860 @if libcpp
17861 maybe-distclean-libcpp: distclean-libcpp
17863 distclean-libcpp:
17864 @[ -f ./libcpp/Makefile ] || exit 0; \
17865 r=`${PWD_COMMAND}`; export r; \
17866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17867 $(HOST_EXPORTS) \
17868 for flag in $(EXTRA_HOST_FLAGS) ; do \
17869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17870 done; \
17871 echo "Doing distclean in libcpp" ; \
17872 (cd $(HOST_SUBDIR)/libcpp && \
17873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17875 "RANLIB=$${RANLIB}" \
17876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17877 distclean) \
17878 || exit 1
17880 @endif libcpp
17882 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
17883 maybe-maintainer-clean-libcpp:
17884 @if libcpp
17885 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
17887 maintainer-clean-libcpp:
17888 @[ -f ./libcpp/Makefile ] || exit 0; \
17889 r=`${PWD_COMMAND}`; export r; \
17890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17891 $(HOST_EXPORTS) \
17892 for flag in $(EXTRA_HOST_FLAGS) ; do \
17893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17894 done; \
17895 echo "Doing maintainer-clean in libcpp" ; \
17896 (cd $(HOST_SUBDIR)/libcpp && \
17897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17899 "RANLIB=$${RANLIB}" \
17900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17901 maintainer-clean) \
17902 || exit 1
17904 @endif libcpp
17908 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
17909 maybe-configure-libdecnumber:
17910 @if gcc-bootstrap
17911 configure-libdecnumber: stage_current
17912 @endif gcc-bootstrap
17913 @if libdecnumber
17914 maybe-configure-libdecnumber: configure-libdecnumber
17915 configure-libdecnumber:
17916 @r=`${PWD_COMMAND}`; export r; \
17917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17920 $(HOST_EXPORTS) \
17921 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
17922 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
17923 case $(srcdir) in \
17924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17925 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17927 esac; \
17928 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17929 libsrcdir="$$s/libdecnumber"; \
17930 $(SHELL) $${libsrcdir}/configure \
17931 $(HOST_CONFIGARGS) $${srcdiroption} \
17932 || exit 1
17933 @endif libdecnumber
17937 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
17938 maybe-configure-stage1-libdecnumber:
17939 @if libdecnumber-bootstrap
17940 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
17941 configure-stage1-libdecnumber:
17942 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17944 @r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17946 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17947 $(HOST_EXPORTS) \
17948 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
17949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17950 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17951 case $(srcdir) in \
17952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17953 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17955 esac; \
17956 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17957 libsrcdir="$$s/libdecnumber"; \
17958 $(SHELL) $${libsrcdir}/configure \
17959 $(HOST_CONFIGARGS) $${srcdiroption} \
17960 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17961 @endif libdecnumber-bootstrap
17963 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
17964 maybe-configure-stage2-libdecnumber:
17965 @if libdecnumber-bootstrap
17966 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
17967 configure-stage2-libdecnumber:
17968 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17970 @r=`${PWD_COMMAND}`; export r; \
17971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17973 $(HOST_EXPORTS) \
17974 $(POSTSTAGE1_HOST_EXPORTS) \
17975 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
17976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17977 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17978 case $(srcdir) in \
17979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17980 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17982 esac; \
17983 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17984 libsrcdir="$$s/libdecnumber"; \
17985 $(SHELL) $${libsrcdir}/configure \
17986 $(HOST_CONFIGARGS) $${srcdiroption} \
17987 @stage2_werror_flag@
17988 @endif libdecnumber-bootstrap
17990 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
17991 maybe-configure-stage3-libdecnumber:
17992 @if libdecnumber-bootstrap
17993 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
17994 configure-stage3-libdecnumber:
17995 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17997 @r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18000 $(HOST_EXPORTS) \
18001 $(POSTSTAGE1_HOST_EXPORTS) \
18002 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
18003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18004 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18005 case $(srcdir) in \
18006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18007 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18009 esac; \
18010 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18011 libsrcdir="$$s/libdecnumber"; \
18012 $(SHELL) $${libsrcdir}/configure \
18013 $(HOST_CONFIGARGS) $${srcdiroption} \
18014 @stage2_werror_flag@
18015 @endif libdecnumber-bootstrap
18017 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
18018 maybe-configure-stage4-libdecnumber:
18019 @if libdecnumber-bootstrap
18020 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
18021 configure-stage4-libdecnumber:
18022 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18024 @r=`${PWD_COMMAND}`; export r; \
18025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18026 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18027 $(HOST_EXPORTS) \
18028 $(POSTSTAGE1_HOST_EXPORTS) \
18029 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
18030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18031 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18032 case $(srcdir) in \
18033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18034 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18036 esac; \
18037 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18038 libsrcdir="$$s/libdecnumber"; \
18039 $(SHELL) $${libsrcdir}/configure \
18040 $(HOST_CONFIGARGS) $${srcdiroption} \
18041 @stage2_werror_flag@
18042 @endif libdecnumber-bootstrap
18044 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
18045 maybe-configure-stageprofile-libdecnumber:
18046 @if libdecnumber-bootstrap
18047 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18048 configure-stageprofile-libdecnumber:
18049 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18051 @r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18054 $(HOST_EXPORTS) \
18055 $(POSTSTAGE1_HOST_EXPORTS) \
18056 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
18057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18058 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18059 case $(srcdir) in \
18060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18061 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18063 esac; \
18064 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18065 libsrcdir="$$s/libdecnumber"; \
18066 $(SHELL) $${libsrcdir}/configure \
18067 $(HOST_CONFIGARGS) $${srcdiroption} \
18068 @stage2_werror_flag@
18069 @endif libdecnumber-bootstrap
18071 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
18072 maybe-configure-stagefeedback-libdecnumber:
18073 @if libdecnumber-bootstrap
18074 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18075 configure-stagefeedback-libdecnumber:
18076 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18078 @r=`${PWD_COMMAND}`; export r; \
18079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18080 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18081 $(HOST_EXPORTS) \
18082 $(POSTSTAGE1_HOST_EXPORTS) \
18083 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
18084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18085 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18086 case $(srcdir) in \
18087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18088 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18090 esac; \
18091 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18092 libsrcdir="$$s/libdecnumber"; \
18093 $(SHELL) $${libsrcdir}/configure \
18094 $(HOST_CONFIGARGS) $${srcdiroption} \
18095 @stage2_werror_flag@
18096 @endif libdecnumber-bootstrap
18102 .PHONY: all-libdecnumber maybe-all-libdecnumber
18103 maybe-all-libdecnumber:
18104 @if gcc-bootstrap
18105 all-libdecnumber: stage_current
18106 @endif gcc-bootstrap
18107 @if libdecnumber
18108 TARGET-libdecnumber=all
18109 maybe-all-libdecnumber: all-libdecnumber
18110 all-libdecnumber: configure-libdecnumber
18111 @r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18113 $(HOST_EXPORTS) \
18114 (cd $(HOST_SUBDIR)/libdecnumber && \
18115 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
18116 @endif libdecnumber
18120 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
18121 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
18122 maybe-all-stage1-libdecnumber:
18123 maybe-clean-stage1-libdecnumber:
18124 @if libdecnumber-bootstrap
18125 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
18126 all-stage1: all-stage1-libdecnumber
18127 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
18128 all-stage1-libdecnumber: configure-stage1-libdecnumber
18129 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18130 @r=`${PWD_COMMAND}`; export r; \
18131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18132 $(HOST_EXPORTS) \
18133 cd $(HOST_SUBDIR)/libdecnumber && \
18134 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18135 $(TARGET-stage1-libdecnumber)
18137 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
18138 clean-stage1: clean-stage1-libdecnumber
18139 clean-stage1-libdecnumber:
18140 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
18141 || exit 0 ; \
18142 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18143 cd $(HOST_SUBDIR)/libdecnumber && \
18144 $(MAKE) $(FLAGS_TO_PASS) \
18145 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18146 @endif libdecnumber-bootstrap
18149 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
18150 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
18151 maybe-all-stage2-libdecnumber:
18152 maybe-clean-stage2-libdecnumber:
18153 @if libdecnumber-bootstrap
18154 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
18155 all-stage2: all-stage2-libdecnumber
18156 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
18157 all-stage2-libdecnumber: configure-stage2-libdecnumber
18158 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18159 @r=`${PWD_COMMAND}`; export r; \
18160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18161 $(HOST_EXPORTS) \
18162 $(POSTSTAGE1_HOST_EXPORTS) \
18163 cd $(HOST_SUBDIR)/libdecnumber && \
18164 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18165 $(TARGET-stage2-libdecnumber)
18167 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
18168 clean-stage2: clean-stage2-libdecnumber
18169 clean-stage2-libdecnumber:
18170 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
18171 || exit 0 ; \
18172 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18173 cd $(HOST_SUBDIR)/libdecnumber && \
18174 $(MAKE) $(FLAGS_TO_PASS) \
18175 $(POSTSTAGE1_FLAGS_TO_PASS) \
18176 clean
18177 @endif libdecnumber-bootstrap
18180 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
18181 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
18182 maybe-all-stage3-libdecnumber:
18183 maybe-clean-stage3-libdecnumber:
18184 @if libdecnumber-bootstrap
18185 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
18186 all-stage3: all-stage3-libdecnumber
18187 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
18188 all-stage3-libdecnumber: configure-stage3-libdecnumber
18189 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18190 @r=`${PWD_COMMAND}`; export r; \
18191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 $(HOST_EXPORTS) \
18193 $(POSTSTAGE1_HOST_EXPORTS) \
18194 cd $(HOST_SUBDIR)/libdecnumber && \
18195 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18196 $(TARGET-stage3-libdecnumber)
18198 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
18199 clean-stage3: clean-stage3-libdecnumber
18200 clean-stage3-libdecnumber:
18201 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
18202 || exit 0 ; \
18203 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18204 cd $(HOST_SUBDIR)/libdecnumber && \
18205 $(MAKE) $(FLAGS_TO_PASS) \
18206 $(POSTSTAGE1_FLAGS_TO_PASS) \
18207 clean
18208 @endif libdecnumber-bootstrap
18211 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
18212 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
18213 maybe-all-stage4-libdecnumber:
18214 maybe-clean-stage4-libdecnumber:
18215 @if libdecnumber-bootstrap
18216 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
18217 all-stage4: all-stage4-libdecnumber
18218 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
18219 all-stage4-libdecnumber: configure-stage4-libdecnumber
18220 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18221 @r=`${PWD_COMMAND}`; export r; \
18222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18223 $(HOST_EXPORTS) \
18224 $(POSTSTAGE1_HOST_EXPORTS) \
18225 cd $(HOST_SUBDIR)/libdecnumber && \
18226 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18227 $(TARGET-stage4-libdecnumber)
18229 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
18230 clean-stage4: clean-stage4-libdecnumber
18231 clean-stage4-libdecnumber:
18232 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
18233 || exit 0 ; \
18234 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18235 cd $(HOST_SUBDIR)/libdecnumber && \
18236 $(MAKE) $(FLAGS_TO_PASS) \
18237 $(POSTSTAGE1_FLAGS_TO_PASS) \
18238 clean
18239 @endif libdecnumber-bootstrap
18242 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
18243 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
18244 maybe-all-stageprofile-libdecnumber:
18245 maybe-clean-stageprofile-libdecnumber:
18246 @if libdecnumber-bootstrap
18247 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
18248 all-stageprofile: all-stageprofile-libdecnumber
18249 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
18250 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18251 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18252 @r=`${PWD_COMMAND}`; export r; \
18253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18254 $(HOST_EXPORTS) \
18255 $(POSTSTAGE1_HOST_EXPORTS) \
18256 cd $(HOST_SUBDIR)/libdecnumber && \
18257 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18258 $(TARGET-stageprofile-libdecnumber)
18260 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
18261 clean-stageprofile: clean-stageprofile-libdecnumber
18262 clean-stageprofile-libdecnumber:
18263 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
18264 || exit 0 ; \
18265 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18266 cd $(HOST_SUBDIR)/libdecnumber && \
18267 $(MAKE) $(FLAGS_TO_PASS) \
18268 $(POSTSTAGE1_FLAGS_TO_PASS) \
18269 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18270 @endif libdecnumber-bootstrap
18273 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
18274 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
18275 maybe-all-stagefeedback-libdecnumber:
18276 maybe-clean-stagefeedback-libdecnumber:
18277 @if libdecnumber-bootstrap
18278 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
18279 all-stagefeedback: all-stagefeedback-libdecnumber
18280 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
18281 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18282 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 $(HOST_EXPORTS) \
18286 $(POSTSTAGE1_HOST_EXPORTS) \
18287 cd $(HOST_SUBDIR)/libdecnumber && \
18288 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18289 $(TARGET-stagefeedback-libdecnumber)
18291 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
18292 clean-stagefeedback: clean-stagefeedback-libdecnumber
18293 clean-stagefeedback-libdecnumber:
18294 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
18295 || exit 0 ; \
18296 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18297 cd $(HOST_SUBDIR)/libdecnumber && \
18298 $(MAKE) $(FLAGS_TO_PASS) \
18299 $(POSTSTAGE1_FLAGS_TO_PASS) \
18300 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18301 @endif libdecnumber-bootstrap
18307 .PHONY: check-libdecnumber maybe-check-libdecnumber
18308 maybe-check-libdecnumber:
18309 @if libdecnumber
18310 maybe-check-libdecnumber: check-libdecnumber
18312 check-libdecnumber:
18313 @: $(MAKE); $(unstage)
18314 @r=`${PWD_COMMAND}`; export r; \
18315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18316 $(HOST_EXPORTS) \
18317 (cd $(HOST_SUBDIR)/libdecnumber && \
18318 $(MAKE) $(FLAGS_TO_PASS) check)
18320 @endif libdecnumber
18322 .PHONY: install-libdecnumber maybe-install-libdecnumber
18323 maybe-install-libdecnumber:
18324 @if libdecnumber
18325 maybe-install-libdecnumber: install-libdecnumber
18327 install-libdecnumber: installdirs
18328 @: $(MAKE); $(unstage)
18329 @r=`${PWD_COMMAND}`; export r; \
18330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18331 $(HOST_EXPORTS) \
18332 (cd $(HOST_SUBDIR)/libdecnumber && \
18333 $(MAKE) $(FLAGS_TO_PASS) install)
18335 @endif libdecnumber
18337 # Other targets (info, dvi, etc.)
18339 .PHONY: maybe-info-libdecnumber info-libdecnumber
18340 maybe-info-libdecnumber:
18341 @if libdecnumber
18342 maybe-info-libdecnumber: info-libdecnumber
18344 info-libdecnumber: \
18345 configure-libdecnumber
18346 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18347 r=`${PWD_COMMAND}`; export r; \
18348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18349 $(HOST_EXPORTS) \
18350 for flag in $(EXTRA_HOST_FLAGS) ; do \
18351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18352 done; \
18353 echo "Doing info in libdecnumber" ; \
18354 (cd $(HOST_SUBDIR)/libdecnumber && \
18355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18357 "RANLIB=$${RANLIB}" \
18358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18359 info) \
18360 || exit 1
18362 @endif libdecnumber
18364 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
18365 maybe-dvi-libdecnumber:
18366 @if libdecnumber
18367 maybe-dvi-libdecnumber: dvi-libdecnumber
18369 dvi-libdecnumber: \
18370 configure-libdecnumber
18371 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18372 r=`${PWD_COMMAND}`; export r; \
18373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18374 $(HOST_EXPORTS) \
18375 for flag in $(EXTRA_HOST_FLAGS) ; do \
18376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18377 done; \
18378 echo "Doing dvi in libdecnumber" ; \
18379 (cd $(HOST_SUBDIR)/libdecnumber && \
18380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18382 "RANLIB=$${RANLIB}" \
18383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18384 dvi) \
18385 || exit 1
18387 @endif libdecnumber
18389 .PHONY: maybe-html-libdecnumber html-libdecnumber
18390 maybe-html-libdecnumber:
18391 @if libdecnumber
18392 maybe-html-libdecnumber: html-libdecnumber
18394 html-libdecnumber: \
18395 configure-libdecnumber
18396 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18397 r=`${PWD_COMMAND}`; export r; \
18398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18399 $(HOST_EXPORTS) \
18400 for flag in $(EXTRA_HOST_FLAGS) ; do \
18401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18402 done; \
18403 echo "Doing html in libdecnumber" ; \
18404 (cd $(HOST_SUBDIR)/libdecnumber && \
18405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18407 "RANLIB=$${RANLIB}" \
18408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18409 html) \
18410 || exit 1
18412 @endif libdecnumber
18414 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
18415 maybe-TAGS-libdecnumber:
18416 @if libdecnumber
18417 maybe-TAGS-libdecnumber: TAGS-libdecnumber
18419 TAGS-libdecnumber: \
18420 configure-libdecnumber
18421 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18422 r=`${PWD_COMMAND}`; export r; \
18423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18424 $(HOST_EXPORTS) \
18425 for flag in $(EXTRA_HOST_FLAGS) ; do \
18426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18427 done; \
18428 echo "Doing TAGS in libdecnumber" ; \
18429 (cd $(HOST_SUBDIR)/libdecnumber && \
18430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18432 "RANLIB=$${RANLIB}" \
18433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18434 TAGS) \
18435 || exit 1
18437 @endif libdecnumber
18439 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
18440 maybe-install-info-libdecnumber:
18441 @if libdecnumber
18442 maybe-install-info-libdecnumber: install-info-libdecnumber
18444 install-info-libdecnumber: \
18445 configure-libdecnumber \
18446 info-libdecnumber
18447 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18448 r=`${PWD_COMMAND}`; export r; \
18449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18450 $(HOST_EXPORTS) \
18451 for flag in $(EXTRA_HOST_FLAGS) ; do \
18452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18453 done; \
18454 echo "Doing install-info in libdecnumber" ; \
18455 (cd $(HOST_SUBDIR)/libdecnumber && \
18456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18458 "RANLIB=$${RANLIB}" \
18459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18460 install-info) \
18461 || exit 1
18463 @endif libdecnumber
18465 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
18466 maybe-install-html-libdecnumber:
18467 @if libdecnumber
18468 maybe-install-html-libdecnumber: install-html-libdecnumber
18470 install-html-libdecnumber: \
18471 configure-libdecnumber \
18472 html-libdecnumber
18473 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18474 r=`${PWD_COMMAND}`; export r; \
18475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18476 $(HOST_EXPORTS) \
18477 for flag in $(EXTRA_HOST_FLAGS) ; do \
18478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18479 done; \
18480 echo "Doing install-html in libdecnumber" ; \
18481 (cd $(HOST_SUBDIR)/libdecnumber && \
18482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18484 "RANLIB=$${RANLIB}" \
18485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18486 install-html) \
18487 || exit 1
18489 @endif libdecnumber
18491 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
18492 maybe-installcheck-libdecnumber:
18493 @if libdecnumber
18494 maybe-installcheck-libdecnumber: installcheck-libdecnumber
18496 installcheck-libdecnumber: \
18497 configure-libdecnumber
18498 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18499 r=`${PWD_COMMAND}`; export r; \
18500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18501 $(HOST_EXPORTS) \
18502 for flag in $(EXTRA_HOST_FLAGS) ; do \
18503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18504 done; \
18505 echo "Doing installcheck in libdecnumber" ; \
18506 (cd $(HOST_SUBDIR)/libdecnumber && \
18507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18509 "RANLIB=$${RANLIB}" \
18510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18511 installcheck) \
18512 || exit 1
18514 @endif libdecnumber
18516 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
18517 maybe-mostlyclean-libdecnumber:
18518 @if libdecnumber
18519 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
18521 mostlyclean-libdecnumber:
18522 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18523 r=`${PWD_COMMAND}`; export r; \
18524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18525 $(HOST_EXPORTS) \
18526 for flag in $(EXTRA_HOST_FLAGS) ; do \
18527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18528 done; \
18529 echo "Doing mostlyclean in libdecnumber" ; \
18530 (cd $(HOST_SUBDIR)/libdecnumber && \
18531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18533 "RANLIB=$${RANLIB}" \
18534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18535 mostlyclean) \
18536 || exit 1
18538 @endif libdecnumber
18540 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
18541 maybe-clean-libdecnumber:
18542 @if libdecnumber
18543 maybe-clean-libdecnumber: clean-libdecnumber
18545 clean-libdecnumber:
18546 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18547 r=`${PWD_COMMAND}`; export r; \
18548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18549 $(HOST_EXPORTS) \
18550 for flag in $(EXTRA_HOST_FLAGS) ; do \
18551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18552 done; \
18553 echo "Doing clean in libdecnumber" ; \
18554 (cd $(HOST_SUBDIR)/libdecnumber && \
18555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18557 "RANLIB=$${RANLIB}" \
18558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18559 clean) \
18560 || exit 1
18562 @endif libdecnumber
18564 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
18565 maybe-distclean-libdecnumber:
18566 @if libdecnumber
18567 maybe-distclean-libdecnumber: distclean-libdecnumber
18569 distclean-libdecnumber:
18570 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18571 r=`${PWD_COMMAND}`; export r; \
18572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18573 $(HOST_EXPORTS) \
18574 for flag in $(EXTRA_HOST_FLAGS) ; do \
18575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18576 done; \
18577 echo "Doing distclean in libdecnumber" ; \
18578 (cd $(HOST_SUBDIR)/libdecnumber && \
18579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18581 "RANLIB=$${RANLIB}" \
18582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18583 distclean) \
18584 || exit 1
18586 @endif libdecnumber
18588 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
18589 maybe-maintainer-clean-libdecnumber:
18590 @if libdecnumber
18591 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
18593 maintainer-clean-libdecnumber:
18594 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18595 r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 $(HOST_EXPORTS) \
18598 for flag in $(EXTRA_HOST_FLAGS) ; do \
18599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18600 done; \
18601 echo "Doing maintainer-clean in libdecnumber" ; \
18602 (cd $(HOST_SUBDIR)/libdecnumber && \
18603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18605 "RANLIB=$${RANLIB}" \
18606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18607 maintainer-clean) \
18608 || exit 1
18610 @endif libdecnumber
18614 .PHONY: configure-libgui maybe-configure-libgui
18615 maybe-configure-libgui:
18616 @if gcc-bootstrap
18617 configure-libgui: stage_current
18618 @endif gcc-bootstrap
18619 @if libgui
18620 maybe-configure-libgui: configure-libgui
18621 configure-libgui:
18622 @: $(MAKE); $(unstage)
18623 @r=`${PWD_COMMAND}`; export r; \
18624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18625 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
18626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
18627 $(HOST_EXPORTS) \
18628 echo Configuring in $(HOST_SUBDIR)/libgui; \
18629 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
18630 case $(srcdir) in \
18631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18632 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
18633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18634 esac; \
18635 srcdiroption="--srcdir=$${topdir}/libgui"; \
18636 libsrcdir="$$s/libgui"; \
18637 $(SHELL) $${libsrcdir}/configure \
18638 $(HOST_CONFIGARGS) $${srcdiroption} \
18639 || exit 1
18640 @endif libgui
18646 .PHONY: all-libgui maybe-all-libgui
18647 maybe-all-libgui:
18648 @if gcc-bootstrap
18649 all-libgui: stage_current
18650 @endif gcc-bootstrap
18651 @if libgui
18652 TARGET-libgui=all
18653 maybe-all-libgui: all-libgui
18654 all-libgui: configure-libgui
18655 @: $(MAKE); $(unstage)
18656 @r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 $(HOST_EXPORTS) \
18659 (cd $(HOST_SUBDIR)/libgui && \
18660 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
18661 @endif libgui
18666 .PHONY: check-libgui maybe-check-libgui
18667 maybe-check-libgui:
18668 @if libgui
18669 maybe-check-libgui: check-libgui
18671 check-libgui:
18672 @: $(MAKE); $(unstage)
18673 @r=`${PWD_COMMAND}`; export r; \
18674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18675 $(HOST_EXPORTS) \
18676 (cd $(HOST_SUBDIR)/libgui && \
18677 $(MAKE) $(FLAGS_TO_PASS) check)
18679 @endif libgui
18681 .PHONY: install-libgui maybe-install-libgui
18682 maybe-install-libgui:
18683 @if libgui
18684 maybe-install-libgui: install-libgui
18686 install-libgui: installdirs
18687 @: $(MAKE); $(unstage)
18688 @r=`${PWD_COMMAND}`; export r; \
18689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18690 $(HOST_EXPORTS) \
18691 (cd $(HOST_SUBDIR)/libgui && \
18692 $(MAKE) $(FLAGS_TO_PASS) install)
18694 @endif libgui
18696 # Other targets (info, dvi, etc.)
18698 .PHONY: maybe-info-libgui info-libgui
18699 maybe-info-libgui:
18700 @if libgui
18701 maybe-info-libgui: info-libgui
18703 info-libgui: \
18704 configure-libgui
18705 @: $(MAKE); $(unstage)
18706 @[ -f ./libgui/Makefile ] || exit 0; \
18707 r=`${PWD_COMMAND}`; export r; \
18708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18709 $(HOST_EXPORTS) \
18710 for flag in $(EXTRA_HOST_FLAGS) ; do \
18711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18712 done; \
18713 echo "Doing info in libgui" ; \
18714 (cd $(HOST_SUBDIR)/libgui && \
18715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18717 "RANLIB=$${RANLIB}" \
18718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18719 info) \
18720 || exit 1
18722 @endif libgui
18724 .PHONY: maybe-dvi-libgui dvi-libgui
18725 maybe-dvi-libgui:
18726 @if libgui
18727 maybe-dvi-libgui: dvi-libgui
18729 dvi-libgui: \
18730 configure-libgui
18731 @: $(MAKE); $(unstage)
18732 @[ -f ./libgui/Makefile ] || exit 0; \
18733 r=`${PWD_COMMAND}`; export r; \
18734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18735 $(HOST_EXPORTS) \
18736 for flag in $(EXTRA_HOST_FLAGS) ; do \
18737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18738 done; \
18739 echo "Doing dvi in libgui" ; \
18740 (cd $(HOST_SUBDIR)/libgui && \
18741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18743 "RANLIB=$${RANLIB}" \
18744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18745 dvi) \
18746 || exit 1
18748 @endif libgui
18750 .PHONY: maybe-html-libgui html-libgui
18751 maybe-html-libgui:
18752 @if libgui
18753 maybe-html-libgui: html-libgui
18755 html-libgui: \
18756 configure-libgui
18757 @: $(MAKE); $(unstage)
18758 @[ -f ./libgui/Makefile ] || exit 0; \
18759 r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 $(HOST_EXPORTS) \
18762 for flag in $(EXTRA_HOST_FLAGS) ; do \
18763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18764 done; \
18765 echo "Doing html in libgui" ; \
18766 (cd $(HOST_SUBDIR)/libgui && \
18767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18769 "RANLIB=$${RANLIB}" \
18770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18771 html) \
18772 || exit 1
18774 @endif libgui
18776 .PHONY: maybe-TAGS-libgui TAGS-libgui
18777 maybe-TAGS-libgui:
18778 @if libgui
18779 maybe-TAGS-libgui: TAGS-libgui
18781 TAGS-libgui: \
18782 configure-libgui
18783 @: $(MAKE); $(unstage)
18784 @[ -f ./libgui/Makefile ] || exit 0; \
18785 r=`${PWD_COMMAND}`; export r; \
18786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18787 $(HOST_EXPORTS) \
18788 for flag in $(EXTRA_HOST_FLAGS) ; do \
18789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18790 done; \
18791 echo "Doing TAGS in libgui" ; \
18792 (cd $(HOST_SUBDIR)/libgui && \
18793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18795 "RANLIB=$${RANLIB}" \
18796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18797 TAGS) \
18798 || exit 1
18800 @endif libgui
18802 .PHONY: maybe-install-info-libgui install-info-libgui
18803 maybe-install-info-libgui:
18804 @if libgui
18805 maybe-install-info-libgui: install-info-libgui
18807 install-info-libgui: \
18808 configure-libgui \
18809 info-libgui
18810 @: $(MAKE); $(unstage)
18811 @[ -f ./libgui/Makefile ] || exit 0; \
18812 r=`${PWD_COMMAND}`; export r; \
18813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18814 $(HOST_EXPORTS) \
18815 for flag in $(EXTRA_HOST_FLAGS) ; do \
18816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18817 done; \
18818 echo "Doing install-info in libgui" ; \
18819 (cd $(HOST_SUBDIR)/libgui && \
18820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18822 "RANLIB=$${RANLIB}" \
18823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18824 install-info) \
18825 || exit 1
18827 @endif libgui
18829 .PHONY: maybe-install-html-libgui install-html-libgui
18830 maybe-install-html-libgui:
18831 @if libgui
18832 maybe-install-html-libgui: install-html-libgui
18834 install-html-libgui: \
18835 configure-libgui \
18836 html-libgui
18837 @: $(MAKE); $(unstage)
18838 @[ -f ./libgui/Makefile ] || exit 0; \
18839 r=`${PWD_COMMAND}`; export r; \
18840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18841 $(HOST_EXPORTS) \
18842 for flag in $(EXTRA_HOST_FLAGS) ; do \
18843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18844 done; \
18845 echo "Doing install-html in libgui" ; \
18846 (cd $(HOST_SUBDIR)/libgui && \
18847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18849 "RANLIB=$${RANLIB}" \
18850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18851 install-html) \
18852 || exit 1
18854 @endif libgui
18856 .PHONY: maybe-installcheck-libgui installcheck-libgui
18857 maybe-installcheck-libgui:
18858 @if libgui
18859 maybe-installcheck-libgui: installcheck-libgui
18861 installcheck-libgui: \
18862 configure-libgui
18863 @: $(MAKE); $(unstage)
18864 @[ -f ./libgui/Makefile ] || exit 0; \
18865 r=`${PWD_COMMAND}`; export r; \
18866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18867 $(HOST_EXPORTS) \
18868 for flag in $(EXTRA_HOST_FLAGS) ; do \
18869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18870 done; \
18871 echo "Doing installcheck in libgui" ; \
18872 (cd $(HOST_SUBDIR)/libgui && \
18873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18875 "RANLIB=$${RANLIB}" \
18876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18877 installcheck) \
18878 || exit 1
18880 @endif libgui
18882 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
18883 maybe-mostlyclean-libgui:
18884 @if libgui
18885 maybe-mostlyclean-libgui: mostlyclean-libgui
18887 mostlyclean-libgui:
18888 @: $(MAKE); $(unstage)
18889 @[ -f ./libgui/Makefile ] || exit 0; \
18890 r=`${PWD_COMMAND}`; export r; \
18891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18892 $(HOST_EXPORTS) \
18893 for flag in $(EXTRA_HOST_FLAGS) ; do \
18894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18895 done; \
18896 echo "Doing mostlyclean in libgui" ; \
18897 (cd $(HOST_SUBDIR)/libgui && \
18898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18900 "RANLIB=$${RANLIB}" \
18901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18902 mostlyclean) \
18903 || exit 1
18905 @endif libgui
18907 .PHONY: maybe-clean-libgui clean-libgui
18908 maybe-clean-libgui:
18909 @if libgui
18910 maybe-clean-libgui: clean-libgui
18912 clean-libgui:
18913 @: $(MAKE); $(unstage)
18914 @[ -f ./libgui/Makefile ] || exit 0; \
18915 r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 $(HOST_EXPORTS) \
18918 for flag in $(EXTRA_HOST_FLAGS) ; do \
18919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18920 done; \
18921 echo "Doing clean in libgui" ; \
18922 (cd $(HOST_SUBDIR)/libgui && \
18923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18925 "RANLIB=$${RANLIB}" \
18926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18927 clean) \
18928 || exit 1
18930 @endif libgui
18932 .PHONY: maybe-distclean-libgui distclean-libgui
18933 maybe-distclean-libgui:
18934 @if libgui
18935 maybe-distclean-libgui: distclean-libgui
18937 distclean-libgui:
18938 @: $(MAKE); $(unstage)
18939 @[ -f ./libgui/Makefile ] || exit 0; \
18940 r=`${PWD_COMMAND}`; export r; \
18941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18942 $(HOST_EXPORTS) \
18943 for flag in $(EXTRA_HOST_FLAGS) ; do \
18944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18945 done; \
18946 echo "Doing distclean in libgui" ; \
18947 (cd $(HOST_SUBDIR)/libgui && \
18948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18950 "RANLIB=$${RANLIB}" \
18951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18952 distclean) \
18953 || exit 1
18955 @endif libgui
18957 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
18958 maybe-maintainer-clean-libgui:
18959 @if libgui
18960 maybe-maintainer-clean-libgui: maintainer-clean-libgui
18962 maintainer-clean-libgui:
18963 @: $(MAKE); $(unstage)
18964 @[ -f ./libgui/Makefile ] || exit 0; \
18965 r=`${PWD_COMMAND}`; export r; \
18966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18967 $(HOST_EXPORTS) \
18968 for flag in $(EXTRA_HOST_FLAGS) ; do \
18969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18970 done; \
18971 echo "Doing maintainer-clean in libgui" ; \
18972 (cd $(HOST_SUBDIR)/libgui && \
18973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18975 "RANLIB=$${RANLIB}" \
18976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18977 maintainer-clean) \
18978 || exit 1
18980 @endif libgui
18984 .PHONY: configure-libiberty maybe-configure-libiberty
18985 maybe-configure-libiberty:
18986 @if gcc-bootstrap
18987 configure-libiberty: stage_current
18988 @endif gcc-bootstrap
18989 @if libiberty
18990 maybe-configure-libiberty: configure-libiberty
18991 configure-libiberty:
18992 @r=`${PWD_COMMAND}`; export r; \
18993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18994 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18996 $(HOST_EXPORTS) \
18997 echo Configuring in $(HOST_SUBDIR)/libiberty; \
18998 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
18999 case $(srcdir) in \
19000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19001 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19003 esac; \
19004 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19005 libsrcdir="$$s/libiberty"; \
19006 $(SHELL) $${libsrcdir}/configure \
19007 $(HOST_CONFIGARGS) $${srcdiroption} \
19008 || exit 1
19009 @endif libiberty
19013 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
19014 maybe-configure-stage1-libiberty:
19015 @if libiberty-bootstrap
19016 maybe-configure-stage1-libiberty: configure-stage1-libiberty
19017 configure-stage1-libiberty:
19018 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19020 @r=`${PWD_COMMAND}`; export r; \
19021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19023 $(HOST_EXPORTS) \
19024 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
19025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19026 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19027 case $(srcdir) in \
19028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19029 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19031 esac; \
19032 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19033 libsrcdir="$$s/libiberty"; \
19034 $(SHELL) $${libsrcdir}/configure \
19035 $(HOST_CONFIGARGS) $${srcdiroption} \
19036 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19037 @endif libiberty-bootstrap
19039 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
19040 maybe-configure-stage2-libiberty:
19041 @if libiberty-bootstrap
19042 maybe-configure-stage2-libiberty: configure-stage2-libiberty
19043 configure-stage2-libiberty:
19044 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19046 @r=`${PWD_COMMAND}`; export r; \
19047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19048 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19049 $(HOST_EXPORTS) \
19050 $(POSTSTAGE1_HOST_EXPORTS) \
19051 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
19052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19053 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19054 case $(srcdir) in \
19055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19056 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19058 esac; \
19059 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19060 libsrcdir="$$s/libiberty"; \
19061 $(SHELL) $${libsrcdir}/configure \
19062 $(HOST_CONFIGARGS) $${srcdiroption} \
19063 @stage2_werror_flag@
19064 @endif libiberty-bootstrap
19066 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
19067 maybe-configure-stage3-libiberty:
19068 @if libiberty-bootstrap
19069 maybe-configure-stage3-libiberty: configure-stage3-libiberty
19070 configure-stage3-libiberty:
19071 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19075 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19076 $(HOST_EXPORTS) \
19077 $(POSTSTAGE1_HOST_EXPORTS) \
19078 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
19079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19080 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19081 case $(srcdir) in \
19082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19083 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19085 esac; \
19086 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19087 libsrcdir="$$s/libiberty"; \
19088 $(SHELL) $${libsrcdir}/configure \
19089 $(HOST_CONFIGARGS) $${srcdiroption} \
19090 @stage2_werror_flag@
19091 @endif libiberty-bootstrap
19093 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
19094 maybe-configure-stage4-libiberty:
19095 @if libiberty-bootstrap
19096 maybe-configure-stage4-libiberty: configure-stage4-libiberty
19097 configure-stage4-libiberty:
19098 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19100 @r=`${PWD_COMMAND}`; export r; \
19101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19102 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19103 $(HOST_EXPORTS) \
19104 $(POSTSTAGE1_HOST_EXPORTS) \
19105 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
19106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19107 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19108 case $(srcdir) in \
19109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19110 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19112 esac; \
19113 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19114 libsrcdir="$$s/libiberty"; \
19115 $(SHELL) $${libsrcdir}/configure \
19116 $(HOST_CONFIGARGS) $${srcdiroption} \
19117 @stage2_werror_flag@
19118 @endif libiberty-bootstrap
19120 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
19121 maybe-configure-stageprofile-libiberty:
19122 @if libiberty-bootstrap
19123 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
19124 configure-stageprofile-libiberty:
19125 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19127 @r=`${PWD_COMMAND}`; export r; \
19128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19129 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19130 $(HOST_EXPORTS) \
19131 $(POSTSTAGE1_HOST_EXPORTS) \
19132 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
19133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19134 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19135 case $(srcdir) in \
19136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19137 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19139 esac; \
19140 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19141 libsrcdir="$$s/libiberty"; \
19142 $(SHELL) $${libsrcdir}/configure \
19143 $(HOST_CONFIGARGS) $${srcdiroption} \
19144 @stage2_werror_flag@
19145 @endif libiberty-bootstrap
19147 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
19148 maybe-configure-stagefeedback-libiberty:
19149 @if libiberty-bootstrap
19150 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
19151 configure-stagefeedback-libiberty:
19152 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19154 @r=`${PWD_COMMAND}`; export r; \
19155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19156 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19157 $(HOST_EXPORTS) \
19158 $(POSTSTAGE1_HOST_EXPORTS) \
19159 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
19160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19161 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19162 case $(srcdir) in \
19163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19164 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19166 esac; \
19167 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19168 libsrcdir="$$s/libiberty"; \
19169 $(SHELL) $${libsrcdir}/configure \
19170 $(HOST_CONFIGARGS) $${srcdiroption} \
19171 @stage2_werror_flag@
19172 @endif libiberty-bootstrap
19178 .PHONY: all-libiberty maybe-all-libiberty
19179 maybe-all-libiberty:
19180 @if gcc-bootstrap
19181 all-libiberty: stage_current
19182 @endif gcc-bootstrap
19183 @if libiberty
19184 TARGET-libiberty=all
19185 maybe-all-libiberty: all-libiberty
19186 all-libiberty: configure-libiberty
19187 @r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19189 $(HOST_EXPORTS) \
19190 (cd $(HOST_SUBDIR)/libiberty && \
19191 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
19192 @endif libiberty
19196 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
19197 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
19198 maybe-all-stage1-libiberty:
19199 maybe-clean-stage1-libiberty:
19200 @if libiberty-bootstrap
19201 maybe-all-stage1-libiberty: all-stage1-libiberty
19202 all-stage1: all-stage1-libiberty
19203 TARGET-stage1-libiberty = $(TARGET-libiberty)
19204 all-stage1-libiberty: configure-stage1-libiberty
19205 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 $(HOST_EXPORTS) \
19209 cd $(HOST_SUBDIR)/libiberty && \
19210 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19211 $(TARGET-stage1-libiberty)
19213 maybe-clean-stage1-libiberty: clean-stage1-libiberty
19214 clean-stage1: clean-stage1-libiberty
19215 clean-stage1-libiberty:
19216 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
19217 || exit 0 ; \
19218 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
19219 cd $(HOST_SUBDIR)/libiberty && \
19220 $(MAKE) $(FLAGS_TO_PASS) \
19221 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19222 @endif libiberty-bootstrap
19225 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
19226 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
19227 maybe-all-stage2-libiberty:
19228 maybe-clean-stage2-libiberty:
19229 @if libiberty-bootstrap
19230 maybe-all-stage2-libiberty: all-stage2-libiberty
19231 all-stage2: all-stage2-libiberty
19232 TARGET-stage2-libiberty = $(TARGET-libiberty)
19233 all-stage2-libiberty: configure-stage2-libiberty
19234 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19235 @r=`${PWD_COMMAND}`; export r; \
19236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19237 $(HOST_EXPORTS) \
19238 $(POSTSTAGE1_HOST_EXPORTS) \
19239 cd $(HOST_SUBDIR)/libiberty && \
19240 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19241 $(TARGET-stage2-libiberty)
19243 maybe-clean-stage2-libiberty: clean-stage2-libiberty
19244 clean-stage2: clean-stage2-libiberty
19245 clean-stage2-libiberty:
19246 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
19247 || exit 0 ; \
19248 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
19249 cd $(HOST_SUBDIR)/libiberty && \
19250 $(MAKE) $(FLAGS_TO_PASS) \
19251 $(POSTSTAGE1_FLAGS_TO_PASS) \
19252 clean
19253 @endif libiberty-bootstrap
19256 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
19257 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
19258 maybe-all-stage3-libiberty:
19259 maybe-clean-stage3-libiberty:
19260 @if libiberty-bootstrap
19261 maybe-all-stage3-libiberty: all-stage3-libiberty
19262 all-stage3: all-stage3-libiberty
19263 TARGET-stage3-libiberty = $(TARGET-libiberty)
19264 all-stage3-libiberty: configure-stage3-libiberty
19265 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19266 @r=`${PWD_COMMAND}`; export r; \
19267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19268 $(HOST_EXPORTS) \
19269 $(POSTSTAGE1_HOST_EXPORTS) \
19270 cd $(HOST_SUBDIR)/libiberty && \
19271 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19272 $(TARGET-stage3-libiberty)
19274 maybe-clean-stage3-libiberty: clean-stage3-libiberty
19275 clean-stage3: clean-stage3-libiberty
19276 clean-stage3-libiberty:
19277 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
19278 || exit 0 ; \
19279 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
19280 cd $(HOST_SUBDIR)/libiberty && \
19281 $(MAKE) $(FLAGS_TO_PASS) \
19282 $(POSTSTAGE1_FLAGS_TO_PASS) \
19283 clean
19284 @endif libiberty-bootstrap
19287 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
19288 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
19289 maybe-all-stage4-libiberty:
19290 maybe-clean-stage4-libiberty:
19291 @if libiberty-bootstrap
19292 maybe-all-stage4-libiberty: all-stage4-libiberty
19293 all-stage4: all-stage4-libiberty
19294 TARGET-stage4-libiberty = $(TARGET-libiberty)
19295 all-stage4-libiberty: configure-stage4-libiberty
19296 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-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-stage4-libiberty)
19305 maybe-clean-stage4-libiberty: clean-stage4-libiberty
19306 clean-stage4: clean-stage4-libiberty
19307 clean-stage4-libiberty:
19308 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
19309 || exit 0 ; \
19310 [ $(current_stage) = stage4 ] || $(MAKE) stage4-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-stageprofile-libiberty maybe-all-stageprofile-libiberty
19319 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
19320 maybe-all-stageprofile-libiberty:
19321 maybe-clean-stageprofile-libiberty:
19322 @if libiberty-bootstrap
19323 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
19324 all-stageprofile: all-stageprofile-libiberty
19325 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
19326 all-stageprofile-libiberty: configure-stageprofile-libiberty
19327 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-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) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19334 $(TARGET-stageprofile-libiberty)
19336 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
19337 clean-stageprofile: clean-stageprofile-libiberty
19338 clean-stageprofile-libiberty:
19339 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
19340 || exit 0 ; \
19341 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
19342 cd $(HOST_SUBDIR)/libiberty && \
19343 $(MAKE) $(FLAGS_TO_PASS) \
19344 $(POSTSTAGE1_FLAGS_TO_PASS) \
19345 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19346 @endif libiberty-bootstrap
19349 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
19350 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
19351 maybe-all-stagefeedback-libiberty:
19352 maybe-clean-stagefeedback-libiberty:
19353 @if libiberty-bootstrap
19354 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
19355 all-stagefeedback: all-stagefeedback-libiberty
19356 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
19357 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
19358 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-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) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19365 $(TARGET-stagefeedback-libiberty)
19367 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
19368 clean-stagefeedback: clean-stagefeedback-libiberty
19369 clean-stagefeedback-libiberty:
19370 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
19371 || exit 0 ; \
19372 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
19373 cd $(HOST_SUBDIR)/libiberty && \
19374 $(MAKE) $(FLAGS_TO_PASS) \
19375 $(POSTSTAGE1_FLAGS_TO_PASS) \
19376 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19377 @endif libiberty-bootstrap
19383 .PHONY: check-libiberty maybe-check-libiberty
19384 maybe-check-libiberty:
19385 @if libiberty
19386 maybe-check-libiberty: check-libiberty
19388 check-libiberty:
19389 @: $(MAKE); $(unstage)
19390 @r=`${PWD_COMMAND}`; export r; \
19391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19392 $(HOST_EXPORTS) \
19393 (cd $(HOST_SUBDIR)/libiberty && \
19394 $(MAKE) $(FLAGS_TO_PASS) check)
19396 @endif libiberty
19398 .PHONY: install-libiberty maybe-install-libiberty
19399 maybe-install-libiberty:
19400 @if libiberty
19401 maybe-install-libiberty: install-libiberty
19403 install-libiberty: installdirs
19404 @: $(MAKE); $(unstage)
19405 @r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 (cd $(HOST_SUBDIR)/libiberty && \
19409 $(MAKE) $(FLAGS_TO_PASS) install)
19411 @endif libiberty
19413 # Other targets (info, dvi, etc.)
19415 .PHONY: maybe-info-libiberty info-libiberty
19416 maybe-info-libiberty:
19417 @if libiberty
19418 maybe-info-libiberty: info-libiberty
19420 info-libiberty: \
19421 configure-libiberty
19422 @[ -f ./libiberty/Makefile ] || exit 0; \
19423 r=`${PWD_COMMAND}`; export r; \
19424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19425 $(HOST_EXPORTS) \
19426 for flag in $(EXTRA_HOST_FLAGS) ; do \
19427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19428 done; \
19429 echo "Doing info in libiberty" ; \
19430 (cd $(HOST_SUBDIR)/libiberty && \
19431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19433 "RANLIB=$${RANLIB}" \
19434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19435 info) \
19436 || exit 1
19438 @endif libiberty
19440 .PHONY: maybe-dvi-libiberty dvi-libiberty
19441 maybe-dvi-libiberty:
19442 @if libiberty
19443 maybe-dvi-libiberty: dvi-libiberty
19445 dvi-libiberty: \
19446 configure-libiberty
19447 @[ -f ./libiberty/Makefile ] || exit 0; \
19448 r=`${PWD_COMMAND}`; export r; \
19449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19450 $(HOST_EXPORTS) \
19451 for flag in $(EXTRA_HOST_FLAGS) ; do \
19452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19453 done; \
19454 echo "Doing dvi in libiberty" ; \
19455 (cd $(HOST_SUBDIR)/libiberty && \
19456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19458 "RANLIB=$${RANLIB}" \
19459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19460 dvi) \
19461 || exit 1
19463 @endif libiberty
19465 .PHONY: maybe-html-libiberty html-libiberty
19466 maybe-html-libiberty:
19467 @if libiberty
19468 maybe-html-libiberty: html-libiberty
19470 html-libiberty: \
19471 configure-libiberty
19472 @[ -f ./libiberty/Makefile ] || exit 0; \
19473 r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475 $(HOST_EXPORTS) \
19476 for flag in $(EXTRA_HOST_FLAGS) ; do \
19477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19478 done; \
19479 echo "Doing html in libiberty" ; \
19480 (cd $(HOST_SUBDIR)/libiberty && \
19481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19483 "RANLIB=$${RANLIB}" \
19484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19485 html) \
19486 || exit 1
19488 @endif libiberty
19490 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
19491 maybe-TAGS-libiberty:
19492 @if libiberty
19493 maybe-TAGS-libiberty: TAGS-libiberty
19495 TAGS-libiberty: \
19496 configure-libiberty
19497 @[ -f ./libiberty/Makefile ] || exit 0; \
19498 r=`${PWD_COMMAND}`; export r; \
19499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19500 $(HOST_EXPORTS) \
19501 for flag in $(EXTRA_HOST_FLAGS) ; do \
19502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19503 done; \
19504 echo "Doing TAGS in libiberty" ; \
19505 (cd $(HOST_SUBDIR)/libiberty && \
19506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19508 "RANLIB=$${RANLIB}" \
19509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19510 TAGS) \
19511 || exit 1
19513 @endif libiberty
19515 .PHONY: maybe-install-info-libiberty install-info-libiberty
19516 maybe-install-info-libiberty:
19517 @if libiberty
19518 maybe-install-info-libiberty: install-info-libiberty
19520 install-info-libiberty: \
19521 configure-libiberty \
19522 info-libiberty
19523 @[ -f ./libiberty/Makefile ] || exit 0; \
19524 r=`${PWD_COMMAND}`; export r; \
19525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19526 $(HOST_EXPORTS) \
19527 for flag in $(EXTRA_HOST_FLAGS) ; do \
19528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19529 done; \
19530 echo "Doing install-info in libiberty" ; \
19531 (cd $(HOST_SUBDIR)/libiberty && \
19532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19534 "RANLIB=$${RANLIB}" \
19535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19536 install-info) \
19537 || exit 1
19539 @endif libiberty
19541 .PHONY: maybe-install-html-libiberty install-html-libiberty
19542 maybe-install-html-libiberty:
19543 @if libiberty
19544 maybe-install-html-libiberty: install-html-libiberty
19546 install-html-libiberty: \
19547 configure-libiberty \
19548 html-libiberty
19549 @[ -f ./libiberty/Makefile ] || exit 0; \
19550 r=`${PWD_COMMAND}`; export r; \
19551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19552 $(HOST_EXPORTS) \
19553 for flag in $(EXTRA_HOST_FLAGS) ; do \
19554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19555 done; \
19556 echo "Doing install-html in libiberty" ; \
19557 (cd $(HOST_SUBDIR)/libiberty && \
19558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19560 "RANLIB=$${RANLIB}" \
19561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19562 install-html) \
19563 || exit 1
19565 @endif libiberty
19567 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
19568 maybe-installcheck-libiberty:
19569 @if libiberty
19570 maybe-installcheck-libiberty: installcheck-libiberty
19572 installcheck-libiberty: \
19573 configure-libiberty
19574 @[ -f ./libiberty/Makefile ] || exit 0; \
19575 r=`${PWD_COMMAND}`; export r; \
19576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19577 $(HOST_EXPORTS) \
19578 for flag in $(EXTRA_HOST_FLAGS) ; do \
19579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19580 done; \
19581 echo "Doing installcheck in libiberty" ; \
19582 (cd $(HOST_SUBDIR)/libiberty && \
19583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19585 "RANLIB=$${RANLIB}" \
19586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19587 installcheck) \
19588 || exit 1
19590 @endif libiberty
19592 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
19593 maybe-mostlyclean-libiberty:
19594 @if libiberty
19595 maybe-mostlyclean-libiberty: mostlyclean-libiberty
19597 mostlyclean-libiberty:
19598 @[ -f ./libiberty/Makefile ] || exit 0; \
19599 r=`${PWD_COMMAND}`; export r; \
19600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19601 $(HOST_EXPORTS) \
19602 for flag in $(EXTRA_HOST_FLAGS) ; do \
19603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19604 done; \
19605 echo "Doing mostlyclean in libiberty" ; \
19606 (cd $(HOST_SUBDIR)/libiberty && \
19607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19609 "RANLIB=$${RANLIB}" \
19610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19611 mostlyclean) \
19612 || exit 1
19614 @endif libiberty
19616 .PHONY: maybe-clean-libiberty clean-libiberty
19617 maybe-clean-libiberty:
19618 @if libiberty
19619 maybe-clean-libiberty: clean-libiberty
19621 clean-libiberty:
19622 @[ -f ./libiberty/Makefile ] || exit 0; \
19623 r=`${PWD_COMMAND}`; export r; \
19624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19625 $(HOST_EXPORTS) \
19626 for flag in $(EXTRA_HOST_FLAGS) ; do \
19627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19628 done; \
19629 echo "Doing clean in libiberty" ; \
19630 (cd $(HOST_SUBDIR)/libiberty && \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19633 "RANLIB=$${RANLIB}" \
19634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19635 clean) \
19636 || exit 1
19638 @endif libiberty
19640 .PHONY: maybe-distclean-libiberty distclean-libiberty
19641 maybe-distclean-libiberty:
19642 @if libiberty
19643 maybe-distclean-libiberty: distclean-libiberty
19645 distclean-libiberty:
19646 @[ -f ./libiberty/Makefile ] || exit 0; \
19647 r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 $(HOST_EXPORTS) \
19650 for flag in $(EXTRA_HOST_FLAGS) ; do \
19651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19652 done; \
19653 echo "Doing distclean in libiberty" ; \
19654 (cd $(HOST_SUBDIR)/libiberty && \
19655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19657 "RANLIB=$${RANLIB}" \
19658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19659 distclean) \
19660 || exit 1
19662 @endif libiberty
19664 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
19665 maybe-maintainer-clean-libiberty:
19666 @if libiberty
19667 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
19669 maintainer-clean-libiberty:
19670 @[ -f ./libiberty/Makefile ] || exit 0; \
19671 r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673 $(HOST_EXPORTS) \
19674 for flag in $(EXTRA_HOST_FLAGS) ; do \
19675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19676 done; \
19677 echo "Doing maintainer-clean in libiberty" ; \
19678 (cd $(HOST_SUBDIR)/libiberty && \
19679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19681 "RANLIB=$${RANLIB}" \
19682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19683 maintainer-clean) \
19684 || exit 1
19686 @endif libiberty
19690 .PHONY: configure-libtool maybe-configure-libtool
19691 maybe-configure-libtool:
19692 @if gcc-bootstrap
19693 configure-libtool: stage_current
19694 @endif gcc-bootstrap
19695 @if libtool
19696 maybe-configure-libtool: configure-libtool
19697 configure-libtool:
19698 @: $(MAKE); $(unstage)
19699 @r=`${PWD_COMMAND}`; export r; \
19700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19701 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
19702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
19703 $(HOST_EXPORTS) \
19704 echo Configuring in $(HOST_SUBDIR)/libtool; \
19705 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
19706 case $(srcdir) in \
19707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19708 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
19709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19710 esac; \
19711 srcdiroption="--srcdir=$${topdir}/libtool"; \
19712 libsrcdir="$$s/libtool"; \
19713 $(SHELL) $${libsrcdir}/configure \
19714 $(HOST_CONFIGARGS) $${srcdiroption} \
19715 || exit 1
19716 @endif libtool
19722 .PHONY: all-libtool maybe-all-libtool
19723 maybe-all-libtool:
19724 @if gcc-bootstrap
19725 all-libtool: stage_current
19726 @endif gcc-bootstrap
19727 @if libtool
19728 TARGET-libtool=all
19729 maybe-all-libtool: all-libtool
19730 all-libtool: configure-libtool
19731 @: $(MAKE); $(unstage)
19732 @r=`${PWD_COMMAND}`; export r; \
19733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19734 $(HOST_EXPORTS) \
19735 (cd $(HOST_SUBDIR)/libtool && \
19736 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
19737 @endif libtool
19742 .PHONY: check-libtool maybe-check-libtool
19743 maybe-check-libtool:
19744 @if libtool
19745 maybe-check-libtool: check-libtool
19747 check-libtool:
19748 @: $(MAKE); $(unstage)
19749 @r=`${PWD_COMMAND}`; export r; \
19750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19751 $(HOST_EXPORTS) \
19752 (cd $(HOST_SUBDIR)/libtool && \
19753 $(MAKE) $(FLAGS_TO_PASS) check)
19755 @endif libtool
19757 .PHONY: install-libtool maybe-install-libtool
19758 maybe-install-libtool:
19759 @if libtool
19760 maybe-install-libtool: install-libtool
19762 install-libtool: installdirs
19763 @: $(MAKE); $(unstage)
19764 @r=`${PWD_COMMAND}`; export r; \
19765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19766 $(HOST_EXPORTS) \
19767 (cd $(HOST_SUBDIR)/libtool && \
19768 $(MAKE) $(FLAGS_TO_PASS) install)
19770 @endif libtool
19772 # Other targets (info, dvi, etc.)
19774 .PHONY: maybe-info-libtool info-libtool
19775 maybe-info-libtool:
19776 @if libtool
19777 maybe-info-libtool: info-libtool
19779 info-libtool: \
19780 configure-libtool
19781 @: $(MAKE); $(unstage)
19782 @[ -f ./libtool/Makefile ] || exit 0; \
19783 r=`${PWD_COMMAND}`; export r; \
19784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19785 $(HOST_EXPORTS) \
19786 for flag in $(EXTRA_HOST_FLAGS) ; do \
19787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19788 done; \
19789 echo "Doing info in libtool" ; \
19790 (cd $(HOST_SUBDIR)/libtool && \
19791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19793 "RANLIB=$${RANLIB}" \
19794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19795 info) \
19796 || exit 1
19798 @endif libtool
19800 .PHONY: maybe-dvi-libtool dvi-libtool
19801 maybe-dvi-libtool:
19802 @if libtool
19803 maybe-dvi-libtool: dvi-libtool
19805 dvi-libtool: \
19806 configure-libtool
19807 @: $(MAKE); $(unstage)
19808 @[ -f ./libtool/Makefile ] || exit 0; \
19809 r=`${PWD_COMMAND}`; export r; \
19810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19811 $(HOST_EXPORTS) \
19812 for flag in $(EXTRA_HOST_FLAGS) ; do \
19813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19814 done; \
19815 echo "Doing dvi in libtool" ; \
19816 (cd $(HOST_SUBDIR)/libtool && \
19817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19819 "RANLIB=$${RANLIB}" \
19820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19821 dvi) \
19822 || exit 1
19824 @endif libtool
19826 .PHONY: maybe-html-libtool html-libtool
19827 maybe-html-libtool:
19828 @if libtool
19829 maybe-html-libtool: html-libtool
19831 html-libtool: \
19832 configure-libtool
19833 @: $(MAKE); $(unstage)
19834 @[ -f ./libtool/Makefile ] || exit 0; \
19835 r=`${PWD_COMMAND}`; export r; \
19836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19837 $(HOST_EXPORTS) \
19838 for flag in $(EXTRA_HOST_FLAGS) ; do \
19839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19840 done; \
19841 echo "Doing html in libtool" ; \
19842 (cd $(HOST_SUBDIR)/libtool && \
19843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19845 "RANLIB=$${RANLIB}" \
19846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19847 html) \
19848 || exit 1
19850 @endif libtool
19852 .PHONY: maybe-TAGS-libtool TAGS-libtool
19853 maybe-TAGS-libtool:
19854 @if libtool
19855 maybe-TAGS-libtool: TAGS-libtool
19857 TAGS-libtool: \
19858 configure-libtool
19859 @: $(MAKE); $(unstage)
19860 @[ -f ./libtool/Makefile ] || exit 0; \
19861 r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 $(HOST_EXPORTS) \
19864 for flag in $(EXTRA_HOST_FLAGS) ; do \
19865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19866 done; \
19867 echo "Doing TAGS in libtool" ; \
19868 (cd $(HOST_SUBDIR)/libtool && \
19869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19871 "RANLIB=$${RANLIB}" \
19872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19873 TAGS) \
19874 || exit 1
19876 @endif libtool
19878 .PHONY: maybe-install-info-libtool install-info-libtool
19879 maybe-install-info-libtool:
19880 @if libtool
19881 maybe-install-info-libtool: install-info-libtool
19883 install-info-libtool: \
19884 configure-libtool \
19885 info-libtool
19886 @: $(MAKE); $(unstage)
19887 @[ -f ./libtool/Makefile ] || exit 0; \
19888 r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 $(HOST_EXPORTS) \
19891 for flag in $(EXTRA_HOST_FLAGS) ; do \
19892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19893 done; \
19894 echo "Doing install-info in libtool" ; \
19895 (cd $(HOST_SUBDIR)/libtool && \
19896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19898 "RANLIB=$${RANLIB}" \
19899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19900 install-info) \
19901 || exit 1
19903 @endif libtool
19905 .PHONY: maybe-install-html-libtool install-html-libtool
19906 maybe-install-html-libtool:
19907 @if libtool
19908 maybe-install-html-libtool: install-html-libtool
19910 install-html-libtool: \
19911 configure-libtool \
19912 html-libtool
19913 @: $(MAKE); $(unstage)
19914 @[ -f ./libtool/Makefile ] || exit 0; \
19915 r=`${PWD_COMMAND}`; export r; \
19916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19917 $(HOST_EXPORTS) \
19918 for flag in $(EXTRA_HOST_FLAGS) ; do \
19919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19920 done; \
19921 echo "Doing install-html in libtool" ; \
19922 (cd $(HOST_SUBDIR)/libtool && \
19923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19925 "RANLIB=$${RANLIB}" \
19926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19927 install-html) \
19928 || exit 1
19930 @endif libtool
19932 .PHONY: maybe-installcheck-libtool installcheck-libtool
19933 maybe-installcheck-libtool:
19934 @if libtool
19935 maybe-installcheck-libtool: installcheck-libtool
19937 installcheck-libtool: \
19938 configure-libtool
19939 @: $(MAKE); $(unstage)
19940 @[ -f ./libtool/Makefile ] || exit 0; \
19941 r=`${PWD_COMMAND}`; export r; \
19942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19943 $(HOST_EXPORTS) \
19944 for flag in $(EXTRA_HOST_FLAGS) ; do \
19945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19946 done; \
19947 echo "Doing installcheck in libtool" ; \
19948 (cd $(HOST_SUBDIR)/libtool && \
19949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19951 "RANLIB=$${RANLIB}" \
19952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19953 installcheck) \
19954 || exit 1
19956 @endif libtool
19958 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
19959 maybe-mostlyclean-libtool:
19960 @if libtool
19961 maybe-mostlyclean-libtool: mostlyclean-libtool
19963 mostlyclean-libtool:
19964 @: $(MAKE); $(unstage)
19965 @[ -f ./libtool/Makefile ] || exit 0; \
19966 r=`${PWD_COMMAND}`; export r; \
19967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19968 $(HOST_EXPORTS) \
19969 for flag in $(EXTRA_HOST_FLAGS) ; do \
19970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19971 done; \
19972 echo "Doing mostlyclean in libtool" ; \
19973 (cd $(HOST_SUBDIR)/libtool && \
19974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19976 "RANLIB=$${RANLIB}" \
19977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19978 mostlyclean) \
19979 || exit 1
19981 @endif libtool
19983 .PHONY: maybe-clean-libtool clean-libtool
19984 maybe-clean-libtool:
19985 @if libtool
19986 maybe-clean-libtool: clean-libtool
19988 clean-libtool:
19989 @: $(MAKE); $(unstage)
19990 @[ -f ./libtool/Makefile ] || exit 0; \
19991 r=`${PWD_COMMAND}`; export r; \
19992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19993 $(HOST_EXPORTS) \
19994 for flag in $(EXTRA_HOST_FLAGS) ; do \
19995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19996 done; \
19997 echo "Doing clean in libtool" ; \
19998 (cd $(HOST_SUBDIR)/libtool && \
19999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20001 "RANLIB=$${RANLIB}" \
20002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20003 clean) \
20004 || exit 1
20006 @endif libtool
20008 .PHONY: maybe-distclean-libtool distclean-libtool
20009 maybe-distclean-libtool:
20010 @if libtool
20011 maybe-distclean-libtool: distclean-libtool
20013 distclean-libtool:
20014 @: $(MAKE); $(unstage)
20015 @[ -f ./libtool/Makefile ] || exit 0; \
20016 r=`${PWD_COMMAND}`; export r; \
20017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20018 $(HOST_EXPORTS) \
20019 for flag in $(EXTRA_HOST_FLAGS) ; do \
20020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20021 done; \
20022 echo "Doing distclean in libtool" ; \
20023 (cd $(HOST_SUBDIR)/libtool && \
20024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20026 "RANLIB=$${RANLIB}" \
20027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20028 distclean) \
20029 || exit 1
20031 @endif libtool
20033 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
20034 maybe-maintainer-clean-libtool:
20035 @if libtool
20036 maybe-maintainer-clean-libtool: maintainer-clean-libtool
20038 maintainer-clean-libtool:
20039 @: $(MAKE); $(unstage)
20040 @[ -f ./libtool/Makefile ] || exit 0; \
20041 r=`${PWD_COMMAND}`; export r; \
20042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20043 $(HOST_EXPORTS) \
20044 for flag in $(EXTRA_HOST_FLAGS) ; do \
20045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20046 done; \
20047 echo "Doing maintainer-clean in libtool" ; \
20048 (cd $(HOST_SUBDIR)/libtool && \
20049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20051 "RANLIB=$${RANLIB}" \
20052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20053 maintainer-clean) \
20054 || exit 1
20056 @endif libtool
20060 .PHONY: configure-m4 maybe-configure-m4
20061 maybe-configure-m4:
20062 @if gcc-bootstrap
20063 configure-m4: stage_current
20064 @endif gcc-bootstrap
20065 @if m4
20066 maybe-configure-m4: configure-m4
20067 configure-m4:
20068 @: $(MAKE); $(unstage)
20069 @r=`${PWD_COMMAND}`; export r; \
20070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20071 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
20072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
20073 $(HOST_EXPORTS) \
20074 echo Configuring in $(HOST_SUBDIR)/m4; \
20075 cd "$(HOST_SUBDIR)/m4" || exit 1; \
20076 case $(srcdir) in \
20077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20078 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
20079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20080 esac; \
20081 srcdiroption="--srcdir=$${topdir}/m4"; \
20082 libsrcdir="$$s/m4"; \
20083 $(SHELL) $${libsrcdir}/configure \
20084 $(HOST_CONFIGARGS) $${srcdiroption} \
20085 || exit 1
20086 @endif m4
20092 .PHONY: all-m4 maybe-all-m4
20093 maybe-all-m4:
20094 @if gcc-bootstrap
20095 all-m4: stage_current
20096 @endif gcc-bootstrap
20097 @if m4
20098 TARGET-m4=all
20099 maybe-all-m4: all-m4
20100 all-m4: configure-m4
20101 @: $(MAKE); $(unstage)
20102 @r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(HOST_EXPORTS) \
20105 (cd $(HOST_SUBDIR)/m4 && \
20106 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
20107 @endif m4
20112 .PHONY: check-m4 maybe-check-m4
20113 maybe-check-m4:
20114 @if m4
20115 maybe-check-m4: check-m4
20117 check-m4:
20118 @: $(MAKE); $(unstage)
20119 @r=`${PWD_COMMAND}`; export r; \
20120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20121 $(HOST_EXPORTS) \
20122 (cd $(HOST_SUBDIR)/m4 && \
20123 $(MAKE) $(FLAGS_TO_PASS) check)
20125 @endif m4
20127 .PHONY: install-m4 maybe-install-m4
20128 maybe-install-m4:
20129 @if m4
20130 maybe-install-m4: install-m4
20132 install-m4: installdirs
20133 @: $(MAKE); $(unstage)
20134 @r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(HOST_EXPORTS) \
20137 (cd $(HOST_SUBDIR)/m4 && \
20138 $(MAKE) $(FLAGS_TO_PASS) install)
20140 @endif m4
20142 # Other targets (info, dvi, etc.)
20144 .PHONY: maybe-info-m4 info-m4
20145 maybe-info-m4:
20146 @if m4
20147 maybe-info-m4: info-m4
20149 info-m4: \
20150 configure-m4
20151 @: $(MAKE); $(unstage)
20152 @[ -f ./m4/Makefile ] || exit 0; \
20153 r=`${PWD_COMMAND}`; export r; \
20154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20155 $(HOST_EXPORTS) \
20156 for flag in $(EXTRA_HOST_FLAGS) ; do \
20157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20158 done; \
20159 echo "Doing info in m4" ; \
20160 (cd $(HOST_SUBDIR)/m4 && \
20161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20163 "RANLIB=$${RANLIB}" \
20164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20165 info) \
20166 || exit 1
20168 @endif m4
20170 .PHONY: maybe-dvi-m4 dvi-m4
20171 maybe-dvi-m4:
20172 @if m4
20173 maybe-dvi-m4: dvi-m4
20175 dvi-m4: \
20176 configure-m4
20177 @: $(MAKE); $(unstage)
20178 @[ -f ./m4/Makefile ] || exit 0; \
20179 r=`${PWD_COMMAND}`; export r; \
20180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20181 $(HOST_EXPORTS) \
20182 for flag in $(EXTRA_HOST_FLAGS) ; do \
20183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20184 done; \
20185 echo "Doing dvi in m4" ; \
20186 (cd $(HOST_SUBDIR)/m4 && \
20187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20189 "RANLIB=$${RANLIB}" \
20190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20191 dvi) \
20192 || exit 1
20194 @endif m4
20196 .PHONY: maybe-html-m4 html-m4
20197 maybe-html-m4:
20198 @if m4
20199 maybe-html-m4: html-m4
20201 html-m4: \
20202 configure-m4
20203 @: $(MAKE); $(unstage)
20204 @[ -f ./m4/Makefile ] || exit 0; \
20205 r=`${PWD_COMMAND}`; export r; \
20206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20207 $(HOST_EXPORTS) \
20208 for flag in $(EXTRA_HOST_FLAGS) ; do \
20209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20210 done; \
20211 echo "Doing html in m4" ; \
20212 (cd $(HOST_SUBDIR)/m4 && \
20213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20215 "RANLIB=$${RANLIB}" \
20216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20217 html) \
20218 || exit 1
20220 @endif m4
20222 .PHONY: maybe-TAGS-m4 TAGS-m4
20223 maybe-TAGS-m4:
20224 @if m4
20225 maybe-TAGS-m4: TAGS-m4
20227 TAGS-m4: \
20228 configure-m4
20229 @: $(MAKE); $(unstage)
20230 @[ -f ./m4/Makefile ] || exit 0; \
20231 r=`${PWD_COMMAND}`; export r; \
20232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20233 $(HOST_EXPORTS) \
20234 for flag in $(EXTRA_HOST_FLAGS) ; do \
20235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20236 done; \
20237 echo "Doing TAGS in m4" ; \
20238 (cd $(HOST_SUBDIR)/m4 && \
20239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20241 "RANLIB=$${RANLIB}" \
20242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20243 TAGS) \
20244 || exit 1
20246 @endif m4
20248 .PHONY: maybe-install-info-m4 install-info-m4
20249 maybe-install-info-m4:
20250 @if m4
20251 maybe-install-info-m4: install-info-m4
20253 install-info-m4: \
20254 configure-m4 \
20255 info-m4
20256 @: $(MAKE); $(unstage)
20257 @[ -f ./m4/Makefile ] || exit 0; \
20258 r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20260 $(HOST_EXPORTS) \
20261 for flag in $(EXTRA_HOST_FLAGS) ; do \
20262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20263 done; \
20264 echo "Doing install-info in m4" ; \
20265 (cd $(HOST_SUBDIR)/m4 && \
20266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20268 "RANLIB=$${RANLIB}" \
20269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20270 install-info) \
20271 || exit 1
20273 @endif m4
20275 .PHONY: maybe-install-html-m4 install-html-m4
20276 maybe-install-html-m4:
20277 @if m4
20278 maybe-install-html-m4: install-html-m4
20280 install-html-m4: \
20281 configure-m4 \
20282 html-m4
20283 @: $(MAKE); $(unstage)
20284 @[ -f ./m4/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20287 $(HOST_EXPORTS) \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20290 done; \
20291 echo "Doing install-html in m4" ; \
20292 (cd $(HOST_SUBDIR)/m4 && \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20297 install-html) \
20298 || exit 1
20300 @endif m4
20302 .PHONY: maybe-installcheck-m4 installcheck-m4
20303 maybe-installcheck-m4:
20304 @if m4
20305 maybe-installcheck-m4: installcheck-m4
20307 installcheck-m4: \
20308 configure-m4
20309 @: $(MAKE); $(unstage)
20310 @[ -f ./m4/Makefile ] || exit 0; \
20311 r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(HOST_EXPORTS) \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 done; \
20317 echo "Doing installcheck in m4" ; \
20318 (cd $(HOST_SUBDIR)/m4 && \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20323 installcheck) \
20324 || exit 1
20326 @endif m4
20328 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
20329 maybe-mostlyclean-m4:
20330 @if m4
20331 maybe-mostlyclean-m4: mostlyclean-m4
20333 mostlyclean-m4:
20334 @: $(MAKE); $(unstage)
20335 @[ -f ./m4/Makefile ] || exit 0; \
20336 r=`${PWD_COMMAND}`; export r; \
20337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 $(HOST_EXPORTS) \
20339 for flag in $(EXTRA_HOST_FLAGS) ; do \
20340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20341 done; \
20342 echo "Doing mostlyclean in m4" ; \
20343 (cd $(HOST_SUBDIR)/m4 && \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20346 "RANLIB=$${RANLIB}" \
20347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20348 mostlyclean) \
20349 || exit 1
20351 @endif m4
20353 .PHONY: maybe-clean-m4 clean-m4
20354 maybe-clean-m4:
20355 @if m4
20356 maybe-clean-m4: clean-m4
20358 clean-m4:
20359 @: $(MAKE); $(unstage)
20360 @[ -f ./m4/Makefile ] || exit 0; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 for flag in $(EXTRA_HOST_FLAGS) ; do \
20365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20366 done; \
20367 echo "Doing clean in m4" ; \
20368 (cd $(HOST_SUBDIR)/m4 && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20371 "RANLIB=$${RANLIB}" \
20372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20373 clean) \
20374 || exit 1
20376 @endif m4
20378 .PHONY: maybe-distclean-m4 distclean-m4
20379 maybe-distclean-m4:
20380 @if m4
20381 maybe-distclean-m4: distclean-m4
20383 distclean-m4:
20384 @: $(MAKE); $(unstage)
20385 @[ -f ./m4/Makefile ] || exit 0; \
20386 r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 $(HOST_EXPORTS) \
20389 for flag in $(EXTRA_HOST_FLAGS) ; do \
20390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 done; \
20392 echo "Doing distclean in m4" ; \
20393 (cd $(HOST_SUBDIR)/m4 && \
20394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20396 "RANLIB=$${RANLIB}" \
20397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20398 distclean) \
20399 || exit 1
20401 @endif m4
20403 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
20404 maybe-maintainer-clean-m4:
20405 @if m4
20406 maybe-maintainer-clean-m4: maintainer-clean-m4
20408 maintainer-clean-m4:
20409 @: $(MAKE); $(unstage)
20410 @[ -f ./m4/Makefile ] || exit 0; \
20411 r=`${PWD_COMMAND}`; export r; \
20412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20413 $(HOST_EXPORTS) \
20414 for flag in $(EXTRA_HOST_FLAGS) ; do \
20415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20416 done; \
20417 echo "Doing maintainer-clean in m4" ; \
20418 (cd $(HOST_SUBDIR)/m4 && \
20419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20421 "RANLIB=$${RANLIB}" \
20422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20423 maintainer-clean) \
20424 || exit 1
20426 @endif m4
20430 .PHONY: configure-make maybe-configure-make
20431 maybe-configure-make:
20432 @if gcc-bootstrap
20433 configure-make: stage_current
20434 @endif gcc-bootstrap
20435 @if make
20436 maybe-configure-make: configure-make
20437 configure-make:
20438 @: $(MAKE); $(unstage)
20439 @r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
20442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
20443 $(HOST_EXPORTS) \
20444 echo Configuring in $(HOST_SUBDIR)/make; \
20445 cd "$(HOST_SUBDIR)/make" || exit 1; \
20446 case $(srcdir) in \
20447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20448 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
20449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20450 esac; \
20451 srcdiroption="--srcdir=$${topdir}/make"; \
20452 libsrcdir="$$s/make"; \
20453 $(SHELL) $${libsrcdir}/configure \
20454 $(HOST_CONFIGARGS) $${srcdiroption} \
20455 || exit 1
20456 @endif make
20462 .PHONY: all-make maybe-all-make
20463 maybe-all-make:
20464 @if gcc-bootstrap
20465 all-make: stage_current
20466 @endif gcc-bootstrap
20467 @if make
20468 TARGET-make=all
20469 maybe-all-make: all-make
20470 all-make: configure-make
20471 @: $(MAKE); $(unstage)
20472 @r=`${PWD_COMMAND}`; export r; \
20473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20474 $(HOST_EXPORTS) \
20475 (cd $(HOST_SUBDIR)/make && \
20476 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
20477 @endif make
20482 .PHONY: check-make maybe-check-make
20483 maybe-check-make:
20484 @if make
20485 maybe-check-make: check-make
20487 check-make:
20488 @: $(MAKE); $(unstage)
20489 @r=`${PWD_COMMAND}`; export r; \
20490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20491 $(HOST_EXPORTS) \
20492 (cd $(HOST_SUBDIR)/make && \
20493 $(MAKE) $(FLAGS_TO_PASS) check)
20495 @endif make
20497 .PHONY: install-make maybe-install-make
20498 maybe-install-make:
20499 @if make
20500 maybe-install-make: install-make
20502 install-make: installdirs
20503 @: $(MAKE); $(unstage)
20504 @r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20506 $(HOST_EXPORTS) \
20507 (cd $(HOST_SUBDIR)/make && \
20508 $(MAKE) $(FLAGS_TO_PASS) install)
20510 @endif make
20512 # Other targets (info, dvi, etc.)
20514 .PHONY: maybe-info-make info-make
20515 maybe-info-make:
20516 @if make
20517 maybe-info-make: info-make
20519 info-make: \
20520 configure-make
20521 @: $(MAKE); $(unstage)
20522 @[ -f ./make/Makefile ] || exit 0; \
20523 r=`${PWD_COMMAND}`; export r; \
20524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20525 $(HOST_EXPORTS) \
20526 for flag in $(EXTRA_HOST_FLAGS) ; do \
20527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20528 done; \
20529 echo "Doing info in make" ; \
20530 (cd $(HOST_SUBDIR)/make && \
20531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20533 "RANLIB=$${RANLIB}" \
20534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20535 info) \
20536 || exit 1
20538 @endif make
20540 .PHONY: maybe-dvi-make dvi-make
20541 maybe-dvi-make:
20542 @if make
20543 maybe-dvi-make: dvi-make
20545 dvi-make: \
20546 configure-make
20547 @: $(MAKE); $(unstage)
20548 @[ -f ./make/Makefile ] || exit 0; \
20549 r=`${PWD_COMMAND}`; export r; \
20550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20551 $(HOST_EXPORTS) \
20552 for flag in $(EXTRA_HOST_FLAGS) ; do \
20553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20554 done; \
20555 echo "Doing dvi in make" ; \
20556 (cd $(HOST_SUBDIR)/make && \
20557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20559 "RANLIB=$${RANLIB}" \
20560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20561 dvi) \
20562 || exit 1
20564 @endif make
20566 .PHONY: maybe-html-make html-make
20567 maybe-html-make:
20568 @if make
20569 maybe-html-make: html-make
20571 html-make: \
20572 configure-make
20573 @: $(MAKE); $(unstage)
20574 @[ -f ./make/Makefile ] || exit 0; \
20575 r=`${PWD_COMMAND}`; export r; \
20576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20577 $(HOST_EXPORTS) \
20578 for flag in $(EXTRA_HOST_FLAGS) ; do \
20579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20580 done; \
20581 echo "Doing html in make" ; \
20582 (cd $(HOST_SUBDIR)/make && \
20583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20585 "RANLIB=$${RANLIB}" \
20586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20587 html) \
20588 || exit 1
20590 @endif make
20592 .PHONY: maybe-TAGS-make TAGS-make
20593 maybe-TAGS-make:
20594 @if make
20595 maybe-TAGS-make: TAGS-make
20597 TAGS-make: \
20598 configure-make
20599 @: $(MAKE); $(unstage)
20600 @[ -f ./make/Makefile ] || exit 0; \
20601 r=`${PWD_COMMAND}`; export r; \
20602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603 $(HOST_EXPORTS) \
20604 for flag in $(EXTRA_HOST_FLAGS) ; do \
20605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20606 done; \
20607 echo "Doing TAGS in make" ; \
20608 (cd $(HOST_SUBDIR)/make && \
20609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20611 "RANLIB=$${RANLIB}" \
20612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20613 TAGS) \
20614 || exit 1
20616 @endif make
20618 .PHONY: maybe-install-info-make install-info-make
20619 maybe-install-info-make:
20620 @if make
20621 maybe-install-info-make: install-info-make
20623 install-info-make: \
20624 configure-make \
20625 info-make
20626 @: $(MAKE); $(unstage)
20627 @[ -f ./make/Makefile ] || exit 0; \
20628 r=`${PWD_COMMAND}`; export r; \
20629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20630 $(HOST_EXPORTS) \
20631 for flag in $(EXTRA_HOST_FLAGS) ; do \
20632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20633 done; \
20634 echo "Doing install-info in make" ; \
20635 (cd $(HOST_SUBDIR)/make && \
20636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20638 "RANLIB=$${RANLIB}" \
20639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20640 install-info) \
20641 || exit 1
20643 @endif make
20645 .PHONY: maybe-install-html-make install-html-make
20646 maybe-install-html-make:
20647 @if make
20648 maybe-install-html-make: install-html-make
20650 install-html-make: \
20651 configure-make \
20652 html-make
20653 @: $(MAKE); $(unstage)
20654 @[ -f ./make/Makefile ] || exit 0; \
20655 r=`${PWD_COMMAND}`; export r; \
20656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20657 $(HOST_EXPORTS) \
20658 for flag in $(EXTRA_HOST_FLAGS) ; do \
20659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20660 done; \
20661 echo "Doing install-html in make" ; \
20662 (cd $(HOST_SUBDIR)/make && \
20663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20665 "RANLIB=$${RANLIB}" \
20666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20667 install-html) \
20668 || exit 1
20670 @endif make
20672 .PHONY: maybe-installcheck-make installcheck-make
20673 maybe-installcheck-make:
20674 @if make
20675 maybe-installcheck-make: installcheck-make
20677 installcheck-make: \
20678 configure-make
20679 @: $(MAKE); $(unstage)
20680 @[ -f ./make/Makefile ] || exit 0; \
20681 r=`${PWD_COMMAND}`; export r; \
20682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20683 $(HOST_EXPORTS) \
20684 for flag in $(EXTRA_HOST_FLAGS) ; do \
20685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20686 done; \
20687 echo "Doing installcheck in make" ; \
20688 (cd $(HOST_SUBDIR)/make && \
20689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20691 "RANLIB=$${RANLIB}" \
20692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20693 installcheck) \
20694 || exit 1
20696 @endif make
20698 .PHONY: maybe-mostlyclean-make mostlyclean-make
20699 maybe-mostlyclean-make:
20700 @if make
20701 maybe-mostlyclean-make: mostlyclean-make
20703 mostlyclean-make:
20704 @: $(MAKE); $(unstage)
20705 @[ -f ./make/Makefile ] || exit 0; \
20706 r=`${PWD_COMMAND}`; export r; \
20707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20708 $(HOST_EXPORTS) \
20709 for flag in $(EXTRA_HOST_FLAGS) ; do \
20710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20711 done; \
20712 echo "Doing mostlyclean in make" ; \
20713 (cd $(HOST_SUBDIR)/make && \
20714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20716 "RANLIB=$${RANLIB}" \
20717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20718 mostlyclean) \
20719 || exit 1
20721 @endif make
20723 .PHONY: maybe-clean-make clean-make
20724 maybe-clean-make:
20725 @if make
20726 maybe-clean-make: clean-make
20728 clean-make:
20729 @: $(MAKE); $(unstage)
20730 @[ -f ./make/Makefile ] || exit 0; \
20731 r=`${PWD_COMMAND}`; export r; \
20732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20733 $(HOST_EXPORTS) \
20734 for flag in $(EXTRA_HOST_FLAGS) ; do \
20735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20736 done; \
20737 echo "Doing clean in make" ; \
20738 (cd $(HOST_SUBDIR)/make && \
20739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20741 "RANLIB=$${RANLIB}" \
20742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20743 clean) \
20744 || exit 1
20746 @endif make
20748 .PHONY: maybe-distclean-make distclean-make
20749 maybe-distclean-make:
20750 @if make
20751 maybe-distclean-make: distclean-make
20753 distclean-make:
20754 @: $(MAKE); $(unstage)
20755 @[ -f ./make/Makefile ] || exit 0; \
20756 r=`${PWD_COMMAND}`; export r; \
20757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20758 $(HOST_EXPORTS) \
20759 for flag in $(EXTRA_HOST_FLAGS) ; do \
20760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20761 done; \
20762 echo "Doing distclean in make" ; \
20763 (cd $(HOST_SUBDIR)/make && \
20764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20766 "RANLIB=$${RANLIB}" \
20767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20768 distclean) \
20769 || exit 1
20771 @endif make
20773 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
20774 maybe-maintainer-clean-make:
20775 @if make
20776 maybe-maintainer-clean-make: maintainer-clean-make
20778 maintainer-clean-make:
20779 @: $(MAKE); $(unstage)
20780 @[ -f ./make/Makefile ] || exit 0; \
20781 r=`${PWD_COMMAND}`; export r; \
20782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20783 $(HOST_EXPORTS) \
20784 for flag in $(EXTRA_HOST_FLAGS) ; do \
20785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20786 done; \
20787 echo "Doing maintainer-clean in make" ; \
20788 (cd $(HOST_SUBDIR)/make && \
20789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20791 "RANLIB=$${RANLIB}" \
20792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20793 maintainer-clean) \
20794 || exit 1
20796 @endif make
20800 .PHONY: configure-mmalloc maybe-configure-mmalloc
20801 maybe-configure-mmalloc:
20802 @if gcc-bootstrap
20803 configure-mmalloc: stage_current
20804 @endif gcc-bootstrap
20805 @if mmalloc
20806 maybe-configure-mmalloc: configure-mmalloc
20807 configure-mmalloc:
20808 @: $(MAKE); $(unstage)
20809 @r=`${PWD_COMMAND}`; export r; \
20810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20811 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
20812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
20813 $(HOST_EXPORTS) \
20814 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
20815 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
20816 case $(srcdir) in \
20817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20818 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
20819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20820 esac; \
20821 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
20822 libsrcdir="$$s/mmalloc"; \
20823 $(SHELL) $${libsrcdir}/configure \
20824 $(HOST_CONFIGARGS) $${srcdiroption} \
20825 || exit 1
20826 @endif mmalloc
20832 .PHONY: all-mmalloc maybe-all-mmalloc
20833 maybe-all-mmalloc:
20834 @if gcc-bootstrap
20835 all-mmalloc: stage_current
20836 @endif gcc-bootstrap
20837 @if mmalloc
20838 TARGET-mmalloc=all
20839 maybe-all-mmalloc: all-mmalloc
20840 all-mmalloc: configure-mmalloc
20841 @: $(MAKE); $(unstage)
20842 @r=`${PWD_COMMAND}`; export r; \
20843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20844 $(HOST_EXPORTS) \
20845 (cd $(HOST_SUBDIR)/mmalloc && \
20846 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
20847 @endif mmalloc
20852 .PHONY: check-mmalloc maybe-check-mmalloc
20853 maybe-check-mmalloc:
20854 @if mmalloc
20855 maybe-check-mmalloc: check-mmalloc
20857 check-mmalloc:
20859 @endif mmalloc
20861 .PHONY: install-mmalloc maybe-install-mmalloc
20862 maybe-install-mmalloc:
20863 @if mmalloc
20864 maybe-install-mmalloc: install-mmalloc
20866 install-mmalloc: installdirs
20867 @: $(MAKE); $(unstage)
20868 @r=`${PWD_COMMAND}`; export r; \
20869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20870 $(HOST_EXPORTS) \
20871 (cd $(HOST_SUBDIR)/mmalloc && \
20872 $(MAKE) $(FLAGS_TO_PASS) install)
20874 @endif mmalloc
20876 # Other targets (info, dvi, etc.)
20878 .PHONY: maybe-info-mmalloc info-mmalloc
20879 maybe-info-mmalloc:
20880 @if mmalloc
20881 maybe-info-mmalloc: info-mmalloc
20883 info-mmalloc: \
20884 configure-mmalloc
20885 @: $(MAKE); $(unstage)
20886 @[ -f ./mmalloc/Makefile ] || exit 0; \
20887 r=`${PWD_COMMAND}`; export r; \
20888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20889 $(HOST_EXPORTS) \
20890 for flag in $(EXTRA_HOST_FLAGS) ; do \
20891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20892 done; \
20893 echo "Doing info in mmalloc" ; \
20894 (cd $(HOST_SUBDIR)/mmalloc && \
20895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20897 "RANLIB=$${RANLIB}" \
20898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20899 info) \
20900 || exit 1
20902 @endif mmalloc
20904 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
20905 maybe-dvi-mmalloc:
20906 @if mmalloc
20907 maybe-dvi-mmalloc: dvi-mmalloc
20909 dvi-mmalloc: \
20910 configure-mmalloc
20911 @: $(MAKE); $(unstage)
20912 @[ -f ./mmalloc/Makefile ] || exit 0; \
20913 r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 $(HOST_EXPORTS) \
20916 for flag in $(EXTRA_HOST_FLAGS) ; do \
20917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20918 done; \
20919 echo "Doing dvi in mmalloc" ; \
20920 (cd $(HOST_SUBDIR)/mmalloc && \
20921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20923 "RANLIB=$${RANLIB}" \
20924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20925 dvi) \
20926 || exit 1
20928 @endif mmalloc
20930 .PHONY: maybe-html-mmalloc html-mmalloc
20931 maybe-html-mmalloc:
20932 @if mmalloc
20933 maybe-html-mmalloc: html-mmalloc
20935 html-mmalloc: \
20936 configure-mmalloc
20937 @: $(MAKE); $(unstage)
20938 @[ -f ./mmalloc/Makefile ] || exit 0; \
20939 r=`${PWD_COMMAND}`; export r; \
20940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20941 $(HOST_EXPORTS) \
20942 for flag in $(EXTRA_HOST_FLAGS) ; do \
20943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20944 done; \
20945 echo "Doing html in mmalloc" ; \
20946 (cd $(HOST_SUBDIR)/mmalloc && \
20947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20949 "RANLIB=$${RANLIB}" \
20950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20951 html) \
20952 || exit 1
20954 @endif mmalloc
20956 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
20957 maybe-TAGS-mmalloc:
20958 @if mmalloc
20959 maybe-TAGS-mmalloc: TAGS-mmalloc
20961 TAGS-mmalloc: \
20962 configure-mmalloc
20963 @: $(MAKE); $(unstage)
20964 @[ -f ./mmalloc/Makefile ] || exit 0; \
20965 r=`${PWD_COMMAND}`; export r; \
20966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20967 $(HOST_EXPORTS) \
20968 for flag in $(EXTRA_HOST_FLAGS) ; do \
20969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20970 done; \
20971 echo "Doing TAGS in mmalloc" ; \
20972 (cd $(HOST_SUBDIR)/mmalloc && \
20973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20975 "RANLIB=$${RANLIB}" \
20976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20977 TAGS) \
20978 || exit 1
20980 @endif mmalloc
20982 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
20983 maybe-install-info-mmalloc:
20984 @if mmalloc
20985 maybe-install-info-mmalloc: install-info-mmalloc
20987 install-info-mmalloc: \
20988 configure-mmalloc \
20989 info-mmalloc
20990 @: $(MAKE); $(unstage)
20991 @[ -f ./mmalloc/Makefile ] || exit 0; \
20992 r=`${PWD_COMMAND}`; export r; \
20993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20994 $(HOST_EXPORTS) \
20995 for flag in $(EXTRA_HOST_FLAGS) ; do \
20996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20997 done; \
20998 echo "Doing install-info in mmalloc" ; \
20999 (cd $(HOST_SUBDIR)/mmalloc && \
21000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21002 "RANLIB=$${RANLIB}" \
21003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21004 install-info) \
21005 || exit 1
21007 @endif mmalloc
21009 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
21010 maybe-install-html-mmalloc:
21011 @if mmalloc
21012 maybe-install-html-mmalloc: install-html-mmalloc
21014 install-html-mmalloc: \
21015 configure-mmalloc \
21016 html-mmalloc
21017 @: $(MAKE); $(unstage)
21018 @[ -f ./mmalloc/Makefile ] || exit 0; \
21019 r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(HOST_EXPORTS) \
21022 for flag in $(EXTRA_HOST_FLAGS) ; do \
21023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21024 done; \
21025 echo "Doing install-html in mmalloc" ; \
21026 (cd $(HOST_SUBDIR)/mmalloc && \
21027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21029 "RANLIB=$${RANLIB}" \
21030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21031 install-html) \
21032 || exit 1
21034 @endif mmalloc
21036 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
21037 maybe-installcheck-mmalloc:
21038 @if mmalloc
21039 maybe-installcheck-mmalloc: installcheck-mmalloc
21041 installcheck-mmalloc: \
21042 configure-mmalloc
21043 @: $(MAKE); $(unstage)
21044 @[ -f ./mmalloc/Makefile ] || exit 0; \
21045 r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 $(HOST_EXPORTS) \
21048 for flag in $(EXTRA_HOST_FLAGS) ; do \
21049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21050 done; \
21051 echo "Doing installcheck in mmalloc" ; \
21052 (cd $(HOST_SUBDIR)/mmalloc && \
21053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21055 "RANLIB=$${RANLIB}" \
21056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21057 installcheck) \
21058 || exit 1
21060 @endif mmalloc
21062 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
21063 maybe-mostlyclean-mmalloc:
21064 @if mmalloc
21065 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
21067 mostlyclean-mmalloc:
21068 @: $(MAKE); $(unstage)
21069 @[ -f ./mmalloc/Makefile ] || exit 0; \
21070 r=`${PWD_COMMAND}`; export r; \
21071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21072 $(HOST_EXPORTS) \
21073 for flag in $(EXTRA_HOST_FLAGS) ; do \
21074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21075 done; \
21076 echo "Doing mostlyclean in mmalloc" ; \
21077 (cd $(HOST_SUBDIR)/mmalloc && \
21078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21080 "RANLIB=$${RANLIB}" \
21081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21082 mostlyclean) \
21083 || exit 1
21085 @endif mmalloc
21087 .PHONY: maybe-clean-mmalloc clean-mmalloc
21088 maybe-clean-mmalloc:
21089 @if mmalloc
21090 maybe-clean-mmalloc: clean-mmalloc
21092 clean-mmalloc:
21093 @: $(MAKE); $(unstage)
21094 @[ -f ./mmalloc/Makefile ] || exit 0; \
21095 r=`${PWD_COMMAND}`; export r; \
21096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21097 $(HOST_EXPORTS) \
21098 for flag in $(EXTRA_HOST_FLAGS) ; do \
21099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21100 done; \
21101 echo "Doing clean in mmalloc" ; \
21102 (cd $(HOST_SUBDIR)/mmalloc && \
21103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21105 "RANLIB=$${RANLIB}" \
21106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21107 clean) \
21108 || exit 1
21110 @endif mmalloc
21112 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
21113 maybe-distclean-mmalloc:
21114 @if mmalloc
21115 maybe-distclean-mmalloc: distclean-mmalloc
21117 distclean-mmalloc:
21118 @: $(MAKE); $(unstage)
21119 @[ -f ./mmalloc/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122 $(HOST_EXPORTS) \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21125 done; \
21126 echo "Doing distclean in mmalloc" ; \
21127 (cd $(HOST_SUBDIR)/mmalloc && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 distclean) \
21133 || exit 1
21135 @endif mmalloc
21137 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
21138 maybe-maintainer-clean-mmalloc:
21139 @if mmalloc
21140 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
21142 maintainer-clean-mmalloc:
21143 @: $(MAKE); $(unstage)
21144 @[ -f ./mmalloc/Makefile ] || exit 0; \
21145 r=`${PWD_COMMAND}`; export r; \
21146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21147 $(HOST_EXPORTS) \
21148 for flag in $(EXTRA_HOST_FLAGS) ; do \
21149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21150 done; \
21151 echo "Doing maintainer-clean in mmalloc" ; \
21152 (cd $(HOST_SUBDIR)/mmalloc && \
21153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21155 "RANLIB=$${RANLIB}" \
21156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21157 maintainer-clean) \
21158 || exit 1
21160 @endif mmalloc
21164 .PHONY: configure-patch maybe-configure-patch
21165 maybe-configure-patch:
21166 @if gcc-bootstrap
21167 configure-patch: stage_current
21168 @endif gcc-bootstrap
21169 @if patch
21170 maybe-configure-patch: configure-patch
21171 configure-patch:
21172 @: $(MAKE); $(unstage)
21173 @r=`${PWD_COMMAND}`; export r; \
21174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
21176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
21177 $(HOST_EXPORTS) \
21178 echo Configuring in $(HOST_SUBDIR)/patch; \
21179 cd "$(HOST_SUBDIR)/patch" || exit 1; \
21180 case $(srcdir) in \
21181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21182 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
21183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21184 esac; \
21185 srcdiroption="--srcdir=$${topdir}/patch"; \
21186 libsrcdir="$$s/patch"; \
21187 $(SHELL) $${libsrcdir}/configure \
21188 $(HOST_CONFIGARGS) $${srcdiroption} \
21189 || exit 1
21190 @endif patch
21196 .PHONY: all-patch maybe-all-patch
21197 maybe-all-patch:
21198 @if gcc-bootstrap
21199 all-patch: stage_current
21200 @endif gcc-bootstrap
21201 @if patch
21202 TARGET-patch=all
21203 maybe-all-patch: all-patch
21204 all-patch: configure-patch
21205 @: $(MAKE); $(unstage)
21206 @r=`${PWD_COMMAND}`; export r; \
21207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21208 $(HOST_EXPORTS) \
21209 (cd $(HOST_SUBDIR)/patch && \
21210 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
21211 @endif patch
21216 .PHONY: check-patch maybe-check-patch
21217 maybe-check-patch:
21218 @if patch
21219 maybe-check-patch: check-patch
21221 check-patch:
21222 @: $(MAKE); $(unstage)
21223 @r=`${PWD_COMMAND}`; export r; \
21224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21225 $(HOST_EXPORTS) \
21226 (cd $(HOST_SUBDIR)/patch && \
21227 $(MAKE) $(FLAGS_TO_PASS) check)
21229 @endif patch
21231 .PHONY: install-patch maybe-install-patch
21232 maybe-install-patch:
21233 @if patch
21234 maybe-install-patch: install-patch
21236 install-patch: installdirs
21237 @: $(MAKE); $(unstage)
21238 @r=`${PWD_COMMAND}`; export r; \
21239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21240 $(HOST_EXPORTS) \
21241 (cd $(HOST_SUBDIR)/patch && \
21242 $(MAKE) $(FLAGS_TO_PASS) install)
21244 @endif patch
21246 # Other targets (info, dvi, etc.)
21248 .PHONY: maybe-info-patch info-patch
21249 maybe-info-patch:
21250 @if patch
21251 maybe-info-patch: info-patch
21253 info-patch: \
21254 configure-patch
21255 @: $(MAKE); $(unstage)
21256 @[ -f ./patch/Makefile ] || exit 0; \
21257 r=`${PWD_COMMAND}`; export r; \
21258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21259 $(HOST_EXPORTS) \
21260 for flag in $(EXTRA_HOST_FLAGS) ; do \
21261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21262 done; \
21263 echo "Doing info in patch" ; \
21264 (cd $(HOST_SUBDIR)/patch && \
21265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21267 "RANLIB=$${RANLIB}" \
21268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21269 info) \
21270 || exit 1
21272 @endif patch
21274 .PHONY: maybe-dvi-patch dvi-patch
21275 maybe-dvi-patch:
21276 @if patch
21277 maybe-dvi-patch: dvi-patch
21279 dvi-patch: \
21280 configure-patch
21281 @: $(MAKE); $(unstage)
21282 @[ -f ./patch/Makefile ] || exit 0; \
21283 r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21285 $(HOST_EXPORTS) \
21286 for flag in $(EXTRA_HOST_FLAGS) ; do \
21287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21288 done; \
21289 echo "Doing dvi in patch" ; \
21290 (cd $(HOST_SUBDIR)/patch && \
21291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21293 "RANLIB=$${RANLIB}" \
21294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21295 dvi) \
21296 || exit 1
21298 @endif patch
21300 .PHONY: maybe-html-patch html-patch
21301 maybe-html-patch:
21302 @if patch
21303 maybe-html-patch: html-patch
21305 html-patch: \
21306 configure-patch
21307 @: $(MAKE); $(unstage)
21308 @[ -f ./patch/Makefile ] || exit 0; \
21309 r=`${PWD_COMMAND}`; export r; \
21310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21311 $(HOST_EXPORTS) \
21312 for flag in $(EXTRA_HOST_FLAGS) ; do \
21313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21314 done; \
21315 echo "Doing html in patch" ; \
21316 (cd $(HOST_SUBDIR)/patch && \
21317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21319 "RANLIB=$${RANLIB}" \
21320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21321 html) \
21322 || exit 1
21324 @endif patch
21326 .PHONY: maybe-TAGS-patch TAGS-patch
21327 maybe-TAGS-patch:
21328 @if patch
21329 maybe-TAGS-patch: TAGS-patch
21331 TAGS-patch: \
21332 configure-patch
21333 @: $(MAKE); $(unstage)
21334 @[ -f ./patch/Makefile ] || exit 0; \
21335 r=`${PWD_COMMAND}`; export r; \
21336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21337 $(HOST_EXPORTS) \
21338 for flag in $(EXTRA_HOST_FLAGS) ; do \
21339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21340 done; \
21341 echo "Doing TAGS in patch" ; \
21342 (cd $(HOST_SUBDIR)/patch && \
21343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21345 "RANLIB=$${RANLIB}" \
21346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21347 TAGS) \
21348 || exit 1
21350 @endif patch
21352 .PHONY: maybe-install-info-patch install-info-patch
21353 maybe-install-info-patch:
21354 @if patch
21355 maybe-install-info-patch: install-info-patch
21357 install-info-patch: \
21358 configure-patch \
21359 info-patch
21360 @: $(MAKE); $(unstage)
21361 @[ -f ./patch/Makefile ] || exit 0; \
21362 r=`${PWD_COMMAND}`; export r; \
21363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21364 $(HOST_EXPORTS) \
21365 for flag in $(EXTRA_HOST_FLAGS) ; do \
21366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21367 done; \
21368 echo "Doing install-info in patch" ; \
21369 (cd $(HOST_SUBDIR)/patch && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372 "RANLIB=$${RANLIB}" \
21373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374 install-info) \
21375 || exit 1
21377 @endif patch
21379 .PHONY: maybe-install-html-patch install-html-patch
21380 maybe-install-html-patch:
21381 @if patch
21382 maybe-install-html-patch: install-html-patch
21384 install-html-patch: \
21385 configure-patch \
21386 html-patch
21387 @: $(MAKE); $(unstage)
21388 @[ -f ./patch/Makefile ] || exit 0; \
21389 r=`${PWD_COMMAND}`; export r; \
21390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21391 $(HOST_EXPORTS) \
21392 for flag in $(EXTRA_HOST_FLAGS) ; do \
21393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21394 done; \
21395 echo "Doing install-html in patch" ; \
21396 (cd $(HOST_SUBDIR)/patch && \
21397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21399 "RANLIB=$${RANLIB}" \
21400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21401 install-html) \
21402 || exit 1
21404 @endif patch
21406 .PHONY: maybe-installcheck-patch installcheck-patch
21407 maybe-installcheck-patch:
21408 @if patch
21409 maybe-installcheck-patch: installcheck-patch
21411 installcheck-patch: \
21412 configure-patch
21413 @: $(MAKE); $(unstage)
21414 @[ -f ./patch/Makefile ] || exit 0; \
21415 r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 $(HOST_EXPORTS) \
21418 for flag in $(EXTRA_HOST_FLAGS) ; do \
21419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21420 done; \
21421 echo "Doing installcheck in patch" ; \
21422 (cd $(HOST_SUBDIR)/patch && \
21423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21425 "RANLIB=$${RANLIB}" \
21426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21427 installcheck) \
21428 || exit 1
21430 @endif patch
21432 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
21433 maybe-mostlyclean-patch:
21434 @if patch
21435 maybe-mostlyclean-patch: mostlyclean-patch
21437 mostlyclean-patch:
21438 @: $(MAKE); $(unstage)
21439 @[ -f ./patch/Makefile ] || exit 0; \
21440 r=`${PWD_COMMAND}`; export r; \
21441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 $(HOST_EXPORTS) \
21443 for flag in $(EXTRA_HOST_FLAGS) ; do \
21444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21445 done; \
21446 echo "Doing mostlyclean in patch" ; \
21447 (cd $(HOST_SUBDIR)/patch && \
21448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21450 "RANLIB=$${RANLIB}" \
21451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21452 mostlyclean) \
21453 || exit 1
21455 @endif patch
21457 .PHONY: maybe-clean-patch clean-patch
21458 maybe-clean-patch:
21459 @if patch
21460 maybe-clean-patch: clean-patch
21462 clean-patch:
21463 @: $(MAKE); $(unstage)
21464 @[ -f ./patch/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(HOST_EXPORTS) \
21468 for flag in $(EXTRA_HOST_FLAGS) ; do \
21469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21470 done; \
21471 echo "Doing clean in patch" ; \
21472 (cd $(HOST_SUBDIR)/patch && \
21473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21475 "RANLIB=$${RANLIB}" \
21476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21477 clean) \
21478 || exit 1
21480 @endif patch
21482 .PHONY: maybe-distclean-patch distclean-patch
21483 maybe-distclean-patch:
21484 @if patch
21485 maybe-distclean-patch: distclean-patch
21487 distclean-patch:
21488 @: $(MAKE); $(unstage)
21489 @[ -f ./patch/Makefile ] || exit 0; \
21490 r=`${PWD_COMMAND}`; export r; \
21491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21492 $(HOST_EXPORTS) \
21493 for flag in $(EXTRA_HOST_FLAGS) ; do \
21494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21495 done; \
21496 echo "Doing distclean in patch" ; \
21497 (cd $(HOST_SUBDIR)/patch && \
21498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21500 "RANLIB=$${RANLIB}" \
21501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21502 distclean) \
21503 || exit 1
21505 @endif patch
21507 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
21508 maybe-maintainer-clean-patch:
21509 @if patch
21510 maybe-maintainer-clean-patch: maintainer-clean-patch
21512 maintainer-clean-patch:
21513 @: $(MAKE); $(unstage)
21514 @[ -f ./patch/Makefile ] || exit 0; \
21515 r=`${PWD_COMMAND}`; export r; \
21516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21517 $(HOST_EXPORTS) \
21518 for flag in $(EXTRA_HOST_FLAGS) ; do \
21519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21520 done; \
21521 echo "Doing maintainer-clean in patch" ; \
21522 (cd $(HOST_SUBDIR)/patch && \
21523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21525 "RANLIB=$${RANLIB}" \
21526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21527 maintainer-clean) \
21528 || exit 1
21530 @endif patch
21534 .PHONY: configure-perl maybe-configure-perl
21535 maybe-configure-perl:
21536 @if gcc-bootstrap
21537 configure-perl: stage_current
21538 @endif gcc-bootstrap
21539 @if perl
21540 maybe-configure-perl: configure-perl
21541 configure-perl:
21542 @: $(MAKE); $(unstage)
21543 @r=`${PWD_COMMAND}`; export r; \
21544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21545 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
21546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
21547 $(HOST_EXPORTS) \
21548 echo Configuring in $(HOST_SUBDIR)/perl; \
21549 cd "$(HOST_SUBDIR)/perl" || exit 1; \
21550 case $(srcdir) in \
21551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21552 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
21553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21554 esac; \
21555 srcdiroption="--srcdir=$${topdir}/perl"; \
21556 libsrcdir="$$s/perl"; \
21557 $(SHELL) $${libsrcdir}/configure \
21558 $(HOST_CONFIGARGS) $${srcdiroption} \
21559 || exit 1
21560 @endif perl
21566 .PHONY: all-perl maybe-all-perl
21567 maybe-all-perl:
21568 @if gcc-bootstrap
21569 all-perl: stage_current
21570 @endif gcc-bootstrap
21571 @if perl
21572 TARGET-perl=all
21573 maybe-all-perl: all-perl
21574 all-perl: configure-perl
21575 @: $(MAKE); $(unstage)
21576 @r=`${PWD_COMMAND}`; export r; \
21577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21578 $(HOST_EXPORTS) \
21579 (cd $(HOST_SUBDIR)/perl && \
21580 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
21581 @endif perl
21586 .PHONY: check-perl maybe-check-perl
21587 maybe-check-perl:
21588 @if perl
21589 maybe-check-perl: check-perl
21591 check-perl:
21592 @: $(MAKE); $(unstage)
21593 @r=`${PWD_COMMAND}`; export r; \
21594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21595 $(HOST_EXPORTS) \
21596 (cd $(HOST_SUBDIR)/perl && \
21597 $(MAKE) $(FLAGS_TO_PASS) check)
21599 @endif perl
21601 .PHONY: install-perl maybe-install-perl
21602 maybe-install-perl:
21603 @if perl
21604 maybe-install-perl: install-perl
21606 install-perl: installdirs
21607 @: $(MAKE); $(unstage)
21608 @r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610 $(HOST_EXPORTS) \
21611 (cd $(HOST_SUBDIR)/perl && \
21612 $(MAKE) $(FLAGS_TO_PASS) install)
21614 @endif perl
21616 # Other targets (info, dvi, etc.)
21618 .PHONY: maybe-info-perl info-perl
21619 maybe-info-perl:
21620 @if perl
21621 maybe-info-perl: info-perl
21623 info-perl: \
21624 configure-perl
21625 @: $(MAKE); $(unstage)
21626 @[ -f ./perl/Makefile ] || exit 0; \
21627 r=`${PWD_COMMAND}`; export r; \
21628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21629 $(HOST_EXPORTS) \
21630 for flag in $(EXTRA_HOST_FLAGS) ; do \
21631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21632 done; \
21633 echo "Doing info in perl" ; \
21634 (cd $(HOST_SUBDIR)/perl && \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21637 "RANLIB=$${RANLIB}" \
21638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21639 info) \
21640 || exit 1
21642 @endif perl
21644 .PHONY: maybe-dvi-perl dvi-perl
21645 maybe-dvi-perl:
21646 @if perl
21647 maybe-dvi-perl: dvi-perl
21649 dvi-perl: \
21650 configure-perl
21651 @: $(MAKE); $(unstage)
21652 @[ -f ./perl/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) ; do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing dvi in perl" ; \
21660 (cd $(HOST_SUBDIR)/perl && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21665 dvi) \
21666 || exit 1
21668 @endif perl
21670 .PHONY: maybe-html-perl html-perl
21671 maybe-html-perl:
21672 @if perl
21673 maybe-html-perl: html-perl
21675 html-perl: \
21676 configure-perl
21677 @: $(MAKE); $(unstage)
21678 @[ -f ./perl/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(HOST_EXPORTS) \
21682 for flag in $(EXTRA_HOST_FLAGS) ; do \
21683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21684 done; \
21685 echo "Doing html in perl" ; \
21686 (cd $(HOST_SUBDIR)/perl && \
21687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21689 "RANLIB=$${RANLIB}" \
21690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21691 html) \
21692 || exit 1
21694 @endif perl
21696 .PHONY: maybe-TAGS-perl TAGS-perl
21697 maybe-TAGS-perl:
21698 @if perl
21699 maybe-TAGS-perl: TAGS-perl
21701 TAGS-perl: \
21702 configure-perl
21703 @: $(MAKE); $(unstage)
21704 @[ -f ./perl/Makefile ] || exit 0; \
21705 r=`${PWD_COMMAND}`; export r; \
21706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21707 $(HOST_EXPORTS) \
21708 for flag in $(EXTRA_HOST_FLAGS) ; do \
21709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21710 done; \
21711 echo "Doing TAGS in perl" ; \
21712 (cd $(HOST_SUBDIR)/perl && \
21713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21715 "RANLIB=$${RANLIB}" \
21716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21717 TAGS) \
21718 || exit 1
21720 @endif perl
21722 .PHONY: maybe-install-info-perl install-info-perl
21723 maybe-install-info-perl:
21724 @if perl
21725 maybe-install-info-perl: install-info-perl
21727 install-info-perl: \
21728 configure-perl \
21729 info-perl
21730 @: $(MAKE); $(unstage)
21731 @[ -f ./perl/Makefile ] || exit 0; \
21732 r=`${PWD_COMMAND}`; export r; \
21733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21734 $(HOST_EXPORTS) \
21735 for flag in $(EXTRA_HOST_FLAGS) ; do \
21736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21737 done; \
21738 echo "Doing install-info in perl" ; \
21739 (cd $(HOST_SUBDIR)/perl && \
21740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21742 "RANLIB=$${RANLIB}" \
21743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21744 install-info) \
21745 || exit 1
21747 @endif perl
21749 .PHONY: maybe-install-html-perl install-html-perl
21750 maybe-install-html-perl:
21751 @if perl
21752 maybe-install-html-perl: install-html-perl
21754 install-html-perl: \
21755 configure-perl \
21756 html-perl
21757 @: $(MAKE); $(unstage)
21758 @[ -f ./perl/Makefile ] || exit 0; \
21759 r=`${PWD_COMMAND}`; export r; \
21760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21761 $(HOST_EXPORTS) \
21762 for flag in $(EXTRA_HOST_FLAGS) ; do \
21763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21764 done; \
21765 echo "Doing install-html in perl" ; \
21766 (cd $(HOST_SUBDIR)/perl && \
21767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21769 "RANLIB=$${RANLIB}" \
21770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21771 install-html) \
21772 || exit 1
21774 @endif perl
21776 .PHONY: maybe-installcheck-perl installcheck-perl
21777 maybe-installcheck-perl:
21778 @if perl
21779 maybe-installcheck-perl: installcheck-perl
21781 installcheck-perl: \
21782 configure-perl
21783 @: $(MAKE); $(unstage)
21784 @[ -f ./perl/Makefile ] || exit 0; \
21785 r=`${PWD_COMMAND}`; export r; \
21786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 $(HOST_EXPORTS) \
21788 for flag in $(EXTRA_HOST_FLAGS) ; do \
21789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21790 done; \
21791 echo "Doing installcheck in perl" ; \
21792 (cd $(HOST_SUBDIR)/perl && \
21793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21795 "RANLIB=$${RANLIB}" \
21796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21797 installcheck) \
21798 || exit 1
21800 @endif perl
21802 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
21803 maybe-mostlyclean-perl:
21804 @if perl
21805 maybe-mostlyclean-perl: mostlyclean-perl
21807 mostlyclean-perl:
21808 @: $(MAKE); $(unstage)
21809 @[ -f ./perl/Makefile ] || exit 0; \
21810 r=`${PWD_COMMAND}`; export r; \
21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 $(HOST_EXPORTS) \
21813 for flag in $(EXTRA_HOST_FLAGS) ; do \
21814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21815 done; \
21816 echo "Doing mostlyclean in perl" ; \
21817 (cd $(HOST_SUBDIR)/perl && \
21818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21820 "RANLIB=$${RANLIB}" \
21821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21822 mostlyclean) \
21823 || exit 1
21825 @endif perl
21827 .PHONY: maybe-clean-perl clean-perl
21828 maybe-clean-perl:
21829 @if perl
21830 maybe-clean-perl: clean-perl
21832 clean-perl:
21833 @: $(MAKE); $(unstage)
21834 @[ -f ./perl/Makefile ] || exit 0; \
21835 r=`${PWD_COMMAND}`; export r; \
21836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21837 $(HOST_EXPORTS) \
21838 for flag in $(EXTRA_HOST_FLAGS) ; do \
21839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21840 done; \
21841 echo "Doing clean in perl" ; \
21842 (cd $(HOST_SUBDIR)/perl && \
21843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21845 "RANLIB=$${RANLIB}" \
21846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21847 clean) \
21848 || exit 1
21850 @endif perl
21852 .PHONY: maybe-distclean-perl distclean-perl
21853 maybe-distclean-perl:
21854 @if perl
21855 maybe-distclean-perl: distclean-perl
21857 distclean-perl:
21858 @: $(MAKE); $(unstage)
21859 @[ -f ./perl/Makefile ] || exit 0; \
21860 r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(HOST_EXPORTS) \
21863 for flag in $(EXTRA_HOST_FLAGS) ; do \
21864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21865 done; \
21866 echo "Doing distclean in perl" ; \
21867 (cd $(HOST_SUBDIR)/perl && \
21868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21870 "RANLIB=$${RANLIB}" \
21871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21872 distclean) \
21873 || exit 1
21875 @endif perl
21877 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
21878 maybe-maintainer-clean-perl:
21879 @if perl
21880 maybe-maintainer-clean-perl: maintainer-clean-perl
21882 maintainer-clean-perl:
21883 @: $(MAKE); $(unstage)
21884 @[ -f ./perl/Makefile ] || exit 0; \
21885 r=`${PWD_COMMAND}`; export r; \
21886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21887 $(HOST_EXPORTS) \
21888 for flag in $(EXTRA_HOST_FLAGS) ; do \
21889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21890 done; \
21891 echo "Doing maintainer-clean in perl" ; \
21892 (cd $(HOST_SUBDIR)/perl && \
21893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21895 "RANLIB=$${RANLIB}" \
21896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21897 maintainer-clean) \
21898 || exit 1
21900 @endif perl
21904 .PHONY: configure-prms maybe-configure-prms
21905 maybe-configure-prms:
21906 @if gcc-bootstrap
21907 configure-prms: stage_current
21908 @endif gcc-bootstrap
21909 @if prms
21910 maybe-configure-prms: configure-prms
21911 configure-prms:
21912 @: $(MAKE); $(unstage)
21913 @r=`${PWD_COMMAND}`; export r; \
21914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21915 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
21916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
21917 $(HOST_EXPORTS) \
21918 echo Configuring in $(HOST_SUBDIR)/prms; \
21919 cd "$(HOST_SUBDIR)/prms" || exit 1; \
21920 case $(srcdir) in \
21921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21922 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
21923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21924 esac; \
21925 srcdiroption="--srcdir=$${topdir}/prms"; \
21926 libsrcdir="$$s/prms"; \
21927 $(SHELL) $${libsrcdir}/configure \
21928 $(HOST_CONFIGARGS) $${srcdiroption} \
21929 || exit 1
21930 @endif prms
21936 .PHONY: all-prms maybe-all-prms
21937 maybe-all-prms:
21938 @if gcc-bootstrap
21939 all-prms: stage_current
21940 @endif gcc-bootstrap
21941 @if prms
21942 TARGET-prms=all
21943 maybe-all-prms: all-prms
21944 all-prms: configure-prms
21945 @: $(MAKE); $(unstage)
21946 @r=`${PWD_COMMAND}`; export r; \
21947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21948 $(HOST_EXPORTS) \
21949 (cd $(HOST_SUBDIR)/prms && \
21950 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
21951 @endif prms
21956 .PHONY: check-prms maybe-check-prms
21957 maybe-check-prms:
21958 @if prms
21959 maybe-check-prms: check-prms
21961 check-prms:
21962 @: $(MAKE); $(unstage)
21963 @r=`${PWD_COMMAND}`; export r; \
21964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21965 $(HOST_EXPORTS) \
21966 (cd $(HOST_SUBDIR)/prms && \
21967 $(MAKE) $(FLAGS_TO_PASS) check)
21969 @endif prms
21971 .PHONY: install-prms maybe-install-prms
21972 maybe-install-prms:
21973 @if prms
21974 maybe-install-prms: install-prms
21976 install-prms: installdirs
21977 @: $(MAKE); $(unstage)
21978 @r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(HOST_EXPORTS) \
21981 (cd $(HOST_SUBDIR)/prms && \
21982 $(MAKE) $(FLAGS_TO_PASS) install)
21984 @endif prms
21986 # Other targets (info, dvi, etc.)
21988 .PHONY: maybe-info-prms info-prms
21989 maybe-info-prms:
21990 @if prms
21991 maybe-info-prms: info-prms
21993 info-prms: \
21994 configure-prms
21995 @: $(MAKE); $(unstage)
21996 @[ -f ./prms/Makefile ] || exit 0; \
21997 r=`${PWD_COMMAND}`; export r; \
21998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21999 $(HOST_EXPORTS) \
22000 for flag in $(EXTRA_HOST_FLAGS) ; do \
22001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22002 done; \
22003 echo "Doing info in prms" ; \
22004 (cd $(HOST_SUBDIR)/prms && \
22005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22007 "RANLIB=$${RANLIB}" \
22008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22009 info) \
22010 || exit 1
22012 @endif prms
22014 .PHONY: maybe-dvi-prms dvi-prms
22015 maybe-dvi-prms:
22016 @if prms
22017 maybe-dvi-prms: dvi-prms
22019 dvi-prms: \
22020 configure-prms
22021 @: $(MAKE); $(unstage)
22022 @[ -f ./prms/Makefile ] || exit 0; \
22023 r=`${PWD_COMMAND}`; export r; \
22024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22025 $(HOST_EXPORTS) \
22026 for flag in $(EXTRA_HOST_FLAGS) ; do \
22027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22028 done; \
22029 echo "Doing dvi in prms" ; \
22030 (cd $(HOST_SUBDIR)/prms && \
22031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22033 "RANLIB=$${RANLIB}" \
22034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22035 dvi) \
22036 || exit 1
22038 @endif prms
22040 .PHONY: maybe-html-prms html-prms
22041 maybe-html-prms:
22042 @if prms
22043 maybe-html-prms: html-prms
22045 html-prms: \
22046 configure-prms
22047 @: $(MAKE); $(unstage)
22048 @[ -f ./prms/Makefile ] || exit 0; \
22049 r=`${PWD_COMMAND}`; export r; \
22050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22051 $(HOST_EXPORTS) \
22052 for flag in $(EXTRA_HOST_FLAGS) ; do \
22053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22054 done; \
22055 echo "Doing html in prms" ; \
22056 (cd $(HOST_SUBDIR)/prms && \
22057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22059 "RANLIB=$${RANLIB}" \
22060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22061 html) \
22062 || exit 1
22064 @endif prms
22066 .PHONY: maybe-TAGS-prms TAGS-prms
22067 maybe-TAGS-prms:
22068 @if prms
22069 maybe-TAGS-prms: TAGS-prms
22071 TAGS-prms: \
22072 configure-prms
22073 @: $(MAKE); $(unstage)
22074 @[ -f ./prms/Makefile ] || exit 0; \
22075 r=`${PWD_COMMAND}`; export r; \
22076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22077 $(HOST_EXPORTS) \
22078 for flag in $(EXTRA_HOST_FLAGS) ; do \
22079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22080 done; \
22081 echo "Doing TAGS in prms" ; \
22082 (cd $(HOST_SUBDIR)/prms && \
22083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22085 "RANLIB=$${RANLIB}" \
22086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22087 TAGS) \
22088 || exit 1
22090 @endif prms
22092 .PHONY: maybe-install-info-prms install-info-prms
22093 maybe-install-info-prms:
22094 @if prms
22095 maybe-install-info-prms: install-info-prms
22097 install-info-prms: \
22098 configure-prms \
22099 info-prms
22100 @: $(MAKE); $(unstage)
22101 @[ -f ./prms/Makefile ] || exit 0; \
22102 r=`${PWD_COMMAND}`; export r; \
22103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22104 $(HOST_EXPORTS) \
22105 for flag in $(EXTRA_HOST_FLAGS) ; do \
22106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22107 done; \
22108 echo "Doing install-info in prms" ; \
22109 (cd $(HOST_SUBDIR)/prms && \
22110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22112 "RANLIB=$${RANLIB}" \
22113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22114 install-info) \
22115 || exit 1
22117 @endif prms
22119 .PHONY: maybe-install-html-prms install-html-prms
22120 maybe-install-html-prms:
22121 @if prms
22122 maybe-install-html-prms: install-html-prms
22124 install-html-prms: \
22125 configure-prms \
22126 html-prms
22127 @: $(MAKE); $(unstage)
22128 @[ -f ./prms/Makefile ] || exit 0; \
22129 r=`${PWD_COMMAND}`; export r; \
22130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22131 $(HOST_EXPORTS) \
22132 for flag in $(EXTRA_HOST_FLAGS) ; do \
22133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22134 done; \
22135 echo "Doing install-html in prms" ; \
22136 (cd $(HOST_SUBDIR)/prms && \
22137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22139 "RANLIB=$${RANLIB}" \
22140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22141 install-html) \
22142 || exit 1
22144 @endif prms
22146 .PHONY: maybe-installcheck-prms installcheck-prms
22147 maybe-installcheck-prms:
22148 @if prms
22149 maybe-installcheck-prms: installcheck-prms
22151 installcheck-prms: \
22152 configure-prms
22153 @: $(MAKE); $(unstage)
22154 @[ -f ./prms/Makefile ] || exit 0; \
22155 r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 $(HOST_EXPORTS) \
22158 for flag in $(EXTRA_HOST_FLAGS) ; do \
22159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22160 done; \
22161 echo "Doing installcheck in prms" ; \
22162 (cd $(HOST_SUBDIR)/prms && \
22163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22165 "RANLIB=$${RANLIB}" \
22166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22167 installcheck) \
22168 || exit 1
22170 @endif prms
22172 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
22173 maybe-mostlyclean-prms:
22174 @if prms
22175 maybe-mostlyclean-prms: mostlyclean-prms
22177 mostlyclean-prms:
22178 @: $(MAKE); $(unstage)
22179 @[ -f ./prms/Makefile ] || exit 0; \
22180 r=`${PWD_COMMAND}`; export r; \
22181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22182 $(HOST_EXPORTS) \
22183 for flag in $(EXTRA_HOST_FLAGS) ; do \
22184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22185 done; \
22186 echo "Doing mostlyclean in prms" ; \
22187 (cd $(HOST_SUBDIR)/prms && \
22188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22190 "RANLIB=$${RANLIB}" \
22191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22192 mostlyclean) \
22193 || exit 1
22195 @endif prms
22197 .PHONY: maybe-clean-prms clean-prms
22198 maybe-clean-prms:
22199 @if prms
22200 maybe-clean-prms: clean-prms
22202 clean-prms:
22203 @: $(MAKE); $(unstage)
22204 @[ -f ./prms/Makefile ] || exit 0; \
22205 r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 $(HOST_EXPORTS) \
22208 for flag in $(EXTRA_HOST_FLAGS) ; do \
22209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22210 done; \
22211 echo "Doing clean in prms" ; \
22212 (cd $(HOST_SUBDIR)/prms && \
22213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22215 "RANLIB=$${RANLIB}" \
22216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22217 clean) \
22218 || exit 1
22220 @endif prms
22222 .PHONY: maybe-distclean-prms distclean-prms
22223 maybe-distclean-prms:
22224 @if prms
22225 maybe-distclean-prms: distclean-prms
22227 distclean-prms:
22228 @: $(MAKE); $(unstage)
22229 @[ -f ./prms/Makefile ] || exit 0; \
22230 r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22232 $(HOST_EXPORTS) \
22233 for flag in $(EXTRA_HOST_FLAGS) ; do \
22234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22235 done; \
22236 echo "Doing distclean in prms" ; \
22237 (cd $(HOST_SUBDIR)/prms && \
22238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22240 "RANLIB=$${RANLIB}" \
22241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22242 distclean) \
22243 || exit 1
22245 @endif prms
22247 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
22248 maybe-maintainer-clean-prms:
22249 @if prms
22250 maybe-maintainer-clean-prms: maintainer-clean-prms
22252 maintainer-clean-prms:
22253 @: $(MAKE); $(unstage)
22254 @[ -f ./prms/Makefile ] || exit 0; \
22255 r=`${PWD_COMMAND}`; export r; \
22256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22257 $(HOST_EXPORTS) \
22258 for flag in $(EXTRA_HOST_FLAGS) ; do \
22259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22260 done; \
22261 echo "Doing maintainer-clean in prms" ; \
22262 (cd $(HOST_SUBDIR)/prms && \
22263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22265 "RANLIB=$${RANLIB}" \
22266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22267 maintainer-clean) \
22268 || exit 1
22270 @endif prms
22274 .PHONY: configure-rcs maybe-configure-rcs
22275 maybe-configure-rcs:
22276 @if gcc-bootstrap
22277 configure-rcs: stage_current
22278 @endif gcc-bootstrap
22279 @if rcs
22280 maybe-configure-rcs: configure-rcs
22281 configure-rcs:
22282 @: $(MAKE); $(unstage)
22283 @r=`${PWD_COMMAND}`; export r; \
22284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
22286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
22287 $(HOST_EXPORTS) \
22288 echo Configuring in $(HOST_SUBDIR)/rcs; \
22289 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
22290 case $(srcdir) in \
22291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22292 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
22293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22294 esac; \
22295 srcdiroption="--srcdir=$${topdir}/rcs"; \
22296 libsrcdir="$$s/rcs"; \
22297 $(SHELL) $${libsrcdir}/configure \
22298 $(HOST_CONFIGARGS) $${srcdiroption} \
22299 || exit 1
22300 @endif rcs
22306 .PHONY: all-rcs maybe-all-rcs
22307 maybe-all-rcs:
22308 @if gcc-bootstrap
22309 all-rcs: stage_current
22310 @endif gcc-bootstrap
22311 @if rcs
22312 TARGET-rcs=all
22313 maybe-all-rcs: all-rcs
22314 all-rcs: configure-rcs
22315 @: $(MAKE); $(unstage)
22316 @r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318 $(HOST_EXPORTS) \
22319 (cd $(HOST_SUBDIR)/rcs && \
22320 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
22321 @endif rcs
22326 .PHONY: check-rcs maybe-check-rcs
22327 maybe-check-rcs:
22328 @if rcs
22329 maybe-check-rcs: check-rcs
22331 check-rcs:
22332 @: $(MAKE); $(unstage)
22333 @r=`${PWD_COMMAND}`; export r; \
22334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22335 $(HOST_EXPORTS) \
22336 (cd $(HOST_SUBDIR)/rcs && \
22337 $(MAKE) $(FLAGS_TO_PASS) check)
22339 @endif rcs
22341 .PHONY: install-rcs maybe-install-rcs
22342 maybe-install-rcs:
22343 @if rcs
22344 maybe-install-rcs: install-rcs
22346 install-rcs: installdirs
22347 @: $(MAKE); $(unstage)
22348 @r=`${PWD_COMMAND}`; export r; \
22349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22350 $(HOST_EXPORTS) \
22351 (cd $(HOST_SUBDIR)/rcs && \
22352 $(MAKE) $(FLAGS_TO_PASS) install)
22354 @endif rcs
22356 # Other targets (info, dvi, etc.)
22358 .PHONY: maybe-info-rcs info-rcs
22359 maybe-info-rcs:
22360 @if rcs
22361 maybe-info-rcs: info-rcs
22363 info-rcs: \
22364 configure-rcs
22365 @: $(MAKE); $(unstage)
22366 @[ -f ./rcs/Makefile ] || exit 0; \
22367 r=`${PWD_COMMAND}`; export r; \
22368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369 $(HOST_EXPORTS) \
22370 for flag in $(EXTRA_HOST_FLAGS) ; do \
22371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22372 done; \
22373 echo "Doing info in rcs" ; \
22374 (cd $(HOST_SUBDIR)/rcs && \
22375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22377 "RANLIB=$${RANLIB}" \
22378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22379 info) \
22380 || exit 1
22382 @endif rcs
22384 .PHONY: maybe-dvi-rcs dvi-rcs
22385 maybe-dvi-rcs:
22386 @if rcs
22387 maybe-dvi-rcs: dvi-rcs
22389 dvi-rcs: \
22390 configure-rcs
22391 @: $(MAKE); $(unstage)
22392 @[ -f ./rcs/Makefile ] || exit 0; \
22393 r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 $(HOST_EXPORTS) \
22396 for flag in $(EXTRA_HOST_FLAGS) ; do \
22397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22398 done; \
22399 echo "Doing dvi in rcs" ; \
22400 (cd $(HOST_SUBDIR)/rcs && \
22401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403 "RANLIB=$${RANLIB}" \
22404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22405 dvi) \
22406 || exit 1
22408 @endif rcs
22410 .PHONY: maybe-html-rcs html-rcs
22411 maybe-html-rcs:
22412 @if rcs
22413 maybe-html-rcs: html-rcs
22415 html-rcs: \
22416 configure-rcs
22417 @: $(MAKE); $(unstage)
22418 @[ -f ./rcs/Makefile ] || exit 0; \
22419 r=`${PWD_COMMAND}`; export r; \
22420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22421 $(HOST_EXPORTS) \
22422 for flag in $(EXTRA_HOST_FLAGS) ; do \
22423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22424 done; \
22425 echo "Doing html in rcs" ; \
22426 (cd $(HOST_SUBDIR)/rcs && \
22427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22429 "RANLIB=$${RANLIB}" \
22430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22431 html) \
22432 || exit 1
22434 @endif rcs
22436 .PHONY: maybe-TAGS-rcs TAGS-rcs
22437 maybe-TAGS-rcs:
22438 @if rcs
22439 maybe-TAGS-rcs: TAGS-rcs
22441 TAGS-rcs: \
22442 configure-rcs
22443 @: $(MAKE); $(unstage)
22444 @[ -f ./rcs/Makefile ] || exit 0; \
22445 r=`${PWD_COMMAND}`; export r; \
22446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22447 $(HOST_EXPORTS) \
22448 for flag in $(EXTRA_HOST_FLAGS) ; do \
22449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22450 done; \
22451 echo "Doing TAGS in rcs" ; \
22452 (cd $(HOST_SUBDIR)/rcs && \
22453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22455 "RANLIB=$${RANLIB}" \
22456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22457 TAGS) \
22458 || exit 1
22460 @endif rcs
22462 .PHONY: maybe-install-info-rcs install-info-rcs
22463 maybe-install-info-rcs:
22464 @if rcs
22465 maybe-install-info-rcs: install-info-rcs
22467 install-info-rcs: \
22468 configure-rcs \
22469 info-rcs
22470 @: $(MAKE); $(unstage)
22471 @[ -f ./rcs/Makefile ] || exit 0; \
22472 r=`${PWD_COMMAND}`; export r; \
22473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22474 $(HOST_EXPORTS) \
22475 for flag in $(EXTRA_HOST_FLAGS) ; do \
22476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22477 done; \
22478 echo "Doing install-info in rcs" ; \
22479 (cd $(HOST_SUBDIR)/rcs && \
22480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22482 "RANLIB=$${RANLIB}" \
22483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22484 install-info) \
22485 || exit 1
22487 @endif rcs
22489 .PHONY: maybe-install-html-rcs install-html-rcs
22490 maybe-install-html-rcs:
22491 @if rcs
22492 maybe-install-html-rcs: install-html-rcs
22494 install-html-rcs: \
22495 configure-rcs \
22496 html-rcs
22497 @: $(MAKE); $(unstage)
22498 @[ -f ./rcs/Makefile ] || exit 0; \
22499 r=`${PWD_COMMAND}`; export r; \
22500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22501 $(HOST_EXPORTS) \
22502 for flag in $(EXTRA_HOST_FLAGS) ; do \
22503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22504 done; \
22505 echo "Doing install-html in rcs" ; \
22506 (cd $(HOST_SUBDIR)/rcs && \
22507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22509 "RANLIB=$${RANLIB}" \
22510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22511 install-html) \
22512 || exit 1
22514 @endif rcs
22516 .PHONY: maybe-installcheck-rcs installcheck-rcs
22517 maybe-installcheck-rcs:
22518 @if rcs
22519 maybe-installcheck-rcs: installcheck-rcs
22521 installcheck-rcs: \
22522 configure-rcs
22523 @: $(MAKE); $(unstage)
22524 @[ -f ./rcs/Makefile ] || exit 0; \
22525 r=`${PWD_COMMAND}`; export r; \
22526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22527 $(HOST_EXPORTS) \
22528 for flag in $(EXTRA_HOST_FLAGS) ; do \
22529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22530 done; \
22531 echo "Doing installcheck in rcs" ; \
22532 (cd $(HOST_SUBDIR)/rcs && \
22533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22535 "RANLIB=$${RANLIB}" \
22536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22537 installcheck) \
22538 || exit 1
22540 @endif rcs
22542 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
22543 maybe-mostlyclean-rcs:
22544 @if rcs
22545 maybe-mostlyclean-rcs: mostlyclean-rcs
22547 mostlyclean-rcs:
22548 @: $(MAKE); $(unstage)
22549 @[ -f ./rcs/Makefile ] || exit 0; \
22550 r=`${PWD_COMMAND}`; export r; \
22551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22552 $(HOST_EXPORTS) \
22553 for flag in $(EXTRA_HOST_FLAGS) ; do \
22554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22555 done; \
22556 echo "Doing mostlyclean in rcs" ; \
22557 (cd $(HOST_SUBDIR)/rcs && \
22558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22560 "RANLIB=$${RANLIB}" \
22561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22562 mostlyclean) \
22563 || exit 1
22565 @endif rcs
22567 .PHONY: maybe-clean-rcs clean-rcs
22568 maybe-clean-rcs:
22569 @if rcs
22570 maybe-clean-rcs: clean-rcs
22572 clean-rcs:
22573 @: $(MAKE); $(unstage)
22574 @[ -f ./rcs/Makefile ] || exit 0; \
22575 r=`${PWD_COMMAND}`; export r; \
22576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22577 $(HOST_EXPORTS) \
22578 for flag in $(EXTRA_HOST_FLAGS) ; do \
22579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22580 done; \
22581 echo "Doing clean in rcs" ; \
22582 (cd $(HOST_SUBDIR)/rcs && \
22583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22585 "RANLIB=$${RANLIB}" \
22586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22587 clean) \
22588 || exit 1
22590 @endif rcs
22592 .PHONY: maybe-distclean-rcs distclean-rcs
22593 maybe-distclean-rcs:
22594 @if rcs
22595 maybe-distclean-rcs: distclean-rcs
22597 distclean-rcs:
22598 @: $(MAKE); $(unstage)
22599 @[ -f ./rcs/Makefile ] || exit 0; \
22600 r=`${PWD_COMMAND}`; export r; \
22601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22602 $(HOST_EXPORTS) \
22603 for flag in $(EXTRA_HOST_FLAGS) ; do \
22604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22605 done; \
22606 echo "Doing distclean in rcs" ; \
22607 (cd $(HOST_SUBDIR)/rcs && \
22608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22610 "RANLIB=$${RANLIB}" \
22611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22612 distclean) \
22613 || exit 1
22615 @endif rcs
22617 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
22618 maybe-maintainer-clean-rcs:
22619 @if rcs
22620 maybe-maintainer-clean-rcs: maintainer-clean-rcs
22622 maintainer-clean-rcs:
22623 @: $(MAKE); $(unstage)
22624 @[ -f ./rcs/Makefile ] || exit 0; \
22625 r=`${PWD_COMMAND}`; export r; \
22626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22627 $(HOST_EXPORTS) \
22628 for flag in $(EXTRA_HOST_FLAGS) ; do \
22629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22630 done; \
22631 echo "Doing maintainer-clean in rcs" ; \
22632 (cd $(HOST_SUBDIR)/rcs && \
22633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22635 "RANLIB=$${RANLIB}" \
22636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22637 maintainer-clean) \
22638 || exit 1
22640 @endif rcs
22644 .PHONY: configure-readline maybe-configure-readline
22645 maybe-configure-readline:
22646 @if gcc-bootstrap
22647 configure-readline: stage_current
22648 @endif gcc-bootstrap
22649 @if readline
22650 maybe-configure-readline: configure-readline
22651 configure-readline:
22652 @: $(MAKE); $(unstage)
22653 @r=`${PWD_COMMAND}`; export r; \
22654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22655 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
22656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
22657 $(HOST_EXPORTS) \
22658 echo Configuring in $(HOST_SUBDIR)/readline; \
22659 cd "$(HOST_SUBDIR)/readline" || exit 1; \
22660 case $(srcdir) in \
22661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22662 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
22663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22664 esac; \
22665 srcdiroption="--srcdir=$${topdir}/readline"; \
22666 libsrcdir="$$s/readline"; \
22667 $(SHELL) $${libsrcdir}/configure \
22668 $(HOST_CONFIGARGS) $${srcdiroption} \
22669 || exit 1
22670 @endif readline
22676 .PHONY: all-readline maybe-all-readline
22677 maybe-all-readline:
22678 @if gcc-bootstrap
22679 all-readline: stage_current
22680 @endif gcc-bootstrap
22681 @if readline
22682 TARGET-readline=all
22683 maybe-all-readline: all-readline
22684 all-readline: configure-readline
22685 @: $(MAKE); $(unstage)
22686 @r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 $(HOST_EXPORTS) \
22689 (cd $(HOST_SUBDIR)/readline && \
22690 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
22691 @endif readline
22696 .PHONY: check-readline maybe-check-readline
22697 maybe-check-readline:
22698 @if readline
22699 maybe-check-readline: check-readline
22701 check-readline:
22702 @: $(MAKE); $(unstage)
22703 @r=`${PWD_COMMAND}`; export r; \
22704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22705 $(HOST_EXPORTS) \
22706 (cd $(HOST_SUBDIR)/readline && \
22707 $(MAKE) $(FLAGS_TO_PASS) check)
22709 @endif readline
22711 .PHONY: install-readline maybe-install-readline
22712 maybe-install-readline:
22713 @if readline
22714 maybe-install-readline: install-readline
22716 install-readline: installdirs
22717 @: $(MAKE); $(unstage)
22718 @r=`${PWD_COMMAND}`; export r; \
22719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 $(HOST_EXPORTS) \
22721 (cd $(HOST_SUBDIR)/readline && \
22722 $(MAKE) $(FLAGS_TO_PASS) install)
22724 @endif readline
22726 # Other targets (info, dvi, etc.)
22728 .PHONY: maybe-info-readline info-readline
22729 maybe-info-readline:
22730 @if readline
22731 maybe-info-readline: info-readline
22733 info-readline: \
22734 configure-readline
22735 @: $(MAKE); $(unstage)
22736 @[ -f ./readline/Makefile ] || exit 0; \
22737 r=`${PWD_COMMAND}`; export r; \
22738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22739 $(HOST_EXPORTS) \
22740 for flag in $(EXTRA_HOST_FLAGS) ; do \
22741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22742 done; \
22743 echo "Doing info in readline" ; \
22744 (cd $(HOST_SUBDIR)/readline && \
22745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22747 "RANLIB=$${RANLIB}" \
22748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22749 info) \
22750 || exit 1
22752 @endif readline
22754 .PHONY: maybe-dvi-readline dvi-readline
22755 maybe-dvi-readline:
22756 @if readline
22757 maybe-dvi-readline: dvi-readline
22759 dvi-readline: \
22760 configure-readline
22761 @: $(MAKE); $(unstage)
22762 @[ -f ./readline/Makefile ] || exit 0; \
22763 r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(HOST_EXPORTS) \
22766 for flag in $(EXTRA_HOST_FLAGS) ; do \
22767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22768 done; \
22769 echo "Doing dvi in readline" ; \
22770 (cd $(HOST_SUBDIR)/readline && \
22771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22773 "RANLIB=$${RANLIB}" \
22774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22775 dvi) \
22776 || exit 1
22778 @endif readline
22780 .PHONY: maybe-html-readline html-readline
22781 maybe-html-readline:
22782 @if readline
22783 maybe-html-readline: html-readline
22785 html-readline: \
22786 configure-readline
22787 @: $(MAKE); $(unstage)
22788 @[ -f ./readline/Makefile ] || exit 0; \
22789 r=`${PWD_COMMAND}`; export r; \
22790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22791 $(HOST_EXPORTS) \
22792 for flag in $(EXTRA_HOST_FLAGS) ; do \
22793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22794 done; \
22795 echo "Doing html in readline" ; \
22796 (cd $(HOST_SUBDIR)/readline && \
22797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22799 "RANLIB=$${RANLIB}" \
22800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22801 html) \
22802 || exit 1
22804 @endif readline
22806 .PHONY: maybe-TAGS-readline TAGS-readline
22807 maybe-TAGS-readline:
22808 @if readline
22809 maybe-TAGS-readline: TAGS-readline
22811 TAGS-readline: \
22812 configure-readline
22813 @: $(MAKE); $(unstage)
22814 @[ -f ./readline/Makefile ] || exit 0; \
22815 r=`${PWD_COMMAND}`; export r; \
22816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22817 $(HOST_EXPORTS) \
22818 for flag in $(EXTRA_HOST_FLAGS) ; do \
22819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22820 done; \
22821 echo "Doing TAGS in readline" ; \
22822 (cd $(HOST_SUBDIR)/readline && \
22823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22825 "RANLIB=$${RANLIB}" \
22826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22827 TAGS) \
22828 || exit 1
22830 @endif readline
22832 .PHONY: maybe-install-info-readline install-info-readline
22833 maybe-install-info-readline:
22834 @if readline
22835 maybe-install-info-readline: install-info-readline
22837 install-info-readline: \
22838 configure-readline \
22839 info-readline
22840 @: $(MAKE); $(unstage)
22841 @[ -f ./readline/Makefile ] || exit 0; \
22842 r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(HOST_EXPORTS) \
22845 for flag in $(EXTRA_HOST_FLAGS) ; do \
22846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22847 done; \
22848 echo "Doing install-info in readline" ; \
22849 (cd $(HOST_SUBDIR)/readline && \
22850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22852 "RANLIB=$${RANLIB}" \
22853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22854 install-info) \
22855 || exit 1
22857 @endif readline
22859 .PHONY: maybe-install-html-readline install-html-readline
22860 maybe-install-html-readline:
22861 @if readline
22862 maybe-install-html-readline: install-html-readline
22864 install-html-readline: \
22865 configure-readline \
22866 html-readline
22867 @: $(MAKE); $(unstage)
22868 @[ -f ./readline/Makefile ] || exit 0; \
22869 r=`${PWD_COMMAND}`; export r; \
22870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22871 $(HOST_EXPORTS) \
22872 for flag in $(EXTRA_HOST_FLAGS) ; do \
22873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22874 done; \
22875 echo "Doing install-html in readline" ; \
22876 (cd $(HOST_SUBDIR)/readline && \
22877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22879 "RANLIB=$${RANLIB}" \
22880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22881 install-html) \
22882 || exit 1
22884 @endif readline
22886 .PHONY: maybe-installcheck-readline installcheck-readline
22887 maybe-installcheck-readline:
22888 @if readline
22889 maybe-installcheck-readline: installcheck-readline
22891 installcheck-readline: \
22892 configure-readline
22893 @: $(MAKE); $(unstage)
22894 @[ -f ./readline/Makefile ] || exit 0; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(HOST_EXPORTS) \
22898 for flag in $(EXTRA_HOST_FLAGS) ; do \
22899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22900 done; \
22901 echo "Doing installcheck in readline" ; \
22902 (cd $(HOST_SUBDIR)/readline && \
22903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22905 "RANLIB=$${RANLIB}" \
22906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22907 installcheck) \
22908 || exit 1
22910 @endif readline
22912 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
22913 maybe-mostlyclean-readline:
22914 @if readline
22915 maybe-mostlyclean-readline: mostlyclean-readline
22917 mostlyclean-readline:
22918 @: $(MAKE); $(unstage)
22919 @[ -f ./readline/Makefile ] || exit 0; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(HOST_EXPORTS) \
22923 for flag in $(EXTRA_HOST_FLAGS) ; do \
22924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22925 done; \
22926 echo "Doing mostlyclean in readline" ; \
22927 (cd $(HOST_SUBDIR)/readline && \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932 mostlyclean) \
22933 || exit 1
22935 @endif readline
22937 .PHONY: maybe-clean-readline clean-readline
22938 maybe-clean-readline:
22939 @if readline
22940 maybe-clean-readline: clean-readline
22942 clean-readline:
22943 @: $(MAKE); $(unstage)
22944 @[ -f ./readline/Makefile ] || exit 0; \
22945 r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22947 $(HOST_EXPORTS) \
22948 for flag in $(EXTRA_HOST_FLAGS) ; do \
22949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22950 done; \
22951 echo "Doing clean in readline" ; \
22952 (cd $(HOST_SUBDIR)/readline && \
22953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22955 "RANLIB=$${RANLIB}" \
22956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22957 clean) \
22958 || exit 1
22960 @endif readline
22962 .PHONY: maybe-distclean-readline distclean-readline
22963 maybe-distclean-readline:
22964 @if readline
22965 maybe-distclean-readline: distclean-readline
22967 distclean-readline:
22968 @: $(MAKE); $(unstage)
22969 @[ -f ./readline/Makefile ] || exit 0; \
22970 r=`${PWD_COMMAND}`; export r; \
22971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22972 $(HOST_EXPORTS) \
22973 for flag in $(EXTRA_HOST_FLAGS) ; do \
22974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22975 done; \
22976 echo "Doing distclean in readline" ; \
22977 (cd $(HOST_SUBDIR)/readline && \
22978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22980 "RANLIB=$${RANLIB}" \
22981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22982 distclean) \
22983 || exit 1
22985 @endif readline
22987 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
22988 maybe-maintainer-clean-readline:
22989 @if readline
22990 maybe-maintainer-clean-readline: maintainer-clean-readline
22992 maintainer-clean-readline:
22993 @: $(MAKE); $(unstage)
22994 @[ -f ./readline/Makefile ] || exit 0; \
22995 r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22997 $(HOST_EXPORTS) \
22998 for flag in $(EXTRA_HOST_FLAGS) ; do \
22999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23000 done; \
23001 echo "Doing maintainer-clean in readline" ; \
23002 (cd $(HOST_SUBDIR)/readline && \
23003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23005 "RANLIB=$${RANLIB}" \
23006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23007 maintainer-clean) \
23008 || exit 1
23010 @endif readline
23014 .PHONY: configure-release maybe-configure-release
23015 maybe-configure-release:
23016 @if gcc-bootstrap
23017 configure-release: stage_current
23018 @endif gcc-bootstrap
23019 @if release
23020 maybe-configure-release: configure-release
23021 configure-release:
23022 @: $(MAKE); $(unstage)
23023 @r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
23026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
23027 $(HOST_EXPORTS) \
23028 echo Configuring in $(HOST_SUBDIR)/release; \
23029 cd "$(HOST_SUBDIR)/release" || exit 1; \
23030 case $(srcdir) in \
23031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23032 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
23033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23034 esac; \
23035 srcdiroption="--srcdir=$${topdir}/release"; \
23036 libsrcdir="$$s/release"; \
23037 $(SHELL) $${libsrcdir}/configure \
23038 $(HOST_CONFIGARGS) $${srcdiroption} \
23039 || exit 1
23040 @endif release
23046 .PHONY: all-release maybe-all-release
23047 maybe-all-release:
23048 @if gcc-bootstrap
23049 all-release: stage_current
23050 @endif gcc-bootstrap
23051 @if release
23052 TARGET-release=all
23053 maybe-all-release: all-release
23054 all-release: configure-release
23055 @: $(MAKE); $(unstage)
23056 @r=`${PWD_COMMAND}`; export r; \
23057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23058 $(HOST_EXPORTS) \
23059 (cd $(HOST_SUBDIR)/release && \
23060 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
23061 @endif release
23066 .PHONY: check-release maybe-check-release
23067 maybe-check-release:
23068 @if release
23069 maybe-check-release: check-release
23071 check-release:
23073 @endif release
23075 .PHONY: install-release maybe-install-release
23076 maybe-install-release:
23077 @if release
23078 maybe-install-release: install-release
23080 install-release:
23082 @endif release
23084 # Other targets (info, dvi, etc.)
23086 .PHONY: maybe-info-release info-release
23087 maybe-info-release:
23088 @if release
23089 maybe-info-release: info-release
23091 info-release: \
23092 configure-release
23093 @: $(MAKE); $(unstage)
23094 @[ -f ./release/Makefile ] || exit 0; \
23095 r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23097 $(HOST_EXPORTS) \
23098 for flag in $(EXTRA_HOST_FLAGS) ; do \
23099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23100 done; \
23101 echo "Doing info in release" ; \
23102 (cd $(HOST_SUBDIR)/release && \
23103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23105 "RANLIB=$${RANLIB}" \
23106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23107 info) \
23108 || exit 1
23110 @endif release
23112 .PHONY: maybe-dvi-release dvi-release
23113 maybe-dvi-release:
23114 @if release
23115 maybe-dvi-release: dvi-release
23117 dvi-release: \
23118 configure-release
23119 @: $(MAKE); $(unstage)
23120 @[ -f ./release/Makefile ] || exit 0; \
23121 r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23123 $(HOST_EXPORTS) \
23124 for flag in $(EXTRA_HOST_FLAGS) ; do \
23125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23126 done; \
23127 echo "Doing dvi in release" ; \
23128 (cd $(HOST_SUBDIR)/release && \
23129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23131 "RANLIB=$${RANLIB}" \
23132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23133 dvi) \
23134 || exit 1
23136 @endif release
23138 .PHONY: maybe-html-release html-release
23139 maybe-html-release:
23140 @if release
23141 maybe-html-release: html-release
23143 html-release: \
23144 configure-release
23145 @: $(MAKE); $(unstage)
23146 @[ -f ./release/Makefile ] || exit 0; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 $(HOST_EXPORTS) \
23150 for flag in $(EXTRA_HOST_FLAGS) ; do \
23151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23152 done; \
23153 echo "Doing html in release" ; \
23154 (cd $(HOST_SUBDIR)/release && \
23155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157 "RANLIB=$${RANLIB}" \
23158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23159 html) \
23160 || exit 1
23162 @endif release
23164 .PHONY: maybe-TAGS-release TAGS-release
23165 maybe-TAGS-release:
23166 @if release
23167 maybe-TAGS-release: TAGS-release
23169 TAGS-release: \
23170 configure-release
23171 @: $(MAKE); $(unstage)
23172 @[ -f ./release/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(HOST_EXPORTS) \
23176 for flag in $(EXTRA_HOST_FLAGS) ; do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 echo "Doing TAGS in release" ; \
23180 (cd $(HOST_SUBDIR)/release && \
23181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183 "RANLIB=$${RANLIB}" \
23184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23185 TAGS) \
23186 || exit 1
23188 @endif release
23190 .PHONY: maybe-install-info-release install-info-release
23191 maybe-install-info-release:
23192 @if release
23193 maybe-install-info-release: install-info-release
23195 install-info-release: \
23196 configure-release \
23197 info-release
23198 @: $(MAKE); $(unstage)
23199 @[ -f ./release/Makefile ] || exit 0; \
23200 r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23202 $(HOST_EXPORTS) \
23203 for flag in $(EXTRA_HOST_FLAGS) ; do \
23204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23205 done; \
23206 echo "Doing install-info in release" ; \
23207 (cd $(HOST_SUBDIR)/release && \
23208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23210 "RANLIB=$${RANLIB}" \
23211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23212 install-info) \
23213 || exit 1
23215 @endif release
23217 .PHONY: maybe-install-html-release install-html-release
23218 maybe-install-html-release:
23219 @if release
23220 maybe-install-html-release: install-html-release
23222 install-html-release: \
23223 configure-release \
23224 html-release
23225 @: $(MAKE); $(unstage)
23226 @[ -f ./release/Makefile ] || exit 0; \
23227 r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 $(HOST_EXPORTS) \
23230 for flag in $(EXTRA_HOST_FLAGS) ; do \
23231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23232 done; \
23233 echo "Doing install-html in release" ; \
23234 (cd $(HOST_SUBDIR)/release && \
23235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23237 "RANLIB=$${RANLIB}" \
23238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23239 install-html) \
23240 || exit 1
23242 @endif release
23244 .PHONY: maybe-installcheck-release installcheck-release
23245 maybe-installcheck-release:
23246 @if release
23247 maybe-installcheck-release: installcheck-release
23249 installcheck-release: \
23250 configure-release
23251 @: $(MAKE); $(unstage)
23252 @[ -f ./release/Makefile ] || exit 0; \
23253 r=`${PWD_COMMAND}`; export r; \
23254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23255 $(HOST_EXPORTS) \
23256 for flag in $(EXTRA_HOST_FLAGS) ; do \
23257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23258 done; \
23259 echo "Doing installcheck in release" ; \
23260 (cd $(HOST_SUBDIR)/release && \
23261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23263 "RANLIB=$${RANLIB}" \
23264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23265 installcheck) \
23266 || exit 1
23268 @endif release
23270 .PHONY: maybe-mostlyclean-release mostlyclean-release
23271 maybe-mostlyclean-release:
23272 @if release
23273 maybe-mostlyclean-release: mostlyclean-release
23275 mostlyclean-release:
23276 @: $(MAKE); $(unstage)
23277 @[ -f ./release/Makefile ] || exit 0; \
23278 r=`${PWD_COMMAND}`; export r; \
23279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23280 $(HOST_EXPORTS) \
23281 for flag in $(EXTRA_HOST_FLAGS) ; do \
23282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23283 done; \
23284 echo "Doing mostlyclean in release" ; \
23285 (cd $(HOST_SUBDIR)/release && \
23286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23288 "RANLIB=$${RANLIB}" \
23289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23290 mostlyclean) \
23291 || exit 1
23293 @endif release
23295 .PHONY: maybe-clean-release clean-release
23296 maybe-clean-release:
23297 @if release
23298 maybe-clean-release: clean-release
23300 clean-release:
23301 @: $(MAKE); $(unstage)
23302 @[ -f ./release/Makefile ] || exit 0; \
23303 r=`${PWD_COMMAND}`; export r; \
23304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 $(HOST_EXPORTS) \
23306 for flag in $(EXTRA_HOST_FLAGS) ; do \
23307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23308 done; \
23309 echo "Doing clean in release" ; \
23310 (cd $(HOST_SUBDIR)/release && \
23311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23313 "RANLIB=$${RANLIB}" \
23314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23315 clean) \
23316 || exit 1
23318 @endif release
23320 .PHONY: maybe-distclean-release distclean-release
23321 maybe-distclean-release:
23322 @if release
23323 maybe-distclean-release: distclean-release
23325 distclean-release:
23326 @: $(MAKE); $(unstage)
23327 @[ -f ./release/Makefile ] || exit 0; \
23328 r=`${PWD_COMMAND}`; export r; \
23329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23330 $(HOST_EXPORTS) \
23331 for flag in $(EXTRA_HOST_FLAGS) ; do \
23332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23333 done; \
23334 echo "Doing distclean in release" ; \
23335 (cd $(HOST_SUBDIR)/release && \
23336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23338 "RANLIB=$${RANLIB}" \
23339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23340 distclean) \
23341 || exit 1
23343 @endif release
23345 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
23346 maybe-maintainer-clean-release:
23347 @if release
23348 maybe-maintainer-clean-release: maintainer-clean-release
23350 maintainer-clean-release:
23351 @: $(MAKE); $(unstage)
23352 @[ -f ./release/Makefile ] || exit 0; \
23353 r=`${PWD_COMMAND}`; export r; \
23354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23355 $(HOST_EXPORTS) \
23356 for flag in $(EXTRA_HOST_FLAGS) ; do \
23357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23358 done; \
23359 echo "Doing maintainer-clean in release" ; \
23360 (cd $(HOST_SUBDIR)/release && \
23361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23363 "RANLIB=$${RANLIB}" \
23364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23365 maintainer-clean) \
23366 || exit 1
23368 @endif release
23372 .PHONY: configure-recode maybe-configure-recode
23373 maybe-configure-recode:
23374 @if gcc-bootstrap
23375 configure-recode: stage_current
23376 @endif gcc-bootstrap
23377 @if recode
23378 maybe-configure-recode: configure-recode
23379 configure-recode:
23380 @: $(MAKE); $(unstage)
23381 @r=`${PWD_COMMAND}`; export r; \
23382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23383 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
23384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
23385 $(HOST_EXPORTS) \
23386 echo Configuring in $(HOST_SUBDIR)/recode; \
23387 cd "$(HOST_SUBDIR)/recode" || exit 1; \
23388 case $(srcdir) in \
23389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23390 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
23391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23392 esac; \
23393 srcdiroption="--srcdir=$${topdir}/recode"; \
23394 libsrcdir="$$s/recode"; \
23395 $(SHELL) $${libsrcdir}/configure \
23396 $(HOST_CONFIGARGS) $${srcdiroption} \
23397 || exit 1
23398 @endif recode
23404 .PHONY: all-recode maybe-all-recode
23405 maybe-all-recode:
23406 @if gcc-bootstrap
23407 all-recode: stage_current
23408 @endif gcc-bootstrap
23409 @if recode
23410 TARGET-recode=all
23411 maybe-all-recode: all-recode
23412 all-recode: configure-recode
23413 @: $(MAKE); $(unstage)
23414 @r=`${PWD_COMMAND}`; export r; \
23415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23416 $(HOST_EXPORTS) \
23417 (cd $(HOST_SUBDIR)/recode && \
23418 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
23419 @endif recode
23424 .PHONY: check-recode maybe-check-recode
23425 maybe-check-recode:
23426 @if recode
23427 maybe-check-recode: check-recode
23429 check-recode:
23430 @: $(MAKE); $(unstage)
23431 @r=`${PWD_COMMAND}`; export r; \
23432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23433 $(HOST_EXPORTS) \
23434 (cd $(HOST_SUBDIR)/recode && \
23435 $(MAKE) $(FLAGS_TO_PASS) check)
23437 @endif recode
23439 .PHONY: install-recode maybe-install-recode
23440 maybe-install-recode:
23441 @if recode
23442 maybe-install-recode: install-recode
23444 install-recode: installdirs
23445 @: $(MAKE); $(unstage)
23446 @r=`${PWD_COMMAND}`; export r; \
23447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23448 $(HOST_EXPORTS) \
23449 (cd $(HOST_SUBDIR)/recode && \
23450 $(MAKE) $(FLAGS_TO_PASS) install)
23452 @endif recode
23454 # Other targets (info, dvi, etc.)
23456 .PHONY: maybe-info-recode info-recode
23457 maybe-info-recode:
23458 @if recode
23459 maybe-info-recode: info-recode
23461 info-recode: \
23462 configure-recode
23463 @: $(MAKE); $(unstage)
23464 @[ -f ./recode/Makefile ] || exit 0; \
23465 r=`${PWD_COMMAND}`; export r; \
23466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23467 $(HOST_EXPORTS) \
23468 for flag in $(EXTRA_HOST_FLAGS) ; do \
23469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23470 done; \
23471 echo "Doing info in recode" ; \
23472 (cd $(HOST_SUBDIR)/recode && \
23473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23475 "RANLIB=$${RANLIB}" \
23476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23477 info) \
23478 || exit 1
23480 @endif recode
23482 .PHONY: maybe-dvi-recode dvi-recode
23483 maybe-dvi-recode:
23484 @if recode
23485 maybe-dvi-recode: dvi-recode
23487 dvi-recode: \
23488 configure-recode
23489 @: $(MAKE); $(unstage)
23490 @[ -f ./recode/Makefile ] || exit 0; \
23491 r=`${PWD_COMMAND}`; export r; \
23492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23493 $(HOST_EXPORTS) \
23494 for flag in $(EXTRA_HOST_FLAGS) ; do \
23495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23496 done; \
23497 echo "Doing dvi in recode" ; \
23498 (cd $(HOST_SUBDIR)/recode && \
23499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23501 "RANLIB=$${RANLIB}" \
23502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23503 dvi) \
23504 || exit 1
23506 @endif recode
23508 .PHONY: maybe-html-recode html-recode
23509 maybe-html-recode:
23510 @if recode
23511 maybe-html-recode: html-recode
23513 html-recode: \
23514 configure-recode
23515 @: $(MAKE); $(unstage)
23516 @[ -f ./recode/Makefile ] || exit 0; \
23517 r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519 $(HOST_EXPORTS) \
23520 for flag in $(EXTRA_HOST_FLAGS) ; do \
23521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23522 done; \
23523 echo "Doing html in recode" ; \
23524 (cd $(HOST_SUBDIR)/recode && \
23525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23527 "RANLIB=$${RANLIB}" \
23528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23529 html) \
23530 || exit 1
23532 @endif recode
23534 .PHONY: maybe-TAGS-recode TAGS-recode
23535 maybe-TAGS-recode:
23536 @if recode
23537 maybe-TAGS-recode: TAGS-recode
23539 TAGS-recode: \
23540 configure-recode
23541 @: $(MAKE); $(unstage)
23542 @[ -f ./recode/Makefile ] || exit 0; \
23543 r=`${PWD_COMMAND}`; export r; \
23544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23545 $(HOST_EXPORTS) \
23546 for flag in $(EXTRA_HOST_FLAGS) ; do \
23547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23548 done; \
23549 echo "Doing TAGS in recode" ; \
23550 (cd $(HOST_SUBDIR)/recode && \
23551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23553 "RANLIB=$${RANLIB}" \
23554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23555 TAGS) \
23556 || exit 1
23558 @endif recode
23560 .PHONY: maybe-install-info-recode install-info-recode
23561 maybe-install-info-recode:
23562 @if recode
23563 maybe-install-info-recode: install-info-recode
23565 install-info-recode: \
23566 configure-recode \
23567 info-recode
23568 @: $(MAKE); $(unstage)
23569 @[ -f ./recode/Makefile ] || exit 0; \
23570 r=`${PWD_COMMAND}`; export r; \
23571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23572 $(HOST_EXPORTS) \
23573 for flag in $(EXTRA_HOST_FLAGS) ; do \
23574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23575 done; \
23576 echo "Doing install-info in recode" ; \
23577 (cd $(HOST_SUBDIR)/recode && \
23578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23580 "RANLIB=$${RANLIB}" \
23581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23582 install-info) \
23583 || exit 1
23585 @endif recode
23587 .PHONY: maybe-install-html-recode install-html-recode
23588 maybe-install-html-recode:
23589 @if recode
23590 maybe-install-html-recode: install-html-recode
23592 install-html-recode: \
23593 configure-recode \
23594 html-recode
23595 @: $(MAKE); $(unstage)
23596 @[ -f ./recode/Makefile ] || exit 0; \
23597 r=`${PWD_COMMAND}`; export r; \
23598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23599 $(HOST_EXPORTS) \
23600 for flag in $(EXTRA_HOST_FLAGS) ; do \
23601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23602 done; \
23603 echo "Doing install-html in recode" ; \
23604 (cd $(HOST_SUBDIR)/recode && \
23605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23607 "RANLIB=$${RANLIB}" \
23608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23609 install-html) \
23610 || exit 1
23612 @endif recode
23614 .PHONY: maybe-installcheck-recode installcheck-recode
23615 maybe-installcheck-recode:
23616 @if recode
23617 maybe-installcheck-recode: installcheck-recode
23619 installcheck-recode: \
23620 configure-recode
23621 @: $(MAKE); $(unstage)
23622 @[ -f ./recode/Makefile ] || exit 0; \
23623 r=`${PWD_COMMAND}`; export r; \
23624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23625 $(HOST_EXPORTS) \
23626 for flag in $(EXTRA_HOST_FLAGS) ; do \
23627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23628 done; \
23629 echo "Doing installcheck in recode" ; \
23630 (cd $(HOST_SUBDIR)/recode && \
23631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23633 "RANLIB=$${RANLIB}" \
23634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23635 installcheck) \
23636 || exit 1
23638 @endif recode
23640 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
23641 maybe-mostlyclean-recode:
23642 @if recode
23643 maybe-mostlyclean-recode: mostlyclean-recode
23645 mostlyclean-recode:
23646 @: $(MAKE); $(unstage)
23647 @[ -f ./recode/Makefile ] || exit 0; \
23648 r=`${PWD_COMMAND}`; export r; \
23649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23650 $(HOST_EXPORTS) \
23651 for flag in $(EXTRA_HOST_FLAGS) ; do \
23652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23653 done; \
23654 echo "Doing mostlyclean in recode" ; \
23655 (cd $(HOST_SUBDIR)/recode && \
23656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23658 "RANLIB=$${RANLIB}" \
23659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23660 mostlyclean) \
23661 || exit 1
23663 @endif recode
23665 .PHONY: maybe-clean-recode clean-recode
23666 maybe-clean-recode:
23667 @if recode
23668 maybe-clean-recode: clean-recode
23670 clean-recode:
23671 @: $(MAKE); $(unstage)
23672 @[ -f ./recode/Makefile ] || exit 0; \
23673 r=`${PWD_COMMAND}`; export r; \
23674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23675 $(HOST_EXPORTS) \
23676 for flag in $(EXTRA_HOST_FLAGS) ; do \
23677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23678 done; \
23679 echo "Doing clean in recode" ; \
23680 (cd $(HOST_SUBDIR)/recode && \
23681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23683 "RANLIB=$${RANLIB}" \
23684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23685 clean) \
23686 || exit 1
23688 @endif recode
23690 .PHONY: maybe-distclean-recode distclean-recode
23691 maybe-distclean-recode:
23692 @if recode
23693 maybe-distclean-recode: distclean-recode
23695 distclean-recode:
23696 @: $(MAKE); $(unstage)
23697 @[ -f ./recode/Makefile ] || exit 0; \
23698 r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 $(HOST_EXPORTS) \
23701 for flag in $(EXTRA_HOST_FLAGS) ; do \
23702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23703 done; \
23704 echo "Doing distclean in recode" ; \
23705 (cd $(HOST_SUBDIR)/recode && \
23706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23708 "RANLIB=$${RANLIB}" \
23709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23710 distclean) \
23711 || exit 1
23713 @endif recode
23715 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
23716 maybe-maintainer-clean-recode:
23717 @if recode
23718 maybe-maintainer-clean-recode: maintainer-clean-recode
23720 maintainer-clean-recode:
23721 @: $(MAKE); $(unstage)
23722 @[ -f ./recode/Makefile ] || exit 0; \
23723 r=`${PWD_COMMAND}`; export r; \
23724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23725 $(HOST_EXPORTS) \
23726 for flag in $(EXTRA_HOST_FLAGS) ; do \
23727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23728 done; \
23729 echo "Doing maintainer-clean in recode" ; \
23730 (cd $(HOST_SUBDIR)/recode && \
23731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23733 "RANLIB=$${RANLIB}" \
23734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23735 maintainer-clean) \
23736 || exit 1
23738 @endif recode
23742 .PHONY: configure-sed maybe-configure-sed
23743 maybe-configure-sed:
23744 @if gcc-bootstrap
23745 configure-sed: stage_current
23746 @endif gcc-bootstrap
23747 @if sed
23748 maybe-configure-sed: configure-sed
23749 configure-sed:
23750 @: $(MAKE); $(unstage)
23751 @r=`${PWD_COMMAND}`; export r; \
23752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23753 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
23754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
23755 $(HOST_EXPORTS) \
23756 echo Configuring in $(HOST_SUBDIR)/sed; \
23757 cd "$(HOST_SUBDIR)/sed" || exit 1; \
23758 case $(srcdir) in \
23759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23760 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
23761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23762 esac; \
23763 srcdiroption="--srcdir=$${topdir}/sed"; \
23764 libsrcdir="$$s/sed"; \
23765 $(SHELL) $${libsrcdir}/configure \
23766 $(HOST_CONFIGARGS) $${srcdiroption} \
23767 || exit 1
23768 @endif sed
23774 .PHONY: all-sed maybe-all-sed
23775 maybe-all-sed:
23776 @if gcc-bootstrap
23777 all-sed: stage_current
23778 @endif gcc-bootstrap
23779 @if sed
23780 TARGET-sed=all
23781 maybe-all-sed: all-sed
23782 all-sed: configure-sed
23783 @: $(MAKE); $(unstage)
23784 @r=`${PWD_COMMAND}`; export r; \
23785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23786 $(HOST_EXPORTS) \
23787 (cd $(HOST_SUBDIR)/sed && \
23788 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
23789 @endif sed
23794 .PHONY: check-sed maybe-check-sed
23795 maybe-check-sed:
23796 @if sed
23797 maybe-check-sed: check-sed
23799 check-sed:
23800 @: $(MAKE); $(unstage)
23801 @r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(HOST_EXPORTS) \
23804 (cd $(HOST_SUBDIR)/sed && \
23805 $(MAKE) $(FLAGS_TO_PASS) check)
23807 @endif sed
23809 .PHONY: install-sed maybe-install-sed
23810 maybe-install-sed:
23811 @if sed
23812 maybe-install-sed: install-sed
23814 install-sed: installdirs
23815 @: $(MAKE); $(unstage)
23816 @r=`${PWD_COMMAND}`; export r; \
23817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23818 $(HOST_EXPORTS) \
23819 (cd $(HOST_SUBDIR)/sed && \
23820 $(MAKE) $(FLAGS_TO_PASS) install)
23822 @endif sed
23824 # Other targets (info, dvi, etc.)
23826 .PHONY: maybe-info-sed info-sed
23827 maybe-info-sed:
23828 @if sed
23829 maybe-info-sed: info-sed
23831 info-sed: \
23832 configure-sed
23833 @: $(MAKE); $(unstage)
23834 @[ -f ./sed/Makefile ] || exit 0; \
23835 r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23837 $(HOST_EXPORTS) \
23838 for flag in $(EXTRA_HOST_FLAGS) ; do \
23839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23840 done; \
23841 echo "Doing info in sed" ; \
23842 (cd $(HOST_SUBDIR)/sed && \
23843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23845 "RANLIB=$${RANLIB}" \
23846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23847 info) \
23848 || exit 1
23850 @endif sed
23852 .PHONY: maybe-dvi-sed dvi-sed
23853 maybe-dvi-sed:
23854 @if sed
23855 maybe-dvi-sed: dvi-sed
23857 dvi-sed: \
23858 configure-sed
23859 @: $(MAKE); $(unstage)
23860 @[ -f ./sed/Makefile ] || exit 0; \
23861 r=`${PWD_COMMAND}`; export r; \
23862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23863 $(HOST_EXPORTS) \
23864 for flag in $(EXTRA_HOST_FLAGS) ; do \
23865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23866 done; \
23867 echo "Doing dvi in sed" ; \
23868 (cd $(HOST_SUBDIR)/sed && \
23869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23871 "RANLIB=$${RANLIB}" \
23872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23873 dvi) \
23874 || exit 1
23876 @endif sed
23878 .PHONY: maybe-html-sed html-sed
23879 maybe-html-sed:
23880 @if sed
23881 maybe-html-sed: html-sed
23883 html-sed: \
23884 configure-sed
23885 @: $(MAKE); $(unstage)
23886 @[ -f ./sed/Makefile ] || exit 0; \
23887 r=`${PWD_COMMAND}`; export r; \
23888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23889 $(HOST_EXPORTS) \
23890 for flag in $(EXTRA_HOST_FLAGS) ; do \
23891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23892 done; \
23893 echo "Doing html in sed" ; \
23894 (cd $(HOST_SUBDIR)/sed && \
23895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23897 "RANLIB=$${RANLIB}" \
23898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23899 html) \
23900 || exit 1
23902 @endif sed
23904 .PHONY: maybe-TAGS-sed TAGS-sed
23905 maybe-TAGS-sed:
23906 @if sed
23907 maybe-TAGS-sed: TAGS-sed
23909 TAGS-sed: \
23910 configure-sed
23911 @: $(MAKE); $(unstage)
23912 @[ -f ./sed/Makefile ] || exit 0; \
23913 r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(HOST_EXPORTS) \
23916 for flag in $(EXTRA_HOST_FLAGS) ; do \
23917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23918 done; \
23919 echo "Doing TAGS in sed" ; \
23920 (cd $(HOST_SUBDIR)/sed && \
23921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23923 "RANLIB=$${RANLIB}" \
23924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23925 TAGS) \
23926 || exit 1
23928 @endif sed
23930 .PHONY: maybe-install-info-sed install-info-sed
23931 maybe-install-info-sed:
23932 @if sed
23933 maybe-install-info-sed: install-info-sed
23935 install-info-sed: \
23936 configure-sed \
23937 info-sed
23938 @: $(MAKE); $(unstage)
23939 @[ -f ./sed/Makefile ] || exit 0; \
23940 r=`${PWD_COMMAND}`; export r; \
23941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23942 $(HOST_EXPORTS) \
23943 for flag in $(EXTRA_HOST_FLAGS) ; do \
23944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23945 done; \
23946 echo "Doing install-info in sed" ; \
23947 (cd $(HOST_SUBDIR)/sed && \
23948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23950 "RANLIB=$${RANLIB}" \
23951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23952 install-info) \
23953 || exit 1
23955 @endif sed
23957 .PHONY: maybe-install-html-sed install-html-sed
23958 maybe-install-html-sed:
23959 @if sed
23960 maybe-install-html-sed: install-html-sed
23962 install-html-sed: \
23963 configure-sed \
23964 html-sed
23965 @: $(MAKE); $(unstage)
23966 @[ -f ./sed/Makefile ] || exit 0; \
23967 r=`${PWD_COMMAND}`; export r; \
23968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23969 $(HOST_EXPORTS) \
23970 for flag in $(EXTRA_HOST_FLAGS) ; do \
23971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23972 done; \
23973 echo "Doing install-html in sed" ; \
23974 (cd $(HOST_SUBDIR)/sed && \
23975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23977 "RANLIB=$${RANLIB}" \
23978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23979 install-html) \
23980 || exit 1
23982 @endif sed
23984 .PHONY: maybe-installcheck-sed installcheck-sed
23985 maybe-installcheck-sed:
23986 @if sed
23987 maybe-installcheck-sed: installcheck-sed
23989 installcheck-sed: \
23990 configure-sed
23991 @: $(MAKE); $(unstage)
23992 @[ -f ./sed/Makefile ] || exit 0; \
23993 r=`${PWD_COMMAND}`; export r; \
23994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23995 $(HOST_EXPORTS) \
23996 for flag in $(EXTRA_HOST_FLAGS) ; do \
23997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23998 done; \
23999 echo "Doing installcheck in sed" ; \
24000 (cd $(HOST_SUBDIR)/sed && \
24001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24003 "RANLIB=$${RANLIB}" \
24004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24005 installcheck) \
24006 || exit 1
24008 @endif sed
24010 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
24011 maybe-mostlyclean-sed:
24012 @if sed
24013 maybe-mostlyclean-sed: mostlyclean-sed
24015 mostlyclean-sed:
24016 @: $(MAKE); $(unstage)
24017 @[ -f ./sed/Makefile ] || exit 0; \
24018 r=`${PWD_COMMAND}`; export r; \
24019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing mostlyclean in sed" ; \
24025 (cd $(HOST_SUBDIR)/sed && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24030 mostlyclean) \
24031 || exit 1
24033 @endif sed
24035 .PHONY: maybe-clean-sed clean-sed
24036 maybe-clean-sed:
24037 @if sed
24038 maybe-clean-sed: clean-sed
24040 clean-sed:
24041 @: $(MAKE); $(unstage)
24042 @[ -f ./sed/Makefile ] || exit 0; \
24043 r=`${PWD_COMMAND}`; export r; \
24044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24045 $(HOST_EXPORTS) \
24046 for flag in $(EXTRA_HOST_FLAGS) ; do \
24047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24048 done; \
24049 echo "Doing clean in sed" ; \
24050 (cd $(HOST_SUBDIR)/sed && \
24051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24053 "RANLIB=$${RANLIB}" \
24054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24055 clean) \
24056 || exit 1
24058 @endif sed
24060 .PHONY: maybe-distclean-sed distclean-sed
24061 maybe-distclean-sed:
24062 @if sed
24063 maybe-distclean-sed: distclean-sed
24065 distclean-sed:
24066 @: $(MAKE); $(unstage)
24067 @[ -f ./sed/Makefile ] || exit 0; \
24068 r=`${PWD_COMMAND}`; export r; \
24069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24070 $(HOST_EXPORTS) \
24071 for flag in $(EXTRA_HOST_FLAGS) ; do \
24072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24073 done; \
24074 echo "Doing distclean in sed" ; \
24075 (cd $(HOST_SUBDIR)/sed && \
24076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24078 "RANLIB=$${RANLIB}" \
24079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24080 distclean) \
24081 || exit 1
24083 @endif sed
24085 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
24086 maybe-maintainer-clean-sed:
24087 @if sed
24088 maybe-maintainer-clean-sed: maintainer-clean-sed
24090 maintainer-clean-sed:
24091 @: $(MAKE); $(unstage)
24092 @[ -f ./sed/Makefile ] || exit 0; \
24093 r=`${PWD_COMMAND}`; export r; \
24094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24095 $(HOST_EXPORTS) \
24096 for flag in $(EXTRA_HOST_FLAGS) ; do \
24097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24098 done; \
24099 echo "Doing maintainer-clean in sed" ; \
24100 (cd $(HOST_SUBDIR)/sed && \
24101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24103 "RANLIB=$${RANLIB}" \
24104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24105 maintainer-clean) \
24106 || exit 1
24108 @endif sed
24112 .PHONY: configure-send-pr maybe-configure-send-pr
24113 maybe-configure-send-pr:
24114 @if gcc-bootstrap
24115 configure-send-pr: stage_current
24116 @endif gcc-bootstrap
24117 @if send-pr
24118 maybe-configure-send-pr: configure-send-pr
24119 configure-send-pr:
24120 @: $(MAKE); $(unstage)
24121 @r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
24124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
24125 $(HOST_EXPORTS) \
24126 echo Configuring in $(HOST_SUBDIR)/send-pr; \
24127 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
24128 case $(srcdir) in \
24129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24130 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
24131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24132 esac; \
24133 srcdiroption="--srcdir=$${topdir}/send-pr"; \
24134 libsrcdir="$$s/send-pr"; \
24135 $(SHELL) $${libsrcdir}/configure \
24136 $(HOST_CONFIGARGS) $${srcdiroption} \
24137 || exit 1
24138 @endif send-pr
24144 .PHONY: all-send-pr maybe-all-send-pr
24145 maybe-all-send-pr:
24146 @if gcc-bootstrap
24147 all-send-pr: stage_current
24148 @endif gcc-bootstrap
24149 @if send-pr
24150 TARGET-send-pr=all
24151 maybe-all-send-pr: all-send-pr
24152 all-send-pr: configure-send-pr
24153 @: $(MAKE); $(unstage)
24154 @r=`${PWD_COMMAND}`; export r; \
24155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24156 $(HOST_EXPORTS) \
24157 (cd $(HOST_SUBDIR)/send-pr && \
24158 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
24159 @endif send-pr
24164 .PHONY: check-send-pr maybe-check-send-pr
24165 maybe-check-send-pr:
24166 @if send-pr
24167 maybe-check-send-pr: check-send-pr
24169 check-send-pr:
24170 @: $(MAKE); $(unstage)
24171 @r=`${PWD_COMMAND}`; export r; \
24172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24173 $(HOST_EXPORTS) \
24174 (cd $(HOST_SUBDIR)/send-pr && \
24175 $(MAKE) $(FLAGS_TO_PASS) check)
24177 @endif send-pr
24179 .PHONY: install-send-pr maybe-install-send-pr
24180 maybe-install-send-pr:
24181 @if send-pr
24182 maybe-install-send-pr: install-send-pr
24184 install-send-pr: installdirs
24185 @: $(MAKE); $(unstage)
24186 @r=`${PWD_COMMAND}`; export r; \
24187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24188 $(HOST_EXPORTS) \
24189 (cd $(HOST_SUBDIR)/send-pr && \
24190 $(MAKE) $(FLAGS_TO_PASS) install)
24192 @endif send-pr
24194 # Other targets (info, dvi, etc.)
24196 .PHONY: maybe-info-send-pr info-send-pr
24197 maybe-info-send-pr:
24198 @if send-pr
24199 maybe-info-send-pr: info-send-pr
24201 info-send-pr: \
24202 configure-send-pr
24203 @: $(MAKE); $(unstage)
24204 @[ -f ./send-pr/Makefile ] || exit 0; \
24205 r=`${PWD_COMMAND}`; export r; \
24206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24207 $(HOST_EXPORTS) \
24208 for flag in $(EXTRA_HOST_FLAGS) ; do \
24209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24210 done; \
24211 echo "Doing info in send-pr" ; \
24212 (cd $(HOST_SUBDIR)/send-pr && \
24213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24215 "RANLIB=$${RANLIB}" \
24216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24217 info) \
24218 || exit 1
24220 @endif send-pr
24222 .PHONY: maybe-dvi-send-pr dvi-send-pr
24223 maybe-dvi-send-pr:
24224 @if send-pr
24225 maybe-dvi-send-pr: dvi-send-pr
24227 dvi-send-pr: \
24228 configure-send-pr
24229 @: $(MAKE); $(unstage)
24230 @[ -f ./send-pr/Makefile ] || exit 0; \
24231 r=`${PWD_COMMAND}`; export r; \
24232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24233 $(HOST_EXPORTS) \
24234 for flag in $(EXTRA_HOST_FLAGS) ; do \
24235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24236 done; \
24237 echo "Doing dvi in send-pr" ; \
24238 (cd $(HOST_SUBDIR)/send-pr && \
24239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24241 "RANLIB=$${RANLIB}" \
24242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24243 dvi) \
24244 || exit 1
24246 @endif send-pr
24248 .PHONY: maybe-html-send-pr html-send-pr
24249 maybe-html-send-pr:
24250 @if send-pr
24251 maybe-html-send-pr: html-send-pr
24253 html-send-pr: \
24254 configure-send-pr
24255 @: $(MAKE); $(unstage)
24256 @[ -f ./send-pr/Makefile ] || exit 0; \
24257 r=`${PWD_COMMAND}`; export r; \
24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259 $(HOST_EXPORTS) \
24260 for flag in $(EXTRA_HOST_FLAGS) ; do \
24261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24262 done; \
24263 echo "Doing html in send-pr" ; \
24264 (cd $(HOST_SUBDIR)/send-pr && \
24265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24267 "RANLIB=$${RANLIB}" \
24268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24269 html) \
24270 || exit 1
24272 @endif send-pr
24274 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
24275 maybe-TAGS-send-pr:
24276 @if send-pr
24277 maybe-TAGS-send-pr: TAGS-send-pr
24279 TAGS-send-pr: \
24280 configure-send-pr
24281 @: $(MAKE); $(unstage)
24282 @[ -f ./send-pr/Makefile ] || exit 0; \
24283 r=`${PWD_COMMAND}`; export r; \
24284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24285 $(HOST_EXPORTS) \
24286 for flag in $(EXTRA_HOST_FLAGS) ; do \
24287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24288 done; \
24289 echo "Doing TAGS in send-pr" ; \
24290 (cd $(HOST_SUBDIR)/send-pr && \
24291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24293 "RANLIB=$${RANLIB}" \
24294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24295 TAGS) \
24296 || exit 1
24298 @endif send-pr
24300 .PHONY: maybe-install-info-send-pr install-info-send-pr
24301 maybe-install-info-send-pr:
24302 @if send-pr
24303 maybe-install-info-send-pr: install-info-send-pr
24305 install-info-send-pr: \
24306 configure-send-pr \
24307 info-send-pr
24308 @: $(MAKE); $(unstage)
24309 @[ -f ./send-pr/Makefile ] || exit 0; \
24310 r=`${PWD_COMMAND}`; export r; \
24311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24312 $(HOST_EXPORTS) \
24313 for flag in $(EXTRA_HOST_FLAGS) ; do \
24314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24315 done; \
24316 echo "Doing install-info in send-pr" ; \
24317 (cd $(HOST_SUBDIR)/send-pr && \
24318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24320 "RANLIB=$${RANLIB}" \
24321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24322 install-info) \
24323 || exit 1
24325 @endif send-pr
24327 .PHONY: maybe-install-html-send-pr install-html-send-pr
24328 maybe-install-html-send-pr:
24329 @if send-pr
24330 maybe-install-html-send-pr: install-html-send-pr
24332 install-html-send-pr: \
24333 configure-send-pr \
24334 html-send-pr
24335 @: $(MAKE); $(unstage)
24336 @[ -f ./send-pr/Makefile ] || exit 0; \
24337 r=`${PWD_COMMAND}`; export r; \
24338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24339 $(HOST_EXPORTS) \
24340 for flag in $(EXTRA_HOST_FLAGS) ; do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 echo "Doing install-html in send-pr" ; \
24344 (cd $(HOST_SUBDIR)/send-pr && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24349 install-html) \
24350 || exit 1
24352 @endif send-pr
24354 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
24355 maybe-installcheck-send-pr:
24356 @if send-pr
24357 maybe-installcheck-send-pr: installcheck-send-pr
24359 installcheck-send-pr: \
24360 configure-send-pr
24361 @: $(MAKE); $(unstage)
24362 @[ -f ./send-pr/Makefile ] || exit 0; \
24363 r=`${PWD_COMMAND}`; export r; \
24364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24365 $(HOST_EXPORTS) \
24366 for flag in $(EXTRA_HOST_FLAGS) ; do \
24367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24368 done; \
24369 echo "Doing installcheck in send-pr" ; \
24370 (cd $(HOST_SUBDIR)/send-pr && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24375 installcheck) \
24376 || exit 1
24378 @endif send-pr
24380 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
24381 maybe-mostlyclean-send-pr:
24382 @if send-pr
24383 maybe-mostlyclean-send-pr: mostlyclean-send-pr
24385 mostlyclean-send-pr:
24386 @: $(MAKE); $(unstage)
24387 @[ -f ./send-pr/Makefile ] || exit 0; \
24388 r=`${PWD_COMMAND}`; export r; \
24389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24390 $(HOST_EXPORTS) \
24391 for flag in $(EXTRA_HOST_FLAGS) ; do \
24392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24393 done; \
24394 echo "Doing mostlyclean in send-pr" ; \
24395 (cd $(HOST_SUBDIR)/send-pr && \
24396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24398 "RANLIB=$${RANLIB}" \
24399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24400 mostlyclean) \
24401 || exit 1
24403 @endif send-pr
24405 .PHONY: maybe-clean-send-pr clean-send-pr
24406 maybe-clean-send-pr:
24407 @if send-pr
24408 maybe-clean-send-pr: clean-send-pr
24410 clean-send-pr:
24411 @: $(MAKE); $(unstage)
24412 @[ -f ./send-pr/Makefile ] || exit 0; \
24413 r=`${PWD_COMMAND}`; export r; \
24414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24415 $(HOST_EXPORTS) \
24416 for flag in $(EXTRA_HOST_FLAGS) ; do \
24417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24418 done; \
24419 echo "Doing clean in send-pr" ; \
24420 (cd $(HOST_SUBDIR)/send-pr && \
24421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24423 "RANLIB=$${RANLIB}" \
24424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24425 clean) \
24426 || exit 1
24428 @endif send-pr
24430 .PHONY: maybe-distclean-send-pr distclean-send-pr
24431 maybe-distclean-send-pr:
24432 @if send-pr
24433 maybe-distclean-send-pr: distclean-send-pr
24435 distclean-send-pr:
24436 @: $(MAKE); $(unstage)
24437 @[ -f ./send-pr/Makefile ] || exit 0; \
24438 r=`${PWD_COMMAND}`; export r; \
24439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24440 $(HOST_EXPORTS) \
24441 for flag in $(EXTRA_HOST_FLAGS) ; do \
24442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24443 done; \
24444 echo "Doing distclean in send-pr" ; \
24445 (cd $(HOST_SUBDIR)/send-pr && \
24446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24448 "RANLIB=$${RANLIB}" \
24449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24450 distclean) \
24451 || exit 1
24453 @endif send-pr
24455 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
24456 maybe-maintainer-clean-send-pr:
24457 @if send-pr
24458 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
24460 maintainer-clean-send-pr:
24461 @: $(MAKE); $(unstage)
24462 @[ -f ./send-pr/Makefile ] || exit 0; \
24463 r=`${PWD_COMMAND}`; export r; \
24464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24465 $(HOST_EXPORTS) \
24466 for flag in $(EXTRA_HOST_FLAGS) ; do \
24467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24468 done; \
24469 echo "Doing maintainer-clean in send-pr" ; \
24470 (cd $(HOST_SUBDIR)/send-pr && \
24471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24473 "RANLIB=$${RANLIB}" \
24474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24475 maintainer-clean) \
24476 || exit 1
24478 @endif send-pr
24482 .PHONY: configure-shellutils maybe-configure-shellutils
24483 maybe-configure-shellutils:
24484 @if gcc-bootstrap
24485 configure-shellutils: stage_current
24486 @endif gcc-bootstrap
24487 @if shellutils
24488 maybe-configure-shellutils: configure-shellutils
24489 configure-shellutils:
24490 @: $(MAKE); $(unstage)
24491 @r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24493 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
24494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
24495 $(HOST_EXPORTS) \
24496 echo Configuring in $(HOST_SUBDIR)/shellutils; \
24497 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
24498 case $(srcdir) in \
24499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24500 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
24501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24502 esac; \
24503 srcdiroption="--srcdir=$${topdir}/shellutils"; \
24504 libsrcdir="$$s/shellutils"; \
24505 $(SHELL) $${libsrcdir}/configure \
24506 $(HOST_CONFIGARGS) $${srcdiroption} \
24507 || exit 1
24508 @endif shellutils
24514 .PHONY: all-shellutils maybe-all-shellutils
24515 maybe-all-shellutils:
24516 @if gcc-bootstrap
24517 all-shellutils: stage_current
24518 @endif gcc-bootstrap
24519 @if shellutils
24520 TARGET-shellutils=all
24521 maybe-all-shellutils: all-shellutils
24522 all-shellutils: configure-shellutils
24523 @: $(MAKE); $(unstage)
24524 @r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(HOST_EXPORTS) \
24527 (cd $(HOST_SUBDIR)/shellutils && \
24528 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
24529 @endif shellutils
24534 .PHONY: check-shellutils maybe-check-shellutils
24535 maybe-check-shellutils:
24536 @if shellutils
24537 maybe-check-shellutils: check-shellutils
24539 check-shellutils:
24540 @: $(MAKE); $(unstage)
24541 @r=`${PWD_COMMAND}`; export r; \
24542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24543 $(HOST_EXPORTS) \
24544 (cd $(HOST_SUBDIR)/shellutils && \
24545 $(MAKE) $(FLAGS_TO_PASS) check)
24547 @endif shellutils
24549 .PHONY: install-shellutils maybe-install-shellutils
24550 maybe-install-shellutils:
24551 @if shellutils
24552 maybe-install-shellutils: install-shellutils
24554 install-shellutils: installdirs
24555 @: $(MAKE); $(unstage)
24556 @r=`${PWD_COMMAND}`; export r; \
24557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24558 $(HOST_EXPORTS) \
24559 (cd $(HOST_SUBDIR)/shellutils && \
24560 $(MAKE) $(FLAGS_TO_PASS) install)
24562 @endif shellutils
24564 # Other targets (info, dvi, etc.)
24566 .PHONY: maybe-info-shellutils info-shellutils
24567 maybe-info-shellutils:
24568 @if shellutils
24569 maybe-info-shellutils: info-shellutils
24571 info-shellutils: \
24572 configure-shellutils
24573 @: $(MAKE); $(unstage)
24574 @[ -f ./shellutils/Makefile ] || exit 0; \
24575 r=`${PWD_COMMAND}`; export r; \
24576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24577 $(HOST_EXPORTS) \
24578 for flag in $(EXTRA_HOST_FLAGS) ; do \
24579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24580 done; \
24581 echo "Doing info in shellutils" ; \
24582 (cd $(HOST_SUBDIR)/shellutils && \
24583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24585 "RANLIB=$${RANLIB}" \
24586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24587 info) \
24588 || exit 1
24590 @endif shellutils
24592 .PHONY: maybe-dvi-shellutils dvi-shellutils
24593 maybe-dvi-shellutils:
24594 @if shellutils
24595 maybe-dvi-shellutils: dvi-shellutils
24597 dvi-shellutils: \
24598 configure-shellutils
24599 @: $(MAKE); $(unstage)
24600 @[ -f ./shellutils/Makefile ] || exit 0; \
24601 r=`${PWD_COMMAND}`; export r; \
24602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24603 $(HOST_EXPORTS) \
24604 for flag in $(EXTRA_HOST_FLAGS) ; do \
24605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24606 done; \
24607 echo "Doing dvi in shellutils" ; \
24608 (cd $(HOST_SUBDIR)/shellutils && \
24609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24611 "RANLIB=$${RANLIB}" \
24612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24613 dvi) \
24614 || exit 1
24616 @endif shellutils
24618 .PHONY: maybe-html-shellutils html-shellutils
24619 maybe-html-shellutils:
24620 @if shellutils
24621 maybe-html-shellutils: html-shellutils
24623 html-shellutils: \
24624 configure-shellutils
24625 @: $(MAKE); $(unstage)
24626 @[ -f ./shellutils/Makefile ] || exit 0; \
24627 r=`${PWD_COMMAND}`; export r; \
24628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24629 $(HOST_EXPORTS) \
24630 for flag in $(EXTRA_HOST_FLAGS) ; do \
24631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24632 done; \
24633 echo "Doing html in shellutils" ; \
24634 (cd $(HOST_SUBDIR)/shellutils && \
24635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24637 "RANLIB=$${RANLIB}" \
24638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24639 html) \
24640 || exit 1
24642 @endif shellutils
24644 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
24645 maybe-TAGS-shellutils:
24646 @if shellutils
24647 maybe-TAGS-shellutils: TAGS-shellutils
24649 TAGS-shellutils: \
24650 configure-shellutils
24651 @: $(MAKE); $(unstage)
24652 @[ -f ./shellutils/Makefile ] || exit 0; \
24653 r=`${PWD_COMMAND}`; export r; \
24654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 $(HOST_EXPORTS) \
24656 for flag in $(EXTRA_HOST_FLAGS) ; do \
24657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658 done; \
24659 echo "Doing TAGS in shellutils" ; \
24660 (cd $(HOST_SUBDIR)/shellutils && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24663 "RANLIB=$${RANLIB}" \
24664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24665 TAGS) \
24666 || exit 1
24668 @endif shellutils
24670 .PHONY: maybe-install-info-shellutils install-info-shellutils
24671 maybe-install-info-shellutils:
24672 @if shellutils
24673 maybe-install-info-shellutils: install-info-shellutils
24675 install-info-shellutils: \
24676 configure-shellutils \
24677 info-shellutils
24678 @: $(MAKE); $(unstage)
24679 @[ -f ./shellutils/Makefile ] || exit 0; \
24680 r=`${PWD_COMMAND}`; export r; \
24681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24682 $(HOST_EXPORTS) \
24683 for flag in $(EXTRA_HOST_FLAGS) ; do \
24684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24685 done; \
24686 echo "Doing install-info in shellutils" ; \
24687 (cd $(HOST_SUBDIR)/shellutils && \
24688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24690 "RANLIB=$${RANLIB}" \
24691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24692 install-info) \
24693 || exit 1
24695 @endif shellutils
24697 .PHONY: maybe-install-html-shellutils install-html-shellutils
24698 maybe-install-html-shellutils:
24699 @if shellutils
24700 maybe-install-html-shellutils: install-html-shellutils
24702 install-html-shellutils: \
24703 configure-shellutils \
24704 html-shellutils
24705 @: $(MAKE); $(unstage)
24706 @[ -f ./shellutils/Makefile ] || exit 0; \
24707 r=`${PWD_COMMAND}`; export r; \
24708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24709 $(HOST_EXPORTS) \
24710 for flag in $(EXTRA_HOST_FLAGS) ; do \
24711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24712 done; \
24713 echo "Doing install-html in shellutils" ; \
24714 (cd $(HOST_SUBDIR)/shellutils && \
24715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24717 "RANLIB=$${RANLIB}" \
24718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24719 install-html) \
24720 || exit 1
24722 @endif shellutils
24724 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
24725 maybe-installcheck-shellutils:
24726 @if shellutils
24727 maybe-installcheck-shellutils: installcheck-shellutils
24729 installcheck-shellutils: \
24730 configure-shellutils
24731 @: $(MAKE); $(unstage)
24732 @[ -f ./shellutils/Makefile ] || exit 0; \
24733 r=`${PWD_COMMAND}`; export r; \
24734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24735 $(HOST_EXPORTS) \
24736 for flag in $(EXTRA_HOST_FLAGS) ; do \
24737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24738 done; \
24739 echo "Doing installcheck in shellutils" ; \
24740 (cd $(HOST_SUBDIR)/shellutils && \
24741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24743 "RANLIB=$${RANLIB}" \
24744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24745 installcheck) \
24746 || exit 1
24748 @endif shellutils
24750 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
24751 maybe-mostlyclean-shellutils:
24752 @if shellutils
24753 maybe-mostlyclean-shellutils: mostlyclean-shellutils
24755 mostlyclean-shellutils:
24756 @: $(MAKE); $(unstage)
24757 @[ -f ./shellutils/Makefile ] || exit 0; \
24758 r=`${PWD_COMMAND}`; export r; \
24759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24760 $(HOST_EXPORTS) \
24761 for flag in $(EXTRA_HOST_FLAGS) ; do \
24762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24763 done; \
24764 echo "Doing mostlyclean in shellutils" ; \
24765 (cd $(HOST_SUBDIR)/shellutils && \
24766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24768 "RANLIB=$${RANLIB}" \
24769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24770 mostlyclean) \
24771 || exit 1
24773 @endif shellutils
24775 .PHONY: maybe-clean-shellutils clean-shellutils
24776 maybe-clean-shellutils:
24777 @if shellutils
24778 maybe-clean-shellutils: clean-shellutils
24780 clean-shellutils:
24781 @: $(MAKE); $(unstage)
24782 @[ -f ./shellutils/Makefile ] || exit 0; \
24783 r=`${PWD_COMMAND}`; export r; \
24784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24785 $(HOST_EXPORTS) \
24786 for flag in $(EXTRA_HOST_FLAGS) ; do \
24787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24788 done; \
24789 echo "Doing clean in shellutils" ; \
24790 (cd $(HOST_SUBDIR)/shellutils && \
24791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24793 "RANLIB=$${RANLIB}" \
24794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24795 clean) \
24796 || exit 1
24798 @endif shellutils
24800 .PHONY: maybe-distclean-shellutils distclean-shellutils
24801 maybe-distclean-shellutils:
24802 @if shellutils
24803 maybe-distclean-shellutils: distclean-shellutils
24805 distclean-shellutils:
24806 @: $(MAKE); $(unstage)
24807 @[ -f ./shellutils/Makefile ] || exit 0; \
24808 r=`${PWD_COMMAND}`; export r; \
24809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24810 $(HOST_EXPORTS) \
24811 for flag in $(EXTRA_HOST_FLAGS) ; do \
24812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24813 done; \
24814 echo "Doing distclean in shellutils" ; \
24815 (cd $(HOST_SUBDIR)/shellutils && \
24816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24818 "RANLIB=$${RANLIB}" \
24819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24820 distclean) \
24821 || exit 1
24823 @endif shellutils
24825 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
24826 maybe-maintainer-clean-shellutils:
24827 @if shellutils
24828 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
24830 maintainer-clean-shellutils:
24831 @: $(MAKE); $(unstage)
24832 @[ -f ./shellutils/Makefile ] || exit 0; \
24833 r=`${PWD_COMMAND}`; export r; \
24834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24835 $(HOST_EXPORTS) \
24836 for flag in $(EXTRA_HOST_FLAGS) ; do \
24837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24838 done; \
24839 echo "Doing maintainer-clean in shellutils" ; \
24840 (cd $(HOST_SUBDIR)/shellutils && \
24841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24843 "RANLIB=$${RANLIB}" \
24844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24845 maintainer-clean) \
24846 || exit 1
24848 @endif shellutils
24852 .PHONY: configure-sid maybe-configure-sid
24853 maybe-configure-sid:
24854 @if gcc-bootstrap
24855 configure-sid: stage_current
24856 @endif gcc-bootstrap
24857 @if sid
24858 maybe-configure-sid: configure-sid
24859 configure-sid:
24860 @: $(MAKE); $(unstage)
24861 @r=`${PWD_COMMAND}`; export r; \
24862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24863 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24865 $(HOST_EXPORTS) \
24866 echo Configuring in $(HOST_SUBDIR)/sid; \
24867 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24868 case $(srcdir) in \
24869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24870 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24872 esac; \
24873 srcdiroption="--srcdir=$${topdir}/sid"; \
24874 libsrcdir="$$s/sid"; \
24875 $(SHELL) $${libsrcdir}/configure \
24876 $(HOST_CONFIGARGS) $${srcdiroption} \
24877 || exit 1
24878 @endif sid
24884 .PHONY: all-sid maybe-all-sid
24885 maybe-all-sid:
24886 @if gcc-bootstrap
24887 all-sid: stage_current
24888 @endif gcc-bootstrap
24889 @if sid
24890 TARGET-sid=all
24891 maybe-all-sid: all-sid
24892 all-sid: configure-sid
24893 @: $(MAKE); $(unstage)
24894 @r=`${PWD_COMMAND}`; export r; \
24895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24896 $(HOST_EXPORTS) \
24897 (cd $(HOST_SUBDIR)/sid && \
24898 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
24899 @endif sid
24904 .PHONY: check-sid maybe-check-sid
24905 maybe-check-sid:
24906 @if sid
24907 maybe-check-sid: check-sid
24909 check-sid:
24910 @: $(MAKE); $(unstage)
24911 @r=`${PWD_COMMAND}`; export r; \
24912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 $(HOST_EXPORTS) \
24914 (cd $(HOST_SUBDIR)/sid && \
24915 $(MAKE) $(FLAGS_TO_PASS) check)
24917 @endif sid
24919 .PHONY: install-sid maybe-install-sid
24920 maybe-install-sid:
24921 @if sid
24922 maybe-install-sid: install-sid
24924 install-sid: installdirs
24925 @: $(MAKE); $(unstage)
24926 @r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24928 $(HOST_EXPORTS) \
24929 (cd $(HOST_SUBDIR)/sid && \
24930 $(MAKE) $(FLAGS_TO_PASS) install)
24932 @endif sid
24934 # Other targets (info, dvi, etc.)
24936 .PHONY: maybe-info-sid info-sid
24937 maybe-info-sid:
24938 @if sid
24939 maybe-info-sid: info-sid
24941 info-sid: \
24942 configure-sid
24943 @: $(MAKE); $(unstage)
24944 @[ -f ./sid/Makefile ] || exit 0; \
24945 r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 $(HOST_EXPORTS) \
24948 for flag in $(EXTRA_HOST_FLAGS) ; do \
24949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24950 done; \
24951 echo "Doing info in sid" ; \
24952 (cd $(HOST_SUBDIR)/sid && \
24953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24955 "RANLIB=$${RANLIB}" \
24956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24957 info) \
24958 || exit 1
24960 @endif sid
24962 .PHONY: maybe-dvi-sid dvi-sid
24963 maybe-dvi-sid:
24964 @if sid
24965 maybe-dvi-sid: dvi-sid
24967 dvi-sid: \
24968 configure-sid
24969 @: $(MAKE); $(unstage)
24970 @[ -f ./sid/Makefile ] || exit 0; \
24971 r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24973 $(HOST_EXPORTS) \
24974 for flag in $(EXTRA_HOST_FLAGS) ; do \
24975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24976 done; \
24977 echo "Doing dvi in sid" ; \
24978 (cd $(HOST_SUBDIR)/sid && \
24979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24981 "RANLIB=$${RANLIB}" \
24982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24983 dvi) \
24984 || exit 1
24986 @endif sid
24988 .PHONY: maybe-html-sid html-sid
24989 maybe-html-sid:
24990 @if sid
24991 maybe-html-sid: html-sid
24993 html-sid: \
24994 configure-sid
24995 @: $(MAKE); $(unstage)
24996 @[ -f ./sid/Makefile ] || exit 0; \
24997 r=`${PWD_COMMAND}`; export r; \
24998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24999 $(HOST_EXPORTS) \
25000 for flag in $(EXTRA_HOST_FLAGS) ; do \
25001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25002 done; \
25003 echo "Doing html in sid" ; \
25004 (cd $(HOST_SUBDIR)/sid && \
25005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25007 "RANLIB=$${RANLIB}" \
25008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25009 html) \
25010 || exit 1
25012 @endif sid
25014 .PHONY: maybe-TAGS-sid TAGS-sid
25015 maybe-TAGS-sid:
25016 @if sid
25017 maybe-TAGS-sid: TAGS-sid
25019 TAGS-sid: \
25020 configure-sid
25021 @: $(MAKE); $(unstage)
25022 @[ -f ./sid/Makefile ] || exit 0; \
25023 r=`${PWD_COMMAND}`; export r; \
25024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25025 $(HOST_EXPORTS) \
25026 for flag in $(EXTRA_HOST_FLAGS) ; do \
25027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25028 done; \
25029 echo "Doing TAGS in sid" ; \
25030 (cd $(HOST_SUBDIR)/sid && \
25031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25033 "RANLIB=$${RANLIB}" \
25034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25035 TAGS) \
25036 || exit 1
25038 @endif sid
25040 .PHONY: maybe-install-info-sid install-info-sid
25041 maybe-install-info-sid:
25042 @if sid
25043 maybe-install-info-sid: install-info-sid
25045 install-info-sid: \
25046 configure-sid \
25047 info-sid
25048 @: $(MAKE); $(unstage)
25049 @[ -f ./sid/Makefile ] || exit 0; \
25050 r=`${PWD_COMMAND}`; export r; \
25051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25052 $(HOST_EXPORTS) \
25053 for flag in $(EXTRA_HOST_FLAGS) ; do \
25054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25055 done; \
25056 echo "Doing install-info in sid" ; \
25057 (cd $(HOST_SUBDIR)/sid && \
25058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25060 "RANLIB=$${RANLIB}" \
25061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25062 install-info) \
25063 || exit 1
25065 @endif sid
25067 .PHONY: maybe-install-html-sid install-html-sid
25068 maybe-install-html-sid:
25069 @if sid
25070 maybe-install-html-sid: install-html-sid
25072 install-html-sid: \
25073 configure-sid \
25074 html-sid
25075 @: $(MAKE); $(unstage)
25076 @[ -f ./sid/Makefile ] || exit 0; \
25077 r=`${PWD_COMMAND}`; export r; \
25078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25079 $(HOST_EXPORTS) \
25080 for flag in $(EXTRA_HOST_FLAGS) ; do \
25081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25082 done; \
25083 echo "Doing install-html in sid" ; \
25084 (cd $(HOST_SUBDIR)/sid && \
25085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25087 "RANLIB=$${RANLIB}" \
25088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25089 install-html) \
25090 || exit 1
25092 @endif sid
25094 .PHONY: maybe-installcheck-sid installcheck-sid
25095 maybe-installcheck-sid:
25096 @if sid
25097 maybe-installcheck-sid: installcheck-sid
25099 installcheck-sid: \
25100 configure-sid
25101 @: $(MAKE); $(unstage)
25102 @[ -f ./sid/Makefile ] || exit 0; \
25103 r=`${PWD_COMMAND}`; export r; \
25104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25105 $(HOST_EXPORTS) \
25106 for flag in $(EXTRA_HOST_FLAGS) ; do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 echo "Doing installcheck in sid" ; \
25110 (cd $(HOST_SUBDIR)/sid && \
25111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25113 "RANLIB=$${RANLIB}" \
25114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25115 installcheck) \
25116 || exit 1
25118 @endif sid
25120 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25121 maybe-mostlyclean-sid:
25122 @if sid
25123 maybe-mostlyclean-sid: mostlyclean-sid
25125 mostlyclean-sid:
25126 @: $(MAKE); $(unstage)
25127 @[ -f ./sid/Makefile ] || exit 0; \
25128 r=`${PWD_COMMAND}`; export r; \
25129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25130 $(HOST_EXPORTS) \
25131 for flag in $(EXTRA_HOST_FLAGS) ; do \
25132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25133 done; \
25134 echo "Doing mostlyclean in sid" ; \
25135 (cd $(HOST_SUBDIR)/sid && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25138 "RANLIB=$${RANLIB}" \
25139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25140 mostlyclean) \
25141 || exit 1
25143 @endif sid
25145 .PHONY: maybe-clean-sid clean-sid
25146 maybe-clean-sid:
25147 @if sid
25148 maybe-clean-sid: clean-sid
25150 clean-sid:
25151 @: $(MAKE); $(unstage)
25152 @[ -f ./sid/Makefile ] || exit 0; \
25153 r=`${PWD_COMMAND}`; export r; \
25154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25155 $(HOST_EXPORTS) \
25156 for flag in $(EXTRA_HOST_FLAGS) ; do \
25157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25158 done; \
25159 echo "Doing clean in sid" ; \
25160 (cd $(HOST_SUBDIR)/sid && \
25161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25163 "RANLIB=$${RANLIB}" \
25164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25165 clean) \
25166 || exit 1
25168 @endif sid
25170 .PHONY: maybe-distclean-sid distclean-sid
25171 maybe-distclean-sid:
25172 @if sid
25173 maybe-distclean-sid: distclean-sid
25175 distclean-sid:
25176 @: $(MAKE); $(unstage)
25177 @[ -f ./sid/Makefile ] || exit 0; \
25178 r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25180 $(HOST_EXPORTS) \
25181 for flag in $(EXTRA_HOST_FLAGS) ; do \
25182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25183 done; \
25184 echo "Doing distclean in sid" ; \
25185 (cd $(HOST_SUBDIR)/sid && \
25186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25188 "RANLIB=$${RANLIB}" \
25189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25190 distclean) \
25191 || exit 1
25193 @endif sid
25195 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25196 maybe-maintainer-clean-sid:
25197 @if sid
25198 maybe-maintainer-clean-sid: maintainer-clean-sid
25200 maintainer-clean-sid:
25201 @: $(MAKE); $(unstage)
25202 @[ -f ./sid/Makefile ] || exit 0; \
25203 r=`${PWD_COMMAND}`; export r; \
25204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25205 $(HOST_EXPORTS) \
25206 for flag in $(EXTRA_HOST_FLAGS) ; do \
25207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25208 done; \
25209 echo "Doing maintainer-clean in sid" ; \
25210 (cd $(HOST_SUBDIR)/sid && \
25211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25213 "RANLIB=$${RANLIB}" \
25214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25215 maintainer-clean) \
25216 || exit 1
25218 @endif sid
25222 .PHONY: configure-sim maybe-configure-sim
25223 maybe-configure-sim:
25224 @if gcc-bootstrap
25225 configure-sim: stage_current
25226 @endif gcc-bootstrap
25227 @if sim
25228 maybe-configure-sim: configure-sim
25229 configure-sim:
25230 @: $(MAKE); $(unstage)
25231 @r=`${PWD_COMMAND}`; export r; \
25232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25233 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25235 $(HOST_EXPORTS) \
25236 echo Configuring in $(HOST_SUBDIR)/sim; \
25237 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25238 case $(srcdir) in \
25239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25240 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25242 esac; \
25243 srcdiroption="--srcdir=$${topdir}/sim"; \
25244 libsrcdir="$$s/sim"; \
25245 $(SHELL) $${libsrcdir}/configure \
25246 $(HOST_CONFIGARGS) $${srcdiroption} \
25247 || exit 1
25248 @endif sim
25254 .PHONY: all-sim maybe-all-sim
25255 maybe-all-sim:
25256 @if gcc-bootstrap
25257 all-sim: stage_current
25258 @endif gcc-bootstrap
25259 @if sim
25260 TARGET-sim=all
25261 maybe-all-sim: all-sim
25262 all-sim: configure-sim
25263 @: $(MAKE); $(unstage)
25264 @r=`${PWD_COMMAND}`; export r; \
25265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25266 $(HOST_EXPORTS) \
25267 (cd $(HOST_SUBDIR)/sim && \
25268 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
25269 @endif sim
25274 .PHONY: check-sim maybe-check-sim
25275 maybe-check-sim:
25276 @if sim
25277 maybe-check-sim: check-sim
25279 check-sim:
25280 @: $(MAKE); $(unstage)
25281 @r=`${PWD_COMMAND}`; export r; \
25282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25283 $(HOST_EXPORTS) \
25284 (cd $(HOST_SUBDIR)/sim && \
25285 $(MAKE) $(FLAGS_TO_PASS) check)
25287 @endif sim
25289 .PHONY: install-sim maybe-install-sim
25290 maybe-install-sim:
25291 @if sim
25292 maybe-install-sim: install-sim
25294 install-sim: installdirs
25295 @: $(MAKE); $(unstage)
25296 @r=`${PWD_COMMAND}`; export r; \
25297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25298 $(HOST_EXPORTS) \
25299 (cd $(HOST_SUBDIR)/sim && \
25300 $(MAKE) $(FLAGS_TO_PASS) install)
25302 @endif sim
25304 # Other targets (info, dvi, etc.)
25306 .PHONY: maybe-info-sim info-sim
25307 maybe-info-sim:
25308 @if sim
25309 maybe-info-sim: info-sim
25311 info-sim: \
25312 configure-sim
25313 @: $(MAKE); $(unstage)
25314 @[ -f ./sim/Makefile ] || exit 0; \
25315 r=`${PWD_COMMAND}`; export r; \
25316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25317 $(HOST_EXPORTS) \
25318 for flag in $(EXTRA_HOST_FLAGS) ; do \
25319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25320 done; \
25321 echo "Doing info in sim" ; \
25322 (cd $(HOST_SUBDIR)/sim && \
25323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25325 "RANLIB=$${RANLIB}" \
25326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25327 info) \
25328 || exit 1
25330 @endif sim
25332 .PHONY: maybe-dvi-sim dvi-sim
25333 maybe-dvi-sim:
25334 @if sim
25335 maybe-dvi-sim: dvi-sim
25337 dvi-sim: \
25338 configure-sim
25339 @: $(MAKE); $(unstage)
25340 @[ -f ./sim/Makefile ] || exit 0; \
25341 r=`${PWD_COMMAND}`; export r; \
25342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25343 $(HOST_EXPORTS) \
25344 for flag in $(EXTRA_HOST_FLAGS) ; do \
25345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25346 done; \
25347 echo "Doing dvi in sim" ; \
25348 (cd $(HOST_SUBDIR)/sim && \
25349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25351 "RANLIB=$${RANLIB}" \
25352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25353 dvi) \
25354 || exit 1
25356 @endif sim
25358 .PHONY: maybe-html-sim html-sim
25359 maybe-html-sim:
25360 @if sim
25361 maybe-html-sim: html-sim
25363 html-sim: \
25364 configure-sim
25365 @: $(MAKE); $(unstage)
25366 @[ -f ./sim/Makefile ] || exit 0; \
25367 r=`${PWD_COMMAND}`; export r; \
25368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25369 $(HOST_EXPORTS) \
25370 for flag in $(EXTRA_HOST_FLAGS) ; do \
25371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25372 done; \
25373 echo "Doing html in sim" ; \
25374 (cd $(HOST_SUBDIR)/sim && \
25375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25377 "RANLIB=$${RANLIB}" \
25378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25379 html) \
25380 || exit 1
25382 @endif sim
25384 .PHONY: maybe-TAGS-sim TAGS-sim
25385 maybe-TAGS-sim:
25386 @if sim
25387 maybe-TAGS-sim: TAGS-sim
25389 TAGS-sim: \
25390 configure-sim
25391 @: $(MAKE); $(unstage)
25392 @[ -f ./sim/Makefile ] || exit 0; \
25393 r=`${PWD_COMMAND}`; export r; \
25394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25395 $(HOST_EXPORTS) \
25396 for flag in $(EXTRA_HOST_FLAGS) ; do \
25397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25398 done; \
25399 echo "Doing TAGS in sim" ; \
25400 (cd $(HOST_SUBDIR)/sim && \
25401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25403 "RANLIB=$${RANLIB}" \
25404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25405 TAGS) \
25406 || exit 1
25408 @endif sim
25410 .PHONY: maybe-install-info-sim install-info-sim
25411 maybe-install-info-sim:
25412 @if sim
25413 maybe-install-info-sim: install-info-sim
25415 install-info-sim: \
25416 configure-sim \
25417 info-sim
25418 @: $(MAKE); $(unstage)
25419 @[ -f ./sim/Makefile ] || exit 0; \
25420 r=`${PWD_COMMAND}`; export r; \
25421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25422 $(HOST_EXPORTS) \
25423 for flag in $(EXTRA_HOST_FLAGS) ; do \
25424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25425 done; \
25426 echo "Doing install-info in sim" ; \
25427 (cd $(HOST_SUBDIR)/sim && \
25428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25430 "RANLIB=$${RANLIB}" \
25431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25432 install-info) \
25433 || exit 1
25435 @endif sim
25437 .PHONY: maybe-install-html-sim install-html-sim
25438 maybe-install-html-sim:
25439 @if sim
25440 maybe-install-html-sim: install-html-sim
25442 install-html-sim: \
25443 configure-sim \
25444 html-sim
25445 @: $(MAKE); $(unstage)
25446 @[ -f ./sim/Makefile ] || exit 0; \
25447 r=`${PWD_COMMAND}`; export r; \
25448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25449 $(HOST_EXPORTS) \
25450 for flag in $(EXTRA_HOST_FLAGS) ; do \
25451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25452 done; \
25453 echo "Doing install-html in sim" ; \
25454 (cd $(HOST_SUBDIR)/sim && \
25455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25457 "RANLIB=$${RANLIB}" \
25458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25459 install-html) \
25460 || exit 1
25462 @endif sim
25464 .PHONY: maybe-installcheck-sim installcheck-sim
25465 maybe-installcheck-sim:
25466 @if sim
25467 maybe-installcheck-sim: installcheck-sim
25469 installcheck-sim: \
25470 configure-sim
25471 @: $(MAKE); $(unstage)
25472 @[ -f ./sim/Makefile ] || exit 0; \
25473 r=`${PWD_COMMAND}`; export r; \
25474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25475 $(HOST_EXPORTS) \
25476 for flag in $(EXTRA_HOST_FLAGS) ; do \
25477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25478 done; \
25479 echo "Doing installcheck in sim" ; \
25480 (cd $(HOST_SUBDIR)/sim && \
25481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25483 "RANLIB=$${RANLIB}" \
25484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25485 installcheck) \
25486 || exit 1
25488 @endif sim
25490 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25491 maybe-mostlyclean-sim:
25492 @if sim
25493 maybe-mostlyclean-sim: mostlyclean-sim
25495 mostlyclean-sim:
25496 @: $(MAKE); $(unstage)
25497 @[ -f ./sim/Makefile ] || exit 0; \
25498 r=`${PWD_COMMAND}`; export r; \
25499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25500 $(HOST_EXPORTS) \
25501 for flag in $(EXTRA_HOST_FLAGS) ; do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 echo "Doing mostlyclean in sim" ; \
25505 (cd $(HOST_SUBDIR)/sim && \
25506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25508 "RANLIB=$${RANLIB}" \
25509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25510 mostlyclean) \
25511 || exit 1
25513 @endif sim
25515 .PHONY: maybe-clean-sim clean-sim
25516 maybe-clean-sim:
25517 @if sim
25518 maybe-clean-sim: clean-sim
25520 clean-sim:
25521 @: $(MAKE); $(unstage)
25522 @[ -f ./sim/Makefile ] || exit 0; \
25523 r=`${PWD_COMMAND}`; export r; \
25524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25525 $(HOST_EXPORTS) \
25526 for flag in $(EXTRA_HOST_FLAGS) ; do \
25527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25528 done; \
25529 echo "Doing clean in sim" ; \
25530 (cd $(HOST_SUBDIR)/sim && \
25531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25533 "RANLIB=$${RANLIB}" \
25534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25535 clean) \
25536 || exit 1
25538 @endif sim
25540 .PHONY: maybe-distclean-sim distclean-sim
25541 maybe-distclean-sim:
25542 @if sim
25543 maybe-distclean-sim: distclean-sim
25545 distclean-sim:
25546 @: $(MAKE); $(unstage)
25547 @[ -f ./sim/Makefile ] || exit 0; \
25548 r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 $(HOST_EXPORTS) \
25551 for flag in $(EXTRA_HOST_FLAGS) ; do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 done; \
25554 echo "Doing distclean in sim" ; \
25555 (cd $(HOST_SUBDIR)/sim && \
25556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25558 "RANLIB=$${RANLIB}" \
25559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25560 distclean) \
25561 || exit 1
25563 @endif sim
25565 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25566 maybe-maintainer-clean-sim:
25567 @if sim
25568 maybe-maintainer-clean-sim: maintainer-clean-sim
25570 maintainer-clean-sim:
25571 @: $(MAKE); $(unstage)
25572 @[ -f ./sim/Makefile ] || exit 0; \
25573 r=`${PWD_COMMAND}`; export r; \
25574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25575 $(HOST_EXPORTS) \
25576 for flag in $(EXTRA_HOST_FLAGS) ; do \
25577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25578 done; \
25579 echo "Doing maintainer-clean in sim" ; \
25580 (cd $(HOST_SUBDIR)/sim && \
25581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25583 "RANLIB=$${RANLIB}" \
25584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25585 maintainer-clean) \
25586 || exit 1
25588 @endif sim
25592 .PHONY: configure-tar maybe-configure-tar
25593 maybe-configure-tar:
25594 @if gcc-bootstrap
25595 configure-tar: stage_current
25596 @endif gcc-bootstrap
25597 @if tar
25598 maybe-configure-tar: configure-tar
25599 configure-tar:
25600 @: $(MAKE); $(unstage)
25601 @r=`${PWD_COMMAND}`; export r; \
25602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25603 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
25604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
25605 $(HOST_EXPORTS) \
25606 echo Configuring in $(HOST_SUBDIR)/tar; \
25607 cd "$(HOST_SUBDIR)/tar" || exit 1; \
25608 case $(srcdir) in \
25609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25610 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
25611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25612 esac; \
25613 srcdiroption="--srcdir=$${topdir}/tar"; \
25614 libsrcdir="$$s/tar"; \
25615 $(SHELL) $${libsrcdir}/configure \
25616 $(HOST_CONFIGARGS) $${srcdiroption} \
25617 || exit 1
25618 @endif tar
25624 .PHONY: all-tar maybe-all-tar
25625 maybe-all-tar:
25626 @if gcc-bootstrap
25627 all-tar: stage_current
25628 @endif gcc-bootstrap
25629 @if tar
25630 TARGET-tar=all
25631 maybe-all-tar: all-tar
25632 all-tar: configure-tar
25633 @: $(MAKE); $(unstage)
25634 @r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 $(HOST_EXPORTS) \
25637 (cd $(HOST_SUBDIR)/tar && \
25638 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
25639 @endif tar
25644 .PHONY: check-tar maybe-check-tar
25645 maybe-check-tar:
25646 @if tar
25647 maybe-check-tar: check-tar
25649 check-tar:
25650 @: $(MAKE); $(unstage)
25651 @r=`${PWD_COMMAND}`; export r; \
25652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(HOST_EXPORTS) \
25654 (cd $(HOST_SUBDIR)/tar && \
25655 $(MAKE) $(FLAGS_TO_PASS) check)
25657 @endif tar
25659 .PHONY: install-tar maybe-install-tar
25660 maybe-install-tar:
25661 @if tar
25662 maybe-install-tar: install-tar
25664 install-tar: installdirs
25665 @: $(MAKE); $(unstage)
25666 @r=`${PWD_COMMAND}`; export r; \
25667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25668 $(HOST_EXPORTS) \
25669 (cd $(HOST_SUBDIR)/tar && \
25670 $(MAKE) $(FLAGS_TO_PASS) install)
25672 @endif tar
25674 # Other targets (info, dvi, etc.)
25676 .PHONY: maybe-info-tar info-tar
25677 maybe-info-tar:
25678 @if tar
25679 maybe-info-tar: info-tar
25681 info-tar: \
25682 configure-tar
25683 @: $(MAKE); $(unstage)
25684 @[ -f ./tar/Makefile ] || exit 0; \
25685 r=`${PWD_COMMAND}`; export r; \
25686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25687 $(HOST_EXPORTS) \
25688 for flag in $(EXTRA_HOST_FLAGS) ; do \
25689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25690 done; \
25691 echo "Doing info in tar" ; \
25692 (cd $(HOST_SUBDIR)/tar && \
25693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25695 "RANLIB=$${RANLIB}" \
25696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25697 info) \
25698 || exit 1
25700 @endif tar
25702 .PHONY: maybe-dvi-tar dvi-tar
25703 maybe-dvi-tar:
25704 @if tar
25705 maybe-dvi-tar: dvi-tar
25707 dvi-tar: \
25708 configure-tar
25709 @: $(MAKE); $(unstage)
25710 @[ -f ./tar/Makefile ] || exit 0; \
25711 r=`${PWD_COMMAND}`; export r; \
25712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25713 $(HOST_EXPORTS) \
25714 for flag in $(EXTRA_HOST_FLAGS) ; do \
25715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25716 done; \
25717 echo "Doing dvi in tar" ; \
25718 (cd $(HOST_SUBDIR)/tar && \
25719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25721 "RANLIB=$${RANLIB}" \
25722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25723 dvi) \
25724 || exit 1
25726 @endif tar
25728 .PHONY: maybe-html-tar html-tar
25729 maybe-html-tar:
25730 @if tar
25731 maybe-html-tar: html-tar
25733 html-tar: \
25734 configure-tar
25735 @: $(MAKE); $(unstage)
25736 @[ -f ./tar/Makefile ] || exit 0; \
25737 r=`${PWD_COMMAND}`; export r; \
25738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25739 $(HOST_EXPORTS) \
25740 for flag in $(EXTRA_HOST_FLAGS) ; do \
25741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25742 done; \
25743 echo "Doing html in tar" ; \
25744 (cd $(HOST_SUBDIR)/tar && \
25745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25747 "RANLIB=$${RANLIB}" \
25748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25749 html) \
25750 || exit 1
25752 @endif tar
25754 .PHONY: maybe-TAGS-tar TAGS-tar
25755 maybe-TAGS-tar:
25756 @if tar
25757 maybe-TAGS-tar: TAGS-tar
25759 TAGS-tar: \
25760 configure-tar
25761 @: $(MAKE); $(unstage)
25762 @[ -f ./tar/Makefile ] || exit 0; \
25763 r=`${PWD_COMMAND}`; export r; \
25764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25765 $(HOST_EXPORTS) \
25766 for flag in $(EXTRA_HOST_FLAGS) ; do \
25767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25768 done; \
25769 echo "Doing TAGS in tar" ; \
25770 (cd $(HOST_SUBDIR)/tar && \
25771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25773 "RANLIB=$${RANLIB}" \
25774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25775 TAGS) \
25776 || exit 1
25778 @endif tar
25780 .PHONY: maybe-install-info-tar install-info-tar
25781 maybe-install-info-tar:
25782 @if tar
25783 maybe-install-info-tar: install-info-tar
25785 install-info-tar: \
25786 configure-tar \
25787 info-tar
25788 @: $(MAKE); $(unstage)
25789 @[ -f ./tar/Makefile ] || exit 0; \
25790 r=`${PWD_COMMAND}`; export r; \
25791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25792 $(HOST_EXPORTS) \
25793 for flag in $(EXTRA_HOST_FLAGS) ; do \
25794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25795 done; \
25796 echo "Doing install-info in tar" ; \
25797 (cd $(HOST_SUBDIR)/tar && \
25798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25800 "RANLIB=$${RANLIB}" \
25801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25802 install-info) \
25803 || exit 1
25805 @endif tar
25807 .PHONY: maybe-install-html-tar install-html-tar
25808 maybe-install-html-tar:
25809 @if tar
25810 maybe-install-html-tar: install-html-tar
25812 install-html-tar: \
25813 configure-tar \
25814 html-tar
25815 @: $(MAKE); $(unstage)
25816 @[ -f ./tar/Makefile ] || exit 0; \
25817 r=`${PWD_COMMAND}`; export r; \
25818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25819 $(HOST_EXPORTS) \
25820 for flag in $(EXTRA_HOST_FLAGS) ; do \
25821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25822 done; \
25823 echo "Doing install-html in tar" ; \
25824 (cd $(HOST_SUBDIR)/tar && \
25825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25827 "RANLIB=$${RANLIB}" \
25828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25829 install-html) \
25830 || exit 1
25832 @endif tar
25834 .PHONY: maybe-installcheck-tar installcheck-tar
25835 maybe-installcheck-tar:
25836 @if tar
25837 maybe-installcheck-tar: installcheck-tar
25839 installcheck-tar: \
25840 configure-tar
25841 @: $(MAKE); $(unstage)
25842 @[ -f ./tar/Makefile ] || exit 0; \
25843 r=`${PWD_COMMAND}`; export r; \
25844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25845 $(HOST_EXPORTS) \
25846 for flag in $(EXTRA_HOST_FLAGS) ; do \
25847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25848 done; \
25849 echo "Doing installcheck in tar" ; \
25850 (cd $(HOST_SUBDIR)/tar && \
25851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25853 "RANLIB=$${RANLIB}" \
25854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25855 installcheck) \
25856 || exit 1
25858 @endif tar
25860 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
25861 maybe-mostlyclean-tar:
25862 @if tar
25863 maybe-mostlyclean-tar: mostlyclean-tar
25865 mostlyclean-tar:
25866 @: $(MAKE); $(unstage)
25867 @[ -f ./tar/Makefile ] || exit 0; \
25868 r=`${PWD_COMMAND}`; export r; \
25869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25870 $(HOST_EXPORTS) \
25871 for flag in $(EXTRA_HOST_FLAGS) ; do \
25872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25873 done; \
25874 echo "Doing mostlyclean in tar" ; \
25875 (cd $(HOST_SUBDIR)/tar && \
25876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25878 "RANLIB=$${RANLIB}" \
25879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25880 mostlyclean) \
25881 || exit 1
25883 @endif tar
25885 .PHONY: maybe-clean-tar clean-tar
25886 maybe-clean-tar:
25887 @if tar
25888 maybe-clean-tar: clean-tar
25890 clean-tar:
25891 @: $(MAKE); $(unstage)
25892 @[ -f ./tar/Makefile ] || exit 0; \
25893 r=`${PWD_COMMAND}`; export r; \
25894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25895 $(HOST_EXPORTS) \
25896 for flag in $(EXTRA_HOST_FLAGS) ; do \
25897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25898 done; \
25899 echo "Doing clean in tar" ; \
25900 (cd $(HOST_SUBDIR)/tar && \
25901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25903 "RANLIB=$${RANLIB}" \
25904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25905 clean) \
25906 || exit 1
25908 @endif tar
25910 .PHONY: maybe-distclean-tar distclean-tar
25911 maybe-distclean-tar:
25912 @if tar
25913 maybe-distclean-tar: distclean-tar
25915 distclean-tar:
25916 @: $(MAKE); $(unstage)
25917 @[ -f ./tar/Makefile ] || exit 0; \
25918 r=`${PWD_COMMAND}`; export r; \
25919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25920 $(HOST_EXPORTS) \
25921 for flag in $(EXTRA_HOST_FLAGS) ; do \
25922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25923 done; \
25924 echo "Doing distclean in tar" ; \
25925 (cd $(HOST_SUBDIR)/tar && \
25926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25928 "RANLIB=$${RANLIB}" \
25929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25930 distclean) \
25931 || exit 1
25933 @endif tar
25935 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
25936 maybe-maintainer-clean-tar:
25937 @if tar
25938 maybe-maintainer-clean-tar: maintainer-clean-tar
25940 maintainer-clean-tar:
25941 @: $(MAKE); $(unstage)
25942 @[ -f ./tar/Makefile ] || exit 0; \
25943 r=`${PWD_COMMAND}`; export r; \
25944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25945 $(HOST_EXPORTS) \
25946 for flag in $(EXTRA_HOST_FLAGS) ; do \
25947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25948 done; \
25949 echo "Doing maintainer-clean in tar" ; \
25950 (cd $(HOST_SUBDIR)/tar && \
25951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25953 "RANLIB=$${RANLIB}" \
25954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25955 maintainer-clean) \
25956 || exit 1
25958 @endif tar
25962 .PHONY: configure-texinfo maybe-configure-texinfo
25963 maybe-configure-texinfo:
25964 @if gcc-bootstrap
25965 configure-texinfo: stage_current
25966 @endif gcc-bootstrap
25967 @if texinfo
25968 maybe-configure-texinfo: configure-texinfo
25969 configure-texinfo:
25970 @: $(MAKE); $(unstage)
25971 @r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25975 $(HOST_EXPORTS) \
25976 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25977 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25978 case $(srcdir) in \
25979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25980 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25982 esac; \
25983 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25984 libsrcdir="$$s/texinfo"; \
25985 $(SHELL) $${libsrcdir}/configure \
25986 $(HOST_CONFIGARGS) $${srcdiroption} \
25987 || exit 1
25988 @endif texinfo
25994 .PHONY: all-texinfo maybe-all-texinfo
25995 maybe-all-texinfo:
25996 @if gcc-bootstrap
25997 all-texinfo: stage_current
25998 @endif gcc-bootstrap
25999 @if texinfo
26000 TARGET-texinfo=all
26001 maybe-all-texinfo: all-texinfo
26002 all-texinfo: configure-texinfo
26003 @: $(MAKE); $(unstage)
26004 @r=`${PWD_COMMAND}`; export r; \
26005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26006 $(HOST_EXPORTS) \
26007 (cd $(HOST_SUBDIR)/texinfo && \
26008 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
26009 @endif texinfo
26014 .PHONY: check-texinfo maybe-check-texinfo
26015 maybe-check-texinfo:
26016 @if texinfo
26017 maybe-check-texinfo: check-texinfo
26019 check-texinfo:
26020 @: $(MAKE); $(unstage)
26021 @r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 $(HOST_EXPORTS) \
26024 (cd $(HOST_SUBDIR)/texinfo && \
26025 $(MAKE) $(FLAGS_TO_PASS) check)
26027 @endif texinfo
26029 .PHONY: install-texinfo maybe-install-texinfo
26030 maybe-install-texinfo:
26031 @if texinfo
26032 maybe-install-texinfo: install-texinfo
26034 install-texinfo:
26036 @endif texinfo
26038 # Other targets (info, dvi, etc.)
26040 .PHONY: maybe-info-texinfo info-texinfo
26041 maybe-info-texinfo:
26042 @if texinfo
26043 maybe-info-texinfo: info-texinfo
26045 info-texinfo: \
26046 configure-texinfo
26047 @: $(MAKE); $(unstage)
26048 @[ -f ./texinfo/Makefile ] || exit 0; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051 $(HOST_EXPORTS) \
26052 for flag in $(EXTRA_HOST_FLAGS) ; do \
26053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26054 done; \
26055 echo "Doing info in texinfo" ; \
26056 (cd $(HOST_SUBDIR)/texinfo && \
26057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26059 "RANLIB=$${RANLIB}" \
26060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26061 info) \
26062 || exit 1
26064 @endif texinfo
26066 .PHONY: maybe-dvi-texinfo dvi-texinfo
26067 maybe-dvi-texinfo:
26068 @if texinfo
26069 maybe-dvi-texinfo: dvi-texinfo
26071 dvi-texinfo: \
26072 configure-texinfo
26073 @: $(MAKE); $(unstage)
26074 @[ -f ./texinfo/Makefile ] || exit 0; \
26075 r=`${PWD_COMMAND}`; export r; \
26076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26077 $(HOST_EXPORTS) \
26078 for flag in $(EXTRA_HOST_FLAGS) ; do \
26079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26080 done; \
26081 echo "Doing dvi in texinfo" ; \
26082 (cd $(HOST_SUBDIR)/texinfo && \
26083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26085 "RANLIB=$${RANLIB}" \
26086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26087 dvi) \
26088 || exit 1
26090 @endif texinfo
26092 .PHONY: maybe-html-texinfo html-texinfo
26093 maybe-html-texinfo:
26094 @if texinfo
26095 maybe-html-texinfo: html-texinfo
26097 html-texinfo: \
26098 configure-texinfo
26099 @: $(MAKE); $(unstage)
26100 @[ -f ./texinfo/Makefile ] || exit 0; \
26101 r=`${PWD_COMMAND}`; export r; \
26102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26103 $(HOST_EXPORTS) \
26104 for flag in $(EXTRA_HOST_FLAGS) ; do \
26105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26106 done; \
26107 echo "Doing html in texinfo" ; \
26108 (cd $(HOST_SUBDIR)/texinfo && \
26109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26111 "RANLIB=$${RANLIB}" \
26112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26113 html) \
26114 || exit 1
26116 @endif texinfo
26118 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26119 maybe-TAGS-texinfo:
26120 @if texinfo
26121 maybe-TAGS-texinfo: TAGS-texinfo
26123 TAGS-texinfo: \
26124 configure-texinfo
26125 @: $(MAKE); $(unstage)
26126 @[ -f ./texinfo/Makefile ] || exit 0; \
26127 r=`${PWD_COMMAND}`; export r; \
26128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26129 $(HOST_EXPORTS) \
26130 for flag in $(EXTRA_HOST_FLAGS) ; do \
26131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26132 done; \
26133 echo "Doing TAGS in texinfo" ; \
26134 (cd $(HOST_SUBDIR)/texinfo && \
26135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26137 "RANLIB=$${RANLIB}" \
26138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26139 TAGS) \
26140 || exit 1
26142 @endif texinfo
26144 .PHONY: maybe-install-info-texinfo install-info-texinfo
26145 maybe-install-info-texinfo:
26146 @if texinfo
26147 maybe-install-info-texinfo: install-info-texinfo
26149 install-info-texinfo: \
26150 configure-texinfo \
26151 info-texinfo
26152 @: $(MAKE); $(unstage)
26153 @[ -f ./texinfo/Makefile ] || exit 0; \
26154 r=`${PWD_COMMAND}`; export r; \
26155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26156 $(HOST_EXPORTS) \
26157 for flag in $(EXTRA_HOST_FLAGS) ; do \
26158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26159 done; \
26160 echo "Doing install-info in texinfo" ; \
26161 (cd $(HOST_SUBDIR)/texinfo && \
26162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26164 "RANLIB=$${RANLIB}" \
26165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26166 install-info) \
26167 || exit 1
26169 @endif texinfo
26171 .PHONY: maybe-install-html-texinfo install-html-texinfo
26172 maybe-install-html-texinfo:
26173 @if texinfo
26174 maybe-install-html-texinfo: install-html-texinfo
26176 install-html-texinfo: \
26177 configure-texinfo \
26178 html-texinfo
26179 @: $(MAKE); $(unstage)
26180 @[ -f ./texinfo/Makefile ] || exit 0; \
26181 r=`${PWD_COMMAND}`; export r; \
26182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26183 $(HOST_EXPORTS) \
26184 for flag in $(EXTRA_HOST_FLAGS) ; do \
26185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26186 done; \
26187 echo "Doing install-html in texinfo" ; \
26188 (cd $(HOST_SUBDIR)/texinfo && \
26189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26191 "RANLIB=$${RANLIB}" \
26192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26193 install-html) \
26194 || exit 1
26196 @endif texinfo
26198 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26199 maybe-installcheck-texinfo:
26200 @if texinfo
26201 maybe-installcheck-texinfo: installcheck-texinfo
26203 installcheck-texinfo: \
26204 configure-texinfo
26205 @: $(MAKE); $(unstage)
26206 @[ -f ./texinfo/Makefile ] || exit 0; \
26207 r=`${PWD_COMMAND}`; export r; \
26208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26209 $(HOST_EXPORTS) \
26210 for flag in $(EXTRA_HOST_FLAGS) ; do \
26211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26212 done; \
26213 echo "Doing installcheck in texinfo" ; \
26214 (cd $(HOST_SUBDIR)/texinfo && \
26215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26217 "RANLIB=$${RANLIB}" \
26218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26219 installcheck) \
26220 || exit 1
26222 @endif texinfo
26224 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26225 maybe-mostlyclean-texinfo:
26226 @if texinfo
26227 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26229 mostlyclean-texinfo:
26230 @: $(MAKE); $(unstage)
26231 @[ -f ./texinfo/Makefile ] || exit 0; \
26232 r=`${PWD_COMMAND}`; export r; \
26233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26234 $(HOST_EXPORTS) \
26235 for flag in $(EXTRA_HOST_FLAGS) ; do \
26236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26237 done; \
26238 echo "Doing mostlyclean in texinfo" ; \
26239 (cd $(HOST_SUBDIR)/texinfo && \
26240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26242 "RANLIB=$${RANLIB}" \
26243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26244 mostlyclean) \
26245 || exit 1
26247 @endif texinfo
26249 .PHONY: maybe-clean-texinfo clean-texinfo
26250 maybe-clean-texinfo:
26251 @if texinfo
26252 maybe-clean-texinfo: clean-texinfo
26254 clean-texinfo:
26255 @: $(MAKE); $(unstage)
26256 @[ -f ./texinfo/Makefile ] || exit 0; \
26257 r=`${PWD_COMMAND}`; export r; \
26258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26259 $(HOST_EXPORTS) \
26260 for flag in $(EXTRA_HOST_FLAGS) ; do \
26261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26262 done; \
26263 echo "Doing clean in texinfo" ; \
26264 (cd $(HOST_SUBDIR)/texinfo && \
26265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26267 "RANLIB=$${RANLIB}" \
26268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26269 clean) \
26270 || exit 1
26272 @endif texinfo
26274 .PHONY: maybe-distclean-texinfo distclean-texinfo
26275 maybe-distclean-texinfo:
26276 @if texinfo
26277 maybe-distclean-texinfo: distclean-texinfo
26279 distclean-texinfo:
26280 @: $(MAKE); $(unstage)
26281 @[ -f ./texinfo/Makefile ] || exit 0; \
26282 r=`${PWD_COMMAND}`; export r; \
26283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26284 $(HOST_EXPORTS) \
26285 for flag in $(EXTRA_HOST_FLAGS) ; do \
26286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26287 done; \
26288 echo "Doing distclean in texinfo" ; \
26289 (cd $(HOST_SUBDIR)/texinfo && \
26290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26292 "RANLIB=$${RANLIB}" \
26293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26294 distclean) \
26295 || exit 1
26297 @endif texinfo
26299 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26300 maybe-maintainer-clean-texinfo:
26301 @if texinfo
26302 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26304 maintainer-clean-texinfo:
26305 @: $(MAKE); $(unstage)
26306 @[ -f ./texinfo/Makefile ] || exit 0; \
26307 r=`${PWD_COMMAND}`; export r; \
26308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26309 $(HOST_EXPORTS) \
26310 for flag in $(EXTRA_HOST_FLAGS) ; do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 done; \
26313 echo "Doing maintainer-clean in texinfo" ; \
26314 (cd $(HOST_SUBDIR)/texinfo && \
26315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26317 "RANLIB=$${RANLIB}" \
26318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26319 maintainer-clean) \
26320 || exit 1
26322 @endif texinfo
26326 .PHONY: configure-textutils maybe-configure-textutils
26327 maybe-configure-textutils:
26328 @if gcc-bootstrap
26329 configure-textutils: stage_current
26330 @endif gcc-bootstrap
26331 @if textutils
26332 maybe-configure-textutils: configure-textutils
26333 configure-textutils:
26334 @: $(MAKE); $(unstage)
26335 @r=`${PWD_COMMAND}`; export r; \
26336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26337 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
26338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
26339 $(HOST_EXPORTS) \
26340 echo Configuring in $(HOST_SUBDIR)/textutils; \
26341 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
26342 case $(srcdir) in \
26343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26344 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
26345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26346 esac; \
26347 srcdiroption="--srcdir=$${topdir}/textutils"; \
26348 libsrcdir="$$s/textutils"; \
26349 $(SHELL) $${libsrcdir}/configure \
26350 $(HOST_CONFIGARGS) $${srcdiroption} \
26351 || exit 1
26352 @endif textutils
26358 .PHONY: all-textutils maybe-all-textutils
26359 maybe-all-textutils:
26360 @if gcc-bootstrap
26361 all-textutils: stage_current
26362 @endif gcc-bootstrap
26363 @if textutils
26364 TARGET-textutils=all
26365 maybe-all-textutils: all-textutils
26366 all-textutils: configure-textutils
26367 @: $(MAKE); $(unstage)
26368 @r=`${PWD_COMMAND}`; export r; \
26369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26370 $(HOST_EXPORTS) \
26371 (cd $(HOST_SUBDIR)/textutils && \
26372 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
26373 @endif textutils
26378 .PHONY: check-textutils maybe-check-textutils
26379 maybe-check-textutils:
26380 @if textutils
26381 maybe-check-textutils: check-textutils
26383 check-textutils:
26384 @: $(MAKE); $(unstage)
26385 @r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(HOST_EXPORTS) \
26388 (cd $(HOST_SUBDIR)/textutils && \
26389 $(MAKE) $(FLAGS_TO_PASS) check)
26391 @endif textutils
26393 .PHONY: install-textutils maybe-install-textutils
26394 maybe-install-textutils:
26395 @if textutils
26396 maybe-install-textutils: install-textutils
26398 install-textutils: installdirs
26399 @: $(MAKE); $(unstage)
26400 @r=`${PWD_COMMAND}`; export r; \
26401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26402 $(HOST_EXPORTS) \
26403 (cd $(HOST_SUBDIR)/textutils && \
26404 $(MAKE) $(FLAGS_TO_PASS) install)
26406 @endif textutils
26408 # Other targets (info, dvi, etc.)
26410 .PHONY: maybe-info-textutils info-textutils
26411 maybe-info-textutils:
26412 @if textutils
26413 maybe-info-textutils: info-textutils
26415 info-textutils: \
26416 configure-textutils
26417 @: $(MAKE); $(unstage)
26418 @[ -f ./textutils/Makefile ] || exit 0; \
26419 r=`${PWD_COMMAND}`; export r; \
26420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26421 $(HOST_EXPORTS) \
26422 for flag in $(EXTRA_HOST_FLAGS) ; do \
26423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26424 done; \
26425 echo "Doing info in textutils" ; \
26426 (cd $(HOST_SUBDIR)/textutils && \
26427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26429 "RANLIB=$${RANLIB}" \
26430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26431 info) \
26432 || exit 1
26434 @endif textutils
26436 .PHONY: maybe-dvi-textutils dvi-textutils
26437 maybe-dvi-textutils:
26438 @if textutils
26439 maybe-dvi-textutils: dvi-textutils
26441 dvi-textutils: \
26442 configure-textutils
26443 @: $(MAKE); $(unstage)
26444 @[ -f ./textutils/Makefile ] || exit 0; \
26445 r=`${PWD_COMMAND}`; export r; \
26446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26447 $(HOST_EXPORTS) \
26448 for flag in $(EXTRA_HOST_FLAGS) ; do \
26449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26450 done; \
26451 echo "Doing dvi in textutils" ; \
26452 (cd $(HOST_SUBDIR)/textutils && \
26453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26455 "RANLIB=$${RANLIB}" \
26456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26457 dvi) \
26458 || exit 1
26460 @endif textutils
26462 .PHONY: maybe-html-textutils html-textutils
26463 maybe-html-textutils:
26464 @if textutils
26465 maybe-html-textutils: html-textutils
26467 html-textutils: \
26468 configure-textutils
26469 @: $(MAKE); $(unstage)
26470 @[ -f ./textutils/Makefile ] || exit 0; \
26471 r=`${PWD_COMMAND}`; export r; \
26472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26473 $(HOST_EXPORTS) \
26474 for flag in $(EXTRA_HOST_FLAGS) ; do \
26475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26476 done; \
26477 echo "Doing html in textutils" ; \
26478 (cd $(HOST_SUBDIR)/textutils && \
26479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26481 "RANLIB=$${RANLIB}" \
26482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26483 html) \
26484 || exit 1
26486 @endif textutils
26488 .PHONY: maybe-TAGS-textutils TAGS-textutils
26489 maybe-TAGS-textutils:
26490 @if textutils
26491 maybe-TAGS-textutils: TAGS-textutils
26493 TAGS-textutils: \
26494 configure-textutils
26495 @: $(MAKE); $(unstage)
26496 @[ -f ./textutils/Makefile ] || exit 0; \
26497 r=`${PWD_COMMAND}`; export r; \
26498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26499 $(HOST_EXPORTS) \
26500 for flag in $(EXTRA_HOST_FLAGS) ; do \
26501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26502 done; \
26503 echo "Doing TAGS in textutils" ; \
26504 (cd $(HOST_SUBDIR)/textutils && \
26505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26507 "RANLIB=$${RANLIB}" \
26508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26509 TAGS) \
26510 || exit 1
26512 @endif textutils
26514 .PHONY: maybe-install-info-textutils install-info-textutils
26515 maybe-install-info-textutils:
26516 @if textutils
26517 maybe-install-info-textutils: install-info-textutils
26519 install-info-textutils: \
26520 configure-textutils \
26521 info-textutils
26522 @: $(MAKE); $(unstage)
26523 @[ -f ./textutils/Makefile ] || exit 0; \
26524 r=`${PWD_COMMAND}`; export r; \
26525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26526 $(HOST_EXPORTS) \
26527 for flag in $(EXTRA_HOST_FLAGS) ; do \
26528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26529 done; \
26530 echo "Doing install-info in textutils" ; \
26531 (cd $(HOST_SUBDIR)/textutils && \
26532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26534 "RANLIB=$${RANLIB}" \
26535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26536 install-info) \
26537 || exit 1
26539 @endif textutils
26541 .PHONY: maybe-install-html-textutils install-html-textutils
26542 maybe-install-html-textutils:
26543 @if textutils
26544 maybe-install-html-textutils: install-html-textutils
26546 install-html-textutils: \
26547 configure-textutils \
26548 html-textutils
26549 @: $(MAKE); $(unstage)
26550 @[ -f ./textutils/Makefile ] || exit 0; \
26551 r=`${PWD_COMMAND}`; export r; \
26552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 $(HOST_EXPORTS) \
26554 for flag in $(EXTRA_HOST_FLAGS) ; do \
26555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26556 done; \
26557 echo "Doing install-html in textutils" ; \
26558 (cd $(HOST_SUBDIR)/textutils && \
26559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26561 "RANLIB=$${RANLIB}" \
26562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26563 install-html) \
26564 || exit 1
26566 @endif textutils
26568 .PHONY: maybe-installcheck-textutils installcheck-textutils
26569 maybe-installcheck-textutils:
26570 @if textutils
26571 maybe-installcheck-textutils: installcheck-textutils
26573 installcheck-textutils: \
26574 configure-textutils
26575 @: $(MAKE); $(unstage)
26576 @[ -f ./textutils/Makefile ] || exit 0; \
26577 r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 $(HOST_EXPORTS) \
26580 for flag in $(EXTRA_HOST_FLAGS) ; do \
26581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26582 done; \
26583 echo "Doing installcheck in textutils" ; \
26584 (cd $(HOST_SUBDIR)/textutils && \
26585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26587 "RANLIB=$${RANLIB}" \
26588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26589 installcheck) \
26590 || exit 1
26592 @endif textutils
26594 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
26595 maybe-mostlyclean-textutils:
26596 @if textutils
26597 maybe-mostlyclean-textutils: mostlyclean-textutils
26599 mostlyclean-textutils:
26600 @: $(MAKE); $(unstage)
26601 @[ -f ./textutils/Makefile ] || exit 0; \
26602 r=`${PWD_COMMAND}`; export r; \
26603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26604 $(HOST_EXPORTS) \
26605 for flag in $(EXTRA_HOST_FLAGS) ; do \
26606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26607 done; \
26608 echo "Doing mostlyclean in textutils" ; \
26609 (cd $(HOST_SUBDIR)/textutils && \
26610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26612 "RANLIB=$${RANLIB}" \
26613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26614 mostlyclean) \
26615 || exit 1
26617 @endif textutils
26619 .PHONY: maybe-clean-textutils clean-textutils
26620 maybe-clean-textutils:
26621 @if textutils
26622 maybe-clean-textutils: clean-textutils
26624 clean-textutils:
26625 @: $(MAKE); $(unstage)
26626 @[ -f ./textutils/Makefile ] || exit 0; \
26627 r=`${PWD_COMMAND}`; export r; \
26628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26629 $(HOST_EXPORTS) \
26630 for flag in $(EXTRA_HOST_FLAGS) ; do \
26631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26632 done; \
26633 echo "Doing clean in textutils" ; \
26634 (cd $(HOST_SUBDIR)/textutils && \
26635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26637 "RANLIB=$${RANLIB}" \
26638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26639 clean) \
26640 || exit 1
26642 @endif textutils
26644 .PHONY: maybe-distclean-textutils distclean-textutils
26645 maybe-distclean-textutils:
26646 @if textutils
26647 maybe-distclean-textutils: distclean-textutils
26649 distclean-textutils:
26650 @: $(MAKE); $(unstage)
26651 @[ -f ./textutils/Makefile ] || exit 0; \
26652 r=`${PWD_COMMAND}`; export r; \
26653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26654 $(HOST_EXPORTS) \
26655 for flag in $(EXTRA_HOST_FLAGS) ; do \
26656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26657 done; \
26658 echo "Doing distclean in textutils" ; \
26659 (cd $(HOST_SUBDIR)/textutils && \
26660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26662 "RANLIB=$${RANLIB}" \
26663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26664 distclean) \
26665 || exit 1
26667 @endif textutils
26669 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
26670 maybe-maintainer-clean-textutils:
26671 @if textutils
26672 maybe-maintainer-clean-textutils: maintainer-clean-textutils
26674 maintainer-clean-textutils:
26675 @: $(MAKE); $(unstage)
26676 @[ -f ./textutils/Makefile ] || exit 0; \
26677 r=`${PWD_COMMAND}`; export r; \
26678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26679 $(HOST_EXPORTS) \
26680 for flag in $(EXTRA_HOST_FLAGS) ; do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682 done; \
26683 echo "Doing maintainer-clean in textutils" ; \
26684 (cd $(HOST_SUBDIR)/textutils && \
26685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26687 "RANLIB=$${RANLIB}" \
26688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26689 maintainer-clean) \
26690 || exit 1
26692 @endif textutils
26696 .PHONY: configure-time maybe-configure-time
26697 maybe-configure-time:
26698 @if gcc-bootstrap
26699 configure-time: stage_current
26700 @endif gcc-bootstrap
26701 @if time
26702 maybe-configure-time: configure-time
26703 configure-time:
26704 @: $(MAKE); $(unstage)
26705 @r=`${PWD_COMMAND}`; export r; \
26706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26707 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
26708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
26709 $(HOST_EXPORTS) \
26710 echo Configuring in $(HOST_SUBDIR)/time; \
26711 cd "$(HOST_SUBDIR)/time" || exit 1; \
26712 case $(srcdir) in \
26713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26714 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
26715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26716 esac; \
26717 srcdiroption="--srcdir=$${topdir}/time"; \
26718 libsrcdir="$$s/time"; \
26719 $(SHELL) $${libsrcdir}/configure \
26720 $(HOST_CONFIGARGS) $${srcdiroption} \
26721 || exit 1
26722 @endif time
26728 .PHONY: all-time maybe-all-time
26729 maybe-all-time:
26730 @if gcc-bootstrap
26731 all-time: stage_current
26732 @endif gcc-bootstrap
26733 @if time
26734 TARGET-time=all
26735 maybe-all-time: all-time
26736 all-time: configure-time
26737 @: $(MAKE); $(unstage)
26738 @r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 $(HOST_EXPORTS) \
26741 (cd $(HOST_SUBDIR)/time && \
26742 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
26743 @endif time
26748 .PHONY: check-time maybe-check-time
26749 maybe-check-time:
26750 @if time
26751 maybe-check-time: check-time
26753 check-time:
26754 @: $(MAKE); $(unstage)
26755 @r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(HOST_EXPORTS) \
26758 (cd $(HOST_SUBDIR)/time && \
26759 $(MAKE) $(FLAGS_TO_PASS) check)
26761 @endif time
26763 .PHONY: install-time maybe-install-time
26764 maybe-install-time:
26765 @if time
26766 maybe-install-time: install-time
26768 install-time: installdirs
26769 @: $(MAKE); $(unstage)
26770 @r=`${PWD_COMMAND}`; export r; \
26771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26772 $(HOST_EXPORTS) \
26773 (cd $(HOST_SUBDIR)/time && \
26774 $(MAKE) $(FLAGS_TO_PASS) install)
26776 @endif time
26778 # Other targets (info, dvi, etc.)
26780 .PHONY: maybe-info-time info-time
26781 maybe-info-time:
26782 @if time
26783 maybe-info-time: info-time
26785 info-time: \
26786 configure-time
26787 @: $(MAKE); $(unstage)
26788 @[ -f ./time/Makefile ] || exit 0; \
26789 r=`${PWD_COMMAND}`; export r; \
26790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26791 $(HOST_EXPORTS) \
26792 for flag in $(EXTRA_HOST_FLAGS) ; do \
26793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26794 done; \
26795 echo "Doing info in time" ; \
26796 (cd $(HOST_SUBDIR)/time && \
26797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26799 "RANLIB=$${RANLIB}" \
26800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26801 info) \
26802 || exit 1
26804 @endif time
26806 .PHONY: maybe-dvi-time dvi-time
26807 maybe-dvi-time:
26808 @if time
26809 maybe-dvi-time: dvi-time
26811 dvi-time: \
26812 configure-time
26813 @: $(MAKE); $(unstage)
26814 @[ -f ./time/Makefile ] || exit 0; \
26815 r=`${PWD_COMMAND}`; export r; \
26816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26817 $(HOST_EXPORTS) \
26818 for flag in $(EXTRA_HOST_FLAGS) ; do \
26819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26820 done; \
26821 echo "Doing dvi in time" ; \
26822 (cd $(HOST_SUBDIR)/time && \
26823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26825 "RANLIB=$${RANLIB}" \
26826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26827 dvi) \
26828 || exit 1
26830 @endif time
26832 .PHONY: maybe-html-time html-time
26833 maybe-html-time:
26834 @if time
26835 maybe-html-time: html-time
26837 html-time: \
26838 configure-time
26839 @: $(MAKE); $(unstage)
26840 @[ -f ./time/Makefile ] || exit 0; \
26841 r=`${PWD_COMMAND}`; export r; \
26842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26843 $(HOST_EXPORTS) \
26844 for flag in $(EXTRA_HOST_FLAGS) ; do \
26845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26846 done; \
26847 echo "Doing html in time" ; \
26848 (cd $(HOST_SUBDIR)/time && \
26849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26851 "RANLIB=$${RANLIB}" \
26852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26853 html) \
26854 || exit 1
26856 @endif time
26858 .PHONY: maybe-TAGS-time TAGS-time
26859 maybe-TAGS-time:
26860 @if time
26861 maybe-TAGS-time: TAGS-time
26863 TAGS-time: \
26864 configure-time
26865 @: $(MAKE); $(unstage)
26866 @[ -f ./time/Makefile ] || exit 0; \
26867 r=`${PWD_COMMAND}`; export r; \
26868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26869 $(HOST_EXPORTS) \
26870 for flag in $(EXTRA_HOST_FLAGS) ; do \
26871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26872 done; \
26873 echo "Doing TAGS in time" ; \
26874 (cd $(HOST_SUBDIR)/time && \
26875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26877 "RANLIB=$${RANLIB}" \
26878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26879 TAGS) \
26880 || exit 1
26882 @endif time
26884 .PHONY: maybe-install-info-time install-info-time
26885 maybe-install-info-time:
26886 @if time
26887 maybe-install-info-time: install-info-time
26889 install-info-time: \
26890 configure-time \
26891 info-time
26892 @: $(MAKE); $(unstage)
26893 @[ -f ./time/Makefile ] || exit 0; \
26894 r=`${PWD_COMMAND}`; export r; \
26895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26896 $(HOST_EXPORTS) \
26897 for flag in $(EXTRA_HOST_FLAGS) ; do \
26898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26899 done; \
26900 echo "Doing install-info in time" ; \
26901 (cd $(HOST_SUBDIR)/time && \
26902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26904 "RANLIB=$${RANLIB}" \
26905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26906 install-info) \
26907 || exit 1
26909 @endif time
26911 .PHONY: maybe-install-html-time install-html-time
26912 maybe-install-html-time:
26913 @if time
26914 maybe-install-html-time: install-html-time
26916 install-html-time: \
26917 configure-time \
26918 html-time
26919 @: $(MAKE); $(unstage)
26920 @[ -f ./time/Makefile ] || exit 0; \
26921 r=`${PWD_COMMAND}`; export r; \
26922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26923 $(HOST_EXPORTS) \
26924 for flag in $(EXTRA_HOST_FLAGS) ; do \
26925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26926 done; \
26927 echo "Doing install-html in time" ; \
26928 (cd $(HOST_SUBDIR)/time && \
26929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26931 "RANLIB=$${RANLIB}" \
26932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26933 install-html) \
26934 || exit 1
26936 @endif time
26938 .PHONY: maybe-installcheck-time installcheck-time
26939 maybe-installcheck-time:
26940 @if time
26941 maybe-installcheck-time: installcheck-time
26943 installcheck-time: \
26944 configure-time
26945 @: $(MAKE); $(unstage)
26946 @[ -f ./time/Makefile ] || exit 0; \
26947 r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 $(HOST_EXPORTS) \
26950 for flag in $(EXTRA_HOST_FLAGS) ; do \
26951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26952 done; \
26953 echo "Doing installcheck in time" ; \
26954 (cd $(HOST_SUBDIR)/time && \
26955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26957 "RANLIB=$${RANLIB}" \
26958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26959 installcheck) \
26960 || exit 1
26962 @endif time
26964 .PHONY: maybe-mostlyclean-time mostlyclean-time
26965 maybe-mostlyclean-time:
26966 @if time
26967 maybe-mostlyclean-time: mostlyclean-time
26969 mostlyclean-time:
26970 @: $(MAKE); $(unstage)
26971 @[ -f ./time/Makefile ] || exit 0; \
26972 r=`${PWD_COMMAND}`; export r; \
26973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26974 $(HOST_EXPORTS) \
26975 for flag in $(EXTRA_HOST_FLAGS) ; do \
26976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26977 done; \
26978 echo "Doing mostlyclean in time" ; \
26979 (cd $(HOST_SUBDIR)/time && \
26980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26982 "RANLIB=$${RANLIB}" \
26983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26984 mostlyclean) \
26985 || exit 1
26987 @endif time
26989 .PHONY: maybe-clean-time clean-time
26990 maybe-clean-time:
26991 @if time
26992 maybe-clean-time: clean-time
26994 clean-time:
26995 @: $(MAKE); $(unstage)
26996 @[ -f ./time/Makefile ] || exit 0; \
26997 r=`${PWD_COMMAND}`; export r; \
26998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26999 $(HOST_EXPORTS) \
27000 for flag in $(EXTRA_HOST_FLAGS) ; do \
27001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27002 done; \
27003 echo "Doing clean in time" ; \
27004 (cd $(HOST_SUBDIR)/time && \
27005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27007 "RANLIB=$${RANLIB}" \
27008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27009 clean) \
27010 || exit 1
27012 @endif time
27014 .PHONY: maybe-distclean-time distclean-time
27015 maybe-distclean-time:
27016 @if time
27017 maybe-distclean-time: distclean-time
27019 distclean-time:
27020 @: $(MAKE); $(unstage)
27021 @[ -f ./time/Makefile ] || exit 0; \
27022 r=`${PWD_COMMAND}`; export r; \
27023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 $(HOST_EXPORTS) \
27025 for flag in $(EXTRA_HOST_FLAGS) ; do \
27026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027 done; \
27028 echo "Doing distclean in time" ; \
27029 (cd $(HOST_SUBDIR)/time && \
27030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27032 "RANLIB=$${RANLIB}" \
27033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27034 distclean) \
27035 || exit 1
27037 @endif time
27039 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
27040 maybe-maintainer-clean-time:
27041 @if time
27042 maybe-maintainer-clean-time: maintainer-clean-time
27044 maintainer-clean-time:
27045 @: $(MAKE); $(unstage)
27046 @[ -f ./time/Makefile ] || exit 0; \
27047 r=`${PWD_COMMAND}`; export r; \
27048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27049 $(HOST_EXPORTS) \
27050 for flag in $(EXTRA_HOST_FLAGS) ; do \
27051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27052 done; \
27053 echo "Doing maintainer-clean in time" ; \
27054 (cd $(HOST_SUBDIR)/time && \
27055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27057 "RANLIB=$${RANLIB}" \
27058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27059 maintainer-clean) \
27060 || exit 1
27062 @endif time
27066 .PHONY: configure-uudecode maybe-configure-uudecode
27067 maybe-configure-uudecode:
27068 @if gcc-bootstrap
27069 configure-uudecode: stage_current
27070 @endif gcc-bootstrap
27071 @if uudecode
27072 maybe-configure-uudecode: configure-uudecode
27073 configure-uudecode:
27074 @: $(MAKE); $(unstage)
27075 @r=`${PWD_COMMAND}`; export r; \
27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
27078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
27079 $(HOST_EXPORTS) \
27080 echo Configuring in $(HOST_SUBDIR)/uudecode; \
27081 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
27082 case $(srcdir) in \
27083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27084 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
27085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27086 esac; \
27087 srcdiroption="--srcdir=$${topdir}/uudecode"; \
27088 libsrcdir="$$s/uudecode"; \
27089 $(SHELL) $${libsrcdir}/configure \
27090 $(HOST_CONFIGARGS) $${srcdiroption} \
27091 || exit 1
27092 @endif uudecode
27098 .PHONY: all-uudecode maybe-all-uudecode
27099 maybe-all-uudecode:
27100 @if gcc-bootstrap
27101 all-uudecode: stage_current
27102 @endif gcc-bootstrap
27103 @if uudecode
27104 TARGET-uudecode=all
27105 maybe-all-uudecode: all-uudecode
27106 all-uudecode: configure-uudecode
27107 @: $(MAKE); $(unstage)
27108 @r=`${PWD_COMMAND}`; export r; \
27109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27110 $(HOST_EXPORTS) \
27111 (cd $(HOST_SUBDIR)/uudecode && \
27112 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
27113 @endif uudecode
27118 .PHONY: check-uudecode maybe-check-uudecode
27119 maybe-check-uudecode:
27120 @if uudecode
27121 maybe-check-uudecode: check-uudecode
27123 check-uudecode:
27124 @: $(MAKE); $(unstage)
27125 @r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27127 $(HOST_EXPORTS) \
27128 (cd $(HOST_SUBDIR)/uudecode && \
27129 $(MAKE) $(FLAGS_TO_PASS) check)
27131 @endif uudecode
27133 .PHONY: install-uudecode maybe-install-uudecode
27134 maybe-install-uudecode:
27135 @if uudecode
27136 maybe-install-uudecode: install-uudecode
27138 install-uudecode: installdirs
27139 @: $(MAKE); $(unstage)
27140 @r=`${PWD_COMMAND}`; export r; \
27141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27142 $(HOST_EXPORTS) \
27143 (cd $(HOST_SUBDIR)/uudecode && \
27144 $(MAKE) $(FLAGS_TO_PASS) install)
27146 @endif uudecode
27148 # Other targets (info, dvi, etc.)
27150 .PHONY: maybe-info-uudecode info-uudecode
27151 maybe-info-uudecode:
27152 @if uudecode
27153 maybe-info-uudecode: info-uudecode
27155 info-uudecode: \
27156 configure-uudecode
27157 @: $(MAKE); $(unstage)
27158 @[ -f ./uudecode/Makefile ] || exit 0; \
27159 r=`${PWD_COMMAND}`; export r; \
27160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27161 $(HOST_EXPORTS) \
27162 for flag in $(EXTRA_HOST_FLAGS) ; do \
27163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27164 done; \
27165 echo "Doing info in uudecode" ; \
27166 (cd $(HOST_SUBDIR)/uudecode && \
27167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27169 "RANLIB=$${RANLIB}" \
27170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27171 info) \
27172 || exit 1
27174 @endif uudecode
27176 .PHONY: maybe-dvi-uudecode dvi-uudecode
27177 maybe-dvi-uudecode:
27178 @if uudecode
27179 maybe-dvi-uudecode: dvi-uudecode
27181 dvi-uudecode: \
27182 configure-uudecode
27183 @: $(MAKE); $(unstage)
27184 @[ -f ./uudecode/Makefile ] || exit 0; \
27185 r=`${PWD_COMMAND}`; export r; \
27186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27187 $(HOST_EXPORTS) \
27188 for flag in $(EXTRA_HOST_FLAGS) ; do \
27189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27190 done; \
27191 echo "Doing dvi in uudecode" ; \
27192 (cd $(HOST_SUBDIR)/uudecode && \
27193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27195 "RANLIB=$${RANLIB}" \
27196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27197 dvi) \
27198 || exit 1
27200 @endif uudecode
27202 .PHONY: maybe-html-uudecode html-uudecode
27203 maybe-html-uudecode:
27204 @if uudecode
27205 maybe-html-uudecode: html-uudecode
27207 html-uudecode: \
27208 configure-uudecode
27209 @: $(MAKE); $(unstage)
27210 @[ -f ./uudecode/Makefile ] || exit 0; \
27211 r=`${PWD_COMMAND}`; export r; \
27212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27213 $(HOST_EXPORTS) \
27214 for flag in $(EXTRA_HOST_FLAGS) ; do \
27215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27216 done; \
27217 echo "Doing html in uudecode" ; \
27218 (cd $(HOST_SUBDIR)/uudecode && \
27219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27221 "RANLIB=$${RANLIB}" \
27222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27223 html) \
27224 || exit 1
27226 @endif uudecode
27228 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
27229 maybe-TAGS-uudecode:
27230 @if uudecode
27231 maybe-TAGS-uudecode: TAGS-uudecode
27233 TAGS-uudecode: \
27234 configure-uudecode
27235 @: $(MAKE); $(unstage)
27236 @[ -f ./uudecode/Makefile ] || exit 0; \
27237 r=`${PWD_COMMAND}`; export r; \
27238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27239 $(HOST_EXPORTS) \
27240 for flag in $(EXTRA_HOST_FLAGS) ; do \
27241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27242 done; \
27243 echo "Doing TAGS in uudecode" ; \
27244 (cd $(HOST_SUBDIR)/uudecode && \
27245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27247 "RANLIB=$${RANLIB}" \
27248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27249 TAGS) \
27250 || exit 1
27252 @endif uudecode
27254 .PHONY: maybe-install-info-uudecode install-info-uudecode
27255 maybe-install-info-uudecode:
27256 @if uudecode
27257 maybe-install-info-uudecode: install-info-uudecode
27259 install-info-uudecode: \
27260 configure-uudecode \
27261 info-uudecode
27262 @: $(MAKE); $(unstage)
27263 @[ -f ./uudecode/Makefile ] || exit 0; \
27264 r=`${PWD_COMMAND}`; export r; \
27265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27266 $(HOST_EXPORTS) \
27267 for flag in $(EXTRA_HOST_FLAGS) ; do \
27268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27269 done; \
27270 echo "Doing install-info in uudecode" ; \
27271 (cd $(HOST_SUBDIR)/uudecode && \
27272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27274 "RANLIB=$${RANLIB}" \
27275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27276 install-info) \
27277 || exit 1
27279 @endif uudecode
27281 .PHONY: maybe-install-html-uudecode install-html-uudecode
27282 maybe-install-html-uudecode:
27283 @if uudecode
27284 maybe-install-html-uudecode: install-html-uudecode
27286 install-html-uudecode: \
27287 configure-uudecode \
27288 html-uudecode
27289 @: $(MAKE); $(unstage)
27290 @[ -f ./uudecode/Makefile ] || exit 0; \
27291 r=`${PWD_COMMAND}`; export r; \
27292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27293 $(HOST_EXPORTS) \
27294 for flag in $(EXTRA_HOST_FLAGS) ; do \
27295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27296 done; \
27297 echo "Doing install-html in uudecode" ; \
27298 (cd $(HOST_SUBDIR)/uudecode && \
27299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27301 "RANLIB=$${RANLIB}" \
27302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27303 install-html) \
27304 || exit 1
27306 @endif uudecode
27308 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
27309 maybe-installcheck-uudecode:
27310 @if uudecode
27311 maybe-installcheck-uudecode: installcheck-uudecode
27313 installcheck-uudecode: \
27314 configure-uudecode
27315 @: $(MAKE); $(unstage)
27316 @[ -f ./uudecode/Makefile ] || exit 0; \
27317 r=`${PWD_COMMAND}`; export r; \
27318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27319 $(HOST_EXPORTS) \
27320 for flag in $(EXTRA_HOST_FLAGS) ; do \
27321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27322 done; \
27323 echo "Doing installcheck in uudecode" ; \
27324 (cd $(HOST_SUBDIR)/uudecode && \
27325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27327 "RANLIB=$${RANLIB}" \
27328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27329 installcheck) \
27330 || exit 1
27332 @endif uudecode
27334 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
27335 maybe-mostlyclean-uudecode:
27336 @if uudecode
27337 maybe-mostlyclean-uudecode: mostlyclean-uudecode
27339 mostlyclean-uudecode:
27340 @: $(MAKE); $(unstage)
27341 @[ -f ./uudecode/Makefile ] || exit 0; \
27342 r=`${PWD_COMMAND}`; export r; \
27343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27344 $(HOST_EXPORTS) \
27345 for flag in $(EXTRA_HOST_FLAGS) ; do \
27346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27347 done; \
27348 echo "Doing mostlyclean in uudecode" ; \
27349 (cd $(HOST_SUBDIR)/uudecode && \
27350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27352 "RANLIB=$${RANLIB}" \
27353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27354 mostlyclean) \
27355 || exit 1
27357 @endif uudecode
27359 .PHONY: maybe-clean-uudecode clean-uudecode
27360 maybe-clean-uudecode:
27361 @if uudecode
27362 maybe-clean-uudecode: clean-uudecode
27364 clean-uudecode:
27365 @: $(MAKE); $(unstage)
27366 @[ -f ./uudecode/Makefile ] || exit 0; \
27367 r=`${PWD_COMMAND}`; export r; \
27368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27369 $(HOST_EXPORTS) \
27370 for flag in $(EXTRA_HOST_FLAGS) ; do \
27371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27372 done; \
27373 echo "Doing clean in uudecode" ; \
27374 (cd $(HOST_SUBDIR)/uudecode && \
27375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27377 "RANLIB=$${RANLIB}" \
27378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27379 clean) \
27380 || exit 1
27382 @endif uudecode
27384 .PHONY: maybe-distclean-uudecode distclean-uudecode
27385 maybe-distclean-uudecode:
27386 @if uudecode
27387 maybe-distclean-uudecode: distclean-uudecode
27389 distclean-uudecode:
27390 @: $(MAKE); $(unstage)
27391 @[ -f ./uudecode/Makefile ] || exit 0; \
27392 r=`${PWD_COMMAND}`; export r; \
27393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27394 $(HOST_EXPORTS) \
27395 for flag in $(EXTRA_HOST_FLAGS) ; do \
27396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27397 done; \
27398 echo "Doing distclean in uudecode" ; \
27399 (cd $(HOST_SUBDIR)/uudecode && \
27400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27402 "RANLIB=$${RANLIB}" \
27403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27404 distclean) \
27405 || exit 1
27407 @endif uudecode
27409 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
27410 maybe-maintainer-clean-uudecode:
27411 @if uudecode
27412 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
27414 maintainer-clean-uudecode:
27415 @: $(MAKE); $(unstage)
27416 @[ -f ./uudecode/Makefile ] || exit 0; \
27417 r=`${PWD_COMMAND}`; export r; \
27418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27419 $(HOST_EXPORTS) \
27420 for flag in $(EXTRA_HOST_FLAGS) ; do \
27421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27422 done; \
27423 echo "Doing maintainer-clean in uudecode" ; \
27424 (cd $(HOST_SUBDIR)/uudecode && \
27425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27427 "RANLIB=$${RANLIB}" \
27428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27429 maintainer-clean) \
27430 || exit 1
27432 @endif uudecode
27436 .PHONY: configure-wdiff maybe-configure-wdiff
27437 maybe-configure-wdiff:
27438 @if gcc-bootstrap
27439 configure-wdiff: stage_current
27440 @endif gcc-bootstrap
27441 @if wdiff
27442 maybe-configure-wdiff: configure-wdiff
27443 configure-wdiff:
27444 @: $(MAKE); $(unstage)
27445 @r=`${PWD_COMMAND}`; export r; \
27446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27447 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
27448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
27449 $(HOST_EXPORTS) \
27450 echo Configuring in $(HOST_SUBDIR)/wdiff; \
27451 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
27452 case $(srcdir) in \
27453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27454 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
27455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27456 esac; \
27457 srcdiroption="--srcdir=$${topdir}/wdiff"; \
27458 libsrcdir="$$s/wdiff"; \
27459 $(SHELL) $${libsrcdir}/configure \
27460 $(HOST_CONFIGARGS) $${srcdiroption} \
27461 || exit 1
27462 @endif wdiff
27468 .PHONY: all-wdiff maybe-all-wdiff
27469 maybe-all-wdiff:
27470 @if gcc-bootstrap
27471 all-wdiff: stage_current
27472 @endif gcc-bootstrap
27473 @if wdiff
27474 TARGET-wdiff=all
27475 maybe-all-wdiff: all-wdiff
27476 all-wdiff: configure-wdiff
27477 @: $(MAKE); $(unstage)
27478 @r=`${PWD_COMMAND}`; export r; \
27479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27480 $(HOST_EXPORTS) \
27481 (cd $(HOST_SUBDIR)/wdiff && \
27482 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
27483 @endif wdiff
27488 .PHONY: check-wdiff maybe-check-wdiff
27489 maybe-check-wdiff:
27490 @if wdiff
27491 maybe-check-wdiff: check-wdiff
27493 check-wdiff:
27494 @: $(MAKE); $(unstage)
27495 @r=`${PWD_COMMAND}`; export r; \
27496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27497 $(HOST_EXPORTS) \
27498 (cd $(HOST_SUBDIR)/wdiff && \
27499 $(MAKE) $(FLAGS_TO_PASS) check)
27501 @endif wdiff
27503 .PHONY: install-wdiff maybe-install-wdiff
27504 maybe-install-wdiff:
27505 @if wdiff
27506 maybe-install-wdiff: install-wdiff
27508 install-wdiff: installdirs
27509 @: $(MAKE); $(unstage)
27510 @r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(HOST_EXPORTS) \
27513 (cd $(HOST_SUBDIR)/wdiff && \
27514 $(MAKE) $(FLAGS_TO_PASS) install)
27516 @endif wdiff
27518 # Other targets (info, dvi, etc.)
27520 .PHONY: maybe-info-wdiff info-wdiff
27521 maybe-info-wdiff:
27522 @if wdiff
27523 maybe-info-wdiff: info-wdiff
27525 info-wdiff: \
27526 configure-wdiff
27527 @: $(MAKE); $(unstage)
27528 @[ -f ./wdiff/Makefile ] || exit 0; \
27529 r=`${PWD_COMMAND}`; export r; \
27530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27531 $(HOST_EXPORTS) \
27532 for flag in $(EXTRA_HOST_FLAGS) ; do \
27533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27534 done; \
27535 echo "Doing info in wdiff" ; \
27536 (cd $(HOST_SUBDIR)/wdiff && \
27537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27539 "RANLIB=$${RANLIB}" \
27540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27541 info) \
27542 || exit 1
27544 @endif wdiff
27546 .PHONY: maybe-dvi-wdiff dvi-wdiff
27547 maybe-dvi-wdiff:
27548 @if wdiff
27549 maybe-dvi-wdiff: dvi-wdiff
27551 dvi-wdiff: \
27552 configure-wdiff
27553 @: $(MAKE); $(unstage)
27554 @[ -f ./wdiff/Makefile ] || exit 0; \
27555 r=`${PWD_COMMAND}`; export r; \
27556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27557 $(HOST_EXPORTS) \
27558 for flag in $(EXTRA_HOST_FLAGS) ; do \
27559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27560 done; \
27561 echo "Doing dvi in wdiff" ; \
27562 (cd $(HOST_SUBDIR)/wdiff && \
27563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27565 "RANLIB=$${RANLIB}" \
27566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27567 dvi) \
27568 || exit 1
27570 @endif wdiff
27572 .PHONY: maybe-html-wdiff html-wdiff
27573 maybe-html-wdiff:
27574 @if wdiff
27575 maybe-html-wdiff: html-wdiff
27577 html-wdiff: \
27578 configure-wdiff
27579 @: $(MAKE); $(unstage)
27580 @[ -f ./wdiff/Makefile ] || exit 0; \
27581 r=`${PWD_COMMAND}`; export r; \
27582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27583 $(HOST_EXPORTS) \
27584 for flag in $(EXTRA_HOST_FLAGS) ; do \
27585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27586 done; \
27587 echo "Doing html in wdiff" ; \
27588 (cd $(HOST_SUBDIR)/wdiff && \
27589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27591 "RANLIB=$${RANLIB}" \
27592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27593 html) \
27594 || exit 1
27596 @endif wdiff
27598 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
27599 maybe-TAGS-wdiff:
27600 @if wdiff
27601 maybe-TAGS-wdiff: TAGS-wdiff
27603 TAGS-wdiff: \
27604 configure-wdiff
27605 @: $(MAKE); $(unstage)
27606 @[ -f ./wdiff/Makefile ] || exit 0; \
27607 r=`${PWD_COMMAND}`; export r; \
27608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27609 $(HOST_EXPORTS) \
27610 for flag in $(EXTRA_HOST_FLAGS) ; do \
27611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27612 done; \
27613 echo "Doing TAGS in wdiff" ; \
27614 (cd $(HOST_SUBDIR)/wdiff && \
27615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27617 "RANLIB=$${RANLIB}" \
27618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27619 TAGS) \
27620 || exit 1
27622 @endif wdiff
27624 .PHONY: maybe-install-info-wdiff install-info-wdiff
27625 maybe-install-info-wdiff:
27626 @if wdiff
27627 maybe-install-info-wdiff: install-info-wdiff
27629 install-info-wdiff: \
27630 configure-wdiff \
27631 info-wdiff
27632 @: $(MAKE); $(unstage)
27633 @[ -f ./wdiff/Makefile ] || exit 0; \
27634 r=`${PWD_COMMAND}`; export r; \
27635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27636 $(HOST_EXPORTS) \
27637 for flag in $(EXTRA_HOST_FLAGS) ; do \
27638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27639 done; \
27640 echo "Doing install-info in wdiff" ; \
27641 (cd $(HOST_SUBDIR)/wdiff && \
27642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27644 "RANLIB=$${RANLIB}" \
27645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27646 install-info) \
27647 || exit 1
27649 @endif wdiff
27651 .PHONY: maybe-install-html-wdiff install-html-wdiff
27652 maybe-install-html-wdiff:
27653 @if wdiff
27654 maybe-install-html-wdiff: install-html-wdiff
27656 install-html-wdiff: \
27657 configure-wdiff \
27658 html-wdiff
27659 @: $(MAKE); $(unstage)
27660 @[ -f ./wdiff/Makefile ] || exit 0; \
27661 r=`${PWD_COMMAND}`; export r; \
27662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27663 $(HOST_EXPORTS) \
27664 for flag in $(EXTRA_HOST_FLAGS) ; do \
27665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27666 done; \
27667 echo "Doing install-html in wdiff" ; \
27668 (cd $(HOST_SUBDIR)/wdiff && \
27669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27671 "RANLIB=$${RANLIB}" \
27672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27673 install-html) \
27674 || exit 1
27676 @endif wdiff
27678 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
27679 maybe-installcheck-wdiff:
27680 @if wdiff
27681 maybe-installcheck-wdiff: installcheck-wdiff
27683 installcheck-wdiff: \
27684 configure-wdiff
27685 @: $(MAKE); $(unstage)
27686 @[ -f ./wdiff/Makefile ] || exit 0; \
27687 r=`${PWD_COMMAND}`; export r; \
27688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27689 $(HOST_EXPORTS) \
27690 for flag in $(EXTRA_HOST_FLAGS) ; do \
27691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27692 done; \
27693 echo "Doing installcheck in wdiff" ; \
27694 (cd $(HOST_SUBDIR)/wdiff && \
27695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27697 "RANLIB=$${RANLIB}" \
27698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27699 installcheck) \
27700 || exit 1
27702 @endif wdiff
27704 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
27705 maybe-mostlyclean-wdiff:
27706 @if wdiff
27707 maybe-mostlyclean-wdiff: mostlyclean-wdiff
27709 mostlyclean-wdiff:
27710 @: $(MAKE); $(unstage)
27711 @[ -f ./wdiff/Makefile ] || exit 0; \
27712 r=`${PWD_COMMAND}`; export r; \
27713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27714 $(HOST_EXPORTS) \
27715 for flag in $(EXTRA_HOST_FLAGS) ; do \
27716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27717 done; \
27718 echo "Doing mostlyclean in wdiff" ; \
27719 (cd $(HOST_SUBDIR)/wdiff && \
27720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27722 "RANLIB=$${RANLIB}" \
27723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27724 mostlyclean) \
27725 || exit 1
27727 @endif wdiff
27729 .PHONY: maybe-clean-wdiff clean-wdiff
27730 maybe-clean-wdiff:
27731 @if wdiff
27732 maybe-clean-wdiff: clean-wdiff
27734 clean-wdiff:
27735 @: $(MAKE); $(unstage)
27736 @[ -f ./wdiff/Makefile ] || exit 0; \
27737 r=`${PWD_COMMAND}`; export r; \
27738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739 $(HOST_EXPORTS) \
27740 for flag in $(EXTRA_HOST_FLAGS) ; do \
27741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27742 done; \
27743 echo "Doing clean in wdiff" ; \
27744 (cd $(HOST_SUBDIR)/wdiff && \
27745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27747 "RANLIB=$${RANLIB}" \
27748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27749 clean) \
27750 || exit 1
27752 @endif wdiff
27754 .PHONY: maybe-distclean-wdiff distclean-wdiff
27755 maybe-distclean-wdiff:
27756 @if wdiff
27757 maybe-distclean-wdiff: distclean-wdiff
27759 distclean-wdiff:
27760 @: $(MAKE); $(unstage)
27761 @[ -f ./wdiff/Makefile ] || exit 0; \
27762 r=`${PWD_COMMAND}`; export r; \
27763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27764 $(HOST_EXPORTS) \
27765 for flag in $(EXTRA_HOST_FLAGS) ; do \
27766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27767 done; \
27768 echo "Doing distclean in wdiff" ; \
27769 (cd $(HOST_SUBDIR)/wdiff && \
27770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27772 "RANLIB=$${RANLIB}" \
27773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27774 distclean) \
27775 || exit 1
27777 @endif wdiff
27779 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
27780 maybe-maintainer-clean-wdiff:
27781 @if wdiff
27782 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
27784 maintainer-clean-wdiff:
27785 @: $(MAKE); $(unstage)
27786 @[ -f ./wdiff/Makefile ] || exit 0; \
27787 r=`${PWD_COMMAND}`; export r; \
27788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27789 $(HOST_EXPORTS) \
27790 for flag in $(EXTRA_HOST_FLAGS) ; do \
27791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27792 done; \
27793 echo "Doing maintainer-clean in wdiff" ; \
27794 (cd $(HOST_SUBDIR)/wdiff && \
27795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27797 "RANLIB=$${RANLIB}" \
27798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27799 maintainer-clean) \
27800 || exit 1
27802 @endif wdiff
27806 .PHONY: configure-zip maybe-configure-zip
27807 maybe-configure-zip:
27808 @if gcc-bootstrap
27809 configure-zip: stage_current
27810 @endif gcc-bootstrap
27811 @if zip
27812 maybe-configure-zip: configure-zip
27813 configure-zip:
27814 @: $(MAKE); $(unstage)
27815 @r=`${PWD_COMMAND}`; export r; \
27816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27817 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
27818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
27819 $(HOST_EXPORTS) \
27820 echo Configuring in $(HOST_SUBDIR)/zip; \
27821 cd "$(HOST_SUBDIR)/zip" || exit 1; \
27822 case $(srcdir) in \
27823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27824 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
27825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27826 esac; \
27827 srcdiroption="--srcdir=$${topdir}/zip"; \
27828 libsrcdir="$$s/zip"; \
27829 $(SHELL) $${libsrcdir}/configure \
27830 $(HOST_CONFIGARGS) $${srcdiroption} \
27831 || exit 1
27832 @endif zip
27838 .PHONY: all-zip maybe-all-zip
27839 maybe-all-zip:
27840 @if gcc-bootstrap
27841 all-zip: stage_current
27842 @endif gcc-bootstrap
27843 @if zip
27844 TARGET-zip=all
27845 maybe-all-zip: all-zip
27846 all-zip: configure-zip
27847 @: $(MAKE); $(unstage)
27848 @r=`${PWD_COMMAND}`; export r; \
27849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27850 $(HOST_EXPORTS) \
27851 (cd $(HOST_SUBDIR)/zip && \
27852 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
27853 @endif zip
27858 .PHONY: check-zip maybe-check-zip
27859 maybe-check-zip:
27860 @if zip
27861 maybe-check-zip: check-zip
27863 # This module is only tested in a native toolchain.
27864 check-zip:
27865 @: $(MAKE); $(unstage)
27866 @if [ '$(host)' = '$(target)' ] ; then \
27867 r=`${PWD_COMMAND}`; export r; \
27868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27869 $(HOST_EXPORTS) \
27870 (cd $(HOST_SUBDIR)/zip && \
27871 $(MAKE) $(FLAGS_TO_PASS) check); \
27874 @endif zip
27876 .PHONY: install-zip maybe-install-zip
27877 maybe-install-zip:
27878 @if zip
27879 maybe-install-zip: install-zip
27881 install-zip: installdirs
27882 @: $(MAKE); $(unstage)
27883 @r=`${PWD_COMMAND}`; export r; \
27884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27885 $(HOST_EXPORTS) \
27886 (cd $(HOST_SUBDIR)/zip && \
27887 $(MAKE) $(FLAGS_TO_PASS) install)
27889 @endif zip
27891 # Other targets (info, dvi, etc.)
27893 .PHONY: maybe-info-zip info-zip
27894 maybe-info-zip:
27895 @if zip
27896 maybe-info-zip: info-zip
27898 info-zip: \
27899 configure-zip
27900 @: $(MAKE); $(unstage)
27901 @[ -f ./zip/Makefile ] || exit 0; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(HOST_EXPORTS) \
27905 for flag in $(EXTRA_HOST_FLAGS) ; do \
27906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27907 done; \
27908 echo "Doing info in zip" ; \
27909 (cd $(HOST_SUBDIR)/zip && \
27910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27912 "RANLIB=$${RANLIB}" \
27913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27914 info) \
27915 || exit 1
27917 @endif zip
27919 .PHONY: maybe-dvi-zip dvi-zip
27920 maybe-dvi-zip:
27921 @if zip
27922 maybe-dvi-zip: dvi-zip
27924 dvi-zip: \
27925 configure-zip
27926 @: $(MAKE); $(unstage)
27927 @[ -f ./zip/Makefile ] || exit 0; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(HOST_EXPORTS) \
27931 for flag in $(EXTRA_HOST_FLAGS) ; do \
27932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27933 done; \
27934 echo "Doing dvi in zip" ; \
27935 (cd $(HOST_SUBDIR)/zip && \
27936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27938 "RANLIB=$${RANLIB}" \
27939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27940 dvi) \
27941 || exit 1
27943 @endif zip
27945 .PHONY: maybe-html-zip html-zip
27946 maybe-html-zip:
27947 @if zip
27948 maybe-html-zip: html-zip
27950 html-zip: \
27951 configure-zip
27952 @: $(MAKE); $(unstage)
27953 @[ -f ./zip/Makefile ] || exit 0; \
27954 r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27956 $(HOST_EXPORTS) \
27957 for flag in $(EXTRA_HOST_FLAGS) ; do \
27958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27959 done; \
27960 echo "Doing html in zip" ; \
27961 (cd $(HOST_SUBDIR)/zip && \
27962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27964 "RANLIB=$${RANLIB}" \
27965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27966 html) \
27967 || exit 1
27969 @endif zip
27971 .PHONY: maybe-TAGS-zip TAGS-zip
27972 maybe-TAGS-zip:
27973 @if zip
27974 maybe-TAGS-zip: TAGS-zip
27976 TAGS-zip: \
27977 configure-zip
27978 @: $(MAKE); $(unstage)
27979 @[ -f ./zip/Makefile ] || exit 0; \
27980 r=`${PWD_COMMAND}`; export r; \
27981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27982 $(HOST_EXPORTS) \
27983 for flag in $(EXTRA_HOST_FLAGS) ; do \
27984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27985 done; \
27986 echo "Doing TAGS in zip" ; \
27987 (cd $(HOST_SUBDIR)/zip && \
27988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27990 "RANLIB=$${RANLIB}" \
27991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27992 TAGS) \
27993 || exit 1
27995 @endif zip
27997 .PHONY: maybe-install-info-zip install-info-zip
27998 maybe-install-info-zip:
27999 @if zip
28000 maybe-install-info-zip: install-info-zip
28002 install-info-zip: \
28003 configure-zip \
28004 info-zip
28005 @: $(MAKE); $(unstage)
28006 @[ -f ./zip/Makefile ] || exit 0; \
28007 r=`${PWD_COMMAND}`; export r; \
28008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28009 $(HOST_EXPORTS) \
28010 for flag in $(EXTRA_HOST_FLAGS) ; do \
28011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28012 done; \
28013 echo "Doing install-info in zip" ; \
28014 (cd $(HOST_SUBDIR)/zip && \
28015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28017 "RANLIB=$${RANLIB}" \
28018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28019 install-info) \
28020 || exit 1
28022 @endif zip
28024 .PHONY: maybe-install-html-zip install-html-zip
28025 maybe-install-html-zip:
28026 @if zip
28027 maybe-install-html-zip: install-html-zip
28029 install-html-zip: \
28030 configure-zip \
28031 html-zip
28032 @: $(MAKE); $(unstage)
28033 @[ -f ./zip/Makefile ] || exit 0; \
28034 r=`${PWD_COMMAND}`; export r; \
28035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28036 $(HOST_EXPORTS) \
28037 for flag in $(EXTRA_HOST_FLAGS) ; do \
28038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28039 done; \
28040 echo "Doing install-html in zip" ; \
28041 (cd $(HOST_SUBDIR)/zip && \
28042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28044 "RANLIB=$${RANLIB}" \
28045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28046 install-html) \
28047 || exit 1
28049 @endif zip
28051 .PHONY: maybe-installcheck-zip installcheck-zip
28052 maybe-installcheck-zip:
28053 @if zip
28054 maybe-installcheck-zip: installcheck-zip
28056 installcheck-zip: \
28057 configure-zip
28058 @: $(MAKE); $(unstage)
28059 @[ -f ./zip/Makefile ] || exit 0; \
28060 r=`${PWD_COMMAND}`; export r; \
28061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28062 $(HOST_EXPORTS) \
28063 for flag in $(EXTRA_HOST_FLAGS) ; do \
28064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28065 done; \
28066 echo "Doing installcheck in zip" ; \
28067 (cd $(HOST_SUBDIR)/zip && \
28068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28070 "RANLIB=$${RANLIB}" \
28071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28072 installcheck) \
28073 || exit 1
28075 @endif zip
28077 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
28078 maybe-mostlyclean-zip:
28079 @if zip
28080 maybe-mostlyclean-zip: mostlyclean-zip
28082 mostlyclean-zip:
28083 @: $(MAKE); $(unstage)
28084 @[ -f ./zip/Makefile ] || exit 0; \
28085 r=`${PWD_COMMAND}`; export r; \
28086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28087 $(HOST_EXPORTS) \
28088 for flag in $(EXTRA_HOST_FLAGS) ; do \
28089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28090 done; \
28091 echo "Doing mostlyclean in zip" ; \
28092 (cd $(HOST_SUBDIR)/zip && \
28093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28095 "RANLIB=$${RANLIB}" \
28096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28097 mostlyclean) \
28098 || exit 1
28100 @endif zip
28102 .PHONY: maybe-clean-zip clean-zip
28103 maybe-clean-zip:
28104 @if zip
28105 maybe-clean-zip: clean-zip
28107 clean-zip:
28108 @: $(MAKE); $(unstage)
28109 @[ -f ./zip/Makefile ] || exit 0; \
28110 r=`${PWD_COMMAND}`; export r; \
28111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28112 $(HOST_EXPORTS) \
28113 for flag in $(EXTRA_HOST_FLAGS) ; do \
28114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28115 done; \
28116 echo "Doing clean in zip" ; \
28117 (cd $(HOST_SUBDIR)/zip && \
28118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28120 "RANLIB=$${RANLIB}" \
28121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28122 clean) \
28123 || exit 1
28125 @endif zip
28127 .PHONY: maybe-distclean-zip distclean-zip
28128 maybe-distclean-zip:
28129 @if zip
28130 maybe-distclean-zip: distclean-zip
28132 distclean-zip:
28133 @: $(MAKE); $(unstage)
28134 @[ -f ./zip/Makefile ] || exit 0; \
28135 r=`${PWD_COMMAND}`; export r; \
28136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 $(HOST_EXPORTS) \
28138 for flag in $(EXTRA_HOST_FLAGS) ; do \
28139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28140 done; \
28141 echo "Doing distclean in zip" ; \
28142 (cd $(HOST_SUBDIR)/zip && \
28143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28145 "RANLIB=$${RANLIB}" \
28146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28147 distclean) \
28148 || exit 1
28150 @endif zip
28152 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
28153 maybe-maintainer-clean-zip:
28154 @if zip
28155 maybe-maintainer-clean-zip: maintainer-clean-zip
28157 maintainer-clean-zip:
28158 @: $(MAKE); $(unstage)
28159 @[ -f ./zip/Makefile ] || exit 0; \
28160 r=`${PWD_COMMAND}`; export r; \
28161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28162 $(HOST_EXPORTS) \
28163 for flag in $(EXTRA_HOST_FLAGS) ; do \
28164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28165 done; \
28166 echo "Doing maintainer-clean in zip" ; \
28167 (cd $(HOST_SUBDIR)/zip && \
28168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28170 "RANLIB=$${RANLIB}" \
28171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28172 maintainer-clean) \
28173 || exit 1
28175 @endif zip
28179 .PHONY: configure-zlib maybe-configure-zlib
28180 maybe-configure-zlib:
28181 @if gcc-bootstrap
28182 configure-zlib: stage_current
28183 @endif gcc-bootstrap
28184 @if zlib
28185 maybe-configure-zlib: configure-zlib
28186 configure-zlib:
28187 @r=`${PWD_COMMAND}`; export r; \
28188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28189 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28191 $(HOST_EXPORTS) \
28192 echo Configuring in $(HOST_SUBDIR)/zlib; \
28193 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
28194 case $(srcdir) in \
28195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28196 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28198 esac; \
28199 srcdiroption="--srcdir=$${topdir}/zlib"; \
28200 libsrcdir="$$s/zlib"; \
28201 $(SHELL) $${libsrcdir}/configure \
28202 $(HOST_CONFIGARGS) $${srcdiroption} \
28203 || exit 1
28204 @endif zlib
28208 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28209 maybe-configure-stage1-zlib:
28210 @if zlib-bootstrap
28211 maybe-configure-stage1-zlib: configure-stage1-zlib
28212 configure-stage1-zlib:
28213 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28215 @r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28218 $(HOST_EXPORTS) \
28219 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
28220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28221 cd $(HOST_SUBDIR)/zlib || exit 1; \
28222 case $(srcdir) in \
28223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28224 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28226 esac; \
28227 srcdiroption="--srcdir=$${topdir}/zlib"; \
28228 libsrcdir="$$s/zlib"; \
28229 $(SHELL) $${libsrcdir}/configure \
28230 $(HOST_CONFIGARGS) $${srcdiroption} \
28231 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28232 @endif zlib-bootstrap
28234 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
28235 maybe-configure-stage2-zlib:
28236 @if zlib-bootstrap
28237 maybe-configure-stage2-zlib: configure-stage2-zlib
28238 configure-stage2-zlib:
28239 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28241 @r=`${PWD_COMMAND}`; export r; \
28242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28243 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28244 $(HOST_EXPORTS) \
28245 $(POSTSTAGE1_HOST_EXPORTS) \
28246 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
28247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28248 cd $(HOST_SUBDIR)/zlib || exit 1; \
28249 case $(srcdir) in \
28250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28251 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28253 esac; \
28254 srcdiroption="--srcdir=$${topdir}/zlib"; \
28255 libsrcdir="$$s/zlib"; \
28256 $(SHELL) $${libsrcdir}/configure \
28257 $(HOST_CONFIGARGS) $${srcdiroption} \
28258 @stage2_werror_flag@
28259 @endif zlib-bootstrap
28261 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
28262 maybe-configure-stage3-zlib:
28263 @if zlib-bootstrap
28264 maybe-configure-stage3-zlib: configure-stage3-zlib
28265 configure-stage3-zlib:
28266 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28268 @r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28271 $(HOST_EXPORTS) \
28272 $(POSTSTAGE1_HOST_EXPORTS) \
28273 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
28274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28275 cd $(HOST_SUBDIR)/zlib || exit 1; \
28276 case $(srcdir) in \
28277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28278 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28280 esac; \
28281 srcdiroption="--srcdir=$${topdir}/zlib"; \
28282 libsrcdir="$$s/zlib"; \
28283 $(SHELL) $${libsrcdir}/configure \
28284 $(HOST_CONFIGARGS) $${srcdiroption} \
28285 @stage2_werror_flag@
28286 @endif zlib-bootstrap
28288 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
28289 maybe-configure-stage4-zlib:
28290 @if zlib-bootstrap
28291 maybe-configure-stage4-zlib: configure-stage4-zlib
28292 configure-stage4-zlib:
28293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28295 @r=`${PWD_COMMAND}`; export r; \
28296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28297 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28298 $(HOST_EXPORTS) \
28299 $(POSTSTAGE1_HOST_EXPORTS) \
28300 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
28301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28302 cd $(HOST_SUBDIR)/zlib || exit 1; \
28303 case $(srcdir) in \
28304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28305 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28307 esac; \
28308 srcdiroption="--srcdir=$${topdir}/zlib"; \
28309 libsrcdir="$$s/zlib"; \
28310 $(SHELL) $${libsrcdir}/configure \
28311 $(HOST_CONFIGARGS) $${srcdiroption} \
28312 @stage2_werror_flag@
28313 @endif zlib-bootstrap
28315 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
28316 maybe-configure-stageprofile-zlib:
28317 @if zlib-bootstrap
28318 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
28319 configure-stageprofile-zlib:
28320 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28322 @r=`${PWD_COMMAND}`; export r; \
28323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28324 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28325 $(HOST_EXPORTS) \
28326 $(POSTSTAGE1_HOST_EXPORTS) \
28327 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
28328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28329 cd $(HOST_SUBDIR)/zlib || exit 1; \
28330 case $(srcdir) in \
28331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28332 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28334 esac; \
28335 srcdiroption="--srcdir=$${topdir}/zlib"; \
28336 libsrcdir="$$s/zlib"; \
28337 $(SHELL) $${libsrcdir}/configure \
28338 $(HOST_CONFIGARGS) $${srcdiroption} \
28339 @stage2_werror_flag@
28340 @endif zlib-bootstrap
28342 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
28343 maybe-configure-stagefeedback-zlib:
28344 @if zlib-bootstrap
28345 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
28346 configure-stagefeedback-zlib:
28347 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28349 @r=`${PWD_COMMAND}`; export r; \
28350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28351 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28352 $(HOST_EXPORTS) \
28353 $(POSTSTAGE1_HOST_EXPORTS) \
28354 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
28355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28356 cd $(HOST_SUBDIR)/zlib || exit 1; \
28357 case $(srcdir) in \
28358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28359 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28361 esac; \
28362 srcdiroption="--srcdir=$${topdir}/zlib"; \
28363 libsrcdir="$$s/zlib"; \
28364 $(SHELL) $${libsrcdir}/configure \
28365 $(HOST_CONFIGARGS) $${srcdiroption} \
28366 @stage2_werror_flag@
28367 @endif zlib-bootstrap
28373 .PHONY: all-zlib maybe-all-zlib
28374 maybe-all-zlib:
28375 @if gcc-bootstrap
28376 all-zlib: stage_current
28377 @endif gcc-bootstrap
28378 @if zlib
28379 TARGET-zlib=all
28380 maybe-all-zlib: all-zlib
28381 all-zlib: configure-zlib
28382 @r=`${PWD_COMMAND}`; export r; \
28383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28384 $(HOST_EXPORTS) \
28385 (cd $(HOST_SUBDIR)/zlib && \
28386 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
28387 @endif zlib
28391 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28392 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28393 maybe-all-stage1-zlib:
28394 maybe-clean-stage1-zlib:
28395 @if zlib-bootstrap
28396 maybe-all-stage1-zlib: all-stage1-zlib
28397 all-stage1: all-stage1-zlib
28398 TARGET-stage1-zlib = $(TARGET-zlib)
28399 all-stage1-zlib: configure-stage1-zlib
28400 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28401 @r=`${PWD_COMMAND}`; export r; \
28402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28403 $(HOST_EXPORTS) \
28404 cd $(HOST_SUBDIR)/zlib && \
28405 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
28406 $(TARGET-stage1-zlib)
28408 maybe-clean-stage1-zlib: clean-stage1-zlib
28409 clean-stage1: clean-stage1-zlib
28410 clean-stage1-zlib:
28411 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
28412 || exit 0 ; \
28413 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
28414 cd $(HOST_SUBDIR)/zlib && \
28415 $(MAKE) $(FLAGS_TO_PASS) \
28416 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
28417 @endif zlib-bootstrap
28420 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
28421 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
28422 maybe-all-stage2-zlib:
28423 maybe-clean-stage2-zlib:
28424 @if zlib-bootstrap
28425 maybe-all-stage2-zlib: all-stage2-zlib
28426 all-stage2: all-stage2-zlib
28427 TARGET-stage2-zlib = $(TARGET-zlib)
28428 all-stage2-zlib: configure-stage2-zlib
28429 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28430 @r=`${PWD_COMMAND}`; export r; \
28431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28432 $(HOST_EXPORTS) \
28433 $(POSTSTAGE1_HOST_EXPORTS) \
28434 cd $(HOST_SUBDIR)/zlib && \
28435 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28436 $(TARGET-stage2-zlib)
28438 maybe-clean-stage2-zlib: clean-stage2-zlib
28439 clean-stage2: clean-stage2-zlib
28440 clean-stage2-zlib:
28441 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
28442 || exit 0 ; \
28443 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
28444 cd $(HOST_SUBDIR)/zlib && \
28445 $(MAKE) $(FLAGS_TO_PASS) \
28446 $(POSTSTAGE1_FLAGS_TO_PASS) \
28447 clean
28448 @endif zlib-bootstrap
28451 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
28452 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
28453 maybe-all-stage3-zlib:
28454 maybe-clean-stage3-zlib:
28455 @if zlib-bootstrap
28456 maybe-all-stage3-zlib: all-stage3-zlib
28457 all-stage3: all-stage3-zlib
28458 TARGET-stage3-zlib = $(TARGET-zlib)
28459 all-stage3-zlib: configure-stage3-zlib
28460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28461 @r=`${PWD_COMMAND}`; export r; \
28462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28463 $(HOST_EXPORTS) \
28464 $(POSTSTAGE1_HOST_EXPORTS) \
28465 cd $(HOST_SUBDIR)/zlib && \
28466 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28467 $(TARGET-stage3-zlib)
28469 maybe-clean-stage3-zlib: clean-stage3-zlib
28470 clean-stage3: clean-stage3-zlib
28471 clean-stage3-zlib:
28472 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
28473 || exit 0 ; \
28474 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
28475 cd $(HOST_SUBDIR)/zlib && \
28476 $(MAKE) $(FLAGS_TO_PASS) \
28477 $(POSTSTAGE1_FLAGS_TO_PASS) \
28478 clean
28479 @endif zlib-bootstrap
28482 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
28483 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
28484 maybe-all-stage4-zlib:
28485 maybe-clean-stage4-zlib:
28486 @if zlib-bootstrap
28487 maybe-all-stage4-zlib: all-stage4-zlib
28488 all-stage4: all-stage4-zlib
28489 TARGET-stage4-zlib = $(TARGET-zlib)
28490 all-stage4-zlib: configure-stage4-zlib
28491 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28492 @r=`${PWD_COMMAND}`; export r; \
28493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28494 $(HOST_EXPORTS) \
28495 $(POSTSTAGE1_HOST_EXPORTS) \
28496 cd $(HOST_SUBDIR)/zlib && \
28497 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28498 $(TARGET-stage4-zlib)
28500 maybe-clean-stage4-zlib: clean-stage4-zlib
28501 clean-stage4: clean-stage4-zlib
28502 clean-stage4-zlib:
28503 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
28504 || exit 0 ; \
28505 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
28506 cd $(HOST_SUBDIR)/zlib && \
28507 $(MAKE) $(FLAGS_TO_PASS) \
28508 $(POSTSTAGE1_FLAGS_TO_PASS) \
28509 clean
28510 @endif zlib-bootstrap
28513 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
28514 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
28515 maybe-all-stageprofile-zlib:
28516 maybe-clean-stageprofile-zlib:
28517 @if zlib-bootstrap
28518 maybe-all-stageprofile-zlib: all-stageprofile-zlib
28519 all-stageprofile: all-stageprofile-zlib
28520 TARGET-stageprofile-zlib = $(TARGET-zlib)
28521 all-stageprofile-zlib: configure-stageprofile-zlib
28522 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28523 @r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28525 $(HOST_EXPORTS) \
28526 $(POSTSTAGE1_HOST_EXPORTS) \
28527 cd $(HOST_SUBDIR)/zlib && \
28528 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
28529 $(TARGET-stageprofile-zlib)
28531 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
28532 clean-stageprofile: clean-stageprofile-zlib
28533 clean-stageprofile-zlib:
28534 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
28535 || exit 0 ; \
28536 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
28537 cd $(HOST_SUBDIR)/zlib && \
28538 $(MAKE) $(FLAGS_TO_PASS) \
28539 $(POSTSTAGE1_FLAGS_TO_PASS) \
28540 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
28541 @endif zlib-bootstrap
28544 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
28545 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
28546 maybe-all-stagefeedback-zlib:
28547 maybe-clean-stagefeedback-zlib:
28548 @if zlib-bootstrap
28549 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
28550 all-stagefeedback: all-stagefeedback-zlib
28551 TARGET-stagefeedback-zlib = $(TARGET-zlib)
28552 all-stagefeedback-zlib: configure-stagefeedback-zlib
28553 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28554 @r=`${PWD_COMMAND}`; export r; \
28555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28556 $(HOST_EXPORTS) \
28557 $(POSTSTAGE1_HOST_EXPORTS) \
28558 cd $(HOST_SUBDIR)/zlib && \
28559 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
28560 $(TARGET-stagefeedback-zlib)
28562 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
28563 clean-stagefeedback: clean-stagefeedback-zlib
28564 clean-stagefeedback-zlib:
28565 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
28566 || exit 0 ; \
28567 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
28568 cd $(HOST_SUBDIR)/zlib && \
28569 $(MAKE) $(FLAGS_TO_PASS) \
28570 $(POSTSTAGE1_FLAGS_TO_PASS) \
28571 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
28572 @endif zlib-bootstrap
28578 .PHONY: check-zlib maybe-check-zlib
28579 maybe-check-zlib:
28580 @if zlib
28581 maybe-check-zlib: check-zlib
28583 check-zlib:
28585 @endif zlib
28587 .PHONY: install-zlib maybe-install-zlib
28588 maybe-install-zlib:
28589 @if zlib
28590 maybe-install-zlib: install-zlib
28592 install-zlib:
28594 @endif zlib
28596 # Other targets (info, dvi, etc.)
28598 .PHONY: maybe-info-zlib info-zlib
28599 maybe-info-zlib:
28600 @if zlib
28601 maybe-info-zlib: info-zlib
28603 info-zlib: \
28604 configure-zlib
28605 @[ -f ./zlib/Makefile ] || exit 0; \
28606 r=`${PWD_COMMAND}`; export r; \
28607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28608 $(HOST_EXPORTS) \
28609 for flag in $(EXTRA_HOST_FLAGS) ; do \
28610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28611 done; \
28612 echo "Doing info in zlib" ; \
28613 (cd $(HOST_SUBDIR)/zlib && \
28614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28616 "RANLIB=$${RANLIB}" \
28617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28618 info) \
28619 || exit 1
28621 @endif zlib
28623 .PHONY: maybe-dvi-zlib dvi-zlib
28624 maybe-dvi-zlib:
28625 @if zlib
28626 maybe-dvi-zlib: dvi-zlib
28628 dvi-zlib: \
28629 configure-zlib
28630 @[ -f ./zlib/Makefile ] || exit 0; \
28631 r=`${PWD_COMMAND}`; export r; \
28632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28633 $(HOST_EXPORTS) \
28634 for flag in $(EXTRA_HOST_FLAGS) ; do \
28635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28636 done; \
28637 echo "Doing dvi in zlib" ; \
28638 (cd $(HOST_SUBDIR)/zlib && \
28639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28641 "RANLIB=$${RANLIB}" \
28642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28643 dvi) \
28644 || exit 1
28646 @endif zlib
28648 .PHONY: maybe-html-zlib html-zlib
28649 maybe-html-zlib:
28650 @if zlib
28651 maybe-html-zlib: html-zlib
28653 html-zlib: \
28654 configure-zlib
28655 @[ -f ./zlib/Makefile ] || exit 0; \
28656 r=`${PWD_COMMAND}`; export r; \
28657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28658 $(HOST_EXPORTS) \
28659 for flag in $(EXTRA_HOST_FLAGS) ; do \
28660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28661 done; \
28662 echo "Doing html in zlib" ; \
28663 (cd $(HOST_SUBDIR)/zlib && \
28664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28666 "RANLIB=$${RANLIB}" \
28667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28668 html) \
28669 || exit 1
28671 @endif zlib
28673 .PHONY: maybe-TAGS-zlib TAGS-zlib
28674 maybe-TAGS-zlib:
28675 @if zlib
28676 maybe-TAGS-zlib: TAGS-zlib
28678 TAGS-zlib: \
28679 configure-zlib
28680 @[ -f ./zlib/Makefile ] || exit 0; \
28681 r=`${PWD_COMMAND}`; export r; \
28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28683 $(HOST_EXPORTS) \
28684 for flag in $(EXTRA_HOST_FLAGS) ; do \
28685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28686 done; \
28687 echo "Doing TAGS in zlib" ; \
28688 (cd $(HOST_SUBDIR)/zlib && \
28689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28691 "RANLIB=$${RANLIB}" \
28692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28693 TAGS) \
28694 || exit 1
28696 @endif zlib
28698 .PHONY: maybe-install-info-zlib install-info-zlib
28699 maybe-install-info-zlib:
28700 @if zlib
28701 maybe-install-info-zlib: install-info-zlib
28703 install-info-zlib: \
28704 configure-zlib \
28705 info-zlib
28706 @[ -f ./zlib/Makefile ] || exit 0; \
28707 r=`${PWD_COMMAND}`; export r; \
28708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 $(HOST_EXPORTS) \
28710 for flag in $(EXTRA_HOST_FLAGS) ; do \
28711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28712 done; \
28713 echo "Doing install-info in zlib" ; \
28714 (cd $(HOST_SUBDIR)/zlib && \
28715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28717 "RANLIB=$${RANLIB}" \
28718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28719 install-info) \
28720 || exit 1
28722 @endif zlib
28724 .PHONY: maybe-install-html-zlib install-html-zlib
28725 maybe-install-html-zlib:
28726 @if zlib
28727 maybe-install-html-zlib: install-html-zlib
28729 install-html-zlib: \
28730 configure-zlib \
28731 html-zlib
28732 @[ -f ./zlib/Makefile ] || exit 0; \
28733 r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 $(HOST_EXPORTS) \
28736 for flag in $(EXTRA_HOST_FLAGS) ; do \
28737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28738 done; \
28739 echo "Doing install-html in zlib" ; \
28740 (cd $(HOST_SUBDIR)/zlib && \
28741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28743 "RANLIB=$${RANLIB}" \
28744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28745 install-html) \
28746 || exit 1
28748 @endif zlib
28750 .PHONY: maybe-installcheck-zlib installcheck-zlib
28751 maybe-installcheck-zlib:
28752 @if zlib
28753 maybe-installcheck-zlib: installcheck-zlib
28755 installcheck-zlib: \
28756 configure-zlib
28757 @[ -f ./zlib/Makefile ] || exit 0; \
28758 r=`${PWD_COMMAND}`; export r; \
28759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28760 $(HOST_EXPORTS) \
28761 for flag in $(EXTRA_HOST_FLAGS) ; do \
28762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28763 done; \
28764 echo "Doing installcheck in zlib" ; \
28765 (cd $(HOST_SUBDIR)/zlib && \
28766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28768 "RANLIB=$${RANLIB}" \
28769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28770 installcheck) \
28771 || exit 1
28773 @endif zlib
28775 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28776 maybe-mostlyclean-zlib:
28777 @if zlib
28778 maybe-mostlyclean-zlib: mostlyclean-zlib
28780 mostlyclean-zlib:
28781 @[ -f ./zlib/Makefile ] || exit 0; \
28782 r=`${PWD_COMMAND}`; export r; \
28783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28784 $(HOST_EXPORTS) \
28785 for flag in $(EXTRA_HOST_FLAGS) ; do \
28786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28787 done; \
28788 echo "Doing mostlyclean in zlib" ; \
28789 (cd $(HOST_SUBDIR)/zlib && \
28790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28792 "RANLIB=$${RANLIB}" \
28793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28794 mostlyclean) \
28795 || exit 1
28797 @endif zlib
28799 .PHONY: maybe-clean-zlib clean-zlib
28800 maybe-clean-zlib:
28801 @if zlib
28802 maybe-clean-zlib: clean-zlib
28804 clean-zlib:
28805 @[ -f ./zlib/Makefile ] || exit 0; \
28806 r=`${PWD_COMMAND}`; export r; \
28807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28808 $(HOST_EXPORTS) \
28809 for flag in $(EXTRA_HOST_FLAGS) ; do \
28810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28811 done; \
28812 echo "Doing clean in zlib" ; \
28813 (cd $(HOST_SUBDIR)/zlib && \
28814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28816 "RANLIB=$${RANLIB}" \
28817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28818 clean) \
28819 || exit 1
28821 @endif zlib
28823 .PHONY: maybe-distclean-zlib distclean-zlib
28824 maybe-distclean-zlib:
28825 @if zlib
28826 maybe-distclean-zlib: distclean-zlib
28828 distclean-zlib:
28829 @[ -f ./zlib/Makefile ] || exit 0; \
28830 r=`${PWD_COMMAND}`; export r; \
28831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28832 $(HOST_EXPORTS) \
28833 for flag in $(EXTRA_HOST_FLAGS) ; do \
28834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28835 done; \
28836 echo "Doing distclean in zlib" ; \
28837 (cd $(HOST_SUBDIR)/zlib && \
28838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28840 "RANLIB=$${RANLIB}" \
28841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28842 distclean) \
28843 || exit 1
28845 @endif zlib
28847 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28848 maybe-maintainer-clean-zlib:
28849 @if zlib
28850 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28852 maintainer-clean-zlib:
28853 @[ -f ./zlib/Makefile ] || exit 0; \
28854 r=`${PWD_COMMAND}`; export r; \
28855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28856 $(HOST_EXPORTS) \
28857 for flag in $(EXTRA_HOST_FLAGS) ; do \
28858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28859 done; \
28860 echo "Doing maintainer-clean in zlib" ; \
28861 (cd $(HOST_SUBDIR)/zlib && \
28862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28864 "RANLIB=$${RANLIB}" \
28865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28866 maintainer-clean) \
28867 || exit 1
28869 @endif zlib
28873 .PHONY: configure-gdb maybe-configure-gdb
28874 maybe-configure-gdb:
28875 @if gcc-bootstrap
28876 configure-gdb: stage_current
28877 @endif gcc-bootstrap
28878 @if gdb
28879 maybe-configure-gdb: configure-gdb
28880 configure-gdb:
28881 @: $(MAKE); $(unstage)
28882 @r=`${PWD_COMMAND}`; export r; \
28883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28884 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28886 $(HOST_EXPORTS) \
28887 echo Configuring in $(HOST_SUBDIR)/gdb; \
28888 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28889 case $(srcdir) in \
28890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28891 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28893 esac; \
28894 srcdiroption="--srcdir=$${topdir}/gdb"; \
28895 libsrcdir="$$s/gdb"; \
28896 $(SHELL) $${libsrcdir}/configure \
28897 $(HOST_CONFIGARGS) $${srcdiroption} \
28898 || exit 1
28899 @endif gdb
28905 .PHONY: all-gdb maybe-all-gdb
28906 maybe-all-gdb:
28907 @if gcc-bootstrap
28908 all-gdb: stage_current
28909 @endif gcc-bootstrap
28910 @if gdb
28911 TARGET-gdb=all
28912 maybe-all-gdb: all-gdb
28913 all-gdb: configure-gdb
28914 @: $(MAKE); $(unstage)
28915 @r=`${PWD_COMMAND}`; export r; \
28916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28917 $(HOST_EXPORTS) \
28918 (cd $(HOST_SUBDIR)/gdb && \
28919 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
28920 @endif gdb
28925 .PHONY: check-gdb maybe-check-gdb
28926 maybe-check-gdb:
28927 @if gdb
28928 maybe-check-gdb: check-gdb
28930 check-gdb:
28931 @: $(MAKE); $(unstage)
28932 @r=`${PWD_COMMAND}`; export r; \
28933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28934 $(HOST_EXPORTS) \
28935 (cd $(HOST_SUBDIR)/gdb && \
28936 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
28938 @endif gdb
28940 .PHONY: install-gdb maybe-install-gdb
28941 maybe-install-gdb:
28942 @if gdb
28943 maybe-install-gdb: install-gdb
28945 install-gdb: installdirs
28946 @: $(MAKE); $(unstage)
28947 @r=`${PWD_COMMAND}`; export r; \
28948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28949 $(HOST_EXPORTS) \
28950 (cd $(HOST_SUBDIR)/gdb && \
28951 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
28953 @endif gdb
28955 # Other targets (info, dvi, etc.)
28957 .PHONY: maybe-info-gdb info-gdb
28958 maybe-info-gdb:
28959 @if gdb
28960 maybe-info-gdb: info-gdb
28962 info-gdb: \
28963 configure-gdb
28964 @: $(MAKE); $(unstage)
28965 @[ -f ./gdb/Makefile ] || exit 0; \
28966 r=`${PWD_COMMAND}`; export r; \
28967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28968 $(HOST_EXPORTS) \
28969 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28971 done; \
28972 echo "Doing info in gdb" ; \
28973 (cd $(HOST_SUBDIR)/gdb && \
28974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28976 "RANLIB=$${RANLIB}" \
28977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28978 info) \
28979 || exit 1
28981 @endif gdb
28983 .PHONY: maybe-dvi-gdb dvi-gdb
28984 maybe-dvi-gdb:
28985 @if gdb
28986 maybe-dvi-gdb: dvi-gdb
28988 dvi-gdb: \
28989 configure-gdb
28990 @: $(MAKE); $(unstage)
28991 @[ -f ./gdb/Makefile ] || exit 0; \
28992 r=`${PWD_COMMAND}`; export r; \
28993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28994 $(HOST_EXPORTS) \
28995 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28997 done; \
28998 echo "Doing dvi in gdb" ; \
28999 (cd $(HOST_SUBDIR)/gdb && \
29000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29002 "RANLIB=$${RANLIB}" \
29003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29004 dvi) \
29005 || exit 1
29007 @endif gdb
29009 .PHONY: maybe-html-gdb html-gdb
29010 maybe-html-gdb:
29011 @if gdb
29012 maybe-html-gdb: html-gdb
29014 html-gdb: \
29015 configure-gdb
29016 @: $(MAKE); $(unstage)
29017 @[ -f ./gdb/Makefile ] || exit 0; \
29018 r=`${PWD_COMMAND}`; export r; \
29019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29020 $(HOST_EXPORTS) \
29021 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29023 done; \
29024 echo "Doing html in gdb" ; \
29025 (cd $(HOST_SUBDIR)/gdb && \
29026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29028 "RANLIB=$${RANLIB}" \
29029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29030 html) \
29031 || exit 1
29033 @endif gdb
29035 .PHONY: maybe-TAGS-gdb TAGS-gdb
29036 maybe-TAGS-gdb:
29037 @if gdb
29038 maybe-TAGS-gdb: TAGS-gdb
29040 TAGS-gdb: \
29041 configure-gdb
29042 @: $(MAKE); $(unstage)
29043 @[ -f ./gdb/Makefile ] || exit 0; \
29044 r=`${PWD_COMMAND}`; export r; \
29045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29046 $(HOST_EXPORTS) \
29047 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29049 done; \
29050 echo "Doing TAGS in gdb" ; \
29051 (cd $(HOST_SUBDIR)/gdb && \
29052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29054 "RANLIB=$${RANLIB}" \
29055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29056 TAGS) \
29057 || exit 1
29059 @endif gdb
29061 .PHONY: maybe-install-info-gdb install-info-gdb
29062 maybe-install-info-gdb:
29063 @if gdb
29064 maybe-install-info-gdb: install-info-gdb
29066 install-info-gdb: \
29067 configure-gdb \
29068 info-gdb
29069 @: $(MAKE); $(unstage)
29070 @[ -f ./gdb/Makefile ] || exit 0; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(HOST_EXPORTS) \
29074 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29076 done; \
29077 echo "Doing install-info in gdb" ; \
29078 (cd $(HOST_SUBDIR)/gdb && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29083 install-info) \
29084 || exit 1
29086 @endif gdb
29088 .PHONY: maybe-install-html-gdb install-html-gdb
29089 maybe-install-html-gdb:
29090 @if gdb
29091 maybe-install-html-gdb: install-html-gdb
29093 install-html-gdb: \
29094 configure-gdb \
29095 html-gdb
29096 @: $(MAKE); $(unstage)
29097 @[ -f ./gdb/Makefile ] || exit 0; \
29098 r=`${PWD_COMMAND}`; export r; \
29099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29100 $(HOST_EXPORTS) \
29101 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29103 done; \
29104 echo "Doing install-html in gdb" ; \
29105 (cd $(HOST_SUBDIR)/gdb && \
29106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29108 "RANLIB=$${RANLIB}" \
29109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29110 install-html) \
29111 || exit 1
29113 @endif gdb
29115 .PHONY: maybe-installcheck-gdb installcheck-gdb
29116 maybe-installcheck-gdb:
29117 @if gdb
29118 maybe-installcheck-gdb: installcheck-gdb
29120 installcheck-gdb: \
29121 configure-gdb
29122 @: $(MAKE); $(unstage)
29123 @[ -f ./gdb/Makefile ] || exit 0; \
29124 r=`${PWD_COMMAND}`; export r; \
29125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29126 $(HOST_EXPORTS) \
29127 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29129 done; \
29130 echo "Doing installcheck in gdb" ; \
29131 (cd $(HOST_SUBDIR)/gdb && \
29132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29134 "RANLIB=$${RANLIB}" \
29135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29136 installcheck) \
29137 || exit 1
29139 @endif gdb
29141 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
29142 maybe-mostlyclean-gdb:
29143 @if gdb
29144 maybe-mostlyclean-gdb: mostlyclean-gdb
29146 mostlyclean-gdb:
29147 @: $(MAKE); $(unstage)
29148 @[ -f ./gdb/Makefile ] || exit 0; \
29149 r=`${PWD_COMMAND}`; export r; \
29150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29151 $(HOST_EXPORTS) \
29152 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29154 done; \
29155 echo "Doing mostlyclean in gdb" ; \
29156 (cd $(HOST_SUBDIR)/gdb && \
29157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29159 "RANLIB=$${RANLIB}" \
29160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29161 mostlyclean) \
29162 || exit 1
29164 @endif gdb
29166 .PHONY: maybe-clean-gdb clean-gdb
29167 maybe-clean-gdb:
29168 @if gdb
29169 maybe-clean-gdb: clean-gdb
29171 clean-gdb:
29172 @: $(MAKE); $(unstage)
29173 @[ -f ./gdb/Makefile ] || exit 0; \
29174 r=`${PWD_COMMAND}`; export r; \
29175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29176 $(HOST_EXPORTS) \
29177 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29179 done; \
29180 echo "Doing clean in gdb" ; \
29181 (cd $(HOST_SUBDIR)/gdb && \
29182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29184 "RANLIB=$${RANLIB}" \
29185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29186 clean) \
29187 || exit 1
29189 @endif gdb
29191 .PHONY: maybe-distclean-gdb distclean-gdb
29192 maybe-distclean-gdb:
29193 @if gdb
29194 maybe-distclean-gdb: distclean-gdb
29196 distclean-gdb:
29197 @: $(MAKE); $(unstage)
29198 @[ -f ./gdb/Makefile ] || exit 0; \
29199 r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 $(HOST_EXPORTS) \
29202 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29204 done; \
29205 echo "Doing distclean in gdb" ; \
29206 (cd $(HOST_SUBDIR)/gdb && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29209 "RANLIB=$${RANLIB}" \
29210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29211 distclean) \
29212 || exit 1
29214 @endif gdb
29216 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
29217 maybe-maintainer-clean-gdb:
29218 @if gdb
29219 maybe-maintainer-clean-gdb: maintainer-clean-gdb
29221 maintainer-clean-gdb:
29222 @: $(MAKE); $(unstage)
29223 @[ -f ./gdb/Makefile ] || exit 0; \
29224 r=`${PWD_COMMAND}`; export r; \
29225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29226 $(HOST_EXPORTS) \
29227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29229 done; \
29230 echo "Doing maintainer-clean in gdb" ; \
29231 (cd $(HOST_SUBDIR)/gdb && \
29232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29234 "RANLIB=$${RANLIB}" \
29235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29236 maintainer-clean) \
29237 || exit 1
29239 @endif gdb
29243 .PHONY: configure-expect maybe-configure-expect
29244 maybe-configure-expect:
29245 @if gcc-bootstrap
29246 configure-expect: stage_current
29247 @endif gcc-bootstrap
29248 @if expect
29249 maybe-configure-expect: configure-expect
29250 configure-expect:
29251 @: $(MAKE); $(unstage)
29252 @r=`${PWD_COMMAND}`; export r; \
29253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29254 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
29255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
29256 $(HOST_EXPORTS) \
29257 echo Configuring in $(HOST_SUBDIR)/expect; \
29258 cd "$(HOST_SUBDIR)/expect" || exit 1; \
29259 case $(srcdir) in \
29260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29261 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
29262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29263 esac; \
29264 srcdiroption="--srcdir=$${topdir}/expect"; \
29265 libsrcdir="$$s/expect"; \
29266 $(SHELL) $${libsrcdir}/configure \
29267 $(HOST_CONFIGARGS) $${srcdiroption} \
29268 || exit 1
29269 @endif expect
29275 .PHONY: all-expect maybe-all-expect
29276 maybe-all-expect:
29277 @if gcc-bootstrap
29278 all-expect: stage_current
29279 @endif gcc-bootstrap
29280 @if expect
29281 TARGET-expect=all
29282 maybe-all-expect: all-expect
29283 all-expect: configure-expect
29284 @: $(MAKE); $(unstage)
29285 @r=`${PWD_COMMAND}`; export r; \
29286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29287 $(HOST_EXPORTS) \
29288 (cd $(HOST_SUBDIR)/expect && \
29289 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
29290 @endif expect
29295 .PHONY: check-expect maybe-check-expect
29296 maybe-check-expect:
29297 @if expect
29298 maybe-check-expect: check-expect
29300 check-expect:
29301 @: $(MAKE); $(unstage)
29302 @r=`${PWD_COMMAND}`; export r; \
29303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29304 $(HOST_EXPORTS) \
29305 (cd $(HOST_SUBDIR)/expect && \
29306 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29308 @endif expect
29310 .PHONY: install-expect maybe-install-expect
29311 maybe-install-expect:
29312 @if expect
29313 maybe-install-expect: install-expect
29315 install-expect: installdirs
29316 @: $(MAKE); $(unstage)
29317 @r=`${PWD_COMMAND}`; export r; \
29318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29319 $(HOST_EXPORTS) \
29320 (cd $(HOST_SUBDIR)/expect && \
29321 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29323 @endif expect
29325 # Other targets (info, dvi, etc.)
29327 .PHONY: maybe-info-expect info-expect
29328 maybe-info-expect:
29329 @if expect
29330 maybe-info-expect: info-expect
29332 info-expect: \
29333 configure-expect
29334 @: $(MAKE); $(unstage)
29335 @[ -f ./expect/Makefile ] || exit 0; \
29336 r=`${PWD_COMMAND}`; export r; \
29337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29338 $(HOST_EXPORTS) \
29339 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29341 done; \
29342 echo "Doing info in expect" ; \
29343 (cd $(HOST_SUBDIR)/expect && \
29344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29346 "RANLIB=$${RANLIB}" \
29347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29348 info) \
29349 || exit 1
29351 @endif expect
29353 .PHONY: maybe-dvi-expect dvi-expect
29354 maybe-dvi-expect:
29355 @if expect
29356 maybe-dvi-expect: dvi-expect
29358 dvi-expect: \
29359 configure-expect
29360 @: $(MAKE); $(unstage)
29361 @[ -f ./expect/Makefile ] || exit 0; \
29362 r=`${PWD_COMMAND}`; export r; \
29363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29364 $(HOST_EXPORTS) \
29365 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29367 done; \
29368 echo "Doing dvi in expect" ; \
29369 (cd $(HOST_SUBDIR)/expect && \
29370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29372 "RANLIB=$${RANLIB}" \
29373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29374 dvi) \
29375 || exit 1
29377 @endif expect
29379 .PHONY: maybe-html-expect html-expect
29380 maybe-html-expect:
29381 @if expect
29382 maybe-html-expect: html-expect
29384 html-expect: \
29385 configure-expect
29386 @: $(MAKE); $(unstage)
29387 @[ -f ./expect/Makefile ] || exit 0; \
29388 r=`${PWD_COMMAND}`; export r; \
29389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29390 $(HOST_EXPORTS) \
29391 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29393 done; \
29394 echo "Doing html in expect" ; \
29395 (cd $(HOST_SUBDIR)/expect && \
29396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29398 "RANLIB=$${RANLIB}" \
29399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29400 html) \
29401 || exit 1
29403 @endif expect
29405 .PHONY: maybe-TAGS-expect TAGS-expect
29406 maybe-TAGS-expect:
29407 @if expect
29408 maybe-TAGS-expect: TAGS-expect
29410 TAGS-expect: \
29411 configure-expect
29412 @: $(MAKE); $(unstage)
29413 @[ -f ./expect/Makefile ] || exit 0; \
29414 r=`${PWD_COMMAND}`; export r; \
29415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29416 $(HOST_EXPORTS) \
29417 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29419 done; \
29420 echo "Doing TAGS in expect" ; \
29421 (cd $(HOST_SUBDIR)/expect && \
29422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29424 "RANLIB=$${RANLIB}" \
29425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29426 TAGS) \
29427 || exit 1
29429 @endif expect
29431 .PHONY: maybe-install-info-expect install-info-expect
29432 maybe-install-info-expect:
29433 @if expect
29434 maybe-install-info-expect: install-info-expect
29436 install-info-expect: \
29437 configure-expect \
29438 info-expect
29439 @: $(MAKE); $(unstage)
29440 @[ -f ./expect/Makefile ] || exit 0; \
29441 r=`${PWD_COMMAND}`; export r; \
29442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29443 $(HOST_EXPORTS) \
29444 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29446 done; \
29447 echo "Doing install-info in expect" ; \
29448 (cd $(HOST_SUBDIR)/expect && \
29449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29451 "RANLIB=$${RANLIB}" \
29452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29453 install-info) \
29454 || exit 1
29456 @endif expect
29458 .PHONY: maybe-install-html-expect install-html-expect
29459 maybe-install-html-expect:
29460 @if expect
29461 maybe-install-html-expect: install-html-expect
29463 install-html-expect: \
29464 configure-expect \
29465 html-expect
29466 @: $(MAKE); $(unstage)
29467 @[ -f ./expect/Makefile ] || exit 0; \
29468 r=`${PWD_COMMAND}`; export r; \
29469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29470 $(HOST_EXPORTS) \
29471 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29473 done; \
29474 echo "Doing install-html in expect" ; \
29475 (cd $(HOST_SUBDIR)/expect && \
29476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29478 "RANLIB=$${RANLIB}" \
29479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29480 install-html) \
29481 || exit 1
29483 @endif expect
29485 .PHONY: maybe-installcheck-expect installcheck-expect
29486 maybe-installcheck-expect:
29487 @if expect
29488 maybe-installcheck-expect: installcheck-expect
29490 installcheck-expect: \
29491 configure-expect
29492 @: $(MAKE); $(unstage)
29493 @[ -f ./expect/Makefile ] || exit 0; \
29494 r=`${PWD_COMMAND}`; export r; \
29495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29496 $(HOST_EXPORTS) \
29497 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29499 done; \
29500 echo "Doing installcheck in expect" ; \
29501 (cd $(HOST_SUBDIR)/expect && \
29502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29504 "RANLIB=$${RANLIB}" \
29505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29506 installcheck) \
29507 || exit 1
29509 @endif expect
29511 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29512 maybe-mostlyclean-expect:
29513 @if expect
29514 maybe-mostlyclean-expect: mostlyclean-expect
29516 mostlyclean-expect:
29517 @: $(MAKE); $(unstage)
29518 @[ -f ./expect/Makefile ] || exit 0; \
29519 r=`${PWD_COMMAND}`; export r; \
29520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29521 $(HOST_EXPORTS) \
29522 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29524 done; \
29525 echo "Doing mostlyclean in expect" ; \
29526 (cd $(HOST_SUBDIR)/expect && \
29527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29529 "RANLIB=$${RANLIB}" \
29530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29531 mostlyclean) \
29532 || exit 1
29534 @endif expect
29536 .PHONY: maybe-clean-expect clean-expect
29537 maybe-clean-expect:
29538 @if expect
29539 maybe-clean-expect: clean-expect
29541 clean-expect:
29542 @: $(MAKE); $(unstage)
29543 @[ -f ./expect/Makefile ] || exit 0; \
29544 r=`${PWD_COMMAND}`; export r; \
29545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29546 $(HOST_EXPORTS) \
29547 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29549 done; \
29550 echo "Doing clean in expect" ; \
29551 (cd $(HOST_SUBDIR)/expect && \
29552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29554 "RANLIB=$${RANLIB}" \
29555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29556 clean) \
29557 || exit 1
29559 @endif expect
29561 .PHONY: maybe-distclean-expect distclean-expect
29562 maybe-distclean-expect:
29563 @if expect
29564 maybe-distclean-expect: distclean-expect
29566 distclean-expect:
29567 @: $(MAKE); $(unstage)
29568 @[ -f ./expect/Makefile ] || exit 0; \
29569 r=`${PWD_COMMAND}`; export r; \
29570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29571 $(HOST_EXPORTS) \
29572 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29574 done; \
29575 echo "Doing distclean in expect" ; \
29576 (cd $(HOST_SUBDIR)/expect && \
29577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29579 "RANLIB=$${RANLIB}" \
29580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29581 distclean) \
29582 || exit 1
29584 @endif expect
29586 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29587 maybe-maintainer-clean-expect:
29588 @if expect
29589 maybe-maintainer-clean-expect: maintainer-clean-expect
29591 maintainer-clean-expect:
29592 @: $(MAKE); $(unstage)
29593 @[ -f ./expect/Makefile ] || exit 0; \
29594 r=`${PWD_COMMAND}`; export r; \
29595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29596 $(HOST_EXPORTS) \
29597 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29599 done; \
29600 echo "Doing maintainer-clean in expect" ; \
29601 (cd $(HOST_SUBDIR)/expect && \
29602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29604 "RANLIB=$${RANLIB}" \
29605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29606 maintainer-clean) \
29607 || exit 1
29609 @endif expect
29613 .PHONY: configure-guile maybe-configure-guile
29614 maybe-configure-guile:
29615 @if gcc-bootstrap
29616 configure-guile: stage_current
29617 @endif gcc-bootstrap
29618 @if guile
29619 maybe-configure-guile: configure-guile
29620 configure-guile:
29621 @: $(MAKE); $(unstage)
29622 @r=`${PWD_COMMAND}`; export r; \
29623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29624 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29626 $(HOST_EXPORTS) \
29627 echo Configuring in $(HOST_SUBDIR)/guile; \
29628 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29629 case $(srcdir) in \
29630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29631 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29633 esac; \
29634 srcdiroption="--srcdir=$${topdir}/guile"; \
29635 libsrcdir="$$s/guile"; \
29636 $(SHELL) $${libsrcdir}/configure \
29637 $(HOST_CONFIGARGS) $${srcdiroption} \
29638 || exit 1
29639 @endif guile
29645 .PHONY: all-guile maybe-all-guile
29646 maybe-all-guile:
29647 @if gcc-bootstrap
29648 all-guile: stage_current
29649 @endif gcc-bootstrap
29650 @if guile
29651 TARGET-guile=all
29652 maybe-all-guile: all-guile
29653 all-guile: configure-guile
29654 @: $(MAKE); $(unstage)
29655 @r=`${PWD_COMMAND}`; export r; \
29656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29657 $(HOST_EXPORTS) \
29658 (cd $(HOST_SUBDIR)/guile && \
29659 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
29660 @endif guile
29665 .PHONY: check-guile maybe-check-guile
29666 maybe-check-guile:
29667 @if guile
29668 maybe-check-guile: check-guile
29670 check-guile:
29671 @: $(MAKE); $(unstage)
29672 @r=`${PWD_COMMAND}`; export r; \
29673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29674 $(HOST_EXPORTS) \
29675 (cd $(HOST_SUBDIR)/guile && \
29676 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29678 @endif guile
29680 .PHONY: install-guile maybe-install-guile
29681 maybe-install-guile:
29682 @if guile
29683 maybe-install-guile: install-guile
29685 install-guile: installdirs
29686 @: $(MAKE); $(unstage)
29687 @r=`${PWD_COMMAND}`; export r; \
29688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29689 $(HOST_EXPORTS) \
29690 (cd $(HOST_SUBDIR)/guile && \
29691 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29693 @endif guile
29695 # Other targets (info, dvi, etc.)
29697 .PHONY: maybe-info-guile info-guile
29698 maybe-info-guile:
29699 @if guile
29700 maybe-info-guile: info-guile
29702 info-guile: \
29703 configure-guile
29704 @: $(MAKE); $(unstage)
29705 @[ -f ./guile/Makefile ] || exit 0; \
29706 r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 $(HOST_EXPORTS) \
29709 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29711 done; \
29712 echo "Doing info in guile" ; \
29713 (cd $(HOST_SUBDIR)/guile && \
29714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29716 "RANLIB=$${RANLIB}" \
29717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29718 info) \
29719 || exit 1
29721 @endif guile
29723 .PHONY: maybe-dvi-guile dvi-guile
29724 maybe-dvi-guile:
29725 @if guile
29726 maybe-dvi-guile: dvi-guile
29728 dvi-guile: \
29729 configure-guile
29730 @: $(MAKE); $(unstage)
29731 @[ -f ./guile/Makefile ] || exit 0; \
29732 r=`${PWD_COMMAND}`; export r; \
29733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29734 $(HOST_EXPORTS) \
29735 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29737 done; \
29738 echo "Doing dvi in guile" ; \
29739 (cd $(HOST_SUBDIR)/guile && \
29740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29742 "RANLIB=$${RANLIB}" \
29743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29744 dvi) \
29745 || exit 1
29747 @endif guile
29749 .PHONY: maybe-html-guile html-guile
29750 maybe-html-guile:
29751 @if guile
29752 maybe-html-guile: html-guile
29754 html-guile: \
29755 configure-guile
29756 @: $(MAKE); $(unstage)
29757 @[ -f ./guile/Makefile ] || exit 0; \
29758 r=`${PWD_COMMAND}`; export r; \
29759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29760 $(HOST_EXPORTS) \
29761 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29763 done; \
29764 echo "Doing html in guile" ; \
29765 (cd $(HOST_SUBDIR)/guile && \
29766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29768 "RANLIB=$${RANLIB}" \
29769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29770 html) \
29771 || exit 1
29773 @endif guile
29775 .PHONY: maybe-TAGS-guile TAGS-guile
29776 maybe-TAGS-guile:
29777 @if guile
29778 maybe-TAGS-guile: TAGS-guile
29780 TAGS-guile: \
29781 configure-guile
29782 @: $(MAKE); $(unstage)
29783 @[ -f ./guile/Makefile ] || exit 0; \
29784 r=`${PWD_COMMAND}`; export r; \
29785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29786 $(HOST_EXPORTS) \
29787 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29789 done; \
29790 echo "Doing TAGS in guile" ; \
29791 (cd $(HOST_SUBDIR)/guile && \
29792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29794 "RANLIB=$${RANLIB}" \
29795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29796 TAGS) \
29797 || exit 1
29799 @endif guile
29801 .PHONY: maybe-install-info-guile install-info-guile
29802 maybe-install-info-guile:
29803 @if guile
29804 maybe-install-info-guile: install-info-guile
29806 install-info-guile: \
29807 configure-guile \
29808 info-guile
29809 @: $(MAKE); $(unstage)
29810 @[ -f ./guile/Makefile ] || exit 0; \
29811 r=`${PWD_COMMAND}`; export r; \
29812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29813 $(HOST_EXPORTS) \
29814 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29816 done; \
29817 echo "Doing install-info in guile" ; \
29818 (cd $(HOST_SUBDIR)/guile && \
29819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29821 "RANLIB=$${RANLIB}" \
29822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29823 install-info) \
29824 || exit 1
29826 @endif guile
29828 .PHONY: maybe-install-html-guile install-html-guile
29829 maybe-install-html-guile:
29830 @if guile
29831 maybe-install-html-guile: install-html-guile
29833 install-html-guile: \
29834 configure-guile \
29835 html-guile
29836 @: $(MAKE); $(unstage)
29837 @[ -f ./guile/Makefile ] || exit 0; \
29838 r=`${PWD_COMMAND}`; export r; \
29839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29840 $(HOST_EXPORTS) \
29841 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29843 done; \
29844 echo "Doing install-html in guile" ; \
29845 (cd $(HOST_SUBDIR)/guile && \
29846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29848 "RANLIB=$${RANLIB}" \
29849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29850 install-html) \
29851 || exit 1
29853 @endif guile
29855 .PHONY: maybe-installcheck-guile installcheck-guile
29856 maybe-installcheck-guile:
29857 @if guile
29858 maybe-installcheck-guile: installcheck-guile
29860 installcheck-guile: \
29861 configure-guile
29862 @: $(MAKE); $(unstage)
29863 @[ -f ./guile/Makefile ] || exit 0; \
29864 r=`${PWD_COMMAND}`; export r; \
29865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29866 $(HOST_EXPORTS) \
29867 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29869 done; \
29870 echo "Doing installcheck in guile" ; \
29871 (cd $(HOST_SUBDIR)/guile && \
29872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29874 "RANLIB=$${RANLIB}" \
29875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29876 installcheck) \
29877 || exit 1
29879 @endif guile
29881 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29882 maybe-mostlyclean-guile:
29883 @if guile
29884 maybe-mostlyclean-guile: mostlyclean-guile
29886 mostlyclean-guile:
29887 @: $(MAKE); $(unstage)
29888 @[ -f ./guile/Makefile ] || exit 0; \
29889 r=`${PWD_COMMAND}`; export r; \
29890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29891 $(HOST_EXPORTS) \
29892 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29894 done; \
29895 echo "Doing mostlyclean in guile" ; \
29896 (cd $(HOST_SUBDIR)/guile && \
29897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29899 "RANLIB=$${RANLIB}" \
29900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29901 mostlyclean) \
29902 || exit 1
29904 @endif guile
29906 .PHONY: maybe-clean-guile clean-guile
29907 maybe-clean-guile:
29908 @if guile
29909 maybe-clean-guile: clean-guile
29911 clean-guile:
29912 @: $(MAKE); $(unstage)
29913 @[ -f ./guile/Makefile ] || exit 0; \
29914 r=`${PWD_COMMAND}`; export r; \
29915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29916 $(HOST_EXPORTS) \
29917 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 echo "Doing clean in guile" ; \
29921 (cd $(HOST_SUBDIR)/guile && \
29922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29924 "RANLIB=$${RANLIB}" \
29925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29926 clean) \
29927 || exit 1
29929 @endif guile
29931 .PHONY: maybe-distclean-guile distclean-guile
29932 maybe-distclean-guile:
29933 @if guile
29934 maybe-distclean-guile: distclean-guile
29936 distclean-guile:
29937 @: $(MAKE); $(unstage)
29938 @[ -f ./guile/Makefile ] || exit 0; \
29939 r=`${PWD_COMMAND}`; export r; \
29940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29941 $(HOST_EXPORTS) \
29942 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29944 done; \
29945 echo "Doing distclean in guile" ; \
29946 (cd $(HOST_SUBDIR)/guile && \
29947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29949 "RANLIB=$${RANLIB}" \
29950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29951 distclean) \
29952 || exit 1
29954 @endif guile
29956 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29957 maybe-maintainer-clean-guile:
29958 @if guile
29959 maybe-maintainer-clean-guile: maintainer-clean-guile
29961 maintainer-clean-guile:
29962 @: $(MAKE); $(unstage)
29963 @[ -f ./guile/Makefile ] || exit 0; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29969 done; \
29970 echo "Doing maintainer-clean in guile" ; \
29971 (cd $(HOST_SUBDIR)/guile && \
29972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29974 "RANLIB=$${RANLIB}" \
29975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29976 maintainer-clean) \
29977 || exit 1
29979 @endif guile
29983 .PHONY: configure-tk maybe-configure-tk
29984 maybe-configure-tk:
29985 @if gcc-bootstrap
29986 configure-tk: stage_current
29987 @endif gcc-bootstrap
29988 @if tk
29989 maybe-configure-tk: configure-tk
29990 configure-tk:
29991 @: $(MAKE); $(unstage)
29992 @r=`${PWD_COMMAND}`; export r; \
29993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29994 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29996 $(HOST_EXPORTS) \
29997 echo Configuring in $(HOST_SUBDIR)/tk; \
29998 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29999 case $(srcdir) in \
30000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30001 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
30002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30003 esac; \
30004 srcdiroption="--srcdir=$${topdir}/tk"; \
30005 libsrcdir="$$s/tk"; \
30006 $(SHELL) $${libsrcdir}/configure \
30007 $(HOST_CONFIGARGS) $${srcdiroption} \
30008 || exit 1
30009 @endif tk
30015 .PHONY: all-tk maybe-all-tk
30016 maybe-all-tk:
30017 @if gcc-bootstrap
30018 all-tk: stage_current
30019 @endif gcc-bootstrap
30020 @if tk
30021 TARGET-tk=all
30022 maybe-all-tk: all-tk
30023 all-tk: configure-tk
30024 @: $(MAKE); $(unstage)
30025 @r=`${PWD_COMMAND}`; export r; \
30026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30027 $(HOST_EXPORTS) \
30028 (cd $(HOST_SUBDIR)/tk && \
30029 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
30030 @endif tk
30035 .PHONY: check-tk maybe-check-tk
30036 maybe-check-tk:
30037 @if tk
30038 maybe-check-tk: check-tk
30040 check-tk:
30041 @: $(MAKE); $(unstage)
30042 @r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30044 $(HOST_EXPORTS) \
30045 (cd $(HOST_SUBDIR)/tk && \
30046 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30048 @endif tk
30050 .PHONY: install-tk maybe-install-tk
30051 maybe-install-tk:
30052 @if tk
30053 maybe-install-tk: install-tk
30055 install-tk: installdirs
30056 @: $(MAKE); $(unstage)
30057 @r=`${PWD_COMMAND}`; export r; \
30058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30059 $(HOST_EXPORTS) \
30060 (cd $(HOST_SUBDIR)/tk && \
30061 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30063 @endif tk
30065 # Other targets (info, dvi, etc.)
30067 .PHONY: maybe-info-tk info-tk
30068 maybe-info-tk:
30069 @if tk
30070 maybe-info-tk: info-tk
30072 info-tk: \
30073 configure-tk
30074 @: $(MAKE); $(unstage)
30075 @[ -f ./tk/Makefile ] || exit 0; \
30076 r=`${PWD_COMMAND}`; export r; \
30077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30078 $(HOST_EXPORTS) \
30079 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30081 done; \
30082 echo "Doing info in tk" ; \
30083 (cd $(HOST_SUBDIR)/tk && \
30084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30086 "RANLIB=$${RANLIB}" \
30087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30088 info) \
30089 || exit 1
30091 @endif tk
30093 .PHONY: maybe-dvi-tk dvi-tk
30094 maybe-dvi-tk:
30095 @if tk
30096 maybe-dvi-tk: dvi-tk
30098 dvi-tk: \
30099 configure-tk
30100 @: $(MAKE); $(unstage)
30101 @[ -f ./tk/Makefile ] || exit 0; \
30102 r=`${PWD_COMMAND}`; export r; \
30103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30104 $(HOST_EXPORTS) \
30105 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30107 done; \
30108 echo "Doing dvi in tk" ; \
30109 (cd $(HOST_SUBDIR)/tk && \
30110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30112 "RANLIB=$${RANLIB}" \
30113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30114 dvi) \
30115 || exit 1
30117 @endif tk
30119 .PHONY: maybe-html-tk html-tk
30120 maybe-html-tk:
30121 @if tk
30122 maybe-html-tk: html-tk
30124 html-tk: \
30125 configure-tk
30126 @: $(MAKE); $(unstage)
30127 @[ -f ./tk/Makefile ] || exit 0; \
30128 r=`${PWD_COMMAND}`; export r; \
30129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30130 $(HOST_EXPORTS) \
30131 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30133 done; \
30134 echo "Doing html in tk" ; \
30135 (cd $(HOST_SUBDIR)/tk && \
30136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30138 "RANLIB=$${RANLIB}" \
30139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30140 html) \
30141 || exit 1
30143 @endif tk
30145 .PHONY: maybe-TAGS-tk TAGS-tk
30146 maybe-TAGS-tk:
30147 @if tk
30148 maybe-TAGS-tk: TAGS-tk
30150 TAGS-tk: \
30151 configure-tk
30152 @: $(MAKE); $(unstage)
30153 @[ -f ./tk/Makefile ] || exit 0; \
30154 r=`${PWD_COMMAND}`; export r; \
30155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30156 $(HOST_EXPORTS) \
30157 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30159 done; \
30160 echo "Doing TAGS in tk" ; \
30161 (cd $(HOST_SUBDIR)/tk && \
30162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30164 "RANLIB=$${RANLIB}" \
30165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30166 TAGS) \
30167 || exit 1
30169 @endif tk
30171 .PHONY: maybe-install-info-tk install-info-tk
30172 maybe-install-info-tk:
30173 @if tk
30174 maybe-install-info-tk: install-info-tk
30176 install-info-tk: \
30177 configure-tk \
30178 info-tk
30179 @: $(MAKE); $(unstage)
30180 @[ -f ./tk/Makefile ] || exit 0; \
30181 r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 $(HOST_EXPORTS) \
30184 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30186 done; \
30187 echo "Doing install-info in tk" ; \
30188 (cd $(HOST_SUBDIR)/tk && \
30189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30191 "RANLIB=$${RANLIB}" \
30192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30193 install-info) \
30194 || exit 1
30196 @endif tk
30198 .PHONY: maybe-install-html-tk install-html-tk
30199 maybe-install-html-tk:
30200 @if tk
30201 maybe-install-html-tk: install-html-tk
30203 install-html-tk: \
30204 configure-tk \
30205 html-tk
30206 @: $(MAKE); $(unstage)
30207 @[ -f ./tk/Makefile ] || exit 0; \
30208 r=`${PWD_COMMAND}`; export r; \
30209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30210 $(HOST_EXPORTS) \
30211 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30213 done; \
30214 echo "Doing install-html in tk" ; \
30215 (cd $(HOST_SUBDIR)/tk && \
30216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30218 "RANLIB=$${RANLIB}" \
30219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30220 install-html) \
30221 || exit 1
30223 @endif tk
30225 .PHONY: maybe-installcheck-tk installcheck-tk
30226 maybe-installcheck-tk:
30227 @if tk
30228 maybe-installcheck-tk: installcheck-tk
30230 installcheck-tk: \
30231 configure-tk
30232 @: $(MAKE); $(unstage)
30233 @[ -f ./tk/Makefile ] || exit 0; \
30234 r=`${PWD_COMMAND}`; export r; \
30235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30236 $(HOST_EXPORTS) \
30237 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30239 done; \
30240 echo "Doing installcheck in tk" ; \
30241 (cd $(HOST_SUBDIR)/tk && \
30242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30244 "RANLIB=$${RANLIB}" \
30245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30246 installcheck) \
30247 || exit 1
30249 @endif tk
30251 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
30252 maybe-mostlyclean-tk:
30253 @if tk
30254 maybe-mostlyclean-tk: mostlyclean-tk
30256 mostlyclean-tk:
30257 @: $(MAKE); $(unstage)
30258 @[ -f ./tk/Makefile ] || exit 0; \
30259 r=`${PWD_COMMAND}`; export r; \
30260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30261 $(HOST_EXPORTS) \
30262 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30264 done; \
30265 echo "Doing mostlyclean in tk" ; \
30266 (cd $(HOST_SUBDIR)/tk && \
30267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30269 "RANLIB=$${RANLIB}" \
30270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30271 mostlyclean) \
30272 || exit 1
30274 @endif tk
30276 .PHONY: maybe-clean-tk clean-tk
30277 maybe-clean-tk:
30278 @if tk
30279 maybe-clean-tk: clean-tk
30281 clean-tk:
30282 @: $(MAKE); $(unstage)
30283 @[ -f ./tk/Makefile ] || exit 0; \
30284 r=`${PWD_COMMAND}`; export r; \
30285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30286 $(HOST_EXPORTS) \
30287 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30289 done; \
30290 echo "Doing clean in tk" ; \
30291 (cd $(HOST_SUBDIR)/tk && \
30292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30294 "RANLIB=$${RANLIB}" \
30295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30296 clean) \
30297 || exit 1
30299 @endif tk
30301 .PHONY: maybe-distclean-tk distclean-tk
30302 maybe-distclean-tk:
30303 @if tk
30304 maybe-distclean-tk: distclean-tk
30306 distclean-tk:
30307 @: $(MAKE); $(unstage)
30308 @[ -f ./tk/Makefile ] || exit 0; \
30309 r=`${PWD_COMMAND}`; export r; \
30310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30311 $(HOST_EXPORTS) \
30312 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30314 done; \
30315 echo "Doing distclean in tk" ; \
30316 (cd $(HOST_SUBDIR)/tk && \
30317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30319 "RANLIB=$${RANLIB}" \
30320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30321 distclean) \
30322 || exit 1
30324 @endif tk
30326 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30327 maybe-maintainer-clean-tk:
30328 @if tk
30329 maybe-maintainer-clean-tk: maintainer-clean-tk
30331 maintainer-clean-tk:
30332 @: $(MAKE); $(unstage)
30333 @[ -f ./tk/Makefile ] || exit 0; \
30334 r=`${PWD_COMMAND}`; export r; \
30335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30336 $(HOST_EXPORTS) \
30337 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30339 done; \
30340 echo "Doing maintainer-clean in tk" ; \
30341 (cd $(HOST_SUBDIR)/tk && \
30342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30344 "RANLIB=$${RANLIB}" \
30345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30346 maintainer-clean) \
30347 || exit 1
30349 @endif tk
30353 .PHONY: configure-libtermcap maybe-configure-libtermcap
30354 maybe-configure-libtermcap:
30355 @if gcc-bootstrap
30356 configure-libtermcap: stage_current
30357 @endif gcc-bootstrap
30358 @if libtermcap
30359 maybe-configure-libtermcap: configure-libtermcap
30360 configure-libtermcap:
30361 @: $(MAKE); $(unstage)
30362 @r=`${PWD_COMMAND}`; export r; \
30363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30364 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30366 $(HOST_EXPORTS) \
30367 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30368 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30369 case $(srcdir) in \
30370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30371 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30373 esac; \
30374 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30375 libsrcdir="$$s/libtermcap"; \
30376 $(SHELL) $${libsrcdir}/configure \
30377 $(HOST_CONFIGARGS) $${srcdiroption} \
30378 || exit 1
30379 @endif libtermcap
30385 .PHONY: all-libtermcap maybe-all-libtermcap
30386 maybe-all-libtermcap:
30387 @if gcc-bootstrap
30388 all-libtermcap: stage_current
30389 @endif gcc-bootstrap
30390 @if libtermcap
30391 TARGET-libtermcap=all
30392 maybe-all-libtermcap: all-libtermcap
30393 all-libtermcap: configure-libtermcap
30394 @: $(MAKE); $(unstage)
30395 @r=`${PWD_COMMAND}`; export r; \
30396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30397 $(HOST_EXPORTS) \
30398 (cd $(HOST_SUBDIR)/libtermcap && \
30399 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
30400 @endif libtermcap
30405 .PHONY: check-libtermcap maybe-check-libtermcap
30406 maybe-check-libtermcap:
30407 @if libtermcap
30408 maybe-check-libtermcap: check-libtermcap
30410 check-libtermcap:
30412 @endif libtermcap
30414 .PHONY: install-libtermcap maybe-install-libtermcap
30415 maybe-install-libtermcap:
30416 @if libtermcap
30417 maybe-install-libtermcap: install-libtermcap
30419 install-libtermcap: installdirs
30420 @: $(MAKE); $(unstage)
30421 @r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30423 $(HOST_EXPORTS) \
30424 (cd $(HOST_SUBDIR)/libtermcap && \
30425 $(MAKE) $(FLAGS_TO_PASS) install)
30427 @endif libtermcap
30429 # Other targets (info, dvi, etc.)
30431 .PHONY: maybe-info-libtermcap info-libtermcap
30432 maybe-info-libtermcap:
30433 @if libtermcap
30434 maybe-info-libtermcap: info-libtermcap
30436 info-libtermcap: \
30437 configure-libtermcap
30438 @: $(MAKE); $(unstage)
30439 @[ -f ./libtermcap/Makefile ] || exit 0; \
30440 r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(HOST_EXPORTS) \
30443 for flag in $(EXTRA_HOST_FLAGS) ; do \
30444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30445 done; \
30446 echo "Doing info in libtermcap" ; \
30447 (cd $(HOST_SUBDIR)/libtermcap && \
30448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30450 "RANLIB=$${RANLIB}" \
30451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30452 info) \
30453 || exit 1
30455 @endif libtermcap
30457 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30458 maybe-dvi-libtermcap:
30459 @if libtermcap
30460 maybe-dvi-libtermcap: dvi-libtermcap
30462 dvi-libtermcap: \
30463 configure-libtermcap
30464 @: $(MAKE); $(unstage)
30465 @[ -f ./libtermcap/Makefile ] || exit 0; \
30466 r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(HOST_EXPORTS) \
30469 for flag in $(EXTRA_HOST_FLAGS) ; do \
30470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30471 done; \
30472 echo "Doing dvi in libtermcap" ; \
30473 (cd $(HOST_SUBDIR)/libtermcap && \
30474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30476 "RANLIB=$${RANLIB}" \
30477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30478 dvi) \
30479 || exit 1
30481 @endif libtermcap
30483 .PHONY: maybe-html-libtermcap html-libtermcap
30484 maybe-html-libtermcap:
30485 @if libtermcap
30486 maybe-html-libtermcap: html-libtermcap
30488 html-libtermcap: \
30489 configure-libtermcap
30490 @: $(MAKE); $(unstage)
30491 @[ -f ./libtermcap/Makefile ] || exit 0; \
30492 r=`${PWD_COMMAND}`; export r; \
30493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30494 $(HOST_EXPORTS) \
30495 for flag in $(EXTRA_HOST_FLAGS) ; do \
30496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30497 done; \
30498 echo "Doing html in libtermcap" ; \
30499 (cd $(HOST_SUBDIR)/libtermcap && \
30500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30502 "RANLIB=$${RANLIB}" \
30503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30504 html) \
30505 || exit 1
30507 @endif libtermcap
30509 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30510 maybe-TAGS-libtermcap:
30511 @if libtermcap
30512 maybe-TAGS-libtermcap: TAGS-libtermcap
30514 TAGS-libtermcap: \
30515 configure-libtermcap
30516 @: $(MAKE); $(unstage)
30517 @[ -f ./libtermcap/Makefile ] || exit 0; \
30518 r=`${PWD_COMMAND}`; export r; \
30519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30520 $(HOST_EXPORTS) \
30521 for flag in $(EXTRA_HOST_FLAGS) ; do \
30522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30523 done; \
30524 echo "Doing TAGS in libtermcap" ; \
30525 (cd $(HOST_SUBDIR)/libtermcap && \
30526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30528 "RANLIB=$${RANLIB}" \
30529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30530 TAGS) \
30531 || exit 1
30533 @endif libtermcap
30535 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30536 maybe-install-info-libtermcap:
30537 @if libtermcap
30538 maybe-install-info-libtermcap: install-info-libtermcap
30540 install-info-libtermcap: \
30541 configure-libtermcap \
30542 info-libtermcap
30543 @: $(MAKE); $(unstage)
30544 @[ -f ./libtermcap/Makefile ] || exit 0; \
30545 r=`${PWD_COMMAND}`; export r; \
30546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30547 $(HOST_EXPORTS) \
30548 for flag in $(EXTRA_HOST_FLAGS) ; do \
30549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30550 done; \
30551 echo "Doing install-info in libtermcap" ; \
30552 (cd $(HOST_SUBDIR)/libtermcap && \
30553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30555 "RANLIB=$${RANLIB}" \
30556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30557 install-info) \
30558 || exit 1
30560 @endif libtermcap
30562 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30563 maybe-install-html-libtermcap:
30564 @if libtermcap
30565 maybe-install-html-libtermcap: install-html-libtermcap
30567 install-html-libtermcap: \
30568 configure-libtermcap \
30569 html-libtermcap
30570 @: $(MAKE); $(unstage)
30571 @[ -f ./libtermcap/Makefile ] || exit 0; \
30572 r=`${PWD_COMMAND}`; export r; \
30573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30574 $(HOST_EXPORTS) \
30575 for flag in $(EXTRA_HOST_FLAGS) ; do \
30576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30577 done; \
30578 echo "Doing install-html in libtermcap" ; \
30579 (cd $(HOST_SUBDIR)/libtermcap && \
30580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30582 "RANLIB=$${RANLIB}" \
30583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30584 install-html) \
30585 || exit 1
30587 @endif libtermcap
30589 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30590 maybe-installcheck-libtermcap:
30591 @if libtermcap
30592 maybe-installcheck-libtermcap: installcheck-libtermcap
30594 installcheck-libtermcap: \
30595 configure-libtermcap
30596 @: $(MAKE); $(unstage)
30597 @[ -f ./libtermcap/Makefile ] || exit 0; \
30598 r=`${PWD_COMMAND}`; export r; \
30599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30600 $(HOST_EXPORTS) \
30601 for flag in $(EXTRA_HOST_FLAGS) ; do \
30602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30603 done; \
30604 echo "Doing installcheck in libtermcap" ; \
30605 (cd $(HOST_SUBDIR)/libtermcap && \
30606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30608 "RANLIB=$${RANLIB}" \
30609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30610 installcheck) \
30611 || exit 1
30613 @endif libtermcap
30615 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30616 maybe-mostlyclean-libtermcap:
30617 @if libtermcap
30618 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30620 # libtermcap doesn't support mostlyclean.
30621 mostlyclean-libtermcap:
30623 @endif libtermcap
30625 .PHONY: maybe-clean-libtermcap clean-libtermcap
30626 maybe-clean-libtermcap:
30627 @if libtermcap
30628 maybe-clean-libtermcap: clean-libtermcap
30630 # libtermcap doesn't support clean.
30631 clean-libtermcap:
30633 @endif libtermcap
30635 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30636 maybe-distclean-libtermcap:
30637 @if libtermcap
30638 maybe-distclean-libtermcap: distclean-libtermcap
30640 # libtermcap doesn't support distclean.
30641 distclean-libtermcap:
30643 @endif libtermcap
30645 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30646 maybe-maintainer-clean-libtermcap:
30647 @if libtermcap
30648 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30650 # libtermcap doesn't support maintainer-clean.
30651 maintainer-clean-libtermcap:
30653 @endif libtermcap
30657 .PHONY: configure-utils maybe-configure-utils
30658 maybe-configure-utils:
30659 @if gcc-bootstrap
30660 configure-utils: stage_current
30661 @endif gcc-bootstrap
30662 @if utils
30663 maybe-configure-utils: configure-utils
30664 configure-utils:
30665 @: $(MAKE); $(unstage)
30666 @r=`${PWD_COMMAND}`; export r; \
30667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30668 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30670 $(HOST_EXPORTS) \
30671 echo Configuring in $(HOST_SUBDIR)/utils; \
30672 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30673 case $(srcdir) in \
30674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30675 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30677 esac; \
30678 srcdiroption="--srcdir=$${topdir}/utils"; \
30679 libsrcdir="$$s/utils"; \
30680 $(SHELL) $${libsrcdir}/configure \
30681 $(HOST_CONFIGARGS) $${srcdiroption} \
30682 || exit 1
30683 @endif utils
30689 .PHONY: all-utils maybe-all-utils
30690 maybe-all-utils:
30691 @if gcc-bootstrap
30692 all-utils: stage_current
30693 @endif gcc-bootstrap
30694 @if utils
30695 TARGET-utils=all
30696 maybe-all-utils: all-utils
30697 all-utils: configure-utils
30698 @: $(MAKE); $(unstage)
30699 @r=`${PWD_COMMAND}`; export r; \
30700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30701 $(HOST_EXPORTS) \
30702 (cd $(HOST_SUBDIR)/utils && \
30703 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
30704 @endif utils
30709 .PHONY: check-utils maybe-check-utils
30710 maybe-check-utils:
30711 @if utils
30712 maybe-check-utils: check-utils
30714 check-utils:
30716 @endif utils
30718 .PHONY: install-utils maybe-install-utils
30719 maybe-install-utils:
30720 @if utils
30721 maybe-install-utils: install-utils
30723 install-utils: installdirs
30724 @: $(MAKE); $(unstage)
30725 @r=`${PWD_COMMAND}`; export r; \
30726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30727 $(HOST_EXPORTS) \
30728 (cd $(HOST_SUBDIR)/utils && \
30729 $(MAKE) $(FLAGS_TO_PASS) install)
30731 @endif utils
30733 # Other targets (info, dvi, etc.)
30735 .PHONY: maybe-info-utils info-utils
30736 maybe-info-utils:
30737 @if utils
30738 maybe-info-utils: info-utils
30740 info-utils: \
30741 configure-utils
30742 @: $(MAKE); $(unstage)
30743 @[ -f ./utils/Makefile ] || exit 0; \
30744 r=`${PWD_COMMAND}`; export r; \
30745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30746 $(HOST_EXPORTS) \
30747 for flag in $(EXTRA_HOST_FLAGS) ; do \
30748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30749 done; \
30750 echo "Doing info in utils" ; \
30751 (cd $(HOST_SUBDIR)/utils && \
30752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30754 "RANLIB=$${RANLIB}" \
30755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30756 info) \
30757 || exit 1
30759 @endif utils
30761 .PHONY: maybe-dvi-utils dvi-utils
30762 maybe-dvi-utils:
30763 @if utils
30764 maybe-dvi-utils: dvi-utils
30766 dvi-utils: \
30767 configure-utils
30768 @: $(MAKE); $(unstage)
30769 @[ -f ./utils/Makefile ] || exit 0; \
30770 r=`${PWD_COMMAND}`; export r; \
30771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30772 $(HOST_EXPORTS) \
30773 for flag in $(EXTRA_HOST_FLAGS) ; do \
30774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30775 done; \
30776 echo "Doing dvi in utils" ; \
30777 (cd $(HOST_SUBDIR)/utils && \
30778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30780 "RANLIB=$${RANLIB}" \
30781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30782 dvi) \
30783 || exit 1
30785 @endif utils
30787 .PHONY: maybe-html-utils html-utils
30788 maybe-html-utils:
30789 @if utils
30790 maybe-html-utils: html-utils
30792 html-utils: \
30793 configure-utils
30794 @: $(MAKE); $(unstage)
30795 @[ -f ./utils/Makefile ] || exit 0; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30798 $(HOST_EXPORTS) \
30799 for flag in $(EXTRA_HOST_FLAGS) ; do \
30800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30801 done; \
30802 echo "Doing html in utils" ; \
30803 (cd $(HOST_SUBDIR)/utils && \
30804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30806 "RANLIB=$${RANLIB}" \
30807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30808 html) \
30809 || exit 1
30811 @endif utils
30813 .PHONY: maybe-TAGS-utils TAGS-utils
30814 maybe-TAGS-utils:
30815 @if utils
30816 maybe-TAGS-utils: TAGS-utils
30818 TAGS-utils: \
30819 configure-utils
30820 @: $(MAKE); $(unstage)
30821 @[ -f ./utils/Makefile ] || exit 0; \
30822 r=`${PWD_COMMAND}`; export r; \
30823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30824 $(HOST_EXPORTS) \
30825 for flag in $(EXTRA_HOST_FLAGS) ; do \
30826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30827 done; \
30828 echo "Doing TAGS in utils" ; \
30829 (cd $(HOST_SUBDIR)/utils && \
30830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30832 "RANLIB=$${RANLIB}" \
30833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30834 TAGS) \
30835 || exit 1
30837 @endif utils
30839 .PHONY: maybe-install-info-utils install-info-utils
30840 maybe-install-info-utils:
30841 @if utils
30842 maybe-install-info-utils: install-info-utils
30844 install-info-utils: \
30845 configure-utils \
30846 info-utils
30847 @: $(MAKE); $(unstage)
30848 @[ -f ./utils/Makefile ] || exit 0; \
30849 r=`${PWD_COMMAND}`; export r; \
30850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30851 $(HOST_EXPORTS) \
30852 for flag in $(EXTRA_HOST_FLAGS) ; do \
30853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30854 done; \
30855 echo "Doing install-info in utils" ; \
30856 (cd $(HOST_SUBDIR)/utils && \
30857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30859 "RANLIB=$${RANLIB}" \
30860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30861 install-info) \
30862 || exit 1
30864 @endif utils
30866 .PHONY: maybe-install-html-utils install-html-utils
30867 maybe-install-html-utils:
30868 @if utils
30869 maybe-install-html-utils: install-html-utils
30871 install-html-utils: \
30872 configure-utils \
30873 html-utils
30874 @: $(MAKE); $(unstage)
30875 @[ -f ./utils/Makefile ] || exit 0; \
30876 r=`${PWD_COMMAND}`; export r; \
30877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30878 $(HOST_EXPORTS) \
30879 for flag in $(EXTRA_HOST_FLAGS) ; do \
30880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30881 done; \
30882 echo "Doing install-html in utils" ; \
30883 (cd $(HOST_SUBDIR)/utils && \
30884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30886 "RANLIB=$${RANLIB}" \
30887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30888 install-html) \
30889 || exit 1
30891 @endif utils
30893 .PHONY: maybe-installcheck-utils installcheck-utils
30894 maybe-installcheck-utils:
30895 @if utils
30896 maybe-installcheck-utils: installcheck-utils
30898 installcheck-utils: \
30899 configure-utils
30900 @: $(MAKE); $(unstage)
30901 @[ -f ./utils/Makefile ] || exit 0; \
30902 r=`${PWD_COMMAND}`; export r; \
30903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30904 $(HOST_EXPORTS) \
30905 for flag in $(EXTRA_HOST_FLAGS) ; do \
30906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30907 done; \
30908 echo "Doing installcheck in utils" ; \
30909 (cd $(HOST_SUBDIR)/utils && \
30910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30912 "RANLIB=$${RANLIB}" \
30913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30914 installcheck) \
30915 || exit 1
30917 @endif utils
30919 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30920 maybe-mostlyclean-utils:
30921 @if utils
30922 maybe-mostlyclean-utils: mostlyclean-utils
30924 mostlyclean-utils:
30925 @: $(MAKE); $(unstage)
30926 @[ -f ./utils/Makefile ] || exit 0; \
30927 r=`${PWD_COMMAND}`; export r; \
30928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30929 $(HOST_EXPORTS) \
30930 for flag in $(EXTRA_HOST_FLAGS) ; do \
30931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30932 done; \
30933 echo "Doing mostlyclean in utils" ; \
30934 (cd $(HOST_SUBDIR)/utils && \
30935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30937 "RANLIB=$${RANLIB}" \
30938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30939 mostlyclean) \
30940 || exit 1
30942 @endif utils
30944 .PHONY: maybe-clean-utils clean-utils
30945 maybe-clean-utils:
30946 @if utils
30947 maybe-clean-utils: clean-utils
30949 clean-utils:
30950 @: $(MAKE); $(unstage)
30951 @[ -f ./utils/Makefile ] || exit 0; \
30952 r=`${PWD_COMMAND}`; export r; \
30953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30954 $(HOST_EXPORTS) \
30955 for flag in $(EXTRA_HOST_FLAGS) ; do \
30956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30957 done; \
30958 echo "Doing clean in utils" ; \
30959 (cd $(HOST_SUBDIR)/utils && \
30960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30962 "RANLIB=$${RANLIB}" \
30963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30964 clean) \
30965 || exit 1
30967 @endif utils
30969 .PHONY: maybe-distclean-utils distclean-utils
30970 maybe-distclean-utils:
30971 @if utils
30972 maybe-distclean-utils: distclean-utils
30974 distclean-utils:
30975 @: $(MAKE); $(unstage)
30976 @[ -f ./utils/Makefile ] || exit 0; \
30977 r=`${PWD_COMMAND}`; export r; \
30978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30979 $(HOST_EXPORTS) \
30980 for flag in $(EXTRA_HOST_FLAGS) ; do \
30981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30982 done; \
30983 echo "Doing distclean in utils" ; \
30984 (cd $(HOST_SUBDIR)/utils && \
30985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30987 "RANLIB=$${RANLIB}" \
30988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30989 distclean) \
30990 || exit 1
30992 @endif utils
30994 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30995 maybe-maintainer-clean-utils:
30996 @if utils
30997 maybe-maintainer-clean-utils: maintainer-clean-utils
30999 maintainer-clean-utils:
31000 @: $(MAKE); $(unstage)
31001 @[ -f ./utils/Makefile ] || exit 0; \
31002 r=`${PWD_COMMAND}`; export r; \
31003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31004 $(HOST_EXPORTS) \
31005 for flag in $(EXTRA_HOST_FLAGS) ; do \
31006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31007 done; \
31008 echo "Doing maintainer-clean in utils" ; \
31009 (cd $(HOST_SUBDIR)/utils && \
31010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31012 "RANLIB=$${RANLIB}" \
31013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31014 maintainer-clean) \
31015 || exit 1
31017 @endif utils
31021 .PHONY: configure-gnattools maybe-configure-gnattools
31022 maybe-configure-gnattools:
31023 @if gcc-bootstrap
31024 configure-gnattools: stage_current
31025 @endif gcc-bootstrap
31026 @if gnattools
31027 maybe-configure-gnattools: configure-gnattools
31028 configure-gnattools:
31029 @: $(MAKE); $(unstage)
31030 @r=`${PWD_COMMAND}`; export r; \
31031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31032 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
31033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
31034 $(HOST_EXPORTS) \
31035 echo Configuring in $(HOST_SUBDIR)/gnattools; \
31036 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
31037 case $(srcdir) in \
31038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31039 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
31040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31041 esac; \
31042 srcdiroption="--srcdir=$${topdir}/gnattools"; \
31043 libsrcdir="$$s/gnattools"; \
31044 $(SHELL) $${libsrcdir}/configure \
31045 $(HOST_CONFIGARGS) $${srcdiroption} \
31046 || exit 1
31047 @endif gnattools
31053 .PHONY: all-gnattools maybe-all-gnattools
31054 maybe-all-gnattools:
31055 @if gcc-bootstrap
31056 all-gnattools: stage_current
31057 @endif gcc-bootstrap
31058 @if gnattools
31059 TARGET-gnattools=all
31060 maybe-all-gnattools: all-gnattools
31061 all-gnattools: configure-gnattools
31062 @: $(MAKE); $(unstage)
31063 @r=`${PWD_COMMAND}`; export r; \
31064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31065 $(HOST_EXPORTS) \
31066 (cd $(HOST_SUBDIR)/gnattools && \
31067 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
31068 @endif gnattools
31073 .PHONY: check-gnattools maybe-check-gnattools
31074 maybe-check-gnattools:
31075 @if gnattools
31076 maybe-check-gnattools: check-gnattools
31078 check-gnattools:
31079 @: $(MAKE); $(unstage)
31080 @r=`${PWD_COMMAND}`; export r; \
31081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31082 $(HOST_EXPORTS) \
31083 (cd $(HOST_SUBDIR)/gnattools && \
31084 $(MAKE) $(FLAGS_TO_PASS) check)
31086 @endif gnattools
31088 .PHONY: install-gnattools maybe-install-gnattools
31089 maybe-install-gnattools:
31090 @if gnattools
31091 maybe-install-gnattools: install-gnattools
31093 install-gnattools: installdirs
31094 @: $(MAKE); $(unstage)
31095 @r=`${PWD_COMMAND}`; export r; \
31096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31097 $(HOST_EXPORTS) \
31098 (cd $(HOST_SUBDIR)/gnattools && \
31099 $(MAKE) $(FLAGS_TO_PASS) install)
31101 @endif gnattools
31103 # Other targets (info, dvi, etc.)
31105 .PHONY: maybe-info-gnattools info-gnattools
31106 maybe-info-gnattools:
31107 @if gnattools
31108 maybe-info-gnattools: info-gnattools
31110 info-gnattools: \
31111 configure-gnattools
31112 @: $(MAKE); $(unstage)
31113 @[ -f ./gnattools/Makefile ] || exit 0; \
31114 r=`${PWD_COMMAND}`; export r; \
31115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31116 $(HOST_EXPORTS) \
31117 for flag in $(EXTRA_HOST_FLAGS) ; do \
31118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31119 done; \
31120 echo "Doing info in gnattools" ; \
31121 (cd $(HOST_SUBDIR)/gnattools && \
31122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31124 "RANLIB=$${RANLIB}" \
31125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31126 info) \
31127 || exit 1
31129 @endif gnattools
31131 .PHONY: maybe-dvi-gnattools dvi-gnattools
31132 maybe-dvi-gnattools:
31133 @if gnattools
31134 maybe-dvi-gnattools: dvi-gnattools
31136 dvi-gnattools: \
31137 configure-gnattools
31138 @: $(MAKE); $(unstage)
31139 @[ -f ./gnattools/Makefile ] || exit 0; \
31140 r=`${PWD_COMMAND}`; export r; \
31141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31142 $(HOST_EXPORTS) \
31143 for flag in $(EXTRA_HOST_FLAGS) ; do \
31144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31145 done; \
31146 echo "Doing dvi in gnattools" ; \
31147 (cd $(HOST_SUBDIR)/gnattools && \
31148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31150 "RANLIB=$${RANLIB}" \
31151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31152 dvi) \
31153 || exit 1
31155 @endif gnattools
31157 .PHONY: maybe-html-gnattools html-gnattools
31158 maybe-html-gnattools:
31159 @if gnattools
31160 maybe-html-gnattools: html-gnattools
31162 html-gnattools: \
31163 configure-gnattools
31164 @: $(MAKE); $(unstage)
31165 @[ -f ./gnattools/Makefile ] || exit 0; \
31166 r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 $(HOST_EXPORTS) \
31169 for flag in $(EXTRA_HOST_FLAGS) ; do \
31170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31171 done; \
31172 echo "Doing html in gnattools" ; \
31173 (cd $(HOST_SUBDIR)/gnattools && \
31174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31176 "RANLIB=$${RANLIB}" \
31177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31178 html) \
31179 || exit 1
31181 @endif gnattools
31183 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
31184 maybe-TAGS-gnattools:
31185 @if gnattools
31186 maybe-TAGS-gnattools: TAGS-gnattools
31188 TAGS-gnattools: \
31189 configure-gnattools
31190 @: $(MAKE); $(unstage)
31191 @[ -f ./gnattools/Makefile ] || exit 0; \
31192 r=`${PWD_COMMAND}`; export r; \
31193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31194 $(HOST_EXPORTS) \
31195 for flag in $(EXTRA_HOST_FLAGS) ; do \
31196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31197 done; \
31198 echo "Doing TAGS in gnattools" ; \
31199 (cd $(HOST_SUBDIR)/gnattools && \
31200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31202 "RANLIB=$${RANLIB}" \
31203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31204 TAGS) \
31205 || exit 1
31207 @endif gnattools
31209 .PHONY: maybe-install-info-gnattools install-info-gnattools
31210 maybe-install-info-gnattools:
31211 @if gnattools
31212 maybe-install-info-gnattools: install-info-gnattools
31214 install-info-gnattools: \
31215 configure-gnattools \
31216 info-gnattools
31217 @: $(MAKE); $(unstage)
31218 @[ -f ./gnattools/Makefile ] || exit 0; \
31219 r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(HOST_EXPORTS) \
31222 for flag in $(EXTRA_HOST_FLAGS) ; do \
31223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31224 done; \
31225 echo "Doing install-info in gnattools" ; \
31226 (cd $(HOST_SUBDIR)/gnattools && \
31227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31229 "RANLIB=$${RANLIB}" \
31230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31231 install-info) \
31232 || exit 1
31234 @endif gnattools
31236 .PHONY: maybe-install-html-gnattools install-html-gnattools
31237 maybe-install-html-gnattools:
31238 @if gnattools
31239 maybe-install-html-gnattools: install-html-gnattools
31241 install-html-gnattools: \
31242 configure-gnattools \
31243 html-gnattools
31244 @: $(MAKE); $(unstage)
31245 @[ -f ./gnattools/Makefile ] || exit 0; \
31246 r=`${PWD_COMMAND}`; export r; \
31247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31248 $(HOST_EXPORTS) \
31249 for flag in $(EXTRA_HOST_FLAGS) ; do \
31250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31251 done; \
31252 echo "Doing install-html in gnattools" ; \
31253 (cd $(HOST_SUBDIR)/gnattools && \
31254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31256 "RANLIB=$${RANLIB}" \
31257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31258 install-html) \
31259 || exit 1
31261 @endif gnattools
31263 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
31264 maybe-installcheck-gnattools:
31265 @if gnattools
31266 maybe-installcheck-gnattools: installcheck-gnattools
31268 installcheck-gnattools: \
31269 configure-gnattools
31270 @: $(MAKE); $(unstage)
31271 @[ -f ./gnattools/Makefile ] || exit 0; \
31272 r=`${PWD_COMMAND}`; export r; \
31273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31274 $(HOST_EXPORTS) \
31275 for flag in $(EXTRA_HOST_FLAGS) ; do \
31276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31277 done; \
31278 echo "Doing installcheck in gnattools" ; \
31279 (cd $(HOST_SUBDIR)/gnattools && \
31280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31282 "RANLIB=$${RANLIB}" \
31283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31284 installcheck) \
31285 || exit 1
31287 @endif gnattools
31289 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
31290 maybe-mostlyclean-gnattools:
31291 @if gnattools
31292 maybe-mostlyclean-gnattools: mostlyclean-gnattools
31294 mostlyclean-gnattools:
31295 @: $(MAKE); $(unstage)
31296 @[ -f ./gnattools/Makefile ] || exit 0; \
31297 r=`${PWD_COMMAND}`; export r; \
31298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31299 $(HOST_EXPORTS) \
31300 for flag in $(EXTRA_HOST_FLAGS) ; do \
31301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31302 done; \
31303 echo "Doing mostlyclean in gnattools" ; \
31304 (cd $(HOST_SUBDIR)/gnattools && \
31305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31307 "RANLIB=$${RANLIB}" \
31308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31309 mostlyclean) \
31310 || exit 1
31312 @endif gnattools
31314 .PHONY: maybe-clean-gnattools clean-gnattools
31315 maybe-clean-gnattools:
31316 @if gnattools
31317 maybe-clean-gnattools: clean-gnattools
31319 clean-gnattools:
31320 @: $(MAKE); $(unstage)
31321 @[ -f ./gnattools/Makefile ] || exit 0; \
31322 r=`${PWD_COMMAND}`; export r; \
31323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31324 $(HOST_EXPORTS) \
31325 for flag in $(EXTRA_HOST_FLAGS) ; do \
31326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31327 done; \
31328 echo "Doing clean in gnattools" ; \
31329 (cd $(HOST_SUBDIR)/gnattools && \
31330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31332 "RANLIB=$${RANLIB}" \
31333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31334 clean) \
31335 || exit 1
31337 @endif gnattools
31339 .PHONY: maybe-distclean-gnattools distclean-gnattools
31340 maybe-distclean-gnattools:
31341 @if gnattools
31342 maybe-distclean-gnattools: distclean-gnattools
31344 distclean-gnattools:
31345 @: $(MAKE); $(unstage)
31346 @[ -f ./gnattools/Makefile ] || exit 0; \
31347 r=`${PWD_COMMAND}`; export r; \
31348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31349 $(HOST_EXPORTS) \
31350 for flag in $(EXTRA_HOST_FLAGS) ; do \
31351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31352 done; \
31353 echo "Doing distclean in gnattools" ; \
31354 (cd $(HOST_SUBDIR)/gnattools && \
31355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31357 "RANLIB=$${RANLIB}" \
31358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31359 distclean) \
31360 || exit 1
31362 @endif gnattools
31364 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31365 maybe-maintainer-clean-gnattools:
31366 @if gnattools
31367 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31369 maintainer-clean-gnattools:
31370 @: $(MAKE); $(unstage)
31371 @[ -f ./gnattools/Makefile ] || exit 0; \
31372 r=`${PWD_COMMAND}`; export r; \
31373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31374 $(HOST_EXPORTS) \
31375 for flag in $(EXTRA_HOST_FLAGS) ; do \
31376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31377 done; \
31378 echo "Doing maintainer-clean in gnattools" ; \
31379 (cd $(HOST_SUBDIR)/gnattools && \
31380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31382 "RANLIB=$${RANLIB}" \
31383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31384 maintainer-clean) \
31385 || exit 1
31387 @endif gnattools
31391 # ---------------------------------------
31392 # Modules which run on the target machine
31393 # ---------------------------------------
31398 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31399 maybe-configure-target-libstdc++-v3:
31400 @if gcc-bootstrap
31401 configure-target-libstdc++-v3: stage_current
31402 @endif gcc-bootstrap
31403 @if target-libstdc++-v3
31404 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31405 configure-target-libstdc++-v3:
31406 @: $(MAKE); $(unstage)
31407 @r=`${PWD_COMMAND}`; export r; \
31408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31409 echo "Checking multilib configuration for libstdc++-v3..."; \
31410 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31411 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31412 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31413 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31414 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31415 else \
31416 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31417 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31418 fi; \
31419 else \
31420 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31421 fi; \
31422 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31424 $(RAW_CXX_TARGET_EXPORTS) \
31425 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31426 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31427 case $(srcdir) in \
31428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31429 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31431 esac; \
31432 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31433 libsrcdir="$$s/libstdc++-v3"; \
31434 rm -f no-such-file || : ; \
31435 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31436 $(TARGET_CONFIGARGS) $${srcdiroption} \
31437 || exit 1
31438 @endif target-libstdc++-v3
31444 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31445 maybe-all-target-libstdc++-v3:
31446 @if gcc-bootstrap
31447 all-target-libstdc++-v3: stage_current
31448 @endif gcc-bootstrap
31449 @if target-libstdc++-v3
31450 TARGET-target-libstdc++-v3=all
31451 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31452 all-target-libstdc++-v3: configure-target-libstdc++-v3
31453 @: $(MAKE); $(unstage)
31454 @r=`${PWD_COMMAND}`; export r; \
31455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31456 $(RAW_CXX_TARGET_EXPORTS) \
31457 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31458 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
31459 @endif target-libstdc++-v3
31465 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31466 maybe-check-target-libstdc++-v3:
31467 @if target-libstdc++-v3
31468 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31470 check-target-libstdc++-v3:
31471 @: $(MAKE); $(unstage)
31472 @r=`${PWD_COMMAND}`; export r; \
31473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31474 $(RAW_CXX_TARGET_EXPORTS) \
31475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31476 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31478 @endif target-libstdc++-v3
31480 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31481 maybe-install-target-libstdc++-v3:
31482 @if target-libstdc++-v3
31483 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31485 install-target-libstdc++-v3: installdirs
31486 @: $(MAKE); $(unstage)
31487 @r=`${PWD_COMMAND}`; export r; \
31488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31489 $(RAW_CXX_TARGET_EXPORTS) \
31490 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31491 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31493 @endif target-libstdc++-v3
31495 # Other targets (info, dvi, etc.)
31497 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31498 maybe-info-target-libstdc++-v3:
31499 @if target-libstdc++-v3
31500 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31502 info-target-libstdc++-v3: \
31503 configure-target-libstdc++-v3
31504 @: $(MAKE); $(unstage)
31505 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31506 r=`${PWD_COMMAND}`; export r; \
31507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31508 $(RAW_CXX_TARGET_EXPORTS) \
31509 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31510 for flag in $(EXTRA_TARGET_FLAGS); do \
31511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31512 done; \
31513 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31516 "RANLIB=$${RANLIB}" \
31517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31518 info) \
31519 || exit 1
31521 @endif target-libstdc++-v3
31523 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31524 maybe-dvi-target-libstdc++-v3:
31525 @if target-libstdc++-v3
31526 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31528 dvi-target-libstdc++-v3: \
31529 configure-target-libstdc++-v3
31530 @: $(MAKE); $(unstage)
31531 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31532 r=`${PWD_COMMAND}`; export r; \
31533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31534 $(RAW_CXX_TARGET_EXPORTS) \
31535 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31536 for flag in $(EXTRA_TARGET_FLAGS); do \
31537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31538 done; \
31539 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31542 "RANLIB=$${RANLIB}" \
31543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31544 dvi) \
31545 || exit 1
31547 @endif target-libstdc++-v3
31549 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31550 maybe-html-target-libstdc++-v3:
31551 @if target-libstdc++-v3
31552 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31554 html-target-libstdc++-v3: \
31555 configure-target-libstdc++-v3
31556 @: $(MAKE); $(unstage)
31557 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31558 r=`${PWD_COMMAND}`; export r; \
31559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31560 $(RAW_CXX_TARGET_EXPORTS) \
31561 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31562 for flag in $(EXTRA_TARGET_FLAGS); do \
31563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31564 done; \
31565 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31568 "RANLIB=$${RANLIB}" \
31569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31570 html) \
31571 || exit 1
31573 @endif target-libstdc++-v3
31575 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31576 maybe-TAGS-target-libstdc++-v3:
31577 @if target-libstdc++-v3
31578 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31580 TAGS-target-libstdc++-v3: \
31581 configure-target-libstdc++-v3
31582 @: $(MAKE); $(unstage)
31583 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31584 r=`${PWD_COMMAND}`; export r; \
31585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31586 $(RAW_CXX_TARGET_EXPORTS) \
31587 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31588 for flag in $(EXTRA_TARGET_FLAGS); do \
31589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31590 done; \
31591 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31594 "RANLIB=$${RANLIB}" \
31595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31596 TAGS) \
31597 || exit 1
31599 @endif target-libstdc++-v3
31601 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31602 maybe-install-info-target-libstdc++-v3:
31603 @if target-libstdc++-v3
31604 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31606 install-info-target-libstdc++-v3: \
31607 configure-target-libstdc++-v3 \
31608 info-target-libstdc++-v3
31609 @: $(MAKE); $(unstage)
31610 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31611 r=`${PWD_COMMAND}`; export r; \
31612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31613 $(RAW_CXX_TARGET_EXPORTS) \
31614 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31615 for flag in $(EXTRA_TARGET_FLAGS); do \
31616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31617 done; \
31618 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31621 "RANLIB=$${RANLIB}" \
31622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31623 install-info) \
31624 || exit 1
31626 @endif target-libstdc++-v3
31628 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31629 maybe-install-html-target-libstdc++-v3:
31630 @if target-libstdc++-v3
31631 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31633 install-html-target-libstdc++-v3: \
31634 configure-target-libstdc++-v3 \
31635 html-target-libstdc++-v3
31636 @: $(MAKE); $(unstage)
31637 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31638 r=`${PWD_COMMAND}`; export r; \
31639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31640 $(RAW_CXX_TARGET_EXPORTS) \
31641 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31642 for flag in $(EXTRA_TARGET_FLAGS); do \
31643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31644 done; \
31645 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31648 "RANLIB=$${RANLIB}" \
31649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31650 install-html) \
31651 || exit 1
31653 @endif target-libstdc++-v3
31655 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31656 maybe-installcheck-target-libstdc++-v3:
31657 @if target-libstdc++-v3
31658 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31660 installcheck-target-libstdc++-v3: \
31661 configure-target-libstdc++-v3
31662 @: $(MAKE); $(unstage)
31663 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31664 r=`${PWD_COMMAND}`; export r; \
31665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31666 $(RAW_CXX_TARGET_EXPORTS) \
31667 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31668 for flag in $(EXTRA_TARGET_FLAGS); do \
31669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31670 done; \
31671 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31674 "RANLIB=$${RANLIB}" \
31675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31676 installcheck) \
31677 || exit 1
31679 @endif target-libstdc++-v3
31681 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31682 maybe-mostlyclean-target-libstdc++-v3:
31683 @if target-libstdc++-v3
31684 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31686 mostlyclean-target-libstdc++-v3:
31687 @: $(MAKE); $(unstage)
31688 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31689 r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(RAW_CXX_TARGET_EXPORTS) \
31692 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31693 for flag in $(EXTRA_TARGET_FLAGS); do \
31694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31695 done; \
31696 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31699 "RANLIB=$${RANLIB}" \
31700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31701 mostlyclean) \
31702 || exit 1
31704 @endif target-libstdc++-v3
31706 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31707 maybe-clean-target-libstdc++-v3:
31708 @if target-libstdc++-v3
31709 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31711 clean-target-libstdc++-v3:
31712 @: $(MAKE); $(unstage)
31713 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31714 r=`${PWD_COMMAND}`; export r; \
31715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31716 $(RAW_CXX_TARGET_EXPORTS) \
31717 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31718 for flag in $(EXTRA_TARGET_FLAGS); do \
31719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31720 done; \
31721 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31724 "RANLIB=$${RANLIB}" \
31725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31726 clean) \
31727 || exit 1
31729 @endif target-libstdc++-v3
31731 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31732 maybe-distclean-target-libstdc++-v3:
31733 @if target-libstdc++-v3
31734 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31736 distclean-target-libstdc++-v3:
31737 @: $(MAKE); $(unstage)
31738 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31739 r=`${PWD_COMMAND}`; export r; \
31740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31741 $(RAW_CXX_TARGET_EXPORTS) \
31742 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31743 for flag in $(EXTRA_TARGET_FLAGS); do \
31744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31745 done; \
31746 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31749 "RANLIB=$${RANLIB}" \
31750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31751 distclean) \
31752 || exit 1
31754 @endif target-libstdc++-v3
31756 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31757 maybe-maintainer-clean-target-libstdc++-v3:
31758 @if target-libstdc++-v3
31759 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31761 maintainer-clean-target-libstdc++-v3:
31762 @: $(MAKE); $(unstage)
31763 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31764 r=`${PWD_COMMAND}`; export r; \
31765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31766 $(RAW_CXX_TARGET_EXPORTS) \
31767 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31768 for flag in $(EXTRA_TARGET_FLAGS); do \
31769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31770 done; \
31771 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31774 "RANLIB=$${RANLIB}" \
31775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31776 maintainer-clean) \
31777 || exit 1
31779 @endif target-libstdc++-v3
31785 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31786 maybe-configure-target-libmudflap:
31787 @if gcc-bootstrap
31788 configure-target-libmudflap: stage_current
31789 @endif gcc-bootstrap
31790 @if target-libmudflap
31791 maybe-configure-target-libmudflap: configure-target-libmudflap
31792 configure-target-libmudflap:
31793 @: $(MAKE); $(unstage)
31794 @r=`${PWD_COMMAND}`; export r; \
31795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31796 echo "Checking multilib configuration for libmudflap..."; \
31797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31799 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31800 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31801 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31802 else \
31803 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31804 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31805 fi; \
31806 else \
31807 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31808 fi; \
31809 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31811 $(NORMAL_TARGET_EXPORTS) \
31812 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31813 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31814 case $(srcdir) in \
31815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31816 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31818 esac; \
31819 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31820 libsrcdir="$$s/libmudflap"; \
31821 rm -f no-such-file || : ; \
31822 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31823 $(TARGET_CONFIGARGS) $${srcdiroption} \
31824 || exit 1
31825 @endif target-libmudflap
31831 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31832 maybe-all-target-libmudflap:
31833 @if gcc-bootstrap
31834 all-target-libmudflap: stage_current
31835 @endif gcc-bootstrap
31836 @if target-libmudflap
31837 TARGET-target-libmudflap=all
31838 maybe-all-target-libmudflap: all-target-libmudflap
31839 all-target-libmudflap: configure-target-libmudflap
31840 @: $(MAKE); $(unstage)
31841 @r=`${PWD_COMMAND}`; export r; \
31842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31843 $(NORMAL_TARGET_EXPORTS) \
31844 (cd $(TARGET_SUBDIR)/libmudflap && \
31845 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
31846 @endif target-libmudflap
31852 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31853 maybe-check-target-libmudflap:
31854 @if target-libmudflap
31855 maybe-check-target-libmudflap: check-target-libmudflap
31857 check-target-libmudflap:
31858 @: $(MAKE); $(unstage)
31859 @r=`${PWD_COMMAND}`; export r; \
31860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31861 $(NORMAL_TARGET_EXPORTS) \
31862 (cd $(TARGET_SUBDIR)/libmudflap && \
31863 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31865 @endif target-libmudflap
31867 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31868 maybe-install-target-libmudflap:
31869 @if target-libmudflap
31870 maybe-install-target-libmudflap: install-target-libmudflap
31872 install-target-libmudflap: installdirs
31873 @: $(MAKE); $(unstage)
31874 @r=`${PWD_COMMAND}`; export r; \
31875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31876 $(NORMAL_TARGET_EXPORTS) \
31877 (cd $(TARGET_SUBDIR)/libmudflap && \
31878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31880 @endif target-libmudflap
31882 # Other targets (info, dvi, etc.)
31884 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31885 maybe-info-target-libmudflap:
31886 @if target-libmudflap
31887 maybe-info-target-libmudflap: info-target-libmudflap
31889 info-target-libmudflap: \
31890 configure-target-libmudflap
31891 @: $(MAKE); $(unstage)
31892 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31893 r=`${PWD_COMMAND}`; export r; \
31894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31895 $(NORMAL_TARGET_EXPORTS) \
31896 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31897 for flag in $(EXTRA_TARGET_FLAGS); do \
31898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31899 done; \
31900 (cd $(TARGET_SUBDIR)/libmudflap && \
31901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31903 "RANLIB=$${RANLIB}" \
31904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31905 info) \
31906 || exit 1
31908 @endif target-libmudflap
31910 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31911 maybe-dvi-target-libmudflap:
31912 @if target-libmudflap
31913 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31915 dvi-target-libmudflap: \
31916 configure-target-libmudflap
31917 @: $(MAKE); $(unstage)
31918 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31919 r=`${PWD_COMMAND}`; export r; \
31920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31921 $(NORMAL_TARGET_EXPORTS) \
31922 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31923 for flag in $(EXTRA_TARGET_FLAGS); do \
31924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31925 done; \
31926 (cd $(TARGET_SUBDIR)/libmudflap && \
31927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31929 "RANLIB=$${RANLIB}" \
31930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31931 dvi) \
31932 || exit 1
31934 @endif target-libmudflap
31936 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31937 maybe-html-target-libmudflap:
31938 @if target-libmudflap
31939 maybe-html-target-libmudflap: html-target-libmudflap
31941 html-target-libmudflap: \
31942 configure-target-libmudflap
31943 @: $(MAKE); $(unstage)
31944 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31945 r=`${PWD_COMMAND}`; export r; \
31946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31947 $(NORMAL_TARGET_EXPORTS) \
31948 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31949 for flag in $(EXTRA_TARGET_FLAGS); do \
31950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31951 done; \
31952 (cd $(TARGET_SUBDIR)/libmudflap && \
31953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31955 "RANLIB=$${RANLIB}" \
31956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31957 html) \
31958 || exit 1
31960 @endif target-libmudflap
31962 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31963 maybe-TAGS-target-libmudflap:
31964 @if target-libmudflap
31965 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31967 TAGS-target-libmudflap: \
31968 configure-target-libmudflap
31969 @: $(MAKE); $(unstage)
31970 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31971 r=`${PWD_COMMAND}`; export r; \
31972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31973 $(NORMAL_TARGET_EXPORTS) \
31974 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31975 for flag in $(EXTRA_TARGET_FLAGS); do \
31976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31977 done; \
31978 (cd $(TARGET_SUBDIR)/libmudflap && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31981 "RANLIB=$${RANLIB}" \
31982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31983 TAGS) \
31984 || exit 1
31986 @endif target-libmudflap
31988 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31989 maybe-install-info-target-libmudflap:
31990 @if target-libmudflap
31991 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31993 install-info-target-libmudflap: \
31994 configure-target-libmudflap \
31995 info-target-libmudflap
31996 @: $(MAKE); $(unstage)
31997 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31998 r=`${PWD_COMMAND}`; export r; \
31999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32000 $(NORMAL_TARGET_EXPORTS) \
32001 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
32002 for flag in $(EXTRA_TARGET_FLAGS); do \
32003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32004 done; \
32005 (cd $(TARGET_SUBDIR)/libmudflap && \
32006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32008 "RANLIB=$${RANLIB}" \
32009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32010 install-info) \
32011 || exit 1
32013 @endif target-libmudflap
32015 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32016 maybe-install-html-target-libmudflap:
32017 @if target-libmudflap
32018 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32020 install-html-target-libmudflap: \
32021 configure-target-libmudflap \
32022 html-target-libmudflap
32023 @: $(MAKE); $(unstage)
32024 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32025 r=`${PWD_COMMAND}`; export r; \
32026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32027 $(NORMAL_TARGET_EXPORTS) \
32028 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32029 for flag in $(EXTRA_TARGET_FLAGS); do \
32030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32031 done; \
32032 (cd $(TARGET_SUBDIR)/libmudflap && \
32033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32035 "RANLIB=$${RANLIB}" \
32036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32037 install-html) \
32038 || exit 1
32040 @endif target-libmudflap
32042 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32043 maybe-installcheck-target-libmudflap:
32044 @if target-libmudflap
32045 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32047 installcheck-target-libmudflap: \
32048 configure-target-libmudflap
32049 @: $(MAKE); $(unstage)
32050 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32051 r=`${PWD_COMMAND}`; export r; \
32052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32053 $(NORMAL_TARGET_EXPORTS) \
32054 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32055 for flag in $(EXTRA_TARGET_FLAGS); do \
32056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32057 done; \
32058 (cd $(TARGET_SUBDIR)/libmudflap && \
32059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32061 "RANLIB=$${RANLIB}" \
32062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32063 installcheck) \
32064 || exit 1
32066 @endif target-libmudflap
32068 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32069 maybe-mostlyclean-target-libmudflap:
32070 @if target-libmudflap
32071 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32073 mostlyclean-target-libmudflap:
32074 @: $(MAKE); $(unstage)
32075 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32076 r=`${PWD_COMMAND}`; export r; \
32077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32078 $(NORMAL_TARGET_EXPORTS) \
32079 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32080 for flag in $(EXTRA_TARGET_FLAGS); do \
32081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32082 done; \
32083 (cd $(TARGET_SUBDIR)/libmudflap && \
32084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32086 "RANLIB=$${RANLIB}" \
32087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32088 mostlyclean) \
32089 || exit 1
32091 @endif target-libmudflap
32093 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32094 maybe-clean-target-libmudflap:
32095 @if target-libmudflap
32096 maybe-clean-target-libmudflap: clean-target-libmudflap
32098 clean-target-libmudflap:
32099 @: $(MAKE); $(unstage)
32100 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32101 r=`${PWD_COMMAND}`; export r; \
32102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32103 $(NORMAL_TARGET_EXPORTS) \
32104 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32105 for flag in $(EXTRA_TARGET_FLAGS); do \
32106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32107 done; \
32108 (cd $(TARGET_SUBDIR)/libmudflap && \
32109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32111 "RANLIB=$${RANLIB}" \
32112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32113 clean) \
32114 || exit 1
32116 @endif target-libmudflap
32118 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32119 maybe-distclean-target-libmudflap:
32120 @if target-libmudflap
32121 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32123 distclean-target-libmudflap:
32124 @: $(MAKE); $(unstage)
32125 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32126 r=`${PWD_COMMAND}`; export r; \
32127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32128 $(NORMAL_TARGET_EXPORTS) \
32129 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32130 for flag in $(EXTRA_TARGET_FLAGS); do \
32131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32132 done; \
32133 (cd $(TARGET_SUBDIR)/libmudflap && \
32134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32136 "RANLIB=$${RANLIB}" \
32137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32138 distclean) \
32139 || exit 1
32141 @endif target-libmudflap
32143 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32144 maybe-maintainer-clean-target-libmudflap:
32145 @if target-libmudflap
32146 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32148 maintainer-clean-target-libmudflap:
32149 @: $(MAKE); $(unstage)
32150 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32151 r=`${PWD_COMMAND}`; export r; \
32152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32153 $(NORMAL_TARGET_EXPORTS) \
32154 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32155 for flag in $(EXTRA_TARGET_FLAGS); do \
32156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32157 done; \
32158 (cd $(TARGET_SUBDIR)/libmudflap && \
32159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32161 "RANLIB=$${RANLIB}" \
32162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32163 maintainer-clean) \
32164 || exit 1
32166 @endif target-libmudflap
32172 .PHONY: configure-target-libssp maybe-configure-target-libssp
32173 maybe-configure-target-libssp:
32174 @if gcc-bootstrap
32175 configure-target-libssp: stage_current
32176 @endif gcc-bootstrap
32177 @if target-libssp
32178 maybe-configure-target-libssp: configure-target-libssp
32179 configure-target-libssp:
32180 @: $(MAKE); $(unstage)
32181 @r=`${PWD_COMMAND}`; export r; \
32182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32183 echo "Checking multilib configuration for libssp..."; \
32184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
32186 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
32187 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
32188 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
32189 else \
32190 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
32191 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32192 fi; \
32193 else \
32194 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32195 fi; \
32196 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
32197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32198 $(NORMAL_TARGET_EXPORTS) \
32199 echo Configuring in $(TARGET_SUBDIR)/libssp; \
32200 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
32201 case $(srcdir) in \
32202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32203 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
32204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32205 esac; \
32206 srcdiroption="--srcdir=$${topdir}/libssp"; \
32207 libsrcdir="$$s/libssp"; \
32208 rm -f no-such-file || : ; \
32209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32210 $(TARGET_CONFIGARGS) $${srcdiroption} \
32211 || exit 1
32212 @endif target-libssp
32218 .PHONY: all-target-libssp maybe-all-target-libssp
32219 maybe-all-target-libssp:
32220 @if gcc-bootstrap
32221 all-target-libssp: stage_current
32222 @endif gcc-bootstrap
32223 @if target-libssp
32224 TARGET-target-libssp=all
32225 maybe-all-target-libssp: all-target-libssp
32226 all-target-libssp: configure-target-libssp
32227 @: $(MAKE); $(unstage)
32228 @r=`${PWD_COMMAND}`; export r; \
32229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32230 $(NORMAL_TARGET_EXPORTS) \
32231 (cd $(TARGET_SUBDIR)/libssp && \
32232 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
32233 @endif target-libssp
32239 .PHONY: check-target-libssp maybe-check-target-libssp
32240 maybe-check-target-libssp:
32241 @if target-libssp
32242 maybe-check-target-libssp: check-target-libssp
32244 check-target-libssp:
32245 @: $(MAKE); $(unstage)
32246 @r=`${PWD_COMMAND}`; export r; \
32247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32248 $(NORMAL_TARGET_EXPORTS) \
32249 (cd $(TARGET_SUBDIR)/libssp && \
32250 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32252 @endif target-libssp
32254 .PHONY: install-target-libssp maybe-install-target-libssp
32255 maybe-install-target-libssp:
32256 @if target-libssp
32257 maybe-install-target-libssp: install-target-libssp
32259 install-target-libssp: installdirs
32260 @: $(MAKE); $(unstage)
32261 @r=`${PWD_COMMAND}`; export r; \
32262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32263 $(NORMAL_TARGET_EXPORTS) \
32264 (cd $(TARGET_SUBDIR)/libssp && \
32265 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32267 @endif target-libssp
32269 # Other targets (info, dvi, etc.)
32271 .PHONY: maybe-info-target-libssp info-target-libssp
32272 maybe-info-target-libssp:
32273 @if target-libssp
32274 maybe-info-target-libssp: info-target-libssp
32276 info-target-libssp: \
32277 configure-target-libssp
32278 @: $(MAKE); $(unstage)
32279 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32280 r=`${PWD_COMMAND}`; export r; \
32281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32282 $(NORMAL_TARGET_EXPORTS) \
32283 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
32284 for flag in $(EXTRA_TARGET_FLAGS); do \
32285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32286 done; \
32287 (cd $(TARGET_SUBDIR)/libssp && \
32288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32290 "RANLIB=$${RANLIB}" \
32291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32292 info) \
32293 || exit 1
32295 @endif target-libssp
32297 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
32298 maybe-dvi-target-libssp:
32299 @if target-libssp
32300 maybe-dvi-target-libssp: dvi-target-libssp
32302 dvi-target-libssp: \
32303 configure-target-libssp
32304 @: $(MAKE); $(unstage)
32305 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32306 r=`${PWD_COMMAND}`; export r; \
32307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32308 $(NORMAL_TARGET_EXPORTS) \
32309 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
32310 for flag in $(EXTRA_TARGET_FLAGS); do \
32311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32312 done; \
32313 (cd $(TARGET_SUBDIR)/libssp && \
32314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32316 "RANLIB=$${RANLIB}" \
32317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32318 dvi) \
32319 || exit 1
32321 @endif target-libssp
32323 .PHONY: maybe-html-target-libssp html-target-libssp
32324 maybe-html-target-libssp:
32325 @if target-libssp
32326 maybe-html-target-libssp: html-target-libssp
32328 html-target-libssp: \
32329 configure-target-libssp
32330 @: $(MAKE); $(unstage)
32331 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32332 r=`${PWD_COMMAND}`; export r; \
32333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32334 $(NORMAL_TARGET_EXPORTS) \
32335 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
32336 for flag in $(EXTRA_TARGET_FLAGS); do \
32337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32338 done; \
32339 (cd $(TARGET_SUBDIR)/libssp && \
32340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32342 "RANLIB=$${RANLIB}" \
32343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32344 html) \
32345 || exit 1
32347 @endif target-libssp
32349 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32350 maybe-TAGS-target-libssp:
32351 @if target-libssp
32352 maybe-TAGS-target-libssp: TAGS-target-libssp
32354 TAGS-target-libssp: \
32355 configure-target-libssp
32356 @: $(MAKE); $(unstage)
32357 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32358 r=`${PWD_COMMAND}`; export r; \
32359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32360 $(NORMAL_TARGET_EXPORTS) \
32361 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32362 for flag in $(EXTRA_TARGET_FLAGS); do \
32363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32364 done; \
32365 (cd $(TARGET_SUBDIR)/libssp && \
32366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32368 "RANLIB=$${RANLIB}" \
32369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32370 TAGS) \
32371 || exit 1
32373 @endif target-libssp
32375 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32376 maybe-install-info-target-libssp:
32377 @if target-libssp
32378 maybe-install-info-target-libssp: install-info-target-libssp
32380 install-info-target-libssp: \
32381 configure-target-libssp \
32382 info-target-libssp
32383 @: $(MAKE); $(unstage)
32384 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32385 r=`${PWD_COMMAND}`; export r; \
32386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32387 $(NORMAL_TARGET_EXPORTS) \
32388 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32389 for flag in $(EXTRA_TARGET_FLAGS); do \
32390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32391 done; \
32392 (cd $(TARGET_SUBDIR)/libssp && \
32393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32395 "RANLIB=$${RANLIB}" \
32396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32397 install-info) \
32398 || exit 1
32400 @endif target-libssp
32402 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32403 maybe-install-html-target-libssp:
32404 @if target-libssp
32405 maybe-install-html-target-libssp: install-html-target-libssp
32407 install-html-target-libssp: \
32408 configure-target-libssp \
32409 html-target-libssp
32410 @: $(MAKE); $(unstage)
32411 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32412 r=`${PWD_COMMAND}`; export r; \
32413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32414 $(NORMAL_TARGET_EXPORTS) \
32415 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32416 for flag in $(EXTRA_TARGET_FLAGS); do \
32417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32418 done; \
32419 (cd $(TARGET_SUBDIR)/libssp && \
32420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32422 "RANLIB=$${RANLIB}" \
32423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32424 install-html) \
32425 || exit 1
32427 @endif target-libssp
32429 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32430 maybe-installcheck-target-libssp:
32431 @if target-libssp
32432 maybe-installcheck-target-libssp: installcheck-target-libssp
32434 installcheck-target-libssp: \
32435 configure-target-libssp
32436 @: $(MAKE); $(unstage)
32437 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32438 r=`${PWD_COMMAND}`; export r; \
32439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32440 $(NORMAL_TARGET_EXPORTS) \
32441 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32442 for flag in $(EXTRA_TARGET_FLAGS); do \
32443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32444 done; \
32445 (cd $(TARGET_SUBDIR)/libssp && \
32446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32448 "RANLIB=$${RANLIB}" \
32449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32450 installcheck) \
32451 || exit 1
32453 @endif target-libssp
32455 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32456 maybe-mostlyclean-target-libssp:
32457 @if target-libssp
32458 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32460 mostlyclean-target-libssp:
32461 @: $(MAKE); $(unstage)
32462 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32463 r=`${PWD_COMMAND}`; export r; \
32464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32465 $(NORMAL_TARGET_EXPORTS) \
32466 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32467 for flag in $(EXTRA_TARGET_FLAGS); do \
32468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32469 done; \
32470 (cd $(TARGET_SUBDIR)/libssp && \
32471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32473 "RANLIB=$${RANLIB}" \
32474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32475 mostlyclean) \
32476 || exit 1
32478 @endif target-libssp
32480 .PHONY: maybe-clean-target-libssp clean-target-libssp
32481 maybe-clean-target-libssp:
32482 @if target-libssp
32483 maybe-clean-target-libssp: clean-target-libssp
32485 clean-target-libssp:
32486 @: $(MAKE); $(unstage)
32487 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32488 r=`${PWD_COMMAND}`; export r; \
32489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32490 $(NORMAL_TARGET_EXPORTS) \
32491 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32492 for flag in $(EXTRA_TARGET_FLAGS); do \
32493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32494 done; \
32495 (cd $(TARGET_SUBDIR)/libssp && \
32496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32498 "RANLIB=$${RANLIB}" \
32499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32500 clean) \
32501 || exit 1
32503 @endif target-libssp
32505 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32506 maybe-distclean-target-libssp:
32507 @if target-libssp
32508 maybe-distclean-target-libssp: distclean-target-libssp
32510 distclean-target-libssp:
32511 @: $(MAKE); $(unstage)
32512 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32513 r=`${PWD_COMMAND}`; export r; \
32514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32515 $(NORMAL_TARGET_EXPORTS) \
32516 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32517 for flag in $(EXTRA_TARGET_FLAGS); do \
32518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32519 done; \
32520 (cd $(TARGET_SUBDIR)/libssp && \
32521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32523 "RANLIB=$${RANLIB}" \
32524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32525 distclean) \
32526 || exit 1
32528 @endif target-libssp
32530 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32531 maybe-maintainer-clean-target-libssp:
32532 @if target-libssp
32533 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32535 maintainer-clean-target-libssp:
32536 @: $(MAKE); $(unstage)
32537 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32538 r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 $(NORMAL_TARGET_EXPORTS) \
32541 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32542 for flag in $(EXTRA_TARGET_FLAGS); do \
32543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32544 done; \
32545 (cd $(TARGET_SUBDIR)/libssp && \
32546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32548 "RANLIB=$${RANLIB}" \
32549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32550 maintainer-clean) \
32551 || exit 1
32553 @endif target-libssp
32559 .PHONY: configure-target-newlib maybe-configure-target-newlib
32560 maybe-configure-target-newlib:
32561 @if gcc-bootstrap
32562 configure-target-newlib: stage_current
32563 @endif gcc-bootstrap
32564 @if target-newlib
32565 maybe-configure-target-newlib: configure-target-newlib
32566 configure-target-newlib:
32567 @: $(MAKE); $(unstage)
32568 @r=`${PWD_COMMAND}`; export r; \
32569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32570 echo "Checking multilib configuration for newlib..."; \
32571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32572 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32573 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32574 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32575 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32576 else \
32577 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32578 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32579 fi; \
32580 else \
32581 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32582 fi; \
32583 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32584 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32585 $(NORMAL_TARGET_EXPORTS) \
32586 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32587 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32588 case $(srcdir) in \
32589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32590 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32592 esac; \
32593 srcdiroption="--srcdir=$${topdir}/newlib"; \
32594 libsrcdir="$$s/newlib"; \
32595 rm -f no-such-file || : ; \
32596 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32597 $(TARGET_CONFIGARGS) $${srcdiroption} \
32598 || exit 1
32599 @endif target-newlib
32605 .PHONY: all-target-newlib maybe-all-target-newlib
32606 maybe-all-target-newlib:
32607 @if gcc-bootstrap
32608 all-target-newlib: stage_current
32609 @endif gcc-bootstrap
32610 @if target-newlib
32611 TARGET-target-newlib=all
32612 maybe-all-target-newlib: all-target-newlib
32613 all-target-newlib: configure-target-newlib
32614 @: $(MAKE); $(unstage)
32615 @r=`${PWD_COMMAND}`; export r; \
32616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32617 $(NORMAL_TARGET_EXPORTS) \
32618 (cd $(TARGET_SUBDIR)/newlib && \
32619 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
32620 @endif target-newlib
32626 .PHONY: check-target-newlib maybe-check-target-newlib
32627 maybe-check-target-newlib:
32628 @if target-newlib
32629 maybe-check-target-newlib: check-target-newlib
32631 check-target-newlib:
32632 @: $(MAKE); $(unstage)
32633 @r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(NORMAL_TARGET_EXPORTS) \
32636 (cd $(TARGET_SUBDIR)/newlib && \
32637 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32639 @endif target-newlib
32641 .PHONY: install-target-newlib maybe-install-target-newlib
32642 maybe-install-target-newlib:
32643 @if target-newlib
32644 maybe-install-target-newlib: install-target-newlib
32646 install-target-newlib: installdirs
32647 @: $(MAKE); $(unstage)
32648 @r=`${PWD_COMMAND}`; export r; \
32649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32650 $(NORMAL_TARGET_EXPORTS) \
32651 (cd $(TARGET_SUBDIR)/newlib && \
32652 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32654 @endif target-newlib
32656 # Other targets (info, dvi, etc.)
32658 .PHONY: maybe-info-target-newlib info-target-newlib
32659 maybe-info-target-newlib:
32660 @if target-newlib
32661 maybe-info-target-newlib: info-target-newlib
32663 info-target-newlib: \
32664 configure-target-newlib
32665 @: $(MAKE); $(unstage)
32666 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32667 r=`${PWD_COMMAND}`; export r; \
32668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32669 $(NORMAL_TARGET_EXPORTS) \
32670 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32671 for flag in $(EXTRA_TARGET_FLAGS); do \
32672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32673 done; \
32674 (cd $(TARGET_SUBDIR)/newlib && \
32675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32677 "RANLIB=$${RANLIB}" \
32678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32679 info) \
32680 || exit 1
32682 @endif target-newlib
32684 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32685 maybe-dvi-target-newlib:
32686 @if target-newlib
32687 maybe-dvi-target-newlib: dvi-target-newlib
32689 dvi-target-newlib: \
32690 configure-target-newlib
32691 @: $(MAKE); $(unstage)
32692 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32693 r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(NORMAL_TARGET_EXPORTS) \
32696 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32697 for flag in $(EXTRA_TARGET_FLAGS); do \
32698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32699 done; \
32700 (cd $(TARGET_SUBDIR)/newlib && \
32701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32703 "RANLIB=$${RANLIB}" \
32704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32705 dvi) \
32706 || exit 1
32708 @endif target-newlib
32710 .PHONY: maybe-html-target-newlib html-target-newlib
32711 maybe-html-target-newlib:
32712 @if target-newlib
32713 maybe-html-target-newlib: html-target-newlib
32715 html-target-newlib: \
32716 configure-target-newlib
32717 @: $(MAKE); $(unstage)
32718 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32719 r=`${PWD_COMMAND}`; export r; \
32720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32721 $(NORMAL_TARGET_EXPORTS) \
32722 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32723 for flag in $(EXTRA_TARGET_FLAGS); do \
32724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32725 done; \
32726 (cd $(TARGET_SUBDIR)/newlib && \
32727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32729 "RANLIB=$${RANLIB}" \
32730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32731 html) \
32732 || exit 1
32734 @endif target-newlib
32736 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32737 maybe-TAGS-target-newlib:
32738 @if target-newlib
32739 maybe-TAGS-target-newlib: TAGS-target-newlib
32741 TAGS-target-newlib: \
32742 configure-target-newlib
32743 @: $(MAKE); $(unstage)
32744 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32745 r=`${PWD_COMMAND}`; export r; \
32746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32747 $(NORMAL_TARGET_EXPORTS) \
32748 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32749 for flag in $(EXTRA_TARGET_FLAGS); do \
32750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32751 done; \
32752 (cd $(TARGET_SUBDIR)/newlib && \
32753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32755 "RANLIB=$${RANLIB}" \
32756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32757 TAGS) \
32758 || exit 1
32760 @endif target-newlib
32762 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32763 maybe-install-info-target-newlib:
32764 @if target-newlib
32765 maybe-install-info-target-newlib: install-info-target-newlib
32767 install-info-target-newlib: \
32768 configure-target-newlib \
32769 info-target-newlib
32770 @: $(MAKE); $(unstage)
32771 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32772 r=`${PWD_COMMAND}`; export r; \
32773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32774 $(NORMAL_TARGET_EXPORTS) \
32775 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32776 for flag in $(EXTRA_TARGET_FLAGS); do \
32777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32778 done; \
32779 (cd $(TARGET_SUBDIR)/newlib && \
32780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32782 "RANLIB=$${RANLIB}" \
32783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32784 install-info) \
32785 || exit 1
32787 @endif target-newlib
32789 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32790 maybe-install-html-target-newlib:
32791 @if target-newlib
32792 maybe-install-html-target-newlib: install-html-target-newlib
32794 install-html-target-newlib: \
32795 configure-target-newlib \
32796 html-target-newlib
32797 @: $(MAKE); $(unstage)
32798 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32799 r=`${PWD_COMMAND}`; export r; \
32800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32801 $(NORMAL_TARGET_EXPORTS) \
32802 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32803 for flag in $(EXTRA_TARGET_FLAGS); do \
32804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32805 done; \
32806 (cd $(TARGET_SUBDIR)/newlib && \
32807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32809 "RANLIB=$${RANLIB}" \
32810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32811 install-html) \
32812 || exit 1
32814 @endif target-newlib
32816 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32817 maybe-installcheck-target-newlib:
32818 @if target-newlib
32819 maybe-installcheck-target-newlib: installcheck-target-newlib
32821 installcheck-target-newlib: \
32822 configure-target-newlib
32823 @: $(MAKE); $(unstage)
32824 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32825 r=`${PWD_COMMAND}`; export r; \
32826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32827 $(NORMAL_TARGET_EXPORTS) \
32828 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32829 for flag in $(EXTRA_TARGET_FLAGS); do \
32830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32831 done; \
32832 (cd $(TARGET_SUBDIR)/newlib && \
32833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32835 "RANLIB=$${RANLIB}" \
32836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32837 installcheck) \
32838 || exit 1
32840 @endif target-newlib
32842 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32843 maybe-mostlyclean-target-newlib:
32844 @if target-newlib
32845 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32847 mostlyclean-target-newlib:
32848 @: $(MAKE); $(unstage)
32849 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32850 r=`${PWD_COMMAND}`; export r; \
32851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32852 $(NORMAL_TARGET_EXPORTS) \
32853 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32854 for flag in $(EXTRA_TARGET_FLAGS); do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 (cd $(TARGET_SUBDIR)/newlib && \
32858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32860 "RANLIB=$${RANLIB}" \
32861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32862 mostlyclean) \
32863 || exit 1
32865 @endif target-newlib
32867 .PHONY: maybe-clean-target-newlib clean-target-newlib
32868 maybe-clean-target-newlib:
32869 @if target-newlib
32870 maybe-clean-target-newlib: clean-target-newlib
32872 clean-target-newlib:
32873 @: $(MAKE); $(unstage)
32874 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32875 r=`${PWD_COMMAND}`; export r; \
32876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32877 $(NORMAL_TARGET_EXPORTS) \
32878 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32879 for flag in $(EXTRA_TARGET_FLAGS); do \
32880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32881 done; \
32882 (cd $(TARGET_SUBDIR)/newlib && \
32883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32885 "RANLIB=$${RANLIB}" \
32886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32887 clean) \
32888 || exit 1
32890 @endif target-newlib
32892 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32893 maybe-distclean-target-newlib:
32894 @if target-newlib
32895 maybe-distclean-target-newlib: distclean-target-newlib
32897 distclean-target-newlib:
32898 @: $(MAKE); $(unstage)
32899 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32900 r=`${PWD_COMMAND}`; export r; \
32901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32902 $(NORMAL_TARGET_EXPORTS) \
32903 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32904 for flag in $(EXTRA_TARGET_FLAGS); do \
32905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32906 done; \
32907 (cd $(TARGET_SUBDIR)/newlib && \
32908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32910 "RANLIB=$${RANLIB}" \
32911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32912 distclean) \
32913 || exit 1
32915 @endif target-newlib
32917 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32918 maybe-maintainer-clean-target-newlib:
32919 @if target-newlib
32920 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32922 maintainer-clean-target-newlib:
32923 @: $(MAKE); $(unstage)
32924 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32925 r=`${PWD_COMMAND}`; export r; \
32926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32927 $(NORMAL_TARGET_EXPORTS) \
32928 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32929 for flag in $(EXTRA_TARGET_FLAGS); do \
32930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32931 done; \
32932 (cd $(TARGET_SUBDIR)/newlib && \
32933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32935 "RANLIB=$${RANLIB}" \
32936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32937 maintainer-clean) \
32938 || exit 1
32940 @endif target-newlib
32946 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
32947 maybe-configure-target-libgfortran:
32948 @if gcc-bootstrap
32949 configure-target-libgfortran: stage_current
32950 @endif gcc-bootstrap
32951 @if target-libgfortran
32952 maybe-configure-target-libgfortran: configure-target-libgfortran
32953 configure-target-libgfortran:
32954 @: $(MAKE); $(unstage)
32955 @r=`${PWD_COMMAND}`; export r; \
32956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32957 echo "Checking multilib configuration for libgfortran..."; \
32958 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32959 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
32960 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32961 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32962 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
32963 else \
32964 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
32965 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32966 fi; \
32967 else \
32968 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32969 fi; \
32970 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
32971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32972 $(NORMAL_TARGET_EXPORTS) \
32973 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
32974 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
32975 case $(srcdir) in \
32976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32977 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
32978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32979 esac; \
32980 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
32981 libsrcdir="$$s/libgfortran"; \
32982 rm -f no-such-file || : ; \
32983 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32984 $(TARGET_CONFIGARGS) $${srcdiroption} \
32985 || exit 1
32986 @endif target-libgfortran
32992 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
32993 maybe-all-target-libgfortran:
32994 @if gcc-bootstrap
32995 all-target-libgfortran: stage_current
32996 @endif gcc-bootstrap
32997 @if target-libgfortran
32998 TARGET-target-libgfortran=all
32999 maybe-all-target-libgfortran: all-target-libgfortran
33000 all-target-libgfortran: configure-target-libgfortran
33001 @: $(MAKE); $(unstage)
33002 @r=`${PWD_COMMAND}`; export r; \
33003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33004 $(NORMAL_TARGET_EXPORTS) \
33005 (cd $(TARGET_SUBDIR)/libgfortran && \
33006 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
33007 @endif target-libgfortran
33013 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33014 maybe-check-target-libgfortran:
33015 @if target-libgfortran
33016 maybe-check-target-libgfortran: check-target-libgfortran
33018 check-target-libgfortran:
33019 @: $(MAKE); $(unstage)
33020 @r=`${PWD_COMMAND}`; export r; \
33021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33022 $(NORMAL_TARGET_EXPORTS) \
33023 (cd $(TARGET_SUBDIR)/libgfortran && \
33024 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33026 @endif target-libgfortran
33028 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33029 maybe-install-target-libgfortran:
33030 @if target-libgfortran
33031 maybe-install-target-libgfortran: install-target-libgfortran
33033 install-target-libgfortran: installdirs
33034 @: $(MAKE); $(unstage)
33035 @r=`${PWD_COMMAND}`; export r; \
33036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33037 $(NORMAL_TARGET_EXPORTS) \
33038 (cd $(TARGET_SUBDIR)/libgfortran && \
33039 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33041 @endif target-libgfortran
33043 # Other targets (info, dvi, etc.)
33045 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33046 maybe-info-target-libgfortran:
33047 @if target-libgfortran
33048 maybe-info-target-libgfortran: info-target-libgfortran
33050 info-target-libgfortran: \
33051 configure-target-libgfortran
33052 @: $(MAKE); $(unstage)
33053 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33054 r=`${PWD_COMMAND}`; export r; \
33055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33056 $(NORMAL_TARGET_EXPORTS) \
33057 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33058 for flag in $(EXTRA_TARGET_FLAGS); do \
33059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33060 done; \
33061 (cd $(TARGET_SUBDIR)/libgfortran && \
33062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33064 "RANLIB=$${RANLIB}" \
33065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33066 info) \
33067 || exit 1
33069 @endif target-libgfortran
33071 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33072 maybe-dvi-target-libgfortran:
33073 @if target-libgfortran
33074 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33076 dvi-target-libgfortran: \
33077 configure-target-libgfortran
33078 @: $(MAKE); $(unstage)
33079 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33080 r=`${PWD_COMMAND}`; export r; \
33081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33082 $(NORMAL_TARGET_EXPORTS) \
33083 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33084 for flag in $(EXTRA_TARGET_FLAGS); do \
33085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33086 done; \
33087 (cd $(TARGET_SUBDIR)/libgfortran && \
33088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33090 "RANLIB=$${RANLIB}" \
33091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33092 dvi) \
33093 || exit 1
33095 @endif target-libgfortran
33097 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33098 maybe-html-target-libgfortran:
33099 @if target-libgfortran
33100 maybe-html-target-libgfortran: html-target-libgfortran
33102 html-target-libgfortran: \
33103 configure-target-libgfortran
33104 @: $(MAKE); $(unstage)
33105 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33106 r=`${PWD_COMMAND}`; export r; \
33107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33108 $(NORMAL_TARGET_EXPORTS) \
33109 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33110 for flag in $(EXTRA_TARGET_FLAGS); do \
33111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33112 done; \
33113 (cd $(TARGET_SUBDIR)/libgfortran && \
33114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33116 "RANLIB=$${RANLIB}" \
33117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33118 html) \
33119 || exit 1
33121 @endif target-libgfortran
33123 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33124 maybe-TAGS-target-libgfortran:
33125 @if target-libgfortran
33126 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33128 TAGS-target-libgfortran: \
33129 configure-target-libgfortran
33130 @: $(MAKE); $(unstage)
33131 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33132 r=`${PWD_COMMAND}`; export r; \
33133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33134 $(NORMAL_TARGET_EXPORTS) \
33135 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33136 for flag in $(EXTRA_TARGET_FLAGS); do \
33137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33138 done; \
33139 (cd $(TARGET_SUBDIR)/libgfortran && \
33140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33142 "RANLIB=$${RANLIB}" \
33143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33144 TAGS) \
33145 || exit 1
33147 @endif target-libgfortran
33149 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
33150 maybe-install-info-target-libgfortran:
33151 @if target-libgfortran
33152 maybe-install-info-target-libgfortran: install-info-target-libgfortran
33154 install-info-target-libgfortran: \
33155 configure-target-libgfortran \
33156 info-target-libgfortran
33157 @: $(MAKE); $(unstage)
33158 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33159 r=`${PWD_COMMAND}`; export r; \
33160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33161 $(NORMAL_TARGET_EXPORTS) \
33162 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
33163 for flag in $(EXTRA_TARGET_FLAGS); do \
33164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33165 done; \
33166 (cd $(TARGET_SUBDIR)/libgfortran && \
33167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33169 "RANLIB=$${RANLIB}" \
33170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33171 install-info) \
33172 || exit 1
33174 @endif target-libgfortran
33176 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
33177 maybe-install-html-target-libgfortran:
33178 @if target-libgfortran
33179 maybe-install-html-target-libgfortran: install-html-target-libgfortran
33181 install-html-target-libgfortran: \
33182 configure-target-libgfortran \
33183 html-target-libgfortran
33184 @: $(MAKE); $(unstage)
33185 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33186 r=`${PWD_COMMAND}`; export r; \
33187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33188 $(NORMAL_TARGET_EXPORTS) \
33189 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
33190 for flag in $(EXTRA_TARGET_FLAGS); do \
33191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33192 done; \
33193 (cd $(TARGET_SUBDIR)/libgfortran && \
33194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33196 "RANLIB=$${RANLIB}" \
33197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33198 install-html) \
33199 || exit 1
33201 @endif target-libgfortran
33203 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
33204 maybe-installcheck-target-libgfortran:
33205 @if target-libgfortran
33206 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
33208 installcheck-target-libgfortran: \
33209 configure-target-libgfortran
33210 @: $(MAKE); $(unstage)
33211 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33212 r=`${PWD_COMMAND}`; export r; \
33213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33214 $(NORMAL_TARGET_EXPORTS) \
33215 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
33216 for flag in $(EXTRA_TARGET_FLAGS); do \
33217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33218 done; \
33219 (cd $(TARGET_SUBDIR)/libgfortran && \
33220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33222 "RANLIB=$${RANLIB}" \
33223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33224 installcheck) \
33225 || exit 1
33227 @endif target-libgfortran
33229 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
33230 maybe-mostlyclean-target-libgfortran:
33231 @if target-libgfortran
33232 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
33234 mostlyclean-target-libgfortran:
33235 @: $(MAKE); $(unstage)
33236 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33237 r=`${PWD_COMMAND}`; export r; \
33238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33239 $(NORMAL_TARGET_EXPORTS) \
33240 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
33241 for flag in $(EXTRA_TARGET_FLAGS); do \
33242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33243 done; \
33244 (cd $(TARGET_SUBDIR)/libgfortran && \
33245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33247 "RANLIB=$${RANLIB}" \
33248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33249 mostlyclean) \
33250 || exit 1
33252 @endif target-libgfortran
33254 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
33255 maybe-clean-target-libgfortran:
33256 @if target-libgfortran
33257 maybe-clean-target-libgfortran: clean-target-libgfortran
33259 clean-target-libgfortran:
33260 @: $(MAKE); $(unstage)
33261 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33262 r=`${PWD_COMMAND}`; export r; \
33263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33264 $(NORMAL_TARGET_EXPORTS) \
33265 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
33266 for flag in $(EXTRA_TARGET_FLAGS); do \
33267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33268 done; \
33269 (cd $(TARGET_SUBDIR)/libgfortran && \
33270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33272 "RANLIB=$${RANLIB}" \
33273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33274 clean) \
33275 || exit 1
33277 @endif target-libgfortran
33279 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
33280 maybe-distclean-target-libgfortran:
33281 @if target-libgfortran
33282 maybe-distclean-target-libgfortran: distclean-target-libgfortran
33284 distclean-target-libgfortran:
33285 @: $(MAKE); $(unstage)
33286 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33287 r=`${PWD_COMMAND}`; export r; \
33288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33289 $(NORMAL_TARGET_EXPORTS) \
33290 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
33291 for flag in $(EXTRA_TARGET_FLAGS); do \
33292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33293 done; \
33294 (cd $(TARGET_SUBDIR)/libgfortran && \
33295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33297 "RANLIB=$${RANLIB}" \
33298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33299 distclean) \
33300 || exit 1
33302 @endif target-libgfortran
33304 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
33305 maybe-maintainer-clean-target-libgfortran:
33306 @if target-libgfortran
33307 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
33309 maintainer-clean-target-libgfortran:
33310 @: $(MAKE); $(unstage)
33311 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33312 r=`${PWD_COMMAND}`; export r; \
33313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33314 $(NORMAL_TARGET_EXPORTS) \
33315 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
33316 for flag in $(EXTRA_TARGET_FLAGS); do \
33317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33318 done; \
33319 (cd $(TARGET_SUBDIR)/libgfortran && \
33320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33322 "RANLIB=$${RANLIB}" \
33323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33324 maintainer-clean) \
33325 || exit 1
33327 @endif target-libgfortran
33333 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
33334 maybe-configure-target-libobjc:
33335 @if gcc-bootstrap
33336 configure-target-libobjc: stage_current
33337 @endif gcc-bootstrap
33338 @if target-libobjc
33339 maybe-configure-target-libobjc: configure-target-libobjc
33340 configure-target-libobjc:
33341 @: $(MAKE); $(unstage)
33342 @r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 echo "Checking multilib configuration for libobjc..."; \
33345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33346 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
33347 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33348 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33349 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
33350 else \
33351 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
33352 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33353 fi; \
33354 else \
33355 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33356 fi; \
33357 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
33358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33359 $(NORMAL_TARGET_EXPORTS) \
33360 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
33361 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
33362 case $(srcdir) in \
33363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33364 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
33365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33366 esac; \
33367 srcdiroption="--srcdir=$${topdir}/libobjc"; \
33368 libsrcdir="$$s/libobjc"; \
33369 rm -f no-such-file || : ; \
33370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33371 $(TARGET_CONFIGARGS) $${srcdiroption} \
33372 || exit 1
33373 @endif target-libobjc
33379 .PHONY: all-target-libobjc maybe-all-target-libobjc
33380 maybe-all-target-libobjc:
33381 @if gcc-bootstrap
33382 all-target-libobjc: stage_current
33383 @endif gcc-bootstrap
33384 @if target-libobjc
33385 TARGET-target-libobjc=all
33386 maybe-all-target-libobjc: all-target-libobjc
33387 all-target-libobjc: configure-target-libobjc
33388 @: $(MAKE); $(unstage)
33389 @r=`${PWD_COMMAND}`; export r; \
33390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33391 $(NORMAL_TARGET_EXPORTS) \
33392 (cd $(TARGET_SUBDIR)/libobjc && \
33393 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
33394 @endif target-libobjc
33400 .PHONY: check-target-libobjc maybe-check-target-libobjc
33401 maybe-check-target-libobjc:
33402 @if target-libobjc
33403 maybe-check-target-libobjc: check-target-libobjc
33405 check-target-libobjc:
33406 @: $(MAKE); $(unstage)
33407 @r=`${PWD_COMMAND}`; export r; \
33408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33409 $(NORMAL_TARGET_EXPORTS) \
33410 (cd $(TARGET_SUBDIR)/libobjc && \
33411 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33413 @endif target-libobjc
33415 .PHONY: install-target-libobjc maybe-install-target-libobjc
33416 maybe-install-target-libobjc:
33417 @if target-libobjc
33418 maybe-install-target-libobjc: install-target-libobjc
33420 install-target-libobjc: installdirs
33421 @: $(MAKE); $(unstage)
33422 @r=`${PWD_COMMAND}`; export r; \
33423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33424 $(NORMAL_TARGET_EXPORTS) \
33425 (cd $(TARGET_SUBDIR)/libobjc && \
33426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33428 @endif target-libobjc
33430 # Other targets (info, dvi, etc.)
33432 .PHONY: maybe-info-target-libobjc info-target-libobjc
33433 maybe-info-target-libobjc:
33434 @if target-libobjc
33435 maybe-info-target-libobjc: info-target-libobjc
33437 info-target-libobjc: \
33438 configure-target-libobjc
33439 @: $(MAKE); $(unstage)
33440 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33441 r=`${PWD_COMMAND}`; export r; \
33442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33443 $(NORMAL_TARGET_EXPORTS) \
33444 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
33445 for flag in $(EXTRA_TARGET_FLAGS); do \
33446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33447 done; \
33448 (cd $(TARGET_SUBDIR)/libobjc && \
33449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33451 "RANLIB=$${RANLIB}" \
33452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33453 info) \
33454 || exit 1
33456 @endif target-libobjc
33458 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
33459 maybe-dvi-target-libobjc:
33460 @if target-libobjc
33461 maybe-dvi-target-libobjc: dvi-target-libobjc
33463 dvi-target-libobjc: \
33464 configure-target-libobjc
33465 @: $(MAKE); $(unstage)
33466 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33467 r=`${PWD_COMMAND}`; export r; \
33468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33469 $(NORMAL_TARGET_EXPORTS) \
33470 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
33471 for flag in $(EXTRA_TARGET_FLAGS); do \
33472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33473 done; \
33474 (cd $(TARGET_SUBDIR)/libobjc && \
33475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33477 "RANLIB=$${RANLIB}" \
33478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33479 dvi) \
33480 || exit 1
33482 @endif target-libobjc
33484 .PHONY: maybe-html-target-libobjc html-target-libobjc
33485 maybe-html-target-libobjc:
33486 @if target-libobjc
33487 maybe-html-target-libobjc: html-target-libobjc
33489 html-target-libobjc: \
33490 configure-target-libobjc
33491 @: $(MAKE); $(unstage)
33492 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33493 r=`${PWD_COMMAND}`; export r; \
33494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33495 $(NORMAL_TARGET_EXPORTS) \
33496 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
33497 for flag in $(EXTRA_TARGET_FLAGS); do \
33498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33499 done; \
33500 (cd $(TARGET_SUBDIR)/libobjc && \
33501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33503 "RANLIB=$${RANLIB}" \
33504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33505 html) \
33506 || exit 1
33508 @endif target-libobjc
33510 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
33511 maybe-TAGS-target-libobjc:
33512 @if target-libobjc
33513 maybe-TAGS-target-libobjc: TAGS-target-libobjc
33515 TAGS-target-libobjc: \
33516 configure-target-libobjc
33517 @: $(MAKE); $(unstage)
33518 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33519 r=`${PWD_COMMAND}`; export r; \
33520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33521 $(NORMAL_TARGET_EXPORTS) \
33522 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
33523 for flag in $(EXTRA_TARGET_FLAGS); do \
33524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33525 done; \
33526 (cd $(TARGET_SUBDIR)/libobjc && \
33527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33529 "RANLIB=$${RANLIB}" \
33530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33531 TAGS) \
33532 || exit 1
33534 @endif target-libobjc
33536 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
33537 maybe-install-info-target-libobjc:
33538 @if target-libobjc
33539 maybe-install-info-target-libobjc: install-info-target-libobjc
33541 install-info-target-libobjc: \
33542 configure-target-libobjc \
33543 info-target-libobjc
33544 @: $(MAKE); $(unstage)
33545 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33546 r=`${PWD_COMMAND}`; export r; \
33547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33548 $(NORMAL_TARGET_EXPORTS) \
33549 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
33550 for flag in $(EXTRA_TARGET_FLAGS); do \
33551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33552 done; \
33553 (cd $(TARGET_SUBDIR)/libobjc && \
33554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33556 "RANLIB=$${RANLIB}" \
33557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33558 install-info) \
33559 || exit 1
33561 @endif target-libobjc
33563 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
33564 maybe-install-html-target-libobjc:
33565 @if target-libobjc
33566 maybe-install-html-target-libobjc: install-html-target-libobjc
33568 install-html-target-libobjc: \
33569 configure-target-libobjc \
33570 html-target-libobjc
33571 @: $(MAKE); $(unstage)
33572 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33573 r=`${PWD_COMMAND}`; export r; \
33574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33575 $(NORMAL_TARGET_EXPORTS) \
33576 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
33577 for flag in $(EXTRA_TARGET_FLAGS); do \
33578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33579 done; \
33580 (cd $(TARGET_SUBDIR)/libobjc && \
33581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33583 "RANLIB=$${RANLIB}" \
33584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33585 install-html) \
33586 || exit 1
33588 @endif target-libobjc
33590 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
33591 maybe-installcheck-target-libobjc:
33592 @if target-libobjc
33593 maybe-installcheck-target-libobjc: installcheck-target-libobjc
33595 installcheck-target-libobjc: \
33596 configure-target-libobjc
33597 @: $(MAKE); $(unstage)
33598 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33599 r=`${PWD_COMMAND}`; export r; \
33600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33601 $(NORMAL_TARGET_EXPORTS) \
33602 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
33603 for flag in $(EXTRA_TARGET_FLAGS); do \
33604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33605 done; \
33606 (cd $(TARGET_SUBDIR)/libobjc && \
33607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33609 "RANLIB=$${RANLIB}" \
33610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33611 installcheck) \
33612 || exit 1
33614 @endif target-libobjc
33616 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
33617 maybe-mostlyclean-target-libobjc:
33618 @if target-libobjc
33619 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
33621 mostlyclean-target-libobjc:
33622 @: $(MAKE); $(unstage)
33623 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33624 r=`${PWD_COMMAND}`; export r; \
33625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33626 $(NORMAL_TARGET_EXPORTS) \
33627 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
33628 for flag in $(EXTRA_TARGET_FLAGS); do \
33629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33630 done; \
33631 (cd $(TARGET_SUBDIR)/libobjc && \
33632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33634 "RANLIB=$${RANLIB}" \
33635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33636 mostlyclean) \
33637 || exit 1
33639 @endif target-libobjc
33641 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
33642 maybe-clean-target-libobjc:
33643 @if target-libobjc
33644 maybe-clean-target-libobjc: clean-target-libobjc
33646 clean-target-libobjc:
33647 @: $(MAKE); $(unstage)
33648 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33649 r=`${PWD_COMMAND}`; export r; \
33650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33651 $(NORMAL_TARGET_EXPORTS) \
33652 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
33653 for flag in $(EXTRA_TARGET_FLAGS); do \
33654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33655 done; \
33656 (cd $(TARGET_SUBDIR)/libobjc && \
33657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33659 "RANLIB=$${RANLIB}" \
33660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33661 clean) \
33662 || exit 1
33664 @endif target-libobjc
33666 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
33667 maybe-distclean-target-libobjc:
33668 @if target-libobjc
33669 maybe-distclean-target-libobjc: distclean-target-libobjc
33671 distclean-target-libobjc:
33672 @: $(MAKE); $(unstage)
33673 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33674 r=`${PWD_COMMAND}`; export r; \
33675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33676 $(NORMAL_TARGET_EXPORTS) \
33677 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
33678 for flag in $(EXTRA_TARGET_FLAGS); do \
33679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33680 done; \
33681 (cd $(TARGET_SUBDIR)/libobjc && \
33682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33684 "RANLIB=$${RANLIB}" \
33685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33686 distclean) \
33687 || exit 1
33689 @endif target-libobjc
33691 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
33692 maybe-maintainer-clean-target-libobjc:
33693 @if target-libobjc
33694 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
33696 maintainer-clean-target-libobjc:
33697 @: $(MAKE); $(unstage)
33698 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33699 r=`${PWD_COMMAND}`; export r; \
33700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33701 $(NORMAL_TARGET_EXPORTS) \
33702 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
33703 for flag in $(EXTRA_TARGET_FLAGS); do \
33704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33705 done; \
33706 (cd $(TARGET_SUBDIR)/libobjc && \
33707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33709 "RANLIB=$${RANLIB}" \
33710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33711 maintainer-clean) \
33712 || exit 1
33714 @endif target-libobjc
33720 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
33721 maybe-configure-target-libtermcap:
33722 @if gcc-bootstrap
33723 configure-target-libtermcap: stage_current
33724 @endif gcc-bootstrap
33725 @if target-libtermcap
33726 maybe-configure-target-libtermcap: configure-target-libtermcap
33727 configure-target-libtermcap:
33728 @: $(MAKE); $(unstage)
33729 @r=`${PWD_COMMAND}`; export r; \
33730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33731 echo "Checking multilib configuration for libtermcap..."; \
33732 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33733 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
33734 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33735 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33736 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
33737 else \
33738 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
33739 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33740 fi; \
33741 else \
33742 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33743 fi; \
33744 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
33745 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33746 $(NORMAL_TARGET_EXPORTS) \
33747 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
33748 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
33749 case $(srcdir) in \
33750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33751 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
33752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33753 esac; \
33754 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
33755 libsrcdir="$$s/libtermcap"; \
33756 rm -f no-such-file || : ; \
33757 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33758 $(TARGET_CONFIGARGS) $${srcdiroption} \
33759 || exit 1
33760 @endif target-libtermcap
33766 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
33767 maybe-all-target-libtermcap:
33768 @if gcc-bootstrap
33769 all-target-libtermcap: stage_current
33770 @endif gcc-bootstrap
33771 @if target-libtermcap
33772 TARGET-target-libtermcap=all
33773 maybe-all-target-libtermcap: all-target-libtermcap
33774 all-target-libtermcap: configure-target-libtermcap
33775 @: $(MAKE); $(unstage)
33776 @r=`${PWD_COMMAND}`; export r; \
33777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33778 $(NORMAL_TARGET_EXPORTS) \
33779 (cd $(TARGET_SUBDIR)/libtermcap && \
33780 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
33781 @endif target-libtermcap
33787 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
33788 maybe-check-target-libtermcap:
33789 @if target-libtermcap
33790 maybe-check-target-libtermcap: check-target-libtermcap
33792 # Dummy target for uncheckable module.
33793 check-target-libtermcap:
33795 @endif target-libtermcap
33797 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
33798 maybe-install-target-libtermcap:
33799 @if target-libtermcap
33800 maybe-install-target-libtermcap: install-target-libtermcap
33802 install-target-libtermcap: installdirs
33803 @: $(MAKE); $(unstage)
33804 @r=`${PWD_COMMAND}`; export r; \
33805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33806 $(NORMAL_TARGET_EXPORTS) \
33807 (cd $(TARGET_SUBDIR)/libtermcap && \
33808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33810 @endif target-libtermcap
33812 # Other targets (info, dvi, etc.)
33814 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
33815 maybe-info-target-libtermcap:
33816 @if target-libtermcap
33817 maybe-info-target-libtermcap: info-target-libtermcap
33819 info-target-libtermcap: \
33820 configure-target-libtermcap
33821 @: $(MAKE); $(unstage)
33822 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33823 r=`${PWD_COMMAND}`; export r; \
33824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33825 $(NORMAL_TARGET_EXPORTS) \
33826 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
33827 for flag in $(EXTRA_TARGET_FLAGS); do \
33828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33829 done; \
33830 (cd $(TARGET_SUBDIR)/libtermcap && \
33831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33833 "RANLIB=$${RANLIB}" \
33834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33835 info) \
33836 || exit 1
33838 @endif target-libtermcap
33840 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
33841 maybe-dvi-target-libtermcap:
33842 @if target-libtermcap
33843 maybe-dvi-target-libtermcap: dvi-target-libtermcap
33845 dvi-target-libtermcap: \
33846 configure-target-libtermcap
33847 @: $(MAKE); $(unstage)
33848 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33849 r=`${PWD_COMMAND}`; export r; \
33850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33851 $(NORMAL_TARGET_EXPORTS) \
33852 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
33853 for flag in $(EXTRA_TARGET_FLAGS); do \
33854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33855 done; \
33856 (cd $(TARGET_SUBDIR)/libtermcap && \
33857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33859 "RANLIB=$${RANLIB}" \
33860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33861 dvi) \
33862 || exit 1
33864 @endif target-libtermcap
33866 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
33867 maybe-html-target-libtermcap:
33868 @if target-libtermcap
33869 maybe-html-target-libtermcap: html-target-libtermcap
33871 html-target-libtermcap: \
33872 configure-target-libtermcap
33873 @: $(MAKE); $(unstage)
33874 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33875 r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(NORMAL_TARGET_EXPORTS) \
33878 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
33879 for flag in $(EXTRA_TARGET_FLAGS); do \
33880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33881 done; \
33882 (cd $(TARGET_SUBDIR)/libtermcap && \
33883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33885 "RANLIB=$${RANLIB}" \
33886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33887 html) \
33888 || exit 1
33890 @endif target-libtermcap
33892 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
33893 maybe-TAGS-target-libtermcap:
33894 @if target-libtermcap
33895 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
33897 TAGS-target-libtermcap: \
33898 configure-target-libtermcap
33899 @: $(MAKE); $(unstage)
33900 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33901 r=`${PWD_COMMAND}`; export r; \
33902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33903 $(NORMAL_TARGET_EXPORTS) \
33904 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
33905 for flag in $(EXTRA_TARGET_FLAGS); do \
33906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33907 done; \
33908 (cd $(TARGET_SUBDIR)/libtermcap && \
33909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33911 "RANLIB=$${RANLIB}" \
33912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33913 TAGS) \
33914 || exit 1
33916 @endif target-libtermcap
33918 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
33919 maybe-install-info-target-libtermcap:
33920 @if target-libtermcap
33921 maybe-install-info-target-libtermcap: install-info-target-libtermcap
33923 install-info-target-libtermcap: \
33924 configure-target-libtermcap \
33925 info-target-libtermcap
33926 @: $(MAKE); $(unstage)
33927 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33928 r=`${PWD_COMMAND}`; export r; \
33929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33930 $(NORMAL_TARGET_EXPORTS) \
33931 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
33932 for flag in $(EXTRA_TARGET_FLAGS); do \
33933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33934 done; \
33935 (cd $(TARGET_SUBDIR)/libtermcap && \
33936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33938 "RANLIB=$${RANLIB}" \
33939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33940 install-info) \
33941 || exit 1
33943 @endif target-libtermcap
33945 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
33946 maybe-install-html-target-libtermcap:
33947 @if target-libtermcap
33948 maybe-install-html-target-libtermcap: install-html-target-libtermcap
33950 install-html-target-libtermcap: \
33951 configure-target-libtermcap \
33952 html-target-libtermcap
33953 @: $(MAKE); $(unstage)
33954 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33955 r=`${PWD_COMMAND}`; export r; \
33956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33957 $(NORMAL_TARGET_EXPORTS) \
33958 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
33959 for flag in $(EXTRA_TARGET_FLAGS); do \
33960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33961 done; \
33962 (cd $(TARGET_SUBDIR)/libtermcap && \
33963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33965 "RANLIB=$${RANLIB}" \
33966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33967 install-html) \
33968 || exit 1
33970 @endif target-libtermcap
33972 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
33973 maybe-installcheck-target-libtermcap:
33974 @if target-libtermcap
33975 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
33977 installcheck-target-libtermcap: \
33978 configure-target-libtermcap
33979 @: $(MAKE); $(unstage)
33980 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33981 r=`${PWD_COMMAND}`; export r; \
33982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33983 $(NORMAL_TARGET_EXPORTS) \
33984 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
33985 for flag in $(EXTRA_TARGET_FLAGS); do \
33986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33987 done; \
33988 (cd $(TARGET_SUBDIR)/libtermcap && \
33989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33991 "RANLIB=$${RANLIB}" \
33992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33993 installcheck) \
33994 || exit 1
33996 @endif target-libtermcap
33998 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
33999 maybe-mostlyclean-target-libtermcap:
34000 @if target-libtermcap
34001 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
34003 # libtermcap doesn't support mostlyclean.
34004 mostlyclean-target-libtermcap:
34006 @endif target-libtermcap
34008 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
34009 maybe-clean-target-libtermcap:
34010 @if target-libtermcap
34011 maybe-clean-target-libtermcap: clean-target-libtermcap
34013 # libtermcap doesn't support clean.
34014 clean-target-libtermcap:
34016 @endif target-libtermcap
34018 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
34019 maybe-distclean-target-libtermcap:
34020 @if target-libtermcap
34021 maybe-distclean-target-libtermcap: distclean-target-libtermcap
34023 # libtermcap doesn't support distclean.
34024 distclean-target-libtermcap:
34026 @endif target-libtermcap
34028 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
34029 maybe-maintainer-clean-target-libtermcap:
34030 @if target-libtermcap
34031 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
34033 # libtermcap doesn't support maintainer-clean.
34034 maintainer-clean-target-libtermcap:
34036 @endif target-libtermcap
34042 .PHONY: configure-target-winsup maybe-configure-target-winsup
34043 maybe-configure-target-winsup:
34044 @if gcc-bootstrap
34045 configure-target-winsup: stage_current
34046 @endif gcc-bootstrap
34047 @if target-winsup
34048 maybe-configure-target-winsup: configure-target-winsup
34049 configure-target-winsup:
34050 @: $(MAKE); $(unstage)
34051 @r=`${PWD_COMMAND}`; export r; \
34052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34053 echo "Checking multilib configuration for winsup..."; \
34054 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34055 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
34056 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
34057 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
34058 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
34059 else \
34060 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
34061 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34062 fi; \
34063 else \
34064 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34065 fi; \
34066 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
34067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34068 $(NORMAL_TARGET_EXPORTS) \
34069 echo Configuring in $(TARGET_SUBDIR)/winsup; \
34070 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
34071 case $(srcdir) in \
34072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34073 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
34074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34075 esac; \
34076 srcdiroption="--srcdir=$${topdir}/winsup"; \
34077 libsrcdir="$$s/winsup"; \
34078 rm -f no-such-file || : ; \
34079 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34080 $(TARGET_CONFIGARGS) $${srcdiroption} \
34081 || exit 1
34082 @endif target-winsup
34088 .PHONY: all-target-winsup maybe-all-target-winsup
34089 maybe-all-target-winsup:
34090 @if gcc-bootstrap
34091 all-target-winsup: stage_current
34092 @endif gcc-bootstrap
34093 @if target-winsup
34094 TARGET-target-winsup=all
34095 maybe-all-target-winsup: all-target-winsup
34096 all-target-winsup: configure-target-winsup
34097 @: $(MAKE); $(unstage)
34098 @r=`${PWD_COMMAND}`; export r; \
34099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34100 $(NORMAL_TARGET_EXPORTS) \
34101 (cd $(TARGET_SUBDIR)/winsup && \
34102 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
34103 @endif target-winsup
34109 .PHONY: check-target-winsup maybe-check-target-winsup
34110 maybe-check-target-winsup:
34111 @if target-winsup
34112 maybe-check-target-winsup: check-target-winsup
34114 check-target-winsup:
34115 @: $(MAKE); $(unstage)
34116 @r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(NORMAL_TARGET_EXPORTS) \
34119 (cd $(TARGET_SUBDIR)/winsup && \
34120 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34122 @endif target-winsup
34124 .PHONY: install-target-winsup maybe-install-target-winsup
34125 maybe-install-target-winsup:
34126 @if target-winsup
34127 maybe-install-target-winsup: install-target-winsup
34129 install-target-winsup: installdirs
34130 @: $(MAKE); $(unstage)
34131 @r=`${PWD_COMMAND}`; export r; \
34132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34133 $(NORMAL_TARGET_EXPORTS) \
34134 (cd $(TARGET_SUBDIR)/winsup && \
34135 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34137 @endif target-winsup
34139 # Other targets (info, dvi, etc.)
34141 .PHONY: maybe-info-target-winsup info-target-winsup
34142 maybe-info-target-winsup:
34143 @if target-winsup
34144 maybe-info-target-winsup: info-target-winsup
34146 info-target-winsup: \
34147 configure-target-winsup
34148 @: $(MAKE); $(unstage)
34149 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34150 r=`${PWD_COMMAND}`; export r; \
34151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34152 $(NORMAL_TARGET_EXPORTS) \
34153 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
34154 for flag in $(EXTRA_TARGET_FLAGS); do \
34155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34156 done; \
34157 (cd $(TARGET_SUBDIR)/winsup && \
34158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34160 "RANLIB=$${RANLIB}" \
34161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34162 info) \
34163 || exit 1
34165 @endif target-winsup
34167 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
34168 maybe-dvi-target-winsup:
34169 @if target-winsup
34170 maybe-dvi-target-winsup: dvi-target-winsup
34172 dvi-target-winsup: \
34173 configure-target-winsup
34174 @: $(MAKE); $(unstage)
34175 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34176 r=`${PWD_COMMAND}`; export r; \
34177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34178 $(NORMAL_TARGET_EXPORTS) \
34179 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
34180 for flag in $(EXTRA_TARGET_FLAGS); do \
34181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34182 done; \
34183 (cd $(TARGET_SUBDIR)/winsup && \
34184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34186 "RANLIB=$${RANLIB}" \
34187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34188 dvi) \
34189 || exit 1
34191 @endif target-winsup
34193 .PHONY: maybe-html-target-winsup html-target-winsup
34194 maybe-html-target-winsup:
34195 @if target-winsup
34196 maybe-html-target-winsup: html-target-winsup
34198 html-target-winsup: \
34199 configure-target-winsup
34200 @: $(MAKE); $(unstage)
34201 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34202 r=`${PWD_COMMAND}`; export r; \
34203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34204 $(NORMAL_TARGET_EXPORTS) \
34205 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
34206 for flag in $(EXTRA_TARGET_FLAGS); do \
34207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34208 done; \
34209 (cd $(TARGET_SUBDIR)/winsup && \
34210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34212 "RANLIB=$${RANLIB}" \
34213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34214 html) \
34215 || exit 1
34217 @endif target-winsup
34219 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
34220 maybe-TAGS-target-winsup:
34221 @if target-winsup
34222 maybe-TAGS-target-winsup: TAGS-target-winsup
34224 TAGS-target-winsup: \
34225 configure-target-winsup
34226 @: $(MAKE); $(unstage)
34227 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34228 r=`${PWD_COMMAND}`; export r; \
34229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34230 $(NORMAL_TARGET_EXPORTS) \
34231 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
34232 for flag in $(EXTRA_TARGET_FLAGS); do \
34233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34234 done; \
34235 (cd $(TARGET_SUBDIR)/winsup && \
34236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34238 "RANLIB=$${RANLIB}" \
34239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34240 TAGS) \
34241 || exit 1
34243 @endif target-winsup
34245 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
34246 maybe-install-info-target-winsup:
34247 @if target-winsup
34248 maybe-install-info-target-winsup: install-info-target-winsup
34250 install-info-target-winsup: \
34251 configure-target-winsup \
34252 info-target-winsup
34253 @: $(MAKE); $(unstage)
34254 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34255 r=`${PWD_COMMAND}`; export r; \
34256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34257 $(NORMAL_TARGET_EXPORTS) \
34258 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
34259 for flag in $(EXTRA_TARGET_FLAGS); do \
34260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34261 done; \
34262 (cd $(TARGET_SUBDIR)/winsup && \
34263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34265 "RANLIB=$${RANLIB}" \
34266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34267 install-info) \
34268 || exit 1
34270 @endif target-winsup
34272 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
34273 maybe-install-html-target-winsup:
34274 @if target-winsup
34275 maybe-install-html-target-winsup: install-html-target-winsup
34277 install-html-target-winsup: \
34278 configure-target-winsup \
34279 html-target-winsup
34280 @: $(MAKE); $(unstage)
34281 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34282 r=`${PWD_COMMAND}`; export r; \
34283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34284 $(NORMAL_TARGET_EXPORTS) \
34285 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
34286 for flag in $(EXTRA_TARGET_FLAGS); do \
34287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34288 done; \
34289 (cd $(TARGET_SUBDIR)/winsup && \
34290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34292 "RANLIB=$${RANLIB}" \
34293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34294 install-html) \
34295 || exit 1
34297 @endif target-winsup
34299 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
34300 maybe-installcheck-target-winsup:
34301 @if target-winsup
34302 maybe-installcheck-target-winsup: installcheck-target-winsup
34304 installcheck-target-winsup: \
34305 configure-target-winsup
34306 @: $(MAKE); $(unstage)
34307 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34308 r=`${PWD_COMMAND}`; export r; \
34309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34310 $(NORMAL_TARGET_EXPORTS) \
34311 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
34312 for flag in $(EXTRA_TARGET_FLAGS); do \
34313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34314 done; \
34315 (cd $(TARGET_SUBDIR)/winsup && \
34316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34318 "RANLIB=$${RANLIB}" \
34319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34320 installcheck) \
34321 || exit 1
34323 @endif target-winsup
34325 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
34326 maybe-mostlyclean-target-winsup:
34327 @if target-winsup
34328 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
34330 mostlyclean-target-winsup:
34331 @: $(MAKE); $(unstage)
34332 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34333 r=`${PWD_COMMAND}`; export r; \
34334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34335 $(NORMAL_TARGET_EXPORTS) \
34336 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
34337 for flag in $(EXTRA_TARGET_FLAGS); do \
34338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34339 done; \
34340 (cd $(TARGET_SUBDIR)/winsup && \
34341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34343 "RANLIB=$${RANLIB}" \
34344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34345 mostlyclean) \
34346 || exit 1
34348 @endif target-winsup
34350 .PHONY: maybe-clean-target-winsup clean-target-winsup
34351 maybe-clean-target-winsup:
34352 @if target-winsup
34353 maybe-clean-target-winsup: clean-target-winsup
34355 clean-target-winsup:
34356 @: $(MAKE); $(unstage)
34357 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34358 r=`${PWD_COMMAND}`; export r; \
34359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34360 $(NORMAL_TARGET_EXPORTS) \
34361 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
34362 for flag in $(EXTRA_TARGET_FLAGS); do \
34363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34364 done; \
34365 (cd $(TARGET_SUBDIR)/winsup && \
34366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34368 "RANLIB=$${RANLIB}" \
34369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34370 clean) \
34371 || exit 1
34373 @endif target-winsup
34375 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
34376 maybe-distclean-target-winsup:
34377 @if target-winsup
34378 maybe-distclean-target-winsup: distclean-target-winsup
34380 distclean-target-winsup:
34381 @: $(MAKE); $(unstage)
34382 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34383 r=`${PWD_COMMAND}`; export r; \
34384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34385 $(NORMAL_TARGET_EXPORTS) \
34386 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
34387 for flag in $(EXTRA_TARGET_FLAGS); do \
34388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34389 done; \
34390 (cd $(TARGET_SUBDIR)/winsup && \
34391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34393 "RANLIB=$${RANLIB}" \
34394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34395 distclean) \
34396 || exit 1
34398 @endif target-winsup
34400 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
34401 maybe-maintainer-clean-target-winsup:
34402 @if target-winsup
34403 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
34405 maintainer-clean-target-winsup:
34406 @: $(MAKE); $(unstage)
34407 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34408 r=`${PWD_COMMAND}`; export r; \
34409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34410 $(NORMAL_TARGET_EXPORTS) \
34411 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
34412 for flag in $(EXTRA_TARGET_FLAGS); do \
34413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34414 done; \
34415 (cd $(TARGET_SUBDIR)/winsup && \
34416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34418 "RANLIB=$${RANLIB}" \
34419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34420 maintainer-clean) \
34421 || exit 1
34423 @endif target-winsup
34429 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
34430 maybe-configure-target-libgloss:
34431 @if gcc-bootstrap
34432 configure-target-libgloss: stage_current
34433 @endif gcc-bootstrap
34434 @if target-libgloss
34435 maybe-configure-target-libgloss: configure-target-libgloss
34436 configure-target-libgloss:
34437 @: $(MAKE); $(unstage)
34438 @r=`${PWD_COMMAND}`; export r; \
34439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34440 echo "Checking multilib configuration for libgloss..."; \
34441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34442 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
34443 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34444 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34445 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
34446 else \
34447 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
34448 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34449 fi; \
34450 else \
34451 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34452 fi; \
34453 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
34454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34455 $(NORMAL_TARGET_EXPORTS) \
34456 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
34457 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
34458 case $(srcdir) in \
34459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34460 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
34461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34462 esac; \
34463 srcdiroption="--srcdir=$${topdir}/libgloss"; \
34464 libsrcdir="$$s/libgloss"; \
34465 rm -f no-such-file || : ; \
34466 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34467 $(TARGET_CONFIGARGS) $${srcdiroption} \
34468 || exit 1
34469 @endif target-libgloss
34475 .PHONY: all-target-libgloss maybe-all-target-libgloss
34476 maybe-all-target-libgloss:
34477 @if gcc-bootstrap
34478 all-target-libgloss: stage_current
34479 @endif gcc-bootstrap
34480 @if target-libgloss
34481 TARGET-target-libgloss=all
34482 maybe-all-target-libgloss: all-target-libgloss
34483 all-target-libgloss: configure-target-libgloss
34484 @: $(MAKE); $(unstage)
34485 @r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 $(NORMAL_TARGET_EXPORTS) \
34488 (cd $(TARGET_SUBDIR)/libgloss && \
34489 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
34490 @endif target-libgloss
34496 .PHONY: check-target-libgloss maybe-check-target-libgloss
34497 maybe-check-target-libgloss:
34498 @if target-libgloss
34499 maybe-check-target-libgloss: check-target-libgloss
34501 # Dummy target for uncheckable module.
34502 check-target-libgloss:
34504 @endif target-libgloss
34506 .PHONY: install-target-libgloss maybe-install-target-libgloss
34507 maybe-install-target-libgloss:
34508 @if target-libgloss
34509 maybe-install-target-libgloss: install-target-libgloss
34511 install-target-libgloss: installdirs
34512 @: $(MAKE); $(unstage)
34513 @r=`${PWD_COMMAND}`; export r; \
34514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34515 $(NORMAL_TARGET_EXPORTS) \
34516 (cd $(TARGET_SUBDIR)/libgloss && \
34517 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34519 @endif target-libgloss
34521 # Other targets (info, dvi, etc.)
34523 .PHONY: maybe-info-target-libgloss info-target-libgloss
34524 maybe-info-target-libgloss:
34525 @if target-libgloss
34526 maybe-info-target-libgloss: info-target-libgloss
34528 info-target-libgloss: \
34529 configure-target-libgloss
34530 @: $(MAKE); $(unstage)
34531 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34532 r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 $(NORMAL_TARGET_EXPORTS) \
34535 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
34536 for flag in $(EXTRA_TARGET_FLAGS); do \
34537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34538 done; \
34539 (cd $(TARGET_SUBDIR)/libgloss && \
34540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34542 "RANLIB=$${RANLIB}" \
34543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34544 info) \
34545 || exit 1
34547 @endif target-libgloss
34549 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
34550 maybe-dvi-target-libgloss:
34551 @if target-libgloss
34552 maybe-dvi-target-libgloss: dvi-target-libgloss
34554 dvi-target-libgloss: \
34555 configure-target-libgloss
34556 @: $(MAKE); $(unstage)
34557 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34558 r=`${PWD_COMMAND}`; export r; \
34559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34560 $(NORMAL_TARGET_EXPORTS) \
34561 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
34562 for flag in $(EXTRA_TARGET_FLAGS); do \
34563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34564 done; \
34565 (cd $(TARGET_SUBDIR)/libgloss && \
34566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34568 "RANLIB=$${RANLIB}" \
34569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34570 dvi) \
34571 || exit 1
34573 @endif target-libgloss
34575 .PHONY: maybe-html-target-libgloss html-target-libgloss
34576 maybe-html-target-libgloss:
34577 @if target-libgloss
34578 maybe-html-target-libgloss: html-target-libgloss
34580 html-target-libgloss: \
34581 configure-target-libgloss
34582 @: $(MAKE); $(unstage)
34583 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34584 r=`${PWD_COMMAND}`; export r; \
34585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34586 $(NORMAL_TARGET_EXPORTS) \
34587 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
34588 for flag in $(EXTRA_TARGET_FLAGS); do \
34589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34590 done; \
34591 (cd $(TARGET_SUBDIR)/libgloss && \
34592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34594 "RANLIB=$${RANLIB}" \
34595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34596 html) \
34597 || exit 1
34599 @endif target-libgloss
34601 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
34602 maybe-TAGS-target-libgloss:
34603 @if target-libgloss
34604 maybe-TAGS-target-libgloss: TAGS-target-libgloss
34606 TAGS-target-libgloss: \
34607 configure-target-libgloss
34608 @: $(MAKE); $(unstage)
34609 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34610 r=`${PWD_COMMAND}`; export r; \
34611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34612 $(NORMAL_TARGET_EXPORTS) \
34613 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
34614 for flag in $(EXTRA_TARGET_FLAGS); do \
34615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34616 done; \
34617 (cd $(TARGET_SUBDIR)/libgloss && \
34618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34620 "RANLIB=$${RANLIB}" \
34621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34622 TAGS) \
34623 || exit 1
34625 @endif target-libgloss
34627 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
34628 maybe-install-info-target-libgloss:
34629 @if target-libgloss
34630 maybe-install-info-target-libgloss: install-info-target-libgloss
34632 install-info-target-libgloss: \
34633 configure-target-libgloss \
34634 info-target-libgloss
34635 @: $(MAKE); $(unstage)
34636 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34637 r=`${PWD_COMMAND}`; export r; \
34638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34639 $(NORMAL_TARGET_EXPORTS) \
34640 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
34641 for flag in $(EXTRA_TARGET_FLAGS); do \
34642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34643 done; \
34644 (cd $(TARGET_SUBDIR)/libgloss && \
34645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34647 "RANLIB=$${RANLIB}" \
34648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34649 install-info) \
34650 || exit 1
34652 @endif target-libgloss
34654 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
34655 maybe-install-html-target-libgloss:
34656 @if target-libgloss
34657 maybe-install-html-target-libgloss: install-html-target-libgloss
34659 install-html-target-libgloss: \
34660 configure-target-libgloss \
34661 html-target-libgloss
34662 @: $(MAKE); $(unstage)
34663 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34664 r=`${PWD_COMMAND}`; export r; \
34665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34666 $(NORMAL_TARGET_EXPORTS) \
34667 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
34668 for flag in $(EXTRA_TARGET_FLAGS); do \
34669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34670 done; \
34671 (cd $(TARGET_SUBDIR)/libgloss && \
34672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34674 "RANLIB=$${RANLIB}" \
34675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34676 install-html) \
34677 || exit 1
34679 @endif target-libgloss
34681 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
34682 maybe-installcheck-target-libgloss:
34683 @if target-libgloss
34684 maybe-installcheck-target-libgloss: installcheck-target-libgloss
34686 installcheck-target-libgloss: \
34687 configure-target-libgloss
34688 @: $(MAKE); $(unstage)
34689 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34690 r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 $(NORMAL_TARGET_EXPORTS) \
34693 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
34694 for flag in $(EXTRA_TARGET_FLAGS); do \
34695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34696 done; \
34697 (cd $(TARGET_SUBDIR)/libgloss && \
34698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34700 "RANLIB=$${RANLIB}" \
34701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34702 installcheck) \
34703 || exit 1
34705 @endif target-libgloss
34707 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
34708 maybe-mostlyclean-target-libgloss:
34709 @if target-libgloss
34710 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
34712 mostlyclean-target-libgloss:
34713 @: $(MAKE); $(unstage)
34714 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34715 r=`${PWD_COMMAND}`; export r; \
34716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34717 $(NORMAL_TARGET_EXPORTS) \
34718 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
34719 for flag in $(EXTRA_TARGET_FLAGS); do \
34720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34721 done; \
34722 (cd $(TARGET_SUBDIR)/libgloss && \
34723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34725 "RANLIB=$${RANLIB}" \
34726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34727 mostlyclean) \
34728 || exit 1
34730 @endif target-libgloss
34732 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
34733 maybe-clean-target-libgloss:
34734 @if target-libgloss
34735 maybe-clean-target-libgloss: clean-target-libgloss
34737 clean-target-libgloss:
34738 @: $(MAKE); $(unstage)
34739 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34740 r=`${PWD_COMMAND}`; export r; \
34741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34742 $(NORMAL_TARGET_EXPORTS) \
34743 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
34744 for flag in $(EXTRA_TARGET_FLAGS); do \
34745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34746 done; \
34747 (cd $(TARGET_SUBDIR)/libgloss && \
34748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34750 "RANLIB=$${RANLIB}" \
34751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34752 clean) \
34753 || exit 1
34755 @endif target-libgloss
34757 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
34758 maybe-distclean-target-libgloss:
34759 @if target-libgloss
34760 maybe-distclean-target-libgloss: distclean-target-libgloss
34762 distclean-target-libgloss:
34763 @: $(MAKE); $(unstage)
34764 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34765 r=`${PWD_COMMAND}`; export r; \
34766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34767 $(NORMAL_TARGET_EXPORTS) \
34768 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
34769 for flag in $(EXTRA_TARGET_FLAGS); do \
34770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34771 done; \
34772 (cd $(TARGET_SUBDIR)/libgloss && \
34773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34775 "RANLIB=$${RANLIB}" \
34776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34777 distclean) \
34778 || exit 1
34780 @endif target-libgloss
34782 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
34783 maybe-maintainer-clean-target-libgloss:
34784 @if target-libgloss
34785 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
34787 maintainer-clean-target-libgloss:
34788 @: $(MAKE); $(unstage)
34789 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34790 r=`${PWD_COMMAND}`; export r; \
34791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34792 $(NORMAL_TARGET_EXPORTS) \
34793 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
34794 for flag in $(EXTRA_TARGET_FLAGS); do \
34795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34796 done; \
34797 (cd $(TARGET_SUBDIR)/libgloss && \
34798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34800 "RANLIB=$${RANLIB}" \
34801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34802 maintainer-clean) \
34803 || exit 1
34805 @endif target-libgloss
34811 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
34812 maybe-configure-target-libiberty:
34813 @if gcc-bootstrap
34814 configure-target-libiberty: stage_current
34815 @endif gcc-bootstrap
34816 @if target-libiberty
34817 maybe-configure-target-libiberty: configure-target-libiberty
34818 configure-target-libiberty:
34819 @: $(MAKE); $(unstage)
34820 @r=`${PWD_COMMAND}`; export r; \
34821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34822 echo "Checking multilib configuration for libiberty..."; \
34823 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34824 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
34825 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34826 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34827 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
34828 else \
34829 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
34830 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34831 fi; \
34832 else \
34833 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34834 fi; \
34835 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
34836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34837 $(NORMAL_TARGET_EXPORTS) \
34838 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
34839 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
34840 case $(srcdir) in \
34841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34842 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
34843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34844 esac; \
34845 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34846 libsrcdir="$$s/libiberty"; \
34847 rm -f no-such-file || : ; \
34848 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34849 $(TARGET_CONFIGARGS) $${srcdiroption} \
34850 || exit 1
34851 @endif target-libiberty
34857 .PHONY: all-target-libiberty maybe-all-target-libiberty
34858 maybe-all-target-libiberty:
34859 @if gcc-bootstrap
34860 all-target-libiberty: stage_current
34861 @endif gcc-bootstrap
34862 @if target-libiberty
34863 TARGET-target-libiberty=all
34864 maybe-all-target-libiberty: all-target-libiberty
34865 all-target-libiberty: configure-target-libiberty
34866 @: $(MAKE); $(unstage)
34867 @r=`${PWD_COMMAND}`; export r; \
34868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34869 $(NORMAL_TARGET_EXPORTS) \
34870 (cd $(TARGET_SUBDIR)/libiberty && \
34871 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
34872 @endif target-libiberty
34878 .PHONY: check-target-libiberty maybe-check-target-libiberty
34879 maybe-check-target-libiberty:
34880 @if target-libiberty
34881 maybe-check-target-libiberty: check-target-libiberty
34883 check-target-libiberty:
34884 @: $(MAKE); $(unstage)
34885 @r=`${PWD_COMMAND}`; export r; \
34886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34887 $(NORMAL_TARGET_EXPORTS) \
34888 (cd $(TARGET_SUBDIR)/libiberty && \
34889 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34891 @endif target-libiberty
34893 .PHONY: install-target-libiberty maybe-install-target-libiberty
34894 maybe-install-target-libiberty:
34895 @if target-libiberty
34896 maybe-install-target-libiberty: install-target-libiberty
34898 install-target-libiberty: installdirs
34899 @: $(MAKE); $(unstage)
34900 @r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34902 $(NORMAL_TARGET_EXPORTS) \
34903 (cd $(TARGET_SUBDIR)/libiberty && \
34904 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34906 @endif target-libiberty
34908 # Other targets (info, dvi, etc.)
34910 .PHONY: maybe-info-target-libiberty info-target-libiberty
34911 maybe-info-target-libiberty:
34912 @if target-libiberty
34913 maybe-info-target-libiberty: info-target-libiberty
34915 info-target-libiberty: \
34916 configure-target-libiberty
34917 @: $(MAKE); $(unstage)
34918 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34919 r=`${PWD_COMMAND}`; export r; \
34920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34921 $(NORMAL_TARGET_EXPORTS) \
34922 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
34923 for flag in $(EXTRA_TARGET_FLAGS); do \
34924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34925 done; \
34926 (cd $(TARGET_SUBDIR)/libiberty && \
34927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34929 "RANLIB=$${RANLIB}" \
34930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34931 info) \
34932 || exit 1
34934 @endif target-libiberty
34936 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
34937 maybe-dvi-target-libiberty:
34938 @if target-libiberty
34939 maybe-dvi-target-libiberty: dvi-target-libiberty
34941 dvi-target-libiberty: \
34942 configure-target-libiberty
34943 @: $(MAKE); $(unstage)
34944 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34945 r=`${PWD_COMMAND}`; export r; \
34946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34947 $(NORMAL_TARGET_EXPORTS) \
34948 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
34949 for flag in $(EXTRA_TARGET_FLAGS); do \
34950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34951 done; \
34952 (cd $(TARGET_SUBDIR)/libiberty && \
34953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34955 "RANLIB=$${RANLIB}" \
34956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34957 dvi) \
34958 || exit 1
34960 @endif target-libiberty
34962 .PHONY: maybe-html-target-libiberty html-target-libiberty
34963 maybe-html-target-libiberty:
34964 @if target-libiberty
34965 maybe-html-target-libiberty: html-target-libiberty
34967 html-target-libiberty: \
34968 configure-target-libiberty
34969 @: $(MAKE); $(unstage)
34970 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(NORMAL_TARGET_EXPORTS) \
34974 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
34975 for flag in $(EXTRA_TARGET_FLAGS); do \
34976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34977 done; \
34978 (cd $(TARGET_SUBDIR)/libiberty && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34983 html) \
34984 || exit 1
34986 @endif target-libiberty
34988 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
34989 maybe-TAGS-target-libiberty:
34990 @if target-libiberty
34991 maybe-TAGS-target-libiberty: TAGS-target-libiberty
34993 TAGS-target-libiberty: \
34994 configure-target-libiberty
34995 @: $(MAKE); $(unstage)
34996 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34997 r=`${PWD_COMMAND}`; export r; \
34998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34999 $(NORMAL_TARGET_EXPORTS) \
35000 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
35001 for flag in $(EXTRA_TARGET_FLAGS); do \
35002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35003 done; \
35004 (cd $(TARGET_SUBDIR)/libiberty && \
35005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35007 "RANLIB=$${RANLIB}" \
35008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35009 TAGS) \
35010 || exit 1
35012 @endif target-libiberty
35014 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
35015 maybe-install-info-target-libiberty:
35016 @if target-libiberty
35017 maybe-install-info-target-libiberty: install-info-target-libiberty
35019 install-info-target-libiberty: \
35020 configure-target-libiberty \
35021 info-target-libiberty
35022 @: $(MAKE); $(unstage)
35023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35024 r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 $(NORMAL_TARGET_EXPORTS) \
35027 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
35028 for flag in $(EXTRA_TARGET_FLAGS); do \
35029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35030 done; \
35031 (cd $(TARGET_SUBDIR)/libiberty && \
35032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35034 "RANLIB=$${RANLIB}" \
35035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35036 install-info) \
35037 || exit 1
35039 @endif target-libiberty
35041 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
35042 maybe-install-html-target-libiberty:
35043 @if target-libiberty
35044 maybe-install-html-target-libiberty: install-html-target-libiberty
35046 install-html-target-libiberty: \
35047 configure-target-libiberty \
35048 html-target-libiberty
35049 @: $(MAKE); $(unstage)
35050 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(NORMAL_TARGET_EXPORTS) \
35054 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
35055 for flag in $(EXTRA_TARGET_FLAGS); do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 (cd $(TARGET_SUBDIR)/libiberty && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35063 install-html) \
35064 || exit 1
35066 @endif target-libiberty
35068 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
35069 maybe-installcheck-target-libiberty:
35070 @if target-libiberty
35071 maybe-installcheck-target-libiberty: installcheck-target-libiberty
35073 installcheck-target-libiberty: \
35074 configure-target-libiberty
35075 @: $(MAKE); $(unstage)
35076 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35077 r=`${PWD_COMMAND}`; export r; \
35078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35079 $(NORMAL_TARGET_EXPORTS) \
35080 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
35081 for flag in $(EXTRA_TARGET_FLAGS); do \
35082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35083 done; \
35084 (cd $(TARGET_SUBDIR)/libiberty && \
35085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35087 "RANLIB=$${RANLIB}" \
35088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35089 installcheck) \
35090 || exit 1
35092 @endif target-libiberty
35094 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
35095 maybe-mostlyclean-target-libiberty:
35096 @if target-libiberty
35097 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
35099 mostlyclean-target-libiberty:
35100 @: $(MAKE); $(unstage)
35101 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35102 r=`${PWD_COMMAND}`; export r; \
35103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35104 $(NORMAL_TARGET_EXPORTS) \
35105 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
35106 for flag in $(EXTRA_TARGET_FLAGS); do \
35107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35108 done; \
35109 (cd $(TARGET_SUBDIR)/libiberty && \
35110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35112 "RANLIB=$${RANLIB}" \
35113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35114 mostlyclean) \
35115 || exit 1
35117 @endif target-libiberty
35119 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
35120 maybe-clean-target-libiberty:
35121 @if target-libiberty
35122 maybe-clean-target-libiberty: clean-target-libiberty
35124 clean-target-libiberty:
35125 @: $(MAKE); $(unstage)
35126 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35127 r=`${PWD_COMMAND}`; export r; \
35128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35129 $(NORMAL_TARGET_EXPORTS) \
35130 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
35131 for flag in $(EXTRA_TARGET_FLAGS); do \
35132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35133 done; \
35134 (cd $(TARGET_SUBDIR)/libiberty && \
35135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35137 "RANLIB=$${RANLIB}" \
35138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35139 clean) \
35140 || exit 1
35142 @endif target-libiberty
35144 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
35145 maybe-distclean-target-libiberty:
35146 @if target-libiberty
35147 maybe-distclean-target-libiberty: distclean-target-libiberty
35149 distclean-target-libiberty:
35150 @: $(MAKE); $(unstage)
35151 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35152 r=`${PWD_COMMAND}`; export r; \
35153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35154 $(NORMAL_TARGET_EXPORTS) \
35155 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
35156 for flag in $(EXTRA_TARGET_FLAGS); do \
35157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35158 done; \
35159 (cd $(TARGET_SUBDIR)/libiberty && \
35160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35162 "RANLIB=$${RANLIB}" \
35163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35164 distclean) \
35165 || exit 1
35167 @endif target-libiberty
35169 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
35170 maybe-maintainer-clean-target-libiberty:
35171 @if target-libiberty
35172 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
35174 maintainer-clean-target-libiberty:
35175 @: $(MAKE); $(unstage)
35176 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35177 r=`${PWD_COMMAND}`; export r; \
35178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35179 $(NORMAL_TARGET_EXPORTS) \
35180 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
35181 for flag in $(EXTRA_TARGET_FLAGS); do \
35182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35183 done; \
35184 (cd $(TARGET_SUBDIR)/libiberty && \
35185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35187 "RANLIB=$${RANLIB}" \
35188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35189 maintainer-clean) \
35190 || exit 1
35192 @endif target-libiberty
35198 .PHONY: configure-target-gperf maybe-configure-target-gperf
35199 maybe-configure-target-gperf:
35200 @if gcc-bootstrap
35201 configure-target-gperf: stage_current
35202 @endif gcc-bootstrap
35203 @if target-gperf
35204 maybe-configure-target-gperf: configure-target-gperf
35205 configure-target-gperf:
35206 @: $(MAKE); $(unstage)
35207 @r=`${PWD_COMMAND}`; export r; \
35208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35209 echo "Checking multilib configuration for gperf..."; \
35210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35211 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
35212 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
35213 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
35214 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
35215 else \
35216 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
35217 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35218 fi; \
35219 else \
35220 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35221 fi; \
35222 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
35223 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35224 $(NORMAL_TARGET_EXPORTS) \
35225 echo Configuring in $(TARGET_SUBDIR)/gperf; \
35226 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
35227 case $(srcdir) in \
35228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35229 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
35230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35231 esac; \
35232 srcdiroption="--srcdir=$${topdir}/gperf"; \
35233 libsrcdir="$$s/gperf"; \
35234 rm -f no-such-file || : ; \
35235 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35236 $(TARGET_CONFIGARGS) $${srcdiroption} \
35237 || exit 1
35238 @endif target-gperf
35244 .PHONY: all-target-gperf maybe-all-target-gperf
35245 maybe-all-target-gperf:
35246 @if gcc-bootstrap
35247 all-target-gperf: stage_current
35248 @endif gcc-bootstrap
35249 @if target-gperf
35250 TARGET-target-gperf=all
35251 maybe-all-target-gperf: all-target-gperf
35252 all-target-gperf: configure-target-gperf
35253 @: $(MAKE); $(unstage)
35254 @r=`${PWD_COMMAND}`; export r; \
35255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35256 $(NORMAL_TARGET_EXPORTS) \
35257 (cd $(TARGET_SUBDIR)/gperf && \
35258 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
35259 @endif target-gperf
35265 .PHONY: check-target-gperf maybe-check-target-gperf
35266 maybe-check-target-gperf:
35267 @if target-gperf
35268 maybe-check-target-gperf: check-target-gperf
35270 check-target-gperf:
35271 @: $(MAKE); $(unstage)
35272 @r=`${PWD_COMMAND}`; export r; \
35273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35274 $(NORMAL_TARGET_EXPORTS) \
35275 (cd $(TARGET_SUBDIR)/gperf && \
35276 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35278 @endif target-gperf
35280 .PHONY: install-target-gperf maybe-install-target-gperf
35281 maybe-install-target-gperf:
35282 @if target-gperf
35283 maybe-install-target-gperf: install-target-gperf
35285 install-target-gperf: installdirs
35286 @: $(MAKE); $(unstage)
35287 @r=`${PWD_COMMAND}`; export r; \
35288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35289 $(NORMAL_TARGET_EXPORTS) \
35290 (cd $(TARGET_SUBDIR)/gperf && \
35291 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35293 @endif target-gperf
35295 # Other targets (info, dvi, etc.)
35297 .PHONY: maybe-info-target-gperf info-target-gperf
35298 maybe-info-target-gperf:
35299 @if target-gperf
35300 maybe-info-target-gperf: info-target-gperf
35302 info-target-gperf: \
35303 configure-target-gperf
35304 @: $(MAKE); $(unstage)
35305 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35306 r=`${PWD_COMMAND}`; export r; \
35307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35308 $(NORMAL_TARGET_EXPORTS) \
35309 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
35310 for flag in $(EXTRA_TARGET_FLAGS); do \
35311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35312 done; \
35313 (cd $(TARGET_SUBDIR)/gperf && \
35314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35316 "RANLIB=$${RANLIB}" \
35317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35318 info) \
35319 || exit 1
35321 @endif target-gperf
35323 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
35324 maybe-dvi-target-gperf:
35325 @if target-gperf
35326 maybe-dvi-target-gperf: dvi-target-gperf
35328 dvi-target-gperf: \
35329 configure-target-gperf
35330 @: $(MAKE); $(unstage)
35331 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35332 r=`${PWD_COMMAND}`; export r; \
35333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35334 $(NORMAL_TARGET_EXPORTS) \
35335 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
35336 for flag in $(EXTRA_TARGET_FLAGS); do \
35337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35338 done; \
35339 (cd $(TARGET_SUBDIR)/gperf && \
35340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35342 "RANLIB=$${RANLIB}" \
35343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35344 dvi) \
35345 || exit 1
35347 @endif target-gperf
35349 .PHONY: maybe-html-target-gperf html-target-gperf
35350 maybe-html-target-gperf:
35351 @if target-gperf
35352 maybe-html-target-gperf: html-target-gperf
35354 html-target-gperf: \
35355 configure-target-gperf
35356 @: $(MAKE); $(unstage)
35357 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35358 r=`${PWD_COMMAND}`; export r; \
35359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35360 $(NORMAL_TARGET_EXPORTS) \
35361 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
35362 for flag in $(EXTRA_TARGET_FLAGS); do \
35363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35364 done; \
35365 (cd $(TARGET_SUBDIR)/gperf && \
35366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35368 "RANLIB=$${RANLIB}" \
35369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35370 html) \
35371 || exit 1
35373 @endif target-gperf
35375 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
35376 maybe-TAGS-target-gperf:
35377 @if target-gperf
35378 maybe-TAGS-target-gperf: TAGS-target-gperf
35380 TAGS-target-gperf: \
35381 configure-target-gperf
35382 @: $(MAKE); $(unstage)
35383 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35384 r=`${PWD_COMMAND}`; export r; \
35385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35386 $(NORMAL_TARGET_EXPORTS) \
35387 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
35388 for flag in $(EXTRA_TARGET_FLAGS); do \
35389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35390 done; \
35391 (cd $(TARGET_SUBDIR)/gperf && \
35392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35394 "RANLIB=$${RANLIB}" \
35395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35396 TAGS) \
35397 || exit 1
35399 @endif target-gperf
35401 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
35402 maybe-install-info-target-gperf:
35403 @if target-gperf
35404 maybe-install-info-target-gperf: install-info-target-gperf
35406 install-info-target-gperf: \
35407 configure-target-gperf \
35408 info-target-gperf
35409 @: $(MAKE); $(unstage)
35410 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35411 r=`${PWD_COMMAND}`; export r; \
35412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35413 $(NORMAL_TARGET_EXPORTS) \
35414 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
35415 for flag in $(EXTRA_TARGET_FLAGS); do \
35416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35417 done; \
35418 (cd $(TARGET_SUBDIR)/gperf && \
35419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35421 "RANLIB=$${RANLIB}" \
35422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35423 install-info) \
35424 || exit 1
35426 @endif target-gperf
35428 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
35429 maybe-install-html-target-gperf:
35430 @if target-gperf
35431 maybe-install-html-target-gperf: install-html-target-gperf
35433 install-html-target-gperf: \
35434 configure-target-gperf \
35435 html-target-gperf
35436 @: $(MAKE); $(unstage)
35437 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35438 r=`${PWD_COMMAND}`; export r; \
35439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35440 $(NORMAL_TARGET_EXPORTS) \
35441 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
35442 for flag in $(EXTRA_TARGET_FLAGS); do \
35443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35444 done; \
35445 (cd $(TARGET_SUBDIR)/gperf && \
35446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35448 "RANLIB=$${RANLIB}" \
35449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35450 install-html) \
35451 || exit 1
35453 @endif target-gperf
35455 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
35456 maybe-installcheck-target-gperf:
35457 @if target-gperf
35458 maybe-installcheck-target-gperf: installcheck-target-gperf
35460 installcheck-target-gperf: \
35461 configure-target-gperf
35462 @: $(MAKE); $(unstage)
35463 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35464 r=`${PWD_COMMAND}`; export r; \
35465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35466 $(NORMAL_TARGET_EXPORTS) \
35467 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
35468 for flag in $(EXTRA_TARGET_FLAGS); do \
35469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35470 done; \
35471 (cd $(TARGET_SUBDIR)/gperf && \
35472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35474 "RANLIB=$${RANLIB}" \
35475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35476 installcheck) \
35477 || exit 1
35479 @endif target-gperf
35481 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
35482 maybe-mostlyclean-target-gperf:
35483 @if target-gperf
35484 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
35486 mostlyclean-target-gperf:
35487 @: $(MAKE); $(unstage)
35488 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35489 r=`${PWD_COMMAND}`; export r; \
35490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35491 $(NORMAL_TARGET_EXPORTS) \
35492 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
35493 for flag in $(EXTRA_TARGET_FLAGS); do \
35494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35495 done; \
35496 (cd $(TARGET_SUBDIR)/gperf && \
35497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35499 "RANLIB=$${RANLIB}" \
35500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35501 mostlyclean) \
35502 || exit 1
35504 @endif target-gperf
35506 .PHONY: maybe-clean-target-gperf clean-target-gperf
35507 maybe-clean-target-gperf:
35508 @if target-gperf
35509 maybe-clean-target-gperf: clean-target-gperf
35511 clean-target-gperf:
35512 @: $(MAKE); $(unstage)
35513 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35514 r=`${PWD_COMMAND}`; export r; \
35515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35516 $(NORMAL_TARGET_EXPORTS) \
35517 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
35518 for flag in $(EXTRA_TARGET_FLAGS); do \
35519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35520 done; \
35521 (cd $(TARGET_SUBDIR)/gperf && \
35522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35524 "RANLIB=$${RANLIB}" \
35525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35526 clean) \
35527 || exit 1
35529 @endif target-gperf
35531 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
35532 maybe-distclean-target-gperf:
35533 @if target-gperf
35534 maybe-distclean-target-gperf: distclean-target-gperf
35536 distclean-target-gperf:
35537 @: $(MAKE); $(unstage)
35538 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35539 r=`${PWD_COMMAND}`; export r; \
35540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35541 $(NORMAL_TARGET_EXPORTS) \
35542 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
35543 for flag in $(EXTRA_TARGET_FLAGS); do \
35544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35545 done; \
35546 (cd $(TARGET_SUBDIR)/gperf && \
35547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35549 "RANLIB=$${RANLIB}" \
35550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35551 distclean) \
35552 || exit 1
35554 @endif target-gperf
35556 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
35557 maybe-maintainer-clean-target-gperf:
35558 @if target-gperf
35559 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
35561 maintainer-clean-target-gperf:
35562 @: $(MAKE); $(unstage)
35563 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35564 r=`${PWD_COMMAND}`; export r; \
35565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35566 $(NORMAL_TARGET_EXPORTS) \
35567 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
35568 for flag in $(EXTRA_TARGET_FLAGS); do \
35569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35570 done; \
35571 (cd $(TARGET_SUBDIR)/gperf && \
35572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35574 "RANLIB=$${RANLIB}" \
35575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35576 maintainer-clean) \
35577 || exit 1
35579 @endif target-gperf
35585 .PHONY: configure-target-examples maybe-configure-target-examples
35586 maybe-configure-target-examples:
35587 @if gcc-bootstrap
35588 configure-target-examples: stage_current
35589 @endif gcc-bootstrap
35590 @if target-examples
35591 maybe-configure-target-examples: configure-target-examples
35592 configure-target-examples:
35593 @: $(MAKE); $(unstage)
35594 @r=`${PWD_COMMAND}`; export r; \
35595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35596 echo "Checking multilib configuration for examples..."; \
35597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35598 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
35599 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
35600 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
35601 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
35602 else \
35603 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
35604 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35605 fi; \
35606 else \
35607 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35608 fi; \
35609 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
35610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35611 $(NORMAL_TARGET_EXPORTS) \
35612 echo Configuring in $(TARGET_SUBDIR)/examples; \
35613 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
35614 case $(srcdir) in \
35615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35616 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
35617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35618 esac; \
35619 srcdiroption="--srcdir=$${topdir}/examples"; \
35620 libsrcdir="$$s/examples"; \
35621 rm -f no-such-file || : ; \
35622 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35623 $(TARGET_CONFIGARGS) $${srcdiroption} \
35624 || exit 1
35625 @endif target-examples
35631 .PHONY: all-target-examples maybe-all-target-examples
35632 maybe-all-target-examples:
35633 @if gcc-bootstrap
35634 all-target-examples: stage_current
35635 @endif gcc-bootstrap
35636 @if target-examples
35637 TARGET-target-examples=all
35638 maybe-all-target-examples: all-target-examples
35639 all-target-examples: configure-target-examples
35640 @: $(MAKE); $(unstage)
35641 @r=`${PWD_COMMAND}`; export r; \
35642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35643 $(NORMAL_TARGET_EXPORTS) \
35644 (cd $(TARGET_SUBDIR)/examples && \
35645 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
35646 @endif target-examples
35652 .PHONY: check-target-examples maybe-check-target-examples
35653 maybe-check-target-examples:
35654 @if target-examples
35655 maybe-check-target-examples: check-target-examples
35657 # Dummy target for uncheckable module.
35658 check-target-examples:
35660 @endif target-examples
35662 .PHONY: install-target-examples maybe-install-target-examples
35663 maybe-install-target-examples:
35664 @if target-examples
35665 maybe-install-target-examples: install-target-examples
35667 # Dummy target for uninstallable.
35668 install-target-examples:
35670 @endif target-examples
35672 # Other targets (info, dvi, etc.)
35674 .PHONY: maybe-info-target-examples info-target-examples
35675 maybe-info-target-examples:
35676 @if target-examples
35677 maybe-info-target-examples: info-target-examples
35679 info-target-examples: \
35680 configure-target-examples
35681 @: $(MAKE); $(unstage)
35682 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35683 r=`${PWD_COMMAND}`; export r; \
35684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35685 $(NORMAL_TARGET_EXPORTS) \
35686 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
35687 for flag in $(EXTRA_TARGET_FLAGS); do \
35688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35689 done; \
35690 (cd $(TARGET_SUBDIR)/examples && \
35691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35693 "RANLIB=$${RANLIB}" \
35694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35695 info) \
35696 || exit 1
35698 @endif target-examples
35700 .PHONY: maybe-dvi-target-examples dvi-target-examples
35701 maybe-dvi-target-examples:
35702 @if target-examples
35703 maybe-dvi-target-examples: dvi-target-examples
35705 dvi-target-examples: \
35706 configure-target-examples
35707 @: $(MAKE); $(unstage)
35708 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35709 r=`${PWD_COMMAND}`; export r; \
35710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35711 $(NORMAL_TARGET_EXPORTS) \
35712 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
35713 for flag in $(EXTRA_TARGET_FLAGS); do \
35714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35715 done; \
35716 (cd $(TARGET_SUBDIR)/examples && \
35717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35719 "RANLIB=$${RANLIB}" \
35720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35721 dvi) \
35722 || exit 1
35724 @endif target-examples
35726 .PHONY: maybe-html-target-examples html-target-examples
35727 maybe-html-target-examples:
35728 @if target-examples
35729 maybe-html-target-examples: html-target-examples
35731 html-target-examples: \
35732 configure-target-examples
35733 @: $(MAKE); $(unstage)
35734 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35735 r=`${PWD_COMMAND}`; export r; \
35736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35737 $(NORMAL_TARGET_EXPORTS) \
35738 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
35739 for flag in $(EXTRA_TARGET_FLAGS); do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 (cd $(TARGET_SUBDIR)/examples && \
35743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35745 "RANLIB=$${RANLIB}" \
35746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35747 html) \
35748 || exit 1
35750 @endif target-examples
35752 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
35753 maybe-TAGS-target-examples:
35754 @if target-examples
35755 maybe-TAGS-target-examples: TAGS-target-examples
35757 TAGS-target-examples: \
35758 configure-target-examples
35759 @: $(MAKE); $(unstage)
35760 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35761 r=`${PWD_COMMAND}`; export r; \
35762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35763 $(NORMAL_TARGET_EXPORTS) \
35764 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
35765 for flag in $(EXTRA_TARGET_FLAGS); do \
35766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35767 done; \
35768 (cd $(TARGET_SUBDIR)/examples && \
35769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35771 "RANLIB=$${RANLIB}" \
35772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35773 TAGS) \
35774 || exit 1
35776 @endif target-examples
35778 .PHONY: maybe-install-info-target-examples install-info-target-examples
35779 maybe-install-info-target-examples:
35780 @if target-examples
35781 maybe-install-info-target-examples: install-info-target-examples
35783 install-info-target-examples: \
35784 configure-target-examples \
35785 info-target-examples
35786 @: $(MAKE); $(unstage)
35787 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35788 r=`${PWD_COMMAND}`; export r; \
35789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35790 $(NORMAL_TARGET_EXPORTS) \
35791 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
35792 for flag in $(EXTRA_TARGET_FLAGS); do \
35793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35794 done; \
35795 (cd $(TARGET_SUBDIR)/examples && \
35796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35798 "RANLIB=$${RANLIB}" \
35799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35800 install-info) \
35801 || exit 1
35803 @endif target-examples
35805 .PHONY: maybe-install-html-target-examples install-html-target-examples
35806 maybe-install-html-target-examples:
35807 @if target-examples
35808 maybe-install-html-target-examples: install-html-target-examples
35810 install-html-target-examples: \
35811 configure-target-examples \
35812 html-target-examples
35813 @: $(MAKE); $(unstage)
35814 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35815 r=`${PWD_COMMAND}`; export r; \
35816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35817 $(NORMAL_TARGET_EXPORTS) \
35818 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
35819 for flag in $(EXTRA_TARGET_FLAGS); do \
35820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35821 done; \
35822 (cd $(TARGET_SUBDIR)/examples && \
35823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35825 "RANLIB=$${RANLIB}" \
35826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35827 install-html) \
35828 || exit 1
35830 @endif target-examples
35832 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
35833 maybe-installcheck-target-examples:
35834 @if target-examples
35835 maybe-installcheck-target-examples: installcheck-target-examples
35837 installcheck-target-examples: \
35838 configure-target-examples
35839 @: $(MAKE); $(unstage)
35840 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35841 r=`${PWD_COMMAND}`; export r; \
35842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35843 $(NORMAL_TARGET_EXPORTS) \
35844 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
35845 for flag in $(EXTRA_TARGET_FLAGS); do \
35846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35847 done; \
35848 (cd $(TARGET_SUBDIR)/examples && \
35849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35851 "RANLIB=$${RANLIB}" \
35852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35853 installcheck) \
35854 || exit 1
35856 @endif target-examples
35858 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
35859 maybe-mostlyclean-target-examples:
35860 @if target-examples
35861 maybe-mostlyclean-target-examples: mostlyclean-target-examples
35863 mostlyclean-target-examples:
35864 @: $(MAKE); $(unstage)
35865 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35866 r=`${PWD_COMMAND}`; export r; \
35867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35868 $(NORMAL_TARGET_EXPORTS) \
35869 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
35870 for flag in $(EXTRA_TARGET_FLAGS); do \
35871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35872 done; \
35873 (cd $(TARGET_SUBDIR)/examples && \
35874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35876 "RANLIB=$${RANLIB}" \
35877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35878 mostlyclean) \
35879 || exit 1
35881 @endif target-examples
35883 .PHONY: maybe-clean-target-examples clean-target-examples
35884 maybe-clean-target-examples:
35885 @if target-examples
35886 maybe-clean-target-examples: clean-target-examples
35888 clean-target-examples:
35889 @: $(MAKE); $(unstage)
35890 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35891 r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 $(NORMAL_TARGET_EXPORTS) \
35894 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
35895 for flag in $(EXTRA_TARGET_FLAGS); do \
35896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35897 done; \
35898 (cd $(TARGET_SUBDIR)/examples && \
35899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35901 "RANLIB=$${RANLIB}" \
35902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35903 clean) \
35904 || exit 1
35906 @endif target-examples
35908 .PHONY: maybe-distclean-target-examples distclean-target-examples
35909 maybe-distclean-target-examples:
35910 @if target-examples
35911 maybe-distclean-target-examples: distclean-target-examples
35913 distclean-target-examples:
35914 @: $(MAKE); $(unstage)
35915 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35916 r=`${PWD_COMMAND}`; export r; \
35917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35918 $(NORMAL_TARGET_EXPORTS) \
35919 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
35920 for flag in $(EXTRA_TARGET_FLAGS); do \
35921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35922 done; \
35923 (cd $(TARGET_SUBDIR)/examples && \
35924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35926 "RANLIB=$${RANLIB}" \
35927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35928 distclean) \
35929 || exit 1
35931 @endif target-examples
35933 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
35934 maybe-maintainer-clean-target-examples:
35935 @if target-examples
35936 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
35938 maintainer-clean-target-examples:
35939 @: $(MAKE); $(unstage)
35940 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35941 r=`${PWD_COMMAND}`; export r; \
35942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35943 $(NORMAL_TARGET_EXPORTS) \
35944 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
35945 for flag in $(EXTRA_TARGET_FLAGS); do \
35946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35947 done; \
35948 (cd $(TARGET_SUBDIR)/examples && \
35949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35951 "RANLIB=$${RANLIB}" \
35952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35953 maintainer-clean) \
35954 || exit 1
35956 @endif target-examples
35962 .PHONY: configure-target-libffi maybe-configure-target-libffi
35963 maybe-configure-target-libffi:
35964 @if gcc-bootstrap
35965 configure-target-libffi: stage_current
35966 @endif gcc-bootstrap
35967 @if target-libffi
35968 maybe-configure-target-libffi: configure-target-libffi
35969 configure-target-libffi:
35970 @: $(MAKE); $(unstage)
35971 @r=`${PWD_COMMAND}`; export r; \
35972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35973 echo "Checking multilib configuration for libffi..."; \
35974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35975 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
35976 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
35977 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
35978 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
35979 else \
35980 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
35981 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35982 fi; \
35983 else \
35984 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35985 fi; \
35986 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
35987 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35988 $(NORMAL_TARGET_EXPORTS) \
35989 echo Configuring in $(TARGET_SUBDIR)/libffi; \
35990 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
35991 case $(srcdir) in \
35992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35993 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
35994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35995 esac; \
35996 srcdiroption="--srcdir=$${topdir}/libffi"; \
35997 libsrcdir="$$s/libffi"; \
35998 rm -f no-such-file || : ; \
35999 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36000 $(TARGET_CONFIGARGS) $${srcdiroption} \
36001 || exit 1
36002 @endif target-libffi
36008 .PHONY: all-target-libffi maybe-all-target-libffi
36009 maybe-all-target-libffi:
36010 @if gcc-bootstrap
36011 all-target-libffi: stage_current
36012 @endif gcc-bootstrap
36013 @if target-libffi
36014 TARGET-target-libffi=all
36015 maybe-all-target-libffi: all-target-libffi
36016 all-target-libffi: configure-target-libffi
36017 @: $(MAKE); $(unstage)
36018 @r=`${PWD_COMMAND}`; export r; \
36019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36020 $(NORMAL_TARGET_EXPORTS) \
36021 (cd $(TARGET_SUBDIR)/libffi && \
36022 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
36023 @endif target-libffi
36029 .PHONY: check-target-libffi maybe-check-target-libffi
36030 maybe-check-target-libffi:
36031 @if target-libffi
36032 maybe-check-target-libffi: check-target-libffi
36034 check-target-libffi:
36035 @: $(MAKE); $(unstage)
36036 @r=`${PWD_COMMAND}`; export r; \
36037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36038 $(NORMAL_TARGET_EXPORTS) \
36039 (cd $(TARGET_SUBDIR)/libffi && \
36040 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36042 @endif target-libffi
36044 .PHONY: install-target-libffi maybe-install-target-libffi
36045 maybe-install-target-libffi:
36046 @if target-libffi
36047 maybe-install-target-libffi: install-target-libffi
36049 install-target-libffi: installdirs
36050 @: $(MAKE); $(unstage)
36051 @r=`${PWD_COMMAND}`; export r; \
36052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36053 $(NORMAL_TARGET_EXPORTS) \
36054 (cd $(TARGET_SUBDIR)/libffi && \
36055 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36057 @endif target-libffi
36059 # Other targets (info, dvi, etc.)
36061 .PHONY: maybe-info-target-libffi info-target-libffi
36062 maybe-info-target-libffi:
36063 @if target-libffi
36064 maybe-info-target-libffi: info-target-libffi
36066 info-target-libffi: \
36067 configure-target-libffi
36068 @: $(MAKE); $(unstage)
36069 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36070 r=`${PWD_COMMAND}`; export r; \
36071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36072 $(NORMAL_TARGET_EXPORTS) \
36073 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36074 for flag in $(EXTRA_TARGET_FLAGS); do \
36075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36076 done; \
36077 (cd $(TARGET_SUBDIR)/libffi && \
36078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36080 "RANLIB=$${RANLIB}" \
36081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36082 info) \
36083 || exit 1
36085 @endif target-libffi
36087 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36088 maybe-dvi-target-libffi:
36089 @if target-libffi
36090 maybe-dvi-target-libffi: dvi-target-libffi
36092 dvi-target-libffi: \
36093 configure-target-libffi
36094 @: $(MAKE); $(unstage)
36095 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36096 r=`${PWD_COMMAND}`; export r; \
36097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36098 $(NORMAL_TARGET_EXPORTS) \
36099 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36100 for flag in $(EXTRA_TARGET_FLAGS); do \
36101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36102 done; \
36103 (cd $(TARGET_SUBDIR)/libffi && \
36104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36106 "RANLIB=$${RANLIB}" \
36107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36108 dvi) \
36109 || exit 1
36111 @endif target-libffi
36113 .PHONY: maybe-html-target-libffi html-target-libffi
36114 maybe-html-target-libffi:
36115 @if target-libffi
36116 maybe-html-target-libffi: html-target-libffi
36118 html-target-libffi: \
36119 configure-target-libffi
36120 @: $(MAKE); $(unstage)
36121 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36122 r=`${PWD_COMMAND}`; export r; \
36123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36124 $(NORMAL_TARGET_EXPORTS) \
36125 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36126 for flag in $(EXTRA_TARGET_FLAGS); do \
36127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36128 done; \
36129 (cd $(TARGET_SUBDIR)/libffi && \
36130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36132 "RANLIB=$${RANLIB}" \
36133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36134 html) \
36135 || exit 1
36137 @endif target-libffi
36139 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36140 maybe-TAGS-target-libffi:
36141 @if target-libffi
36142 maybe-TAGS-target-libffi: TAGS-target-libffi
36144 TAGS-target-libffi: \
36145 configure-target-libffi
36146 @: $(MAKE); $(unstage)
36147 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36148 r=`${PWD_COMMAND}`; export r; \
36149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36150 $(NORMAL_TARGET_EXPORTS) \
36151 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36152 for flag in $(EXTRA_TARGET_FLAGS); do \
36153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36154 done; \
36155 (cd $(TARGET_SUBDIR)/libffi && \
36156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36158 "RANLIB=$${RANLIB}" \
36159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36160 TAGS) \
36161 || exit 1
36163 @endif target-libffi
36165 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36166 maybe-install-info-target-libffi:
36167 @if target-libffi
36168 maybe-install-info-target-libffi: install-info-target-libffi
36170 install-info-target-libffi: \
36171 configure-target-libffi \
36172 info-target-libffi
36173 @: $(MAKE); $(unstage)
36174 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36175 r=`${PWD_COMMAND}`; export r; \
36176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36177 $(NORMAL_TARGET_EXPORTS) \
36178 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36179 for flag in $(EXTRA_TARGET_FLAGS); do \
36180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36181 done; \
36182 (cd $(TARGET_SUBDIR)/libffi && \
36183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36185 "RANLIB=$${RANLIB}" \
36186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36187 install-info) \
36188 || exit 1
36190 @endif target-libffi
36192 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36193 maybe-install-html-target-libffi:
36194 @if target-libffi
36195 maybe-install-html-target-libffi: install-html-target-libffi
36197 install-html-target-libffi: \
36198 configure-target-libffi \
36199 html-target-libffi
36200 @: $(MAKE); $(unstage)
36201 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36202 r=`${PWD_COMMAND}`; export r; \
36203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36204 $(NORMAL_TARGET_EXPORTS) \
36205 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36206 for flag in $(EXTRA_TARGET_FLAGS); do \
36207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36208 done; \
36209 (cd $(TARGET_SUBDIR)/libffi && \
36210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36212 "RANLIB=$${RANLIB}" \
36213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36214 install-html) \
36215 || exit 1
36217 @endif target-libffi
36219 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36220 maybe-installcheck-target-libffi:
36221 @if target-libffi
36222 maybe-installcheck-target-libffi: installcheck-target-libffi
36224 installcheck-target-libffi: \
36225 configure-target-libffi
36226 @: $(MAKE); $(unstage)
36227 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36228 r=`${PWD_COMMAND}`; export r; \
36229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36230 $(NORMAL_TARGET_EXPORTS) \
36231 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36232 for flag in $(EXTRA_TARGET_FLAGS); do \
36233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36234 done; \
36235 (cd $(TARGET_SUBDIR)/libffi && \
36236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36238 "RANLIB=$${RANLIB}" \
36239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36240 installcheck) \
36241 || exit 1
36243 @endif target-libffi
36245 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36246 maybe-mostlyclean-target-libffi:
36247 @if target-libffi
36248 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36250 mostlyclean-target-libffi:
36251 @: $(MAKE); $(unstage)
36252 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36253 r=`${PWD_COMMAND}`; export r; \
36254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36255 $(NORMAL_TARGET_EXPORTS) \
36256 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36257 for flag in $(EXTRA_TARGET_FLAGS); do \
36258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36259 done; \
36260 (cd $(TARGET_SUBDIR)/libffi && \
36261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36263 "RANLIB=$${RANLIB}" \
36264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36265 mostlyclean) \
36266 || exit 1
36268 @endif target-libffi
36270 .PHONY: maybe-clean-target-libffi clean-target-libffi
36271 maybe-clean-target-libffi:
36272 @if target-libffi
36273 maybe-clean-target-libffi: clean-target-libffi
36275 clean-target-libffi:
36276 @: $(MAKE); $(unstage)
36277 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36278 r=`${PWD_COMMAND}`; export r; \
36279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36280 $(NORMAL_TARGET_EXPORTS) \
36281 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36282 for flag in $(EXTRA_TARGET_FLAGS); do \
36283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36284 done; \
36285 (cd $(TARGET_SUBDIR)/libffi && \
36286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36288 "RANLIB=$${RANLIB}" \
36289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36290 clean) \
36291 || exit 1
36293 @endif target-libffi
36295 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36296 maybe-distclean-target-libffi:
36297 @if target-libffi
36298 maybe-distclean-target-libffi: distclean-target-libffi
36300 distclean-target-libffi:
36301 @: $(MAKE); $(unstage)
36302 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36303 r=`${PWD_COMMAND}`; export r; \
36304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36305 $(NORMAL_TARGET_EXPORTS) \
36306 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36307 for flag in $(EXTRA_TARGET_FLAGS); do \
36308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36309 done; \
36310 (cd $(TARGET_SUBDIR)/libffi && \
36311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36313 "RANLIB=$${RANLIB}" \
36314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36315 distclean) \
36316 || exit 1
36318 @endif target-libffi
36320 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36321 maybe-maintainer-clean-target-libffi:
36322 @if target-libffi
36323 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36325 maintainer-clean-target-libffi:
36326 @: $(MAKE); $(unstage)
36327 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36328 r=`${PWD_COMMAND}`; export r; \
36329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36330 $(NORMAL_TARGET_EXPORTS) \
36331 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36332 for flag in $(EXTRA_TARGET_FLAGS); do \
36333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36334 done; \
36335 (cd $(TARGET_SUBDIR)/libffi && \
36336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36338 "RANLIB=$${RANLIB}" \
36339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36340 maintainer-clean) \
36341 || exit 1
36343 @endif target-libffi
36349 .PHONY: configure-target-libjava maybe-configure-target-libjava
36350 maybe-configure-target-libjava:
36351 @if gcc-bootstrap
36352 configure-target-libjava: stage_current
36353 @endif gcc-bootstrap
36354 @if target-libjava
36355 maybe-configure-target-libjava: configure-target-libjava
36356 configure-target-libjava:
36357 @: $(MAKE); $(unstage)
36358 @r=`${PWD_COMMAND}`; export r; \
36359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36360 echo "Checking multilib configuration for libjava..."; \
36361 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36362 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36363 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36364 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36365 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36366 else \
36367 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36368 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36369 fi; \
36370 else \
36371 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36372 fi; \
36373 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36374 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36375 $(RAW_CXX_TARGET_EXPORTS) \
36376 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36377 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36378 case $(srcdir) in \
36379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36380 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36382 esac; \
36383 srcdiroption="--srcdir=$${topdir}/libjava"; \
36384 libsrcdir="$$s/libjava"; \
36385 rm -f no-such-file || : ; \
36386 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36387 $(TARGET_CONFIGARGS) $${srcdiroption} \
36388 || exit 1
36389 @endif target-libjava
36395 .PHONY: all-target-libjava maybe-all-target-libjava
36396 maybe-all-target-libjava:
36397 @if gcc-bootstrap
36398 all-target-libjava: stage_current
36399 @endif gcc-bootstrap
36400 @if target-libjava
36401 TARGET-target-libjava=all
36402 maybe-all-target-libjava: all-target-libjava
36403 all-target-libjava: configure-target-libjava
36404 @: $(MAKE); $(unstage)
36405 @r=`${PWD_COMMAND}`; export r; \
36406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36407 $(RAW_CXX_TARGET_EXPORTS) \
36408 (cd $(TARGET_SUBDIR)/libjava && \
36409 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
36410 @endif target-libjava
36416 .PHONY: check-target-libjava maybe-check-target-libjava
36417 maybe-check-target-libjava:
36418 @if target-libjava
36419 maybe-check-target-libjava: check-target-libjava
36421 check-target-libjava:
36422 @: $(MAKE); $(unstage)
36423 @r=`${PWD_COMMAND}`; export r; \
36424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36425 $(RAW_CXX_TARGET_EXPORTS) \
36426 (cd $(TARGET_SUBDIR)/libjava && \
36427 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36429 @endif target-libjava
36431 .PHONY: install-target-libjava maybe-install-target-libjava
36432 maybe-install-target-libjava:
36433 @if target-libjava
36434 maybe-install-target-libjava: install-target-libjava
36436 install-target-libjava: installdirs
36437 @: $(MAKE); $(unstage)
36438 @r=`${PWD_COMMAND}`; export r; \
36439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36440 $(RAW_CXX_TARGET_EXPORTS) \
36441 (cd $(TARGET_SUBDIR)/libjava && \
36442 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36444 @endif target-libjava
36446 # Other targets (info, dvi, etc.)
36448 .PHONY: maybe-info-target-libjava info-target-libjava
36449 maybe-info-target-libjava:
36450 @if target-libjava
36451 maybe-info-target-libjava: info-target-libjava
36453 info-target-libjava: \
36454 configure-target-libjava
36455 @: $(MAKE); $(unstage)
36456 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36457 r=`${PWD_COMMAND}`; export r; \
36458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36459 $(RAW_CXX_TARGET_EXPORTS) \
36460 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
36461 for flag in $(EXTRA_TARGET_FLAGS); do \
36462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36463 done; \
36464 (cd $(TARGET_SUBDIR)/libjava && \
36465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36467 "RANLIB=$${RANLIB}" \
36468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36469 info) \
36470 || exit 1
36472 @endif target-libjava
36474 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
36475 maybe-dvi-target-libjava:
36476 @if target-libjava
36477 maybe-dvi-target-libjava: dvi-target-libjava
36479 dvi-target-libjava: \
36480 configure-target-libjava
36481 @: $(MAKE); $(unstage)
36482 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36483 r=`${PWD_COMMAND}`; export r; \
36484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36485 $(RAW_CXX_TARGET_EXPORTS) \
36486 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
36487 for flag in $(EXTRA_TARGET_FLAGS); do \
36488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36489 done; \
36490 (cd $(TARGET_SUBDIR)/libjava && \
36491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36493 "RANLIB=$${RANLIB}" \
36494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36495 dvi) \
36496 || exit 1
36498 @endif target-libjava
36500 .PHONY: maybe-html-target-libjava html-target-libjava
36501 maybe-html-target-libjava:
36502 @if target-libjava
36503 maybe-html-target-libjava: html-target-libjava
36505 html-target-libjava: \
36506 configure-target-libjava
36507 @: $(MAKE); $(unstage)
36508 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36509 r=`${PWD_COMMAND}`; export r; \
36510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36511 $(RAW_CXX_TARGET_EXPORTS) \
36512 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
36513 for flag in $(EXTRA_TARGET_FLAGS); do \
36514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36515 done; \
36516 (cd $(TARGET_SUBDIR)/libjava && \
36517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36519 "RANLIB=$${RANLIB}" \
36520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36521 html) \
36522 || exit 1
36524 @endif target-libjava
36526 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
36527 maybe-TAGS-target-libjava:
36528 @if target-libjava
36529 maybe-TAGS-target-libjava: TAGS-target-libjava
36531 TAGS-target-libjava: \
36532 configure-target-libjava
36533 @: $(MAKE); $(unstage)
36534 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36535 r=`${PWD_COMMAND}`; export r; \
36536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36537 $(RAW_CXX_TARGET_EXPORTS) \
36538 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
36539 for flag in $(EXTRA_TARGET_FLAGS); do \
36540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36541 done; \
36542 (cd $(TARGET_SUBDIR)/libjava && \
36543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36545 "RANLIB=$${RANLIB}" \
36546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36547 TAGS) \
36548 || exit 1
36550 @endif target-libjava
36552 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
36553 maybe-install-info-target-libjava:
36554 @if target-libjava
36555 maybe-install-info-target-libjava: install-info-target-libjava
36557 install-info-target-libjava: \
36558 configure-target-libjava \
36559 info-target-libjava
36560 @: $(MAKE); $(unstage)
36561 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36562 r=`${PWD_COMMAND}`; export r; \
36563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36564 $(RAW_CXX_TARGET_EXPORTS) \
36565 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
36566 for flag in $(EXTRA_TARGET_FLAGS); do \
36567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36568 done; \
36569 (cd $(TARGET_SUBDIR)/libjava && \
36570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36572 "RANLIB=$${RANLIB}" \
36573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36574 install-info) \
36575 || exit 1
36577 @endif target-libjava
36579 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
36580 maybe-install-html-target-libjava:
36581 @if target-libjava
36582 maybe-install-html-target-libjava: install-html-target-libjava
36584 install-html-target-libjava: \
36585 configure-target-libjava \
36586 html-target-libjava
36587 @: $(MAKE); $(unstage)
36588 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36589 r=`${PWD_COMMAND}`; export r; \
36590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36591 $(RAW_CXX_TARGET_EXPORTS) \
36592 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
36593 for flag in $(EXTRA_TARGET_FLAGS); do \
36594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36595 done; \
36596 (cd $(TARGET_SUBDIR)/libjava && \
36597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36599 "RANLIB=$${RANLIB}" \
36600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36601 install-html) \
36602 || exit 1
36604 @endif target-libjava
36606 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
36607 maybe-installcheck-target-libjava:
36608 @if target-libjava
36609 maybe-installcheck-target-libjava: installcheck-target-libjava
36611 installcheck-target-libjava: \
36612 configure-target-libjava
36613 @: $(MAKE); $(unstage)
36614 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36615 r=`${PWD_COMMAND}`; export r; \
36616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36617 $(RAW_CXX_TARGET_EXPORTS) \
36618 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
36619 for flag in $(EXTRA_TARGET_FLAGS); do \
36620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36621 done; \
36622 (cd $(TARGET_SUBDIR)/libjava && \
36623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36625 "RANLIB=$${RANLIB}" \
36626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36627 installcheck) \
36628 || exit 1
36630 @endif target-libjava
36632 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
36633 maybe-mostlyclean-target-libjava:
36634 @if target-libjava
36635 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
36637 mostlyclean-target-libjava:
36638 @: $(MAKE); $(unstage)
36639 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36640 r=`${PWD_COMMAND}`; export r; \
36641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36642 $(RAW_CXX_TARGET_EXPORTS) \
36643 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
36644 for flag in $(EXTRA_TARGET_FLAGS); do \
36645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36646 done; \
36647 (cd $(TARGET_SUBDIR)/libjava && \
36648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36650 "RANLIB=$${RANLIB}" \
36651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36652 mostlyclean) \
36653 || exit 1
36655 @endif target-libjava
36657 .PHONY: maybe-clean-target-libjava clean-target-libjava
36658 maybe-clean-target-libjava:
36659 @if target-libjava
36660 maybe-clean-target-libjava: clean-target-libjava
36662 clean-target-libjava:
36663 @: $(MAKE); $(unstage)
36664 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36665 r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 $(RAW_CXX_TARGET_EXPORTS) \
36668 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
36669 for flag in $(EXTRA_TARGET_FLAGS); do \
36670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36671 done; \
36672 (cd $(TARGET_SUBDIR)/libjava && \
36673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36675 "RANLIB=$${RANLIB}" \
36676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36677 clean) \
36678 || exit 1
36680 @endif target-libjava
36682 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
36683 maybe-distclean-target-libjava:
36684 @if target-libjava
36685 maybe-distclean-target-libjava: distclean-target-libjava
36687 distclean-target-libjava:
36688 @: $(MAKE); $(unstage)
36689 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36690 r=`${PWD_COMMAND}`; export r; \
36691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36692 $(RAW_CXX_TARGET_EXPORTS) \
36693 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
36694 for flag in $(EXTRA_TARGET_FLAGS); do \
36695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36696 done; \
36697 (cd $(TARGET_SUBDIR)/libjava && \
36698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36700 "RANLIB=$${RANLIB}" \
36701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36702 distclean) \
36703 || exit 1
36705 @endif target-libjava
36707 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
36708 maybe-maintainer-clean-target-libjava:
36709 @if target-libjava
36710 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
36712 maintainer-clean-target-libjava:
36713 @: $(MAKE); $(unstage)
36714 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36715 r=`${PWD_COMMAND}`; export r; \
36716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36717 $(RAW_CXX_TARGET_EXPORTS) \
36718 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
36719 for flag in $(EXTRA_TARGET_FLAGS); do \
36720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36721 done; \
36722 (cd $(TARGET_SUBDIR)/libjava && \
36723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36725 "RANLIB=$${RANLIB}" \
36726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36727 maintainer-clean) \
36728 || exit 1
36730 @endif target-libjava
36736 .PHONY: configure-target-zlib maybe-configure-target-zlib
36737 maybe-configure-target-zlib:
36738 @if gcc-bootstrap
36739 configure-target-zlib: stage_current
36740 @endif gcc-bootstrap
36741 @if target-zlib
36742 maybe-configure-target-zlib: configure-target-zlib
36743 configure-target-zlib:
36744 @: $(MAKE); $(unstage)
36745 @r=`${PWD_COMMAND}`; export r; \
36746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36747 echo "Checking multilib configuration for zlib..."; \
36748 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36749 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
36750 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
36751 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
36752 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
36753 else \
36754 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
36755 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36756 fi; \
36757 else \
36758 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36759 fi; \
36760 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
36761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36762 $(NORMAL_TARGET_EXPORTS) \
36763 echo Configuring in $(TARGET_SUBDIR)/zlib; \
36764 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
36765 case $(srcdir) in \
36766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36767 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
36768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36769 esac; \
36770 srcdiroption="--srcdir=$${topdir}/zlib"; \
36771 libsrcdir="$$s/zlib"; \
36772 rm -f no-such-file || : ; \
36773 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36774 $(TARGET_CONFIGARGS) $${srcdiroption} \
36775 || exit 1
36776 @endif target-zlib
36782 .PHONY: all-target-zlib maybe-all-target-zlib
36783 maybe-all-target-zlib:
36784 @if gcc-bootstrap
36785 all-target-zlib: stage_current
36786 @endif gcc-bootstrap
36787 @if target-zlib
36788 TARGET-target-zlib=all
36789 maybe-all-target-zlib: all-target-zlib
36790 all-target-zlib: configure-target-zlib
36791 @: $(MAKE); $(unstage)
36792 @r=`${PWD_COMMAND}`; export r; \
36793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36794 $(NORMAL_TARGET_EXPORTS) \
36795 (cd $(TARGET_SUBDIR)/zlib && \
36796 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
36797 @endif target-zlib
36803 .PHONY: check-target-zlib maybe-check-target-zlib
36804 maybe-check-target-zlib:
36805 @if target-zlib
36806 maybe-check-target-zlib: check-target-zlib
36808 check-target-zlib:
36809 @: $(MAKE); $(unstage)
36810 @r=`${PWD_COMMAND}`; export r; \
36811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36812 $(NORMAL_TARGET_EXPORTS) \
36813 (cd $(TARGET_SUBDIR)/zlib && \
36814 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36816 @endif target-zlib
36818 .PHONY: install-target-zlib maybe-install-target-zlib
36819 maybe-install-target-zlib:
36820 @if target-zlib
36821 maybe-install-target-zlib: install-target-zlib
36823 install-target-zlib: installdirs
36824 @: $(MAKE); $(unstage)
36825 @r=`${PWD_COMMAND}`; export r; \
36826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36827 $(NORMAL_TARGET_EXPORTS) \
36828 (cd $(TARGET_SUBDIR)/zlib && \
36829 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36831 @endif target-zlib
36833 # Other targets (info, dvi, etc.)
36835 .PHONY: maybe-info-target-zlib info-target-zlib
36836 maybe-info-target-zlib:
36837 @if target-zlib
36838 maybe-info-target-zlib: info-target-zlib
36840 info-target-zlib: \
36841 configure-target-zlib
36842 @: $(MAKE); $(unstage)
36843 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36844 r=`${PWD_COMMAND}`; export r; \
36845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36846 $(NORMAL_TARGET_EXPORTS) \
36847 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
36848 for flag in $(EXTRA_TARGET_FLAGS); do \
36849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36850 done; \
36851 (cd $(TARGET_SUBDIR)/zlib && \
36852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36854 "RANLIB=$${RANLIB}" \
36855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36856 info) \
36857 || exit 1
36859 @endif target-zlib
36861 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
36862 maybe-dvi-target-zlib:
36863 @if target-zlib
36864 maybe-dvi-target-zlib: dvi-target-zlib
36866 dvi-target-zlib: \
36867 configure-target-zlib
36868 @: $(MAKE); $(unstage)
36869 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36870 r=`${PWD_COMMAND}`; export r; \
36871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36872 $(NORMAL_TARGET_EXPORTS) \
36873 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
36874 for flag in $(EXTRA_TARGET_FLAGS); do \
36875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36876 done; \
36877 (cd $(TARGET_SUBDIR)/zlib && \
36878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36880 "RANLIB=$${RANLIB}" \
36881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36882 dvi) \
36883 || exit 1
36885 @endif target-zlib
36887 .PHONY: maybe-html-target-zlib html-target-zlib
36888 maybe-html-target-zlib:
36889 @if target-zlib
36890 maybe-html-target-zlib: html-target-zlib
36892 html-target-zlib: \
36893 configure-target-zlib
36894 @: $(MAKE); $(unstage)
36895 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36896 r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 $(NORMAL_TARGET_EXPORTS) \
36899 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
36900 for flag in $(EXTRA_TARGET_FLAGS); do \
36901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36902 done; \
36903 (cd $(TARGET_SUBDIR)/zlib && \
36904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36906 "RANLIB=$${RANLIB}" \
36907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36908 html) \
36909 || exit 1
36911 @endif target-zlib
36913 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
36914 maybe-TAGS-target-zlib:
36915 @if target-zlib
36916 maybe-TAGS-target-zlib: TAGS-target-zlib
36918 TAGS-target-zlib: \
36919 configure-target-zlib
36920 @: $(MAKE); $(unstage)
36921 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36922 r=`${PWD_COMMAND}`; export r; \
36923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36924 $(NORMAL_TARGET_EXPORTS) \
36925 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
36926 for flag in $(EXTRA_TARGET_FLAGS); do \
36927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36928 done; \
36929 (cd $(TARGET_SUBDIR)/zlib && \
36930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36932 "RANLIB=$${RANLIB}" \
36933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36934 TAGS) \
36935 || exit 1
36937 @endif target-zlib
36939 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
36940 maybe-install-info-target-zlib:
36941 @if target-zlib
36942 maybe-install-info-target-zlib: install-info-target-zlib
36944 install-info-target-zlib: \
36945 configure-target-zlib \
36946 info-target-zlib
36947 @: $(MAKE); $(unstage)
36948 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36949 r=`${PWD_COMMAND}`; export r; \
36950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36951 $(NORMAL_TARGET_EXPORTS) \
36952 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
36953 for flag in $(EXTRA_TARGET_FLAGS); do \
36954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36955 done; \
36956 (cd $(TARGET_SUBDIR)/zlib && \
36957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36959 "RANLIB=$${RANLIB}" \
36960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36961 install-info) \
36962 || exit 1
36964 @endif target-zlib
36966 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
36967 maybe-install-html-target-zlib:
36968 @if target-zlib
36969 maybe-install-html-target-zlib: install-html-target-zlib
36971 install-html-target-zlib: \
36972 configure-target-zlib \
36973 html-target-zlib
36974 @: $(MAKE); $(unstage)
36975 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36976 r=`${PWD_COMMAND}`; export r; \
36977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36978 $(NORMAL_TARGET_EXPORTS) \
36979 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
36980 for flag in $(EXTRA_TARGET_FLAGS); do \
36981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36982 done; \
36983 (cd $(TARGET_SUBDIR)/zlib && \
36984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36986 "RANLIB=$${RANLIB}" \
36987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36988 install-html) \
36989 || exit 1
36991 @endif target-zlib
36993 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
36994 maybe-installcheck-target-zlib:
36995 @if target-zlib
36996 maybe-installcheck-target-zlib: installcheck-target-zlib
36998 installcheck-target-zlib: \
36999 configure-target-zlib
37000 @: $(MAKE); $(unstage)
37001 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37002 r=`${PWD_COMMAND}`; export r; \
37003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37004 $(NORMAL_TARGET_EXPORTS) \
37005 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37006 for flag in $(EXTRA_TARGET_FLAGS); do \
37007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37008 done; \
37009 (cd $(TARGET_SUBDIR)/zlib && \
37010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37012 "RANLIB=$${RANLIB}" \
37013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37014 installcheck) \
37015 || exit 1
37017 @endif target-zlib
37019 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37020 maybe-mostlyclean-target-zlib:
37021 @if target-zlib
37022 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37024 mostlyclean-target-zlib:
37025 @: $(MAKE); $(unstage)
37026 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37027 r=`${PWD_COMMAND}`; export r; \
37028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37029 $(NORMAL_TARGET_EXPORTS) \
37030 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37031 for flag in $(EXTRA_TARGET_FLAGS); do \
37032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37033 done; \
37034 (cd $(TARGET_SUBDIR)/zlib && \
37035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37037 "RANLIB=$${RANLIB}" \
37038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37039 mostlyclean) \
37040 || exit 1
37042 @endif target-zlib
37044 .PHONY: maybe-clean-target-zlib clean-target-zlib
37045 maybe-clean-target-zlib:
37046 @if target-zlib
37047 maybe-clean-target-zlib: clean-target-zlib
37049 clean-target-zlib:
37050 @: $(MAKE); $(unstage)
37051 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37052 r=`${PWD_COMMAND}`; export r; \
37053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37054 $(NORMAL_TARGET_EXPORTS) \
37055 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37056 for flag in $(EXTRA_TARGET_FLAGS); do \
37057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37058 done; \
37059 (cd $(TARGET_SUBDIR)/zlib && \
37060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37062 "RANLIB=$${RANLIB}" \
37063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37064 clean) \
37065 || exit 1
37067 @endif target-zlib
37069 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37070 maybe-distclean-target-zlib:
37071 @if target-zlib
37072 maybe-distclean-target-zlib: distclean-target-zlib
37074 distclean-target-zlib:
37075 @: $(MAKE); $(unstage)
37076 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37077 r=`${PWD_COMMAND}`; export r; \
37078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37079 $(NORMAL_TARGET_EXPORTS) \
37080 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37081 for flag in $(EXTRA_TARGET_FLAGS); do \
37082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37083 done; \
37084 (cd $(TARGET_SUBDIR)/zlib && \
37085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37087 "RANLIB=$${RANLIB}" \
37088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37089 distclean) \
37090 || exit 1
37092 @endif target-zlib
37094 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37095 maybe-maintainer-clean-target-zlib:
37096 @if target-zlib
37097 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37099 maintainer-clean-target-zlib:
37100 @: $(MAKE); $(unstage)
37101 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37102 r=`${PWD_COMMAND}`; export r; \
37103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37104 $(NORMAL_TARGET_EXPORTS) \
37105 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37106 for flag in $(EXTRA_TARGET_FLAGS); do \
37107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37108 done; \
37109 (cd $(TARGET_SUBDIR)/zlib && \
37110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37112 "RANLIB=$${RANLIB}" \
37113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37114 maintainer-clean) \
37115 || exit 1
37117 @endif target-zlib
37123 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37124 maybe-configure-target-boehm-gc:
37125 @if gcc-bootstrap
37126 configure-target-boehm-gc: stage_current
37127 @endif gcc-bootstrap
37128 @if target-boehm-gc
37129 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37130 configure-target-boehm-gc:
37131 @: $(MAKE); $(unstage)
37132 @r=`${PWD_COMMAND}`; export r; \
37133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37134 echo "Checking multilib configuration for boehm-gc..."; \
37135 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37136 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37137 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37138 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37139 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37140 else \
37141 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37142 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37143 fi; \
37144 else \
37145 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37146 fi; \
37147 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37149 $(NORMAL_TARGET_EXPORTS) \
37150 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37151 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37152 case $(srcdir) in \
37153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37154 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37156 esac; \
37157 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37158 libsrcdir="$$s/boehm-gc"; \
37159 rm -f no-such-file || : ; \
37160 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37161 $(TARGET_CONFIGARGS) $${srcdiroption} \
37162 || exit 1
37163 @endif target-boehm-gc
37169 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37170 maybe-all-target-boehm-gc:
37171 @if gcc-bootstrap
37172 all-target-boehm-gc: stage_current
37173 @endif gcc-bootstrap
37174 @if target-boehm-gc
37175 TARGET-target-boehm-gc=all
37176 maybe-all-target-boehm-gc: all-target-boehm-gc
37177 all-target-boehm-gc: configure-target-boehm-gc
37178 @: $(MAKE); $(unstage)
37179 @r=`${PWD_COMMAND}`; export r; \
37180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37181 $(NORMAL_TARGET_EXPORTS) \
37182 (cd $(TARGET_SUBDIR)/boehm-gc && \
37183 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
37184 @endif target-boehm-gc
37190 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37191 maybe-check-target-boehm-gc:
37192 @if target-boehm-gc
37193 maybe-check-target-boehm-gc: check-target-boehm-gc
37195 check-target-boehm-gc:
37196 @: $(MAKE); $(unstage)
37197 @r=`${PWD_COMMAND}`; export r; \
37198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37199 $(NORMAL_TARGET_EXPORTS) \
37200 (cd $(TARGET_SUBDIR)/boehm-gc && \
37201 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37203 @endif target-boehm-gc
37205 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37206 maybe-install-target-boehm-gc:
37207 @if target-boehm-gc
37208 maybe-install-target-boehm-gc: install-target-boehm-gc
37210 install-target-boehm-gc: installdirs
37211 @: $(MAKE); $(unstage)
37212 @r=`${PWD_COMMAND}`; export r; \
37213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37214 $(NORMAL_TARGET_EXPORTS) \
37215 (cd $(TARGET_SUBDIR)/boehm-gc && \
37216 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37218 @endif target-boehm-gc
37220 # Other targets (info, dvi, etc.)
37222 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37223 maybe-info-target-boehm-gc:
37224 @if target-boehm-gc
37225 maybe-info-target-boehm-gc: info-target-boehm-gc
37227 info-target-boehm-gc: \
37228 configure-target-boehm-gc
37229 @: $(MAKE); $(unstage)
37230 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37231 r=`${PWD_COMMAND}`; export r; \
37232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37233 $(NORMAL_TARGET_EXPORTS) \
37234 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37235 for flag in $(EXTRA_TARGET_FLAGS); do \
37236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37237 done; \
37238 (cd $(TARGET_SUBDIR)/boehm-gc && \
37239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37241 "RANLIB=$${RANLIB}" \
37242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37243 info) \
37244 || exit 1
37246 @endif target-boehm-gc
37248 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37249 maybe-dvi-target-boehm-gc:
37250 @if target-boehm-gc
37251 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37253 dvi-target-boehm-gc: \
37254 configure-target-boehm-gc
37255 @: $(MAKE); $(unstage)
37256 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37257 r=`${PWD_COMMAND}`; export r; \
37258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37259 $(NORMAL_TARGET_EXPORTS) \
37260 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37261 for flag in $(EXTRA_TARGET_FLAGS); do \
37262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37263 done; \
37264 (cd $(TARGET_SUBDIR)/boehm-gc && \
37265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37267 "RANLIB=$${RANLIB}" \
37268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37269 dvi) \
37270 || exit 1
37272 @endif target-boehm-gc
37274 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37275 maybe-html-target-boehm-gc:
37276 @if target-boehm-gc
37277 maybe-html-target-boehm-gc: html-target-boehm-gc
37279 html-target-boehm-gc: \
37280 configure-target-boehm-gc
37281 @: $(MAKE); $(unstage)
37282 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37283 r=`${PWD_COMMAND}`; export r; \
37284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37285 $(NORMAL_TARGET_EXPORTS) \
37286 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
37287 for flag in $(EXTRA_TARGET_FLAGS); do \
37288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37289 done; \
37290 (cd $(TARGET_SUBDIR)/boehm-gc && \
37291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37293 "RANLIB=$${RANLIB}" \
37294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37295 html) \
37296 || exit 1
37298 @endif target-boehm-gc
37300 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
37301 maybe-TAGS-target-boehm-gc:
37302 @if target-boehm-gc
37303 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
37305 TAGS-target-boehm-gc: \
37306 configure-target-boehm-gc
37307 @: $(MAKE); $(unstage)
37308 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(NORMAL_TARGET_EXPORTS) \
37312 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
37313 for flag in $(EXTRA_TARGET_FLAGS); do \
37314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37315 done; \
37316 (cd $(TARGET_SUBDIR)/boehm-gc && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37321 TAGS) \
37322 || exit 1
37324 @endif target-boehm-gc
37326 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
37327 maybe-install-info-target-boehm-gc:
37328 @if target-boehm-gc
37329 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
37331 install-info-target-boehm-gc: \
37332 configure-target-boehm-gc \
37333 info-target-boehm-gc
37334 @: $(MAKE); $(unstage)
37335 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37336 r=`${PWD_COMMAND}`; export r; \
37337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37338 $(NORMAL_TARGET_EXPORTS) \
37339 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
37340 for flag in $(EXTRA_TARGET_FLAGS); do \
37341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37342 done; \
37343 (cd $(TARGET_SUBDIR)/boehm-gc && \
37344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37346 "RANLIB=$${RANLIB}" \
37347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37348 install-info) \
37349 || exit 1
37351 @endif target-boehm-gc
37353 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
37354 maybe-install-html-target-boehm-gc:
37355 @if target-boehm-gc
37356 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
37358 install-html-target-boehm-gc: \
37359 configure-target-boehm-gc \
37360 html-target-boehm-gc
37361 @: $(MAKE); $(unstage)
37362 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37363 r=`${PWD_COMMAND}`; export r; \
37364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37365 $(NORMAL_TARGET_EXPORTS) \
37366 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
37367 for flag in $(EXTRA_TARGET_FLAGS); do \
37368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37369 done; \
37370 (cd $(TARGET_SUBDIR)/boehm-gc && \
37371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37373 "RANLIB=$${RANLIB}" \
37374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37375 install-html) \
37376 || exit 1
37378 @endif target-boehm-gc
37380 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
37381 maybe-installcheck-target-boehm-gc:
37382 @if target-boehm-gc
37383 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
37385 installcheck-target-boehm-gc: \
37386 configure-target-boehm-gc
37387 @: $(MAKE); $(unstage)
37388 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37389 r=`${PWD_COMMAND}`; export r; \
37390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37391 $(NORMAL_TARGET_EXPORTS) \
37392 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
37393 for flag in $(EXTRA_TARGET_FLAGS); do \
37394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37395 done; \
37396 (cd $(TARGET_SUBDIR)/boehm-gc && \
37397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37399 "RANLIB=$${RANLIB}" \
37400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37401 installcheck) \
37402 || exit 1
37404 @endif target-boehm-gc
37406 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
37407 maybe-mostlyclean-target-boehm-gc:
37408 @if target-boehm-gc
37409 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
37411 mostlyclean-target-boehm-gc:
37412 @: $(MAKE); $(unstage)
37413 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37414 r=`${PWD_COMMAND}`; export r; \
37415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37416 $(NORMAL_TARGET_EXPORTS) \
37417 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37418 for flag in $(EXTRA_TARGET_FLAGS); do \
37419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37420 done; \
37421 (cd $(TARGET_SUBDIR)/boehm-gc && \
37422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37424 "RANLIB=$${RANLIB}" \
37425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37426 mostlyclean) \
37427 || exit 1
37429 @endif target-boehm-gc
37431 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
37432 maybe-clean-target-boehm-gc:
37433 @if target-boehm-gc
37434 maybe-clean-target-boehm-gc: clean-target-boehm-gc
37436 clean-target-boehm-gc:
37437 @: $(MAKE); $(unstage)
37438 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37439 r=`${PWD_COMMAND}`; export r; \
37440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37441 $(NORMAL_TARGET_EXPORTS) \
37442 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37443 for flag in $(EXTRA_TARGET_FLAGS); do \
37444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37445 done; \
37446 (cd $(TARGET_SUBDIR)/boehm-gc && \
37447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37449 "RANLIB=$${RANLIB}" \
37450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37451 clean) \
37452 || exit 1
37454 @endif target-boehm-gc
37456 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
37457 maybe-distclean-target-boehm-gc:
37458 @if target-boehm-gc
37459 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
37461 distclean-target-boehm-gc:
37462 @: $(MAKE); $(unstage)
37463 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37464 r=`${PWD_COMMAND}`; export r; \
37465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37466 $(NORMAL_TARGET_EXPORTS) \
37467 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37468 for flag in $(EXTRA_TARGET_FLAGS); do \
37469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37470 done; \
37471 (cd $(TARGET_SUBDIR)/boehm-gc && \
37472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37474 "RANLIB=$${RANLIB}" \
37475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37476 distclean) \
37477 || exit 1
37479 @endif target-boehm-gc
37481 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
37482 maybe-maintainer-clean-target-boehm-gc:
37483 @if target-boehm-gc
37484 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
37486 maintainer-clean-target-boehm-gc:
37487 @: $(MAKE); $(unstage)
37488 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37489 r=`${PWD_COMMAND}`; export r; \
37490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37491 $(NORMAL_TARGET_EXPORTS) \
37492 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37493 for flag in $(EXTRA_TARGET_FLAGS); do \
37494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37495 done; \
37496 (cd $(TARGET_SUBDIR)/boehm-gc && \
37497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37499 "RANLIB=$${RANLIB}" \
37500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37501 maintainer-clean) \
37502 || exit 1
37504 @endif target-boehm-gc
37510 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
37511 maybe-configure-target-qthreads:
37512 @if gcc-bootstrap
37513 configure-target-qthreads: stage_current
37514 @endif gcc-bootstrap
37515 @if target-qthreads
37516 maybe-configure-target-qthreads: configure-target-qthreads
37517 configure-target-qthreads:
37518 @: $(MAKE); $(unstage)
37519 @r=`${PWD_COMMAND}`; export r; \
37520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37521 echo "Checking multilib configuration for qthreads..."; \
37522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37523 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
37524 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37525 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37526 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
37527 else \
37528 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
37529 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37530 fi; \
37531 else \
37532 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37533 fi; \
37534 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
37535 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37536 $(NORMAL_TARGET_EXPORTS) \
37537 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
37538 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
37539 case $(srcdir) in \
37540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37541 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
37542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37543 esac; \
37544 srcdiroption="--srcdir=$${topdir}/qthreads"; \
37545 libsrcdir="$$s/qthreads"; \
37546 rm -f no-such-file || : ; \
37547 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37548 $(TARGET_CONFIGARGS) $${srcdiroption} \
37549 || exit 1
37550 @endif target-qthreads
37556 .PHONY: all-target-qthreads maybe-all-target-qthreads
37557 maybe-all-target-qthreads:
37558 @if gcc-bootstrap
37559 all-target-qthreads: stage_current
37560 @endif gcc-bootstrap
37561 @if target-qthreads
37562 TARGET-target-qthreads=all
37563 maybe-all-target-qthreads: all-target-qthreads
37564 all-target-qthreads: configure-target-qthreads
37565 @: $(MAKE); $(unstage)
37566 @r=`${PWD_COMMAND}`; export r; \
37567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37568 $(NORMAL_TARGET_EXPORTS) \
37569 (cd $(TARGET_SUBDIR)/qthreads && \
37570 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
37571 @endif target-qthreads
37577 .PHONY: check-target-qthreads maybe-check-target-qthreads
37578 maybe-check-target-qthreads:
37579 @if target-qthreads
37580 maybe-check-target-qthreads: check-target-qthreads
37582 check-target-qthreads:
37583 @: $(MAKE); $(unstage)
37584 @r=`${PWD_COMMAND}`; export r; \
37585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37586 $(NORMAL_TARGET_EXPORTS) \
37587 (cd $(TARGET_SUBDIR)/qthreads && \
37588 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37590 @endif target-qthreads
37592 .PHONY: install-target-qthreads maybe-install-target-qthreads
37593 maybe-install-target-qthreads:
37594 @if target-qthreads
37595 maybe-install-target-qthreads: install-target-qthreads
37597 install-target-qthreads: installdirs
37598 @: $(MAKE); $(unstage)
37599 @r=`${PWD_COMMAND}`; export r; \
37600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37601 $(NORMAL_TARGET_EXPORTS) \
37602 (cd $(TARGET_SUBDIR)/qthreads && \
37603 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37605 @endif target-qthreads
37607 # Other targets (info, dvi, etc.)
37609 .PHONY: maybe-info-target-qthreads info-target-qthreads
37610 maybe-info-target-qthreads:
37611 @if target-qthreads
37612 maybe-info-target-qthreads: info-target-qthreads
37614 info-target-qthreads: \
37615 configure-target-qthreads
37616 @: $(MAKE); $(unstage)
37617 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37618 r=`${PWD_COMMAND}`; export r; \
37619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37620 $(NORMAL_TARGET_EXPORTS) \
37621 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
37622 for flag in $(EXTRA_TARGET_FLAGS); do \
37623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37624 done; \
37625 (cd $(TARGET_SUBDIR)/qthreads && \
37626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37628 "RANLIB=$${RANLIB}" \
37629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37630 info) \
37631 || exit 1
37633 @endif target-qthreads
37635 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
37636 maybe-dvi-target-qthreads:
37637 @if target-qthreads
37638 maybe-dvi-target-qthreads: dvi-target-qthreads
37640 dvi-target-qthreads: \
37641 configure-target-qthreads
37642 @: $(MAKE); $(unstage)
37643 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37644 r=`${PWD_COMMAND}`; export r; \
37645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37646 $(NORMAL_TARGET_EXPORTS) \
37647 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
37648 for flag in $(EXTRA_TARGET_FLAGS); do \
37649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37650 done; \
37651 (cd $(TARGET_SUBDIR)/qthreads && \
37652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37654 "RANLIB=$${RANLIB}" \
37655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37656 dvi) \
37657 || exit 1
37659 @endif target-qthreads
37661 .PHONY: maybe-html-target-qthreads html-target-qthreads
37662 maybe-html-target-qthreads:
37663 @if target-qthreads
37664 maybe-html-target-qthreads: html-target-qthreads
37666 html-target-qthreads: \
37667 configure-target-qthreads
37668 @: $(MAKE); $(unstage)
37669 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37670 r=`${PWD_COMMAND}`; export r; \
37671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37672 $(NORMAL_TARGET_EXPORTS) \
37673 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
37674 for flag in $(EXTRA_TARGET_FLAGS); do \
37675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37676 done; \
37677 (cd $(TARGET_SUBDIR)/qthreads && \
37678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37680 "RANLIB=$${RANLIB}" \
37681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37682 html) \
37683 || exit 1
37685 @endif target-qthreads
37687 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
37688 maybe-TAGS-target-qthreads:
37689 @if target-qthreads
37690 maybe-TAGS-target-qthreads: TAGS-target-qthreads
37692 TAGS-target-qthreads: \
37693 configure-target-qthreads
37694 @: $(MAKE); $(unstage)
37695 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37696 r=`${PWD_COMMAND}`; export r; \
37697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37698 $(NORMAL_TARGET_EXPORTS) \
37699 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
37700 for flag in $(EXTRA_TARGET_FLAGS); do \
37701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37702 done; \
37703 (cd $(TARGET_SUBDIR)/qthreads && \
37704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37706 "RANLIB=$${RANLIB}" \
37707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37708 TAGS) \
37709 || exit 1
37711 @endif target-qthreads
37713 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
37714 maybe-install-info-target-qthreads:
37715 @if target-qthreads
37716 maybe-install-info-target-qthreads: install-info-target-qthreads
37718 install-info-target-qthreads: \
37719 configure-target-qthreads \
37720 info-target-qthreads
37721 @: $(MAKE); $(unstage)
37722 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37723 r=`${PWD_COMMAND}`; export r; \
37724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37725 $(NORMAL_TARGET_EXPORTS) \
37726 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
37727 for flag in $(EXTRA_TARGET_FLAGS); do \
37728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37729 done; \
37730 (cd $(TARGET_SUBDIR)/qthreads && \
37731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37733 "RANLIB=$${RANLIB}" \
37734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37735 install-info) \
37736 || exit 1
37738 @endif target-qthreads
37740 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
37741 maybe-install-html-target-qthreads:
37742 @if target-qthreads
37743 maybe-install-html-target-qthreads: install-html-target-qthreads
37745 install-html-target-qthreads: \
37746 configure-target-qthreads \
37747 html-target-qthreads
37748 @: $(MAKE); $(unstage)
37749 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37750 r=`${PWD_COMMAND}`; export r; \
37751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37752 $(NORMAL_TARGET_EXPORTS) \
37753 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
37754 for flag in $(EXTRA_TARGET_FLAGS); do \
37755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37756 done; \
37757 (cd $(TARGET_SUBDIR)/qthreads && \
37758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37760 "RANLIB=$${RANLIB}" \
37761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37762 install-html) \
37763 || exit 1
37765 @endif target-qthreads
37767 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
37768 maybe-installcheck-target-qthreads:
37769 @if target-qthreads
37770 maybe-installcheck-target-qthreads: installcheck-target-qthreads
37772 installcheck-target-qthreads: \
37773 configure-target-qthreads
37774 @: $(MAKE); $(unstage)
37775 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37776 r=`${PWD_COMMAND}`; export r; \
37777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37778 $(NORMAL_TARGET_EXPORTS) \
37779 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
37780 for flag in $(EXTRA_TARGET_FLAGS); do \
37781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37782 done; \
37783 (cd $(TARGET_SUBDIR)/qthreads && \
37784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37786 "RANLIB=$${RANLIB}" \
37787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37788 installcheck) \
37789 || exit 1
37791 @endif target-qthreads
37793 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
37794 maybe-mostlyclean-target-qthreads:
37795 @if target-qthreads
37796 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
37798 mostlyclean-target-qthreads:
37799 @: $(MAKE); $(unstage)
37800 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37801 r=`${PWD_COMMAND}`; export r; \
37802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37803 $(NORMAL_TARGET_EXPORTS) \
37804 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
37805 for flag in $(EXTRA_TARGET_FLAGS); do \
37806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37807 done; \
37808 (cd $(TARGET_SUBDIR)/qthreads && \
37809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37811 "RANLIB=$${RANLIB}" \
37812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37813 mostlyclean) \
37814 || exit 1
37816 @endif target-qthreads
37818 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
37819 maybe-clean-target-qthreads:
37820 @if target-qthreads
37821 maybe-clean-target-qthreads: clean-target-qthreads
37823 clean-target-qthreads:
37824 @: $(MAKE); $(unstage)
37825 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37826 r=`${PWD_COMMAND}`; export r; \
37827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37828 $(NORMAL_TARGET_EXPORTS) \
37829 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
37830 for flag in $(EXTRA_TARGET_FLAGS); do \
37831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37832 done; \
37833 (cd $(TARGET_SUBDIR)/qthreads && \
37834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37836 "RANLIB=$${RANLIB}" \
37837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37838 clean) \
37839 || exit 1
37841 @endif target-qthreads
37843 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
37844 maybe-distclean-target-qthreads:
37845 @if target-qthreads
37846 maybe-distclean-target-qthreads: distclean-target-qthreads
37848 distclean-target-qthreads:
37849 @: $(MAKE); $(unstage)
37850 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37851 r=`${PWD_COMMAND}`; export r; \
37852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37853 $(NORMAL_TARGET_EXPORTS) \
37854 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
37855 for flag in $(EXTRA_TARGET_FLAGS); do \
37856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37857 done; \
37858 (cd $(TARGET_SUBDIR)/qthreads && \
37859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37861 "RANLIB=$${RANLIB}" \
37862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37863 distclean) \
37864 || exit 1
37866 @endif target-qthreads
37868 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
37869 maybe-maintainer-clean-target-qthreads:
37870 @if target-qthreads
37871 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
37873 maintainer-clean-target-qthreads:
37874 @: $(MAKE); $(unstage)
37875 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37876 r=`${PWD_COMMAND}`; export r; \
37877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37878 $(NORMAL_TARGET_EXPORTS) \
37879 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
37880 for flag in $(EXTRA_TARGET_FLAGS); do \
37881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37882 done; \
37883 (cd $(TARGET_SUBDIR)/qthreads && \
37884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37886 "RANLIB=$${RANLIB}" \
37887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37888 maintainer-clean) \
37889 || exit 1
37891 @endif target-qthreads
37897 .PHONY: configure-target-rda maybe-configure-target-rda
37898 maybe-configure-target-rda:
37899 @if gcc-bootstrap
37900 configure-target-rda: stage_current
37901 @endif gcc-bootstrap
37902 @if target-rda
37903 maybe-configure-target-rda: configure-target-rda
37904 configure-target-rda:
37905 @: $(MAKE); $(unstage)
37906 @r=`${PWD_COMMAND}`; export r; \
37907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37908 echo "Checking multilib configuration for rda..."; \
37909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
37911 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
37912 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
37913 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
37914 else \
37915 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
37916 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37917 fi; \
37918 else \
37919 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37920 fi; \
37921 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
37922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37923 $(NORMAL_TARGET_EXPORTS) \
37924 echo Configuring in $(TARGET_SUBDIR)/rda; \
37925 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
37926 case $(srcdir) in \
37927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37928 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
37929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37930 esac; \
37931 srcdiroption="--srcdir=$${topdir}/rda"; \
37932 libsrcdir="$$s/rda"; \
37933 rm -f no-such-file || : ; \
37934 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37935 $(TARGET_CONFIGARGS) $${srcdiroption} \
37936 || exit 1
37937 @endif target-rda
37943 .PHONY: all-target-rda maybe-all-target-rda
37944 maybe-all-target-rda:
37945 @if gcc-bootstrap
37946 all-target-rda: stage_current
37947 @endif gcc-bootstrap
37948 @if target-rda
37949 TARGET-target-rda=all
37950 maybe-all-target-rda: all-target-rda
37951 all-target-rda: configure-target-rda
37952 @: $(MAKE); $(unstage)
37953 @r=`${PWD_COMMAND}`; export r; \
37954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37955 $(NORMAL_TARGET_EXPORTS) \
37956 (cd $(TARGET_SUBDIR)/rda && \
37957 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
37958 @endif target-rda
37964 .PHONY: check-target-rda maybe-check-target-rda
37965 maybe-check-target-rda:
37966 @if target-rda
37967 maybe-check-target-rda: check-target-rda
37969 check-target-rda:
37970 @: $(MAKE); $(unstage)
37971 @r=`${PWD_COMMAND}`; export r; \
37972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37973 $(NORMAL_TARGET_EXPORTS) \
37974 (cd $(TARGET_SUBDIR)/rda && \
37975 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37977 @endif target-rda
37979 .PHONY: install-target-rda maybe-install-target-rda
37980 maybe-install-target-rda:
37981 @if target-rda
37982 maybe-install-target-rda: install-target-rda
37984 install-target-rda: installdirs
37985 @: $(MAKE); $(unstage)
37986 @r=`${PWD_COMMAND}`; export r; \
37987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37988 $(NORMAL_TARGET_EXPORTS) \
37989 (cd $(TARGET_SUBDIR)/rda && \
37990 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37992 @endif target-rda
37994 # Other targets (info, dvi, etc.)
37996 .PHONY: maybe-info-target-rda info-target-rda
37997 maybe-info-target-rda:
37998 @if target-rda
37999 maybe-info-target-rda: info-target-rda
38001 info-target-rda: \
38002 configure-target-rda
38003 @: $(MAKE); $(unstage)
38004 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38005 r=`${PWD_COMMAND}`; export r; \
38006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38007 $(NORMAL_TARGET_EXPORTS) \
38008 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38009 for flag in $(EXTRA_TARGET_FLAGS); do \
38010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38011 done; \
38012 (cd $(TARGET_SUBDIR)/rda && \
38013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38015 "RANLIB=$${RANLIB}" \
38016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38017 info) \
38018 || exit 1
38020 @endif target-rda
38022 .PHONY: maybe-dvi-target-rda dvi-target-rda
38023 maybe-dvi-target-rda:
38024 @if target-rda
38025 maybe-dvi-target-rda: dvi-target-rda
38027 dvi-target-rda: \
38028 configure-target-rda
38029 @: $(MAKE); $(unstage)
38030 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38031 r=`${PWD_COMMAND}`; export r; \
38032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38033 $(NORMAL_TARGET_EXPORTS) \
38034 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38035 for flag in $(EXTRA_TARGET_FLAGS); do \
38036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38037 done; \
38038 (cd $(TARGET_SUBDIR)/rda && \
38039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38041 "RANLIB=$${RANLIB}" \
38042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38043 dvi) \
38044 || exit 1
38046 @endif target-rda
38048 .PHONY: maybe-html-target-rda html-target-rda
38049 maybe-html-target-rda:
38050 @if target-rda
38051 maybe-html-target-rda: html-target-rda
38053 html-target-rda: \
38054 configure-target-rda
38055 @: $(MAKE); $(unstage)
38056 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38057 r=`${PWD_COMMAND}`; export r; \
38058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38059 $(NORMAL_TARGET_EXPORTS) \
38060 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38061 for flag in $(EXTRA_TARGET_FLAGS); do \
38062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38063 done; \
38064 (cd $(TARGET_SUBDIR)/rda && \
38065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38067 "RANLIB=$${RANLIB}" \
38068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38069 html) \
38070 || exit 1
38072 @endif target-rda
38074 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38075 maybe-TAGS-target-rda:
38076 @if target-rda
38077 maybe-TAGS-target-rda: TAGS-target-rda
38079 TAGS-target-rda: \
38080 configure-target-rda
38081 @: $(MAKE); $(unstage)
38082 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38083 r=`${PWD_COMMAND}`; export r; \
38084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38085 $(NORMAL_TARGET_EXPORTS) \
38086 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38087 for flag in $(EXTRA_TARGET_FLAGS); do \
38088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38089 done; \
38090 (cd $(TARGET_SUBDIR)/rda && \
38091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38093 "RANLIB=$${RANLIB}" \
38094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38095 TAGS) \
38096 || exit 1
38098 @endif target-rda
38100 .PHONY: maybe-install-info-target-rda install-info-target-rda
38101 maybe-install-info-target-rda:
38102 @if target-rda
38103 maybe-install-info-target-rda: install-info-target-rda
38105 install-info-target-rda: \
38106 configure-target-rda \
38107 info-target-rda
38108 @: $(MAKE); $(unstage)
38109 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38110 r=`${PWD_COMMAND}`; export r; \
38111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38112 $(NORMAL_TARGET_EXPORTS) \
38113 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38114 for flag in $(EXTRA_TARGET_FLAGS); do \
38115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38116 done; \
38117 (cd $(TARGET_SUBDIR)/rda && \
38118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38120 "RANLIB=$${RANLIB}" \
38121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38122 install-info) \
38123 || exit 1
38125 @endif target-rda
38127 .PHONY: maybe-install-html-target-rda install-html-target-rda
38128 maybe-install-html-target-rda:
38129 @if target-rda
38130 maybe-install-html-target-rda: install-html-target-rda
38132 install-html-target-rda: \
38133 configure-target-rda \
38134 html-target-rda
38135 @: $(MAKE); $(unstage)
38136 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38137 r=`${PWD_COMMAND}`; export r; \
38138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38139 $(NORMAL_TARGET_EXPORTS) \
38140 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38141 for flag in $(EXTRA_TARGET_FLAGS); do \
38142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38143 done; \
38144 (cd $(TARGET_SUBDIR)/rda && \
38145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38147 "RANLIB=$${RANLIB}" \
38148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38149 install-html) \
38150 || exit 1
38152 @endif target-rda
38154 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38155 maybe-installcheck-target-rda:
38156 @if target-rda
38157 maybe-installcheck-target-rda: installcheck-target-rda
38159 installcheck-target-rda: \
38160 configure-target-rda
38161 @: $(MAKE); $(unstage)
38162 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38163 r=`${PWD_COMMAND}`; export r; \
38164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38165 $(NORMAL_TARGET_EXPORTS) \
38166 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38167 for flag in $(EXTRA_TARGET_FLAGS); do \
38168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38169 done; \
38170 (cd $(TARGET_SUBDIR)/rda && \
38171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38173 "RANLIB=$${RANLIB}" \
38174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38175 installcheck) \
38176 || exit 1
38178 @endif target-rda
38180 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38181 maybe-mostlyclean-target-rda:
38182 @if target-rda
38183 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38185 mostlyclean-target-rda:
38186 @: $(MAKE); $(unstage)
38187 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38188 r=`${PWD_COMMAND}`; export r; \
38189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38190 $(NORMAL_TARGET_EXPORTS) \
38191 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38192 for flag in $(EXTRA_TARGET_FLAGS); do \
38193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38194 done; \
38195 (cd $(TARGET_SUBDIR)/rda && \
38196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38198 "RANLIB=$${RANLIB}" \
38199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38200 mostlyclean) \
38201 || exit 1
38203 @endif target-rda
38205 .PHONY: maybe-clean-target-rda clean-target-rda
38206 maybe-clean-target-rda:
38207 @if target-rda
38208 maybe-clean-target-rda: clean-target-rda
38210 clean-target-rda:
38211 @: $(MAKE); $(unstage)
38212 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38213 r=`${PWD_COMMAND}`; export r; \
38214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38215 $(NORMAL_TARGET_EXPORTS) \
38216 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38217 for flag in $(EXTRA_TARGET_FLAGS); do \
38218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38219 done; \
38220 (cd $(TARGET_SUBDIR)/rda && \
38221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38223 "RANLIB=$${RANLIB}" \
38224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38225 clean) \
38226 || exit 1
38228 @endif target-rda
38230 .PHONY: maybe-distclean-target-rda distclean-target-rda
38231 maybe-distclean-target-rda:
38232 @if target-rda
38233 maybe-distclean-target-rda: distclean-target-rda
38235 distclean-target-rda:
38236 @: $(MAKE); $(unstage)
38237 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38238 r=`${PWD_COMMAND}`; export r; \
38239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38240 $(NORMAL_TARGET_EXPORTS) \
38241 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38242 for flag in $(EXTRA_TARGET_FLAGS); do \
38243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38244 done; \
38245 (cd $(TARGET_SUBDIR)/rda && \
38246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38248 "RANLIB=$${RANLIB}" \
38249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38250 distclean) \
38251 || exit 1
38253 @endif target-rda
38255 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38256 maybe-maintainer-clean-target-rda:
38257 @if target-rda
38258 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38260 maintainer-clean-target-rda:
38261 @: $(MAKE); $(unstage)
38262 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38263 r=`${PWD_COMMAND}`; export r; \
38264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38265 $(NORMAL_TARGET_EXPORTS) \
38266 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38267 for flag in $(EXTRA_TARGET_FLAGS); do \
38268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38269 done; \
38270 (cd $(TARGET_SUBDIR)/rda && \
38271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38273 "RANLIB=$${RANLIB}" \
38274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38275 maintainer-clean) \
38276 || exit 1
38278 @endif target-rda
38284 .PHONY: configure-target-libada maybe-configure-target-libada
38285 maybe-configure-target-libada:
38286 @if gcc-bootstrap
38287 configure-target-libada: stage_current
38288 @endif gcc-bootstrap
38289 @if target-libada
38290 maybe-configure-target-libada: configure-target-libada
38291 configure-target-libada:
38292 @: $(MAKE); $(unstage)
38293 @r=`${PWD_COMMAND}`; export r; \
38294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38295 echo "Checking multilib configuration for libada..."; \
38296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38297 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38298 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38299 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38300 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38301 else \
38302 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38303 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38304 fi; \
38305 else \
38306 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38307 fi; \
38308 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38310 $(NORMAL_TARGET_EXPORTS) \
38311 echo Configuring in $(TARGET_SUBDIR)/libada; \
38312 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38313 case $(srcdir) in \
38314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38315 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38317 esac; \
38318 srcdiroption="--srcdir=$${topdir}/libada"; \
38319 libsrcdir="$$s/libada"; \
38320 rm -f no-such-file || : ; \
38321 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38322 $(TARGET_CONFIGARGS) $${srcdiroption} \
38323 || exit 1
38324 @endif target-libada
38330 .PHONY: all-target-libada maybe-all-target-libada
38331 maybe-all-target-libada:
38332 @if gcc-bootstrap
38333 all-target-libada: stage_current
38334 @endif gcc-bootstrap
38335 @if target-libada
38336 TARGET-target-libada=all
38337 maybe-all-target-libada: all-target-libada
38338 all-target-libada: configure-target-libada
38339 @: $(MAKE); $(unstage)
38340 @r=`${PWD_COMMAND}`; export r; \
38341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38342 $(NORMAL_TARGET_EXPORTS) \
38343 (cd $(TARGET_SUBDIR)/libada && \
38344 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
38345 @endif target-libada
38351 .PHONY: check-target-libada maybe-check-target-libada
38352 maybe-check-target-libada:
38353 @if target-libada
38354 maybe-check-target-libada: check-target-libada
38356 check-target-libada:
38357 @: $(MAKE); $(unstage)
38358 @r=`${PWD_COMMAND}`; export r; \
38359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38360 $(NORMAL_TARGET_EXPORTS) \
38361 (cd $(TARGET_SUBDIR)/libada && \
38362 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38364 @endif target-libada
38366 .PHONY: install-target-libada maybe-install-target-libada
38367 maybe-install-target-libada:
38368 @if target-libada
38369 maybe-install-target-libada: install-target-libada
38371 install-target-libada: installdirs
38372 @: $(MAKE); $(unstage)
38373 @r=`${PWD_COMMAND}`; export r; \
38374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38375 $(NORMAL_TARGET_EXPORTS) \
38376 (cd $(TARGET_SUBDIR)/libada && \
38377 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38379 @endif target-libada
38381 # Other targets (info, dvi, etc.)
38383 .PHONY: maybe-info-target-libada info-target-libada
38384 maybe-info-target-libada:
38385 @if target-libada
38386 maybe-info-target-libada: info-target-libada
38388 info-target-libada: \
38389 configure-target-libada
38390 @: $(MAKE); $(unstage)
38391 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38392 r=`${PWD_COMMAND}`; export r; \
38393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38394 $(NORMAL_TARGET_EXPORTS) \
38395 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38396 for flag in $(EXTRA_TARGET_FLAGS); do \
38397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38398 done; \
38399 (cd $(TARGET_SUBDIR)/libada && \
38400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38402 "RANLIB=$${RANLIB}" \
38403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38404 info) \
38405 || exit 1
38407 @endif target-libada
38409 .PHONY: maybe-dvi-target-libada dvi-target-libada
38410 maybe-dvi-target-libada:
38411 @if target-libada
38412 maybe-dvi-target-libada: dvi-target-libada
38414 dvi-target-libada: \
38415 configure-target-libada
38416 @: $(MAKE); $(unstage)
38417 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38418 r=`${PWD_COMMAND}`; export r; \
38419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38420 $(NORMAL_TARGET_EXPORTS) \
38421 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38422 for flag in $(EXTRA_TARGET_FLAGS); do \
38423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38424 done; \
38425 (cd $(TARGET_SUBDIR)/libada && \
38426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38428 "RANLIB=$${RANLIB}" \
38429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38430 dvi) \
38431 || exit 1
38433 @endif target-libada
38435 .PHONY: maybe-html-target-libada html-target-libada
38436 maybe-html-target-libada:
38437 @if target-libada
38438 maybe-html-target-libada: html-target-libada
38440 html-target-libada: \
38441 configure-target-libada
38442 @: $(MAKE); $(unstage)
38443 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38444 r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(NORMAL_TARGET_EXPORTS) \
38447 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38448 for flag in $(EXTRA_TARGET_FLAGS); do \
38449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38450 done; \
38451 (cd $(TARGET_SUBDIR)/libada && \
38452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38454 "RANLIB=$${RANLIB}" \
38455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38456 html) \
38457 || exit 1
38459 @endif target-libada
38461 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38462 maybe-TAGS-target-libada:
38463 @if target-libada
38464 maybe-TAGS-target-libada: TAGS-target-libada
38466 TAGS-target-libada: \
38467 configure-target-libada
38468 @: $(MAKE); $(unstage)
38469 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38470 r=`${PWD_COMMAND}`; export r; \
38471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38472 $(NORMAL_TARGET_EXPORTS) \
38473 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38474 for flag in $(EXTRA_TARGET_FLAGS); do \
38475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38476 done; \
38477 (cd $(TARGET_SUBDIR)/libada && \
38478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38480 "RANLIB=$${RANLIB}" \
38481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38482 TAGS) \
38483 || exit 1
38485 @endif target-libada
38487 .PHONY: maybe-install-info-target-libada install-info-target-libada
38488 maybe-install-info-target-libada:
38489 @if target-libada
38490 maybe-install-info-target-libada: install-info-target-libada
38492 install-info-target-libada: \
38493 configure-target-libada \
38494 info-target-libada
38495 @: $(MAKE); $(unstage)
38496 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38497 r=`${PWD_COMMAND}`; export r; \
38498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38499 $(NORMAL_TARGET_EXPORTS) \
38500 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38501 for flag in $(EXTRA_TARGET_FLAGS); do \
38502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38503 done; \
38504 (cd $(TARGET_SUBDIR)/libada && \
38505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38507 "RANLIB=$${RANLIB}" \
38508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38509 install-info) \
38510 || exit 1
38512 @endif target-libada
38514 .PHONY: maybe-install-html-target-libada install-html-target-libada
38515 maybe-install-html-target-libada:
38516 @if target-libada
38517 maybe-install-html-target-libada: install-html-target-libada
38519 install-html-target-libada: \
38520 configure-target-libada \
38521 html-target-libada
38522 @: $(MAKE); $(unstage)
38523 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38524 r=`${PWD_COMMAND}`; export r; \
38525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38526 $(NORMAL_TARGET_EXPORTS) \
38527 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
38528 for flag in $(EXTRA_TARGET_FLAGS); do \
38529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38530 done; \
38531 (cd $(TARGET_SUBDIR)/libada && \
38532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38534 "RANLIB=$${RANLIB}" \
38535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38536 install-html) \
38537 || exit 1
38539 @endif target-libada
38541 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
38542 maybe-installcheck-target-libada:
38543 @if target-libada
38544 maybe-installcheck-target-libada: installcheck-target-libada
38546 installcheck-target-libada: \
38547 configure-target-libada
38548 @: $(MAKE); $(unstage)
38549 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38550 r=`${PWD_COMMAND}`; export r; \
38551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38552 $(NORMAL_TARGET_EXPORTS) \
38553 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
38554 for flag in $(EXTRA_TARGET_FLAGS); do \
38555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38556 done; \
38557 (cd $(TARGET_SUBDIR)/libada && \
38558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38560 "RANLIB=$${RANLIB}" \
38561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38562 installcheck) \
38563 || exit 1
38565 @endif target-libada
38567 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
38568 maybe-mostlyclean-target-libada:
38569 @if target-libada
38570 maybe-mostlyclean-target-libada: mostlyclean-target-libada
38572 mostlyclean-target-libada:
38573 @: $(MAKE); $(unstage)
38574 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38575 r=`${PWD_COMMAND}`; export r; \
38576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38577 $(NORMAL_TARGET_EXPORTS) \
38578 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
38579 for flag in $(EXTRA_TARGET_FLAGS); do \
38580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38581 done; \
38582 (cd $(TARGET_SUBDIR)/libada && \
38583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38585 "RANLIB=$${RANLIB}" \
38586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38587 mostlyclean) \
38588 || exit 1
38590 @endif target-libada
38592 .PHONY: maybe-clean-target-libada clean-target-libada
38593 maybe-clean-target-libada:
38594 @if target-libada
38595 maybe-clean-target-libada: clean-target-libada
38597 clean-target-libada:
38598 @: $(MAKE); $(unstage)
38599 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38600 r=`${PWD_COMMAND}`; export r; \
38601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38602 $(NORMAL_TARGET_EXPORTS) \
38603 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
38604 for flag in $(EXTRA_TARGET_FLAGS); do \
38605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38606 done; \
38607 (cd $(TARGET_SUBDIR)/libada && \
38608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38610 "RANLIB=$${RANLIB}" \
38611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38612 clean) \
38613 || exit 1
38615 @endif target-libada
38617 .PHONY: maybe-distclean-target-libada distclean-target-libada
38618 maybe-distclean-target-libada:
38619 @if target-libada
38620 maybe-distclean-target-libada: distclean-target-libada
38622 distclean-target-libada:
38623 @: $(MAKE); $(unstage)
38624 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38625 r=`${PWD_COMMAND}`; export r; \
38626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38627 $(NORMAL_TARGET_EXPORTS) \
38628 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
38629 for flag in $(EXTRA_TARGET_FLAGS); do \
38630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38631 done; \
38632 (cd $(TARGET_SUBDIR)/libada && \
38633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38635 "RANLIB=$${RANLIB}" \
38636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38637 distclean) \
38638 || exit 1
38640 @endif target-libada
38642 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
38643 maybe-maintainer-clean-target-libada:
38644 @if target-libada
38645 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
38647 maintainer-clean-target-libada:
38648 @: $(MAKE); $(unstage)
38649 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38650 r=`${PWD_COMMAND}`; export r; \
38651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38652 $(NORMAL_TARGET_EXPORTS) \
38653 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
38654 for flag in $(EXTRA_TARGET_FLAGS); do \
38655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38656 done; \
38657 (cd $(TARGET_SUBDIR)/libada && \
38658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38660 "RANLIB=$${RANLIB}" \
38661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38662 maintainer-clean) \
38663 || exit 1
38665 @endif target-libada
38671 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
38672 maybe-configure-target-libgomp:
38673 @if gcc-bootstrap
38674 configure-target-libgomp: stage_current
38675 @endif gcc-bootstrap
38676 @if target-libgomp
38677 maybe-configure-target-libgomp: configure-target-libgomp
38678 configure-target-libgomp:
38679 @: $(MAKE); $(unstage)
38680 @r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 echo "Checking multilib configuration for libgomp..."; \
38683 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38684 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
38685 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38686 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38687 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
38688 else \
38689 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
38690 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38691 fi; \
38692 else \
38693 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38694 fi; \
38695 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
38696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38697 $(NORMAL_TARGET_EXPORTS) \
38698 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
38699 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
38700 case $(srcdir) in \
38701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38702 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
38703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38704 esac; \
38705 srcdiroption="--srcdir=$${topdir}/libgomp"; \
38706 libsrcdir="$$s/libgomp"; \
38707 rm -f no-such-file || : ; \
38708 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38709 $(TARGET_CONFIGARGS) $${srcdiroption} \
38710 || exit 1
38711 @endif target-libgomp
38717 .PHONY: all-target-libgomp maybe-all-target-libgomp
38718 maybe-all-target-libgomp:
38719 @if gcc-bootstrap
38720 all-target-libgomp: stage_current
38721 @endif gcc-bootstrap
38722 @if target-libgomp
38723 TARGET-target-libgomp=all
38724 maybe-all-target-libgomp: all-target-libgomp
38725 all-target-libgomp: configure-target-libgomp
38726 @: $(MAKE); $(unstage)
38727 @r=`${PWD_COMMAND}`; export r; \
38728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38729 $(NORMAL_TARGET_EXPORTS) \
38730 (cd $(TARGET_SUBDIR)/libgomp && \
38731 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
38732 @endif target-libgomp
38738 .PHONY: check-target-libgomp maybe-check-target-libgomp
38739 maybe-check-target-libgomp:
38740 @if target-libgomp
38741 maybe-check-target-libgomp: check-target-libgomp
38743 check-target-libgomp:
38744 @: $(MAKE); $(unstage)
38745 @r=`${PWD_COMMAND}`; export r; \
38746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38747 $(NORMAL_TARGET_EXPORTS) \
38748 (cd $(TARGET_SUBDIR)/libgomp && \
38749 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38751 @endif target-libgomp
38753 .PHONY: install-target-libgomp maybe-install-target-libgomp
38754 maybe-install-target-libgomp:
38755 @if target-libgomp
38756 maybe-install-target-libgomp: install-target-libgomp
38758 install-target-libgomp: installdirs
38759 @: $(MAKE); $(unstage)
38760 @r=`${PWD_COMMAND}`; export r; \
38761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38762 $(NORMAL_TARGET_EXPORTS) \
38763 (cd $(TARGET_SUBDIR)/libgomp && \
38764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38766 @endif target-libgomp
38768 # Other targets (info, dvi, etc.)
38770 .PHONY: maybe-info-target-libgomp info-target-libgomp
38771 maybe-info-target-libgomp:
38772 @if target-libgomp
38773 maybe-info-target-libgomp: info-target-libgomp
38775 info-target-libgomp: \
38776 configure-target-libgomp
38777 @: $(MAKE); $(unstage)
38778 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38779 r=`${PWD_COMMAND}`; export r; \
38780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38781 $(NORMAL_TARGET_EXPORTS) \
38782 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
38783 for flag in $(EXTRA_TARGET_FLAGS); do \
38784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38785 done; \
38786 (cd $(TARGET_SUBDIR)/libgomp && \
38787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38789 "RANLIB=$${RANLIB}" \
38790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38791 info) \
38792 || exit 1
38794 @endif target-libgomp
38796 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
38797 maybe-dvi-target-libgomp:
38798 @if target-libgomp
38799 maybe-dvi-target-libgomp: dvi-target-libgomp
38801 dvi-target-libgomp: \
38802 configure-target-libgomp
38803 @: $(MAKE); $(unstage)
38804 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38805 r=`${PWD_COMMAND}`; export r; \
38806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38807 $(NORMAL_TARGET_EXPORTS) \
38808 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
38809 for flag in $(EXTRA_TARGET_FLAGS); do \
38810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38811 done; \
38812 (cd $(TARGET_SUBDIR)/libgomp && \
38813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38815 "RANLIB=$${RANLIB}" \
38816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38817 dvi) \
38818 || exit 1
38820 @endif target-libgomp
38822 .PHONY: maybe-html-target-libgomp html-target-libgomp
38823 maybe-html-target-libgomp:
38824 @if target-libgomp
38825 maybe-html-target-libgomp: html-target-libgomp
38827 html-target-libgomp: \
38828 configure-target-libgomp
38829 @: $(MAKE); $(unstage)
38830 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38831 r=`${PWD_COMMAND}`; export r; \
38832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38833 $(NORMAL_TARGET_EXPORTS) \
38834 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
38835 for flag in $(EXTRA_TARGET_FLAGS); do \
38836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38837 done; \
38838 (cd $(TARGET_SUBDIR)/libgomp && \
38839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38841 "RANLIB=$${RANLIB}" \
38842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38843 html) \
38844 || exit 1
38846 @endif target-libgomp
38848 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
38849 maybe-TAGS-target-libgomp:
38850 @if target-libgomp
38851 maybe-TAGS-target-libgomp: TAGS-target-libgomp
38853 TAGS-target-libgomp: \
38854 configure-target-libgomp
38855 @: $(MAKE); $(unstage)
38856 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38857 r=`${PWD_COMMAND}`; export r; \
38858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38859 $(NORMAL_TARGET_EXPORTS) \
38860 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
38861 for flag in $(EXTRA_TARGET_FLAGS); do \
38862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38863 done; \
38864 (cd $(TARGET_SUBDIR)/libgomp && \
38865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38867 "RANLIB=$${RANLIB}" \
38868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38869 TAGS) \
38870 || exit 1
38872 @endif target-libgomp
38874 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
38875 maybe-install-info-target-libgomp:
38876 @if target-libgomp
38877 maybe-install-info-target-libgomp: install-info-target-libgomp
38879 install-info-target-libgomp: \
38880 configure-target-libgomp \
38881 info-target-libgomp
38882 @: $(MAKE); $(unstage)
38883 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38884 r=`${PWD_COMMAND}`; export r; \
38885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38886 $(NORMAL_TARGET_EXPORTS) \
38887 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
38888 for flag in $(EXTRA_TARGET_FLAGS); do \
38889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38890 done; \
38891 (cd $(TARGET_SUBDIR)/libgomp && \
38892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38894 "RANLIB=$${RANLIB}" \
38895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38896 install-info) \
38897 || exit 1
38899 @endif target-libgomp
38901 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
38902 maybe-install-html-target-libgomp:
38903 @if target-libgomp
38904 maybe-install-html-target-libgomp: install-html-target-libgomp
38906 install-html-target-libgomp: \
38907 configure-target-libgomp \
38908 html-target-libgomp
38909 @: $(MAKE); $(unstage)
38910 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38911 r=`${PWD_COMMAND}`; export r; \
38912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38913 $(NORMAL_TARGET_EXPORTS) \
38914 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
38915 for flag in $(EXTRA_TARGET_FLAGS); do \
38916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38917 done; \
38918 (cd $(TARGET_SUBDIR)/libgomp && \
38919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38921 "RANLIB=$${RANLIB}" \
38922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38923 install-html) \
38924 || exit 1
38926 @endif target-libgomp
38928 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
38929 maybe-installcheck-target-libgomp:
38930 @if target-libgomp
38931 maybe-installcheck-target-libgomp: installcheck-target-libgomp
38933 installcheck-target-libgomp: \
38934 configure-target-libgomp
38935 @: $(MAKE); $(unstage)
38936 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38937 r=`${PWD_COMMAND}`; export r; \
38938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38939 $(NORMAL_TARGET_EXPORTS) \
38940 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
38941 for flag in $(EXTRA_TARGET_FLAGS); do \
38942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38943 done; \
38944 (cd $(TARGET_SUBDIR)/libgomp && \
38945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38947 "RANLIB=$${RANLIB}" \
38948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38949 installcheck) \
38950 || exit 1
38952 @endif target-libgomp
38954 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
38955 maybe-mostlyclean-target-libgomp:
38956 @if target-libgomp
38957 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
38959 mostlyclean-target-libgomp:
38960 @: $(MAKE); $(unstage)
38961 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38962 r=`${PWD_COMMAND}`; export r; \
38963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38964 $(NORMAL_TARGET_EXPORTS) \
38965 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
38966 for flag in $(EXTRA_TARGET_FLAGS); do \
38967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38968 done; \
38969 (cd $(TARGET_SUBDIR)/libgomp && \
38970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38972 "RANLIB=$${RANLIB}" \
38973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38974 mostlyclean) \
38975 || exit 1
38977 @endif target-libgomp
38979 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
38980 maybe-clean-target-libgomp:
38981 @if target-libgomp
38982 maybe-clean-target-libgomp: clean-target-libgomp
38984 clean-target-libgomp:
38985 @: $(MAKE); $(unstage)
38986 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38987 r=`${PWD_COMMAND}`; export r; \
38988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38989 $(NORMAL_TARGET_EXPORTS) \
38990 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
38991 for flag in $(EXTRA_TARGET_FLAGS); do \
38992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38993 done; \
38994 (cd $(TARGET_SUBDIR)/libgomp && \
38995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38997 "RANLIB=$${RANLIB}" \
38998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38999 clean) \
39000 || exit 1
39002 @endif target-libgomp
39004 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
39005 maybe-distclean-target-libgomp:
39006 @if target-libgomp
39007 maybe-distclean-target-libgomp: distclean-target-libgomp
39009 distclean-target-libgomp:
39010 @: $(MAKE); $(unstage)
39011 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39012 r=`${PWD_COMMAND}`; export r; \
39013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39014 $(NORMAL_TARGET_EXPORTS) \
39015 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
39016 for flag in $(EXTRA_TARGET_FLAGS); do \
39017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39018 done; \
39019 (cd $(TARGET_SUBDIR)/libgomp && \
39020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39022 "RANLIB=$${RANLIB}" \
39023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39024 distclean) \
39025 || exit 1
39027 @endif target-libgomp
39029 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
39030 maybe-maintainer-clean-target-libgomp:
39031 @if target-libgomp
39032 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
39034 maintainer-clean-target-libgomp:
39035 @: $(MAKE); $(unstage)
39036 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39037 r=`${PWD_COMMAND}`; export r; \
39038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39039 $(NORMAL_TARGET_EXPORTS) \
39040 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
39041 for flag in $(EXTRA_TARGET_FLAGS); do \
39042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39043 done; \
39044 (cd $(TARGET_SUBDIR)/libgomp && \
39045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39047 "RANLIB=$${RANLIB}" \
39048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39049 maintainer-clean) \
39050 || exit 1
39052 @endif target-libgomp
39056 # ----------
39057 # GCC module
39058 # ----------
39060 @if gcc-no-bootstrap
39061 # GCC has some more recursive targets, which trigger the old
39062 # (but still current, until the toplevel bootstrap project
39063 # is finished) compiler bootstrapping rules.
39065 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
39066 .PHONY: $(GCC_STRAP_TARGETS)
39067 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
39068 @r=`${PWD_COMMAND}`; export r; \
39069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39070 $(HOST_EXPORTS) \
39071 echo "Bootstrapping the compiler"; \
39072 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39073 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
39074 @r=`${PWD_COMMAND}`; export r; \
39075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39076 case "$@" in \
39077 *bootstrap4-lean ) \
39078 msg="Comparing stage3 and stage4 of the compiler"; \
39079 compare=compare3-lean ;; \
39080 *bootstrap4 ) \
39081 msg="Comparing stage3 and stage4 of the compiler"; \
39082 compare=compare3 ;; \
39083 *-lean ) \
39084 msg="Comparing stage2 and stage3 of the compiler"; \
39085 compare=compare-lean ;; \
39086 * ) \
39087 msg="Comparing stage2 and stage3 of the compiler"; \
39088 compare=compare ;; \
39089 esac; \
39090 $(HOST_EXPORTS) \
39091 echo "$$msg"; \
39092 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
39093 @r=`${PWD_COMMAND}`; export r; \
39094 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39095 echo "Building runtime libraries"; \
39096 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39098 profiledbootstrap: all-prebootstrap configure-gcc
39099 @r=`${PWD_COMMAND}`; export r; \
39100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39101 $(HOST_EXPORTS) \
39102 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39103 echo "Bootstrapping training compiler"; \
39104 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
39105 @r=`${PWD_COMMAND}`; export r; \
39106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39107 $(HOST_EXPORTS) \
39108 echo "Building feedback based compiler"; \
39109 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
39110 @r=`${PWD_COMMAND}`; export r; \
39111 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39112 echo "Building runtime libraries"; \
39113 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39115 .PHONY: cross
39116 cross: all-build all-gas all-ld
39117 @r=`${PWD_COMMAND}`; export r; \
39118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39119 $(HOST_EXPORTS) \
39120 echo "Building the C and C++ compiler"; \
39121 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
39122 @r=`${PWD_COMMAND}`; export r; \
39123 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39124 echo "Building runtime libraries"; \
39125 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
39126 @endif gcc-no-bootstrap
39128 @if gcc
39129 .PHONY: check-gcc-c++
39130 check-gcc-c++:
39131 @if [ -f ./gcc/Makefile ] ; then \
39132 r=`${PWD_COMMAND}`; export r; \
39133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39134 $(HOST_EXPORTS) \
39135 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
39136 else \
39137 true; \
39140 .PHONY: check-c++
39141 check-c++: check-target-libstdc++-v3 check-gcc-c++
39143 # Install the gcc headers files, but not the fixed include files,
39144 # which Cygnus is not allowed to distribute. This rule is very
39145 # dependent on the workings of the gcc Makefile.in.
39146 .PHONY: gcc-no-fixedincludes
39147 gcc-no-fixedincludes:
39148 @if [ -f ./gcc/Makefile ]; then \
39149 rm -rf gcc/tmp-include; \
39150 mv gcc/include gcc/tmp-include 2>/dev/null; \
39151 mkdir gcc/include; \
39152 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
39153 touch gcc/stmp-fixinc gcc/include/fixed; \
39154 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
39155 r=`${PWD_COMMAND}`; export r; \
39156 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39157 $(HOST_EXPORTS) \
39158 (cd ./gcc && \
39159 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
39160 rm -rf gcc/include; \
39161 mv gcc/tmp-include gcc/include 2>/dev/null; \
39162 else true; fi
39163 @endif gcc
39165 # ---------------------
39166 # GCC bootstrap support
39167 # ---------------------
39169 # We track the current stage (the one in 'gcc') in the stage_current file.
39170 # stage_last instead tracks the stage that was built last. These targets
39171 # are dummy when toplevel bootstrap is not active.
39173 # While making host and target tools, symlinks to the final stage must be
39174 # there, so $(unstage) should be run at various points. To avoid excessive
39175 # recursive invocations of make, we "inline" them using a variable. These
39176 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
39177 # to avoid warnings from the GNU Make job server.
39179 unstage = :
39180 stage = :
39181 current_stage = ""
39183 @if gcc-bootstrap
39184 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
39185 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
39186 current_stage = "`cat stage_current 2> /dev/null`"
39187 @endif gcc-bootstrap
39189 .PHONY: unstage stage
39190 unstage:
39191 @: $(MAKE); $(unstage)
39192 stage:
39193 @: $(MAKE); $(stage)
39195 # Disable commands for lean bootstrap.
39196 LEAN = false
39198 # We name the build directories for the various stages "stage1-gcc",
39199 # "stage2-gcc","stage3-gcc", etc.
39201 # Since the 'compare' process will fail (on debugging information) if any
39202 # directory names are different, we need to link the gcc directory for
39203 # the previous stage to a constant name ('prev-gcc'), and to make the name of
39204 # the build directories constant as well. For the latter, we use naked names
39205 # like 'gcc', because the scripts in that directory assume it. We use
39206 # mv on platforms where symlinks to directories do not work or are not
39207 # reliable.
39209 # 'touch' doesn't work right on some platforms.
39210 STAMP = echo timestamp >
39212 # Only build the C compiler for stage1, because that is the only one that
39213 # we can guarantee will build with the native compiler, and also it is the
39214 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
39215 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
39216 # overrideable (for a bootstrap build stage1 also builds gcc.info).
39218 STAGE1_CFLAGS=@stage1_cflags@
39219 STAGE1_LANGUAGES=@stage1_languages@
39221 # We only want to compare .o files, so set this!
39222 objext = .o
39224 # Flags to pass to stage2 and later makes.
39225 POSTSTAGE1_FLAGS_TO_PASS = \
39226 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
39227 STAGE_PREFIX=$$r/prev-gcc/ \
39228 CFLAGS="$(BOOT_CFLAGS)" \
39229 LIBCFLAGS="$(BOOT_CFLAGS)" \
39230 LDFLAGS="$(BOOT_LDFLAGS)" \
39231 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
39233 # For stage 1:
39234 # * We force-disable intermodule optimizations, even if
39235 # --enable-intermodule was passed, since the installed compiler probably
39236 # can't handle them. Luckily, autoconf always respects
39237 # the last argument when conflicting --enable arguments are passed.
39238 # * Likewise, we force-disable coverage flags, since the installed compiler
39239 # probably has never heard of them.
39240 # * We build only C (and possibly Ada).
39243 .PHONY: stage1-start stage1-end
39245 stage1-start::
39246 @: $(MAKE); $(stage); \
39247 echo stage1 > stage_current ; \
39248 echo stage1 > stage_last; \
39249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39250 @if bfd
39251 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
39252 mkdir stage1-bfd; \
39253 mv stage1-bfd bfd
39254 @endif bfd
39255 @if opcodes
39256 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
39257 mkdir stage1-opcodes; \
39258 mv stage1-opcodes opcodes
39259 @endif opcodes
39260 @if binutils
39261 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
39262 mkdir stage1-binutils; \
39263 mv stage1-binutils binutils
39264 @endif binutils
39265 @if gas
39266 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
39267 mkdir stage1-gas; \
39268 mv stage1-gas gas
39269 @endif gas
39270 @if gcc
39271 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
39272 mkdir stage1-gcc; \
39273 mv stage1-gcc gcc
39274 @endif gcc
39275 @if intl
39276 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
39277 mkdir stage1-intl; \
39278 mv stage1-intl intl
39279 @endif intl
39280 @if ld
39281 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
39282 mkdir stage1-ld; \
39283 mv stage1-ld ld
39284 @endif ld
39285 @if libcpp
39286 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
39287 mkdir stage1-libcpp; \
39288 mv stage1-libcpp libcpp
39289 @endif libcpp
39290 @if libdecnumber
39291 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
39292 mkdir stage1-libdecnumber; \
39293 mv stage1-libdecnumber libdecnumber
39294 @endif libdecnumber
39295 @if libiberty
39296 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
39297 mkdir stage1-libiberty; \
39298 mv stage1-libiberty libiberty
39299 @endif libiberty
39300 @if zlib
39301 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
39302 mkdir stage1-zlib; \
39303 mv stage1-zlib zlib
39304 @endif zlib
39305 @[ -d stage1-$(TARGET_SUBDIR) ] || \
39306 mkdir stage1-$(TARGET_SUBDIR); \
39307 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
39309 stage1-end::
39310 @if bfd
39311 @if test -d $(HOST_SUBDIR)/bfd ; then \
39312 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
39314 @endif bfd
39315 @if opcodes
39316 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39317 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
39319 @endif opcodes
39320 @if binutils
39321 @if test -d $(HOST_SUBDIR)/binutils ; then \
39322 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
39324 @endif binutils
39325 @if gas
39326 @if test -d $(HOST_SUBDIR)/gas ; then \
39327 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
39329 @endif gas
39330 @if gcc
39331 @if test -d $(HOST_SUBDIR)/gcc ; then \
39332 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
39334 @endif gcc
39335 @if intl
39336 @if test -d $(HOST_SUBDIR)/intl ; then \
39337 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
39339 @endif intl
39340 @if ld
39341 @if test -d $(HOST_SUBDIR)/ld ; then \
39342 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
39344 @endif ld
39345 @if libcpp
39346 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39347 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
39349 @endif libcpp
39350 @if libdecnumber
39351 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39352 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
39354 @endif libdecnumber
39355 @if libiberty
39356 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39357 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
39359 @endif libiberty
39360 @if zlib
39361 @if test -d $(HOST_SUBDIR)/zlib ; then \
39362 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
39364 @endif zlib
39365 @if test -d $(TARGET_SUBDIR) ; then \
39366 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
39368 rm -f stage_current
39370 # Bubble a bugfix through all the stages up to stage 1. They are
39371 # remade, but not reconfigured. The next stage (if any) will not be
39372 # reconfigured as well.
39373 .PHONY: stage1-bubble
39374 stage1-bubble::
39375 @r=`${PWD_COMMAND}`; export r; \
39376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39377 if test -f stage1-lean ; then \
39378 echo Skipping rebuild of stage1 ; \
39379 else \
39380 $(MAKE) stage1-start; \
39381 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
39384 .PHONY: all-stage1 clean-stage1
39385 do-clean: clean-stage1
39387 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39388 # only possibility, but now it conflicts with no-bootstrap rules
39389 @if gcc-bootstrap
39394 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39396 .PHONY: distclean-stage1
39397 distclean-stage1::
39398 @: $(MAKE); $(stage)
39399 rm -rf stage1-*
39402 @endif gcc-bootstrap
39405 .PHONY: stage2-start stage2-end
39407 stage2-start::
39408 @: $(MAKE); $(stage); \
39409 echo stage2 > stage_current ; \
39410 echo stage2 > stage_last; \
39411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39412 @if bfd
39413 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
39414 mkdir stage2-bfd; \
39415 mv stage2-bfd bfd ; \
39416 mv stage1-bfd prev-bfd || test -f stage1-lean
39417 @endif bfd
39418 @if opcodes
39419 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
39420 mkdir stage2-opcodes; \
39421 mv stage2-opcodes opcodes ; \
39422 mv stage1-opcodes prev-opcodes || test -f stage1-lean
39423 @endif opcodes
39424 @if binutils
39425 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
39426 mkdir stage2-binutils; \
39427 mv stage2-binutils binutils ; \
39428 mv stage1-binutils prev-binutils || test -f stage1-lean
39429 @endif binutils
39430 @if gas
39431 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
39432 mkdir stage2-gas; \
39433 mv stage2-gas gas ; \
39434 mv stage1-gas prev-gas || test -f stage1-lean
39435 @endif gas
39436 @if gcc
39437 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
39438 mkdir stage2-gcc; \
39439 mv stage2-gcc gcc ; \
39440 mv stage1-gcc prev-gcc || test -f stage1-lean
39441 @endif gcc
39442 @if intl
39443 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
39444 mkdir stage2-intl; \
39445 mv stage2-intl intl ; \
39446 mv stage1-intl prev-intl || test -f stage1-lean
39447 @endif intl
39448 @if ld
39449 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
39450 mkdir stage2-ld; \
39451 mv stage2-ld ld ; \
39452 mv stage1-ld prev-ld || test -f stage1-lean
39453 @endif ld
39454 @if libcpp
39455 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
39456 mkdir stage2-libcpp; \
39457 mv stage2-libcpp libcpp ; \
39458 mv stage1-libcpp prev-libcpp || test -f stage1-lean
39459 @endif libcpp
39460 @if libdecnumber
39461 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
39462 mkdir stage2-libdecnumber; \
39463 mv stage2-libdecnumber libdecnumber ; \
39464 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
39465 @endif libdecnumber
39466 @if libiberty
39467 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
39468 mkdir stage2-libiberty; \
39469 mv stage2-libiberty libiberty ; \
39470 mv stage1-libiberty prev-libiberty || test -f stage1-lean
39471 @endif libiberty
39472 @if zlib
39473 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
39474 mkdir stage2-zlib; \
39475 mv stage2-zlib zlib ; \
39476 mv stage1-zlib prev-zlib || test -f stage1-lean
39477 @endif zlib
39478 @[ -d stage2-$(TARGET_SUBDIR) ] || \
39479 mkdir stage2-$(TARGET_SUBDIR); \
39480 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39481 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
39483 stage2-end::
39484 @if bfd
39485 @if test -d $(HOST_SUBDIR)/bfd ; then \
39486 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
39487 mv prev-bfd stage1-bfd ; : ; \
39489 @endif bfd
39490 @if opcodes
39491 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39492 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
39493 mv prev-opcodes stage1-opcodes ; : ; \
39495 @endif opcodes
39496 @if binutils
39497 @if test -d $(HOST_SUBDIR)/binutils ; then \
39498 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
39499 mv prev-binutils stage1-binutils ; : ; \
39501 @endif binutils
39502 @if gas
39503 @if test -d $(HOST_SUBDIR)/gas ; then \
39504 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
39505 mv prev-gas stage1-gas ; : ; \
39507 @endif gas
39508 @if gcc
39509 @if test -d $(HOST_SUBDIR)/gcc ; then \
39510 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
39511 mv prev-gcc stage1-gcc ; : ; \
39513 @endif gcc
39514 @if intl
39515 @if test -d $(HOST_SUBDIR)/intl ; then \
39516 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
39517 mv prev-intl stage1-intl ; : ; \
39519 @endif intl
39520 @if ld
39521 @if test -d $(HOST_SUBDIR)/ld ; then \
39522 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
39523 mv prev-ld stage1-ld ; : ; \
39525 @endif ld
39526 @if libcpp
39527 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39528 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
39529 mv prev-libcpp stage1-libcpp ; : ; \
39531 @endif libcpp
39532 @if libdecnumber
39533 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39534 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
39535 mv prev-libdecnumber stage1-libdecnumber ; : ; \
39537 @endif libdecnumber
39538 @if libiberty
39539 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39540 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
39541 mv prev-libiberty stage1-libiberty ; : ; \
39543 @endif libiberty
39544 @if zlib
39545 @if test -d $(HOST_SUBDIR)/zlib ; then \
39546 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
39547 mv prev-zlib stage1-zlib ; : ; \
39549 @endif zlib
39550 @if test -d $(TARGET_SUBDIR) ; then \
39551 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
39552 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
39554 rm -f stage_current
39556 # Bubble a bugfix through all the stages up to stage 2. They are
39557 # remade, but not reconfigured. The next stage (if any) will not be
39558 # reconfigured as well.
39559 .PHONY: stage2-bubble
39560 stage2-bubble:: stage1-bubble
39561 @r=`${PWD_COMMAND}`; export r; \
39562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39563 if test -f stage2-lean || test -f stage1-lean ; then \
39564 echo Skipping rebuild of stage2 ; \
39565 else \
39566 $(MAKE) stage2-start; \
39567 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
39570 .PHONY: all-stage2 clean-stage2
39571 do-clean: clean-stage2
39573 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39574 # only possibility, but now it conflicts with no-bootstrap rules
39575 @if gcc-bootstrap
39579 .PHONY: bootstrap2 bootstrap2-lean
39580 bootstrap2:
39581 echo stage2 > stage_final
39582 @r=`${PWD_COMMAND}`; export r; \
39583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39584 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
39585 @: $(MAKE); $(unstage)
39586 @r=`${PWD_COMMAND}`; export r; \
39587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39588 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39590 bootstrap2-lean:
39591 echo stage2 > stage_final
39592 @r=`${PWD_COMMAND}`; export r; \
39593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39594 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
39595 @: $(MAKE); $(unstage)
39596 @r=`${PWD_COMMAND}`; export r; \
39597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39598 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39601 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39602 distclean-stage1:: distclean-stage2
39603 .PHONY: distclean-stage2
39604 distclean-stage2::
39605 @: $(MAKE); $(stage)
39606 rm -rf stage2-*
39609 @endif gcc-bootstrap
39612 .PHONY: stage3-start stage3-end
39614 stage3-start::
39615 @: $(MAKE); $(stage); \
39616 echo stage3 > stage_current ; \
39617 echo stage3 > stage_last; \
39618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39619 @if bfd
39620 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
39621 mkdir stage3-bfd; \
39622 mv stage3-bfd bfd ; \
39623 mv stage2-bfd prev-bfd || test -f stage2-lean
39624 @endif bfd
39625 @if opcodes
39626 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
39627 mkdir stage3-opcodes; \
39628 mv stage3-opcodes opcodes ; \
39629 mv stage2-opcodes prev-opcodes || test -f stage2-lean
39630 @endif opcodes
39631 @if binutils
39632 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
39633 mkdir stage3-binutils; \
39634 mv stage3-binutils binutils ; \
39635 mv stage2-binutils prev-binutils || test -f stage2-lean
39636 @endif binutils
39637 @if gas
39638 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
39639 mkdir stage3-gas; \
39640 mv stage3-gas gas ; \
39641 mv stage2-gas prev-gas || test -f stage2-lean
39642 @endif gas
39643 @if gcc
39644 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
39645 mkdir stage3-gcc; \
39646 mv stage3-gcc gcc ; \
39647 mv stage2-gcc prev-gcc || test -f stage2-lean
39648 @endif gcc
39649 @if intl
39650 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
39651 mkdir stage3-intl; \
39652 mv stage3-intl intl ; \
39653 mv stage2-intl prev-intl || test -f stage2-lean
39654 @endif intl
39655 @if ld
39656 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
39657 mkdir stage3-ld; \
39658 mv stage3-ld ld ; \
39659 mv stage2-ld prev-ld || test -f stage2-lean
39660 @endif ld
39661 @if libcpp
39662 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
39663 mkdir stage3-libcpp; \
39664 mv stage3-libcpp libcpp ; \
39665 mv stage2-libcpp prev-libcpp || test -f stage2-lean
39666 @endif libcpp
39667 @if libdecnumber
39668 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
39669 mkdir stage3-libdecnumber; \
39670 mv stage3-libdecnumber libdecnumber ; \
39671 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
39672 @endif libdecnumber
39673 @if libiberty
39674 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
39675 mkdir stage3-libiberty; \
39676 mv stage3-libiberty libiberty ; \
39677 mv stage2-libiberty prev-libiberty || test -f stage2-lean
39678 @endif libiberty
39679 @if zlib
39680 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
39681 mkdir stage3-zlib; \
39682 mv stage3-zlib zlib ; \
39683 mv stage2-zlib prev-zlib || test -f stage2-lean
39684 @endif zlib
39685 @[ -d stage3-$(TARGET_SUBDIR) ] || \
39686 mkdir stage3-$(TARGET_SUBDIR); \
39687 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39688 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
39690 stage3-end::
39691 @if bfd
39692 @if test -d $(HOST_SUBDIR)/bfd ; then \
39693 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
39694 mv prev-bfd stage2-bfd ; : ; \
39696 @endif bfd
39697 @if opcodes
39698 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39699 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
39700 mv prev-opcodes stage2-opcodes ; : ; \
39702 @endif opcodes
39703 @if binutils
39704 @if test -d $(HOST_SUBDIR)/binutils ; then \
39705 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
39706 mv prev-binutils stage2-binutils ; : ; \
39708 @endif binutils
39709 @if gas
39710 @if test -d $(HOST_SUBDIR)/gas ; then \
39711 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
39712 mv prev-gas stage2-gas ; : ; \
39714 @endif gas
39715 @if gcc
39716 @if test -d $(HOST_SUBDIR)/gcc ; then \
39717 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
39718 mv prev-gcc stage2-gcc ; : ; \
39720 @endif gcc
39721 @if intl
39722 @if test -d $(HOST_SUBDIR)/intl ; then \
39723 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
39724 mv prev-intl stage2-intl ; : ; \
39726 @endif intl
39727 @if ld
39728 @if test -d $(HOST_SUBDIR)/ld ; then \
39729 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
39730 mv prev-ld stage2-ld ; : ; \
39732 @endif ld
39733 @if libcpp
39734 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39735 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
39736 mv prev-libcpp stage2-libcpp ; : ; \
39738 @endif libcpp
39739 @if libdecnumber
39740 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39741 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
39742 mv prev-libdecnumber stage2-libdecnumber ; : ; \
39744 @endif libdecnumber
39745 @if libiberty
39746 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39747 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
39748 mv prev-libiberty stage2-libiberty ; : ; \
39750 @endif libiberty
39751 @if zlib
39752 @if test -d $(HOST_SUBDIR)/zlib ; then \
39753 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
39754 mv prev-zlib stage2-zlib ; : ; \
39756 @endif zlib
39757 @if test -d $(TARGET_SUBDIR) ; then \
39758 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
39759 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
39761 rm -f stage_current
39763 # Bubble a bugfix through all the stages up to stage 3. They are
39764 # remade, but not reconfigured. The next stage (if any) will not be
39765 # reconfigured as well.
39766 .PHONY: stage3-bubble
39767 stage3-bubble:: stage2-bubble
39768 @r=`${PWD_COMMAND}`; export r; \
39769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39770 if test -f stage3-lean || test -f stage2-lean ; then \
39771 echo Skipping rebuild of stage3 ; \
39772 else \
39773 $(MAKE) stage3-start; \
39774 if $(LEAN); then \
39775 rm -rf stage1-* ; \
39776 $(STAMP) stage1-lean ; \
39777 fi; \
39778 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
39780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
39782 .PHONY: all-stage3 clean-stage3
39783 do-clean: clean-stage3
39785 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39786 # only possibility, but now it conflicts with no-bootstrap rules
39787 @if gcc-bootstrap
39789 compare:
39790 @r=`${PWD_COMMAND}`; export r; \
39791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39792 if test -f stage2-lean; then \
39793 echo Cannot compare object files as stage 2 was deleted. ; \
39794 exit 0 ; \
39795 fi; \
39796 : $(MAKE); $(stage); \
39797 rm -f .bad_compare ; \
39798 echo Comparing stages 2 and 3 ; \
39799 cd stage3-gcc; \
39800 files=`find . -name "*$(objext)" -print` ; \
39801 cd .. ; \
39802 for file in $${files} ; do \
39803 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
39804 @do_compare@ > /dev/null 2>&1; \
39805 if test $$? -eq 1; then \
39806 case $$file in \
39807 ./cc*-checksum$(objext) | ./libgcc/* ) \
39808 echo warning: $$file differs ;; \
39809 *) \
39810 echo $$file differs >> .bad_compare ;; \
39811 esac ; \
39812 fi ; \
39813 done ; \
39814 if [ -f .bad_compare ]; then \
39815 echo "Bootstrap comparison failure!"; \
39816 cat .bad_compare; \
39817 exit 1; \
39818 else \
39819 echo Comparison successful.; \
39820 fi ; \
39821 $(STAMP) compare
39822 if $(LEAN); then \
39823 rm -rf stage2-*; \
39824 $(STAMP) stage2-lean; \
39829 .PHONY: bootstrap bootstrap-lean
39830 bootstrap:
39831 echo stage3 > stage_final
39832 @r=`${PWD_COMMAND}`; export r; \
39833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39834 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
39835 @: $(MAKE); $(unstage)
39836 @r=`${PWD_COMMAND}`; export r; \
39837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39838 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39840 bootstrap-lean:
39841 echo stage3 > stage_final
39842 @r=`${PWD_COMMAND}`; export r; \
39843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39844 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
39845 @: $(MAKE); $(unstage)
39846 @r=`${PWD_COMMAND}`; export r; \
39847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39848 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39851 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39852 distclean-stage2:: distclean-stage3
39853 .PHONY: distclean-stage3
39854 distclean-stage3::
39855 @: $(MAKE); $(stage)
39856 rm -rf stage3-* compare
39859 .PHONY: cleanstrap
39860 cleanstrap: distclean bootstrap
39862 @endif gcc-bootstrap
39865 .PHONY: stage4-start stage4-end
39867 stage4-start::
39868 @: $(MAKE); $(stage); \
39869 echo stage4 > stage_current ; \
39870 echo stage4 > stage_last; \
39871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39872 @if bfd
39873 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
39874 mkdir stage4-bfd; \
39875 mv stage4-bfd bfd ; \
39876 mv stage3-bfd prev-bfd || test -f stage3-lean
39877 @endif bfd
39878 @if opcodes
39879 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
39880 mkdir stage4-opcodes; \
39881 mv stage4-opcodes opcodes ; \
39882 mv stage3-opcodes prev-opcodes || test -f stage3-lean
39883 @endif opcodes
39884 @if binutils
39885 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
39886 mkdir stage4-binutils; \
39887 mv stage4-binutils binutils ; \
39888 mv stage3-binutils prev-binutils || test -f stage3-lean
39889 @endif binutils
39890 @if gas
39891 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
39892 mkdir stage4-gas; \
39893 mv stage4-gas gas ; \
39894 mv stage3-gas prev-gas || test -f stage3-lean
39895 @endif gas
39896 @if gcc
39897 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
39898 mkdir stage4-gcc; \
39899 mv stage4-gcc gcc ; \
39900 mv stage3-gcc prev-gcc || test -f stage3-lean
39901 @endif gcc
39902 @if intl
39903 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
39904 mkdir stage4-intl; \
39905 mv stage4-intl intl ; \
39906 mv stage3-intl prev-intl || test -f stage3-lean
39907 @endif intl
39908 @if ld
39909 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
39910 mkdir stage4-ld; \
39911 mv stage4-ld ld ; \
39912 mv stage3-ld prev-ld || test -f stage3-lean
39913 @endif ld
39914 @if libcpp
39915 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
39916 mkdir stage4-libcpp; \
39917 mv stage4-libcpp libcpp ; \
39918 mv stage3-libcpp prev-libcpp || test -f stage3-lean
39919 @endif libcpp
39920 @if libdecnumber
39921 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
39922 mkdir stage4-libdecnumber; \
39923 mv stage4-libdecnumber libdecnumber ; \
39924 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
39925 @endif libdecnumber
39926 @if libiberty
39927 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
39928 mkdir stage4-libiberty; \
39929 mv stage4-libiberty libiberty ; \
39930 mv stage3-libiberty prev-libiberty || test -f stage3-lean
39931 @endif libiberty
39932 @if zlib
39933 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
39934 mkdir stage4-zlib; \
39935 mv stage4-zlib zlib ; \
39936 mv stage3-zlib prev-zlib || test -f stage3-lean
39937 @endif zlib
39938 @[ -d stage4-$(TARGET_SUBDIR) ] || \
39939 mkdir stage4-$(TARGET_SUBDIR); \
39940 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39941 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
39943 stage4-end::
39944 @if bfd
39945 @if test -d $(HOST_SUBDIR)/bfd ; then \
39946 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
39947 mv prev-bfd stage3-bfd ; : ; \
39949 @endif bfd
39950 @if opcodes
39951 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39952 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
39953 mv prev-opcodes stage3-opcodes ; : ; \
39955 @endif opcodes
39956 @if binutils
39957 @if test -d $(HOST_SUBDIR)/binutils ; then \
39958 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
39959 mv prev-binutils stage3-binutils ; : ; \
39961 @endif binutils
39962 @if gas
39963 @if test -d $(HOST_SUBDIR)/gas ; then \
39964 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
39965 mv prev-gas stage3-gas ; : ; \
39967 @endif gas
39968 @if gcc
39969 @if test -d $(HOST_SUBDIR)/gcc ; then \
39970 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
39971 mv prev-gcc stage3-gcc ; : ; \
39973 @endif gcc
39974 @if intl
39975 @if test -d $(HOST_SUBDIR)/intl ; then \
39976 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
39977 mv prev-intl stage3-intl ; : ; \
39979 @endif intl
39980 @if ld
39981 @if test -d $(HOST_SUBDIR)/ld ; then \
39982 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
39983 mv prev-ld stage3-ld ; : ; \
39985 @endif ld
39986 @if libcpp
39987 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39988 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
39989 mv prev-libcpp stage3-libcpp ; : ; \
39991 @endif libcpp
39992 @if libdecnumber
39993 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39994 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
39995 mv prev-libdecnumber stage3-libdecnumber ; : ; \
39997 @endif libdecnumber
39998 @if libiberty
39999 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40000 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
40001 mv prev-libiberty stage3-libiberty ; : ; \
40003 @endif libiberty
40004 @if zlib
40005 @if test -d $(HOST_SUBDIR)/zlib ; then \
40006 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
40007 mv prev-zlib stage3-zlib ; : ; \
40009 @endif zlib
40010 @if test -d $(TARGET_SUBDIR) ; then \
40011 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
40012 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
40014 rm -f stage_current
40016 # Bubble a bugfix through all the stages up to stage 4. They are
40017 # remade, but not reconfigured. The next stage (if any) will not be
40018 # reconfigured as well.
40019 .PHONY: stage4-bubble
40020 stage4-bubble:: stage3-bubble
40021 @r=`${PWD_COMMAND}`; export r; \
40022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40023 if test -f stage4-lean || test -f stage3-lean ; then \
40024 echo Skipping rebuild of stage4 ; \
40025 else \
40026 $(MAKE) stage4-start; \
40027 if $(LEAN); then \
40028 rm -rf stage2-* ; \
40029 $(STAMP) stage2-lean ; \
40030 fi; \
40031 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
40033 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
40035 .PHONY: all-stage4 clean-stage4
40036 do-clean: clean-stage4
40038 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40039 # only possibility, but now it conflicts with no-bootstrap rules
40040 @if gcc-bootstrap
40042 compare3:
40043 @r=`${PWD_COMMAND}`; export r; \
40044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40045 if test -f stage3-lean; then \
40046 echo Cannot compare object files as stage 3 was deleted. ; \
40047 exit 0 ; \
40048 fi; \
40049 : $(MAKE); $(stage); \
40050 rm -f .bad_compare ; \
40051 echo Comparing stages 3 and 4 ; \
40052 cd stage4-gcc; \
40053 files=`find . -name "*$(objext)" -print` ; \
40054 cd .. ; \
40055 for file in $${files} ; do \
40056 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
40057 @do_compare@ > /dev/null 2>&1; \
40058 if test $$? -eq 1; then \
40059 case $$file in \
40060 ./cc*-checksum$(objext) | ./libgcc/* ) \
40061 echo warning: $$file differs ;; \
40062 *) \
40063 echo $$file differs >> .bad_compare ;; \
40064 esac ; \
40065 fi ; \
40066 done ; \
40067 if [ -f .bad_compare ]; then \
40068 echo "Bootstrap comparison failure!"; \
40069 cat .bad_compare; \
40070 exit 1; \
40071 else \
40072 echo Comparison successful.; \
40073 fi ; \
40074 $(STAMP) compare3
40075 if $(LEAN); then \
40076 rm -rf stage3-*; \
40077 $(STAMP) stage3-lean; \
40082 .PHONY: bootstrap4 bootstrap4-lean
40083 bootstrap4:
40084 echo stage4 > stage_final
40085 @r=`${PWD_COMMAND}`; export r; \
40086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40087 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
40088 @: $(MAKE); $(unstage)
40089 @r=`${PWD_COMMAND}`; export r; \
40090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40091 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40093 bootstrap4-lean:
40094 echo stage4 > stage_final
40095 @r=`${PWD_COMMAND}`; export r; \
40096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40097 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
40098 @: $(MAKE); $(unstage)
40099 @r=`${PWD_COMMAND}`; export r; \
40100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40101 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40104 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40105 distclean-stage3:: distclean-stage4
40106 .PHONY: distclean-stage4
40107 distclean-stage4::
40108 @: $(MAKE); $(stage)
40109 rm -rf stage4-* compare3
40112 @endif gcc-bootstrap
40115 .PHONY: stageprofile-start stageprofile-end
40117 stageprofile-start::
40118 @: $(MAKE); $(stage); \
40119 echo stageprofile > stage_current ; \
40120 echo stageprofile > stage_last; \
40121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40122 @if bfd
40123 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
40124 mkdir stageprofile-bfd; \
40125 mv stageprofile-bfd bfd ; \
40126 mv stage1-bfd prev-bfd || test -f stage1-lean
40127 @endif bfd
40128 @if opcodes
40129 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
40130 mkdir stageprofile-opcodes; \
40131 mv stageprofile-opcodes opcodes ; \
40132 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40133 @endif opcodes
40134 @if binutils
40135 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
40136 mkdir stageprofile-binutils; \
40137 mv stageprofile-binutils binutils ; \
40138 mv stage1-binutils prev-binutils || test -f stage1-lean
40139 @endif binutils
40140 @if gas
40141 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
40142 mkdir stageprofile-gas; \
40143 mv stageprofile-gas gas ; \
40144 mv stage1-gas prev-gas || test -f stage1-lean
40145 @endif gas
40146 @if gcc
40147 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
40148 mkdir stageprofile-gcc; \
40149 mv stageprofile-gcc gcc ; \
40150 mv stage1-gcc prev-gcc || test -f stage1-lean
40151 @endif gcc
40152 @if intl
40153 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
40154 mkdir stageprofile-intl; \
40155 mv stageprofile-intl intl ; \
40156 mv stage1-intl prev-intl || test -f stage1-lean
40157 @endif intl
40158 @if ld
40159 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
40160 mkdir stageprofile-ld; \
40161 mv stageprofile-ld ld ; \
40162 mv stage1-ld prev-ld || test -f stage1-lean
40163 @endif ld
40164 @if libcpp
40165 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
40166 mkdir stageprofile-libcpp; \
40167 mv stageprofile-libcpp libcpp ; \
40168 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40169 @endif libcpp
40170 @if libdecnumber
40171 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
40172 mkdir stageprofile-libdecnumber; \
40173 mv stageprofile-libdecnumber libdecnumber ; \
40174 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40175 @endif libdecnumber
40176 @if libiberty
40177 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
40178 mkdir stageprofile-libiberty; \
40179 mv stageprofile-libiberty libiberty ; \
40180 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40181 @endif libiberty
40182 @if zlib
40183 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
40184 mkdir stageprofile-zlib; \
40185 mv stageprofile-zlib zlib ; \
40186 mv stage1-zlib prev-zlib || test -f stage1-lean
40187 @endif zlib
40188 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
40189 mkdir stageprofile-$(TARGET_SUBDIR); \
40190 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40191 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40193 stageprofile-end::
40194 @if bfd
40195 @if test -d $(HOST_SUBDIR)/bfd ; then \
40196 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
40197 mv prev-bfd stage1-bfd ; : ; \
40199 @endif bfd
40200 @if opcodes
40201 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40202 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
40203 mv prev-opcodes stage1-opcodes ; : ; \
40205 @endif opcodes
40206 @if binutils
40207 @if test -d $(HOST_SUBDIR)/binutils ; then \
40208 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
40209 mv prev-binutils stage1-binutils ; : ; \
40211 @endif binutils
40212 @if gas
40213 @if test -d $(HOST_SUBDIR)/gas ; then \
40214 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
40215 mv prev-gas stage1-gas ; : ; \
40217 @endif gas
40218 @if gcc
40219 @if test -d $(HOST_SUBDIR)/gcc ; then \
40220 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
40221 mv prev-gcc stage1-gcc ; : ; \
40223 @endif gcc
40224 @if intl
40225 @if test -d $(HOST_SUBDIR)/intl ; then \
40226 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
40227 mv prev-intl stage1-intl ; : ; \
40229 @endif intl
40230 @if ld
40231 @if test -d $(HOST_SUBDIR)/ld ; then \
40232 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
40233 mv prev-ld stage1-ld ; : ; \
40235 @endif ld
40236 @if libcpp
40237 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40238 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
40239 mv prev-libcpp stage1-libcpp ; : ; \
40241 @endif libcpp
40242 @if libdecnumber
40243 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40244 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
40245 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40247 @endif libdecnumber
40248 @if libiberty
40249 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40250 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
40251 mv prev-libiberty stage1-libiberty ; : ; \
40253 @endif libiberty
40254 @if zlib
40255 @if test -d $(HOST_SUBDIR)/zlib ; then \
40256 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
40257 mv prev-zlib stage1-zlib ; : ; \
40259 @endif zlib
40260 @if test -d $(TARGET_SUBDIR) ; then \
40261 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
40262 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40264 rm -f stage_current
40266 # Bubble a bugfix through all the stages up to stage profile. They are
40267 # remade, but not reconfigured. The next stage (if any) will not be
40268 # reconfigured as well.
40269 .PHONY: stageprofile-bubble
40270 stageprofile-bubble:: stage1-bubble
40271 @r=`${PWD_COMMAND}`; export r; \
40272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40273 if test -f stageprofile-lean || test -f stage1-lean ; then \
40274 echo Skipping rebuild of stageprofile ; \
40275 else \
40276 $(MAKE) stageprofile-start; \
40277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
40280 .PHONY: all-stageprofile clean-stageprofile
40281 do-clean: clean-stageprofile
40283 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40284 # only possibility, but now it conflicts with no-bootstrap rules
40285 @if gcc-bootstrap
40290 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40291 distclean-stage1:: distclean-stageprofile
40292 .PHONY: distclean-stageprofile
40293 distclean-stageprofile::
40294 @: $(MAKE); $(stage)
40295 rm -rf stageprofile-*
40298 @endif gcc-bootstrap
40301 .PHONY: stagefeedback-start stagefeedback-end
40303 stagefeedback-start::
40304 @: $(MAKE); $(stage); \
40305 echo stagefeedback > stage_current ; \
40306 echo stagefeedback > stage_last; \
40307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40308 @if bfd
40309 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
40310 mkdir stagefeedback-bfd; \
40311 mv stagefeedback-bfd bfd ; \
40312 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
40313 @endif bfd
40314 @if opcodes
40315 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
40316 mkdir stagefeedback-opcodes; \
40317 mv stagefeedback-opcodes opcodes ; \
40318 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
40319 @endif opcodes
40320 @if binutils
40321 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
40322 mkdir stagefeedback-binutils; \
40323 mv stagefeedback-binutils binutils ; \
40324 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
40325 @endif binutils
40326 @if gas
40327 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
40328 mkdir stagefeedback-gas; \
40329 mv stagefeedback-gas gas ; \
40330 mv stageprofile-gas prev-gas || test -f stageprofile-lean
40331 @endif gas
40332 @if gcc
40333 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
40334 mkdir stagefeedback-gcc; \
40335 mv stagefeedback-gcc gcc ; \
40336 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
40337 @endif gcc
40338 @if intl
40339 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
40340 mkdir stagefeedback-intl; \
40341 mv stagefeedback-intl intl ; \
40342 mv stageprofile-intl prev-intl || test -f stageprofile-lean
40343 @endif intl
40344 @if ld
40345 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
40346 mkdir stagefeedback-ld; \
40347 mv stagefeedback-ld ld ; \
40348 mv stageprofile-ld prev-ld || test -f stageprofile-lean
40349 @endif ld
40350 @if libcpp
40351 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
40352 mkdir stagefeedback-libcpp; \
40353 mv stagefeedback-libcpp libcpp ; \
40354 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
40355 @endif libcpp
40356 @if libdecnumber
40357 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
40358 mkdir stagefeedback-libdecnumber; \
40359 mv stagefeedback-libdecnumber libdecnumber ; \
40360 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
40361 @endif libdecnumber
40362 @if libiberty
40363 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
40364 mkdir stagefeedback-libiberty; \
40365 mv stagefeedback-libiberty libiberty ; \
40366 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
40367 @endif libiberty
40368 @if zlib
40369 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
40370 mkdir stagefeedback-zlib; \
40371 mv stagefeedback-zlib zlib ; \
40372 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
40373 @endif zlib
40374 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
40375 mkdir stagefeedback-$(TARGET_SUBDIR); \
40376 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40377 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
40379 stagefeedback-end::
40380 @if bfd
40381 @if test -d $(HOST_SUBDIR)/bfd ; then \
40382 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
40383 mv prev-bfd stageprofile-bfd ; : ; \
40385 @endif bfd
40386 @if opcodes
40387 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40388 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
40389 mv prev-opcodes stageprofile-opcodes ; : ; \
40391 @endif opcodes
40392 @if binutils
40393 @if test -d $(HOST_SUBDIR)/binutils ; then \
40394 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
40395 mv prev-binutils stageprofile-binutils ; : ; \
40397 @endif binutils
40398 @if gas
40399 @if test -d $(HOST_SUBDIR)/gas ; then \
40400 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
40401 mv prev-gas stageprofile-gas ; : ; \
40403 @endif gas
40404 @if gcc
40405 @if test -d $(HOST_SUBDIR)/gcc ; then \
40406 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
40407 mv prev-gcc stageprofile-gcc ; : ; \
40409 @endif gcc
40410 @if intl
40411 @if test -d $(HOST_SUBDIR)/intl ; then \
40412 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
40413 mv prev-intl stageprofile-intl ; : ; \
40415 @endif intl
40416 @if ld
40417 @if test -d $(HOST_SUBDIR)/ld ; then \
40418 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
40419 mv prev-ld stageprofile-ld ; : ; \
40421 @endif ld
40422 @if libcpp
40423 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40424 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
40425 mv prev-libcpp stageprofile-libcpp ; : ; \
40427 @endif libcpp
40428 @if libdecnumber
40429 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40430 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
40431 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
40433 @endif libdecnumber
40434 @if libiberty
40435 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40436 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
40437 mv prev-libiberty stageprofile-libiberty ; : ; \
40439 @endif libiberty
40440 @if zlib
40441 @if test -d $(HOST_SUBDIR)/zlib ; then \
40442 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
40443 mv prev-zlib stageprofile-zlib ; : ; \
40445 @endif zlib
40446 @if test -d $(TARGET_SUBDIR) ; then \
40447 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
40448 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
40450 rm -f stage_current
40452 # Bubble a bugfix through all the stages up to stage feedback. They are
40453 # remade, but not reconfigured. The next stage (if any) will not be
40454 # reconfigured as well.
40455 .PHONY: stagefeedback-bubble
40456 stagefeedback-bubble:: stageprofile-bubble
40457 @r=`${PWD_COMMAND}`; export r; \
40458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40459 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
40460 echo Skipping rebuild of stagefeedback ; \
40461 else \
40462 $(MAKE) stagefeedback-start; \
40463 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
40466 .PHONY: all-stagefeedback clean-stagefeedback
40467 do-clean: clean-stagefeedback
40469 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40470 # only possibility, but now it conflicts with no-bootstrap rules
40471 @if gcc-bootstrap
40475 .PHONY: profiledbootstrap profiledbootstrap-lean
40476 profiledbootstrap:
40477 echo stagefeedback > stage_final
40478 @r=`${PWD_COMMAND}`; export r; \
40479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40480 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
40481 @: $(MAKE); $(unstage)
40482 @r=`${PWD_COMMAND}`; export r; \
40483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40484 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40486 profiledbootstrap-lean:
40487 echo stagefeedback > stage_final
40488 @r=`${PWD_COMMAND}`; export r; \
40489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40490 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
40491 @: $(MAKE); $(unstage)
40492 @r=`${PWD_COMMAND}`; export r; \
40493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40494 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40497 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40498 distclean-stageprofile:: distclean-stagefeedback
40499 .PHONY: distclean-stagefeedback
40500 distclean-stagefeedback::
40501 @: $(MAKE); $(stage)
40502 rm -rf stagefeedback-*
40505 @endif gcc-bootstrap
40509 stageprofile-end::
40510 $(MAKE) distclean-stagefeedback
40512 stagefeedback-start::
40513 @r=`${PWD_COMMAND}`; export r; \
40514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40515 for i in prev-*; do \
40516 j=`echo $$i | sed s/^prev-//` ; \
40517 cd $$r/$$i && \
40518 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
40519 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
40520 done
40522 @if gcc-bootstrap
40523 do-distclean: distclean-stage1
40525 # Provide a GCC build when we're building target libraries. This does
40526 # not work as a dependency, just as the minimum necessary to avoid errors.
40527 stage_last:
40528 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
40530 # Same as unstage, but not phony and defaulting to stage1-start. We place
40531 # it in the dependency so that for example `make -j3 all-gcc' works.
40532 stage_current:
40533 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
40535 .PHONY: restrap
40536 restrap:
40537 @: $(MAKE); $(stage)
40538 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
40539 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
40540 @endif gcc-bootstrap
40542 # --------------------------------------
40543 # Dependencies between different modules
40544 # --------------------------------------
40546 # Generic dependencies for target modules on host stuff, especially gcc
40547 @if gcc-bootstrap
40548 configure-target-libstdc++-v3: stage_last
40549 configure-target-libmudflap: stage_last
40550 configure-target-libssp: stage_last
40551 configure-target-newlib: stage_last
40552 configure-target-libgfortran: stage_last
40553 configure-target-libobjc: stage_last
40554 configure-target-libtermcap: stage_last
40555 configure-target-winsup: stage_last
40556 configure-target-libgloss: stage_last
40557 configure-target-libiberty: stage_last
40558 configure-target-gperf: stage_last
40559 configure-target-examples: stage_last
40560 configure-target-libffi: stage_last
40561 configure-target-libjava: stage_last
40562 configure-target-zlib: stage_last
40563 configure-target-boehm-gc: stage_last
40564 configure-target-qthreads: stage_last
40565 configure-target-rda: stage_last
40566 configure-target-libada: stage_last
40567 configure-target-libgomp: stage_last
40568 @endif gcc-bootstrap
40570 @if gcc-no-bootstrap
40571 configure-target-libstdc++-v3: maybe-all-gcc
40572 configure-target-libmudflap: maybe-all-gcc
40573 configure-target-libssp: maybe-all-gcc
40574 configure-target-newlib: maybe-all-gcc
40575 configure-target-libgfortran: maybe-all-gcc
40576 configure-target-libobjc: maybe-all-gcc
40577 configure-target-libtermcap: maybe-all-gcc
40578 configure-target-winsup: maybe-all-gcc
40579 configure-target-libgloss: maybe-all-gcc
40580 configure-target-libiberty: maybe-all-gcc
40581 configure-target-gperf: maybe-all-gcc
40582 configure-target-examples: maybe-all-gcc
40583 configure-target-libffi: maybe-all-gcc
40584 configure-target-libjava: maybe-all-gcc
40585 configure-target-zlib: maybe-all-gcc
40586 configure-target-boehm-gc: maybe-all-gcc
40587 configure-target-qthreads: maybe-all-gcc
40588 configure-target-rda: maybe-all-gcc
40589 configure-target-libada: maybe-all-gcc
40590 configure-target-libgomp: maybe-all-gcc
40591 @endif gcc-no-bootstrap
40595 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
40597 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
40598 configure-target-gperf: maybe-all-target-libstdc++-v3
40600 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
40602 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
40604 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
40606 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
40607 configure-target-libjava: maybe-all-target-libstdc++-v3
40609 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
40611 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
40613 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
40615 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
40617 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
40619 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
40621 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
40623 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
40625 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
40627 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
40630 # There are two types of dependencies here: 'hard' dependencies, where one
40631 # module simply won't build without the other; and 'soft' dependencies, where
40632 # if the depended-on module is missing, the depending module will do without
40633 # or find a substitute somewhere (perhaps installed). Soft dependencies
40634 # are made here to depend on a 'maybe-' target. If you're not sure,
40635 # it's safer to use a soft dependency.
40642 # With all the machinery above in place, it is pretty easy to generate
40643 # dependencies. Host dependencies are a bit more complex because we have
40644 # to check for bootstrap/prebootstrap dependencies. To resolve
40645 # prebootstrap dependencies, prebootstrap modules are gathered in
40646 # a hash table.
40647 all-build-bison: maybe-all-build-texinfo
40648 all-build-byacc: maybe-all-build-texinfo
40649 all-build-flex: maybe-all-build-texinfo
40650 all-build-flex: maybe-all-build-bison
40651 all-build-flex: maybe-all-build-byacc
40652 all-build-flex: maybe-all-build-m4
40653 all-build-libiberty: maybe-all-build-texinfo
40654 all-build-m4: maybe-all-build-texinfo
40655 all-build-fixincludes: maybe-all-build-libiberty
40656 configure-gcc: maybe-configure-intl
40658 configure-stage1-gcc: maybe-configure-stage1-intl
40659 configure-stage2-gcc: maybe-configure-stage2-intl
40660 configure-stage3-gcc: maybe-configure-stage3-intl
40661 configure-stage4-gcc: maybe-configure-stage4-intl
40662 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
40663 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
40664 configure-gcc: maybe-all-binutils
40666 configure-stage1-gcc: maybe-all-stage1-binutils
40667 configure-stage2-gcc: maybe-all-stage2-binutils
40668 configure-stage3-gcc: maybe-all-stage3-binutils
40669 configure-stage4-gcc: maybe-all-stage4-binutils
40670 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
40671 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
40672 configure-gcc: maybe-all-gas
40674 configure-stage1-gcc: maybe-all-stage1-gas
40675 configure-stage2-gcc: maybe-all-stage2-gas
40676 configure-stage3-gcc: maybe-all-stage3-gas
40677 configure-stage4-gcc: maybe-all-stage4-gas
40678 configure-stageprofile-gcc: maybe-all-stageprofile-gas
40679 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
40680 configure-gcc: maybe-all-ld
40682 configure-stage1-gcc: maybe-all-stage1-ld
40683 configure-stage2-gcc: maybe-all-stage2-ld
40684 configure-stage3-gcc: maybe-all-stage3-ld
40685 configure-stage4-gcc: maybe-all-stage4-ld
40686 configure-stageprofile-gcc: maybe-all-stageprofile-ld
40687 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
40688 all-gcc: all-libiberty
40690 all-stage1-gcc: all-stage1-libiberty
40691 all-stage2-gcc: all-stage2-libiberty
40692 all-stage3-gcc: all-stage3-libiberty
40693 all-stage4-gcc: all-stage4-libiberty
40694 all-stageprofile-gcc: all-stageprofile-libiberty
40695 all-stagefeedback-gcc: all-stagefeedback-libiberty
40696 all-gcc: maybe-all-intl
40698 all-stage1-gcc: maybe-all-stage1-intl
40699 all-stage2-gcc: maybe-all-stage2-intl
40700 all-stage3-gcc: maybe-all-stage3-intl
40701 all-stage4-gcc: maybe-all-stage4-intl
40702 all-stageprofile-gcc: maybe-all-stageprofile-intl
40703 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
40704 all-gcc: maybe-all-build-texinfo
40706 all-stage1-gcc: maybe-all-build-texinfo
40707 all-stage2-gcc: maybe-all-build-texinfo
40708 all-stage3-gcc: maybe-all-build-texinfo
40709 all-stage4-gcc: maybe-all-build-texinfo
40710 all-stageprofile-gcc: maybe-all-build-texinfo
40711 all-stagefeedback-gcc: maybe-all-build-texinfo
40712 all-prebootstrap: maybe-all-build-texinfo
40713 all-gcc: maybe-all-build-bison
40715 all-stage1-gcc: maybe-all-build-bison
40716 all-stage2-gcc: maybe-all-build-bison
40717 all-stage3-gcc: maybe-all-build-bison
40718 all-stage4-gcc: maybe-all-build-bison
40719 all-stageprofile-gcc: maybe-all-build-bison
40720 all-stagefeedback-gcc: maybe-all-build-bison
40721 all-prebootstrap: maybe-all-build-bison
40722 all-gcc: maybe-all-build-byacc
40724 all-stage1-gcc: maybe-all-build-byacc
40725 all-stage2-gcc: maybe-all-build-byacc
40726 all-stage3-gcc: maybe-all-build-byacc
40727 all-stage4-gcc: maybe-all-build-byacc
40728 all-stageprofile-gcc: maybe-all-build-byacc
40729 all-stagefeedback-gcc: maybe-all-build-byacc
40730 all-prebootstrap: maybe-all-build-byacc
40731 all-gcc: maybe-all-build-flex
40733 all-stage1-gcc: maybe-all-build-flex
40734 all-stage2-gcc: maybe-all-build-flex
40735 all-stage3-gcc: maybe-all-build-flex
40736 all-stage4-gcc: maybe-all-build-flex
40737 all-stageprofile-gcc: maybe-all-build-flex
40738 all-stagefeedback-gcc: maybe-all-build-flex
40739 all-prebootstrap: maybe-all-build-flex
40740 all-gcc: maybe-all-build-libiberty
40742 all-stage1-gcc: maybe-all-build-libiberty
40743 all-stage2-gcc: maybe-all-build-libiberty
40744 all-stage3-gcc: maybe-all-build-libiberty
40745 all-stage4-gcc: maybe-all-build-libiberty
40746 all-stageprofile-gcc: maybe-all-build-libiberty
40747 all-stagefeedback-gcc: maybe-all-build-libiberty
40748 all-prebootstrap: maybe-all-build-libiberty
40749 all-gcc: maybe-all-build-fixincludes
40751 all-stage1-gcc: maybe-all-build-fixincludes
40752 all-stage2-gcc: maybe-all-build-fixincludes
40753 all-stage3-gcc: maybe-all-build-fixincludes
40754 all-stage4-gcc: maybe-all-build-fixincludes
40755 all-stageprofile-gcc: maybe-all-build-fixincludes
40756 all-stagefeedback-gcc: maybe-all-build-fixincludes
40757 all-prebootstrap: maybe-all-build-fixincludes
40758 all-gcc: maybe-all-zlib
40760 all-stage1-gcc: maybe-all-stage1-zlib
40761 all-stage2-gcc: maybe-all-stage2-zlib
40762 all-stage3-gcc: maybe-all-stage3-zlib
40763 all-stage4-gcc: maybe-all-stage4-zlib
40764 all-stageprofile-gcc: maybe-all-stageprofile-zlib
40765 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
40766 all-gcc: all-libcpp
40768 all-stage1-gcc: all-stage1-libcpp
40769 all-stage2-gcc: all-stage2-libcpp
40770 all-stage3-gcc: all-stage3-libcpp
40771 all-stage4-gcc: all-stage4-libcpp
40772 all-stageprofile-gcc: all-stageprofile-libcpp
40773 all-stagefeedback-gcc: all-stagefeedback-libcpp
40774 all-gcc: all-libdecnumber
40776 all-stage1-gcc: all-stage1-libdecnumber
40777 all-stage2-gcc: all-stage2-libdecnumber
40778 all-stage3-gcc: all-stage3-libdecnumber
40779 all-stage4-gcc: all-stage4-libdecnumber
40780 all-stageprofile-gcc: all-stageprofile-libdecnumber
40781 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
40782 all-gcc: maybe-all-libiberty
40784 all-stage1-gcc: maybe-all-stage1-libiberty
40785 all-stage2-gcc: maybe-all-stage2-libiberty
40786 all-stage3-gcc: maybe-all-stage3-libiberty
40787 all-stage4-gcc: maybe-all-stage4-libiberty
40788 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
40789 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
40790 all-gcc: maybe-all-fixincludes
40791 install-gcc: maybe-install-fixincludes
40792 configure-libcpp: configure-libiberty
40794 configure-stage1-libcpp: configure-stage1-libiberty
40795 configure-stage2-libcpp: configure-stage2-libiberty
40796 configure-stage3-libcpp: configure-stage3-libiberty
40797 configure-stage4-libcpp: configure-stage4-libiberty
40798 configure-stageprofile-libcpp: configure-stageprofile-libiberty
40799 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
40800 configure-libcpp: maybe-configure-intl
40802 configure-stage1-libcpp: maybe-configure-stage1-intl
40803 configure-stage2-libcpp: maybe-configure-stage2-intl
40804 configure-stage3-libcpp: maybe-configure-stage3-intl
40805 configure-stage4-libcpp: maybe-configure-stage4-intl
40806 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
40807 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
40808 all-libcpp: all-libiberty
40810 all-stage1-libcpp: all-stage1-libiberty
40811 all-stage2-libcpp: all-stage2-libiberty
40812 all-stage3-libcpp: all-stage3-libiberty
40813 all-stage4-libcpp: all-stage4-libiberty
40814 all-stageprofile-libcpp: all-stageprofile-libiberty
40815 all-stagefeedback-libcpp: all-stagefeedback-libiberty
40816 all-libcpp: maybe-all-intl
40818 all-stage1-libcpp: maybe-all-stage1-intl
40819 all-stage2-libcpp: maybe-all-stage2-intl
40820 all-stage3-libcpp: maybe-all-stage3-intl
40821 all-stage4-libcpp: maybe-all-stage4-intl
40822 all-stageprofile-libcpp: maybe-all-stageprofile-intl
40823 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
40824 all-fixincludes: maybe-all-libiberty
40825 all-gnattools: maybe-all-target-libada
40826 configure-gdb: maybe-configure-intl
40827 configure-gdb: maybe-configure-sim
40828 all-gdb: maybe-all-intl
40829 all-gdb: maybe-all-libiberty
40830 all-gdb: maybe-all-opcodes
40831 all-gdb: maybe-all-bfd
40832 all-gdb: maybe-all-readline
40833 all-gdb: maybe-all-build-bison
40834 all-gdb: maybe-all-build-byacc
40835 all-gdb: maybe-all-sim
40836 configure-libgui: maybe-configure-tcl
40837 configure-libgui: maybe-configure-tk
40838 all-libgui: maybe-all-tcl
40839 all-libgui: maybe-all-tk
40840 all-libgui: maybe-all-itcl
40841 configure-bfd: configure-libiberty
40843 configure-stage1-bfd: configure-stage1-libiberty
40844 configure-stage2-bfd: configure-stage2-libiberty
40845 configure-stage3-bfd: configure-stage3-libiberty
40846 configure-stage4-bfd: configure-stage4-libiberty
40847 configure-stageprofile-bfd: configure-stageprofile-libiberty
40848 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
40849 configure-bfd: maybe-configure-intl
40851 configure-stage1-bfd: maybe-configure-stage1-intl
40852 configure-stage2-bfd: maybe-configure-stage2-intl
40853 configure-stage3-bfd: maybe-configure-stage3-intl
40854 configure-stage4-bfd: maybe-configure-stage4-intl
40855 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
40856 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
40857 all-bfd: maybe-all-libiberty
40859 all-stage1-bfd: maybe-all-stage1-libiberty
40860 all-stage2-bfd: maybe-all-stage2-libiberty
40861 all-stage3-bfd: maybe-all-stage3-libiberty
40862 all-stage4-bfd: maybe-all-stage4-libiberty
40863 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
40864 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
40865 all-bfd: maybe-all-intl
40867 all-stage1-bfd: maybe-all-stage1-intl
40868 all-stage2-bfd: maybe-all-stage2-intl
40869 all-stage3-bfd: maybe-all-stage3-intl
40870 all-stage4-bfd: maybe-all-stage4-intl
40871 all-stageprofile-bfd: maybe-all-stageprofile-intl
40872 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
40873 configure-binutils: maybe-configure-intl
40875 configure-stage1-binutils: maybe-configure-stage1-intl
40876 configure-stage2-binutils: maybe-configure-stage2-intl
40877 configure-stage3-binutils: maybe-configure-stage3-intl
40878 configure-stage4-binutils: maybe-configure-stage4-intl
40879 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
40880 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
40881 all-binutils: maybe-all-libiberty
40883 all-stage1-binutils: maybe-all-stage1-libiberty
40884 all-stage2-binutils: maybe-all-stage2-libiberty
40885 all-stage3-binutils: maybe-all-stage3-libiberty
40886 all-stage4-binutils: maybe-all-stage4-libiberty
40887 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
40888 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
40889 all-binutils: maybe-all-opcodes
40891 all-stage1-binutils: maybe-all-stage1-opcodes
40892 all-stage2-binutils: maybe-all-stage2-opcodes
40893 all-stage3-binutils: maybe-all-stage3-opcodes
40894 all-stage4-binutils: maybe-all-stage4-opcodes
40895 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
40896 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
40897 all-binutils: maybe-all-bfd
40899 all-stage1-binutils: maybe-all-stage1-bfd
40900 all-stage2-binutils: maybe-all-stage2-bfd
40901 all-stage3-binutils: maybe-all-stage3-bfd
40902 all-stage4-binutils: maybe-all-stage4-bfd
40903 all-stageprofile-binutils: maybe-all-stageprofile-bfd
40904 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
40905 all-binutils: maybe-all-build-flex
40907 all-stage1-binutils: maybe-all-build-flex
40908 all-stage2-binutils: maybe-all-build-flex
40909 all-stage3-binutils: maybe-all-build-flex
40910 all-stage4-binutils: maybe-all-build-flex
40911 all-stageprofile-binutils: maybe-all-build-flex
40912 all-stagefeedback-binutils: maybe-all-build-flex
40913 all-prebootstrap: maybe-all-build-flex
40914 all-binutils: maybe-all-build-bison
40916 all-stage1-binutils: maybe-all-build-bison
40917 all-stage2-binutils: maybe-all-build-bison
40918 all-stage3-binutils: maybe-all-build-bison
40919 all-stage4-binutils: maybe-all-build-bison
40920 all-stageprofile-binutils: maybe-all-build-bison
40921 all-stagefeedback-binutils: maybe-all-build-bison
40922 all-prebootstrap: maybe-all-build-bison
40923 all-binutils: maybe-all-build-byacc
40925 all-stage1-binutils: maybe-all-build-byacc
40926 all-stage2-binutils: maybe-all-build-byacc
40927 all-stage3-binutils: maybe-all-build-byacc
40928 all-stage4-binutils: maybe-all-build-byacc
40929 all-stageprofile-binutils: maybe-all-build-byacc
40930 all-stagefeedback-binutils: maybe-all-build-byacc
40931 all-prebootstrap: maybe-all-build-byacc
40932 all-binutils: maybe-all-intl
40934 all-stage1-binutils: maybe-all-stage1-intl
40935 all-stage2-binutils: maybe-all-stage2-intl
40936 all-stage3-binutils: maybe-all-stage3-intl
40937 all-stage4-binutils: maybe-all-stage4-intl
40938 all-stageprofile-binutils: maybe-all-stageprofile-intl
40939 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
40940 install-binutils: maybe-install-opcodes
40941 install-opcodes: maybe-install-bfd
40942 configure-gas: maybe-configure-intl
40944 configure-stage1-gas: maybe-configure-stage1-intl
40945 configure-stage2-gas: maybe-configure-stage2-intl
40946 configure-stage3-gas: maybe-configure-stage3-intl
40947 configure-stage4-gas: maybe-configure-stage4-intl
40948 configure-stageprofile-gas: maybe-configure-stageprofile-intl
40949 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
40950 all-gas: maybe-all-libiberty
40952 all-stage1-gas: maybe-all-stage1-libiberty
40953 all-stage2-gas: maybe-all-stage2-libiberty
40954 all-stage3-gas: maybe-all-stage3-libiberty
40955 all-stage4-gas: maybe-all-stage4-libiberty
40956 all-stageprofile-gas: maybe-all-stageprofile-libiberty
40957 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
40958 all-gas: maybe-all-opcodes
40960 all-stage1-gas: maybe-all-stage1-opcodes
40961 all-stage2-gas: maybe-all-stage2-opcodes
40962 all-stage3-gas: maybe-all-stage3-opcodes
40963 all-stage4-gas: maybe-all-stage4-opcodes
40964 all-stageprofile-gas: maybe-all-stageprofile-opcodes
40965 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
40966 all-gas: maybe-all-bfd
40968 all-stage1-gas: maybe-all-stage1-bfd
40969 all-stage2-gas: maybe-all-stage2-bfd
40970 all-stage3-gas: maybe-all-stage3-bfd
40971 all-stage4-gas: maybe-all-stage4-bfd
40972 all-stageprofile-gas: maybe-all-stageprofile-bfd
40973 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
40974 all-gas: maybe-all-intl
40976 all-stage1-gas: maybe-all-stage1-intl
40977 all-stage2-gas: maybe-all-stage2-intl
40978 all-stage3-gas: maybe-all-stage3-intl
40979 all-stage4-gas: maybe-all-stage4-intl
40980 all-stageprofile-gas: maybe-all-stageprofile-intl
40981 all-stagefeedback-gas: maybe-all-stagefeedback-intl
40982 configure-gprof: maybe-configure-intl
40983 all-gprof: maybe-all-libiberty
40984 all-gprof: maybe-all-bfd
40985 all-gprof: maybe-all-opcodes
40986 all-gprof: maybe-all-intl
40987 configure-ld: maybe-configure-intl
40989 configure-stage1-ld: maybe-configure-stage1-intl
40990 configure-stage2-ld: maybe-configure-stage2-intl
40991 configure-stage3-ld: maybe-configure-stage3-intl
40992 configure-stage4-ld: maybe-configure-stage4-intl
40993 configure-stageprofile-ld: maybe-configure-stageprofile-intl
40994 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
40995 all-ld: maybe-all-libiberty
40997 all-stage1-ld: maybe-all-stage1-libiberty
40998 all-stage2-ld: maybe-all-stage2-libiberty
40999 all-stage3-ld: maybe-all-stage3-libiberty
41000 all-stage4-ld: maybe-all-stage4-libiberty
41001 all-stageprofile-ld: maybe-all-stageprofile-libiberty
41002 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
41003 all-ld: maybe-all-bfd
41005 all-stage1-ld: maybe-all-stage1-bfd
41006 all-stage2-ld: maybe-all-stage2-bfd
41007 all-stage3-ld: maybe-all-stage3-bfd
41008 all-stage4-ld: maybe-all-stage4-bfd
41009 all-stageprofile-ld: maybe-all-stageprofile-bfd
41010 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
41011 all-ld: maybe-all-opcodes
41013 all-stage1-ld: maybe-all-stage1-opcodes
41014 all-stage2-ld: maybe-all-stage2-opcodes
41015 all-stage3-ld: maybe-all-stage3-opcodes
41016 all-stage4-ld: maybe-all-stage4-opcodes
41017 all-stageprofile-ld: maybe-all-stageprofile-opcodes
41018 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
41019 all-ld: maybe-all-build-bison
41021 all-stage1-ld: maybe-all-build-bison
41022 all-stage2-ld: maybe-all-build-bison
41023 all-stage3-ld: maybe-all-build-bison
41024 all-stage4-ld: maybe-all-build-bison
41025 all-stageprofile-ld: maybe-all-build-bison
41026 all-stagefeedback-ld: maybe-all-build-bison
41027 all-prebootstrap: maybe-all-build-bison
41028 all-ld: maybe-all-build-byacc
41030 all-stage1-ld: maybe-all-build-byacc
41031 all-stage2-ld: maybe-all-build-byacc
41032 all-stage3-ld: maybe-all-build-byacc
41033 all-stage4-ld: maybe-all-build-byacc
41034 all-stageprofile-ld: maybe-all-build-byacc
41035 all-stagefeedback-ld: maybe-all-build-byacc
41036 all-prebootstrap: maybe-all-build-byacc
41037 all-ld: maybe-all-build-flex
41039 all-stage1-ld: maybe-all-build-flex
41040 all-stage2-ld: maybe-all-build-flex
41041 all-stage3-ld: maybe-all-build-flex
41042 all-stage4-ld: maybe-all-build-flex
41043 all-stageprofile-ld: maybe-all-build-flex
41044 all-stagefeedback-ld: maybe-all-build-flex
41045 all-prebootstrap: maybe-all-build-flex
41046 all-ld: maybe-all-intl
41048 all-stage1-ld: maybe-all-stage1-intl
41049 all-stage2-ld: maybe-all-stage2-intl
41050 all-stage3-ld: maybe-all-stage3-intl
41051 all-stage4-ld: maybe-all-stage4-intl
41052 all-stageprofile-ld: maybe-all-stageprofile-intl
41053 all-stagefeedback-ld: maybe-all-stagefeedback-intl
41054 all-opcodes: maybe-all-bfd
41056 all-stage1-opcodes: maybe-all-stage1-bfd
41057 all-stage2-opcodes: maybe-all-stage2-bfd
41058 all-stage3-opcodes: maybe-all-stage3-bfd
41059 all-stage4-opcodes: maybe-all-stage4-bfd
41060 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
41061 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
41062 all-opcodes: maybe-all-libiberty
41064 all-stage1-opcodes: maybe-all-stage1-libiberty
41065 all-stage2-opcodes: maybe-all-stage2-libiberty
41066 all-stage3-opcodes: maybe-all-stage3-libiberty
41067 all-stage4-opcodes: maybe-all-stage4-libiberty
41068 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
41069 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
41070 all-dejagnu: maybe-all-tcl
41071 all-dejagnu: maybe-all-expect
41072 all-dejagnu: maybe-all-tk
41073 configure-expect: maybe-configure-tcl
41074 configure-expect: maybe-configure-tk
41075 all-expect: maybe-all-tcl
41076 all-expect: maybe-all-tk
41077 configure-itcl: maybe-configure-tcl
41078 configure-itcl: maybe-configure-tk
41079 all-itcl: maybe-all-tcl
41080 all-itcl: maybe-all-tk
41081 install-itcl: maybe-install-tcl
41082 configure-tk: maybe-configure-tcl
41083 all-tk: maybe-all-tcl
41084 all-sid: maybe-all-libiberty
41085 all-sid: maybe-all-bfd
41086 all-sid: maybe-all-opcodes
41087 all-sid: maybe-all-tcl
41088 all-sid: maybe-all-tk
41089 install-sid: maybe-install-tcl
41090 install-sid: maybe-install-tk
41091 configure-sim: maybe-configure-intl
41092 all-sim: maybe-all-intl
41093 all-sim: maybe-all-libiberty
41094 all-sim: maybe-all-bfd
41095 all-sim: maybe-all-opcodes
41096 all-sim: maybe-all-readline
41097 all-sim: maybe-configure-gdb
41098 all-fastjar: maybe-all-zlib
41099 all-fastjar: maybe-all-build-texinfo
41100 all-fastjar: maybe-all-libiberty
41101 all-autoconf: maybe-all-m4
41102 all-autoconf: maybe-all-build-texinfo
41103 all-automake: maybe-all-m4
41104 all-automake: maybe-all-build-texinfo
41105 all-automake: maybe-all-autoconf
41106 all-bison: maybe-all-intl
41107 all-bison: maybe-all-build-texinfo
41108 all-diff: maybe-all-intl
41109 all-diff: maybe-all-build-texinfo
41110 all-fileutils: maybe-all-intl
41111 all-fileutils: maybe-all-build-texinfo
41112 all-flex: maybe-all-build-bison
41113 all-flex: maybe-all-build-byacc
41114 all-flex: maybe-all-intl
41115 all-flex: maybe-all-m4
41116 all-flex: maybe-all-build-texinfo
41117 all-gzip: maybe-all-intl
41118 all-gzip: maybe-all-zlib
41119 all-gzip: maybe-all-build-texinfo
41120 all-hello: maybe-all-intl
41121 all-hello: maybe-all-build-texinfo
41122 all-m4: maybe-all-intl
41123 all-m4: maybe-all-build-texinfo
41124 all-make: maybe-all-intl
41125 all-make: maybe-all-build-texinfo
41126 all-patch: maybe-all-build-texinfo
41127 all-make: maybe-all-build-texinfo
41128 all-prms: maybe-all-libiberty
41129 all-recode: maybe-all-build-texinfo
41130 all-sed: maybe-all-build-texinfo
41131 all-send-pr: maybe-all-prms
41132 all-tar: maybe-all-build-texinfo
41133 all-uudecode: maybe-all-build-texinfo
41134 configure-target-boehm-gc: maybe-configure-target-qthreads
41135 configure-target-fastjar: maybe-configure-target-zlib
41136 all-target-fastjar: maybe-all-target-zlib
41137 all-target-fastjar: maybe-all-target-libiberty
41138 configure-target-libjava: maybe-configure-target-zlib
41139 configure-target-libjava: maybe-configure-target-boehm-gc
41140 configure-target-libjava: maybe-configure-target-qthreads
41141 configure-target-libjava: maybe-configure-target-libffi
41142 all-target-libjava: maybe-all-fastjar
41143 all-target-libjava: maybe-all-target-zlib
41144 all-target-libjava: maybe-all-target-boehm-gc
41145 all-target-libjava: maybe-all-target-qthreads
41146 all-target-libjava: maybe-all-target-libffi
41147 configure-target-libobjc: maybe-configure-target-boehm-gc
41148 all-target-libobjc: maybe-all-target-libiberty
41149 all-target-libobjc: maybe-all-target-boehm-gc
41150 all-target-libstdc++-v3: maybe-all-target-libiberty
41151 all-target-libgloss: maybe-configure-target-newlib
41152 all-target-winsup: maybe-all-target-libiberty
41153 all-target-winsup: maybe-all-target-libtermcap
41156 # Non-toplevel bootstrap rules must depend on several packages, to be built
41157 # before gcc. Another wart that will go away, hopefully soon.
41158 @if gcc-no-bootstrap
41160 all-prebootstrap: maybe-all-bfd
41161 all-prebootstrap: maybe-all-opcodes
41162 all-prebootstrap: maybe-all-binutils
41163 all-prebootstrap: maybe-all-gas
41164 all-prebootstrap: maybe-all-intl
41165 all-prebootstrap: maybe-all-ld
41166 all-prebootstrap: maybe-all-libcpp
41167 all-prebootstrap: maybe-all-libdecnumber
41168 all-prebootstrap: maybe-all-libiberty
41169 all-prebootstrap: maybe-all-zlib
41170 @endif gcc-no-bootstrap
41172 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
41173 GDB_TK = @GDB_TK@
41174 INSTALL_GDB_TK = @INSTALL_GDB_TK@
41175 configure-gdb: $(CONFIGURE_GDB_TK)
41176 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
41177 install-gdb: $(INSTALL_GDB_TK)
41179 # Serialization dependencies. Host configures don't work well in parallel to
41180 # each other, due to contention over config.cache. Target configures and
41181 # build configures are similar.
41182 @serialization_dependencies@
41184 # --------------------------------
41185 # Regenerating top level configury
41186 # --------------------------------
41188 # Rebuilding Makefile.in, using autogen.
41189 AUTOGEN = autogen
41190 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
41191 cd $(srcdir) && $(AUTOGEN) Makefile.def
41193 # Rebuilding Makefile.
41194 Makefile: $(srcdir)/Makefile.in config.status
41195 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
41197 config.status: configure
41198 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
41200 # Rebuilding configure.
41201 AUTOCONF = autoconf
41202 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
41203 cd $(srcdir) && $(AUTOCONF)
41205 # ------------------------------
41206 # Special directives to GNU Make
41207 # ------------------------------
41209 # Don't pass command-line variables to submakes.
41210 .NOEXPORT:
41211 MAKEOVERRIDES=
41213 # end of Makefile.in