* ca.po, rw.po: Remove.
[official-gcc.git] / Makefile.in
blob218d8faabe909bdc38854ecf4e62eae76e3d4e52
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
84 GDB_NLM_DEPS =
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory. It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101 FLEX="$(FLEX)"; export FLEX; \
102 LEX="$(LEX)"; export LEX; \
103 BISON="$(BISON)"; export BISON; \
104 YACC="$(YACC)"; export YACC; \
105 M4="$(M4)"; export M4; \
106 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111 $(BASE_EXPORTS) \
112 AR="$(AR_FOR_BUILD)"; export AR; \
113 AS="$(AS_FOR_BUILD)"; export AS; \
114 CC="$(CC_FOR_BUILD)"; export CC; \
115 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117 CXX="$(CXX_FOR_BUILD)"; export CXX; \
118 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122 LD="$(LD_FOR_BUILD)"; export LD; \
123 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124 NM="$(NM_FOR_BUILD)"; export NM; \
125 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system. We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140 $(BASE_EXPORTS) \
141 CC="$(CC)"; export CC; \
142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144 CXX="$(CXX)"; export CXX; \
145 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146 AR="$(AR)"; export AR; \
147 AS="$(AS)"; export AS; \
148 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150 LD="$(LD)"; export LD; \
151 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152 NM="$(NM)"; export NM; \
153 RANLIB="$(RANLIB)"; export RANLIB; \
154 WINDRES="$(WINDRES)"; export WINDRES; \
155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
181 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
182 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # Only build the C compiler for stage1, because that is the only one that
298 # we can guarantee will build with the native compiler, and also it is the
299 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
300 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
301 # overrideable (for a bootstrap build stage1 also builds gcc.info).
303 STAGE1_CFLAGS=@stage1_cflags@
304 STAGE1_CHECKING=@stage1_checking@
305 STAGE1_LANGUAGES=@stage1_languages@
307 # -----------------------------------------------
308 # Programs producing files for the TARGET machine
309 # -----------------------------------------------
311 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
313 AR_FOR_TARGET=@AR_FOR_TARGET@
314 AS_FOR_TARGET=@AS_FOR_TARGET@
315 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
317 # If GCC_FOR_TARGET is not overriden on the command line, then this
318 # variable is passed down to the gcc Makefile, where it is used to
319 # build libgcc2.a. We define it here so that it can itself be
320 # overridden on the command line.
321 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
322 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
323 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
324 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
325 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
326 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
327 LD_FOR_TARGET=@LD_FOR_TARGET@
329 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
330 NM_FOR_TARGET=@NM_FOR_TARGET@
331 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
332 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
333 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
334 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
336 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
337 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
338 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
340 # During gcc bootstrap, if we use some random cc for stage1 then
341 # CFLAGS will be just -g. We want to ensure that TARGET libraries
342 # (which we know are built with gcc) are built with optimizations so
343 # prepend -O2 when setting CFLAGS_FOR_TARGET.
344 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
345 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
346 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
347 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
348 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
349 LDFLAGS_FOR_TARGET =
350 PICFLAG_FOR_TARGET =
352 # ------------------------------------
353 # Miscellaneous targets and flag lists
354 # ------------------------------------
356 # The first rule in the file had better be this one. Don't put any above it.
357 # This lives here to allow makefile fragments to contain dependencies.
358 all:
360 #### host and target specific makefile fragments come in here.
361 @target_makefile_frag@
362 @alphaieee_frag@
363 @ospace_frag@
364 @host_makefile_frag@
367 # This is the list of directories that may be needed in RPATH_ENVVAR
368 # so that prorgams built for the target machine work.
369 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
371 @if target-libstdc++-v3
372 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
373 @endif target-libstdc++-v3
375 @if target-libmudflap
376 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
377 @endif target-libmudflap
379 @if target-libssp
380 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
381 @endif target-libssp
383 @if target-libgomp
384 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
385 @endif target-libgomp
389 # This is the list of directories that may be needed in RPATH_ENVVAR
390 # so that programs built for the host machine work.
391 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
393 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
394 @if gcc
395 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
396 @endif gcc
399 @if bfd
400 HOST_LIB_PATH_bfd = \
401 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
402 @endif bfd
404 @if opcodes
405 HOST_LIB_PATH_opcodes = \
406 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
407 @endif opcodes
410 # Flags to pass down to all sub-makes.
411 BASE_FLAGS_TO_PASS = \
412 "DESTDIR=$(DESTDIR)" \
413 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
414 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
415 "bindir=$(bindir)" \
416 "datadir=$(datadir)" \
417 "exec_prefix=$(exec_prefix)" \
418 "includedir=$(includedir)" \
419 "datarootdir=$(datarootdir)" \
420 "docdir=$(docdir)" \
421 "infodir=$(infodir)" \
422 "htmldir=$(htmldir)" \
423 "libdir=$(libdir)" \
424 "libexecdir=$(libexecdir)" \
425 "lispdir=$(lispdir)" \
426 "localstatedir=$(localstatedir)" \
427 "mandir=$(mandir)" \
428 "oldincludedir=$(oldincludedir)" \
429 "prefix=$(prefix)" \
430 "sbindir=$(sbindir)" \
431 "sharedstatedir=$(sharedstatedir)" \
432 "sysconfdir=$(sysconfdir)" \
433 "tooldir=$(tooldir)" \
434 "build_tooldir=$(build_tooldir)" \
435 "target_alias=$(target_alias)" \
436 "BISON=$(BISON)" \
437 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
438 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
439 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
440 "EXPECT=$(EXPECT)" \
441 "FLEX=$(FLEX)" \
442 "INSTALL=$(INSTALL)" \
443 "INSTALL_DATA=$(INSTALL_DATA)" \
444 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
445 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
446 "LEX=$(LEX)" \
447 "M4=$(M4)" \
448 "MAKE=$(MAKE)" \
449 "RUNTEST=$(RUNTEST)" \
450 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
451 "SHELL=$(SHELL)" \
452 "YACC=$(YACC)" \
453 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
454 "AR_FLAGS=$(AR_FLAGS)" \
455 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
456 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
457 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
458 "CFLAGS=$(CFLAGS)" \
459 "CXXFLAGS=$(CXXFLAGS)" \
460 "LDFLAGS=$(LDFLAGS)" \
461 "LIBCFLAGS=$(LIBCFLAGS)" \
462 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
463 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
464 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
465 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
466 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
467 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
468 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
469 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
470 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
471 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
472 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
473 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
474 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
475 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
476 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
477 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
478 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
479 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
480 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
481 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
482 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
483 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
484 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
485 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
486 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
487 "LEAN=$(LEAN)" \
488 "CONFIG_SHELL=$(SHELL)" \
489 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
491 # We leave this in just in case, but it is not needed anymore.
492 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
494 # Flags to pass down to most sub-makes, in which we're building with
495 # the host environment.
496 EXTRA_HOST_FLAGS = \
497 'AR=$(AR)' \
498 'AS=$(AS)' \
499 'CC=$(CC)' \
500 'CXX=$(CXX)' \
501 'DLLTOOL=$(DLLTOOL)' \
502 'LD=$(LD)' \
503 'LIPO=$(LIPO)' \
504 'NM=$(NM)' \
505 'OBJDUMP=$(OBJDUMP)' \
506 'RANLIB=$(RANLIB)' \
507 'STRIP=$(STRIP)' \
508 'WINDRES=$(WINDRES)'
510 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
512 # Flags that are concerned with the location of the X11 include files
513 # and library files
515 # NOTE: until the top-level is getting the values via autoconf, it only
516 # causes problems to have this top-level Makefile overriding the autoconf-set
517 # values in child directories. Only variables that don't conflict with
518 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
520 X11_FLAGS_TO_PASS = \
521 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
522 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
524 # Flags to pass to stage2 and later makes.
526 POSTSTAGE1_FLAGS_TO_PASS = \
527 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
528 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
529 CFLAGS="$(BOOT_CFLAGS)" \
530 LIBCFLAGS="$(BOOT_CFLAGS)" \
531 LDFLAGS="$(BOOT_LDFLAGS)" \
532 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
534 # Flags to pass down to makes which are built with the target environment.
535 # The double $ decreases the length of the command line; those variables
536 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
537 # COMPILER_ prefixed variables are not passed down so we expand them here.
538 EXTRA_TARGET_FLAGS = \
539 'AR=$$(AR_FOR_TARGET)' \
540 'AS=$(COMPILER_AS_FOR_TARGET)' \
541 'CC=$$(CC_FOR_TARGET)' \
542 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
543 'CXX=$$(CXX_FOR_TARGET)' \
544 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
545 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
546 'LD=$(COMPILER_LD_FOR_TARGET)' \
547 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
548 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
549 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
550 'NM=$(COMPILER_NM_FOR_TARGET)' \
551 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
552 'RANLIB=$$(RANLIB_FOR_TARGET)' \
553 'WINDRES=$$(WINDRES_FOR_TARGET)'
555 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
557 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
558 # unfortunately needs the native compiler and the target ar and
559 # ranlib.
560 # If any variables are added here, they must be added to do-*, below.
561 # The BUILD_* variables are a special case, which are used for the gcc
562 # cross-building scheme.
563 EXTRA_GCC_FLAGS = \
564 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
565 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
566 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
567 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
568 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
569 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
571 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
573 .PHONY: configure-host
574 configure-host: \
575 maybe-configure-ash \
576 maybe-configure-autoconf \
577 maybe-configure-automake \
578 maybe-configure-bash \
579 maybe-configure-bfd \
580 maybe-configure-opcodes \
581 maybe-configure-binutils \
582 maybe-configure-bison \
583 maybe-configure-byacc \
584 maybe-configure-bzip2 \
585 maybe-configure-dejagnu \
586 maybe-configure-diff \
587 maybe-configure-dosutils \
588 maybe-configure-etc \
589 maybe-configure-fastjar \
590 maybe-configure-fileutils \
591 maybe-configure-findutils \
592 maybe-configure-find \
593 maybe-configure-fixincludes \
594 maybe-configure-flex \
595 maybe-configure-gas \
596 maybe-configure-gcc \
597 maybe-configure-gawk \
598 maybe-configure-gettext \
599 maybe-configure-gnuserv \
600 maybe-configure-gprof \
601 maybe-configure-gzip \
602 maybe-configure-hello \
603 maybe-configure-indent \
604 maybe-configure-intl \
605 maybe-configure-tcl \
606 maybe-configure-itcl \
607 maybe-configure-ld \
608 maybe-configure-libcpp \
609 maybe-configure-libdecnumber \
610 maybe-configure-libgui \
611 maybe-configure-libiberty \
612 maybe-configure-libtool \
613 maybe-configure-m4 \
614 maybe-configure-make \
615 maybe-configure-mmalloc \
616 maybe-configure-patch \
617 maybe-configure-perl \
618 maybe-configure-prms \
619 maybe-configure-rcs \
620 maybe-configure-readline \
621 maybe-configure-release \
622 maybe-configure-recode \
623 maybe-configure-sed \
624 maybe-configure-send-pr \
625 maybe-configure-shellutils \
626 maybe-configure-sid \
627 maybe-configure-sim \
628 maybe-configure-tar \
629 maybe-configure-texinfo \
630 maybe-configure-textutils \
631 maybe-configure-time \
632 maybe-configure-uudecode \
633 maybe-configure-wdiff \
634 maybe-configure-zip \
635 maybe-configure-zlib \
636 maybe-configure-gdb \
637 maybe-configure-expect \
638 maybe-configure-guile \
639 maybe-configure-tk \
640 maybe-configure-libtermcap \
641 maybe-configure-utils \
642 maybe-configure-gnattools
643 .PHONY: configure-target
644 configure-target: \
645 maybe-configure-target-libstdc++-v3 \
646 maybe-configure-target-libmudflap \
647 maybe-configure-target-libssp \
648 maybe-configure-target-newlib \
649 maybe-configure-target-libgfortran \
650 maybe-configure-target-libobjc \
651 maybe-configure-target-libtermcap \
652 maybe-configure-target-winsup \
653 maybe-configure-target-libgloss \
654 maybe-configure-target-libiberty \
655 maybe-configure-target-gperf \
656 maybe-configure-target-examples \
657 maybe-configure-target-libffi \
658 maybe-configure-target-libjava \
659 maybe-configure-target-zlib \
660 maybe-configure-target-boehm-gc \
661 maybe-configure-target-qthreads \
662 maybe-configure-target-rda \
663 maybe-configure-target-libada \
664 maybe-configure-target-libgomp
666 # The target built for a native non-bootstrap build.
667 .PHONY: all
668 all:
669 @if gcc-bootstrap
670 [ -f stage_final ] || echo stage3 > stage_final
671 @r=`${PWD_COMMAND}`; export r; \
672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
673 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
674 @endif gcc-bootstrap
675 @: $(MAKE); $(unstage)
676 @r=`${PWD_COMMAND}`; export r; \
677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
678 if [ -f stage_last ]; then \
679 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
680 else \
681 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
684 .PHONY: all-build
686 all-build: maybe-all-build-libiberty
687 all-build: maybe-all-build-bison
688 all-build: maybe-all-build-byacc
689 all-build: maybe-all-build-flex
690 all-build: maybe-all-build-m4
691 all-build: maybe-all-build-texinfo
692 all-build: maybe-all-build-fixincludes
694 .PHONY: all-host
696 all-host: maybe-all-ash
697 all-host: maybe-all-autoconf
698 all-host: maybe-all-automake
699 all-host: maybe-all-bash
700 @if bfd-no-bootstrap
701 all-host: maybe-all-bfd
702 @endif bfd-no-bootstrap
703 @if opcodes-no-bootstrap
704 all-host: maybe-all-opcodes
705 @endif opcodes-no-bootstrap
706 @if binutils-no-bootstrap
707 all-host: maybe-all-binutils
708 @endif binutils-no-bootstrap
709 all-host: maybe-all-bison
710 all-host: maybe-all-byacc
711 all-host: maybe-all-bzip2
712 all-host: maybe-all-dejagnu
713 all-host: maybe-all-diff
714 all-host: maybe-all-dosutils
715 all-host: maybe-all-etc
716 all-host: maybe-all-fastjar
717 all-host: maybe-all-fileutils
718 all-host: maybe-all-findutils
719 all-host: maybe-all-find
720 all-host: maybe-all-fixincludes
721 all-host: maybe-all-flex
722 @if gas-no-bootstrap
723 all-host: maybe-all-gas
724 @endif gas-no-bootstrap
725 @if gcc-no-bootstrap
726 all-host: maybe-all-gcc
727 @endif gcc-no-bootstrap
728 all-host: maybe-all-gawk
729 all-host: maybe-all-gettext
730 all-host: maybe-all-gnuserv
731 all-host: maybe-all-gprof
732 all-host: maybe-all-gzip
733 all-host: maybe-all-hello
734 all-host: maybe-all-indent
735 @if intl-no-bootstrap
736 all-host: maybe-all-intl
737 @endif intl-no-bootstrap
738 all-host: maybe-all-tcl
739 all-host: maybe-all-itcl
740 @if ld-no-bootstrap
741 all-host: maybe-all-ld
742 @endif ld-no-bootstrap
743 @if libcpp-no-bootstrap
744 all-host: maybe-all-libcpp
745 @endif libcpp-no-bootstrap
746 @if libdecnumber-no-bootstrap
747 all-host: maybe-all-libdecnumber
748 @endif libdecnumber-no-bootstrap
749 all-host: maybe-all-libgui
750 @if libiberty-no-bootstrap
751 all-host: maybe-all-libiberty
752 @endif libiberty-no-bootstrap
753 all-host: maybe-all-libtool
754 all-host: maybe-all-m4
755 all-host: maybe-all-make
756 all-host: maybe-all-mmalloc
757 all-host: maybe-all-patch
758 all-host: maybe-all-perl
759 all-host: maybe-all-prms
760 all-host: maybe-all-rcs
761 all-host: maybe-all-readline
762 all-host: maybe-all-release
763 all-host: maybe-all-recode
764 all-host: maybe-all-sed
765 all-host: maybe-all-send-pr
766 all-host: maybe-all-shellutils
767 all-host: maybe-all-sid
768 all-host: maybe-all-sim
769 all-host: maybe-all-tar
770 all-host: maybe-all-texinfo
771 all-host: maybe-all-textutils
772 all-host: maybe-all-time
773 all-host: maybe-all-uudecode
774 all-host: maybe-all-wdiff
775 all-host: maybe-all-zip
776 @if zlib-no-bootstrap
777 all-host: maybe-all-zlib
778 @endif zlib-no-bootstrap
779 all-host: maybe-all-gdb
780 all-host: maybe-all-expect
781 all-host: maybe-all-guile
782 all-host: maybe-all-tk
783 all-host: maybe-all-libtermcap
784 all-host: maybe-all-utils
785 all-host: maybe-all-gnattools
787 .PHONY: all-target
789 all-target: maybe-all-target-libstdc++-v3
790 all-target: maybe-all-target-libmudflap
791 all-target: maybe-all-target-libssp
792 all-target: maybe-all-target-newlib
793 all-target: maybe-all-target-libgfortran
794 all-target: maybe-all-target-libobjc
795 all-target: maybe-all-target-libtermcap
796 all-target: maybe-all-target-winsup
797 all-target: maybe-all-target-libgloss
798 all-target: maybe-all-target-libiberty
799 all-target: maybe-all-target-gperf
800 all-target: maybe-all-target-examples
801 all-target: maybe-all-target-libffi
802 all-target: maybe-all-target-libjava
803 all-target: maybe-all-target-zlib
804 all-target: maybe-all-target-boehm-gc
805 all-target: maybe-all-target-qthreads
806 all-target: maybe-all-target-rda
807 all-target: maybe-all-target-libada
808 all-target: maybe-all-target-libgomp
810 # Do a target for all the subdirectories. A ``make do-X'' will do a
811 # ``make X'' in all subdirectories (because, in general, there is a
812 # dependency (below) of X upon do-X, a ``make X'' will also do this,
813 # but it may do additional work as well).
815 .PHONY: do-info
816 do-info:
817 @: $(MAKE); $(unstage)
818 @r=`${PWD_COMMAND}`; export r; \
819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
820 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
821 info-target
824 .PHONY: info-host
826 info-host: maybe-info-ash
827 info-host: maybe-info-autoconf
828 info-host: maybe-info-automake
829 info-host: maybe-info-bash
830 info-host: maybe-info-bfd
831 info-host: maybe-info-opcodes
832 info-host: maybe-info-binutils
833 info-host: maybe-info-bison
834 info-host: maybe-info-byacc
835 info-host: maybe-info-bzip2
836 info-host: maybe-info-dejagnu
837 info-host: maybe-info-diff
838 info-host: maybe-info-dosutils
839 info-host: maybe-info-etc
840 info-host: maybe-info-fastjar
841 info-host: maybe-info-fileutils
842 info-host: maybe-info-findutils
843 info-host: maybe-info-find
844 info-host: maybe-info-fixincludes
845 info-host: maybe-info-flex
846 info-host: maybe-info-gas
847 info-host: maybe-info-gcc
848 info-host: maybe-info-gawk
849 info-host: maybe-info-gettext
850 info-host: maybe-info-gnuserv
851 info-host: maybe-info-gprof
852 info-host: maybe-info-gzip
853 info-host: maybe-info-hello
854 info-host: maybe-info-indent
855 info-host: maybe-info-intl
856 info-host: maybe-info-tcl
857 info-host: maybe-info-itcl
858 info-host: maybe-info-ld
859 info-host: maybe-info-libcpp
860 info-host: maybe-info-libdecnumber
861 info-host: maybe-info-libgui
862 info-host: maybe-info-libiberty
863 info-host: maybe-info-libtool
864 info-host: maybe-info-m4
865 info-host: maybe-info-make
866 info-host: maybe-info-mmalloc
867 info-host: maybe-info-patch
868 info-host: maybe-info-perl
869 info-host: maybe-info-prms
870 info-host: maybe-info-rcs
871 info-host: maybe-info-readline
872 info-host: maybe-info-release
873 info-host: maybe-info-recode
874 info-host: maybe-info-sed
875 info-host: maybe-info-send-pr
876 info-host: maybe-info-shellutils
877 info-host: maybe-info-sid
878 info-host: maybe-info-sim
879 info-host: maybe-info-tar
880 info-host: maybe-info-texinfo
881 info-host: maybe-info-textutils
882 info-host: maybe-info-time
883 info-host: maybe-info-uudecode
884 info-host: maybe-info-wdiff
885 info-host: maybe-info-zip
886 info-host: maybe-info-zlib
887 info-host: maybe-info-gdb
888 info-host: maybe-info-expect
889 info-host: maybe-info-guile
890 info-host: maybe-info-tk
891 info-host: maybe-info-libtermcap
892 info-host: maybe-info-utils
893 info-host: maybe-info-gnattools
895 .PHONY: info-target
897 info-target: maybe-info-target-libstdc++-v3
898 info-target: maybe-info-target-libmudflap
899 info-target: maybe-info-target-libssp
900 info-target: maybe-info-target-newlib
901 info-target: maybe-info-target-libgfortran
902 info-target: maybe-info-target-libobjc
903 info-target: maybe-info-target-libtermcap
904 info-target: maybe-info-target-winsup
905 info-target: maybe-info-target-libgloss
906 info-target: maybe-info-target-libiberty
907 info-target: maybe-info-target-gperf
908 info-target: maybe-info-target-examples
909 info-target: maybe-info-target-libffi
910 info-target: maybe-info-target-libjava
911 info-target: maybe-info-target-zlib
912 info-target: maybe-info-target-boehm-gc
913 info-target: maybe-info-target-qthreads
914 info-target: maybe-info-target-rda
915 info-target: maybe-info-target-libada
916 info-target: maybe-info-target-libgomp
918 .PHONY: do-dvi
919 do-dvi:
920 @: $(MAKE); $(unstage)
921 @r=`${PWD_COMMAND}`; export r; \
922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
923 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
924 dvi-target
927 .PHONY: dvi-host
929 dvi-host: maybe-dvi-ash
930 dvi-host: maybe-dvi-autoconf
931 dvi-host: maybe-dvi-automake
932 dvi-host: maybe-dvi-bash
933 dvi-host: maybe-dvi-bfd
934 dvi-host: maybe-dvi-opcodes
935 dvi-host: maybe-dvi-binutils
936 dvi-host: maybe-dvi-bison
937 dvi-host: maybe-dvi-byacc
938 dvi-host: maybe-dvi-bzip2
939 dvi-host: maybe-dvi-dejagnu
940 dvi-host: maybe-dvi-diff
941 dvi-host: maybe-dvi-dosutils
942 dvi-host: maybe-dvi-etc
943 dvi-host: maybe-dvi-fastjar
944 dvi-host: maybe-dvi-fileutils
945 dvi-host: maybe-dvi-findutils
946 dvi-host: maybe-dvi-find
947 dvi-host: maybe-dvi-fixincludes
948 dvi-host: maybe-dvi-flex
949 dvi-host: maybe-dvi-gas
950 dvi-host: maybe-dvi-gcc
951 dvi-host: maybe-dvi-gawk
952 dvi-host: maybe-dvi-gettext
953 dvi-host: maybe-dvi-gnuserv
954 dvi-host: maybe-dvi-gprof
955 dvi-host: maybe-dvi-gzip
956 dvi-host: maybe-dvi-hello
957 dvi-host: maybe-dvi-indent
958 dvi-host: maybe-dvi-intl
959 dvi-host: maybe-dvi-tcl
960 dvi-host: maybe-dvi-itcl
961 dvi-host: maybe-dvi-ld
962 dvi-host: maybe-dvi-libcpp
963 dvi-host: maybe-dvi-libdecnumber
964 dvi-host: maybe-dvi-libgui
965 dvi-host: maybe-dvi-libiberty
966 dvi-host: maybe-dvi-libtool
967 dvi-host: maybe-dvi-m4
968 dvi-host: maybe-dvi-make
969 dvi-host: maybe-dvi-mmalloc
970 dvi-host: maybe-dvi-patch
971 dvi-host: maybe-dvi-perl
972 dvi-host: maybe-dvi-prms
973 dvi-host: maybe-dvi-rcs
974 dvi-host: maybe-dvi-readline
975 dvi-host: maybe-dvi-release
976 dvi-host: maybe-dvi-recode
977 dvi-host: maybe-dvi-sed
978 dvi-host: maybe-dvi-send-pr
979 dvi-host: maybe-dvi-shellutils
980 dvi-host: maybe-dvi-sid
981 dvi-host: maybe-dvi-sim
982 dvi-host: maybe-dvi-tar
983 dvi-host: maybe-dvi-texinfo
984 dvi-host: maybe-dvi-textutils
985 dvi-host: maybe-dvi-time
986 dvi-host: maybe-dvi-uudecode
987 dvi-host: maybe-dvi-wdiff
988 dvi-host: maybe-dvi-zip
989 dvi-host: maybe-dvi-zlib
990 dvi-host: maybe-dvi-gdb
991 dvi-host: maybe-dvi-expect
992 dvi-host: maybe-dvi-guile
993 dvi-host: maybe-dvi-tk
994 dvi-host: maybe-dvi-libtermcap
995 dvi-host: maybe-dvi-utils
996 dvi-host: maybe-dvi-gnattools
998 .PHONY: dvi-target
1000 dvi-target: maybe-dvi-target-libstdc++-v3
1001 dvi-target: maybe-dvi-target-libmudflap
1002 dvi-target: maybe-dvi-target-libssp
1003 dvi-target: maybe-dvi-target-newlib
1004 dvi-target: maybe-dvi-target-libgfortran
1005 dvi-target: maybe-dvi-target-libobjc
1006 dvi-target: maybe-dvi-target-libtermcap
1007 dvi-target: maybe-dvi-target-winsup
1008 dvi-target: maybe-dvi-target-libgloss
1009 dvi-target: maybe-dvi-target-libiberty
1010 dvi-target: maybe-dvi-target-gperf
1011 dvi-target: maybe-dvi-target-examples
1012 dvi-target: maybe-dvi-target-libffi
1013 dvi-target: maybe-dvi-target-libjava
1014 dvi-target: maybe-dvi-target-zlib
1015 dvi-target: maybe-dvi-target-boehm-gc
1016 dvi-target: maybe-dvi-target-qthreads
1017 dvi-target: maybe-dvi-target-rda
1018 dvi-target: maybe-dvi-target-libada
1019 dvi-target: maybe-dvi-target-libgomp
1021 .PHONY: do-pdf
1022 do-pdf:
1023 @: $(MAKE); $(unstage)
1024 @r=`${PWD_COMMAND}`; export r; \
1025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1026 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1027 pdf-target
1030 .PHONY: pdf-host
1032 pdf-host: maybe-pdf-ash
1033 pdf-host: maybe-pdf-autoconf
1034 pdf-host: maybe-pdf-automake
1035 pdf-host: maybe-pdf-bash
1036 pdf-host: maybe-pdf-bfd
1037 pdf-host: maybe-pdf-opcodes
1038 pdf-host: maybe-pdf-binutils
1039 pdf-host: maybe-pdf-bison
1040 pdf-host: maybe-pdf-byacc
1041 pdf-host: maybe-pdf-bzip2
1042 pdf-host: maybe-pdf-dejagnu
1043 pdf-host: maybe-pdf-diff
1044 pdf-host: maybe-pdf-dosutils
1045 pdf-host: maybe-pdf-etc
1046 pdf-host: maybe-pdf-fastjar
1047 pdf-host: maybe-pdf-fileutils
1048 pdf-host: maybe-pdf-findutils
1049 pdf-host: maybe-pdf-find
1050 pdf-host: maybe-pdf-fixincludes
1051 pdf-host: maybe-pdf-flex
1052 pdf-host: maybe-pdf-gas
1053 pdf-host: maybe-pdf-gcc
1054 pdf-host: maybe-pdf-gawk
1055 pdf-host: maybe-pdf-gettext
1056 pdf-host: maybe-pdf-gnuserv
1057 pdf-host: maybe-pdf-gprof
1058 pdf-host: maybe-pdf-gzip
1059 pdf-host: maybe-pdf-hello
1060 pdf-host: maybe-pdf-indent
1061 pdf-host: maybe-pdf-intl
1062 pdf-host: maybe-pdf-tcl
1063 pdf-host: maybe-pdf-itcl
1064 pdf-host: maybe-pdf-ld
1065 pdf-host: maybe-pdf-libcpp
1066 pdf-host: maybe-pdf-libdecnumber
1067 pdf-host: maybe-pdf-libgui
1068 pdf-host: maybe-pdf-libiberty
1069 pdf-host: maybe-pdf-libtool
1070 pdf-host: maybe-pdf-m4
1071 pdf-host: maybe-pdf-make
1072 pdf-host: maybe-pdf-mmalloc
1073 pdf-host: maybe-pdf-patch
1074 pdf-host: maybe-pdf-perl
1075 pdf-host: maybe-pdf-prms
1076 pdf-host: maybe-pdf-rcs
1077 pdf-host: maybe-pdf-readline
1078 pdf-host: maybe-pdf-release
1079 pdf-host: maybe-pdf-recode
1080 pdf-host: maybe-pdf-sed
1081 pdf-host: maybe-pdf-send-pr
1082 pdf-host: maybe-pdf-shellutils
1083 pdf-host: maybe-pdf-sid
1084 pdf-host: maybe-pdf-sim
1085 pdf-host: maybe-pdf-tar
1086 pdf-host: maybe-pdf-texinfo
1087 pdf-host: maybe-pdf-textutils
1088 pdf-host: maybe-pdf-time
1089 pdf-host: maybe-pdf-uudecode
1090 pdf-host: maybe-pdf-wdiff
1091 pdf-host: maybe-pdf-zip
1092 pdf-host: maybe-pdf-zlib
1093 pdf-host: maybe-pdf-gdb
1094 pdf-host: maybe-pdf-expect
1095 pdf-host: maybe-pdf-guile
1096 pdf-host: maybe-pdf-tk
1097 pdf-host: maybe-pdf-libtermcap
1098 pdf-host: maybe-pdf-utils
1099 pdf-host: maybe-pdf-gnattools
1101 .PHONY: pdf-target
1103 pdf-target: maybe-pdf-target-libstdc++-v3
1104 pdf-target: maybe-pdf-target-libmudflap
1105 pdf-target: maybe-pdf-target-libssp
1106 pdf-target: maybe-pdf-target-newlib
1107 pdf-target: maybe-pdf-target-libgfortran
1108 pdf-target: maybe-pdf-target-libobjc
1109 pdf-target: maybe-pdf-target-libtermcap
1110 pdf-target: maybe-pdf-target-winsup
1111 pdf-target: maybe-pdf-target-libgloss
1112 pdf-target: maybe-pdf-target-libiberty
1113 pdf-target: maybe-pdf-target-gperf
1114 pdf-target: maybe-pdf-target-examples
1115 pdf-target: maybe-pdf-target-libffi
1116 pdf-target: maybe-pdf-target-libjava
1117 pdf-target: maybe-pdf-target-zlib
1118 pdf-target: maybe-pdf-target-boehm-gc
1119 pdf-target: maybe-pdf-target-qthreads
1120 pdf-target: maybe-pdf-target-rda
1121 pdf-target: maybe-pdf-target-libada
1122 pdf-target: maybe-pdf-target-libgomp
1124 .PHONY: do-html
1125 do-html:
1126 @: $(MAKE); $(unstage)
1127 @r=`${PWD_COMMAND}`; export r; \
1128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1129 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1130 html-target
1133 .PHONY: html-host
1135 html-host: maybe-html-ash
1136 html-host: maybe-html-autoconf
1137 html-host: maybe-html-automake
1138 html-host: maybe-html-bash
1139 html-host: maybe-html-bfd
1140 html-host: maybe-html-opcodes
1141 html-host: maybe-html-binutils
1142 html-host: maybe-html-bison
1143 html-host: maybe-html-byacc
1144 html-host: maybe-html-bzip2
1145 html-host: maybe-html-dejagnu
1146 html-host: maybe-html-diff
1147 html-host: maybe-html-dosutils
1148 html-host: maybe-html-etc
1149 html-host: maybe-html-fastjar
1150 html-host: maybe-html-fileutils
1151 html-host: maybe-html-findutils
1152 html-host: maybe-html-find
1153 html-host: maybe-html-fixincludes
1154 html-host: maybe-html-flex
1155 html-host: maybe-html-gas
1156 html-host: maybe-html-gcc
1157 html-host: maybe-html-gawk
1158 html-host: maybe-html-gettext
1159 html-host: maybe-html-gnuserv
1160 html-host: maybe-html-gprof
1161 html-host: maybe-html-gzip
1162 html-host: maybe-html-hello
1163 html-host: maybe-html-indent
1164 html-host: maybe-html-intl
1165 html-host: maybe-html-tcl
1166 html-host: maybe-html-itcl
1167 html-host: maybe-html-ld
1168 html-host: maybe-html-libcpp
1169 html-host: maybe-html-libdecnumber
1170 html-host: maybe-html-libgui
1171 html-host: maybe-html-libiberty
1172 html-host: maybe-html-libtool
1173 html-host: maybe-html-m4
1174 html-host: maybe-html-make
1175 html-host: maybe-html-mmalloc
1176 html-host: maybe-html-patch
1177 html-host: maybe-html-perl
1178 html-host: maybe-html-prms
1179 html-host: maybe-html-rcs
1180 html-host: maybe-html-readline
1181 html-host: maybe-html-release
1182 html-host: maybe-html-recode
1183 html-host: maybe-html-sed
1184 html-host: maybe-html-send-pr
1185 html-host: maybe-html-shellutils
1186 html-host: maybe-html-sid
1187 html-host: maybe-html-sim
1188 html-host: maybe-html-tar
1189 html-host: maybe-html-texinfo
1190 html-host: maybe-html-textutils
1191 html-host: maybe-html-time
1192 html-host: maybe-html-uudecode
1193 html-host: maybe-html-wdiff
1194 html-host: maybe-html-zip
1195 html-host: maybe-html-zlib
1196 html-host: maybe-html-gdb
1197 html-host: maybe-html-expect
1198 html-host: maybe-html-guile
1199 html-host: maybe-html-tk
1200 html-host: maybe-html-libtermcap
1201 html-host: maybe-html-utils
1202 html-host: maybe-html-gnattools
1204 .PHONY: html-target
1206 html-target: maybe-html-target-libstdc++-v3
1207 html-target: maybe-html-target-libmudflap
1208 html-target: maybe-html-target-libssp
1209 html-target: maybe-html-target-newlib
1210 html-target: maybe-html-target-libgfortran
1211 html-target: maybe-html-target-libobjc
1212 html-target: maybe-html-target-libtermcap
1213 html-target: maybe-html-target-winsup
1214 html-target: maybe-html-target-libgloss
1215 html-target: maybe-html-target-libiberty
1216 html-target: maybe-html-target-gperf
1217 html-target: maybe-html-target-examples
1218 html-target: maybe-html-target-libffi
1219 html-target: maybe-html-target-libjava
1220 html-target: maybe-html-target-zlib
1221 html-target: maybe-html-target-boehm-gc
1222 html-target: maybe-html-target-qthreads
1223 html-target: maybe-html-target-rda
1224 html-target: maybe-html-target-libada
1225 html-target: maybe-html-target-libgomp
1227 .PHONY: do-TAGS
1228 do-TAGS:
1229 @: $(MAKE); $(unstage)
1230 @r=`${PWD_COMMAND}`; export r; \
1231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1232 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1233 TAGS-target
1236 .PHONY: TAGS-host
1238 TAGS-host: maybe-TAGS-ash
1239 TAGS-host: maybe-TAGS-autoconf
1240 TAGS-host: maybe-TAGS-automake
1241 TAGS-host: maybe-TAGS-bash
1242 TAGS-host: maybe-TAGS-bfd
1243 TAGS-host: maybe-TAGS-opcodes
1244 TAGS-host: maybe-TAGS-binutils
1245 TAGS-host: maybe-TAGS-bison
1246 TAGS-host: maybe-TAGS-byacc
1247 TAGS-host: maybe-TAGS-bzip2
1248 TAGS-host: maybe-TAGS-dejagnu
1249 TAGS-host: maybe-TAGS-diff
1250 TAGS-host: maybe-TAGS-dosutils
1251 TAGS-host: maybe-TAGS-etc
1252 TAGS-host: maybe-TAGS-fastjar
1253 TAGS-host: maybe-TAGS-fileutils
1254 TAGS-host: maybe-TAGS-findutils
1255 TAGS-host: maybe-TAGS-find
1256 TAGS-host: maybe-TAGS-fixincludes
1257 TAGS-host: maybe-TAGS-flex
1258 TAGS-host: maybe-TAGS-gas
1259 TAGS-host: maybe-TAGS-gcc
1260 TAGS-host: maybe-TAGS-gawk
1261 TAGS-host: maybe-TAGS-gettext
1262 TAGS-host: maybe-TAGS-gnuserv
1263 TAGS-host: maybe-TAGS-gprof
1264 TAGS-host: maybe-TAGS-gzip
1265 TAGS-host: maybe-TAGS-hello
1266 TAGS-host: maybe-TAGS-indent
1267 TAGS-host: maybe-TAGS-intl
1268 TAGS-host: maybe-TAGS-tcl
1269 TAGS-host: maybe-TAGS-itcl
1270 TAGS-host: maybe-TAGS-ld
1271 TAGS-host: maybe-TAGS-libcpp
1272 TAGS-host: maybe-TAGS-libdecnumber
1273 TAGS-host: maybe-TAGS-libgui
1274 TAGS-host: maybe-TAGS-libiberty
1275 TAGS-host: maybe-TAGS-libtool
1276 TAGS-host: maybe-TAGS-m4
1277 TAGS-host: maybe-TAGS-make
1278 TAGS-host: maybe-TAGS-mmalloc
1279 TAGS-host: maybe-TAGS-patch
1280 TAGS-host: maybe-TAGS-perl
1281 TAGS-host: maybe-TAGS-prms
1282 TAGS-host: maybe-TAGS-rcs
1283 TAGS-host: maybe-TAGS-readline
1284 TAGS-host: maybe-TAGS-release
1285 TAGS-host: maybe-TAGS-recode
1286 TAGS-host: maybe-TAGS-sed
1287 TAGS-host: maybe-TAGS-send-pr
1288 TAGS-host: maybe-TAGS-shellutils
1289 TAGS-host: maybe-TAGS-sid
1290 TAGS-host: maybe-TAGS-sim
1291 TAGS-host: maybe-TAGS-tar
1292 TAGS-host: maybe-TAGS-texinfo
1293 TAGS-host: maybe-TAGS-textutils
1294 TAGS-host: maybe-TAGS-time
1295 TAGS-host: maybe-TAGS-uudecode
1296 TAGS-host: maybe-TAGS-wdiff
1297 TAGS-host: maybe-TAGS-zip
1298 TAGS-host: maybe-TAGS-zlib
1299 TAGS-host: maybe-TAGS-gdb
1300 TAGS-host: maybe-TAGS-expect
1301 TAGS-host: maybe-TAGS-guile
1302 TAGS-host: maybe-TAGS-tk
1303 TAGS-host: maybe-TAGS-libtermcap
1304 TAGS-host: maybe-TAGS-utils
1305 TAGS-host: maybe-TAGS-gnattools
1307 .PHONY: TAGS-target
1309 TAGS-target: maybe-TAGS-target-libstdc++-v3
1310 TAGS-target: maybe-TAGS-target-libmudflap
1311 TAGS-target: maybe-TAGS-target-libssp
1312 TAGS-target: maybe-TAGS-target-newlib
1313 TAGS-target: maybe-TAGS-target-libgfortran
1314 TAGS-target: maybe-TAGS-target-libobjc
1315 TAGS-target: maybe-TAGS-target-libtermcap
1316 TAGS-target: maybe-TAGS-target-winsup
1317 TAGS-target: maybe-TAGS-target-libgloss
1318 TAGS-target: maybe-TAGS-target-libiberty
1319 TAGS-target: maybe-TAGS-target-gperf
1320 TAGS-target: maybe-TAGS-target-examples
1321 TAGS-target: maybe-TAGS-target-libffi
1322 TAGS-target: maybe-TAGS-target-libjava
1323 TAGS-target: maybe-TAGS-target-zlib
1324 TAGS-target: maybe-TAGS-target-boehm-gc
1325 TAGS-target: maybe-TAGS-target-qthreads
1326 TAGS-target: maybe-TAGS-target-rda
1327 TAGS-target: maybe-TAGS-target-libada
1328 TAGS-target: maybe-TAGS-target-libgomp
1330 .PHONY: do-install-info
1331 do-install-info:
1332 @: $(MAKE); $(unstage)
1333 @r=`${PWD_COMMAND}`; export r; \
1334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1336 install-info-target
1339 .PHONY: install-info-host
1341 install-info-host: maybe-install-info-ash
1342 install-info-host: maybe-install-info-autoconf
1343 install-info-host: maybe-install-info-automake
1344 install-info-host: maybe-install-info-bash
1345 install-info-host: maybe-install-info-bfd
1346 install-info-host: maybe-install-info-opcodes
1347 install-info-host: maybe-install-info-binutils
1348 install-info-host: maybe-install-info-bison
1349 install-info-host: maybe-install-info-byacc
1350 install-info-host: maybe-install-info-bzip2
1351 install-info-host: maybe-install-info-dejagnu
1352 install-info-host: maybe-install-info-diff
1353 install-info-host: maybe-install-info-dosutils
1354 install-info-host: maybe-install-info-etc
1355 install-info-host: maybe-install-info-fastjar
1356 install-info-host: maybe-install-info-fileutils
1357 install-info-host: maybe-install-info-findutils
1358 install-info-host: maybe-install-info-find
1359 install-info-host: maybe-install-info-fixincludes
1360 install-info-host: maybe-install-info-flex
1361 install-info-host: maybe-install-info-gas
1362 install-info-host: maybe-install-info-gcc
1363 install-info-host: maybe-install-info-gawk
1364 install-info-host: maybe-install-info-gettext
1365 install-info-host: maybe-install-info-gnuserv
1366 install-info-host: maybe-install-info-gprof
1367 install-info-host: maybe-install-info-gzip
1368 install-info-host: maybe-install-info-hello
1369 install-info-host: maybe-install-info-indent
1370 install-info-host: maybe-install-info-intl
1371 install-info-host: maybe-install-info-tcl
1372 install-info-host: maybe-install-info-itcl
1373 install-info-host: maybe-install-info-ld
1374 install-info-host: maybe-install-info-libcpp
1375 install-info-host: maybe-install-info-libdecnumber
1376 install-info-host: maybe-install-info-libgui
1377 install-info-host: maybe-install-info-libiberty
1378 install-info-host: maybe-install-info-libtool
1379 install-info-host: maybe-install-info-m4
1380 install-info-host: maybe-install-info-make
1381 install-info-host: maybe-install-info-mmalloc
1382 install-info-host: maybe-install-info-patch
1383 install-info-host: maybe-install-info-perl
1384 install-info-host: maybe-install-info-prms
1385 install-info-host: maybe-install-info-rcs
1386 install-info-host: maybe-install-info-readline
1387 install-info-host: maybe-install-info-release
1388 install-info-host: maybe-install-info-recode
1389 install-info-host: maybe-install-info-sed
1390 install-info-host: maybe-install-info-send-pr
1391 install-info-host: maybe-install-info-shellutils
1392 install-info-host: maybe-install-info-sid
1393 install-info-host: maybe-install-info-sim
1394 install-info-host: maybe-install-info-tar
1395 install-info-host: maybe-install-info-texinfo
1396 install-info-host: maybe-install-info-textutils
1397 install-info-host: maybe-install-info-time
1398 install-info-host: maybe-install-info-uudecode
1399 install-info-host: maybe-install-info-wdiff
1400 install-info-host: maybe-install-info-zip
1401 install-info-host: maybe-install-info-zlib
1402 install-info-host: maybe-install-info-gdb
1403 install-info-host: maybe-install-info-expect
1404 install-info-host: maybe-install-info-guile
1405 install-info-host: maybe-install-info-tk
1406 install-info-host: maybe-install-info-libtermcap
1407 install-info-host: maybe-install-info-utils
1408 install-info-host: maybe-install-info-gnattools
1410 .PHONY: install-info-target
1412 install-info-target: maybe-install-info-target-libstdc++-v3
1413 install-info-target: maybe-install-info-target-libmudflap
1414 install-info-target: maybe-install-info-target-libssp
1415 install-info-target: maybe-install-info-target-newlib
1416 install-info-target: maybe-install-info-target-libgfortran
1417 install-info-target: maybe-install-info-target-libobjc
1418 install-info-target: maybe-install-info-target-libtermcap
1419 install-info-target: maybe-install-info-target-winsup
1420 install-info-target: maybe-install-info-target-libgloss
1421 install-info-target: maybe-install-info-target-libiberty
1422 install-info-target: maybe-install-info-target-gperf
1423 install-info-target: maybe-install-info-target-examples
1424 install-info-target: maybe-install-info-target-libffi
1425 install-info-target: maybe-install-info-target-libjava
1426 install-info-target: maybe-install-info-target-zlib
1427 install-info-target: maybe-install-info-target-boehm-gc
1428 install-info-target: maybe-install-info-target-qthreads
1429 install-info-target: maybe-install-info-target-rda
1430 install-info-target: maybe-install-info-target-libada
1431 install-info-target: maybe-install-info-target-libgomp
1433 .PHONY: do-install-html
1434 do-install-html:
1435 @: $(MAKE); $(unstage)
1436 @r=`${PWD_COMMAND}`; export r; \
1437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1438 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1439 install-html-target
1442 .PHONY: install-html-host
1444 install-html-host: maybe-install-html-ash
1445 install-html-host: maybe-install-html-autoconf
1446 install-html-host: maybe-install-html-automake
1447 install-html-host: maybe-install-html-bash
1448 install-html-host: maybe-install-html-bfd
1449 install-html-host: maybe-install-html-opcodes
1450 install-html-host: maybe-install-html-binutils
1451 install-html-host: maybe-install-html-bison
1452 install-html-host: maybe-install-html-byacc
1453 install-html-host: maybe-install-html-bzip2
1454 install-html-host: maybe-install-html-dejagnu
1455 install-html-host: maybe-install-html-diff
1456 install-html-host: maybe-install-html-dosutils
1457 install-html-host: maybe-install-html-etc
1458 install-html-host: maybe-install-html-fastjar
1459 install-html-host: maybe-install-html-fileutils
1460 install-html-host: maybe-install-html-findutils
1461 install-html-host: maybe-install-html-find
1462 install-html-host: maybe-install-html-fixincludes
1463 install-html-host: maybe-install-html-flex
1464 install-html-host: maybe-install-html-gas
1465 install-html-host: maybe-install-html-gcc
1466 install-html-host: maybe-install-html-gawk
1467 install-html-host: maybe-install-html-gettext
1468 install-html-host: maybe-install-html-gnuserv
1469 install-html-host: maybe-install-html-gprof
1470 install-html-host: maybe-install-html-gzip
1471 install-html-host: maybe-install-html-hello
1472 install-html-host: maybe-install-html-indent
1473 install-html-host: maybe-install-html-intl
1474 install-html-host: maybe-install-html-tcl
1475 install-html-host: maybe-install-html-itcl
1476 install-html-host: maybe-install-html-ld
1477 install-html-host: maybe-install-html-libcpp
1478 install-html-host: maybe-install-html-libdecnumber
1479 install-html-host: maybe-install-html-libgui
1480 install-html-host: maybe-install-html-libiberty
1481 install-html-host: maybe-install-html-libtool
1482 install-html-host: maybe-install-html-m4
1483 install-html-host: maybe-install-html-make
1484 install-html-host: maybe-install-html-mmalloc
1485 install-html-host: maybe-install-html-patch
1486 install-html-host: maybe-install-html-perl
1487 install-html-host: maybe-install-html-prms
1488 install-html-host: maybe-install-html-rcs
1489 install-html-host: maybe-install-html-readline
1490 install-html-host: maybe-install-html-release
1491 install-html-host: maybe-install-html-recode
1492 install-html-host: maybe-install-html-sed
1493 install-html-host: maybe-install-html-send-pr
1494 install-html-host: maybe-install-html-shellutils
1495 install-html-host: maybe-install-html-sid
1496 install-html-host: maybe-install-html-sim
1497 install-html-host: maybe-install-html-tar
1498 install-html-host: maybe-install-html-texinfo
1499 install-html-host: maybe-install-html-textutils
1500 install-html-host: maybe-install-html-time
1501 install-html-host: maybe-install-html-uudecode
1502 install-html-host: maybe-install-html-wdiff
1503 install-html-host: maybe-install-html-zip
1504 install-html-host: maybe-install-html-zlib
1505 install-html-host: maybe-install-html-gdb
1506 install-html-host: maybe-install-html-expect
1507 install-html-host: maybe-install-html-guile
1508 install-html-host: maybe-install-html-tk
1509 install-html-host: maybe-install-html-libtermcap
1510 install-html-host: maybe-install-html-utils
1511 install-html-host: maybe-install-html-gnattools
1513 .PHONY: install-html-target
1515 install-html-target: maybe-install-html-target-libstdc++-v3
1516 install-html-target: maybe-install-html-target-libmudflap
1517 install-html-target: maybe-install-html-target-libssp
1518 install-html-target: maybe-install-html-target-newlib
1519 install-html-target: maybe-install-html-target-libgfortran
1520 install-html-target: maybe-install-html-target-libobjc
1521 install-html-target: maybe-install-html-target-libtermcap
1522 install-html-target: maybe-install-html-target-winsup
1523 install-html-target: maybe-install-html-target-libgloss
1524 install-html-target: maybe-install-html-target-libiberty
1525 install-html-target: maybe-install-html-target-gperf
1526 install-html-target: maybe-install-html-target-examples
1527 install-html-target: maybe-install-html-target-libffi
1528 install-html-target: maybe-install-html-target-libjava
1529 install-html-target: maybe-install-html-target-zlib
1530 install-html-target: maybe-install-html-target-boehm-gc
1531 install-html-target: maybe-install-html-target-qthreads
1532 install-html-target: maybe-install-html-target-rda
1533 install-html-target: maybe-install-html-target-libada
1534 install-html-target: maybe-install-html-target-libgomp
1536 .PHONY: do-installcheck
1537 do-installcheck:
1538 @: $(MAKE); $(unstage)
1539 @r=`${PWD_COMMAND}`; export r; \
1540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1541 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1542 installcheck-target
1545 .PHONY: installcheck-host
1547 installcheck-host: maybe-installcheck-ash
1548 installcheck-host: maybe-installcheck-autoconf
1549 installcheck-host: maybe-installcheck-automake
1550 installcheck-host: maybe-installcheck-bash
1551 installcheck-host: maybe-installcheck-bfd
1552 installcheck-host: maybe-installcheck-opcodes
1553 installcheck-host: maybe-installcheck-binutils
1554 installcheck-host: maybe-installcheck-bison
1555 installcheck-host: maybe-installcheck-byacc
1556 installcheck-host: maybe-installcheck-bzip2
1557 installcheck-host: maybe-installcheck-dejagnu
1558 installcheck-host: maybe-installcheck-diff
1559 installcheck-host: maybe-installcheck-dosutils
1560 installcheck-host: maybe-installcheck-etc
1561 installcheck-host: maybe-installcheck-fastjar
1562 installcheck-host: maybe-installcheck-fileutils
1563 installcheck-host: maybe-installcheck-findutils
1564 installcheck-host: maybe-installcheck-find
1565 installcheck-host: maybe-installcheck-fixincludes
1566 installcheck-host: maybe-installcheck-flex
1567 installcheck-host: maybe-installcheck-gas
1568 installcheck-host: maybe-installcheck-gcc
1569 installcheck-host: maybe-installcheck-gawk
1570 installcheck-host: maybe-installcheck-gettext
1571 installcheck-host: maybe-installcheck-gnuserv
1572 installcheck-host: maybe-installcheck-gprof
1573 installcheck-host: maybe-installcheck-gzip
1574 installcheck-host: maybe-installcheck-hello
1575 installcheck-host: maybe-installcheck-indent
1576 installcheck-host: maybe-installcheck-intl
1577 installcheck-host: maybe-installcheck-tcl
1578 installcheck-host: maybe-installcheck-itcl
1579 installcheck-host: maybe-installcheck-ld
1580 installcheck-host: maybe-installcheck-libcpp
1581 installcheck-host: maybe-installcheck-libdecnumber
1582 installcheck-host: maybe-installcheck-libgui
1583 installcheck-host: maybe-installcheck-libiberty
1584 installcheck-host: maybe-installcheck-libtool
1585 installcheck-host: maybe-installcheck-m4
1586 installcheck-host: maybe-installcheck-make
1587 installcheck-host: maybe-installcheck-mmalloc
1588 installcheck-host: maybe-installcheck-patch
1589 installcheck-host: maybe-installcheck-perl
1590 installcheck-host: maybe-installcheck-prms
1591 installcheck-host: maybe-installcheck-rcs
1592 installcheck-host: maybe-installcheck-readline
1593 installcheck-host: maybe-installcheck-release
1594 installcheck-host: maybe-installcheck-recode
1595 installcheck-host: maybe-installcheck-sed
1596 installcheck-host: maybe-installcheck-send-pr
1597 installcheck-host: maybe-installcheck-shellutils
1598 installcheck-host: maybe-installcheck-sid
1599 installcheck-host: maybe-installcheck-sim
1600 installcheck-host: maybe-installcheck-tar
1601 installcheck-host: maybe-installcheck-texinfo
1602 installcheck-host: maybe-installcheck-textutils
1603 installcheck-host: maybe-installcheck-time
1604 installcheck-host: maybe-installcheck-uudecode
1605 installcheck-host: maybe-installcheck-wdiff
1606 installcheck-host: maybe-installcheck-zip
1607 installcheck-host: maybe-installcheck-zlib
1608 installcheck-host: maybe-installcheck-gdb
1609 installcheck-host: maybe-installcheck-expect
1610 installcheck-host: maybe-installcheck-guile
1611 installcheck-host: maybe-installcheck-tk
1612 installcheck-host: maybe-installcheck-libtermcap
1613 installcheck-host: maybe-installcheck-utils
1614 installcheck-host: maybe-installcheck-gnattools
1616 .PHONY: installcheck-target
1618 installcheck-target: maybe-installcheck-target-libstdc++-v3
1619 installcheck-target: maybe-installcheck-target-libmudflap
1620 installcheck-target: maybe-installcheck-target-libssp
1621 installcheck-target: maybe-installcheck-target-newlib
1622 installcheck-target: maybe-installcheck-target-libgfortran
1623 installcheck-target: maybe-installcheck-target-libobjc
1624 installcheck-target: maybe-installcheck-target-libtermcap
1625 installcheck-target: maybe-installcheck-target-winsup
1626 installcheck-target: maybe-installcheck-target-libgloss
1627 installcheck-target: maybe-installcheck-target-libiberty
1628 installcheck-target: maybe-installcheck-target-gperf
1629 installcheck-target: maybe-installcheck-target-examples
1630 installcheck-target: maybe-installcheck-target-libffi
1631 installcheck-target: maybe-installcheck-target-libjava
1632 installcheck-target: maybe-installcheck-target-zlib
1633 installcheck-target: maybe-installcheck-target-boehm-gc
1634 installcheck-target: maybe-installcheck-target-qthreads
1635 installcheck-target: maybe-installcheck-target-rda
1636 installcheck-target: maybe-installcheck-target-libada
1637 installcheck-target: maybe-installcheck-target-libgomp
1639 .PHONY: do-mostlyclean
1640 do-mostlyclean:
1641 @: $(MAKE); $(unstage)
1642 @r=`${PWD_COMMAND}`; export r; \
1643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1644 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1645 mostlyclean-target
1648 .PHONY: mostlyclean-host
1650 mostlyclean-host: maybe-mostlyclean-ash
1651 mostlyclean-host: maybe-mostlyclean-autoconf
1652 mostlyclean-host: maybe-mostlyclean-automake
1653 mostlyclean-host: maybe-mostlyclean-bash
1654 mostlyclean-host: maybe-mostlyclean-bfd
1655 mostlyclean-host: maybe-mostlyclean-opcodes
1656 mostlyclean-host: maybe-mostlyclean-binutils
1657 mostlyclean-host: maybe-mostlyclean-bison
1658 mostlyclean-host: maybe-mostlyclean-byacc
1659 mostlyclean-host: maybe-mostlyclean-bzip2
1660 mostlyclean-host: maybe-mostlyclean-dejagnu
1661 mostlyclean-host: maybe-mostlyclean-diff
1662 mostlyclean-host: maybe-mostlyclean-dosutils
1663 mostlyclean-host: maybe-mostlyclean-etc
1664 mostlyclean-host: maybe-mostlyclean-fastjar
1665 mostlyclean-host: maybe-mostlyclean-fileutils
1666 mostlyclean-host: maybe-mostlyclean-findutils
1667 mostlyclean-host: maybe-mostlyclean-find
1668 mostlyclean-host: maybe-mostlyclean-fixincludes
1669 mostlyclean-host: maybe-mostlyclean-flex
1670 mostlyclean-host: maybe-mostlyclean-gas
1671 mostlyclean-host: maybe-mostlyclean-gcc
1672 mostlyclean-host: maybe-mostlyclean-gawk
1673 mostlyclean-host: maybe-mostlyclean-gettext
1674 mostlyclean-host: maybe-mostlyclean-gnuserv
1675 mostlyclean-host: maybe-mostlyclean-gprof
1676 mostlyclean-host: maybe-mostlyclean-gzip
1677 mostlyclean-host: maybe-mostlyclean-hello
1678 mostlyclean-host: maybe-mostlyclean-indent
1679 mostlyclean-host: maybe-mostlyclean-intl
1680 mostlyclean-host: maybe-mostlyclean-tcl
1681 mostlyclean-host: maybe-mostlyclean-itcl
1682 mostlyclean-host: maybe-mostlyclean-ld
1683 mostlyclean-host: maybe-mostlyclean-libcpp
1684 mostlyclean-host: maybe-mostlyclean-libdecnumber
1685 mostlyclean-host: maybe-mostlyclean-libgui
1686 mostlyclean-host: maybe-mostlyclean-libiberty
1687 mostlyclean-host: maybe-mostlyclean-libtool
1688 mostlyclean-host: maybe-mostlyclean-m4
1689 mostlyclean-host: maybe-mostlyclean-make
1690 mostlyclean-host: maybe-mostlyclean-mmalloc
1691 mostlyclean-host: maybe-mostlyclean-patch
1692 mostlyclean-host: maybe-mostlyclean-perl
1693 mostlyclean-host: maybe-mostlyclean-prms
1694 mostlyclean-host: maybe-mostlyclean-rcs
1695 mostlyclean-host: maybe-mostlyclean-readline
1696 mostlyclean-host: maybe-mostlyclean-release
1697 mostlyclean-host: maybe-mostlyclean-recode
1698 mostlyclean-host: maybe-mostlyclean-sed
1699 mostlyclean-host: maybe-mostlyclean-send-pr
1700 mostlyclean-host: maybe-mostlyclean-shellutils
1701 mostlyclean-host: maybe-mostlyclean-sid
1702 mostlyclean-host: maybe-mostlyclean-sim
1703 mostlyclean-host: maybe-mostlyclean-tar
1704 mostlyclean-host: maybe-mostlyclean-texinfo
1705 mostlyclean-host: maybe-mostlyclean-textutils
1706 mostlyclean-host: maybe-mostlyclean-time
1707 mostlyclean-host: maybe-mostlyclean-uudecode
1708 mostlyclean-host: maybe-mostlyclean-wdiff
1709 mostlyclean-host: maybe-mostlyclean-zip
1710 mostlyclean-host: maybe-mostlyclean-zlib
1711 mostlyclean-host: maybe-mostlyclean-gdb
1712 mostlyclean-host: maybe-mostlyclean-expect
1713 mostlyclean-host: maybe-mostlyclean-guile
1714 mostlyclean-host: maybe-mostlyclean-tk
1715 mostlyclean-host: maybe-mostlyclean-libtermcap
1716 mostlyclean-host: maybe-mostlyclean-utils
1717 mostlyclean-host: maybe-mostlyclean-gnattools
1719 .PHONY: mostlyclean-target
1721 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1722 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1723 mostlyclean-target: maybe-mostlyclean-target-libssp
1724 mostlyclean-target: maybe-mostlyclean-target-newlib
1725 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1726 mostlyclean-target: maybe-mostlyclean-target-libobjc
1727 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1728 mostlyclean-target: maybe-mostlyclean-target-winsup
1729 mostlyclean-target: maybe-mostlyclean-target-libgloss
1730 mostlyclean-target: maybe-mostlyclean-target-libiberty
1731 mostlyclean-target: maybe-mostlyclean-target-gperf
1732 mostlyclean-target: maybe-mostlyclean-target-examples
1733 mostlyclean-target: maybe-mostlyclean-target-libffi
1734 mostlyclean-target: maybe-mostlyclean-target-libjava
1735 mostlyclean-target: maybe-mostlyclean-target-zlib
1736 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1737 mostlyclean-target: maybe-mostlyclean-target-qthreads
1738 mostlyclean-target: maybe-mostlyclean-target-rda
1739 mostlyclean-target: maybe-mostlyclean-target-libada
1740 mostlyclean-target: maybe-mostlyclean-target-libgomp
1742 .PHONY: do-clean
1743 do-clean:
1744 @: $(MAKE); $(unstage)
1745 @r=`${PWD_COMMAND}`; export r; \
1746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1747 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1748 clean-target
1751 .PHONY: clean-host
1753 clean-host: maybe-clean-ash
1754 clean-host: maybe-clean-autoconf
1755 clean-host: maybe-clean-automake
1756 clean-host: maybe-clean-bash
1757 clean-host: maybe-clean-bfd
1758 clean-host: maybe-clean-opcodes
1759 clean-host: maybe-clean-binutils
1760 clean-host: maybe-clean-bison
1761 clean-host: maybe-clean-byacc
1762 clean-host: maybe-clean-bzip2
1763 clean-host: maybe-clean-dejagnu
1764 clean-host: maybe-clean-diff
1765 clean-host: maybe-clean-dosutils
1766 clean-host: maybe-clean-etc
1767 clean-host: maybe-clean-fastjar
1768 clean-host: maybe-clean-fileutils
1769 clean-host: maybe-clean-findutils
1770 clean-host: maybe-clean-find
1771 clean-host: maybe-clean-fixincludes
1772 clean-host: maybe-clean-flex
1773 clean-host: maybe-clean-gas
1774 clean-host: maybe-clean-gcc
1775 clean-host: maybe-clean-gawk
1776 clean-host: maybe-clean-gettext
1777 clean-host: maybe-clean-gnuserv
1778 clean-host: maybe-clean-gprof
1779 clean-host: maybe-clean-gzip
1780 clean-host: maybe-clean-hello
1781 clean-host: maybe-clean-indent
1782 clean-host: maybe-clean-intl
1783 clean-host: maybe-clean-tcl
1784 clean-host: maybe-clean-itcl
1785 clean-host: maybe-clean-ld
1786 clean-host: maybe-clean-libcpp
1787 clean-host: maybe-clean-libdecnumber
1788 clean-host: maybe-clean-libgui
1789 clean-host: maybe-clean-libiberty
1790 clean-host: maybe-clean-libtool
1791 clean-host: maybe-clean-m4
1792 clean-host: maybe-clean-make
1793 clean-host: maybe-clean-mmalloc
1794 clean-host: maybe-clean-patch
1795 clean-host: maybe-clean-perl
1796 clean-host: maybe-clean-prms
1797 clean-host: maybe-clean-rcs
1798 clean-host: maybe-clean-readline
1799 clean-host: maybe-clean-release
1800 clean-host: maybe-clean-recode
1801 clean-host: maybe-clean-sed
1802 clean-host: maybe-clean-send-pr
1803 clean-host: maybe-clean-shellutils
1804 clean-host: maybe-clean-sid
1805 clean-host: maybe-clean-sim
1806 clean-host: maybe-clean-tar
1807 clean-host: maybe-clean-texinfo
1808 clean-host: maybe-clean-textutils
1809 clean-host: maybe-clean-time
1810 clean-host: maybe-clean-uudecode
1811 clean-host: maybe-clean-wdiff
1812 clean-host: maybe-clean-zip
1813 clean-host: maybe-clean-zlib
1814 clean-host: maybe-clean-gdb
1815 clean-host: maybe-clean-expect
1816 clean-host: maybe-clean-guile
1817 clean-host: maybe-clean-tk
1818 clean-host: maybe-clean-libtermcap
1819 clean-host: maybe-clean-utils
1820 clean-host: maybe-clean-gnattools
1822 .PHONY: clean-target
1824 clean-target: maybe-clean-target-libstdc++-v3
1825 clean-target: maybe-clean-target-libmudflap
1826 clean-target: maybe-clean-target-libssp
1827 clean-target: maybe-clean-target-newlib
1828 clean-target: maybe-clean-target-libgfortran
1829 clean-target: maybe-clean-target-libobjc
1830 clean-target: maybe-clean-target-libtermcap
1831 clean-target: maybe-clean-target-winsup
1832 clean-target: maybe-clean-target-libgloss
1833 clean-target: maybe-clean-target-libiberty
1834 clean-target: maybe-clean-target-gperf
1835 clean-target: maybe-clean-target-examples
1836 clean-target: maybe-clean-target-libffi
1837 clean-target: maybe-clean-target-libjava
1838 clean-target: maybe-clean-target-zlib
1839 clean-target: maybe-clean-target-boehm-gc
1840 clean-target: maybe-clean-target-qthreads
1841 clean-target: maybe-clean-target-rda
1842 clean-target: maybe-clean-target-libada
1843 clean-target: maybe-clean-target-libgomp
1845 .PHONY: do-distclean
1846 do-distclean:
1847 @: $(MAKE); $(unstage)
1848 @r=`${PWD_COMMAND}`; export r; \
1849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1850 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1851 distclean-target
1854 .PHONY: distclean-host
1856 distclean-host: maybe-distclean-ash
1857 distclean-host: maybe-distclean-autoconf
1858 distclean-host: maybe-distclean-automake
1859 distclean-host: maybe-distclean-bash
1860 distclean-host: maybe-distclean-bfd
1861 distclean-host: maybe-distclean-opcodes
1862 distclean-host: maybe-distclean-binutils
1863 distclean-host: maybe-distclean-bison
1864 distclean-host: maybe-distclean-byacc
1865 distclean-host: maybe-distclean-bzip2
1866 distclean-host: maybe-distclean-dejagnu
1867 distclean-host: maybe-distclean-diff
1868 distclean-host: maybe-distclean-dosutils
1869 distclean-host: maybe-distclean-etc
1870 distclean-host: maybe-distclean-fastjar
1871 distclean-host: maybe-distclean-fileutils
1872 distclean-host: maybe-distclean-findutils
1873 distclean-host: maybe-distclean-find
1874 distclean-host: maybe-distclean-fixincludes
1875 distclean-host: maybe-distclean-flex
1876 distclean-host: maybe-distclean-gas
1877 distclean-host: maybe-distclean-gcc
1878 distclean-host: maybe-distclean-gawk
1879 distclean-host: maybe-distclean-gettext
1880 distclean-host: maybe-distclean-gnuserv
1881 distclean-host: maybe-distclean-gprof
1882 distclean-host: maybe-distclean-gzip
1883 distclean-host: maybe-distclean-hello
1884 distclean-host: maybe-distclean-indent
1885 distclean-host: maybe-distclean-intl
1886 distclean-host: maybe-distclean-tcl
1887 distclean-host: maybe-distclean-itcl
1888 distclean-host: maybe-distclean-ld
1889 distclean-host: maybe-distclean-libcpp
1890 distclean-host: maybe-distclean-libdecnumber
1891 distclean-host: maybe-distclean-libgui
1892 distclean-host: maybe-distclean-libiberty
1893 distclean-host: maybe-distclean-libtool
1894 distclean-host: maybe-distclean-m4
1895 distclean-host: maybe-distclean-make
1896 distclean-host: maybe-distclean-mmalloc
1897 distclean-host: maybe-distclean-patch
1898 distclean-host: maybe-distclean-perl
1899 distclean-host: maybe-distclean-prms
1900 distclean-host: maybe-distclean-rcs
1901 distclean-host: maybe-distclean-readline
1902 distclean-host: maybe-distclean-release
1903 distclean-host: maybe-distclean-recode
1904 distclean-host: maybe-distclean-sed
1905 distclean-host: maybe-distclean-send-pr
1906 distclean-host: maybe-distclean-shellutils
1907 distclean-host: maybe-distclean-sid
1908 distclean-host: maybe-distclean-sim
1909 distclean-host: maybe-distclean-tar
1910 distclean-host: maybe-distclean-texinfo
1911 distclean-host: maybe-distclean-textutils
1912 distclean-host: maybe-distclean-time
1913 distclean-host: maybe-distclean-uudecode
1914 distclean-host: maybe-distclean-wdiff
1915 distclean-host: maybe-distclean-zip
1916 distclean-host: maybe-distclean-zlib
1917 distclean-host: maybe-distclean-gdb
1918 distclean-host: maybe-distclean-expect
1919 distclean-host: maybe-distclean-guile
1920 distclean-host: maybe-distclean-tk
1921 distclean-host: maybe-distclean-libtermcap
1922 distclean-host: maybe-distclean-utils
1923 distclean-host: maybe-distclean-gnattools
1925 .PHONY: distclean-target
1927 distclean-target: maybe-distclean-target-libstdc++-v3
1928 distclean-target: maybe-distclean-target-libmudflap
1929 distclean-target: maybe-distclean-target-libssp
1930 distclean-target: maybe-distclean-target-newlib
1931 distclean-target: maybe-distclean-target-libgfortran
1932 distclean-target: maybe-distclean-target-libobjc
1933 distclean-target: maybe-distclean-target-libtermcap
1934 distclean-target: maybe-distclean-target-winsup
1935 distclean-target: maybe-distclean-target-libgloss
1936 distclean-target: maybe-distclean-target-libiberty
1937 distclean-target: maybe-distclean-target-gperf
1938 distclean-target: maybe-distclean-target-examples
1939 distclean-target: maybe-distclean-target-libffi
1940 distclean-target: maybe-distclean-target-libjava
1941 distclean-target: maybe-distclean-target-zlib
1942 distclean-target: maybe-distclean-target-boehm-gc
1943 distclean-target: maybe-distclean-target-qthreads
1944 distclean-target: maybe-distclean-target-rda
1945 distclean-target: maybe-distclean-target-libada
1946 distclean-target: maybe-distclean-target-libgomp
1948 .PHONY: do-maintainer-clean
1949 do-maintainer-clean:
1950 @: $(MAKE); $(unstage)
1951 @r=`${PWD_COMMAND}`; export r; \
1952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1953 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1954 maintainer-clean-target
1957 .PHONY: maintainer-clean-host
1959 maintainer-clean-host: maybe-maintainer-clean-ash
1960 maintainer-clean-host: maybe-maintainer-clean-autoconf
1961 maintainer-clean-host: maybe-maintainer-clean-automake
1962 maintainer-clean-host: maybe-maintainer-clean-bash
1963 maintainer-clean-host: maybe-maintainer-clean-bfd
1964 maintainer-clean-host: maybe-maintainer-clean-opcodes
1965 maintainer-clean-host: maybe-maintainer-clean-binutils
1966 maintainer-clean-host: maybe-maintainer-clean-bison
1967 maintainer-clean-host: maybe-maintainer-clean-byacc
1968 maintainer-clean-host: maybe-maintainer-clean-bzip2
1969 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1970 maintainer-clean-host: maybe-maintainer-clean-diff
1971 maintainer-clean-host: maybe-maintainer-clean-dosutils
1972 maintainer-clean-host: maybe-maintainer-clean-etc
1973 maintainer-clean-host: maybe-maintainer-clean-fastjar
1974 maintainer-clean-host: maybe-maintainer-clean-fileutils
1975 maintainer-clean-host: maybe-maintainer-clean-findutils
1976 maintainer-clean-host: maybe-maintainer-clean-find
1977 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1978 maintainer-clean-host: maybe-maintainer-clean-flex
1979 maintainer-clean-host: maybe-maintainer-clean-gas
1980 maintainer-clean-host: maybe-maintainer-clean-gcc
1981 maintainer-clean-host: maybe-maintainer-clean-gawk
1982 maintainer-clean-host: maybe-maintainer-clean-gettext
1983 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1984 maintainer-clean-host: maybe-maintainer-clean-gprof
1985 maintainer-clean-host: maybe-maintainer-clean-gzip
1986 maintainer-clean-host: maybe-maintainer-clean-hello
1987 maintainer-clean-host: maybe-maintainer-clean-indent
1988 maintainer-clean-host: maybe-maintainer-clean-intl
1989 maintainer-clean-host: maybe-maintainer-clean-tcl
1990 maintainer-clean-host: maybe-maintainer-clean-itcl
1991 maintainer-clean-host: maybe-maintainer-clean-ld
1992 maintainer-clean-host: maybe-maintainer-clean-libcpp
1993 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1994 maintainer-clean-host: maybe-maintainer-clean-libgui
1995 maintainer-clean-host: maybe-maintainer-clean-libiberty
1996 maintainer-clean-host: maybe-maintainer-clean-libtool
1997 maintainer-clean-host: maybe-maintainer-clean-m4
1998 maintainer-clean-host: maybe-maintainer-clean-make
1999 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2000 maintainer-clean-host: maybe-maintainer-clean-patch
2001 maintainer-clean-host: maybe-maintainer-clean-perl
2002 maintainer-clean-host: maybe-maintainer-clean-prms
2003 maintainer-clean-host: maybe-maintainer-clean-rcs
2004 maintainer-clean-host: maybe-maintainer-clean-readline
2005 maintainer-clean-host: maybe-maintainer-clean-release
2006 maintainer-clean-host: maybe-maintainer-clean-recode
2007 maintainer-clean-host: maybe-maintainer-clean-sed
2008 maintainer-clean-host: maybe-maintainer-clean-send-pr
2009 maintainer-clean-host: maybe-maintainer-clean-shellutils
2010 maintainer-clean-host: maybe-maintainer-clean-sid
2011 maintainer-clean-host: maybe-maintainer-clean-sim
2012 maintainer-clean-host: maybe-maintainer-clean-tar
2013 maintainer-clean-host: maybe-maintainer-clean-texinfo
2014 maintainer-clean-host: maybe-maintainer-clean-textutils
2015 maintainer-clean-host: maybe-maintainer-clean-time
2016 maintainer-clean-host: maybe-maintainer-clean-uudecode
2017 maintainer-clean-host: maybe-maintainer-clean-wdiff
2018 maintainer-clean-host: maybe-maintainer-clean-zip
2019 maintainer-clean-host: maybe-maintainer-clean-zlib
2020 maintainer-clean-host: maybe-maintainer-clean-gdb
2021 maintainer-clean-host: maybe-maintainer-clean-expect
2022 maintainer-clean-host: maybe-maintainer-clean-guile
2023 maintainer-clean-host: maybe-maintainer-clean-tk
2024 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2025 maintainer-clean-host: maybe-maintainer-clean-utils
2026 maintainer-clean-host: maybe-maintainer-clean-gnattools
2028 .PHONY: maintainer-clean-target
2030 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2031 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2032 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2033 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2034 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2035 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2036 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2037 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2038 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2039 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2040 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2041 maintainer-clean-target: maybe-maintainer-clean-target-examples
2042 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2043 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2044 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2045 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2046 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2047 maintainer-clean-target: maybe-maintainer-clean-target-rda
2048 maintainer-clean-target: maybe-maintainer-clean-target-libada
2049 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2052 # Here are the targets which correspond to the do-X targets.
2054 .PHONY: info installcheck dvi pdf html install-info install-html
2055 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2056 .PHONY: local-clean local-distclean local-maintainer-clean
2057 info: do-info
2058 installcheck: do-installcheck
2059 dvi: do-dvi
2060 pdf: do-pdf
2061 html: do-html
2063 # Make sure makeinfo is built before we do a `make info', if we're
2064 # in fact building texinfo.
2065 do-info: maybe-all-texinfo
2067 install-info: do-install-info dir.info
2068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2069 if [ -f dir.info ] ; then \
2070 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2071 else true ; fi
2073 install-html: do-install-html
2075 local-clean:
2076 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2078 local-distclean:
2079 -rm -f Makefile config.status config.cache mh-frag mt-frag
2080 -rm -f maybedep.tmp serdep.tmp
2081 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2082 rm -rf $(TARGET_SUBDIR); \
2083 else true; fi
2084 -rm -rf $(BUILD_SUBDIR)
2085 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2086 rm -rf $(HOST_SUBDIR); \
2087 else true; fi
2088 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2089 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2090 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2091 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2092 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2094 local-maintainer-clean:
2095 @echo "This command is intended for maintainers to use;"
2096 @echo "it deletes files that may require special tools to rebuild."
2098 clean: do-clean local-clean
2099 mostlyclean: do-mostlyclean local-clean
2100 distclean: do-distclean local-clean local-distclean
2101 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2102 maintainer-clean: local-distclean
2103 realclean: maintainer-clean
2105 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2106 clean-target: clean-target-libgcc
2107 clean-target-libgcc:
2108 if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
2110 # Check target.
2112 .PHONY: check do-check
2113 check: do-check
2115 # Only include modules actually being configured and built.
2116 .PHONY: check-host
2117 check-host: \
2118 maybe-check-ash \
2119 maybe-check-autoconf \
2120 maybe-check-automake \
2121 maybe-check-bash \
2122 maybe-check-bfd \
2123 maybe-check-opcodes \
2124 maybe-check-binutils \
2125 maybe-check-bison \
2126 maybe-check-byacc \
2127 maybe-check-bzip2 \
2128 maybe-check-dejagnu \
2129 maybe-check-diff \
2130 maybe-check-dosutils \
2131 maybe-check-etc \
2132 maybe-check-fastjar \
2133 maybe-check-fileutils \
2134 maybe-check-findutils \
2135 maybe-check-find \
2136 maybe-check-fixincludes \
2137 maybe-check-flex \
2138 maybe-check-gas \
2139 maybe-check-gcc \
2140 maybe-check-gawk \
2141 maybe-check-gettext \
2142 maybe-check-gnuserv \
2143 maybe-check-gprof \
2144 maybe-check-gzip \
2145 maybe-check-hello \
2146 maybe-check-indent \
2147 maybe-check-intl \
2148 maybe-check-tcl \
2149 maybe-check-itcl \
2150 maybe-check-ld \
2151 maybe-check-libcpp \
2152 maybe-check-libdecnumber \
2153 maybe-check-libgui \
2154 maybe-check-libiberty \
2155 maybe-check-libtool \
2156 maybe-check-m4 \
2157 maybe-check-make \
2158 maybe-check-mmalloc \
2159 maybe-check-patch \
2160 maybe-check-perl \
2161 maybe-check-prms \
2162 maybe-check-rcs \
2163 maybe-check-readline \
2164 maybe-check-release \
2165 maybe-check-recode \
2166 maybe-check-sed \
2167 maybe-check-send-pr \
2168 maybe-check-shellutils \
2169 maybe-check-sid \
2170 maybe-check-sim \
2171 maybe-check-tar \
2172 maybe-check-texinfo \
2173 maybe-check-textutils \
2174 maybe-check-time \
2175 maybe-check-uudecode \
2176 maybe-check-wdiff \
2177 maybe-check-zip \
2178 maybe-check-zlib \
2179 maybe-check-gdb \
2180 maybe-check-expect \
2181 maybe-check-guile \
2182 maybe-check-tk \
2183 maybe-check-libtermcap \
2184 maybe-check-utils \
2185 maybe-check-gnattools
2187 .PHONY: check-target
2188 check-target: \
2189 maybe-check-target-libstdc++-v3 \
2190 maybe-check-target-libmudflap \
2191 maybe-check-target-libssp \
2192 maybe-check-target-newlib \
2193 maybe-check-target-libgfortran \
2194 maybe-check-target-libobjc \
2195 maybe-check-target-libtermcap \
2196 maybe-check-target-winsup \
2197 maybe-check-target-libgloss \
2198 maybe-check-target-libiberty \
2199 maybe-check-target-gperf \
2200 maybe-check-target-examples \
2201 maybe-check-target-libffi \
2202 maybe-check-target-libjava \
2203 maybe-check-target-zlib \
2204 maybe-check-target-boehm-gc \
2205 maybe-check-target-qthreads \
2206 maybe-check-target-rda \
2207 maybe-check-target-libada \
2208 maybe-check-target-libgomp
2210 do-check:
2211 @: $(MAKE); $(unstage)
2212 @r=`${PWD_COMMAND}`; export r; \
2213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2216 # Automated reporting of test results.
2218 warning.log: build.log
2219 $(srcdir)/contrib/warn_summary build.log > $@
2221 mail-report.log:
2222 if test x'$(BOOT_CFLAGS)' != x''; then \
2223 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2224 fi; \
2225 $(srcdir)/contrib/test_summary -t >$@
2226 chmod +x $@
2227 echo If you really want to send e-mail, run ./$@ now
2229 mail-report-with-warnings.log: warning.log
2230 if test x'$(BOOT_CFLAGS)' != x''; then \
2231 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2232 fi; \
2233 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2234 chmod +x $@
2235 echo If you really want to send e-mail, run ./$@ now
2237 # Installation targets.
2239 .PHONY: install uninstall
2240 install:
2241 @: $(MAKE); $(unstage)
2242 @r=`${PWD_COMMAND}`; export r; \
2243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2244 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2246 .PHONY: install-host-nogcc
2247 install-host-nogcc: \
2248 maybe-install-ash \
2249 maybe-install-autoconf \
2250 maybe-install-automake \
2251 maybe-install-bash \
2252 maybe-install-bfd \
2253 maybe-install-opcodes \
2254 maybe-install-binutils \
2255 maybe-install-bison \
2256 maybe-install-byacc \
2257 maybe-install-bzip2 \
2258 maybe-install-dejagnu \
2259 maybe-install-diff \
2260 maybe-install-dosutils \
2261 maybe-install-etc \
2262 maybe-install-fastjar \
2263 maybe-install-fileutils \
2264 maybe-install-findutils \
2265 maybe-install-find \
2266 maybe-install-fixincludes \
2267 maybe-install-flex \
2268 maybe-install-gas \
2269 maybe-install-gawk \
2270 maybe-install-gettext \
2271 maybe-install-gnuserv \
2272 maybe-install-gprof \
2273 maybe-install-gzip \
2274 maybe-install-hello \
2275 maybe-install-indent \
2276 maybe-install-intl \
2277 maybe-install-tcl \
2278 maybe-install-itcl \
2279 maybe-install-ld \
2280 maybe-install-libcpp \
2281 maybe-install-libdecnumber \
2282 maybe-install-libgui \
2283 maybe-install-libiberty \
2284 maybe-install-libtool \
2285 maybe-install-m4 \
2286 maybe-install-make \
2287 maybe-install-mmalloc \
2288 maybe-install-patch \
2289 maybe-install-perl \
2290 maybe-install-prms \
2291 maybe-install-rcs \
2292 maybe-install-readline \
2293 maybe-install-release \
2294 maybe-install-recode \
2295 maybe-install-sed \
2296 maybe-install-send-pr \
2297 maybe-install-shellutils \
2298 maybe-install-sid \
2299 maybe-install-sim \
2300 maybe-install-tar \
2301 maybe-install-texinfo \
2302 maybe-install-textutils \
2303 maybe-install-time \
2304 maybe-install-uudecode \
2305 maybe-install-wdiff \
2306 maybe-install-zip \
2307 maybe-install-zlib \
2308 maybe-install-gdb \
2309 maybe-install-expect \
2310 maybe-install-guile \
2311 maybe-install-tk \
2312 maybe-install-libtermcap \
2313 maybe-install-utils \
2314 maybe-install-gnattools
2316 .PHONY: install-host
2317 install-host: \
2318 maybe-install-ash \
2319 maybe-install-autoconf \
2320 maybe-install-automake \
2321 maybe-install-bash \
2322 maybe-install-bfd \
2323 maybe-install-opcodes \
2324 maybe-install-binutils \
2325 maybe-install-bison \
2326 maybe-install-byacc \
2327 maybe-install-bzip2 \
2328 maybe-install-dejagnu \
2329 maybe-install-diff \
2330 maybe-install-dosutils \
2331 maybe-install-etc \
2332 maybe-install-fastjar \
2333 maybe-install-fileutils \
2334 maybe-install-findutils \
2335 maybe-install-find \
2336 maybe-install-fixincludes \
2337 maybe-install-flex \
2338 maybe-install-gas \
2339 maybe-install-gcc \
2340 maybe-install-gawk \
2341 maybe-install-gettext \
2342 maybe-install-gnuserv \
2343 maybe-install-gprof \
2344 maybe-install-gzip \
2345 maybe-install-hello \
2346 maybe-install-indent \
2347 maybe-install-intl \
2348 maybe-install-tcl \
2349 maybe-install-itcl \
2350 maybe-install-ld \
2351 maybe-install-libcpp \
2352 maybe-install-libdecnumber \
2353 maybe-install-libgui \
2354 maybe-install-libiberty \
2355 maybe-install-libtool \
2356 maybe-install-m4 \
2357 maybe-install-make \
2358 maybe-install-mmalloc \
2359 maybe-install-patch \
2360 maybe-install-perl \
2361 maybe-install-prms \
2362 maybe-install-rcs \
2363 maybe-install-readline \
2364 maybe-install-release \
2365 maybe-install-recode \
2366 maybe-install-sed \
2367 maybe-install-send-pr \
2368 maybe-install-shellutils \
2369 maybe-install-sid \
2370 maybe-install-sim \
2371 maybe-install-tar \
2372 maybe-install-texinfo \
2373 maybe-install-textutils \
2374 maybe-install-time \
2375 maybe-install-uudecode \
2376 maybe-install-wdiff \
2377 maybe-install-zip \
2378 maybe-install-zlib \
2379 maybe-install-gdb \
2380 maybe-install-expect \
2381 maybe-install-guile \
2382 maybe-install-tk \
2383 maybe-install-libtermcap \
2384 maybe-install-utils \
2385 maybe-install-gnattools
2387 .PHONY: install-target
2388 install-target: \
2389 maybe-install-target-libstdc++-v3 \
2390 maybe-install-target-libmudflap \
2391 maybe-install-target-libssp \
2392 maybe-install-target-newlib \
2393 maybe-install-target-libgfortran \
2394 maybe-install-target-libobjc \
2395 maybe-install-target-libtermcap \
2396 maybe-install-target-winsup \
2397 maybe-install-target-libgloss \
2398 maybe-install-target-libiberty \
2399 maybe-install-target-gperf \
2400 maybe-install-target-examples \
2401 maybe-install-target-libffi \
2402 maybe-install-target-libjava \
2403 maybe-install-target-zlib \
2404 maybe-install-target-boehm-gc \
2405 maybe-install-target-qthreads \
2406 maybe-install-target-rda \
2407 maybe-install-target-libada \
2408 maybe-install-target-libgomp
2410 uninstall:
2411 @echo "the uninstall target is not supported in this tree"
2413 .PHONY: install.all
2414 install.all: install-no-fixedincludes
2415 @if [ -f ./gcc/Makefile ] ; then \
2416 r=`${PWD_COMMAND}` ; export r ; \
2417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2418 $(HOST_EXPORTS) \
2419 (cd ./gcc && \
2420 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2421 else \
2422 true ; \
2425 # install-no-fixedincludes is used because Cygnus can not distribute
2426 # the fixed header files.
2427 .PHONY: install-no-fixedincludes
2428 install-no-fixedincludes: installdirs install-host-nogcc \
2429 install-target gcc-no-fixedincludes
2431 ### other supporting targets
2433 MAKEDIRS= \
2434 $(DESTDIR)$(prefix) \
2435 $(DESTDIR)$(exec_prefix)
2436 .PHONY: installdirs
2437 installdirs: mkinstalldirs
2438 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2440 dir.info: do-install-info
2441 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2442 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2443 mv -f dir.info.new dir.info ; \
2444 else true ; \
2447 dist:
2448 @echo "Building a full distribution of this tree isn't done"
2449 @echo "via 'make dist'. Check out the etc/ subdirectory"
2451 etags tags: TAGS
2453 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2454 # ability to use several tags files at once, so there is probably no need
2455 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2456 # (if we felt like it) have this Makefile write a piece of elisp which
2457 # the user could load to tell emacs19 where all the TAGS files we just
2458 # built are.
2459 TAGS: do-TAGS
2461 # ------------------------------------
2462 # Macros for configure and all targets
2463 # ------------------------------------
2469 # --------------------------------------
2470 # Modules which run on the build machine
2471 # --------------------------------------
2474 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2475 maybe-configure-build-libiberty:
2476 @if gcc-bootstrap
2477 configure-build-libiberty: stage_current
2478 @endif gcc-bootstrap
2479 @if build-libiberty
2480 maybe-configure-build-libiberty: configure-build-libiberty
2481 configure-build-libiberty:
2482 @: $(MAKE); $(unstage)
2483 @r=`${PWD_COMMAND}`; export r; \
2484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2485 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2486 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2487 $(BUILD_EXPORTS) \
2488 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2489 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2490 case $(srcdir) in \
2491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2492 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2494 esac; \
2495 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2496 libsrcdir="$$s/libiberty"; \
2497 rm -f no-such-file || : ; \
2498 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2499 $(BUILD_CONFIGARGS) $${srcdiroption} \
2500 || exit 1
2501 @endif build-libiberty
2507 .PHONY: all-build-libiberty maybe-all-build-libiberty
2508 maybe-all-build-libiberty:
2509 @if gcc-bootstrap
2510 all-build-libiberty: stage_current
2511 @endif gcc-bootstrap
2512 @if build-libiberty
2513 TARGET-build-libiberty=all
2514 maybe-all-build-libiberty: all-build-libiberty
2515 all-build-libiberty: configure-build-libiberty
2516 @: $(MAKE); $(unstage)
2517 @r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 $(BUILD_EXPORTS) \
2520 (cd $(BUILD_SUBDIR)/libiberty && \
2521 $(MAKE) $(TARGET-build-libiberty))
2522 @endif build-libiberty
2528 .PHONY: configure-build-bison maybe-configure-build-bison
2529 maybe-configure-build-bison:
2530 @if gcc-bootstrap
2531 configure-build-bison: stage_current
2532 @endif gcc-bootstrap
2533 @if build-bison
2534 maybe-configure-build-bison: configure-build-bison
2535 configure-build-bison:
2536 @: $(MAKE); $(unstage)
2537 @r=`${PWD_COMMAND}`; export r; \
2538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2539 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2540 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2541 $(BUILD_EXPORTS) \
2542 echo Configuring in $(BUILD_SUBDIR)/bison; \
2543 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2544 case $(srcdir) in \
2545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2546 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2548 esac; \
2549 srcdiroption="--srcdir=$${topdir}/bison"; \
2550 libsrcdir="$$s/bison"; \
2551 rm -f no-such-file || : ; \
2552 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2553 $(BUILD_CONFIGARGS) $${srcdiroption} \
2554 || exit 1
2555 @endif build-bison
2561 .PHONY: all-build-bison maybe-all-build-bison
2562 maybe-all-build-bison:
2563 @if gcc-bootstrap
2564 all-build-bison: stage_current
2565 @endif gcc-bootstrap
2566 @if build-bison
2567 TARGET-build-bison=all
2568 maybe-all-build-bison: all-build-bison
2569 all-build-bison: configure-build-bison
2570 @: $(MAKE); $(unstage)
2571 @r=`${PWD_COMMAND}`; export r; \
2572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2573 $(BUILD_EXPORTS) \
2574 (cd $(BUILD_SUBDIR)/bison && \
2575 $(MAKE) $(TARGET-build-bison))
2576 @endif build-bison
2582 .PHONY: configure-build-byacc maybe-configure-build-byacc
2583 maybe-configure-build-byacc:
2584 @if gcc-bootstrap
2585 configure-build-byacc: stage_current
2586 @endif gcc-bootstrap
2587 @if build-byacc
2588 maybe-configure-build-byacc: configure-build-byacc
2589 configure-build-byacc:
2590 @: $(MAKE); $(unstage)
2591 @r=`${PWD_COMMAND}`; export r; \
2592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2593 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2594 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2595 $(BUILD_EXPORTS) \
2596 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2597 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2598 case $(srcdir) in \
2599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2600 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2602 esac; \
2603 srcdiroption="--srcdir=$${topdir}/byacc"; \
2604 libsrcdir="$$s/byacc"; \
2605 rm -f no-such-file || : ; \
2606 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2607 $(BUILD_CONFIGARGS) $${srcdiroption} \
2608 || exit 1
2609 @endif build-byacc
2615 .PHONY: all-build-byacc maybe-all-build-byacc
2616 maybe-all-build-byacc:
2617 @if gcc-bootstrap
2618 all-build-byacc: stage_current
2619 @endif gcc-bootstrap
2620 @if build-byacc
2621 TARGET-build-byacc=all
2622 maybe-all-build-byacc: all-build-byacc
2623 all-build-byacc: configure-build-byacc
2624 @: $(MAKE); $(unstage)
2625 @r=`${PWD_COMMAND}`; export r; \
2626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2627 $(BUILD_EXPORTS) \
2628 (cd $(BUILD_SUBDIR)/byacc && \
2629 $(MAKE) $(TARGET-build-byacc))
2630 @endif build-byacc
2636 .PHONY: configure-build-flex maybe-configure-build-flex
2637 maybe-configure-build-flex:
2638 @if gcc-bootstrap
2639 configure-build-flex: stage_current
2640 @endif gcc-bootstrap
2641 @if build-flex
2642 maybe-configure-build-flex: configure-build-flex
2643 configure-build-flex:
2644 @: $(MAKE); $(unstage)
2645 @r=`${PWD_COMMAND}`; export r; \
2646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2647 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2648 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2649 $(BUILD_EXPORTS) \
2650 echo Configuring in $(BUILD_SUBDIR)/flex; \
2651 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2652 case $(srcdir) in \
2653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2654 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2656 esac; \
2657 srcdiroption="--srcdir=$${topdir}/flex"; \
2658 libsrcdir="$$s/flex"; \
2659 rm -f no-such-file || : ; \
2660 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2661 $(BUILD_CONFIGARGS) $${srcdiroption} \
2662 || exit 1
2663 @endif build-flex
2669 .PHONY: all-build-flex maybe-all-build-flex
2670 maybe-all-build-flex:
2671 @if gcc-bootstrap
2672 all-build-flex: stage_current
2673 @endif gcc-bootstrap
2674 @if build-flex
2675 TARGET-build-flex=all
2676 maybe-all-build-flex: all-build-flex
2677 all-build-flex: configure-build-flex
2678 @: $(MAKE); $(unstage)
2679 @r=`${PWD_COMMAND}`; export r; \
2680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2681 $(BUILD_EXPORTS) \
2682 (cd $(BUILD_SUBDIR)/flex && \
2683 $(MAKE) $(TARGET-build-flex))
2684 @endif build-flex
2690 .PHONY: configure-build-m4 maybe-configure-build-m4
2691 maybe-configure-build-m4:
2692 @if gcc-bootstrap
2693 configure-build-m4: stage_current
2694 @endif gcc-bootstrap
2695 @if build-m4
2696 maybe-configure-build-m4: configure-build-m4
2697 configure-build-m4:
2698 @: $(MAKE); $(unstage)
2699 @r=`${PWD_COMMAND}`; export r; \
2700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2701 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2702 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2703 $(BUILD_EXPORTS) \
2704 echo Configuring in $(BUILD_SUBDIR)/m4; \
2705 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2706 case $(srcdir) in \
2707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2708 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2710 esac; \
2711 srcdiroption="--srcdir=$${topdir}/m4"; \
2712 libsrcdir="$$s/m4"; \
2713 rm -f no-such-file || : ; \
2714 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2715 $(BUILD_CONFIGARGS) $${srcdiroption} \
2716 || exit 1
2717 @endif build-m4
2723 .PHONY: all-build-m4 maybe-all-build-m4
2724 maybe-all-build-m4:
2725 @if gcc-bootstrap
2726 all-build-m4: stage_current
2727 @endif gcc-bootstrap
2728 @if build-m4
2729 TARGET-build-m4=all
2730 maybe-all-build-m4: all-build-m4
2731 all-build-m4: configure-build-m4
2732 @: $(MAKE); $(unstage)
2733 @r=`${PWD_COMMAND}`; export r; \
2734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2735 $(BUILD_EXPORTS) \
2736 (cd $(BUILD_SUBDIR)/m4 && \
2737 $(MAKE) $(TARGET-build-m4))
2738 @endif build-m4
2744 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2745 maybe-configure-build-texinfo:
2746 @if gcc-bootstrap
2747 configure-build-texinfo: stage_current
2748 @endif gcc-bootstrap
2749 @if build-texinfo
2750 maybe-configure-build-texinfo: configure-build-texinfo
2751 configure-build-texinfo:
2752 @: $(MAKE); $(unstage)
2753 @r=`${PWD_COMMAND}`; export r; \
2754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2755 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2756 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2757 $(BUILD_EXPORTS) \
2758 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2759 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2760 case $(srcdir) in \
2761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2762 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2764 esac; \
2765 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2766 libsrcdir="$$s/texinfo"; \
2767 rm -f no-such-file || : ; \
2768 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2769 $(BUILD_CONFIGARGS) $${srcdiroption} \
2770 || exit 1
2771 @endif build-texinfo
2777 .PHONY: all-build-texinfo maybe-all-build-texinfo
2778 maybe-all-build-texinfo:
2779 @if gcc-bootstrap
2780 all-build-texinfo: stage_current
2781 @endif gcc-bootstrap
2782 @if build-texinfo
2783 TARGET-build-texinfo=all
2784 maybe-all-build-texinfo: all-build-texinfo
2785 all-build-texinfo: configure-build-texinfo
2786 @: $(MAKE); $(unstage)
2787 @r=`${PWD_COMMAND}`; export r; \
2788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 $(BUILD_EXPORTS) \
2790 (cd $(BUILD_SUBDIR)/texinfo && \
2791 $(MAKE) $(TARGET-build-texinfo))
2792 @endif build-texinfo
2798 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2799 maybe-configure-build-fixincludes:
2800 @if gcc-bootstrap
2801 configure-build-fixincludes: stage_current
2802 @endif gcc-bootstrap
2803 @if build-fixincludes
2804 maybe-configure-build-fixincludes: configure-build-fixincludes
2805 configure-build-fixincludes:
2806 @: $(MAKE); $(unstage)
2807 @r=`${PWD_COMMAND}`; export r; \
2808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2809 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2810 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2811 $(BUILD_EXPORTS) \
2812 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2813 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2814 case $(srcdir) in \
2815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2816 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2818 esac; \
2819 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2820 libsrcdir="$$s/fixincludes"; \
2821 rm -f no-such-file || : ; \
2822 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2823 $(BUILD_CONFIGARGS) $${srcdiroption} \
2824 || exit 1
2825 @endif build-fixincludes
2831 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2832 maybe-all-build-fixincludes:
2833 @if gcc-bootstrap
2834 all-build-fixincludes: stage_current
2835 @endif gcc-bootstrap
2836 @if build-fixincludes
2837 TARGET-build-fixincludes=all
2838 maybe-all-build-fixincludes: all-build-fixincludes
2839 all-build-fixincludes: configure-build-fixincludes
2840 @: $(MAKE); $(unstage)
2841 @r=`${PWD_COMMAND}`; export r; \
2842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 $(BUILD_EXPORTS) \
2844 (cd $(BUILD_SUBDIR)/fixincludes && \
2845 $(MAKE) $(TARGET-build-fixincludes))
2846 @endif build-fixincludes
2852 # --------------------------------------
2853 # Modules which run on the host machine
2854 # --------------------------------------
2857 .PHONY: configure-ash maybe-configure-ash
2858 maybe-configure-ash:
2859 @if gcc-bootstrap
2860 configure-ash: stage_current
2861 @endif gcc-bootstrap
2862 @if ash
2863 maybe-configure-ash: configure-ash
2864 configure-ash:
2865 @: $(MAKE); $(unstage)
2866 @r=`${PWD_COMMAND}`; export r; \
2867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2868 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2870 $(HOST_EXPORTS) \
2871 echo Configuring in $(HOST_SUBDIR)/ash; \
2872 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2873 case $(srcdir) in \
2874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2875 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2877 esac; \
2878 srcdiroption="--srcdir=$${topdir}/ash"; \
2879 libsrcdir="$$s/ash"; \
2880 $(SHELL) $${libsrcdir}/configure \
2881 $(HOST_CONFIGARGS) $${srcdiroption} \
2882 || exit 1
2883 @endif ash
2889 .PHONY: all-ash maybe-all-ash
2890 maybe-all-ash:
2891 @if gcc-bootstrap
2892 all-ash: stage_current
2893 @endif gcc-bootstrap
2894 @if ash
2895 TARGET-ash=all
2896 maybe-all-ash: all-ash
2897 all-ash: configure-ash
2898 @: $(MAKE); $(unstage)
2899 @r=`${PWD_COMMAND}`; export r; \
2900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901 $(HOST_EXPORTS) \
2902 (cd $(HOST_SUBDIR)/ash && \
2903 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2904 @endif ash
2909 .PHONY: check-ash maybe-check-ash
2910 maybe-check-ash:
2911 @if ash
2912 maybe-check-ash: check-ash
2914 check-ash:
2915 @: $(MAKE); $(unstage)
2916 @r=`${PWD_COMMAND}`; export r; \
2917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2918 $(HOST_EXPORTS) \
2919 (cd $(HOST_SUBDIR)/ash && \
2920 $(MAKE) $(FLAGS_TO_PASS) check)
2922 @endif ash
2924 .PHONY: install-ash maybe-install-ash
2925 maybe-install-ash:
2926 @if ash
2927 maybe-install-ash: install-ash
2929 install-ash: installdirs
2930 @: $(MAKE); $(unstage)
2931 @r=`${PWD_COMMAND}`; export r; \
2932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2933 $(HOST_EXPORTS) \
2934 (cd $(HOST_SUBDIR)/ash && \
2935 $(MAKE) $(FLAGS_TO_PASS) install)
2937 @endif ash
2939 # Other targets (info, dvi, pdf, etc.)
2941 .PHONY: maybe-info-ash info-ash
2942 maybe-info-ash:
2943 @if ash
2944 maybe-info-ash: info-ash
2946 info-ash: \
2947 configure-ash
2948 @: $(MAKE); $(unstage)
2949 @[ -f ./ash/Makefile ] || exit 0; \
2950 r=`${PWD_COMMAND}`; export r; \
2951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2952 $(HOST_EXPORTS) \
2953 for flag in $(EXTRA_HOST_FLAGS) ; do \
2954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2955 done; \
2956 echo "Doing info in ash" ; \
2957 (cd $(HOST_SUBDIR)/ash && \
2958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2960 "RANLIB=$${RANLIB}" \
2961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2962 info) \
2963 || exit 1
2965 @endif ash
2967 .PHONY: maybe-dvi-ash dvi-ash
2968 maybe-dvi-ash:
2969 @if ash
2970 maybe-dvi-ash: dvi-ash
2972 dvi-ash: \
2973 configure-ash
2974 @: $(MAKE); $(unstage)
2975 @[ -f ./ash/Makefile ] || exit 0; \
2976 r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 $(HOST_EXPORTS) \
2979 for flag in $(EXTRA_HOST_FLAGS) ; do \
2980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2981 done; \
2982 echo "Doing dvi in ash" ; \
2983 (cd $(HOST_SUBDIR)/ash && \
2984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2986 "RANLIB=$${RANLIB}" \
2987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2988 dvi) \
2989 || exit 1
2991 @endif ash
2993 .PHONY: maybe-pdf-ash pdf-ash
2994 maybe-pdf-ash:
2995 @if ash
2996 maybe-pdf-ash: pdf-ash
2998 pdf-ash: \
2999 configure-ash
3000 @: $(MAKE); $(unstage)
3001 @[ -f ./ash/Makefile ] || exit 0; \
3002 r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 $(HOST_EXPORTS) \
3005 for flag in $(EXTRA_HOST_FLAGS) ; do \
3006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3007 done; \
3008 echo "Doing pdf in ash" ; \
3009 (cd $(HOST_SUBDIR)/ash && \
3010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3012 "RANLIB=$${RANLIB}" \
3013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3014 pdf) \
3015 || exit 1
3017 @endif ash
3019 .PHONY: maybe-html-ash html-ash
3020 maybe-html-ash:
3021 @if ash
3022 maybe-html-ash: html-ash
3024 html-ash: \
3025 configure-ash
3026 @: $(MAKE); $(unstage)
3027 @[ -f ./ash/Makefile ] || exit 0; \
3028 r=`${PWD_COMMAND}`; export r; \
3029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3030 $(HOST_EXPORTS) \
3031 for flag in $(EXTRA_HOST_FLAGS) ; do \
3032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3033 done; \
3034 echo "Doing html in ash" ; \
3035 (cd $(HOST_SUBDIR)/ash && \
3036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3038 "RANLIB=$${RANLIB}" \
3039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3040 html) \
3041 || exit 1
3043 @endif ash
3045 .PHONY: maybe-TAGS-ash TAGS-ash
3046 maybe-TAGS-ash:
3047 @if ash
3048 maybe-TAGS-ash: TAGS-ash
3050 TAGS-ash: \
3051 configure-ash
3052 @: $(MAKE); $(unstage)
3053 @[ -f ./ash/Makefile ] || exit 0; \
3054 r=`${PWD_COMMAND}`; export r; \
3055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3056 $(HOST_EXPORTS) \
3057 for flag in $(EXTRA_HOST_FLAGS) ; do \
3058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3059 done; \
3060 echo "Doing TAGS in ash" ; \
3061 (cd $(HOST_SUBDIR)/ash && \
3062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3064 "RANLIB=$${RANLIB}" \
3065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3066 TAGS) \
3067 || exit 1
3069 @endif ash
3071 .PHONY: maybe-install-info-ash install-info-ash
3072 maybe-install-info-ash:
3073 @if ash
3074 maybe-install-info-ash: install-info-ash
3076 install-info-ash: \
3077 configure-ash \
3078 info-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 install-info 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 install-info) \
3094 || exit 1
3096 @endif ash
3098 .PHONY: maybe-install-html-ash install-html-ash
3099 maybe-install-html-ash:
3100 @if ash
3101 maybe-install-html-ash: install-html-ash
3103 install-html-ash: \
3104 configure-ash \
3105 html-ash
3106 @: $(MAKE); $(unstage)
3107 @[ -f ./ash/Makefile ] || exit 0; \
3108 r=`${PWD_COMMAND}`; export r; \
3109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3110 $(HOST_EXPORTS) \
3111 for flag in $(EXTRA_HOST_FLAGS) ; do \
3112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3113 done; \
3114 echo "Doing install-html in ash" ; \
3115 (cd $(HOST_SUBDIR)/ash && \
3116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3118 "RANLIB=$${RANLIB}" \
3119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3120 install-html) \
3121 || exit 1
3123 @endif ash
3125 .PHONY: maybe-installcheck-ash installcheck-ash
3126 maybe-installcheck-ash:
3127 @if ash
3128 maybe-installcheck-ash: installcheck-ash
3130 installcheck-ash: \
3131 configure-ash
3132 @: $(MAKE); $(unstage)
3133 @[ -f ./ash/Makefile ] || exit 0; \
3134 r=`${PWD_COMMAND}`; export r; \
3135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3136 $(HOST_EXPORTS) \
3137 for flag in $(EXTRA_HOST_FLAGS) ; do \
3138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3139 done; \
3140 echo "Doing installcheck in ash" ; \
3141 (cd $(HOST_SUBDIR)/ash && \
3142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3144 "RANLIB=$${RANLIB}" \
3145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3146 installcheck) \
3147 || exit 1
3149 @endif ash
3151 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3152 maybe-mostlyclean-ash:
3153 @if ash
3154 maybe-mostlyclean-ash: mostlyclean-ash
3156 mostlyclean-ash:
3157 @: $(MAKE); $(unstage)
3158 @[ -f ./ash/Makefile ] || exit 0; \
3159 r=`${PWD_COMMAND}`; export r; \
3160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3161 $(HOST_EXPORTS) \
3162 for flag in $(EXTRA_HOST_FLAGS) ; do \
3163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3164 done; \
3165 echo "Doing mostlyclean in ash" ; \
3166 (cd $(HOST_SUBDIR)/ash && \
3167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3169 "RANLIB=$${RANLIB}" \
3170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3171 mostlyclean) \
3172 || exit 1
3174 @endif ash
3176 .PHONY: maybe-clean-ash clean-ash
3177 maybe-clean-ash:
3178 @if ash
3179 maybe-clean-ash: clean-ash
3181 clean-ash:
3182 @: $(MAKE); $(unstage)
3183 @[ -f ./ash/Makefile ] || exit 0; \
3184 r=`${PWD_COMMAND}`; export r; \
3185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3186 $(HOST_EXPORTS) \
3187 for flag in $(EXTRA_HOST_FLAGS) ; do \
3188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3189 done; \
3190 echo "Doing clean in ash" ; \
3191 (cd $(HOST_SUBDIR)/ash && \
3192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3194 "RANLIB=$${RANLIB}" \
3195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3196 clean) \
3197 || exit 1
3199 @endif ash
3201 .PHONY: maybe-distclean-ash distclean-ash
3202 maybe-distclean-ash:
3203 @if ash
3204 maybe-distclean-ash: distclean-ash
3206 distclean-ash:
3207 @: $(MAKE); $(unstage)
3208 @[ -f ./ash/Makefile ] || exit 0; \
3209 r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211 $(HOST_EXPORTS) \
3212 for flag in $(EXTRA_HOST_FLAGS) ; do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3214 done; \
3215 echo "Doing distclean in ash" ; \
3216 (cd $(HOST_SUBDIR)/ash && \
3217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219 "RANLIB=$${RANLIB}" \
3220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3221 distclean) \
3222 || exit 1
3224 @endif ash
3226 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3227 maybe-maintainer-clean-ash:
3228 @if ash
3229 maybe-maintainer-clean-ash: maintainer-clean-ash
3231 maintainer-clean-ash:
3232 @: $(MAKE); $(unstage)
3233 @[ -f ./ash/Makefile ] || exit 0; \
3234 r=`${PWD_COMMAND}`; export r; \
3235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3236 $(HOST_EXPORTS) \
3237 for flag in $(EXTRA_HOST_FLAGS) ; do \
3238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3239 done; \
3240 echo "Doing maintainer-clean in ash" ; \
3241 (cd $(HOST_SUBDIR)/ash && \
3242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3244 "RANLIB=$${RANLIB}" \
3245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3246 maintainer-clean) \
3247 || exit 1
3249 @endif ash
3253 .PHONY: configure-autoconf maybe-configure-autoconf
3254 maybe-configure-autoconf:
3255 @if gcc-bootstrap
3256 configure-autoconf: stage_current
3257 @endif gcc-bootstrap
3258 @if autoconf
3259 maybe-configure-autoconf: configure-autoconf
3260 configure-autoconf:
3261 @: $(MAKE); $(unstage)
3262 @r=`${PWD_COMMAND}`; export r; \
3263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3264 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3266 $(HOST_EXPORTS) \
3267 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3268 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3269 case $(srcdir) in \
3270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3271 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3273 esac; \
3274 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3275 libsrcdir="$$s/autoconf"; \
3276 $(SHELL) $${libsrcdir}/configure \
3277 $(HOST_CONFIGARGS) $${srcdiroption} \
3278 || exit 1
3279 @endif autoconf
3285 .PHONY: all-autoconf maybe-all-autoconf
3286 maybe-all-autoconf:
3287 @if gcc-bootstrap
3288 all-autoconf: stage_current
3289 @endif gcc-bootstrap
3290 @if autoconf
3291 TARGET-autoconf=all
3292 maybe-all-autoconf: all-autoconf
3293 all-autoconf: configure-autoconf
3294 @: $(MAKE); $(unstage)
3295 @r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3297 $(HOST_EXPORTS) \
3298 (cd $(HOST_SUBDIR)/autoconf && \
3299 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3300 @endif autoconf
3305 .PHONY: check-autoconf maybe-check-autoconf
3306 maybe-check-autoconf:
3307 @if autoconf
3308 maybe-check-autoconf: check-autoconf
3310 check-autoconf:
3311 @: $(MAKE); $(unstage)
3312 @r=`${PWD_COMMAND}`; export r; \
3313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 $(HOST_EXPORTS) \
3315 (cd $(HOST_SUBDIR)/autoconf && \
3316 $(MAKE) $(FLAGS_TO_PASS) check)
3318 @endif autoconf
3320 .PHONY: install-autoconf maybe-install-autoconf
3321 maybe-install-autoconf:
3322 @if autoconf
3323 maybe-install-autoconf: install-autoconf
3325 install-autoconf: installdirs
3326 @: $(MAKE); $(unstage)
3327 @r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 $(HOST_EXPORTS) \
3330 (cd $(HOST_SUBDIR)/autoconf && \
3331 $(MAKE) $(FLAGS_TO_PASS) install)
3333 @endif autoconf
3335 # Other targets (info, dvi, pdf, etc.)
3337 .PHONY: maybe-info-autoconf info-autoconf
3338 maybe-info-autoconf:
3339 @if autoconf
3340 maybe-info-autoconf: info-autoconf
3342 info-autoconf: \
3343 configure-autoconf
3344 @: $(MAKE); $(unstage)
3345 @[ -f ./autoconf/Makefile ] || exit 0; \
3346 r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 $(HOST_EXPORTS) \
3349 for flag in $(EXTRA_HOST_FLAGS) ; do \
3350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3351 done; \
3352 echo "Doing info in autoconf" ; \
3353 (cd $(HOST_SUBDIR)/autoconf && \
3354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3356 "RANLIB=$${RANLIB}" \
3357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3358 info) \
3359 || exit 1
3361 @endif autoconf
3363 .PHONY: maybe-dvi-autoconf dvi-autoconf
3364 maybe-dvi-autoconf:
3365 @if autoconf
3366 maybe-dvi-autoconf: dvi-autoconf
3368 dvi-autoconf: \
3369 configure-autoconf
3370 @: $(MAKE); $(unstage)
3371 @[ -f ./autoconf/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 $(HOST_EXPORTS) \
3375 for flag in $(EXTRA_HOST_FLAGS) ; do \
3376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3377 done; \
3378 echo "Doing dvi in autoconf" ; \
3379 (cd $(HOST_SUBDIR)/autoconf && \
3380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3382 "RANLIB=$${RANLIB}" \
3383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3384 dvi) \
3385 || exit 1
3387 @endif autoconf
3389 .PHONY: maybe-pdf-autoconf pdf-autoconf
3390 maybe-pdf-autoconf:
3391 @if autoconf
3392 maybe-pdf-autoconf: pdf-autoconf
3394 pdf-autoconf: \
3395 configure-autoconf
3396 @: $(MAKE); $(unstage)
3397 @[ -f ./autoconf/Makefile ] || exit 0; \
3398 r=`${PWD_COMMAND}`; export r; \
3399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 $(HOST_EXPORTS) \
3401 for flag in $(EXTRA_HOST_FLAGS) ; do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 done; \
3404 echo "Doing pdf in autoconf" ; \
3405 (cd $(HOST_SUBDIR)/autoconf && \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410 pdf) \
3411 || exit 1
3413 @endif autoconf
3415 .PHONY: maybe-html-autoconf html-autoconf
3416 maybe-html-autoconf:
3417 @if autoconf
3418 maybe-html-autoconf: html-autoconf
3420 html-autoconf: \
3421 configure-autoconf
3422 @: $(MAKE); $(unstage)
3423 @[ -f ./autoconf/Makefile ] || exit 0; \
3424 r=`${PWD_COMMAND}`; export r; \
3425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3426 $(HOST_EXPORTS) \
3427 for flag in $(EXTRA_HOST_FLAGS) ; do \
3428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3429 done; \
3430 echo "Doing html in autoconf" ; \
3431 (cd $(HOST_SUBDIR)/autoconf && \
3432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3434 "RANLIB=$${RANLIB}" \
3435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3436 html) \
3437 || exit 1
3439 @endif autoconf
3441 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3442 maybe-TAGS-autoconf:
3443 @if autoconf
3444 maybe-TAGS-autoconf: TAGS-autoconf
3446 TAGS-autoconf: \
3447 configure-autoconf
3448 @: $(MAKE); $(unstage)
3449 @[ -f ./autoconf/Makefile ] || exit 0; \
3450 r=`${PWD_COMMAND}`; export r; \
3451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3452 $(HOST_EXPORTS) \
3453 for flag in $(EXTRA_HOST_FLAGS) ; do \
3454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3455 done; \
3456 echo "Doing TAGS in autoconf" ; \
3457 (cd $(HOST_SUBDIR)/autoconf && \
3458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3460 "RANLIB=$${RANLIB}" \
3461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3462 TAGS) \
3463 || exit 1
3465 @endif autoconf
3467 .PHONY: maybe-install-info-autoconf install-info-autoconf
3468 maybe-install-info-autoconf:
3469 @if autoconf
3470 maybe-install-info-autoconf: install-info-autoconf
3472 install-info-autoconf: \
3473 configure-autoconf \
3474 info-autoconf
3475 @: $(MAKE); $(unstage)
3476 @[ -f ./autoconf/Makefile ] || exit 0; \
3477 r=`${PWD_COMMAND}`; export r; \
3478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3479 $(HOST_EXPORTS) \
3480 for flag in $(EXTRA_HOST_FLAGS) ; do \
3481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3482 done; \
3483 echo "Doing install-info in autoconf" ; \
3484 (cd $(HOST_SUBDIR)/autoconf && \
3485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3487 "RANLIB=$${RANLIB}" \
3488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3489 install-info) \
3490 || exit 1
3492 @endif autoconf
3494 .PHONY: maybe-install-html-autoconf install-html-autoconf
3495 maybe-install-html-autoconf:
3496 @if autoconf
3497 maybe-install-html-autoconf: install-html-autoconf
3499 install-html-autoconf: \
3500 configure-autoconf \
3501 html-autoconf
3502 @: $(MAKE); $(unstage)
3503 @[ -f ./autoconf/Makefile ] || exit 0; \
3504 r=`${PWD_COMMAND}`; export r; \
3505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3506 $(HOST_EXPORTS) \
3507 for flag in $(EXTRA_HOST_FLAGS) ; do \
3508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3509 done; \
3510 echo "Doing install-html in autoconf" ; \
3511 (cd $(HOST_SUBDIR)/autoconf && \
3512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3514 "RANLIB=$${RANLIB}" \
3515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3516 install-html) \
3517 || exit 1
3519 @endif autoconf
3521 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3522 maybe-installcheck-autoconf:
3523 @if autoconf
3524 maybe-installcheck-autoconf: installcheck-autoconf
3526 installcheck-autoconf: \
3527 configure-autoconf
3528 @: $(MAKE); $(unstage)
3529 @[ -f ./autoconf/Makefile ] || exit 0; \
3530 r=`${PWD_COMMAND}`; export r; \
3531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3532 $(HOST_EXPORTS) \
3533 for flag in $(EXTRA_HOST_FLAGS) ; do \
3534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3535 done; \
3536 echo "Doing installcheck in autoconf" ; \
3537 (cd $(HOST_SUBDIR)/autoconf && \
3538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3540 "RANLIB=$${RANLIB}" \
3541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3542 installcheck) \
3543 || exit 1
3545 @endif autoconf
3547 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3548 maybe-mostlyclean-autoconf:
3549 @if autoconf
3550 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3552 mostlyclean-autoconf:
3553 @: $(MAKE); $(unstage)
3554 @[ -f ./autoconf/Makefile ] || exit 0; \
3555 r=`${PWD_COMMAND}`; export r; \
3556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3557 $(HOST_EXPORTS) \
3558 for flag in $(EXTRA_HOST_FLAGS) ; do \
3559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3560 done; \
3561 echo "Doing mostlyclean in autoconf" ; \
3562 (cd $(HOST_SUBDIR)/autoconf && \
3563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3565 "RANLIB=$${RANLIB}" \
3566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3567 mostlyclean) \
3568 || exit 1
3570 @endif autoconf
3572 .PHONY: maybe-clean-autoconf clean-autoconf
3573 maybe-clean-autoconf:
3574 @if autoconf
3575 maybe-clean-autoconf: clean-autoconf
3577 clean-autoconf:
3578 @: $(MAKE); $(unstage)
3579 @[ -f ./autoconf/Makefile ] || exit 0; \
3580 r=`${PWD_COMMAND}`; export r; \
3581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 $(HOST_EXPORTS) \
3583 for flag in $(EXTRA_HOST_FLAGS) ; do \
3584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3585 done; \
3586 echo "Doing clean in autoconf" ; \
3587 (cd $(HOST_SUBDIR)/autoconf && \
3588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3590 "RANLIB=$${RANLIB}" \
3591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3592 clean) \
3593 || exit 1
3595 @endif autoconf
3597 .PHONY: maybe-distclean-autoconf distclean-autoconf
3598 maybe-distclean-autoconf:
3599 @if autoconf
3600 maybe-distclean-autoconf: distclean-autoconf
3602 distclean-autoconf:
3603 @: $(MAKE); $(unstage)
3604 @[ -f ./autoconf/Makefile ] || exit 0; \
3605 r=`${PWD_COMMAND}`; export r; \
3606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3607 $(HOST_EXPORTS) \
3608 for flag in $(EXTRA_HOST_FLAGS) ; do \
3609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3610 done; \
3611 echo "Doing distclean in autoconf" ; \
3612 (cd $(HOST_SUBDIR)/autoconf && \
3613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3615 "RANLIB=$${RANLIB}" \
3616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3617 distclean) \
3618 || exit 1
3620 @endif autoconf
3622 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3623 maybe-maintainer-clean-autoconf:
3624 @if autoconf
3625 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3627 maintainer-clean-autoconf:
3628 @: $(MAKE); $(unstage)
3629 @[ -f ./autoconf/Makefile ] || exit 0; \
3630 r=`${PWD_COMMAND}`; export r; \
3631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3632 $(HOST_EXPORTS) \
3633 for flag in $(EXTRA_HOST_FLAGS) ; do \
3634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3635 done; \
3636 echo "Doing maintainer-clean in autoconf" ; \
3637 (cd $(HOST_SUBDIR)/autoconf && \
3638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3640 "RANLIB=$${RANLIB}" \
3641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3642 maintainer-clean) \
3643 || exit 1
3645 @endif autoconf
3649 .PHONY: configure-automake maybe-configure-automake
3650 maybe-configure-automake:
3651 @if gcc-bootstrap
3652 configure-automake: stage_current
3653 @endif gcc-bootstrap
3654 @if automake
3655 maybe-configure-automake: configure-automake
3656 configure-automake:
3657 @: $(MAKE); $(unstage)
3658 @r=`${PWD_COMMAND}`; export r; \
3659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3660 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3662 $(HOST_EXPORTS) \
3663 echo Configuring in $(HOST_SUBDIR)/automake; \
3664 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3665 case $(srcdir) in \
3666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3667 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3669 esac; \
3670 srcdiroption="--srcdir=$${topdir}/automake"; \
3671 libsrcdir="$$s/automake"; \
3672 $(SHELL) $${libsrcdir}/configure \
3673 $(HOST_CONFIGARGS) $${srcdiroption} \
3674 || exit 1
3675 @endif automake
3681 .PHONY: all-automake maybe-all-automake
3682 maybe-all-automake:
3683 @if gcc-bootstrap
3684 all-automake: stage_current
3685 @endif gcc-bootstrap
3686 @if automake
3687 TARGET-automake=all
3688 maybe-all-automake: all-automake
3689 all-automake: configure-automake
3690 @: $(MAKE); $(unstage)
3691 @r=`${PWD_COMMAND}`; export r; \
3692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3693 $(HOST_EXPORTS) \
3694 (cd $(HOST_SUBDIR)/automake && \
3695 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3696 @endif automake
3701 .PHONY: check-automake maybe-check-automake
3702 maybe-check-automake:
3703 @if automake
3704 maybe-check-automake: check-automake
3706 check-automake:
3707 @: $(MAKE); $(unstage)
3708 @r=`${PWD_COMMAND}`; export r; \
3709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3710 $(HOST_EXPORTS) \
3711 (cd $(HOST_SUBDIR)/automake && \
3712 $(MAKE) $(FLAGS_TO_PASS) check)
3714 @endif automake
3716 .PHONY: install-automake maybe-install-automake
3717 maybe-install-automake:
3718 @if automake
3719 maybe-install-automake: install-automake
3721 install-automake: installdirs
3722 @: $(MAKE); $(unstage)
3723 @r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(HOST_EXPORTS) \
3726 (cd $(HOST_SUBDIR)/automake && \
3727 $(MAKE) $(FLAGS_TO_PASS) install)
3729 @endif automake
3731 # Other targets (info, dvi, pdf, etc.)
3733 .PHONY: maybe-info-automake info-automake
3734 maybe-info-automake:
3735 @if automake
3736 maybe-info-automake: info-automake
3738 info-automake: \
3739 configure-automake
3740 @: $(MAKE); $(unstage)
3741 @[ -f ./automake/Makefile ] || exit 0; \
3742 r=`${PWD_COMMAND}`; export r; \
3743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3744 $(HOST_EXPORTS) \
3745 for flag in $(EXTRA_HOST_FLAGS) ; do \
3746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3747 done; \
3748 echo "Doing info in automake" ; \
3749 (cd $(HOST_SUBDIR)/automake && \
3750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3752 "RANLIB=$${RANLIB}" \
3753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3754 info) \
3755 || exit 1
3757 @endif automake
3759 .PHONY: maybe-dvi-automake dvi-automake
3760 maybe-dvi-automake:
3761 @if automake
3762 maybe-dvi-automake: dvi-automake
3764 dvi-automake: \
3765 configure-automake
3766 @: $(MAKE); $(unstage)
3767 @[ -f ./automake/Makefile ] || exit 0; \
3768 r=`${PWD_COMMAND}`; export r; \
3769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3770 $(HOST_EXPORTS) \
3771 for flag in $(EXTRA_HOST_FLAGS) ; do \
3772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3773 done; \
3774 echo "Doing dvi in automake" ; \
3775 (cd $(HOST_SUBDIR)/automake && \
3776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3778 "RANLIB=$${RANLIB}" \
3779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3780 dvi) \
3781 || exit 1
3783 @endif automake
3785 .PHONY: maybe-pdf-automake pdf-automake
3786 maybe-pdf-automake:
3787 @if automake
3788 maybe-pdf-automake: pdf-automake
3790 pdf-automake: \
3791 configure-automake
3792 @: $(MAKE); $(unstage)
3793 @[ -f ./automake/Makefile ] || exit 0; \
3794 r=`${PWD_COMMAND}`; export r; \
3795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3796 $(HOST_EXPORTS) \
3797 for flag in $(EXTRA_HOST_FLAGS) ; do \
3798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3799 done; \
3800 echo "Doing pdf in automake" ; \
3801 (cd $(HOST_SUBDIR)/automake && \
3802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3804 "RANLIB=$${RANLIB}" \
3805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3806 pdf) \
3807 || exit 1
3809 @endif automake
3811 .PHONY: maybe-html-automake html-automake
3812 maybe-html-automake:
3813 @if automake
3814 maybe-html-automake: html-automake
3816 html-automake: \
3817 configure-automake
3818 @: $(MAKE); $(unstage)
3819 @[ -f ./automake/Makefile ] || exit 0; \
3820 r=`${PWD_COMMAND}`; export r; \
3821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3822 $(HOST_EXPORTS) \
3823 for flag in $(EXTRA_HOST_FLAGS) ; do \
3824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3825 done; \
3826 echo "Doing html in automake" ; \
3827 (cd $(HOST_SUBDIR)/automake && \
3828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3830 "RANLIB=$${RANLIB}" \
3831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3832 html) \
3833 || exit 1
3835 @endif automake
3837 .PHONY: maybe-TAGS-automake TAGS-automake
3838 maybe-TAGS-automake:
3839 @if automake
3840 maybe-TAGS-automake: TAGS-automake
3842 TAGS-automake: \
3843 configure-automake
3844 @: $(MAKE); $(unstage)
3845 @[ -f ./automake/Makefile ] || exit 0; \
3846 r=`${PWD_COMMAND}`; export r; \
3847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3848 $(HOST_EXPORTS) \
3849 for flag in $(EXTRA_HOST_FLAGS) ; do \
3850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3851 done; \
3852 echo "Doing TAGS in automake" ; \
3853 (cd $(HOST_SUBDIR)/automake && \
3854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3856 "RANLIB=$${RANLIB}" \
3857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3858 TAGS) \
3859 || exit 1
3861 @endif automake
3863 .PHONY: maybe-install-info-automake install-info-automake
3864 maybe-install-info-automake:
3865 @if automake
3866 maybe-install-info-automake: install-info-automake
3868 install-info-automake: \
3869 configure-automake \
3870 info-automake
3871 @: $(MAKE); $(unstage)
3872 @[ -f ./automake/Makefile ] || exit 0; \
3873 r=`${PWD_COMMAND}`; export r; \
3874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3875 $(HOST_EXPORTS) \
3876 for flag in $(EXTRA_HOST_FLAGS) ; do \
3877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3878 done; \
3879 echo "Doing install-info in automake" ; \
3880 (cd $(HOST_SUBDIR)/automake && \
3881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3883 "RANLIB=$${RANLIB}" \
3884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3885 install-info) \
3886 || exit 1
3888 @endif automake
3890 .PHONY: maybe-install-html-automake install-html-automake
3891 maybe-install-html-automake:
3892 @if automake
3893 maybe-install-html-automake: install-html-automake
3895 install-html-automake: \
3896 configure-automake \
3897 html-automake
3898 @: $(MAKE); $(unstage)
3899 @[ -f ./automake/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 $(HOST_EXPORTS) \
3903 for flag in $(EXTRA_HOST_FLAGS) ; do \
3904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3905 done; \
3906 echo "Doing install-html in automake" ; \
3907 (cd $(HOST_SUBDIR)/automake && \
3908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3910 "RANLIB=$${RANLIB}" \
3911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3912 install-html) \
3913 || exit 1
3915 @endif automake
3917 .PHONY: maybe-installcheck-automake installcheck-automake
3918 maybe-installcheck-automake:
3919 @if automake
3920 maybe-installcheck-automake: installcheck-automake
3922 installcheck-automake: \
3923 configure-automake
3924 @: $(MAKE); $(unstage)
3925 @[ -f ./automake/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3928 $(HOST_EXPORTS) \
3929 for flag in $(EXTRA_HOST_FLAGS) ; do \
3930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3931 done; \
3932 echo "Doing installcheck in automake" ; \
3933 (cd $(HOST_SUBDIR)/automake && \
3934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3936 "RANLIB=$${RANLIB}" \
3937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3938 installcheck) \
3939 || exit 1
3941 @endif automake
3943 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3944 maybe-mostlyclean-automake:
3945 @if automake
3946 maybe-mostlyclean-automake: mostlyclean-automake
3948 mostlyclean-automake:
3949 @: $(MAKE); $(unstage)
3950 @[ -f ./automake/Makefile ] || exit 0; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 $(HOST_EXPORTS) \
3954 for flag in $(EXTRA_HOST_FLAGS) ; do \
3955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3956 done; \
3957 echo "Doing mostlyclean in automake" ; \
3958 (cd $(HOST_SUBDIR)/automake && \
3959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3961 "RANLIB=$${RANLIB}" \
3962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3963 mostlyclean) \
3964 || exit 1
3966 @endif automake
3968 .PHONY: maybe-clean-automake clean-automake
3969 maybe-clean-automake:
3970 @if automake
3971 maybe-clean-automake: clean-automake
3973 clean-automake:
3974 @: $(MAKE); $(unstage)
3975 @[ -f ./automake/Makefile ] || exit 0; \
3976 r=`${PWD_COMMAND}`; export r; \
3977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3978 $(HOST_EXPORTS) \
3979 for flag in $(EXTRA_HOST_FLAGS) ; do \
3980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3981 done; \
3982 echo "Doing clean in automake" ; \
3983 (cd $(HOST_SUBDIR)/automake && \
3984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3986 "RANLIB=$${RANLIB}" \
3987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3988 clean) \
3989 || exit 1
3991 @endif automake
3993 .PHONY: maybe-distclean-automake distclean-automake
3994 maybe-distclean-automake:
3995 @if automake
3996 maybe-distclean-automake: distclean-automake
3998 distclean-automake:
3999 @: $(MAKE); $(unstage)
4000 @[ -f ./automake/Makefile ] || exit 0; \
4001 r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 $(HOST_EXPORTS) \
4004 for flag in $(EXTRA_HOST_FLAGS) ; do \
4005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4006 done; \
4007 echo "Doing distclean in automake" ; \
4008 (cd $(HOST_SUBDIR)/automake && \
4009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4011 "RANLIB=$${RANLIB}" \
4012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4013 distclean) \
4014 || exit 1
4016 @endif automake
4018 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4019 maybe-maintainer-clean-automake:
4020 @if automake
4021 maybe-maintainer-clean-automake: maintainer-clean-automake
4023 maintainer-clean-automake:
4024 @: $(MAKE); $(unstage)
4025 @[ -f ./automake/Makefile ] || exit 0; \
4026 r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 $(HOST_EXPORTS) \
4029 for flag in $(EXTRA_HOST_FLAGS) ; do \
4030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4031 done; \
4032 echo "Doing maintainer-clean in automake" ; \
4033 (cd $(HOST_SUBDIR)/automake && \
4034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4036 "RANLIB=$${RANLIB}" \
4037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4038 maintainer-clean) \
4039 || exit 1
4041 @endif automake
4045 .PHONY: configure-bash maybe-configure-bash
4046 maybe-configure-bash:
4047 @if gcc-bootstrap
4048 configure-bash: stage_current
4049 @endif gcc-bootstrap
4050 @if bash
4051 maybe-configure-bash: configure-bash
4052 configure-bash:
4053 @: $(MAKE); $(unstage)
4054 @r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4058 $(HOST_EXPORTS) \
4059 echo Configuring in $(HOST_SUBDIR)/bash; \
4060 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4061 case $(srcdir) in \
4062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4063 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4065 esac; \
4066 srcdiroption="--srcdir=$${topdir}/bash"; \
4067 libsrcdir="$$s/bash"; \
4068 $(SHELL) $${libsrcdir}/configure \
4069 $(HOST_CONFIGARGS) $${srcdiroption} \
4070 || exit 1
4071 @endif bash
4077 .PHONY: all-bash maybe-all-bash
4078 maybe-all-bash:
4079 @if gcc-bootstrap
4080 all-bash: stage_current
4081 @endif gcc-bootstrap
4082 @if bash
4083 TARGET-bash=all
4084 maybe-all-bash: all-bash
4085 all-bash: configure-bash
4086 @: $(MAKE); $(unstage)
4087 @r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 $(HOST_EXPORTS) \
4090 (cd $(HOST_SUBDIR)/bash && \
4091 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4092 @endif bash
4097 .PHONY: check-bash maybe-check-bash
4098 maybe-check-bash:
4099 @if bash
4100 maybe-check-bash: check-bash
4102 check-bash:
4103 @: $(MAKE); $(unstage)
4104 @r=`${PWD_COMMAND}`; export r; \
4105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4106 $(HOST_EXPORTS) \
4107 (cd $(HOST_SUBDIR)/bash && \
4108 $(MAKE) $(FLAGS_TO_PASS) check)
4110 @endif bash
4112 .PHONY: install-bash maybe-install-bash
4113 maybe-install-bash:
4114 @if bash
4115 maybe-install-bash: install-bash
4117 install-bash: installdirs
4118 @: $(MAKE); $(unstage)
4119 @r=`${PWD_COMMAND}`; export r; \
4120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4121 $(HOST_EXPORTS) \
4122 (cd $(HOST_SUBDIR)/bash && \
4123 $(MAKE) $(FLAGS_TO_PASS) install)
4125 @endif bash
4127 # Other targets (info, dvi, pdf, etc.)
4129 .PHONY: maybe-info-bash info-bash
4130 maybe-info-bash:
4131 @if bash
4132 maybe-info-bash: info-bash
4134 info-bash: \
4135 configure-bash
4136 @: $(MAKE); $(unstage)
4137 @[ -f ./bash/Makefile ] || exit 0; \
4138 r=`${PWD_COMMAND}`; export r; \
4139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4140 $(HOST_EXPORTS) \
4141 for flag in $(EXTRA_HOST_FLAGS) ; do \
4142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4143 done; \
4144 echo "Doing info in bash" ; \
4145 (cd $(HOST_SUBDIR)/bash && \
4146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4148 "RANLIB=$${RANLIB}" \
4149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4150 info) \
4151 || exit 1
4153 @endif bash
4155 .PHONY: maybe-dvi-bash dvi-bash
4156 maybe-dvi-bash:
4157 @if bash
4158 maybe-dvi-bash: dvi-bash
4160 dvi-bash: \
4161 configure-bash
4162 @: $(MAKE); $(unstage)
4163 @[ -f ./bash/Makefile ] || exit 0; \
4164 r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4166 $(HOST_EXPORTS) \
4167 for flag in $(EXTRA_HOST_FLAGS) ; do \
4168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4169 done; \
4170 echo "Doing dvi in bash" ; \
4171 (cd $(HOST_SUBDIR)/bash && \
4172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4174 "RANLIB=$${RANLIB}" \
4175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4176 dvi) \
4177 || exit 1
4179 @endif bash
4181 .PHONY: maybe-pdf-bash pdf-bash
4182 maybe-pdf-bash:
4183 @if bash
4184 maybe-pdf-bash: pdf-bash
4186 pdf-bash: \
4187 configure-bash
4188 @: $(MAKE); $(unstage)
4189 @[ -f ./bash/Makefile ] || exit 0; \
4190 r=`${PWD_COMMAND}`; export r; \
4191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4192 $(HOST_EXPORTS) \
4193 for flag in $(EXTRA_HOST_FLAGS) ; do \
4194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4195 done; \
4196 echo "Doing pdf in bash" ; \
4197 (cd $(HOST_SUBDIR)/bash && \
4198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4200 "RANLIB=$${RANLIB}" \
4201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4202 pdf) \
4203 || exit 1
4205 @endif bash
4207 .PHONY: maybe-html-bash html-bash
4208 maybe-html-bash:
4209 @if bash
4210 maybe-html-bash: html-bash
4212 html-bash: \
4213 configure-bash
4214 @: $(MAKE); $(unstage)
4215 @[ -f ./bash/Makefile ] || exit 0; \
4216 r=`${PWD_COMMAND}`; export r; \
4217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4218 $(HOST_EXPORTS) \
4219 for flag in $(EXTRA_HOST_FLAGS) ; do \
4220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4221 done; \
4222 echo "Doing html in bash" ; \
4223 (cd $(HOST_SUBDIR)/bash && \
4224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4226 "RANLIB=$${RANLIB}" \
4227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4228 html) \
4229 || exit 1
4231 @endif bash
4233 .PHONY: maybe-TAGS-bash TAGS-bash
4234 maybe-TAGS-bash:
4235 @if bash
4236 maybe-TAGS-bash: TAGS-bash
4238 TAGS-bash: \
4239 configure-bash
4240 @: $(MAKE); $(unstage)
4241 @[ -f ./bash/Makefile ] || exit 0; \
4242 r=`${PWD_COMMAND}`; export r; \
4243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4244 $(HOST_EXPORTS) \
4245 for flag in $(EXTRA_HOST_FLAGS) ; do \
4246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4247 done; \
4248 echo "Doing TAGS in bash" ; \
4249 (cd $(HOST_SUBDIR)/bash && \
4250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4252 "RANLIB=$${RANLIB}" \
4253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4254 TAGS) \
4255 || exit 1
4257 @endif bash
4259 .PHONY: maybe-install-info-bash install-info-bash
4260 maybe-install-info-bash:
4261 @if bash
4262 maybe-install-info-bash: install-info-bash
4264 install-info-bash: \
4265 configure-bash \
4266 info-bash
4267 @: $(MAKE); $(unstage)
4268 @[ -f ./bash/Makefile ] || exit 0; \
4269 r=`${PWD_COMMAND}`; export r; \
4270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4271 $(HOST_EXPORTS) \
4272 for flag in $(EXTRA_HOST_FLAGS) ; do \
4273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4274 done; \
4275 echo "Doing install-info in bash" ; \
4276 (cd $(HOST_SUBDIR)/bash && \
4277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4279 "RANLIB=$${RANLIB}" \
4280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4281 install-info) \
4282 || exit 1
4284 @endif bash
4286 .PHONY: maybe-install-html-bash install-html-bash
4287 maybe-install-html-bash:
4288 @if bash
4289 maybe-install-html-bash: install-html-bash
4291 install-html-bash: \
4292 configure-bash \
4293 html-bash
4294 @: $(MAKE); $(unstage)
4295 @[ -f ./bash/Makefile ] || exit 0; \
4296 r=`${PWD_COMMAND}`; export r; \
4297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4298 $(HOST_EXPORTS) \
4299 for flag in $(EXTRA_HOST_FLAGS) ; do \
4300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4301 done; \
4302 echo "Doing install-html in bash" ; \
4303 (cd $(HOST_SUBDIR)/bash && \
4304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4306 "RANLIB=$${RANLIB}" \
4307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4308 install-html) \
4309 || exit 1
4311 @endif bash
4313 .PHONY: maybe-installcheck-bash installcheck-bash
4314 maybe-installcheck-bash:
4315 @if bash
4316 maybe-installcheck-bash: installcheck-bash
4318 installcheck-bash: \
4319 configure-bash
4320 @: $(MAKE); $(unstage)
4321 @[ -f ./bash/Makefile ] || exit 0; \
4322 r=`${PWD_COMMAND}`; export r; \
4323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 $(HOST_EXPORTS) \
4325 for flag in $(EXTRA_HOST_FLAGS) ; do \
4326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4327 done; \
4328 echo "Doing installcheck in bash" ; \
4329 (cd $(HOST_SUBDIR)/bash && \
4330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4332 "RANLIB=$${RANLIB}" \
4333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4334 installcheck) \
4335 || exit 1
4337 @endif bash
4339 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4340 maybe-mostlyclean-bash:
4341 @if bash
4342 maybe-mostlyclean-bash: mostlyclean-bash
4344 mostlyclean-bash:
4345 @: $(MAKE); $(unstage)
4346 @[ -f ./bash/Makefile ] || exit 0; \
4347 r=`${PWD_COMMAND}`; export r; \
4348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4349 $(HOST_EXPORTS) \
4350 for flag in $(EXTRA_HOST_FLAGS) ; do \
4351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4352 done; \
4353 echo "Doing mostlyclean in bash" ; \
4354 (cd $(HOST_SUBDIR)/bash && \
4355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4357 "RANLIB=$${RANLIB}" \
4358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4359 mostlyclean) \
4360 || exit 1
4362 @endif bash
4364 .PHONY: maybe-clean-bash clean-bash
4365 maybe-clean-bash:
4366 @if bash
4367 maybe-clean-bash: clean-bash
4369 clean-bash:
4370 @: $(MAKE); $(unstage)
4371 @[ -f ./bash/Makefile ] || exit 0; \
4372 r=`${PWD_COMMAND}`; export r; \
4373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4374 $(HOST_EXPORTS) \
4375 for flag in $(EXTRA_HOST_FLAGS) ; do \
4376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4377 done; \
4378 echo "Doing clean in bash" ; \
4379 (cd $(HOST_SUBDIR)/bash && \
4380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4382 "RANLIB=$${RANLIB}" \
4383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4384 clean) \
4385 || exit 1
4387 @endif bash
4389 .PHONY: maybe-distclean-bash distclean-bash
4390 maybe-distclean-bash:
4391 @if bash
4392 maybe-distclean-bash: distclean-bash
4394 distclean-bash:
4395 @: $(MAKE); $(unstage)
4396 @[ -f ./bash/Makefile ] || exit 0; \
4397 r=`${PWD_COMMAND}`; export r; \
4398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4399 $(HOST_EXPORTS) \
4400 for flag in $(EXTRA_HOST_FLAGS) ; do \
4401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4402 done; \
4403 echo "Doing distclean in bash" ; \
4404 (cd $(HOST_SUBDIR)/bash && \
4405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4407 "RANLIB=$${RANLIB}" \
4408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4409 distclean) \
4410 || exit 1
4412 @endif bash
4414 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4415 maybe-maintainer-clean-bash:
4416 @if bash
4417 maybe-maintainer-clean-bash: maintainer-clean-bash
4419 maintainer-clean-bash:
4420 @: $(MAKE); $(unstage)
4421 @[ -f ./bash/Makefile ] || exit 0; \
4422 r=`${PWD_COMMAND}`; export r; \
4423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4424 $(HOST_EXPORTS) \
4425 for flag in $(EXTRA_HOST_FLAGS) ; do \
4426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4427 done; \
4428 echo "Doing maintainer-clean in bash" ; \
4429 (cd $(HOST_SUBDIR)/bash && \
4430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4432 "RANLIB=$${RANLIB}" \
4433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4434 maintainer-clean) \
4435 || exit 1
4437 @endif bash
4441 .PHONY: configure-bfd maybe-configure-bfd
4442 maybe-configure-bfd:
4443 @if gcc-bootstrap
4444 configure-bfd: stage_current
4445 @endif gcc-bootstrap
4446 @if bfd
4447 maybe-configure-bfd: configure-bfd
4448 configure-bfd:
4449 @r=`${PWD_COMMAND}`; export r; \
4450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4451 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4453 $(HOST_EXPORTS) \
4454 echo Configuring in $(HOST_SUBDIR)/bfd; \
4455 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4456 case $(srcdir) in \
4457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4458 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4460 esac; \
4461 srcdiroption="--srcdir=$${topdir}/bfd"; \
4462 libsrcdir="$$s/bfd"; \
4463 $(SHELL) $${libsrcdir}/configure \
4464 $(HOST_CONFIGARGS) $${srcdiroption} \
4465 || exit 1
4466 @endif bfd
4470 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4471 maybe-configure-stage1-bfd:
4472 @if bfd-bootstrap
4473 maybe-configure-stage1-bfd: configure-stage1-bfd
4474 configure-stage1-bfd:
4475 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4477 @r=`${PWD_COMMAND}`; export r; \
4478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4479 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4480 $(HOST_EXPORTS) \
4481 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4483 cd $(HOST_SUBDIR)/bfd || exit 1; \
4484 case $(srcdir) in \
4485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4486 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4488 esac; \
4489 srcdiroption="--srcdir=$${topdir}/bfd"; \
4490 libsrcdir="$$s/bfd"; \
4491 $(SHELL) $${libsrcdir}/configure \
4492 $(HOST_CONFIGARGS) $${srcdiroption} \
4494 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4495 @endif bfd-bootstrap
4497 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4498 maybe-configure-stage2-bfd:
4499 @if bfd-bootstrap
4500 maybe-configure-stage2-bfd: configure-stage2-bfd
4501 configure-stage2-bfd:
4502 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4504 @r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4507 $(HOST_EXPORTS) \
4508 $(POSTSTAGE1_HOST_EXPORTS) \
4509 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4511 cd $(HOST_SUBDIR)/bfd || exit 1; \
4512 case $(srcdir) in \
4513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4514 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4516 esac; \
4517 srcdiroption="--srcdir=$${topdir}/bfd"; \
4518 libsrcdir="$$s/bfd"; \
4519 $(SHELL) $${libsrcdir}/configure \
4520 $(HOST_CONFIGARGS) $${srcdiroption} \
4521 --with-build-libsubdir=$(HOST_SUBDIR) \
4522 @stage2_werror_flag@
4523 @endif bfd-bootstrap
4525 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4526 maybe-configure-stage3-bfd:
4527 @if bfd-bootstrap
4528 maybe-configure-stage3-bfd: configure-stage3-bfd
4529 configure-stage3-bfd:
4530 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4532 @r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4535 $(HOST_EXPORTS) \
4536 $(POSTSTAGE1_HOST_EXPORTS) \
4537 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4539 cd $(HOST_SUBDIR)/bfd || exit 1; \
4540 case $(srcdir) in \
4541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4542 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4544 esac; \
4545 srcdiroption="--srcdir=$${topdir}/bfd"; \
4546 libsrcdir="$$s/bfd"; \
4547 $(SHELL) $${libsrcdir}/configure \
4548 $(HOST_CONFIGARGS) $${srcdiroption} \
4549 --with-build-libsubdir=$(HOST_SUBDIR) \
4550 @stage2_werror_flag@
4551 @endif bfd-bootstrap
4553 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4554 maybe-configure-stage4-bfd:
4555 @if bfd-bootstrap
4556 maybe-configure-stage4-bfd: configure-stage4-bfd
4557 configure-stage4-bfd:
4558 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4559 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4560 @r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4563 $(HOST_EXPORTS) \
4564 $(POSTSTAGE1_HOST_EXPORTS) \
4565 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4567 cd $(HOST_SUBDIR)/bfd || exit 1; \
4568 case $(srcdir) in \
4569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4570 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4572 esac; \
4573 srcdiroption="--srcdir=$${topdir}/bfd"; \
4574 libsrcdir="$$s/bfd"; \
4575 $(SHELL) $${libsrcdir}/configure \
4576 $(HOST_CONFIGARGS) $${srcdiroption} \
4577 --with-build-libsubdir=$(HOST_SUBDIR) \
4578 @stage2_werror_flag@
4579 @endif bfd-bootstrap
4581 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4582 maybe-configure-stageprofile-bfd:
4583 @if bfd-bootstrap
4584 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4585 configure-stageprofile-bfd:
4586 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4588 @r=`${PWD_COMMAND}`; export r; \
4589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4591 $(HOST_EXPORTS) \
4592 $(POSTSTAGE1_HOST_EXPORTS) \
4593 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4595 cd $(HOST_SUBDIR)/bfd || exit 1; \
4596 case $(srcdir) in \
4597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4598 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4600 esac; \
4601 srcdiroption="--srcdir=$${topdir}/bfd"; \
4602 libsrcdir="$$s/bfd"; \
4603 $(SHELL) $${libsrcdir}/configure \
4604 $(HOST_CONFIGARGS) $${srcdiroption} \
4605 --with-build-libsubdir=$(HOST_SUBDIR) \
4606 @stage2_werror_flag@
4607 @endif bfd-bootstrap
4609 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4610 maybe-configure-stagefeedback-bfd:
4611 @if bfd-bootstrap
4612 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4613 configure-stagefeedback-bfd:
4614 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4616 @r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4619 $(HOST_EXPORTS) \
4620 $(POSTSTAGE1_HOST_EXPORTS) \
4621 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4623 cd $(HOST_SUBDIR)/bfd || exit 1; \
4624 case $(srcdir) in \
4625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4626 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4628 esac; \
4629 srcdiroption="--srcdir=$${topdir}/bfd"; \
4630 libsrcdir="$$s/bfd"; \
4631 $(SHELL) $${libsrcdir}/configure \
4632 $(HOST_CONFIGARGS) $${srcdiroption} \
4633 --with-build-libsubdir=$(HOST_SUBDIR) \
4634 @stage2_werror_flag@
4635 @endif bfd-bootstrap
4641 .PHONY: all-bfd maybe-all-bfd
4642 maybe-all-bfd:
4643 @if gcc-bootstrap
4644 all-bfd: stage_current
4645 @endif gcc-bootstrap
4646 @if bfd
4647 TARGET-bfd=all
4648 maybe-all-bfd: all-bfd
4649 all-bfd: configure-bfd
4650 @r=`${PWD_COMMAND}`; export r; \
4651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4652 $(HOST_EXPORTS) \
4653 (cd $(HOST_SUBDIR)/bfd && \
4654 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4655 @endif bfd
4659 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4660 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4661 maybe-all-stage1-bfd:
4662 maybe-clean-stage1-bfd:
4663 @if bfd-bootstrap
4664 maybe-all-stage1-bfd: all-stage1-bfd
4665 all-stage1: all-stage1-bfd
4666 TARGET-stage1-bfd = $(TARGET-bfd)
4667 all-stage1-bfd: configure-stage1-bfd
4668 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4669 @r=`${PWD_COMMAND}`; export r; \
4670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4671 $(HOST_EXPORTS) \
4672 cd $(HOST_SUBDIR)/bfd && \
4673 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4674 $(TARGET-stage1-bfd)
4676 maybe-clean-stage1-bfd: clean-stage1-bfd
4677 clean-stage1: clean-stage1-bfd
4678 clean-stage1-bfd:
4679 @if [ $(current_stage) = stage1 ]; then \
4680 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4681 else \
4682 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4683 $(MAKE) stage1-start; \
4684 fi; \
4685 cd $(HOST_SUBDIR)/bfd && \
4686 $(MAKE) $(FLAGS_TO_PASS) \
4687 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4688 @endif bfd-bootstrap
4691 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4692 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4693 maybe-all-stage2-bfd:
4694 maybe-clean-stage2-bfd:
4695 @if bfd-bootstrap
4696 maybe-all-stage2-bfd: all-stage2-bfd
4697 all-stage2: all-stage2-bfd
4698 TARGET-stage2-bfd = $(TARGET-bfd)
4699 all-stage2-bfd: configure-stage2-bfd
4700 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4701 @r=`${PWD_COMMAND}`; export r; \
4702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4703 $(HOST_EXPORTS) \
4704 $(POSTSTAGE1_HOST_EXPORTS) \
4705 cd $(HOST_SUBDIR)/bfd && \
4706 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4707 $(TARGET-stage2-bfd)
4709 maybe-clean-stage2-bfd: clean-stage2-bfd
4710 clean-stage2: clean-stage2-bfd
4711 clean-stage2-bfd:
4712 @if [ $(current_stage) = stage2 ]; then \
4713 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4714 else \
4715 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4716 $(MAKE) stage2-start; \
4717 fi; \
4718 cd $(HOST_SUBDIR)/bfd && \
4719 $(MAKE) $(FLAGS_TO_PASS) \
4720 $(POSTSTAGE1_FLAGS_TO_PASS) \
4721 clean
4722 @endif bfd-bootstrap
4725 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4726 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4727 maybe-all-stage3-bfd:
4728 maybe-clean-stage3-bfd:
4729 @if bfd-bootstrap
4730 maybe-all-stage3-bfd: all-stage3-bfd
4731 all-stage3: all-stage3-bfd
4732 TARGET-stage3-bfd = $(TARGET-bfd)
4733 all-stage3-bfd: configure-stage3-bfd
4734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4735 @r=`${PWD_COMMAND}`; export r; \
4736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4737 $(HOST_EXPORTS) \
4738 $(POSTSTAGE1_HOST_EXPORTS) \
4739 cd $(HOST_SUBDIR)/bfd && \
4740 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4741 $(TARGET-stage3-bfd)
4743 maybe-clean-stage3-bfd: clean-stage3-bfd
4744 clean-stage3: clean-stage3-bfd
4745 clean-stage3-bfd:
4746 @if [ $(current_stage) = stage3 ]; then \
4747 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4748 else \
4749 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4750 $(MAKE) stage3-start; \
4751 fi; \
4752 cd $(HOST_SUBDIR)/bfd && \
4753 $(MAKE) $(FLAGS_TO_PASS) \
4754 $(POSTSTAGE1_FLAGS_TO_PASS) \
4755 clean
4756 @endif bfd-bootstrap
4759 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4760 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4761 maybe-all-stage4-bfd:
4762 maybe-clean-stage4-bfd:
4763 @if bfd-bootstrap
4764 maybe-all-stage4-bfd: all-stage4-bfd
4765 all-stage4: all-stage4-bfd
4766 TARGET-stage4-bfd = $(TARGET-bfd)
4767 all-stage4-bfd: configure-stage4-bfd
4768 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4769 @r=`${PWD_COMMAND}`; export r; \
4770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4771 $(HOST_EXPORTS) \
4772 $(POSTSTAGE1_HOST_EXPORTS) \
4773 cd $(HOST_SUBDIR)/bfd && \
4774 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4775 $(TARGET-stage4-bfd)
4777 maybe-clean-stage4-bfd: clean-stage4-bfd
4778 clean-stage4: clean-stage4-bfd
4779 clean-stage4-bfd:
4780 @if [ $(current_stage) = stage4 ]; then \
4781 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4782 else \
4783 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4784 $(MAKE) stage4-start; \
4785 fi; \
4786 cd $(HOST_SUBDIR)/bfd && \
4787 $(MAKE) $(FLAGS_TO_PASS) \
4788 $(POSTSTAGE1_FLAGS_TO_PASS) \
4789 clean
4790 @endif bfd-bootstrap
4793 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4794 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4795 maybe-all-stageprofile-bfd:
4796 maybe-clean-stageprofile-bfd:
4797 @if bfd-bootstrap
4798 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4799 all-stageprofile: all-stageprofile-bfd
4800 TARGET-stageprofile-bfd = $(TARGET-bfd)
4801 all-stageprofile-bfd: configure-stageprofile-bfd
4802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4803 @r=`${PWD_COMMAND}`; export r; \
4804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4805 $(HOST_EXPORTS) \
4806 $(POSTSTAGE1_HOST_EXPORTS) \
4807 cd $(HOST_SUBDIR)/bfd && \
4808 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4809 $(TARGET-stageprofile-bfd)
4811 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4812 clean-stageprofile: clean-stageprofile-bfd
4813 clean-stageprofile-bfd:
4814 @if [ $(current_stage) = stageprofile ]; then \
4815 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4816 else \
4817 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4818 $(MAKE) stageprofile-start; \
4819 fi; \
4820 cd $(HOST_SUBDIR)/bfd && \
4821 $(MAKE) $(FLAGS_TO_PASS) \
4822 $(POSTSTAGE1_FLAGS_TO_PASS) \
4823 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4824 @endif bfd-bootstrap
4827 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4828 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4829 maybe-all-stagefeedback-bfd:
4830 maybe-clean-stagefeedback-bfd:
4831 @if bfd-bootstrap
4832 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4833 all-stagefeedback: all-stagefeedback-bfd
4834 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4835 all-stagefeedback-bfd: configure-stagefeedback-bfd
4836 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4837 @r=`${PWD_COMMAND}`; export r; \
4838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839 $(HOST_EXPORTS) \
4840 $(POSTSTAGE1_HOST_EXPORTS) \
4841 cd $(HOST_SUBDIR)/bfd && \
4842 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4843 $(TARGET-stagefeedback-bfd)
4845 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4846 clean-stagefeedback: clean-stagefeedback-bfd
4847 clean-stagefeedback-bfd:
4848 @if [ $(current_stage) = stagefeedback ]; then \
4849 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4850 else \
4851 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4852 $(MAKE) stagefeedback-start; \
4853 fi; \
4854 cd $(HOST_SUBDIR)/bfd && \
4855 $(MAKE) $(FLAGS_TO_PASS) \
4856 $(POSTSTAGE1_FLAGS_TO_PASS) \
4857 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4858 @endif bfd-bootstrap
4864 .PHONY: check-bfd maybe-check-bfd
4865 maybe-check-bfd:
4866 @if bfd
4867 maybe-check-bfd: check-bfd
4869 check-bfd:
4870 @: $(MAKE); $(unstage)
4871 @r=`${PWD_COMMAND}`; export r; \
4872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4873 $(HOST_EXPORTS) \
4874 (cd $(HOST_SUBDIR)/bfd && \
4875 $(MAKE) $(FLAGS_TO_PASS) check)
4877 @endif bfd
4879 .PHONY: install-bfd maybe-install-bfd
4880 maybe-install-bfd:
4881 @if bfd
4882 maybe-install-bfd: install-bfd
4884 install-bfd: installdirs
4885 @: $(MAKE); $(unstage)
4886 @r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 $(HOST_EXPORTS) \
4889 (cd $(HOST_SUBDIR)/bfd && \
4890 $(MAKE) $(FLAGS_TO_PASS) install)
4892 @endif bfd
4894 # Other targets (info, dvi, pdf, etc.)
4896 .PHONY: maybe-info-bfd info-bfd
4897 maybe-info-bfd:
4898 @if bfd
4899 maybe-info-bfd: info-bfd
4901 info-bfd: \
4902 configure-bfd
4903 @[ -f ./bfd/Makefile ] || exit 0; \
4904 r=`${PWD_COMMAND}`; export r; \
4905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4906 $(HOST_EXPORTS) \
4907 for flag in $(EXTRA_HOST_FLAGS) ; do \
4908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4909 done; \
4910 echo "Doing info in bfd" ; \
4911 (cd $(HOST_SUBDIR)/bfd && \
4912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4914 "RANLIB=$${RANLIB}" \
4915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4916 info) \
4917 || exit 1
4919 @endif bfd
4921 .PHONY: maybe-dvi-bfd dvi-bfd
4922 maybe-dvi-bfd:
4923 @if bfd
4924 maybe-dvi-bfd: dvi-bfd
4926 dvi-bfd: \
4927 configure-bfd
4928 @[ -f ./bfd/Makefile ] || exit 0; \
4929 r=`${PWD_COMMAND}`; export r; \
4930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4931 $(HOST_EXPORTS) \
4932 for flag in $(EXTRA_HOST_FLAGS) ; do \
4933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4934 done; \
4935 echo "Doing dvi in bfd" ; \
4936 (cd $(HOST_SUBDIR)/bfd && \
4937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4939 "RANLIB=$${RANLIB}" \
4940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4941 dvi) \
4942 || exit 1
4944 @endif bfd
4946 .PHONY: maybe-pdf-bfd pdf-bfd
4947 maybe-pdf-bfd:
4948 @if bfd
4949 maybe-pdf-bfd: pdf-bfd
4951 pdf-bfd: \
4952 configure-bfd
4953 @[ -f ./bfd/Makefile ] || exit 0; \
4954 r=`${PWD_COMMAND}`; export r; \
4955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4956 $(HOST_EXPORTS) \
4957 for flag in $(EXTRA_HOST_FLAGS) ; do \
4958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4959 done; \
4960 echo "Doing pdf in bfd" ; \
4961 (cd $(HOST_SUBDIR)/bfd && \
4962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4964 "RANLIB=$${RANLIB}" \
4965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4966 pdf) \
4967 || exit 1
4969 @endif bfd
4971 .PHONY: maybe-html-bfd html-bfd
4972 maybe-html-bfd:
4973 @if bfd
4974 maybe-html-bfd: html-bfd
4976 html-bfd: \
4977 configure-bfd
4978 @[ -f ./bfd/Makefile ] || exit 0; \
4979 r=`${PWD_COMMAND}`; export r; \
4980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 $(HOST_EXPORTS) \
4982 for flag in $(EXTRA_HOST_FLAGS) ; do \
4983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4984 done; \
4985 echo "Doing html in bfd" ; \
4986 (cd $(HOST_SUBDIR)/bfd && \
4987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4989 "RANLIB=$${RANLIB}" \
4990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4991 html) \
4992 || exit 1
4994 @endif bfd
4996 .PHONY: maybe-TAGS-bfd TAGS-bfd
4997 maybe-TAGS-bfd:
4998 @if bfd
4999 maybe-TAGS-bfd: TAGS-bfd
5001 TAGS-bfd: \
5002 configure-bfd
5003 @[ -f ./bfd/Makefile ] || exit 0; \
5004 r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5006 $(HOST_EXPORTS) \
5007 for flag in $(EXTRA_HOST_FLAGS) ; do \
5008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5009 done; \
5010 echo "Doing TAGS in bfd" ; \
5011 (cd $(HOST_SUBDIR)/bfd && \
5012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5014 "RANLIB=$${RANLIB}" \
5015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5016 TAGS) \
5017 || exit 1
5019 @endif bfd
5021 .PHONY: maybe-install-info-bfd install-info-bfd
5022 maybe-install-info-bfd:
5023 @if bfd
5024 maybe-install-info-bfd: install-info-bfd
5026 install-info-bfd: \
5027 configure-bfd \
5028 info-bfd
5029 @[ -f ./bfd/Makefile ] || exit 0; \
5030 r=`${PWD_COMMAND}`; export r; \
5031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5032 $(HOST_EXPORTS) \
5033 for flag in $(EXTRA_HOST_FLAGS) ; do \
5034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5035 done; \
5036 echo "Doing install-info in bfd" ; \
5037 (cd $(HOST_SUBDIR)/bfd && \
5038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5040 "RANLIB=$${RANLIB}" \
5041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5042 install-info) \
5043 || exit 1
5045 @endif bfd
5047 .PHONY: maybe-install-html-bfd install-html-bfd
5048 maybe-install-html-bfd:
5049 @if bfd
5050 maybe-install-html-bfd: install-html-bfd
5052 install-html-bfd: \
5053 configure-bfd \
5054 html-bfd
5055 @[ -f ./bfd/Makefile ] || exit 0; \
5056 r=`${PWD_COMMAND}`; export r; \
5057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5058 $(HOST_EXPORTS) \
5059 for flag in $(EXTRA_HOST_FLAGS) ; do \
5060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5061 done; \
5062 echo "Doing install-html in bfd" ; \
5063 (cd $(HOST_SUBDIR)/bfd && \
5064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5066 "RANLIB=$${RANLIB}" \
5067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5068 install-html) \
5069 || exit 1
5071 @endif bfd
5073 .PHONY: maybe-installcheck-bfd installcheck-bfd
5074 maybe-installcheck-bfd:
5075 @if bfd
5076 maybe-installcheck-bfd: installcheck-bfd
5078 installcheck-bfd: \
5079 configure-bfd
5080 @[ -f ./bfd/Makefile ] || exit 0; \
5081 r=`${PWD_COMMAND}`; export r; \
5082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5083 $(HOST_EXPORTS) \
5084 for flag in $(EXTRA_HOST_FLAGS) ; do \
5085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5086 done; \
5087 echo "Doing installcheck in bfd" ; \
5088 (cd $(HOST_SUBDIR)/bfd && \
5089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5091 "RANLIB=$${RANLIB}" \
5092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5093 installcheck) \
5094 || exit 1
5096 @endif bfd
5098 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5099 maybe-mostlyclean-bfd:
5100 @if bfd
5101 maybe-mostlyclean-bfd: mostlyclean-bfd
5103 mostlyclean-bfd:
5104 @[ -f ./bfd/Makefile ] || exit 0; \
5105 r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5107 $(HOST_EXPORTS) \
5108 for flag in $(EXTRA_HOST_FLAGS) ; do \
5109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5110 done; \
5111 echo "Doing mostlyclean in bfd" ; \
5112 (cd $(HOST_SUBDIR)/bfd && \
5113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5115 "RANLIB=$${RANLIB}" \
5116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5117 mostlyclean) \
5118 || exit 1
5120 @endif bfd
5122 .PHONY: maybe-clean-bfd clean-bfd
5123 maybe-clean-bfd:
5124 @if bfd
5125 maybe-clean-bfd: clean-bfd
5127 clean-bfd:
5128 @[ -f ./bfd/Makefile ] || exit 0; \
5129 r=`${PWD_COMMAND}`; export r; \
5130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5131 $(HOST_EXPORTS) \
5132 for flag in $(EXTRA_HOST_FLAGS) ; do \
5133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5134 done; \
5135 echo "Doing clean in bfd" ; \
5136 (cd $(HOST_SUBDIR)/bfd && \
5137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5139 "RANLIB=$${RANLIB}" \
5140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5141 clean) \
5142 || exit 1
5144 @endif bfd
5146 .PHONY: maybe-distclean-bfd distclean-bfd
5147 maybe-distclean-bfd:
5148 @if bfd
5149 maybe-distclean-bfd: distclean-bfd
5151 distclean-bfd:
5152 @[ -f ./bfd/Makefile ] || exit 0; \
5153 r=`${PWD_COMMAND}`; export r; \
5154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 $(HOST_EXPORTS) \
5156 for flag in $(EXTRA_HOST_FLAGS) ; do \
5157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5158 done; \
5159 echo "Doing distclean in bfd" ; \
5160 (cd $(HOST_SUBDIR)/bfd && \
5161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5163 "RANLIB=$${RANLIB}" \
5164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5165 distclean) \
5166 || exit 1
5168 @endif bfd
5170 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5171 maybe-maintainer-clean-bfd:
5172 @if bfd
5173 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5175 maintainer-clean-bfd:
5176 @[ -f ./bfd/Makefile ] || exit 0; \
5177 r=`${PWD_COMMAND}`; export r; \
5178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5179 $(HOST_EXPORTS) \
5180 for flag in $(EXTRA_HOST_FLAGS) ; do \
5181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5182 done; \
5183 echo "Doing maintainer-clean in bfd" ; \
5184 (cd $(HOST_SUBDIR)/bfd && \
5185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5187 "RANLIB=$${RANLIB}" \
5188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5189 maintainer-clean) \
5190 || exit 1
5192 @endif bfd
5196 .PHONY: configure-opcodes maybe-configure-opcodes
5197 maybe-configure-opcodes:
5198 @if gcc-bootstrap
5199 configure-opcodes: stage_current
5200 @endif gcc-bootstrap
5201 @if opcodes
5202 maybe-configure-opcodes: configure-opcodes
5203 configure-opcodes:
5204 @r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5208 $(HOST_EXPORTS) \
5209 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5210 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5211 case $(srcdir) in \
5212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5213 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5215 esac; \
5216 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5217 libsrcdir="$$s/opcodes"; \
5218 $(SHELL) $${libsrcdir}/configure \
5219 $(HOST_CONFIGARGS) $${srcdiroption} \
5220 || exit 1
5221 @endif opcodes
5225 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5226 maybe-configure-stage1-opcodes:
5227 @if opcodes-bootstrap
5228 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5229 configure-stage1-opcodes:
5230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5232 @r=`${PWD_COMMAND}`; export r; \
5233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5234 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5235 $(HOST_EXPORTS) \
5236 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5238 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5239 case $(srcdir) in \
5240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5241 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5243 esac; \
5244 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5245 libsrcdir="$$s/opcodes"; \
5246 $(SHELL) $${libsrcdir}/configure \
5247 $(HOST_CONFIGARGS) $${srcdiroption} \
5249 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5250 @endif opcodes-bootstrap
5252 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5253 maybe-configure-stage2-opcodes:
5254 @if opcodes-bootstrap
5255 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5256 configure-stage2-opcodes:
5257 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5259 @r=`${PWD_COMMAND}`; export r; \
5260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5261 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5262 $(HOST_EXPORTS) \
5263 $(POSTSTAGE1_HOST_EXPORTS) \
5264 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5266 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5267 case $(srcdir) in \
5268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5269 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5271 esac; \
5272 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5273 libsrcdir="$$s/opcodes"; \
5274 $(SHELL) $${libsrcdir}/configure \
5275 $(HOST_CONFIGARGS) $${srcdiroption} \
5276 --with-build-libsubdir=$(HOST_SUBDIR) \
5277 @stage2_werror_flag@
5278 @endif opcodes-bootstrap
5280 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5281 maybe-configure-stage3-opcodes:
5282 @if opcodes-bootstrap
5283 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5284 configure-stage3-opcodes:
5285 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5286 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5287 @r=`${PWD_COMMAND}`; export r; \
5288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5290 $(HOST_EXPORTS) \
5291 $(POSTSTAGE1_HOST_EXPORTS) \
5292 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5294 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5295 case $(srcdir) in \
5296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5297 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5299 esac; \
5300 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5301 libsrcdir="$$s/opcodes"; \
5302 $(SHELL) $${libsrcdir}/configure \
5303 $(HOST_CONFIGARGS) $${srcdiroption} \
5304 --with-build-libsubdir=$(HOST_SUBDIR) \
5305 @stage2_werror_flag@
5306 @endif opcodes-bootstrap
5308 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5309 maybe-configure-stage4-opcodes:
5310 @if opcodes-bootstrap
5311 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5312 configure-stage4-opcodes:
5313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5315 @r=`${PWD_COMMAND}`; export r; \
5316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5317 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5318 $(HOST_EXPORTS) \
5319 $(POSTSTAGE1_HOST_EXPORTS) \
5320 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5322 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5323 case $(srcdir) in \
5324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5325 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5327 esac; \
5328 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5329 libsrcdir="$$s/opcodes"; \
5330 $(SHELL) $${libsrcdir}/configure \
5331 $(HOST_CONFIGARGS) $${srcdiroption} \
5332 --with-build-libsubdir=$(HOST_SUBDIR) \
5333 @stage2_werror_flag@
5334 @endif opcodes-bootstrap
5336 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5337 maybe-configure-stageprofile-opcodes:
5338 @if opcodes-bootstrap
5339 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5340 configure-stageprofile-opcodes:
5341 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5342 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5343 @r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5346 $(HOST_EXPORTS) \
5347 $(POSTSTAGE1_HOST_EXPORTS) \
5348 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5350 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5351 case $(srcdir) in \
5352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5353 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5355 esac; \
5356 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5357 libsrcdir="$$s/opcodes"; \
5358 $(SHELL) $${libsrcdir}/configure \
5359 $(HOST_CONFIGARGS) $${srcdiroption} \
5360 --with-build-libsubdir=$(HOST_SUBDIR) \
5361 @stage2_werror_flag@
5362 @endif opcodes-bootstrap
5364 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5365 maybe-configure-stagefeedback-opcodes:
5366 @if opcodes-bootstrap
5367 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5368 configure-stagefeedback-opcodes:
5369 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5371 @r=`${PWD_COMMAND}`; export r; \
5372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5373 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5374 $(HOST_EXPORTS) \
5375 $(POSTSTAGE1_HOST_EXPORTS) \
5376 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5378 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5379 case $(srcdir) in \
5380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5381 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5383 esac; \
5384 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5385 libsrcdir="$$s/opcodes"; \
5386 $(SHELL) $${libsrcdir}/configure \
5387 $(HOST_CONFIGARGS) $${srcdiroption} \
5388 --with-build-libsubdir=$(HOST_SUBDIR) \
5389 @stage2_werror_flag@
5390 @endif opcodes-bootstrap
5396 .PHONY: all-opcodes maybe-all-opcodes
5397 maybe-all-opcodes:
5398 @if gcc-bootstrap
5399 all-opcodes: stage_current
5400 @endif gcc-bootstrap
5401 @if opcodes
5402 TARGET-opcodes=all
5403 maybe-all-opcodes: all-opcodes
5404 all-opcodes: configure-opcodes
5405 @r=`${PWD_COMMAND}`; export r; \
5406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5407 $(HOST_EXPORTS) \
5408 (cd $(HOST_SUBDIR)/opcodes && \
5409 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5410 @endif opcodes
5414 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5415 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5416 maybe-all-stage1-opcodes:
5417 maybe-clean-stage1-opcodes:
5418 @if opcodes-bootstrap
5419 maybe-all-stage1-opcodes: all-stage1-opcodes
5420 all-stage1: all-stage1-opcodes
5421 TARGET-stage1-opcodes = $(TARGET-opcodes)
5422 all-stage1-opcodes: configure-stage1-opcodes
5423 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5424 @r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(HOST_EXPORTS) \
5427 cd $(HOST_SUBDIR)/opcodes && \
5428 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5429 $(TARGET-stage1-opcodes)
5431 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5432 clean-stage1: clean-stage1-opcodes
5433 clean-stage1-opcodes:
5434 @if [ $(current_stage) = stage1 ]; then \
5435 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5436 else \
5437 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5438 $(MAKE) stage1-start; \
5439 fi; \
5440 cd $(HOST_SUBDIR)/opcodes && \
5441 $(MAKE) $(FLAGS_TO_PASS) \
5442 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5443 @endif opcodes-bootstrap
5446 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5447 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5448 maybe-all-stage2-opcodes:
5449 maybe-clean-stage2-opcodes:
5450 @if opcodes-bootstrap
5451 maybe-all-stage2-opcodes: all-stage2-opcodes
5452 all-stage2: all-stage2-opcodes
5453 TARGET-stage2-opcodes = $(TARGET-opcodes)
5454 all-stage2-opcodes: configure-stage2-opcodes
5455 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5456 @r=`${PWD_COMMAND}`; export r; \
5457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5458 $(HOST_EXPORTS) \
5459 $(POSTSTAGE1_HOST_EXPORTS) \
5460 cd $(HOST_SUBDIR)/opcodes && \
5461 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5462 $(TARGET-stage2-opcodes)
5464 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5465 clean-stage2: clean-stage2-opcodes
5466 clean-stage2-opcodes:
5467 @if [ $(current_stage) = stage2 ]; then \
5468 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5469 else \
5470 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5471 $(MAKE) stage2-start; \
5472 fi; \
5473 cd $(HOST_SUBDIR)/opcodes && \
5474 $(MAKE) $(FLAGS_TO_PASS) \
5475 $(POSTSTAGE1_FLAGS_TO_PASS) \
5476 clean
5477 @endif opcodes-bootstrap
5480 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5481 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5482 maybe-all-stage3-opcodes:
5483 maybe-clean-stage3-opcodes:
5484 @if opcodes-bootstrap
5485 maybe-all-stage3-opcodes: all-stage3-opcodes
5486 all-stage3: all-stage3-opcodes
5487 TARGET-stage3-opcodes = $(TARGET-opcodes)
5488 all-stage3-opcodes: configure-stage3-opcodes
5489 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5490 @r=`${PWD_COMMAND}`; export r; \
5491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5492 $(HOST_EXPORTS) \
5493 $(POSTSTAGE1_HOST_EXPORTS) \
5494 cd $(HOST_SUBDIR)/opcodes && \
5495 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5496 $(TARGET-stage3-opcodes)
5498 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5499 clean-stage3: clean-stage3-opcodes
5500 clean-stage3-opcodes:
5501 @if [ $(current_stage) = stage3 ]; then \
5502 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5503 else \
5504 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5505 $(MAKE) stage3-start; \
5506 fi; \
5507 cd $(HOST_SUBDIR)/opcodes && \
5508 $(MAKE) $(FLAGS_TO_PASS) \
5509 $(POSTSTAGE1_FLAGS_TO_PASS) \
5510 clean
5511 @endif opcodes-bootstrap
5514 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5515 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5516 maybe-all-stage4-opcodes:
5517 maybe-clean-stage4-opcodes:
5518 @if opcodes-bootstrap
5519 maybe-all-stage4-opcodes: all-stage4-opcodes
5520 all-stage4: all-stage4-opcodes
5521 TARGET-stage4-opcodes = $(TARGET-opcodes)
5522 all-stage4-opcodes: configure-stage4-opcodes
5523 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5524 @r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5526 $(HOST_EXPORTS) \
5527 $(POSTSTAGE1_HOST_EXPORTS) \
5528 cd $(HOST_SUBDIR)/opcodes && \
5529 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5530 $(TARGET-stage4-opcodes)
5532 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5533 clean-stage4: clean-stage4-opcodes
5534 clean-stage4-opcodes:
5535 @if [ $(current_stage) = stage4 ]; then \
5536 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5537 else \
5538 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5539 $(MAKE) stage4-start; \
5540 fi; \
5541 cd $(HOST_SUBDIR)/opcodes && \
5542 $(MAKE) $(FLAGS_TO_PASS) \
5543 $(POSTSTAGE1_FLAGS_TO_PASS) \
5544 clean
5545 @endif opcodes-bootstrap
5548 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5549 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5550 maybe-all-stageprofile-opcodes:
5551 maybe-clean-stageprofile-opcodes:
5552 @if opcodes-bootstrap
5553 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5554 all-stageprofile: all-stageprofile-opcodes
5555 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5556 all-stageprofile-opcodes: configure-stageprofile-opcodes
5557 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5558 @r=`${PWD_COMMAND}`; export r; \
5559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5560 $(HOST_EXPORTS) \
5561 $(POSTSTAGE1_HOST_EXPORTS) \
5562 cd $(HOST_SUBDIR)/opcodes && \
5563 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5564 $(TARGET-stageprofile-opcodes)
5566 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5567 clean-stageprofile: clean-stageprofile-opcodes
5568 clean-stageprofile-opcodes:
5569 @if [ $(current_stage) = stageprofile ]; then \
5570 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5571 else \
5572 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5573 $(MAKE) stageprofile-start; \
5574 fi; \
5575 cd $(HOST_SUBDIR)/opcodes && \
5576 $(MAKE) $(FLAGS_TO_PASS) \
5577 $(POSTSTAGE1_FLAGS_TO_PASS) \
5578 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5579 @endif opcodes-bootstrap
5582 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5583 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5584 maybe-all-stagefeedback-opcodes:
5585 maybe-clean-stagefeedback-opcodes:
5586 @if opcodes-bootstrap
5587 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5588 all-stagefeedback: all-stagefeedback-opcodes
5589 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5590 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5591 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5592 @r=`${PWD_COMMAND}`; export r; \
5593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5594 $(HOST_EXPORTS) \
5595 $(POSTSTAGE1_HOST_EXPORTS) \
5596 cd $(HOST_SUBDIR)/opcodes && \
5597 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5598 $(TARGET-stagefeedback-opcodes)
5600 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5601 clean-stagefeedback: clean-stagefeedback-opcodes
5602 clean-stagefeedback-opcodes:
5603 @if [ $(current_stage) = stagefeedback ]; then \
5604 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5605 else \
5606 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5607 $(MAKE) stagefeedback-start; \
5608 fi; \
5609 cd $(HOST_SUBDIR)/opcodes && \
5610 $(MAKE) $(FLAGS_TO_PASS) \
5611 $(POSTSTAGE1_FLAGS_TO_PASS) \
5612 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5613 @endif opcodes-bootstrap
5619 .PHONY: check-opcodes maybe-check-opcodes
5620 maybe-check-opcodes:
5621 @if opcodes
5622 maybe-check-opcodes: check-opcodes
5624 check-opcodes:
5625 @: $(MAKE); $(unstage)
5626 @r=`${PWD_COMMAND}`; export r; \
5627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5628 $(HOST_EXPORTS) \
5629 (cd $(HOST_SUBDIR)/opcodes && \
5630 $(MAKE) $(FLAGS_TO_PASS) check)
5632 @endif opcodes
5634 .PHONY: install-opcodes maybe-install-opcodes
5635 maybe-install-opcodes:
5636 @if opcodes
5637 maybe-install-opcodes: install-opcodes
5639 install-opcodes: installdirs
5640 @: $(MAKE); $(unstage)
5641 @r=`${PWD_COMMAND}`; export r; \
5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5643 $(HOST_EXPORTS) \
5644 (cd $(HOST_SUBDIR)/opcodes && \
5645 $(MAKE) $(FLAGS_TO_PASS) install)
5647 @endif opcodes
5649 # Other targets (info, dvi, pdf, etc.)
5651 .PHONY: maybe-info-opcodes info-opcodes
5652 maybe-info-opcodes:
5653 @if opcodes
5654 maybe-info-opcodes: info-opcodes
5656 info-opcodes: \
5657 configure-opcodes
5658 @[ -f ./opcodes/Makefile ] || exit 0; \
5659 r=`${PWD_COMMAND}`; export r; \
5660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5661 $(HOST_EXPORTS) \
5662 for flag in $(EXTRA_HOST_FLAGS) ; do \
5663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5664 done; \
5665 echo "Doing info in opcodes" ; \
5666 (cd $(HOST_SUBDIR)/opcodes && \
5667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5669 "RANLIB=$${RANLIB}" \
5670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5671 info) \
5672 || exit 1
5674 @endif opcodes
5676 .PHONY: maybe-dvi-opcodes dvi-opcodes
5677 maybe-dvi-opcodes:
5678 @if opcodes
5679 maybe-dvi-opcodes: dvi-opcodes
5681 dvi-opcodes: \
5682 configure-opcodes
5683 @[ -f ./opcodes/Makefile ] || exit 0; \
5684 r=`${PWD_COMMAND}`; export r; \
5685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5686 $(HOST_EXPORTS) \
5687 for flag in $(EXTRA_HOST_FLAGS) ; do \
5688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5689 done; \
5690 echo "Doing dvi in opcodes" ; \
5691 (cd $(HOST_SUBDIR)/opcodes && \
5692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5694 "RANLIB=$${RANLIB}" \
5695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5696 dvi) \
5697 || exit 1
5699 @endif opcodes
5701 .PHONY: maybe-pdf-opcodes pdf-opcodes
5702 maybe-pdf-opcodes:
5703 @if opcodes
5704 maybe-pdf-opcodes: pdf-opcodes
5706 pdf-opcodes: \
5707 configure-opcodes
5708 @[ -f ./opcodes/Makefile ] || exit 0; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711 $(HOST_EXPORTS) \
5712 for flag in $(EXTRA_HOST_FLAGS) ; do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5714 done; \
5715 echo "Doing pdf in opcodes" ; \
5716 (cd $(HOST_SUBDIR)/opcodes && \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5721 pdf) \
5722 || exit 1
5724 @endif opcodes
5726 .PHONY: maybe-html-opcodes html-opcodes
5727 maybe-html-opcodes:
5728 @if opcodes
5729 maybe-html-opcodes: html-opcodes
5731 html-opcodes: \
5732 configure-opcodes
5733 @[ -f ./opcodes/Makefile ] || exit 0; \
5734 r=`${PWD_COMMAND}`; export r; \
5735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5736 $(HOST_EXPORTS) \
5737 for flag in $(EXTRA_HOST_FLAGS) ; do \
5738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5739 done; \
5740 echo "Doing html in opcodes" ; \
5741 (cd $(HOST_SUBDIR)/opcodes && \
5742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5744 "RANLIB=$${RANLIB}" \
5745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5746 html) \
5747 || exit 1
5749 @endif opcodes
5751 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5752 maybe-TAGS-opcodes:
5753 @if opcodes
5754 maybe-TAGS-opcodes: TAGS-opcodes
5756 TAGS-opcodes: \
5757 configure-opcodes
5758 @[ -f ./opcodes/Makefile ] || exit 0; \
5759 r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 $(HOST_EXPORTS) \
5762 for flag in $(EXTRA_HOST_FLAGS) ; do \
5763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5764 done; \
5765 echo "Doing TAGS in opcodes" ; \
5766 (cd $(HOST_SUBDIR)/opcodes && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5769 "RANLIB=$${RANLIB}" \
5770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5771 TAGS) \
5772 || exit 1
5774 @endif opcodes
5776 .PHONY: maybe-install-info-opcodes install-info-opcodes
5777 maybe-install-info-opcodes:
5778 @if opcodes
5779 maybe-install-info-opcodes: install-info-opcodes
5781 install-info-opcodes: \
5782 configure-opcodes \
5783 info-opcodes
5784 @[ -f ./opcodes/Makefile ] || exit 0; \
5785 r=`${PWD_COMMAND}`; export r; \
5786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5787 $(HOST_EXPORTS) \
5788 for flag in $(EXTRA_HOST_FLAGS) ; do \
5789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5790 done; \
5791 echo "Doing install-info in opcodes" ; \
5792 (cd $(HOST_SUBDIR)/opcodes && \
5793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5795 "RANLIB=$${RANLIB}" \
5796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5797 install-info) \
5798 || exit 1
5800 @endif opcodes
5802 .PHONY: maybe-install-html-opcodes install-html-opcodes
5803 maybe-install-html-opcodes:
5804 @if opcodes
5805 maybe-install-html-opcodes: install-html-opcodes
5807 install-html-opcodes: \
5808 configure-opcodes \
5809 html-opcodes
5810 @[ -f ./opcodes/Makefile ] || exit 0; \
5811 r=`${PWD_COMMAND}`; export r; \
5812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5813 $(HOST_EXPORTS) \
5814 for flag in $(EXTRA_HOST_FLAGS) ; do \
5815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5816 done; \
5817 echo "Doing install-html in opcodes" ; \
5818 (cd $(HOST_SUBDIR)/opcodes && \
5819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5821 "RANLIB=$${RANLIB}" \
5822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5823 install-html) \
5824 || exit 1
5826 @endif opcodes
5828 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5829 maybe-installcheck-opcodes:
5830 @if opcodes
5831 maybe-installcheck-opcodes: installcheck-opcodes
5833 installcheck-opcodes: \
5834 configure-opcodes
5835 @[ -f ./opcodes/Makefile ] || exit 0; \
5836 r=`${PWD_COMMAND}`; export r; \
5837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5838 $(HOST_EXPORTS) \
5839 for flag in $(EXTRA_HOST_FLAGS) ; do \
5840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5841 done; \
5842 echo "Doing installcheck in opcodes" ; \
5843 (cd $(HOST_SUBDIR)/opcodes && \
5844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5846 "RANLIB=$${RANLIB}" \
5847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5848 installcheck) \
5849 || exit 1
5851 @endif opcodes
5853 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5854 maybe-mostlyclean-opcodes:
5855 @if opcodes
5856 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5858 mostlyclean-opcodes:
5859 @[ -f ./opcodes/Makefile ] || exit 0; \
5860 r=`${PWD_COMMAND}`; export r; \
5861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5862 $(HOST_EXPORTS) \
5863 for flag in $(EXTRA_HOST_FLAGS) ; do \
5864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5865 done; \
5866 echo "Doing mostlyclean in opcodes" ; \
5867 (cd $(HOST_SUBDIR)/opcodes && \
5868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5870 "RANLIB=$${RANLIB}" \
5871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5872 mostlyclean) \
5873 || exit 1
5875 @endif opcodes
5877 .PHONY: maybe-clean-opcodes clean-opcodes
5878 maybe-clean-opcodes:
5879 @if opcodes
5880 maybe-clean-opcodes: clean-opcodes
5882 clean-opcodes:
5883 @[ -f ./opcodes/Makefile ] || exit 0; \
5884 r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing clean in opcodes" ; \
5891 (cd $(HOST_SUBDIR)/opcodes && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5896 clean) \
5897 || exit 1
5899 @endif opcodes
5901 .PHONY: maybe-distclean-opcodes distclean-opcodes
5902 maybe-distclean-opcodes:
5903 @if opcodes
5904 maybe-distclean-opcodes: distclean-opcodes
5906 distclean-opcodes:
5907 @[ -f ./opcodes/Makefile ] || exit 0; \
5908 r=`${PWD_COMMAND}`; export r; \
5909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5910 $(HOST_EXPORTS) \
5911 for flag in $(EXTRA_HOST_FLAGS) ; do \
5912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5913 done; \
5914 echo "Doing distclean in opcodes" ; \
5915 (cd $(HOST_SUBDIR)/opcodes && \
5916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5918 "RANLIB=$${RANLIB}" \
5919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5920 distclean) \
5921 || exit 1
5923 @endif opcodes
5925 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5926 maybe-maintainer-clean-opcodes:
5927 @if opcodes
5928 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5930 maintainer-clean-opcodes:
5931 @[ -f ./opcodes/Makefile ] || exit 0; \
5932 r=`${PWD_COMMAND}`; export r; \
5933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5934 $(HOST_EXPORTS) \
5935 for flag in $(EXTRA_HOST_FLAGS) ; do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5937 done; \
5938 echo "Doing maintainer-clean in opcodes" ; \
5939 (cd $(HOST_SUBDIR)/opcodes && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5944 maintainer-clean) \
5945 || exit 1
5947 @endif opcodes
5951 .PHONY: configure-binutils maybe-configure-binutils
5952 maybe-configure-binutils:
5953 @if gcc-bootstrap
5954 configure-binutils: stage_current
5955 @endif gcc-bootstrap
5956 @if binutils
5957 maybe-configure-binutils: configure-binutils
5958 configure-binutils:
5959 @r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5963 $(HOST_EXPORTS) \
5964 echo Configuring in $(HOST_SUBDIR)/binutils; \
5965 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5966 case $(srcdir) in \
5967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5968 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5970 esac; \
5971 srcdiroption="--srcdir=$${topdir}/binutils"; \
5972 libsrcdir="$$s/binutils"; \
5973 $(SHELL) $${libsrcdir}/configure \
5974 $(HOST_CONFIGARGS) $${srcdiroption} \
5975 || exit 1
5976 @endif binutils
5980 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5981 maybe-configure-stage1-binutils:
5982 @if binutils-bootstrap
5983 maybe-configure-stage1-binutils: configure-stage1-binutils
5984 configure-stage1-binutils:
5985 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5987 @r=`${PWD_COMMAND}`; export r; \
5988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5989 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5990 $(HOST_EXPORTS) \
5991 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5993 cd $(HOST_SUBDIR)/binutils || exit 1; \
5994 case $(srcdir) in \
5995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5996 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5998 esac; \
5999 srcdiroption="--srcdir=$${topdir}/binutils"; \
6000 libsrcdir="$$s/binutils"; \
6001 $(SHELL) $${libsrcdir}/configure \
6002 $(HOST_CONFIGARGS) $${srcdiroption} \
6004 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6005 @endif binutils-bootstrap
6007 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6008 maybe-configure-stage2-binutils:
6009 @if binutils-bootstrap
6010 maybe-configure-stage2-binutils: configure-stage2-binutils
6011 configure-stage2-binutils:
6012 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6014 @r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6017 $(HOST_EXPORTS) \
6018 $(POSTSTAGE1_HOST_EXPORTS) \
6019 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6021 cd $(HOST_SUBDIR)/binutils || exit 1; \
6022 case $(srcdir) in \
6023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6024 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6026 esac; \
6027 srcdiroption="--srcdir=$${topdir}/binutils"; \
6028 libsrcdir="$$s/binutils"; \
6029 $(SHELL) $${libsrcdir}/configure \
6030 $(HOST_CONFIGARGS) $${srcdiroption} \
6031 --with-build-libsubdir=$(HOST_SUBDIR) \
6032 @stage2_werror_flag@
6033 @endif binutils-bootstrap
6035 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6036 maybe-configure-stage3-binutils:
6037 @if binutils-bootstrap
6038 maybe-configure-stage3-binutils: configure-stage3-binutils
6039 configure-stage3-binutils:
6040 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6042 @r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6045 $(HOST_EXPORTS) \
6046 $(POSTSTAGE1_HOST_EXPORTS) \
6047 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6049 cd $(HOST_SUBDIR)/binutils || exit 1; \
6050 case $(srcdir) in \
6051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6052 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6054 esac; \
6055 srcdiroption="--srcdir=$${topdir}/binutils"; \
6056 libsrcdir="$$s/binutils"; \
6057 $(SHELL) $${libsrcdir}/configure \
6058 $(HOST_CONFIGARGS) $${srcdiroption} \
6059 --with-build-libsubdir=$(HOST_SUBDIR) \
6060 @stage2_werror_flag@
6061 @endif binutils-bootstrap
6063 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6064 maybe-configure-stage4-binutils:
6065 @if binutils-bootstrap
6066 maybe-configure-stage4-binutils: configure-stage4-binutils
6067 configure-stage4-binutils:
6068 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6070 @r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6073 $(HOST_EXPORTS) \
6074 $(POSTSTAGE1_HOST_EXPORTS) \
6075 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6077 cd $(HOST_SUBDIR)/binutils || exit 1; \
6078 case $(srcdir) in \
6079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6080 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6082 esac; \
6083 srcdiroption="--srcdir=$${topdir}/binutils"; \
6084 libsrcdir="$$s/binutils"; \
6085 $(SHELL) $${libsrcdir}/configure \
6086 $(HOST_CONFIGARGS) $${srcdiroption} \
6087 --with-build-libsubdir=$(HOST_SUBDIR) \
6088 @stage2_werror_flag@
6089 @endif binutils-bootstrap
6091 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6092 maybe-configure-stageprofile-binutils:
6093 @if binutils-bootstrap
6094 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6095 configure-stageprofile-binutils:
6096 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6098 @r=`${PWD_COMMAND}`; export r; \
6099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6100 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6101 $(HOST_EXPORTS) \
6102 $(POSTSTAGE1_HOST_EXPORTS) \
6103 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6105 cd $(HOST_SUBDIR)/binutils || exit 1; \
6106 case $(srcdir) in \
6107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6108 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6110 esac; \
6111 srcdiroption="--srcdir=$${topdir}/binutils"; \
6112 libsrcdir="$$s/binutils"; \
6113 $(SHELL) $${libsrcdir}/configure \
6114 $(HOST_CONFIGARGS) $${srcdiroption} \
6115 --with-build-libsubdir=$(HOST_SUBDIR) \
6116 @stage2_werror_flag@
6117 @endif binutils-bootstrap
6119 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6120 maybe-configure-stagefeedback-binutils:
6121 @if binutils-bootstrap
6122 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6123 configure-stagefeedback-binutils:
6124 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6126 @r=`${PWD_COMMAND}`; export r; \
6127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6128 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6129 $(HOST_EXPORTS) \
6130 $(POSTSTAGE1_HOST_EXPORTS) \
6131 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6133 cd $(HOST_SUBDIR)/binutils || exit 1; \
6134 case $(srcdir) in \
6135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6136 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6138 esac; \
6139 srcdiroption="--srcdir=$${topdir}/binutils"; \
6140 libsrcdir="$$s/binutils"; \
6141 $(SHELL) $${libsrcdir}/configure \
6142 $(HOST_CONFIGARGS) $${srcdiroption} \
6143 --with-build-libsubdir=$(HOST_SUBDIR) \
6144 @stage2_werror_flag@
6145 @endif binutils-bootstrap
6151 .PHONY: all-binutils maybe-all-binutils
6152 maybe-all-binutils:
6153 @if gcc-bootstrap
6154 all-binutils: stage_current
6155 @endif gcc-bootstrap
6156 @if binutils
6157 TARGET-binutils=all
6158 maybe-all-binutils: all-binutils
6159 all-binutils: configure-binutils
6160 @r=`${PWD_COMMAND}`; export r; \
6161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6162 $(HOST_EXPORTS) \
6163 (cd $(HOST_SUBDIR)/binutils && \
6164 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6165 @endif binutils
6169 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6170 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6171 maybe-all-stage1-binutils:
6172 maybe-clean-stage1-binutils:
6173 @if binutils-bootstrap
6174 maybe-all-stage1-binutils: all-stage1-binutils
6175 all-stage1: all-stage1-binutils
6176 TARGET-stage1-binutils = $(TARGET-binutils)
6177 all-stage1-binutils: configure-stage1-binutils
6178 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6179 @r=`${PWD_COMMAND}`; export r; \
6180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6181 $(HOST_EXPORTS) \
6182 cd $(HOST_SUBDIR)/binutils && \
6183 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6184 $(TARGET-stage1-binutils)
6186 maybe-clean-stage1-binutils: clean-stage1-binutils
6187 clean-stage1: clean-stage1-binutils
6188 clean-stage1-binutils:
6189 @if [ $(current_stage) = stage1 ]; then \
6190 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6191 else \
6192 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6193 $(MAKE) stage1-start; \
6194 fi; \
6195 cd $(HOST_SUBDIR)/binutils && \
6196 $(MAKE) $(FLAGS_TO_PASS) \
6197 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6198 @endif binutils-bootstrap
6201 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6202 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6203 maybe-all-stage2-binutils:
6204 maybe-clean-stage2-binutils:
6205 @if binutils-bootstrap
6206 maybe-all-stage2-binutils: all-stage2-binutils
6207 all-stage2: all-stage2-binutils
6208 TARGET-stage2-binutils = $(TARGET-binutils)
6209 all-stage2-binutils: configure-stage2-binutils
6210 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6211 @r=`${PWD_COMMAND}`; export r; \
6212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6213 $(HOST_EXPORTS) \
6214 $(POSTSTAGE1_HOST_EXPORTS) \
6215 cd $(HOST_SUBDIR)/binutils && \
6216 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6217 $(TARGET-stage2-binutils)
6219 maybe-clean-stage2-binutils: clean-stage2-binutils
6220 clean-stage2: clean-stage2-binutils
6221 clean-stage2-binutils:
6222 @if [ $(current_stage) = stage2 ]; then \
6223 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6224 else \
6225 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6226 $(MAKE) stage2-start; \
6227 fi; \
6228 cd $(HOST_SUBDIR)/binutils && \
6229 $(MAKE) $(FLAGS_TO_PASS) \
6230 $(POSTSTAGE1_FLAGS_TO_PASS) \
6231 clean
6232 @endif binutils-bootstrap
6235 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6236 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6237 maybe-all-stage3-binutils:
6238 maybe-clean-stage3-binutils:
6239 @if binutils-bootstrap
6240 maybe-all-stage3-binutils: all-stage3-binutils
6241 all-stage3: all-stage3-binutils
6242 TARGET-stage3-binutils = $(TARGET-binutils)
6243 all-stage3-binutils: configure-stage3-binutils
6244 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6245 @r=`${PWD_COMMAND}`; export r; \
6246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6247 $(HOST_EXPORTS) \
6248 $(POSTSTAGE1_HOST_EXPORTS) \
6249 cd $(HOST_SUBDIR)/binutils && \
6250 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6251 $(TARGET-stage3-binutils)
6253 maybe-clean-stage3-binutils: clean-stage3-binutils
6254 clean-stage3: clean-stage3-binutils
6255 clean-stage3-binutils:
6256 @if [ $(current_stage) = stage3 ]; then \
6257 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6258 else \
6259 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6260 $(MAKE) stage3-start; \
6261 fi; \
6262 cd $(HOST_SUBDIR)/binutils && \
6263 $(MAKE) $(FLAGS_TO_PASS) \
6264 $(POSTSTAGE1_FLAGS_TO_PASS) \
6265 clean
6266 @endif binutils-bootstrap
6269 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6270 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6271 maybe-all-stage4-binutils:
6272 maybe-clean-stage4-binutils:
6273 @if binutils-bootstrap
6274 maybe-all-stage4-binutils: all-stage4-binutils
6275 all-stage4: all-stage4-binutils
6276 TARGET-stage4-binutils = $(TARGET-binutils)
6277 all-stage4-binutils: configure-stage4-binutils
6278 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6279 @r=`${PWD_COMMAND}`; export r; \
6280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6281 $(HOST_EXPORTS) \
6282 $(POSTSTAGE1_HOST_EXPORTS) \
6283 cd $(HOST_SUBDIR)/binutils && \
6284 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6285 $(TARGET-stage4-binutils)
6287 maybe-clean-stage4-binutils: clean-stage4-binutils
6288 clean-stage4: clean-stage4-binutils
6289 clean-stage4-binutils:
6290 @if [ $(current_stage) = stage4 ]; then \
6291 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6292 else \
6293 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6294 $(MAKE) stage4-start; \
6295 fi; \
6296 cd $(HOST_SUBDIR)/binutils && \
6297 $(MAKE) $(FLAGS_TO_PASS) \
6298 $(POSTSTAGE1_FLAGS_TO_PASS) \
6299 clean
6300 @endif binutils-bootstrap
6303 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6304 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6305 maybe-all-stageprofile-binutils:
6306 maybe-clean-stageprofile-binutils:
6307 @if binutils-bootstrap
6308 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6309 all-stageprofile: all-stageprofile-binutils
6310 TARGET-stageprofile-binutils = $(TARGET-binutils)
6311 all-stageprofile-binutils: configure-stageprofile-binutils
6312 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6313 @r=`${PWD_COMMAND}`; export r; \
6314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6315 $(HOST_EXPORTS) \
6316 $(POSTSTAGE1_HOST_EXPORTS) \
6317 cd $(HOST_SUBDIR)/binutils && \
6318 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6319 $(TARGET-stageprofile-binutils)
6321 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6322 clean-stageprofile: clean-stageprofile-binutils
6323 clean-stageprofile-binutils:
6324 @if [ $(current_stage) = stageprofile ]; then \
6325 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6326 else \
6327 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6328 $(MAKE) stageprofile-start; \
6329 fi; \
6330 cd $(HOST_SUBDIR)/binutils && \
6331 $(MAKE) $(FLAGS_TO_PASS) \
6332 $(POSTSTAGE1_FLAGS_TO_PASS) \
6333 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6334 @endif binutils-bootstrap
6337 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6338 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6339 maybe-all-stagefeedback-binutils:
6340 maybe-clean-stagefeedback-binutils:
6341 @if binutils-bootstrap
6342 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6343 all-stagefeedback: all-stagefeedback-binutils
6344 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6345 all-stagefeedback-binutils: configure-stagefeedback-binutils
6346 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6347 @r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6349 $(HOST_EXPORTS) \
6350 $(POSTSTAGE1_HOST_EXPORTS) \
6351 cd $(HOST_SUBDIR)/binutils && \
6352 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6353 $(TARGET-stagefeedback-binutils)
6355 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6356 clean-stagefeedback: clean-stagefeedback-binutils
6357 clean-stagefeedback-binutils:
6358 @if [ $(current_stage) = stagefeedback ]; then \
6359 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6360 else \
6361 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6362 $(MAKE) stagefeedback-start; \
6363 fi; \
6364 cd $(HOST_SUBDIR)/binutils && \
6365 $(MAKE) $(FLAGS_TO_PASS) \
6366 $(POSTSTAGE1_FLAGS_TO_PASS) \
6367 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6368 @endif binutils-bootstrap
6374 .PHONY: check-binutils maybe-check-binutils
6375 maybe-check-binutils:
6376 @if binutils
6377 maybe-check-binutils: check-binutils
6379 check-binutils:
6380 @: $(MAKE); $(unstage)
6381 @r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(HOST_EXPORTS) \
6384 (cd $(HOST_SUBDIR)/binutils && \
6385 $(MAKE) $(FLAGS_TO_PASS) check)
6387 @endif binutils
6389 .PHONY: install-binutils maybe-install-binutils
6390 maybe-install-binutils:
6391 @if binutils
6392 maybe-install-binutils: install-binutils
6394 install-binutils: installdirs
6395 @: $(MAKE); $(unstage)
6396 @r=`${PWD_COMMAND}`; export r; \
6397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6398 $(HOST_EXPORTS) \
6399 (cd $(HOST_SUBDIR)/binutils && \
6400 $(MAKE) $(FLAGS_TO_PASS) install)
6402 @endif binutils
6404 # Other targets (info, dvi, pdf, etc.)
6406 .PHONY: maybe-info-binutils info-binutils
6407 maybe-info-binutils:
6408 @if binutils
6409 maybe-info-binutils: info-binutils
6411 info-binutils: \
6412 configure-binutils
6413 @[ -f ./binutils/Makefile ] || exit 0; \
6414 r=`${PWD_COMMAND}`; export r; \
6415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6416 $(HOST_EXPORTS) \
6417 for flag in $(EXTRA_HOST_FLAGS) ; do \
6418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6419 done; \
6420 echo "Doing info in binutils" ; \
6421 (cd $(HOST_SUBDIR)/binutils && \
6422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6424 "RANLIB=$${RANLIB}" \
6425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6426 info) \
6427 || exit 1
6429 @endif binutils
6431 .PHONY: maybe-dvi-binutils dvi-binutils
6432 maybe-dvi-binutils:
6433 @if binutils
6434 maybe-dvi-binutils: dvi-binutils
6436 dvi-binutils: \
6437 configure-binutils
6438 @[ -f ./binutils/Makefile ] || exit 0; \
6439 r=`${PWD_COMMAND}`; export r; \
6440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6441 $(HOST_EXPORTS) \
6442 for flag in $(EXTRA_HOST_FLAGS) ; do \
6443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6444 done; \
6445 echo "Doing dvi in binutils" ; \
6446 (cd $(HOST_SUBDIR)/binutils && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6449 "RANLIB=$${RANLIB}" \
6450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6451 dvi) \
6452 || exit 1
6454 @endif binutils
6456 .PHONY: maybe-pdf-binutils pdf-binutils
6457 maybe-pdf-binutils:
6458 @if binutils
6459 maybe-pdf-binutils: pdf-binutils
6461 pdf-binutils: \
6462 configure-binutils
6463 @[ -f ./binutils/Makefile ] || exit 0; \
6464 r=`${PWD_COMMAND}`; export r; \
6465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6466 $(HOST_EXPORTS) \
6467 for flag in $(EXTRA_HOST_FLAGS) ; do \
6468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6469 done; \
6470 echo "Doing pdf in binutils" ; \
6471 (cd $(HOST_SUBDIR)/binutils && \
6472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6474 "RANLIB=$${RANLIB}" \
6475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6476 pdf) \
6477 || exit 1
6479 @endif binutils
6481 .PHONY: maybe-html-binutils html-binutils
6482 maybe-html-binutils:
6483 @if binutils
6484 maybe-html-binutils: html-binutils
6486 html-binutils: \
6487 configure-binutils
6488 @[ -f ./binutils/Makefile ] || exit 0; \
6489 r=`${PWD_COMMAND}`; export r; \
6490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491 $(HOST_EXPORTS) \
6492 for flag in $(EXTRA_HOST_FLAGS) ; do \
6493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6494 done; \
6495 echo "Doing html in binutils" ; \
6496 (cd $(HOST_SUBDIR)/binutils && \
6497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6499 "RANLIB=$${RANLIB}" \
6500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6501 html) \
6502 || exit 1
6504 @endif binutils
6506 .PHONY: maybe-TAGS-binutils TAGS-binutils
6507 maybe-TAGS-binutils:
6508 @if binutils
6509 maybe-TAGS-binutils: TAGS-binutils
6511 TAGS-binutils: \
6512 configure-binutils
6513 @[ -f ./binutils/Makefile ] || exit 0; \
6514 r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6516 $(HOST_EXPORTS) \
6517 for flag in $(EXTRA_HOST_FLAGS) ; do \
6518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6519 done; \
6520 echo "Doing TAGS in binutils" ; \
6521 (cd $(HOST_SUBDIR)/binutils && \
6522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6524 "RANLIB=$${RANLIB}" \
6525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6526 TAGS) \
6527 || exit 1
6529 @endif binutils
6531 .PHONY: maybe-install-info-binutils install-info-binutils
6532 maybe-install-info-binutils:
6533 @if binutils
6534 maybe-install-info-binutils: install-info-binutils
6536 install-info-binutils: \
6537 configure-binutils \
6538 info-binutils
6539 @[ -f ./binutils/Makefile ] || exit 0; \
6540 r=`${PWD_COMMAND}`; export r; \
6541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6542 $(HOST_EXPORTS) \
6543 for flag in $(EXTRA_HOST_FLAGS) ; do \
6544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6545 done; \
6546 echo "Doing install-info in binutils" ; \
6547 (cd $(HOST_SUBDIR)/binutils && \
6548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6550 "RANLIB=$${RANLIB}" \
6551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6552 install-info) \
6553 || exit 1
6555 @endif binutils
6557 .PHONY: maybe-install-html-binutils install-html-binutils
6558 maybe-install-html-binutils:
6559 @if binutils
6560 maybe-install-html-binutils: install-html-binutils
6562 install-html-binutils: \
6563 configure-binutils \
6564 html-binutils
6565 @[ -f ./binutils/Makefile ] || exit 0; \
6566 r=`${PWD_COMMAND}`; export r; \
6567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6568 $(HOST_EXPORTS) \
6569 for flag in $(EXTRA_HOST_FLAGS) ; do \
6570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6571 done; \
6572 echo "Doing install-html in binutils" ; \
6573 (cd $(HOST_SUBDIR)/binutils && \
6574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6576 "RANLIB=$${RANLIB}" \
6577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6578 install-html) \
6579 || exit 1
6581 @endif binutils
6583 .PHONY: maybe-installcheck-binutils installcheck-binutils
6584 maybe-installcheck-binutils:
6585 @if binutils
6586 maybe-installcheck-binutils: installcheck-binutils
6588 installcheck-binutils: \
6589 configure-binutils
6590 @[ -f ./binutils/Makefile ] || exit 0; \
6591 r=`${PWD_COMMAND}`; export r; \
6592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6593 $(HOST_EXPORTS) \
6594 for flag in $(EXTRA_HOST_FLAGS) ; do \
6595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6596 done; \
6597 echo "Doing installcheck in binutils" ; \
6598 (cd $(HOST_SUBDIR)/binutils && \
6599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6601 "RANLIB=$${RANLIB}" \
6602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6603 installcheck) \
6604 || exit 1
6606 @endif binutils
6608 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6609 maybe-mostlyclean-binutils:
6610 @if binutils
6611 maybe-mostlyclean-binutils: mostlyclean-binutils
6613 mostlyclean-binutils:
6614 @[ -f ./binutils/Makefile ] || exit 0; \
6615 r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617 $(HOST_EXPORTS) \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6620 done; \
6621 echo "Doing mostlyclean in binutils" ; \
6622 (cd $(HOST_SUBDIR)/binutils && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6627 mostlyclean) \
6628 || exit 1
6630 @endif binutils
6632 .PHONY: maybe-clean-binutils clean-binutils
6633 maybe-clean-binutils:
6634 @if binutils
6635 maybe-clean-binutils: clean-binutils
6637 clean-binutils:
6638 @[ -f ./binutils/Makefile ] || exit 0; \
6639 r=`${PWD_COMMAND}`; export r; \
6640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6641 $(HOST_EXPORTS) \
6642 for flag in $(EXTRA_HOST_FLAGS) ; do \
6643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6644 done; \
6645 echo "Doing clean in binutils" ; \
6646 (cd $(HOST_SUBDIR)/binutils && \
6647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6649 "RANLIB=$${RANLIB}" \
6650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6651 clean) \
6652 || exit 1
6654 @endif binutils
6656 .PHONY: maybe-distclean-binutils distclean-binutils
6657 maybe-distclean-binutils:
6658 @if binutils
6659 maybe-distclean-binutils: distclean-binutils
6661 distclean-binutils:
6662 @[ -f ./binutils/Makefile ] || exit 0; \
6663 r=`${PWD_COMMAND}`; export r; \
6664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6665 $(HOST_EXPORTS) \
6666 for flag in $(EXTRA_HOST_FLAGS) ; do \
6667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6668 done; \
6669 echo "Doing distclean in binutils" ; \
6670 (cd $(HOST_SUBDIR)/binutils && \
6671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6673 "RANLIB=$${RANLIB}" \
6674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6675 distclean) \
6676 || exit 1
6678 @endif binutils
6680 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6681 maybe-maintainer-clean-binutils:
6682 @if binutils
6683 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6685 maintainer-clean-binutils:
6686 @[ -f ./binutils/Makefile ] || exit 0; \
6687 r=`${PWD_COMMAND}`; export r; \
6688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6689 $(HOST_EXPORTS) \
6690 for flag in $(EXTRA_HOST_FLAGS) ; do \
6691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6692 done; \
6693 echo "Doing maintainer-clean in binutils" ; \
6694 (cd $(HOST_SUBDIR)/binutils && \
6695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6697 "RANLIB=$${RANLIB}" \
6698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6699 maintainer-clean) \
6700 || exit 1
6702 @endif binutils
6706 .PHONY: configure-bison maybe-configure-bison
6707 maybe-configure-bison:
6708 @if gcc-bootstrap
6709 configure-bison: stage_current
6710 @endif gcc-bootstrap
6711 @if bison
6712 maybe-configure-bison: configure-bison
6713 configure-bison:
6714 @: $(MAKE); $(unstage)
6715 @r=`${PWD_COMMAND}`; export r; \
6716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6717 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6719 $(HOST_EXPORTS) \
6720 echo Configuring in $(HOST_SUBDIR)/bison; \
6721 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6722 case $(srcdir) in \
6723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6724 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6726 esac; \
6727 srcdiroption="--srcdir=$${topdir}/bison"; \
6728 libsrcdir="$$s/bison"; \
6729 $(SHELL) $${libsrcdir}/configure \
6730 $(HOST_CONFIGARGS) $${srcdiroption} \
6731 || exit 1
6732 @endif bison
6738 .PHONY: all-bison maybe-all-bison
6739 maybe-all-bison:
6740 @if gcc-bootstrap
6741 all-bison: stage_current
6742 @endif gcc-bootstrap
6743 @if bison
6744 TARGET-bison=all
6745 maybe-all-bison: all-bison
6746 all-bison: configure-bison
6747 @: $(MAKE); $(unstage)
6748 @r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 $(HOST_EXPORTS) \
6751 (cd $(HOST_SUBDIR)/bison && \
6752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6753 @endif bison
6758 .PHONY: check-bison maybe-check-bison
6759 maybe-check-bison:
6760 @if bison
6761 maybe-check-bison: check-bison
6763 # This module is only tested in a native toolchain.
6764 check-bison:
6765 @: $(MAKE); $(unstage)
6766 @if [ '$(host)' = '$(target)' ] ; then \
6767 r=`${PWD_COMMAND}`; export r; \
6768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6769 $(HOST_EXPORTS) \
6770 (cd $(HOST_SUBDIR)/bison && \
6771 $(MAKE) $(FLAGS_TO_PASS) check); \
6774 @endif bison
6776 .PHONY: install-bison maybe-install-bison
6777 maybe-install-bison:
6778 @if bison
6779 maybe-install-bison: install-bison
6781 install-bison: installdirs
6782 @: $(MAKE); $(unstage)
6783 @r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(HOST_EXPORTS) \
6786 (cd $(HOST_SUBDIR)/bison && \
6787 $(MAKE) $(FLAGS_TO_PASS) install)
6789 @endif bison
6791 # Other targets (info, dvi, pdf, etc.)
6793 .PHONY: maybe-info-bison info-bison
6794 maybe-info-bison:
6795 @if bison
6796 maybe-info-bison: info-bison
6798 info-bison: \
6799 configure-bison
6800 @: $(MAKE); $(unstage)
6801 @[ -f ./bison/Makefile ] || exit 0; \
6802 r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6804 $(HOST_EXPORTS) \
6805 for flag in $(EXTRA_HOST_FLAGS) ; do \
6806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6807 done; \
6808 echo "Doing info in bison" ; \
6809 (cd $(HOST_SUBDIR)/bison && \
6810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6812 "RANLIB=$${RANLIB}" \
6813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6814 info) \
6815 || exit 1
6817 @endif bison
6819 .PHONY: maybe-dvi-bison dvi-bison
6820 maybe-dvi-bison:
6821 @if bison
6822 maybe-dvi-bison: dvi-bison
6824 dvi-bison: \
6825 configure-bison
6826 @: $(MAKE); $(unstage)
6827 @[ -f ./bison/Makefile ] || exit 0; \
6828 r=`${PWD_COMMAND}`; export r; \
6829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830 $(HOST_EXPORTS) \
6831 for flag in $(EXTRA_HOST_FLAGS) ; do \
6832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6833 done; \
6834 echo "Doing dvi in bison" ; \
6835 (cd $(HOST_SUBDIR)/bison && \
6836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6838 "RANLIB=$${RANLIB}" \
6839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6840 dvi) \
6841 || exit 1
6843 @endif bison
6845 .PHONY: maybe-pdf-bison pdf-bison
6846 maybe-pdf-bison:
6847 @if bison
6848 maybe-pdf-bison: pdf-bison
6850 pdf-bison: \
6851 configure-bison
6852 @: $(MAKE); $(unstage)
6853 @[ -f ./bison/Makefile ] || exit 0; \
6854 r=`${PWD_COMMAND}`; export r; \
6855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6856 $(HOST_EXPORTS) \
6857 for flag in $(EXTRA_HOST_FLAGS) ; do \
6858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 done; \
6860 echo "Doing pdf in bison" ; \
6861 (cd $(HOST_SUBDIR)/bison && \
6862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6864 "RANLIB=$${RANLIB}" \
6865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6866 pdf) \
6867 || exit 1
6869 @endif bison
6871 .PHONY: maybe-html-bison html-bison
6872 maybe-html-bison:
6873 @if bison
6874 maybe-html-bison: html-bison
6876 html-bison: \
6877 configure-bison
6878 @: $(MAKE); $(unstage)
6879 @[ -f ./bison/Makefile ] || exit 0; \
6880 r=`${PWD_COMMAND}`; export r; \
6881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6882 $(HOST_EXPORTS) \
6883 for flag in $(EXTRA_HOST_FLAGS) ; do \
6884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6885 done; \
6886 echo "Doing html in bison" ; \
6887 (cd $(HOST_SUBDIR)/bison && \
6888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6890 "RANLIB=$${RANLIB}" \
6891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6892 html) \
6893 || exit 1
6895 @endif bison
6897 .PHONY: maybe-TAGS-bison TAGS-bison
6898 maybe-TAGS-bison:
6899 @if bison
6900 maybe-TAGS-bison: TAGS-bison
6902 TAGS-bison: \
6903 configure-bison
6904 @: $(MAKE); $(unstage)
6905 @[ -f ./bison/Makefile ] || exit 0; \
6906 r=`${PWD_COMMAND}`; export r; \
6907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6908 $(HOST_EXPORTS) \
6909 for flag in $(EXTRA_HOST_FLAGS) ; do \
6910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6911 done; \
6912 echo "Doing TAGS in bison" ; \
6913 (cd $(HOST_SUBDIR)/bison && \
6914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6916 "RANLIB=$${RANLIB}" \
6917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6918 TAGS) \
6919 || exit 1
6921 @endif bison
6923 .PHONY: maybe-install-info-bison install-info-bison
6924 maybe-install-info-bison:
6925 @if bison
6926 maybe-install-info-bison: install-info-bison
6928 install-info-bison: \
6929 configure-bison \
6930 info-bison
6931 @: $(MAKE); $(unstage)
6932 @[ -f ./bison/Makefile ] || exit 0; \
6933 r=`${PWD_COMMAND}`; export r; \
6934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 $(HOST_EXPORTS) \
6936 for flag in $(EXTRA_HOST_FLAGS) ; do \
6937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6938 done; \
6939 echo "Doing install-info in bison" ; \
6940 (cd $(HOST_SUBDIR)/bison && \
6941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6943 "RANLIB=$${RANLIB}" \
6944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6945 install-info) \
6946 || exit 1
6948 @endif bison
6950 .PHONY: maybe-install-html-bison install-html-bison
6951 maybe-install-html-bison:
6952 @if bison
6953 maybe-install-html-bison: install-html-bison
6955 install-html-bison: \
6956 configure-bison \
6957 html-bison
6958 @: $(MAKE); $(unstage)
6959 @[ -f ./bison/Makefile ] || exit 0; \
6960 r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6962 $(HOST_EXPORTS) \
6963 for flag in $(EXTRA_HOST_FLAGS) ; do \
6964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6965 done; \
6966 echo "Doing install-html in bison" ; \
6967 (cd $(HOST_SUBDIR)/bison && \
6968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6970 "RANLIB=$${RANLIB}" \
6971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6972 install-html) \
6973 || exit 1
6975 @endif bison
6977 .PHONY: maybe-installcheck-bison installcheck-bison
6978 maybe-installcheck-bison:
6979 @if bison
6980 maybe-installcheck-bison: installcheck-bison
6982 installcheck-bison: \
6983 configure-bison
6984 @: $(MAKE); $(unstage)
6985 @[ -f ./bison/Makefile ] || exit 0; \
6986 r=`${PWD_COMMAND}`; export r; \
6987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 $(HOST_EXPORTS) \
6989 for flag in $(EXTRA_HOST_FLAGS) ; do \
6990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6991 done; \
6992 echo "Doing installcheck in bison" ; \
6993 (cd $(HOST_SUBDIR)/bison && \
6994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6996 "RANLIB=$${RANLIB}" \
6997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6998 installcheck) \
6999 || exit 1
7001 @endif bison
7003 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7004 maybe-mostlyclean-bison:
7005 @if bison
7006 maybe-mostlyclean-bison: mostlyclean-bison
7008 mostlyclean-bison:
7009 @: $(MAKE); $(unstage)
7010 @[ -f ./bison/Makefile ] || exit 0; \
7011 r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(HOST_EXPORTS) \
7014 for flag in $(EXTRA_HOST_FLAGS) ; do \
7015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7016 done; \
7017 echo "Doing mostlyclean in bison" ; \
7018 (cd $(HOST_SUBDIR)/bison && \
7019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7021 "RANLIB=$${RANLIB}" \
7022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7023 mostlyclean) \
7024 || exit 1
7026 @endif bison
7028 .PHONY: maybe-clean-bison clean-bison
7029 maybe-clean-bison:
7030 @if bison
7031 maybe-clean-bison: clean-bison
7033 clean-bison:
7034 @: $(MAKE); $(unstage)
7035 @[ -f ./bison/Makefile ] || exit 0; \
7036 r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(HOST_EXPORTS) \
7039 for flag in $(EXTRA_HOST_FLAGS) ; do \
7040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7041 done; \
7042 echo "Doing clean in bison" ; \
7043 (cd $(HOST_SUBDIR)/bison && \
7044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7046 "RANLIB=$${RANLIB}" \
7047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7048 clean) \
7049 || exit 1
7051 @endif bison
7053 .PHONY: maybe-distclean-bison distclean-bison
7054 maybe-distclean-bison:
7055 @if bison
7056 maybe-distclean-bison: distclean-bison
7058 distclean-bison:
7059 @: $(MAKE); $(unstage)
7060 @[ -f ./bison/Makefile ] || exit 0; \
7061 r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7063 $(HOST_EXPORTS) \
7064 for flag in $(EXTRA_HOST_FLAGS) ; do \
7065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7066 done; \
7067 echo "Doing distclean in bison" ; \
7068 (cd $(HOST_SUBDIR)/bison && \
7069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7071 "RANLIB=$${RANLIB}" \
7072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7073 distclean) \
7074 || exit 1
7076 @endif bison
7078 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7079 maybe-maintainer-clean-bison:
7080 @if bison
7081 maybe-maintainer-clean-bison: maintainer-clean-bison
7083 maintainer-clean-bison:
7084 @: $(MAKE); $(unstage)
7085 @[ -f ./bison/Makefile ] || exit 0; \
7086 r=`${PWD_COMMAND}`; export r; \
7087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7088 $(HOST_EXPORTS) \
7089 for flag in $(EXTRA_HOST_FLAGS) ; do \
7090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7091 done; \
7092 echo "Doing maintainer-clean in bison" ; \
7093 (cd $(HOST_SUBDIR)/bison && \
7094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7096 "RANLIB=$${RANLIB}" \
7097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7098 maintainer-clean) \
7099 || exit 1
7101 @endif bison
7105 .PHONY: configure-byacc maybe-configure-byacc
7106 maybe-configure-byacc:
7107 @if gcc-bootstrap
7108 configure-byacc: stage_current
7109 @endif gcc-bootstrap
7110 @if byacc
7111 maybe-configure-byacc: configure-byacc
7112 configure-byacc:
7113 @: $(MAKE); $(unstage)
7114 @r=`${PWD_COMMAND}`; export r; \
7115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7116 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7118 $(HOST_EXPORTS) \
7119 echo Configuring in $(HOST_SUBDIR)/byacc; \
7120 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7121 case $(srcdir) in \
7122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7123 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7125 esac; \
7126 srcdiroption="--srcdir=$${topdir}/byacc"; \
7127 libsrcdir="$$s/byacc"; \
7128 $(SHELL) $${libsrcdir}/configure \
7129 $(HOST_CONFIGARGS) $${srcdiroption} \
7130 || exit 1
7131 @endif byacc
7137 .PHONY: all-byacc maybe-all-byacc
7138 maybe-all-byacc:
7139 @if gcc-bootstrap
7140 all-byacc: stage_current
7141 @endif gcc-bootstrap
7142 @if byacc
7143 TARGET-byacc=all
7144 maybe-all-byacc: all-byacc
7145 all-byacc: configure-byacc
7146 @: $(MAKE); $(unstage)
7147 @r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149 $(HOST_EXPORTS) \
7150 (cd $(HOST_SUBDIR)/byacc && \
7151 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7152 @endif byacc
7157 .PHONY: check-byacc maybe-check-byacc
7158 maybe-check-byacc:
7159 @if byacc
7160 maybe-check-byacc: check-byacc
7162 # This module is only tested in a native toolchain.
7163 check-byacc:
7164 @: $(MAKE); $(unstage)
7165 @if [ '$(host)' = '$(target)' ] ; then \
7166 r=`${PWD_COMMAND}`; export r; \
7167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7168 $(HOST_EXPORTS) \
7169 (cd $(HOST_SUBDIR)/byacc && \
7170 $(MAKE) $(FLAGS_TO_PASS) check); \
7173 @endif byacc
7175 .PHONY: install-byacc maybe-install-byacc
7176 maybe-install-byacc:
7177 @if byacc
7178 maybe-install-byacc: install-byacc
7180 install-byacc: installdirs
7181 @: $(MAKE); $(unstage)
7182 @r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 $(HOST_EXPORTS) \
7185 (cd $(HOST_SUBDIR)/byacc && \
7186 $(MAKE) $(FLAGS_TO_PASS) install)
7188 @endif byacc
7190 # Other targets (info, dvi, pdf, etc.)
7192 .PHONY: maybe-info-byacc info-byacc
7193 maybe-info-byacc:
7194 @if byacc
7195 maybe-info-byacc: info-byacc
7197 info-byacc: \
7198 configure-byacc
7199 @: $(MAKE); $(unstage)
7200 @[ -f ./byacc/Makefile ] || exit 0; \
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7203 $(HOST_EXPORTS) \
7204 for flag in $(EXTRA_HOST_FLAGS) ; do \
7205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7206 done; \
7207 echo "Doing info in byacc" ; \
7208 (cd $(HOST_SUBDIR)/byacc && \
7209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7211 "RANLIB=$${RANLIB}" \
7212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7213 info) \
7214 || exit 1
7216 @endif byacc
7218 .PHONY: maybe-dvi-byacc dvi-byacc
7219 maybe-dvi-byacc:
7220 @if byacc
7221 maybe-dvi-byacc: dvi-byacc
7223 dvi-byacc: \
7224 configure-byacc
7225 @: $(MAKE); $(unstage)
7226 @[ -f ./byacc/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(HOST_EXPORTS) \
7230 for flag in $(EXTRA_HOST_FLAGS) ; do \
7231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7232 done; \
7233 echo "Doing dvi in byacc" ; \
7234 (cd $(HOST_SUBDIR)/byacc && \
7235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7237 "RANLIB=$${RANLIB}" \
7238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7239 dvi) \
7240 || exit 1
7242 @endif byacc
7244 .PHONY: maybe-pdf-byacc pdf-byacc
7245 maybe-pdf-byacc:
7246 @if byacc
7247 maybe-pdf-byacc: pdf-byacc
7249 pdf-byacc: \
7250 configure-byacc
7251 @: $(MAKE); $(unstage)
7252 @[ -f ./byacc/Makefile ] || exit 0; \
7253 r=`${PWD_COMMAND}`; export r; \
7254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7255 $(HOST_EXPORTS) \
7256 for flag in $(EXTRA_HOST_FLAGS) ; do \
7257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7258 done; \
7259 echo "Doing pdf in byacc" ; \
7260 (cd $(HOST_SUBDIR)/byacc && \
7261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7263 "RANLIB=$${RANLIB}" \
7264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7265 pdf) \
7266 || exit 1
7268 @endif byacc
7270 .PHONY: maybe-html-byacc html-byacc
7271 maybe-html-byacc:
7272 @if byacc
7273 maybe-html-byacc: html-byacc
7275 html-byacc: \
7276 configure-byacc
7277 @: $(MAKE); $(unstage)
7278 @[ -f ./byacc/Makefile ] || exit 0; \
7279 r=`${PWD_COMMAND}`; export r; \
7280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7281 $(HOST_EXPORTS) \
7282 for flag in $(EXTRA_HOST_FLAGS) ; do \
7283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7284 done; \
7285 echo "Doing html in byacc" ; \
7286 (cd $(HOST_SUBDIR)/byacc && \
7287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7289 "RANLIB=$${RANLIB}" \
7290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7291 html) \
7292 || exit 1
7294 @endif byacc
7296 .PHONY: maybe-TAGS-byacc TAGS-byacc
7297 maybe-TAGS-byacc:
7298 @if byacc
7299 maybe-TAGS-byacc: TAGS-byacc
7301 TAGS-byacc: \
7302 configure-byacc
7303 @: $(MAKE); $(unstage)
7304 @[ -f ./byacc/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307 $(HOST_EXPORTS) \
7308 for flag in $(EXTRA_HOST_FLAGS) ; do \
7309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7310 done; \
7311 echo "Doing TAGS in byacc" ; \
7312 (cd $(HOST_SUBDIR)/byacc && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315 "RANLIB=$${RANLIB}" \
7316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7317 TAGS) \
7318 || exit 1
7320 @endif byacc
7322 .PHONY: maybe-install-info-byacc install-info-byacc
7323 maybe-install-info-byacc:
7324 @if byacc
7325 maybe-install-info-byacc: install-info-byacc
7327 install-info-byacc: \
7328 configure-byacc \
7329 info-byacc
7330 @: $(MAKE); $(unstage)
7331 @[ -f ./byacc/Makefile ] || exit 0; \
7332 r=`${PWD_COMMAND}`; export r; \
7333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7334 $(HOST_EXPORTS) \
7335 for flag in $(EXTRA_HOST_FLAGS) ; do \
7336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7337 done; \
7338 echo "Doing install-info in byacc" ; \
7339 (cd $(HOST_SUBDIR)/byacc && \
7340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7342 "RANLIB=$${RANLIB}" \
7343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7344 install-info) \
7345 || exit 1
7347 @endif byacc
7349 .PHONY: maybe-install-html-byacc install-html-byacc
7350 maybe-install-html-byacc:
7351 @if byacc
7352 maybe-install-html-byacc: install-html-byacc
7354 install-html-byacc: \
7355 configure-byacc \
7356 html-byacc
7357 @: $(MAKE); $(unstage)
7358 @[ -f ./byacc/Makefile ] || exit 0; \
7359 r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361 $(HOST_EXPORTS) \
7362 for flag in $(EXTRA_HOST_FLAGS) ; do \
7363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7364 done; \
7365 echo "Doing install-html in byacc" ; \
7366 (cd $(HOST_SUBDIR)/byacc && \
7367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7369 "RANLIB=$${RANLIB}" \
7370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7371 install-html) \
7372 || exit 1
7374 @endif byacc
7376 .PHONY: maybe-installcheck-byacc installcheck-byacc
7377 maybe-installcheck-byacc:
7378 @if byacc
7379 maybe-installcheck-byacc: installcheck-byacc
7381 installcheck-byacc: \
7382 configure-byacc
7383 @: $(MAKE); $(unstage)
7384 @[ -f ./byacc/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing installcheck in byacc" ; \
7392 (cd $(HOST_SUBDIR)/byacc && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7397 installcheck) \
7398 || exit 1
7400 @endif byacc
7402 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7403 maybe-mostlyclean-byacc:
7404 @if byacc
7405 maybe-mostlyclean-byacc: mostlyclean-byacc
7407 mostlyclean-byacc:
7408 @: $(MAKE); $(unstage)
7409 @[ -f ./byacc/Makefile ] || exit 0; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(HOST_EXPORTS) \
7413 for flag in $(EXTRA_HOST_FLAGS) ; do \
7414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7415 done; \
7416 echo "Doing mostlyclean in byacc" ; \
7417 (cd $(HOST_SUBDIR)/byacc && \
7418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7420 "RANLIB=$${RANLIB}" \
7421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7422 mostlyclean) \
7423 || exit 1
7425 @endif byacc
7427 .PHONY: maybe-clean-byacc clean-byacc
7428 maybe-clean-byacc:
7429 @if byacc
7430 maybe-clean-byacc: clean-byacc
7432 clean-byacc:
7433 @: $(MAKE); $(unstage)
7434 @[ -f ./byacc/Makefile ] || exit 0; \
7435 r=`${PWD_COMMAND}`; export r; \
7436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7437 $(HOST_EXPORTS) \
7438 for flag in $(EXTRA_HOST_FLAGS) ; do \
7439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7440 done; \
7441 echo "Doing clean in byacc" ; \
7442 (cd $(HOST_SUBDIR)/byacc && \
7443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7445 "RANLIB=$${RANLIB}" \
7446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7447 clean) \
7448 || exit 1
7450 @endif byacc
7452 .PHONY: maybe-distclean-byacc distclean-byacc
7453 maybe-distclean-byacc:
7454 @if byacc
7455 maybe-distclean-byacc: distclean-byacc
7457 distclean-byacc:
7458 @: $(MAKE); $(unstage)
7459 @[ -f ./byacc/Makefile ] || exit 0; \
7460 r=`${PWD_COMMAND}`; export r; \
7461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7462 $(HOST_EXPORTS) \
7463 for flag in $(EXTRA_HOST_FLAGS) ; do \
7464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7465 done; \
7466 echo "Doing distclean in byacc" ; \
7467 (cd $(HOST_SUBDIR)/byacc && \
7468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7470 "RANLIB=$${RANLIB}" \
7471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7472 distclean) \
7473 || exit 1
7475 @endif byacc
7477 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7478 maybe-maintainer-clean-byacc:
7479 @if byacc
7480 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7482 maintainer-clean-byacc:
7483 @: $(MAKE); $(unstage)
7484 @[ -f ./byacc/Makefile ] || exit 0; \
7485 r=`${PWD_COMMAND}`; export r; \
7486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7487 $(HOST_EXPORTS) \
7488 for flag in $(EXTRA_HOST_FLAGS) ; do \
7489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7490 done; \
7491 echo "Doing maintainer-clean in byacc" ; \
7492 (cd $(HOST_SUBDIR)/byacc && \
7493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7495 "RANLIB=$${RANLIB}" \
7496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7497 maintainer-clean) \
7498 || exit 1
7500 @endif byacc
7504 .PHONY: configure-bzip2 maybe-configure-bzip2
7505 maybe-configure-bzip2:
7506 @if gcc-bootstrap
7507 configure-bzip2: stage_current
7508 @endif gcc-bootstrap
7509 @if bzip2
7510 maybe-configure-bzip2: configure-bzip2
7511 configure-bzip2:
7512 @: $(MAKE); $(unstage)
7513 @r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7517 $(HOST_EXPORTS) \
7518 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7519 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7520 case $(srcdir) in \
7521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7522 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7524 esac; \
7525 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7526 libsrcdir="$$s/bzip2"; \
7527 $(SHELL) $${libsrcdir}/configure \
7528 $(HOST_CONFIGARGS) $${srcdiroption} \
7529 || exit 1
7530 @endif bzip2
7536 .PHONY: all-bzip2 maybe-all-bzip2
7537 maybe-all-bzip2:
7538 @if gcc-bootstrap
7539 all-bzip2: stage_current
7540 @endif gcc-bootstrap
7541 @if bzip2
7542 TARGET-bzip2=all
7543 maybe-all-bzip2: all-bzip2
7544 all-bzip2: configure-bzip2
7545 @: $(MAKE); $(unstage)
7546 @r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 (cd $(HOST_SUBDIR)/bzip2 && \
7550 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7551 @endif bzip2
7556 .PHONY: check-bzip2 maybe-check-bzip2
7557 maybe-check-bzip2:
7558 @if bzip2
7559 maybe-check-bzip2: check-bzip2
7561 check-bzip2:
7562 @: $(MAKE); $(unstage)
7563 @r=`${PWD_COMMAND}`; export r; \
7564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7565 $(HOST_EXPORTS) \
7566 (cd $(HOST_SUBDIR)/bzip2 && \
7567 $(MAKE) $(FLAGS_TO_PASS) check)
7569 @endif bzip2
7571 .PHONY: install-bzip2 maybe-install-bzip2
7572 maybe-install-bzip2:
7573 @if bzip2
7574 maybe-install-bzip2: install-bzip2
7576 install-bzip2: installdirs
7577 @: $(MAKE); $(unstage)
7578 @r=`${PWD_COMMAND}`; export r; \
7579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7580 $(HOST_EXPORTS) \
7581 (cd $(HOST_SUBDIR)/bzip2 && \
7582 $(MAKE) $(FLAGS_TO_PASS) install)
7584 @endif bzip2
7586 # Other targets (info, dvi, pdf, etc.)
7588 .PHONY: maybe-info-bzip2 info-bzip2
7589 maybe-info-bzip2:
7590 @if bzip2
7591 maybe-info-bzip2: info-bzip2
7593 info-bzip2: \
7594 configure-bzip2
7595 @: $(MAKE); $(unstage)
7596 @[ -f ./bzip2/Makefile ] || exit 0; \
7597 r=`${PWD_COMMAND}`; export r; \
7598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7599 $(HOST_EXPORTS) \
7600 for flag in $(EXTRA_HOST_FLAGS) ; do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing info in bzip2" ; \
7604 (cd $(HOST_SUBDIR)/bzip2 && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7609 info) \
7610 || exit 1
7612 @endif bzip2
7614 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7615 maybe-dvi-bzip2:
7616 @if bzip2
7617 maybe-dvi-bzip2: dvi-bzip2
7619 dvi-bzip2: \
7620 configure-bzip2
7621 @: $(MAKE); $(unstage)
7622 @[ -f ./bzip2/Makefile ] || exit 0; \
7623 r=`${PWD_COMMAND}`; export r; \
7624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7625 $(HOST_EXPORTS) \
7626 for flag in $(EXTRA_HOST_FLAGS) ; do \
7627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7628 done; \
7629 echo "Doing dvi in bzip2" ; \
7630 (cd $(HOST_SUBDIR)/bzip2 && \
7631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7633 "RANLIB=$${RANLIB}" \
7634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7635 dvi) \
7636 || exit 1
7638 @endif bzip2
7640 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7641 maybe-pdf-bzip2:
7642 @if bzip2
7643 maybe-pdf-bzip2: pdf-bzip2
7645 pdf-bzip2: \
7646 configure-bzip2
7647 @: $(MAKE); $(unstage)
7648 @[ -f ./bzip2/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(HOST_EXPORTS) \
7652 for flag in $(EXTRA_HOST_FLAGS) ; do \
7653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7654 done; \
7655 echo "Doing pdf in bzip2" ; \
7656 (cd $(HOST_SUBDIR)/bzip2 && \
7657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7659 "RANLIB=$${RANLIB}" \
7660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7661 pdf) \
7662 || exit 1
7664 @endif bzip2
7666 .PHONY: maybe-html-bzip2 html-bzip2
7667 maybe-html-bzip2:
7668 @if bzip2
7669 maybe-html-bzip2: html-bzip2
7671 html-bzip2: \
7672 configure-bzip2
7673 @: $(MAKE); $(unstage)
7674 @[ -f ./bzip2/Makefile ] || exit 0; \
7675 r=`${PWD_COMMAND}`; export r; \
7676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7677 $(HOST_EXPORTS) \
7678 for flag in $(EXTRA_HOST_FLAGS) ; do \
7679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7680 done; \
7681 echo "Doing html in bzip2" ; \
7682 (cd $(HOST_SUBDIR)/bzip2 && \
7683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685 "RANLIB=$${RANLIB}" \
7686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7687 html) \
7688 || exit 1
7690 @endif bzip2
7692 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7693 maybe-TAGS-bzip2:
7694 @if bzip2
7695 maybe-TAGS-bzip2: TAGS-bzip2
7697 TAGS-bzip2: \
7698 configure-bzip2
7699 @: $(MAKE); $(unstage)
7700 @[ -f ./bzip2/Makefile ] || exit 0; \
7701 r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(HOST_EXPORTS) \
7704 for flag in $(EXTRA_HOST_FLAGS) ; do \
7705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7706 done; \
7707 echo "Doing TAGS in bzip2" ; \
7708 (cd $(HOST_SUBDIR)/bzip2 && \
7709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7711 "RANLIB=$${RANLIB}" \
7712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7713 TAGS) \
7714 || exit 1
7716 @endif bzip2
7718 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7719 maybe-install-info-bzip2:
7720 @if bzip2
7721 maybe-install-info-bzip2: install-info-bzip2
7723 install-info-bzip2: \
7724 configure-bzip2 \
7725 info-bzip2
7726 @: $(MAKE); $(unstage)
7727 @[ -f ./bzip2/Makefile ] || exit 0; \
7728 r=`${PWD_COMMAND}`; export r; \
7729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7730 $(HOST_EXPORTS) \
7731 for flag in $(EXTRA_HOST_FLAGS) ; do \
7732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7733 done; \
7734 echo "Doing install-info in bzip2" ; \
7735 (cd $(HOST_SUBDIR)/bzip2 && \
7736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7738 "RANLIB=$${RANLIB}" \
7739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7740 install-info) \
7741 || exit 1
7743 @endif bzip2
7745 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7746 maybe-install-html-bzip2:
7747 @if bzip2
7748 maybe-install-html-bzip2: install-html-bzip2
7750 install-html-bzip2: \
7751 configure-bzip2 \
7752 html-bzip2
7753 @: $(MAKE); $(unstage)
7754 @[ -f ./bzip2/Makefile ] || exit 0; \
7755 r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(HOST_EXPORTS) \
7758 for flag in $(EXTRA_HOST_FLAGS) ; do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing install-html in bzip2" ; \
7762 (cd $(HOST_SUBDIR)/bzip2 && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7767 install-html) \
7768 || exit 1
7770 @endif bzip2
7772 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7773 maybe-installcheck-bzip2:
7774 @if bzip2
7775 maybe-installcheck-bzip2: installcheck-bzip2
7777 installcheck-bzip2: \
7778 configure-bzip2
7779 @: $(MAKE); $(unstage)
7780 @[ -f ./bzip2/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 $(HOST_EXPORTS) \
7784 for flag in $(EXTRA_HOST_FLAGS) ; do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing installcheck in bzip2" ; \
7788 (cd $(HOST_SUBDIR)/bzip2 && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7793 installcheck) \
7794 || exit 1
7796 @endif bzip2
7798 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7799 maybe-mostlyclean-bzip2:
7800 @if bzip2
7801 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7803 mostlyclean-bzip2:
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./bzip2/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing mostlyclean in bzip2" ; \
7813 (cd $(HOST_SUBDIR)/bzip2 && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 mostlyclean) \
7819 || exit 1
7821 @endif bzip2
7823 .PHONY: maybe-clean-bzip2 clean-bzip2
7824 maybe-clean-bzip2:
7825 @if bzip2
7826 maybe-clean-bzip2: clean-bzip2
7828 clean-bzip2:
7829 @: $(MAKE); $(unstage)
7830 @[ -f ./bzip2/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7833 $(HOST_EXPORTS) \
7834 for flag in $(EXTRA_HOST_FLAGS) ; do \
7835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7836 done; \
7837 echo "Doing clean in bzip2" ; \
7838 (cd $(HOST_SUBDIR)/bzip2 && \
7839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7841 "RANLIB=$${RANLIB}" \
7842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7843 clean) \
7844 || exit 1
7846 @endif bzip2
7848 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7849 maybe-distclean-bzip2:
7850 @if bzip2
7851 maybe-distclean-bzip2: distclean-bzip2
7853 distclean-bzip2:
7854 @: $(MAKE); $(unstage)
7855 @[ -f ./bzip2/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(HOST_EXPORTS) \
7859 for flag in $(EXTRA_HOST_FLAGS) ; do \
7860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7861 done; \
7862 echo "Doing distclean in bzip2" ; \
7863 (cd $(HOST_SUBDIR)/bzip2 && \
7864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7866 "RANLIB=$${RANLIB}" \
7867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7868 distclean) \
7869 || exit 1
7871 @endif bzip2
7873 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7874 maybe-maintainer-clean-bzip2:
7875 @if bzip2
7876 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7878 maintainer-clean-bzip2:
7879 @: $(MAKE); $(unstage)
7880 @[ -f ./bzip2/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(HOST_EXPORTS) \
7884 for flag in $(EXTRA_HOST_FLAGS) ; do \
7885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7886 done; \
7887 echo "Doing maintainer-clean in bzip2" ; \
7888 (cd $(HOST_SUBDIR)/bzip2 && \
7889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891 "RANLIB=$${RANLIB}" \
7892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7893 maintainer-clean) \
7894 || exit 1
7896 @endif bzip2
7900 .PHONY: configure-dejagnu maybe-configure-dejagnu
7901 maybe-configure-dejagnu:
7902 @if gcc-bootstrap
7903 configure-dejagnu: stage_current
7904 @endif gcc-bootstrap
7905 @if dejagnu
7906 maybe-configure-dejagnu: configure-dejagnu
7907 configure-dejagnu:
7908 @: $(MAKE); $(unstage)
7909 @r=`${PWD_COMMAND}`; export r; \
7910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7911 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7913 $(HOST_EXPORTS) \
7914 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7915 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7916 case $(srcdir) in \
7917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7918 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7920 esac; \
7921 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7922 libsrcdir="$$s/dejagnu"; \
7923 $(SHELL) $${libsrcdir}/configure \
7924 $(HOST_CONFIGARGS) $${srcdiroption} \
7925 || exit 1
7926 @endif dejagnu
7932 .PHONY: all-dejagnu maybe-all-dejagnu
7933 maybe-all-dejagnu:
7934 @if gcc-bootstrap
7935 all-dejagnu: stage_current
7936 @endif gcc-bootstrap
7937 @if dejagnu
7938 TARGET-dejagnu=all
7939 maybe-all-dejagnu: all-dejagnu
7940 all-dejagnu: configure-dejagnu
7941 @: $(MAKE); $(unstage)
7942 @r=`${PWD_COMMAND}`; export r; \
7943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7944 $(HOST_EXPORTS) \
7945 (cd $(HOST_SUBDIR)/dejagnu && \
7946 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7947 @endif dejagnu
7952 .PHONY: check-dejagnu maybe-check-dejagnu
7953 maybe-check-dejagnu:
7954 @if dejagnu
7955 maybe-check-dejagnu: check-dejagnu
7957 check-dejagnu:
7958 @: $(MAKE); $(unstage)
7959 @r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(HOST_EXPORTS) \
7962 (cd $(HOST_SUBDIR)/dejagnu && \
7963 $(MAKE) $(FLAGS_TO_PASS) check)
7965 @endif dejagnu
7967 .PHONY: install-dejagnu maybe-install-dejagnu
7968 maybe-install-dejagnu:
7969 @if dejagnu
7970 maybe-install-dejagnu: install-dejagnu
7972 install-dejagnu: installdirs
7973 @: $(MAKE); $(unstage)
7974 @r=`${PWD_COMMAND}`; export r; \
7975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 $(HOST_EXPORTS) \
7977 (cd $(HOST_SUBDIR)/dejagnu && \
7978 $(MAKE) $(FLAGS_TO_PASS) install)
7980 @endif dejagnu
7982 # Other targets (info, dvi, pdf, etc.)
7984 .PHONY: maybe-info-dejagnu info-dejagnu
7985 maybe-info-dejagnu:
7986 @if dejagnu
7987 maybe-info-dejagnu: info-dejagnu
7989 info-dejagnu: \
7990 configure-dejagnu
7991 @: $(MAKE); $(unstage)
7992 @[ -f ./dejagnu/Makefile ] || exit 0; \
7993 r=`${PWD_COMMAND}`; export r; \
7994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7995 $(HOST_EXPORTS) \
7996 for flag in $(EXTRA_HOST_FLAGS) ; do \
7997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7998 done; \
7999 echo "Doing info in dejagnu" ; \
8000 (cd $(HOST_SUBDIR)/dejagnu && \
8001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8003 "RANLIB=$${RANLIB}" \
8004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8005 info) \
8006 || exit 1
8008 @endif dejagnu
8010 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8011 maybe-dvi-dejagnu:
8012 @if dejagnu
8013 maybe-dvi-dejagnu: dvi-dejagnu
8015 dvi-dejagnu: \
8016 configure-dejagnu
8017 @: $(MAKE); $(unstage)
8018 @[ -f ./dejagnu/Makefile ] || exit 0; \
8019 r=`${PWD_COMMAND}`; export r; \
8020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8021 $(HOST_EXPORTS) \
8022 for flag in $(EXTRA_HOST_FLAGS) ; do \
8023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8024 done; \
8025 echo "Doing dvi in dejagnu" ; \
8026 (cd $(HOST_SUBDIR)/dejagnu && \
8027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8029 "RANLIB=$${RANLIB}" \
8030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8031 dvi) \
8032 || exit 1
8034 @endif dejagnu
8036 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8037 maybe-pdf-dejagnu:
8038 @if dejagnu
8039 maybe-pdf-dejagnu: pdf-dejagnu
8041 pdf-dejagnu: \
8042 configure-dejagnu
8043 @: $(MAKE); $(unstage)
8044 @[ -f ./dejagnu/Makefile ] || exit 0; \
8045 r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8047 $(HOST_EXPORTS) \
8048 for flag in $(EXTRA_HOST_FLAGS) ; do \
8049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8050 done; \
8051 echo "Doing pdf in dejagnu" ; \
8052 (cd $(HOST_SUBDIR)/dejagnu && \
8053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8055 "RANLIB=$${RANLIB}" \
8056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8057 pdf) \
8058 || exit 1
8060 @endif dejagnu
8062 .PHONY: maybe-html-dejagnu html-dejagnu
8063 maybe-html-dejagnu:
8064 @if dejagnu
8065 maybe-html-dejagnu: html-dejagnu
8067 html-dejagnu: \
8068 configure-dejagnu
8069 @: $(MAKE); $(unstage)
8070 @[ -f ./dejagnu/Makefile ] || exit 0; \
8071 r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 $(HOST_EXPORTS) \
8074 for flag in $(EXTRA_HOST_FLAGS) ; do \
8075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8076 done; \
8077 echo "Doing html in dejagnu" ; \
8078 (cd $(HOST_SUBDIR)/dejagnu && \
8079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8081 "RANLIB=$${RANLIB}" \
8082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8083 html) \
8084 || exit 1
8086 @endif dejagnu
8088 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8089 maybe-TAGS-dejagnu:
8090 @if dejagnu
8091 maybe-TAGS-dejagnu: TAGS-dejagnu
8093 TAGS-dejagnu: \
8094 configure-dejagnu
8095 @: $(MAKE); $(unstage)
8096 @[ -f ./dejagnu/Makefile ] || exit 0; \
8097 r=`${PWD_COMMAND}`; export r; \
8098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8099 $(HOST_EXPORTS) \
8100 for flag in $(EXTRA_HOST_FLAGS) ; do \
8101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8102 done; \
8103 echo "Doing TAGS in dejagnu" ; \
8104 (cd $(HOST_SUBDIR)/dejagnu && \
8105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8107 "RANLIB=$${RANLIB}" \
8108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8109 TAGS) \
8110 || exit 1
8112 @endif dejagnu
8114 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8115 maybe-install-info-dejagnu:
8116 @if dejagnu
8117 maybe-install-info-dejagnu: install-info-dejagnu
8119 install-info-dejagnu: \
8120 configure-dejagnu \
8121 info-dejagnu
8122 @: $(MAKE); $(unstage)
8123 @[ -f ./dejagnu/Makefile ] || exit 0; \
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 $(HOST_EXPORTS) \
8127 for flag in $(EXTRA_HOST_FLAGS) ; do \
8128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8129 done; \
8130 echo "Doing install-info in dejagnu" ; \
8131 (cd $(HOST_SUBDIR)/dejagnu && \
8132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8134 "RANLIB=$${RANLIB}" \
8135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8136 install-info) \
8137 || exit 1
8139 @endif dejagnu
8141 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8142 maybe-install-html-dejagnu:
8143 @if dejagnu
8144 maybe-install-html-dejagnu: install-html-dejagnu
8146 install-html-dejagnu: \
8147 configure-dejagnu \
8148 html-dejagnu
8149 @: $(MAKE); $(unstage)
8150 @[ -f ./dejagnu/Makefile ] || exit 0; \
8151 r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8153 $(HOST_EXPORTS) \
8154 for flag in $(EXTRA_HOST_FLAGS) ; do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8156 done; \
8157 echo "Doing install-html in dejagnu" ; \
8158 (cd $(HOST_SUBDIR)/dejagnu && \
8159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161 "RANLIB=$${RANLIB}" \
8162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8163 install-html) \
8164 || exit 1
8166 @endif dejagnu
8168 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8169 maybe-installcheck-dejagnu:
8170 @if dejagnu
8171 maybe-installcheck-dejagnu: installcheck-dejagnu
8173 installcheck-dejagnu: \
8174 configure-dejagnu
8175 @: $(MAKE); $(unstage)
8176 @[ -f ./dejagnu/Makefile ] || exit 0; \
8177 r=`${PWD_COMMAND}`; export r; \
8178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8179 $(HOST_EXPORTS) \
8180 for flag in $(EXTRA_HOST_FLAGS) ; do \
8181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8182 done; \
8183 echo "Doing installcheck in dejagnu" ; \
8184 (cd $(HOST_SUBDIR)/dejagnu && \
8185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8187 "RANLIB=$${RANLIB}" \
8188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8189 installcheck) \
8190 || exit 1
8192 @endif dejagnu
8194 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8195 maybe-mostlyclean-dejagnu:
8196 @if dejagnu
8197 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8199 mostlyclean-dejagnu:
8200 @: $(MAKE); $(unstage)
8201 @[ -f ./dejagnu/Makefile ] || exit 0; \
8202 r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 $(HOST_EXPORTS) \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 done; \
8208 echo "Doing mostlyclean in dejagnu" ; \
8209 (cd $(HOST_SUBDIR)/dejagnu && \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8214 mostlyclean) \
8215 || exit 1
8217 @endif dejagnu
8219 .PHONY: maybe-clean-dejagnu clean-dejagnu
8220 maybe-clean-dejagnu:
8221 @if dejagnu
8222 maybe-clean-dejagnu: clean-dejagnu
8224 clean-dejagnu:
8225 @: $(MAKE); $(unstage)
8226 @[ -f ./dejagnu/Makefile ] || exit 0; \
8227 r=`${PWD_COMMAND}`; export r; \
8228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8229 $(HOST_EXPORTS) \
8230 for flag in $(EXTRA_HOST_FLAGS) ; do \
8231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8232 done; \
8233 echo "Doing clean in dejagnu" ; \
8234 (cd $(HOST_SUBDIR)/dejagnu && \
8235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8237 "RANLIB=$${RANLIB}" \
8238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8239 clean) \
8240 || exit 1
8242 @endif dejagnu
8244 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8245 maybe-distclean-dejagnu:
8246 @if dejagnu
8247 maybe-distclean-dejagnu: distclean-dejagnu
8249 distclean-dejagnu:
8250 @: $(MAKE); $(unstage)
8251 @[ -f ./dejagnu/Makefile ] || exit 0; \
8252 r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 $(HOST_EXPORTS) \
8255 for flag in $(EXTRA_HOST_FLAGS) ; do \
8256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8257 done; \
8258 echo "Doing distclean in dejagnu" ; \
8259 (cd $(HOST_SUBDIR)/dejagnu && \
8260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8262 "RANLIB=$${RANLIB}" \
8263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8264 distclean) \
8265 || exit 1
8267 @endif dejagnu
8269 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8270 maybe-maintainer-clean-dejagnu:
8271 @if dejagnu
8272 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8274 maintainer-clean-dejagnu:
8275 @: $(MAKE); $(unstage)
8276 @[ -f ./dejagnu/Makefile ] || exit 0; \
8277 r=`${PWD_COMMAND}`; export r; \
8278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8279 $(HOST_EXPORTS) \
8280 for flag in $(EXTRA_HOST_FLAGS) ; do \
8281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8282 done; \
8283 echo "Doing maintainer-clean in dejagnu" ; \
8284 (cd $(HOST_SUBDIR)/dejagnu && \
8285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8287 "RANLIB=$${RANLIB}" \
8288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8289 maintainer-clean) \
8290 || exit 1
8292 @endif dejagnu
8296 .PHONY: configure-diff maybe-configure-diff
8297 maybe-configure-diff:
8298 @if gcc-bootstrap
8299 configure-diff: stage_current
8300 @endif gcc-bootstrap
8301 @if diff
8302 maybe-configure-diff: configure-diff
8303 configure-diff:
8304 @: $(MAKE); $(unstage)
8305 @r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8309 $(HOST_EXPORTS) \
8310 echo Configuring in $(HOST_SUBDIR)/diff; \
8311 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8312 case $(srcdir) in \
8313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8314 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8316 esac; \
8317 srcdiroption="--srcdir=$${topdir}/diff"; \
8318 libsrcdir="$$s/diff"; \
8319 $(SHELL) $${libsrcdir}/configure \
8320 $(HOST_CONFIGARGS) $${srcdiroption} \
8321 || exit 1
8322 @endif diff
8328 .PHONY: all-diff maybe-all-diff
8329 maybe-all-diff:
8330 @if gcc-bootstrap
8331 all-diff: stage_current
8332 @endif gcc-bootstrap
8333 @if diff
8334 TARGET-diff=all
8335 maybe-all-diff: all-diff
8336 all-diff: configure-diff
8337 @: $(MAKE); $(unstage)
8338 @r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8340 $(HOST_EXPORTS) \
8341 (cd $(HOST_SUBDIR)/diff && \
8342 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8343 @endif diff
8348 .PHONY: check-diff maybe-check-diff
8349 maybe-check-diff:
8350 @if diff
8351 maybe-check-diff: check-diff
8353 check-diff:
8354 @: $(MAKE); $(unstage)
8355 @r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(HOST_EXPORTS) \
8358 (cd $(HOST_SUBDIR)/diff && \
8359 $(MAKE) $(FLAGS_TO_PASS) check)
8361 @endif diff
8363 .PHONY: install-diff maybe-install-diff
8364 maybe-install-diff:
8365 @if diff
8366 maybe-install-diff: install-diff
8368 install-diff: installdirs
8369 @: $(MAKE); $(unstage)
8370 @r=`${PWD_COMMAND}`; export r; \
8371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8372 $(HOST_EXPORTS) \
8373 (cd $(HOST_SUBDIR)/diff && \
8374 $(MAKE) $(FLAGS_TO_PASS) install)
8376 @endif diff
8378 # Other targets (info, dvi, pdf, etc.)
8380 .PHONY: maybe-info-diff info-diff
8381 maybe-info-diff:
8382 @if diff
8383 maybe-info-diff: info-diff
8385 info-diff: \
8386 configure-diff
8387 @: $(MAKE); $(unstage)
8388 @[ -f ./diff/Makefile ] || exit 0; \
8389 r=`${PWD_COMMAND}`; export r; \
8390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 $(HOST_EXPORTS) \
8392 for flag in $(EXTRA_HOST_FLAGS) ; do \
8393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8394 done; \
8395 echo "Doing info in diff" ; \
8396 (cd $(HOST_SUBDIR)/diff && \
8397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8399 "RANLIB=$${RANLIB}" \
8400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8401 info) \
8402 || exit 1
8404 @endif diff
8406 .PHONY: maybe-dvi-diff dvi-diff
8407 maybe-dvi-diff:
8408 @if diff
8409 maybe-dvi-diff: dvi-diff
8411 dvi-diff: \
8412 configure-diff
8413 @: $(MAKE); $(unstage)
8414 @[ -f ./diff/Makefile ] || exit 0; \
8415 r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 $(HOST_EXPORTS) \
8418 for flag in $(EXTRA_HOST_FLAGS) ; do \
8419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8420 done; \
8421 echo "Doing dvi in diff" ; \
8422 (cd $(HOST_SUBDIR)/diff && \
8423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8425 "RANLIB=$${RANLIB}" \
8426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8427 dvi) \
8428 || exit 1
8430 @endif diff
8432 .PHONY: maybe-pdf-diff pdf-diff
8433 maybe-pdf-diff:
8434 @if diff
8435 maybe-pdf-diff: pdf-diff
8437 pdf-diff: \
8438 configure-diff
8439 @: $(MAKE); $(unstage)
8440 @[ -f ./diff/Makefile ] || exit 0; \
8441 r=`${PWD_COMMAND}`; export r; \
8442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8443 $(HOST_EXPORTS) \
8444 for flag in $(EXTRA_HOST_FLAGS) ; do \
8445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8446 done; \
8447 echo "Doing pdf in diff" ; \
8448 (cd $(HOST_SUBDIR)/diff && \
8449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8451 "RANLIB=$${RANLIB}" \
8452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8453 pdf) \
8454 || exit 1
8456 @endif diff
8458 .PHONY: maybe-html-diff html-diff
8459 maybe-html-diff:
8460 @if diff
8461 maybe-html-diff: html-diff
8463 html-diff: \
8464 configure-diff
8465 @: $(MAKE); $(unstage)
8466 @[ -f ./diff/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 $(HOST_EXPORTS) \
8470 for flag in $(EXTRA_HOST_FLAGS) ; do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472 done; \
8473 echo "Doing html in diff" ; \
8474 (cd $(HOST_SUBDIR)/diff && \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8479 html) \
8480 || exit 1
8482 @endif diff
8484 .PHONY: maybe-TAGS-diff TAGS-diff
8485 maybe-TAGS-diff:
8486 @if diff
8487 maybe-TAGS-diff: TAGS-diff
8489 TAGS-diff: \
8490 configure-diff
8491 @: $(MAKE); $(unstage)
8492 @[ -f ./diff/Makefile ] || exit 0; \
8493 r=`${PWD_COMMAND}`; export r; \
8494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8495 $(HOST_EXPORTS) \
8496 for flag in $(EXTRA_HOST_FLAGS) ; do \
8497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8498 done; \
8499 echo "Doing TAGS in diff" ; \
8500 (cd $(HOST_SUBDIR)/diff && \
8501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8503 "RANLIB=$${RANLIB}" \
8504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8505 TAGS) \
8506 || exit 1
8508 @endif diff
8510 .PHONY: maybe-install-info-diff install-info-diff
8511 maybe-install-info-diff:
8512 @if diff
8513 maybe-install-info-diff: install-info-diff
8515 install-info-diff: \
8516 configure-diff \
8517 info-diff
8518 @: $(MAKE); $(unstage)
8519 @[ -f ./diff/Makefile ] || exit 0; \
8520 r=`${PWD_COMMAND}`; export r; \
8521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8522 $(HOST_EXPORTS) \
8523 for flag in $(EXTRA_HOST_FLAGS) ; do \
8524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8525 done; \
8526 echo "Doing install-info in diff" ; \
8527 (cd $(HOST_SUBDIR)/diff && \
8528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8530 "RANLIB=$${RANLIB}" \
8531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8532 install-info) \
8533 || exit 1
8535 @endif diff
8537 .PHONY: maybe-install-html-diff install-html-diff
8538 maybe-install-html-diff:
8539 @if diff
8540 maybe-install-html-diff: install-html-diff
8542 install-html-diff: \
8543 configure-diff \
8544 html-diff
8545 @: $(MAKE); $(unstage)
8546 @[ -f ./diff/Makefile ] || exit 0; \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8549 $(HOST_EXPORTS) \
8550 for flag in $(EXTRA_HOST_FLAGS) ; do \
8551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8552 done; \
8553 echo "Doing install-html in diff" ; \
8554 (cd $(HOST_SUBDIR)/diff && \
8555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557 "RANLIB=$${RANLIB}" \
8558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8559 install-html) \
8560 || exit 1
8562 @endif diff
8564 .PHONY: maybe-installcheck-diff installcheck-diff
8565 maybe-installcheck-diff:
8566 @if diff
8567 maybe-installcheck-diff: installcheck-diff
8569 installcheck-diff: \
8570 configure-diff
8571 @: $(MAKE); $(unstage)
8572 @[ -f ./diff/Makefile ] || exit 0; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing installcheck in diff" ; \
8580 (cd $(HOST_SUBDIR)/diff && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8585 installcheck) \
8586 || exit 1
8588 @endif diff
8590 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8591 maybe-mostlyclean-diff:
8592 @if diff
8593 maybe-mostlyclean-diff: mostlyclean-diff
8595 mostlyclean-diff:
8596 @: $(MAKE); $(unstage)
8597 @[ -f ./diff/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 $(HOST_EXPORTS) \
8601 for flag in $(EXTRA_HOST_FLAGS) ; do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8603 done; \
8604 echo "Doing mostlyclean in diff" ; \
8605 (cd $(HOST_SUBDIR)/diff && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8610 mostlyclean) \
8611 || exit 1
8613 @endif diff
8615 .PHONY: maybe-clean-diff clean-diff
8616 maybe-clean-diff:
8617 @if diff
8618 maybe-clean-diff: clean-diff
8620 clean-diff:
8621 @: $(MAKE); $(unstage)
8622 @[ -f ./diff/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing clean in diff" ; \
8630 (cd $(HOST_SUBDIR)/diff && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8635 clean) \
8636 || exit 1
8638 @endif diff
8640 .PHONY: maybe-distclean-diff distclean-diff
8641 maybe-distclean-diff:
8642 @if diff
8643 maybe-distclean-diff: distclean-diff
8645 distclean-diff:
8646 @: $(MAKE); $(unstage)
8647 @[ -f ./diff/Makefile ] || exit 0; \
8648 r=`${PWD_COMMAND}`; export r; \
8649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 $(HOST_EXPORTS) \
8651 for flag in $(EXTRA_HOST_FLAGS) ; do \
8652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8653 done; \
8654 echo "Doing distclean in diff" ; \
8655 (cd $(HOST_SUBDIR)/diff && \
8656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8658 "RANLIB=$${RANLIB}" \
8659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8660 distclean) \
8661 || exit 1
8663 @endif diff
8665 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8666 maybe-maintainer-clean-diff:
8667 @if diff
8668 maybe-maintainer-clean-diff: maintainer-clean-diff
8670 maintainer-clean-diff:
8671 @: $(MAKE); $(unstage)
8672 @[ -f ./diff/Makefile ] || exit 0; \
8673 r=`${PWD_COMMAND}`; export r; \
8674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8675 $(HOST_EXPORTS) \
8676 for flag in $(EXTRA_HOST_FLAGS) ; do \
8677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8678 done; \
8679 echo "Doing maintainer-clean in diff" ; \
8680 (cd $(HOST_SUBDIR)/diff && \
8681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8683 "RANLIB=$${RANLIB}" \
8684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8685 maintainer-clean) \
8686 || exit 1
8688 @endif diff
8692 .PHONY: configure-dosutils maybe-configure-dosutils
8693 maybe-configure-dosutils:
8694 @if gcc-bootstrap
8695 configure-dosutils: stage_current
8696 @endif gcc-bootstrap
8697 @if dosutils
8698 maybe-configure-dosutils: configure-dosutils
8699 configure-dosutils:
8700 @: $(MAKE); $(unstage)
8701 @r=`${PWD_COMMAND}`; export r; \
8702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8703 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8705 $(HOST_EXPORTS) \
8706 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8707 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8708 case $(srcdir) in \
8709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8710 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8712 esac; \
8713 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8714 libsrcdir="$$s/dosutils"; \
8715 $(SHELL) $${libsrcdir}/configure \
8716 $(HOST_CONFIGARGS) $${srcdiroption} \
8717 || exit 1
8718 @endif dosutils
8724 .PHONY: all-dosutils maybe-all-dosutils
8725 maybe-all-dosutils:
8726 @if gcc-bootstrap
8727 all-dosutils: stage_current
8728 @endif gcc-bootstrap
8729 @if dosutils
8730 TARGET-dosutils=all
8731 maybe-all-dosutils: all-dosutils
8732 all-dosutils: configure-dosutils
8733 @: $(MAKE); $(unstage)
8734 @r=`${PWD_COMMAND}`; export r; \
8735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8736 $(HOST_EXPORTS) \
8737 (cd $(HOST_SUBDIR)/dosutils && \
8738 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8739 @endif dosutils
8744 .PHONY: check-dosutils maybe-check-dosutils
8745 maybe-check-dosutils:
8746 @if dosutils
8747 maybe-check-dosutils: check-dosutils
8749 check-dosutils:
8751 @endif dosutils
8753 .PHONY: install-dosutils maybe-install-dosutils
8754 maybe-install-dosutils:
8755 @if dosutils
8756 maybe-install-dosutils: install-dosutils
8758 install-dosutils: installdirs
8759 @: $(MAKE); $(unstage)
8760 @r=`${PWD_COMMAND}`; export r; \
8761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8762 $(HOST_EXPORTS) \
8763 (cd $(HOST_SUBDIR)/dosutils && \
8764 $(MAKE) $(FLAGS_TO_PASS) install)
8766 @endif dosutils
8768 # Other targets (info, dvi, pdf, etc.)
8770 .PHONY: maybe-info-dosutils info-dosutils
8771 maybe-info-dosutils:
8772 @if dosutils
8773 maybe-info-dosutils: info-dosutils
8775 info-dosutils: \
8776 configure-dosutils
8777 @: $(MAKE); $(unstage)
8778 @[ -f ./dosutils/Makefile ] || exit 0; \
8779 r=`${PWD_COMMAND}`; export r; \
8780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS) ; do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing info in dosutils" ; \
8786 (cd $(HOST_SUBDIR)/dosutils && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8791 info) \
8792 || exit 1
8794 @endif dosutils
8796 .PHONY: maybe-dvi-dosutils dvi-dosutils
8797 maybe-dvi-dosutils:
8798 @if dosutils
8799 maybe-dvi-dosutils: dvi-dosutils
8801 dvi-dosutils: \
8802 configure-dosutils
8803 @: $(MAKE); $(unstage)
8804 @[ -f ./dosutils/Makefile ] || exit 0; \
8805 r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 $(HOST_EXPORTS) \
8808 for flag in $(EXTRA_HOST_FLAGS) ; do \
8809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8810 done; \
8811 echo "Doing dvi in dosutils" ; \
8812 (cd $(HOST_SUBDIR)/dosutils && \
8813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8815 "RANLIB=$${RANLIB}" \
8816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8817 dvi) \
8818 || exit 1
8820 @endif dosutils
8822 .PHONY: maybe-pdf-dosutils pdf-dosutils
8823 maybe-pdf-dosutils:
8824 @if dosutils
8825 maybe-pdf-dosutils: pdf-dosutils
8827 pdf-dosutils: \
8828 configure-dosutils
8829 @: $(MAKE); $(unstage)
8830 @[ -f ./dosutils/Makefile ] || exit 0; \
8831 r=`${PWD_COMMAND}`; export r; \
8832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8833 $(HOST_EXPORTS) \
8834 for flag in $(EXTRA_HOST_FLAGS) ; do \
8835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8836 done; \
8837 echo "Doing pdf in dosutils" ; \
8838 (cd $(HOST_SUBDIR)/dosutils && \
8839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8841 "RANLIB=$${RANLIB}" \
8842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8843 pdf) \
8844 || exit 1
8846 @endif dosutils
8848 .PHONY: maybe-html-dosutils html-dosutils
8849 maybe-html-dosutils:
8850 @if dosutils
8851 maybe-html-dosutils: html-dosutils
8853 html-dosutils: \
8854 configure-dosutils
8855 @: $(MAKE); $(unstage)
8856 @[ -f ./dosutils/Makefile ] || exit 0; \
8857 r=`${PWD_COMMAND}`; export r; \
8858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8859 $(HOST_EXPORTS) \
8860 for flag in $(EXTRA_HOST_FLAGS) ; do \
8861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8862 done; \
8863 echo "Doing html in dosutils" ; \
8864 (cd $(HOST_SUBDIR)/dosutils && \
8865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8867 "RANLIB=$${RANLIB}" \
8868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8869 html) \
8870 || exit 1
8872 @endif dosutils
8874 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8875 maybe-TAGS-dosutils:
8876 @if dosutils
8877 maybe-TAGS-dosutils: TAGS-dosutils
8879 TAGS-dosutils: \
8880 configure-dosutils
8881 @: $(MAKE); $(unstage)
8882 @[ -f ./dosutils/Makefile ] || exit 0; \
8883 r=`${PWD_COMMAND}`; export r; \
8884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8885 $(HOST_EXPORTS) \
8886 for flag in $(EXTRA_HOST_FLAGS) ; do \
8887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8888 done; \
8889 echo "Doing TAGS in dosutils" ; \
8890 (cd $(HOST_SUBDIR)/dosutils && \
8891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8893 "RANLIB=$${RANLIB}" \
8894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8895 TAGS) \
8896 || exit 1
8898 @endif dosutils
8900 .PHONY: maybe-install-info-dosutils install-info-dosutils
8901 maybe-install-info-dosutils:
8902 @if dosutils
8903 maybe-install-info-dosutils: install-info-dosutils
8905 install-info-dosutils: \
8906 configure-dosutils \
8907 info-dosutils
8908 @: $(MAKE); $(unstage)
8909 @[ -f ./dosutils/Makefile ] || exit 0; \
8910 r=`${PWD_COMMAND}`; export r; \
8911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8912 $(HOST_EXPORTS) \
8913 for flag in $(EXTRA_HOST_FLAGS) ; do \
8914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8915 done; \
8916 echo "Doing install-info in dosutils" ; \
8917 (cd $(HOST_SUBDIR)/dosutils && \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920 "RANLIB=$${RANLIB}" \
8921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8922 install-info) \
8923 || exit 1
8925 @endif dosutils
8927 .PHONY: maybe-install-html-dosutils install-html-dosutils
8928 maybe-install-html-dosutils:
8929 @if dosutils
8930 maybe-install-html-dosutils: install-html-dosutils
8932 install-html-dosutils: \
8933 configure-dosutils \
8934 html-dosutils
8935 @: $(MAKE); $(unstage)
8936 @[ -f ./dosutils/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8939 $(HOST_EXPORTS) \
8940 for flag in $(EXTRA_HOST_FLAGS) ; do \
8941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8942 done; \
8943 echo "Doing install-html in dosutils" ; \
8944 (cd $(HOST_SUBDIR)/dosutils && \
8945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8947 "RANLIB=$${RANLIB}" \
8948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8949 install-html) \
8950 || exit 1
8952 @endif dosutils
8954 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8955 maybe-installcheck-dosutils:
8956 @if dosutils
8957 maybe-installcheck-dosutils: installcheck-dosutils
8959 installcheck-dosutils: \
8960 configure-dosutils
8961 @: $(MAKE); $(unstage)
8962 @[ -f ./dosutils/Makefile ] || exit 0; \
8963 r=`${PWD_COMMAND}`; export r; \
8964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8965 $(HOST_EXPORTS) \
8966 for flag in $(EXTRA_HOST_FLAGS) ; do \
8967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8968 done; \
8969 echo "Doing installcheck in dosutils" ; \
8970 (cd $(HOST_SUBDIR)/dosutils && \
8971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8973 "RANLIB=$${RANLIB}" \
8974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8975 installcheck) \
8976 || exit 1
8978 @endif dosutils
8980 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8981 maybe-mostlyclean-dosutils:
8982 @if dosutils
8983 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8985 mostlyclean-dosutils:
8986 @: $(MAKE); $(unstage)
8987 @[ -f ./dosutils/Makefile ] || exit 0; \
8988 r=`${PWD_COMMAND}`; export r; \
8989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8990 $(HOST_EXPORTS) \
8991 for flag in $(EXTRA_HOST_FLAGS) ; do \
8992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8993 done; \
8994 echo "Doing mostlyclean in dosutils" ; \
8995 (cd $(HOST_SUBDIR)/dosutils && \
8996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8998 "RANLIB=$${RANLIB}" \
8999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9000 mostlyclean) \
9001 || exit 1
9003 @endif dosutils
9005 .PHONY: maybe-clean-dosutils clean-dosutils
9006 maybe-clean-dosutils:
9007 @if dosutils
9008 maybe-clean-dosutils: clean-dosutils
9010 clean-dosutils:
9011 @: $(MAKE); $(unstage)
9012 @[ -f ./dosutils/Makefile ] || exit 0; \
9013 r=`${PWD_COMMAND}`; export r; \
9014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9015 $(HOST_EXPORTS) \
9016 for flag in $(EXTRA_HOST_FLAGS) ; do \
9017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9018 done; \
9019 echo "Doing clean in dosutils" ; \
9020 (cd $(HOST_SUBDIR)/dosutils && \
9021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9023 "RANLIB=$${RANLIB}" \
9024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9025 clean) \
9026 || exit 1
9028 @endif dosutils
9030 .PHONY: maybe-distclean-dosutils distclean-dosutils
9031 maybe-distclean-dosutils:
9032 @if dosutils
9033 maybe-distclean-dosutils: distclean-dosutils
9035 distclean-dosutils:
9036 @: $(MAKE); $(unstage)
9037 @[ -f ./dosutils/Makefile ] || exit 0; \
9038 r=`${PWD_COMMAND}`; export r; \
9039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9040 $(HOST_EXPORTS) \
9041 for flag in $(EXTRA_HOST_FLAGS) ; do \
9042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9043 done; \
9044 echo "Doing distclean in dosutils" ; \
9045 (cd $(HOST_SUBDIR)/dosutils && \
9046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9048 "RANLIB=$${RANLIB}" \
9049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9050 distclean) \
9051 || exit 1
9053 @endif dosutils
9055 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9056 maybe-maintainer-clean-dosutils:
9057 @if dosutils
9058 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9060 maintainer-clean-dosutils:
9061 @: $(MAKE); $(unstage)
9062 @[ -f ./dosutils/Makefile ] || exit 0; \
9063 r=`${PWD_COMMAND}`; export r; \
9064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9065 $(HOST_EXPORTS) \
9066 for flag in $(EXTRA_HOST_FLAGS) ; do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9068 done; \
9069 echo "Doing maintainer-clean in dosutils" ; \
9070 (cd $(HOST_SUBDIR)/dosutils && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9075 maintainer-clean) \
9076 || exit 1
9078 @endif dosutils
9082 .PHONY: configure-etc maybe-configure-etc
9083 maybe-configure-etc:
9084 @if gcc-bootstrap
9085 configure-etc: stage_current
9086 @endif gcc-bootstrap
9087 @if etc
9088 maybe-configure-etc: configure-etc
9089 configure-etc:
9090 @: $(MAKE); $(unstage)
9091 @r=`${PWD_COMMAND}`; export r; \
9092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9095 $(HOST_EXPORTS) \
9096 echo Configuring in $(HOST_SUBDIR)/etc; \
9097 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9098 case $(srcdir) in \
9099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9100 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9102 esac; \
9103 srcdiroption="--srcdir=$${topdir}/etc"; \
9104 libsrcdir="$$s/etc"; \
9105 $(SHELL) $${libsrcdir}/configure \
9106 $(HOST_CONFIGARGS) $${srcdiroption} \
9107 || exit 1
9108 @endif etc
9114 .PHONY: all-etc maybe-all-etc
9115 maybe-all-etc:
9116 @if gcc-bootstrap
9117 all-etc: stage_current
9118 @endif gcc-bootstrap
9119 @if etc
9120 TARGET-etc=all
9121 maybe-all-etc: all-etc
9122 all-etc: configure-etc
9123 @: $(MAKE); $(unstage)
9124 @r=`${PWD_COMMAND}`; export r; \
9125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9126 $(HOST_EXPORTS) \
9127 (cd $(HOST_SUBDIR)/etc && \
9128 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9129 @endif etc
9134 .PHONY: check-etc maybe-check-etc
9135 maybe-check-etc:
9136 @if etc
9137 maybe-check-etc: check-etc
9139 check-etc:
9140 @: $(MAKE); $(unstage)
9141 @r=`${PWD_COMMAND}`; export r; \
9142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9143 $(HOST_EXPORTS) \
9144 (cd $(HOST_SUBDIR)/etc && \
9145 $(MAKE) $(FLAGS_TO_PASS) check)
9147 @endif etc
9149 .PHONY: install-etc maybe-install-etc
9150 maybe-install-etc:
9151 @if etc
9152 maybe-install-etc: install-etc
9154 install-etc: installdirs
9155 @: $(MAKE); $(unstage)
9156 @r=`${PWD_COMMAND}`; export r; \
9157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9158 $(HOST_EXPORTS) \
9159 (cd $(HOST_SUBDIR)/etc && \
9160 $(MAKE) $(FLAGS_TO_PASS) install)
9162 @endif etc
9164 # Other targets (info, dvi, pdf, etc.)
9166 .PHONY: maybe-info-etc info-etc
9167 maybe-info-etc:
9168 @if etc
9169 maybe-info-etc: info-etc
9171 info-etc: \
9172 configure-etc
9173 @: $(MAKE); $(unstage)
9174 @[ -f ./etc/Makefile ] || exit 0; \
9175 r=`${PWD_COMMAND}`; export r; \
9176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9177 $(HOST_EXPORTS) \
9178 for flag in $(EXTRA_HOST_FLAGS) ; do \
9179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9180 done; \
9181 echo "Doing info in etc" ; \
9182 (cd $(HOST_SUBDIR)/etc && \
9183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9185 "RANLIB=$${RANLIB}" \
9186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9187 info) \
9188 || exit 1
9190 @endif etc
9192 .PHONY: maybe-dvi-etc dvi-etc
9193 maybe-dvi-etc:
9194 @if etc
9195 maybe-dvi-etc: dvi-etc
9197 dvi-etc: \
9198 configure-etc
9199 @: $(MAKE); $(unstage)
9200 @[ -f ./etc/Makefile ] || exit 0; \
9201 r=`${PWD_COMMAND}`; export r; \
9202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9203 $(HOST_EXPORTS) \
9204 for flag in $(EXTRA_HOST_FLAGS) ; do \
9205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9206 done; \
9207 echo "Doing dvi in etc" ; \
9208 (cd $(HOST_SUBDIR)/etc && \
9209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9211 "RANLIB=$${RANLIB}" \
9212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9213 dvi) \
9214 || exit 1
9216 @endif etc
9218 .PHONY: maybe-pdf-etc pdf-etc
9219 maybe-pdf-etc:
9220 @if etc
9221 maybe-pdf-etc: pdf-etc
9223 pdf-etc: \
9224 configure-etc
9225 @: $(MAKE); $(unstage)
9226 @[ -f ./etc/Makefile ] || exit 0; \
9227 r=`${PWD_COMMAND}`; export r; \
9228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9229 $(HOST_EXPORTS) \
9230 for flag in $(EXTRA_HOST_FLAGS) ; do \
9231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9232 done; \
9233 echo "Doing pdf in etc" ; \
9234 (cd $(HOST_SUBDIR)/etc && \
9235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9237 "RANLIB=$${RANLIB}" \
9238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9239 pdf) \
9240 || exit 1
9242 @endif etc
9244 .PHONY: maybe-html-etc html-etc
9245 maybe-html-etc:
9246 @if etc
9247 maybe-html-etc: html-etc
9249 html-etc: \
9250 configure-etc
9251 @: $(MAKE); $(unstage)
9252 @[ -f ./etc/Makefile ] || exit 0; \
9253 r=`${PWD_COMMAND}`; export r; \
9254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9255 $(HOST_EXPORTS) \
9256 for flag in $(EXTRA_HOST_FLAGS) ; do \
9257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9258 done; \
9259 echo "Doing html in etc" ; \
9260 (cd $(HOST_SUBDIR)/etc && \
9261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9263 "RANLIB=$${RANLIB}" \
9264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9265 html) \
9266 || exit 1
9268 @endif etc
9270 .PHONY: maybe-TAGS-etc TAGS-etc
9271 maybe-TAGS-etc:
9272 @if etc
9273 maybe-TAGS-etc: TAGS-etc
9275 TAGS-etc: \
9276 configure-etc
9277 @: $(MAKE); $(unstage)
9278 @[ -f ./etc/Makefile ] || exit 0; \
9279 r=`${PWD_COMMAND}`; export r; \
9280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9281 $(HOST_EXPORTS) \
9282 for flag in $(EXTRA_HOST_FLAGS) ; do \
9283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9284 done; \
9285 echo "Doing TAGS in etc" ; \
9286 (cd $(HOST_SUBDIR)/etc && \
9287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9289 "RANLIB=$${RANLIB}" \
9290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9291 TAGS) \
9292 || exit 1
9294 @endif etc
9296 .PHONY: maybe-install-info-etc install-info-etc
9297 maybe-install-info-etc:
9298 @if etc
9299 maybe-install-info-etc: install-info-etc
9301 install-info-etc: \
9302 configure-etc \
9303 info-etc
9304 @: $(MAKE); $(unstage)
9305 @[ -f ./etc/Makefile ] || exit 0; \
9306 r=`${PWD_COMMAND}`; export r; \
9307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9308 $(HOST_EXPORTS) \
9309 for flag in $(EXTRA_HOST_FLAGS) ; do \
9310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9311 done; \
9312 echo "Doing install-info in etc" ; \
9313 (cd $(HOST_SUBDIR)/etc && \
9314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9316 "RANLIB=$${RANLIB}" \
9317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9318 install-info) \
9319 || exit 1
9321 @endif etc
9323 .PHONY: maybe-install-html-etc install-html-etc
9324 maybe-install-html-etc:
9325 @if etc
9326 maybe-install-html-etc: install-html-etc
9328 install-html-etc: \
9329 configure-etc \
9330 html-etc
9331 @: $(MAKE); $(unstage)
9332 @[ -f ./etc/Makefile ] || exit 0; \
9333 r=`${PWD_COMMAND}`; export r; \
9334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9335 $(HOST_EXPORTS) \
9336 for flag in $(EXTRA_HOST_FLAGS) ; do \
9337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9338 done; \
9339 echo "Doing install-html in etc" ; \
9340 (cd $(HOST_SUBDIR)/etc && \
9341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9343 "RANLIB=$${RANLIB}" \
9344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9345 install-html) \
9346 || exit 1
9348 @endif etc
9350 .PHONY: maybe-installcheck-etc installcheck-etc
9351 maybe-installcheck-etc:
9352 @if etc
9353 maybe-installcheck-etc: installcheck-etc
9355 installcheck-etc: \
9356 configure-etc
9357 @: $(MAKE); $(unstage)
9358 @[ -f ./etc/Makefile ] || exit 0; \
9359 r=`${PWD_COMMAND}`; export r; \
9360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 $(HOST_EXPORTS) \
9362 for flag in $(EXTRA_HOST_FLAGS) ; do \
9363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9364 done; \
9365 echo "Doing installcheck in etc" ; \
9366 (cd $(HOST_SUBDIR)/etc && \
9367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9369 "RANLIB=$${RANLIB}" \
9370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9371 installcheck) \
9372 || exit 1
9374 @endif etc
9376 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9377 maybe-mostlyclean-etc:
9378 @if etc
9379 maybe-mostlyclean-etc: mostlyclean-etc
9381 mostlyclean-etc:
9382 @: $(MAKE); $(unstage)
9383 @[ -f ./etc/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 mostlyclean in etc" ; \
9391 (cd $(HOST_SUBDIR)/etc && \
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 mostlyclean) \
9397 || exit 1
9399 @endif etc
9401 .PHONY: maybe-clean-etc clean-etc
9402 maybe-clean-etc:
9403 @if etc
9404 maybe-clean-etc: clean-etc
9406 clean-etc:
9407 @: $(MAKE); $(unstage)
9408 @[ -f ./etc/Makefile ] || exit 0; \
9409 r=`${PWD_COMMAND}`; export r; \
9410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9411 $(HOST_EXPORTS) \
9412 for flag in $(EXTRA_HOST_FLAGS) ; do \
9413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9414 done; \
9415 echo "Doing clean in etc" ; \
9416 (cd $(HOST_SUBDIR)/etc && \
9417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9419 "RANLIB=$${RANLIB}" \
9420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9421 clean) \
9422 || exit 1
9424 @endif etc
9426 .PHONY: maybe-distclean-etc distclean-etc
9427 maybe-distclean-etc:
9428 @if etc
9429 maybe-distclean-etc: distclean-etc
9431 distclean-etc:
9432 @: $(MAKE); $(unstage)
9433 @[ -f ./etc/Makefile ] || exit 0; \
9434 r=`${PWD_COMMAND}`; export r; \
9435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9436 $(HOST_EXPORTS) \
9437 for flag in $(EXTRA_HOST_FLAGS) ; do \
9438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9439 done; \
9440 echo "Doing distclean in etc" ; \
9441 (cd $(HOST_SUBDIR)/etc && \
9442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9444 "RANLIB=$${RANLIB}" \
9445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9446 distclean) \
9447 || exit 1
9449 @endif etc
9451 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9452 maybe-maintainer-clean-etc:
9453 @if etc
9454 maybe-maintainer-clean-etc: maintainer-clean-etc
9456 maintainer-clean-etc:
9457 @: $(MAKE); $(unstage)
9458 @[ -f ./etc/Makefile ] || exit 0; \
9459 r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9461 $(HOST_EXPORTS) \
9462 for flag in $(EXTRA_HOST_FLAGS) ; do \
9463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9464 done; \
9465 echo "Doing maintainer-clean in etc" ; \
9466 (cd $(HOST_SUBDIR)/etc && \
9467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9469 "RANLIB=$${RANLIB}" \
9470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9471 maintainer-clean) \
9472 || exit 1
9474 @endif etc
9478 .PHONY: configure-fastjar maybe-configure-fastjar
9479 maybe-configure-fastjar:
9480 @if gcc-bootstrap
9481 configure-fastjar: stage_current
9482 @endif gcc-bootstrap
9483 @if fastjar
9484 maybe-configure-fastjar: configure-fastjar
9485 configure-fastjar:
9486 @: $(MAKE); $(unstage)
9487 @r=`${PWD_COMMAND}`; export r; \
9488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9489 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9491 $(HOST_EXPORTS) \
9492 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9493 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9494 case $(srcdir) in \
9495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9496 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9498 esac; \
9499 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9500 libsrcdir="$$s/fastjar"; \
9501 $(SHELL) $${libsrcdir}/configure \
9502 $(HOST_CONFIGARGS) $${srcdiroption} \
9503 || exit 1
9504 @endif fastjar
9510 .PHONY: all-fastjar maybe-all-fastjar
9511 maybe-all-fastjar:
9512 @if gcc-bootstrap
9513 all-fastjar: stage_current
9514 @endif gcc-bootstrap
9515 @if fastjar
9516 TARGET-fastjar=all
9517 maybe-all-fastjar: all-fastjar
9518 all-fastjar: configure-fastjar
9519 @: $(MAKE); $(unstage)
9520 @r=`${PWD_COMMAND}`; export r; \
9521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9522 $(HOST_EXPORTS) \
9523 (cd $(HOST_SUBDIR)/fastjar && \
9524 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9525 @endif fastjar
9530 .PHONY: check-fastjar maybe-check-fastjar
9531 maybe-check-fastjar:
9532 @if fastjar
9533 maybe-check-fastjar: check-fastjar
9535 # This module is only tested in a native toolchain.
9536 check-fastjar:
9537 @: $(MAKE); $(unstage)
9538 @if [ '$(host)' = '$(target)' ] ; then \
9539 r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 $(HOST_EXPORTS) \
9542 (cd $(HOST_SUBDIR)/fastjar && \
9543 $(MAKE) $(FLAGS_TO_PASS) check); \
9546 @endif fastjar
9548 .PHONY: install-fastjar maybe-install-fastjar
9549 maybe-install-fastjar:
9550 @if fastjar
9551 maybe-install-fastjar: install-fastjar
9553 install-fastjar: installdirs
9554 @: $(MAKE); $(unstage)
9555 @r=`${PWD_COMMAND}`; export r; \
9556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9557 $(HOST_EXPORTS) \
9558 (cd $(HOST_SUBDIR)/fastjar && \
9559 $(MAKE) $(FLAGS_TO_PASS) install)
9561 @endif fastjar
9563 # Other targets (info, dvi, pdf, etc.)
9565 .PHONY: maybe-info-fastjar info-fastjar
9566 maybe-info-fastjar:
9567 @if fastjar
9568 maybe-info-fastjar: info-fastjar
9570 info-fastjar: \
9571 configure-fastjar
9572 @: $(MAKE); $(unstage)
9573 @[ -f ./fastjar/Makefile ] || exit 0; \
9574 r=`${PWD_COMMAND}`; export r; \
9575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9576 $(HOST_EXPORTS) \
9577 for flag in $(EXTRA_HOST_FLAGS) ; do \
9578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9579 done; \
9580 echo "Doing info in fastjar" ; \
9581 (cd $(HOST_SUBDIR)/fastjar && \
9582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9584 "RANLIB=$${RANLIB}" \
9585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9586 info) \
9587 || exit 1
9589 @endif fastjar
9591 .PHONY: maybe-dvi-fastjar dvi-fastjar
9592 maybe-dvi-fastjar:
9593 @if fastjar
9594 maybe-dvi-fastjar: dvi-fastjar
9596 dvi-fastjar: \
9597 configure-fastjar
9598 @: $(MAKE); $(unstage)
9599 @[ -f ./fastjar/Makefile ] || exit 0; \
9600 r=`${PWD_COMMAND}`; export r; \
9601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9602 $(HOST_EXPORTS) \
9603 for flag in $(EXTRA_HOST_FLAGS) ; do \
9604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9605 done; \
9606 echo "Doing dvi in fastjar" ; \
9607 (cd $(HOST_SUBDIR)/fastjar && \
9608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9610 "RANLIB=$${RANLIB}" \
9611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9612 dvi) \
9613 || exit 1
9615 @endif fastjar
9617 .PHONY: maybe-pdf-fastjar pdf-fastjar
9618 maybe-pdf-fastjar:
9619 @if fastjar
9620 maybe-pdf-fastjar: pdf-fastjar
9622 pdf-fastjar: \
9623 configure-fastjar
9624 @: $(MAKE); $(unstage)
9625 @[ -f ./fastjar/Makefile ] || exit 0; \
9626 r=`${PWD_COMMAND}`; export r; \
9627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9628 $(HOST_EXPORTS) \
9629 for flag in $(EXTRA_HOST_FLAGS) ; do \
9630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9631 done; \
9632 echo "Doing pdf in fastjar" ; \
9633 (cd $(HOST_SUBDIR)/fastjar && \
9634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9636 "RANLIB=$${RANLIB}" \
9637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9638 pdf) \
9639 || exit 1
9641 @endif fastjar
9643 .PHONY: maybe-html-fastjar html-fastjar
9644 maybe-html-fastjar:
9645 @if fastjar
9646 maybe-html-fastjar: html-fastjar
9648 html-fastjar: \
9649 configure-fastjar
9650 @: $(MAKE); $(unstage)
9651 @[ -f ./fastjar/Makefile ] || exit 0; \
9652 r=`${PWD_COMMAND}`; export r; \
9653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9654 $(HOST_EXPORTS) \
9655 for flag in $(EXTRA_HOST_FLAGS) ; do \
9656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9657 done; \
9658 echo "Doing html in fastjar" ; \
9659 (cd $(HOST_SUBDIR)/fastjar && \
9660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9662 "RANLIB=$${RANLIB}" \
9663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9664 html) \
9665 || exit 1
9667 @endif fastjar
9669 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9670 maybe-TAGS-fastjar:
9671 @if fastjar
9672 maybe-TAGS-fastjar: TAGS-fastjar
9674 TAGS-fastjar: \
9675 configure-fastjar
9676 @: $(MAKE); $(unstage)
9677 @[ -f ./fastjar/Makefile ] || exit 0; \
9678 r=`${PWD_COMMAND}`; export r; \
9679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9680 $(HOST_EXPORTS) \
9681 for flag in $(EXTRA_HOST_FLAGS) ; do \
9682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9683 done; \
9684 echo "Doing TAGS in fastjar" ; \
9685 (cd $(HOST_SUBDIR)/fastjar && \
9686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9688 "RANLIB=$${RANLIB}" \
9689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9690 TAGS) \
9691 || exit 1
9693 @endif fastjar
9695 .PHONY: maybe-install-info-fastjar install-info-fastjar
9696 maybe-install-info-fastjar:
9697 @if fastjar
9698 maybe-install-info-fastjar: install-info-fastjar
9700 install-info-fastjar: \
9701 configure-fastjar \
9702 info-fastjar
9703 @: $(MAKE); $(unstage)
9704 @[ -f ./fastjar/Makefile ] || exit 0; \
9705 r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(HOST_EXPORTS) \
9708 for flag in $(EXTRA_HOST_FLAGS) ; do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710 done; \
9711 echo "Doing install-info in fastjar" ; \
9712 (cd $(HOST_SUBDIR)/fastjar && \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715 "RANLIB=$${RANLIB}" \
9716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9717 install-info) \
9718 || exit 1
9720 @endif fastjar
9722 .PHONY: maybe-install-html-fastjar install-html-fastjar
9723 maybe-install-html-fastjar:
9724 @if fastjar
9725 maybe-install-html-fastjar: install-html-fastjar
9727 install-html-fastjar: \
9728 configure-fastjar \
9729 html-fastjar
9730 @: $(MAKE); $(unstage)
9731 @[ -f ./fastjar/Makefile ] || exit 0; \
9732 r=`${PWD_COMMAND}`; export r; \
9733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9734 $(HOST_EXPORTS) \
9735 for flag in $(EXTRA_HOST_FLAGS) ; do \
9736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9737 done; \
9738 echo "Doing install-html in fastjar" ; \
9739 (cd $(HOST_SUBDIR)/fastjar && \
9740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9742 "RANLIB=$${RANLIB}" \
9743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9744 install-html) \
9745 || exit 1
9747 @endif fastjar
9749 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9750 maybe-installcheck-fastjar:
9751 @if fastjar
9752 maybe-installcheck-fastjar: installcheck-fastjar
9754 installcheck-fastjar: \
9755 configure-fastjar
9756 @: $(MAKE); $(unstage)
9757 @[ -f ./fastjar/Makefile ] || exit 0; \
9758 r=`${PWD_COMMAND}`; export r; \
9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9760 $(HOST_EXPORTS) \
9761 for flag in $(EXTRA_HOST_FLAGS) ; do \
9762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9763 done; \
9764 echo "Doing installcheck in fastjar" ; \
9765 (cd $(HOST_SUBDIR)/fastjar && \
9766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9768 "RANLIB=$${RANLIB}" \
9769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770 installcheck) \
9771 || exit 1
9773 @endif fastjar
9775 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9776 maybe-mostlyclean-fastjar:
9777 @if fastjar
9778 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9780 mostlyclean-fastjar:
9781 @: $(MAKE); $(unstage)
9782 @[ -f ./fastjar/Makefile ] || exit 0; \
9783 r=`${PWD_COMMAND}`; export r; \
9784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9785 $(HOST_EXPORTS) \
9786 for flag in $(EXTRA_HOST_FLAGS) ; do \
9787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9788 done; \
9789 echo "Doing mostlyclean in fastjar" ; \
9790 (cd $(HOST_SUBDIR)/fastjar && \
9791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9793 "RANLIB=$${RANLIB}" \
9794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9795 mostlyclean) \
9796 || exit 1
9798 @endif fastjar
9800 .PHONY: maybe-clean-fastjar clean-fastjar
9801 maybe-clean-fastjar:
9802 @if fastjar
9803 maybe-clean-fastjar: clean-fastjar
9805 clean-fastjar:
9806 @: $(MAKE); $(unstage)
9807 @[ -f ./fastjar/Makefile ] || exit 0; \
9808 r=`${PWD_COMMAND}`; export r; \
9809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9810 $(HOST_EXPORTS) \
9811 for flag in $(EXTRA_HOST_FLAGS) ; do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813 done; \
9814 echo "Doing clean in fastjar" ; \
9815 (cd $(HOST_SUBDIR)/fastjar && \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820 clean) \
9821 || exit 1
9823 @endif fastjar
9825 .PHONY: maybe-distclean-fastjar distclean-fastjar
9826 maybe-distclean-fastjar:
9827 @if fastjar
9828 maybe-distclean-fastjar: distclean-fastjar
9830 distclean-fastjar:
9831 @: $(MAKE); $(unstage)
9832 @[ -f ./fastjar/Makefile ] || exit 0; \
9833 r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 $(HOST_EXPORTS) \
9836 for flag in $(EXTRA_HOST_FLAGS) ; do \
9837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 done; \
9839 echo "Doing distclean in fastjar" ; \
9840 (cd $(HOST_SUBDIR)/fastjar && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9845 distclean) \
9846 || exit 1
9848 @endif fastjar
9850 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9851 maybe-maintainer-clean-fastjar:
9852 @if fastjar
9853 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9855 maintainer-clean-fastjar:
9856 @: $(MAKE); $(unstage)
9857 @[ -f ./fastjar/Makefile ] || exit 0; \
9858 r=`${PWD_COMMAND}`; export r; \
9859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9860 $(HOST_EXPORTS) \
9861 for flag in $(EXTRA_HOST_FLAGS) ; do \
9862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9863 done; \
9864 echo "Doing maintainer-clean in fastjar" ; \
9865 (cd $(HOST_SUBDIR)/fastjar && \
9866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9868 "RANLIB=$${RANLIB}" \
9869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9870 maintainer-clean) \
9871 || exit 1
9873 @endif fastjar
9877 .PHONY: configure-fileutils maybe-configure-fileutils
9878 maybe-configure-fileutils:
9879 @if gcc-bootstrap
9880 configure-fileutils: stage_current
9881 @endif gcc-bootstrap
9882 @if fileutils
9883 maybe-configure-fileutils: configure-fileutils
9884 configure-fileutils:
9885 @: $(MAKE); $(unstage)
9886 @r=`${PWD_COMMAND}`; export r; \
9887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9888 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9890 $(HOST_EXPORTS) \
9891 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9892 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9893 case $(srcdir) in \
9894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9895 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9897 esac; \
9898 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9899 libsrcdir="$$s/fileutils"; \
9900 $(SHELL) $${libsrcdir}/configure \
9901 $(HOST_CONFIGARGS) $${srcdiroption} \
9902 || exit 1
9903 @endif fileutils
9909 .PHONY: all-fileutils maybe-all-fileutils
9910 maybe-all-fileutils:
9911 @if gcc-bootstrap
9912 all-fileutils: stage_current
9913 @endif gcc-bootstrap
9914 @if fileutils
9915 TARGET-fileutils=all
9916 maybe-all-fileutils: all-fileutils
9917 all-fileutils: configure-fileutils
9918 @: $(MAKE); $(unstage)
9919 @r=`${PWD_COMMAND}`; export r; \
9920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9921 $(HOST_EXPORTS) \
9922 (cd $(HOST_SUBDIR)/fileutils && \
9923 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9924 @endif fileutils
9929 .PHONY: check-fileutils maybe-check-fileutils
9930 maybe-check-fileutils:
9931 @if fileutils
9932 maybe-check-fileutils: check-fileutils
9934 check-fileutils:
9935 @: $(MAKE); $(unstage)
9936 @r=`${PWD_COMMAND}`; export r; \
9937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 $(HOST_EXPORTS) \
9939 (cd $(HOST_SUBDIR)/fileutils && \
9940 $(MAKE) $(FLAGS_TO_PASS) check)
9942 @endif fileutils
9944 .PHONY: install-fileutils maybe-install-fileutils
9945 maybe-install-fileutils:
9946 @if fileutils
9947 maybe-install-fileutils: install-fileutils
9949 install-fileutils: installdirs
9950 @: $(MAKE); $(unstage)
9951 @r=`${PWD_COMMAND}`; export r; \
9952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9953 $(HOST_EXPORTS) \
9954 (cd $(HOST_SUBDIR)/fileutils && \
9955 $(MAKE) $(FLAGS_TO_PASS) install)
9957 @endif fileutils
9959 # Other targets (info, dvi, pdf, etc.)
9961 .PHONY: maybe-info-fileutils info-fileutils
9962 maybe-info-fileutils:
9963 @if fileutils
9964 maybe-info-fileutils: info-fileutils
9966 info-fileutils: \
9967 configure-fileutils
9968 @: $(MAKE); $(unstage)
9969 @[ -f ./fileutils/Makefile ] || exit 0; \
9970 r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972 $(HOST_EXPORTS) \
9973 for flag in $(EXTRA_HOST_FLAGS) ; do \
9974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9975 done; \
9976 echo "Doing info in fileutils" ; \
9977 (cd $(HOST_SUBDIR)/fileutils && \
9978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9980 "RANLIB=$${RANLIB}" \
9981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9982 info) \
9983 || exit 1
9985 @endif fileutils
9987 .PHONY: maybe-dvi-fileutils dvi-fileutils
9988 maybe-dvi-fileutils:
9989 @if fileutils
9990 maybe-dvi-fileutils: dvi-fileutils
9992 dvi-fileutils: \
9993 configure-fileutils
9994 @: $(MAKE); $(unstage)
9995 @[ -f ./fileutils/Makefile ] || exit 0; \
9996 r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 $(HOST_EXPORTS) \
9999 for flag in $(EXTRA_HOST_FLAGS) ; do \
10000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10001 done; \
10002 echo "Doing dvi in fileutils" ; \
10003 (cd $(HOST_SUBDIR)/fileutils && \
10004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10006 "RANLIB=$${RANLIB}" \
10007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10008 dvi) \
10009 || exit 1
10011 @endif fileutils
10013 .PHONY: maybe-pdf-fileutils pdf-fileutils
10014 maybe-pdf-fileutils:
10015 @if fileutils
10016 maybe-pdf-fileutils: pdf-fileutils
10018 pdf-fileutils: \
10019 configure-fileutils
10020 @: $(MAKE); $(unstage)
10021 @[ -f ./fileutils/Makefile ] || exit 0; \
10022 r=`${PWD_COMMAND}`; export r; \
10023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10024 $(HOST_EXPORTS) \
10025 for flag in $(EXTRA_HOST_FLAGS) ; do \
10026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 done; \
10028 echo "Doing pdf in fileutils" ; \
10029 (cd $(HOST_SUBDIR)/fileutils && \
10030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10032 "RANLIB=$${RANLIB}" \
10033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10034 pdf) \
10035 || exit 1
10037 @endif fileutils
10039 .PHONY: maybe-html-fileutils html-fileutils
10040 maybe-html-fileutils:
10041 @if fileutils
10042 maybe-html-fileutils: html-fileutils
10044 html-fileutils: \
10045 configure-fileutils
10046 @: $(MAKE); $(unstage)
10047 @[ -f ./fileutils/Makefile ] || exit 0; \
10048 r=`${PWD_COMMAND}`; export r; \
10049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10050 $(HOST_EXPORTS) \
10051 for flag in $(EXTRA_HOST_FLAGS) ; do \
10052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10053 done; \
10054 echo "Doing html in fileutils" ; \
10055 (cd $(HOST_SUBDIR)/fileutils && \
10056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10058 "RANLIB=$${RANLIB}" \
10059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10060 html) \
10061 || exit 1
10063 @endif fileutils
10065 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10066 maybe-TAGS-fileutils:
10067 @if fileutils
10068 maybe-TAGS-fileutils: TAGS-fileutils
10070 TAGS-fileutils: \
10071 configure-fileutils
10072 @: $(MAKE); $(unstage)
10073 @[ -f ./fileutils/Makefile ] || exit 0; \
10074 r=`${PWD_COMMAND}`; export r; \
10075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10076 $(HOST_EXPORTS) \
10077 for flag in $(EXTRA_HOST_FLAGS) ; do \
10078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10079 done; \
10080 echo "Doing TAGS in fileutils" ; \
10081 (cd $(HOST_SUBDIR)/fileutils && \
10082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10084 "RANLIB=$${RANLIB}" \
10085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10086 TAGS) \
10087 || exit 1
10089 @endif fileutils
10091 .PHONY: maybe-install-info-fileutils install-info-fileutils
10092 maybe-install-info-fileutils:
10093 @if fileutils
10094 maybe-install-info-fileutils: install-info-fileutils
10096 install-info-fileutils: \
10097 configure-fileutils \
10098 info-fileutils
10099 @: $(MAKE); $(unstage)
10100 @[ -f ./fileutils/Makefile ] || exit 0; \
10101 r=`${PWD_COMMAND}`; export r; \
10102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10103 $(HOST_EXPORTS) \
10104 for flag in $(EXTRA_HOST_FLAGS) ; do \
10105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10106 done; \
10107 echo "Doing install-info in fileutils" ; \
10108 (cd $(HOST_SUBDIR)/fileutils && \
10109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10111 "RANLIB=$${RANLIB}" \
10112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10113 install-info) \
10114 || exit 1
10116 @endif fileutils
10118 .PHONY: maybe-install-html-fileutils install-html-fileutils
10119 maybe-install-html-fileutils:
10120 @if fileutils
10121 maybe-install-html-fileutils: install-html-fileutils
10123 install-html-fileutils: \
10124 configure-fileutils \
10125 html-fileutils
10126 @: $(MAKE); $(unstage)
10127 @[ -f ./fileutils/Makefile ] || exit 0; \
10128 r=`${PWD_COMMAND}`; export r; \
10129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10130 $(HOST_EXPORTS) \
10131 for flag in $(EXTRA_HOST_FLAGS) ; do \
10132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10133 done; \
10134 echo "Doing install-html in fileutils" ; \
10135 (cd $(HOST_SUBDIR)/fileutils && \
10136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10138 "RANLIB=$${RANLIB}" \
10139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10140 install-html) \
10141 || exit 1
10143 @endif fileutils
10145 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10146 maybe-installcheck-fileutils:
10147 @if fileutils
10148 maybe-installcheck-fileutils: installcheck-fileutils
10150 installcheck-fileutils: \
10151 configure-fileutils
10152 @: $(MAKE); $(unstage)
10153 @[ -f ./fileutils/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) ; do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing installcheck in fileutils" ; \
10161 (cd $(HOST_SUBDIR)/fileutils && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10166 installcheck) \
10167 || exit 1
10169 @endif fileutils
10171 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10172 maybe-mostlyclean-fileutils:
10173 @if fileutils
10174 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10176 mostlyclean-fileutils:
10177 @: $(MAKE); $(unstage)
10178 @[ -f ./fileutils/Makefile ] || exit 0; \
10179 r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(HOST_EXPORTS) \
10182 for flag in $(EXTRA_HOST_FLAGS) ; do \
10183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10184 done; \
10185 echo "Doing mostlyclean in fileutils" ; \
10186 (cd $(HOST_SUBDIR)/fileutils && \
10187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10189 "RANLIB=$${RANLIB}" \
10190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10191 mostlyclean) \
10192 || exit 1
10194 @endif fileutils
10196 .PHONY: maybe-clean-fileutils clean-fileutils
10197 maybe-clean-fileutils:
10198 @if fileutils
10199 maybe-clean-fileutils: clean-fileutils
10201 clean-fileutils:
10202 @: $(MAKE); $(unstage)
10203 @[ -f ./fileutils/Makefile ] || exit 0; \
10204 r=`${PWD_COMMAND}`; export r; \
10205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10206 $(HOST_EXPORTS) \
10207 for flag in $(EXTRA_HOST_FLAGS) ; do \
10208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10209 done; \
10210 echo "Doing clean in fileutils" ; \
10211 (cd $(HOST_SUBDIR)/fileutils && \
10212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10214 "RANLIB=$${RANLIB}" \
10215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10216 clean) \
10217 || exit 1
10219 @endif fileutils
10221 .PHONY: maybe-distclean-fileutils distclean-fileutils
10222 maybe-distclean-fileutils:
10223 @if fileutils
10224 maybe-distclean-fileutils: distclean-fileutils
10226 distclean-fileutils:
10227 @: $(MAKE); $(unstage)
10228 @[ -f ./fileutils/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 distclean in fileutils" ; \
10236 (cd $(HOST_SUBDIR)/fileutils && \
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 distclean) \
10242 || exit 1
10244 @endif fileutils
10246 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10247 maybe-maintainer-clean-fileutils:
10248 @if fileutils
10249 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10251 maintainer-clean-fileutils:
10252 @: $(MAKE); $(unstage)
10253 @[ -f ./fileutils/Makefile ] || exit 0; \
10254 r=`${PWD_COMMAND}`; export r; \
10255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10256 $(HOST_EXPORTS) \
10257 for flag in $(EXTRA_HOST_FLAGS) ; do \
10258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10259 done; \
10260 echo "Doing maintainer-clean in fileutils" ; \
10261 (cd $(HOST_SUBDIR)/fileutils && \
10262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10264 "RANLIB=$${RANLIB}" \
10265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10266 maintainer-clean) \
10267 || exit 1
10269 @endif fileutils
10273 .PHONY: configure-findutils maybe-configure-findutils
10274 maybe-configure-findutils:
10275 @if gcc-bootstrap
10276 configure-findutils: stage_current
10277 @endif gcc-bootstrap
10278 @if findutils
10279 maybe-configure-findutils: configure-findutils
10280 configure-findutils:
10281 @: $(MAKE); $(unstage)
10282 @r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10286 $(HOST_EXPORTS) \
10287 echo Configuring in $(HOST_SUBDIR)/findutils; \
10288 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10289 case $(srcdir) in \
10290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10291 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10293 esac; \
10294 srcdiroption="--srcdir=$${topdir}/findutils"; \
10295 libsrcdir="$$s/findutils"; \
10296 $(SHELL) $${libsrcdir}/configure \
10297 $(HOST_CONFIGARGS) $${srcdiroption} \
10298 || exit 1
10299 @endif findutils
10305 .PHONY: all-findutils maybe-all-findutils
10306 maybe-all-findutils:
10307 @if gcc-bootstrap
10308 all-findutils: stage_current
10309 @endif gcc-bootstrap
10310 @if findutils
10311 TARGET-findutils=all
10312 maybe-all-findutils: all-findutils
10313 all-findutils: configure-findutils
10314 @: $(MAKE); $(unstage)
10315 @r=`${PWD_COMMAND}`; export r; \
10316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10317 $(HOST_EXPORTS) \
10318 (cd $(HOST_SUBDIR)/findutils && \
10319 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10320 @endif findutils
10325 .PHONY: check-findutils maybe-check-findutils
10326 maybe-check-findutils:
10327 @if findutils
10328 maybe-check-findutils: check-findutils
10330 check-findutils:
10331 @: $(MAKE); $(unstage)
10332 @r=`${PWD_COMMAND}`; export r; \
10333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10334 $(HOST_EXPORTS) \
10335 (cd $(HOST_SUBDIR)/findutils && \
10336 $(MAKE) $(FLAGS_TO_PASS) check)
10338 @endif findutils
10340 .PHONY: install-findutils maybe-install-findutils
10341 maybe-install-findutils:
10342 @if findutils
10343 maybe-install-findutils: install-findutils
10345 install-findutils: installdirs
10346 @: $(MAKE); $(unstage)
10347 @r=`${PWD_COMMAND}`; export r; \
10348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10349 $(HOST_EXPORTS) \
10350 (cd $(HOST_SUBDIR)/findutils && \
10351 $(MAKE) $(FLAGS_TO_PASS) install)
10353 @endif findutils
10355 # Other targets (info, dvi, pdf, etc.)
10357 .PHONY: maybe-info-findutils info-findutils
10358 maybe-info-findutils:
10359 @if findutils
10360 maybe-info-findutils: info-findutils
10362 info-findutils: \
10363 configure-findutils
10364 @: $(MAKE); $(unstage)
10365 @[ -f ./findutils/Makefile ] || exit 0; \
10366 r=`${PWD_COMMAND}`; export r; \
10367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10368 $(HOST_EXPORTS) \
10369 for flag in $(EXTRA_HOST_FLAGS) ; do \
10370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10371 done; \
10372 echo "Doing info in findutils" ; \
10373 (cd $(HOST_SUBDIR)/findutils && \
10374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10376 "RANLIB=$${RANLIB}" \
10377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10378 info) \
10379 || exit 1
10381 @endif findutils
10383 .PHONY: maybe-dvi-findutils dvi-findutils
10384 maybe-dvi-findutils:
10385 @if findutils
10386 maybe-dvi-findutils: dvi-findutils
10388 dvi-findutils: \
10389 configure-findutils
10390 @: $(MAKE); $(unstage)
10391 @[ -f ./findutils/Makefile ] || exit 0; \
10392 r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(HOST_EXPORTS) \
10395 for flag in $(EXTRA_HOST_FLAGS) ; do \
10396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10397 done; \
10398 echo "Doing dvi in findutils" ; \
10399 (cd $(HOST_SUBDIR)/findutils && \
10400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10402 "RANLIB=$${RANLIB}" \
10403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10404 dvi) \
10405 || exit 1
10407 @endif findutils
10409 .PHONY: maybe-pdf-findutils pdf-findutils
10410 maybe-pdf-findutils:
10411 @if findutils
10412 maybe-pdf-findutils: pdf-findutils
10414 pdf-findutils: \
10415 configure-findutils
10416 @: $(MAKE); $(unstage)
10417 @[ -f ./findutils/Makefile ] || exit 0; \
10418 r=`${PWD_COMMAND}`; export r; \
10419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10420 $(HOST_EXPORTS) \
10421 for flag in $(EXTRA_HOST_FLAGS) ; do \
10422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10423 done; \
10424 echo "Doing pdf in findutils" ; \
10425 (cd $(HOST_SUBDIR)/findutils && \
10426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10428 "RANLIB=$${RANLIB}" \
10429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10430 pdf) \
10431 || exit 1
10433 @endif findutils
10435 .PHONY: maybe-html-findutils html-findutils
10436 maybe-html-findutils:
10437 @if findutils
10438 maybe-html-findutils: html-findutils
10440 html-findutils: \
10441 configure-findutils
10442 @: $(MAKE); $(unstage)
10443 @[ -f ./findutils/Makefile ] || exit 0; \
10444 r=`${PWD_COMMAND}`; export r; \
10445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10446 $(HOST_EXPORTS) \
10447 for flag in $(EXTRA_HOST_FLAGS) ; do \
10448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10449 done; \
10450 echo "Doing html in findutils" ; \
10451 (cd $(HOST_SUBDIR)/findutils && \
10452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10454 "RANLIB=$${RANLIB}" \
10455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10456 html) \
10457 || exit 1
10459 @endif findutils
10461 .PHONY: maybe-TAGS-findutils TAGS-findutils
10462 maybe-TAGS-findutils:
10463 @if findutils
10464 maybe-TAGS-findutils: TAGS-findutils
10466 TAGS-findutils: \
10467 configure-findutils
10468 @: $(MAKE); $(unstage)
10469 @[ -f ./findutils/Makefile ] || exit 0; \
10470 r=`${PWD_COMMAND}`; export r; \
10471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472 $(HOST_EXPORTS) \
10473 for flag in $(EXTRA_HOST_FLAGS) ; do \
10474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10475 done; \
10476 echo "Doing TAGS in findutils" ; \
10477 (cd $(HOST_SUBDIR)/findutils && \
10478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10480 "RANLIB=$${RANLIB}" \
10481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10482 TAGS) \
10483 || exit 1
10485 @endif findutils
10487 .PHONY: maybe-install-info-findutils install-info-findutils
10488 maybe-install-info-findutils:
10489 @if findutils
10490 maybe-install-info-findutils: install-info-findutils
10492 install-info-findutils: \
10493 configure-findutils \
10494 info-findutils
10495 @: $(MAKE); $(unstage)
10496 @[ -f ./findutils/Makefile ] || exit 0; \
10497 r=`${PWD_COMMAND}`; export r; \
10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10499 $(HOST_EXPORTS) \
10500 for flag in $(EXTRA_HOST_FLAGS) ; do \
10501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10502 done; \
10503 echo "Doing install-info in findutils" ; \
10504 (cd $(HOST_SUBDIR)/findutils && \
10505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10507 "RANLIB=$${RANLIB}" \
10508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10509 install-info) \
10510 || exit 1
10512 @endif findutils
10514 .PHONY: maybe-install-html-findutils install-html-findutils
10515 maybe-install-html-findutils:
10516 @if findutils
10517 maybe-install-html-findutils: install-html-findutils
10519 install-html-findutils: \
10520 configure-findutils \
10521 html-findutils
10522 @: $(MAKE); $(unstage)
10523 @[ -f ./findutils/Makefile ] || exit 0; \
10524 r=`${PWD_COMMAND}`; export r; \
10525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10526 $(HOST_EXPORTS) \
10527 for flag in $(EXTRA_HOST_FLAGS) ; do \
10528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10529 done; \
10530 echo "Doing install-html in findutils" ; \
10531 (cd $(HOST_SUBDIR)/findutils && \
10532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10534 "RANLIB=$${RANLIB}" \
10535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10536 install-html) \
10537 || exit 1
10539 @endif findutils
10541 .PHONY: maybe-installcheck-findutils installcheck-findutils
10542 maybe-installcheck-findutils:
10543 @if findutils
10544 maybe-installcheck-findutils: installcheck-findutils
10546 installcheck-findutils: \
10547 configure-findutils
10548 @: $(MAKE); $(unstage)
10549 @[ -f ./findutils/Makefile ] || exit 0; \
10550 r=`${PWD_COMMAND}`; export r; \
10551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10552 $(HOST_EXPORTS) \
10553 for flag in $(EXTRA_HOST_FLAGS) ; do \
10554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10555 done; \
10556 echo "Doing installcheck in findutils" ; \
10557 (cd $(HOST_SUBDIR)/findutils && \
10558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10560 "RANLIB=$${RANLIB}" \
10561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10562 installcheck) \
10563 || exit 1
10565 @endif findutils
10567 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10568 maybe-mostlyclean-findutils:
10569 @if findutils
10570 maybe-mostlyclean-findutils: mostlyclean-findutils
10572 mostlyclean-findutils:
10573 @: $(MAKE); $(unstage)
10574 @[ -f ./findutils/Makefile ] || exit 0; \
10575 r=`${PWD_COMMAND}`; export r; \
10576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10577 $(HOST_EXPORTS) \
10578 for flag in $(EXTRA_HOST_FLAGS) ; do \
10579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10580 done; \
10581 echo "Doing mostlyclean in findutils" ; \
10582 (cd $(HOST_SUBDIR)/findutils && \
10583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10585 "RANLIB=$${RANLIB}" \
10586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10587 mostlyclean) \
10588 || exit 1
10590 @endif findutils
10592 .PHONY: maybe-clean-findutils clean-findutils
10593 maybe-clean-findutils:
10594 @if findutils
10595 maybe-clean-findutils: clean-findutils
10597 clean-findutils:
10598 @: $(MAKE); $(unstage)
10599 @[ -f ./findutils/Makefile ] || exit 0; \
10600 r=`${PWD_COMMAND}`; export r; \
10601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10602 $(HOST_EXPORTS) \
10603 for flag in $(EXTRA_HOST_FLAGS) ; do \
10604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10605 done; \
10606 echo "Doing clean in findutils" ; \
10607 (cd $(HOST_SUBDIR)/findutils && \
10608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10610 "RANLIB=$${RANLIB}" \
10611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10612 clean) \
10613 || exit 1
10615 @endif findutils
10617 .PHONY: maybe-distclean-findutils distclean-findutils
10618 maybe-distclean-findutils:
10619 @if findutils
10620 maybe-distclean-findutils: distclean-findutils
10622 distclean-findutils:
10623 @: $(MAKE); $(unstage)
10624 @[ -f ./findutils/Makefile ] || exit 0; \
10625 r=`${PWD_COMMAND}`; export r; \
10626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10627 $(HOST_EXPORTS) \
10628 for flag in $(EXTRA_HOST_FLAGS) ; do \
10629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10630 done; \
10631 echo "Doing distclean in findutils" ; \
10632 (cd $(HOST_SUBDIR)/findutils && \
10633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10635 "RANLIB=$${RANLIB}" \
10636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10637 distclean) \
10638 || exit 1
10640 @endif findutils
10642 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10643 maybe-maintainer-clean-findutils:
10644 @if findutils
10645 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10647 maintainer-clean-findutils:
10648 @: $(MAKE); $(unstage)
10649 @[ -f ./findutils/Makefile ] || exit 0; \
10650 r=`${PWD_COMMAND}`; export r; \
10651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10652 $(HOST_EXPORTS) \
10653 for flag in $(EXTRA_HOST_FLAGS) ; do \
10654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10655 done; \
10656 echo "Doing maintainer-clean in findutils" ; \
10657 (cd $(HOST_SUBDIR)/findutils && \
10658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10660 "RANLIB=$${RANLIB}" \
10661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10662 maintainer-clean) \
10663 || exit 1
10665 @endif findutils
10669 .PHONY: configure-find maybe-configure-find
10670 maybe-configure-find:
10671 @if gcc-bootstrap
10672 configure-find: stage_current
10673 @endif gcc-bootstrap
10674 @if find
10675 maybe-configure-find: configure-find
10676 configure-find:
10677 @: $(MAKE); $(unstage)
10678 @r=`${PWD_COMMAND}`; export r; \
10679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10680 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10682 $(HOST_EXPORTS) \
10683 echo Configuring in $(HOST_SUBDIR)/find; \
10684 cd "$(HOST_SUBDIR)/find" || exit 1; \
10685 case $(srcdir) in \
10686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10687 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10689 esac; \
10690 srcdiroption="--srcdir=$${topdir}/find"; \
10691 libsrcdir="$$s/find"; \
10692 $(SHELL) $${libsrcdir}/configure \
10693 $(HOST_CONFIGARGS) $${srcdiroption} \
10694 || exit 1
10695 @endif find
10701 .PHONY: all-find maybe-all-find
10702 maybe-all-find:
10703 @if gcc-bootstrap
10704 all-find: stage_current
10705 @endif gcc-bootstrap
10706 @if find
10707 TARGET-find=all
10708 maybe-all-find: all-find
10709 all-find: configure-find
10710 @: $(MAKE); $(unstage)
10711 @r=`${PWD_COMMAND}`; export r; \
10712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10713 $(HOST_EXPORTS) \
10714 (cd $(HOST_SUBDIR)/find && \
10715 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10716 @endif find
10721 .PHONY: check-find maybe-check-find
10722 maybe-check-find:
10723 @if find
10724 maybe-check-find: check-find
10726 check-find:
10727 @: $(MAKE); $(unstage)
10728 @r=`${PWD_COMMAND}`; export r; \
10729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10730 $(HOST_EXPORTS) \
10731 (cd $(HOST_SUBDIR)/find && \
10732 $(MAKE) $(FLAGS_TO_PASS) check)
10734 @endif find
10736 .PHONY: install-find maybe-install-find
10737 maybe-install-find:
10738 @if find
10739 maybe-install-find: install-find
10741 install-find: installdirs
10742 @: $(MAKE); $(unstage)
10743 @r=`${PWD_COMMAND}`; export r; \
10744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10745 $(HOST_EXPORTS) \
10746 (cd $(HOST_SUBDIR)/find && \
10747 $(MAKE) $(FLAGS_TO_PASS) install)
10749 @endif find
10751 # Other targets (info, dvi, pdf, etc.)
10753 .PHONY: maybe-info-find info-find
10754 maybe-info-find:
10755 @if find
10756 maybe-info-find: info-find
10758 info-find: \
10759 configure-find
10760 @: $(MAKE); $(unstage)
10761 @[ -f ./find/Makefile ] || exit 0; \
10762 r=`${PWD_COMMAND}`; export r; \
10763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10764 $(HOST_EXPORTS) \
10765 for flag in $(EXTRA_HOST_FLAGS) ; do \
10766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10767 done; \
10768 echo "Doing info in find" ; \
10769 (cd $(HOST_SUBDIR)/find && \
10770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10772 "RANLIB=$${RANLIB}" \
10773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10774 info) \
10775 || exit 1
10777 @endif find
10779 .PHONY: maybe-dvi-find dvi-find
10780 maybe-dvi-find:
10781 @if find
10782 maybe-dvi-find: dvi-find
10784 dvi-find: \
10785 configure-find
10786 @: $(MAKE); $(unstage)
10787 @[ -f ./find/Makefile ] || exit 0; \
10788 r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 $(HOST_EXPORTS) \
10791 for flag in $(EXTRA_HOST_FLAGS) ; do \
10792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10793 done; \
10794 echo "Doing dvi in find" ; \
10795 (cd $(HOST_SUBDIR)/find && \
10796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10798 "RANLIB=$${RANLIB}" \
10799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10800 dvi) \
10801 || exit 1
10803 @endif find
10805 .PHONY: maybe-pdf-find pdf-find
10806 maybe-pdf-find:
10807 @if find
10808 maybe-pdf-find: pdf-find
10810 pdf-find: \
10811 configure-find
10812 @: $(MAKE); $(unstage)
10813 @[ -f ./find/Makefile ] || exit 0; \
10814 r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816 $(HOST_EXPORTS) \
10817 for flag in $(EXTRA_HOST_FLAGS) ; do \
10818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10819 done; \
10820 echo "Doing pdf in find" ; \
10821 (cd $(HOST_SUBDIR)/find && \
10822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10824 "RANLIB=$${RANLIB}" \
10825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10826 pdf) \
10827 || exit 1
10829 @endif find
10831 .PHONY: maybe-html-find html-find
10832 maybe-html-find:
10833 @if find
10834 maybe-html-find: html-find
10836 html-find: \
10837 configure-find
10838 @: $(MAKE); $(unstage)
10839 @[ -f ./find/Makefile ] || exit 0; \
10840 r=`${PWD_COMMAND}`; export r; \
10841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10842 $(HOST_EXPORTS) \
10843 for flag in $(EXTRA_HOST_FLAGS) ; do \
10844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10845 done; \
10846 echo "Doing html in find" ; \
10847 (cd $(HOST_SUBDIR)/find && \
10848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850 "RANLIB=$${RANLIB}" \
10851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10852 html) \
10853 || exit 1
10855 @endif find
10857 .PHONY: maybe-TAGS-find TAGS-find
10858 maybe-TAGS-find:
10859 @if find
10860 maybe-TAGS-find: TAGS-find
10862 TAGS-find: \
10863 configure-find
10864 @: $(MAKE); $(unstage)
10865 @[ -f ./find/Makefile ] || exit 0; \
10866 r=`${PWD_COMMAND}`; export r; \
10867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10868 $(HOST_EXPORTS) \
10869 for flag in $(EXTRA_HOST_FLAGS) ; do \
10870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10871 done; \
10872 echo "Doing TAGS in find" ; \
10873 (cd $(HOST_SUBDIR)/find && \
10874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10876 "RANLIB=$${RANLIB}" \
10877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10878 TAGS) \
10879 || exit 1
10881 @endif find
10883 .PHONY: maybe-install-info-find install-info-find
10884 maybe-install-info-find:
10885 @if find
10886 maybe-install-info-find: install-info-find
10888 install-info-find: \
10889 configure-find \
10890 info-find
10891 @: $(MAKE); $(unstage)
10892 @[ -f ./find/Makefile ] || exit 0; \
10893 r=`${PWD_COMMAND}`; export r; \
10894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10895 $(HOST_EXPORTS) \
10896 for flag in $(EXTRA_HOST_FLAGS) ; do \
10897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10898 done; \
10899 echo "Doing install-info in find" ; \
10900 (cd $(HOST_SUBDIR)/find && \
10901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10903 "RANLIB=$${RANLIB}" \
10904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10905 install-info) \
10906 || exit 1
10908 @endif find
10910 .PHONY: maybe-install-html-find install-html-find
10911 maybe-install-html-find:
10912 @if find
10913 maybe-install-html-find: install-html-find
10915 install-html-find: \
10916 configure-find \
10917 html-find
10918 @: $(MAKE); $(unstage)
10919 @[ -f ./find/Makefile ] || exit 0; \
10920 r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 $(HOST_EXPORTS) \
10923 for flag in $(EXTRA_HOST_FLAGS) ; do \
10924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10925 done; \
10926 echo "Doing install-html in find" ; \
10927 (cd $(HOST_SUBDIR)/find && \
10928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10930 "RANLIB=$${RANLIB}" \
10931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10932 install-html) \
10933 || exit 1
10935 @endif find
10937 .PHONY: maybe-installcheck-find installcheck-find
10938 maybe-installcheck-find:
10939 @if find
10940 maybe-installcheck-find: installcheck-find
10942 installcheck-find: \
10943 configure-find
10944 @: $(MAKE); $(unstage)
10945 @[ -f ./find/Makefile ] || exit 0; \
10946 r=`${PWD_COMMAND}`; export r; \
10947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10948 $(HOST_EXPORTS) \
10949 for flag in $(EXTRA_HOST_FLAGS) ; do \
10950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10951 done; \
10952 echo "Doing installcheck in find" ; \
10953 (cd $(HOST_SUBDIR)/find && \
10954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10956 "RANLIB=$${RANLIB}" \
10957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10958 installcheck) \
10959 || exit 1
10961 @endif find
10963 .PHONY: maybe-mostlyclean-find mostlyclean-find
10964 maybe-mostlyclean-find:
10965 @if find
10966 maybe-mostlyclean-find: mostlyclean-find
10968 mostlyclean-find:
10969 @: $(MAKE); $(unstage)
10970 @[ -f ./find/Makefile ] || exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(HOST_EXPORTS) \
10974 for flag in $(EXTRA_HOST_FLAGS) ; do \
10975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 done; \
10977 echo "Doing mostlyclean in find" ; \
10978 (cd $(HOST_SUBDIR)/find && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10981 "RANLIB=$${RANLIB}" \
10982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10983 mostlyclean) \
10984 || exit 1
10986 @endif find
10988 .PHONY: maybe-clean-find clean-find
10989 maybe-clean-find:
10990 @if find
10991 maybe-clean-find: clean-find
10993 clean-find:
10994 @: $(MAKE); $(unstage)
10995 @[ -f ./find/Makefile ] || exit 0; \
10996 r=`${PWD_COMMAND}`; export r; \
10997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 $(HOST_EXPORTS) \
10999 for flag in $(EXTRA_HOST_FLAGS) ; do \
11000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11001 done; \
11002 echo "Doing clean in find" ; \
11003 (cd $(HOST_SUBDIR)/find && \
11004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11006 "RANLIB=$${RANLIB}" \
11007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11008 clean) \
11009 || exit 1
11011 @endif find
11013 .PHONY: maybe-distclean-find distclean-find
11014 maybe-distclean-find:
11015 @if find
11016 maybe-distclean-find: distclean-find
11018 distclean-find:
11019 @: $(MAKE); $(unstage)
11020 @[ -f ./find/Makefile ] || exit 0; \
11021 r=`${PWD_COMMAND}`; export r; \
11022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 $(HOST_EXPORTS) \
11024 for flag in $(EXTRA_HOST_FLAGS) ; do \
11025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11026 done; \
11027 echo "Doing distclean in find" ; \
11028 (cd $(HOST_SUBDIR)/find && \
11029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11031 "RANLIB=$${RANLIB}" \
11032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11033 distclean) \
11034 || exit 1
11036 @endif find
11038 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11039 maybe-maintainer-clean-find:
11040 @if find
11041 maybe-maintainer-clean-find: maintainer-clean-find
11043 maintainer-clean-find:
11044 @: $(MAKE); $(unstage)
11045 @[ -f ./find/Makefile ] || exit 0; \
11046 r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(HOST_EXPORTS) \
11049 for flag in $(EXTRA_HOST_FLAGS) ; do \
11050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11051 done; \
11052 echo "Doing maintainer-clean in find" ; \
11053 (cd $(HOST_SUBDIR)/find && \
11054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11056 "RANLIB=$${RANLIB}" \
11057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11058 maintainer-clean) \
11059 || exit 1
11061 @endif find
11065 .PHONY: configure-fixincludes maybe-configure-fixincludes
11066 maybe-configure-fixincludes:
11067 @if gcc-bootstrap
11068 configure-fixincludes: stage_current
11069 @endif gcc-bootstrap
11070 @if fixincludes
11071 maybe-configure-fixincludes: configure-fixincludes
11072 configure-fixincludes:
11073 @: $(MAKE); $(unstage)
11074 @r=`${PWD_COMMAND}`; export r; \
11075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11078 $(HOST_EXPORTS) \
11079 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11080 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11081 case $(srcdir) in \
11082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11083 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11085 esac; \
11086 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11087 libsrcdir="$$s/fixincludes"; \
11088 $(SHELL) $${libsrcdir}/configure \
11089 $(HOST_CONFIGARGS) $${srcdiroption} \
11090 || exit 1
11091 @endif fixincludes
11097 .PHONY: all-fixincludes maybe-all-fixincludes
11098 maybe-all-fixincludes:
11099 @if gcc-bootstrap
11100 all-fixincludes: stage_current
11101 @endif gcc-bootstrap
11102 @if fixincludes
11103 TARGET-fixincludes=all
11104 maybe-all-fixincludes: all-fixincludes
11105 all-fixincludes: configure-fixincludes
11106 @: $(MAKE); $(unstage)
11107 @r=`${PWD_COMMAND}`; export r; \
11108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11109 $(HOST_EXPORTS) \
11110 (cd $(HOST_SUBDIR)/fixincludes && \
11111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11112 @endif fixincludes
11117 .PHONY: check-fixincludes maybe-check-fixincludes
11118 maybe-check-fixincludes:
11119 @if fixincludes
11120 maybe-check-fixincludes: check-fixincludes
11122 check-fixincludes:
11123 @: $(MAKE); $(unstage)
11124 @r=`${PWD_COMMAND}`; export r; \
11125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11126 $(HOST_EXPORTS) \
11127 (cd $(HOST_SUBDIR)/fixincludes && \
11128 $(MAKE) $(FLAGS_TO_PASS) check)
11130 @endif fixincludes
11132 .PHONY: install-fixincludes maybe-install-fixincludes
11133 maybe-install-fixincludes:
11134 @if fixincludes
11135 maybe-install-fixincludes: install-fixincludes
11137 install-fixincludes: installdirs
11138 @: $(MAKE); $(unstage)
11139 @r=`${PWD_COMMAND}`; export r; \
11140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11141 $(HOST_EXPORTS) \
11142 (cd $(HOST_SUBDIR)/fixincludes && \
11143 $(MAKE) $(FLAGS_TO_PASS) install)
11145 @endif fixincludes
11147 # Other targets (info, dvi, pdf, etc.)
11149 .PHONY: maybe-info-fixincludes info-fixincludes
11150 maybe-info-fixincludes:
11151 @if fixincludes
11152 maybe-info-fixincludes: info-fixincludes
11154 # fixincludes doesn't support info.
11155 info-fixincludes:
11157 @endif fixincludes
11159 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11160 maybe-dvi-fixincludes:
11161 @if fixincludes
11162 maybe-dvi-fixincludes: dvi-fixincludes
11164 # fixincludes doesn't support dvi.
11165 dvi-fixincludes:
11167 @endif fixincludes
11169 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11170 maybe-pdf-fixincludes:
11171 @if fixincludes
11172 maybe-pdf-fixincludes: pdf-fixincludes
11174 # fixincludes doesn't support pdf.
11175 pdf-fixincludes:
11177 @endif fixincludes
11179 .PHONY: maybe-html-fixincludes html-fixincludes
11180 maybe-html-fixincludes:
11181 @if fixincludes
11182 maybe-html-fixincludes: html-fixincludes
11184 html-fixincludes: \
11185 configure-fixincludes
11186 @: $(MAKE); $(unstage)
11187 @[ -f ./fixincludes/Makefile ] || exit 0; \
11188 r=`${PWD_COMMAND}`; export r; \
11189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11190 $(HOST_EXPORTS) \
11191 for flag in $(EXTRA_HOST_FLAGS) ; do \
11192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11193 done; \
11194 echo "Doing html in fixincludes" ; \
11195 (cd $(HOST_SUBDIR)/fixincludes && \
11196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11198 "RANLIB=$${RANLIB}" \
11199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11200 html) \
11201 || exit 1
11203 @endif fixincludes
11205 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11206 maybe-TAGS-fixincludes:
11207 @if fixincludes
11208 maybe-TAGS-fixincludes: TAGS-fixincludes
11210 # fixincludes doesn't support TAGS.
11211 TAGS-fixincludes:
11213 @endif fixincludes
11215 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11216 maybe-install-info-fixincludes:
11217 @if fixincludes
11218 maybe-install-info-fixincludes: install-info-fixincludes
11220 # fixincludes doesn't support install-info.
11221 install-info-fixincludes:
11223 @endif fixincludes
11225 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11226 maybe-install-html-fixincludes:
11227 @if fixincludes
11228 maybe-install-html-fixincludes: install-html-fixincludes
11230 install-html-fixincludes: \
11231 configure-fixincludes \
11232 html-fixincludes
11233 @: $(MAKE); $(unstage)
11234 @[ -f ./fixincludes/Makefile ] || exit 0; \
11235 r=`${PWD_COMMAND}`; export r; \
11236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11237 $(HOST_EXPORTS) \
11238 for flag in $(EXTRA_HOST_FLAGS) ; do \
11239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11240 done; \
11241 echo "Doing install-html in fixincludes" ; \
11242 (cd $(HOST_SUBDIR)/fixincludes && \
11243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11245 "RANLIB=$${RANLIB}" \
11246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11247 install-html) \
11248 || exit 1
11250 @endif fixincludes
11252 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11253 maybe-installcheck-fixincludes:
11254 @if fixincludes
11255 maybe-installcheck-fixincludes: installcheck-fixincludes
11257 # fixincludes doesn't support installcheck.
11258 installcheck-fixincludes:
11260 @endif fixincludes
11262 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11263 maybe-mostlyclean-fixincludes:
11264 @if fixincludes
11265 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11267 mostlyclean-fixincludes:
11268 @: $(MAKE); $(unstage)
11269 @[ -f ./fixincludes/Makefile ] || exit 0; \
11270 r=`${PWD_COMMAND}`; export r; \
11271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11272 $(HOST_EXPORTS) \
11273 for flag in $(EXTRA_HOST_FLAGS) ; do \
11274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11275 done; \
11276 echo "Doing mostlyclean in fixincludes" ; \
11277 (cd $(HOST_SUBDIR)/fixincludes && \
11278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11280 "RANLIB=$${RANLIB}" \
11281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11282 mostlyclean) \
11283 || exit 1
11285 @endif fixincludes
11287 .PHONY: maybe-clean-fixincludes clean-fixincludes
11288 maybe-clean-fixincludes:
11289 @if fixincludes
11290 maybe-clean-fixincludes: clean-fixincludes
11292 clean-fixincludes:
11293 @: $(MAKE); $(unstage)
11294 @[ -f ./fixincludes/Makefile ] || exit 0; \
11295 r=`${PWD_COMMAND}`; export r; \
11296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11297 $(HOST_EXPORTS) \
11298 for flag in $(EXTRA_HOST_FLAGS) ; do \
11299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11300 done; \
11301 echo "Doing clean in fixincludes" ; \
11302 (cd $(HOST_SUBDIR)/fixincludes && \
11303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11305 "RANLIB=$${RANLIB}" \
11306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11307 clean) \
11308 || exit 1
11310 @endif fixincludes
11312 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11313 maybe-distclean-fixincludes:
11314 @if fixincludes
11315 maybe-distclean-fixincludes: distclean-fixincludes
11317 distclean-fixincludes:
11318 @: $(MAKE); $(unstage)
11319 @[ -f ./fixincludes/Makefile ] || exit 0; \
11320 r=`${PWD_COMMAND}`; export r; \
11321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11322 $(HOST_EXPORTS) \
11323 for flag in $(EXTRA_HOST_FLAGS) ; do \
11324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11325 done; \
11326 echo "Doing distclean in fixincludes" ; \
11327 (cd $(HOST_SUBDIR)/fixincludes && \
11328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11330 "RANLIB=$${RANLIB}" \
11331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11332 distclean) \
11333 || exit 1
11335 @endif fixincludes
11337 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11338 maybe-maintainer-clean-fixincludes:
11339 @if fixincludes
11340 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11342 maintainer-clean-fixincludes:
11343 @: $(MAKE); $(unstage)
11344 @[ -f ./fixincludes/Makefile ] || exit 0; \
11345 r=`${PWD_COMMAND}`; export r; \
11346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11347 $(HOST_EXPORTS) \
11348 for flag in $(EXTRA_HOST_FLAGS) ; do \
11349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11350 done; \
11351 echo "Doing maintainer-clean in fixincludes" ; \
11352 (cd $(HOST_SUBDIR)/fixincludes && \
11353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11355 "RANLIB=$${RANLIB}" \
11356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11357 maintainer-clean) \
11358 || exit 1
11360 @endif fixincludes
11364 .PHONY: configure-flex maybe-configure-flex
11365 maybe-configure-flex:
11366 @if gcc-bootstrap
11367 configure-flex: stage_current
11368 @endif gcc-bootstrap
11369 @if flex
11370 maybe-configure-flex: configure-flex
11371 configure-flex:
11372 @: $(MAKE); $(unstage)
11373 @r=`${PWD_COMMAND}`; export r; \
11374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11375 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11377 $(HOST_EXPORTS) \
11378 echo Configuring in $(HOST_SUBDIR)/flex; \
11379 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11380 case $(srcdir) in \
11381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11382 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11384 esac; \
11385 srcdiroption="--srcdir=$${topdir}/flex"; \
11386 libsrcdir="$$s/flex"; \
11387 $(SHELL) $${libsrcdir}/configure \
11388 $(HOST_CONFIGARGS) $${srcdiroption} \
11389 || exit 1
11390 @endif flex
11396 .PHONY: all-flex maybe-all-flex
11397 maybe-all-flex:
11398 @if gcc-bootstrap
11399 all-flex: stage_current
11400 @endif gcc-bootstrap
11401 @if flex
11402 TARGET-flex=all
11403 maybe-all-flex: all-flex
11404 all-flex: configure-flex
11405 @: $(MAKE); $(unstage)
11406 @r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408 $(HOST_EXPORTS) \
11409 (cd $(HOST_SUBDIR)/flex && \
11410 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11411 @endif flex
11416 .PHONY: check-flex maybe-check-flex
11417 maybe-check-flex:
11418 @if flex
11419 maybe-check-flex: check-flex
11421 # This module is only tested in a native toolchain.
11422 check-flex:
11423 @: $(MAKE); $(unstage)
11424 @if [ '$(host)' = '$(target)' ] ; then \
11425 r=`${PWD_COMMAND}`; export r; \
11426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11427 $(HOST_EXPORTS) \
11428 (cd $(HOST_SUBDIR)/flex && \
11429 $(MAKE) $(FLAGS_TO_PASS) check); \
11432 @endif flex
11434 .PHONY: install-flex maybe-install-flex
11435 maybe-install-flex:
11436 @if flex
11437 maybe-install-flex: install-flex
11439 install-flex: installdirs
11440 @: $(MAKE); $(unstage)
11441 @r=`${PWD_COMMAND}`; export r; \
11442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11443 $(HOST_EXPORTS) \
11444 (cd $(HOST_SUBDIR)/flex && \
11445 $(MAKE) $(FLAGS_TO_PASS) install)
11447 @endif flex
11449 # Other targets (info, dvi, pdf, etc.)
11451 .PHONY: maybe-info-flex info-flex
11452 maybe-info-flex:
11453 @if flex
11454 maybe-info-flex: info-flex
11456 info-flex: \
11457 configure-flex
11458 @: $(MAKE); $(unstage)
11459 @[ -f ./flex/Makefile ] || exit 0; \
11460 r=`${PWD_COMMAND}`; export r; \
11461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11462 $(HOST_EXPORTS) \
11463 for flag in $(EXTRA_HOST_FLAGS) ; do \
11464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11465 done; \
11466 echo "Doing info in flex" ; \
11467 (cd $(HOST_SUBDIR)/flex && \
11468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11470 "RANLIB=$${RANLIB}" \
11471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11472 info) \
11473 || exit 1
11475 @endif flex
11477 .PHONY: maybe-dvi-flex dvi-flex
11478 maybe-dvi-flex:
11479 @if flex
11480 maybe-dvi-flex: dvi-flex
11482 dvi-flex: \
11483 configure-flex
11484 @: $(MAKE); $(unstage)
11485 @[ -f ./flex/Makefile ] || exit 0; \
11486 r=`${PWD_COMMAND}`; export r; \
11487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11488 $(HOST_EXPORTS) \
11489 for flag in $(EXTRA_HOST_FLAGS) ; do \
11490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11491 done; \
11492 echo "Doing dvi in flex" ; \
11493 (cd $(HOST_SUBDIR)/flex && \
11494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11496 "RANLIB=$${RANLIB}" \
11497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11498 dvi) \
11499 || exit 1
11501 @endif flex
11503 .PHONY: maybe-pdf-flex pdf-flex
11504 maybe-pdf-flex:
11505 @if flex
11506 maybe-pdf-flex: pdf-flex
11508 pdf-flex: \
11509 configure-flex
11510 @: $(MAKE); $(unstage)
11511 @[ -f ./flex/Makefile ] || exit 0; \
11512 r=`${PWD_COMMAND}`; export r; \
11513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11514 $(HOST_EXPORTS) \
11515 for flag in $(EXTRA_HOST_FLAGS) ; do \
11516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11517 done; \
11518 echo "Doing pdf in flex" ; \
11519 (cd $(HOST_SUBDIR)/flex && \
11520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11522 "RANLIB=$${RANLIB}" \
11523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11524 pdf) \
11525 || exit 1
11527 @endif flex
11529 .PHONY: maybe-html-flex html-flex
11530 maybe-html-flex:
11531 @if flex
11532 maybe-html-flex: html-flex
11534 html-flex: \
11535 configure-flex
11536 @: $(MAKE); $(unstage)
11537 @[ -f ./flex/Makefile ] || exit 0; \
11538 r=`${PWD_COMMAND}`; export r; \
11539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11540 $(HOST_EXPORTS) \
11541 for flag in $(EXTRA_HOST_FLAGS) ; do \
11542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11543 done; \
11544 echo "Doing html in flex" ; \
11545 (cd $(HOST_SUBDIR)/flex && \
11546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11548 "RANLIB=$${RANLIB}" \
11549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11550 html) \
11551 || exit 1
11553 @endif flex
11555 .PHONY: maybe-TAGS-flex TAGS-flex
11556 maybe-TAGS-flex:
11557 @if flex
11558 maybe-TAGS-flex: TAGS-flex
11560 TAGS-flex: \
11561 configure-flex
11562 @: $(MAKE); $(unstage)
11563 @[ -f ./flex/Makefile ] || exit 0; \
11564 r=`${PWD_COMMAND}`; export r; \
11565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11566 $(HOST_EXPORTS) \
11567 for flag in $(EXTRA_HOST_FLAGS) ; do \
11568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11569 done; \
11570 echo "Doing TAGS in flex" ; \
11571 (cd $(HOST_SUBDIR)/flex && \
11572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11574 "RANLIB=$${RANLIB}" \
11575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11576 TAGS) \
11577 || exit 1
11579 @endif flex
11581 .PHONY: maybe-install-info-flex install-info-flex
11582 maybe-install-info-flex:
11583 @if flex
11584 maybe-install-info-flex: install-info-flex
11586 install-info-flex: \
11587 configure-flex \
11588 info-flex
11589 @: $(MAKE); $(unstage)
11590 @[ -f ./flex/Makefile ] || exit 0; \
11591 r=`${PWD_COMMAND}`; export r; \
11592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11593 $(HOST_EXPORTS) \
11594 for flag in $(EXTRA_HOST_FLAGS) ; do \
11595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11596 done; \
11597 echo "Doing install-info in flex" ; \
11598 (cd $(HOST_SUBDIR)/flex && \
11599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11601 "RANLIB=$${RANLIB}" \
11602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11603 install-info) \
11604 || exit 1
11606 @endif flex
11608 .PHONY: maybe-install-html-flex install-html-flex
11609 maybe-install-html-flex:
11610 @if flex
11611 maybe-install-html-flex: install-html-flex
11613 install-html-flex: \
11614 configure-flex \
11615 html-flex
11616 @: $(MAKE); $(unstage)
11617 @[ -f ./flex/Makefile ] || exit 0; \
11618 r=`${PWD_COMMAND}`; export r; \
11619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11620 $(HOST_EXPORTS) \
11621 for flag in $(EXTRA_HOST_FLAGS) ; do \
11622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11623 done; \
11624 echo "Doing install-html in flex" ; \
11625 (cd $(HOST_SUBDIR)/flex && \
11626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11628 "RANLIB=$${RANLIB}" \
11629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11630 install-html) \
11631 || exit 1
11633 @endif flex
11635 .PHONY: maybe-installcheck-flex installcheck-flex
11636 maybe-installcheck-flex:
11637 @if flex
11638 maybe-installcheck-flex: installcheck-flex
11640 installcheck-flex: \
11641 configure-flex
11642 @: $(MAKE); $(unstage)
11643 @[ -f ./flex/Makefile ] || exit 0; \
11644 r=`${PWD_COMMAND}`; export r; \
11645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11646 $(HOST_EXPORTS) \
11647 for flag in $(EXTRA_HOST_FLAGS) ; do \
11648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11649 done; \
11650 echo "Doing installcheck in flex" ; \
11651 (cd $(HOST_SUBDIR)/flex && \
11652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11654 "RANLIB=$${RANLIB}" \
11655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11656 installcheck) \
11657 || exit 1
11659 @endif flex
11661 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11662 maybe-mostlyclean-flex:
11663 @if flex
11664 maybe-mostlyclean-flex: mostlyclean-flex
11666 mostlyclean-flex:
11667 @: $(MAKE); $(unstage)
11668 @[ -f ./flex/Makefile ] || exit 0; \
11669 r=`${PWD_COMMAND}`; export r; \
11670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11671 $(HOST_EXPORTS) \
11672 for flag in $(EXTRA_HOST_FLAGS) ; do \
11673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11674 done; \
11675 echo "Doing mostlyclean in flex" ; \
11676 (cd $(HOST_SUBDIR)/flex && \
11677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11679 "RANLIB=$${RANLIB}" \
11680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11681 mostlyclean) \
11682 || exit 1
11684 @endif flex
11686 .PHONY: maybe-clean-flex clean-flex
11687 maybe-clean-flex:
11688 @if flex
11689 maybe-clean-flex: clean-flex
11691 clean-flex:
11692 @: $(MAKE); $(unstage)
11693 @[ -f ./flex/Makefile ] || exit 0; \
11694 r=`${PWD_COMMAND}`; export r; \
11695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11696 $(HOST_EXPORTS) \
11697 for flag in $(EXTRA_HOST_FLAGS) ; do \
11698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11699 done; \
11700 echo "Doing clean in flex" ; \
11701 (cd $(HOST_SUBDIR)/flex && \
11702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11704 "RANLIB=$${RANLIB}" \
11705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11706 clean) \
11707 || exit 1
11709 @endif flex
11711 .PHONY: maybe-distclean-flex distclean-flex
11712 maybe-distclean-flex:
11713 @if flex
11714 maybe-distclean-flex: distclean-flex
11716 distclean-flex:
11717 @: $(MAKE); $(unstage)
11718 @[ -f ./flex/Makefile ] || exit 0; \
11719 r=`${PWD_COMMAND}`; export r; \
11720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11721 $(HOST_EXPORTS) \
11722 for flag in $(EXTRA_HOST_FLAGS) ; do \
11723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11724 done; \
11725 echo "Doing distclean in flex" ; \
11726 (cd $(HOST_SUBDIR)/flex && \
11727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11729 "RANLIB=$${RANLIB}" \
11730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11731 distclean) \
11732 || exit 1
11734 @endif flex
11736 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11737 maybe-maintainer-clean-flex:
11738 @if flex
11739 maybe-maintainer-clean-flex: maintainer-clean-flex
11741 maintainer-clean-flex:
11742 @: $(MAKE); $(unstage)
11743 @[ -f ./flex/Makefile ] || exit 0; \
11744 r=`${PWD_COMMAND}`; export r; \
11745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11746 $(HOST_EXPORTS) \
11747 for flag in $(EXTRA_HOST_FLAGS) ; do \
11748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11749 done; \
11750 echo "Doing maintainer-clean in flex" ; \
11751 (cd $(HOST_SUBDIR)/flex && \
11752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11754 "RANLIB=$${RANLIB}" \
11755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11756 maintainer-clean) \
11757 || exit 1
11759 @endif flex
11763 .PHONY: configure-gas maybe-configure-gas
11764 maybe-configure-gas:
11765 @if gcc-bootstrap
11766 configure-gas: stage_current
11767 @endif gcc-bootstrap
11768 @if gas
11769 maybe-configure-gas: configure-gas
11770 configure-gas:
11771 @r=`${PWD_COMMAND}`; export r; \
11772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11773 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11775 $(HOST_EXPORTS) \
11776 echo Configuring in $(HOST_SUBDIR)/gas; \
11777 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11778 case $(srcdir) in \
11779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11780 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11782 esac; \
11783 srcdiroption="--srcdir=$${topdir}/gas"; \
11784 libsrcdir="$$s/gas"; \
11785 $(SHELL) $${libsrcdir}/configure \
11786 $(HOST_CONFIGARGS) $${srcdiroption} \
11787 || exit 1
11788 @endif gas
11792 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11793 maybe-configure-stage1-gas:
11794 @if gas-bootstrap
11795 maybe-configure-stage1-gas: configure-stage1-gas
11796 configure-stage1-gas:
11797 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11799 @r=`${PWD_COMMAND}`; export r; \
11800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11801 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11802 $(HOST_EXPORTS) \
11803 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11805 cd $(HOST_SUBDIR)/gas || exit 1; \
11806 case $(srcdir) in \
11807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11808 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11810 esac; \
11811 srcdiroption="--srcdir=$${topdir}/gas"; \
11812 libsrcdir="$$s/gas"; \
11813 $(SHELL) $${libsrcdir}/configure \
11814 $(HOST_CONFIGARGS) $${srcdiroption} \
11816 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11817 @endif gas-bootstrap
11819 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11820 maybe-configure-stage2-gas:
11821 @if gas-bootstrap
11822 maybe-configure-stage2-gas: configure-stage2-gas
11823 configure-stage2-gas:
11824 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11826 @r=`${PWD_COMMAND}`; export r; \
11827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11828 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11829 $(HOST_EXPORTS) \
11830 $(POSTSTAGE1_HOST_EXPORTS) \
11831 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11833 cd $(HOST_SUBDIR)/gas || exit 1; \
11834 case $(srcdir) in \
11835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11836 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11838 esac; \
11839 srcdiroption="--srcdir=$${topdir}/gas"; \
11840 libsrcdir="$$s/gas"; \
11841 $(SHELL) $${libsrcdir}/configure \
11842 $(HOST_CONFIGARGS) $${srcdiroption} \
11843 --with-build-libsubdir=$(HOST_SUBDIR) \
11844 @stage2_werror_flag@
11845 @endif gas-bootstrap
11847 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11848 maybe-configure-stage3-gas:
11849 @if gas-bootstrap
11850 maybe-configure-stage3-gas: configure-stage3-gas
11851 configure-stage3-gas:
11852 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11854 @r=`${PWD_COMMAND}`; export r; \
11855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11856 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11857 $(HOST_EXPORTS) \
11858 $(POSTSTAGE1_HOST_EXPORTS) \
11859 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11861 cd $(HOST_SUBDIR)/gas || exit 1; \
11862 case $(srcdir) in \
11863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11864 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11866 esac; \
11867 srcdiroption="--srcdir=$${topdir}/gas"; \
11868 libsrcdir="$$s/gas"; \
11869 $(SHELL) $${libsrcdir}/configure \
11870 $(HOST_CONFIGARGS) $${srcdiroption} \
11871 --with-build-libsubdir=$(HOST_SUBDIR) \
11872 @stage2_werror_flag@
11873 @endif gas-bootstrap
11875 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11876 maybe-configure-stage4-gas:
11877 @if gas-bootstrap
11878 maybe-configure-stage4-gas: configure-stage4-gas
11879 configure-stage4-gas:
11880 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11882 @r=`${PWD_COMMAND}`; export r; \
11883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11884 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11885 $(HOST_EXPORTS) \
11886 $(POSTSTAGE1_HOST_EXPORTS) \
11887 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11889 cd $(HOST_SUBDIR)/gas || exit 1; \
11890 case $(srcdir) in \
11891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11892 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11894 esac; \
11895 srcdiroption="--srcdir=$${topdir}/gas"; \
11896 libsrcdir="$$s/gas"; \
11897 $(SHELL) $${libsrcdir}/configure \
11898 $(HOST_CONFIGARGS) $${srcdiroption} \
11899 --with-build-libsubdir=$(HOST_SUBDIR) \
11900 @stage2_werror_flag@
11901 @endif gas-bootstrap
11903 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11904 maybe-configure-stageprofile-gas:
11905 @if gas-bootstrap
11906 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11907 configure-stageprofile-gas:
11908 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11913 $(HOST_EXPORTS) \
11914 $(POSTSTAGE1_HOST_EXPORTS) \
11915 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11917 cd $(HOST_SUBDIR)/gas || exit 1; \
11918 case $(srcdir) in \
11919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11920 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11922 esac; \
11923 srcdiroption="--srcdir=$${topdir}/gas"; \
11924 libsrcdir="$$s/gas"; \
11925 $(SHELL) $${libsrcdir}/configure \
11926 $(HOST_CONFIGARGS) $${srcdiroption} \
11927 --with-build-libsubdir=$(HOST_SUBDIR) \
11928 @stage2_werror_flag@
11929 @endif gas-bootstrap
11931 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11932 maybe-configure-stagefeedback-gas:
11933 @if gas-bootstrap
11934 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11935 configure-stagefeedback-gas:
11936 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11938 @r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11941 $(HOST_EXPORTS) \
11942 $(POSTSTAGE1_HOST_EXPORTS) \
11943 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11945 cd $(HOST_SUBDIR)/gas || exit 1; \
11946 case $(srcdir) in \
11947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11948 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11950 esac; \
11951 srcdiroption="--srcdir=$${topdir}/gas"; \
11952 libsrcdir="$$s/gas"; \
11953 $(SHELL) $${libsrcdir}/configure \
11954 $(HOST_CONFIGARGS) $${srcdiroption} \
11955 --with-build-libsubdir=$(HOST_SUBDIR) \
11956 @stage2_werror_flag@
11957 @endif gas-bootstrap
11963 .PHONY: all-gas maybe-all-gas
11964 maybe-all-gas:
11965 @if gcc-bootstrap
11966 all-gas: stage_current
11967 @endif gcc-bootstrap
11968 @if gas
11969 TARGET-gas=all
11970 maybe-all-gas: all-gas
11971 all-gas: configure-gas
11972 @r=`${PWD_COMMAND}`; export r; \
11973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11974 $(HOST_EXPORTS) \
11975 (cd $(HOST_SUBDIR)/gas && \
11976 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11977 @endif gas
11981 .PHONY: all-stage1-gas maybe-all-stage1-gas
11982 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11983 maybe-all-stage1-gas:
11984 maybe-clean-stage1-gas:
11985 @if gas-bootstrap
11986 maybe-all-stage1-gas: all-stage1-gas
11987 all-stage1: all-stage1-gas
11988 TARGET-stage1-gas = $(TARGET-gas)
11989 all-stage1-gas: configure-stage1-gas
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)/gas && \
11995 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11996 $(TARGET-stage1-gas)
11998 maybe-clean-stage1-gas: clean-stage1-gas
11999 clean-stage1: clean-stage1-gas
12000 clean-stage1-gas:
12001 @if [ $(current_stage) = stage1 ]; then \
12002 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12003 else \
12004 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12005 $(MAKE) stage1-start; \
12006 fi; \
12007 cd $(HOST_SUBDIR)/gas && \
12008 $(MAKE) $(FLAGS_TO_PASS) \
12009 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12010 @endif gas-bootstrap
12013 .PHONY: all-stage2-gas maybe-all-stage2-gas
12014 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12015 maybe-all-stage2-gas:
12016 maybe-clean-stage2-gas:
12017 @if gas-bootstrap
12018 maybe-all-stage2-gas: all-stage2-gas
12019 all-stage2: all-stage2-gas
12020 TARGET-stage2-gas = $(TARGET-gas)
12021 all-stage2-gas: configure-stage2-gas
12022 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12023 @r=`${PWD_COMMAND}`; export r; \
12024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12025 $(HOST_EXPORTS) \
12026 $(POSTSTAGE1_HOST_EXPORTS) \
12027 cd $(HOST_SUBDIR)/gas && \
12028 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12029 $(TARGET-stage2-gas)
12031 maybe-clean-stage2-gas: clean-stage2-gas
12032 clean-stage2: clean-stage2-gas
12033 clean-stage2-gas:
12034 @if [ $(current_stage) = stage2 ]; then \
12035 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12036 else \
12037 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12038 $(MAKE) stage2-start; \
12039 fi; \
12040 cd $(HOST_SUBDIR)/gas && \
12041 $(MAKE) $(FLAGS_TO_PASS) \
12042 $(POSTSTAGE1_FLAGS_TO_PASS) \
12043 clean
12044 @endif gas-bootstrap
12047 .PHONY: all-stage3-gas maybe-all-stage3-gas
12048 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12049 maybe-all-stage3-gas:
12050 maybe-clean-stage3-gas:
12051 @if gas-bootstrap
12052 maybe-all-stage3-gas: all-stage3-gas
12053 all-stage3: all-stage3-gas
12054 TARGET-stage3-gas = $(TARGET-gas)
12055 all-stage3-gas: configure-stage3-gas
12056 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12057 @r=`${PWD_COMMAND}`; export r; \
12058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12059 $(HOST_EXPORTS) \
12060 $(POSTSTAGE1_HOST_EXPORTS) \
12061 cd $(HOST_SUBDIR)/gas && \
12062 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12063 $(TARGET-stage3-gas)
12065 maybe-clean-stage3-gas: clean-stage3-gas
12066 clean-stage3: clean-stage3-gas
12067 clean-stage3-gas:
12068 @if [ $(current_stage) = stage3 ]; then \
12069 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12070 else \
12071 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12072 $(MAKE) stage3-start; \
12073 fi; \
12074 cd $(HOST_SUBDIR)/gas && \
12075 $(MAKE) $(FLAGS_TO_PASS) \
12076 $(POSTSTAGE1_FLAGS_TO_PASS) \
12077 clean
12078 @endif gas-bootstrap
12081 .PHONY: all-stage4-gas maybe-all-stage4-gas
12082 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12083 maybe-all-stage4-gas:
12084 maybe-clean-stage4-gas:
12085 @if gas-bootstrap
12086 maybe-all-stage4-gas: all-stage4-gas
12087 all-stage4: all-stage4-gas
12088 TARGET-stage4-gas = $(TARGET-gas)
12089 all-stage4-gas: configure-stage4-gas
12090 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12091 @r=`${PWD_COMMAND}`; export r; \
12092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12093 $(HOST_EXPORTS) \
12094 $(POSTSTAGE1_HOST_EXPORTS) \
12095 cd $(HOST_SUBDIR)/gas && \
12096 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12097 $(TARGET-stage4-gas)
12099 maybe-clean-stage4-gas: clean-stage4-gas
12100 clean-stage4: clean-stage4-gas
12101 clean-stage4-gas:
12102 @if [ $(current_stage) = stage4 ]; then \
12103 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12104 else \
12105 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12106 $(MAKE) stage4-start; \
12107 fi; \
12108 cd $(HOST_SUBDIR)/gas && \
12109 $(MAKE) $(FLAGS_TO_PASS) \
12110 $(POSTSTAGE1_FLAGS_TO_PASS) \
12111 clean
12112 @endif gas-bootstrap
12115 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12116 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12117 maybe-all-stageprofile-gas:
12118 maybe-clean-stageprofile-gas:
12119 @if gas-bootstrap
12120 maybe-all-stageprofile-gas: all-stageprofile-gas
12121 all-stageprofile: all-stageprofile-gas
12122 TARGET-stageprofile-gas = $(TARGET-gas)
12123 all-stageprofile-gas: configure-stageprofile-gas
12124 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12125 @r=`${PWD_COMMAND}`; export r; \
12126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12127 $(HOST_EXPORTS) \
12128 $(POSTSTAGE1_HOST_EXPORTS) \
12129 cd $(HOST_SUBDIR)/gas && \
12130 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12131 $(TARGET-stageprofile-gas)
12133 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12134 clean-stageprofile: clean-stageprofile-gas
12135 clean-stageprofile-gas:
12136 @if [ $(current_stage) = stageprofile ]; then \
12137 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12138 else \
12139 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12140 $(MAKE) stageprofile-start; \
12141 fi; \
12142 cd $(HOST_SUBDIR)/gas && \
12143 $(MAKE) $(FLAGS_TO_PASS) \
12144 $(POSTSTAGE1_FLAGS_TO_PASS) \
12145 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12146 @endif gas-bootstrap
12149 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12150 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12151 maybe-all-stagefeedback-gas:
12152 maybe-clean-stagefeedback-gas:
12153 @if gas-bootstrap
12154 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12155 all-stagefeedback: all-stagefeedback-gas
12156 TARGET-stagefeedback-gas = $(TARGET-gas)
12157 all-stagefeedback-gas: configure-stagefeedback-gas
12158 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12159 @r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12161 $(HOST_EXPORTS) \
12162 $(POSTSTAGE1_HOST_EXPORTS) \
12163 cd $(HOST_SUBDIR)/gas && \
12164 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12165 $(TARGET-stagefeedback-gas)
12167 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12168 clean-stagefeedback: clean-stagefeedback-gas
12169 clean-stagefeedback-gas:
12170 @if [ $(current_stage) = stagefeedback ]; then \
12171 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12172 else \
12173 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12174 $(MAKE) stagefeedback-start; \
12175 fi; \
12176 cd $(HOST_SUBDIR)/gas && \
12177 $(MAKE) $(FLAGS_TO_PASS) \
12178 $(POSTSTAGE1_FLAGS_TO_PASS) \
12179 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12180 @endif gas-bootstrap
12186 .PHONY: check-gas maybe-check-gas
12187 maybe-check-gas:
12188 @if gas
12189 maybe-check-gas: check-gas
12191 check-gas:
12192 @: $(MAKE); $(unstage)
12193 @r=`${PWD_COMMAND}`; export r; \
12194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12195 $(HOST_EXPORTS) \
12196 (cd $(HOST_SUBDIR)/gas && \
12197 $(MAKE) $(FLAGS_TO_PASS) check)
12199 @endif gas
12201 .PHONY: install-gas maybe-install-gas
12202 maybe-install-gas:
12203 @if gas
12204 maybe-install-gas: install-gas
12206 install-gas: installdirs
12207 @: $(MAKE); $(unstage)
12208 @r=`${PWD_COMMAND}`; export r; \
12209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12210 $(HOST_EXPORTS) \
12211 (cd $(HOST_SUBDIR)/gas && \
12212 $(MAKE) $(FLAGS_TO_PASS) install)
12214 @endif gas
12216 # Other targets (info, dvi, pdf, etc.)
12218 .PHONY: maybe-info-gas info-gas
12219 maybe-info-gas:
12220 @if gas
12221 maybe-info-gas: info-gas
12223 info-gas: \
12224 configure-gas
12225 @[ -f ./gas/Makefile ] || exit 0; \
12226 r=`${PWD_COMMAND}`; export r; \
12227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12228 $(HOST_EXPORTS) \
12229 for flag in $(EXTRA_HOST_FLAGS) ; do \
12230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12231 done; \
12232 echo "Doing info in gas" ; \
12233 (cd $(HOST_SUBDIR)/gas && \
12234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12236 "RANLIB=$${RANLIB}" \
12237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12238 info) \
12239 || exit 1
12241 @endif gas
12243 .PHONY: maybe-dvi-gas dvi-gas
12244 maybe-dvi-gas:
12245 @if gas
12246 maybe-dvi-gas: dvi-gas
12248 dvi-gas: \
12249 configure-gas
12250 @[ -f ./gas/Makefile ] || exit 0; \
12251 r=`${PWD_COMMAND}`; export r; \
12252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12253 $(HOST_EXPORTS) \
12254 for flag in $(EXTRA_HOST_FLAGS) ; do \
12255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12256 done; \
12257 echo "Doing dvi in gas" ; \
12258 (cd $(HOST_SUBDIR)/gas && \
12259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12261 "RANLIB=$${RANLIB}" \
12262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12263 dvi) \
12264 || exit 1
12266 @endif gas
12268 .PHONY: maybe-pdf-gas pdf-gas
12269 maybe-pdf-gas:
12270 @if gas
12271 maybe-pdf-gas: pdf-gas
12273 pdf-gas: \
12274 configure-gas
12275 @[ -f ./gas/Makefile ] || exit 0; \
12276 r=`${PWD_COMMAND}`; export r; \
12277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12278 $(HOST_EXPORTS) \
12279 for flag in $(EXTRA_HOST_FLAGS) ; do \
12280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12281 done; \
12282 echo "Doing pdf in gas" ; \
12283 (cd $(HOST_SUBDIR)/gas && \
12284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12286 "RANLIB=$${RANLIB}" \
12287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12288 pdf) \
12289 || exit 1
12291 @endif gas
12293 .PHONY: maybe-html-gas html-gas
12294 maybe-html-gas:
12295 @if gas
12296 maybe-html-gas: html-gas
12298 html-gas: \
12299 configure-gas
12300 @[ -f ./gas/Makefile ] || exit 0; \
12301 r=`${PWD_COMMAND}`; export r; \
12302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12303 $(HOST_EXPORTS) \
12304 for flag in $(EXTRA_HOST_FLAGS) ; do \
12305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12306 done; \
12307 echo "Doing html in gas" ; \
12308 (cd $(HOST_SUBDIR)/gas && \
12309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12311 "RANLIB=$${RANLIB}" \
12312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12313 html) \
12314 || exit 1
12316 @endif gas
12318 .PHONY: maybe-TAGS-gas TAGS-gas
12319 maybe-TAGS-gas:
12320 @if gas
12321 maybe-TAGS-gas: TAGS-gas
12323 TAGS-gas: \
12324 configure-gas
12325 @[ -f ./gas/Makefile ] || exit 0; \
12326 r=`${PWD_COMMAND}`; export r; \
12327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12328 $(HOST_EXPORTS) \
12329 for flag in $(EXTRA_HOST_FLAGS) ; do \
12330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12331 done; \
12332 echo "Doing TAGS in gas" ; \
12333 (cd $(HOST_SUBDIR)/gas && \
12334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12336 "RANLIB=$${RANLIB}" \
12337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12338 TAGS) \
12339 || exit 1
12341 @endif gas
12343 .PHONY: maybe-install-info-gas install-info-gas
12344 maybe-install-info-gas:
12345 @if gas
12346 maybe-install-info-gas: install-info-gas
12348 install-info-gas: \
12349 configure-gas \
12350 info-gas
12351 @[ -f ./gas/Makefile ] || exit 0; \
12352 r=`${PWD_COMMAND}`; export r; \
12353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12354 $(HOST_EXPORTS) \
12355 for flag in $(EXTRA_HOST_FLAGS) ; do \
12356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12357 done; \
12358 echo "Doing install-info in gas" ; \
12359 (cd $(HOST_SUBDIR)/gas && \
12360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12362 "RANLIB=$${RANLIB}" \
12363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12364 install-info) \
12365 || exit 1
12367 @endif gas
12369 .PHONY: maybe-install-html-gas install-html-gas
12370 maybe-install-html-gas:
12371 @if gas
12372 maybe-install-html-gas: install-html-gas
12374 install-html-gas: \
12375 configure-gas \
12376 html-gas
12377 @[ -f ./gas/Makefile ] || exit 0; \
12378 r=`${PWD_COMMAND}`; export r; \
12379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12380 $(HOST_EXPORTS) \
12381 for flag in $(EXTRA_HOST_FLAGS) ; do \
12382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12383 done; \
12384 echo "Doing install-html in gas" ; \
12385 (cd $(HOST_SUBDIR)/gas && \
12386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12388 "RANLIB=$${RANLIB}" \
12389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12390 install-html) \
12391 || exit 1
12393 @endif gas
12395 .PHONY: maybe-installcheck-gas installcheck-gas
12396 maybe-installcheck-gas:
12397 @if gas
12398 maybe-installcheck-gas: installcheck-gas
12400 installcheck-gas: \
12401 configure-gas
12402 @[ -f ./gas/Makefile ] || exit 0; \
12403 r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 $(HOST_EXPORTS) \
12406 for flag in $(EXTRA_HOST_FLAGS) ; do \
12407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12408 done; \
12409 echo "Doing installcheck in gas" ; \
12410 (cd $(HOST_SUBDIR)/gas && \
12411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12413 "RANLIB=$${RANLIB}" \
12414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12415 installcheck) \
12416 || exit 1
12418 @endif gas
12420 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12421 maybe-mostlyclean-gas:
12422 @if gas
12423 maybe-mostlyclean-gas: mostlyclean-gas
12425 mostlyclean-gas:
12426 @[ -f ./gas/Makefile ] || exit 0; \
12427 r=`${PWD_COMMAND}`; export r; \
12428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12429 $(HOST_EXPORTS) \
12430 for flag in $(EXTRA_HOST_FLAGS) ; do \
12431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12432 done; \
12433 echo "Doing mostlyclean in gas" ; \
12434 (cd $(HOST_SUBDIR)/gas && \
12435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12437 "RANLIB=$${RANLIB}" \
12438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12439 mostlyclean) \
12440 || exit 1
12442 @endif gas
12444 .PHONY: maybe-clean-gas clean-gas
12445 maybe-clean-gas:
12446 @if gas
12447 maybe-clean-gas: clean-gas
12449 clean-gas:
12450 @[ -f ./gas/Makefile ] || exit 0; \
12451 r=`${PWD_COMMAND}`; export r; \
12452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12453 $(HOST_EXPORTS) \
12454 for flag in $(EXTRA_HOST_FLAGS) ; do \
12455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12456 done; \
12457 echo "Doing clean in gas" ; \
12458 (cd $(HOST_SUBDIR)/gas && \
12459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12461 "RANLIB=$${RANLIB}" \
12462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12463 clean) \
12464 || exit 1
12466 @endif gas
12468 .PHONY: maybe-distclean-gas distclean-gas
12469 maybe-distclean-gas:
12470 @if gas
12471 maybe-distclean-gas: distclean-gas
12473 distclean-gas:
12474 @[ -f ./gas/Makefile ] || exit 0; \
12475 r=`${PWD_COMMAND}`; export r; \
12476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12477 $(HOST_EXPORTS) \
12478 for flag in $(EXTRA_HOST_FLAGS) ; do \
12479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12480 done; \
12481 echo "Doing distclean in gas" ; \
12482 (cd $(HOST_SUBDIR)/gas && \
12483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12485 "RANLIB=$${RANLIB}" \
12486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12487 distclean) \
12488 || exit 1
12490 @endif gas
12492 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12493 maybe-maintainer-clean-gas:
12494 @if gas
12495 maybe-maintainer-clean-gas: maintainer-clean-gas
12497 maintainer-clean-gas:
12498 @[ -f ./gas/Makefile ] || exit 0; \
12499 r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 $(HOST_EXPORTS) \
12502 for flag in $(EXTRA_HOST_FLAGS) ; do \
12503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12504 done; \
12505 echo "Doing maintainer-clean in gas" ; \
12506 (cd $(HOST_SUBDIR)/gas && \
12507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12509 "RANLIB=$${RANLIB}" \
12510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12511 maintainer-clean) \
12512 || exit 1
12514 @endif gas
12518 .PHONY: configure-gcc maybe-configure-gcc
12519 maybe-configure-gcc:
12520 @if gcc-bootstrap
12521 configure-gcc: stage_current
12522 @endif gcc-bootstrap
12523 @if gcc
12524 maybe-configure-gcc: configure-gcc
12525 configure-gcc:
12526 @r=`${PWD_COMMAND}`; export r; \
12527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12528 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12530 $(HOST_EXPORTS) \
12531 echo Configuring in $(HOST_SUBDIR)/gcc; \
12532 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12533 case $(srcdir) in \
12534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12535 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12537 esac; \
12538 srcdiroption="--srcdir=$${topdir}/gcc"; \
12539 libsrcdir="$$s/gcc"; \
12540 $(SHELL) $${libsrcdir}/configure \
12541 $(HOST_CONFIGARGS) $${srcdiroption} \
12542 || exit 1
12543 @endif gcc
12547 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12548 maybe-configure-stage1-gcc:
12549 @if gcc-bootstrap
12550 maybe-configure-stage1-gcc: configure-stage1-gcc
12551 configure-stage1-gcc:
12552 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12554 @r=`${PWD_COMMAND}`; export r; \
12555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12557 $(HOST_EXPORTS) \
12558 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12560 cd $(HOST_SUBDIR)/gcc || exit 1; \
12561 case $(srcdir) in \
12562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12563 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12565 esac; \
12566 srcdiroption="--srcdir=$${topdir}/gcc"; \
12567 libsrcdir="$$s/gcc"; \
12568 $(SHELL) $${libsrcdir}/configure \
12569 $(HOST_CONFIGARGS) $${srcdiroption} \
12571 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12572 @endif gcc-bootstrap
12574 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12575 maybe-configure-stage2-gcc:
12576 @if gcc-bootstrap
12577 maybe-configure-stage2-gcc: configure-stage2-gcc
12578 configure-stage2-gcc:
12579 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12581 @r=`${PWD_COMMAND}`; export r; \
12582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12583 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12584 $(HOST_EXPORTS) \
12585 $(POSTSTAGE1_HOST_EXPORTS) \
12586 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12588 cd $(HOST_SUBDIR)/gcc || exit 1; \
12589 case $(srcdir) in \
12590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12591 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12593 esac; \
12594 srcdiroption="--srcdir=$${topdir}/gcc"; \
12595 libsrcdir="$$s/gcc"; \
12596 $(SHELL) $${libsrcdir}/configure \
12597 $(HOST_CONFIGARGS) $${srcdiroption} \
12598 --with-build-libsubdir=$(HOST_SUBDIR) \
12599 @stage2_werror_flag@
12600 @endif gcc-bootstrap
12602 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12603 maybe-configure-stage3-gcc:
12604 @if gcc-bootstrap
12605 maybe-configure-stage3-gcc: configure-stage3-gcc
12606 configure-stage3-gcc:
12607 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12609 @r=`${PWD_COMMAND}`; export r; \
12610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12611 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12612 $(HOST_EXPORTS) \
12613 $(POSTSTAGE1_HOST_EXPORTS) \
12614 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12616 cd $(HOST_SUBDIR)/gcc || exit 1; \
12617 case $(srcdir) in \
12618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12619 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12621 esac; \
12622 srcdiroption="--srcdir=$${topdir}/gcc"; \
12623 libsrcdir="$$s/gcc"; \
12624 $(SHELL) $${libsrcdir}/configure \
12625 $(HOST_CONFIGARGS) $${srcdiroption} \
12626 --with-build-libsubdir=$(HOST_SUBDIR) \
12627 @stage2_werror_flag@
12628 @endif gcc-bootstrap
12630 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12631 maybe-configure-stage4-gcc:
12632 @if gcc-bootstrap
12633 maybe-configure-stage4-gcc: configure-stage4-gcc
12634 configure-stage4-gcc:
12635 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12637 @r=`${PWD_COMMAND}`; export r; \
12638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12639 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12640 $(HOST_EXPORTS) \
12641 $(POSTSTAGE1_HOST_EXPORTS) \
12642 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12644 cd $(HOST_SUBDIR)/gcc || exit 1; \
12645 case $(srcdir) in \
12646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12647 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12649 esac; \
12650 srcdiroption="--srcdir=$${topdir}/gcc"; \
12651 libsrcdir="$$s/gcc"; \
12652 $(SHELL) $${libsrcdir}/configure \
12653 $(HOST_CONFIGARGS) $${srcdiroption} \
12654 --with-build-libsubdir=$(HOST_SUBDIR) \
12655 @stage2_werror_flag@
12656 @endif gcc-bootstrap
12658 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12659 maybe-configure-stageprofile-gcc:
12660 @if gcc-bootstrap
12661 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12662 configure-stageprofile-gcc:
12663 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12664 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12665 @r=`${PWD_COMMAND}`; export r; \
12666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12667 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12668 $(HOST_EXPORTS) \
12669 $(POSTSTAGE1_HOST_EXPORTS) \
12670 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12672 cd $(HOST_SUBDIR)/gcc || exit 1; \
12673 case $(srcdir) in \
12674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12675 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12677 esac; \
12678 srcdiroption="--srcdir=$${topdir}/gcc"; \
12679 libsrcdir="$$s/gcc"; \
12680 $(SHELL) $${libsrcdir}/configure \
12681 $(HOST_CONFIGARGS) $${srcdiroption} \
12682 --with-build-libsubdir=$(HOST_SUBDIR) \
12683 @stage2_werror_flag@
12684 @endif gcc-bootstrap
12686 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12687 maybe-configure-stagefeedback-gcc:
12688 @if gcc-bootstrap
12689 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12690 configure-stagefeedback-gcc:
12691 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12693 @r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12696 $(HOST_EXPORTS) \
12697 $(POSTSTAGE1_HOST_EXPORTS) \
12698 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12700 cd $(HOST_SUBDIR)/gcc || exit 1; \
12701 case $(srcdir) in \
12702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12703 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12705 esac; \
12706 srcdiroption="--srcdir=$${topdir}/gcc"; \
12707 libsrcdir="$$s/gcc"; \
12708 $(SHELL) $${libsrcdir}/configure \
12709 $(HOST_CONFIGARGS) $${srcdiroption} \
12710 --with-build-libsubdir=$(HOST_SUBDIR) \
12711 @stage2_werror_flag@
12712 @endif gcc-bootstrap
12718 .PHONY: all-gcc maybe-all-gcc
12719 maybe-all-gcc:
12720 @if gcc-bootstrap
12721 all-gcc: stage_current
12722 @endif gcc-bootstrap
12723 @if gcc
12724 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12725 maybe-all-gcc: all-gcc
12726 all-gcc: configure-gcc
12727 @r=`${PWD_COMMAND}`; export r; \
12728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12729 $(HOST_EXPORTS) \
12730 (cd $(HOST_SUBDIR)/gcc && \
12731 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12732 @endif gcc
12736 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12737 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12738 maybe-all-stage1-gcc:
12739 maybe-clean-stage1-gcc:
12740 @if gcc-bootstrap
12741 maybe-all-stage1-gcc: all-stage1-gcc
12742 all-stage1: all-stage1-gcc
12743 TARGET-stage1-gcc = $(TARGET-gcc)
12744 all-stage1-gcc: configure-stage1-gcc
12745 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12746 @r=`${PWD_COMMAND}`; export r; \
12747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12748 $(HOST_EXPORTS) \
12749 cd $(HOST_SUBDIR)/gcc && \
12750 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12751 $(TARGET-stage1-gcc)
12753 maybe-clean-stage1-gcc: clean-stage1-gcc
12754 clean-stage1: clean-stage1-gcc
12755 clean-stage1-gcc:
12756 @if [ $(current_stage) = stage1 ]; then \
12757 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12758 else \
12759 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12760 $(MAKE) stage1-start; \
12761 fi; \
12762 cd $(HOST_SUBDIR)/gcc && \
12763 $(MAKE) $(FLAGS_TO_PASS) \
12764 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12765 @endif gcc-bootstrap
12768 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12769 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12770 maybe-all-stage2-gcc:
12771 maybe-clean-stage2-gcc:
12772 @if gcc-bootstrap
12773 maybe-all-stage2-gcc: all-stage2-gcc
12774 all-stage2: all-stage2-gcc
12775 TARGET-stage2-gcc = $(TARGET-gcc)
12776 all-stage2-gcc: configure-stage2-gcc
12777 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12778 @r=`${PWD_COMMAND}`; export r; \
12779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12780 $(HOST_EXPORTS) \
12781 $(POSTSTAGE1_HOST_EXPORTS) \
12782 cd $(HOST_SUBDIR)/gcc && \
12783 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12784 $(TARGET-stage2-gcc)
12786 maybe-clean-stage2-gcc: clean-stage2-gcc
12787 clean-stage2: clean-stage2-gcc
12788 clean-stage2-gcc:
12789 @if [ $(current_stage) = stage2 ]; then \
12790 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12791 else \
12792 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12793 $(MAKE) stage2-start; \
12794 fi; \
12795 cd $(HOST_SUBDIR)/gcc && \
12796 $(MAKE) $(FLAGS_TO_PASS) \
12797 $(POSTSTAGE1_FLAGS_TO_PASS) \
12798 $(EXTRA_GCC_FLAGS) clean
12799 @endif gcc-bootstrap
12802 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12803 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12804 maybe-all-stage3-gcc:
12805 maybe-clean-stage3-gcc:
12806 @if gcc-bootstrap
12807 maybe-all-stage3-gcc: all-stage3-gcc
12808 all-stage3: all-stage3-gcc
12809 TARGET-stage3-gcc = $(TARGET-gcc)
12810 all-stage3-gcc: configure-stage3-gcc
12811 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12812 @r=`${PWD_COMMAND}`; export r; \
12813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12814 $(HOST_EXPORTS) \
12815 $(POSTSTAGE1_HOST_EXPORTS) \
12816 cd $(HOST_SUBDIR)/gcc && \
12817 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12818 $(TARGET-stage3-gcc)
12820 maybe-clean-stage3-gcc: clean-stage3-gcc
12821 clean-stage3: clean-stage3-gcc
12822 clean-stage3-gcc:
12823 @if [ $(current_stage) = stage3 ]; then \
12824 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12825 else \
12826 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12827 $(MAKE) stage3-start; \
12828 fi; \
12829 cd $(HOST_SUBDIR)/gcc && \
12830 $(MAKE) $(FLAGS_TO_PASS) \
12831 $(POSTSTAGE1_FLAGS_TO_PASS) \
12832 $(EXTRA_GCC_FLAGS) clean
12833 @endif gcc-bootstrap
12836 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12837 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12838 maybe-all-stage4-gcc:
12839 maybe-clean-stage4-gcc:
12840 @if gcc-bootstrap
12841 maybe-all-stage4-gcc: all-stage4-gcc
12842 all-stage4: all-stage4-gcc
12843 TARGET-stage4-gcc = $(TARGET-gcc)
12844 all-stage4-gcc: configure-stage4-gcc
12845 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12846 @r=`${PWD_COMMAND}`; export r; \
12847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12848 $(HOST_EXPORTS) \
12849 $(POSTSTAGE1_HOST_EXPORTS) \
12850 cd $(HOST_SUBDIR)/gcc && \
12851 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12852 $(TARGET-stage4-gcc)
12854 maybe-clean-stage4-gcc: clean-stage4-gcc
12855 clean-stage4: clean-stage4-gcc
12856 clean-stage4-gcc:
12857 @if [ $(current_stage) = stage4 ]; then \
12858 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12859 else \
12860 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12861 $(MAKE) stage4-start; \
12862 fi; \
12863 cd $(HOST_SUBDIR)/gcc && \
12864 $(MAKE) $(FLAGS_TO_PASS) \
12865 $(POSTSTAGE1_FLAGS_TO_PASS) \
12866 $(EXTRA_GCC_FLAGS) clean
12867 @endif gcc-bootstrap
12870 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12871 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12872 maybe-all-stageprofile-gcc:
12873 maybe-clean-stageprofile-gcc:
12874 @if gcc-bootstrap
12875 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12876 all-stageprofile: all-stageprofile-gcc
12877 TARGET-stageprofile-gcc = $(TARGET-gcc)
12878 all-stageprofile-gcc: configure-stageprofile-gcc
12879 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12880 @r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 $(POSTSTAGE1_HOST_EXPORTS) \
12884 cd $(HOST_SUBDIR)/gcc && \
12885 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12886 $(TARGET-stageprofile-gcc)
12888 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12889 clean-stageprofile: clean-stageprofile-gcc
12890 clean-stageprofile-gcc:
12891 @if [ $(current_stage) = stageprofile ]; then \
12892 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12893 else \
12894 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12895 $(MAKE) stageprofile-start; \
12896 fi; \
12897 cd $(HOST_SUBDIR)/gcc && \
12898 $(MAKE) $(FLAGS_TO_PASS) \
12899 $(POSTSTAGE1_FLAGS_TO_PASS) \
12900 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12901 @endif gcc-bootstrap
12904 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12905 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12906 maybe-all-stagefeedback-gcc:
12907 maybe-clean-stagefeedback-gcc:
12908 @if gcc-bootstrap
12909 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12910 all-stagefeedback: all-stagefeedback-gcc
12911 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12912 all-stagefeedback-gcc: configure-stagefeedback-gcc
12913 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12914 @r=`${PWD_COMMAND}`; export r; \
12915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12916 $(HOST_EXPORTS) \
12917 $(POSTSTAGE1_HOST_EXPORTS) \
12918 cd $(HOST_SUBDIR)/gcc && \
12919 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12920 $(TARGET-stagefeedback-gcc)
12922 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12923 clean-stagefeedback: clean-stagefeedback-gcc
12924 clean-stagefeedback-gcc:
12925 @if [ $(current_stage) = stagefeedback ]; then \
12926 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12927 else \
12928 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12929 $(MAKE) stagefeedback-start; \
12930 fi; \
12931 cd $(HOST_SUBDIR)/gcc && \
12932 $(MAKE) $(FLAGS_TO_PASS) \
12933 $(POSTSTAGE1_FLAGS_TO_PASS) \
12934 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12935 @endif gcc-bootstrap
12941 .PHONY: check-gcc maybe-check-gcc
12942 maybe-check-gcc:
12943 @if gcc
12944 maybe-check-gcc: check-gcc
12946 check-gcc:
12947 @: $(MAKE); $(unstage)
12948 @r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950 $(HOST_EXPORTS) \
12951 (cd $(HOST_SUBDIR)/gcc && \
12952 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12954 @endif gcc
12956 .PHONY: install-gcc maybe-install-gcc
12957 maybe-install-gcc:
12958 @if gcc
12959 maybe-install-gcc: install-gcc
12961 install-gcc: installdirs
12962 @: $(MAKE); $(unstage)
12963 @r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12965 $(HOST_EXPORTS) \
12966 (cd $(HOST_SUBDIR)/gcc && \
12967 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12969 @endif gcc
12971 # Other targets (info, dvi, pdf, etc.)
12973 .PHONY: maybe-info-gcc info-gcc
12974 maybe-info-gcc:
12975 @if gcc
12976 maybe-info-gcc: info-gcc
12978 info-gcc: \
12979 configure-gcc
12980 @[ -f ./gcc/Makefile ] || exit 0; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 $(HOST_EXPORTS) \
12984 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12986 done; \
12987 echo "Doing info in gcc" ; \
12988 (cd $(HOST_SUBDIR)/gcc && \
12989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12991 "RANLIB=$${RANLIB}" \
12992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12993 info) \
12994 || exit 1
12996 @endif gcc
12998 .PHONY: maybe-dvi-gcc dvi-gcc
12999 maybe-dvi-gcc:
13000 @if gcc
13001 maybe-dvi-gcc: dvi-gcc
13003 dvi-gcc: \
13004 configure-gcc
13005 @[ -f ./gcc/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(HOST_EXPORTS) \
13009 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13011 done; \
13012 echo "Doing dvi in gcc" ; \
13013 (cd $(HOST_SUBDIR)/gcc && \
13014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13016 "RANLIB=$${RANLIB}" \
13017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13018 dvi) \
13019 || exit 1
13021 @endif gcc
13023 .PHONY: maybe-pdf-gcc pdf-gcc
13024 maybe-pdf-gcc:
13025 @if gcc
13026 maybe-pdf-gcc: pdf-gcc
13028 pdf-gcc: \
13029 configure-gcc
13030 @[ -f ./gcc/Makefile ] || exit 0; \
13031 r=`${PWD_COMMAND}`; export r; \
13032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13033 $(HOST_EXPORTS) \
13034 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13036 done; \
13037 echo "Doing pdf in gcc" ; \
13038 (cd $(HOST_SUBDIR)/gcc && \
13039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13041 "RANLIB=$${RANLIB}" \
13042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13043 pdf) \
13044 || exit 1
13046 @endif gcc
13048 .PHONY: maybe-html-gcc html-gcc
13049 maybe-html-gcc:
13050 @if gcc
13051 maybe-html-gcc: html-gcc
13053 html-gcc: \
13054 configure-gcc
13055 @[ -f ./gcc/Makefile ] || exit 0; \
13056 r=`${PWD_COMMAND}`; export r; \
13057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13058 $(HOST_EXPORTS) \
13059 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13061 done; \
13062 echo "Doing html in gcc" ; \
13063 (cd $(HOST_SUBDIR)/gcc && \
13064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13066 "RANLIB=$${RANLIB}" \
13067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13068 html) \
13069 || exit 1
13071 @endif gcc
13073 .PHONY: maybe-TAGS-gcc TAGS-gcc
13074 maybe-TAGS-gcc:
13075 @if gcc
13076 maybe-TAGS-gcc: TAGS-gcc
13078 TAGS-gcc: \
13079 configure-gcc
13080 @[ -f ./gcc/Makefile ] || exit 0; \
13081 r=`${PWD_COMMAND}`; export r; \
13082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13083 $(HOST_EXPORTS) \
13084 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13086 done; \
13087 echo "Doing TAGS in gcc" ; \
13088 (cd $(HOST_SUBDIR)/gcc && \
13089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13091 "RANLIB=$${RANLIB}" \
13092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13093 TAGS) \
13094 || exit 1
13096 @endif gcc
13098 .PHONY: maybe-install-info-gcc install-info-gcc
13099 maybe-install-info-gcc:
13100 @if gcc
13101 maybe-install-info-gcc: install-info-gcc
13103 install-info-gcc: \
13104 configure-gcc \
13105 info-gcc
13106 @[ -f ./gcc/Makefile ] || exit 0; \
13107 r=`${PWD_COMMAND}`; export r; \
13108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13109 $(HOST_EXPORTS) \
13110 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13112 done; \
13113 echo "Doing install-info in gcc" ; \
13114 (cd $(HOST_SUBDIR)/gcc && \
13115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13117 "RANLIB=$${RANLIB}" \
13118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13119 install-info) \
13120 || exit 1
13122 @endif gcc
13124 .PHONY: maybe-install-html-gcc install-html-gcc
13125 maybe-install-html-gcc:
13126 @if gcc
13127 maybe-install-html-gcc: install-html-gcc
13129 install-html-gcc: \
13130 configure-gcc \
13131 html-gcc
13132 @[ -f ./gcc/Makefile ] || exit 0; \
13133 r=`${PWD_COMMAND}`; export r; \
13134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13135 $(HOST_EXPORTS) \
13136 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13138 done; \
13139 echo "Doing install-html in gcc" ; \
13140 (cd $(HOST_SUBDIR)/gcc && \
13141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13143 "RANLIB=$${RANLIB}" \
13144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13145 install-html) \
13146 || exit 1
13148 @endif gcc
13150 .PHONY: maybe-installcheck-gcc installcheck-gcc
13151 maybe-installcheck-gcc:
13152 @if gcc
13153 maybe-installcheck-gcc: installcheck-gcc
13155 installcheck-gcc: \
13156 configure-gcc
13157 @[ -f ./gcc/Makefile ] || exit 0; \
13158 r=`${PWD_COMMAND}`; export r; \
13159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13160 $(HOST_EXPORTS) \
13161 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13163 done; \
13164 echo "Doing installcheck in gcc" ; \
13165 (cd $(HOST_SUBDIR)/gcc && \
13166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13168 "RANLIB=$${RANLIB}" \
13169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13170 installcheck) \
13171 || exit 1
13173 @endif gcc
13175 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13176 maybe-mostlyclean-gcc:
13177 @if gcc
13178 maybe-mostlyclean-gcc: mostlyclean-gcc
13180 mostlyclean-gcc:
13181 @[ -f ./gcc/Makefile ] || exit 0; \
13182 r=`${PWD_COMMAND}`; export r; \
13183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13184 $(HOST_EXPORTS) \
13185 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13187 done; \
13188 echo "Doing mostlyclean in gcc" ; \
13189 (cd $(HOST_SUBDIR)/gcc && \
13190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13192 "RANLIB=$${RANLIB}" \
13193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13194 mostlyclean) \
13195 || exit 1
13197 @endif gcc
13199 .PHONY: maybe-clean-gcc clean-gcc
13200 maybe-clean-gcc:
13201 @if gcc
13202 maybe-clean-gcc: clean-gcc
13204 clean-gcc:
13205 @[ -f ./gcc/Makefile ] || exit 0; \
13206 r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208 $(HOST_EXPORTS) \
13209 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13211 done; \
13212 echo "Doing clean in gcc" ; \
13213 (cd $(HOST_SUBDIR)/gcc && \
13214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13216 "RANLIB=$${RANLIB}" \
13217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13218 clean) \
13219 || exit 1
13221 @endif gcc
13223 .PHONY: maybe-distclean-gcc distclean-gcc
13224 maybe-distclean-gcc:
13225 @if gcc
13226 maybe-distclean-gcc: distclean-gcc
13228 distclean-gcc:
13229 @[ -f ./gcc/Makefile ] || exit 0; \
13230 r=`${PWD_COMMAND}`; export r; \
13231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13232 $(HOST_EXPORTS) \
13233 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13235 done; \
13236 echo "Doing distclean in gcc" ; \
13237 (cd $(HOST_SUBDIR)/gcc && \
13238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13240 "RANLIB=$${RANLIB}" \
13241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13242 distclean) \
13243 || exit 1
13245 @endif gcc
13247 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13248 maybe-maintainer-clean-gcc:
13249 @if gcc
13250 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13252 maintainer-clean-gcc:
13253 @[ -f ./gcc/Makefile ] || exit 0; \
13254 r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256 $(HOST_EXPORTS) \
13257 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13259 done; \
13260 echo "Doing maintainer-clean in gcc" ; \
13261 (cd $(HOST_SUBDIR)/gcc && \
13262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13264 "RANLIB=$${RANLIB}" \
13265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13266 maintainer-clean) \
13267 || exit 1
13269 @endif gcc
13273 .PHONY: configure-gawk maybe-configure-gawk
13274 maybe-configure-gawk:
13275 @if gcc-bootstrap
13276 configure-gawk: stage_current
13277 @endif gcc-bootstrap
13278 @if gawk
13279 maybe-configure-gawk: configure-gawk
13280 configure-gawk:
13281 @: $(MAKE); $(unstage)
13282 @r=`${PWD_COMMAND}`; export r; \
13283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13284 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13286 $(HOST_EXPORTS) \
13287 echo Configuring in $(HOST_SUBDIR)/gawk; \
13288 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13289 case $(srcdir) in \
13290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13291 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13293 esac; \
13294 srcdiroption="--srcdir=$${topdir}/gawk"; \
13295 libsrcdir="$$s/gawk"; \
13296 $(SHELL) $${libsrcdir}/configure \
13297 $(HOST_CONFIGARGS) $${srcdiroption} \
13298 || exit 1
13299 @endif gawk
13305 .PHONY: all-gawk maybe-all-gawk
13306 maybe-all-gawk:
13307 @if gcc-bootstrap
13308 all-gawk: stage_current
13309 @endif gcc-bootstrap
13310 @if gawk
13311 TARGET-gawk=all
13312 maybe-all-gawk: all-gawk
13313 all-gawk: configure-gawk
13314 @: $(MAKE); $(unstage)
13315 @r=`${PWD_COMMAND}`; export r; \
13316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13317 $(HOST_EXPORTS) \
13318 (cd $(HOST_SUBDIR)/gawk && \
13319 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13320 @endif gawk
13325 .PHONY: check-gawk maybe-check-gawk
13326 maybe-check-gawk:
13327 @if gawk
13328 maybe-check-gawk: check-gawk
13330 check-gawk:
13331 @: $(MAKE); $(unstage)
13332 @r=`${PWD_COMMAND}`; export r; \
13333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13334 $(HOST_EXPORTS) \
13335 (cd $(HOST_SUBDIR)/gawk && \
13336 $(MAKE) $(FLAGS_TO_PASS) check)
13338 @endif gawk
13340 .PHONY: install-gawk maybe-install-gawk
13341 maybe-install-gawk:
13342 @if gawk
13343 maybe-install-gawk: install-gawk
13345 install-gawk: installdirs
13346 @: $(MAKE); $(unstage)
13347 @r=`${PWD_COMMAND}`; export r; \
13348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13349 $(HOST_EXPORTS) \
13350 (cd $(HOST_SUBDIR)/gawk && \
13351 $(MAKE) $(FLAGS_TO_PASS) install)
13353 @endif gawk
13355 # Other targets (info, dvi, pdf, etc.)
13357 .PHONY: maybe-info-gawk info-gawk
13358 maybe-info-gawk:
13359 @if gawk
13360 maybe-info-gawk: info-gawk
13362 info-gawk: \
13363 configure-gawk
13364 @: $(MAKE); $(unstage)
13365 @[ -f ./gawk/Makefile ] || exit 0; \
13366 r=`${PWD_COMMAND}`; export r; \
13367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13368 $(HOST_EXPORTS) \
13369 for flag in $(EXTRA_HOST_FLAGS) ; do \
13370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13371 done; \
13372 echo "Doing info in gawk" ; \
13373 (cd $(HOST_SUBDIR)/gawk && \
13374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13376 "RANLIB=$${RANLIB}" \
13377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13378 info) \
13379 || exit 1
13381 @endif gawk
13383 .PHONY: maybe-dvi-gawk dvi-gawk
13384 maybe-dvi-gawk:
13385 @if gawk
13386 maybe-dvi-gawk: dvi-gawk
13388 dvi-gawk: \
13389 configure-gawk
13390 @: $(MAKE); $(unstage)
13391 @[ -f ./gawk/Makefile ] || exit 0; \
13392 r=`${PWD_COMMAND}`; export r; \
13393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13394 $(HOST_EXPORTS) \
13395 for flag in $(EXTRA_HOST_FLAGS) ; do \
13396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13397 done; \
13398 echo "Doing dvi in gawk" ; \
13399 (cd $(HOST_SUBDIR)/gawk && \
13400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13402 "RANLIB=$${RANLIB}" \
13403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13404 dvi) \
13405 || exit 1
13407 @endif gawk
13409 .PHONY: maybe-pdf-gawk pdf-gawk
13410 maybe-pdf-gawk:
13411 @if gawk
13412 maybe-pdf-gawk: pdf-gawk
13414 pdf-gawk: \
13415 configure-gawk
13416 @: $(MAKE); $(unstage)
13417 @[ -f ./gawk/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing pdf in gawk" ; \
13425 (cd $(HOST_SUBDIR)/gawk && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13430 pdf) \
13431 || exit 1
13433 @endif gawk
13435 .PHONY: maybe-html-gawk html-gawk
13436 maybe-html-gawk:
13437 @if gawk
13438 maybe-html-gawk: html-gawk
13440 html-gawk: \
13441 configure-gawk
13442 @: $(MAKE); $(unstage)
13443 @[ -f ./gawk/Makefile ] || exit 0; \
13444 r=`${PWD_COMMAND}`; export r; \
13445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13446 $(HOST_EXPORTS) \
13447 for flag in $(EXTRA_HOST_FLAGS) ; do \
13448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13449 done; \
13450 echo "Doing html in gawk" ; \
13451 (cd $(HOST_SUBDIR)/gawk && \
13452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13454 "RANLIB=$${RANLIB}" \
13455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13456 html) \
13457 || exit 1
13459 @endif gawk
13461 .PHONY: maybe-TAGS-gawk TAGS-gawk
13462 maybe-TAGS-gawk:
13463 @if gawk
13464 maybe-TAGS-gawk: TAGS-gawk
13466 TAGS-gawk: \
13467 configure-gawk
13468 @: $(MAKE); $(unstage)
13469 @[ -f ./gawk/Makefile ] || exit 0; \
13470 r=`${PWD_COMMAND}`; export r; \
13471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13472 $(HOST_EXPORTS) \
13473 for flag in $(EXTRA_HOST_FLAGS) ; do \
13474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13475 done; \
13476 echo "Doing TAGS in gawk" ; \
13477 (cd $(HOST_SUBDIR)/gawk && \
13478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13480 "RANLIB=$${RANLIB}" \
13481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13482 TAGS) \
13483 || exit 1
13485 @endif gawk
13487 .PHONY: maybe-install-info-gawk install-info-gawk
13488 maybe-install-info-gawk:
13489 @if gawk
13490 maybe-install-info-gawk: install-info-gawk
13492 install-info-gawk: \
13493 configure-gawk \
13494 info-gawk
13495 @: $(MAKE); $(unstage)
13496 @[ -f ./gawk/Makefile ] || exit 0; \
13497 r=`${PWD_COMMAND}`; export r; \
13498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13499 $(HOST_EXPORTS) \
13500 for flag in $(EXTRA_HOST_FLAGS) ; do \
13501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13502 done; \
13503 echo "Doing install-info in gawk" ; \
13504 (cd $(HOST_SUBDIR)/gawk && \
13505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13507 "RANLIB=$${RANLIB}" \
13508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13509 install-info) \
13510 || exit 1
13512 @endif gawk
13514 .PHONY: maybe-install-html-gawk install-html-gawk
13515 maybe-install-html-gawk:
13516 @if gawk
13517 maybe-install-html-gawk: install-html-gawk
13519 install-html-gawk: \
13520 configure-gawk \
13521 html-gawk
13522 @: $(MAKE); $(unstage)
13523 @[ -f ./gawk/Makefile ] || exit 0; \
13524 r=`${PWD_COMMAND}`; export r; \
13525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13526 $(HOST_EXPORTS) \
13527 for flag in $(EXTRA_HOST_FLAGS) ; do \
13528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13529 done; \
13530 echo "Doing install-html in gawk" ; \
13531 (cd $(HOST_SUBDIR)/gawk && \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13534 "RANLIB=$${RANLIB}" \
13535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13536 install-html) \
13537 || exit 1
13539 @endif gawk
13541 .PHONY: maybe-installcheck-gawk installcheck-gawk
13542 maybe-installcheck-gawk:
13543 @if gawk
13544 maybe-installcheck-gawk: installcheck-gawk
13546 installcheck-gawk: \
13547 configure-gawk
13548 @: $(MAKE); $(unstage)
13549 @[ -f ./gawk/Makefile ] || exit 0; \
13550 r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 $(HOST_EXPORTS) \
13553 for flag in $(EXTRA_HOST_FLAGS) ; do \
13554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13555 done; \
13556 echo "Doing installcheck in gawk" ; \
13557 (cd $(HOST_SUBDIR)/gawk && \
13558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13560 "RANLIB=$${RANLIB}" \
13561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13562 installcheck) \
13563 || exit 1
13565 @endif gawk
13567 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13568 maybe-mostlyclean-gawk:
13569 @if gawk
13570 maybe-mostlyclean-gawk: mostlyclean-gawk
13572 mostlyclean-gawk:
13573 @: $(MAKE); $(unstage)
13574 @[ -f ./gawk/Makefile ] || exit 0; \
13575 r=`${PWD_COMMAND}`; export r; \
13576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577 $(HOST_EXPORTS) \
13578 for flag in $(EXTRA_HOST_FLAGS) ; do \
13579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13580 done; \
13581 echo "Doing mostlyclean in gawk" ; \
13582 (cd $(HOST_SUBDIR)/gawk && \
13583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13585 "RANLIB=$${RANLIB}" \
13586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13587 mostlyclean) \
13588 || exit 1
13590 @endif gawk
13592 .PHONY: maybe-clean-gawk clean-gawk
13593 maybe-clean-gawk:
13594 @if gawk
13595 maybe-clean-gawk: clean-gawk
13597 clean-gawk:
13598 @: $(MAKE); $(unstage)
13599 @[ -f ./gawk/Makefile ] || exit 0; \
13600 r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13602 $(HOST_EXPORTS) \
13603 for flag in $(EXTRA_HOST_FLAGS) ; do \
13604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13605 done; \
13606 echo "Doing clean in gawk" ; \
13607 (cd $(HOST_SUBDIR)/gawk && \
13608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13610 "RANLIB=$${RANLIB}" \
13611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13612 clean) \
13613 || exit 1
13615 @endif gawk
13617 .PHONY: maybe-distclean-gawk distclean-gawk
13618 maybe-distclean-gawk:
13619 @if gawk
13620 maybe-distclean-gawk: distclean-gawk
13622 distclean-gawk:
13623 @: $(MAKE); $(unstage)
13624 @[ -f ./gawk/Makefile ] || exit 0; \
13625 r=`${PWD_COMMAND}`; export r; \
13626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13627 $(HOST_EXPORTS) \
13628 for flag in $(EXTRA_HOST_FLAGS) ; do \
13629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13630 done; \
13631 echo "Doing distclean in gawk" ; \
13632 (cd $(HOST_SUBDIR)/gawk && \
13633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13635 "RANLIB=$${RANLIB}" \
13636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13637 distclean) \
13638 || exit 1
13640 @endif gawk
13642 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13643 maybe-maintainer-clean-gawk:
13644 @if gawk
13645 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13647 maintainer-clean-gawk:
13648 @: $(MAKE); $(unstage)
13649 @[ -f ./gawk/Makefile ] || exit 0; \
13650 r=`${PWD_COMMAND}`; export r; \
13651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 $(HOST_EXPORTS) \
13653 for flag in $(EXTRA_HOST_FLAGS) ; do \
13654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13655 done; \
13656 echo "Doing maintainer-clean in gawk" ; \
13657 (cd $(HOST_SUBDIR)/gawk && \
13658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13660 "RANLIB=$${RANLIB}" \
13661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13662 maintainer-clean) \
13663 || exit 1
13665 @endif gawk
13669 .PHONY: configure-gettext maybe-configure-gettext
13670 maybe-configure-gettext:
13671 @if gcc-bootstrap
13672 configure-gettext: stage_current
13673 @endif gcc-bootstrap
13674 @if gettext
13675 maybe-configure-gettext: configure-gettext
13676 configure-gettext:
13677 @: $(MAKE); $(unstage)
13678 @r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13682 $(HOST_EXPORTS) \
13683 echo Configuring in $(HOST_SUBDIR)/gettext; \
13684 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13685 case $(srcdir) in \
13686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13687 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13689 esac; \
13690 srcdiroption="--srcdir=$${topdir}/gettext"; \
13691 libsrcdir="$$s/gettext"; \
13692 $(SHELL) $${libsrcdir}/configure \
13693 $(HOST_CONFIGARGS) $${srcdiroption} \
13694 || exit 1
13695 @endif gettext
13701 .PHONY: all-gettext maybe-all-gettext
13702 maybe-all-gettext:
13703 @if gcc-bootstrap
13704 all-gettext: stage_current
13705 @endif gcc-bootstrap
13706 @if gettext
13707 TARGET-gettext=all
13708 maybe-all-gettext: all-gettext
13709 all-gettext: configure-gettext
13710 @: $(MAKE); $(unstage)
13711 @r=`${PWD_COMMAND}`; export r; \
13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13713 $(HOST_EXPORTS) \
13714 (cd $(HOST_SUBDIR)/gettext && \
13715 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13716 @endif gettext
13721 .PHONY: check-gettext maybe-check-gettext
13722 maybe-check-gettext:
13723 @if gettext
13724 maybe-check-gettext: check-gettext
13726 check-gettext:
13727 @: $(MAKE); $(unstage)
13728 @r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730 $(HOST_EXPORTS) \
13731 (cd $(HOST_SUBDIR)/gettext && \
13732 $(MAKE) $(FLAGS_TO_PASS) check)
13734 @endif gettext
13736 .PHONY: install-gettext maybe-install-gettext
13737 maybe-install-gettext:
13738 @if gettext
13739 maybe-install-gettext: install-gettext
13741 install-gettext: installdirs
13742 @: $(MAKE); $(unstage)
13743 @r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 $(HOST_EXPORTS) \
13746 (cd $(HOST_SUBDIR)/gettext && \
13747 $(MAKE) $(FLAGS_TO_PASS) install)
13749 @endif gettext
13751 # Other targets (info, dvi, pdf, etc.)
13753 .PHONY: maybe-info-gettext info-gettext
13754 maybe-info-gettext:
13755 @if gettext
13756 maybe-info-gettext: info-gettext
13758 info-gettext: \
13759 configure-gettext
13760 @: $(MAKE); $(unstage)
13761 @[ -f ./gettext/Makefile ] || exit 0; \
13762 r=`${PWD_COMMAND}`; export r; \
13763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13764 $(HOST_EXPORTS) \
13765 for flag in $(EXTRA_HOST_FLAGS) ; do \
13766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13767 done; \
13768 echo "Doing info in gettext" ; \
13769 (cd $(HOST_SUBDIR)/gettext && \
13770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13772 "RANLIB=$${RANLIB}" \
13773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13774 info) \
13775 || exit 1
13777 @endif gettext
13779 .PHONY: maybe-dvi-gettext dvi-gettext
13780 maybe-dvi-gettext:
13781 @if gettext
13782 maybe-dvi-gettext: dvi-gettext
13784 dvi-gettext: \
13785 configure-gettext
13786 @: $(MAKE); $(unstage)
13787 @[ -f ./gettext/Makefile ] || exit 0; \
13788 r=`${PWD_COMMAND}`; export r; \
13789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13790 $(HOST_EXPORTS) \
13791 for flag in $(EXTRA_HOST_FLAGS) ; do \
13792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13793 done; \
13794 echo "Doing dvi in gettext" ; \
13795 (cd $(HOST_SUBDIR)/gettext && \
13796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13798 "RANLIB=$${RANLIB}" \
13799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13800 dvi) \
13801 || exit 1
13803 @endif gettext
13805 .PHONY: maybe-pdf-gettext pdf-gettext
13806 maybe-pdf-gettext:
13807 @if gettext
13808 maybe-pdf-gettext: pdf-gettext
13810 pdf-gettext: \
13811 configure-gettext
13812 @: $(MAKE); $(unstage)
13813 @[ -f ./gettext/Makefile ] || exit 0; \
13814 r=`${PWD_COMMAND}`; export r; \
13815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13816 $(HOST_EXPORTS) \
13817 for flag in $(EXTRA_HOST_FLAGS) ; do \
13818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13819 done; \
13820 echo "Doing pdf in gettext" ; \
13821 (cd $(HOST_SUBDIR)/gettext && \
13822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13824 "RANLIB=$${RANLIB}" \
13825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13826 pdf) \
13827 || exit 1
13829 @endif gettext
13831 .PHONY: maybe-html-gettext html-gettext
13832 maybe-html-gettext:
13833 @if gettext
13834 maybe-html-gettext: html-gettext
13836 html-gettext: \
13837 configure-gettext
13838 @: $(MAKE); $(unstage)
13839 @[ -f ./gettext/Makefile ] || exit 0; \
13840 r=`${PWD_COMMAND}`; export r; \
13841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13842 $(HOST_EXPORTS) \
13843 for flag in $(EXTRA_HOST_FLAGS) ; do \
13844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13845 done; \
13846 echo "Doing html in gettext" ; \
13847 (cd $(HOST_SUBDIR)/gettext && \
13848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13850 "RANLIB=$${RANLIB}" \
13851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13852 html) \
13853 || exit 1
13855 @endif gettext
13857 .PHONY: maybe-TAGS-gettext TAGS-gettext
13858 maybe-TAGS-gettext:
13859 @if gettext
13860 maybe-TAGS-gettext: TAGS-gettext
13862 TAGS-gettext: \
13863 configure-gettext
13864 @: $(MAKE); $(unstage)
13865 @[ -f ./gettext/Makefile ] || exit 0; \
13866 r=`${PWD_COMMAND}`; export r; \
13867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13868 $(HOST_EXPORTS) \
13869 for flag in $(EXTRA_HOST_FLAGS) ; do \
13870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13871 done; \
13872 echo "Doing TAGS in gettext" ; \
13873 (cd $(HOST_SUBDIR)/gettext && \
13874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13876 "RANLIB=$${RANLIB}" \
13877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13878 TAGS) \
13879 || exit 1
13881 @endif gettext
13883 .PHONY: maybe-install-info-gettext install-info-gettext
13884 maybe-install-info-gettext:
13885 @if gettext
13886 maybe-install-info-gettext: install-info-gettext
13888 install-info-gettext: \
13889 configure-gettext \
13890 info-gettext
13891 @: $(MAKE); $(unstage)
13892 @[ -f ./gettext/Makefile ] || exit 0; \
13893 r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13895 $(HOST_EXPORTS) \
13896 for flag in $(EXTRA_HOST_FLAGS) ; do \
13897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13898 done; \
13899 echo "Doing install-info in gettext" ; \
13900 (cd $(HOST_SUBDIR)/gettext && \
13901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13903 "RANLIB=$${RANLIB}" \
13904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13905 install-info) \
13906 || exit 1
13908 @endif gettext
13910 .PHONY: maybe-install-html-gettext install-html-gettext
13911 maybe-install-html-gettext:
13912 @if gettext
13913 maybe-install-html-gettext: install-html-gettext
13915 install-html-gettext: \
13916 configure-gettext \
13917 html-gettext
13918 @: $(MAKE); $(unstage)
13919 @[ -f ./gettext/Makefile ] || exit 0; \
13920 r=`${PWD_COMMAND}`; export r; \
13921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13922 $(HOST_EXPORTS) \
13923 for flag in $(EXTRA_HOST_FLAGS) ; do \
13924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13925 done; \
13926 echo "Doing install-html in gettext" ; \
13927 (cd $(HOST_SUBDIR)/gettext && \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13930 "RANLIB=$${RANLIB}" \
13931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13932 install-html) \
13933 || exit 1
13935 @endif gettext
13937 .PHONY: maybe-installcheck-gettext installcheck-gettext
13938 maybe-installcheck-gettext:
13939 @if gettext
13940 maybe-installcheck-gettext: installcheck-gettext
13942 installcheck-gettext: \
13943 configure-gettext
13944 @: $(MAKE); $(unstage)
13945 @[ -f ./gettext/Makefile ] || exit 0; \
13946 r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13948 $(HOST_EXPORTS) \
13949 for flag in $(EXTRA_HOST_FLAGS) ; do \
13950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13951 done; \
13952 echo "Doing installcheck in gettext" ; \
13953 (cd $(HOST_SUBDIR)/gettext && \
13954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13956 "RANLIB=$${RANLIB}" \
13957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13958 installcheck) \
13959 || exit 1
13961 @endif gettext
13963 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13964 maybe-mostlyclean-gettext:
13965 @if gettext
13966 maybe-mostlyclean-gettext: mostlyclean-gettext
13968 mostlyclean-gettext:
13969 @: $(MAKE); $(unstage)
13970 @[ -f ./gettext/Makefile ] || exit 0; \
13971 r=`${PWD_COMMAND}`; export r; \
13972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13973 $(HOST_EXPORTS) \
13974 for flag in $(EXTRA_HOST_FLAGS) ; do \
13975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13976 done; \
13977 echo "Doing mostlyclean in gettext" ; \
13978 (cd $(HOST_SUBDIR)/gettext && \
13979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13981 "RANLIB=$${RANLIB}" \
13982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13983 mostlyclean) \
13984 || exit 1
13986 @endif gettext
13988 .PHONY: maybe-clean-gettext clean-gettext
13989 maybe-clean-gettext:
13990 @if gettext
13991 maybe-clean-gettext: clean-gettext
13993 clean-gettext:
13994 @: $(MAKE); $(unstage)
13995 @[ -f ./gettext/Makefile ] || exit 0; \
13996 r=`${PWD_COMMAND}`; export r; \
13997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13998 $(HOST_EXPORTS) \
13999 for flag in $(EXTRA_HOST_FLAGS) ; do \
14000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14001 done; \
14002 echo "Doing clean in gettext" ; \
14003 (cd $(HOST_SUBDIR)/gettext && \
14004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14006 "RANLIB=$${RANLIB}" \
14007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14008 clean) \
14009 || exit 1
14011 @endif gettext
14013 .PHONY: maybe-distclean-gettext distclean-gettext
14014 maybe-distclean-gettext:
14015 @if gettext
14016 maybe-distclean-gettext: distclean-gettext
14018 distclean-gettext:
14019 @: $(MAKE); $(unstage)
14020 @[ -f ./gettext/Makefile ] || exit 0; \
14021 r=`${PWD_COMMAND}`; export r; \
14022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14023 $(HOST_EXPORTS) \
14024 for flag in $(EXTRA_HOST_FLAGS) ; do \
14025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14026 done; \
14027 echo "Doing distclean in gettext" ; \
14028 (cd $(HOST_SUBDIR)/gettext && \
14029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14031 "RANLIB=$${RANLIB}" \
14032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14033 distclean) \
14034 || exit 1
14036 @endif gettext
14038 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14039 maybe-maintainer-clean-gettext:
14040 @if gettext
14041 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14043 maintainer-clean-gettext:
14044 @: $(MAKE); $(unstage)
14045 @[ -f ./gettext/Makefile ] || exit 0; \
14046 r=`${PWD_COMMAND}`; export r; \
14047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14048 $(HOST_EXPORTS) \
14049 for flag in $(EXTRA_HOST_FLAGS) ; do \
14050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14051 done; \
14052 echo "Doing maintainer-clean in gettext" ; \
14053 (cd $(HOST_SUBDIR)/gettext && \
14054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14056 "RANLIB=$${RANLIB}" \
14057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14058 maintainer-clean) \
14059 || exit 1
14061 @endif gettext
14065 .PHONY: configure-gnuserv maybe-configure-gnuserv
14066 maybe-configure-gnuserv:
14067 @if gcc-bootstrap
14068 configure-gnuserv: stage_current
14069 @endif gcc-bootstrap
14070 @if gnuserv
14071 maybe-configure-gnuserv: configure-gnuserv
14072 configure-gnuserv:
14073 @: $(MAKE); $(unstage)
14074 @r=`${PWD_COMMAND}`; export r; \
14075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
14077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
14078 $(HOST_EXPORTS) \
14079 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
14080 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
14081 case $(srcdir) in \
14082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14083 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
14084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14085 esac; \
14086 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
14087 libsrcdir="$$s/gnuserv"; \
14088 $(SHELL) $${libsrcdir}/configure \
14089 $(HOST_CONFIGARGS) $${srcdiroption} \
14090 || exit 1
14091 @endif gnuserv
14097 .PHONY: all-gnuserv maybe-all-gnuserv
14098 maybe-all-gnuserv:
14099 @if gcc-bootstrap
14100 all-gnuserv: stage_current
14101 @endif gcc-bootstrap
14102 @if gnuserv
14103 TARGET-gnuserv=all
14104 maybe-all-gnuserv: all-gnuserv
14105 all-gnuserv: configure-gnuserv
14106 @: $(MAKE); $(unstage)
14107 @r=`${PWD_COMMAND}`; export r; \
14108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14109 $(HOST_EXPORTS) \
14110 (cd $(HOST_SUBDIR)/gnuserv && \
14111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14112 @endif gnuserv
14117 .PHONY: check-gnuserv maybe-check-gnuserv
14118 maybe-check-gnuserv:
14119 @if gnuserv
14120 maybe-check-gnuserv: check-gnuserv
14122 check-gnuserv:
14123 @: $(MAKE); $(unstage)
14124 @r=`${PWD_COMMAND}`; export r; \
14125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14126 $(HOST_EXPORTS) \
14127 (cd $(HOST_SUBDIR)/gnuserv && \
14128 $(MAKE) $(FLAGS_TO_PASS) check)
14130 @endif gnuserv
14132 .PHONY: install-gnuserv maybe-install-gnuserv
14133 maybe-install-gnuserv:
14134 @if gnuserv
14135 maybe-install-gnuserv: install-gnuserv
14137 install-gnuserv: installdirs
14138 @: $(MAKE); $(unstage)
14139 @r=`${PWD_COMMAND}`; export r; \
14140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14141 $(HOST_EXPORTS) \
14142 (cd $(HOST_SUBDIR)/gnuserv && \
14143 $(MAKE) $(FLAGS_TO_PASS) install)
14145 @endif gnuserv
14147 # Other targets (info, dvi, pdf, etc.)
14149 .PHONY: maybe-info-gnuserv info-gnuserv
14150 maybe-info-gnuserv:
14151 @if gnuserv
14152 maybe-info-gnuserv: info-gnuserv
14154 info-gnuserv: \
14155 configure-gnuserv
14156 @: $(MAKE); $(unstage)
14157 @[ -f ./gnuserv/Makefile ] || exit 0; \
14158 r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 $(HOST_EXPORTS) \
14161 for flag in $(EXTRA_HOST_FLAGS) ; do \
14162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14163 done; \
14164 echo "Doing info in gnuserv" ; \
14165 (cd $(HOST_SUBDIR)/gnuserv && \
14166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14168 "RANLIB=$${RANLIB}" \
14169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14170 info) \
14171 || exit 1
14173 @endif gnuserv
14175 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14176 maybe-dvi-gnuserv:
14177 @if gnuserv
14178 maybe-dvi-gnuserv: dvi-gnuserv
14180 dvi-gnuserv: \
14181 configure-gnuserv
14182 @: $(MAKE); $(unstage)
14183 @[ -f ./gnuserv/Makefile ] || exit 0; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 $(HOST_EXPORTS) \
14187 for flag in $(EXTRA_HOST_FLAGS) ; do \
14188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14189 done; \
14190 echo "Doing dvi in gnuserv" ; \
14191 (cd $(HOST_SUBDIR)/gnuserv && \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14194 "RANLIB=$${RANLIB}" \
14195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14196 dvi) \
14197 || exit 1
14199 @endif gnuserv
14201 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14202 maybe-pdf-gnuserv:
14203 @if gnuserv
14204 maybe-pdf-gnuserv: pdf-gnuserv
14206 pdf-gnuserv: \
14207 configure-gnuserv
14208 @: $(MAKE); $(unstage)
14209 @[ -f ./gnuserv/Makefile ] || exit 0; \
14210 r=`${PWD_COMMAND}`; export r; \
14211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14212 $(HOST_EXPORTS) \
14213 for flag in $(EXTRA_HOST_FLAGS) ; do \
14214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14215 done; \
14216 echo "Doing pdf in gnuserv" ; \
14217 (cd $(HOST_SUBDIR)/gnuserv && \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14220 "RANLIB=$${RANLIB}" \
14221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14222 pdf) \
14223 || exit 1
14225 @endif gnuserv
14227 .PHONY: maybe-html-gnuserv html-gnuserv
14228 maybe-html-gnuserv:
14229 @if gnuserv
14230 maybe-html-gnuserv: html-gnuserv
14232 html-gnuserv: \
14233 configure-gnuserv
14234 @: $(MAKE); $(unstage)
14235 @[ -f ./gnuserv/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(HOST_EXPORTS) \
14239 for flag in $(EXTRA_HOST_FLAGS) ; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241 done; \
14242 echo "Doing html in gnuserv" ; \
14243 (cd $(HOST_SUBDIR)/gnuserv && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14248 html) \
14249 || exit 1
14251 @endif gnuserv
14253 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14254 maybe-TAGS-gnuserv:
14255 @if gnuserv
14256 maybe-TAGS-gnuserv: TAGS-gnuserv
14258 TAGS-gnuserv: \
14259 configure-gnuserv
14260 @: $(MAKE); $(unstage)
14261 @[ -f ./gnuserv/Makefile ] || exit 0; \
14262 r=`${PWD_COMMAND}`; export r; \
14263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14264 $(HOST_EXPORTS) \
14265 for flag in $(EXTRA_HOST_FLAGS) ; do \
14266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14267 done; \
14268 echo "Doing TAGS in gnuserv" ; \
14269 (cd $(HOST_SUBDIR)/gnuserv && \
14270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14272 "RANLIB=$${RANLIB}" \
14273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14274 TAGS) \
14275 || exit 1
14277 @endif gnuserv
14279 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14280 maybe-install-info-gnuserv:
14281 @if gnuserv
14282 maybe-install-info-gnuserv: install-info-gnuserv
14284 install-info-gnuserv: \
14285 configure-gnuserv \
14286 info-gnuserv
14287 @: $(MAKE); $(unstage)
14288 @[ -f ./gnuserv/Makefile ] || exit 0; \
14289 r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 $(HOST_EXPORTS) \
14292 for flag in $(EXTRA_HOST_FLAGS) ; do \
14293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14294 done; \
14295 echo "Doing install-info in gnuserv" ; \
14296 (cd $(HOST_SUBDIR)/gnuserv && \
14297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14299 "RANLIB=$${RANLIB}" \
14300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14301 install-info) \
14302 || exit 1
14304 @endif gnuserv
14306 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14307 maybe-install-html-gnuserv:
14308 @if gnuserv
14309 maybe-install-html-gnuserv: install-html-gnuserv
14311 install-html-gnuserv: \
14312 configure-gnuserv \
14313 html-gnuserv
14314 @: $(MAKE); $(unstage)
14315 @[ -f ./gnuserv/Makefile ] || exit 0; \
14316 r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 $(HOST_EXPORTS) \
14319 for flag in $(EXTRA_HOST_FLAGS) ; do \
14320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14321 done; \
14322 echo "Doing install-html in gnuserv" ; \
14323 (cd $(HOST_SUBDIR)/gnuserv && \
14324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14326 "RANLIB=$${RANLIB}" \
14327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14328 install-html) \
14329 || exit 1
14331 @endif gnuserv
14333 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14334 maybe-installcheck-gnuserv:
14335 @if gnuserv
14336 maybe-installcheck-gnuserv: installcheck-gnuserv
14338 installcheck-gnuserv: \
14339 configure-gnuserv
14340 @: $(MAKE); $(unstage)
14341 @[ -f ./gnuserv/Makefile ] || exit 0; \
14342 r=`${PWD_COMMAND}`; export r; \
14343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 $(HOST_EXPORTS) \
14345 for flag in $(EXTRA_HOST_FLAGS) ; do \
14346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 done; \
14348 echo "Doing installcheck in gnuserv" ; \
14349 (cd $(HOST_SUBDIR)/gnuserv && \
14350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14352 "RANLIB=$${RANLIB}" \
14353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14354 installcheck) \
14355 || exit 1
14357 @endif gnuserv
14359 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14360 maybe-mostlyclean-gnuserv:
14361 @if gnuserv
14362 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14364 mostlyclean-gnuserv:
14365 @: $(MAKE); $(unstage)
14366 @[ -f ./gnuserv/Makefile ] || exit 0; \
14367 r=`${PWD_COMMAND}`; export r; \
14368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14369 $(HOST_EXPORTS) \
14370 for flag in $(EXTRA_HOST_FLAGS) ; do \
14371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14372 done; \
14373 echo "Doing mostlyclean in gnuserv" ; \
14374 (cd $(HOST_SUBDIR)/gnuserv && \
14375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14377 "RANLIB=$${RANLIB}" \
14378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14379 mostlyclean) \
14380 || exit 1
14382 @endif gnuserv
14384 .PHONY: maybe-clean-gnuserv clean-gnuserv
14385 maybe-clean-gnuserv:
14386 @if gnuserv
14387 maybe-clean-gnuserv: clean-gnuserv
14389 clean-gnuserv:
14390 @: $(MAKE); $(unstage)
14391 @[ -f ./gnuserv/Makefile ] || exit 0; \
14392 r=`${PWD_COMMAND}`; export r; \
14393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 $(HOST_EXPORTS) \
14395 for flag in $(EXTRA_HOST_FLAGS) ; do \
14396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14397 done; \
14398 echo "Doing clean in gnuserv" ; \
14399 (cd $(HOST_SUBDIR)/gnuserv && \
14400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14402 "RANLIB=$${RANLIB}" \
14403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14404 clean) \
14405 || exit 1
14407 @endif gnuserv
14409 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14410 maybe-distclean-gnuserv:
14411 @if gnuserv
14412 maybe-distclean-gnuserv: distclean-gnuserv
14414 distclean-gnuserv:
14415 @: $(MAKE); $(unstage)
14416 @[ -f ./gnuserv/Makefile ] || exit 0; \
14417 r=`${PWD_COMMAND}`; export r; \
14418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 $(HOST_EXPORTS) \
14420 for flag in $(EXTRA_HOST_FLAGS) ; do \
14421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14422 done; \
14423 echo "Doing distclean in gnuserv" ; \
14424 (cd $(HOST_SUBDIR)/gnuserv && \
14425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14427 "RANLIB=$${RANLIB}" \
14428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14429 distclean) \
14430 || exit 1
14432 @endif gnuserv
14434 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14435 maybe-maintainer-clean-gnuserv:
14436 @if gnuserv
14437 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14439 maintainer-clean-gnuserv:
14440 @: $(MAKE); $(unstage)
14441 @[ -f ./gnuserv/Makefile ] || exit 0; \
14442 r=`${PWD_COMMAND}`; export r; \
14443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14444 $(HOST_EXPORTS) \
14445 for flag in $(EXTRA_HOST_FLAGS) ; do \
14446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14447 done; \
14448 echo "Doing maintainer-clean in gnuserv" ; \
14449 (cd $(HOST_SUBDIR)/gnuserv && \
14450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14452 "RANLIB=$${RANLIB}" \
14453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14454 maintainer-clean) \
14455 || exit 1
14457 @endif gnuserv
14461 .PHONY: configure-gprof maybe-configure-gprof
14462 maybe-configure-gprof:
14463 @if gcc-bootstrap
14464 configure-gprof: stage_current
14465 @endif gcc-bootstrap
14466 @if gprof
14467 maybe-configure-gprof: configure-gprof
14468 configure-gprof:
14469 @: $(MAKE); $(unstage)
14470 @r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14474 $(HOST_EXPORTS) \
14475 echo Configuring in $(HOST_SUBDIR)/gprof; \
14476 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14477 case $(srcdir) in \
14478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14479 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14481 esac; \
14482 srcdiroption="--srcdir=$${topdir}/gprof"; \
14483 libsrcdir="$$s/gprof"; \
14484 $(SHELL) $${libsrcdir}/configure \
14485 $(HOST_CONFIGARGS) $${srcdiroption} \
14486 || exit 1
14487 @endif gprof
14493 .PHONY: all-gprof maybe-all-gprof
14494 maybe-all-gprof:
14495 @if gcc-bootstrap
14496 all-gprof: stage_current
14497 @endif gcc-bootstrap
14498 @if gprof
14499 TARGET-gprof=all
14500 maybe-all-gprof: all-gprof
14501 all-gprof: configure-gprof
14502 @: $(MAKE); $(unstage)
14503 @r=`${PWD_COMMAND}`; export r; \
14504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14505 $(HOST_EXPORTS) \
14506 (cd $(HOST_SUBDIR)/gprof && \
14507 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14508 @endif gprof
14513 .PHONY: check-gprof maybe-check-gprof
14514 maybe-check-gprof:
14515 @if gprof
14516 maybe-check-gprof: check-gprof
14518 check-gprof:
14519 @: $(MAKE); $(unstage)
14520 @r=`${PWD_COMMAND}`; export r; \
14521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14522 $(HOST_EXPORTS) \
14523 (cd $(HOST_SUBDIR)/gprof && \
14524 $(MAKE) $(FLAGS_TO_PASS) check)
14526 @endif gprof
14528 .PHONY: install-gprof maybe-install-gprof
14529 maybe-install-gprof:
14530 @if gprof
14531 maybe-install-gprof: install-gprof
14533 install-gprof: installdirs
14534 @: $(MAKE); $(unstage)
14535 @r=`${PWD_COMMAND}`; export r; \
14536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14537 $(HOST_EXPORTS) \
14538 (cd $(HOST_SUBDIR)/gprof && \
14539 $(MAKE) $(FLAGS_TO_PASS) install)
14541 @endif gprof
14543 # Other targets (info, dvi, pdf, etc.)
14545 .PHONY: maybe-info-gprof info-gprof
14546 maybe-info-gprof:
14547 @if gprof
14548 maybe-info-gprof: info-gprof
14550 info-gprof: \
14551 configure-gprof
14552 @: $(MAKE); $(unstage)
14553 @[ -f ./gprof/Makefile ] || exit 0; \
14554 r=`${PWD_COMMAND}`; export r; \
14555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14556 $(HOST_EXPORTS) \
14557 for flag in $(EXTRA_HOST_FLAGS) ; do \
14558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14559 done; \
14560 echo "Doing info in gprof" ; \
14561 (cd $(HOST_SUBDIR)/gprof && \
14562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14564 "RANLIB=$${RANLIB}" \
14565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14566 info) \
14567 || exit 1
14569 @endif gprof
14571 .PHONY: maybe-dvi-gprof dvi-gprof
14572 maybe-dvi-gprof:
14573 @if gprof
14574 maybe-dvi-gprof: dvi-gprof
14576 dvi-gprof: \
14577 configure-gprof
14578 @: $(MAKE); $(unstage)
14579 @[ -f ./gprof/Makefile ] || exit 0; \
14580 r=`${PWD_COMMAND}`; export r; \
14581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14582 $(HOST_EXPORTS) \
14583 for flag in $(EXTRA_HOST_FLAGS) ; do \
14584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14585 done; \
14586 echo "Doing dvi in gprof" ; \
14587 (cd $(HOST_SUBDIR)/gprof && \
14588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14590 "RANLIB=$${RANLIB}" \
14591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14592 dvi) \
14593 || exit 1
14595 @endif gprof
14597 .PHONY: maybe-pdf-gprof pdf-gprof
14598 maybe-pdf-gprof:
14599 @if gprof
14600 maybe-pdf-gprof: pdf-gprof
14602 pdf-gprof: \
14603 configure-gprof
14604 @: $(MAKE); $(unstage)
14605 @[ -f ./gprof/Makefile ] || exit 0; \
14606 r=`${PWD_COMMAND}`; export r; \
14607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14608 $(HOST_EXPORTS) \
14609 for flag in $(EXTRA_HOST_FLAGS) ; do \
14610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14611 done; \
14612 echo "Doing pdf in gprof" ; \
14613 (cd $(HOST_SUBDIR)/gprof && \
14614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14616 "RANLIB=$${RANLIB}" \
14617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14618 pdf) \
14619 || exit 1
14621 @endif gprof
14623 .PHONY: maybe-html-gprof html-gprof
14624 maybe-html-gprof:
14625 @if gprof
14626 maybe-html-gprof: html-gprof
14628 html-gprof: \
14629 configure-gprof
14630 @: $(MAKE); $(unstage)
14631 @[ -f ./gprof/Makefile ] || exit 0; \
14632 r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14634 $(HOST_EXPORTS) \
14635 for flag in $(EXTRA_HOST_FLAGS) ; do \
14636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14637 done; \
14638 echo "Doing html in gprof" ; \
14639 (cd $(HOST_SUBDIR)/gprof && \
14640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14642 "RANLIB=$${RANLIB}" \
14643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14644 html) \
14645 || exit 1
14647 @endif gprof
14649 .PHONY: maybe-TAGS-gprof TAGS-gprof
14650 maybe-TAGS-gprof:
14651 @if gprof
14652 maybe-TAGS-gprof: TAGS-gprof
14654 TAGS-gprof: \
14655 configure-gprof
14656 @: $(MAKE); $(unstage)
14657 @[ -f ./gprof/Makefile ] || exit 0; \
14658 r=`${PWD_COMMAND}`; export r; \
14659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14660 $(HOST_EXPORTS) \
14661 for flag in $(EXTRA_HOST_FLAGS) ; do \
14662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14663 done; \
14664 echo "Doing TAGS in gprof" ; \
14665 (cd $(HOST_SUBDIR)/gprof && \
14666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14668 "RANLIB=$${RANLIB}" \
14669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14670 TAGS) \
14671 || exit 1
14673 @endif gprof
14675 .PHONY: maybe-install-info-gprof install-info-gprof
14676 maybe-install-info-gprof:
14677 @if gprof
14678 maybe-install-info-gprof: install-info-gprof
14680 install-info-gprof: \
14681 configure-gprof \
14682 info-gprof
14683 @: $(MAKE); $(unstage)
14684 @[ -f ./gprof/Makefile ] || exit 0; \
14685 r=`${PWD_COMMAND}`; export r; \
14686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 $(HOST_EXPORTS) \
14688 for flag in $(EXTRA_HOST_FLAGS) ; do \
14689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14690 done; \
14691 echo "Doing install-info in gprof" ; \
14692 (cd $(HOST_SUBDIR)/gprof && \
14693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14695 "RANLIB=$${RANLIB}" \
14696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14697 install-info) \
14698 || exit 1
14700 @endif gprof
14702 .PHONY: maybe-install-html-gprof install-html-gprof
14703 maybe-install-html-gprof:
14704 @if gprof
14705 maybe-install-html-gprof: install-html-gprof
14707 install-html-gprof: \
14708 configure-gprof \
14709 html-gprof
14710 @: $(MAKE); $(unstage)
14711 @[ -f ./gprof/Makefile ] || exit 0; \
14712 r=`${PWD_COMMAND}`; export r; \
14713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14714 $(HOST_EXPORTS) \
14715 for flag in $(EXTRA_HOST_FLAGS) ; do \
14716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14717 done; \
14718 echo "Doing install-html in gprof" ; \
14719 (cd $(HOST_SUBDIR)/gprof && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14722 "RANLIB=$${RANLIB}" \
14723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14724 install-html) \
14725 || exit 1
14727 @endif gprof
14729 .PHONY: maybe-installcheck-gprof installcheck-gprof
14730 maybe-installcheck-gprof:
14731 @if gprof
14732 maybe-installcheck-gprof: installcheck-gprof
14734 installcheck-gprof: \
14735 configure-gprof
14736 @: $(MAKE); $(unstage)
14737 @[ -f ./gprof/Makefile ] || exit 0; \
14738 r=`${PWD_COMMAND}`; export r; \
14739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14740 $(HOST_EXPORTS) \
14741 for flag in $(EXTRA_HOST_FLAGS) ; do \
14742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14743 done; \
14744 echo "Doing installcheck in gprof" ; \
14745 (cd $(HOST_SUBDIR)/gprof && \
14746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14748 "RANLIB=$${RANLIB}" \
14749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14750 installcheck) \
14751 || exit 1
14753 @endif gprof
14755 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14756 maybe-mostlyclean-gprof:
14757 @if gprof
14758 maybe-mostlyclean-gprof: mostlyclean-gprof
14760 mostlyclean-gprof:
14761 @: $(MAKE); $(unstage)
14762 @[ -f ./gprof/Makefile ] || exit 0; \
14763 r=`${PWD_COMMAND}`; export r; \
14764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14765 $(HOST_EXPORTS) \
14766 for flag in $(EXTRA_HOST_FLAGS) ; do \
14767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14768 done; \
14769 echo "Doing mostlyclean in gprof" ; \
14770 (cd $(HOST_SUBDIR)/gprof && \
14771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14773 "RANLIB=$${RANLIB}" \
14774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14775 mostlyclean) \
14776 || exit 1
14778 @endif gprof
14780 .PHONY: maybe-clean-gprof clean-gprof
14781 maybe-clean-gprof:
14782 @if gprof
14783 maybe-clean-gprof: clean-gprof
14785 clean-gprof:
14786 @: $(MAKE); $(unstage)
14787 @[ -f ./gprof/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 clean in gprof" ; \
14795 (cd $(HOST_SUBDIR)/gprof && \
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 clean) \
14801 || exit 1
14803 @endif gprof
14805 .PHONY: maybe-distclean-gprof distclean-gprof
14806 maybe-distclean-gprof:
14807 @if gprof
14808 maybe-distclean-gprof: distclean-gprof
14810 distclean-gprof:
14811 @: $(MAKE); $(unstage)
14812 @[ -f ./gprof/Makefile ] || exit 0; \
14813 r=`${PWD_COMMAND}`; export r; \
14814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14815 $(HOST_EXPORTS) \
14816 for flag in $(EXTRA_HOST_FLAGS) ; do \
14817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14818 done; \
14819 echo "Doing distclean in gprof" ; \
14820 (cd $(HOST_SUBDIR)/gprof && \
14821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14823 "RANLIB=$${RANLIB}" \
14824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14825 distclean) \
14826 || exit 1
14828 @endif gprof
14830 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14831 maybe-maintainer-clean-gprof:
14832 @if gprof
14833 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14835 maintainer-clean-gprof:
14836 @: $(MAKE); $(unstage)
14837 @[ -f ./gprof/Makefile ] || exit 0; \
14838 r=`${PWD_COMMAND}`; export r; \
14839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14840 $(HOST_EXPORTS) \
14841 for flag in $(EXTRA_HOST_FLAGS) ; do \
14842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14843 done; \
14844 echo "Doing maintainer-clean in gprof" ; \
14845 (cd $(HOST_SUBDIR)/gprof && \
14846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14848 "RANLIB=$${RANLIB}" \
14849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14850 maintainer-clean) \
14851 || exit 1
14853 @endif gprof
14857 .PHONY: configure-gzip maybe-configure-gzip
14858 maybe-configure-gzip:
14859 @if gcc-bootstrap
14860 configure-gzip: stage_current
14861 @endif gcc-bootstrap
14862 @if gzip
14863 maybe-configure-gzip: configure-gzip
14864 configure-gzip:
14865 @: $(MAKE); $(unstage)
14866 @r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14870 $(HOST_EXPORTS) \
14871 echo Configuring in $(HOST_SUBDIR)/gzip; \
14872 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14873 case $(srcdir) in \
14874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14875 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14877 esac; \
14878 srcdiroption="--srcdir=$${topdir}/gzip"; \
14879 libsrcdir="$$s/gzip"; \
14880 $(SHELL) $${libsrcdir}/configure \
14881 $(HOST_CONFIGARGS) $${srcdiroption} \
14882 || exit 1
14883 @endif gzip
14889 .PHONY: all-gzip maybe-all-gzip
14890 maybe-all-gzip:
14891 @if gcc-bootstrap
14892 all-gzip: stage_current
14893 @endif gcc-bootstrap
14894 @if gzip
14895 TARGET-gzip=all
14896 maybe-all-gzip: all-gzip
14897 all-gzip: configure-gzip
14898 @: $(MAKE); $(unstage)
14899 @r=`${PWD_COMMAND}`; export r; \
14900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14901 $(HOST_EXPORTS) \
14902 (cd $(HOST_SUBDIR)/gzip && \
14903 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14904 @endif gzip
14909 .PHONY: check-gzip maybe-check-gzip
14910 maybe-check-gzip:
14911 @if gzip
14912 maybe-check-gzip: check-gzip
14914 check-gzip:
14915 @: $(MAKE); $(unstage)
14916 @r=`${PWD_COMMAND}`; export r; \
14917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14918 $(HOST_EXPORTS) \
14919 (cd $(HOST_SUBDIR)/gzip && \
14920 $(MAKE) $(FLAGS_TO_PASS) check)
14922 @endif gzip
14924 .PHONY: install-gzip maybe-install-gzip
14925 maybe-install-gzip:
14926 @if gzip
14927 maybe-install-gzip: install-gzip
14929 install-gzip: installdirs
14930 @: $(MAKE); $(unstage)
14931 @r=`${PWD_COMMAND}`; export r; \
14932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14933 $(HOST_EXPORTS) \
14934 (cd $(HOST_SUBDIR)/gzip && \
14935 $(MAKE) $(FLAGS_TO_PASS) install)
14937 @endif gzip
14939 # Other targets (info, dvi, pdf, etc.)
14941 .PHONY: maybe-info-gzip info-gzip
14942 maybe-info-gzip:
14943 @if gzip
14944 maybe-info-gzip: info-gzip
14946 info-gzip: \
14947 configure-gzip
14948 @: $(MAKE); $(unstage)
14949 @[ -f ./gzip/Makefile ] || exit 0; \
14950 r=`${PWD_COMMAND}`; export r; \
14951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14952 $(HOST_EXPORTS) \
14953 for flag in $(EXTRA_HOST_FLAGS) ; do \
14954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14955 done; \
14956 echo "Doing info in gzip" ; \
14957 (cd $(HOST_SUBDIR)/gzip && \
14958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960 "RANLIB=$${RANLIB}" \
14961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14962 info) \
14963 || exit 1
14965 @endif gzip
14967 .PHONY: maybe-dvi-gzip dvi-gzip
14968 maybe-dvi-gzip:
14969 @if gzip
14970 maybe-dvi-gzip: dvi-gzip
14972 dvi-gzip: \
14973 configure-gzip
14974 @: $(MAKE); $(unstage)
14975 @[ -f ./gzip/Makefile ] || exit 0; \
14976 r=`${PWD_COMMAND}`; export r; \
14977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14978 $(HOST_EXPORTS) \
14979 for flag in $(EXTRA_HOST_FLAGS) ; do \
14980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14981 done; \
14982 echo "Doing dvi in gzip" ; \
14983 (cd $(HOST_SUBDIR)/gzip && \
14984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14986 "RANLIB=$${RANLIB}" \
14987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14988 dvi) \
14989 || exit 1
14991 @endif gzip
14993 .PHONY: maybe-pdf-gzip pdf-gzip
14994 maybe-pdf-gzip:
14995 @if gzip
14996 maybe-pdf-gzip: pdf-gzip
14998 pdf-gzip: \
14999 configure-gzip
15000 @: $(MAKE); $(unstage)
15001 @[ -f ./gzip/Makefile ] || exit 0; \
15002 r=`${PWD_COMMAND}`; export r; \
15003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004 $(HOST_EXPORTS) \
15005 for flag in $(EXTRA_HOST_FLAGS) ; do \
15006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15007 done; \
15008 echo "Doing pdf in gzip" ; \
15009 (cd $(HOST_SUBDIR)/gzip && \
15010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15012 "RANLIB=$${RANLIB}" \
15013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15014 pdf) \
15015 || exit 1
15017 @endif gzip
15019 .PHONY: maybe-html-gzip html-gzip
15020 maybe-html-gzip:
15021 @if gzip
15022 maybe-html-gzip: html-gzip
15024 html-gzip: \
15025 configure-gzip
15026 @: $(MAKE); $(unstage)
15027 @[ -f ./gzip/Makefile ] || exit 0; \
15028 r=`${PWD_COMMAND}`; export r; \
15029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15030 $(HOST_EXPORTS) \
15031 for flag in $(EXTRA_HOST_FLAGS) ; do \
15032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15033 done; \
15034 echo "Doing html in gzip" ; \
15035 (cd $(HOST_SUBDIR)/gzip && \
15036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15038 "RANLIB=$${RANLIB}" \
15039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15040 html) \
15041 || exit 1
15043 @endif gzip
15045 .PHONY: maybe-TAGS-gzip TAGS-gzip
15046 maybe-TAGS-gzip:
15047 @if gzip
15048 maybe-TAGS-gzip: TAGS-gzip
15050 TAGS-gzip: \
15051 configure-gzip
15052 @: $(MAKE); $(unstage)
15053 @[ -f ./gzip/Makefile ] || exit 0; \
15054 r=`${PWD_COMMAND}`; export r; \
15055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15056 $(HOST_EXPORTS) \
15057 for flag in $(EXTRA_HOST_FLAGS) ; do \
15058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15059 done; \
15060 echo "Doing TAGS in gzip" ; \
15061 (cd $(HOST_SUBDIR)/gzip && \
15062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15064 "RANLIB=$${RANLIB}" \
15065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15066 TAGS) \
15067 || exit 1
15069 @endif gzip
15071 .PHONY: maybe-install-info-gzip install-info-gzip
15072 maybe-install-info-gzip:
15073 @if gzip
15074 maybe-install-info-gzip: install-info-gzip
15076 install-info-gzip: \
15077 configure-gzip \
15078 info-gzip
15079 @: $(MAKE); $(unstage)
15080 @[ -f ./gzip/Makefile ] || exit 0; \
15081 r=`${PWD_COMMAND}`; export r; \
15082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15083 $(HOST_EXPORTS) \
15084 for flag in $(EXTRA_HOST_FLAGS) ; do \
15085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15086 done; \
15087 echo "Doing install-info in gzip" ; \
15088 (cd $(HOST_SUBDIR)/gzip && \
15089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15091 "RANLIB=$${RANLIB}" \
15092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15093 install-info) \
15094 || exit 1
15096 @endif gzip
15098 .PHONY: maybe-install-html-gzip install-html-gzip
15099 maybe-install-html-gzip:
15100 @if gzip
15101 maybe-install-html-gzip: install-html-gzip
15103 install-html-gzip: \
15104 configure-gzip \
15105 html-gzip
15106 @: $(MAKE); $(unstage)
15107 @[ -f ./gzip/Makefile ] || exit 0; \
15108 r=`${PWD_COMMAND}`; export r; \
15109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15110 $(HOST_EXPORTS) \
15111 for flag in $(EXTRA_HOST_FLAGS) ; do \
15112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15113 done; \
15114 echo "Doing install-html in gzip" ; \
15115 (cd $(HOST_SUBDIR)/gzip && \
15116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15118 "RANLIB=$${RANLIB}" \
15119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15120 install-html) \
15121 || exit 1
15123 @endif gzip
15125 .PHONY: maybe-installcheck-gzip installcheck-gzip
15126 maybe-installcheck-gzip:
15127 @if gzip
15128 maybe-installcheck-gzip: installcheck-gzip
15130 installcheck-gzip: \
15131 configure-gzip
15132 @: $(MAKE); $(unstage)
15133 @[ -f ./gzip/Makefile ] || exit 0; \
15134 r=`${PWD_COMMAND}`; export r; \
15135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15136 $(HOST_EXPORTS) \
15137 for flag in $(EXTRA_HOST_FLAGS) ; do \
15138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15139 done; \
15140 echo "Doing installcheck in gzip" ; \
15141 (cd $(HOST_SUBDIR)/gzip && \
15142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15144 "RANLIB=$${RANLIB}" \
15145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15146 installcheck) \
15147 || exit 1
15149 @endif gzip
15151 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15152 maybe-mostlyclean-gzip:
15153 @if gzip
15154 maybe-mostlyclean-gzip: mostlyclean-gzip
15156 mostlyclean-gzip:
15157 @: $(MAKE); $(unstage)
15158 @[ -f ./gzip/Makefile ] || exit 0; \
15159 r=`${PWD_COMMAND}`; export r; \
15160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15161 $(HOST_EXPORTS) \
15162 for flag in $(EXTRA_HOST_FLAGS) ; do \
15163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15164 done; \
15165 echo "Doing mostlyclean in gzip" ; \
15166 (cd $(HOST_SUBDIR)/gzip && \
15167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15169 "RANLIB=$${RANLIB}" \
15170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15171 mostlyclean) \
15172 || exit 1
15174 @endif gzip
15176 .PHONY: maybe-clean-gzip clean-gzip
15177 maybe-clean-gzip:
15178 @if gzip
15179 maybe-clean-gzip: clean-gzip
15181 clean-gzip:
15182 @: $(MAKE); $(unstage)
15183 @[ -f ./gzip/Makefile ] || exit 0; \
15184 r=`${PWD_COMMAND}`; export r; \
15185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15186 $(HOST_EXPORTS) \
15187 for flag in $(EXTRA_HOST_FLAGS) ; do \
15188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15189 done; \
15190 echo "Doing clean in gzip" ; \
15191 (cd $(HOST_SUBDIR)/gzip && \
15192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15194 "RANLIB=$${RANLIB}" \
15195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15196 clean) \
15197 || exit 1
15199 @endif gzip
15201 .PHONY: maybe-distclean-gzip distclean-gzip
15202 maybe-distclean-gzip:
15203 @if gzip
15204 maybe-distclean-gzip: distclean-gzip
15206 distclean-gzip:
15207 @: $(MAKE); $(unstage)
15208 @[ -f ./gzip/Makefile ] || exit 0; \
15209 r=`${PWD_COMMAND}`; export r; \
15210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15211 $(HOST_EXPORTS) \
15212 for flag in $(EXTRA_HOST_FLAGS) ; do \
15213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15214 done; \
15215 echo "Doing distclean in gzip" ; \
15216 (cd $(HOST_SUBDIR)/gzip && \
15217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15219 "RANLIB=$${RANLIB}" \
15220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15221 distclean) \
15222 || exit 1
15224 @endif gzip
15226 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15227 maybe-maintainer-clean-gzip:
15228 @if gzip
15229 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15231 maintainer-clean-gzip:
15232 @: $(MAKE); $(unstage)
15233 @[ -f ./gzip/Makefile ] || exit 0; \
15234 r=`${PWD_COMMAND}`; export r; \
15235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15236 $(HOST_EXPORTS) \
15237 for flag in $(EXTRA_HOST_FLAGS) ; do \
15238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15239 done; \
15240 echo "Doing maintainer-clean in gzip" ; \
15241 (cd $(HOST_SUBDIR)/gzip && \
15242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15244 "RANLIB=$${RANLIB}" \
15245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15246 maintainer-clean) \
15247 || exit 1
15249 @endif gzip
15253 .PHONY: configure-hello maybe-configure-hello
15254 maybe-configure-hello:
15255 @if gcc-bootstrap
15256 configure-hello: stage_current
15257 @endif gcc-bootstrap
15258 @if hello
15259 maybe-configure-hello: configure-hello
15260 configure-hello:
15261 @: $(MAKE); $(unstage)
15262 @r=`${PWD_COMMAND}`; export r; \
15263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15266 $(HOST_EXPORTS) \
15267 echo Configuring in $(HOST_SUBDIR)/hello; \
15268 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15269 case $(srcdir) in \
15270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15271 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15273 esac; \
15274 srcdiroption="--srcdir=$${topdir}/hello"; \
15275 libsrcdir="$$s/hello"; \
15276 $(SHELL) $${libsrcdir}/configure \
15277 $(HOST_CONFIGARGS) $${srcdiroption} \
15278 || exit 1
15279 @endif hello
15285 .PHONY: all-hello maybe-all-hello
15286 maybe-all-hello:
15287 @if gcc-bootstrap
15288 all-hello: stage_current
15289 @endif gcc-bootstrap
15290 @if hello
15291 TARGET-hello=all
15292 maybe-all-hello: all-hello
15293 all-hello: configure-hello
15294 @: $(MAKE); $(unstage)
15295 @r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15297 $(HOST_EXPORTS) \
15298 (cd $(HOST_SUBDIR)/hello && \
15299 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15300 @endif hello
15305 .PHONY: check-hello maybe-check-hello
15306 maybe-check-hello:
15307 @if hello
15308 maybe-check-hello: check-hello
15310 check-hello:
15311 @: $(MAKE); $(unstage)
15312 @r=`${PWD_COMMAND}`; export r; \
15313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15314 $(HOST_EXPORTS) \
15315 (cd $(HOST_SUBDIR)/hello && \
15316 $(MAKE) $(FLAGS_TO_PASS) check)
15318 @endif hello
15320 .PHONY: install-hello maybe-install-hello
15321 maybe-install-hello:
15322 @if hello
15323 maybe-install-hello: install-hello
15325 install-hello: installdirs
15326 @: $(MAKE); $(unstage)
15327 @r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15329 $(HOST_EXPORTS) \
15330 (cd $(HOST_SUBDIR)/hello && \
15331 $(MAKE) $(FLAGS_TO_PASS) install)
15333 @endif hello
15335 # Other targets (info, dvi, pdf, etc.)
15337 .PHONY: maybe-info-hello info-hello
15338 maybe-info-hello:
15339 @if hello
15340 maybe-info-hello: info-hello
15342 info-hello: \
15343 configure-hello
15344 @: $(MAKE); $(unstage)
15345 @[ -f ./hello/Makefile ] || exit 0; \
15346 r=`${PWD_COMMAND}`; export r; \
15347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 $(HOST_EXPORTS) \
15349 for flag in $(EXTRA_HOST_FLAGS) ; do \
15350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15351 done; \
15352 echo "Doing info in hello" ; \
15353 (cd $(HOST_SUBDIR)/hello && \
15354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15356 "RANLIB=$${RANLIB}" \
15357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15358 info) \
15359 || exit 1
15361 @endif hello
15363 .PHONY: maybe-dvi-hello dvi-hello
15364 maybe-dvi-hello:
15365 @if hello
15366 maybe-dvi-hello: dvi-hello
15368 dvi-hello: \
15369 configure-hello
15370 @: $(MAKE); $(unstage)
15371 @[ -f ./hello/Makefile ] || exit 0; \
15372 r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374 $(HOST_EXPORTS) \
15375 for flag in $(EXTRA_HOST_FLAGS) ; do \
15376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15377 done; \
15378 echo "Doing dvi in hello" ; \
15379 (cd $(HOST_SUBDIR)/hello && \
15380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15382 "RANLIB=$${RANLIB}" \
15383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15384 dvi) \
15385 || exit 1
15387 @endif hello
15389 .PHONY: maybe-pdf-hello pdf-hello
15390 maybe-pdf-hello:
15391 @if hello
15392 maybe-pdf-hello: pdf-hello
15394 pdf-hello: \
15395 configure-hello
15396 @: $(MAKE); $(unstage)
15397 @[ -f ./hello/Makefile ] || exit 0; \
15398 r=`${PWD_COMMAND}`; export r; \
15399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15400 $(HOST_EXPORTS) \
15401 for flag in $(EXTRA_HOST_FLAGS) ; do \
15402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15403 done; \
15404 echo "Doing pdf in hello" ; \
15405 (cd $(HOST_SUBDIR)/hello && \
15406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15408 "RANLIB=$${RANLIB}" \
15409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15410 pdf) \
15411 || exit 1
15413 @endif hello
15415 .PHONY: maybe-html-hello html-hello
15416 maybe-html-hello:
15417 @if hello
15418 maybe-html-hello: html-hello
15420 html-hello: \
15421 configure-hello
15422 @: $(MAKE); $(unstage)
15423 @[ -f ./hello/Makefile ] || exit 0; \
15424 r=`${PWD_COMMAND}`; export r; \
15425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15426 $(HOST_EXPORTS) \
15427 for flag in $(EXTRA_HOST_FLAGS) ; do \
15428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15429 done; \
15430 echo "Doing html in hello" ; \
15431 (cd $(HOST_SUBDIR)/hello && \
15432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15434 "RANLIB=$${RANLIB}" \
15435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15436 html) \
15437 || exit 1
15439 @endif hello
15441 .PHONY: maybe-TAGS-hello TAGS-hello
15442 maybe-TAGS-hello:
15443 @if hello
15444 maybe-TAGS-hello: TAGS-hello
15446 TAGS-hello: \
15447 configure-hello
15448 @: $(MAKE); $(unstage)
15449 @[ -f ./hello/Makefile ] || exit 0; \
15450 r=`${PWD_COMMAND}`; export r; \
15451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15452 $(HOST_EXPORTS) \
15453 for flag in $(EXTRA_HOST_FLAGS) ; do \
15454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15455 done; \
15456 echo "Doing TAGS in hello" ; \
15457 (cd $(HOST_SUBDIR)/hello && \
15458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15460 "RANLIB=$${RANLIB}" \
15461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15462 TAGS) \
15463 || exit 1
15465 @endif hello
15467 .PHONY: maybe-install-info-hello install-info-hello
15468 maybe-install-info-hello:
15469 @if hello
15470 maybe-install-info-hello: install-info-hello
15472 install-info-hello: \
15473 configure-hello \
15474 info-hello
15475 @: $(MAKE); $(unstage)
15476 @[ -f ./hello/Makefile ] || exit 0; \
15477 r=`${PWD_COMMAND}`; export r; \
15478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15479 $(HOST_EXPORTS) \
15480 for flag in $(EXTRA_HOST_FLAGS) ; do \
15481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15482 done; \
15483 echo "Doing install-info in hello" ; \
15484 (cd $(HOST_SUBDIR)/hello && \
15485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15487 "RANLIB=$${RANLIB}" \
15488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15489 install-info) \
15490 || exit 1
15492 @endif hello
15494 .PHONY: maybe-install-html-hello install-html-hello
15495 maybe-install-html-hello:
15496 @if hello
15497 maybe-install-html-hello: install-html-hello
15499 install-html-hello: \
15500 configure-hello \
15501 html-hello
15502 @: $(MAKE); $(unstage)
15503 @[ -f ./hello/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 install-html in hello" ; \
15511 (cd $(HOST_SUBDIR)/hello && \
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 install-html) \
15517 || exit 1
15519 @endif hello
15521 .PHONY: maybe-installcheck-hello installcheck-hello
15522 maybe-installcheck-hello:
15523 @if hello
15524 maybe-installcheck-hello: installcheck-hello
15526 installcheck-hello: \
15527 configure-hello
15528 @: $(MAKE); $(unstage)
15529 @[ -f ./hello/Makefile ] || exit 0; \
15530 r=`${PWD_COMMAND}`; export r; \
15531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 $(HOST_EXPORTS) \
15533 for flag in $(EXTRA_HOST_FLAGS) ; do \
15534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15535 done; \
15536 echo "Doing installcheck in hello" ; \
15537 (cd $(HOST_SUBDIR)/hello && \
15538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15540 "RANLIB=$${RANLIB}" \
15541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15542 installcheck) \
15543 || exit 1
15545 @endif hello
15547 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15548 maybe-mostlyclean-hello:
15549 @if hello
15550 maybe-mostlyclean-hello: mostlyclean-hello
15552 mostlyclean-hello:
15553 @: $(MAKE); $(unstage)
15554 @[ -f ./hello/Makefile ] || exit 0; \
15555 r=`${PWD_COMMAND}`; export r; \
15556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15557 $(HOST_EXPORTS) \
15558 for flag in $(EXTRA_HOST_FLAGS) ; do \
15559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15560 done; \
15561 echo "Doing mostlyclean in hello" ; \
15562 (cd $(HOST_SUBDIR)/hello && \
15563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15565 "RANLIB=$${RANLIB}" \
15566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15567 mostlyclean) \
15568 || exit 1
15570 @endif hello
15572 .PHONY: maybe-clean-hello clean-hello
15573 maybe-clean-hello:
15574 @if hello
15575 maybe-clean-hello: clean-hello
15577 clean-hello:
15578 @: $(MAKE); $(unstage)
15579 @[ -f ./hello/Makefile ] || exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing clean in hello" ; \
15587 (cd $(HOST_SUBDIR)/hello && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15592 clean) \
15593 || exit 1
15595 @endif hello
15597 .PHONY: maybe-distclean-hello distclean-hello
15598 maybe-distclean-hello:
15599 @if hello
15600 maybe-distclean-hello: distclean-hello
15602 distclean-hello:
15603 @: $(MAKE); $(unstage)
15604 @[ -f ./hello/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 distclean in hello" ; \
15612 (cd $(HOST_SUBDIR)/hello && \
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 distclean) \
15618 || exit 1
15620 @endif hello
15622 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15623 maybe-maintainer-clean-hello:
15624 @if hello
15625 maybe-maintainer-clean-hello: maintainer-clean-hello
15627 maintainer-clean-hello:
15628 @: $(MAKE); $(unstage)
15629 @[ -f ./hello/Makefile ] || exit 0; \
15630 r=`${PWD_COMMAND}`; export r; \
15631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15632 $(HOST_EXPORTS) \
15633 for flag in $(EXTRA_HOST_FLAGS) ; do \
15634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15635 done; \
15636 echo "Doing maintainer-clean in hello" ; \
15637 (cd $(HOST_SUBDIR)/hello && \
15638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15640 "RANLIB=$${RANLIB}" \
15641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15642 maintainer-clean) \
15643 || exit 1
15645 @endif hello
15649 .PHONY: configure-indent maybe-configure-indent
15650 maybe-configure-indent:
15651 @if gcc-bootstrap
15652 configure-indent: stage_current
15653 @endif gcc-bootstrap
15654 @if indent
15655 maybe-configure-indent: configure-indent
15656 configure-indent:
15657 @: $(MAKE); $(unstage)
15658 @r=`${PWD_COMMAND}`; export r; \
15659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15660 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15662 $(HOST_EXPORTS) \
15663 echo Configuring in $(HOST_SUBDIR)/indent; \
15664 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15665 case $(srcdir) in \
15666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15667 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15669 esac; \
15670 srcdiroption="--srcdir=$${topdir}/indent"; \
15671 libsrcdir="$$s/indent"; \
15672 $(SHELL) $${libsrcdir}/configure \
15673 $(HOST_CONFIGARGS) $${srcdiroption} \
15674 || exit 1
15675 @endif indent
15681 .PHONY: all-indent maybe-all-indent
15682 maybe-all-indent:
15683 @if gcc-bootstrap
15684 all-indent: stage_current
15685 @endif gcc-bootstrap
15686 @if indent
15687 TARGET-indent=all
15688 maybe-all-indent: all-indent
15689 all-indent: configure-indent
15690 @: $(MAKE); $(unstage)
15691 @r=`${PWD_COMMAND}`; export r; \
15692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15693 $(HOST_EXPORTS) \
15694 (cd $(HOST_SUBDIR)/indent && \
15695 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15696 @endif indent
15701 .PHONY: check-indent maybe-check-indent
15702 maybe-check-indent:
15703 @if indent
15704 maybe-check-indent: check-indent
15706 check-indent:
15707 @: $(MAKE); $(unstage)
15708 @r=`${PWD_COMMAND}`; export r; \
15709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15710 $(HOST_EXPORTS) \
15711 (cd $(HOST_SUBDIR)/indent && \
15712 $(MAKE) $(FLAGS_TO_PASS) check)
15714 @endif indent
15716 .PHONY: install-indent maybe-install-indent
15717 maybe-install-indent:
15718 @if indent
15719 maybe-install-indent: install-indent
15721 install-indent: installdirs
15722 @: $(MAKE); $(unstage)
15723 @r=`${PWD_COMMAND}`; export r; \
15724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15725 $(HOST_EXPORTS) \
15726 (cd $(HOST_SUBDIR)/indent && \
15727 $(MAKE) $(FLAGS_TO_PASS) install)
15729 @endif indent
15731 # Other targets (info, dvi, pdf, etc.)
15733 .PHONY: maybe-info-indent info-indent
15734 maybe-info-indent:
15735 @if indent
15736 maybe-info-indent: info-indent
15738 info-indent: \
15739 configure-indent
15740 @: $(MAKE); $(unstage)
15741 @[ -f ./indent/Makefile ] || exit 0; \
15742 r=`${PWD_COMMAND}`; export r; \
15743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15744 $(HOST_EXPORTS) \
15745 for flag in $(EXTRA_HOST_FLAGS) ; do \
15746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15747 done; \
15748 echo "Doing info in indent" ; \
15749 (cd $(HOST_SUBDIR)/indent && \
15750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15752 "RANLIB=$${RANLIB}" \
15753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15754 info) \
15755 || exit 1
15757 @endif indent
15759 .PHONY: maybe-dvi-indent dvi-indent
15760 maybe-dvi-indent:
15761 @if indent
15762 maybe-dvi-indent: dvi-indent
15764 dvi-indent: \
15765 configure-indent
15766 @: $(MAKE); $(unstage)
15767 @[ -f ./indent/Makefile ] || exit 0; \
15768 r=`${PWD_COMMAND}`; export r; \
15769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15770 $(HOST_EXPORTS) \
15771 for flag in $(EXTRA_HOST_FLAGS) ; do \
15772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15773 done; \
15774 echo "Doing dvi in indent" ; \
15775 (cd $(HOST_SUBDIR)/indent && \
15776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15778 "RANLIB=$${RANLIB}" \
15779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15780 dvi) \
15781 || exit 1
15783 @endif indent
15785 .PHONY: maybe-pdf-indent pdf-indent
15786 maybe-pdf-indent:
15787 @if indent
15788 maybe-pdf-indent: pdf-indent
15790 pdf-indent: \
15791 configure-indent
15792 @: $(MAKE); $(unstage)
15793 @[ -f ./indent/Makefile ] || exit 0; \
15794 r=`${PWD_COMMAND}`; export r; \
15795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15796 $(HOST_EXPORTS) \
15797 for flag in $(EXTRA_HOST_FLAGS) ; do \
15798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15799 done; \
15800 echo "Doing pdf in indent" ; \
15801 (cd $(HOST_SUBDIR)/indent && \
15802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15804 "RANLIB=$${RANLIB}" \
15805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15806 pdf) \
15807 || exit 1
15809 @endif indent
15811 .PHONY: maybe-html-indent html-indent
15812 maybe-html-indent:
15813 @if indent
15814 maybe-html-indent: html-indent
15816 html-indent: \
15817 configure-indent
15818 @: $(MAKE); $(unstage)
15819 @[ -f ./indent/Makefile ] || exit 0; \
15820 r=`${PWD_COMMAND}`; export r; \
15821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15822 $(HOST_EXPORTS) \
15823 for flag in $(EXTRA_HOST_FLAGS) ; do \
15824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15825 done; \
15826 echo "Doing html in indent" ; \
15827 (cd $(HOST_SUBDIR)/indent && \
15828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15830 "RANLIB=$${RANLIB}" \
15831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15832 html) \
15833 || exit 1
15835 @endif indent
15837 .PHONY: maybe-TAGS-indent TAGS-indent
15838 maybe-TAGS-indent:
15839 @if indent
15840 maybe-TAGS-indent: TAGS-indent
15842 TAGS-indent: \
15843 configure-indent
15844 @: $(MAKE); $(unstage)
15845 @[ -f ./indent/Makefile ] || exit 0; \
15846 r=`${PWD_COMMAND}`; export r; \
15847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15848 $(HOST_EXPORTS) \
15849 for flag in $(EXTRA_HOST_FLAGS) ; do \
15850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15851 done; \
15852 echo "Doing TAGS in indent" ; \
15853 (cd $(HOST_SUBDIR)/indent && \
15854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15856 "RANLIB=$${RANLIB}" \
15857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15858 TAGS) \
15859 || exit 1
15861 @endif indent
15863 .PHONY: maybe-install-info-indent install-info-indent
15864 maybe-install-info-indent:
15865 @if indent
15866 maybe-install-info-indent: install-info-indent
15868 install-info-indent: \
15869 configure-indent \
15870 info-indent
15871 @: $(MAKE); $(unstage)
15872 @[ -f ./indent/Makefile ] || exit 0; \
15873 r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 $(HOST_EXPORTS) \
15876 for flag in $(EXTRA_HOST_FLAGS) ; do \
15877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15878 done; \
15879 echo "Doing install-info in indent" ; \
15880 (cd $(HOST_SUBDIR)/indent && \
15881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883 "RANLIB=$${RANLIB}" \
15884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15885 install-info) \
15886 || exit 1
15888 @endif indent
15890 .PHONY: maybe-install-html-indent install-html-indent
15891 maybe-install-html-indent:
15892 @if indent
15893 maybe-install-html-indent: install-html-indent
15895 install-html-indent: \
15896 configure-indent \
15897 html-indent
15898 @: $(MAKE); $(unstage)
15899 @[ -f ./indent/Makefile ] || exit 0; \
15900 r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 $(HOST_EXPORTS) \
15903 for flag in $(EXTRA_HOST_FLAGS) ; do \
15904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15905 done; \
15906 echo "Doing install-html in indent" ; \
15907 (cd $(HOST_SUBDIR)/indent && \
15908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15910 "RANLIB=$${RANLIB}" \
15911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15912 install-html) \
15913 || exit 1
15915 @endif indent
15917 .PHONY: maybe-installcheck-indent installcheck-indent
15918 maybe-installcheck-indent:
15919 @if indent
15920 maybe-installcheck-indent: installcheck-indent
15922 installcheck-indent: \
15923 configure-indent
15924 @: $(MAKE); $(unstage)
15925 @[ -f ./indent/Makefile ] || exit 0; \
15926 r=`${PWD_COMMAND}`; export r; \
15927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15928 $(HOST_EXPORTS) \
15929 for flag in $(EXTRA_HOST_FLAGS) ; do \
15930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15931 done; \
15932 echo "Doing installcheck in indent" ; \
15933 (cd $(HOST_SUBDIR)/indent && \
15934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15936 "RANLIB=$${RANLIB}" \
15937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15938 installcheck) \
15939 || exit 1
15941 @endif indent
15943 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15944 maybe-mostlyclean-indent:
15945 @if indent
15946 maybe-mostlyclean-indent: mostlyclean-indent
15948 mostlyclean-indent:
15949 @: $(MAKE); $(unstage)
15950 @[ -f ./indent/Makefile ] || exit 0; \
15951 r=`${PWD_COMMAND}`; export r; \
15952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15953 $(HOST_EXPORTS) \
15954 for flag in $(EXTRA_HOST_FLAGS) ; do \
15955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15956 done; \
15957 echo "Doing mostlyclean in indent" ; \
15958 (cd $(HOST_SUBDIR)/indent && \
15959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15961 "RANLIB=$${RANLIB}" \
15962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15963 mostlyclean) \
15964 || exit 1
15966 @endif indent
15968 .PHONY: maybe-clean-indent clean-indent
15969 maybe-clean-indent:
15970 @if indent
15971 maybe-clean-indent: clean-indent
15973 clean-indent:
15974 @: $(MAKE); $(unstage)
15975 @[ -f ./indent/Makefile ] || exit 0; \
15976 r=`${PWD_COMMAND}`; export r; \
15977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15978 $(HOST_EXPORTS) \
15979 for flag in $(EXTRA_HOST_FLAGS) ; do \
15980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15981 done; \
15982 echo "Doing clean in indent" ; \
15983 (cd $(HOST_SUBDIR)/indent && \
15984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15986 "RANLIB=$${RANLIB}" \
15987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15988 clean) \
15989 || exit 1
15991 @endif indent
15993 .PHONY: maybe-distclean-indent distclean-indent
15994 maybe-distclean-indent:
15995 @if indent
15996 maybe-distclean-indent: distclean-indent
15998 distclean-indent:
15999 @: $(MAKE); $(unstage)
16000 @[ -f ./indent/Makefile ] || exit 0; \
16001 r=`${PWD_COMMAND}`; export r; \
16002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16003 $(HOST_EXPORTS) \
16004 for flag in $(EXTRA_HOST_FLAGS) ; do \
16005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16006 done; \
16007 echo "Doing distclean in indent" ; \
16008 (cd $(HOST_SUBDIR)/indent && \
16009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16011 "RANLIB=$${RANLIB}" \
16012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16013 distclean) \
16014 || exit 1
16016 @endif indent
16018 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16019 maybe-maintainer-clean-indent:
16020 @if indent
16021 maybe-maintainer-clean-indent: maintainer-clean-indent
16023 maintainer-clean-indent:
16024 @: $(MAKE); $(unstage)
16025 @[ -f ./indent/Makefile ] || exit 0; \
16026 r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 $(HOST_EXPORTS) \
16029 for flag in $(EXTRA_HOST_FLAGS) ; do \
16030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16031 done; \
16032 echo "Doing maintainer-clean in indent" ; \
16033 (cd $(HOST_SUBDIR)/indent && \
16034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16036 "RANLIB=$${RANLIB}" \
16037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16038 maintainer-clean) \
16039 || exit 1
16041 @endif indent
16045 .PHONY: configure-intl maybe-configure-intl
16046 maybe-configure-intl:
16047 @if gcc-bootstrap
16048 configure-intl: stage_current
16049 @endif gcc-bootstrap
16050 @if intl
16051 maybe-configure-intl: configure-intl
16052 configure-intl:
16053 @r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16057 $(HOST_EXPORTS) \
16058 echo Configuring in $(HOST_SUBDIR)/intl; \
16059 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16060 case $(srcdir) in \
16061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16062 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16064 esac; \
16065 srcdiroption="--srcdir=$${topdir}/intl"; \
16066 libsrcdir="$$s/intl"; \
16067 $(SHELL) $${libsrcdir}/configure \
16068 $(HOST_CONFIGARGS) $${srcdiroption} \
16069 || exit 1
16070 @endif intl
16074 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16075 maybe-configure-stage1-intl:
16076 @if intl-bootstrap
16077 maybe-configure-stage1-intl: configure-stage1-intl
16078 configure-stage1-intl:
16079 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16081 @r=`${PWD_COMMAND}`; export r; \
16082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16083 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16084 $(HOST_EXPORTS) \
16085 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16087 cd $(HOST_SUBDIR)/intl || exit 1; \
16088 case $(srcdir) in \
16089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16090 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16092 esac; \
16093 srcdiroption="--srcdir=$${topdir}/intl"; \
16094 libsrcdir="$$s/intl"; \
16095 $(SHELL) $${libsrcdir}/configure \
16096 $(HOST_CONFIGARGS) $${srcdiroption} \
16098 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16099 @endif intl-bootstrap
16101 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16102 maybe-configure-stage2-intl:
16103 @if intl-bootstrap
16104 maybe-configure-stage2-intl: configure-stage2-intl
16105 configure-stage2-intl:
16106 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16108 @r=`${PWD_COMMAND}`; export r; \
16109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16110 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16111 $(HOST_EXPORTS) \
16112 $(POSTSTAGE1_HOST_EXPORTS) \
16113 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16115 cd $(HOST_SUBDIR)/intl || exit 1; \
16116 case $(srcdir) in \
16117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16118 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16120 esac; \
16121 srcdiroption="--srcdir=$${topdir}/intl"; \
16122 libsrcdir="$$s/intl"; \
16123 $(SHELL) $${libsrcdir}/configure \
16124 $(HOST_CONFIGARGS) $${srcdiroption} \
16125 --with-build-libsubdir=$(HOST_SUBDIR) \
16126 @stage2_werror_flag@
16127 @endif intl-bootstrap
16129 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16130 maybe-configure-stage3-intl:
16131 @if intl-bootstrap
16132 maybe-configure-stage3-intl: configure-stage3-intl
16133 configure-stage3-intl:
16134 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16136 @r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16139 $(HOST_EXPORTS) \
16140 $(POSTSTAGE1_HOST_EXPORTS) \
16141 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16143 cd $(HOST_SUBDIR)/intl || exit 1; \
16144 case $(srcdir) in \
16145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16146 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16148 esac; \
16149 srcdiroption="--srcdir=$${topdir}/intl"; \
16150 libsrcdir="$$s/intl"; \
16151 $(SHELL) $${libsrcdir}/configure \
16152 $(HOST_CONFIGARGS) $${srcdiroption} \
16153 --with-build-libsubdir=$(HOST_SUBDIR) \
16154 @stage2_werror_flag@
16155 @endif intl-bootstrap
16157 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16158 maybe-configure-stage4-intl:
16159 @if intl-bootstrap
16160 maybe-configure-stage4-intl: configure-stage4-intl
16161 configure-stage4-intl:
16162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16164 @r=`${PWD_COMMAND}`; export r; \
16165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16166 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16167 $(HOST_EXPORTS) \
16168 $(POSTSTAGE1_HOST_EXPORTS) \
16169 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16171 cd $(HOST_SUBDIR)/intl || exit 1; \
16172 case $(srcdir) in \
16173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16174 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16176 esac; \
16177 srcdiroption="--srcdir=$${topdir}/intl"; \
16178 libsrcdir="$$s/intl"; \
16179 $(SHELL) $${libsrcdir}/configure \
16180 $(HOST_CONFIGARGS) $${srcdiroption} \
16181 --with-build-libsubdir=$(HOST_SUBDIR) \
16182 @stage2_werror_flag@
16183 @endif intl-bootstrap
16185 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16186 maybe-configure-stageprofile-intl:
16187 @if intl-bootstrap
16188 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16189 configure-stageprofile-intl:
16190 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16192 @r=`${PWD_COMMAND}`; export r; \
16193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16194 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16195 $(HOST_EXPORTS) \
16196 $(POSTSTAGE1_HOST_EXPORTS) \
16197 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16199 cd $(HOST_SUBDIR)/intl || exit 1; \
16200 case $(srcdir) in \
16201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16202 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16204 esac; \
16205 srcdiroption="--srcdir=$${topdir}/intl"; \
16206 libsrcdir="$$s/intl"; \
16207 $(SHELL) $${libsrcdir}/configure \
16208 $(HOST_CONFIGARGS) $${srcdiroption} \
16209 --with-build-libsubdir=$(HOST_SUBDIR) \
16210 @stage2_werror_flag@
16211 @endif intl-bootstrap
16213 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16214 maybe-configure-stagefeedback-intl:
16215 @if intl-bootstrap
16216 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16217 configure-stagefeedback-intl:
16218 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16220 @r=`${PWD_COMMAND}`; export r; \
16221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16222 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16223 $(HOST_EXPORTS) \
16224 $(POSTSTAGE1_HOST_EXPORTS) \
16225 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16227 cd $(HOST_SUBDIR)/intl || exit 1; \
16228 case $(srcdir) in \
16229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16230 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16232 esac; \
16233 srcdiroption="--srcdir=$${topdir}/intl"; \
16234 libsrcdir="$$s/intl"; \
16235 $(SHELL) $${libsrcdir}/configure \
16236 $(HOST_CONFIGARGS) $${srcdiroption} \
16237 --with-build-libsubdir=$(HOST_SUBDIR) \
16238 @stage2_werror_flag@
16239 @endif intl-bootstrap
16245 .PHONY: all-intl maybe-all-intl
16246 maybe-all-intl:
16247 @if gcc-bootstrap
16248 all-intl: stage_current
16249 @endif gcc-bootstrap
16250 @if intl
16251 TARGET-intl=all
16252 maybe-all-intl: all-intl
16253 all-intl: configure-intl
16254 @r=`${PWD_COMMAND}`; export r; \
16255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16256 $(HOST_EXPORTS) \
16257 (cd $(HOST_SUBDIR)/intl && \
16258 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16259 @endif intl
16263 .PHONY: all-stage1-intl maybe-all-stage1-intl
16264 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16265 maybe-all-stage1-intl:
16266 maybe-clean-stage1-intl:
16267 @if intl-bootstrap
16268 maybe-all-stage1-intl: all-stage1-intl
16269 all-stage1: all-stage1-intl
16270 TARGET-stage1-intl = $(TARGET-intl)
16271 all-stage1-intl: configure-stage1-intl
16272 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16273 @r=`${PWD_COMMAND}`; export r; \
16274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16275 $(HOST_EXPORTS) \
16276 cd $(HOST_SUBDIR)/intl && \
16277 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16278 $(TARGET-stage1-intl)
16280 maybe-clean-stage1-intl: clean-stage1-intl
16281 clean-stage1: clean-stage1-intl
16282 clean-stage1-intl:
16283 @if [ $(current_stage) = stage1 ]; then \
16284 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16285 else \
16286 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16287 $(MAKE) stage1-start; \
16288 fi; \
16289 cd $(HOST_SUBDIR)/intl && \
16290 $(MAKE) $(FLAGS_TO_PASS) \
16291 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16292 @endif intl-bootstrap
16295 .PHONY: all-stage2-intl maybe-all-stage2-intl
16296 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16297 maybe-all-stage2-intl:
16298 maybe-clean-stage2-intl:
16299 @if intl-bootstrap
16300 maybe-all-stage2-intl: all-stage2-intl
16301 all-stage2: all-stage2-intl
16302 TARGET-stage2-intl = $(TARGET-intl)
16303 all-stage2-intl: configure-stage2-intl
16304 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16305 @r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 $(HOST_EXPORTS) \
16308 $(POSTSTAGE1_HOST_EXPORTS) \
16309 cd $(HOST_SUBDIR)/intl && \
16310 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16311 $(TARGET-stage2-intl)
16313 maybe-clean-stage2-intl: clean-stage2-intl
16314 clean-stage2: clean-stage2-intl
16315 clean-stage2-intl:
16316 @if [ $(current_stage) = stage2 ]; then \
16317 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16318 else \
16319 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16320 $(MAKE) stage2-start; \
16321 fi; \
16322 cd $(HOST_SUBDIR)/intl && \
16323 $(MAKE) $(FLAGS_TO_PASS) \
16324 $(POSTSTAGE1_FLAGS_TO_PASS) \
16325 clean
16326 @endif intl-bootstrap
16329 .PHONY: all-stage3-intl maybe-all-stage3-intl
16330 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16331 maybe-all-stage3-intl:
16332 maybe-clean-stage3-intl:
16333 @if intl-bootstrap
16334 maybe-all-stage3-intl: all-stage3-intl
16335 all-stage3: all-stage3-intl
16336 TARGET-stage3-intl = $(TARGET-intl)
16337 all-stage3-intl: configure-stage3-intl
16338 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16339 @r=`${PWD_COMMAND}`; export r; \
16340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16341 $(HOST_EXPORTS) \
16342 $(POSTSTAGE1_HOST_EXPORTS) \
16343 cd $(HOST_SUBDIR)/intl && \
16344 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16345 $(TARGET-stage3-intl)
16347 maybe-clean-stage3-intl: clean-stage3-intl
16348 clean-stage3: clean-stage3-intl
16349 clean-stage3-intl:
16350 @if [ $(current_stage) = stage3 ]; then \
16351 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16352 else \
16353 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16354 $(MAKE) stage3-start; \
16355 fi; \
16356 cd $(HOST_SUBDIR)/intl && \
16357 $(MAKE) $(FLAGS_TO_PASS) \
16358 $(POSTSTAGE1_FLAGS_TO_PASS) \
16359 clean
16360 @endif intl-bootstrap
16363 .PHONY: all-stage4-intl maybe-all-stage4-intl
16364 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16365 maybe-all-stage4-intl:
16366 maybe-clean-stage4-intl:
16367 @if intl-bootstrap
16368 maybe-all-stage4-intl: all-stage4-intl
16369 all-stage4: all-stage4-intl
16370 TARGET-stage4-intl = $(TARGET-intl)
16371 all-stage4-intl: configure-stage4-intl
16372 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16373 @r=`${PWD_COMMAND}`; export r; \
16374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16375 $(HOST_EXPORTS) \
16376 $(POSTSTAGE1_HOST_EXPORTS) \
16377 cd $(HOST_SUBDIR)/intl && \
16378 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16379 $(TARGET-stage4-intl)
16381 maybe-clean-stage4-intl: clean-stage4-intl
16382 clean-stage4: clean-stage4-intl
16383 clean-stage4-intl:
16384 @if [ $(current_stage) = stage4 ]; then \
16385 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16386 else \
16387 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
16388 $(MAKE) stage4-start; \
16389 fi; \
16390 cd $(HOST_SUBDIR)/intl && \
16391 $(MAKE) $(FLAGS_TO_PASS) \
16392 $(POSTSTAGE1_FLAGS_TO_PASS) \
16393 clean
16394 @endif intl-bootstrap
16397 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16398 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16399 maybe-all-stageprofile-intl:
16400 maybe-clean-stageprofile-intl:
16401 @if intl-bootstrap
16402 maybe-all-stageprofile-intl: all-stageprofile-intl
16403 all-stageprofile: all-stageprofile-intl
16404 TARGET-stageprofile-intl = $(TARGET-intl)
16405 all-stageprofile-intl: configure-stageprofile-intl
16406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16407 @r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16409 $(HOST_EXPORTS) \
16410 $(POSTSTAGE1_HOST_EXPORTS) \
16411 cd $(HOST_SUBDIR)/intl && \
16412 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16413 $(TARGET-stageprofile-intl)
16415 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16416 clean-stageprofile: clean-stageprofile-intl
16417 clean-stageprofile-intl:
16418 @if [ $(current_stage) = stageprofile ]; then \
16419 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16420 else \
16421 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
16422 $(MAKE) stageprofile-start; \
16423 fi; \
16424 cd $(HOST_SUBDIR)/intl && \
16425 $(MAKE) $(FLAGS_TO_PASS) \
16426 $(POSTSTAGE1_FLAGS_TO_PASS) \
16427 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16428 @endif intl-bootstrap
16431 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16432 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16433 maybe-all-stagefeedback-intl:
16434 maybe-clean-stagefeedback-intl:
16435 @if intl-bootstrap
16436 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16437 all-stagefeedback: all-stagefeedback-intl
16438 TARGET-stagefeedback-intl = $(TARGET-intl)
16439 all-stagefeedback-intl: configure-stagefeedback-intl
16440 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16441 @r=`${PWD_COMMAND}`; export r; \
16442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 $(HOST_EXPORTS) \
16444 $(POSTSTAGE1_HOST_EXPORTS) \
16445 cd $(HOST_SUBDIR)/intl && \
16446 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16447 $(TARGET-stagefeedback-intl)
16449 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16450 clean-stagefeedback: clean-stagefeedback-intl
16451 clean-stagefeedback-intl:
16452 @if [ $(current_stage) = stagefeedback ]; then \
16453 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16454 else \
16455 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
16456 $(MAKE) stagefeedback-start; \
16457 fi; \
16458 cd $(HOST_SUBDIR)/intl && \
16459 $(MAKE) $(FLAGS_TO_PASS) \
16460 $(POSTSTAGE1_FLAGS_TO_PASS) \
16461 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16462 @endif intl-bootstrap
16468 .PHONY: check-intl maybe-check-intl
16469 maybe-check-intl:
16470 @if intl
16471 maybe-check-intl: check-intl
16473 check-intl:
16474 @: $(MAKE); $(unstage)
16475 @r=`${PWD_COMMAND}`; export r; \
16476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 $(HOST_EXPORTS) \
16478 (cd $(HOST_SUBDIR)/intl && \
16479 $(MAKE) $(FLAGS_TO_PASS) check)
16481 @endif intl
16483 .PHONY: install-intl maybe-install-intl
16484 maybe-install-intl:
16485 @if intl
16486 maybe-install-intl: install-intl
16488 install-intl: installdirs
16489 @: $(MAKE); $(unstage)
16490 @r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 $(HOST_EXPORTS) \
16493 (cd $(HOST_SUBDIR)/intl && \
16494 $(MAKE) $(FLAGS_TO_PASS) install)
16496 @endif intl
16498 # Other targets (info, dvi, pdf, etc.)
16500 .PHONY: maybe-info-intl info-intl
16501 maybe-info-intl:
16502 @if intl
16503 maybe-info-intl: info-intl
16505 info-intl: \
16506 configure-intl
16507 @[ -f ./intl/Makefile ] || exit 0; \
16508 r=`${PWD_COMMAND}`; export r; \
16509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16510 $(HOST_EXPORTS) \
16511 for flag in $(EXTRA_HOST_FLAGS) ; do \
16512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16513 done; \
16514 echo "Doing info in intl" ; \
16515 (cd $(HOST_SUBDIR)/intl && \
16516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16518 "RANLIB=$${RANLIB}" \
16519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16520 info) \
16521 || exit 1
16523 @endif intl
16525 .PHONY: maybe-dvi-intl dvi-intl
16526 maybe-dvi-intl:
16527 @if intl
16528 maybe-dvi-intl: dvi-intl
16530 dvi-intl: \
16531 configure-intl
16532 @[ -f ./intl/Makefile ] || exit 0; \
16533 r=`${PWD_COMMAND}`; export r; \
16534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16535 $(HOST_EXPORTS) \
16536 for flag in $(EXTRA_HOST_FLAGS) ; do \
16537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16538 done; \
16539 echo "Doing dvi in intl" ; \
16540 (cd $(HOST_SUBDIR)/intl && \
16541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16543 "RANLIB=$${RANLIB}" \
16544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16545 dvi) \
16546 || exit 1
16548 @endif intl
16550 .PHONY: maybe-pdf-intl pdf-intl
16551 maybe-pdf-intl:
16552 @if intl
16553 maybe-pdf-intl: pdf-intl
16555 pdf-intl: \
16556 configure-intl
16557 @[ -f ./intl/Makefile ] || exit 0; \
16558 r=`${PWD_COMMAND}`; export r; \
16559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16560 $(HOST_EXPORTS) \
16561 for flag in $(EXTRA_HOST_FLAGS) ; do \
16562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16563 done; \
16564 echo "Doing pdf in intl" ; \
16565 (cd $(HOST_SUBDIR)/intl && \
16566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16568 "RANLIB=$${RANLIB}" \
16569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16570 pdf) \
16571 || exit 1
16573 @endif intl
16575 .PHONY: maybe-html-intl html-intl
16576 maybe-html-intl:
16577 @if intl
16578 maybe-html-intl: html-intl
16580 html-intl: \
16581 configure-intl
16582 @[ -f ./intl/Makefile ] || exit 0; \
16583 r=`${PWD_COMMAND}`; export r; \
16584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16585 $(HOST_EXPORTS) \
16586 for flag in $(EXTRA_HOST_FLAGS) ; do \
16587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16588 done; \
16589 echo "Doing html in intl" ; \
16590 (cd $(HOST_SUBDIR)/intl && \
16591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16593 "RANLIB=$${RANLIB}" \
16594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16595 html) \
16596 || exit 1
16598 @endif intl
16600 .PHONY: maybe-TAGS-intl TAGS-intl
16601 maybe-TAGS-intl:
16602 @if intl
16603 maybe-TAGS-intl: TAGS-intl
16605 TAGS-intl: \
16606 configure-intl
16607 @[ -f ./intl/Makefile ] || exit 0; \
16608 r=`${PWD_COMMAND}`; export r; \
16609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16610 $(HOST_EXPORTS) \
16611 for flag in $(EXTRA_HOST_FLAGS) ; do \
16612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16613 done; \
16614 echo "Doing TAGS in intl" ; \
16615 (cd $(HOST_SUBDIR)/intl && \
16616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16618 "RANLIB=$${RANLIB}" \
16619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16620 TAGS) \
16621 || exit 1
16623 @endif intl
16625 .PHONY: maybe-install-info-intl install-info-intl
16626 maybe-install-info-intl:
16627 @if intl
16628 maybe-install-info-intl: install-info-intl
16630 install-info-intl: \
16631 configure-intl \
16632 info-intl
16633 @[ -f ./intl/Makefile ] || exit 0; \
16634 r=`${PWD_COMMAND}`; export r; \
16635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16636 $(HOST_EXPORTS) \
16637 for flag in $(EXTRA_HOST_FLAGS) ; do \
16638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16639 done; \
16640 echo "Doing install-info in intl" ; \
16641 (cd $(HOST_SUBDIR)/intl && \
16642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16644 "RANLIB=$${RANLIB}" \
16645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16646 install-info) \
16647 || exit 1
16649 @endif intl
16651 .PHONY: maybe-install-html-intl install-html-intl
16652 maybe-install-html-intl:
16653 @if intl
16654 maybe-install-html-intl: install-html-intl
16656 install-html-intl: \
16657 configure-intl \
16658 html-intl
16659 @[ -f ./intl/Makefile ] || exit 0; \
16660 r=`${PWD_COMMAND}`; export r; \
16661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16662 $(HOST_EXPORTS) \
16663 for flag in $(EXTRA_HOST_FLAGS) ; do \
16664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16665 done; \
16666 echo "Doing install-html in intl" ; \
16667 (cd $(HOST_SUBDIR)/intl && \
16668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16670 "RANLIB=$${RANLIB}" \
16671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16672 install-html) \
16673 || exit 1
16675 @endif intl
16677 .PHONY: maybe-installcheck-intl installcheck-intl
16678 maybe-installcheck-intl:
16679 @if intl
16680 maybe-installcheck-intl: installcheck-intl
16682 installcheck-intl: \
16683 configure-intl
16684 @[ -f ./intl/Makefile ] || exit 0; \
16685 r=`${PWD_COMMAND}`; export r; \
16686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16687 $(HOST_EXPORTS) \
16688 for flag in $(EXTRA_HOST_FLAGS) ; do \
16689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16690 done; \
16691 echo "Doing installcheck in intl" ; \
16692 (cd $(HOST_SUBDIR)/intl && \
16693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16695 "RANLIB=$${RANLIB}" \
16696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16697 installcheck) \
16698 || exit 1
16700 @endif intl
16702 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16703 maybe-mostlyclean-intl:
16704 @if intl
16705 maybe-mostlyclean-intl: mostlyclean-intl
16707 mostlyclean-intl:
16708 @[ -f ./intl/Makefile ] || exit 0; \
16709 r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 $(HOST_EXPORTS) \
16712 for flag in $(EXTRA_HOST_FLAGS) ; do \
16713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16714 done; \
16715 echo "Doing mostlyclean in intl" ; \
16716 (cd $(HOST_SUBDIR)/intl && \
16717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16719 "RANLIB=$${RANLIB}" \
16720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16721 mostlyclean) \
16722 || exit 1
16724 @endif intl
16726 .PHONY: maybe-clean-intl clean-intl
16727 maybe-clean-intl:
16728 @if intl
16729 maybe-clean-intl: clean-intl
16731 clean-intl:
16732 @[ -f ./intl/Makefile ] || exit 0; \
16733 r=`${PWD_COMMAND}`; export r; \
16734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16735 $(HOST_EXPORTS) \
16736 for flag in $(EXTRA_HOST_FLAGS) ; do \
16737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16738 done; \
16739 echo "Doing clean in intl" ; \
16740 (cd $(HOST_SUBDIR)/intl && \
16741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16743 "RANLIB=$${RANLIB}" \
16744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16745 clean) \
16746 || exit 1
16748 @endif intl
16750 .PHONY: maybe-distclean-intl distclean-intl
16751 maybe-distclean-intl:
16752 @if intl
16753 maybe-distclean-intl: distclean-intl
16755 distclean-intl:
16756 @[ -f ./intl/Makefile ] || exit 0; \
16757 r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 $(HOST_EXPORTS) \
16760 for flag in $(EXTRA_HOST_FLAGS) ; do \
16761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16762 done; \
16763 echo "Doing distclean in intl" ; \
16764 (cd $(HOST_SUBDIR)/intl && \
16765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16767 "RANLIB=$${RANLIB}" \
16768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16769 distclean) \
16770 || exit 1
16772 @endif intl
16774 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16775 maybe-maintainer-clean-intl:
16776 @if intl
16777 maybe-maintainer-clean-intl: maintainer-clean-intl
16779 maintainer-clean-intl:
16780 @[ -f ./intl/Makefile ] || exit 0; \
16781 r=`${PWD_COMMAND}`; export r; \
16782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16783 $(HOST_EXPORTS) \
16784 for flag in $(EXTRA_HOST_FLAGS) ; do \
16785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16786 done; \
16787 echo "Doing maintainer-clean in intl" ; \
16788 (cd $(HOST_SUBDIR)/intl && \
16789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16791 "RANLIB=$${RANLIB}" \
16792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16793 maintainer-clean) \
16794 || exit 1
16796 @endif intl
16800 .PHONY: configure-tcl maybe-configure-tcl
16801 maybe-configure-tcl:
16802 @if gcc-bootstrap
16803 configure-tcl: stage_current
16804 @endif gcc-bootstrap
16805 @if tcl
16806 maybe-configure-tcl: configure-tcl
16807 configure-tcl:
16808 @: $(MAKE); $(unstage)
16809 @r=`${PWD_COMMAND}`; export r; \
16810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16813 $(HOST_EXPORTS) \
16814 echo Configuring in $(HOST_SUBDIR)/tcl; \
16815 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16816 case $(srcdir) in \
16817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16818 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16820 esac; \
16821 srcdiroption="--srcdir=$${topdir}/tcl"; \
16822 libsrcdir="$$s/tcl"; \
16823 $(SHELL) $${libsrcdir}/configure \
16824 $(HOST_CONFIGARGS) $${srcdiroption} \
16825 || exit 1
16826 @endif tcl
16832 .PHONY: all-tcl maybe-all-tcl
16833 maybe-all-tcl:
16834 @if gcc-bootstrap
16835 all-tcl: stage_current
16836 @endif gcc-bootstrap
16837 @if tcl
16838 TARGET-tcl=all
16839 maybe-all-tcl: all-tcl
16840 all-tcl: configure-tcl
16841 @: $(MAKE); $(unstage)
16842 @r=`${PWD_COMMAND}`; export r; \
16843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 $(HOST_EXPORTS) \
16845 (cd $(HOST_SUBDIR)/tcl && \
16846 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16847 @endif tcl
16852 .PHONY: check-tcl maybe-check-tcl
16853 maybe-check-tcl:
16854 @if tcl
16855 maybe-check-tcl: check-tcl
16857 check-tcl:
16858 @: $(MAKE); $(unstage)
16859 @r=`${PWD_COMMAND}`; export r; \
16860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16861 $(HOST_EXPORTS) \
16862 (cd $(HOST_SUBDIR)/tcl && \
16863 $(MAKE) $(FLAGS_TO_PASS) check)
16865 @endif tcl
16867 .PHONY: install-tcl maybe-install-tcl
16868 maybe-install-tcl:
16869 @if tcl
16870 maybe-install-tcl: install-tcl
16872 install-tcl: installdirs
16873 @: $(MAKE); $(unstage)
16874 @r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16876 $(HOST_EXPORTS) \
16877 (cd $(HOST_SUBDIR)/tcl && \
16878 $(MAKE) $(FLAGS_TO_PASS) install)
16880 @endif tcl
16882 # Other targets (info, dvi, pdf, etc.)
16884 .PHONY: maybe-info-tcl info-tcl
16885 maybe-info-tcl:
16886 @if tcl
16887 maybe-info-tcl: info-tcl
16889 info-tcl: \
16890 configure-tcl
16891 @: $(MAKE); $(unstage)
16892 @[ -f ./tcl/Makefile ] || exit 0; \
16893 r=`${PWD_COMMAND}`; export r; \
16894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16895 $(HOST_EXPORTS) \
16896 for flag in $(EXTRA_HOST_FLAGS) ; do \
16897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16898 done; \
16899 echo "Doing info in tcl" ; \
16900 (cd $(HOST_SUBDIR)/tcl && \
16901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16903 "RANLIB=$${RANLIB}" \
16904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16905 info) \
16906 || exit 1
16908 @endif tcl
16910 .PHONY: maybe-dvi-tcl dvi-tcl
16911 maybe-dvi-tcl:
16912 @if tcl
16913 maybe-dvi-tcl: dvi-tcl
16915 dvi-tcl: \
16916 configure-tcl
16917 @: $(MAKE); $(unstage)
16918 @[ -f ./tcl/Makefile ] || exit 0; \
16919 r=`${PWD_COMMAND}`; export r; \
16920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16921 $(HOST_EXPORTS) \
16922 for flag in $(EXTRA_HOST_FLAGS) ; do \
16923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16924 done; \
16925 echo "Doing dvi in tcl" ; \
16926 (cd $(HOST_SUBDIR)/tcl && \
16927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16929 "RANLIB=$${RANLIB}" \
16930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16931 dvi) \
16932 || exit 1
16934 @endif tcl
16936 .PHONY: maybe-pdf-tcl pdf-tcl
16937 maybe-pdf-tcl:
16938 @if tcl
16939 maybe-pdf-tcl: pdf-tcl
16941 pdf-tcl: \
16942 configure-tcl
16943 @: $(MAKE); $(unstage)
16944 @[ -f ./tcl/Makefile ] || exit 0; \
16945 r=`${PWD_COMMAND}`; export r; \
16946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16947 $(HOST_EXPORTS) \
16948 for flag in $(EXTRA_HOST_FLAGS) ; do \
16949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16950 done; \
16951 echo "Doing pdf in tcl" ; \
16952 (cd $(HOST_SUBDIR)/tcl && \
16953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16955 "RANLIB=$${RANLIB}" \
16956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16957 pdf) \
16958 || exit 1
16960 @endif tcl
16962 .PHONY: maybe-html-tcl html-tcl
16963 maybe-html-tcl:
16964 @if tcl
16965 maybe-html-tcl: html-tcl
16967 html-tcl: \
16968 configure-tcl
16969 @: $(MAKE); $(unstage)
16970 @[ -f ./tcl/Makefile ] || exit 0; \
16971 r=`${PWD_COMMAND}`; export r; \
16972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16973 $(HOST_EXPORTS) \
16974 for flag in $(EXTRA_HOST_FLAGS) ; do \
16975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16976 done; \
16977 echo "Doing html in tcl" ; \
16978 (cd $(HOST_SUBDIR)/tcl && \
16979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16981 "RANLIB=$${RANLIB}" \
16982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16983 html) \
16984 || exit 1
16986 @endif tcl
16988 .PHONY: maybe-TAGS-tcl TAGS-tcl
16989 maybe-TAGS-tcl:
16990 @if tcl
16991 maybe-TAGS-tcl: TAGS-tcl
16993 TAGS-tcl: \
16994 configure-tcl
16995 @: $(MAKE); $(unstage)
16996 @[ -f ./tcl/Makefile ] || exit 0; \
16997 r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999 $(HOST_EXPORTS) \
17000 for flag in $(EXTRA_HOST_FLAGS) ; do \
17001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17002 done; \
17003 echo "Doing TAGS in tcl" ; \
17004 (cd $(HOST_SUBDIR)/tcl && \
17005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17007 "RANLIB=$${RANLIB}" \
17008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17009 TAGS) \
17010 || exit 1
17012 @endif tcl
17014 .PHONY: maybe-install-info-tcl install-info-tcl
17015 maybe-install-info-tcl:
17016 @if tcl
17017 maybe-install-info-tcl: install-info-tcl
17019 install-info-tcl: \
17020 configure-tcl \
17021 info-tcl
17022 @: $(MAKE); $(unstage)
17023 @[ -f ./tcl/Makefile ] || exit 0; \
17024 r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17026 $(HOST_EXPORTS) \
17027 for flag in $(EXTRA_HOST_FLAGS) ; do \
17028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17029 done; \
17030 echo "Doing install-info in tcl" ; \
17031 (cd $(HOST_SUBDIR)/tcl && \
17032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17034 "RANLIB=$${RANLIB}" \
17035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17036 install-info) \
17037 || exit 1
17039 @endif tcl
17041 .PHONY: maybe-install-html-tcl install-html-tcl
17042 maybe-install-html-tcl:
17043 @if tcl
17044 maybe-install-html-tcl: install-html-tcl
17046 install-html-tcl: \
17047 configure-tcl \
17048 html-tcl
17049 @: $(MAKE); $(unstage)
17050 @[ -f ./tcl/Makefile ] || exit 0; \
17051 r=`${PWD_COMMAND}`; export r; \
17052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17053 $(HOST_EXPORTS) \
17054 for flag in $(EXTRA_HOST_FLAGS) ; do \
17055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17056 done; \
17057 echo "Doing install-html in tcl" ; \
17058 (cd $(HOST_SUBDIR)/tcl && \
17059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17061 "RANLIB=$${RANLIB}" \
17062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17063 install-html) \
17064 || exit 1
17066 @endif tcl
17068 .PHONY: maybe-installcheck-tcl installcheck-tcl
17069 maybe-installcheck-tcl:
17070 @if tcl
17071 maybe-installcheck-tcl: installcheck-tcl
17073 installcheck-tcl: \
17074 configure-tcl
17075 @: $(MAKE); $(unstage)
17076 @[ -f ./tcl/Makefile ] || exit 0; \
17077 r=`${PWD_COMMAND}`; export r; \
17078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17079 $(HOST_EXPORTS) \
17080 for flag in $(EXTRA_HOST_FLAGS) ; do \
17081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17082 done; \
17083 echo "Doing installcheck in tcl" ; \
17084 (cd $(HOST_SUBDIR)/tcl && \
17085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17087 "RANLIB=$${RANLIB}" \
17088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17089 installcheck) \
17090 || exit 1
17092 @endif tcl
17094 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17095 maybe-mostlyclean-tcl:
17096 @if tcl
17097 maybe-mostlyclean-tcl: mostlyclean-tcl
17099 # tcl doesn't support mostlyclean.
17100 mostlyclean-tcl:
17102 @endif tcl
17104 .PHONY: maybe-clean-tcl clean-tcl
17105 maybe-clean-tcl:
17106 @if tcl
17107 maybe-clean-tcl: clean-tcl
17109 clean-tcl:
17110 @: $(MAKE); $(unstage)
17111 @[ -f ./tcl/Makefile ] || exit 0; \
17112 r=`${PWD_COMMAND}`; export r; \
17113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17114 $(HOST_EXPORTS) \
17115 for flag in $(EXTRA_HOST_FLAGS) ; do \
17116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17117 done; \
17118 echo "Doing clean in tcl" ; \
17119 (cd $(HOST_SUBDIR)/tcl && \
17120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17122 "RANLIB=$${RANLIB}" \
17123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17124 clean) \
17125 || exit 1
17127 @endif tcl
17129 .PHONY: maybe-distclean-tcl distclean-tcl
17130 maybe-distclean-tcl:
17131 @if tcl
17132 maybe-distclean-tcl: distclean-tcl
17134 distclean-tcl:
17135 @: $(MAKE); $(unstage)
17136 @[ -f ./tcl/Makefile ] || exit 0; \
17137 r=`${PWD_COMMAND}`; export r; \
17138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 $(HOST_EXPORTS) \
17140 for flag in $(EXTRA_HOST_FLAGS) ; do \
17141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17142 done; \
17143 echo "Doing distclean in tcl" ; \
17144 (cd $(HOST_SUBDIR)/tcl && \
17145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17147 "RANLIB=$${RANLIB}" \
17148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17149 distclean) \
17150 || exit 1
17152 @endif tcl
17154 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17155 maybe-maintainer-clean-tcl:
17156 @if tcl
17157 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17159 maintainer-clean-tcl:
17160 @: $(MAKE); $(unstage)
17161 @[ -f ./tcl/Makefile ] || exit 0; \
17162 r=`${PWD_COMMAND}`; export r; \
17163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17164 $(HOST_EXPORTS) \
17165 for flag in $(EXTRA_HOST_FLAGS) ; do \
17166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17167 done; \
17168 echo "Doing maintainer-clean in tcl" ; \
17169 (cd $(HOST_SUBDIR)/tcl && \
17170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17172 "RANLIB=$${RANLIB}" \
17173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17174 maintainer-clean) \
17175 || exit 1
17177 @endif tcl
17181 .PHONY: configure-itcl maybe-configure-itcl
17182 maybe-configure-itcl:
17183 @if gcc-bootstrap
17184 configure-itcl: stage_current
17185 @endif gcc-bootstrap
17186 @if itcl
17187 maybe-configure-itcl: configure-itcl
17188 configure-itcl:
17189 @: $(MAKE); $(unstage)
17190 @r=`${PWD_COMMAND}`; export r; \
17191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17192 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17194 $(HOST_EXPORTS) \
17195 echo Configuring in $(HOST_SUBDIR)/itcl; \
17196 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17197 case $(srcdir) in \
17198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17199 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17201 esac; \
17202 srcdiroption="--srcdir=$${topdir}/itcl"; \
17203 libsrcdir="$$s/itcl"; \
17204 $(SHELL) $${libsrcdir}/configure \
17205 $(HOST_CONFIGARGS) $${srcdiroption} \
17206 || exit 1
17207 @endif itcl
17213 .PHONY: all-itcl maybe-all-itcl
17214 maybe-all-itcl:
17215 @if gcc-bootstrap
17216 all-itcl: stage_current
17217 @endif gcc-bootstrap
17218 @if itcl
17219 TARGET-itcl=all
17220 maybe-all-itcl: all-itcl
17221 all-itcl: configure-itcl
17222 @: $(MAKE); $(unstage)
17223 @r=`${PWD_COMMAND}`; export r; \
17224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17225 $(HOST_EXPORTS) \
17226 (cd $(HOST_SUBDIR)/itcl && \
17227 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17228 @endif itcl
17233 .PHONY: check-itcl maybe-check-itcl
17234 maybe-check-itcl:
17235 @if itcl
17236 maybe-check-itcl: check-itcl
17238 check-itcl:
17239 @: $(MAKE); $(unstage)
17240 @r=`${PWD_COMMAND}`; export r; \
17241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17242 $(HOST_EXPORTS) \
17243 (cd $(HOST_SUBDIR)/itcl && \
17244 $(MAKE) $(FLAGS_TO_PASS) check)
17246 @endif itcl
17248 .PHONY: install-itcl maybe-install-itcl
17249 maybe-install-itcl:
17250 @if itcl
17251 maybe-install-itcl: install-itcl
17253 install-itcl: installdirs
17254 @: $(MAKE); $(unstage)
17255 @r=`${PWD_COMMAND}`; export r; \
17256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17257 $(HOST_EXPORTS) \
17258 (cd $(HOST_SUBDIR)/itcl && \
17259 $(MAKE) $(FLAGS_TO_PASS) install)
17261 @endif itcl
17263 # Other targets (info, dvi, pdf, etc.)
17265 .PHONY: maybe-info-itcl info-itcl
17266 maybe-info-itcl:
17267 @if itcl
17268 maybe-info-itcl: info-itcl
17270 info-itcl: \
17271 configure-itcl
17272 @: $(MAKE); $(unstage)
17273 @[ -f ./itcl/Makefile ] || exit 0; \
17274 r=`${PWD_COMMAND}`; export r; \
17275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17276 $(HOST_EXPORTS) \
17277 for flag in $(EXTRA_HOST_FLAGS) ; do \
17278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17279 done; \
17280 echo "Doing info in itcl" ; \
17281 (cd $(HOST_SUBDIR)/itcl && \
17282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17284 "RANLIB=$${RANLIB}" \
17285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17286 info) \
17287 || exit 1
17289 @endif itcl
17291 .PHONY: maybe-dvi-itcl dvi-itcl
17292 maybe-dvi-itcl:
17293 @if itcl
17294 maybe-dvi-itcl: dvi-itcl
17296 dvi-itcl: \
17297 configure-itcl
17298 @: $(MAKE); $(unstage)
17299 @[ -f ./itcl/Makefile ] || exit 0; \
17300 r=`${PWD_COMMAND}`; export r; \
17301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17302 $(HOST_EXPORTS) \
17303 for flag in $(EXTRA_HOST_FLAGS) ; do \
17304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17305 done; \
17306 echo "Doing dvi in itcl" ; \
17307 (cd $(HOST_SUBDIR)/itcl && \
17308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17310 "RANLIB=$${RANLIB}" \
17311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17312 dvi) \
17313 || exit 1
17315 @endif itcl
17317 .PHONY: maybe-pdf-itcl pdf-itcl
17318 maybe-pdf-itcl:
17319 @if itcl
17320 maybe-pdf-itcl: pdf-itcl
17322 pdf-itcl: \
17323 configure-itcl
17324 @: $(MAKE); $(unstage)
17325 @[ -f ./itcl/Makefile ] || exit 0; \
17326 r=`${PWD_COMMAND}`; export r; \
17327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17328 $(HOST_EXPORTS) \
17329 for flag in $(EXTRA_HOST_FLAGS) ; do \
17330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17331 done; \
17332 echo "Doing pdf in itcl" ; \
17333 (cd $(HOST_SUBDIR)/itcl && \
17334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17336 "RANLIB=$${RANLIB}" \
17337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17338 pdf) \
17339 || exit 1
17341 @endif itcl
17343 .PHONY: maybe-html-itcl html-itcl
17344 maybe-html-itcl:
17345 @if itcl
17346 maybe-html-itcl: html-itcl
17348 html-itcl: \
17349 configure-itcl
17350 @: $(MAKE); $(unstage)
17351 @[ -f ./itcl/Makefile ] || exit 0; \
17352 r=`${PWD_COMMAND}`; export r; \
17353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17354 $(HOST_EXPORTS) \
17355 for flag in $(EXTRA_HOST_FLAGS) ; do \
17356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17357 done; \
17358 echo "Doing html in itcl" ; \
17359 (cd $(HOST_SUBDIR)/itcl && \
17360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17362 "RANLIB=$${RANLIB}" \
17363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17364 html) \
17365 || exit 1
17367 @endif itcl
17369 .PHONY: maybe-TAGS-itcl TAGS-itcl
17370 maybe-TAGS-itcl:
17371 @if itcl
17372 maybe-TAGS-itcl: TAGS-itcl
17374 TAGS-itcl: \
17375 configure-itcl
17376 @: $(MAKE); $(unstage)
17377 @[ -f ./itcl/Makefile ] || exit 0; \
17378 r=`${PWD_COMMAND}`; export r; \
17379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17380 $(HOST_EXPORTS) \
17381 for flag in $(EXTRA_HOST_FLAGS) ; do \
17382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17383 done; \
17384 echo "Doing TAGS in itcl" ; \
17385 (cd $(HOST_SUBDIR)/itcl && \
17386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17388 "RANLIB=$${RANLIB}" \
17389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17390 TAGS) \
17391 || exit 1
17393 @endif itcl
17395 .PHONY: maybe-install-info-itcl install-info-itcl
17396 maybe-install-info-itcl:
17397 @if itcl
17398 maybe-install-info-itcl: install-info-itcl
17400 install-info-itcl: \
17401 configure-itcl \
17402 info-itcl
17403 @: $(MAKE); $(unstage)
17404 @[ -f ./itcl/Makefile ] || exit 0; \
17405 r=`${PWD_COMMAND}`; export r; \
17406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17407 $(HOST_EXPORTS) \
17408 for flag in $(EXTRA_HOST_FLAGS) ; do \
17409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17410 done; \
17411 echo "Doing install-info in itcl" ; \
17412 (cd $(HOST_SUBDIR)/itcl && \
17413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17415 "RANLIB=$${RANLIB}" \
17416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17417 install-info) \
17418 || exit 1
17420 @endif itcl
17422 .PHONY: maybe-install-html-itcl install-html-itcl
17423 maybe-install-html-itcl:
17424 @if itcl
17425 maybe-install-html-itcl: install-html-itcl
17427 install-html-itcl: \
17428 configure-itcl \
17429 html-itcl
17430 @: $(MAKE); $(unstage)
17431 @[ -f ./itcl/Makefile ] || exit 0; \
17432 r=`${PWD_COMMAND}`; export r; \
17433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434 $(HOST_EXPORTS) \
17435 for flag in $(EXTRA_HOST_FLAGS) ; do \
17436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17437 done; \
17438 echo "Doing install-html in itcl" ; \
17439 (cd $(HOST_SUBDIR)/itcl && \
17440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17442 "RANLIB=$${RANLIB}" \
17443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17444 install-html) \
17445 || exit 1
17447 @endif itcl
17449 .PHONY: maybe-installcheck-itcl installcheck-itcl
17450 maybe-installcheck-itcl:
17451 @if itcl
17452 maybe-installcheck-itcl: installcheck-itcl
17454 installcheck-itcl: \
17455 configure-itcl
17456 @: $(MAKE); $(unstage)
17457 @[ -f ./itcl/Makefile ] || exit 0; \
17458 r=`${PWD_COMMAND}`; export r; \
17459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17460 $(HOST_EXPORTS) \
17461 for flag in $(EXTRA_HOST_FLAGS) ; do \
17462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17463 done; \
17464 echo "Doing installcheck in itcl" ; \
17465 (cd $(HOST_SUBDIR)/itcl && \
17466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17468 "RANLIB=$${RANLIB}" \
17469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17470 installcheck) \
17471 || exit 1
17473 @endif itcl
17475 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17476 maybe-mostlyclean-itcl:
17477 @if itcl
17478 maybe-mostlyclean-itcl: mostlyclean-itcl
17480 mostlyclean-itcl:
17481 @: $(MAKE); $(unstage)
17482 @[ -f ./itcl/Makefile ] || exit 0; \
17483 r=`${PWD_COMMAND}`; export r; \
17484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17485 $(HOST_EXPORTS) \
17486 for flag in $(EXTRA_HOST_FLAGS) ; do \
17487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17488 done; \
17489 echo "Doing mostlyclean in itcl" ; \
17490 (cd $(HOST_SUBDIR)/itcl && \
17491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17493 "RANLIB=$${RANLIB}" \
17494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17495 mostlyclean) \
17496 || exit 1
17498 @endif itcl
17500 .PHONY: maybe-clean-itcl clean-itcl
17501 maybe-clean-itcl:
17502 @if itcl
17503 maybe-clean-itcl: clean-itcl
17505 clean-itcl:
17506 @: $(MAKE); $(unstage)
17507 @[ -f ./itcl/Makefile ] || exit 0; \
17508 r=`${PWD_COMMAND}`; export r; \
17509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17510 $(HOST_EXPORTS) \
17511 for flag in $(EXTRA_HOST_FLAGS) ; do \
17512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17513 done; \
17514 echo "Doing clean in itcl" ; \
17515 (cd $(HOST_SUBDIR)/itcl && \
17516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17518 "RANLIB=$${RANLIB}" \
17519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17520 clean) \
17521 || exit 1
17523 @endif itcl
17525 .PHONY: maybe-distclean-itcl distclean-itcl
17526 maybe-distclean-itcl:
17527 @if itcl
17528 maybe-distclean-itcl: distclean-itcl
17530 distclean-itcl:
17531 @: $(MAKE); $(unstage)
17532 @[ -f ./itcl/Makefile ] || exit 0; \
17533 r=`${PWD_COMMAND}`; export r; \
17534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17535 $(HOST_EXPORTS) \
17536 for flag in $(EXTRA_HOST_FLAGS) ; do \
17537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17538 done; \
17539 echo "Doing distclean in itcl" ; \
17540 (cd $(HOST_SUBDIR)/itcl && \
17541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17543 "RANLIB=$${RANLIB}" \
17544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17545 distclean) \
17546 || exit 1
17548 @endif itcl
17550 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17551 maybe-maintainer-clean-itcl:
17552 @if itcl
17553 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17555 maintainer-clean-itcl:
17556 @: $(MAKE); $(unstage)
17557 @[ -f ./itcl/Makefile ] || exit 0; \
17558 r=`${PWD_COMMAND}`; export r; \
17559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17560 $(HOST_EXPORTS) \
17561 for flag in $(EXTRA_HOST_FLAGS) ; do \
17562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17563 done; \
17564 echo "Doing maintainer-clean in itcl" ; \
17565 (cd $(HOST_SUBDIR)/itcl && \
17566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17568 "RANLIB=$${RANLIB}" \
17569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17570 maintainer-clean) \
17571 || exit 1
17573 @endif itcl
17577 .PHONY: configure-ld maybe-configure-ld
17578 maybe-configure-ld:
17579 @if gcc-bootstrap
17580 configure-ld: stage_current
17581 @endif gcc-bootstrap
17582 @if ld
17583 maybe-configure-ld: configure-ld
17584 configure-ld:
17585 @r=`${PWD_COMMAND}`; export r; \
17586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17587 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17589 $(HOST_EXPORTS) \
17590 echo Configuring in $(HOST_SUBDIR)/ld; \
17591 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17592 case $(srcdir) in \
17593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17594 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17596 esac; \
17597 srcdiroption="--srcdir=$${topdir}/ld"; \
17598 libsrcdir="$$s/ld"; \
17599 $(SHELL) $${libsrcdir}/configure \
17600 $(HOST_CONFIGARGS) $${srcdiroption} \
17601 || exit 1
17602 @endif ld
17606 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17607 maybe-configure-stage1-ld:
17608 @if ld-bootstrap
17609 maybe-configure-stage1-ld: configure-stage1-ld
17610 configure-stage1-ld:
17611 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17613 @r=`${PWD_COMMAND}`; export r; \
17614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17615 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17616 $(HOST_EXPORTS) \
17617 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17619 cd $(HOST_SUBDIR)/ld || exit 1; \
17620 case $(srcdir) in \
17621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17622 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17624 esac; \
17625 srcdiroption="--srcdir=$${topdir}/ld"; \
17626 libsrcdir="$$s/ld"; \
17627 $(SHELL) $${libsrcdir}/configure \
17628 $(HOST_CONFIGARGS) $${srcdiroption} \
17630 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17631 @endif ld-bootstrap
17633 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17634 maybe-configure-stage2-ld:
17635 @if ld-bootstrap
17636 maybe-configure-stage2-ld: configure-stage2-ld
17637 configure-stage2-ld:
17638 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17640 @r=`${PWD_COMMAND}`; export r; \
17641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17642 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17643 $(HOST_EXPORTS) \
17644 $(POSTSTAGE1_HOST_EXPORTS) \
17645 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17647 cd $(HOST_SUBDIR)/ld || exit 1; \
17648 case $(srcdir) in \
17649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17650 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17652 esac; \
17653 srcdiroption="--srcdir=$${topdir}/ld"; \
17654 libsrcdir="$$s/ld"; \
17655 $(SHELL) $${libsrcdir}/configure \
17656 $(HOST_CONFIGARGS) $${srcdiroption} \
17657 --with-build-libsubdir=$(HOST_SUBDIR) \
17658 @stage2_werror_flag@
17659 @endif ld-bootstrap
17661 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17662 maybe-configure-stage3-ld:
17663 @if ld-bootstrap
17664 maybe-configure-stage3-ld: configure-stage3-ld
17665 configure-stage3-ld:
17666 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17668 @r=`${PWD_COMMAND}`; export r; \
17669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17671 $(HOST_EXPORTS) \
17672 $(POSTSTAGE1_HOST_EXPORTS) \
17673 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17675 cd $(HOST_SUBDIR)/ld || exit 1; \
17676 case $(srcdir) in \
17677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17678 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17680 esac; \
17681 srcdiroption="--srcdir=$${topdir}/ld"; \
17682 libsrcdir="$$s/ld"; \
17683 $(SHELL) $${libsrcdir}/configure \
17684 $(HOST_CONFIGARGS) $${srcdiroption} \
17685 --with-build-libsubdir=$(HOST_SUBDIR) \
17686 @stage2_werror_flag@
17687 @endif ld-bootstrap
17689 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17690 maybe-configure-stage4-ld:
17691 @if ld-bootstrap
17692 maybe-configure-stage4-ld: configure-stage4-ld
17693 configure-stage4-ld:
17694 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17696 @r=`${PWD_COMMAND}`; export r; \
17697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17698 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17699 $(HOST_EXPORTS) \
17700 $(POSTSTAGE1_HOST_EXPORTS) \
17701 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17703 cd $(HOST_SUBDIR)/ld || exit 1; \
17704 case $(srcdir) in \
17705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17706 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17708 esac; \
17709 srcdiroption="--srcdir=$${topdir}/ld"; \
17710 libsrcdir="$$s/ld"; \
17711 $(SHELL) $${libsrcdir}/configure \
17712 $(HOST_CONFIGARGS) $${srcdiroption} \
17713 --with-build-libsubdir=$(HOST_SUBDIR) \
17714 @stage2_werror_flag@
17715 @endif ld-bootstrap
17717 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17718 maybe-configure-stageprofile-ld:
17719 @if ld-bootstrap
17720 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17721 configure-stageprofile-ld:
17722 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17724 @r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17727 $(HOST_EXPORTS) \
17728 $(POSTSTAGE1_HOST_EXPORTS) \
17729 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17731 cd $(HOST_SUBDIR)/ld || exit 1; \
17732 case $(srcdir) in \
17733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17734 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17736 esac; \
17737 srcdiroption="--srcdir=$${topdir}/ld"; \
17738 libsrcdir="$$s/ld"; \
17739 $(SHELL) $${libsrcdir}/configure \
17740 $(HOST_CONFIGARGS) $${srcdiroption} \
17741 --with-build-libsubdir=$(HOST_SUBDIR) \
17742 @stage2_werror_flag@
17743 @endif ld-bootstrap
17745 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17746 maybe-configure-stagefeedback-ld:
17747 @if ld-bootstrap
17748 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17749 configure-stagefeedback-ld:
17750 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17752 @r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17755 $(HOST_EXPORTS) \
17756 $(POSTSTAGE1_HOST_EXPORTS) \
17757 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17759 cd $(HOST_SUBDIR)/ld || exit 1; \
17760 case $(srcdir) in \
17761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17762 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17764 esac; \
17765 srcdiroption="--srcdir=$${topdir}/ld"; \
17766 libsrcdir="$$s/ld"; \
17767 $(SHELL) $${libsrcdir}/configure \
17768 $(HOST_CONFIGARGS) $${srcdiroption} \
17769 --with-build-libsubdir=$(HOST_SUBDIR) \
17770 @stage2_werror_flag@
17771 @endif ld-bootstrap
17777 .PHONY: all-ld maybe-all-ld
17778 maybe-all-ld:
17779 @if gcc-bootstrap
17780 all-ld: stage_current
17781 @endif gcc-bootstrap
17782 @if ld
17783 TARGET-ld=all
17784 maybe-all-ld: all-ld
17785 all-ld: configure-ld
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17788 $(HOST_EXPORTS) \
17789 (cd $(HOST_SUBDIR)/ld && \
17790 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17791 @endif ld
17795 .PHONY: all-stage1-ld maybe-all-stage1-ld
17796 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17797 maybe-all-stage1-ld:
17798 maybe-clean-stage1-ld:
17799 @if ld-bootstrap
17800 maybe-all-stage1-ld: all-stage1-ld
17801 all-stage1: all-stage1-ld
17802 TARGET-stage1-ld = $(TARGET-ld)
17803 all-stage1-ld: configure-stage1-ld
17804 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17805 @r=`${PWD_COMMAND}`; export r; \
17806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17807 $(HOST_EXPORTS) \
17808 cd $(HOST_SUBDIR)/ld && \
17809 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17810 $(TARGET-stage1-ld)
17812 maybe-clean-stage1-ld: clean-stage1-ld
17813 clean-stage1: clean-stage1-ld
17814 clean-stage1-ld:
17815 @if [ $(current_stage) = stage1 ]; then \
17816 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17817 else \
17818 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
17819 $(MAKE) stage1-start; \
17820 fi; \
17821 cd $(HOST_SUBDIR)/ld && \
17822 $(MAKE) $(FLAGS_TO_PASS) \
17823 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17824 @endif ld-bootstrap
17827 .PHONY: all-stage2-ld maybe-all-stage2-ld
17828 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17829 maybe-all-stage2-ld:
17830 maybe-clean-stage2-ld:
17831 @if ld-bootstrap
17832 maybe-all-stage2-ld: all-stage2-ld
17833 all-stage2: all-stage2-ld
17834 TARGET-stage2-ld = $(TARGET-ld)
17835 all-stage2-ld: configure-stage2-ld
17836 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17837 @r=`${PWD_COMMAND}`; export r; \
17838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17839 $(HOST_EXPORTS) \
17840 $(POSTSTAGE1_HOST_EXPORTS) \
17841 cd $(HOST_SUBDIR)/ld && \
17842 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17843 $(TARGET-stage2-ld)
17845 maybe-clean-stage2-ld: clean-stage2-ld
17846 clean-stage2: clean-stage2-ld
17847 clean-stage2-ld:
17848 @if [ $(current_stage) = stage2 ]; then \
17849 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17850 else \
17851 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
17852 $(MAKE) stage2-start; \
17853 fi; \
17854 cd $(HOST_SUBDIR)/ld && \
17855 $(MAKE) $(FLAGS_TO_PASS) \
17856 $(POSTSTAGE1_FLAGS_TO_PASS) \
17857 clean
17858 @endif ld-bootstrap
17861 .PHONY: all-stage3-ld maybe-all-stage3-ld
17862 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17863 maybe-all-stage3-ld:
17864 maybe-clean-stage3-ld:
17865 @if ld-bootstrap
17866 maybe-all-stage3-ld: all-stage3-ld
17867 all-stage3: all-stage3-ld
17868 TARGET-stage3-ld = $(TARGET-ld)
17869 all-stage3-ld: configure-stage3-ld
17870 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17871 @r=`${PWD_COMMAND}`; export r; \
17872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17873 $(HOST_EXPORTS) \
17874 $(POSTSTAGE1_HOST_EXPORTS) \
17875 cd $(HOST_SUBDIR)/ld && \
17876 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17877 $(TARGET-stage3-ld)
17879 maybe-clean-stage3-ld: clean-stage3-ld
17880 clean-stage3: clean-stage3-ld
17881 clean-stage3-ld:
17882 @if [ $(current_stage) = stage3 ]; then \
17883 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17884 else \
17885 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
17886 $(MAKE) stage3-start; \
17887 fi; \
17888 cd $(HOST_SUBDIR)/ld && \
17889 $(MAKE) $(FLAGS_TO_PASS) \
17890 $(POSTSTAGE1_FLAGS_TO_PASS) \
17891 clean
17892 @endif ld-bootstrap
17895 .PHONY: all-stage4-ld maybe-all-stage4-ld
17896 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17897 maybe-all-stage4-ld:
17898 maybe-clean-stage4-ld:
17899 @if ld-bootstrap
17900 maybe-all-stage4-ld: all-stage4-ld
17901 all-stage4: all-stage4-ld
17902 TARGET-stage4-ld = $(TARGET-ld)
17903 all-stage4-ld: configure-stage4-ld
17904 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17905 @r=`${PWD_COMMAND}`; export r; \
17906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17907 $(HOST_EXPORTS) \
17908 $(POSTSTAGE1_HOST_EXPORTS) \
17909 cd $(HOST_SUBDIR)/ld && \
17910 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17911 $(TARGET-stage4-ld)
17913 maybe-clean-stage4-ld: clean-stage4-ld
17914 clean-stage4: clean-stage4-ld
17915 clean-stage4-ld:
17916 @if [ $(current_stage) = stage4 ]; then \
17917 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17918 else \
17919 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
17920 $(MAKE) stage4-start; \
17921 fi; \
17922 cd $(HOST_SUBDIR)/ld && \
17923 $(MAKE) $(FLAGS_TO_PASS) \
17924 $(POSTSTAGE1_FLAGS_TO_PASS) \
17925 clean
17926 @endif ld-bootstrap
17929 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17930 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17931 maybe-all-stageprofile-ld:
17932 maybe-clean-stageprofile-ld:
17933 @if ld-bootstrap
17934 maybe-all-stageprofile-ld: all-stageprofile-ld
17935 all-stageprofile: all-stageprofile-ld
17936 TARGET-stageprofile-ld = $(TARGET-ld)
17937 all-stageprofile-ld: configure-stageprofile-ld
17938 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17939 @r=`${PWD_COMMAND}`; export r; \
17940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17941 $(HOST_EXPORTS) \
17942 $(POSTSTAGE1_HOST_EXPORTS) \
17943 cd $(HOST_SUBDIR)/ld && \
17944 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17945 $(TARGET-stageprofile-ld)
17947 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17948 clean-stageprofile: clean-stageprofile-ld
17949 clean-stageprofile-ld:
17950 @if [ $(current_stage) = stageprofile ]; then \
17951 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17952 else \
17953 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
17954 $(MAKE) stageprofile-start; \
17955 fi; \
17956 cd $(HOST_SUBDIR)/ld && \
17957 $(MAKE) $(FLAGS_TO_PASS) \
17958 $(POSTSTAGE1_FLAGS_TO_PASS) \
17959 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17960 @endif ld-bootstrap
17963 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17964 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17965 maybe-all-stagefeedback-ld:
17966 maybe-clean-stagefeedback-ld:
17967 @if ld-bootstrap
17968 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17969 all-stagefeedback: all-stagefeedback-ld
17970 TARGET-stagefeedback-ld = $(TARGET-ld)
17971 all-stagefeedback-ld: configure-stagefeedback-ld
17972 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17973 @r=`${PWD_COMMAND}`; export r; \
17974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17975 $(HOST_EXPORTS) \
17976 $(POSTSTAGE1_HOST_EXPORTS) \
17977 cd $(HOST_SUBDIR)/ld && \
17978 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17979 $(TARGET-stagefeedback-ld)
17981 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17982 clean-stagefeedback: clean-stagefeedback-ld
17983 clean-stagefeedback-ld:
17984 @if [ $(current_stage) = stagefeedback ]; then \
17985 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17986 else \
17987 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
17988 $(MAKE) stagefeedback-start; \
17989 fi; \
17990 cd $(HOST_SUBDIR)/ld && \
17991 $(MAKE) $(FLAGS_TO_PASS) \
17992 $(POSTSTAGE1_FLAGS_TO_PASS) \
17993 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17994 @endif ld-bootstrap
18000 .PHONY: check-ld maybe-check-ld
18001 maybe-check-ld:
18002 @if ld
18003 maybe-check-ld: check-ld
18005 check-ld:
18006 @: $(MAKE); $(unstage)
18007 @r=`${PWD_COMMAND}`; export r; \
18008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18009 $(HOST_EXPORTS) \
18010 (cd $(HOST_SUBDIR)/ld && \
18011 $(MAKE) $(FLAGS_TO_PASS) check)
18013 @endif ld
18015 .PHONY: install-ld maybe-install-ld
18016 maybe-install-ld:
18017 @if ld
18018 maybe-install-ld: install-ld
18020 install-ld: installdirs
18021 @: $(MAKE); $(unstage)
18022 @r=`${PWD_COMMAND}`; export r; \
18023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 $(HOST_EXPORTS) \
18025 (cd $(HOST_SUBDIR)/ld && \
18026 $(MAKE) $(FLAGS_TO_PASS) install)
18028 @endif ld
18030 # Other targets (info, dvi, pdf, etc.)
18032 .PHONY: maybe-info-ld info-ld
18033 maybe-info-ld:
18034 @if ld
18035 maybe-info-ld: info-ld
18037 info-ld: \
18038 configure-ld
18039 @[ -f ./ld/Makefile ] || exit 0; \
18040 r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(HOST_EXPORTS) \
18043 for flag in $(EXTRA_HOST_FLAGS) ; do \
18044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18045 done; \
18046 echo "Doing info in ld" ; \
18047 (cd $(HOST_SUBDIR)/ld && \
18048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18050 "RANLIB=$${RANLIB}" \
18051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18052 info) \
18053 || exit 1
18055 @endif ld
18057 .PHONY: maybe-dvi-ld dvi-ld
18058 maybe-dvi-ld:
18059 @if ld
18060 maybe-dvi-ld: dvi-ld
18062 dvi-ld: \
18063 configure-ld
18064 @[ -f ./ld/Makefile ] || exit 0; \
18065 r=`${PWD_COMMAND}`; export r; \
18066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18067 $(HOST_EXPORTS) \
18068 for flag in $(EXTRA_HOST_FLAGS) ; do \
18069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18070 done; \
18071 echo "Doing dvi in ld" ; \
18072 (cd $(HOST_SUBDIR)/ld && \
18073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18075 "RANLIB=$${RANLIB}" \
18076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18077 dvi) \
18078 || exit 1
18080 @endif ld
18082 .PHONY: maybe-pdf-ld pdf-ld
18083 maybe-pdf-ld:
18084 @if ld
18085 maybe-pdf-ld: pdf-ld
18087 pdf-ld: \
18088 configure-ld
18089 @[ -f ./ld/Makefile ] || exit 0; \
18090 r=`${PWD_COMMAND}`; export r; \
18091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18092 $(HOST_EXPORTS) \
18093 for flag in $(EXTRA_HOST_FLAGS) ; do \
18094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18095 done; \
18096 echo "Doing pdf in ld" ; \
18097 (cd $(HOST_SUBDIR)/ld && \
18098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18100 "RANLIB=$${RANLIB}" \
18101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18102 pdf) \
18103 || exit 1
18105 @endif ld
18107 .PHONY: maybe-html-ld html-ld
18108 maybe-html-ld:
18109 @if ld
18110 maybe-html-ld: html-ld
18112 html-ld: \
18113 configure-ld
18114 @[ -f ./ld/Makefile ] || exit 0; \
18115 r=`${PWD_COMMAND}`; export r; \
18116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18117 $(HOST_EXPORTS) \
18118 for flag in $(EXTRA_HOST_FLAGS) ; do \
18119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18120 done; \
18121 echo "Doing html in ld" ; \
18122 (cd $(HOST_SUBDIR)/ld && \
18123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18125 "RANLIB=$${RANLIB}" \
18126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18127 html) \
18128 || exit 1
18130 @endif ld
18132 .PHONY: maybe-TAGS-ld TAGS-ld
18133 maybe-TAGS-ld:
18134 @if ld
18135 maybe-TAGS-ld: TAGS-ld
18137 TAGS-ld: \
18138 configure-ld
18139 @[ -f ./ld/Makefile ] || exit 0; \
18140 r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 $(HOST_EXPORTS) \
18143 for flag in $(EXTRA_HOST_FLAGS) ; do \
18144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18145 done; \
18146 echo "Doing TAGS in ld" ; \
18147 (cd $(HOST_SUBDIR)/ld && \
18148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18150 "RANLIB=$${RANLIB}" \
18151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18152 TAGS) \
18153 || exit 1
18155 @endif ld
18157 .PHONY: maybe-install-info-ld install-info-ld
18158 maybe-install-info-ld:
18159 @if ld
18160 maybe-install-info-ld: install-info-ld
18162 install-info-ld: \
18163 configure-ld \
18164 info-ld
18165 @[ -f ./ld/Makefile ] || exit 0; \
18166 r=`${PWD_COMMAND}`; export r; \
18167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18168 $(HOST_EXPORTS) \
18169 for flag in $(EXTRA_HOST_FLAGS) ; do \
18170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18171 done; \
18172 echo "Doing install-info in ld" ; \
18173 (cd $(HOST_SUBDIR)/ld && \
18174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18176 "RANLIB=$${RANLIB}" \
18177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18178 install-info) \
18179 || exit 1
18181 @endif ld
18183 .PHONY: maybe-install-html-ld install-html-ld
18184 maybe-install-html-ld:
18185 @if ld
18186 maybe-install-html-ld: install-html-ld
18188 install-html-ld: \
18189 configure-ld \
18190 html-ld
18191 @[ -f ./ld/Makefile ] || exit 0; \
18192 r=`${PWD_COMMAND}`; export r; \
18193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18194 $(HOST_EXPORTS) \
18195 for flag in $(EXTRA_HOST_FLAGS) ; do \
18196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18197 done; \
18198 echo "Doing install-html in ld" ; \
18199 (cd $(HOST_SUBDIR)/ld && \
18200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18202 "RANLIB=$${RANLIB}" \
18203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18204 install-html) \
18205 || exit 1
18207 @endif ld
18209 .PHONY: maybe-installcheck-ld installcheck-ld
18210 maybe-installcheck-ld:
18211 @if ld
18212 maybe-installcheck-ld: installcheck-ld
18214 installcheck-ld: \
18215 configure-ld
18216 @[ -f ./ld/Makefile ] || exit 0; \
18217 r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219 $(HOST_EXPORTS) \
18220 for flag in $(EXTRA_HOST_FLAGS) ; do \
18221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18222 done; \
18223 echo "Doing installcheck in ld" ; \
18224 (cd $(HOST_SUBDIR)/ld && \
18225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18227 "RANLIB=$${RANLIB}" \
18228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18229 installcheck) \
18230 || exit 1
18232 @endif ld
18234 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18235 maybe-mostlyclean-ld:
18236 @if ld
18237 maybe-mostlyclean-ld: mostlyclean-ld
18239 mostlyclean-ld:
18240 @[ -f ./ld/Makefile ] || exit 0; \
18241 r=`${PWD_COMMAND}`; export r; \
18242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243 $(HOST_EXPORTS) \
18244 for flag in $(EXTRA_HOST_FLAGS) ; do \
18245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18246 done; \
18247 echo "Doing mostlyclean in ld" ; \
18248 (cd $(HOST_SUBDIR)/ld && \
18249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18251 "RANLIB=$${RANLIB}" \
18252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18253 mostlyclean) \
18254 || exit 1
18256 @endif ld
18258 .PHONY: maybe-clean-ld clean-ld
18259 maybe-clean-ld:
18260 @if ld
18261 maybe-clean-ld: clean-ld
18263 clean-ld:
18264 @[ -f ./ld/Makefile ] || exit 0; \
18265 r=`${PWD_COMMAND}`; export r; \
18266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18267 $(HOST_EXPORTS) \
18268 for flag in $(EXTRA_HOST_FLAGS) ; do \
18269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18270 done; \
18271 echo "Doing clean in ld" ; \
18272 (cd $(HOST_SUBDIR)/ld && \
18273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18275 "RANLIB=$${RANLIB}" \
18276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18277 clean) \
18278 || exit 1
18280 @endif ld
18282 .PHONY: maybe-distclean-ld distclean-ld
18283 maybe-distclean-ld:
18284 @if ld
18285 maybe-distclean-ld: distclean-ld
18287 distclean-ld:
18288 @[ -f ./ld/Makefile ] || exit 0; \
18289 r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 $(HOST_EXPORTS) \
18292 for flag in $(EXTRA_HOST_FLAGS) ; do \
18293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18294 done; \
18295 echo "Doing distclean in ld" ; \
18296 (cd $(HOST_SUBDIR)/ld && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18299 "RANLIB=$${RANLIB}" \
18300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18301 distclean) \
18302 || exit 1
18304 @endif ld
18306 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18307 maybe-maintainer-clean-ld:
18308 @if ld
18309 maybe-maintainer-clean-ld: maintainer-clean-ld
18311 maintainer-clean-ld:
18312 @[ -f ./ld/Makefile ] || exit 0; \
18313 r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 $(HOST_EXPORTS) \
18316 for flag in $(EXTRA_HOST_FLAGS) ; do \
18317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18318 done; \
18319 echo "Doing maintainer-clean in ld" ; \
18320 (cd $(HOST_SUBDIR)/ld && \
18321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18323 "RANLIB=$${RANLIB}" \
18324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18325 maintainer-clean) \
18326 || exit 1
18328 @endif ld
18332 .PHONY: configure-libcpp maybe-configure-libcpp
18333 maybe-configure-libcpp:
18334 @if gcc-bootstrap
18335 configure-libcpp: stage_current
18336 @endif gcc-bootstrap
18337 @if libcpp
18338 maybe-configure-libcpp: configure-libcpp
18339 configure-libcpp:
18340 @r=`${PWD_COMMAND}`; export r; \
18341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18344 $(HOST_EXPORTS) \
18345 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18346 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18347 case $(srcdir) in \
18348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18349 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18351 esac; \
18352 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18353 libsrcdir="$$s/libcpp"; \
18354 $(SHELL) $${libsrcdir}/configure \
18355 $(HOST_CONFIGARGS) $${srcdiroption} \
18356 || exit 1
18357 @endif libcpp
18361 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18362 maybe-configure-stage1-libcpp:
18363 @if libcpp-bootstrap
18364 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18365 configure-stage1-libcpp:
18366 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18368 @r=`${PWD_COMMAND}`; export r; \
18369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18370 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18371 $(HOST_EXPORTS) \
18372 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18374 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18375 case $(srcdir) in \
18376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18377 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18379 esac; \
18380 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18381 libsrcdir="$$s/libcpp"; \
18382 $(SHELL) $${libsrcdir}/configure \
18383 $(HOST_CONFIGARGS) $${srcdiroption} \
18385 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18386 @endif libcpp-bootstrap
18388 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18389 maybe-configure-stage2-libcpp:
18390 @if libcpp-bootstrap
18391 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18392 configure-stage2-libcpp:
18393 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18394 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18395 @r=`${PWD_COMMAND}`; export r; \
18396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18397 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18398 $(HOST_EXPORTS) \
18399 $(POSTSTAGE1_HOST_EXPORTS) \
18400 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18402 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18403 case $(srcdir) in \
18404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18405 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18407 esac; \
18408 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18409 libsrcdir="$$s/libcpp"; \
18410 $(SHELL) $${libsrcdir}/configure \
18411 $(HOST_CONFIGARGS) $${srcdiroption} \
18412 --with-build-libsubdir=$(HOST_SUBDIR) \
18413 @stage2_werror_flag@
18414 @endif libcpp-bootstrap
18416 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18417 maybe-configure-stage3-libcpp:
18418 @if libcpp-bootstrap
18419 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18420 configure-stage3-libcpp:
18421 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18423 @r=`${PWD_COMMAND}`; export r; \
18424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18425 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18426 $(HOST_EXPORTS) \
18427 $(POSTSTAGE1_HOST_EXPORTS) \
18428 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18430 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18431 case $(srcdir) in \
18432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18433 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18435 esac; \
18436 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18437 libsrcdir="$$s/libcpp"; \
18438 $(SHELL) $${libsrcdir}/configure \
18439 $(HOST_CONFIGARGS) $${srcdiroption} \
18440 --with-build-libsubdir=$(HOST_SUBDIR) \
18441 @stage2_werror_flag@
18442 @endif libcpp-bootstrap
18444 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18445 maybe-configure-stage4-libcpp:
18446 @if libcpp-bootstrap
18447 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18448 configure-stage4-libcpp:
18449 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18450 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18451 @r=`${PWD_COMMAND}`; export r; \
18452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18453 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18454 $(HOST_EXPORTS) \
18455 $(POSTSTAGE1_HOST_EXPORTS) \
18456 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18458 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18459 case $(srcdir) in \
18460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18461 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18463 esac; \
18464 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18465 libsrcdir="$$s/libcpp"; \
18466 $(SHELL) $${libsrcdir}/configure \
18467 $(HOST_CONFIGARGS) $${srcdiroption} \
18468 --with-build-libsubdir=$(HOST_SUBDIR) \
18469 @stage2_werror_flag@
18470 @endif libcpp-bootstrap
18472 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18473 maybe-configure-stageprofile-libcpp:
18474 @if libcpp-bootstrap
18475 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18476 configure-stageprofile-libcpp:
18477 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18478 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18479 @r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18481 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18482 $(HOST_EXPORTS) \
18483 $(POSTSTAGE1_HOST_EXPORTS) \
18484 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18486 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18487 case $(srcdir) in \
18488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18489 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18491 esac; \
18492 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18493 libsrcdir="$$s/libcpp"; \
18494 $(SHELL) $${libsrcdir}/configure \
18495 $(HOST_CONFIGARGS) $${srcdiroption} \
18496 --with-build-libsubdir=$(HOST_SUBDIR) \
18497 @stage2_werror_flag@
18498 @endif libcpp-bootstrap
18500 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18501 maybe-configure-stagefeedback-libcpp:
18502 @if libcpp-bootstrap
18503 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18504 configure-stagefeedback-libcpp:
18505 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18507 @r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18510 $(HOST_EXPORTS) \
18511 $(POSTSTAGE1_HOST_EXPORTS) \
18512 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18514 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18515 case $(srcdir) in \
18516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18517 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18519 esac; \
18520 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18521 libsrcdir="$$s/libcpp"; \
18522 $(SHELL) $${libsrcdir}/configure \
18523 $(HOST_CONFIGARGS) $${srcdiroption} \
18524 --with-build-libsubdir=$(HOST_SUBDIR) \
18525 @stage2_werror_flag@
18526 @endif libcpp-bootstrap
18532 .PHONY: all-libcpp maybe-all-libcpp
18533 maybe-all-libcpp:
18534 @if gcc-bootstrap
18535 all-libcpp: stage_current
18536 @endif gcc-bootstrap
18537 @if libcpp
18538 TARGET-libcpp=all
18539 maybe-all-libcpp: all-libcpp
18540 all-libcpp: configure-libcpp
18541 @r=`${PWD_COMMAND}`; export r; \
18542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18543 $(HOST_EXPORTS) \
18544 (cd $(HOST_SUBDIR)/libcpp && \
18545 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18546 @endif libcpp
18550 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18551 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18552 maybe-all-stage1-libcpp:
18553 maybe-clean-stage1-libcpp:
18554 @if libcpp-bootstrap
18555 maybe-all-stage1-libcpp: all-stage1-libcpp
18556 all-stage1: all-stage1-libcpp
18557 TARGET-stage1-libcpp = $(TARGET-libcpp)
18558 all-stage1-libcpp: configure-stage1-libcpp
18559 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18560 @r=`${PWD_COMMAND}`; export r; \
18561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18562 $(HOST_EXPORTS) \
18563 cd $(HOST_SUBDIR)/libcpp && \
18564 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18565 $(TARGET-stage1-libcpp)
18567 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18568 clean-stage1: clean-stage1-libcpp
18569 clean-stage1-libcpp:
18570 @if [ $(current_stage) = stage1 ]; then \
18571 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18572 else \
18573 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
18574 $(MAKE) stage1-start; \
18575 fi; \
18576 cd $(HOST_SUBDIR)/libcpp && \
18577 $(MAKE) $(FLAGS_TO_PASS) \
18578 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18579 @endif libcpp-bootstrap
18582 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18583 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18584 maybe-all-stage2-libcpp:
18585 maybe-clean-stage2-libcpp:
18586 @if libcpp-bootstrap
18587 maybe-all-stage2-libcpp: all-stage2-libcpp
18588 all-stage2: all-stage2-libcpp
18589 TARGET-stage2-libcpp = $(TARGET-libcpp)
18590 all-stage2-libcpp: configure-stage2-libcpp
18591 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18592 @r=`${PWD_COMMAND}`; export r; \
18593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18594 $(HOST_EXPORTS) \
18595 $(POSTSTAGE1_HOST_EXPORTS) \
18596 cd $(HOST_SUBDIR)/libcpp && \
18597 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18598 $(TARGET-stage2-libcpp)
18600 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18601 clean-stage2: clean-stage2-libcpp
18602 clean-stage2-libcpp:
18603 @if [ $(current_stage) = stage2 ]; then \
18604 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18605 else \
18606 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
18607 $(MAKE) stage2-start; \
18608 fi; \
18609 cd $(HOST_SUBDIR)/libcpp && \
18610 $(MAKE) $(FLAGS_TO_PASS) \
18611 $(POSTSTAGE1_FLAGS_TO_PASS) \
18612 clean
18613 @endif libcpp-bootstrap
18616 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18617 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18618 maybe-all-stage3-libcpp:
18619 maybe-clean-stage3-libcpp:
18620 @if libcpp-bootstrap
18621 maybe-all-stage3-libcpp: all-stage3-libcpp
18622 all-stage3: all-stage3-libcpp
18623 TARGET-stage3-libcpp = $(TARGET-libcpp)
18624 all-stage3-libcpp: configure-stage3-libcpp
18625 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18626 @r=`${PWD_COMMAND}`; export r; \
18627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18628 $(HOST_EXPORTS) \
18629 $(POSTSTAGE1_HOST_EXPORTS) \
18630 cd $(HOST_SUBDIR)/libcpp && \
18631 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18632 $(TARGET-stage3-libcpp)
18634 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18635 clean-stage3: clean-stage3-libcpp
18636 clean-stage3-libcpp:
18637 @if [ $(current_stage) = stage3 ]; then \
18638 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18639 else \
18640 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
18641 $(MAKE) stage3-start; \
18642 fi; \
18643 cd $(HOST_SUBDIR)/libcpp && \
18644 $(MAKE) $(FLAGS_TO_PASS) \
18645 $(POSTSTAGE1_FLAGS_TO_PASS) \
18646 clean
18647 @endif libcpp-bootstrap
18650 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18651 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18652 maybe-all-stage4-libcpp:
18653 maybe-clean-stage4-libcpp:
18654 @if libcpp-bootstrap
18655 maybe-all-stage4-libcpp: all-stage4-libcpp
18656 all-stage4: all-stage4-libcpp
18657 TARGET-stage4-libcpp = $(TARGET-libcpp)
18658 all-stage4-libcpp: configure-stage4-libcpp
18659 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18660 @r=`${PWD_COMMAND}`; export r; \
18661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18662 $(HOST_EXPORTS) \
18663 $(POSTSTAGE1_HOST_EXPORTS) \
18664 cd $(HOST_SUBDIR)/libcpp && \
18665 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18666 $(TARGET-stage4-libcpp)
18668 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18669 clean-stage4: clean-stage4-libcpp
18670 clean-stage4-libcpp:
18671 @if [ $(current_stage) = stage4 ]; then \
18672 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18673 else \
18674 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
18675 $(MAKE) stage4-start; \
18676 fi; \
18677 cd $(HOST_SUBDIR)/libcpp && \
18678 $(MAKE) $(FLAGS_TO_PASS) \
18679 $(POSTSTAGE1_FLAGS_TO_PASS) \
18680 clean
18681 @endif libcpp-bootstrap
18684 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18685 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18686 maybe-all-stageprofile-libcpp:
18687 maybe-clean-stageprofile-libcpp:
18688 @if libcpp-bootstrap
18689 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18690 all-stageprofile: all-stageprofile-libcpp
18691 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18692 all-stageprofile-libcpp: configure-stageprofile-libcpp
18693 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18694 @r=`${PWD_COMMAND}`; export r; \
18695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18696 $(HOST_EXPORTS) \
18697 $(POSTSTAGE1_HOST_EXPORTS) \
18698 cd $(HOST_SUBDIR)/libcpp && \
18699 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18700 $(TARGET-stageprofile-libcpp)
18702 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18703 clean-stageprofile: clean-stageprofile-libcpp
18704 clean-stageprofile-libcpp:
18705 @if [ $(current_stage) = stageprofile ]; then \
18706 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18707 else \
18708 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
18709 $(MAKE) stageprofile-start; \
18710 fi; \
18711 cd $(HOST_SUBDIR)/libcpp && \
18712 $(MAKE) $(FLAGS_TO_PASS) \
18713 $(POSTSTAGE1_FLAGS_TO_PASS) \
18714 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18715 @endif libcpp-bootstrap
18718 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18719 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18720 maybe-all-stagefeedback-libcpp:
18721 maybe-clean-stagefeedback-libcpp:
18722 @if libcpp-bootstrap
18723 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18724 all-stagefeedback: all-stagefeedback-libcpp
18725 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18726 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18727 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18728 @r=`${PWD_COMMAND}`; export r; \
18729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18730 $(HOST_EXPORTS) \
18731 $(POSTSTAGE1_HOST_EXPORTS) \
18732 cd $(HOST_SUBDIR)/libcpp && \
18733 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18734 $(TARGET-stagefeedback-libcpp)
18736 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18737 clean-stagefeedback: clean-stagefeedback-libcpp
18738 clean-stagefeedback-libcpp:
18739 @if [ $(current_stage) = stagefeedback ]; then \
18740 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18741 else \
18742 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
18743 $(MAKE) stagefeedback-start; \
18744 fi; \
18745 cd $(HOST_SUBDIR)/libcpp && \
18746 $(MAKE) $(FLAGS_TO_PASS) \
18747 $(POSTSTAGE1_FLAGS_TO_PASS) \
18748 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18749 @endif libcpp-bootstrap
18755 .PHONY: check-libcpp maybe-check-libcpp
18756 maybe-check-libcpp:
18757 @if libcpp
18758 maybe-check-libcpp: check-libcpp
18760 check-libcpp:
18761 @: $(MAKE); $(unstage)
18762 @r=`${PWD_COMMAND}`; export r; \
18763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18764 $(HOST_EXPORTS) \
18765 (cd $(HOST_SUBDIR)/libcpp && \
18766 $(MAKE) $(FLAGS_TO_PASS) check)
18768 @endif libcpp
18770 .PHONY: install-libcpp maybe-install-libcpp
18771 maybe-install-libcpp:
18772 @if libcpp
18773 maybe-install-libcpp: install-libcpp
18775 install-libcpp: installdirs
18776 @: $(MAKE); $(unstage)
18777 @r=`${PWD_COMMAND}`; export r; \
18778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18779 $(HOST_EXPORTS) \
18780 (cd $(HOST_SUBDIR)/libcpp && \
18781 $(MAKE) $(FLAGS_TO_PASS) install)
18783 @endif libcpp
18785 # Other targets (info, dvi, pdf, etc.)
18787 .PHONY: maybe-info-libcpp info-libcpp
18788 maybe-info-libcpp:
18789 @if libcpp
18790 maybe-info-libcpp: info-libcpp
18792 info-libcpp: \
18793 configure-libcpp
18794 @[ -f ./libcpp/Makefile ] || exit 0; \
18795 r=`${PWD_COMMAND}`; export r; \
18796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18797 $(HOST_EXPORTS) \
18798 for flag in $(EXTRA_HOST_FLAGS) ; do \
18799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18800 done; \
18801 echo "Doing info in libcpp" ; \
18802 (cd $(HOST_SUBDIR)/libcpp && \
18803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18805 "RANLIB=$${RANLIB}" \
18806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18807 info) \
18808 || exit 1
18810 @endif libcpp
18812 .PHONY: maybe-dvi-libcpp dvi-libcpp
18813 maybe-dvi-libcpp:
18814 @if libcpp
18815 maybe-dvi-libcpp: dvi-libcpp
18817 dvi-libcpp: \
18818 configure-libcpp
18819 @[ -f ./libcpp/Makefile ] || exit 0; \
18820 r=`${PWD_COMMAND}`; export r; \
18821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18822 $(HOST_EXPORTS) \
18823 for flag in $(EXTRA_HOST_FLAGS) ; do \
18824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18825 done; \
18826 echo "Doing dvi in libcpp" ; \
18827 (cd $(HOST_SUBDIR)/libcpp && \
18828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18830 "RANLIB=$${RANLIB}" \
18831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18832 dvi) \
18833 || exit 1
18835 @endif libcpp
18837 .PHONY: maybe-pdf-libcpp pdf-libcpp
18838 maybe-pdf-libcpp:
18839 @if libcpp
18840 maybe-pdf-libcpp: pdf-libcpp
18842 pdf-libcpp: \
18843 configure-libcpp
18844 @[ -f ./libcpp/Makefile ] || exit 0; \
18845 r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18847 $(HOST_EXPORTS) \
18848 for flag in $(EXTRA_HOST_FLAGS) ; do \
18849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18850 done; \
18851 echo "Doing pdf in libcpp" ; \
18852 (cd $(HOST_SUBDIR)/libcpp && \
18853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855 "RANLIB=$${RANLIB}" \
18856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18857 pdf) \
18858 || exit 1
18860 @endif libcpp
18862 .PHONY: maybe-html-libcpp html-libcpp
18863 maybe-html-libcpp:
18864 @if libcpp
18865 maybe-html-libcpp: html-libcpp
18867 html-libcpp: \
18868 configure-libcpp
18869 @[ -f ./libcpp/Makefile ] || exit 0; \
18870 r=`${PWD_COMMAND}`; export r; \
18871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18872 $(HOST_EXPORTS) \
18873 for flag in $(EXTRA_HOST_FLAGS) ; do \
18874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18875 done; \
18876 echo "Doing html in libcpp" ; \
18877 (cd $(HOST_SUBDIR)/libcpp && \
18878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18880 "RANLIB=$${RANLIB}" \
18881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18882 html) \
18883 || exit 1
18885 @endif libcpp
18887 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18888 maybe-TAGS-libcpp:
18889 @if libcpp
18890 maybe-TAGS-libcpp: TAGS-libcpp
18892 TAGS-libcpp: \
18893 configure-libcpp
18894 @[ -f ./libcpp/Makefile ] || exit 0; \
18895 r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 $(HOST_EXPORTS) \
18898 for flag in $(EXTRA_HOST_FLAGS) ; do \
18899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18900 done; \
18901 echo "Doing TAGS in libcpp" ; \
18902 (cd $(HOST_SUBDIR)/libcpp && \
18903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905 "RANLIB=$${RANLIB}" \
18906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18907 TAGS) \
18908 || exit 1
18910 @endif libcpp
18912 .PHONY: maybe-install-info-libcpp install-info-libcpp
18913 maybe-install-info-libcpp:
18914 @if libcpp
18915 maybe-install-info-libcpp: install-info-libcpp
18917 install-info-libcpp: \
18918 configure-libcpp \
18919 info-libcpp
18920 @[ -f ./libcpp/Makefile ] || exit 0; \
18921 r=`${PWD_COMMAND}`; export r; \
18922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18923 $(HOST_EXPORTS) \
18924 for flag in $(EXTRA_HOST_FLAGS) ; do \
18925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18926 done; \
18927 echo "Doing install-info in libcpp" ; \
18928 (cd $(HOST_SUBDIR)/libcpp && \
18929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18931 "RANLIB=$${RANLIB}" \
18932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18933 install-info) \
18934 || exit 1
18936 @endif libcpp
18938 .PHONY: maybe-install-html-libcpp install-html-libcpp
18939 maybe-install-html-libcpp:
18940 @if libcpp
18941 maybe-install-html-libcpp: install-html-libcpp
18943 install-html-libcpp: \
18944 configure-libcpp \
18945 html-libcpp
18946 @[ -f ./libcpp/Makefile ] || exit 0; \
18947 r=`${PWD_COMMAND}`; export r; \
18948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18949 $(HOST_EXPORTS) \
18950 for flag in $(EXTRA_HOST_FLAGS) ; do \
18951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18952 done; \
18953 echo "Doing install-html in libcpp" ; \
18954 (cd $(HOST_SUBDIR)/libcpp && \
18955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18957 "RANLIB=$${RANLIB}" \
18958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18959 install-html) \
18960 || exit 1
18962 @endif libcpp
18964 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18965 maybe-installcheck-libcpp:
18966 @if libcpp
18967 maybe-installcheck-libcpp: installcheck-libcpp
18969 installcheck-libcpp: \
18970 configure-libcpp
18971 @[ -f ./libcpp/Makefile ] || exit 0; \
18972 r=`${PWD_COMMAND}`; export r; \
18973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 $(HOST_EXPORTS) \
18975 for flag in $(EXTRA_HOST_FLAGS) ; do \
18976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18977 done; \
18978 echo "Doing installcheck in libcpp" ; \
18979 (cd $(HOST_SUBDIR)/libcpp && \
18980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18982 "RANLIB=$${RANLIB}" \
18983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18984 installcheck) \
18985 || exit 1
18987 @endif libcpp
18989 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
18990 maybe-mostlyclean-libcpp:
18991 @if libcpp
18992 maybe-mostlyclean-libcpp: mostlyclean-libcpp
18994 mostlyclean-libcpp:
18995 @[ -f ./libcpp/Makefile ] || exit 0; \
18996 r=`${PWD_COMMAND}`; export r; \
18997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 $(HOST_EXPORTS) \
18999 for flag in $(EXTRA_HOST_FLAGS) ; do \
19000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 done; \
19002 echo "Doing mostlyclean in libcpp" ; \
19003 (cd $(HOST_SUBDIR)/libcpp && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19006 "RANLIB=$${RANLIB}" \
19007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19008 mostlyclean) \
19009 || exit 1
19011 @endif libcpp
19013 .PHONY: maybe-clean-libcpp clean-libcpp
19014 maybe-clean-libcpp:
19015 @if libcpp
19016 maybe-clean-libcpp: clean-libcpp
19018 clean-libcpp:
19019 @[ -f ./libcpp/Makefile ] || exit 0; \
19020 r=`${PWD_COMMAND}`; export r; \
19021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 $(HOST_EXPORTS) \
19023 for flag in $(EXTRA_HOST_FLAGS) ; do \
19024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19025 done; \
19026 echo "Doing clean in libcpp" ; \
19027 (cd $(HOST_SUBDIR)/libcpp && \
19028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19030 "RANLIB=$${RANLIB}" \
19031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19032 clean) \
19033 || exit 1
19035 @endif libcpp
19037 .PHONY: maybe-distclean-libcpp distclean-libcpp
19038 maybe-distclean-libcpp:
19039 @if libcpp
19040 maybe-distclean-libcpp: distclean-libcpp
19042 distclean-libcpp:
19043 @[ -f ./libcpp/Makefile ] || exit 0; \
19044 r=`${PWD_COMMAND}`; export r; \
19045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19046 $(HOST_EXPORTS) \
19047 for flag in $(EXTRA_HOST_FLAGS) ; do \
19048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19049 done; \
19050 echo "Doing distclean in libcpp" ; \
19051 (cd $(HOST_SUBDIR)/libcpp && \
19052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19054 "RANLIB=$${RANLIB}" \
19055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19056 distclean) \
19057 || exit 1
19059 @endif libcpp
19061 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
19062 maybe-maintainer-clean-libcpp:
19063 @if libcpp
19064 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
19066 maintainer-clean-libcpp:
19067 @[ -f ./libcpp/Makefile ] || exit 0; \
19068 r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 $(HOST_EXPORTS) \
19071 for flag in $(EXTRA_HOST_FLAGS) ; do \
19072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19073 done; \
19074 echo "Doing maintainer-clean in libcpp" ; \
19075 (cd $(HOST_SUBDIR)/libcpp && \
19076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19078 "RANLIB=$${RANLIB}" \
19079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19080 maintainer-clean) \
19081 || exit 1
19083 @endif libcpp
19087 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
19088 maybe-configure-libdecnumber:
19089 @if gcc-bootstrap
19090 configure-libdecnumber: stage_current
19091 @endif gcc-bootstrap
19092 @if libdecnumber
19093 maybe-configure-libdecnumber: configure-libdecnumber
19094 configure-libdecnumber:
19095 @r=`${PWD_COMMAND}`; export r; \
19096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19097 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19099 $(HOST_EXPORTS) \
19100 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
19101 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
19102 case $(srcdir) in \
19103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19104 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19106 esac; \
19107 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19108 libsrcdir="$$s/libdecnumber"; \
19109 $(SHELL) $${libsrcdir}/configure \
19110 $(HOST_CONFIGARGS) $${srcdiroption} \
19111 || exit 1
19112 @endif libdecnumber
19116 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
19117 maybe-configure-stage1-libdecnumber:
19118 @if libdecnumber-bootstrap
19119 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
19120 configure-stage1-libdecnumber:
19121 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19123 @r=`${PWD_COMMAND}`; export r; \
19124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19125 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19126 $(HOST_EXPORTS) \
19127 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
19128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19129 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19130 case $(srcdir) in \
19131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19132 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19134 esac; \
19135 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19136 libsrcdir="$$s/libdecnumber"; \
19137 $(SHELL) $${libsrcdir}/configure \
19138 $(HOST_CONFIGARGS) $${srcdiroption} \
19140 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19141 @endif libdecnumber-bootstrap
19143 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
19144 maybe-configure-stage2-libdecnumber:
19145 @if libdecnumber-bootstrap
19146 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
19147 configure-stage2-libdecnumber:
19148 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19150 @r=`${PWD_COMMAND}`; export r; \
19151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19152 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19153 $(HOST_EXPORTS) \
19154 $(POSTSTAGE1_HOST_EXPORTS) \
19155 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
19156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19157 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19158 case $(srcdir) in \
19159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19160 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19162 esac; \
19163 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19164 libsrcdir="$$s/libdecnumber"; \
19165 $(SHELL) $${libsrcdir}/configure \
19166 $(HOST_CONFIGARGS) $${srcdiroption} \
19167 --with-build-libsubdir=$(HOST_SUBDIR) \
19168 @stage2_werror_flag@
19169 @endif libdecnumber-bootstrap
19171 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19172 maybe-configure-stage3-libdecnumber:
19173 @if libdecnumber-bootstrap
19174 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19175 configure-stage3-libdecnumber:
19176 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19178 @r=`${PWD_COMMAND}`; export r; \
19179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19180 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19181 $(HOST_EXPORTS) \
19182 $(POSTSTAGE1_HOST_EXPORTS) \
19183 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19185 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19186 case $(srcdir) in \
19187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19188 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19190 esac; \
19191 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19192 libsrcdir="$$s/libdecnumber"; \
19193 $(SHELL) $${libsrcdir}/configure \
19194 $(HOST_CONFIGARGS) $${srcdiroption} \
19195 --with-build-libsubdir=$(HOST_SUBDIR) \
19196 @stage2_werror_flag@
19197 @endif libdecnumber-bootstrap
19199 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19200 maybe-configure-stage4-libdecnumber:
19201 @if libdecnumber-bootstrap
19202 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19203 configure-stage4-libdecnumber:
19204 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19209 $(HOST_EXPORTS) \
19210 $(POSTSTAGE1_HOST_EXPORTS) \
19211 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19213 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19214 case $(srcdir) in \
19215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19216 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19218 esac; \
19219 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19220 libsrcdir="$$s/libdecnumber"; \
19221 $(SHELL) $${libsrcdir}/configure \
19222 $(HOST_CONFIGARGS) $${srcdiroption} \
19223 --with-build-libsubdir=$(HOST_SUBDIR) \
19224 @stage2_werror_flag@
19225 @endif libdecnumber-bootstrap
19227 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19228 maybe-configure-stageprofile-libdecnumber:
19229 @if libdecnumber-bootstrap
19230 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19231 configure-stageprofile-libdecnumber:
19232 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19234 @r=`${PWD_COMMAND}`; export r; \
19235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19236 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19237 $(HOST_EXPORTS) \
19238 $(POSTSTAGE1_HOST_EXPORTS) \
19239 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19241 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19242 case $(srcdir) in \
19243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19244 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19246 esac; \
19247 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19248 libsrcdir="$$s/libdecnumber"; \
19249 $(SHELL) $${libsrcdir}/configure \
19250 $(HOST_CONFIGARGS) $${srcdiroption} \
19251 --with-build-libsubdir=$(HOST_SUBDIR) \
19252 @stage2_werror_flag@
19253 @endif libdecnumber-bootstrap
19255 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19256 maybe-configure-stagefeedback-libdecnumber:
19257 @if libdecnumber-bootstrap
19258 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19259 configure-stagefeedback-libdecnumber:
19260 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19262 @r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19265 $(HOST_EXPORTS) \
19266 $(POSTSTAGE1_HOST_EXPORTS) \
19267 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19269 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19270 case $(srcdir) in \
19271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19272 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19274 esac; \
19275 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19276 libsrcdir="$$s/libdecnumber"; \
19277 $(SHELL) $${libsrcdir}/configure \
19278 $(HOST_CONFIGARGS) $${srcdiroption} \
19279 --with-build-libsubdir=$(HOST_SUBDIR) \
19280 @stage2_werror_flag@
19281 @endif libdecnumber-bootstrap
19287 .PHONY: all-libdecnumber maybe-all-libdecnumber
19288 maybe-all-libdecnumber:
19289 @if gcc-bootstrap
19290 all-libdecnumber: stage_current
19291 @endif gcc-bootstrap
19292 @if libdecnumber
19293 TARGET-libdecnumber=all
19294 maybe-all-libdecnumber: all-libdecnumber
19295 all-libdecnumber: configure-libdecnumber
19296 @r=`${PWD_COMMAND}`; export r; \
19297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19298 $(HOST_EXPORTS) \
19299 (cd $(HOST_SUBDIR)/libdecnumber && \
19300 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19301 @endif libdecnumber
19305 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19306 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19307 maybe-all-stage1-libdecnumber:
19308 maybe-clean-stage1-libdecnumber:
19309 @if libdecnumber-bootstrap
19310 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19311 all-stage1: all-stage1-libdecnumber
19312 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19313 all-stage1-libdecnumber: configure-stage1-libdecnumber
19314 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19315 @r=`${PWD_COMMAND}`; export r; \
19316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19317 $(HOST_EXPORTS) \
19318 cd $(HOST_SUBDIR)/libdecnumber && \
19319 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19320 $(TARGET-stage1-libdecnumber)
19322 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19323 clean-stage1: clean-stage1-libdecnumber
19324 clean-stage1-libdecnumber:
19325 @if [ $(current_stage) = stage1 ]; then \
19326 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19327 else \
19328 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
19329 $(MAKE) stage1-start; \
19330 fi; \
19331 cd $(HOST_SUBDIR)/libdecnumber && \
19332 $(MAKE) $(FLAGS_TO_PASS) \
19333 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19334 @endif libdecnumber-bootstrap
19337 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19338 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19339 maybe-all-stage2-libdecnumber:
19340 maybe-clean-stage2-libdecnumber:
19341 @if libdecnumber-bootstrap
19342 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19343 all-stage2: all-stage2-libdecnumber
19344 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19345 all-stage2-libdecnumber: configure-stage2-libdecnumber
19346 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19347 @r=`${PWD_COMMAND}`; export r; \
19348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19349 $(HOST_EXPORTS) \
19350 $(POSTSTAGE1_HOST_EXPORTS) \
19351 cd $(HOST_SUBDIR)/libdecnumber && \
19352 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19353 $(TARGET-stage2-libdecnumber)
19355 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19356 clean-stage2: clean-stage2-libdecnumber
19357 clean-stage2-libdecnumber:
19358 @if [ $(current_stage) = stage2 ]; then \
19359 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19360 else \
19361 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
19362 $(MAKE) stage2-start; \
19363 fi; \
19364 cd $(HOST_SUBDIR)/libdecnumber && \
19365 $(MAKE) $(FLAGS_TO_PASS) \
19366 $(POSTSTAGE1_FLAGS_TO_PASS) \
19367 clean
19368 @endif libdecnumber-bootstrap
19371 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19372 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19373 maybe-all-stage3-libdecnumber:
19374 maybe-clean-stage3-libdecnumber:
19375 @if libdecnumber-bootstrap
19376 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19377 all-stage3: all-stage3-libdecnumber
19378 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19379 all-stage3-libdecnumber: configure-stage3-libdecnumber
19380 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19381 @r=`${PWD_COMMAND}`; export r; \
19382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19383 $(HOST_EXPORTS) \
19384 $(POSTSTAGE1_HOST_EXPORTS) \
19385 cd $(HOST_SUBDIR)/libdecnumber && \
19386 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19387 $(TARGET-stage3-libdecnumber)
19389 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19390 clean-stage3: clean-stage3-libdecnumber
19391 clean-stage3-libdecnumber:
19392 @if [ $(current_stage) = stage3 ]; then \
19393 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19394 else \
19395 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
19396 $(MAKE) stage3-start; \
19397 fi; \
19398 cd $(HOST_SUBDIR)/libdecnumber && \
19399 $(MAKE) $(FLAGS_TO_PASS) \
19400 $(POSTSTAGE1_FLAGS_TO_PASS) \
19401 clean
19402 @endif libdecnumber-bootstrap
19405 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19406 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19407 maybe-all-stage4-libdecnumber:
19408 maybe-clean-stage4-libdecnumber:
19409 @if libdecnumber-bootstrap
19410 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19411 all-stage4: all-stage4-libdecnumber
19412 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19413 all-stage4-libdecnumber: configure-stage4-libdecnumber
19414 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19415 @r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 $(HOST_EXPORTS) \
19418 $(POSTSTAGE1_HOST_EXPORTS) \
19419 cd $(HOST_SUBDIR)/libdecnumber && \
19420 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19421 $(TARGET-stage4-libdecnumber)
19423 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19424 clean-stage4: clean-stage4-libdecnumber
19425 clean-stage4-libdecnumber:
19426 @if [ $(current_stage) = stage4 ]; then \
19427 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19428 else \
19429 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
19430 $(MAKE) stage4-start; \
19431 fi; \
19432 cd $(HOST_SUBDIR)/libdecnumber && \
19433 $(MAKE) $(FLAGS_TO_PASS) \
19434 $(POSTSTAGE1_FLAGS_TO_PASS) \
19435 clean
19436 @endif libdecnumber-bootstrap
19439 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19440 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19441 maybe-all-stageprofile-libdecnumber:
19442 maybe-clean-stageprofile-libdecnumber:
19443 @if libdecnumber-bootstrap
19444 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19445 all-stageprofile: all-stageprofile-libdecnumber
19446 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19447 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19448 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19449 @r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19451 $(HOST_EXPORTS) \
19452 $(POSTSTAGE1_HOST_EXPORTS) \
19453 cd $(HOST_SUBDIR)/libdecnumber && \
19454 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19455 $(TARGET-stageprofile-libdecnumber)
19457 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19458 clean-stageprofile: clean-stageprofile-libdecnumber
19459 clean-stageprofile-libdecnumber:
19460 @if [ $(current_stage) = stageprofile ]; then \
19461 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19462 else \
19463 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
19464 $(MAKE) stageprofile-start; \
19465 fi; \
19466 cd $(HOST_SUBDIR)/libdecnumber && \
19467 $(MAKE) $(FLAGS_TO_PASS) \
19468 $(POSTSTAGE1_FLAGS_TO_PASS) \
19469 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19470 @endif libdecnumber-bootstrap
19473 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19474 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19475 maybe-all-stagefeedback-libdecnumber:
19476 maybe-clean-stagefeedback-libdecnumber:
19477 @if libdecnumber-bootstrap
19478 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19479 all-stagefeedback: all-stagefeedback-libdecnumber
19480 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19481 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19483 @r=`${PWD_COMMAND}`; export r; \
19484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19485 $(HOST_EXPORTS) \
19486 $(POSTSTAGE1_HOST_EXPORTS) \
19487 cd $(HOST_SUBDIR)/libdecnumber && \
19488 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19489 $(TARGET-stagefeedback-libdecnumber)
19491 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19492 clean-stagefeedback: clean-stagefeedback-libdecnumber
19493 clean-stagefeedback-libdecnumber:
19494 @if [ $(current_stage) = stagefeedback ]; then \
19495 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19496 else \
19497 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
19498 $(MAKE) stagefeedback-start; \
19499 fi; \
19500 cd $(HOST_SUBDIR)/libdecnumber && \
19501 $(MAKE) $(FLAGS_TO_PASS) \
19502 $(POSTSTAGE1_FLAGS_TO_PASS) \
19503 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19504 @endif libdecnumber-bootstrap
19510 .PHONY: check-libdecnumber maybe-check-libdecnumber
19511 maybe-check-libdecnumber:
19512 @if libdecnumber
19513 maybe-check-libdecnumber: check-libdecnumber
19515 check-libdecnumber:
19516 @: $(MAKE); $(unstage)
19517 @r=`${PWD_COMMAND}`; export r; \
19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19519 $(HOST_EXPORTS) \
19520 (cd $(HOST_SUBDIR)/libdecnumber && \
19521 $(MAKE) $(FLAGS_TO_PASS) check)
19523 @endif libdecnumber
19525 .PHONY: install-libdecnumber maybe-install-libdecnumber
19526 maybe-install-libdecnumber:
19527 @if libdecnumber
19528 maybe-install-libdecnumber: install-libdecnumber
19530 install-libdecnumber: installdirs
19531 @: $(MAKE); $(unstage)
19532 @r=`${PWD_COMMAND}`; export r; \
19533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19534 $(HOST_EXPORTS) \
19535 (cd $(HOST_SUBDIR)/libdecnumber && \
19536 $(MAKE) $(FLAGS_TO_PASS) install)
19538 @endif libdecnumber
19540 # Other targets (info, dvi, pdf, etc.)
19542 .PHONY: maybe-info-libdecnumber info-libdecnumber
19543 maybe-info-libdecnumber:
19544 @if libdecnumber
19545 maybe-info-libdecnumber: info-libdecnumber
19547 info-libdecnumber: \
19548 configure-libdecnumber
19549 @[ -f ./libdecnumber/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 info in libdecnumber" ; \
19557 (cd $(HOST_SUBDIR)/libdecnumber && \
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 info) \
19563 || exit 1
19565 @endif libdecnumber
19567 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19568 maybe-dvi-libdecnumber:
19569 @if libdecnumber
19570 maybe-dvi-libdecnumber: dvi-libdecnumber
19572 dvi-libdecnumber: \
19573 configure-libdecnumber
19574 @[ -f ./libdecnumber/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 dvi in libdecnumber" ; \
19582 (cd $(HOST_SUBDIR)/libdecnumber && \
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 dvi) \
19588 || exit 1
19590 @endif libdecnumber
19592 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19593 maybe-pdf-libdecnumber:
19594 @if libdecnumber
19595 maybe-pdf-libdecnumber: pdf-libdecnumber
19597 pdf-libdecnumber: \
19598 configure-libdecnumber
19599 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19600 r=`${PWD_COMMAND}`; export r; \
19601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19602 $(HOST_EXPORTS) \
19603 for flag in $(EXTRA_HOST_FLAGS) ; do \
19604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19605 done; \
19606 echo "Doing pdf in libdecnumber" ; \
19607 (cd $(HOST_SUBDIR)/libdecnumber && \
19608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19610 "RANLIB=$${RANLIB}" \
19611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19612 pdf) \
19613 || exit 1
19615 @endif libdecnumber
19617 .PHONY: maybe-html-libdecnumber html-libdecnumber
19618 maybe-html-libdecnumber:
19619 @if libdecnumber
19620 maybe-html-libdecnumber: html-libdecnumber
19622 html-libdecnumber: \
19623 configure-libdecnumber
19624 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19625 r=`${PWD_COMMAND}`; export r; \
19626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19627 $(HOST_EXPORTS) \
19628 for flag in $(EXTRA_HOST_FLAGS) ; do \
19629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19630 done; \
19631 echo "Doing html in libdecnumber" ; \
19632 (cd $(HOST_SUBDIR)/libdecnumber && \
19633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19635 "RANLIB=$${RANLIB}" \
19636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19637 html) \
19638 || exit 1
19640 @endif libdecnumber
19642 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19643 maybe-TAGS-libdecnumber:
19644 @if libdecnumber
19645 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19647 TAGS-libdecnumber: \
19648 configure-libdecnumber
19649 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19650 r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 $(HOST_EXPORTS) \
19653 for flag in $(EXTRA_HOST_FLAGS) ; do \
19654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19655 done; \
19656 echo "Doing TAGS in libdecnumber" ; \
19657 (cd $(HOST_SUBDIR)/libdecnumber && \
19658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19660 "RANLIB=$${RANLIB}" \
19661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19662 TAGS) \
19663 || exit 1
19665 @endif libdecnumber
19667 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19668 maybe-install-info-libdecnumber:
19669 @if libdecnumber
19670 maybe-install-info-libdecnumber: install-info-libdecnumber
19672 install-info-libdecnumber: \
19673 configure-libdecnumber \
19674 info-libdecnumber
19675 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19676 r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 $(HOST_EXPORTS) \
19679 for flag in $(EXTRA_HOST_FLAGS) ; do \
19680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19681 done; \
19682 echo "Doing install-info in libdecnumber" ; \
19683 (cd $(HOST_SUBDIR)/libdecnumber && \
19684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19686 "RANLIB=$${RANLIB}" \
19687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19688 install-info) \
19689 || exit 1
19691 @endif libdecnumber
19693 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19694 maybe-install-html-libdecnumber:
19695 @if libdecnumber
19696 maybe-install-html-libdecnumber: install-html-libdecnumber
19698 install-html-libdecnumber: \
19699 configure-libdecnumber \
19700 html-libdecnumber
19701 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19702 r=`${PWD_COMMAND}`; export r; \
19703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19704 $(HOST_EXPORTS) \
19705 for flag in $(EXTRA_HOST_FLAGS) ; do \
19706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19707 done; \
19708 echo "Doing install-html in libdecnumber" ; \
19709 (cd $(HOST_SUBDIR)/libdecnumber && \
19710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19712 "RANLIB=$${RANLIB}" \
19713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19714 install-html) \
19715 || exit 1
19717 @endif libdecnumber
19719 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19720 maybe-installcheck-libdecnumber:
19721 @if libdecnumber
19722 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19724 installcheck-libdecnumber: \
19725 configure-libdecnumber
19726 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19727 r=`${PWD_COMMAND}`; export r; \
19728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19729 $(HOST_EXPORTS) \
19730 for flag in $(EXTRA_HOST_FLAGS) ; do \
19731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19732 done; \
19733 echo "Doing installcheck in libdecnumber" ; \
19734 (cd $(HOST_SUBDIR)/libdecnumber && \
19735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19737 "RANLIB=$${RANLIB}" \
19738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19739 installcheck) \
19740 || exit 1
19742 @endif libdecnumber
19744 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19745 maybe-mostlyclean-libdecnumber:
19746 @if libdecnumber
19747 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19749 mostlyclean-libdecnumber:
19750 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19751 r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19753 $(HOST_EXPORTS) \
19754 for flag in $(EXTRA_HOST_FLAGS) ; do \
19755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19756 done; \
19757 echo "Doing mostlyclean in libdecnumber" ; \
19758 (cd $(HOST_SUBDIR)/libdecnumber && \
19759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19761 "RANLIB=$${RANLIB}" \
19762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19763 mostlyclean) \
19764 || exit 1
19766 @endif libdecnumber
19768 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19769 maybe-clean-libdecnumber:
19770 @if libdecnumber
19771 maybe-clean-libdecnumber: clean-libdecnumber
19773 clean-libdecnumber:
19774 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19775 r=`${PWD_COMMAND}`; export r; \
19776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19777 $(HOST_EXPORTS) \
19778 for flag in $(EXTRA_HOST_FLAGS) ; do \
19779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19780 done; \
19781 echo "Doing clean in libdecnumber" ; \
19782 (cd $(HOST_SUBDIR)/libdecnumber && \
19783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19785 "RANLIB=$${RANLIB}" \
19786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19787 clean) \
19788 || exit 1
19790 @endif libdecnumber
19792 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19793 maybe-distclean-libdecnumber:
19794 @if libdecnumber
19795 maybe-distclean-libdecnumber: distclean-libdecnumber
19797 distclean-libdecnumber:
19798 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19799 r=`${PWD_COMMAND}`; export r; \
19800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19801 $(HOST_EXPORTS) \
19802 for flag in $(EXTRA_HOST_FLAGS) ; do \
19803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19804 done; \
19805 echo "Doing distclean in libdecnumber" ; \
19806 (cd $(HOST_SUBDIR)/libdecnumber && \
19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19809 "RANLIB=$${RANLIB}" \
19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19811 distclean) \
19812 || exit 1
19814 @endif libdecnumber
19816 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19817 maybe-maintainer-clean-libdecnumber:
19818 @if libdecnumber
19819 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19821 maintainer-clean-libdecnumber:
19822 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19823 r=`${PWD_COMMAND}`; export r; \
19824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19825 $(HOST_EXPORTS) \
19826 for flag in $(EXTRA_HOST_FLAGS) ; do \
19827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19828 done; \
19829 echo "Doing maintainer-clean in libdecnumber" ; \
19830 (cd $(HOST_SUBDIR)/libdecnumber && \
19831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19833 "RANLIB=$${RANLIB}" \
19834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19835 maintainer-clean) \
19836 || exit 1
19838 @endif libdecnumber
19842 .PHONY: configure-libgui maybe-configure-libgui
19843 maybe-configure-libgui:
19844 @if gcc-bootstrap
19845 configure-libgui: stage_current
19846 @endif gcc-bootstrap
19847 @if libgui
19848 maybe-configure-libgui: configure-libgui
19849 configure-libgui:
19850 @: $(MAKE); $(unstage)
19851 @r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19853 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19855 $(HOST_EXPORTS) \
19856 echo Configuring in $(HOST_SUBDIR)/libgui; \
19857 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19858 case $(srcdir) in \
19859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19860 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19862 esac; \
19863 srcdiroption="--srcdir=$${topdir}/libgui"; \
19864 libsrcdir="$$s/libgui"; \
19865 $(SHELL) $${libsrcdir}/configure \
19866 $(HOST_CONFIGARGS) $${srcdiroption} \
19867 || exit 1
19868 @endif libgui
19874 .PHONY: all-libgui maybe-all-libgui
19875 maybe-all-libgui:
19876 @if gcc-bootstrap
19877 all-libgui: stage_current
19878 @endif gcc-bootstrap
19879 @if libgui
19880 TARGET-libgui=all
19881 maybe-all-libgui: all-libgui
19882 all-libgui: configure-libgui
19883 @: $(MAKE); $(unstage)
19884 @r=`${PWD_COMMAND}`; export r; \
19885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19886 $(HOST_EXPORTS) \
19887 (cd $(HOST_SUBDIR)/libgui && \
19888 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19889 @endif libgui
19894 .PHONY: check-libgui maybe-check-libgui
19895 maybe-check-libgui:
19896 @if libgui
19897 maybe-check-libgui: check-libgui
19899 check-libgui:
19900 @: $(MAKE); $(unstage)
19901 @r=`${PWD_COMMAND}`; export r; \
19902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19903 $(HOST_EXPORTS) \
19904 (cd $(HOST_SUBDIR)/libgui && \
19905 $(MAKE) $(FLAGS_TO_PASS) check)
19907 @endif libgui
19909 .PHONY: install-libgui maybe-install-libgui
19910 maybe-install-libgui:
19911 @if libgui
19912 maybe-install-libgui: install-libgui
19914 install-libgui: installdirs
19915 @: $(MAKE); $(unstage)
19916 @r=`${PWD_COMMAND}`; export r; \
19917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19918 $(HOST_EXPORTS) \
19919 (cd $(HOST_SUBDIR)/libgui && \
19920 $(MAKE) $(FLAGS_TO_PASS) install)
19922 @endif libgui
19924 # Other targets (info, dvi, pdf, etc.)
19926 .PHONY: maybe-info-libgui info-libgui
19927 maybe-info-libgui:
19928 @if libgui
19929 maybe-info-libgui: info-libgui
19931 info-libgui: \
19932 configure-libgui
19933 @: $(MAKE); $(unstage)
19934 @[ -f ./libgui/Makefile ] || exit 0; \
19935 r=`${PWD_COMMAND}`; export r; \
19936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19937 $(HOST_EXPORTS) \
19938 for flag in $(EXTRA_HOST_FLAGS) ; do \
19939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19940 done; \
19941 echo "Doing info in libgui" ; \
19942 (cd $(HOST_SUBDIR)/libgui && \
19943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945 "RANLIB=$${RANLIB}" \
19946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19947 info) \
19948 || exit 1
19950 @endif libgui
19952 .PHONY: maybe-dvi-libgui dvi-libgui
19953 maybe-dvi-libgui:
19954 @if libgui
19955 maybe-dvi-libgui: dvi-libgui
19957 dvi-libgui: \
19958 configure-libgui
19959 @: $(MAKE); $(unstage)
19960 @[ -f ./libgui/Makefile ] || exit 0; \
19961 r=`${PWD_COMMAND}`; export r; \
19962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19963 $(HOST_EXPORTS) \
19964 for flag in $(EXTRA_HOST_FLAGS) ; do \
19965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19966 done; \
19967 echo "Doing dvi in libgui" ; \
19968 (cd $(HOST_SUBDIR)/libgui && \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19971 "RANLIB=$${RANLIB}" \
19972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19973 dvi) \
19974 || exit 1
19976 @endif libgui
19978 .PHONY: maybe-pdf-libgui pdf-libgui
19979 maybe-pdf-libgui:
19980 @if libgui
19981 maybe-pdf-libgui: pdf-libgui
19983 pdf-libgui: \
19984 configure-libgui
19985 @: $(MAKE); $(unstage)
19986 @[ -f ./libgui/Makefile ] || exit 0; \
19987 r=`${PWD_COMMAND}`; export r; \
19988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19989 $(HOST_EXPORTS) \
19990 for flag in $(EXTRA_HOST_FLAGS) ; do \
19991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19992 done; \
19993 echo "Doing pdf in libgui" ; \
19994 (cd $(HOST_SUBDIR)/libgui && \
19995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19997 "RANLIB=$${RANLIB}" \
19998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19999 pdf) \
20000 || exit 1
20002 @endif libgui
20004 .PHONY: maybe-html-libgui html-libgui
20005 maybe-html-libgui:
20006 @if libgui
20007 maybe-html-libgui: html-libgui
20009 html-libgui: \
20010 configure-libgui
20011 @: $(MAKE); $(unstage)
20012 @[ -f ./libgui/Makefile ] || exit 0; \
20013 r=`${PWD_COMMAND}`; export r; \
20014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20015 $(HOST_EXPORTS) \
20016 for flag in $(EXTRA_HOST_FLAGS) ; do \
20017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20018 done; \
20019 echo "Doing html in libgui" ; \
20020 (cd $(HOST_SUBDIR)/libgui && \
20021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20023 "RANLIB=$${RANLIB}" \
20024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20025 html) \
20026 || exit 1
20028 @endif libgui
20030 .PHONY: maybe-TAGS-libgui TAGS-libgui
20031 maybe-TAGS-libgui:
20032 @if libgui
20033 maybe-TAGS-libgui: TAGS-libgui
20035 TAGS-libgui: \
20036 configure-libgui
20037 @: $(MAKE); $(unstage)
20038 @[ -f ./libgui/Makefile ] || exit 0; \
20039 r=`${PWD_COMMAND}`; export r; \
20040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20041 $(HOST_EXPORTS) \
20042 for flag in $(EXTRA_HOST_FLAGS) ; do \
20043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20044 done; \
20045 echo "Doing TAGS in libgui" ; \
20046 (cd $(HOST_SUBDIR)/libgui && \
20047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20049 "RANLIB=$${RANLIB}" \
20050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20051 TAGS) \
20052 || exit 1
20054 @endif libgui
20056 .PHONY: maybe-install-info-libgui install-info-libgui
20057 maybe-install-info-libgui:
20058 @if libgui
20059 maybe-install-info-libgui: install-info-libgui
20061 install-info-libgui: \
20062 configure-libgui \
20063 info-libgui
20064 @: $(MAKE); $(unstage)
20065 @[ -f ./libgui/Makefile ] || exit 0; \
20066 r=`${PWD_COMMAND}`; export r; \
20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 $(HOST_EXPORTS) \
20069 for flag in $(EXTRA_HOST_FLAGS) ; do \
20070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20071 done; \
20072 echo "Doing install-info in libgui" ; \
20073 (cd $(HOST_SUBDIR)/libgui && \
20074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20076 "RANLIB=$${RANLIB}" \
20077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20078 install-info) \
20079 || exit 1
20081 @endif libgui
20083 .PHONY: maybe-install-html-libgui install-html-libgui
20084 maybe-install-html-libgui:
20085 @if libgui
20086 maybe-install-html-libgui: install-html-libgui
20088 install-html-libgui: \
20089 configure-libgui \
20090 html-libgui
20091 @: $(MAKE); $(unstage)
20092 @[ -f ./libgui/Makefile ] || exit 0; \
20093 r=`${PWD_COMMAND}`; export r; \
20094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20095 $(HOST_EXPORTS) \
20096 for flag in $(EXTRA_HOST_FLAGS) ; do \
20097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20098 done; \
20099 echo "Doing install-html in libgui" ; \
20100 (cd $(HOST_SUBDIR)/libgui && \
20101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20103 "RANLIB=$${RANLIB}" \
20104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20105 install-html) \
20106 || exit 1
20108 @endif libgui
20110 .PHONY: maybe-installcheck-libgui installcheck-libgui
20111 maybe-installcheck-libgui:
20112 @if libgui
20113 maybe-installcheck-libgui: installcheck-libgui
20115 installcheck-libgui: \
20116 configure-libgui
20117 @: $(MAKE); $(unstage)
20118 @[ -f ./libgui/Makefile ] || exit 0; \
20119 r=`${PWD_COMMAND}`; export r; \
20120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20121 $(HOST_EXPORTS) \
20122 for flag in $(EXTRA_HOST_FLAGS) ; do \
20123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20124 done; \
20125 echo "Doing installcheck in libgui" ; \
20126 (cd $(HOST_SUBDIR)/libgui && \
20127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20129 "RANLIB=$${RANLIB}" \
20130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20131 installcheck) \
20132 || exit 1
20134 @endif libgui
20136 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
20137 maybe-mostlyclean-libgui:
20138 @if libgui
20139 maybe-mostlyclean-libgui: mostlyclean-libgui
20141 mostlyclean-libgui:
20142 @: $(MAKE); $(unstage)
20143 @[ -f ./libgui/Makefile ] || exit 0; \
20144 r=`${PWD_COMMAND}`; export r; \
20145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 $(HOST_EXPORTS) \
20147 for flag in $(EXTRA_HOST_FLAGS) ; do \
20148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20149 done; \
20150 echo "Doing mostlyclean in libgui" ; \
20151 (cd $(HOST_SUBDIR)/libgui && \
20152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20154 "RANLIB=$${RANLIB}" \
20155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20156 mostlyclean) \
20157 || exit 1
20159 @endif libgui
20161 .PHONY: maybe-clean-libgui clean-libgui
20162 maybe-clean-libgui:
20163 @if libgui
20164 maybe-clean-libgui: clean-libgui
20166 clean-libgui:
20167 @: $(MAKE); $(unstage)
20168 @[ -f ./libgui/Makefile ] || exit 0; \
20169 r=`${PWD_COMMAND}`; export r; \
20170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20171 $(HOST_EXPORTS) \
20172 for flag in $(EXTRA_HOST_FLAGS) ; do \
20173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20174 done; \
20175 echo "Doing clean in libgui" ; \
20176 (cd $(HOST_SUBDIR)/libgui && \
20177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20179 "RANLIB=$${RANLIB}" \
20180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20181 clean) \
20182 || exit 1
20184 @endif libgui
20186 .PHONY: maybe-distclean-libgui distclean-libgui
20187 maybe-distclean-libgui:
20188 @if libgui
20189 maybe-distclean-libgui: distclean-libgui
20191 distclean-libgui:
20192 @: $(MAKE); $(unstage)
20193 @[ -f ./libgui/Makefile ] || exit 0; \
20194 r=`${PWD_COMMAND}`; export r; \
20195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20196 $(HOST_EXPORTS) \
20197 for flag in $(EXTRA_HOST_FLAGS) ; do \
20198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20199 done; \
20200 echo "Doing distclean in libgui" ; \
20201 (cd $(HOST_SUBDIR)/libgui && \
20202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20204 "RANLIB=$${RANLIB}" \
20205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20206 distclean) \
20207 || exit 1
20209 @endif libgui
20211 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20212 maybe-maintainer-clean-libgui:
20213 @if libgui
20214 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20216 maintainer-clean-libgui:
20217 @: $(MAKE); $(unstage)
20218 @[ -f ./libgui/Makefile ] || exit 0; \
20219 r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20221 $(HOST_EXPORTS) \
20222 for flag in $(EXTRA_HOST_FLAGS) ; do \
20223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20224 done; \
20225 echo "Doing maintainer-clean in libgui" ; \
20226 (cd $(HOST_SUBDIR)/libgui && \
20227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20229 "RANLIB=$${RANLIB}" \
20230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20231 maintainer-clean) \
20232 || exit 1
20234 @endif libgui
20238 .PHONY: configure-libiberty maybe-configure-libiberty
20239 maybe-configure-libiberty:
20240 @if gcc-bootstrap
20241 configure-libiberty: stage_current
20242 @endif gcc-bootstrap
20243 @if libiberty
20244 maybe-configure-libiberty: configure-libiberty
20245 configure-libiberty:
20246 @r=`${PWD_COMMAND}`; export r; \
20247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20248 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20250 $(HOST_EXPORTS) \
20251 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20252 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20253 case $(srcdir) in \
20254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20255 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20257 esac; \
20258 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20259 libsrcdir="$$s/libiberty"; \
20260 $(SHELL) $${libsrcdir}/configure \
20261 $(HOST_CONFIGARGS) $${srcdiroption} \
20262 || exit 1
20263 @endif libiberty
20267 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20268 maybe-configure-stage1-libiberty:
20269 @if libiberty-bootstrap
20270 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20271 configure-stage1-libiberty:
20272 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20273 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20274 @r=`${PWD_COMMAND}`; export r; \
20275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20276 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20277 $(HOST_EXPORTS) \
20278 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20280 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20281 case $(srcdir) in \
20282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20283 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20285 esac; \
20286 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20287 libsrcdir="$$s/libiberty"; \
20288 $(SHELL) $${libsrcdir}/configure \
20289 $(HOST_CONFIGARGS) $${srcdiroption} \
20291 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20292 @endif libiberty-bootstrap
20294 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20295 maybe-configure-stage2-libiberty:
20296 @if libiberty-bootstrap
20297 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20298 configure-stage2-libiberty:
20299 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20301 @r=`${PWD_COMMAND}`; export r; \
20302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20303 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20304 $(HOST_EXPORTS) \
20305 $(POSTSTAGE1_HOST_EXPORTS) \
20306 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20308 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20309 case $(srcdir) in \
20310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20311 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20313 esac; \
20314 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20315 libsrcdir="$$s/libiberty"; \
20316 $(SHELL) $${libsrcdir}/configure \
20317 $(HOST_CONFIGARGS) $${srcdiroption} \
20318 --with-build-libsubdir=$(HOST_SUBDIR) \
20319 @stage2_werror_flag@
20320 @endif libiberty-bootstrap
20322 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20323 maybe-configure-stage3-libiberty:
20324 @if libiberty-bootstrap
20325 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20326 configure-stage3-libiberty:
20327 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20329 @r=`${PWD_COMMAND}`; export r; \
20330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20331 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20332 $(HOST_EXPORTS) \
20333 $(POSTSTAGE1_HOST_EXPORTS) \
20334 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20336 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20337 case $(srcdir) in \
20338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20339 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20341 esac; \
20342 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20343 libsrcdir="$$s/libiberty"; \
20344 $(SHELL) $${libsrcdir}/configure \
20345 $(HOST_CONFIGARGS) $${srcdiroption} \
20346 --with-build-libsubdir=$(HOST_SUBDIR) \
20347 @stage2_werror_flag@
20348 @endif libiberty-bootstrap
20350 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20351 maybe-configure-stage4-libiberty:
20352 @if libiberty-bootstrap
20353 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20354 configure-stage4-libiberty:
20355 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20357 @r=`${PWD_COMMAND}`; export r; \
20358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20359 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20360 $(HOST_EXPORTS) \
20361 $(POSTSTAGE1_HOST_EXPORTS) \
20362 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20364 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20365 case $(srcdir) in \
20366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20367 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20369 esac; \
20370 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20371 libsrcdir="$$s/libiberty"; \
20372 $(SHELL) $${libsrcdir}/configure \
20373 $(HOST_CONFIGARGS) $${srcdiroption} \
20374 --with-build-libsubdir=$(HOST_SUBDIR) \
20375 @stage2_werror_flag@
20376 @endif libiberty-bootstrap
20378 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20379 maybe-configure-stageprofile-libiberty:
20380 @if libiberty-bootstrap
20381 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20382 configure-stageprofile-libiberty:
20383 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20385 @r=`${PWD_COMMAND}`; export r; \
20386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20388 $(HOST_EXPORTS) \
20389 $(POSTSTAGE1_HOST_EXPORTS) \
20390 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20392 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20393 case $(srcdir) in \
20394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20395 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20397 esac; \
20398 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20399 libsrcdir="$$s/libiberty"; \
20400 $(SHELL) $${libsrcdir}/configure \
20401 $(HOST_CONFIGARGS) $${srcdiroption} \
20402 --with-build-libsubdir=$(HOST_SUBDIR) \
20403 @stage2_werror_flag@
20404 @endif libiberty-bootstrap
20406 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20407 maybe-configure-stagefeedback-libiberty:
20408 @if libiberty-bootstrap
20409 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20410 configure-stagefeedback-libiberty:
20411 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20413 @r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20416 $(HOST_EXPORTS) \
20417 $(POSTSTAGE1_HOST_EXPORTS) \
20418 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20420 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20421 case $(srcdir) in \
20422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20423 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20425 esac; \
20426 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20427 libsrcdir="$$s/libiberty"; \
20428 $(SHELL) $${libsrcdir}/configure \
20429 $(HOST_CONFIGARGS) $${srcdiroption} \
20430 --with-build-libsubdir=$(HOST_SUBDIR) \
20431 @stage2_werror_flag@
20432 @endif libiberty-bootstrap
20438 .PHONY: all-libiberty maybe-all-libiberty
20439 maybe-all-libiberty:
20440 @if gcc-bootstrap
20441 all-libiberty: stage_current
20442 @endif gcc-bootstrap
20443 @if libiberty
20444 TARGET-libiberty=all
20445 maybe-all-libiberty: all-libiberty
20446 all-libiberty: configure-libiberty
20447 @r=`${PWD_COMMAND}`; export r; \
20448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20449 $(HOST_EXPORTS) \
20450 (cd $(HOST_SUBDIR)/libiberty && \
20451 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20452 @endif libiberty
20456 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20457 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20458 maybe-all-stage1-libiberty:
20459 maybe-clean-stage1-libiberty:
20460 @if libiberty-bootstrap
20461 maybe-all-stage1-libiberty: all-stage1-libiberty
20462 all-stage1: all-stage1-libiberty
20463 TARGET-stage1-libiberty = $(TARGET-libiberty)
20464 all-stage1-libiberty: configure-stage1-libiberty
20465 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20466 @r=`${PWD_COMMAND}`; export r; \
20467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20468 $(HOST_EXPORTS) \
20469 cd $(HOST_SUBDIR)/libiberty && \
20470 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20471 $(TARGET-stage1-libiberty)
20473 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20474 clean-stage1: clean-stage1-libiberty
20475 clean-stage1-libiberty:
20476 @if [ $(current_stage) = stage1 ]; then \
20477 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20478 else \
20479 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
20480 $(MAKE) stage1-start; \
20481 fi; \
20482 cd $(HOST_SUBDIR)/libiberty && \
20483 $(MAKE) $(FLAGS_TO_PASS) \
20484 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20485 @endif libiberty-bootstrap
20488 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20489 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20490 maybe-all-stage2-libiberty:
20491 maybe-clean-stage2-libiberty:
20492 @if libiberty-bootstrap
20493 maybe-all-stage2-libiberty: all-stage2-libiberty
20494 all-stage2: all-stage2-libiberty
20495 TARGET-stage2-libiberty = $(TARGET-libiberty)
20496 all-stage2-libiberty: configure-stage2-libiberty
20497 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20498 @r=`${PWD_COMMAND}`; export r; \
20499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20500 $(HOST_EXPORTS) \
20501 $(POSTSTAGE1_HOST_EXPORTS) \
20502 cd $(HOST_SUBDIR)/libiberty && \
20503 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20504 $(TARGET-stage2-libiberty)
20506 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20507 clean-stage2: clean-stage2-libiberty
20508 clean-stage2-libiberty:
20509 @if [ $(current_stage) = stage2 ]; then \
20510 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20511 else \
20512 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
20513 $(MAKE) stage2-start; \
20514 fi; \
20515 cd $(HOST_SUBDIR)/libiberty && \
20516 $(MAKE) $(FLAGS_TO_PASS) \
20517 $(POSTSTAGE1_FLAGS_TO_PASS) \
20518 clean
20519 @endif libiberty-bootstrap
20522 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20523 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20524 maybe-all-stage3-libiberty:
20525 maybe-clean-stage3-libiberty:
20526 @if libiberty-bootstrap
20527 maybe-all-stage3-libiberty: all-stage3-libiberty
20528 all-stage3: all-stage3-libiberty
20529 TARGET-stage3-libiberty = $(TARGET-libiberty)
20530 all-stage3-libiberty: configure-stage3-libiberty
20531 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20532 @r=`${PWD_COMMAND}`; export r; \
20533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534 $(HOST_EXPORTS) \
20535 $(POSTSTAGE1_HOST_EXPORTS) \
20536 cd $(HOST_SUBDIR)/libiberty && \
20537 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20538 $(TARGET-stage3-libiberty)
20540 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20541 clean-stage3: clean-stage3-libiberty
20542 clean-stage3-libiberty:
20543 @if [ $(current_stage) = stage3 ]; then \
20544 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20545 else \
20546 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
20547 $(MAKE) stage3-start; \
20548 fi; \
20549 cd $(HOST_SUBDIR)/libiberty && \
20550 $(MAKE) $(FLAGS_TO_PASS) \
20551 $(POSTSTAGE1_FLAGS_TO_PASS) \
20552 clean
20553 @endif libiberty-bootstrap
20556 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20557 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20558 maybe-all-stage4-libiberty:
20559 maybe-clean-stage4-libiberty:
20560 @if libiberty-bootstrap
20561 maybe-all-stage4-libiberty: all-stage4-libiberty
20562 all-stage4: all-stage4-libiberty
20563 TARGET-stage4-libiberty = $(TARGET-libiberty)
20564 all-stage4-libiberty: configure-stage4-libiberty
20565 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20566 @r=`${PWD_COMMAND}`; export r; \
20567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 $(HOST_EXPORTS) \
20569 $(POSTSTAGE1_HOST_EXPORTS) \
20570 cd $(HOST_SUBDIR)/libiberty && \
20571 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20572 $(TARGET-stage4-libiberty)
20574 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20575 clean-stage4: clean-stage4-libiberty
20576 clean-stage4-libiberty:
20577 @if [ $(current_stage) = stage4 ]; then \
20578 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20579 else \
20580 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
20581 $(MAKE) stage4-start; \
20582 fi; \
20583 cd $(HOST_SUBDIR)/libiberty && \
20584 $(MAKE) $(FLAGS_TO_PASS) \
20585 $(POSTSTAGE1_FLAGS_TO_PASS) \
20586 clean
20587 @endif libiberty-bootstrap
20590 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20591 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20592 maybe-all-stageprofile-libiberty:
20593 maybe-clean-stageprofile-libiberty:
20594 @if libiberty-bootstrap
20595 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20596 all-stageprofile: all-stageprofile-libiberty
20597 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20598 all-stageprofile-libiberty: configure-stageprofile-libiberty
20599 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20600 @r=`${PWD_COMMAND}`; export r; \
20601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20602 $(HOST_EXPORTS) \
20603 $(POSTSTAGE1_HOST_EXPORTS) \
20604 cd $(HOST_SUBDIR)/libiberty && \
20605 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20606 $(TARGET-stageprofile-libiberty)
20608 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20609 clean-stageprofile: clean-stageprofile-libiberty
20610 clean-stageprofile-libiberty:
20611 @if [ $(current_stage) = stageprofile ]; then \
20612 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20613 else \
20614 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
20615 $(MAKE) stageprofile-start; \
20616 fi; \
20617 cd $(HOST_SUBDIR)/libiberty && \
20618 $(MAKE) $(FLAGS_TO_PASS) \
20619 $(POSTSTAGE1_FLAGS_TO_PASS) \
20620 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20621 @endif libiberty-bootstrap
20624 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20625 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20626 maybe-all-stagefeedback-libiberty:
20627 maybe-clean-stagefeedback-libiberty:
20628 @if libiberty-bootstrap
20629 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20630 all-stagefeedback: all-stagefeedback-libiberty
20631 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20632 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20633 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20634 @r=`${PWD_COMMAND}`; export r; \
20635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20636 $(HOST_EXPORTS) \
20637 $(POSTSTAGE1_HOST_EXPORTS) \
20638 cd $(HOST_SUBDIR)/libiberty && \
20639 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20640 $(TARGET-stagefeedback-libiberty)
20642 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20643 clean-stagefeedback: clean-stagefeedback-libiberty
20644 clean-stagefeedback-libiberty:
20645 @if [ $(current_stage) = stagefeedback ]; then \
20646 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20647 else \
20648 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
20649 $(MAKE) stagefeedback-start; \
20650 fi; \
20651 cd $(HOST_SUBDIR)/libiberty && \
20652 $(MAKE) $(FLAGS_TO_PASS) \
20653 $(POSTSTAGE1_FLAGS_TO_PASS) \
20654 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20655 @endif libiberty-bootstrap
20661 .PHONY: check-libiberty maybe-check-libiberty
20662 maybe-check-libiberty:
20663 @if libiberty
20664 maybe-check-libiberty: check-libiberty
20666 check-libiberty:
20667 @: $(MAKE); $(unstage)
20668 @r=`${PWD_COMMAND}`; export r; \
20669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20670 $(HOST_EXPORTS) \
20671 (cd $(HOST_SUBDIR)/libiberty && \
20672 $(MAKE) $(FLAGS_TO_PASS) check)
20674 @endif libiberty
20676 .PHONY: install-libiberty maybe-install-libiberty
20677 maybe-install-libiberty:
20678 @if libiberty
20679 maybe-install-libiberty: install-libiberty
20681 install-libiberty: installdirs
20682 @: $(MAKE); $(unstage)
20683 @r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(HOST_EXPORTS) \
20686 (cd $(HOST_SUBDIR)/libiberty && \
20687 $(MAKE) $(FLAGS_TO_PASS) install)
20689 @endif libiberty
20691 # Other targets (info, dvi, pdf, etc.)
20693 .PHONY: maybe-info-libiberty info-libiberty
20694 maybe-info-libiberty:
20695 @if libiberty
20696 maybe-info-libiberty: info-libiberty
20698 info-libiberty: \
20699 configure-libiberty
20700 @[ -f ./libiberty/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706 done; \
20707 echo "Doing info in libiberty" ; \
20708 (cd $(HOST_SUBDIR)/libiberty && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20711 "RANLIB=$${RANLIB}" \
20712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20713 info) \
20714 || exit 1
20716 @endif libiberty
20718 .PHONY: maybe-dvi-libiberty dvi-libiberty
20719 maybe-dvi-libiberty:
20720 @if libiberty
20721 maybe-dvi-libiberty: dvi-libiberty
20723 dvi-libiberty: \
20724 configure-libiberty
20725 @[ -f ./libiberty/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing dvi in libiberty" ; \
20733 (cd $(HOST_SUBDIR)/libiberty && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 dvi) \
20739 || exit 1
20741 @endif libiberty
20743 .PHONY: maybe-pdf-libiberty pdf-libiberty
20744 maybe-pdf-libiberty:
20745 @if libiberty
20746 maybe-pdf-libiberty: pdf-libiberty
20748 pdf-libiberty: \
20749 configure-libiberty
20750 @[ -f ./libiberty/Makefile ] || exit 0; \
20751 r=`${PWD_COMMAND}`; export r; \
20752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20753 $(HOST_EXPORTS) \
20754 for flag in $(EXTRA_HOST_FLAGS) ; do \
20755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20756 done; \
20757 echo "Doing pdf in libiberty" ; \
20758 (cd $(HOST_SUBDIR)/libiberty && \
20759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20761 "RANLIB=$${RANLIB}" \
20762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20763 pdf) \
20764 || exit 1
20766 @endif libiberty
20768 .PHONY: maybe-html-libiberty html-libiberty
20769 maybe-html-libiberty:
20770 @if libiberty
20771 maybe-html-libiberty: html-libiberty
20773 html-libiberty: \
20774 configure-libiberty
20775 @[ -f ./libiberty/Makefile ] || exit 0; \
20776 r=`${PWD_COMMAND}`; export r; \
20777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 $(HOST_EXPORTS) \
20779 for flag in $(EXTRA_HOST_FLAGS) ; do \
20780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20781 done; \
20782 echo "Doing html in libiberty" ; \
20783 (cd $(HOST_SUBDIR)/libiberty && \
20784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20786 "RANLIB=$${RANLIB}" \
20787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20788 html) \
20789 || exit 1
20791 @endif libiberty
20793 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20794 maybe-TAGS-libiberty:
20795 @if libiberty
20796 maybe-TAGS-libiberty: TAGS-libiberty
20798 TAGS-libiberty: \
20799 configure-libiberty
20800 @[ -f ./libiberty/Makefile ] || exit 0; \
20801 r=`${PWD_COMMAND}`; export r; \
20802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20803 $(HOST_EXPORTS) \
20804 for flag in $(EXTRA_HOST_FLAGS) ; do \
20805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20806 done; \
20807 echo "Doing TAGS in libiberty" ; \
20808 (cd $(HOST_SUBDIR)/libiberty && \
20809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20811 "RANLIB=$${RANLIB}" \
20812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20813 TAGS) \
20814 || exit 1
20816 @endif libiberty
20818 .PHONY: maybe-install-info-libiberty install-info-libiberty
20819 maybe-install-info-libiberty:
20820 @if libiberty
20821 maybe-install-info-libiberty: install-info-libiberty
20823 install-info-libiberty: \
20824 configure-libiberty \
20825 info-libiberty
20826 @[ -f ./libiberty/Makefile ] || exit 0; \
20827 r=`${PWD_COMMAND}`; export r; \
20828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20829 $(HOST_EXPORTS) \
20830 for flag in $(EXTRA_HOST_FLAGS) ; do \
20831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20832 done; \
20833 echo "Doing install-info in libiberty" ; \
20834 (cd $(HOST_SUBDIR)/libiberty && \
20835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20837 "RANLIB=$${RANLIB}" \
20838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20839 install-info) \
20840 || exit 1
20842 @endif libiberty
20844 .PHONY: maybe-install-html-libiberty install-html-libiberty
20845 maybe-install-html-libiberty:
20846 @if libiberty
20847 maybe-install-html-libiberty: install-html-libiberty
20849 install-html-libiberty: \
20850 configure-libiberty \
20851 html-libiberty
20852 @[ -f ./libiberty/Makefile ] || exit 0; \
20853 r=`${PWD_COMMAND}`; export r; \
20854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20855 $(HOST_EXPORTS) \
20856 for flag in $(EXTRA_HOST_FLAGS) ; do \
20857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20858 done; \
20859 echo "Doing install-html in libiberty" ; \
20860 (cd $(HOST_SUBDIR)/libiberty && \
20861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20863 "RANLIB=$${RANLIB}" \
20864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20865 install-html) \
20866 || exit 1
20868 @endif libiberty
20870 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20871 maybe-installcheck-libiberty:
20872 @if libiberty
20873 maybe-installcheck-libiberty: installcheck-libiberty
20875 installcheck-libiberty: \
20876 configure-libiberty
20877 @[ -f ./libiberty/Makefile ] || exit 0; \
20878 r=`${PWD_COMMAND}`; export r; \
20879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20880 $(HOST_EXPORTS) \
20881 for flag in $(EXTRA_HOST_FLAGS) ; do \
20882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20883 done; \
20884 echo "Doing installcheck in libiberty" ; \
20885 (cd $(HOST_SUBDIR)/libiberty && \
20886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20888 "RANLIB=$${RANLIB}" \
20889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20890 installcheck) \
20891 || exit 1
20893 @endif libiberty
20895 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20896 maybe-mostlyclean-libiberty:
20897 @if libiberty
20898 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20900 mostlyclean-libiberty:
20901 @[ -f ./libiberty/Makefile ] || exit 0; \
20902 r=`${PWD_COMMAND}`; export r; \
20903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20904 $(HOST_EXPORTS) \
20905 for flag in $(EXTRA_HOST_FLAGS) ; do \
20906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20907 done; \
20908 echo "Doing mostlyclean in libiberty" ; \
20909 (cd $(HOST_SUBDIR)/libiberty && \
20910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20912 "RANLIB=$${RANLIB}" \
20913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20914 mostlyclean) \
20915 || exit 1
20917 @endif libiberty
20919 .PHONY: maybe-clean-libiberty clean-libiberty
20920 maybe-clean-libiberty:
20921 @if libiberty
20922 maybe-clean-libiberty: clean-libiberty
20924 clean-libiberty:
20925 @[ -f ./libiberty/Makefile ] || exit 0; \
20926 r=`${PWD_COMMAND}`; export r; \
20927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20928 $(HOST_EXPORTS) \
20929 for flag in $(EXTRA_HOST_FLAGS) ; do \
20930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20931 done; \
20932 echo "Doing clean in libiberty" ; \
20933 (cd $(HOST_SUBDIR)/libiberty && \
20934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20936 "RANLIB=$${RANLIB}" \
20937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20938 clean) \
20939 || exit 1
20941 @endif libiberty
20943 .PHONY: maybe-distclean-libiberty distclean-libiberty
20944 maybe-distclean-libiberty:
20945 @if libiberty
20946 maybe-distclean-libiberty: distclean-libiberty
20948 distclean-libiberty:
20949 @[ -f ./libiberty/Makefile ] || exit 0; \
20950 r=`${PWD_COMMAND}`; export r; \
20951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20952 $(HOST_EXPORTS) \
20953 for flag in $(EXTRA_HOST_FLAGS) ; do \
20954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20955 done; \
20956 echo "Doing distclean in libiberty" ; \
20957 (cd $(HOST_SUBDIR)/libiberty && \
20958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20960 "RANLIB=$${RANLIB}" \
20961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20962 distclean) \
20963 || exit 1
20965 @endif libiberty
20967 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20968 maybe-maintainer-clean-libiberty:
20969 @if libiberty
20970 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20972 maintainer-clean-libiberty:
20973 @[ -f ./libiberty/Makefile ] || exit 0; \
20974 r=`${PWD_COMMAND}`; export r; \
20975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20976 $(HOST_EXPORTS) \
20977 for flag in $(EXTRA_HOST_FLAGS) ; do \
20978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20979 done; \
20980 echo "Doing maintainer-clean in libiberty" ; \
20981 (cd $(HOST_SUBDIR)/libiberty && \
20982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20984 "RANLIB=$${RANLIB}" \
20985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20986 maintainer-clean) \
20987 || exit 1
20989 @endif libiberty
20993 .PHONY: configure-libtool maybe-configure-libtool
20994 maybe-configure-libtool:
20995 @if gcc-bootstrap
20996 configure-libtool: stage_current
20997 @endif gcc-bootstrap
20998 @if libtool
20999 maybe-configure-libtool: configure-libtool
21000 configure-libtool:
21001 @: $(MAKE); $(unstage)
21002 @r=`${PWD_COMMAND}`; export r; \
21003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21004 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
21005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
21006 $(HOST_EXPORTS) \
21007 echo Configuring in $(HOST_SUBDIR)/libtool; \
21008 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
21009 case $(srcdir) in \
21010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21011 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
21012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21013 esac; \
21014 srcdiroption="--srcdir=$${topdir}/libtool"; \
21015 libsrcdir="$$s/libtool"; \
21016 $(SHELL) $${libsrcdir}/configure \
21017 $(HOST_CONFIGARGS) $${srcdiroption} \
21018 || exit 1
21019 @endif libtool
21025 .PHONY: all-libtool maybe-all-libtool
21026 maybe-all-libtool:
21027 @if gcc-bootstrap
21028 all-libtool: stage_current
21029 @endif gcc-bootstrap
21030 @if libtool
21031 TARGET-libtool=all
21032 maybe-all-libtool: all-libtool
21033 all-libtool: configure-libtool
21034 @: $(MAKE); $(unstage)
21035 @r=`${PWD_COMMAND}`; export r; \
21036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21037 $(HOST_EXPORTS) \
21038 (cd $(HOST_SUBDIR)/libtool && \
21039 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
21040 @endif libtool
21045 .PHONY: check-libtool maybe-check-libtool
21046 maybe-check-libtool:
21047 @if libtool
21048 maybe-check-libtool: check-libtool
21050 check-libtool:
21051 @: $(MAKE); $(unstage)
21052 @r=`${PWD_COMMAND}`; export r; \
21053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 $(HOST_EXPORTS) \
21055 (cd $(HOST_SUBDIR)/libtool && \
21056 $(MAKE) $(FLAGS_TO_PASS) check)
21058 @endif libtool
21060 .PHONY: install-libtool maybe-install-libtool
21061 maybe-install-libtool:
21062 @if libtool
21063 maybe-install-libtool: install-libtool
21065 install-libtool: installdirs
21066 @: $(MAKE); $(unstage)
21067 @r=`${PWD_COMMAND}`; export r; \
21068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21069 $(HOST_EXPORTS) \
21070 (cd $(HOST_SUBDIR)/libtool && \
21071 $(MAKE) $(FLAGS_TO_PASS) install)
21073 @endif libtool
21075 # Other targets (info, dvi, pdf, etc.)
21077 .PHONY: maybe-info-libtool info-libtool
21078 maybe-info-libtool:
21079 @if libtool
21080 maybe-info-libtool: info-libtool
21082 info-libtool: \
21083 configure-libtool
21084 @: $(MAKE); $(unstage)
21085 @[ -f ./libtool/Makefile ] || exit 0; \
21086 r=`${PWD_COMMAND}`; export r; \
21087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21088 $(HOST_EXPORTS) \
21089 for flag in $(EXTRA_HOST_FLAGS) ; do \
21090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21091 done; \
21092 echo "Doing info in libtool" ; \
21093 (cd $(HOST_SUBDIR)/libtool && \
21094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21096 "RANLIB=$${RANLIB}" \
21097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21098 info) \
21099 || exit 1
21101 @endif libtool
21103 .PHONY: maybe-dvi-libtool dvi-libtool
21104 maybe-dvi-libtool:
21105 @if libtool
21106 maybe-dvi-libtool: dvi-libtool
21108 dvi-libtool: \
21109 configure-libtool
21110 @: $(MAKE); $(unstage)
21111 @[ -f ./libtool/Makefile ] || exit 0; \
21112 r=`${PWD_COMMAND}`; export r; \
21113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21114 $(HOST_EXPORTS) \
21115 for flag in $(EXTRA_HOST_FLAGS) ; do \
21116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21117 done; \
21118 echo "Doing dvi in libtool" ; \
21119 (cd $(HOST_SUBDIR)/libtool && \
21120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21122 "RANLIB=$${RANLIB}" \
21123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21124 dvi) \
21125 || exit 1
21127 @endif libtool
21129 .PHONY: maybe-pdf-libtool pdf-libtool
21130 maybe-pdf-libtool:
21131 @if libtool
21132 maybe-pdf-libtool: pdf-libtool
21134 pdf-libtool: \
21135 configure-libtool
21136 @: $(MAKE); $(unstage)
21137 @[ -f ./libtool/Makefile ] || exit 0; \
21138 r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21140 $(HOST_EXPORTS) \
21141 for flag in $(EXTRA_HOST_FLAGS) ; do \
21142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21143 done; \
21144 echo "Doing pdf in libtool" ; \
21145 (cd $(HOST_SUBDIR)/libtool && \
21146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21148 "RANLIB=$${RANLIB}" \
21149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21150 pdf) \
21151 || exit 1
21153 @endif libtool
21155 .PHONY: maybe-html-libtool html-libtool
21156 maybe-html-libtool:
21157 @if libtool
21158 maybe-html-libtool: html-libtool
21160 html-libtool: \
21161 configure-libtool
21162 @: $(MAKE); $(unstage)
21163 @[ -f ./libtool/Makefile ] || exit 0; \
21164 r=`${PWD_COMMAND}`; export r; \
21165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21166 $(HOST_EXPORTS) \
21167 for flag in $(EXTRA_HOST_FLAGS) ; do \
21168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21169 done; \
21170 echo "Doing html in libtool" ; \
21171 (cd $(HOST_SUBDIR)/libtool && \
21172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21174 "RANLIB=$${RANLIB}" \
21175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21176 html) \
21177 || exit 1
21179 @endif libtool
21181 .PHONY: maybe-TAGS-libtool TAGS-libtool
21182 maybe-TAGS-libtool:
21183 @if libtool
21184 maybe-TAGS-libtool: TAGS-libtool
21186 TAGS-libtool: \
21187 configure-libtool
21188 @: $(MAKE); $(unstage)
21189 @[ -f ./libtool/Makefile ] || exit 0; \
21190 r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192 $(HOST_EXPORTS) \
21193 for flag in $(EXTRA_HOST_FLAGS) ; do \
21194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21195 done; \
21196 echo "Doing TAGS in libtool" ; \
21197 (cd $(HOST_SUBDIR)/libtool && \
21198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21200 "RANLIB=$${RANLIB}" \
21201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21202 TAGS) \
21203 || exit 1
21205 @endif libtool
21207 .PHONY: maybe-install-info-libtool install-info-libtool
21208 maybe-install-info-libtool:
21209 @if libtool
21210 maybe-install-info-libtool: install-info-libtool
21212 install-info-libtool: \
21213 configure-libtool \
21214 info-libtool
21215 @: $(MAKE); $(unstage)
21216 @[ -f ./libtool/Makefile ] || exit 0; \
21217 r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21219 $(HOST_EXPORTS) \
21220 for flag in $(EXTRA_HOST_FLAGS) ; do \
21221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21222 done; \
21223 echo "Doing install-info in libtool" ; \
21224 (cd $(HOST_SUBDIR)/libtool && \
21225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21227 "RANLIB=$${RANLIB}" \
21228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21229 install-info) \
21230 || exit 1
21232 @endif libtool
21234 .PHONY: maybe-install-html-libtool install-html-libtool
21235 maybe-install-html-libtool:
21236 @if libtool
21237 maybe-install-html-libtool: install-html-libtool
21239 install-html-libtool: \
21240 configure-libtool \
21241 html-libtool
21242 @: $(MAKE); $(unstage)
21243 @[ -f ./libtool/Makefile ] || exit 0; \
21244 r=`${PWD_COMMAND}`; export r; \
21245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21246 $(HOST_EXPORTS) \
21247 for flag in $(EXTRA_HOST_FLAGS) ; do \
21248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21249 done; \
21250 echo "Doing install-html in libtool" ; \
21251 (cd $(HOST_SUBDIR)/libtool && \
21252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21254 "RANLIB=$${RANLIB}" \
21255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21256 install-html) \
21257 || exit 1
21259 @endif libtool
21261 .PHONY: maybe-installcheck-libtool installcheck-libtool
21262 maybe-installcheck-libtool:
21263 @if libtool
21264 maybe-installcheck-libtool: installcheck-libtool
21266 installcheck-libtool: \
21267 configure-libtool
21268 @: $(MAKE); $(unstage)
21269 @[ -f ./libtool/Makefile ] || exit 0; \
21270 r=`${PWD_COMMAND}`; export r; \
21271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21272 $(HOST_EXPORTS) \
21273 for flag in $(EXTRA_HOST_FLAGS) ; do \
21274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21275 done; \
21276 echo "Doing installcheck in libtool" ; \
21277 (cd $(HOST_SUBDIR)/libtool && \
21278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21280 "RANLIB=$${RANLIB}" \
21281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21282 installcheck) \
21283 || exit 1
21285 @endif libtool
21287 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21288 maybe-mostlyclean-libtool:
21289 @if libtool
21290 maybe-mostlyclean-libtool: mostlyclean-libtool
21292 mostlyclean-libtool:
21293 @: $(MAKE); $(unstage)
21294 @[ -f ./libtool/Makefile ] || exit 0; \
21295 r=`${PWD_COMMAND}`; export r; \
21296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21297 $(HOST_EXPORTS) \
21298 for flag in $(EXTRA_HOST_FLAGS) ; do \
21299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21300 done; \
21301 echo "Doing mostlyclean in libtool" ; \
21302 (cd $(HOST_SUBDIR)/libtool && \
21303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21305 "RANLIB=$${RANLIB}" \
21306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21307 mostlyclean) \
21308 || exit 1
21310 @endif libtool
21312 .PHONY: maybe-clean-libtool clean-libtool
21313 maybe-clean-libtool:
21314 @if libtool
21315 maybe-clean-libtool: clean-libtool
21317 clean-libtool:
21318 @: $(MAKE); $(unstage)
21319 @[ -f ./libtool/Makefile ] || exit 0; \
21320 r=`${PWD_COMMAND}`; export r; \
21321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21322 $(HOST_EXPORTS) \
21323 for flag in $(EXTRA_HOST_FLAGS) ; do \
21324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21325 done; \
21326 echo "Doing clean in libtool" ; \
21327 (cd $(HOST_SUBDIR)/libtool && \
21328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21330 "RANLIB=$${RANLIB}" \
21331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21332 clean) \
21333 || exit 1
21335 @endif libtool
21337 .PHONY: maybe-distclean-libtool distclean-libtool
21338 maybe-distclean-libtool:
21339 @if libtool
21340 maybe-distclean-libtool: distclean-libtool
21342 distclean-libtool:
21343 @: $(MAKE); $(unstage)
21344 @[ -f ./libtool/Makefile ] || exit 0; \
21345 r=`${PWD_COMMAND}`; export r; \
21346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21347 $(HOST_EXPORTS) \
21348 for flag in $(EXTRA_HOST_FLAGS) ; do \
21349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21350 done; \
21351 echo "Doing distclean in libtool" ; \
21352 (cd $(HOST_SUBDIR)/libtool && \
21353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21355 "RANLIB=$${RANLIB}" \
21356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21357 distclean) \
21358 || exit 1
21360 @endif libtool
21362 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21363 maybe-maintainer-clean-libtool:
21364 @if libtool
21365 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21367 maintainer-clean-libtool:
21368 @: $(MAKE); $(unstage)
21369 @[ -f ./libtool/Makefile ] || exit 0; \
21370 r=`${PWD_COMMAND}`; export r; \
21371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21372 $(HOST_EXPORTS) \
21373 for flag in $(EXTRA_HOST_FLAGS) ; do \
21374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21375 done; \
21376 echo "Doing maintainer-clean in libtool" ; \
21377 (cd $(HOST_SUBDIR)/libtool && \
21378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21380 "RANLIB=$${RANLIB}" \
21381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21382 maintainer-clean) \
21383 || exit 1
21385 @endif libtool
21389 .PHONY: configure-m4 maybe-configure-m4
21390 maybe-configure-m4:
21391 @if gcc-bootstrap
21392 configure-m4: stage_current
21393 @endif gcc-bootstrap
21394 @if m4
21395 maybe-configure-m4: configure-m4
21396 configure-m4:
21397 @: $(MAKE); $(unstage)
21398 @r=`${PWD_COMMAND}`; export r; \
21399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21402 $(HOST_EXPORTS) \
21403 echo Configuring in $(HOST_SUBDIR)/m4; \
21404 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21405 case $(srcdir) in \
21406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21407 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21409 esac; \
21410 srcdiroption="--srcdir=$${topdir}/m4"; \
21411 libsrcdir="$$s/m4"; \
21412 $(SHELL) $${libsrcdir}/configure \
21413 $(HOST_CONFIGARGS) $${srcdiroption} \
21414 || exit 1
21415 @endif m4
21421 .PHONY: all-m4 maybe-all-m4
21422 maybe-all-m4:
21423 @if gcc-bootstrap
21424 all-m4: stage_current
21425 @endif gcc-bootstrap
21426 @if m4
21427 TARGET-m4=all
21428 maybe-all-m4: all-m4
21429 all-m4: configure-m4
21430 @: $(MAKE); $(unstage)
21431 @r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 $(HOST_EXPORTS) \
21434 (cd $(HOST_SUBDIR)/m4 && \
21435 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21436 @endif m4
21441 .PHONY: check-m4 maybe-check-m4
21442 maybe-check-m4:
21443 @if m4
21444 maybe-check-m4: check-m4
21446 check-m4:
21447 @: $(MAKE); $(unstage)
21448 @r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 $(HOST_EXPORTS) \
21451 (cd $(HOST_SUBDIR)/m4 && \
21452 $(MAKE) $(FLAGS_TO_PASS) check)
21454 @endif m4
21456 .PHONY: install-m4 maybe-install-m4
21457 maybe-install-m4:
21458 @if m4
21459 maybe-install-m4: install-m4
21461 install-m4: installdirs
21462 @: $(MAKE); $(unstage)
21463 @r=`${PWD_COMMAND}`; export r; \
21464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21465 $(HOST_EXPORTS) \
21466 (cd $(HOST_SUBDIR)/m4 && \
21467 $(MAKE) $(FLAGS_TO_PASS) install)
21469 @endif m4
21471 # Other targets (info, dvi, pdf, etc.)
21473 .PHONY: maybe-info-m4 info-m4
21474 maybe-info-m4:
21475 @if m4
21476 maybe-info-m4: info-m4
21478 info-m4: \
21479 configure-m4
21480 @: $(MAKE); $(unstage)
21481 @[ -f ./m4/Makefile ] || exit 0; \
21482 r=`${PWD_COMMAND}`; export r; \
21483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 $(HOST_EXPORTS) \
21485 for flag in $(EXTRA_HOST_FLAGS) ; do \
21486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21487 done; \
21488 echo "Doing info in m4" ; \
21489 (cd $(HOST_SUBDIR)/m4 && \
21490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21492 "RANLIB=$${RANLIB}" \
21493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21494 info) \
21495 || exit 1
21497 @endif m4
21499 .PHONY: maybe-dvi-m4 dvi-m4
21500 maybe-dvi-m4:
21501 @if m4
21502 maybe-dvi-m4: dvi-m4
21504 dvi-m4: \
21505 configure-m4
21506 @: $(MAKE); $(unstage)
21507 @[ -f ./m4/Makefile ] || exit 0; \
21508 r=`${PWD_COMMAND}`; export r; \
21509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21510 $(HOST_EXPORTS) \
21511 for flag in $(EXTRA_HOST_FLAGS) ; do \
21512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21513 done; \
21514 echo "Doing dvi in m4" ; \
21515 (cd $(HOST_SUBDIR)/m4 && \
21516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21518 "RANLIB=$${RANLIB}" \
21519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21520 dvi) \
21521 || exit 1
21523 @endif m4
21525 .PHONY: maybe-pdf-m4 pdf-m4
21526 maybe-pdf-m4:
21527 @if m4
21528 maybe-pdf-m4: pdf-m4
21530 pdf-m4: \
21531 configure-m4
21532 @: $(MAKE); $(unstage)
21533 @[ -f ./m4/Makefile ] || exit 0; \
21534 r=`${PWD_COMMAND}`; export r; \
21535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21536 $(HOST_EXPORTS) \
21537 for flag in $(EXTRA_HOST_FLAGS) ; do \
21538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21539 done; \
21540 echo "Doing pdf in m4" ; \
21541 (cd $(HOST_SUBDIR)/m4 && \
21542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21544 "RANLIB=$${RANLIB}" \
21545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21546 pdf) \
21547 || exit 1
21549 @endif m4
21551 .PHONY: maybe-html-m4 html-m4
21552 maybe-html-m4:
21553 @if m4
21554 maybe-html-m4: html-m4
21556 html-m4: \
21557 configure-m4
21558 @: $(MAKE); $(unstage)
21559 @[ -f ./m4/Makefile ] || exit 0; \
21560 r=`${PWD_COMMAND}`; export r; \
21561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21562 $(HOST_EXPORTS) \
21563 for flag in $(EXTRA_HOST_FLAGS) ; do \
21564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21565 done; \
21566 echo "Doing html in m4" ; \
21567 (cd $(HOST_SUBDIR)/m4 && \
21568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21570 "RANLIB=$${RANLIB}" \
21571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21572 html) \
21573 || exit 1
21575 @endif m4
21577 .PHONY: maybe-TAGS-m4 TAGS-m4
21578 maybe-TAGS-m4:
21579 @if m4
21580 maybe-TAGS-m4: TAGS-m4
21582 TAGS-m4: \
21583 configure-m4
21584 @: $(MAKE); $(unstage)
21585 @[ -f ./m4/Makefile ] || exit 0; \
21586 r=`${PWD_COMMAND}`; export r; \
21587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21588 $(HOST_EXPORTS) \
21589 for flag in $(EXTRA_HOST_FLAGS) ; do \
21590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21591 done; \
21592 echo "Doing TAGS in m4" ; \
21593 (cd $(HOST_SUBDIR)/m4 && \
21594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21596 "RANLIB=$${RANLIB}" \
21597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21598 TAGS) \
21599 || exit 1
21601 @endif m4
21603 .PHONY: maybe-install-info-m4 install-info-m4
21604 maybe-install-info-m4:
21605 @if m4
21606 maybe-install-info-m4: install-info-m4
21608 install-info-m4: \
21609 configure-m4 \
21610 info-m4
21611 @: $(MAKE); $(unstage)
21612 @[ -f ./m4/Makefile ] || exit 0; \
21613 r=`${PWD_COMMAND}`; export r; \
21614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21615 $(HOST_EXPORTS) \
21616 for flag in $(EXTRA_HOST_FLAGS) ; do \
21617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21618 done; \
21619 echo "Doing install-info in m4" ; \
21620 (cd $(HOST_SUBDIR)/m4 && \
21621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21623 "RANLIB=$${RANLIB}" \
21624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21625 install-info) \
21626 || exit 1
21628 @endif m4
21630 .PHONY: maybe-install-html-m4 install-html-m4
21631 maybe-install-html-m4:
21632 @if m4
21633 maybe-install-html-m4: install-html-m4
21635 install-html-m4: \
21636 configure-m4 \
21637 html-m4
21638 @: $(MAKE); $(unstage)
21639 @[ -f ./m4/Makefile ] || exit 0; \
21640 r=`${PWD_COMMAND}`; export r; \
21641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21642 $(HOST_EXPORTS) \
21643 for flag in $(EXTRA_HOST_FLAGS) ; do \
21644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21645 done; \
21646 echo "Doing install-html in m4" ; \
21647 (cd $(HOST_SUBDIR)/m4 && \
21648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21650 "RANLIB=$${RANLIB}" \
21651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21652 install-html) \
21653 || exit 1
21655 @endif m4
21657 .PHONY: maybe-installcheck-m4 installcheck-m4
21658 maybe-installcheck-m4:
21659 @if m4
21660 maybe-installcheck-m4: installcheck-m4
21662 installcheck-m4: \
21663 configure-m4
21664 @: $(MAKE); $(unstage)
21665 @[ -f ./m4/Makefile ] || exit 0; \
21666 r=`${PWD_COMMAND}`; export r; \
21667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21668 $(HOST_EXPORTS) \
21669 for flag in $(EXTRA_HOST_FLAGS) ; do \
21670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21671 done; \
21672 echo "Doing installcheck in m4" ; \
21673 (cd $(HOST_SUBDIR)/m4 && \
21674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21676 "RANLIB=$${RANLIB}" \
21677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21678 installcheck) \
21679 || exit 1
21681 @endif m4
21683 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21684 maybe-mostlyclean-m4:
21685 @if m4
21686 maybe-mostlyclean-m4: mostlyclean-m4
21688 mostlyclean-m4:
21689 @: $(MAKE); $(unstage)
21690 @[ -f ./m4/Makefile ] || exit 0; \
21691 r=`${PWD_COMMAND}`; export r; \
21692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21693 $(HOST_EXPORTS) \
21694 for flag in $(EXTRA_HOST_FLAGS) ; do \
21695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21696 done; \
21697 echo "Doing mostlyclean in m4" ; \
21698 (cd $(HOST_SUBDIR)/m4 && \
21699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21701 "RANLIB=$${RANLIB}" \
21702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21703 mostlyclean) \
21704 || exit 1
21706 @endif m4
21708 .PHONY: maybe-clean-m4 clean-m4
21709 maybe-clean-m4:
21710 @if m4
21711 maybe-clean-m4: clean-m4
21713 clean-m4:
21714 @: $(MAKE); $(unstage)
21715 @[ -f ./m4/Makefile ] || exit 0; \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 $(HOST_EXPORTS) \
21719 for flag in $(EXTRA_HOST_FLAGS) ; do \
21720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21721 done; \
21722 echo "Doing clean in m4" ; \
21723 (cd $(HOST_SUBDIR)/m4 && \
21724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21726 "RANLIB=$${RANLIB}" \
21727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21728 clean) \
21729 || exit 1
21731 @endif m4
21733 .PHONY: maybe-distclean-m4 distclean-m4
21734 maybe-distclean-m4:
21735 @if m4
21736 maybe-distclean-m4: distclean-m4
21738 distclean-m4:
21739 @: $(MAKE); $(unstage)
21740 @[ -f ./m4/Makefile ] || exit 0; \
21741 r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(HOST_EXPORTS) \
21744 for flag in $(EXTRA_HOST_FLAGS) ; do \
21745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21746 done; \
21747 echo "Doing distclean in m4" ; \
21748 (cd $(HOST_SUBDIR)/m4 && \
21749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21751 "RANLIB=$${RANLIB}" \
21752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21753 distclean) \
21754 || exit 1
21756 @endif m4
21758 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21759 maybe-maintainer-clean-m4:
21760 @if m4
21761 maybe-maintainer-clean-m4: maintainer-clean-m4
21763 maintainer-clean-m4:
21764 @: $(MAKE); $(unstage)
21765 @[ -f ./m4/Makefile ] || exit 0; \
21766 r=`${PWD_COMMAND}`; export r; \
21767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21768 $(HOST_EXPORTS) \
21769 for flag in $(EXTRA_HOST_FLAGS) ; do \
21770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21771 done; \
21772 echo "Doing maintainer-clean in m4" ; \
21773 (cd $(HOST_SUBDIR)/m4 && \
21774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21776 "RANLIB=$${RANLIB}" \
21777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21778 maintainer-clean) \
21779 || exit 1
21781 @endif m4
21785 .PHONY: configure-make maybe-configure-make
21786 maybe-configure-make:
21787 @if gcc-bootstrap
21788 configure-make: stage_current
21789 @endif gcc-bootstrap
21790 @if make
21791 maybe-configure-make: configure-make
21792 configure-make:
21793 @: $(MAKE); $(unstage)
21794 @r=`${PWD_COMMAND}`; export r; \
21795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21796 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21798 $(HOST_EXPORTS) \
21799 echo Configuring in $(HOST_SUBDIR)/make; \
21800 cd "$(HOST_SUBDIR)/make" || exit 1; \
21801 case $(srcdir) in \
21802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21803 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21805 esac; \
21806 srcdiroption="--srcdir=$${topdir}/make"; \
21807 libsrcdir="$$s/make"; \
21808 $(SHELL) $${libsrcdir}/configure \
21809 $(HOST_CONFIGARGS) $${srcdiroption} \
21810 || exit 1
21811 @endif make
21817 .PHONY: all-make maybe-all-make
21818 maybe-all-make:
21819 @if gcc-bootstrap
21820 all-make: stage_current
21821 @endif gcc-bootstrap
21822 @if make
21823 TARGET-make=all
21824 maybe-all-make: all-make
21825 all-make: configure-make
21826 @: $(MAKE); $(unstage)
21827 @r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 $(HOST_EXPORTS) \
21830 (cd $(HOST_SUBDIR)/make && \
21831 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21832 @endif make
21837 .PHONY: check-make maybe-check-make
21838 maybe-check-make:
21839 @if make
21840 maybe-check-make: check-make
21842 check-make:
21843 @: $(MAKE); $(unstage)
21844 @r=`${PWD_COMMAND}`; export r; \
21845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21846 $(HOST_EXPORTS) \
21847 (cd $(HOST_SUBDIR)/make && \
21848 $(MAKE) $(FLAGS_TO_PASS) check)
21850 @endif make
21852 .PHONY: install-make maybe-install-make
21853 maybe-install-make:
21854 @if make
21855 maybe-install-make: install-make
21857 install-make: installdirs
21858 @: $(MAKE); $(unstage)
21859 @r=`${PWD_COMMAND}`; export r; \
21860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21861 $(HOST_EXPORTS) \
21862 (cd $(HOST_SUBDIR)/make && \
21863 $(MAKE) $(FLAGS_TO_PASS) install)
21865 @endif make
21867 # Other targets (info, dvi, pdf, etc.)
21869 .PHONY: maybe-info-make info-make
21870 maybe-info-make:
21871 @if make
21872 maybe-info-make: info-make
21874 info-make: \
21875 configure-make
21876 @: $(MAKE); $(unstage)
21877 @[ -f ./make/Makefile ] || exit 0; \
21878 r=`${PWD_COMMAND}`; export r; \
21879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21880 $(HOST_EXPORTS) \
21881 for flag in $(EXTRA_HOST_FLAGS) ; do \
21882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 done; \
21884 echo "Doing info in make" ; \
21885 (cd $(HOST_SUBDIR)/make && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21888 "RANLIB=$${RANLIB}" \
21889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21890 info) \
21891 || exit 1
21893 @endif make
21895 .PHONY: maybe-dvi-make dvi-make
21896 maybe-dvi-make:
21897 @if make
21898 maybe-dvi-make: dvi-make
21900 dvi-make: \
21901 configure-make
21902 @: $(MAKE); $(unstage)
21903 @[ -f ./make/Makefile ] || exit 0; \
21904 r=`${PWD_COMMAND}`; export r; \
21905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21906 $(HOST_EXPORTS) \
21907 for flag in $(EXTRA_HOST_FLAGS) ; do \
21908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21909 done; \
21910 echo "Doing dvi in make" ; \
21911 (cd $(HOST_SUBDIR)/make && \
21912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21914 "RANLIB=$${RANLIB}" \
21915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21916 dvi) \
21917 || exit 1
21919 @endif make
21921 .PHONY: maybe-pdf-make pdf-make
21922 maybe-pdf-make:
21923 @if make
21924 maybe-pdf-make: pdf-make
21926 pdf-make: \
21927 configure-make
21928 @: $(MAKE); $(unstage)
21929 @[ -f ./make/Makefile ] || exit 0; \
21930 r=`${PWD_COMMAND}`; export r; \
21931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21932 $(HOST_EXPORTS) \
21933 for flag in $(EXTRA_HOST_FLAGS) ; do \
21934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21935 done; \
21936 echo "Doing pdf in make" ; \
21937 (cd $(HOST_SUBDIR)/make && \
21938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21940 "RANLIB=$${RANLIB}" \
21941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21942 pdf) \
21943 || exit 1
21945 @endif make
21947 .PHONY: maybe-html-make html-make
21948 maybe-html-make:
21949 @if make
21950 maybe-html-make: html-make
21952 html-make: \
21953 configure-make
21954 @: $(MAKE); $(unstage)
21955 @[ -f ./make/Makefile ] || exit 0; \
21956 r=`${PWD_COMMAND}`; export r; \
21957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21958 $(HOST_EXPORTS) \
21959 for flag in $(EXTRA_HOST_FLAGS) ; do \
21960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21961 done; \
21962 echo "Doing html in make" ; \
21963 (cd $(HOST_SUBDIR)/make && \
21964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21966 "RANLIB=$${RANLIB}" \
21967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21968 html) \
21969 || exit 1
21971 @endif make
21973 .PHONY: maybe-TAGS-make TAGS-make
21974 maybe-TAGS-make:
21975 @if make
21976 maybe-TAGS-make: TAGS-make
21978 TAGS-make: \
21979 configure-make
21980 @: $(MAKE); $(unstage)
21981 @[ -f ./make/Makefile ] || exit 0; \
21982 r=`${PWD_COMMAND}`; export r; \
21983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21984 $(HOST_EXPORTS) \
21985 for flag in $(EXTRA_HOST_FLAGS) ; do \
21986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21987 done; \
21988 echo "Doing TAGS in make" ; \
21989 (cd $(HOST_SUBDIR)/make && \
21990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21992 "RANLIB=$${RANLIB}" \
21993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21994 TAGS) \
21995 || exit 1
21997 @endif make
21999 .PHONY: maybe-install-info-make install-info-make
22000 maybe-install-info-make:
22001 @if make
22002 maybe-install-info-make: install-info-make
22004 install-info-make: \
22005 configure-make \
22006 info-make
22007 @: $(MAKE); $(unstage)
22008 @[ -f ./make/Makefile ] || exit 0; \
22009 r=`${PWD_COMMAND}`; export r; \
22010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22011 $(HOST_EXPORTS) \
22012 for flag in $(EXTRA_HOST_FLAGS) ; do \
22013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22014 done; \
22015 echo "Doing install-info in make" ; \
22016 (cd $(HOST_SUBDIR)/make && \
22017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22019 "RANLIB=$${RANLIB}" \
22020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22021 install-info) \
22022 || exit 1
22024 @endif make
22026 .PHONY: maybe-install-html-make install-html-make
22027 maybe-install-html-make:
22028 @if make
22029 maybe-install-html-make: install-html-make
22031 install-html-make: \
22032 configure-make \
22033 html-make
22034 @: $(MAKE); $(unstage)
22035 @[ -f ./make/Makefile ] || exit 0; \
22036 r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 $(HOST_EXPORTS) \
22039 for flag in $(EXTRA_HOST_FLAGS) ; do \
22040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22041 done; \
22042 echo "Doing install-html in make" ; \
22043 (cd $(HOST_SUBDIR)/make && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046 "RANLIB=$${RANLIB}" \
22047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22048 install-html) \
22049 || exit 1
22051 @endif make
22053 .PHONY: maybe-installcheck-make installcheck-make
22054 maybe-installcheck-make:
22055 @if make
22056 maybe-installcheck-make: installcheck-make
22058 installcheck-make: \
22059 configure-make
22060 @: $(MAKE); $(unstage)
22061 @[ -f ./make/Makefile ] || exit 0; \
22062 r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22064 $(HOST_EXPORTS) \
22065 for flag in $(EXTRA_HOST_FLAGS) ; do \
22066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22067 done; \
22068 echo "Doing installcheck in make" ; \
22069 (cd $(HOST_SUBDIR)/make && \
22070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22072 "RANLIB=$${RANLIB}" \
22073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22074 installcheck) \
22075 || exit 1
22077 @endif make
22079 .PHONY: maybe-mostlyclean-make mostlyclean-make
22080 maybe-mostlyclean-make:
22081 @if make
22082 maybe-mostlyclean-make: mostlyclean-make
22084 mostlyclean-make:
22085 @: $(MAKE); $(unstage)
22086 @[ -f ./make/Makefile ] || exit 0; \
22087 r=`${PWD_COMMAND}`; export r; \
22088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22089 $(HOST_EXPORTS) \
22090 for flag in $(EXTRA_HOST_FLAGS) ; do \
22091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22092 done; \
22093 echo "Doing mostlyclean in make" ; \
22094 (cd $(HOST_SUBDIR)/make && \
22095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22097 "RANLIB=$${RANLIB}" \
22098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22099 mostlyclean) \
22100 || exit 1
22102 @endif make
22104 .PHONY: maybe-clean-make clean-make
22105 maybe-clean-make:
22106 @if make
22107 maybe-clean-make: clean-make
22109 clean-make:
22110 @: $(MAKE); $(unstage)
22111 @[ -f ./make/Makefile ] || exit 0; \
22112 r=`${PWD_COMMAND}`; export r; \
22113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22114 $(HOST_EXPORTS) \
22115 for flag in $(EXTRA_HOST_FLAGS) ; do \
22116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22117 done; \
22118 echo "Doing clean in make" ; \
22119 (cd $(HOST_SUBDIR)/make && \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22122 "RANLIB=$${RANLIB}" \
22123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22124 clean) \
22125 || exit 1
22127 @endif make
22129 .PHONY: maybe-distclean-make distclean-make
22130 maybe-distclean-make:
22131 @if make
22132 maybe-distclean-make: distclean-make
22134 distclean-make:
22135 @: $(MAKE); $(unstage)
22136 @[ -f ./make/Makefile ] || exit 0; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 $(HOST_EXPORTS) \
22140 for flag in $(EXTRA_HOST_FLAGS) ; do \
22141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22142 done; \
22143 echo "Doing distclean in make" ; \
22144 (cd $(HOST_SUBDIR)/make && \
22145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22147 "RANLIB=$${RANLIB}" \
22148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22149 distclean) \
22150 || exit 1
22152 @endif make
22154 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
22155 maybe-maintainer-clean-make:
22156 @if make
22157 maybe-maintainer-clean-make: maintainer-clean-make
22159 maintainer-clean-make:
22160 @: $(MAKE); $(unstage)
22161 @[ -f ./make/Makefile ] || exit 0; \
22162 r=`${PWD_COMMAND}`; export r; \
22163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22164 $(HOST_EXPORTS) \
22165 for flag in $(EXTRA_HOST_FLAGS) ; do \
22166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22167 done; \
22168 echo "Doing maintainer-clean in make" ; \
22169 (cd $(HOST_SUBDIR)/make && \
22170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22172 "RANLIB=$${RANLIB}" \
22173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22174 maintainer-clean) \
22175 || exit 1
22177 @endif make
22181 .PHONY: configure-mmalloc maybe-configure-mmalloc
22182 maybe-configure-mmalloc:
22183 @if gcc-bootstrap
22184 configure-mmalloc: stage_current
22185 @endif gcc-bootstrap
22186 @if mmalloc
22187 maybe-configure-mmalloc: configure-mmalloc
22188 configure-mmalloc:
22189 @: $(MAKE); $(unstage)
22190 @r=`${PWD_COMMAND}`; export r; \
22191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22192 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
22193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
22194 $(HOST_EXPORTS) \
22195 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
22196 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
22197 case $(srcdir) in \
22198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22199 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
22200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22201 esac; \
22202 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22203 libsrcdir="$$s/mmalloc"; \
22204 $(SHELL) $${libsrcdir}/configure \
22205 $(HOST_CONFIGARGS) $${srcdiroption} \
22206 || exit 1
22207 @endif mmalloc
22213 .PHONY: all-mmalloc maybe-all-mmalloc
22214 maybe-all-mmalloc:
22215 @if gcc-bootstrap
22216 all-mmalloc: stage_current
22217 @endif gcc-bootstrap
22218 @if mmalloc
22219 TARGET-mmalloc=all
22220 maybe-all-mmalloc: all-mmalloc
22221 all-mmalloc: configure-mmalloc
22222 @: $(MAKE); $(unstage)
22223 @r=`${PWD_COMMAND}`; export r; \
22224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22225 $(HOST_EXPORTS) \
22226 (cd $(HOST_SUBDIR)/mmalloc && \
22227 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22228 @endif mmalloc
22233 .PHONY: check-mmalloc maybe-check-mmalloc
22234 maybe-check-mmalloc:
22235 @if mmalloc
22236 maybe-check-mmalloc: check-mmalloc
22238 check-mmalloc:
22240 @endif mmalloc
22242 .PHONY: install-mmalloc maybe-install-mmalloc
22243 maybe-install-mmalloc:
22244 @if mmalloc
22245 maybe-install-mmalloc: install-mmalloc
22247 install-mmalloc: installdirs
22248 @: $(MAKE); $(unstage)
22249 @r=`${PWD_COMMAND}`; export r; \
22250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22251 $(HOST_EXPORTS) \
22252 (cd $(HOST_SUBDIR)/mmalloc && \
22253 $(MAKE) $(FLAGS_TO_PASS) install)
22255 @endif mmalloc
22257 # Other targets (info, dvi, pdf, etc.)
22259 .PHONY: maybe-info-mmalloc info-mmalloc
22260 maybe-info-mmalloc:
22261 @if mmalloc
22262 maybe-info-mmalloc: info-mmalloc
22264 info-mmalloc: \
22265 configure-mmalloc
22266 @: $(MAKE); $(unstage)
22267 @[ -f ./mmalloc/Makefile ] || exit 0; \
22268 r=`${PWD_COMMAND}`; export r; \
22269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270 $(HOST_EXPORTS) \
22271 for flag in $(EXTRA_HOST_FLAGS) ; do \
22272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22273 done; \
22274 echo "Doing info in mmalloc" ; \
22275 (cd $(HOST_SUBDIR)/mmalloc && \
22276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22278 "RANLIB=$${RANLIB}" \
22279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22280 info) \
22281 || exit 1
22283 @endif mmalloc
22285 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22286 maybe-dvi-mmalloc:
22287 @if mmalloc
22288 maybe-dvi-mmalloc: dvi-mmalloc
22290 dvi-mmalloc: \
22291 configure-mmalloc
22292 @: $(MAKE); $(unstage)
22293 @[ -f ./mmalloc/Makefile ] || exit 0; \
22294 r=`${PWD_COMMAND}`; export r; \
22295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 $(HOST_EXPORTS) \
22297 for flag in $(EXTRA_HOST_FLAGS) ; do \
22298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22299 done; \
22300 echo "Doing dvi in mmalloc" ; \
22301 (cd $(HOST_SUBDIR)/mmalloc && \
22302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22304 "RANLIB=$${RANLIB}" \
22305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22306 dvi) \
22307 || exit 1
22309 @endif mmalloc
22311 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22312 maybe-pdf-mmalloc:
22313 @if mmalloc
22314 maybe-pdf-mmalloc: pdf-mmalloc
22316 pdf-mmalloc: \
22317 configure-mmalloc
22318 @: $(MAKE); $(unstage)
22319 @[ -f ./mmalloc/Makefile ] || exit 0; \
22320 r=`${PWD_COMMAND}`; export r; \
22321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22322 $(HOST_EXPORTS) \
22323 for flag in $(EXTRA_HOST_FLAGS) ; do \
22324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22325 done; \
22326 echo "Doing pdf in mmalloc" ; \
22327 (cd $(HOST_SUBDIR)/mmalloc && \
22328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22330 "RANLIB=$${RANLIB}" \
22331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22332 pdf) \
22333 || exit 1
22335 @endif mmalloc
22337 .PHONY: maybe-html-mmalloc html-mmalloc
22338 maybe-html-mmalloc:
22339 @if mmalloc
22340 maybe-html-mmalloc: html-mmalloc
22342 html-mmalloc: \
22343 configure-mmalloc
22344 @: $(MAKE); $(unstage)
22345 @[ -f ./mmalloc/Makefile ] || exit 0; \
22346 r=`${PWD_COMMAND}`; export r; \
22347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22348 $(HOST_EXPORTS) \
22349 for flag in $(EXTRA_HOST_FLAGS) ; do \
22350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22351 done; \
22352 echo "Doing html in mmalloc" ; \
22353 (cd $(HOST_SUBDIR)/mmalloc && \
22354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22356 "RANLIB=$${RANLIB}" \
22357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22358 html) \
22359 || exit 1
22361 @endif mmalloc
22363 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22364 maybe-TAGS-mmalloc:
22365 @if mmalloc
22366 maybe-TAGS-mmalloc: TAGS-mmalloc
22368 TAGS-mmalloc: \
22369 configure-mmalloc
22370 @: $(MAKE); $(unstage)
22371 @[ -f ./mmalloc/Makefile ] || exit 0; \
22372 r=`${PWD_COMMAND}`; export r; \
22373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22374 $(HOST_EXPORTS) \
22375 for flag in $(EXTRA_HOST_FLAGS) ; do \
22376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22377 done; \
22378 echo "Doing TAGS in mmalloc" ; \
22379 (cd $(HOST_SUBDIR)/mmalloc && \
22380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22382 "RANLIB=$${RANLIB}" \
22383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22384 TAGS) \
22385 || exit 1
22387 @endif mmalloc
22389 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22390 maybe-install-info-mmalloc:
22391 @if mmalloc
22392 maybe-install-info-mmalloc: install-info-mmalloc
22394 install-info-mmalloc: \
22395 configure-mmalloc \
22396 info-mmalloc
22397 @: $(MAKE); $(unstage)
22398 @[ -f ./mmalloc/Makefile ] || exit 0; \
22399 r=`${PWD_COMMAND}`; export r; \
22400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22401 $(HOST_EXPORTS) \
22402 for flag in $(EXTRA_HOST_FLAGS) ; do \
22403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22404 done; \
22405 echo "Doing install-info in mmalloc" ; \
22406 (cd $(HOST_SUBDIR)/mmalloc && \
22407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22409 "RANLIB=$${RANLIB}" \
22410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22411 install-info) \
22412 || exit 1
22414 @endif mmalloc
22416 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22417 maybe-install-html-mmalloc:
22418 @if mmalloc
22419 maybe-install-html-mmalloc: install-html-mmalloc
22421 install-html-mmalloc: \
22422 configure-mmalloc \
22423 html-mmalloc
22424 @: $(MAKE); $(unstage)
22425 @[ -f ./mmalloc/Makefile ] || exit 0; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(HOST_EXPORTS) \
22429 for flag in $(EXTRA_HOST_FLAGS) ; do \
22430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22431 done; \
22432 echo "Doing install-html in mmalloc" ; \
22433 (cd $(HOST_SUBDIR)/mmalloc && \
22434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436 "RANLIB=$${RANLIB}" \
22437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22438 install-html) \
22439 || exit 1
22441 @endif mmalloc
22443 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22444 maybe-installcheck-mmalloc:
22445 @if mmalloc
22446 maybe-installcheck-mmalloc: installcheck-mmalloc
22448 installcheck-mmalloc: \
22449 configure-mmalloc
22450 @: $(MAKE); $(unstage)
22451 @[ -f ./mmalloc/Makefile ] || exit 0; \
22452 r=`${PWD_COMMAND}`; export r; \
22453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22454 $(HOST_EXPORTS) \
22455 for flag in $(EXTRA_HOST_FLAGS) ; do \
22456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22457 done; \
22458 echo "Doing installcheck in mmalloc" ; \
22459 (cd $(HOST_SUBDIR)/mmalloc && \
22460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22462 "RANLIB=$${RANLIB}" \
22463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22464 installcheck) \
22465 || exit 1
22467 @endif mmalloc
22469 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22470 maybe-mostlyclean-mmalloc:
22471 @if mmalloc
22472 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22474 mostlyclean-mmalloc:
22475 @: $(MAKE); $(unstage)
22476 @[ -f ./mmalloc/Makefile ] || exit 0; \
22477 r=`${PWD_COMMAND}`; export r; \
22478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22479 $(HOST_EXPORTS) \
22480 for flag in $(EXTRA_HOST_FLAGS) ; do \
22481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22482 done; \
22483 echo "Doing mostlyclean in mmalloc" ; \
22484 (cd $(HOST_SUBDIR)/mmalloc && \
22485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22487 "RANLIB=$${RANLIB}" \
22488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22489 mostlyclean) \
22490 || exit 1
22492 @endif mmalloc
22494 .PHONY: maybe-clean-mmalloc clean-mmalloc
22495 maybe-clean-mmalloc:
22496 @if mmalloc
22497 maybe-clean-mmalloc: clean-mmalloc
22499 clean-mmalloc:
22500 @: $(MAKE); $(unstage)
22501 @[ -f ./mmalloc/Makefile ] || exit 0; \
22502 r=`${PWD_COMMAND}`; export r; \
22503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22504 $(HOST_EXPORTS) \
22505 for flag in $(EXTRA_HOST_FLAGS) ; do \
22506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22507 done; \
22508 echo "Doing clean in mmalloc" ; \
22509 (cd $(HOST_SUBDIR)/mmalloc && \
22510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22512 "RANLIB=$${RANLIB}" \
22513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22514 clean) \
22515 || exit 1
22517 @endif mmalloc
22519 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22520 maybe-distclean-mmalloc:
22521 @if mmalloc
22522 maybe-distclean-mmalloc: distclean-mmalloc
22524 distclean-mmalloc:
22525 @: $(MAKE); $(unstage)
22526 @[ -f ./mmalloc/Makefile ] || exit 0; \
22527 r=`${PWD_COMMAND}`; export r; \
22528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22529 $(HOST_EXPORTS) \
22530 for flag in $(EXTRA_HOST_FLAGS) ; do \
22531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22532 done; \
22533 echo "Doing distclean in mmalloc" ; \
22534 (cd $(HOST_SUBDIR)/mmalloc && \
22535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22537 "RANLIB=$${RANLIB}" \
22538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22539 distclean) \
22540 || exit 1
22542 @endif mmalloc
22544 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22545 maybe-maintainer-clean-mmalloc:
22546 @if mmalloc
22547 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22549 maintainer-clean-mmalloc:
22550 @: $(MAKE); $(unstage)
22551 @[ -f ./mmalloc/Makefile ] || exit 0; \
22552 r=`${PWD_COMMAND}`; export r; \
22553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22554 $(HOST_EXPORTS) \
22555 for flag in $(EXTRA_HOST_FLAGS) ; do \
22556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22557 done; \
22558 echo "Doing maintainer-clean in mmalloc" ; \
22559 (cd $(HOST_SUBDIR)/mmalloc && \
22560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22562 "RANLIB=$${RANLIB}" \
22563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22564 maintainer-clean) \
22565 || exit 1
22567 @endif mmalloc
22571 .PHONY: configure-patch maybe-configure-patch
22572 maybe-configure-patch:
22573 @if gcc-bootstrap
22574 configure-patch: stage_current
22575 @endif gcc-bootstrap
22576 @if patch
22577 maybe-configure-patch: configure-patch
22578 configure-patch:
22579 @: $(MAKE); $(unstage)
22580 @r=`${PWD_COMMAND}`; export r; \
22581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22584 $(HOST_EXPORTS) \
22585 echo Configuring in $(HOST_SUBDIR)/patch; \
22586 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22587 case $(srcdir) in \
22588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22589 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22591 esac; \
22592 srcdiroption="--srcdir=$${topdir}/patch"; \
22593 libsrcdir="$$s/patch"; \
22594 $(SHELL) $${libsrcdir}/configure \
22595 $(HOST_CONFIGARGS) $${srcdiroption} \
22596 || exit 1
22597 @endif patch
22603 .PHONY: all-patch maybe-all-patch
22604 maybe-all-patch:
22605 @if gcc-bootstrap
22606 all-patch: stage_current
22607 @endif gcc-bootstrap
22608 @if patch
22609 TARGET-patch=all
22610 maybe-all-patch: all-patch
22611 all-patch: configure-patch
22612 @: $(MAKE); $(unstage)
22613 @r=`${PWD_COMMAND}`; export r; \
22614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22615 $(HOST_EXPORTS) \
22616 (cd $(HOST_SUBDIR)/patch && \
22617 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22618 @endif patch
22623 .PHONY: check-patch maybe-check-patch
22624 maybe-check-patch:
22625 @if patch
22626 maybe-check-patch: check-patch
22628 check-patch:
22629 @: $(MAKE); $(unstage)
22630 @r=`${PWD_COMMAND}`; export r; \
22631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22632 $(HOST_EXPORTS) \
22633 (cd $(HOST_SUBDIR)/patch && \
22634 $(MAKE) $(FLAGS_TO_PASS) check)
22636 @endif patch
22638 .PHONY: install-patch maybe-install-patch
22639 maybe-install-patch:
22640 @if patch
22641 maybe-install-patch: install-patch
22643 install-patch: installdirs
22644 @: $(MAKE); $(unstage)
22645 @r=`${PWD_COMMAND}`; export r; \
22646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22647 $(HOST_EXPORTS) \
22648 (cd $(HOST_SUBDIR)/patch && \
22649 $(MAKE) $(FLAGS_TO_PASS) install)
22651 @endif patch
22653 # Other targets (info, dvi, pdf, etc.)
22655 .PHONY: maybe-info-patch info-patch
22656 maybe-info-patch:
22657 @if patch
22658 maybe-info-patch: info-patch
22660 info-patch: \
22661 configure-patch
22662 @: $(MAKE); $(unstage)
22663 @[ -f ./patch/Makefile ] || exit 0; \
22664 r=`${PWD_COMMAND}`; export r; \
22665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22666 $(HOST_EXPORTS) \
22667 for flag in $(EXTRA_HOST_FLAGS) ; do \
22668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22669 done; \
22670 echo "Doing info in patch" ; \
22671 (cd $(HOST_SUBDIR)/patch && \
22672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22674 "RANLIB=$${RANLIB}" \
22675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22676 info) \
22677 || exit 1
22679 @endif patch
22681 .PHONY: maybe-dvi-patch dvi-patch
22682 maybe-dvi-patch:
22683 @if patch
22684 maybe-dvi-patch: dvi-patch
22686 dvi-patch: \
22687 configure-patch
22688 @: $(MAKE); $(unstage)
22689 @[ -f ./patch/Makefile ] || exit 0; \
22690 r=`${PWD_COMMAND}`; export r; \
22691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22692 $(HOST_EXPORTS) \
22693 for flag in $(EXTRA_HOST_FLAGS) ; do \
22694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22695 done; \
22696 echo "Doing dvi in patch" ; \
22697 (cd $(HOST_SUBDIR)/patch && \
22698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22700 "RANLIB=$${RANLIB}" \
22701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22702 dvi) \
22703 || exit 1
22705 @endif patch
22707 .PHONY: maybe-pdf-patch pdf-patch
22708 maybe-pdf-patch:
22709 @if patch
22710 maybe-pdf-patch: pdf-patch
22712 pdf-patch: \
22713 configure-patch
22714 @: $(MAKE); $(unstage)
22715 @[ -f ./patch/Makefile ] || exit 0; \
22716 r=`${PWD_COMMAND}`; export r; \
22717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22718 $(HOST_EXPORTS) \
22719 for flag in $(EXTRA_HOST_FLAGS) ; do \
22720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22721 done; \
22722 echo "Doing pdf in patch" ; \
22723 (cd $(HOST_SUBDIR)/patch && \
22724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22726 "RANLIB=$${RANLIB}" \
22727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22728 pdf) \
22729 || exit 1
22731 @endif patch
22733 .PHONY: maybe-html-patch html-patch
22734 maybe-html-patch:
22735 @if patch
22736 maybe-html-patch: html-patch
22738 html-patch: \
22739 configure-patch
22740 @: $(MAKE); $(unstage)
22741 @[ -f ./patch/Makefile ] || exit 0; \
22742 r=`${PWD_COMMAND}`; export r; \
22743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22744 $(HOST_EXPORTS) \
22745 for flag in $(EXTRA_HOST_FLAGS) ; do \
22746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22747 done; \
22748 echo "Doing html in patch" ; \
22749 (cd $(HOST_SUBDIR)/patch && \
22750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22752 "RANLIB=$${RANLIB}" \
22753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22754 html) \
22755 || exit 1
22757 @endif patch
22759 .PHONY: maybe-TAGS-patch TAGS-patch
22760 maybe-TAGS-patch:
22761 @if patch
22762 maybe-TAGS-patch: TAGS-patch
22764 TAGS-patch: \
22765 configure-patch
22766 @: $(MAKE); $(unstage)
22767 @[ -f ./patch/Makefile ] || exit 0; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) ; do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing TAGS in patch" ; \
22775 (cd $(HOST_SUBDIR)/patch && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 TAGS) \
22781 || exit 1
22783 @endif patch
22785 .PHONY: maybe-install-info-patch install-info-patch
22786 maybe-install-info-patch:
22787 @if patch
22788 maybe-install-info-patch: install-info-patch
22790 install-info-patch: \
22791 configure-patch \
22792 info-patch
22793 @: $(MAKE); $(unstage)
22794 @[ -f ./patch/Makefile ] || exit 0; \
22795 r=`${PWD_COMMAND}`; export r; \
22796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22797 $(HOST_EXPORTS) \
22798 for flag in $(EXTRA_HOST_FLAGS) ; do \
22799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22800 done; \
22801 echo "Doing install-info in patch" ; \
22802 (cd $(HOST_SUBDIR)/patch && \
22803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22805 "RANLIB=$${RANLIB}" \
22806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22807 install-info) \
22808 || exit 1
22810 @endif patch
22812 .PHONY: maybe-install-html-patch install-html-patch
22813 maybe-install-html-patch:
22814 @if patch
22815 maybe-install-html-patch: install-html-patch
22817 install-html-patch: \
22818 configure-patch \
22819 html-patch
22820 @: $(MAKE); $(unstage)
22821 @[ -f ./patch/Makefile ] || exit 0; \
22822 r=`${PWD_COMMAND}`; export r; \
22823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22824 $(HOST_EXPORTS) \
22825 for flag in $(EXTRA_HOST_FLAGS) ; do \
22826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22827 done; \
22828 echo "Doing install-html in patch" ; \
22829 (cd $(HOST_SUBDIR)/patch && \
22830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22832 "RANLIB=$${RANLIB}" \
22833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22834 install-html) \
22835 || exit 1
22837 @endif patch
22839 .PHONY: maybe-installcheck-patch installcheck-patch
22840 maybe-installcheck-patch:
22841 @if patch
22842 maybe-installcheck-patch: installcheck-patch
22844 installcheck-patch: \
22845 configure-patch
22846 @: $(MAKE); $(unstage)
22847 @[ -f ./patch/Makefile ] || exit 0; \
22848 r=`${PWD_COMMAND}`; export r; \
22849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22850 $(HOST_EXPORTS) \
22851 for flag in $(EXTRA_HOST_FLAGS) ; do \
22852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22853 done; \
22854 echo "Doing installcheck in patch" ; \
22855 (cd $(HOST_SUBDIR)/patch && \
22856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22858 "RANLIB=$${RANLIB}" \
22859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22860 installcheck) \
22861 || exit 1
22863 @endif patch
22865 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22866 maybe-mostlyclean-patch:
22867 @if patch
22868 maybe-mostlyclean-patch: mostlyclean-patch
22870 mostlyclean-patch:
22871 @: $(MAKE); $(unstage)
22872 @[ -f ./patch/Makefile ] || exit 0; \
22873 r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22875 $(HOST_EXPORTS) \
22876 for flag in $(EXTRA_HOST_FLAGS) ; do \
22877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22878 done; \
22879 echo "Doing mostlyclean in patch" ; \
22880 (cd $(HOST_SUBDIR)/patch && \
22881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22883 "RANLIB=$${RANLIB}" \
22884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22885 mostlyclean) \
22886 || exit 1
22888 @endif patch
22890 .PHONY: maybe-clean-patch clean-patch
22891 maybe-clean-patch:
22892 @if patch
22893 maybe-clean-patch: clean-patch
22895 clean-patch:
22896 @: $(MAKE); $(unstage)
22897 @[ -f ./patch/Makefile ] || exit 0; \
22898 r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22900 $(HOST_EXPORTS) \
22901 for flag in $(EXTRA_HOST_FLAGS) ; do \
22902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22903 done; \
22904 echo "Doing clean in patch" ; \
22905 (cd $(HOST_SUBDIR)/patch && \
22906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22908 "RANLIB=$${RANLIB}" \
22909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22910 clean) \
22911 || exit 1
22913 @endif patch
22915 .PHONY: maybe-distclean-patch distclean-patch
22916 maybe-distclean-patch:
22917 @if patch
22918 maybe-distclean-patch: distclean-patch
22920 distclean-patch:
22921 @: $(MAKE); $(unstage)
22922 @[ -f ./patch/Makefile ] || exit 0; \
22923 r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 $(HOST_EXPORTS) \
22926 for flag in $(EXTRA_HOST_FLAGS) ; do \
22927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22928 done; \
22929 echo "Doing distclean in patch" ; \
22930 (cd $(HOST_SUBDIR)/patch && \
22931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22933 "RANLIB=$${RANLIB}" \
22934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22935 distclean) \
22936 || exit 1
22938 @endif patch
22940 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22941 maybe-maintainer-clean-patch:
22942 @if patch
22943 maybe-maintainer-clean-patch: maintainer-clean-patch
22945 maintainer-clean-patch:
22946 @: $(MAKE); $(unstage)
22947 @[ -f ./patch/Makefile ] || exit 0; \
22948 r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 $(HOST_EXPORTS) \
22951 for flag in $(EXTRA_HOST_FLAGS) ; do \
22952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22953 done; \
22954 echo "Doing maintainer-clean in patch" ; \
22955 (cd $(HOST_SUBDIR)/patch && \
22956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22958 "RANLIB=$${RANLIB}" \
22959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22960 maintainer-clean) \
22961 || exit 1
22963 @endif patch
22967 .PHONY: configure-perl maybe-configure-perl
22968 maybe-configure-perl:
22969 @if gcc-bootstrap
22970 configure-perl: stage_current
22971 @endif gcc-bootstrap
22972 @if perl
22973 maybe-configure-perl: configure-perl
22974 configure-perl:
22975 @: $(MAKE); $(unstage)
22976 @r=`${PWD_COMMAND}`; export r; \
22977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22978 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22980 $(HOST_EXPORTS) \
22981 echo Configuring in $(HOST_SUBDIR)/perl; \
22982 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22983 case $(srcdir) in \
22984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22985 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
22986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22987 esac; \
22988 srcdiroption="--srcdir=$${topdir}/perl"; \
22989 libsrcdir="$$s/perl"; \
22990 $(SHELL) $${libsrcdir}/configure \
22991 $(HOST_CONFIGARGS) $${srcdiroption} \
22992 || exit 1
22993 @endif perl
22999 .PHONY: all-perl maybe-all-perl
23000 maybe-all-perl:
23001 @if gcc-bootstrap
23002 all-perl: stage_current
23003 @endif gcc-bootstrap
23004 @if perl
23005 TARGET-perl=all
23006 maybe-all-perl: all-perl
23007 all-perl: configure-perl
23008 @: $(MAKE); $(unstage)
23009 @r=`${PWD_COMMAND}`; export r; \
23010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23011 $(HOST_EXPORTS) \
23012 (cd $(HOST_SUBDIR)/perl && \
23013 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
23014 @endif perl
23019 .PHONY: check-perl maybe-check-perl
23020 maybe-check-perl:
23021 @if perl
23022 maybe-check-perl: check-perl
23024 check-perl:
23025 @: $(MAKE); $(unstage)
23026 @r=`${PWD_COMMAND}`; export r; \
23027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23028 $(HOST_EXPORTS) \
23029 (cd $(HOST_SUBDIR)/perl && \
23030 $(MAKE) $(FLAGS_TO_PASS) check)
23032 @endif perl
23034 .PHONY: install-perl maybe-install-perl
23035 maybe-install-perl:
23036 @if perl
23037 maybe-install-perl: install-perl
23039 install-perl: installdirs
23040 @: $(MAKE); $(unstage)
23041 @r=`${PWD_COMMAND}`; export r; \
23042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23043 $(HOST_EXPORTS) \
23044 (cd $(HOST_SUBDIR)/perl && \
23045 $(MAKE) $(FLAGS_TO_PASS) install)
23047 @endif perl
23049 # Other targets (info, dvi, pdf, etc.)
23051 .PHONY: maybe-info-perl info-perl
23052 maybe-info-perl:
23053 @if perl
23054 maybe-info-perl: info-perl
23056 info-perl: \
23057 configure-perl
23058 @: $(MAKE); $(unstage)
23059 @[ -f ./perl/Makefile ] || exit 0; \
23060 r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 $(HOST_EXPORTS) \
23063 for flag in $(EXTRA_HOST_FLAGS) ; do \
23064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23065 done; \
23066 echo "Doing info in perl" ; \
23067 (cd $(HOST_SUBDIR)/perl && \
23068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23070 "RANLIB=$${RANLIB}" \
23071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23072 info) \
23073 || exit 1
23075 @endif perl
23077 .PHONY: maybe-dvi-perl dvi-perl
23078 maybe-dvi-perl:
23079 @if perl
23080 maybe-dvi-perl: dvi-perl
23082 dvi-perl: \
23083 configure-perl
23084 @: $(MAKE); $(unstage)
23085 @[ -f ./perl/Makefile ] || exit 0; \
23086 r=`${PWD_COMMAND}`; export r; \
23087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23088 $(HOST_EXPORTS) \
23089 for flag in $(EXTRA_HOST_FLAGS) ; do \
23090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23091 done; \
23092 echo "Doing dvi in perl" ; \
23093 (cd $(HOST_SUBDIR)/perl && \
23094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23096 "RANLIB=$${RANLIB}" \
23097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23098 dvi) \
23099 || exit 1
23101 @endif perl
23103 .PHONY: maybe-pdf-perl pdf-perl
23104 maybe-pdf-perl:
23105 @if perl
23106 maybe-pdf-perl: pdf-perl
23108 pdf-perl: \
23109 configure-perl
23110 @: $(MAKE); $(unstage)
23111 @[ -f ./perl/Makefile ] || exit 0; \
23112 r=`${PWD_COMMAND}`; export r; \
23113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23114 $(HOST_EXPORTS) \
23115 for flag in $(EXTRA_HOST_FLAGS) ; do \
23116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23117 done; \
23118 echo "Doing pdf in perl" ; \
23119 (cd $(HOST_SUBDIR)/perl && \
23120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23122 "RANLIB=$${RANLIB}" \
23123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23124 pdf) \
23125 || exit 1
23127 @endif perl
23129 .PHONY: maybe-html-perl html-perl
23130 maybe-html-perl:
23131 @if perl
23132 maybe-html-perl: html-perl
23134 html-perl: \
23135 configure-perl
23136 @: $(MAKE); $(unstage)
23137 @[ -f ./perl/Makefile ] || exit 0; \
23138 r=`${PWD_COMMAND}`; export r; \
23139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23140 $(HOST_EXPORTS) \
23141 for flag in $(EXTRA_HOST_FLAGS) ; do \
23142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23143 done; \
23144 echo "Doing html in perl" ; \
23145 (cd $(HOST_SUBDIR)/perl && \
23146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23148 "RANLIB=$${RANLIB}" \
23149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23150 html) \
23151 || exit 1
23153 @endif perl
23155 .PHONY: maybe-TAGS-perl TAGS-perl
23156 maybe-TAGS-perl:
23157 @if perl
23158 maybe-TAGS-perl: TAGS-perl
23160 TAGS-perl: \
23161 configure-perl
23162 @: $(MAKE); $(unstage)
23163 @[ -f ./perl/Makefile ] || exit 0; \
23164 r=`${PWD_COMMAND}`; export r; \
23165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23166 $(HOST_EXPORTS) \
23167 for flag in $(EXTRA_HOST_FLAGS) ; do \
23168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23169 done; \
23170 echo "Doing TAGS in perl" ; \
23171 (cd $(HOST_SUBDIR)/perl && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23174 "RANLIB=$${RANLIB}" \
23175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23176 TAGS) \
23177 || exit 1
23179 @endif perl
23181 .PHONY: maybe-install-info-perl install-info-perl
23182 maybe-install-info-perl:
23183 @if perl
23184 maybe-install-info-perl: install-info-perl
23186 install-info-perl: \
23187 configure-perl \
23188 info-perl
23189 @: $(MAKE); $(unstage)
23190 @[ -f ./perl/Makefile ] || exit 0; \
23191 r=`${PWD_COMMAND}`; export r; \
23192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23193 $(HOST_EXPORTS) \
23194 for flag in $(EXTRA_HOST_FLAGS) ; do \
23195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23196 done; \
23197 echo "Doing install-info in perl" ; \
23198 (cd $(HOST_SUBDIR)/perl && \
23199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23201 "RANLIB=$${RANLIB}" \
23202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23203 install-info) \
23204 || exit 1
23206 @endif perl
23208 .PHONY: maybe-install-html-perl install-html-perl
23209 maybe-install-html-perl:
23210 @if perl
23211 maybe-install-html-perl: install-html-perl
23213 install-html-perl: \
23214 configure-perl \
23215 html-perl
23216 @: $(MAKE); $(unstage)
23217 @[ -f ./perl/Makefile ] || exit 0; \
23218 r=`${PWD_COMMAND}`; export r; \
23219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 $(HOST_EXPORTS) \
23221 for flag in $(EXTRA_HOST_FLAGS) ; do \
23222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23223 done; \
23224 echo "Doing install-html in perl" ; \
23225 (cd $(HOST_SUBDIR)/perl && \
23226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23228 "RANLIB=$${RANLIB}" \
23229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23230 install-html) \
23231 || exit 1
23233 @endif perl
23235 .PHONY: maybe-installcheck-perl installcheck-perl
23236 maybe-installcheck-perl:
23237 @if perl
23238 maybe-installcheck-perl: installcheck-perl
23240 installcheck-perl: \
23241 configure-perl
23242 @: $(MAKE); $(unstage)
23243 @[ -f ./perl/Makefile ] || exit 0; \
23244 r=`${PWD_COMMAND}`; export r; \
23245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23246 $(HOST_EXPORTS) \
23247 for flag in $(EXTRA_HOST_FLAGS) ; do \
23248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23249 done; \
23250 echo "Doing installcheck in perl" ; \
23251 (cd $(HOST_SUBDIR)/perl && \
23252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23254 "RANLIB=$${RANLIB}" \
23255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23256 installcheck) \
23257 || exit 1
23259 @endif perl
23261 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23262 maybe-mostlyclean-perl:
23263 @if perl
23264 maybe-mostlyclean-perl: mostlyclean-perl
23266 mostlyclean-perl:
23267 @: $(MAKE); $(unstage)
23268 @[ -f ./perl/Makefile ] || exit 0; \
23269 r=`${PWD_COMMAND}`; export r; \
23270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23271 $(HOST_EXPORTS) \
23272 for flag in $(EXTRA_HOST_FLAGS) ; do \
23273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23274 done; \
23275 echo "Doing mostlyclean in perl" ; \
23276 (cd $(HOST_SUBDIR)/perl && \
23277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23279 "RANLIB=$${RANLIB}" \
23280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23281 mostlyclean) \
23282 || exit 1
23284 @endif perl
23286 .PHONY: maybe-clean-perl clean-perl
23287 maybe-clean-perl:
23288 @if perl
23289 maybe-clean-perl: clean-perl
23291 clean-perl:
23292 @: $(MAKE); $(unstage)
23293 @[ -f ./perl/Makefile ] || exit 0; \
23294 r=`${PWD_COMMAND}`; export r; \
23295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23296 $(HOST_EXPORTS) \
23297 for flag in $(EXTRA_HOST_FLAGS) ; do \
23298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23299 done; \
23300 echo "Doing clean in perl" ; \
23301 (cd $(HOST_SUBDIR)/perl && \
23302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23304 "RANLIB=$${RANLIB}" \
23305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23306 clean) \
23307 || exit 1
23309 @endif perl
23311 .PHONY: maybe-distclean-perl distclean-perl
23312 maybe-distclean-perl:
23313 @if perl
23314 maybe-distclean-perl: distclean-perl
23316 distclean-perl:
23317 @: $(MAKE); $(unstage)
23318 @[ -f ./perl/Makefile ] || exit 0; \
23319 r=`${PWD_COMMAND}`; export r; \
23320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23321 $(HOST_EXPORTS) \
23322 for flag in $(EXTRA_HOST_FLAGS) ; do \
23323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23324 done; \
23325 echo "Doing distclean in perl" ; \
23326 (cd $(HOST_SUBDIR)/perl && \
23327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23329 "RANLIB=$${RANLIB}" \
23330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23331 distclean) \
23332 || exit 1
23334 @endif perl
23336 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23337 maybe-maintainer-clean-perl:
23338 @if perl
23339 maybe-maintainer-clean-perl: maintainer-clean-perl
23341 maintainer-clean-perl:
23342 @: $(MAKE); $(unstage)
23343 @[ -f ./perl/Makefile ] || exit 0; \
23344 r=`${PWD_COMMAND}`; export r; \
23345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23346 $(HOST_EXPORTS) \
23347 for flag in $(EXTRA_HOST_FLAGS) ; do \
23348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23349 done; \
23350 echo "Doing maintainer-clean in perl" ; \
23351 (cd $(HOST_SUBDIR)/perl && \
23352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23354 "RANLIB=$${RANLIB}" \
23355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23356 maintainer-clean) \
23357 || exit 1
23359 @endif perl
23363 .PHONY: configure-prms maybe-configure-prms
23364 maybe-configure-prms:
23365 @if gcc-bootstrap
23366 configure-prms: stage_current
23367 @endif gcc-bootstrap
23368 @if prms
23369 maybe-configure-prms: configure-prms
23370 configure-prms:
23371 @: $(MAKE); $(unstage)
23372 @r=`${PWD_COMMAND}`; export r; \
23373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23374 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23376 $(HOST_EXPORTS) \
23377 echo Configuring in $(HOST_SUBDIR)/prms; \
23378 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23379 case $(srcdir) in \
23380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23381 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23383 esac; \
23384 srcdiroption="--srcdir=$${topdir}/prms"; \
23385 libsrcdir="$$s/prms"; \
23386 $(SHELL) $${libsrcdir}/configure \
23387 $(HOST_CONFIGARGS) $${srcdiroption} \
23388 || exit 1
23389 @endif prms
23395 .PHONY: all-prms maybe-all-prms
23396 maybe-all-prms:
23397 @if gcc-bootstrap
23398 all-prms: stage_current
23399 @endif gcc-bootstrap
23400 @if prms
23401 TARGET-prms=all
23402 maybe-all-prms: all-prms
23403 all-prms: configure-prms
23404 @: $(MAKE); $(unstage)
23405 @r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 $(HOST_EXPORTS) \
23408 (cd $(HOST_SUBDIR)/prms && \
23409 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23410 @endif prms
23415 .PHONY: check-prms maybe-check-prms
23416 maybe-check-prms:
23417 @if prms
23418 maybe-check-prms: check-prms
23420 check-prms:
23421 @: $(MAKE); $(unstage)
23422 @r=`${PWD_COMMAND}`; export r; \
23423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23424 $(HOST_EXPORTS) \
23425 (cd $(HOST_SUBDIR)/prms && \
23426 $(MAKE) $(FLAGS_TO_PASS) check)
23428 @endif prms
23430 .PHONY: install-prms maybe-install-prms
23431 maybe-install-prms:
23432 @if prms
23433 maybe-install-prms: install-prms
23435 install-prms: installdirs
23436 @: $(MAKE); $(unstage)
23437 @r=`${PWD_COMMAND}`; export r; \
23438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 $(HOST_EXPORTS) \
23440 (cd $(HOST_SUBDIR)/prms && \
23441 $(MAKE) $(FLAGS_TO_PASS) install)
23443 @endif prms
23445 # Other targets (info, dvi, pdf, etc.)
23447 .PHONY: maybe-info-prms info-prms
23448 maybe-info-prms:
23449 @if prms
23450 maybe-info-prms: info-prms
23452 info-prms: \
23453 configure-prms
23454 @: $(MAKE); $(unstage)
23455 @[ -f ./prms/Makefile ] || exit 0; \
23456 r=`${PWD_COMMAND}`; export r; \
23457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23458 $(HOST_EXPORTS) \
23459 for flag in $(EXTRA_HOST_FLAGS) ; do \
23460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23461 done; \
23462 echo "Doing info in prms" ; \
23463 (cd $(HOST_SUBDIR)/prms && \
23464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23466 "RANLIB=$${RANLIB}" \
23467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23468 info) \
23469 || exit 1
23471 @endif prms
23473 .PHONY: maybe-dvi-prms dvi-prms
23474 maybe-dvi-prms:
23475 @if prms
23476 maybe-dvi-prms: dvi-prms
23478 dvi-prms: \
23479 configure-prms
23480 @: $(MAKE); $(unstage)
23481 @[ -f ./prms/Makefile ] || exit 0; \
23482 r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 $(HOST_EXPORTS) \
23485 for flag in $(EXTRA_HOST_FLAGS) ; do \
23486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23487 done; \
23488 echo "Doing dvi in prms" ; \
23489 (cd $(HOST_SUBDIR)/prms && \
23490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23492 "RANLIB=$${RANLIB}" \
23493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23494 dvi) \
23495 || exit 1
23497 @endif prms
23499 .PHONY: maybe-pdf-prms pdf-prms
23500 maybe-pdf-prms:
23501 @if prms
23502 maybe-pdf-prms: pdf-prms
23504 pdf-prms: \
23505 configure-prms
23506 @: $(MAKE); $(unstage)
23507 @[ -f ./prms/Makefile ] || exit 0; \
23508 r=`${PWD_COMMAND}`; export r; \
23509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23510 $(HOST_EXPORTS) \
23511 for flag in $(EXTRA_HOST_FLAGS) ; do \
23512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23513 done; \
23514 echo "Doing pdf in prms" ; \
23515 (cd $(HOST_SUBDIR)/prms && \
23516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23518 "RANLIB=$${RANLIB}" \
23519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23520 pdf) \
23521 || exit 1
23523 @endif prms
23525 .PHONY: maybe-html-prms html-prms
23526 maybe-html-prms:
23527 @if prms
23528 maybe-html-prms: html-prms
23530 html-prms: \
23531 configure-prms
23532 @: $(MAKE); $(unstage)
23533 @[ -f ./prms/Makefile ] || exit 0; \
23534 r=`${PWD_COMMAND}`; export r; \
23535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23536 $(HOST_EXPORTS) \
23537 for flag in $(EXTRA_HOST_FLAGS) ; do \
23538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23539 done; \
23540 echo "Doing html in prms" ; \
23541 (cd $(HOST_SUBDIR)/prms && \
23542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23544 "RANLIB=$${RANLIB}" \
23545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23546 html) \
23547 || exit 1
23549 @endif prms
23551 .PHONY: maybe-TAGS-prms TAGS-prms
23552 maybe-TAGS-prms:
23553 @if prms
23554 maybe-TAGS-prms: TAGS-prms
23556 TAGS-prms: \
23557 configure-prms
23558 @: $(MAKE); $(unstage)
23559 @[ -f ./prms/Makefile ] || exit 0; \
23560 r=`${PWD_COMMAND}`; export r; \
23561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 $(HOST_EXPORTS) \
23563 for flag in $(EXTRA_HOST_FLAGS) ; do \
23564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23565 done; \
23566 echo "Doing TAGS in prms" ; \
23567 (cd $(HOST_SUBDIR)/prms && \
23568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23570 "RANLIB=$${RANLIB}" \
23571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23572 TAGS) \
23573 || exit 1
23575 @endif prms
23577 .PHONY: maybe-install-info-prms install-info-prms
23578 maybe-install-info-prms:
23579 @if prms
23580 maybe-install-info-prms: install-info-prms
23582 install-info-prms: \
23583 configure-prms \
23584 info-prms
23585 @: $(MAKE); $(unstage)
23586 @[ -f ./prms/Makefile ] || exit 0; \
23587 r=`${PWD_COMMAND}`; export r; \
23588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23589 $(HOST_EXPORTS) \
23590 for flag in $(EXTRA_HOST_FLAGS) ; do \
23591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23592 done; \
23593 echo "Doing install-info in prms" ; \
23594 (cd $(HOST_SUBDIR)/prms && \
23595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23597 "RANLIB=$${RANLIB}" \
23598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23599 install-info) \
23600 || exit 1
23602 @endif prms
23604 .PHONY: maybe-install-html-prms install-html-prms
23605 maybe-install-html-prms:
23606 @if prms
23607 maybe-install-html-prms: install-html-prms
23609 install-html-prms: \
23610 configure-prms \
23611 html-prms
23612 @: $(MAKE); $(unstage)
23613 @[ -f ./prms/Makefile ] || exit 0; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 for flag in $(EXTRA_HOST_FLAGS) ; do \
23618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23619 done; \
23620 echo "Doing install-html in prms" ; \
23621 (cd $(HOST_SUBDIR)/prms && \
23622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23624 "RANLIB=$${RANLIB}" \
23625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23626 install-html) \
23627 || exit 1
23629 @endif prms
23631 .PHONY: maybe-installcheck-prms installcheck-prms
23632 maybe-installcheck-prms:
23633 @if prms
23634 maybe-installcheck-prms: installcheck-prms
23636 installcheck-prms: \
23637 configure-prms
23638 @: $(MAKE); $(unstage)
23639 @[ -f ./prms/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23645 done; \
23646 echo "Doing installcheck in prms" ; \
23647 (cd $(HOST_SUBDIR)/prms && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23652 installcheck) \
23653 || exit 1
23655 @endif prms
23657 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23658 maybe-mostlyclean-prms:
23659 @if prms
23660 maybe-mostlyclean-prms: mostlyclean-prms
23662 mostlyclean-prms:
23663 @: $(MAKE); $(unstage)
23664 @[ -f ./prms/Makefile ] || exit 0; \
23665 r=`${PWD_COMMAND}`; export r; \
23666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23667 $(HOST_EXPORTS) \
23668 for flag in $(EXTRA_HOST_FLAGS) ; do \
23669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23670 done; \
23671 echo "Doing mostlyclean in prms" ; \
23672 (cd $(HOST_SUBDIR)/prms && \
23673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23675 "RANLIB=$${RANLIB}" \
23676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23677 mostlyclean) \
23678 || exit 1
23680 @endif prms
23682 .PHONY: maybe-clean-prms clean-prms
23683 maybe-clean-prms:
23684 @if prms
23685 maybe-clean-prms: clean-prms
23687 clean-prms:
23688 @: $(MAKE); $(unstage)
23689 @[ -f ./prms/Makefile ] || exit 0; \
23690 r=`${PWD_COMMAND}`; export r; \
23691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23692 $(HOST_EXPORTS) \
23693 for flag in $(EXTRA_HOST_FLAGS) ; do \
23694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23695 done; \
23696 echo "Doing clean in prms" ; \
23697 (cd $(HOST_SUBDIR)/prms && \
23698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23700 "RANLIB=$${RANLIB}" \
23701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23702 clean) \
23703 || exit 1
23705 @endif prms
23707 .PHONY: maybe-distclean-prms distclean-prms
23708 maybe-distclean-prms:
23709 @if prms
23710 maybe-distclean-prms: distclean-prms
23712 distclean-prms:
23713 @: $(MAKE); $(unstage)
23714 @[ -f ./prms/Makefile ] || exit 0; \
23715 r=`${PWD_COMMAND}`; export r; \
23716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23717 $(HOST_EXPORTS) \
23718 for flag in $(EXTRA_HOST_FLAGS) ; do \
23719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23720 done; \
23721 echo "Doing distclean in prms" ; \
23722 (cd $(HOST_SUBDIR)/prms && \
23723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23725 "RANLIB=$${RANLIB}" \
23726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23727 distclean) \
23728 || exit 1
23730 @endif prms
23732 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23733 maybe-maintainer-clean-prms:
23734 @if prms
23735 maybe-maintainer-clean-prms: maintainer-clean-prms
23737 maintainer-clean-prms:
23738 @: $(MAKE); $(unstage)
23739 @[ -f ./prms/Makefile ] || exit 0; \
23740 r=`${PWD_COMMAND}`; export r; \
23741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23742 $(HOST_EXPORTS) \
23743 for flag in $(EXTRA_HOST_FLAGS) ; do \
23744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23745 done; \
23746 echo "Doing maintainer-clean in prms" ; \
23747 (cd $(HOST_SUBDIR)/prms && \
23748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23750 "RANLIB=$${RANLIB}" \
23751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23752 maintainer-clean) \
23753 || exit 1
23755 @endif prms
23759 .PHONY: configure-rcs maybe-configure-rcs
23760 maybe-configure-rcs:
23761 @if gcc-bootstrap
23762 configure-rcs: stage_current
23763 @endif gcc-bootstrap
23764 @if rcs
23765 maybe-configure-rcs: configure-rcs
23766 configure-rcs:
23767 @: $(MAKE); $(unstage)
23768 @r=`${PWD_COMMAND}`; export r; \
23769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23770 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23772 $(HOST_EXPORTS) \
23773 echo Configuring in $(HOST_SUBDIR)/rcs; \
23774 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23775 case $(srcdir) in \
23776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23777 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23779 esac; \
23780 srcdiroption="--srcdir=$${topdir}/rcs"; \
23781 libsrcdir="$$s/rcs"; \
23782 $(SHELL) $${libsrcdir}/configure \
23783 $(HOST_CONFIGARGS) $${srcdiroption} \
23784 || exit 1
23785 @endif rcs
23791 .PHONY: all-rcs maybe-all-rcs
23792 maybe-all-rcs:
23793 @if gcc-bootstrap
23794 all-rcs: stage_current
23795 @endif gcc-bootstrap
23796 @if rcs
23797 TARGET-rcs=all
23798 maybe-all-rcs: all-rcs
23799 all-rcs: configure-rcs
23800 @: $(MAKE); $(unstage)
23801 @r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(HOST_EXPORTS) \
23804 (cd $(HOST_SUBDIR)/rcs && \
23805 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23806 @endif rcs
23811 .PHONY: check-rcs maybe-check-rcs
23812 maybe-check-rcs:
23813 @if rcs
23814 maybe-check-rcs: check-rcs
23816 check-rcs:
23817 @: $(MAKE); $(unstage)
23818 @r=`${PWD_COMMAND}`; export r; \
23819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23820 $(HOST_EXPORTS) \
23821 (cd $(HOST_SUBDIR)/rcs && \
23822 $(MAKE) $(FLAGS_TO_PASS) check)
23824 @endif rcs
23826 .PHONY: install-rcs maybe-install-rcs
23827 maybe-install-rcs:
23828 @if rcs
23829 maybe-install-rcs: install-rcs
23831 install-rcs: installdirs
23832 @: $(MAKE); $(unstage)
23833 @r=`${PWD_COMMAND}`; export r; \
23834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23835 $(HOST_EXPORTS) \
23836 (cd $(HOST_SUBDIR)/rcs && \
23837 $(MAKE) $(FLAGS_TO_PASS) install)
23839 @endif rcs
23841 # Other targets (info, dvi, pdf, etc.)
23843 .PHONY: maybe-info-rcs info-rcs
23844 maybe-info-rcs:
23845 @if rcs
23846 maybe-info-rcs: info-rcs
23848 info-rcs: \
23849 configure-rcs
23850 @: $(MAKE); $(unstage)
23851 @[ -f ./rcs/Makefile ] || exit 0; \
23852 r=`${PWD_COMMAND}`; export r; \
23853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23854 $(HOST_EXPORTS) \
23855 for flag in $(EXTRA_HOST_FLAGS) ; do \
23856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23857 done; \
23858 echo "Doing info in rcs" ; \
23859 (cd $(HOST_SUBDIR)/rcs && \
23860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23862 "RANLIB=$${RANLIB}" \
23863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23864 info) \
23865 || exit 1
23867 @endif rcs
23869 .PHONY: maybe-dvi-rcs dvi-rcs
23870 maybe-dvi-rcs:
23871 @if rcs
23872 maybe-dvi-rcs: dvi-rcs
23874 dvi-rcs: \
23875 configure-rcs
23876 @: $(MAKE); $(unstage)
23877 @[ -f ./rcs/Makefile ] || exit 0; \
23878 r=`${PWD_COMMAND}`; export r; \
23879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23880 $(HOST_EXPORTS) \
23881 for flag in $(EXTRA_HOST_FLAGS) ; do \
23882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23883 done; \
23884 echo "Doing dvi in rcs" ; \
23885 (cd $(HOST_SUBDIR)/rcs && \
23886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23888 "RANLIB=$${RANLIB}" \
23889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23890 dvi) \
23891 || exit 1
23893 @endif rcs
23895 .PHONY: maybe-pdf-rcs pdf-rcs
23896 maybe-pdf-rcs:
23897 @if rcs
23898 maybe-pdf-rcs: pdf-rcs
23900 pdf-rcs: \
23901 configure-rcs
23902 @: $(MAKE); $(unstage)
23903 @[ -f ./rcs/Makefile ] || exit 0; \
23904 r=`${PWD_COMMAND}`; export r; \
23905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23906 $(HOST_EXPORTS) \
23907 for flag in $(EXTRA_HOST_FLAGS) ; do \
23908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23909 done; \
23910 echo "Doing pdf in rcs" ; \
23911 (cd $(HOST_SUBDIR)/rcs && \
23912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23914 "RANLIB=$${RANLIB}" \
23915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23916 pdf) \
23917 || exit 1
23919 @endif rcs
23921 .PHONY: maybe-html-rcs html-rcs
23922 maybe-html-rcs:
23923 @if rcs
23924 maybe-html-rcs: html-rcs
23926 html-rcs: \
23927 configure-rcs
23928 @: $(MAKE); $(unstage)
23929 @[ -f ./rcs/Makefile ] || exit 0; \
23930 r=`${PWD_COMMAND}`; export r; \
23931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23932 $(HOST_EXPORTS) \
23933 for flag in $(EXTRA_HOST_FLAGS) ; do \
23934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23935 done; \
23936 echo "Doing html in rcs" ; \
23937 (cd $(HOST_SUBDIR)/rcs && \
23938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23940 "RANLIB=$${RANLIB}" \
23941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23942 html) \
23943 || exit 1
23945 @endif rcs
23947 .PHONY: maybe-TAGS-rcs TAGS-rcs
23948 maybe-TAGS-rcs:
23949 @if rcs
23950 maybe-TAGS-rcs: TAGS-rcs
23952 TAGS-rcs: \
23953 configure-rcs
23954 @: $(MAKE); $(unstage)
23955 @[ -f ./rcs/Makefile ] || exit 0; \
23956 r=`${PWD_COMMAND}`; export r; \
23957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23958 $(HOST_EXPORTS) \
23959 for flag in $(EXTRA_HOST_FLAGS) ; do \
23960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23961 done; \
23962 echo "Doing TAGS in rcs" ; \
23963 (cd $(HOST_SUBDIR)/rcs && \
23964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23966 "RANLIB=$${RANLIB}" \
23967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23968 TAGS) \
23969 || exit 1
23971 @endif rcs
23973 .PHONY: maybe-install-info-rcs install-info-rcs
23974 maybe-install-info-rcs:
23975 @if rcs
23976 maybe-install-info-rcs: install-info-rcs
23978 install-info-rcs: \
23979 configure-rcs \
23980 info-rcs
23981 @: $(MAKE); $(unstage)
23982 @[ -f ./rcs/Makefile ] || exit 0; \
23983 r=`${PWD_COMMAND}`; export r; \
23984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23985 $(HOST_EXPORTS) \
23986 for flag in $(EXTRA_HOST_FLAGS) ; do \
23987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23988 done; \
23989 echo "Doing install-info in rcs" ; \
23990 (cd $(HOST_SUBDIR)/rcs && \
23991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23993 "RANLIB=$${RANLIB}" \
23994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23995 install-info) \
23996 || exit 1
23998 @endif rcs
24000 .PHONY: maybe-install-html-rcs install-html-rcs
24001 maybe-install-html-rcs:
24002 @if rcs
24003 maybe-install-html-rcs: install-html-rcs
24005 install-html-rcs: \
24006 configure-rcs \
24007 html-rcs
24008 @: $(MAKE); $(unstage)
24009 @[ -f ./rcs/Makefile ] || exit 0; \
24010 r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 $(HOST_EXPORTS) \
24013 for flag in $(EXTRA_HOST_FLAGS) ; do \
24014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24015 done; \
24016 echo "Doing install-html in rcs" ; \
24017 (cd $(HOST_SUBDIR)/rcs && \
24018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24020 "RANLIB=$${RANLIB}" \
24021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24022 install-html) \
24023 || exit 1
24025 @endif rcs
24027 .PHONY: maybe-installcheck-rcs installcheck-rcs
24028 maybe-installcheck-rcs:
24029 @if rcs
24030 maybe-installcheck-rcs: installcheck-rcs
24032 installcheck-rcs: \
24033 configure-rcs
24034 @: $(MAKE); $(unstage)
24035 @[ -f ./rcs/Makefile ] || exit 0; \
24036 r=`${PWD_COMMAND}`; export r; \
24037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24038 $(HOST_EXPORTS) \
24039 for flag in $(EXTRA_HOST_FLAGS) ; do \
24040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24041 done; \
24042 echo "Doing installcheck in rcs" ; \
24043 (cd $(HOST_SUBDIR)/rcs && \
24044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24046 "RANLIB=$${RANLIB}" \
24047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24048 installcheck) \
24049 || exit 1
24051 @endif rcs
24053 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
24054 maybe-mostlyclean-rcs:
24055 @if rcs
24056 maybe-mostlyclean-rcs: mostlyclean-rcs
24058 mostlyclean-rcs:
24059 @: $(MAKE); $(unstage)
24060 @[ -f ./rcs/Makefile ] || exit 0; \
24061 r=`${PWD_COMMAND}`; export r; \
24062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24063 $(HOST_EXPORTS) \
24064 for flag in $(EXTRA_HOST_FLAGS) ; do \
24065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24066 done; \
24067 echo "Doing mostlyclean in rcs" ; \
24068 (cd $(HOST_SUBDIR)/rcs && \
24069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24071 "RANLIB=$${RANLIB}" \
24072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24073 mostlyclean) \
24074 || exit 1
24076 @endif rcs
24078 .PHONY: maybe-clean-rcs clean-rcs
24079 maybe-clean-rcs:
24080 @if rcs
24081 maybe-clean-rcs: clean-rcs
24083 clean-rcs:
24084 @: $(MAKE); $(unstage)
24085 @[ -f ./rcs/Makefile ] || exit 0; \
24086 r=`${PWD_COMMAND}`; export r; \
24087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24088 $(HOST_EXPORTS) \
24089 for flag in $(EXTRA_HOST_FLAGS) ; do \
24090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24091 done; \
24092 echo "Doing clean in rcs" ; \
24093 (cd $(HOST_SUBDIR)/rcs && \
24094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096 "RANLIB=$${RANLIB}" \
24097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24098 clean) \
24099 || exit 1
24101 @endif rcs
24103 .PHONY: maybe-distclean-rcs distclean-rcs
24104 maybe-distclean-rcs:
24105 @if rcs
24106 maybe-distclean-rcs: distclean-rcs
24108 distclean-rcs:
24109 @: $(MAKE); $(unstage)
24110 @[ -f ./rcs/Makefile ] || exit 0; \
24111 r=`${PWD_COMMAND}`; export r; \
24112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113 $(HOST_EXPORTS) \
24114 for flag in $(EXTRA_HOST_FLAGS) ; do \
24115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24116 done; \
24117 echo "Doing distclean in rcs" ; \
24118 (cd $(HOST_SUBDIR)/rcs && \
24119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24121 "RANLIB=$${RANLIB}" \
24122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24123 distclean) \
24124 || exit 1
24126 @endif rcs
24128 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
24129 maybe-maintainer-clean-rcs:
24130 @if rcs
24131 maybe-maintainer-clean-rcs: maintainer-clean-rcs
24133 maintainer-clean-rcs:
24134 @: $(MAKE); $(unstage)
24135 @[ -f ./rcs/Makefile ] || exit 0; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 $(HOST_EXPORTS) \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 done; \
24142 echo "Doing maintainer-clean in rcs" ; \
24143 (cd $(HOST_SUBDIR)/rcs && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24148 maintainer-clean) \
24149 || exit 1
24151 @endif rcs
24155 .PHONY: configure-readline maybe-configure-readline
24156 maybe-configure-readline:
24157 @if gcc-bootstrap
24158 configure-readline: stage_current
24159 @endif gcc-bootstrap
24160 @if readline
24161 maybe-configure-readline: configure-readline
24162 configure-readline:
24163 @: $(MAKE); $(unstage)
24164 @r=`${PWD_COMMAND}`; export r; \
24165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24166 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24168 $(HOST_EXPORTS) \
24169 echo Configuring in $(HOST_SUBDIR)/readline; \
24170 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24171 case $(srcdir) in \
24172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24173 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24175 esac; \
24176 srcdiroption="--srcdir=$${topdir}/readline"; \
24177 libsrcdir="$$s/readline"; \
24178 $(SHELL) $${libsrcdir}/configure \
24179 $(HOST_CONFIGARGS) $${srcdiroption} \
24180 || exit 1
24181 @endif readline
24187 .PHONY: all-readline maybe-all-readline
24188 maybe-all-readline:
24189 @if gcc-bootstrap
24190 all-readline: stage_current
24191 @endif gcc-bootstrap
24192 @if readline
24193 TARGET-readline=all
24194 maybe-all-readline: all-readline
24195 all-readline: configure-readline
24196 @: $(MAKE); $(unstage)
24197 @r=`${PWD_COMMAND}`; export r; \
24198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24199 $(HOST_EXPORTS) \
24200 (cd $(HOST_SUBDIR)/readline && \
24201 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24202 @endif readline
24207 .PHONY: check-readline maybe-check-readline
24208 maybe-check-readline:
24209 @if readline
24210 maybe-check-readline: check-readline
24212 check-readline:
24213 @: $(MAKE); $(unstage)
24214 @r=`${PWD_COMMAND}`; export r; \
24215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24216 $(HOST_EXPORTS) \
24217 (cd $(HOST_SUBDIR)/readline && \
24218 $(MAKE) $(FLAGS_TO_PASS) check)
24220 @endif readline
24222 .PHONY: install-readline maybe-install-readline
24223 maybe-install-readline:
24224 @if readline
24225 maybe-install-readline: install-readline
24227 install-readline: installdirs
24228 @: $(MAKE); $(unstage)
24229 @r=`${PWD_COMMAND}`; export r; \
24230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24231 $(HOST_EXPORTS) \
24232 (cd $(HOST_SUBDIR)/readline && \
24233 $(MAKE) $(FLAGS_TO_PASS) install)
24235 @endif readline
24237 # Other targets (info, dvi, pdf, etc.)
24239 .PHONY: maybe-info-readline info-readline
24240 maybe-info-readline:
24241 @if readline
24242 maybe-info-readline: info-readline
24244 info-readline: \
24245 configure-readline
24246 @: $(MAKE); $(unstage)
24247 @[ -f ./readline/Makefile ] || exit 0; \
24248 r=`${PWD_COMMAND}`; export r; \
24249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24250 $(HOST_EXPORTS) \
24251 for flag in $(EXTRA_HOST_FLAGS) ; do \
24252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24253 done; \
24254 echo "Doing info in readline" ; \
24255 (cd $(HOST_SUBDIR)/readline && \
24256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24258 "RANLIB=$${RANLIB}" \
24259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24260 info) \
24261 || exit 1
24263 @endif readline
24265 .PHONY: maybe-dvi-readline dvi-readline
24266 maybe-dvi-readline:
24267 @if readline
24268 maybe-dvi-readline: dvi-readline
24270 dvi-readline: \
24271 configure-readline
24272 @: $(MAKE); $(unstage)
24273 @[ -f ./readline/Makefile ] || exit 0; \
24274 r=`${PWD_COMMAND}`; export r; \
24275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24276 $(HOST_EXPORTS) \
24277 for flag in $(EXTRA_HOST_FLAGS) ; do \
24278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24279 done; \
24280 echo "Doing dvi in readline" ; \
24281 (cd $(HOST_SUBDIR)/readline && \
24282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24284 "RANLIB=$${RANLIB}" \
24285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24286 dvi) \
24287 || exit 1
24289 @endif readline
24291 .PHONY: maybe-pdf-readline pdf-readline
24292 maybe-pdf-readline:
24293 @if readline
24294 maybe-pdf-readline: pdf-readline
24296 pdf-readline: \
24297 configure-readline
24298 @: $(MAKE); $(unstage)
24299 @[ -f ./readline/Makefile ] || exit 0; \
24300 r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 $(HOST_EXPORTS) \
24303 for flag in $(EXTRA_HOST_FLAGS) ; do \
24304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24305 done; \
24306 echo "Doing pdf in readline" ; \
24307 (cd $(HOST_SUBDIR)/readline && \
24308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24310 "RANLIB=$${RANLIB}" \
24311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24312 pdf) \
24313 || exit 1
24315 @endif readline
24317 .PHONY: maybe-html-readline html-readline
24318 maybe-html-readline:
24319 @if readline
24320 maybe-html-readline: html-readline
24322 html-readline: \
24323 configure-readline
24324 @: $(MAKE); $(unstage)
24325 @[ -f ./readline/Makefile ] || exit 0; \
24326 r=`${PWD_COMMAND}`; export r; \
24327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24328 $(HOST_EXPORTS) \
24329 for flag in $(EXTRA_HOST_FLAGS) ; do \
24330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24331 done; \
24332 echo "Doing html in readline" ; \
24333 (cd $(HOST_SUBDIR)/readline && \
24334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24336 "RANLIB=$${RANLIB}" \
24337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24338 html) \
24339 || exit 1
24341 @endif readline
24343 .PHONY: maybe-TAGS-readline TAGS-readline
24344 maybe-TAGS-readline:
24345 @if readline
24346 maybe-TAGS-readline: TAGS-readline
24348 TAGS-readline: \
24349 configure-readline
24350 @: $(MAKE); $(unstage)
24351 @[ -f ./readline/Makefile ] || exit 0; \
24352 r=`${PWD_COMMAND}`; export r; \
24353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24354 $(HOST_EXPORTS) \
24355 for flag in $(EXTRA_HOST_FLAGS) ; do \
24356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24357 done; \
24358 echo "Doing TAGS in readline" ; \
24359 (cd $(HOST_SUBDIR)/readline && \
24360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24362 "RANLIB=$${RANLIB}" \
24363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24364 TAGS) \
24365 || exit 1
24367 @endif readline
24369 .PHONY: maybe-install-info-readline install-info-readline
24370 maybe-install-info-readline:
24371 @if readline
24372 maybe-install-info-readline: install-info-readline
24374 install-info-readline: \
24375 configure-readline \
24376 info-readline
24377 @: $(MAKE); $(unstage)
24378 @[ -f ./readline/Makefile ] || exit 0; \
24379 r=`${PWD_COMMAND}`; export r; \
24380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24381 $(HOST_EXPORTS) \
24382 for flag in $(EXTRA_HOST_FLAGS) ; do \
24383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24384 done; \
24385 echo "Doing install-info in readline" ; \
24386 (cd $(HOST_SUBDIR)/readline && \
24387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24389 "RANLIB=$${RANLIB}" \
24390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24391 install-info) \
24392 || exit 1
24394 @endif readline
24396 .PHONY: maybe-install-html-readline install-html-readline
24397 maybe-install-html-readline:
24398 @if readline
24399 maybe-install-html-readline: install-html-readline
24401 install-html-readline: \
24402 configure-readline \
24403 html-readline
24404 @: $(MAKE); $(unstage)
24405 @[ -f ./readline/Makefile ] || exit 0; \
24406 r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 $(HOST_EXPORTS) \
24409 for flag in $(EXTRA_HOST_FLAGS) ; do \
24410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24411 done; \
24412 echo "Doing install-html in readline" ; \
24413 (cd $(HOST_SUBDIR)/readline && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24418 install-html) \
24419 || exit 1
24421 @endif readline
24423 .PHONY: maybe-installcheck-readline installcheck-readline
24424 maybe-installcheck-readline:
24425 @if readline
24426 maybe-installcheck-readline: installcheck-readline
24428 installcheck-readline: \
24429 configure-readline
24430 @: $(MAKE); $(unstage)
24431 @[ -f ./readline/Makefile ] || exit 0; \
24432 r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 for flag in $(EXTRA_HOST_FLAGS) ; do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 echo "Doing installcheck in readline" ; \
24439 (cd $(HOST_SUBDIR)/readline && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24442 "RANLIB=$${RANLIB}" \
24443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24444 installcheck) \
24445 || exit 1
24447 @endif readline
24449 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24450 maybe-mostlyclean-readline:
24451 @if readline
24452 maybe-mostlyclean-readline: mostlyclean-readline
24454 mostlyclean-readline:
24455 @: $(MAKE); $(unstage)
24456 @[ -f ./readline/Makefile ] || exit 0; \
24457 r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 for flag in $(EXTRA_HOST_FLAGS) ; do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 echo "Doing mostlyclean in readline" ; \
24464 (cd $(HOST_SUBDIR)/readline && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24467 "RANLIB=$${RANLIB}" \
24468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24469 mostlyclean) \
24470 || exit 1
24472 @endif readline
24474 .PHONY: maybe-clean-readline clean-readline
24475 maybe-clean-readline:
24476 @if readline
24477 maybe-clean-readline: clean-readline
24479 clean-readline:
24480 @: $(MAKE); $(unstage)
24481 @[ -f ./readline/Makefile ] || exit 0; \
24482 r=`${PWD_COMMAND}`; export r; \
24483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24484 $(HOST_EXPORTS) \
24485 for flag in $(EXTRA_HOST_FLAGS) ; do \
24486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24487 done; \
24488 echo "Doing clean in readline" ; \
24489 (cd $(HOST_SUBDIR)/readline && \
24490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24492 "RANLIB=$${RANLIB}" \
24493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24494 clean) \
24495 || exit 1
24497 @endif readline
24499 .PHONY: maybe-distclean-readline distclean-readline
24500 maybe-distclean-readline:
24501 @if readline
24502 maybe-distclean-readline: distclean-readline
24504 distclean-readline:
24505 @: $(MAKE); $(unstage)
24506 @[ -f ./readline/Makefile ] || exit 0; \
24507 r=`${PWD_COMMAND}`; export r; \
24508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24509 $(HOST_EXPORTS) \
24510 for flag in $(EXTRA_HOST_FLAGS) ; do \
24511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24512 done; \
24513 echo "Doing distclean in readline" ; \
24514 (cd $(HOST_SUBDIR)/readline && \
24515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24517 "RANLIB=$${RANLIB}" \
24518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24519 distclean) \
24520 || exit 1
24522 @endif readline
24524 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24525 maybe-maintainer-clean-readline:
24526 @if readline
24527 maybe-maintainer-clean-readline: maintainer-clean-readline
24529 maintainer-clean-readline:
24530 @: $(MAKE); $(unstage)
24531 @[ -f ./readline/Makefile ] || exit 0; \
24532 r=`${PWD_COMMAND}`; export r; \
24533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(HOST_EXPORTS) \
24535 for flag in $(EXTRA_HOST_FLAGS) ; do \
24536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537 done; \
24538 echo "Doing maintainer-clean in readline" ; \
24539 (cd $(HOST_SUBDIR)/readline && \
24540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24542 "RANLIB=$${RANLIB}" \
24543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24544 maintainer-clean) \
24545 || exit 1
24547 @endif readline
24551 .PHONY: configure-release maybe-configure-release
24552 maybe-configure-release:
24553 @if gcc-bootstrap
24554 configure-release: stage_current
24555 @endif gcc-bootstrap
24556 @if release
24557 maybe-configure-release: configure-release
24558 configure-release:
24559 @: $(MAKE); $(unstage)
24560 @r=`${PWD_COMMAND}`; export r; \
24561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24562 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24564 $(HOST_EXPORTS) \
24565 echo Configuring in $(HOST_SUBDIR)/release; \
24566 cd "$(HOST_SUBDIR)/release" || exit 1; \
24567 case $(srcdir) in \
24568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24569 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24571 esac; \
24572 srcdiroption="--srcdir=$${topdir}/release"; \
24573 libsrcdir="$$s/release"; \
24574 $(SHELL) $${libsrcdir}/configure \
24575 $(HOST_CONFIGARGS) $${srcdiroption} \
24576 || exit 1
24577 @endif release
24583 .PHONY: all-release maybe-all-release
24584 maybe-all-release:
24585 @if gcc-bootstrap
24586 all-release: stage_current
24587 @endif gcc-bootstrap
24588 @if release
24589 TARGET-release=all
24590 maybe-all-release: all-release
24591 all-release: configure-release
24592 @: $(MAKE); $(unstage)
24593 @r=`${PWD_COMMAND}`; export r; \
24594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24595 $(HOST_EXPORTS) \
24596 (cd $(HOST_SUBDIR)/release && \
24597 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24598 @endif release
24603 .PHONY: check-release maybe-check-release
24604 maybe-check-release:
24605 @if release
24606 maybe-check-release: check-release
24608 check-release:
24610 @endif release
24612 .PHONY: install-release maybe-install-release
24613 maybe-install-release:
24614 @if release
24615 maybe-install-release: install-release
24617 install-release:
24619 @endif release
24621 # Other targets (info, dvi, pdf, etc.)
24623 .PHONY: maybe-info-release info-release
24624 maybe-info-release:
24625 @if release
24626 maybe-info-release: info-release
24628 info-release: \
24629 configure-release
24630 @: $(MAKE); $(unstage)
24631 @[ -f ./release/Makefile ] || exit 0; \
24632 r=`${PWD_COMMAND}`; export r; \
24633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24634 $(HOST_EXPORTS) \
24635 for flag in $(EXTRA_HOST_FLAGS) ; do \
24636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24637 done; \
24638 echo "Doing info in release" ; \
24639 (cd $(HOST_SUBDIR)/release && \
24640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24642 "RANLIB=$${RANLIB}" \
24643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24644 info) \
24645 || exit 1
24647 @endif release
24649 .PHONY: maybe-dvi-release dvi-release
24650 maybe-dvi-release:
24651 @if release
24652 maybe-dvi-release: dvi-release
24654 dvi-release: \
24655 configure-release
24656 @: $(MAKE); $(unstage)
24657 @[ -f ./release/Makefile ] || exit 0; \
24658 r=`${PWD_COMMAND}`; export r; \
24659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24660 $(HOST_EXPORTS) \
24661 for flag in $(EXTRA_HOST_FLAGS) ; do \
24662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24663 done; \
24664 echo "Doing dvi in release" ; \
24665 (cd $(HOST_SUBDIR)/release && \
24666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24668 "RANLIB=$${RANLIB}" \
24669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24670 dvi) \
24671 || exit 1
24673 @endif release
24675 .PHONY: maybe-pdf-release pdf-release
24676 maybe-pdf-release:
24677 @if release
24678 maybe-pdf-release: pdf-release
24680 pdf-release: \
24681 configure-release
24682 @: $(MAKE); $(unstage)
24683 @[ -f ./release/Makefile ] || exit 0; \
24684 r=`${PWD_COMMAND}`; export r; \
24685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24686 $(HOST_EXPORTS) \
24687 for flag in $(EXTRA_HOST_FLAGS) ; do \
24688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24689 done; \
24690 echo "Doing pdf in release" ; \
24691 (cd $(HOST_SUBDIR)/release && \
24692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24694 "RANLIB=$${RANLIB}" \
24695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24696 pdf) \
24697 || exit 1
24699 @endif release
24701 .PHONY: maybe-html-release html-release
24702 maybe-html-release:
24703 @if release
24704 maybe-html-release: html-release
24706 html-release: \
24707 configure-release
24708 @: $(MAKE); $(unstage)
24709 @[ -f ./release/Makefile ] || exit 0; \
24710 r=`${PWD_COMMAND}`; export r; \
24711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24712 $(HOST_EXPORTS) \
24713 for flag in $(EXTRA_HOST_FLAGS) ; do \
24714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24715 done; \
24716 echo "Doing html in release" ; \
24717 (cd $(HOST_SUBDIR)/release && \
24718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24720 "RANLIB=$${RANLIB}" \
24721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24722 html) \
24723 || exit 1
24725 @endif release
24727 .PHONY: maybe-TAGS-release TAGS-release
24728 maybe-TAGS-release:
24729 @if release
24730 maybe-TAGS-release: TAGS-release
24732 TAGS-release: \
24733 configure-release
24734 @: $(MAKE); $(unstage)
24735 @[ -f ./release/Makefile ] || exit 0; \
24736 r=`${PWD_COMMAND}`; export r; \
24737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24738 $(HOST_EXPORTS) \
24739 for flag in $(EXTRA_HOST_FLAGS) ; do \
24740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24741 done; \
24742 echo "Doing TAGS in release" ; \
24743 (cd $(HOST_SUBDIR)/release && \
24744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24746 "RANLIB=$${RANLIB}" \
24747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24748 TAGS) \
24749 || exit 1
24751 @endif release
24753 .PHONY: maybe-install-info-release install-info-release
24754 maybe-install-info-release:
24755 @if release
24756 maybe-install-info-release: install-info-release
24758 install-info-release: \
24759 configure-release \
24760 info-release
24761 @: $(MAKE); $(unstage)
24762 @[ -f ./release/Makefile ] || exit 0; \
24763 r=`${PWD_COMMAND}`; export r; \
24764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24765 $(HOST_EXPORTS) \
24766 for flag in $(EXTRA_HOST_FLAGS) ; do \
24767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24768 done; \
24769 echo "Doing install-info in release" ; \
24770 (cd $(HOST_SUBDIR)/release && \
24771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24773 "RANLIB=$${RANLIB}" \
24774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24775 install-info) \
24776 || exit 1
24778 @endif release
24780 .PHONY: maybe-install-html-release install-html-release
24781 maybe-install-html-release:
24782 @if release
24783 maybe-install-html-release: install-html-release
24785 install-html-release: \
24786 configure-release \
24787 html-release
24788 @: $(MAKE); $(unstage)
24789 @[ -f ./release/Makefile ] || exit 0; \
24790 r=`${PWD_COMMAND}`; export r; \
24791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24792 $(HOST_EXPORTS) \
24793 for flag in $(EXTRA_HOST_FLAGS) ; do \
24794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24795 done; \
24796 echo "Doing install-html in release" ; \
24797 (cd $(HOST_SUBDIR)/release && \
24798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24800 "RANLIB=$${RANLIB}" \
24801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24802 install-html) \
24803 || exit 1
24805 @endif release
24807 .PHONY: maybe-installcheck-release installcheck-release
24808 maybe-installcheck-release:
24809 @if release
24810 maybe-installcheck-release: installcheck-release
24812 installcheck-release: \
24813 configure-release
24814 @: $(MAKE); $(unstage)
24815 @[ -f ./release/Makefile ] || exit 0; \
24816 r=`${PWD_COMMAND}`; export r; \
24817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24818 $(HOST_EXPORTS) \
24819 for flag in $(EXTRA_HOST_FLAGS) ; do \
24820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24821 done; \
24822 echo "Doing installcheck in release" ; \
24823 (cd $(HOST_SUBDIR)/release && \
24824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24826 "RANLIB=$${RANLIB}" \
24827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24828 installcheck) \
24829 || exit 1
24831 @endif release
24833 .PHONY: maybe-mostlyclean-release mostlyclean-release
24834 maybe-mostlyclean-release:
24835 @if release
24836 maybe-mostlyclean-release: mostlyclean-release
24838 mostlyclean-release:
24839 @: $(MAKE); $(unstage)
24840 @[ -f ./release/Makefile ] || exit 0; \
24841 r=`${PWD_COMMAND}`; export r; \
24842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24843 $(HOST_EXPORTS) \
24844 for flag in $(EXTRA_HOST_FLAGS) ; do \
24845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24846 done; \
24847 echo "Doing mostlyclean in release" ; \
24848 (cd $(HOST_SUBDIR)/release && \
24849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24851 "RANLIB=$${RANLIB}" \
24852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24853 mostlyclean) \
24854 || exit 1
24856 @endif release
24858 .PHONY: maybe-clean-release clean-release
24859 maybe-clean-release:
24860 @if release
24861 maybe-clean-release: clean-release
24863 clean-release:
24864 @: $(MAKE); $(unstage)
24865 @[ -f ./release/Makefile ] || exit 0; \
24866 r=`${PWD_COMMAND}`; export r; \
24867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24868 $(HOST_EXPORTS) \
24869 for flag in $(EXTRA_HOST_FLAGS) ; do \
24870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24871 done; \
24872 echo "Doing clean in release" ; \
24873 (cd $(HOST_SUBDIR)/release && \
24874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24876 "RANLIB=$${RANLIB}" \
24877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24878 clean) \
24879 || exit 1
24881 @endif release
24883 .PHONY: maybe-distclean-release distclean-release
24884 maybe-distclean-release:
24885 @if release
24886 maybe-distclean-release: distclean-release
24888 distclean-release:
24889 @: $(MAKE); $(unstage)
24890 @[ -f ./release/Makefile ] || exit 0; \
24891 r=`${PWD_COMMAND}`; export r; \
24892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24893 $(HOST_EXPORTS) \
24894 for flag in $(EXTRA_HOST_FLAGS) ; do \
24895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24896 done; \
24897 echo "Doing distclean in release" ; \
24898 (cd $(HOST_SUBDIR)/release && \
24899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24901 "RANLIB=$${RANLIB}" \
24902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24903 distclean) \
24904 || exit 1
24906 @endif release
24908 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24909 maybe-maintainer-clean-release:
24910 @if release
24911 maybe-maintainer-clean-release: maintainer-clean-release
24913 maintainer-clean-release:
24914 @: $(MAKE); $(unstage)
24915 @[ -f ./release/Makefile ] || exit 0; \
24916 r=`${PWD_COMMAND}`; export r; \
24917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24918 $(HOST_EXPORTS) \
24919 for flag in $(EXTRA_HOST_FLAGS) ; do \
24920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24921 done; \
24922 echo "Doing maintainer-clean in release" ; \
24923 (cd $(HOST_SUBDIR)/release && \
24924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24926 "RANLIB=$${RANLIB}" \
24927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24928 maintainer-clean) \
24929 || exit 1
24931 @endif release
24935 .PHONY: configure-recode maybe-configure-recode
24936 maybe-configure-recode:
24937 @if gcc-bootstrap
24938 configure-recode: stage_current
24939 @endif gcc-bootstrap
24940 @if recode
24941 maybe-configure-recode: configure-recode
24942 configure-recode:
24943 @: $(MAKE); $(unstage)
24944 @r=`${PWD_COMMAND}`; export r; \
24945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24946 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24948 $(HOST_EXPORTS) \
24949 echo Configuring in $(HOST_SUBDIR)/recode; \
24950 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24951 case $(srcdir) in \
24952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24953 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24955 esac; \
24956 srcdiroption="--srcdir=$${topdir}/recode"; \
24957 libsrcdir="$$s/recode"; \
24958 $(SHELL) $${libsrcdir}/configure \
24959 $(HOST_CONFIGARGS) $${srcdiroption} \
24960 || exit 1
24961 @endif recode
24967 .PHONY: all-recode maybe-all-recode
24968 maybe-all-recode:
24969 @if gcc-bootstrap
24970 all-recode: stage_current
24971 @endif gcc-bootstrap
24972 @if recode
24973 TARGET-recode=all
24974 maybe-all-recode: all-recode
24975 all-recode: configure-recode
24976 @: $(MAKE); $(unstage)
24977 @r=`${PWD_COMMAND}`; export r; \
24978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24979 $(HOST_EXPORTS) \
24980 (cd $(HOST_SUBDIR)/recode && \
24981 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24982 @endif recode
24987 .PHONY: check-recode maybe-check-recode
24988 maybe-check-recode:
24989 @if recode
24990 maybe-check-recode: check-recode
24992 check-recode:
24993 @: $(MAKE); $(unstage)
24994 @r=`${PWD_COMMAND}`; export r; \
24995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24996 $(HOST_EXPORTS) \
24997 (cd $(HOST_SUBDIR)/recode && \
24998 $(MAKE) $(FLAGS_TO_PASS) check)
25000 @endif recode
25002 .PHONY: install-recode maybe-install-recode
25003 maybe-install-recode:
25004 @if recode
25005 maybe-install-recode: install-recode
25007 install-recode: installdirs
25008 @: $(MAKE); $(unstage)
25009 @r=`${PWD_COMMAND}`; export r; \
25010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25011 $(HOST_EXPORTS) \
25012 (cd $(HOST_SUBDIR)/recode && \
25013 $(MAKE) $(FLAGS_TO_PASS) install)
25015 @endif recode
25017 # Other targets (info, dvi, pdf, etc.)
25019 .PHONY: maybe-info-recode info-recode
25020 maybe-info-recode:
25021 @if recode
25022 maybe-info-recode: info-recode
25024 info-recode: \
25025 configure-recode
25026 @: $(MAKE); $(unstage)
25027 @[ -f ./recode/Makefile ] || exit 0; \
25028 r=`${PWD_COMMAND}`; export r; \
25029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25030 $(HOST_EXPORTS) \
25031 for flag in $(EXTRA_HOST_FLAGS) ; do \
25032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25033 done; \
25034 echo "Doing info in recode" ; \
25035 (cd $(HOST_SUBDIR)/recode && \
25036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25038 "RANLIB=$${RANLIB}" \
25039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25040 info) \
25041 || exit 1
25043 @endif recode
25045 .PHONY: maybe-dvi-recode dvi-recode
25046 maybe-dvi-recode:
25047 @if recode
25048 maybe-dvi-recode: dvi-recode
25050 dvi-recode: \
25051 configure-recode
25052 @: $(MAKE); $(unstage)
25053 @[ -f ./recode/Makefile ] || exit 0; \
25054 r=`${PWD_COMMAND}`; export r; \
25055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25056 $(HOST_EXPORTS) \
25057 for flag in $(EXTRA_HOST_FLAGS) ; do \
25058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25059 done; \
25060 echo "Doing dvi in recode" ; \
25061 (cd $(HOST_SUBDIR)/recode && \
25062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25064 "RANLIB=$${RANLIB}" \
25065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25066 dvi) \
25067 || exit 1
25069 @endif recode
25071 .PHONY: maybe-pdf-recode pdf-recode
25072 maybe-pdf-recode:
25073 @if recode
25074 maybe-pdf-recode: pdf-recode
25076 pdf-recode: \
25077 configure-recode
25078 @: $(MAKE); $(unstage)
25079 @[ -f ./recode/Makefile ] || exit 0; \
25080 r=`${PWD_COMMAND}`; export r; \
25081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25082 $(HOST_EXPORTS) \
25083 for flag in $(EXTRA_HOST_FLAGS) ; do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25085 done; \
25086 echo "Doing pdf in recode" ; \
25087 (cd $(HOST_SUBDIR)/recode && \
25088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25090 "RANLIB=$${RANLIB}" \
25091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25092 pdf) \
25093 || exit 1
25095 @endif recode
25097 .PHONY: maybe-html-recode html-recode
25098 maybe-html-recode:
25099 @if recode
25100 maybe-html-recode: html-recode
25102 html-recode: \
25103 configure-recode
25104 @: $(MAKE); $(unstage)
25105 @[ -f ./recode/Makefile ] || exit 0; \
25106 r=`${PWD_COMMAND}`; export r; \
25107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25108 $(HOST_EXPORTS) \
25109 for flag in $(EXTRA_HOST_FLAGS) ; do \
25110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25111 done; \
25112 echo "Doing html in recode" ; \
25113 (cd $(HOST_SUBDIR)/recode && \
25114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25116 "RANLIB=$${RANLIB}" \
25117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25118 html) \
25119 || exit 1
25121 @endif recode
25123 .PHONY: maybe-TAGS-recode TAGS-recode
25124 maybe-TAGS-recode:
25125 @if recode
25126 maybe-TAGS-recode: TAGS-recode
25128 TAGS-recode: \
25129 configure-recode
25130 @: $(MAKE); $(unstage)
25131 @[ -f ./recode/Makefile ] || exit 0; \
25132 r=`${PWD_COMMAND}`; export r; \
25133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(HOST_EXPORTS) \
25135 for flag in $(EXTRA_HOST_FLAGS) ; do \
25136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25137 done; \
25138 echo "Doing TAGS in recode" ; \
25139 (cd $(HOST_SUBDIR)/recode && \
25140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25142 "RANLIB=$${RANLIB}" \
25143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25144 TAGS) \
25145 || exit 1
25147 @endif recode
25149 .PHONY: maybe-install-info-recode install-info-recode
25150 maybe-install-info-recode:
25151 @if recode
25152 maybe-install-info-recode: install-info-recode
25154 install-info-recode: \
25155 configure-recode \
25156 info-recode
25157 @: $(MAKE); $(unstage)
25158 @[ -f ./recode/Makefile ] || exit 0; \
25159 r=`${PWD_COMMAND}`; export r; \
25160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25161 $(HOST_EXPORTS) \
25162 for flag in $(EXTRA_HOST_FLAGS) ; do \
25163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25164 done; \
25165 echo "Doing install-info in recode" ; \
25166 (cd $(HOST_SUBDIR)/recode && \
25167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25169 "RANLIB=$${RANLIB}" \
25170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25171 install-info) \
25172 || exit 1
25174 @endif recode
25176 .PHONY: maybe-install-html-recode install-html-recode
25177 maybe-install-html-recode:
25178 @if recode
25179 maybe-install-html-recode: install-html-recode
25181 install-html-recode: \
25182 configure-recode \
25183 html-recode
25184 @: $(MAKE); $(unstage)
25185 @[ -f ./recode/Makefile ] || exit 0; \
25186 r=`${PWD_COMMAND}`; export r; \
25187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25188 $(HOST_EXPORTS) \
25189 for flag in $(EXTRA_HOST_FLAGS) ; do \
25190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25191 done; \
25192 echo "Doing install-html in recode" ; \
25193 (cd $(HOST_SUBDIR)/recode && \
25194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25196 "RANLIB=$${RANLIB}" \
25197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25198 install-html) \
25199 || exit 1
25201 @endif recode
25203 .PHONY: maybe-installcheck-recode installcheck-recode
25204 maybe-installcheck-recode:
25205 @if recode
25206 maybe-installcheck-recode: installcheck-recode
25208 installcheck-recode: \
25209 configure-recode
25210 @: $(MAKE); $(unstage)
25211 @[ -f ./recode/Makefile ] || exit 0; \
25212 r=`${PWD_COMMAND}`; export r; \
25213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25214 $(HOST_EXPORTS) \
25215 for flag in $(EXTRA_HOST_FLAGS) ; do \
25216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25217 done; \
25218 echo "Doing installcheck in recode" ; \
25219 (cd $(HOST_SUBDIR)/recode && \
25220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25222 "RANLIB=$${RANLIB}" \
25223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25224 installcheck) \
25225 || exit 1
25227 @endif recode
25229 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25230 maybe-mostlyclean-recode:
25231 @if recode
25232 maybe-mostlyclean-recode: mostlyclean-recode
25234 mostlyclean-recode:
25235 @: $(MAKE); $(unstage)
25236 @[ -f ./recode/Makefile ] || exit 0; \
25237 r=`${PWD_COMMAND}`; export r; \
25238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25239 $(HOST_EXPORTS) \
25240 for flag in $(EXTRA_HOST_FLAGS) ; do \
25241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25242 done; \
25243 echo "Doing mostlyclean in recode" ; \
25244 (cd $(HOST_SUBDIR)/recode && \
25245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25247 "RANLIB=$${RANLIB}" \
25248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25249 mostlyclean) \
25250 || exit 1
25252 @endif recode
25254 .PHONY: maybe-clean-recode clean-recode
25255 maybe-clean-recode:
25256 @if recode
25257 maybe-clean-recode: clean-recode
25259 clean-recode:
25260 @: $(MAKE); $(unstage)
25261 @[ -f ./recode/Makefile ] || exit 0; \
25262 r=`${PWD_COMMAND}`; export r; \
25263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25264 $(HOST_EXPORTS) \
25265 for flag in $(EXTRA_HOST_FLAGS) ; do \
25266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25267 done; \
25268 echo "Doing clean in recode" ; \
25269 (cd $(HOST_SUBDIR)/recode && \
25270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25272 "RANLIB=$${RANLIB}" \
25273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25274 clean) \
25275 || exit 1
25277 @endif recode
25279 .PHONY: maybe-distclean-recode distclean-recode
25280 maybe-distclean-recode:
25281 @if recode
25282 maybe-distclean-recode: distclean-recode
25284 distclean-recode:
25285 @: $(MAKE); $(unstage)
25286 @[ -f ./recode/Makefile ] || exit 0; \
25287 r=`${PWD_COMMAND}`; export r; \
25288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25289 $(HOST_EXPORTS) \
25290 for flag in $(EXTRA_HOST_FLAGS) ; do \
25291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25292 done; \
25293 echo "Doing distclean in recode" ; \
25294 (cd $(HOST_SUBDIR)/recode && \
25295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25297 "RANLIB=$${RANLIB}" \
25298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25299 distclean) \
25300 || exit 1
25302 @endif recode
25304 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25305 maybe-maintainer-clean-recode:
25306 @if recode
25307 maybe-maintainer-clean-recode: maintainer-clean-recode
25309 maintainer-clean-recode:
25310 @: $(MAKE); $(unstage)
25311 @[ -f ./recode/Makefile ] || exit 0; \
25312 r=`${PWD_COMMAND}`; export r; \
25313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25314 $(HOST_EXPORTS) \
25315 for flag in $(EXTRA_HOST_FLAGS) ; do \
25316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25317 done; \
25318 echo "Doing maintainer-clean in recode" ; \
25319 (cd $(HOST_SUBDIR)/recode && \
25320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25322 "RANLIB=$${RANLIB}" \
25323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25324 maintainer-clean) \
25325 || exit 1
25327 @endif recode
25331 .PHONY: configure-sed maybe-configure-sed
25332 maybe-configure-sed:
25333 @if gcc-bootstrap
25334 configure-sed: stage_current
25335 @endif gcc-bootstrap
25336 @if sed
25337 maybe-configure-sed: configure-sed
25338 configure-sed:
25339 @: $(MAKE); $(unstage)
25340 @r=`${PWD_COMMAND}`; export r; \
25341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25342 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25344 $(HOST_EXPORTS) \
25345 echo Configuring in $(HOST_SUBDIR)/sed; \
25346 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25347 case $(srcdir) in \
25348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25349 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25351 esac; \
25352 srcdiroption="--srcdir=$${topdir}/sed"; \
25353 libsrcdir="$$s/sed"; \
25354 $(SHELL) $${libsrcdir}/configure \
25355 $(HOST_CONFIGARGS) $${srcdiroption} \
25356 || exit 1
25357 @endif sed
25363 .PHONY: all-sed maybe-all-sed
25364 maybe-all-sed:
25365 @if gcc-bootstrap
25366 all-sed: stage_current
25367 @endif gcc-bootstrap
25368 @if sed
25369 TARGET-sed=all
25370 maybe-all-sed: all-sed
25371 all-sed: configure-sed
25372 @: $(MAKE); $(unstage)
25373 @r=`${PWD_COMMAND}`; export r; \
25374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25375 $(HOST_EXPORTS) \
25376 (cd $(HOST_SUBDIR)/sed && \
25377 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25378 @endif sed
25383 .PHONY: check-sed maybe-check-sed
25384 maybe-check-sed:
25385 @if sed
25386 maybe-check-sed: check-sed
25388 check-sed:
25389 @: $(MAKE); $(unstage)
25390 @r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(HOST_EXPORTS) \
25393 (cd $(HOST_SUBDIR)/sed && \
25394 $(MAKE) $(FLAGS_TO_PASS) check)
25396 @endif sed
25398 .PHONY: install-sed maybe-install-sed
25399 maybe-install-sed:
25400 @if sed
25401 maybe-install-sed: install-sed
25403 install-sed: installdirs
25404 @: $(MAKE); $(unstage)
25405 @r=`${PWD_COMMAND}`; export r; \
25406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 $(HOST_EXPORTS) \
25408 (cd $(HOST_SUBDIR)/sed && \
25409 $(MAKE) $(FLAGS_TO_PASS) install)
25411 @endif sed
25413 # Other targets (info, dvi, pdf, etc.)
25415 .PHONY: maybe-info-sed info-sed
25416 maybe-info-sed:
25417 @if sed
25418 maybe-info-sed: info-sed
25420 info-sed: \
25421 configure-sed
25422 @: $(MAKE); $(unstage)
25423 @[ -f ./sed/Makefile ] || exit 0; \
25424 r=`${PWD_COMMAND}`; export r; \
25425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25426 $(HOST_EXPORTS) \
25427 for flag in $(EXTRA_HOST_FLAGS) ; do \
25428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25429 done; \
25430 echo "Doing info in sed" ; \
25431 (cd $(HOST_SUBDIR)/sed && \
25432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25434 "RANLIB=$${RANLIB}" \
25435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25436 info) \
25437 || exit 1
25439 @endif sed
25441 .PHONY: maybe-dvi-sed dvi-sed
25442 maybe-dvi-sed:
25443 @if sed
25444 maybe-dvi-sed: dvi-sed
25446 dvi-sed: \
25447 configure-sed
25448 @: $(MAKE); $(unstage)
25449 @[ -f ./sed/Makefile ] || exit 0; \
25450 r=`${PWD_COMMAND}`; export r; \
25451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25452 $(HOST_EXPORTS) \
25453 for flag in $(EXTRA_HOST_FLAGS) ; do \
25454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25455 done; \
25456 echo "Doing dvi in sed" ; \
25457 (cd $(HOST_SUBDIR)/sed && \
25458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25460 "RANLIB=$${RANLIB}" \
25461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25462 dvi) \
25463 || exit 1
25465 @endif sed
25467 .PHONY: maybe-pdf-sed pdf-sed
25468 maybe-pdf-sed:
25469 @if sed
25470 maybe-pdf-sed: pdf-sed
25472 pdf-sed: \
25473 configure-sed
25474 @: $(MAKE); $(unstage)
25475 @[ -f ./sed/Makefile ] || exit 0; \
25476 r=`${PWD_COMMAND}`; export r; \
25477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25478 $(HOST_EXPORTS) \
25479 for flag in $(EXTRA_HOST_FLAGS) ; do \
25480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25481 done; \
25482 echo "Doing pdf in sed" ; \
25483 (cd $(HOST_SUBDIR)/sed && \
25484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25486 "RANLIB=$${RANLIB}" \
25487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25488 pdf) \
25489 || exit 1
25491 @endif sed
25493 .PHONY: maybe-html-sed html-sed
25494 maybe-html-sed:
25495 @if sed
25496 maybe-html-sed: html-sed
25498 html-sed: \
25499 configure-sed
25500 @: $(MAKE); $(unstage)
25501 @[ -f ./sed/Makefile ] || exit 0; \
25502 r=`${PWD_COMMAND}`; export r; \
25503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25504 $(HOST_EXPORTS) \
25505 for flag in $(EXTRA_HOST_FLAGS) ; do \
25506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25507 done; \
25508 echo "Doing html in sed" ; \
25509 (cd $(HOST_SUBDIR)/sed && \
25510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25512 "RANLIB=$${RANLIB}" \
25513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25514 html) \
25515 || exit 1
25517 @endif sed
25519 .PHONY: maybe-TAGS-sed TAGS-sed
25520 maybe-TAGS-sed:
25521 @if sed
25522 maybe-TAGS-sed: TAGS-sed
25524 TAGS-sed: \
25525 configure-sed
25526 @: $(MAKE); $(unstage)
25527 @[ -f ./sed/Makefile ] || exit 0; \
25528 r=`${PWD_COMMAND}`; export r; \
25529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25530 $(HOST_EXPORTS) \
25531 for flag in $(EXTRA_HOST_FLAGS) ; do \
25532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25533 done; \
25534 echo "Doing TAGS in sed" ; \
25535 (cd $(HOST_SUBDIR)/sed && \
25536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25538 "RANLIB=$${RANLIB}" \
25539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25540 TAGS) \
25541 || exit 1
25543 @endif sed
25545 .PHONY: maybe-install-info-sed install-info-sed
25546 maybe-install-info-sed:
25547 @if sed
25548 maybe-install-info-sed: install-info-sed
25550 install-info-sed: \
25551 configure-sed \
25552 info-sed
25553 @: $(MAKE); $(unstage)
25554 @[ -f ./sed/Makefile ] || exit 0; \
25555 r=`${PWD_COMMAND}`; export r; \
25556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25557 $(HOST_EXPORTS) \
25558 for flag in $(EXTRA_HOST_FLAGS) ; do \
25559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25560 done; \
25561 echo "Doing install-info in sed" ; \
25562 (cd $(HOST_SUBDIR)/sed && \
25563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25565 "RANLIB=$${RANLIB}" \
25566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25567 install-info) \
25568 || exit 1
25570 @endif sed
25572 .PHONY: maybe-install-html-sed install-html-sed
25573 maybe-install-html-sed:
25574 @if sed
25575 maybe-install-html-sed: install-html-sed
25577 install-html-sed: \
25578 configure-sed \
25579 html-sed
25580 @: $(MAKE); $(unstage)
25581 @[ -f ./sed/Makefile ] || exit 0; \
25582 r=`${PWD_COMMAND}`; export r; \
25583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25584 $(HOST_EXPORTS) \
25585 for flag in $(EXTRA_HOST_FLAGS) ; do \
25586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25587 done; \
25588 echo "Doing install-html in sed" ; \
25589 (cd $(HOST_SUBDIR)/sed && \
25590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25592 "RANLIB=$${RANLIB}" \
25593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25594 install-html) \
25595 || exit 1
25597 @endif sed
25599 .PHONY: maybe-installcheck-sed installcheck-sed
25600 maybe-installcheck-sed:
25601 @if sed
25602 maybe-installcheck-sed: installcheck-sed
25604 installcheck-sed: \
25605 configure-sed
25606 @: $(MAKE); $(unstage)
25607 @[ -f ./sed/Makefile ] || exit 0; \
25608 r=`${PWD_COMMAND}`; export r; \
25609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25610 $(HOST_EXPORTS) \
25611 for flag in $(EXTRA_HOST_FLAGS) ; do \
25612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25613 done; \
25614 echo "Doing installcheck in sed" ; \
25615 (cd $(HOST_SUBDIR)/sed && \
25616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25618 "RANLIB=$${RANLIB}" \
25619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25620 installcheck) \
25621 || exit 1
25623 @endif sed
25625 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25626 maybe-mostlyclean-sed:
25627 @if sed
25628 maybe-mostlyclean-sed: mostlyclean-sed
25630 mostlyclean-sed:
25631 @: $(MAKE); $(unstage)
25632 @[ -f ./sed/Makefile ] || exit 0; \
25633 r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 $(HOST_EXPORTS) \
25636 for flag in $(EXTRA_HOST_FLAGS) ; do \
25637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25638 done; \
25639 echo "Doing mostlyclean in sed" ; \
25640 (cd $(HOST_SUBDIR)/sed && \
25641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25643 "RANLIB=$${RANLIB}" \
25644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25645 mostlyclean) \
25646 || exit 1
25648 @endif sed
25650 .PHONY: maybe-clean-sed clean-sed
25651 maybe-clean-sed:
25652 @if sed
25653 maybe-clean-sed: clean-sed
25655 clean-sed:
25656 @: $(MAKE); $(unstage)
25657 @[ -f ./sed/Makefile ] || exit 0; \
25658 r=`${PWD_COMMAND}`; export r; \
25659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(HOST_EXPORTS) \
25661 for flag in $(EXTRA_HOST_FLAGS) ; do \
25662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25663 done; \
25664 echo "Doing clean in sed" ; \
25665 (cd $(HOST_SUBDIR)/sed && \
25666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25668 "RANLIB=$${RANLIB}" \
25669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25670 clean) \
25671 || exit 1
25673 @endif sed
25675 .PHONY: maybe-distclean-sed distclean-sed
25676 maybe-distclean-sed:
25677 @if sed
25678 maybe-distclean-sed: distclean-sed
25680 distclean-sed:
25681 @: $(MAKE); $(unstage)
25682 @[ -f ./sed/Makefile ] || exit 0; \
25683 r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(HOST_EXPORTS) \
25686 for flag in $(EXTRA_HOST_FLAGS) ; do \
25687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25688 done; \
25689 echo "Doing distclean in sed" ; \
25690 (cd $(HOST_SUBDIR)/sed && \
25691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25693 "RANLIB=$${RANLIB}" \
25694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25695 distclean) \
25696 || exit 1
25698 @endif sed
25700 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25701 maybe-maintainer-clean-sed:
25702 @if sed
25703 maybe-maintainer-clean-sed: maintainer-clean-sed
25705 maintainer-clean-sed:
25706 @: $(MAKE); $(unstage)
25707 @[ -f ./sed/Makefile ] || exit 0; \
25708 r=`${PWD_COMMAND}`; export r; \
25709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25710 $(HOST_EXPORTS) \
25711 for flag in $(EXTRA_HOST_FLAGS) ; do \
25712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25713 done; \
25714 echo "Doing maintainer-clean in sed" ; \
25715 (cd $(HOST_SUBDIR)/sed && \
25716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25718 "RANLIB=$${RANLIB}" \
25719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25720 maintainer-clean) \
25721 || exit 1
25723 @endif sed
25727 .PHONY: configure-send-pr maybe-configure-send-pr
25728 maybe-configure-send-pr:
25729 @if gcc-bootstrap
25730 configure-send-pr: stage_current
25731 @endif gcc-bootstrap
25732 @if send-pr
25733 maybe-configure-send-pr: configure-send-pr
25734 configure-send-pr:
25735 @: $(MAKE); $(unstage)
25736 @r=`${PWD_COMMAND}`; export r; \
25737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25738 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25740 $(HOST_EXPORTS) \
25741 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25742 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25743 case $(srcdir) in \
25744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25745 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25747 esac; \
25748 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25749 libsrcdir="$$s/send-pr"; \
25750 $(SHELL) $${libsrcdir}/configure \
25751 $(HOST_CONFIGARGS) $${srcdiroption} \
25752 || exit 1
25753 @endif send-pr
25759 .PHONY: all-send-pr maybe-all-send-pr
25760 maybe-all-send-pr:
25761 @if gcc-bootstrap
25762 all-send-pr: stage_current
25763 @endif gcc-bootstrap
25764 @if send-pr
25765 TARGET-send-pr=all
25766 maybe-all-send-pr: all-send-pr
25767 all-send-pr: configure-send-pr
25768 @: $(MAKE); $(unstage)
25769 @r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 (cd $(HOST_SUBDIR)/send-pr && \
25773 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25774 @endif send-pr
25779 .PHONY: check-send-pr maybe-check-send-pr
25780 maybe-check-send-pr:
25781 @if send-pr
25782 maybe-check-send-pr: check-send-pr
25784 check-send-pr:
25785 @: $(MAKE); $(unstage)
25786 @r=`${PWD_COMMAND}`; export r; \
25787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25788 $(HOST_EXPORTS) \
25789 (cd $(HOST_SUBDIR)/send-pr && \
25790 $(MAKE) $(FLAGS_TO_PASS) check)
25792 @endif send-pr
25794 .PHONY: install-send-pr maybe-install-send-pr
25795 maybe-install-send-pr:
25796 @if send-pr
25797 maybe-install-send-pr: install-send-pr
25799 install-send-pr: installdirs
25800 @: $(MAKE); $(unstage)
25801 @r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(HOST_EXPORTS) \
25804 (cd $(HOST_SUBDIR)/send-pr && \
25805 $(MAKE) $(FLAGS_TO_PASS) install)
25807 @endif send-pr
25809 # Other targets (info, dvi, pdf, etc.)
25811 .PHONY: maybe-info-send-pr info-send-pr
25812 maybe-info-send-pr:
25813 @if send-pr
25814 maybe-info-send-pr: info-send-pr
25816 info-send-pr: \
25817 configure-send-pr
25818 @: $(MAKE); $(unstage)
25819 @[ -f ./send-pr/Makefile ] || exit 0; \
25820 r=`${PWD_COMMAND}`; export r; \
25821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25822 $(HOST_EXPORTS) \
25823 for flag in $(EXTRA_HOST_FLAGS) ; do \
25824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25825 done; \
25826 echo "Doing info in send-pr" ; \
25827 (cd $(HOST_SUBDIR)/send-pr && \
25828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25830 "RANLIB=$${RANLIB}" \
25831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25832 info) \
25833 || exit 1
25835 @endif send-pr
25837 .PHONY: maybe-dvi-send-pr dvi-send-pr
25838 maybe-dvi-send-pr:
25839 @if send-pr
25840 maybe-dvi-send-pr: dvi-send-pr
25842 dvi-send-pr: \
25843 configure-send-pr
25844 @: $(MAKE); $(unstage)
25845 @[ -f ./send-pr/Makefile ] || exit 0; \
25846 r=`${PWD_COMMAND}`; export r; \
25847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25848 $(HOST_EXPORTS) \
25849 for flag in $(EXTRA_HOST_FLAGS) ; do \
25850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25851 done; \
25852 echo "Doing dvi in send-pr" ; \
25853 (cd $(HOST_SUBDIR)/send-pr && \
25854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25856 "RANLIB=$${RANLIB}" \
25857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25858 dvi) \
25859 || exit 1
25861 @endif send-pr
25863 .PHONY: maybe-pdf-send-pr pdf-send-pr
25864 maybe-pdf-send-pr:
25865 @if send-pr
25866 maybe-pdf-send-pr: pdf-send-pr
25868 pdf-send-pr: \
25869 configure-send-pr
25870 @: $(MAKE); $(unstage)
25871 @[ -f ./send-pr/Makefile ] || exit 0; \
25872 r=`${PWD_COMMAND}`; export r; \
25873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25874 $(HOST_EXPORTS) \
25875 for flag in $(EXTRA_HOST_FLAGS) ; do \
25876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25877 done; \
25878 echo "Doing pdf in send-pr" ; \
25879 (cd $(HOST_SUBDIR)/send-pr && \
25880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25882 "RANLIB=$${RANLIB}" \
25883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25884 pdf) \
25885 || exit 1
25887 @endif send-pr
25889 .PHONY: maybe-html-send-pr html-send-pr
25890 maybe-html-send-pr:
25891 @if send-pr
25892 maybe-html-send-pr: html-send-pr
25894 html-send-pr: \
25895 configure-send-pr
25896 @: $(MAKE); $(unstage)
25897 @[ -f ./send-pr/Makefile ] || exit 0; \
25898 r=`${PWD_COMMAND}`; export r; \
25899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25900 $(HOST_EXPORTS) \
25901 for flag in $(EXTRA_HOST_FLAGS) ; do \
25902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25903 done; \
25904 echo "Doing html in send-pr" ; \
25905 (cd $(HOST_SUBDIR)/send-pr && \
25906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25908 "RANLIB=$${RANLIB}" \
25909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25910 html) \
25911 || exit 1
25913 @endif send-pr
25915 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25916 maybe-TAGS-send-pr:
25917 @if send-pr
25918 maybe-TAGS-send-pr: TAGS-send-pr
25920 TAGS-send-pr: \
25921 configure-send-pr
25922 @: $(MAKE); $(unstage)
25923 @[ -f ./send-pr/Makefile ] || exit 0; \
25924 r=`${PWD_COMMAND}`; export r; \
25925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25926 $(HOST_EXPORTS) \
25927 for flag in $(EXTRA_HOST_FLAGS) ; do \
25928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25929 done; \
25930 echo "Doing TAGS in send-pr" ; \
25931 (cd $(HOST_SUBDIR)/send-pr && \
25932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25934 "RANLIB=$${RANLIB}" \
25935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25936 TAGS) \
25937 || exit 1
25939 @endif send-pr
25941 .PHONY: maybe-install-info-send-pr install-info-send-pr
25942 maybe-install-info-send-pr:
25943 @if send-pr
25944 maybe-install-info-send-pr: install-info-send-pr
25946 install-info-send-pr: \
25947 configure-send-pr \
25948 info-send-pr
25949 @: $(MAKE); $(unstage)
25950 @[ -f ./send-pr/Makefile ] || exit 0; \
25951 r=`${PWD_COMMAND}`; export r; \
25952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25953 $(HOST_EXPORTS) \
25954 for flag in $(EXTRA_HOST_FLAGS) ; do \
25955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25956 done; \
25957 echo "Doing install-info in send-pr" ; \
25958 (cd $(HOST_SUBDIR)/send-pr && \
25959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25961 "RANLIB=$${RANLIB}" \
25962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25963 install-info) \
25964 || exit 1
25966 @endif send-pr
25968 .PHONY: maybe-install-html-send-pr install-html-send-pr
25969 maybe-install-html-send-pr:
25970 @if send-pr
25971 maybe-install-html-send-pr: install-html-send-pr
25973 install-html-send-pr: \
25974 configure-send-pr \
25975 html-send-pr
25976 @: $(MAKE); $(unstage)
25977 @[ -f ./send-pr/Makefile ] || exit 0; \
25978 r=`${PWD_COMMAND}`; export r; \
25979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25980 $(HOST_EXPORTS) \
25981 for flag in $(EXTRA_HOST_FLAGS) ; do \
25982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25983 done; \
25984 echo "Doing install-html in send-pr" ; \
25985 (cd $(HOST_SUBDIR)/send-pr && \
25986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25988 "RANLIB=$${RANLIB}" \
25989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25990 install-html) \
25991 || exit 1
25993 @endif send-pr
25995 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
25996 maybe-installcheck-send-pr:
25997 @if send-pr
25998 maybe-installcheck-send-pr: installcheck-send-pr
26000 installcheck-send-pr: \
26001 configure-send-pr
26002 @: $(MAKE); $(unstage)
26003 @[ -f ./send-pr/Makefile ] || exit 0; \
26004 r=`${PWD_COMMAND}`; export r; \
26005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26006 $(HOST_EXPORTS) \
26007 for flag in $(EXTRA_HOST_FLAGS) ; do \
26008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26009 done; \
26010 echo "Doing installcheck in send-pr" ; \
26011 (cd $(HOST_SUBDIR)/send-pr && \
26012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26014 "RANLIB=$${RANLIB}" \
26015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26016 installcheck) \
26017 || exit 1
26019 @endif send-pr
26021 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
26022 maybe-mostlyclean-send-pr:
26023 @if send-pr
26024 maybe-mostlyclean-send-pr: mostlyclean-send-pr
26026 mostlyclean-send-pr:
26027 @: $(MAKE); $(unstage)
26028 @[ -f ./send-pr/Makefile ] || exit 0; \
26029 r=`${PWD_COMMAND}`; export r; \
26030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26031 $(HOST_EXPORTS) \
26032 for flag in $(EXTRA_HOST_FLAGS) ; do \
26033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26034 done; \
26035 echo "Doing mostlyclean in send-pr" ; \
26036 (cd $(HOST_SUBDIR)/send-pr && \
26037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26039 "RANLIB=$${RANLIB}" \
26040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26041 mostlyclean) \
26042 || exit 1
26044 @endif send-pr
26046 .PHONY: maybe-clean-send-pr clean-send-pr
26047 maybe-clean-send-pr:
26048 @if send-pr
26049 maybe-clean-send-pr: clean-send-pr
26051 clean-send-pr:
26052 @: $(MAKE); $(unstage)
26053 @[ -f ./send-pr/Makefile ] || exit 0; \
26054 r=`${PWD_COMMAND}`; export r; \
26055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26056 $(HOST_EXPORTS) \
26057 for flag in $(EXTRA_HOST_FLAGS) ; do \
26058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26059 done; \
26060 echo "Doing clean in send-pr" ; \
26061 (cd $(HOST_SUBDIR)/send-pr && \
26062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26064 "RANLIB=$${RANLIB}" \
26065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26066 clean) \
26067 || exit 1
26069 @endif send-pr
26071 .PHONY: maybe-distclean-send-pr distclean-send-pr
26072 maybe-distclean-send-pr:
26073 @if send-pr
26074 maybe-distclean-send-pr: distclean-send-pr
26076 distclean-send-pr:
26077 @: $(MAKE); $(unstage)
26078 @[ -f ./send-pr/Makefile ] || exit 0; \
26079 r=`${PWD_COMMAND}`; export r; \
26080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26081 $(HOST_EXPORTS) \
26082 for flag in $(EXTRA_HOST_FLAGS) ; do \
26083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26084 done; \
26085 echo "Doing distclean in send-pr" ; \
26086 (cd $(HOST_SUBDIR)/send-pr && \
26087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26089 "RANLIB=$${RANLIB}" \
26090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26091 distclean) \
26092 || exit 1
26094 @endif send-pr
26096 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
26097 maybe-maintainer-clean-send-pr:
26098 @if send-pr
26099 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
26101 maintainer-clean-send-pr:
26102 @: $(MAKE); $(unstage)
26103 @[ -f ./send-pr/Makefile ] || exit 0; \
26104 r=`${PWD_COMMAND}`; export r; \
26105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26106 $(HOST_EXPORTS) \
26107 for flag in $(EXTRA_HOST_FLAGS) ; do \
26108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26109 done; \
26110 echo "Doing maintainer-clean in send-pr" ; \
26111 (cd $(HOST_SUBDIR)/send-pr && \
26112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26114 "RANLIB=$${RANLIB}" \
26115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26116 maintainer-clean) \
26117 || exit 1
26119 @endif send-pr
26123 .PHONY: configure-shellutils maybe-configure-shellutils
26124 maybe-configure-shellutils:
26125 @if gcc-bootstrap
26126 configure-shellutils: stage_current
26127 @endif gcc-bootstrap
26128 @if shellutils
26129 maybe-configure-shellutils: configure-shellutils
26130 configure-shellutils:
26131 @: $(MAKE); $(unstage)
26132 @r=`${PWD_COMMAND}`; export r; \
26133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26134 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
26135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
26136 $(HOST_EXPORTS) \
26137 echo Configuring in $(HOST_SUBDIR)/shellutils; \
26138 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
26139 case $(srcdir) in \
26140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26141 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
26142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26143 esac; \
26144 srcdiroption="--srcdir=$${topdir}/shellutils"; \
26145 libsrcdir="$$s/shellutils"; \
26146 $(SHELL) $${libsrcdir}/configure \
26147 $(HOST_CONFIGARGS) $${srcdiroption} \
26148 || exit 1
26149 @endif shellutils
26155 .PHONY: all-shellutils maybe-all-shellutils
26156 maybe-all-shellutils:
26157 @if gcc-bootstrap
26158 all-shellutils: stage_current
26159 @endif gcc-bootstrap
26160 @if shellutils
26161 TARGET-shellutils=all
26162 maybe-all-shellutils: all-shellutils
26163 all-shellutils: configure-shellutils
26164 @: $(MAKE); $(unstage)
26165 @r=`${PWD_COMMAND}`; export r; \
26166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26167 $(HOST_EXPORTS) \
26168 (cd $(HOST_SUBDIR)/shellutils && \
26169 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
26170 @endif shellutils
26175 .PHONY: check-shellutils maybe-check-shellutils
26176 maybe-check-shellutils:
26177 @if shellutils
26178 maybe-check-shellutils: check-shellutils
26180 check-shellutils:
26181 @: $(MAKE); $(unstage)
26182 @r=`${PWD_COMMAND}`; export r; \
26183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26184 $(HOST_EXPORTS) \
26185 (cd $(HOST_SUBDIR)/shellutils && \
26186 $(MAKE) $(FLAGS_TO_PASS) check)
26188 @endif shellutils
26190 .PHONY: install-shellutils maybe-install-shellutils
26191 maybe-install-shellutils:
26192 @if shellutils
26193 maybe-install-shellutils: install-shellutils
26195 install-shellutils: installdirs
26196 @: $(MAKE); $(unstage)
26197 @r=`${PWD_COMMAND}`; export r; \
26198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26199 $(HOST_EXPORTS) \
26200 (cd $(HOST_SUBDIR)/shellutils && \
26201 $(MAKE) $(FLAGS_TO_PASS) install)
26203 @endif shellutils
26205 # Other targets (info, dvi, pdf, etc.)
26207 .PHONY: maybe-info-shellutils info-shellutils
26208 maybe-info-shellutils:
26209 @if shellutils
26210 maybe-info-shellutils: info-shellutils
26212 info-shellutils: \
26213 configure-shellutils
26214 @: $(MAKE); $(unstage)
26215 @[ -f ./shellutils/Makefile ] || exit 0; \
26216 r=`${PWD_COMMAND}`; export r; \
26217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26218 $(HOST_EXPORTS) \
26219 for flag in $(EXTRA_HOST_FLAGS) ; do \
26220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26221 done; \
26222 echo "Doing info in shellutils" ; \
26223 (cd $(HOST_SUBDIR)/shellutils && \
26224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26226 "RANLIB=$${RANLIB}" \
26227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26228 info) \
26229 || exit 1
26231 @endif shellutils
26233 .PHONY: maybe-dvi-shellutils dvi-shellutils
26234 maybe-dvi-shellutils:
26235 @if shellutils
26236 maybe-dvi-shellutils: dvi-shellutils
26238 dvi-shellutils: \
26239 configure-shellutils
26240 @: $(MAKE); $(unstage)
26241 @[ -f ./shellutils/Makefile ] || exit 0; \
26242 r=`${PWD_COMMAND}`; export r; \
26243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26244 $(HOST_EXPORTS) \
26245 for flag in $(EXTRA_HOST_FLAGS) ; do \
26246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26247 done; \
26248 echo "Doing dvi in shellutils" ; \
26249 (cd $(HOST_SUBDIR)/shellutils && \
26250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26252 "RANLIB=$${RANLIB}" \
26253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26254 dvi) \
26255 || exit 1
26257 @endif shellutils
26259 .PHONY: maybe-pdf-shellutils pdf-shellutils
26260 maybe-pdf-shellutils:
26261 @if shellutils
26262 maybe-pdf-shellutils: pdf-shellutils
26264 pdf-shellutils: \
26265 configure-shellutils
26266 @: $(MAKE); $(unstage)
26267 @[ -f ./shellutils/Makefile ] || exit 0; \
26268 r=`${PWD_COMMAND}`; export r; \
26269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26270 $(HOST_EXPORTS) \
26271 for flag in $(EXTRA_HOST_FLAGS) ; do \
26272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26273 done; \
26274 echo "Doing pdf in shellutils" ; \
26275 (cd $(HOST_SUBDIR)/shellutils && \
26276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26278 "RANLIB=$${RANLIB}" \
26279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26280 pdf) \
26281 || exit 1
26283 @endif shellutils
26285 .PHONY: maybe-html-shellutils html-shellutils
26286 maybe-html-shellutils:
26287 @if shellutils
26288 maybe-html-shellutils: html-shellutils
26290 html-shellutils: \
26291 configure-shellutils
26292 @: $(MAKE); $(unstage)
26293 @[ -f ./shellutils/Makefile ] || exit 0; \
26294 r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(HOST_EXPORTS) \
26297 for flag in $(EXTRA_HOST_FLAGS) ; do \
26298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26299 done; \
26300 echo "Doing html in shellutils" ; \
26301 (cd $(HOST_SUBDIR)/shellutils && \
26302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26304 "RANLIB=$${RANLIB}" \
26305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26306 html) \
26307 || exit 1
26309 @endif shellutils
26311 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26312 maybe-TAGS-shellutils:
26313 @if shellutils
26314 maybe-TAGS-shellutils: TAGS-shellutils
26316 TAGS-shellutils: \
26317 configure-shellutils
26318 @: $(MAKE); $(unstage)
26319 @[ -f ./shellutils/Makefile ] || exit 0; \
26320 r=`${PWD_COMMAND}`; export r; \
26321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26322 $(HOST_EXPORTS) \
26323 for flag in $(EXTRA_HOST_FLAGS) ; do \
26324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26325 done; \
26326 echo "Doing TAGS in shellutils" ; \
26327 (cd $(HOST_SUBDIR)/shellutils && \
26328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26330 "RANLIB=$${RANLIB}" \
26331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26332 TAGS) \
26333 || exit 1
26335 @endif shellutils
26337 .PHONY: maybe-install-info-shellutils install-info-shellutils
26338 maybe-install-info-shellutils:
26339 @if shellutils
26340 maybe-install-info-shellutils: install-info-shellutils
26342 install-info-shellutils: \
26343 configure-shellutils \
26344 info-shellutils
26345 @: $(MAKE); $(unstage)
26346 @[ -f ./shellutils/Makefile ] || exit 0; \
26347 r=`${PWD_COMMAND}`; export r; \
26348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26349 $(HOST_EXPORTS) \
26350 for flag in $(EXTRA_HOST_FLAGS) ; do \
26351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26352 done; \
26353 echo "Doing install-info in shellutils" ; \
26354 (cd $(HOST_SUBDIR)/shellutils && \
26355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26357 "RANLIB=$${RANLIB}" \
26358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26359 install-info) \
26360 || exit 1
26362 @endif shellutils
26364 .PHONY: maybe-install-html-shellutils install-html-shellutils
26365 maybe-install-html-shellutils:
26366 @if shellutils
26367 maybe-install-html-shellutils: install-html-shellutils
26369 install-html-shellutils: \
26370 configure-shellutils \
26371 html-shellutils
26372 @: $(MAKE); $(unstage)
26373 @[ -f ./shellutils/Makefile ] || exit 0; \
26374 r=`${PWD_COMMAND}`; export r; \
26375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26376 $(HOST_EXPORTS) \
26377 for flag in $(EXTRA_HOST_FLAGS) ; do \
26378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26379 done; \
26380 echo "Doing install-html in shellutils" ; \
26381 (cd $(HOST_SUBDIR)/shellutils && \
26382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26384 "RANLIB=$${RANLIB}" \
26385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26386 install-html) \
26387 || exit 1
26389 @endif shellutils
26391 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26392 maybe-installcheck-shellutils:
26393 @if shellutils
26394 maybe-installcheck-shellutils: installcheck-shellutils
26396 installcheck-shellutils: \
26397 configure-shellutils
26398 @: $(MAKE); $(unstage)
26399 @[ -f ./shellutils/Makefile ] || exit 0; \
26400 r=`${PWD_COMMAND}`; export r; \
26401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26402 $(HOST_EXPORTS) \
26403 for flag in $(EXTRA_HOST_FLAGS) ; do \
26404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26405 done; \
26406 echo "Doing installcheck in shellutils" ; \
26407 (cd $(HOST_SUBDIR)/shellutils && \
26408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26410 "RANLIB=$${RANLIB}" \
26411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26412 installcheck) \
26413 || exit 1
26415 @endif shellutils
26417 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26418 maybe-mostlyclean-shellutils:
26419 @if shellutils
26420 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26422 mostlyclean-shellutils:
26423 @: $(MAKE); $(unstage)
26424 @[ -f ./shellutils/Makefile ] || exit 0; \
26425 r=`${PWD_COMMAND}`; export r; \
26426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26427 $(HOST_EXPORTS) \
26428 for flag in $(EXTRA_HOST_FLAGS) ; do \
26429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26430 done; \
26431 echo "Doing mostlyclean in shellutils" ; \
26432 (cd $(HOST_SUBDIR)/shellutils && \
26433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26435 "RANLIB=$${RANLIB}" \
26436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26437 mostlyclean) \
26438 || exit 1
26440 @endif shellutils
26442 .PHONY: maybe-clean-shellutils clean-shellutils
26443 maybe-clean-shellutils:
26444 @if shellutils
26445 maybe-clean-shellutils: clean-shellutils
26447 clean-shellutils:
26448 @: $(MAKE); $(unstage)
26449 @[ -f ./shellutils/Makefile ] || exit 0; \
26450 r=`${PWD_COMMAND}`; export r; \
26451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26452 $(HOST_EXPORTS) \
26453 for flag in $(EXTRA_HOST_FLAGS) ; do \
26454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26455 done; \
26456 echo "Doing clean in shellutils" ; \
26457 (cd $(HOST_SUBDIR)/shellutils && \
26458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26460 "RANLIB=$${RANLIB}" \
26461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26462 clean) \
26463 || exit 1
26465 @endif shellutils
26467 .PHONY: maybe-distclean-shellutils distclean-shellutils
26468 maybe-distclean-shellutils:
26469 @if shellutils
26470 maybe-distclean-shellutils: distclean-shellutils
26472 distclean-shellutils:
26473 @: $(MAKE); $(unstage)
26474 @[ -f ./shellutils/Makefile ] || exit 0; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 $(HOST_EXPORTS) \
26478 for flag in $(EXTRA_HOST_FLAGS) ; do \
26479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26480 done; \
26481 echo "Doing distclean in shellutils" ; \
26482 (cd $(HOST_SUBDIR)/shellutils && \
26483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26485 "RANLIB=$${RANLIB}" \
26486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26487 distclean) \
26488 || exit 1
26490 @endif shellutils
26492 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26493 maybe-maintainer-clean-shellutils:
26494 @if shellutils
26495 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26497 maintainer-clean-shellutils:
26498 @: $(MAKE); $(unstage)
26499 @[ -f ./shellutils/Makefile ] || exit 0; \
26500 r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502 $(HOST_EXPORTS) \
26503 for flag in $(EXTRA_HOST_FLAGS) ; do \
26504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26505 done; \
26506 echo "Doing maintainer-clean in shellutils" ; \
26507 (cd $(HOST_SUBDIR)/shellutils && \
26508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26510 "RANLIB=$${RANLIB}" \
26511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26512 maintainer-clean) \
26513 || exit 1
26515 @endif shellutils
26519 .PHONY: configure-sid maybe-configure-sid
26520 maybe-configure-sid:
26521 @if gcc-bootstrap
26522 configure-sid: stage_current
26523 @endif gcc-bootstrap
26524 @if sid
26525 maybe-configure-sid: configure-sid
26526 configure-sid:
26527 @: $(MAKE); $(unstage)
26528 @r=`${PWD_COMMAND}`; export r; \
26529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26530 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26532 $(HOST_EXPORTS) \
26533 echo Configuring in $(HOST_SUBDIR)/sid; \
26534 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26535 case $(srcdir) in \
26536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26537 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26539 esac; \
26540 srcdiroption="--srcdir=$${topdir}/sid"; \
26541 libsrcdir="$$s/sid"; \
26542 $(SHELL) $${libsrcdir}/configure \
26543 $(HOST_CONFIGARGS) $${srcdiroption} \
26544 || exit 1
26545 @endif sid
26551 .PHONY: all-sid maybe-all-sid
26552 maybe-all-sid:
26553 @if gcc-bootstrap
26554 all-sid: stage_current
26555 @endif gcc-bootstrap
26556 @if sid
26557 TARGET-sid=all
26558 maybe-all-sid: all-sid
26559 all-sid: configure-sid
26560 @: $(MAKE); $(unstage)
26561 @r=`${PWD_COMMAND}`; export r; \
26562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26563 $(HOST_EXPORTS) \
26564 (cd $(HOST_SUBDIR)/sid && \
26565 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26566 @endif sid
26571 .PHONY: check-sid maybe-check-sid
26572 maybe-check-sid:
26573 @if sid
26574 maybe-check-sid: check-sid
26576 check-sid:
26577 @: $(MAKE); $(unstage)
26578 @r=`${PWD_COMMAND}`; export r; \
26579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26580 $(HOST_EXPORTS) \
26581 (cd $(HOST_SUBDIR)/sid && \
26582 $(MAKE) $(FLAGS_TO_PASS) check)
26584 @endif sid
26586 .PHONY: install-sid maybe-install-sid
26587 maybe-install-sid:
26588 @if sid
26589 maybe-install-sid: install-sid
26591 install-sid: installdirs
26592 @: $(MAKE); $(unstage)
26593 @r=`${PWD_COMMAND}`; export r; \
26594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595 $(HOST_EXPORTS) \
26596 (cd $(HOST_SUBDIR)/sid && \
26597 $(MAKE) $(FLAGS_TO_PASS) install)
26599 @endif sid
26601 # Other targets (info, dvi, pdf, etc.)
26603 .PHONY: maybe-info-sid info-sid
26604 maybe-info-sid:
26605 @if sid
26606 maybe-info-sid: info-sid
26608 info-sid: \
26609 configure-sid
26610 @: $(MAKE); $(unstage)
26611 @[ -f ./sid/Makefile ] || exit 0; \
26612 r=`${PWD_COMMAND}`; export r; \
26613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26614 $(HOST_EXPORTS) \
26615 for flag in $(EXTRA_HOST_FLAGS) ; do \
26616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26617 done; \
26618 echo "Doing info in sid" ; \
26619 (cd $(HOST_SUBDIR)/sid && \
26620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26622 "RANLIB=$${RANLIB}" \
26623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26624 info) \
26625 || exit 1
26627 @endif sid
26629 .PHONY: maybe-dvi-sid dvi-sid
26630 maybe-dvi-sid:
26631 @if sid
26632 maybe-dvi-sid: dvi-sid
26634 dvi-sid: \
26635 configure-sid
26636 @: $(MAKE); $(unstage)
26637 @[ -f ./sid/Makefile ] || exit 0; \
26638 r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 $(HOST_EXPORTS) \
26641 for flag in $(EXTRA_HOST_FLAGS) ; do \
26642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26643 done; \
26644 echo "Doing dvi in sid" ; \
26645 (cd $(HOST_SUBDIR)/sid && \
26646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26648 "RANLIB=$${RANLIB}" \
26649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26650 dvi) \
26651 || exit 1
26653 @endif sid
26655 .PHONY: maybe-pdf-sid pdf-sid
26656 maybe-pdf-sid:
26657 @if sid
26658 maybe-pdf-sid: pdf-sid
26660 pdf-sid: \
26661 configure-sid
26662 @: $(MAKE); $(unstage)
26663 @[ -f ./sid/Makefile ] || exit 0; \
26664 r=`${PWD_COMMAND}`; export r; \
26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(HOST_EXPORTS) \
26667 for flag in $(EXTRA_HOST_FLAGS) ; do \
26668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26669 done; \
26670 echo "Doing pdf in sid" ; \
26671 (cd $(HOST_SUBDIR)/sid && \
26672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26674 "RANLIB=$${RANLIB}" \
26675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26676 pdf) \
26677 || exit 1
26679 @endif sid
26681 .PHONY: maybe-html-sid html-sid
26682 maybe-html-sid:
26683 @if sid
26684 maybe-html-sid: html-sid
26686 html-sid: \
26687 configure-sid
26688 @: $(MAKE); $(unstage)
26689 @[ -f ./sid/Makefile ] || exit 0; \
26690 r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 $(HOST_EXPORTS) \
26693 for flag in $(EXTRA_HOST_FLAGS) ; do \
26694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26695 done; \
26696 echo "Doing html in sid" ; \
26697 (cd $(HOST_SUBDIR)/sid && \
26698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26700 "RANLIB=$${RANLIB}" \
26701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26702 html) \
26703 || exit 1
26705 @endif sid
26707 .PHONY: maybe-TAGS-sid TAGS-sid
26708 maybe-TAGS-sid:
26709 @if sid
26710 maybe-TAGS-sid: TAGS-sid
26712 TAGS-sid: \
26713 configure-sid
26714 @: $(MAKE); $(unstage)
26715 @[ -f ./sid/Makefile ] || exit 0; \
26716 r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(HOST_EXPORTS) \
26719 for flag in $(EXTRA_HOST_FLAGS) ; do \
26720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26721 done; \
26722 echo "Doing TAGS in sid" ; \
26723 (cd $(HOST_SUBDIR)/sid && \
26724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26726 "RANLIB=$${RANLIB}" \
26727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26728 TAGS) \
26729 || exit 1
26731 @endif sid
26733 .PHONY: maybe-install-info-sid install-info-sid
26734 maybe-install-info-sid:
26735 @if sid
26736 maybe-install-info-sid: install-info-sid
26738 install-info-sid: \
26739 configure-sid \
26740 info-sid
26741 @: $(MAKE); $(unstage)
26742 @[ -f ./sid/Makefile ] || exit 0; \
26743 r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 $(HOST_EXPORTS) \
26746 for flag in $(EXTRA_HOST_FLAGS) ; do \
26747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26748 done; \
26749 echo "Doing install-info in sid" ; \
26750 (cd $(HOST_SUBDIR)/sid && \
26751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26753 "RANLIB=$${RANLIB}" \
26754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26755 install-info) \
26756 || exit 1
26758 @endif sid
26760 .PHONY: maybe-install-html-sid install-html-sid
26761 maybe-install-html-sid:
26762 @if sid
26763 maybe-install-html-sid: install-html-sid
26765 install-html-sid: \
26766 configure-sid \
26767 html-sid
26768 @: $(MAKE); $(unstage)
26769 @[ -f ./sid/Makefile ] || exit 0; \
26770 r=`${PWD_COMMAND}`; export r; \
26771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26772 $(HOST_EXPORTS) \
26773 for flag in $(EXTRA_HOST_FLAGS) ; do \
26774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26775 done; \
26776 echo "Doing install-html in sid" ; \
26777 (cd $(HOST_SUBDIR)/sid && \
26778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26780 "RANLIB=$${RANLIB}" \
26781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26782 install-html) \
26783 || exit 1
26785 @endif sid
26787 .PHONY: maybe-installcheck-sid installcheck-sid
26788 maybe-installcheck-sid:
26789 @if sid
26790 maybe-installcheck-sid: installcheck-sid
26792 installcheck-sid: \
26793 configure-sid
26794 @: $(MAKE); $(unstage)
26795 @[ -f ./sid/Makefile ] || exit 0; \
26796 r=`${PWD_COMMAND}`; export r; \
26797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26798 $(HOST_EXPORTS) \
26799 for flag in $(EXTRA_HOST_FLAGS) ; do \
26800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26801 done; \
26802 echo "Doing installcheck in sid" ; \
26803 (cd $(HOST_SUBDIR)/sid && \
26804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26806 "RANLIB=$${RANLIB}" \
26807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26808 installcheck) \
26809 || exit 1
26811 @endif sid
26813 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26814 maybe-mostlyclean-sid:
26815 @if sid
26816 maybe-mostlyclean-sid: mostlyclean-sid
26818 mostlyclean-sid:
26819 @: $(MAKE); $(unstage)
26820 @[ -f ./sid/Makefile ] || exit 0; \
26821 r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 $(HOST_EXPORTS) \
26824 for flag in $(EXTRA_HOST_FLAGS) ; do \
26825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26826 done; \
26827 echo "Doing mostlyclean in sid" ; \
26828 (cd $(HOST_SUBDIR)/sid && \
26829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26831 "RANLIB=$${RANLIB}" \
26832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26833 mostlyclean) \
26834 || exit 1
26836 @endif sid
26838 .PHONY: maybe-clean-sid clean-sid
26839 maybe-clean-sid:
26840 @if sid
26841 maybe-clean-sid: clean-sid
26843 clean-sid:
26844 @: $(MAKE); $(unstage)
26845 @[ -f ./sid/Makefile ] || exit 0; \
26846 r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 $(HOST_EXPORTS) \
26849 for flag in $(EXTRA_HOST_FLAGS) ; do \
26850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26851 done; \
26852 echo "Doing clean in sid" ; \
26853 (cd $(HOST_SUBDIR)/sid && \
26854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26856 "RANLIB=$${RANLIB}" \
26857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26858 clean) \
26859 || exit 1
26861 @endif sid
26863 .PHONY: maybe-distclean-sid distclean-sid
26864 maybe-distclean-sid:
26865 @if sid
26866 maybe-distclean-sid: distclean-sid
26868 distclean-sid:
26869 @: $(MAKE); $(unstage)
26870 @[ -f ./sid/Makefile ] || exit 0; \
26871 r=`${PWD_COMMAND}`; export r; \
26872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26873 $(HOST_EXPORTS) \
26874 for flag in $(EXTRA_HOST_FLAGS) ; do \
26875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26876 done; \
26877 echo "Doing distclean in sid" ; \
26878 (cd $(HOST_SUBDIR)/sid && \
26879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26881 "RANLIB=$${RANLIB}" \
26882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26883 distclean) \
26884 || exit 1
26886 @endif sid
26888 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26889 maybe-maintainer-clean-sid:
26890 @if sid
26891 maybe-maintainer-clean-sid: maintainer-clean-sid
26893 maintainer-clean-sid:
26894 @: $(MAKE); $(unstage)
26895 @[ -f ./sid/Makefile ] || exit 0; \
26896 r=`${PWD_COMMAND}`; export r; \
26897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26898 $(HOST_EXPORTS) \
26899 for flag in $(EXTRA_HOST_FLAGS) ; do \
26900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26901 done; \
26902 echo "Doing maintainer-clean in sid" ; \
26903 (cd $(HOST_SUBDIR)/sid && \
26904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26906 "RANLIB=$${RANLIB}" \
26907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26908 maintainer-clean) \
26909 || exit 1
26911 @endif sid
26915 .PHONY: configure-sim maybe-configure-sim
26916 maybe-configure-sim:
26917 @if gcc-bootstrap
26918 configure-sim: stage_current
26919 @endif gcc-bootstrap
26920 @if sim
26921 maybe-configure-sim: configure-sim
26922 configure-sim:
26923 @: $(MAKE); $(unstage)
26924 @r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26926 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26928 $(HOST_EXPORTS) \
26929 echo Configuring in $(HOST_SUBDIR)/sim; \
26930 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26931 case $(srcdir) in \
26932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26933 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26935 esac; \
26936 srcdiroption="--srcdir=$${topdir}/sim"; \
26937 libsrcdir="$$s/sim"; \
26938 $(SHELL) $${libsrcdir}/configure \
26939 $(HOST_CONFIGARGS) $${srcdiroption} \
26940 || exit 1
26941 @endif sim
26947 .PHONY: all-sim maybe-all-sim
26948 maybe-all-sim:
26949 @if gcc-bootstrap
26950 all-sim: stage_current
26951 @endif gcc-bootstrap
26952 @if sim
26953 TARGET-sim=all
26954 maybe-all-sim: all-sim
26955 all-sim: configure-sim
26956 @: $(MAKE); $(unstage)
26957 @r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26959 $(HOST_EXPORTS) \
26960 (cd $(HOST_SUBDIR)/sim && \
26961 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26962 @endif sim
26967 .PHONY: check-sim maybe-check-sim
26968 maybe-check-sim:
26969 @if sim
26970 maybe-check-sim: check-sim
26972 check-sim:
26973 @: $(MAKE); $(unstage)
26974 @r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 (cd $(HOST_SUBDIR)/sim && \
26978 $(MAKE) $(FLAGS_TO_PASS) check)
26980 @endif sim
26982 .PHONY: install-sim maybe-install-sim
26983 maybe-install-sim:
26984 @if sim
26985 maybe-install-sim: install-sim
26987 install-sim: installdirs
26988 @: $(MAKE); $(unstage)
26989 @r=`${PWD_COMMAND}`; export r; \
26990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26991 $(HOST_EXPORTS) \
26992 (cd $(HOST_SUBDIR)/sim && \
26993 $(MAKE) $(FLAGS_TO_PASS) install)
26995 @endif sim
26997 # Other targets (info, dvi, pdf, etc.)
26999 .PHONY: maybe-info-sim info-sim
27000 maybe-info-sim:
27001 @if sim
27002 maybe-info-sim: info-sim
27004 info-sim: \
27005 configure-sim
27006 @: $(MAKE); $(unstage)
27007 @[ -f ./sim/Makefile ] || exit 0; \
27008 r=`${PWD_COMMAND}`; export r; \
27009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27010 $(HOST_EXPORTS) \
27011 for flag in $(EXTRA_HOST_FLAGS) ; do \
27012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27013 done; \
27014 echo "Doing info in sim" ; \
27015 (cd $(HOST_SUBDIR)/sim && \
27016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27018 "RANLIB=$${RANLIB}" \
27019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27020 info) \
27021 || exit 1
27023 @endif sim
27025 .PHONY: maybe-dvi-sim dvi-sim
27026 maybe-dvi-sim:
27027 @if sim
27028 maybe-dvi-sim: dvi-sim
27030 dvi-sim: \
27031 configure-sim
27032 @: $(MAKE); $(unstage)
27033 @[ -f ./sim/Makefile ] || exit 0; \
27034 r=`${PWD_COMMAND}`; export r; \
27035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27036 $(HOST_EXPORTS) \
27037 for flag in $(EXTRA_HOST_FLAGS) ; do \
27038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27039 done; \
27040 echo "Doing dvi in sim" ; \
27041 (cd $(HOST_SUBDIR)/sim && \
27042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27044 "RANLIB=$${RANLIB}" \
27045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27046 dvi) \
27047 || exit 1
27049 @endif sim
27051 .PHONY: maybe-pdf-sim pdf-sim
27052 maybe-pdf-sim:
27053 @if sim
27054 maybe-pdf-sim: pdf-sim
27056 pdf-sim: \
27057 configure-sim
27058 @: $(MAKE); $(unstage)
27059 @[ -f ./sim/Makefile ] || exit 0; \
27060 r=`${PWD_COMMAND}`; export r; \
27061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27062 $(HOST_EXPORTS) \
27063 for flag in $(EXTRA_HOST_FLAGS) ; do \
27064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27065 done; \
27066 echo "Doing pdf in sim" ; \
27067 (cd $(HOST_SUBDIR)/sim && \
27068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27070 "RANLIB=$${RANLIB}" \
27071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27072 pdf) \
27073 || exit 1
27075 @endif sim
27077 .PHONY: maybe-html-sim html-sim
27078 maybe-html-sim:
27079 @if sim
27080 maybe-html-sim: html-sim
27082 html-sim: \
27083 configure-sim
27084 @: $(MAKE); $(unstage)
27085 @[ -f ./sim/Makefile ] || exit 0; \
27086 r=`${PWD_COMMAND}`; export r; \
27087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27088 $(HOST_EXPORTS) \
27089 for flag in $(EXTRA_HOST_FLAGS) ; do \
27090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27091 done; \
27092 echo "Doing html in sim" ; \
27093 (cd $(HOST_SUBDIR)/sim && \
27094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27096 "RANLIB=$${RANLIB}" \
27097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27098 html) \
27099 || exit 1
27101 @endif sim
27103 .PHONY: maybe-TAGS-sim TAGS-sim
27104 maybe-TAGS-sim:
27105 @if sim
27106 maybe-TAGS-sim: TAGS-sim
27108 TAGS-sim: \
27109 configure-sim
27110 @: $(MAKE); $(unstage)
27111 @[ -f ./sim/Makefile ] || exit 0; \
27112 r=`${PWD_COMMAND}`; export r; \
27113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27114 $(HOST_EXPORTS) \
27115 for flag in $(EXTRA_HOST_FLAGS) ; do \
27116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27117 done; \
27118 echo "Doing TAGS in sim" ; \
27119 (cd $(HOST_SUBDIR)/sim && \
27120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27122 "RANLIB=$${RANLIB}" \
27123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27124 TAGS) \
27125 || exit 1
27127 @endif sim
27129 .PHONY: maybe-install-info-sim install-info-sim
27130 maybe-install-info-sim:
27131 @if sim
27132 maybe-install-info-sim: install-info-sim
27134 install-info-sim: \
27135 configure-sim \
27136 info-sim
27137 @: $(MAKE); $(unstage)
27138 @[ -f ./sim/Makefile ] || exit 0; \
27139 r=`${PWD_COMMAND}`; export r; \
27140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27141 $(HOST_EXPORTS) \
27142 for flag in $(EXTRA_HOST_FLAGS) ; do \
27143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27144 done; \
27145 echo "Doing install-info in sim" ; \
27146 (cd $(HOST_SUBDIR)/sim && \
27147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27149 "RANLIB=$${RANLIB}" \
27150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27151 install-info) \
27152 || exit 1
27154 @endif sim
27156 .PHONY: maybe-install-html-sim install-html-sim
27157 maybe-install-html-sim:
27158 @if sim
27159 maybe-install-html-sim: install-html-sim
27161 install-html-sim: \
27162 configure-sim \
27163 html-sim
27164 @: $(MAKE); $(unstage)
27165 @[ -f ./sim/Makefile ] || exit 0; \
27166 r=`${PWD_COMMAND}`; export r; \
27167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27168 $(HOST_EXPORTS) \
27169 for flag in $(EXTRA_HOST_FLAGS) ; do \
27170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27171 done; \
27172 echo "Doing install-html in sim" ; \
27173 (cd $(HOST_SUBDIR)/sim && \
27174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27176 "RANLIB=$${RANLIB}" \
27177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27178 install-html) \
27179 || exit 1
27181 @endif sim
27183 .PHONY: maybe-installcheck-sim installcheck-sim
27184 maybe-installcheck-sim:
27185 @if sim
27186 maybe-installcheck-sim: installcheck-sim
27188 installcheck-sim: \
27189 configure-sim
27190 @: $(MAKE); $(unstage)
27191 @[ -f ./sim/Makefile ] || exit 0; \
27192 r=`${PWD_COMMAND}`; export r; \
27193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27194 $(HOST_EXPORTS) \
27195 for flag in $(EXTRA_HOST_FLAGS) ; do \
27196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27197 done; \
27198 echo "Doing installcheck in sim" ; \
27199 (cd $(HOST_SUBDIR)/sim && \
27200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27202 "RANLIB=$${RANLIB}" \
27203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27204 installcheck) \
27205 || exit 1
27207 @endif sim
27209 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27210 maybe-mostlyclean-sim:
27211 @if sim
27212 maybe-mostlyclean-sim: mostlyclean-sim
27214 mostlyclean-sim:
27215 @: $(MAKE); $(unstage)
27216 @[ -f ./sim/Makefile ] || exit 0; \
27217 r=`${PWD_COMMAND}`; export r; \
27218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27219 $(HOST_EXPORTS) \
27220 for flag in $(EXTRA_HOST_FLAGS) ; do \
27221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27222 done; \
27223 echo "Doing mostlyclean in sim" ; \
27224 (cd $(HOST_SUBDIR)/sim && \
27225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27227 "RANLIB=$${RANLIB}" \
27228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27229 mostlyclean) \
27230 || exit 1
27232 @endif sim
27234 .PHONY: maybe-clean-sim clean-sim
27235 maybe-clean-sim:
27236 @if sim
27237 maybe-clean-sim: clean-sim
27239 clean-sim:
27240 @: $(MAKE); $(unstage)
27241 @[ -f ./sim/Makefile ] || exit 0; \
27242 r=`${PWD_COMMAND}`; export r; \
27243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27244 $(HOST_EXPORTS) \
27245 for flag in $(EXTRA_HOST_FLAGS) ; do \
27246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27247 done; \
27248 echo "Doing clean in sim" ; \
27249 (cd $(HOST_SUBDIR)/sim && \
27250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27252 "RANLIB=$${RANLIB}" \
27253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27254 clean) \
27255 || exit 1
27257 @endif sim
27259 .PHONY: maybe-distclean-sim distclean-sim
27260 maybe-distclean-sim:
27261 @if sim
27262 maybe-distclean-sim: distclean-sim
27264 distclean-sim:
27265 @: $(MAKE); $(unstage)
27266 @[ -f ./sim/Makefile ] || exit 0; \
27267 r=`${PWD_COMMAND}`; export r; \
27268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27269 $(HOST_EXPORTS) \
27270 for flag in $(EXTRA_HOST_FLAGS) ; do \
27271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27272 done; \
27273 echo "Doing distclean in sim" ; \
27274 (cd $(HOST_SUBDIR)/sim && \
27275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27277 "RANLIB=$${RANLIB}" \
27278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27279 distclean) \
27280 || exit 1
27282 @endif sim
27284 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27285 maybe-maintainer-clean-sim:
27286 @if sim
27287 maybe-maintainer-clean-sim: maintainer-clean-sim
27289 maintainer-clean-sim:
27290 @: $(MAKE); $(unstage)
27291 @[ -f ./sim/Makefile ] || exit 0; \
27292 r=`${PWD_COMMAND}`; export r; \
27293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27294 $(HOST_EXPORTS) \
27295 for flag in $(EXTRA_HOST_FLAGS) ; do \
27296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27297 done; \
27298 echo "Doing maintainer-clean in sim" ; \
27299 (cd $(HOST_SUBDIR)/sim && \
27300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27302 "RANLIB=$${RANLIB}" \
27303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27304 maintainer-clean) \
27305 || exit 1
27307 @endif sim
27311 .PHONY: configure-tar maybe-configure-tar
27312 maybe-configure-tar:
27313 @if gcc-bootstrap
27314 configure-tar: stage_current
27315 @endif gcc-bootstrap
27316 @if tar
27317 maybe-configure-tar: configure-tar
27318 configure-tar:
27319 @: $(MAKE); $(unstage)
27320 @r=`${PWD_COMMAND}`; export r; \
27321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27322 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27324 $(HOST_EXPORTS) \
27325 echo Configuring in $(HOST_SUBDIR)/tar; \
27326 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27327 case $(srcdir) in \
27328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27329 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27331 esac; \
27332 srcdiroption="--srcdir=$${topdir}/tar"; \
27333 libsrcdir="$$s/tar"; \
27334 $(SHELL) $${libsrcdir}/configure \
27335 $(HOST_CONFIGARGS) $${srcdiroption} \
27336 || exit 1
27337 @endif tar
27343 .PHONY: all-tar maybe-all-tar
27344 maybe-all-tar:
27345 @if gcc-bootstrap
27346 all-tar: stage_current
27347 @endif gcc-bootstrap
27348 @if tar
27349 TARGET-tar=all
27350 maybe-all-tar: all-tar
27351 all-tar: configure-tar
27352 @: $(MAKE); $(unstage)
27353 @r=`${PWD_COMMAND}`; export r; \
27354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27355 $(HOST_EXPORTS) \
27356 (cd $(HOST_SUBDIR)/tar && \
27357 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27358 @endif tar
27363 .PHONY: check-tar maybe-check-tar
27364 maybe-check-tar:
27365 @if tar
27366 maybe-check-tar: check-tar
27368 check-tar:
27369 @: $(MAKE); $(unstage)
27370 @r=`${PWD_COMMAND}`; export r; \
27371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27372 $(HOST_EXPORTS) \
27373 (cd $(HOST_SUBDIR)/tar && \
27374 $(MAKE) $(FLAGS_TO_PASS) check)
27376 @endif tar
27378 .PHONY: install-tar maybe-install-tar
27379 maybe-install-tar:
27380 @if tar
27381 maybe-install-tar: install-tar
27383 install-tar: installdirs
27384 @: $(MAKE); $(unstage)
27385 @r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(HOST_EXPORTS) \
27388 (cd $(HOST_SUBDIR)/tar && \
27389 $(MAKE) $(FLAGS_TO_PASS) install)
27391 @endif tar
27393 # Other targets (info, dvi, pdf, etc.)
27395 .PHONY: maybe-info-tar info-tar
27396 maybe-info-tar:
27397 @if tar
27398 maybe-info-tar: info-tar
27400 info-tar: \
27401 configure-tar
27402 @: $(MAKE); $(unstage)
27403 @[ -f ./tar/Makefile ] || exit 0; \
27404 r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(HOST_EXPORTS) \
27407 for flag in $(EXTRA_HOST_FLAGS) ; do \
27408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27409 done; \
27410 echo "Doing info in tar" ; \
27411 (cd $(HOST_SUBDIR)/tar && \
27412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27414 "RANLIB=$${RANLIB}" \
27415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27416 info) \
27417 || exit 1
27419 @endif tar
27421 .PHONY: maybe-dvi-tar dvi-tar
27422 maybe-dvi-tar:
27423 @if tar
27424 maybe-dvi-tar: dvi-tar
27426 dvi-tar: \
27427 configure-tar
27428 @: $(MAKE); $(unstage)
27429 @[ -f ./tar/Makefile ] || exit 0; \
27430 r=`${PWD_COMMAND}`; export r; \
27431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 $(HOST_EXPORTS) \
27433 for flag in $(EXTRA_HOST_FLAGS) ; do \
27434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27435 done; \
27436 echo "Doing dvi in tar" ; \
27437 (cd $(HOST_SUBDIR)/tar && \
27438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27440 "RANLIB=$${RANLIB}" \
27441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27442 dvi) \
27443 || exit 1
27445 @endif tar
27447 .PHONY: maybe-pdf-tar pdf-tar
27448 maybe-pdf-tar:
27449 @if tar
27450 maybe-pdf-tar: pdf-tar
27452 pdf-tar: \
27453 configure-tar
27454 @: $(MAKE); $(unstage)
27455 @[ -f ./tar/Makefile ] || exit 0; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(HOST_EXPORTS) \
27459 for flag in $(EXTRA_HOST_FLAGS) ; do \
27460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27461 done; \
27462 echo "Doing pdf in tar" ; \
27463 (cd $(HOST_SUBDIR)/tar && \
27464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27466 "RANLIB=$${RANLIB}" \
27467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27468 pdf) \
27469 || exit 1
27471 @endif tar
27473 .PHONY: maybe-html-tar html-tar
27474 maybe-html-tar:
27475 @if tar
27476 maybe-html-tar: html-tar
27478 html-tar: \
27479 configure-tar
27480 @: $(MAKE); $(unstage)
27481 @[ -f ./tar/Makefile ] || exit 0; \
27482 r=`${PWD_COMMAND}`; export r; \
27483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27484 $(HOST_EXPORTS) \
27485 for flag in $(EXTRA_HOST_FLAGS) ; do \
27486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27487 done; \
27488 echo "Doing html in tar" ; \
27489 (cd $(HOST_SUBDIR)/tar && \
27490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27492 "RANLIB=$${RANLIB}" \
27493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27494 html) \
27495 || exit 1
27497 @endif tar
27499 .PHONY: maybe-TAGS-tar TAGS-tar
27500 maybe-TAGS-tar:
27501 @if tar
27502 maybe-TAGS-tar: TAGS-tar
27504 TAGS-tar: \
27505 configure-tar
27506 @: $(MAKE); $(unstage)
27507 @[ -f ./tar/Makefile ] || exit 0; \
27508 r=`${PWD_COMMAND}`; export r; \
27509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27510 $(HOST_EXPORTS) \
27511 for flag in $(EXTRA_HOST_FLAGS) ; do \
27512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27513 done; \
27514 echo "Doing TAGS in tar" ; \
27515 (cd $(HOST_SUBDIR)/tar && \
27516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27518 "RANLIB=$${RANLIB}" \
27519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27520 TAGS) \
27521 || exit 1
27523 @endif tar
27525 .PHONY: maybe-install-info-tar install-info-tar
27526 maybe-install-info-tar:
27527 @if tar
27528 maybe-install-info-tar: install-info-tar
27530 install-info-tar: \
27531 configure-tar \
27532 info-tar
27533 @: $(MAKE); $(unstage)
27534 @[ -f ./tar/Makefile ] || exit 0; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 for flag in $(EXTRA_HOST_FLAGS) ; do \
27539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27540 done; \
27541 echo "Doing install-info in tar" ; \
27542 (cd $(HOST_SUBDIR)/tar && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27547 install-info) \
27548 || exit 1
27550 @endif tar
27552 .PHONY: maybe-install-html-tar install-html-tar
27553 maybe-install-html-tar:
27554 @if tar
27555 maybe-install-html-tar: install-html-tar
27557 install-html-tar: \
27558 configure-tar \
27559 html-tar
27560 @: $(MAKE); $(unstage)
27561 @[ -f ./tar/Makefile ] || exit 0; \
27562 r=`${PWD_COMMAND}`; export r; \
27563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27564 $(HOST_EXPORTS) \
27565 for flag in $(EXTRA_HOST_FLAGS) ; do \
27566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27567 done; \
27568 echo "Doing install-html in tar" ; \
27569 (cd $(HOST_SUBDIR)/tar && \
27570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27572 "RANLIB=$${RANLIB}" \
27573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27574 install-html) \
27575 || exit 1
27577 @endif tar
27579 .PHONY: maybe-installcheck-tar installcheck-tar
27580 maybe-installcheck-tar:
27581 @if tar
27582 maybe-installcheck-tar: installcheck-tar
27584 installcheck-tar: \
27585 configure-tar
27586 @: $(MAKE); $(unstage)
27587 @[ -f ./tar/Makefile ] || exit 0; \
27588 r=`${PWD_COMMAND}`; export r; \
27589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27590 $(HOST_EXPORTS) \
27591 for flag in $(EXTRA_HOST_FLAGS) ; do \
27592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27593 done; \
27594 echo "Doing installcheck in tar" ; \
27595 (cd $(HOST_SUBDIR)/tar && \
27596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27598 "RANLIB=$${RANLIB}" \
27599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27600 installcheck) \
27601 || exit 1
27603 @endif tar
27605 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27606 maybe-mostlyclean-tar:
27607 @if tar
27608 maybe-mostlyclean-tar: mostlyclean-tar
27610 mostlyclean-tar:
27611 @: $(MAKE); $(unstage)
27612 @[ -f ./tar/Makefile ] || exit 0; \
27613 r=`${PWD_COMMAND}`; export r; \
27614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27615 $(HOST_EXPORTS) \
27616 for flag in $(EXTRA_HOST_FLAGS) ; do \
27617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27618 done; \
27619 echo "Doing mostlyclean in tar" ; \
27620 (cd $(HOST_SUBDIR)/tar && \
27621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27623 "RANLIB=$${RANLIB}" \
27624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27625 mostlyclean) \
27626 || exit 1
27628 @endif tar
27630 .PHONY: maybe-clean-tar clean-tar
27631 maybe-clean-tar:
27632 @if tar
27633 maybe-clean-tar: clean-tar
27635 clean-tar:
27636 @: $(MAKE); $(unstage)
27637 @[ -f ./tar/Makefile ] || exit 0; \
27638 r=`${PWD_COMMAND}`; export r; \
27639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27640 $(HOST_EXPORTS) \
27641 for flag in $(EXTRA_HOST_FLAGS) ; do \
27642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27643 done; \
27644 echo "Doing clean in tar" ; \
27645 (cd $(HOST_SUBDIR)/tar && \
27646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27648 "RANLIB=$${RANLIB}" \
27649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27650 clean) \
27651 || exit 1
27653 @endif tar
27655 .PHONY: maybe-distclean-tar distclean-tar
27656 maybe-distclean-tar:
27657 @if tar
27658 maybe-distclean-tar: distclean-tar
27660 distclean-tar:
27661 @: $(MAKE); $(unstage)
27662 @[ -f ./tar/Makefile ] || exit 0; \
27663 r=`${PWD_COMMAND}`; export r; \
27664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27665 $(HOST_EXPORTS) \
27666 for flag in $(EXTRA_HOST_FLAGS) ; do \
27667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27668 done; \
27669 echo "Doing distclean in tar" ; \
27670 (cd $(HOST_SUBDIR)/tar && \
27671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27673 "RANLIB=$${RANLIB}" \
27674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27675 distclean) \
27676 || exit 1
27678 @endif tar
27680 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27681 maybe-maintainer-clean-tar:
27682 @if tar
27683 maybe-maintainer-clean-tar: maintainer-clean-tar
27685 maintainer-clean-tar:
27686 @: $(MAKE); $(unstage)
27687 @[ -f ./tar/Makefile ] || exit 0; \
27688 r=`${PWD_COMMAND}`; export r; \
27689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27690 $(HOST_EXPORTS) \
27691 for flag in $(EXTRA_HOST_FLAGS) ; do \
27692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27693 done; \
27694 echo "Doing maintainer-clean in tar" ; \
27695 (cd $(HOST_SUBDIR)/tar && \
27696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27698 "RANLIB=$${RANLIB}" \
27699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27700 maintainer-clean) \
27701 || exit 1
27703 @endif tar
27707 .PHONY: configure-texinfo maybe-configure-texinfo
27708 maybe-configure-texinfo:
27709 @if gcc-bootstrap
27710 configure-texinfo: stage_current
27711 @endif gcc-bootstrap
27712 @if texinfo
27713 maybe-configure-texinfo: configure-texinfo
27714 configure-texinfo:
27715 @: $(MAKE); $(unstage)
27716 @r=`${PWD_COMMAND}`; export r; \
27717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27718 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27720 $(HOST_EXPORTS) \
27721 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27722 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27723 case $(srcdir) in \
27724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27725 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27727 esac; \
27728 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27729 libsrcdir="$$s/texinfo"; \
27730 $(SHELL) $${libsrcdir}/configure \
27731 $(HOST_CONFIGARGS) $${srcdiroption} \
27732 || exit 1
27733 @endif texinfo
27739 .PHONY: all-texinfo maybe-all-texinfo
27740 maybe-all-texinfo:
27741 @if gcc-bootstrap
27742 all-texinfo: stage_current
27743 @endif gcc-bootstrap
27744 @if texinfo
27745 TARGET-texinfo=all
27746 maybe-all-texinfo: all-texinfo
27747 all-texinfo: configure-texinfo
27748 @: $(MAKE); $(unstage)
27749 @r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751 $(HOST_EXPORTS) \
27752 (cd $(HOST_SUBDIR)/texinfo && \
27753 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27754 @endif texinfo
27759 .PHONY: check-texinfo maybe-check-texinfo
27760 maybe-check-texinfo:
27761 @if texinfo
27762 maybe-check-texinfo: check-texinfo
27764 check-texinfo:
27765 @: $(MAKE); $(unstage)
27766 @r=`${PWD_COMMAND}`; export r; \
27767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27768 $(HOST_EXPORTS) \
27769 (cd $(HOST_SUBDIR)/texinfo && \
27770 $(MAKE) $(FLAGS_TO_PASS) check)
27772 @endif texinfo
27774 .PHONY: install-texinfo maybe-install-texinfo
27775 maybe-install-texinfo:
27776 @if texinfo
27777 maybe-install-texinfo: install-texinfo
27779 install-texinfo:
27781 @endif texinfo
27783 # Other targets (info, dvi, pdf, etc.)
27785 .PHONY: maybe-info-texinfo info-texinfo
27786 maybe-info-texinfo:
27787 @if texinfo
27788 maybe-info-texinfo: info-texinfo
27790 info-texinfo: \
27791 configure-texinfo
27792 @: $(MAKE); $(unstage)
27793 @[ -f ./texinfo/Makefile ] || exit 0; \
27794 r=`${PWD_COMMAND}`; export r; \
27795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27796 $(HOST_EXPORTS) \
27797 for flag in $(EXTRA_HOST_FLAGS) ; do \
27798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27799 done; \
27800 echo "Doing info in texinfo" ; \
27801 (cd $(HOST_SUBDIR)/texinfo && \
27802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27804 "RANLIB=$${RANLIB}" \
27805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27806 info) \
27807 || exit 1
27809 @endif texinfo
27811 .PHONY: maybe-dvi-texinfo dvi-texinfo
27812 maybe-dvi-texinfo:
27813 @if texinfo
27814 maybe-dvi-texinfo: dvi-texinfo
27816 dvi-texinfo: \
27817 configure-texinfo
27818 @: $(MAKE); $(unstage)
27819 @[ -f ./texinfo/Makefile ] || exit 0; \
27820 r=`${PWD_COMMAND}`; export r; \
27821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27822 $(HOST_EXPORTS) \
27823 for flag in $(EXTRA_HOST_FLAGS) ; do \
27824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27825 done; \
27826 echo "Doing dvi in texinfo" ; \
27827 (cd $(HOST_SUBDIR)/texinfo && \
27828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27830 "RANLIB=$${RANLIB}" \
27831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27832 dvi) \
27833 || exit 1
27835 @endif texinfo
27837 .PHONY: maybe-pdf-texinfo pdf-texinfo
27838 maybe-pdf-texinfo:
27839 @if texinfo
27840 maybe-pdf-texinfo: pdf-texinfo
27842 pdf-texinfo: \
27843 configure-texinfo
27844 @: $(MAKE); $(unstage)
27845 @[ -f ./texinfo/Makefile ] || exit 0; \
27846 r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 $(HOST_EXPORTS) \
27849 for flag in $(EXTRA_HOST_FLAGS) ; do \
27850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27851 done; \
27852 echo "Doing pdf in texinfo" ; \
27853 (cd $(HOST_SUBDIR)/texinfo && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27858 pdf) \
27859 || exit 1
27861 @endif texinfo
27863 .PHONY: maybe-html-texinfo html-texinfo
27864 maybe-html-texinfo:
27865 @if texinfo
27866 maybe-html-texinfo: html-texinfo
27868 html-texinfo: \
27869 configure-texinfo
27870 @: $(MAKE); $(unstage)
27871 @[ -f ./texinfo/Makefile ] || exit 0; \
27872 r=`${PWD_COMMAND}`; export r; \
27873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27874 $(HOST_EXPORTS) \
27875 for flag in $(EXTRA_HOST_FLAGS) ; do \
27876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27877 done; \
27878 echo "Doing html in texinfo" ; \
27879 (cd $(HOST_SUBDIR)/texinfo && \
27880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27882 "RANLIB=$${RANLIB}" \
27883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27884 html) \
27885 || exit 1
27887 @endif texinfo
27889 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27890 maybe-TAGS-texinfo:
27891 @if texinfo
27892 maybe-TAGS-texinfo: TAGS-texinfo
27894 TAGS-texinfo: \
27895 configure-texinfo
27896 @: $(MAKE); $(unstage)
27897 @[ -f ./texinfo/Makefile ] || exit 0; \
27898 r=`${PWD_COMMAND}`; export r; \
27899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27900 $(HOST_EXPORTS) \
27901 for flag in $(EXTRA_HOST_FLAGS) ; do \
27902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27903 done; \
27904 echo "Doing TAGS in texinfo" ; \
27905 (cd $(HOST_SUBDIR)/texinfo && \
27906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27908 "RANLIB=$${RANLIB}" \
27909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27910 TAGS) \
27911 || exit 1
27913 @endif texinfo
27915 .PHONY: maybe-install-info-texinfo install-info-texinfo
27916 maybe-install-info-texinfo:
27917 @if texinfo
27918 maybe-install-info-texinfo: install-info-texinfo
27920 install-info-texinfo: \
27921 configure-texinfo \
27922 info-texinfo
27923 @: $(MAKE); $(unstage)
27924 @[ -f ./texinfo/Makefile ] || exit 0; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(HOST_EXPORTS) \
27928 for flag in $(EXTRA_HOST_FLAGS) ; do \
27929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27930 done; \
27931 echo "Doing install-info in texinfo" ; \
27932 (cd $(HOST_SUBDIR)/texinfo && \
27933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27935 "RANLIB=$${RANLIB}" \
27936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27937 install-info) \
27938 || exit 1
27940 @endif texinfo
27942 .PHONY: maybe-install-html-texinfo install-html-texinfo
27943 maybe-install-html-texinfo:
27944 @if texinfo
27945 maybe-install-html-texinfo: install-html-texinfo
27947 install-html-texinfo: \
27948 configure-texinfo \
27949 html-texinfo
27950 @: $(MAKE); $(unstage)
27951 @[ -f ./texinfo/Makefile ] || exit 0; \
27952 r=`${PWD_COMMAND}`; export r; \
27953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27954 $(HOST_EXPORTS) \
27955 for flag in $(EXTRA_HOST_FLAGS) ; do \
27956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27957 done; \
27958 echo "Doing install-html in texinfo" ; \
27959 (cd $(HOST_SUBDIR)/texinfo && \
27960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27962 "RANLIB=$${RANLIB}" \
27963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27964 install-html) \
27965 || exit 1
27967 @endif texinfo
27969 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27970 maybe-installcheck-texinfo:
27971 @if texinfo
27972 maybe-installcheck-texinfo: installcheck-texinfo
27974 installcheck-texinfo: \
27975 configure-texinfo
27976 @: $(MAKE); $(unstage)
27977 @[ -f ./texinfo/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27980 $(HOST_EXPORTS) \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27983 done; \
27984 echo "Doing installcheck in texinfo" ; \
27985 (cd $(HOST_SUBDIR)/texinfo && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27990 installcheck) \
27991 || exit 1
27993 @endif texinfo
27995 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27996 maybe-mostlyclean-texinfo:
27997 @if texinfo
27998 maybe-mostlyclean-texinfo: mostlyclean-texinfo
28000 mostlyclean-texinfo:
28001 @: $(MAKE); $(unstage)
28002 @[ -f ./texinfo/Makefile ] || exit 0; \
28003 r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 $(HOST_EXPORTS) \
28006 for flag in $(EXTRA_HOST_FLAGS) ; do \
28007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28008 done; \
28009 echo "Doing mostlyclean in texinfo" ; \
28010 (cd $(HOST_SUBDIR)/texinfo && \
28011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28013 "RANLIB=$${RANLIB}" \
28014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28015 mostlyclean) \
28016 || exit 1
28018 @endif texinfo
28020 .PHONY: maybe-clean-texinfo clean-texinfo
28021 maybe-clean-texinfo:
28022 @if texinfo
28023 maybe-clean-texinfo: clean-texinfo
28025 clean-texinfo:
28026 @: $(MAKE); $(unstage)
28027 @[ -f ./texinfo/Makefile ] || exit 0; \
28028 r=`${PWD_COMMAND}`; export r; \
28029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28030 $(HOST_EXPORTS) \
28031 for flag in $(EXTRA_HOST_FLAGS) ; do \
28032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28033 done; \
28034 echo "Doing clean in texinfo" ; \
28035 (cd $(HOST_SUBDIR)/texinfo && \
28036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28038 "RANLIB=$${RANLIB}" \
28039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28040 clean) \
28041 || exit 1
28043 @endif texinfo
28045 .PHONY: maybe-distclean-texinfo distclean-texinfo
28046 maybe-distclean-texinfo:
28047 @if texinfo
28048 maybe-distclean-texinfo: distclean-texinfo
28050 distclean-texinfo:
28051 @: $(MAKE); $(unstage)
28052 @[ -f ./texinfo/Makefile ] || exit 0; \
28053 r=`${PWD_COMMAND}`; export r; \
28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28055 $(HOST_EXPORTS) \
28056 for flag in $(EXTRA_HOST_FLAGS) ; do \
28057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28058 done; \
28059 echo "Doing distclean in texinfo" ; \
28060 (cd $(HOST_SUBDIR)/texinfo && \
28061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28063 "RANLIB=$${RANLIB}" \
28064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28065 distclean) \
28066 || exit 1
28068 @endif texinfo
28070 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
28071 maybe-maintainer-clean-texinfo:
28072 @if texinfo
28073 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
28075 maintainer-clean-texinfo:
28076 @: $(MAKE); $(unstage)
28077 @[ -f ./texinfo/Makefile ] || exit 0; \
28078 r=`${PWD_COMMAND}`; export r; \
28079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28080 $(HOST_EXPORTS) \
28081 for flag in $(EXTRA_HOST_FLAGS) ; do \
28082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28083 done; \
28084 echo "Doing maintainer-clean in texinfo" ; \
28085 (cd $(HOST_SUBDIR)/texinfo && \
28086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28088 "RANLIB=$${RANLIB}" \
28089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28090 maintainer-clean) \
28091 || exit 1
28093 @endif texinfo
28097 .PHONY: configure-textutils maybe-configure-textutils
28098 maybe-configure-textutils:
28099 @if gcc-bootstrap
28100 configure-textutils: stage_current
28101 @endif gcc-bootstrap
28102 @if textutils
28103 maybe-configure-textutils: configure-textutils
28104 configure-textutils:
28105 @: $(MAKE); $(unstage)
28106 @r=`${PWD_COMMAND}`; export r; \
28107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28108 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
28109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
28110 $(HOST_EXPORTS) \
28111 echo Configuring in $(HOST_SUBDIR)/textutils; \
28112 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
28113 case $(srcdir) in \
28114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28115 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
28116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28117 esac; \
28118 srcdiroption="--srcdir=$${topdir}/textutils"; \
28119 libsrcdir="$$s/textutils"; \
28120 $(SHELL) $${libsrcdir}/configure \
28121 $(HOST_CONFIGARGS) $${srcdiroption} \
28122 || exit 1
28123 @endif textutils
28129 .PHONY: all-textutils maybe-all-textutils
28130 maybe-all-textutils:
28131 @if gcc-bootstrap
28132 all-textutils: stage_current
28133 @endif gcc-bootstrap
28134 @if textutils
28135 TARGET-textutils=all
28136 maybe-all-textutils: all-textutils
28137 all-textutils: configure-textutils
28138 @: $(MAKE); $(unstage)
28139 @r=`${PWD_COMMAND}`; export r; \
28140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28141 $(HOST_EXPORTS) \
28142 (cd $(HOST_SUBDIR)/textutils && \
28143 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
28144 @endif textutils
28149 .PHONY: check-textutils maybe-check-textutils
28150 maybe-check-textutils:
28151 @if textutils
28152 maybe-check-textutils: check-textutils
28154 check-textutils:
28155 @: $(MAKE); $(unstage)
28156 @r=`${PWD_COMMAND}`; export r; \
28157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28158 $(HOST_EXPORTS) \
28159 (cd $(HOST_SUBDIR)/textutils && \
28160 $(MAKE) $(FLAGS_TO_PASS) check)
28162 @endif textutils
28164 .PHONY: install-textutils maybe-install-textutils
28165 maybe-install-textutils:
28166 @if textutils
28167 maybe-install-textutils: install-textutils
28169 install-textutils: installdirs
28170 @: $(MAKE); $(unstage)
28171 @r=`${PWD_COMMAND}`; export r; \
28172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28173 $(HOST_EXPORTS) \
28174 (cd $(HOST_SUBDIR)/textutils && \
28175 $(MAKE) $(FLAGS_TO_PASS) install)
28177 @endif textutils
28179 # Other targets (info, dvi, pdf, etc.)
28181 .PHONY: maybe-info-textutils info-textutils
28182 maybe-info-textutils:
28183 @if textutils
28184 maybe-info-textutils: info-textutils
28186 info-textutils: \
28187 configure-textutils
28188 @: $(MAKE); $(unstage)
28189 @[ -f ./textutils/Makefile ] || exit 0; \
28190 r=`${PWD_COMMAND}`; export r; \
28191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28192 $(HOST_EXPORTS) \
28193 for flag in $(EXTRA_HOST_FLAGS) ; do \
28194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28195 done; \
28196 echo "Doing info in textutils" ; \
28197 (cd $(HOST_SUBDIR)/textutils && \
28198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28200 "RANLIB=$${RANLIB}" \
28201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28202 info) \
28203 || exit 1
28205 @endif textutils
28207 .PHONY: maybe-dvi-textutils dvi-textutils
28208 maybe-dvi-textutils:
28209 @if textutils
28210 maybe-dvi-textutils: dvi-textutils
28212 dvi-textutils: \
28213 configure-textutils
28214 @: $(MAKE); $(unstage)
28215 @[ -f ./textutils/Makefile ] || exit 0; \
28216 r=`${PWD_COMMAND}`; export r; \
28217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28218 $(HOST_EXPORTS) \
28219 for flag in $(EXTRA_HOST_FLAGS) ; do \
28220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28221 done; \
28222 echo "Doing dvi in textutils" ; \
28223 (cd $(HOST_SUBDIR)/textutils && \
28224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28226 "RANLIB=$${RANLIB}" \
28227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28228 dvi) \
28229 || exit 1
28231 @endif textutils
28233 .PHONY: maybe-pdf-textutils pdf-textutils
28234 maybe-pdf-textutils:
28235 @if textutils
28236 maybe-pdf-textutils: pdf-textutils
28238 pdf-textutils: \
28239 configure-textutils
28240 @: $(MAKE); $(unstage)
28241 @[ -f ./textutils/Makefile ] || exit 0; \
28242 r=`${PWD_COMMAND}`; export r; \
28243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28244 $(HOST_EXPORTS) \
28245 for flag in $(EXTRA_HOST_FLAGS) ; do \
28246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28247 done; \
28248 echo "Doing pdf in textutils" ; \
28249 (cd $(HOST_SUBDIR)/textutils && \
28250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28252 "RANLIB=$${RANLIB}" \
28253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28254 pdf) \
28255 || exit 1
28257 @endif textutils
28259 .PHONY: maybe-html-textutils html-textutils
28260 maybe-html-textutils:
28261 @if textutils
28262 maybe-html-textutils: html-textutils
28264 html-textutils: \
28265 configure-textutils
28266 @: $(MAKE); $(unstage)
28267 @[ -f ./textutils/Makefile ] || exit 0; \
28268 r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 $(HOST_EXPORTS) \
28271 for flag in $(EXTRA_HOST_FLAGS) ; do \
28272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28273 done; \
28274 echo "Doing html in textutils" ; \
28275 (cd $(HOST_SUBDIR)/textutils && \
28276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28278 "RANLIB=$${RANLIB}" \
28279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28280 html) \
28281 || exit 1
28283 @endif textutils
28285 .PHONY: maybe-TAGS-textutils TAGS-textutils
28286 maybe-TAGS-textutils:
28287 @if textutils
28288 maybe-TAGS-textutils: TAGS-textutils
28290 TAGS-textutils: \
28291 configure-textutils
28292 @: $(MAKE); $(unstage)
28293 @[ -f ./textutils/Makefile ] || exit 0; \
28294 r=`${PWD_COMMAND}`; export r; \
28295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28296 $(HOST_EXPORTS) \
28297 for flag in $(EXTRA_HOST_FLAGS) ; do \
28298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28299 done; \
28300 echo "Doing TAGS in textutils" ; \
28301 (cd $(HOST_SUBDIR)/textutils && \
28302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28304 "RANLIB=$${RANLIB}" \
28305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28306 TAGS) \
28307 || exit 1
28309 @endif textutils
28311 .PHONY: maybe-install-info-textutils install-info-textutils
28312 maybe-install-info-textutils:
28313 @if textutils
28314 maybe-install-info-textutils: install-info-textutils
28316 install-info-textutils: \
28317 configure-textutils \
28318 info-textutils
28319 @: $(MAKE); $(unstage)
28320 @[ -f ./textutils/Makefile ] || exit 0; \
28321 r=`${PWD_COMMAND}`; export r; \
28322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323 $(HOST_EXPORTS) \
28324 for flag in $(EXTRA_HOST_FLAGS) ; do \
28325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28326 done; \
28327 echo "Doing install-info in textutils" ; \
28328 (cd $(HOST_SUBDIR)/textutils && \
28329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28331 "RANLIB=$${RANLIB}" \
28332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28333 install-info) \
28334 || exit 1
28336 @endif textutils
28338 .PHONY: maybe-install-html-textutils install-html-textutils
28339 maybe-install-html-textutils:
28340 @if textutils
28341 maybe-install-html-textutils: install-html-textutils
28343 install-html-textutils: \
28344 configure-textutils \
28345 html-textutils
28346 @: $(MAKE); $(unstage)
28347 @[ -f ./textutils/Makefile ] || exit 0; \
28348 r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(HOST_EXPORTS) \
28351 for flag in $(EXTRA_HOST_FLAGS) ; do \
28352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28353 done; \
28354 echo "Doing install-html in textutils" ; \
28355 (cd $(HOST_SUBDIR)/textutils && \
28356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28358 "RANLIB=$${RANLIB}" \
28359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28360 install-html) \
28361 || exit 1
28363 @endif textutils
28365 .PHONY: maybe-installcheck-textutils installcheck-textutils
28366 maybe-installcheck-textutils:
28367 @if textutils
28368 maybe-installcheck-textutils: installcheck-textutils
28370 installcheck-textutils: \
28371 configure-textutils
28372 @: $(MAKE); $(unstage)
28373 @[ -f ./textutils/Makefile ] || exit 0; \
28374 r=`${PWD_COMMAND}`; export r; \
28375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28376 $(HOST_EXPORTS) \
28377 for flag in $(EXTRA_HOST_FLAGS) ; do \
28378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28379 done; \
28380 echo "Doing installcheck in textutils" ; \
28381 (cd $(HOST_SUBDIR)/textutils && \
28382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28384 "RANLIB=$${RANLIB}" \
28385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28386 installcheck) \
28387 || exit 1
28389 @endif textutils
28391 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28392 maybe-mostlyclean-textutils:
28393 @if textutils
28394 maybe-mostlyclean-textutils: mostlyclean-textutils
28396 mostlyclean-textutils:
28397 @: $(MAKE); $(unstage)
28398 @[ -f ./textutils/Makefile ] || exit 0; \
28399 r=`${PWD_COMMAND}`; export r; \
28400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28401 $(HOST_EXPORTS) \
28402 for flag in $(EXTRA_HOST_FLAGS) ; do \
28403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28404 done; \
28405 echo "Doing mostlyclean in textutils" ; \
28406 (cd $(HOST_SUBDIR)/textutils && \
28407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28409 "RANLIB=$${RANLIB}" \
28410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28411 mostlyclean) \
28412 || exit 1
28414 @endif textutils
28416 .PHONY: maybe-clean-textutils clean-textutils
28417 maybe-clean-textutils:
28418 @if textutils
28419 maybe-clean-textutils: clean-textutils
28421 clean-textutils:
28422 @: $(MAKE); $(unstage)
28423 @[ -f ./textutils/Makefile ] || exit 0; \
28424 r=`${PWD_COMMAND}`; export r; \
28425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28426 $(HOST_EXPORTS) \
28427 for flag in $(EXTRA_HOST_FLAGS) ; do \
28428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28429 done; \
28430 echo "Doing clean in textutils" ; \
28431 (cd $(HOST_SUBDIR)/textutils && \
28432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28434 "RANLIB=$${RANLIB}" \
28435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28436 clean) \
28437 || exit 1
28439 @endif textutils
28441 .PHONY: maybe-distclean-textutils distclean-textutils
28442 maybe-distclean-textutils:
28443 @if textutils
28444 maybe-distclean-textutils: distclean-textutils
28446 distclean-textutils:
28447 @: $(MAKE); $(unstage)
28448 @[ -f ./textutils/Makefile ] || exit 0; \
28449 r=`${PWD_COMMAND}`; export r; \
28450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 $(HOST_EXPORTS) \
28452 for flag in $(EXTRA_HOST_FLAGS) ; do \
28453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28454 done; \
28455 echo "Doing distclean in textutils" ; \
28456 (cd $(HOST_SUBDIR)/textutils && \
28457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28459 "RANLIB=$${RANLIB}" \
28460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28461 distclean) \
28462 || exit 1
28464 @endif textutils
28466 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28467 maybe-maintainer-clean-textutils:
28468 @if textutils
28469 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28471 maintainer-clean-textutils:
28472 @: $(MAKE); $(unstage)
28473 @[ -f ./textutils/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 for flag in $(EXTRA_HOST_FLAGS) ; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28479 done; \
28480 echo "Doing maintainer-clean in textutils" ; \
28481 (cd $(HOST_SUBDIR)/textutils && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28486 maintainer-clean) \
28487 || exit 1
28489 @endif textutils
28493 .PHONY: configure-time maybe-configure-time
28494 maybe-configure-time:
28495 @if gcc-bootstrap
28496 configure-time: stage_current
28497 @endif gcc-bootstrap
28498 @if time
28499 maybe-configure-time: configure-time
28500 configure-time:
28501 @: $(MAKE); $(unstage)
28502 @r=`${PWD_COMMAND}`; export r; \
28503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28504 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28506 $(HOST_EXPORTS) \
28507 echo Configuring in $(HOST_SUBDIR)/time; \
28508 cd "$(HOST_SUBDIR)/time" || exit 1; \
28509 case $(srcdir) in \
28510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28511 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28513 esac; \
28514 srcdiroption="--srcdir=$${topdir}/time"; \
28515 libsrcdir="$$s/time"; \
28516 $(SHELL) $${libsrcdir}/configure \
28517 $(HOST_CONFIGARGS) $${srcdiroption} \
28518 || exit 1
28519 @endif time
28525 .PHONY: all-time maybe-all-time
28526 maybe-all-time:
28527 @if gcc-bootstrap
28528 all-time: stage_current
28529 @endif gcc-bootstrap
28530 @if time
28531 TARGET-time=all
28532 maybe-all-time: all-time
28533 all-time: configure-time
28534 @: $(MAKE); $(unstage)
28535 @r=`${PWD_COMMAND}`; export r; \
28536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28537 $(HOST_EXPORTS) \
28538 (cd $(HOST_SUBDIR)/time && \
28539 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28540 @endif time
28545 .PHONY: check-time maybe-check-time
28546 maybe-check-time:
28547 @if time
28548 maybe-check-time: check-time
28550 check-time:
28551 @: $(MAKE); $(unstage)
28552 @r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 (cd $(HOST_SUBDIR)/time && \
28556 $(MAKE) $(FLAGS_TO_PASS) check)
28558 @endif time
28560 .PHONY: install-time maybe-install-time
28561 maybe-install-time:
28562 @if time
28563 maybe-install-time: install-time
28565 install-time: installdirs
28566 @: $(MAKE); $(unstage)
28567 @r=`${PWD_COMMAND}`; export r; \
28568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28569 $(HOST_EXPORTS) \
28570 (cd $(HOST_SUBDIR)/time && \
28571 $(MAKE) $(FLAGS_TO_PASS) install)
28573 @endif time
28575 # Other targets (info, dvi, pdf, etc.)
28577 .PHONY: maybe-info-time info-time
28578 maybe-info-time:
28579 @if time
28580 maybe-info-time: info-time
28582 info-time: \
28583 configure-time
28584 @: $(MAKE); $(unstage)
28585 @[ -f ./time/Makefile ] || exit 0; \
28586 r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 $(HOST_EXPORTS) \
28589 for flag in $(EXTRA_HOST_FLAGS) ; do \
28590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28591 done; \
28592 echo "Doing info in time" ; \
28593 (cd $(HOST_SUBDIR)/time && \
28594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28596 "RANLIB=$${RANLIB}" \
28597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28598 info) \
28599 || exit 1
28601 @endif time
28603 .PHONY: maybe-dvi-time dvi-time
28604 maybe-dvi-time:
28605 @if time
28606 maybe-dvi-time: dvi-time
28608 dvi-time: \
28609 configure-time
28610 @: $(MAKE); $(unstage)
28611 @[ -f ./time/Makefile ] || exit 0; \
28612 r=`${PWD_COMMAND}`; export r; \
28613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28614 $(HOST_EXPORTS) \
28615 for flag in $(EXTRA_HOST_FLAGS) ; do \
28616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28617 done; \
28618 echo "Doing dvi in time" ; \
28619 (cd $(HOST_SUBDIR)/time && \
28620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28622 "RANLIB=$${RANLIB}" \
28623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28624 dvi) \
28625 || exit 1
28627 @endif time
28629 .PHONY: maybe-pdf-time pdf-time
28630 maybe-pdf-time:
28631 @if time
28632 maybe-pdf-time: pdf-time
28634 pdf-time: \
28635 configure-time
28636 @: $(MAKE); $(unstage)
28637 @[ -f ./time/Makefile ] || exit 0; \
28638 r=`${PWD_COMMAND}`; export r; \
28639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28640 $(HOST_EXPORTS) \
28641 for flag in $(EXTRA_HOST_FLAGS) ; do \
28642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28643 done; \
28644 echo "Doing pdf in time" ; \
28645 (cd $(HOST_SUBDIR)/time && \
28646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28648 "RANLIB=$${RANLIB}" \
28649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28650 pdf) \
28651 || exit 1
28653 @endif time
28655 .PHONY: maybe-html-time html-time
28656 maybe-html-time:
28657 @if time
28658 maybe-html-time: html-time
28660 html-time: \
28661 configure-time
28662 @: $(MAKE); $(unstage)
28663 @[ -f ./time/Makefile ] || exit 0; \
28664 r=`${PWD_COMMAND}`; export r; \
28665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28666 $(HOST_EXPORTS) \
28667 for flag in $(EXTRA_HOST_FLAGS) ; do \
28668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28669 done; \
28670 echo "Doing html in time" ; \
28671 (cd $(HOST_SUBDIR)/time && \
28672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28674 "RANLIB=$${RANLIB}" \
28675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28676 html) \
28677 || exit 1
28679 @endif time
28681 .PHONY: maybe-TAGS-time TAGS-time
28682 maybe-TAGS-time:
28683 @if time
28684 maybe-TAGS-time: TAGS-time
28686 TAGS-time: \
28687 configure-time
28688 @: $(MAKE); $(unstage)
28689 @[ -f ./time/Makefile ] || exit 0; \
28690 r=`${PWD_COMMAND}`; export r; \
28691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28692 $(HOST_EXPORTS) \
28693 for flag in $(EXTRA_HOST_FLAGS) ; do \
28694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28695 done; \
28696 echo "Doing TAGS in time" ; \
28697 (cd $(HOST_SUBDIR)/time && \
28698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28700 "RANLIB=$${RANLIB}" \
28701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28702 TAGS) \
28703 || exit 1
28705 @endif time
28707 .PHONY: maybe-install-info-time install-info-time
28708 maybe-install-info-time:
28709 @if time
28710 maybe-install-info-time: install-info-time
28712 install-info-time: \
28713 configure-time \
28714 info-time
28715 @: $(MAKE); $(unstage)
28716 @[ -f ./time/Makefile ] || exit 0; \
28717 r=`${PWD_COMMAND}`; export r; \
28718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28719 $(HOST_EXPORTS) \
28720 for flag in $(EXTRA_HOST_FLAGS) ; do \
28721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28722 done; \
28723 echo "Doing install-info in time" ; \
28724 (cd $(HOST_SUBDIR)/time && \
28725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28727 "RANLIB=$${RANLIB}" \
28728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28729 install-info) \
28730 || exit 1
28732 @endif time
28734 .PHONY: maybe-install-html-time install-html-time
28735 maybe-install-html-time:
28736 @if time
28737 maybe-install-html-time: install-html-time
28739 install-html-time: \
28740 configure-time \
28741 html-time
28742 @: $(MAKE); $(unstage)
28743 @[ -f ./time/Makefile ] || exit 0; \
28744 r=`${PWD_COMMAND}`; export r; \
28745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28746 $(HOST_EXPORTS) \
28747 for flag in $(EXTRA_HOST_FLAGS) ; do \
28748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28749 done; \
28750 echo "Doing install-html in time" ; \
28751 (cd $(HOST_SUBDIR)/time && \
28752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28754 "RANLIB=$${RANLIB}" \
28755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28756 install-html) \
28757 || exit 1
28759 @endif time
28761 .PHONY: maybe-installcheck-time installcheck-time
28762 maybe-installcheck-time:
28763 @if time
28764 maybe-installcheck-time: installcheck-time
28766 installcheck-time: \
28767 configure-time
28768 @: $(MAKE); $(unstage)
28769 @[ -f ./time/Makefile ] || exit 0; \
28770 r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(HOST_EXPORTS) \
28773 for flag in $(EXTRA_HOST_FLAGS) ; do \
28774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28775 done; \
28776 echo "Doing installcheck in time" ; \
28777 (cd $(HOST_SUBDIR)/time && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28782 installcheck) \
28783 || exit 1
28785 @endif time
28787 .PHONY: maybe-mostlyclean-time mostlyclean-time
28788 maybe-mostlyclean-time:
28789 @if time
28790 maybe-mostlyclean-time: mostlyclean-time
28792 mostlyclean-time:
28793 @: $(MAKE); $(unstage)
28794 @[ -f ./time/Makefile ] || exit 0; \
28795 r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28797 $(HOST_EXPORTS) \
28798 for flag in $(EXTRA_HOST_FLAGS) ; do \
28799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28800 done; \
28801 echo "Doing mostlyclean in time" ; \
28802 (cd $(HOST_SUBDIR)/time && \
28803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28805 "RANLIB=$${RANLIB}" \
28806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28807 mostlyclean) \
28808 || exit 1
28810 @endif time
28812 .PHONY: maybe-clean-time clean-time
28813 maybe-clean-time:
28814 @if time
28815 maybe-clean-time: clean-time
28817 clean-time:
28818 @: $(MAKE); $(unstage)
28819 @[ -f ./time/Makefile ] || exit 0; \
28820 r=`${PWD_COMMAND}`; export r; \
28821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28822 $(HOST_EXPORTS) \
28823 for flag in $(EXTRA_HOST_FLAGS) ; do \
28824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28825 done; \
28826 echo "Doing clean in time" ; \
28827 (cd $(HOST_SUBDIR)/time && \
28828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28830 "RANLIB=$${RANLIB}" \
28831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28832 clean) \
28833 || exit 1
28835 @endif time
28837 .PHONY: maybe-distclean-time distclean-time
28838 maybe-distclean-time:
28839 @if time
28840 maybe-distclean-time: distclean-time
28842 distclean-time:
28843 @: $(MAKE); $(unstage)
28844 @[ -f ./time/Makefile ] || exit 0; \
28845 r=`${PWD_COMMAND}`; export r; \
28846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28847 $(HOST_EXPORTS) \
28848 for flag in $(EXTRA_HOST_FLAGS) ; do \
28849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28850 done; \
28851 echo "Doing distclean in time" ; \
28852 (cd $(HOST_SUBDIR)/time && \
28853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28855 "RANLIB=$${RANLIB}" \
28856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28857 distclean) \
28858 || exit 1
28860 @endif time
28862 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28863 maybe-maintainer-clean-time:
28864 @if time
28865 maybe-maintainer-clean-time: maintainer-clean-time
28867 maintainer-clean-time:
28868 @: $(MAKE); $(unstage)
28869 @[ -f ./time/Makefile ] || exit 0; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(HOST_EXPORTS) \
28873 for flag in $(EXTRA_HOST_FLAGS) ; do \
28874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28875 done; \
28876 echo "Doing maintainer-clean in time" ; \
28877 (cd $(HOST_SUBDIR)/time && \
28878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28880 "RANLIB=$${RANLIB}" \
28881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28882 maintainer-clean) \
28883 || exit 1
28885 @endif time
28889 .PHONY: configure-uudecode maybe-configure-uudecode
28890 maybe-configure-uudecode:
28891 @if gcc-bootstrap
28892 configure-uudecode: stage_current
28893 @endif gcc-bootstrap
28894 @if uudecode
28895 maybe-configure-uudecode: configure-uudecode
28896 configure-uudecode:
28897 @: $(MAKE); $(unstage)
28898 @r=`${PWD_COMMAND}`; export r; \
28899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28900 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28902 $(HOST_EXPORTS) \
28903 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28904 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28905 case $(srcdir) in \
28906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28907 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28909 esac; \
28910 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28911 libsrcdir="$$s/uudecode"; \
28912 $(SHELL) $${libsrcdir}/configure \
28913 $(HOST_CONFIGARGS) $${srcdiroption} \
28914 || exit 1
28915 @endif uudecode
28921 .PHONY: all-uudecode maybe-all-uudecode
28922 maybe-all-uudecode:
28923 @if gcc-bootstrap
28924 all-uudecode: stage_current
28925 @endif gcc-bootstrap
28926 @if uudecode
28927 TARGET-uudecode=all
28928 maybe-all-uudecode: all-uudecode
28929 all-uudecode: configure-uudecode
28930 @: $(MAKE); $(unstage)
28931 @r=`${PWD_COMMAND}`; export r; \
28932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28933 $(HOST_EXPORTS) \
28934 (cd $(HOST_SUBDIR)/uudecode && \
28935 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28936 @endif uudecode
28941 .PHONY: check-uudecode maybe-check-uudecode
28942 maybe-check-uudecode:
28943 @if uudecode
28944 maybe-check-uudecode: check-uudecode
28946 check-uudecode:
28947 @: $(MAKE); $(unstage)
28948 @r=`${PWD_COMMAND}`; export r; \
28949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28950 $(HOST_EXPORTS) \
28951 (cd $(HOST_SUBDIR)/uudecode && \
28952 $(MAKE) $(FLAGS_TO_PASS) check)
28954 @endif uudecode
28956 .PHONY: install-uudecode maybe-install-uudecode
28957 maybe-install-uudecode:
28958 @if uudecode
28959 maybe-install-uudecode: install-uudecode
28961 install-uudecode: installdirs
28962 @: $(MAKE); $(unstage)
28963 @r=`${PWD_COMMAND}`; export r; \
28964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28965 $(HOST_EXPORTS) \
28966 (cd $(HOST_SUBDIR)/uudecode && \
28967 $(MAKE) $(FLAGS_TO_PASS) install)
28969 @endif uudecode
28971 # Other targets (info, dvi, pdf, etc.)
28973 .PHONY: maybe-info-uudecode info-uudecode
28974 maybe-info-uudecode:
28975 @if uudecode
28976 maybe-info-uudecode: info-uudecode
28978 info-uudecode: \
28979 configure-uudecode
28980 @: $(MAKE); $(unstage)
28981 @[ -f ./uudecode/Makefile ] || exit 0; \
28982 r=`${PWD_COMMAND}`; export r; \
28983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28984 $(HOST_EXPORTS) \
28985 for flag in $(EXTRA_HOST_FLAGS) ; do \
28986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28987 done; \
28988 echo "Doing info in uudecode" ; \
28989 (cd $(HOST_SUBDIR)/uudecode && \
28990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28992 "RANLIB=$${RANLIB}" \
28993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28994 info) \
28995 || exit 1
28997 @endif uudecode
28999 .PHONY: maybe-dvi-uudecode dvi-uudecode
29000 maybe-dvi-uudecode:
29001 @if uudecode
29002 maybe-dvi-uudecode: dvi-uudecode
29004 dvi-uudecode: \
29005 configure-uudecode
29006 @: $(MAKE); $(unstage)
29007 @[ -f ./uudecode/Makefile ] || exit 0; \
29008 r=`${PWD_COMMAND}`; export r; \
29009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29010 $(HOST_EXPORTS) \
29011 for flag in $(EXTRA_HOST_FLAGS) ; do \
29012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29013 done; \
29014 echo "Doing dvi in uudecode" ; \
29015 (cd $(HOST_SUBDIR)/uudecode && \
29016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29018 "RANLIB=$${RANLIB}" \
29019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29020 dvi) \
29021 || exit 1
29023 @endif uudecode
29025 .PHONY: maybe-pdf-uudecode pdf-uudecode
29026 maybe-pdf-uudecode:
29027 @if uudecode
29028 maybe-pdf-uudecode: pdf-uudecode
29030 pdf-uudecode: \
29031 configure-uudecode
29032 @: $(MAKE); $(unstage)
29033 @[ -f ./uudecode/Makefile ] || exit 0; \
29034 r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29036 $(HOST_EXPORTS) \
29037 for flag in $(EXTRA_HOST_FLAGS) ; do \
29038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29039 done; \
29040 echo "Doing pdf in uudecode" ; \
29041 (cd $(HOST_SUBDIR)/uudecode && \
29042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29044 "RANLIB=$${RANLIB}" \
29045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29046 pdf) \
29047 || exit 1
29049 @endif uudecode
29051 .PHONY: maybe-html-uudecode html-uudecode
29052 maybe-html-uudecode:
29053 @if uudecode
29054 maybe-html-uudecode: html-uudecode
29056 html-uudecode: \
29057 configure-uudecode
29058 @: $(MAKE); $(unstage)
29059 @[ -f ./uudecode/Makefile ] || exit 0; \
29060 r=`${PWD_COMMAND}`; export r; \
29061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29062 $(HOST_EXPORTS) \
29063 for flag in $(EXTRA_HOST_FLAGS) ; do \
29064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29065 done; \
29066 echo "Doing html in uudecode" ; \
29067 (cd $(HOST_SUBDIR)/uudecode && \
29068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29070 "RANLIB=$${RANLIB}" \
29071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29072 html) \
29073 || exit 1
29075 @endif uudecode
29077 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
29078 maybe-TAGS-uudecode:
29079 @if uudecode
29080 maybe-TAGS-uudecode: TAGS-uudecode
29082 TAGS-uudecode: \
29083 configure-uudecode
29084 @: $(MAKE); $(unstage)
29085 @[ -f ./uudecode/Makefile ] || exit 0; \
29086 r=`${PWD_COMMAND}`; export r; \
29087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29088 $(HOST_EXPORTS) \
29089 for flag in $(EXTRA_HOST_FLAGS) ; do \
29090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29091 done; \
29092 echo "Doing TAGS in uudecode" ; \
29093 (cd $(HOST_SUBDIR)/uudecode && \
29094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29096 "RANLIB=$${RANLIB}" \
29097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29098 TAGS) \
29099 || exit 1
29101 @endif uudecode
29103 .PHONY: maybe-install-info-uudecode install-info-uudecode
29104 maybe-install-info-uudecode:
29105 @if uudecode
29106 maybe-install-info-uudecode: install-info-uudecode
29108 install-info-uudecode: \
29109 configure-uudecode \
29110 info-uudecode
29111 @: $(MAKE); $(unstage)
29112 @[ -f ./uudecode/Makefile ] || exit 0; \
29113 r=`${PWD_COMMAND}`; export r; \
29114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29115 $(HOST_EXPORTS) \
29116 for flag in $(EXTRA_HOST_FLAGS) ; do \
29117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29118 done; \
29119 echo "Doing install-info in uudecode" ; \
29120 (cd $(HOST_SUBDIR)/uudecode && \
29121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29123 "RANLIB=$${RANLIB}" \
29124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29125 install-info) \
29126 || exit 1
29128 @endif uudecode
29130 .PHONY: maybe-install-html-uudecode install-html-uudecode
29131 maybe-install-html-uudecode:
29132 @if uudecode
29133 maybe-install-html-uudecode: install-html-uudecode
29135 install-html-uudecode: \
29136 configure-uudecode \
29137 html-uudecode
29138 @: $(MAKE); $(unstage)
29139 @[ -f ./uudecode/Makefile ] || exit 0; \
29140 r=`${PWD_COMMAND}`; export r; \
29141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29142 $(HOST_EXPORTS) \
29143 for flag in $(EXTRA_HOST_FLAGS) ; do \
29144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29145 done; \
29146 echo "Doing install-html in uudecode" ; \
29147 (cd $(HOST_SUBDIR)/uudecode && \
29148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29150 "RANLIB=$${RANLIB}" \
29151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29152 install-html) \
29153 || exit 1
29155 @endif uudecode
29157 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
29158 maybe-installcheck-uudecode:
29159 @if uudecode
29160 maybe-installcheck-uudecode: installcheck-uudecode
29162 installcheck-uudecode: \
29163 configure-uudecode
29164 @: $(MAKE); $(unstage)
29165 @[ -f ./uudecode/Makefile ] || exit 0; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(HOST_EXPORTS) \
29169 for flag in $(EXTRA_HOST_FLAGS) ; do \
29170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29171 done; \
29172 echo "Doing installcheck in uudecode" ; \
29173 (cd $(HOST_SUBDIR)/uudecode && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29178 installcheck) \
29179 || exit 1
29181 @endif uudecode
29183 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
29184 maybe-mostlyclean-uudecode:
29185 @if uudecode
29186 maybe-mostlyclean-uudecode: mostlyclean-uudecode
29188 mostlyclean-uudecode:
29189 @: $(MAKE); $(unstage)
29190 @[ -f ./uudecode/Makefile ] || exit 0; \
29191 r=`${PWD_COMMAND}`; export r; \
29192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29193 $(HOST_EXPORTS) \
29194 for flag in $(EXTRA_HOST_FLAGS) ; do \
29195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29196 done; \
29197 echo "Doing mostlyclean in uudecode" ; \
29198 (cd $(HOST_SUBDIR)/uudecode && \
29199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29201 "RANLIB=$${RANLIB}" \
29202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29203 mostlyclean) \
29204 || exit 1
29206 @endif uudecode
29208 .PHONY: maybe-clean-uudecode clean-uudecode
29209 maybe-clean-uudecode:
29210 @if uudecode
29211 maybe-clean-uudecode: clean-uudecode
29213 clean-uudecode:
29214 @: $(MAKE); $(unstage)
29215 @[ -f ./uudecode/Makefile ] || exit 0; \
29216 r=`${PWD_COMMAND}`; export r; \
29217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29218 $(HOST_EXPORTS) \
29219 for flag in $(EXTRA_HOST_FLAGS) ; do \
29220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29221 done; \
29222 echo "Doing clean in uudecode" ; \
29223 (cd $(HOST_SUBDIR)/uudecode && \
29224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29226 "RANLIB=$${RANLIB}" \
29227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29228 clean) \
29229 || exit 1
29231 @endif uudecode
29233 .PHONY: maybe-distclean-uudecode distclean-uudecode
29234 maybe-distclean-uudecode:
29235 @if uudecode
29236 maybe-distclean-uudecode: distclean-uudecode
29238 distclean-uudecode:
29239 @: $(MAKE); $(unstage)
29240 @[ -f ./uudecode/Makefile ] || exit 0; \
29241 r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(HOST_EXPORTS) \
29244 for flag in $(EXTRA_HOST_FLAGS) ; do \
29245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29246 done; \
29247 echo "Doing distclean in uudecode" ; \
29248 (cd $(HOST_SUBDIR)/uudecode && \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29251 "RANLIB=$${RANLIB}" \
29252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29253 distclean) \
29254 || exit 1
29256 @endif uudecode
29258 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29259 maybe-maintainer-clean-uudecode:
29260 @if uudecode
29261 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29263 maintainer-clean-uudecode:
29264 @: $(MAKE); $(unstage)
29265 @[ -f ./uudecode/Makefile ] || exit 0; \
29266 r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 $(HOST_EXPORTS) \
29269 for flag in $(EXTRA_HOST_FLAGS) ; do \
29270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29271 done; \
29272 echo "Doing maintainer-clean in uudecode" ; \
29273 (cd $(HOST_SUBDIR)/uudecode && \
29274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29276 "RANLIB=$${RANLIB}" \
29277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29278 maintainer-clean) \
29279 || exit 1
29281 @endif uudecode
29285 .PHONY: configure-wdiff maybe-configure-wdiff
29286 maybe-configure-wdiff:
29287 @if gcc-bootstrap
29288 configure-wdiff: stage_current
29289 @endif gcc-bootstrap
29290 @if wdiff
29291 maybe-configure-wdiff: configure-wdiff
29292 configure-wdiff:
29293 @: $(MAKE); $(unstage)
29294 @r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29298 $(HOST_EXPORTS) \
29299 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29300 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29301 case $(srcdir) in \
29302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29303 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29305 esac; \
29306 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29307 libsrcdir="$$s/wdiff"; \
29308 $(SHELL) $${libsrcdir}/configure \
29309 $(HOST_CONFIGARGS) $${srcdiroption} \
29310 || exit 1
29311 @endif wdiff
29317 .PHONY: all-wdiff maybe-all-wdiff
29318 maybe-all-wdiff:
29319 @if gcc-bootstrap
29320 all-wdiff: stage_current
29321 @endif gcc-bootstrap
29322 @if wdiff
29323 TARGET-wdiff=all
29324 maybe-all-wdiff: all-wdiff
29325 all-wdiff: configure-wdiff
29326 @: $(MAKE); $(unstage)
29327 @r=`${PWD_COMMAND}`; export r; \
29328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29329 $(HOST_EXPORTS) \
29330 (cd $(HOST_SUBDIR)/wdiff && \
29331 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29332 @endif wdiff
29337 .PHONY: check-wdiff maybe-check-wdiff
29338 maybe-check-wdiff:
29339 @if wdiff
29340 maybe-check-wdiff: check-wdiff
29342 check-wdiff:
29343 @: $(MAKE); $(unstage)
29344 @r=`${PWD_COMMAND}`; export r; \
29345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29346 $(HOST_EXPORTS) \
29347 (cd $(HOST_SUBDIR)/wdiff && \
29348 $(MAKE) $(FLAGS_TO_PASS) check)
29350 @endif wdiff
29352 .PHONY: install-wdiff maybe-install-wdiff
29353 maybe-install-wdiff:
29354 @if wdiff
29355 maybe-install-wdiff: install-wdiff
29357 install-wdiff: installdirs
29358 @: $(MAKE); $(unstage)
29359 @r=`${PWD_COMMAND}`; export r; \
29360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29361 $(HOST_EXPORTS) \
29362 (cd $(HOST_SUBDIR)/wdiff && \
29363 $(MAKE) $(FLAGS_TO_PASS) install)
29365 @endif wdiff
29367 # Other targets (info, dvi, pdf, etc.)
29369 .PHONY: maybe-info-wdiff info-wdiff
29370 maybe-info-wdiff:
29371 @if wdiff
29372 maybe-info-wdiff: info-wdiff
29374 info-wdiff: \
29375 configure-wdiff
29376 @: $(MAKE); $(unstage)
29377 @[ -f ./wdiff/Makefile ] || exit 0; \
29378 r=`${PWD_COMMAND}`; export r; \
29379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29380 $(HOST_EXPORTS) \
29381 for flag in $(EXTRA_HOST_FLAGS) ; do \
29382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29383 done; \
29384 echo "Doing info in wdiff" ; \
29385 (cd $(HOST_SUBDIR)/wdiff && \
29386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29388 "RANLIB=$${RANLIB}" \
29389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29390 info) \
29391 || exit 1
29393 @endif wdiff
29395 .PHONY: maybe-dvi-wdiff dvi-wdiff
29396 maybe-dvi-wdiff:
29397 @if wdiff
29398 maybe-dvi-wdiff: dvi-wdiff
29400 dvi-wdiff: \
29401 configure-wdiff
29402 @: $(MAKE); $(unstage)
29403 @[ -f ./wdiff/Makefile ] || exit 0; \
29404 r=`${PWD_COMMAND}`; export r; \
29405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29406 $(HOST_EXPORTS) \
29407 for flag in $(EXTRA_HOST_FLAGS) ; do \
29408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29409 done; \
29410 echo "Doing dvi in wdiff" ; \
29411 (cd $(HOST_SUBDIR)/wdiff && \
29412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29414 "RANLIB=$${RANLIB}" \
29415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29416 dvi) \
29417 || exit 1
29419 @endif wdiff
29421 .PHONY: maybe-pdf-wdiff pdf-wdiff
29422 maybe-pdf-wdiff:
29423 @if wdiff
29424 maybe-pdf-wdiff: pdf-wdiff
29426 pdf-wdiff: \
29427 configure-wdiff
29428 @: $(MAKE); $(unstage)
29429 @[ -f ./wdiff/Makefile ] || exit 0; \
29430 r=`${PWD_COMMAND}`; export r; \
29431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29432 $(HOST_EXPORTS) \
29433 for flag in $(EXTRA_HOST_FLAGS) ; do \
29434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29435 done; \
29436 echo "Doing pdf in wdiff" ; \
29437 (cd $(HOST_SUBDIR)/wdiff && \
29438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29440 "RANLIB=$${RANLIB}" \
29441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29442 pdf) \
29443 || exit 1
29445 @endif wdiff
29447 .PHONY: maybe-html-wdiff html-wdiff
29448 maybe-html-wdiff:
29449 @if wdiff
29450 maybe-html-wdiff: html-wdiff
29452 html-wdiff: \
29453 configure-wdiff
29454 @: $(MAKE); $(unstage)
29455 @[ -f ./wdiff/Makefile ] || exit 0; \
29456 r=`${PWD_COMMAND}`; export r; \
29457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29458 $(HOST_EXPORTS) \
29459 for flag in $(EXTRA_HOST_FLAGS) ; do \
29460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29461 done; \
29462 echo "Doing html in wdiff" ; \
29463 (cd $(HOST_SUBDIR)/wdiff && \
29464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29466 "RANLIB=$${RANLIB}" \
29467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29468 html) \
29469 || exit 1
29471 @endif wdiff
29473 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29474 maybe-TAGS-wdiff:
29475 @if wdiff
29476 maybe-TAGS-wdiff: TAGS-wdiff
29478 TAGS-wdiff: \
29479 configure-wdiff
29480 @: $(MAKE); $(unstage)
29481 @[ -f ./wdiff/Makefile ] || exit 0; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(HOST_EXPORTS) \
29485 for flag in $(EXTRA_HOST_FLAGS) ; do \
29486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29487 done; \
29488 echo "Doing TAGS in wdiff" ; \
29489 (cd $(HOST_SUBDIR)/wdiff && \
29490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29492 "RANLIB=$${RANLIB}" \
29493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29494 TAGS) \
29495 || exit 1
29497 @endif wdiff
29499 .PHONY: maybe-install-info-wdiff install-info-wdiff
29500 maybe-install-info-wdiff:
29501 @if wdiff
29502 maybe-install-info-wdiff: install-info-wdiff
29504 install-info-wdiff: \
29505 configure-wdiff \
29506 info-wdiff
29507 @: $(MAKE); $(unstage)
29508 @[ -f ./wdiff/Makefile ] || exit 0; \
29509 r=`${PWD_COMMAND}`; export r; \
29510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29511 $(HOST_EXPORTS) \
29512 for flag in $(EXTRA_HOST_FLAGS) ; do \
29513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29514 done; \
29515 echo "Doing install-info in wdiff" ; \
29516 (cd $(HOST_SUBDIR)/wdiff && \
29517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29519 "RANLIB=$${RANLIB}" \
29520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29521 install-info) \
29522 || exit 1
29524 @endif wdiff
29526 .PHONY: maybe-install-html-wdiff install-html-wdiff
29527 maybe-install-html-wdiff:
29528 @if wdiff
29529 maybe-install-html-wdiff: install-html-wdiff
29531 install-html-wdiff: \
29532 configure-wdiff \
29533 html-wdiff
29534 @: $(MAKE); $(unstage)
29535 @[ -f ./wdiff/Makefile ] || exit 0; \
29536 r=`${PWD_COMMAND}`; export r; \
29537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29538 $(HOST_EXPORTS) \
29539 for flag in $(EXTRA_HOST_FLAGS) ; do \
29540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29541 done; \
29542 echo "Doing install-html in wdiff" ; \
29543 (cd $(HOST_SUBDIR)/wdiff && \
29544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29546 "RANLIB=$${RANLIB}" \
29547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29548 install-html) \
29549 || exit 1
29551 @endif wdiff
29553 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29554 maybe-installcheck-wdiff:
29555 @if wdiff
29556 maybe-installcheck-wdiff: installcheck-wdiff
29558 installcheck-wdiff: \
29559 configure-wdiff
29560 @: $(MAKE); $(unstage)
29561 @[ -f ./wdiff/Makefile ] || exit 0; \
29562 r=`${PWD_COMMAND}`; export r; \
29563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29564 $(HOST_EXPORTS) \
29565 for flag in $(EXTRA_HOST_FLAGS) ; do \
29566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29567 done; \
29568 echo "Doing installcheck in wdiff" ; \
29569 (cd $(HOST_SUBDIR)/wdiff && \
29570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29572 "RANLIB=$${RANLIB}" \
29573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29574 installcheck) \
29575 || exit 1
29577 @endif wdiff
29579 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29580 maybe-mostlyclean-wdiff:
29581 @if wdiff
29582 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29584 mostlyclean-wdiff:
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./wdiff/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(HOST_EXPORTS) \
29590 for flag in $(EXTRA_HOST_FLAGS) ; do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 echo "Doing mostlyclean in wdiff" ; \
29594 (cd $(HOST_SUBDIR)/wdiff && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29599 mostlyclean) \
29600 || exit 1
29602 @endif wdiff
29604 .PHONY: maybe-clean-wdiff clean-wdiff
29605 maybe-clean-wdiff:
29606 @if wdiff
29607 maybe-clean-wdiff: clean-wdiff
29609 clean-wdiff:
29610 @: $(MAKE); $(unstage)
29611 @[ -f ./wdiff/Makefile ] || exit 0; \
29612 r=`${PWD_COMMAND}`; export r; \
29613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29614 $(HOST_EXPORTS) \
29615 for flag in $(EXTRA_HOST_FLAGS) ; do \
29616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29617 done; \
29618 echo "Doing clean in wdiff" ; \
29619 (cd $(HOST_SUBDIR)/wdiff && \
29620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29622 "RANLIB=$${RANLIB}" \
29623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29624 clean) \
29625 || exit 1
29627 @endif wdiff
29629 .PHONY: maybe-distclean-wdiff distclean-wdiff
29630 maybe-distclean-wdiff:
29631 @if wdiff
29632 maybe-distclean-wdiff: distclean-wdiff
29634 distclean-wdiff:
29635 @: $(MAKE); $(unstage)
29636 @[ -f ./wdiff/Makefile ] || exit 0; \
29637 r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 for flag in $(EXTRA_HOST_FLAGS) ; do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29642 done; \
29643 echo "Doing distclean in wdiff" ; \
29644 (cd $(HOST_SUBDIR)/wdiff && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29649 distclean) \
29650 || exit 1
29652 @endif wdiff
29654 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29655 maybe-maintainer-clean-wdiff:
29656 @if wdiff
29657 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29659 maintainer-clean-wdiff:
29660 @: $(MAKE); $(unstage)
29661 @[ -f ./wdiff/Makefile ] || exit 0; \
29662 r=`${PWD_COMMAND}`; export r; \
29663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29664 $(HOST_EXPORTS) \
29665 for flag in $(EXTRA_HOST_FLAGS) ; do \
29666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29667 done; \
29668 echo "Doing maintainer-clean in wdiff" ; \
29669 (cd $(HOST_SUBDIR)/wdiff && \
29670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29672 "RANLIB=$${RANLIB}" \
29673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29674 maintainer-clean) \
29675 || exit 1
29677 @endif wdiff
29681 .PHONY: configure-zip maybe-configure-zip
29682 maybe-configure-zip:
29683 @if gcc-bootstrap
29684 configure-zip: stage_current
29685 @endif gcc-bootstrap
29686 @if zip
29687 maybe-configure-zip: configure-zip
29688 configure-zip:
29689 @: $(MAKE); $(unstage)
29690 @r=`${PWD_COMMAND}`; export r; \
29691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29692 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29694 $(HOST_EXPORTS) \
29695 echo Configuring in $(HOST_SUBDIR)/zip; \
29696 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29697 case $(srcdir) in \
29698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29699 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29701 esac; \
29702 srcdiroption="--srcdir=$${topdir}/zip"; \
29703 libsrcdir="$$s/zip"; \
29704 $(SHELL) $${libsrcdir}/configure \
29705 $(HOST_CONFIGARGS) $${srcdiroption} \
29706 || exit 1
29707 @endif zip
29713 .PHONY: all-zip maybe-all-zip
29714 maybe-all-zip:
29715 @if gcc-bootstrap
29716 all-zip: stage_current
29717 @endif gcc-bootstrap
29718 @if zip
29719 TARGET-zip=all
29720 maybe-all-zip: all-zip
29721 all-zip: configure-zip
29722 @: $(MAKE); $(unstage)
29723 @r=`${PWD_COMMAND}`; export r; \
29724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29725 $(HOST_EXPORTS) \
29726 (cd $(HOST_SUBDIR)/zip && \
29727 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29728 @endif zip
29733 .PHONY: check-zip maybe-check-zip
29734 maybe-check-zip:
29735 @if zip
29736 maybe-check-zip: check-zip
29738 # This module is only tested in a native toolchain.
29739 check-zip:
29740 @: $(MAKE); $(unstage)
29741 @if [ '$(host)' = '$(target)' ] ; then \
29742 r=`${PWD_COMMAND}`; export r; \
29743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29744 $(HOST_EXPORTS) \
29745 (cd $(HOST_SUBDIR)/zip && \
29746 $(MAKE) $(FLAGS_TO_PASS) check); \
29749 @endif zip
29751 .PHONY: install-zip maybe-install-zip
29752 maybe-install-zip:
29753 @if zip
29754 maybe-install-zip: install-zip
29756 install-zip: installdirs
29757 @: $(MAKE); $(unstage)
29758 @r=`${PWD_COMMAND}`; export r; \
29759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29760 $(HOST_EXPORTS) \
29761 (cd $(HOST_SUBDIR)/zip && \
29762 $(MAKE) $(FLAGS_TO_PASS) install)
29764 @endif zip
29766 # Other targets (info, dvi, pdf, etc.)
29768 .PHONY: maybe-info-zip info-zip
29769 maybe-info-zip:
29770 @if zip
29771 maybe-info-zip: info-zip
29773 info-zip: \
29774 configure-zip
29775 @: $(MAKE); $(unstage)
29776 @[ -f ./zip/Makefile ] || exit 0; \
29777 r=`${PWD_COMMAND}`; export r; \
29778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29779 $(HOST_EXPORTS) \
29780 for flag in $(EXTRA_HOST_FLAGS) ; do \
29781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29782 done; \
29783 echo "Doing info in zip" ; \
29784 (cd $(HOST_SUBDIR)/zip && \
29785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29787 "RANLIB=$${RANLIB}" \
29788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29789 info) \
29790 || exit 1
29792 @endif zip
29794 .PHONY: maybe-dvi-zip dvi-zip
29795 maybe-dvi-zip:
29796 @if zip
29797 maybe-dvi-zip: dvi-zip
29799 dvi-zip: \
29800 configure-zip
29801 @: $(MAKE); $(unstage)
29802 @[ -f ./zip/Makefile ] || exit 0; \
29803 r=`${PWD_COMMAND}`; export r; \
29804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29805 $(HOST_EXPORTS) \
29806 for flag in $(EXTRA_HOST_FLAGS) ; do \
29807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29808 done; \
29809 echo "Doing dvi in zip" ; \
29810 (cd $(HOST_SUBDIR)/zip && \
29811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29813 "RANLIB=$${RANLIB}" \
29814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29815 dvi) \
29816 || exit 1
29818 @endif zip
29820 .PHONY: maybe-pdf-zip pdf-zip
29821 maybe-pdf-zip:
29822 @if zip
29823 maybe-pdf-zip: pdf-zip
29825 pdf-zip: \
29826 configure-zip
29827 @: $(MAKE); $(unstage)
29828 @[ -f ./zip/Makefile ] || exit 0; \
29829 r=`${PWD_COMMAND}`; export r; \
29830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29831 $(HOST_EXPORTS) \
29832 for flag in $(EXTRA_HOST_FLAGS) ; do \
29833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29834 done; \
29835 echo "Doing pdf in zip" ; \
29836 (cd $(HOST_SUBDIR)/zip && \
29837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29839 "RANLIB=$${RANLIB}" \
29840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29841 pdf) \
29842 || exit 1
29844 @endif zip
29846 .PHONY: maybe-html-zip html-zip
29847 maybe-html-zip:
29848 @if zip
29849 maybe-html-zip: html-zip
29851 html-zip: \
29852 configure-zip
29853 @: $(MAKE); $(unstage)
29854 @[ -f ./zip/Makefile ] || exit 0; \
29855 r=`${PWD_COMMAND}`; export r; \
29856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29857 $(HOST_EXPORTS) \
29858 for flag in $(EXTRA_HOST_FLAGS) ; do \
29859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29860 done; \
29861 echo "Doing html in zip" ; \
29862 (cd $(HOST_SUBDIR)/zip && \
29863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29865 "RANLIB=$${RANLIB}" \
29866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29867 html) \
29868 || exit 1
29870 @endif zip
29872 .PHONY: maybe-TAGS-zip TAGS-zip
29873 maybe-TAGS-zip:
29874 @if zip
29875 maybe-TAGS-zip: TAGS-zip
29877 TAGS-zip: \
29878 configure-zip
29879 @: $(MAKE); $(unstage)
29880 @[ -f ./zip/Makefile ] || exit 0; \
29881 r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 $(HOST_EXPORTS) \
29884 for flag in $(EXTRA_HOST_FLAGS) ; do \
29885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29886 done; \
29887 echo "Doing TAGS in zip" ; \
29888 (cd $(HOST_SUBDIR)/zip && \
29889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29891 "RANLIB=$${RANLIB}" \
29892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29893 TAGS) \
29894 || exit 1
29896 @endif zip
29898 .PHONY: maybe-install-info-zip install-info-zip
29899 maybe-install-info-zip:
29900 @if zip
29901 maybe-install-info-zip: install-info-zip
29903 install-info-zip: \
29904 configure-zip \
29905 info-zip
29906 @: $(MAKE); $(unstage)
29907 @[ -f ./zip/Makefile ] || exit 0; \
29908 r=`${PWD_COMMAND}`; export r; \
29909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29910 $(HOST_EXPORTS) \
29911 for flag in $(EXTRA_HOST_FLAGS) ; do \
29912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29913 done; \
29914 echo "Doing install-info in zip" ; \
29915 (cd $(HOST_SUBDIR)/zip && \
29916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29918 "RANLIB=$${RANLIB}" \
29919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29920 install-info) \
29921 || exit 1
29923 @endif zip
29925 .PHONY: maybe-install-html-zip install-html-zip
29926 maybe-install-html-zip:
29927 @if zip
29928 maybe-install-html-zip: install-html-zip
29930 install-html-zip: \
29931 configure-zip \
29932 html-zip
29933 @: $(MAKE); $(unstage)
29934 @[ -f ./zip/Makefile ] || exit 0; \
29935 r=`${PWD_COMMAND}`; export r; \
29936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29937 $(HOST_EXPORTS) \
29938 for flag in $(EXTRA_HOST_FLAGS) ; do \
29939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29940 done; \
29941 echo "Doing install-html in zip" ; \
29942 (cd $(HOST_SUBDIR)/zip && \
29943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29945 "RANLIB=$${RANLIB}" \
29946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29947 install-html) \
29948 || exit 1
29950 @endif zip
29952 .PHONY: maybe-installcheck-zip installcheck-zip
29953 maybe-installcheck-zip:
29954 @if zip
29955 maybe-installcheck-zip: installcheck-zip
29957 installcheck-zip: \
29958 configure-zip
29959 @: $(MAKE); $(unstage)
29960 @[ -f ./zip/Makefile ] || exit 0; \
29961 r=`${PWD_COMMAND}`; export r; \
29962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29963 $(HOST_EXPORTS) \
29964 for flag in $(EXTRA_HOST_FLAGS) ; do \
29965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29966 done; \
29967 echo "Doing installcheck in zip" ; \
29968 (cd $(HOST_SUBDIR)/zip && \
29969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29971 "RANLIB=$${RANLIB}" \
29972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29973 installcheck) \
29974 || exit 1
29976 @endif zip
29978 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29979 maybe-mostlyclean-zip:
29980 @if zip
29981 maybe-mostlyclean-zip: mostlyclean-zip
29983 mostlyclean-zip:
29984 @: $(MAKE); $(unstage)
29985 @[ -f ./zip/Makefile ] || exit 0; \
29986 r=`${PWD_COMMAND}`; export r; \
29987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29988 $(HOST_EXPORTS) \
29989 for flag in $(EXTRA_HOST_FLAGS) ; do \
29990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29991 done; \
29992 echo "Doing mostlyclean in zip" ; \
29993 (cd $(HOST_SUBDIR)/zip && \
29994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29996 "RANLIB=$${RANLIB}" \
29997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29998 mostlyclean) \
29999 || exit 1
30001 @endif zip
30003 .PHONY: maybe-clean-zip clean-zip
30004 maybe-clean-zip:
30005 @if zip
30006 maybe-clean-zip: clean-zip
30008 clean-zip:
30009 @: $(MAKE); $(unstage)
30010 @[ -f ./zip/Makefile ] || exit 0; \
30011 r=`${PWD_COMMAND}`; export r; \
30012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30013 $(HOST_EXPORTS) \
30014 for flag in $(EXTRA_HOST_FLAGS) ; do \
30015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30016 done; \
30017 echo "Doing clean in zip" ; \
30018 (cd $(HOST_SUBDIR)/zip && \
30019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30021 "RANLIB=$${RANLIB}" \
30022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30023 clean) \
30024 || exit 1
30026 @endif zip
30028 .PHONY: maybe-distclean-zip distclean-zip
30029 maybe-distclean-zip:
30030 @if zip
30031 maybe-distclean-zip: distclean-zip
30033 distclean-zip:
30034 @: $(MAKE); $(unstage)
30035 @[ -f ./zip/Makefile ] || exit 0; \
30036 r=`${PWD_COMMAND}`; export r; \
30037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30038 $(HOST_EXPORTS) \
30039 for flag in $(EXTRA_HOST_FLAGS) ; do \
30040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30041 done; \
30042 echo "Doing distclean in zip" ; \
30043 (cd $(HOST_SUBDIR)/zip && \
30044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30046 "RANLIB=$${RANLIB}" \
30047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30048 distclean) \
30049 || exit 1
30051 @endif zip
30053 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
30054 maybe-maintainer-clean-zip:
30055 @if zip
30056 maybe-maintainer-clean-zip: maintainer-clean-zip
30058 maintainer-clean-zip:
30059 @: $(MAKE); $(unstage)
30060 @[ -f ./zip/Makefile ] || exit 0; \
30061 r=`${PWD_COMMAND}`; export r; \
30062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30063 $(HOST_EXPORTS) \
30064 for flag in $(EXTRA_HOST_FLAGS) ; do \
30065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30066 done; \
30067 echo "Doing maintainer-clean in zip" ; \
30068 (cd $(HOST_SUBDIR)/zip && \
30069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30071 "RANLIB=$${RANLIB}" \
30072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30073 maintainer-clean) \
30074 || exit 1
30076 @endif zip
30080 .PHONY: configure-zlib maybe-configure-zlib
30081 maybe-configure-zlib:
30082 @if gcc-bootstrap
30083 configure-zlib: stage_current
30084 @endif gcc-bootstrap
30085 @if zlib
30086 maybe-configure-zlib: configure-zlib
30087 configure-zlib:
30088 @r=`${PWD_COMMAND}`; export r; \
30089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30090 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30092 $(HOST_EXPORTS) \
30093 echo Configuring in $(HOST_SUBDIR)/zlib; \
30094 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30095 case $(srcdir) in \
30096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30097 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30099 esac; \
30100 srcdiroption="--srcdir=$${topdir}/zlib"; \
30101 libsrcdir="$$s/zlib"; \
30102 $(SHELL) $${libsrcdir}/configure \
30103 $(HOST_CONFIGARGS) $${srcdiroption} \
30104 || exit 1
30105 @endif zlib
30109 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30110 maybe-configure-stage1-zlib:
30111 @if zlib-bootstrap
30112 maybe-configure-stage1-zlib: configure-stage1-zlib
30113 configure-stage1-zlib:
30114 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30116 @r=`${PWD_COMMAND}`; export r; \
30117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30118 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30119 $(HOST_EXPORTS) \
30120 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
30121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30122 cd $(HOST_SUBDIR)/zlib || exit 1; \
30123 case $(srcdir) in \
30124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30125 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30127 esac; \
30128 srcdiroption="--srcdir=$${topdir}/zlib"; \
30129 libsrcdir="$$s/zlib"; \
30130 $(SHELL) $${libsrcdir}/configure \
30131 $(HOST_CONFIGARGS) $${srcdiroption} \
30133 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30134 @endif zlib-bootstrap
30136 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30137 maybe-configure-stage2-zlib:
30138 @if zlib-bootstrap
30139 maybe-configure-stage2-zlib: configure-stage2-zlib
30140 configure-stage2-zlib:
30141 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30143 @r=`${PWD_COMMAND}`; export r; \
30144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30145 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30146 $(HOST_EXPORTS) \
30147 $(POSTSTAGE1_HOST_EXPORTS) \
30148 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
30149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30150 cd $(HOST_SUBDIR)/zlib || exit 1; \
30151 case $(srcdir) in \
30152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30153 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30155 esac; \
30156 srcdiroption="--srcdir=$${topdir}/zlib"; \
30157 libsrcdir="$$s/zlib"; \
30158 $(SHELL) $${libsrcdir}/configure \
30159 $(HOST_CONFIGARGS) $${srcdiroption} \
30160 --with-build-libsubdir=$(HOST_SUBDIR) \
30161 @stage2_werror_flag@
30162 @endif zlib-bootstrap
30164 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30165 maybe-configure-stage3-zlib:
30166 @if zlib-bootstrap
30167 maybe-configure-stage3-zlib: configure-stage3-zlib
30168 configure-stage3-zlib:
30169 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30171 @r=`${PWD_COMMAND}`; export r; \
30172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30173 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30174 $(HOST_EXPORTS) \
30175 $(POSTSTAGE1_HOST_EXPORTS) \
30176 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
30177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30178 cd $(HOST_SUBDIR)/zlib || exit 1; \
30179 case $(srcdir) in \
30180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30181 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30183 esac; \
30184 srcdiroption="--srcdir=$${topdir}/zlib"; \
30185 libsrcdir="$$s/zlib"; \
30186 $(SHELL) $${libsrcdir}/configure \
30187 $(HOST_CONFIGARGS) $${srcdiroption} \
30188 --with-build-libsubdir=$(HOST_SUBDIR) \
30189 @stage2_werror_flag@
30190 @endif zlib-bootstrap
30192 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30193 maybe-configure-stage4-zlib:
30194 @if zlib-bootstrap
30195 maybe-configure-stage4-zlib: configure-stage4-zlib
30196 configure-stage4-zlib:
30197 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30199 @r=`${PWD_COMMAND}`; export r; \
30200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30201 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30202 $(HOST_EXPORTS) \
30203 $(POSTSTAGE1_HOST_EXPORTS) \
30204 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30206 cd $(HOST_SUBDIR)/zlib || exit 1; \
30207 case $(srcdir) in \
30208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30209 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30211 esac; \
30212 srcdiroption="--srcdir=$${topdir}/zlib"; \
30213 libsrcdir="$$s/zlib"; \
30214 $(SHELL) $${libsrcdir}/configure \
30215 $(HOST_CONFIGARGS) $${srcdiroption} \
30216 --with-build-libsubdir=$(HOST_SUBDIR) \
30217 @stage2_werror_flag@
30218 @endif zlib-bootstrap
30220 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30221 maybe-configure-stageprofile-zlib:
30222 @if zlib-bootstrap
30223 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30224 configure-stageprofile-zlib:
30225 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30227 @r=`${PWD_COMMAND}`; export r; \
30228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30229 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30230 $(HOST_EXPORTS) \
30231 $(POSTSTAGE1_HOST_EXPORTS) \
30232 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30234 cd $(HOST_SUBDIR)/zlib || exit 1; \
30235 case $(srcdir) in \
30236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30237 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30239 esac; \
30240 srcdiroption="--srcdir=$${topdir}/zlib"; \
30241 libsrcdir="$$s/zlib"; \
30242 $(SHELL) $${libsrcdir}/configure \
30243 $(HOST_CONFIGARGS) $${srcdiroption} \
30244 --with-build-libsubdir=$(HOST_SUBDIR) \
30245 @stage2_werror_flag@
30246 @endif zlib-bootstrap
30248 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30249 maybe-configure-stagefeedback-zlib:
30250 @if zlib-bootstrap
30251 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30252 configure-stagefeedback-zlib:
30253 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30255 @r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30258 $(HOST_EXPORTS) \
30259 $(POSTSTAGE1_HOST_EXPORTS) \
30260 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30262 cd $(HOST_SUBDIR)/zlib || exit 1; \
30263 case $(srcdir) in \
30264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30265 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30267 esac; \
30268 srcdiroption="--srcdir=$${topdir}/zlib"; \
30269 libsrcdir="$$s/zlib"; \
30270 $(SHELL) $${libsrcdir}/configure \
30271 $(HOST_CONFIGARGS) $${srcdiroption} \
30272 --with-build-libsubdir=$(HOST_SUBDIR) \
30273 @stage2_werror_flag@
30274 @endif zlib-bootstrap
30280 .PHONY: all-zlib maybe-all-zlib
30281 maybe-all-zlib:
30282 @if gcc-bootstrap
30283 all-zlib: stage_current
30284 @endif gcc-bootstrap
30285 @if zlib
30286 TARGET-zlib=all
30287 maybe-all-zlib: all-zlib
30288 all-zlib: configure-zlib
30289 @r=`${PWD_COMMAND}`; export r; \
30290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30291 $(HOST_EXPORTS) \
30292 (cd $(HOST_SUBDIR)/zlib && \
30293 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30294 @endif zlib
30298 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30299 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30300 maybe-all-stage1-zlib:
30301 maybe-clean-stage1-zlib:
30302 @if zlib-bootstrap
30303 maybe-all-stage1-zlib: all-stage1-zlib
30304 all-stage1: all-stage1-zlib
30305 TARGET-stage1-zlib = $(TARGET-zlib)
30306 all-stage1-zlib: configure-stage1-zlib
30307 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30308 @r=`${PWD_COMMAND}`; export r; \
30309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30310 $(HOST_EXPORTS) \
30311 cd $(HOST_SUBDIR)/zlib && \
30312 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30313 $(TARGET-stage1-zlib)
30315 maybe-clean-stage1-zlib: clean-stage1-zlib
30316 clean-stage1: clean-stage1-zlib
30317 clean-stage1-zlib:
30318 @if [ $(current_stage) = stage1 ]; then \
30319 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30320 else \
30321 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30322 $(MAKE) stage1-start; \
30323 fi; \
30324 cd $(HOST_SUBDIR)/zlib && \
30325 $(MAKE) $(FLAGS_TO_PASS) \
30326 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30327 @endif zlib-bootstrap
30330 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30331 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30332 maybe-all-stage2-zlib:
30333 maybe-clean-stage2-zlib:
30334 @if zlib-bootstrap
30335 maybe-all-stage2-zlib: all-stage2-zlib
30336 all-stage2: all-stage2-zlib
30337 TARGET-stage2-zlib = $(TARGET-zlib)
30338 all-stage2-zlib: configure-stage2-zlib
30339 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30340 @r=`${PWD_COMMAND}`; export r; \
30341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30342 $(HOST_EXPORTS) \
30343 $(POSTSTAGE1_HOST_EXPORTS) \
30344 cd $(HOST_SUBDIR)/zlib && \
30345 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30346 $(TARGET-stage2-zlib)
30348 maybe-clean-stage2-zlib: clean-stage2-zlib
30349 clean-stage2: clean-stage2-zlib
30350 clean-stage2-zlib:
30351 @if [ $(current_stage) = stage2 ]; then \
30352 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30353 else \
30354 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30355 $(MAKE) stage2-start; \
30356 fi; \
30357 cd $(HOST_SUBDIR)/zlib && \
30358 $(MAKE) $(FLAGS_TO_PASS) \
30359 $(POSTSTAGE1_FLAGS_TO_PASS) \
30360 clean
30361 @endif zlib-bootstrap
30364 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30365 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30366 maybe-all-stage3-zlib:
30367 maybe-clean-stage3-zlib:
30368 @if zlib-bootstrap
30369 maybe-all-stage3-zlib: all-stage3-zlib
30370 all-stage3: all-stage3-zlib
30371 TARGET-stage3-zlib = $(TARGET-zlib)
30372 all-stage3-zlib: configure-stage3-zlib
30373 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30374 @r=`${PWD_COMMAND}`; export r; \
30375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30376 $(HOST_EXPORTS) \
30377 $(POSTSTAGE1_HOST_EXPORTS) \
30378 cd $(HOST_SUBDIR)/zlib && \
30379 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30380 $(TARGET-stage3-zlib)
30382 maybe-clean-stage3-zlib: clean-stage3-zlib
30383 clean-stage3: clean-stage3-zlib
30384 clean-stage3-zlib:
30385 @if [ $(current_stage) = stage3 ]; then \
30386 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30387 else \
30388 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30389 $(MAKE) stage3-start; \
30390 fi; \
30391 cd $(HOST_SUBDIR)/zlib && \
30392 $(MAKE) $(FLAGS_TO_PASS) \
30393 $(POSTSTAGE1_FLAGS_TO_PASS) \
30394 clean
30395 @endif zlib-bootstrap
30398 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30399 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30400 maybe-all-stage4-zlib:
30401 maybe-clean-stage4-zlib:
30402 @if zlib-bootstrap
30403 maybe-all-stage4-zlib: all-stage4-zlib
30404 all-stage4: all-stage4-zlib
30405 TARGET-stage4-zlib = $(TARGET-zlib)
30406 all-stage4-zlib: configure-stage4-zlib
30407 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30408 @r=`${PWD_COMMAND}`; export r; \
30409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30410 $(HOST_EXPORTS) \
30411 $(POSTSTAGE1_HOST_EXPORTS) \
30412 cd $(HOST_SUBDIR)/zlib && \
30413 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30414 $(TARGET-stage4-zlib)
30416 maybe-clean-stage4-zlib: clean-stage4-zlib
30417 clean-stage4: clean-stage4-zlib
30418 clean-stage4-zlib:
30419 @if [ $(current_stage) = stage4 ]; then \
30420 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30421 else \
30422 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30423 $(MAKE) stage4-start; \
30424 fi; \
30425 cd $(HOST_SUBDIR)/zlib && \
30426 $(MAKE) $(FLAGS_TO_PASS) \
30427 $(POSTSTAGE1_FLAGS_TO_PASS) \
30428 clean
30429 @endif zlib-bootstrap
30432 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30433 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30434 maybe-all-stageprofile-zlib:
30435 maybe-clean-stageprofile-zlib:
30436 @if zlib-bootstrap
30437 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30438 all-stageprofile: all-stageprofile-zlib
30439 TARGET-stageprofile-zlib = $(TARGET-zlib)
30440 all-stageprofile-zlib: configure-stageprofile-zlib
30441 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30442 @r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(HOST_EXPORTS) \
30445 $(POSTSTAGE1_HOST_EXPORTS) \
30446 cd $(HOST_SUBDIR)/zlib && \
30447 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30448 $(TARGET-stageprofile-zlib)
30450 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30451 clean-stageprofile: clean-stageprofile-zlib
30452 clean-stageprofile-zlib:
30453 @if [ $(current_stage) = stageprofile ]; then \
30454 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30455 else \
30456 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30457 $(MAKE) stageprofile-start; \
30458 fi; \
30459 cd $(HOST_SUBDIR)/zlib && \
30460 $(MAKE) $(FLAGS_TO_PASS) \
30461 $(POSTSTAGE1_FLAGS_TO_PASS) \
30462 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30463 @endif zlib-bootstrap
30466 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30467 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30468 maybe-all-stagefeedback-zlib:
30469 maybe-clean-stagefeedback-zlib:
30470 @if zlib-bootstrap
30471 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30472 all-stagefeedback: all-stagefeedback-zlib
30473 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30474 all-stagefeedback-zlib: configure-stagefeedback-zlib
30475 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30476 @r=`${PWD_COMMAND}`; export r; \
30477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30478 $(HOST_EXPORTS) \
30479 $(POSTSTAGE1_HOST_EXPORTS) \
30480 cd $(HOST_SUBDIR)/zlib && \
30481 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30482 $(TARGET-stagefeedback-zlib)
30484 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30485 clean-stagefeedback: clean-stagefeedback-zlib
30486 clean-stagefeedback-zlib:
30487 @if [ $(current_stage) = stagefeedback ]; then \
30488 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30489 else \
30490 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30491 $(MAKE) stagefeedback-start; \
30492 fi; \
30493 cd $(HOST_SUBDIR)/zlib && \
30494 $(MAKE) $(FLAGS_TO_PASS) \
30495 $(POSTSTAGE1_FLAGS_TO_PASS) \
30496 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30497 @endif zlib-bootstrap
30503 .PHONY: check-zlib maybe-check-zlib
30504 maybe-check-zlib:
30505 @if zlib
30506 maybe-check-zlib: check-zlib
30508 check-zlib:
30510 @endif zlib
30512 .PHONY: install-zlib maybe-install-zlib
30513 maybe-install-zlib:
30514 @if zlib
30515 maybe-install-zlib: install-zlib
30517 install-zlib:
30519 @endif zlib
30521 # Other targets (info, dvi, pdf, etc.)
30523 .PHONY: maybe-info-zlib info-zlib
30524 maybe-info-zlib:
30525 @if zlib
30526 maybe-info-zlib: info-zlib
30528 info-zlib: \
30529 configure-zlib
30530 @[ -f ./zlib/Makefile ] || exit 0; \
30531 r=`${PWD_COMMAND}`; export r; \
30532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30533 $(HOST_EXPORTS) \
30534 for flag in $(EXTRA_HOST_FLAGS) ; do \
30535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30536 done; \
30537 echo "Doing info in zlib" ; \
30538 (cd $(HOST_SUBDIR)/zlib && \
30539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30541 "RANLIB=$${RANLIB}" \
30542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30543 info) \
30544 || exit 1
30546 @endif zlib
30548 .PHONY: maybe-dvi-zlib dvi-zlib
30549 maybe-dvi-zlib:
30550 @if zlib
30551 maybe-dvi-zlib: dvi-zlib
30553 dvi-zlib: \
30554 configure-zlib
30555 @[ -f ./zlib/Makefile ] || exit 0; \
30556 r=`${PWD_COMMAND}`; export r; \
30557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30558 $(HOST_EXPORTS) \
30559 for flag in $(EXTRA_HOST_FLAGS) ; do \
30560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30561 done; \
30562 echo "Doing dvi in zlib" ; \
30563 (cd $(HOST_SUBDIR)/zlib && \
30564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30566 "RANLIB=$${RANLIB}" \
30567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30568 dvi) \
30569 || exit 1
30571 @endif zlib
30573 .PHONY: maybe-pdf-zlib pdf-zlib
30574 maybe-pdf-zlib:
30575 @if zlib
30576 maybe-pdf-zlib: pdf-zlib
30578 pdf-zlib: \
30579 configure-zlib
30580 @[ -f ./zlib/Makefile ] || exit 0; \
30581 r=`${PWD_COMMAND}`; export r; \
30582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30583 $(HOST_EXPORTS) \
30584 for flag in $(EXTRA_HOST_FLAGS) ; do \
30585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30586 done; \
30587 echo "Doing pdf in zlib" ; \
30588 (cd $(HOST_SUBDIR)/zlib && \
30589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30591 "RANLIB=$${RANLIB}" \
30592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30593 pdf) \
30594 || exit 1
30596 @endif zlib
30598 .PHONY: maybe-html-zlib html-zlib
30599 maybe-html-zlib:
30600 @if zlib
30601 maybe-html-zlib: html-zlib
30603 html-zlib: \
30604 configure-zlib
30605 @[ -f ./zlib/Makefile ] || exit 0; \
30606 r=`${PWD_COMMAND}`; export r; \
30607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30608 $(HOST_EXPORTS) \
30609 for flag in $(EXTRA_HOST_FLAGS) ; do \
30610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30611 done; \
30612 echo "Doing html in zlib" ; \
30613 (cd $(HOST_SUBDIR)/zlib && \
30614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30616 "RANLIB=$${RANLIB}" \
30617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30618 html) \
30619 || exit 1
30621 @endif zlib
30623 .PHONY: maybe-TAGS-zlib TAGS-zlib
30624 maybe-TAGS-zlib:
30625 @if zlib
30626 maybe-TAGS-zlib: TAGS-zlib
30628 TAGS-zlib: \
30629 configure-zlib
30630 @[ -f ./zlib/Makefile ] || exit 0; \
30631 r=`${PWD_COMMAND}`; export r; \
30632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30633 $(HOST_EXPORTS) \
30634 for flag in $(EXTRA_HOST_FLAGS) ; do \
30635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30636 done; \
30637 echo "Doing TAGS in zlib" ; \
30638 (cd $(HOST_SUBDIR)/zlib && \
30639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30641 "RANLIB=$${RANLIB}" \
30642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30643 TAGS) \
30644 || exit 1
30646 @endif zlib
30648 .PHONY: maybe-install-info-zlib install-info-zlib
30649 maybe-install-info-zlib:
30650 @if zlib
30651 maybe-install-info-zlib: install-info-zlib
30653 install-info-zlib: \
30654 configure-zlib \
30655 info-zlib
30656 @[ -f ./zlib/Makefile ] || exit 0; \
30657 r=`${PWD_COMMAND}`; export r; \
30658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30659 $(HOST_EXPORTS) \
30660 for flag in $(EXTRA_HOST_FLAGS) ; do \
30661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30662 done; \
30663 echo "Doing install-info in zlib" ; \
30664 (cd $(HOST_SUBDIR)/zlib && \
30665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30667 "RANLIB=$${RANLIB}" \
30668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30669 install-info) \
30670 || exit 1
30672 @endif zlib
30674 .PHONY: maybe-install-html-zlib install-html-zlib
30675 maybe-install-html-zlib:
30676 @if zlib
30677 maybe-install-html-zlib: install-html-zlib
30679 install-html-zlib: \
30680 configure-zlib \
30681 html-zlib
30682 @[ -f ./zlib/Makefile ] || exit 0; \
30683 r=`${PWD_COMMAND}`; export r; \
30684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30685 $(HOST_EXPORTS) \
30686 for flag in $(EXTRA_HOST_FLAGS) ; do \
30687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30688 done; \
30689 echo "Doing install-html in zlib" ; \
30690 (cd $(HOST_SUBDIR)/zlib && \
30691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30693 "RANLIB=$${RANLIB}" \
30694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30695 install-html) \
30696 || exit 1
30698 @endif zlib
30700 .PHONY: maybe-installcheck-zlib installcheck-zlib
30701 maybe-installcheck-zlib:
30702 @if zlib
30703 maybe-installcheck-zlib: installcheck-zlib
30705 installcheck-zlib: \
30706 configure-zlib
30707 @[ -f ./zlib/Makefile ] || exit 0; \
30708 r=`${PWD_COMMAND}`; export r; \
30709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30710 $(HOST_EXPORTS) \
30711 for flag in $(EXTRA_HOST_FLAGS) ; do \
30712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30713 done; \
30714 echo "Doing installcheck in zlib" ; \
30715 (cd $(HOST_SUBDIR)/zlib && \
30716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30718 "RANLIB=$${RANLIB}" \
30719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30720 installcheck) \
30721 || exit 1
30723 @endif zlib
30725 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30726 maybe-mostlyclean-zlib:
30727 @if zlib
30728 maybe-mostlyclean-zlib: mostlyclean-zlib
30730 mostlyclean-zlib:
30731 @[ -f ./zlib/Makefile ] || exit 0; \
30732 r=`${PWD_COMMAND}`; export r; \
30733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30734 $(HOST_EXPORTS) \
30735 for flag in $(EXTRA_HOST_FLAGS) ; do \
30736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30737 done; \
30738 echo "Doing mostlyclean in zlib" ; \
30739 (cd $(HOST_SUBDIR)/zlib && \
30740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30742 "RANLIB=$${RANLIB}" \
30743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30744 mostlyclean) \
30745 || exit 1
30747 @endif zlib
30749 .PHONY: maybe-clean-zlib clean-zlib
30750 maybe-clean-zlib:
30751 @if zlib
30752 maybe-clean-zlib: clean-zlib
30754 clean-zlib:
30755 @[ -f ./zlib/Makefile ] || exit 0; \
30756 r=`${PWD_COMMAND}`; export r; \
30757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30758 $(HOST_EXPORTS) \
30759 for flag in $(EXTRA_HOST_FLAGS) ; do \
30760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30761 done; \
30762 echo "Doing clean in zlib" ; \
30763 (cd $(HOST_SUBDIR)/zlib && \
30764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30766 "RANLIB=$${RANLIB}" \
30767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30768 clean) \
30769 || exit 1
30771 @endif zlib
30773 .PHONY: maybe-distclean-zlib distclean-zlib
30774 maybe-distclean-zlib:
30775 @if zlib
30776 maybe-distclean-zlib: distclean-zlib
30778 distclean-zlib:
30779 @[ -f ./zlib/Makefile ] || exit 0; \
30780 r=`${PWD_COMMAND}`; export r; \
30781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30782 $(HOST_EXPORTS) \
30783 for flag in $(EXTRA_HOST_FLAGS) ; do \
30784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30785 done; \
30786 echo "Doing distclean in zlib" ; \
30787 (cd $(HOST_SUBDIR)/zlib && \
30788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30790 "RANLIB=$${RANLIB}" \
30791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30792 distclean) \
30793 || exit 1
30795 @endif zlib
30797 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30798 maybe-maintainer-clean-zlib:
30799 @if zlib
30800 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30802 maintainer-clean-zlib:
30803 @[ -f ./zlib/Makefile ] || exit 0; \
30804 r=`${PWD_COMMAND}`; export r; \
30805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30806 $(HOST_EXPORTS) \
30807 for flag in $(EXTRA_HOST_FLAGS) ; do \
30808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30809 done; \
30810 echo "Doing maintainer-clean in zlib" ; \
30811 (cd $(HOST_SUBDIR)/zlib && \
30812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30814 "RANLIB=$${RANLIB}" \
30815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30816 maintainer-clean) \
30817 || exit 1
30819 @endif zlib
30823 .PHONY: configure-gdb maybe-configure-gdb
30824 maybe-configure-gdb:
30825 @if gcc-bootstrap
30826 configure-gdb: stage_current
30827 @endif gcc-bootstrap
30828 @if gdb
30829 maybe-configure-gdb: configure-gdb
30830 configure-gdb:
30831 @: $(MAKE); $(unstage)
30832 @r=`${PWD_COMMAND}`; export r; \
30833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30834 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30836 $(HOST_EXPORTS) \
30837 echo Configuring in $(HOST_SUBDIR)/gdb; \
30838 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30839 case $(srcdir) in \
30840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30841 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30843 esac; \
30844 srcdiroption="--srcdir=$${topdir}/gdb"; \
30845 libsrcdir="$$s/gdb"; \
30846 $(SHELL) $${libsrcdir}/configure \
30847 $(HOST_CONFIGARGS) $${srcdiroption} \
30848 || exit 1
30849 @endif gdb
30855 .PHONY: all-gdb maybe-all-gdb
30856 maybe-all-gdb:
30857 @if gcc-bootstrap
30858 all-gdb: stage_current
30859 @endif gcc-bootstrap
30860 @if gdb
30861 TARGET-gdb=all
30862 maybe-all-gdb: all-gdb
30863 all-gdb: configure-gdb
30864 @: $(MAKE); $(unstage)
30865 @r=`${PWD_COMMAND}`; export r; \
30866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30867 $(HOST_EXPORTS) \
30868 (cd $(HOST_SUBDIR)/gdb && \
30869 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30870 @endif gdb
30875 .PHONY: check-gdb maybe-check-gdb
30876 maybe-check-gdb:
30877 @if gdb
30878 maybe-check-gdb: check-gdb
30880 check-gdb:
30881 @: $(MAKE); $(unstage)
30882 @r=`${PWD_COMMAND}`; export r; \
30883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30884 $(HOST_EXPORTS) \
30885 (cd $(HOST_SUBDIR)/gdb && \
30886 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30888 @endif gdb
30890 .PHONY: install-gdb maybe-install-gdb
30891 maybe-install-gdb:
30892 @if gdb
30893 maybe-install-gdb: install-gdb
30895 install-gdb: installdirs
30896 @: $(MAKE); $(unstage)
30897 @r=`${PWD_COMMAND}`; export r; \
30898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30899 $(HOST_EXPORTS) \
30900 (cd $(HOST_SUBDIR)/gdb && \
30901 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30903 @endif gdb
30905 # Other targets (info, dvi, pdf, etc.)
30907 .PHONY: maybe-info-gdb info-gdb
30908 maybe-info-gdb:
30909 @if gdb
30910 maybe-info-gdb: info-gdb
30912 info-gdb: \
30913 configure-gdb
30914 @: $(MAKE); $(unstage)
30915 @[ -f ./gdb/Makefile ] || exit 0; \
30916 r=`${PWD_COMMAND}`; export r; \
30917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30918 $(HOST_EXPORTS) \
30919 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30921 done; \
30922 echo "Doing info in gdb" ; \
30923 (cd $(HOST_SUBDIR)/gdb && \
30924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30926 "RANLIB=$${RANLIB}" \
30927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30928 info) \
30929 || exit 1
30931 @endif gdb
30933 .PHONY: maybe-dvi-gdb dvi-gdb
30934 maybe-dvi-gdb:
30935 @if gdb
30936 maybe-dvi-gdb: dvi-gdb
30938 dvi-gdb: \
30939 configure-gdb
30940 @: $(MAKE); $(unstage)
30941 @[ -f ./gdb/Makefile ] || exit 0; \
30942 r=`${PWD_COMMAND}`; export r; \
30943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30944 $(HOST_EXPORTS) \
30945 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30947 done; \
30948 echo "Doing dvi in gdb" ; \
30949 (cd $(HOST_SUBDIR)/gdb && \
30950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30952 "RANLIB=$${RANLIB}" \
30953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30954 dvi) \
30955 || exit 1
30957 @endif gdb
30959 .PHONY: maybe-pdf-gdb pdf-gdb
30960 maybe-pdf-gdb:
30961 @if gdb
30962 maybe-pdf-gdb: pdf-gdb
30964 pdf-gdb: \
30965 configure-gdb
30966 @: $(MAKE); $(unstage)
30967 @[ -f ./gdb/Makefile ] || exit 0; \
30968 r=`${PWD_COMMAND}`; export r; \
30969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30970 $(HOST_EXPORTS) \
30971 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30973 done; \
30974 echo "Doing pdf in gdb" ; \
30975 (cd $(HOST_SUBDIR)/gdb && \
30976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30978 "RANLIB=$${RANLIB}" \
30979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30980 pdf) \
30981 || exit 1
30983 @endif gdb
30985 .PHONY: maybe-html-gdb html-gdb
30986 maybe-html-gdb:
30987 @if gdb
30988 maybe-html-gdb: html-gdb
30990 html-gdb: \
30991 configure-gdb
30992 @: $(MAKE); $(unstage)
30993 @[ -f ./gdb/Makefile ] || exit 0; \
30994 r=`${PWD_COMMAND}`; export r; \
30995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30996 $(HOST_EXPORTS) \
30997 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30999 done; \
31000 echo "Doing html in gdb" ; \
31001 (cd $(HOST_SUBDIR)/gdb && \
31002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31004 "RANLIB=$${RANLIB}" \
31005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31006 html) \
31007 || exit 1
31009 @endif gdb
31011 .PHONY: maybe-TAGS-gdb TAGS-gdb
31012 maybe-TAGS-gdb:
31013 @if gdb
31014 maybe-TAGS-gdb: TAGS-gdb
31016 TAGS-gdb: \
31017 configure-gdb
31018 @: $(MAKE); $(unstage)
31019 @[ -f ./gdb/Makefile ] || exit 0; \
31020 r=`${PWD_COMMAND}`; export r; \
31021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31022 $(HOST_EXPORTS) \
31023 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31025 done; \
31026 echo "Doing TAGS in gdb" ; \
31027 (cd $(HOST_SUBDIR)/gdb && \
31028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31030 "RANLIB=$${RANLIB}" \
31031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31032 TAGS) \
31033 || exit 1
31035 @endif gdb
31037 .PHONY: maybe-install-info-gdb install-info-gdb
31038 maybe-install-info-gdb:
31039 @if gdb
31040 maybe-install-info-gdb: install-info-gdb
31042 install-info-gdb: \
31043 configure-gdb \
31044 info-gdb
31045 @: $(MAKE); $(unstage)
31046 @[ -f ./gdb/Makefile ] || exit 0; \
31047 r=`${PWD_COMMAND}`; export r; \
31048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31049 $(HOST_EXPORTS) \
31050 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31052 done; \
31053 echo "Doing install-info in gdb" ; \
31054 (cd $(HOST_SUBDIR)/gdb && \
31055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31057 "RANLIB=$${RANLIB}" \
31058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31059 install-info) \
31060 || exit 1
31062 @endif gdb
31064 .PHONY: maybe-install-html-gdb install-html-gdb
31065 maybe-install-html-gdb:
31066 @if gdb
31067 maybe-install-html-gdb: install-html-gdb
31069 install-html-gdb: \
31070 configure-gdb \
31071 html-gdb
31072 @: $(MAKE); $(unstage)
31073 @[ -f ./gdb/Makefile ] || exit 0; \
31074 r=`${PWD_COMMAND}`; export r; \
31075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31076 $(HOST_EXPORTS) \
31077 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31079 done; \
31080 echo "Doing install-html in gdb" ; \
31081 (cd $(HOST_SUBDIR)/gdb && \
31082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31084 "RANLIB=$${RANLIB}" \
31085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31086 install-html) \
31087 || exit 1
31089 @endif gdb
31091 .PHONY: maybe-installcheck-gdb installcheck-gdb
31092 maybe-installcheck-gdb:
31093 @if gdb
31094 maybe-installcheck-gdb: installcheck-gdb
31096 installcheck-gdb: \
31097 configure-gdb
31098 @: $(MAKE); $(unstage)
31099 @[ -f ./gdb/Makefile ] || exit 0; \
31100 r=`${PWD_COMMAND}`; export r; \
31101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31102 $(HOST_EXPORTS) \
31103 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31105 done; \
31106 echo "Doing installcheck in gdb" ; \
31107 (cd $(HOST_SUBDIR)/gdb && \
31108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31110 "RANLIB=$${RANLIB}" \
31111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31112 installcheck) \
31113 || exit 1
31115 @endif gdb
31117 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31118 maybe-mostlyclean-gdb:
31119 @if gdb
31120 maybe-mostlyclean-gdb: mostlyclean-gdb
31122 mostlyclean-gdb:
31123 @: $(MAKE); $(unstage)
31124 @[ -f ./gdb/Makefile ] || exit 0; \
31125 r=`${PWD_COMMAND}`; export r; \
31126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31127 $(HOST_EXPORTS) \
31128 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 echo "Doing mostlyclean in gdb" ; \
31132 (cd $(HOST_SUBDIR)/gdb && \
31133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31135 "RANLIB=$${RANLIB}" \
31136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31137 mostlyclean) \
31138 || exit 1
31140 @endif gdb
31142 .PHONY: maybe-clean-gdb clean-gdb
31143 maybe-clean-gdb:
31144 @if gdb
31145 maybe-clean-gdb: clean-gdb
31147 clean-gdb:
31148 @: $(MAKE); $(unstage)
31149 @[ -f ./gdb/Makefile ] || exit 0; \
31150 r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(HOST_EXPORTS) \
31153 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31155 done; \
31156 echo "Doing clean in gdb" ; \
31157 (cd $(HOST_SUBDIR)/gdb && \
31158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31160 "RANLIB=$${RANLIB}" \
31161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31162 clean) \
31163 || exit 1
31165 @endif gdb
31167 .PHONY: maybe-distclean-gdb distclean-gdb
31168 maybe-distclean-gdb:
31169 @if gdb
31170 maybe-distclean-gdb: distclean-gdb
31172 distclean-gdb:
31173 @: $(MAKE); $(unstage)
31174 @[ -f ./gdb/Makefile ] || exit 0; \
31175 r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 $(HOST_EXPORTS) \
31178 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31180 done; \
31181 echo "Doing distclean in gdb" ; \
31182 (cd $(HOST_SUBDIR)/gdb && \
31183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31185 "RANLIB=$${RANLIB}" \
31186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31187 distclean) \
31188 || exit 1
31190 @endif gdb
31192 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31193 maybe-maintainer-clean-gdb:
31194 @if gdb
31195 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31197 maintainer-clean-gdb:
31198 @: $(MAKE); $(unstage)
31199 @[ -f ./gdb/Makefile ] || exit 0; \
31200 r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(HOST_EXPORTS) \
31203 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31205 done; \
31206 echo "Doing maintainer-clean in gdb" ; \
31207 (cd $(HOST_SUBDIR)/gdb && \
31208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31210 "RANLIB=$${RANLIB}" \
31211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31212 maintainer-clean) \
31213 || exit 1
31215 @endif gdb
31219 .PHONY: configure-expect maybe-configure-expect
31220 maybe-configure-expect:
31221 @if gcc-bootstrap
31222 configure-expect: stage_current
31223 @endif gcc-bootstrap
31224 @if expect
31225 maybe-configure-expect: configure-expect
31226 configure-expect:
31227 @: $(MAKE); $(unstage)
31228 @r=`${PWD_COMMAND}`; export r; \
31229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31230 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31232 $(HOST_EXPORTS) \
31233 echo Configuring in $(HOST_SUBDIR)/expect; \
31234 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31235 case $(srcdir) in \
31236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31237 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31239 esac; \
31240 srcdiroption="--srcdir=$${topdir}/expect"; \
31241 libsrcdir="$$s/expect"; \
31242 $(SHELL) $${libsrcdir}/configure \
31243 $(HOST_CONFIGARGS) $${srcdiroption} \
31244 || exit 1
31245 @endif expect
31251 .PHONY: all-expect maybe-all-expect
31252 maybe-all-expect:
31253 @if gcc-bootstrap
31254 all-expect: stage_current
31255 @endif gcc-bootstrap
31256 @if expect
31257 TARGET-expect=all
31258 maybe-all-expect: all-expect
31259 all-expect: configure-expect
31260 @: $(MAKE); $(unstage)
31261 @r=`${PWD_COMMAND}`; export r; \
31262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31263 $(HOST_EXPORTS) \
31264 (cd $(HOST_SUBDIR)/expect && \
31265 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31266 @endif expect
31271 .PHONY: check-expect maybe-check-expect
31272 maybe-check-expect:
31273 @if expect
31274 maybe-check-expect: check-expect
31276 check-expect:
31277 @: $(MAKE); $(unstage)
31278 @r=`${PWD_COMMAND}`; export r; \
31279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31280 $(HOST_EXPORTS) \
31281 (cd $(HOST_SUBDIR)/expect && \
31282 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31284 @endif expect
31286 .PHONY: install-expect maybe-install-expect
31287 maybe-install-expect:
31288 @if expect
31289 maybe-install-expect: install-expect
31291 install-expect: installdirs
31292 @: $(MAKE); $(unstage)
31293 @r=`${PWD_COMMAND}`; export r; \
31294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31295 $(HOST_EXPORTS) \
31296 (cd $(HOST_SUBDIR)/expect && \
31297 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31299 @endif expect
31301 # Other targets (info, dvi, pdf, etc.)
31303 .PHONY: maybe-info-expect info-expect
31304 maybe-info-expect:
31305 @if expect
31306 maybe-info-expect: info-expect
31308 info-expect: \
31309 configure-expect
31310 @: $(MAKE); $(unstage)
31311 @[ -f ./expect/Makefile ] || exit 0; \
31312 r=`${PWD_COMMAND}`; export r; \
31313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31314 $(HOST_EXPORTS) \
31315 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31317 done; \
31318 echo "Doing info in expect" ; \
31319 (cd $(HOST_SUBDIR)/expect && \
31320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31322 "RANLIB=$${RANLIB}" \
31323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31324 info) \
31325 || exit 1
31327 @endif expect
31329 .PHONY: maybe-dvi-expect dvi-expect
31330 maybe-dvi-expect:
31331 @if expect
31332 maybe-dvi-expect: dvi-expect
31334 dvi-expect: \
31335 configure-expect
31336 @: $(MAKE); $(unstage)
31337 @[ -f ./expect/Makefile ] || exit 0; \
31338 r=`${PWD_COMMAND}`; export r; \
31339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31340 $(HOST_EXPORTS) \
31341 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31343 done; \
31344 echo "Doing dvi in expect" ; \
31345 (cd $(HOST_SUBDIR)/expect && \
31346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31348 "RANLIB=$${RANLIB}" \
31349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31350 dvi) \
31351 || exit 1
31353 @endif expect
31355 .PHONY: maybe-pdf-expect pdf-expect
31356 maybe-pdf-expect:
31357 @if expect
31358 maybe-pdf-expect: pdf-expect
31360 pdf-expect: \
31361 configure-expect
31362 @: $(MAKE); $(unstage)
31363 @[ -f ./expect/Makefile ] || exit 0; \
31364 r=`${PWD_COMMAND}`; export r; \
31365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31366 $(HOST_EXPORTS) \
31367 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31369 done; \
31370 echo "Doing pdf in expect" ; \
31371 (cd $(HOST_SUBDIR)/expect && \
31372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31374 "RANLIB=$${RANLIB}" \
31375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31376 pdf) \
31377 || exit 1
31379 @endif expect
31381 .PHONY: maybe-html-expect html-expect
31382 maybe-html-expect:
31383 @if expect
31384 maybe-html-expect: html-expect
31386 html-expect: \
31387 configure-expect
31388 @: $(MAKE); $(unstage)
31389 @[ -f ./expect/Makefile ] || exit 0; \
31390 r=`${PWD_COMMAND}`; export r; \
31391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31392 $(HOST_EXPORTS) \
31393 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31395 done; \
31396 echo "Doing html in expect" ; \
31397 (cd $(HOST_SUBDIR)/expect && \
31398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31400 "RANLIB=$${RANLIB}" \
31401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31402 html) \
31403 || exit 1
31405 @endif expect
31407 .PHONY: maybe-TAGS-expect TAGS-expect
31408 maybe-TAGS-expect:
31409 @if expect
31410 maybe-TAGS-expect: TAGS-expect
31412 TAGS-expect: \
31413 configure-expect
31414 @: $(MAKE); $(unstage)
31415 @[ -f ./expect/Makefile ] || exit 0; \
31416 r=`${PWD_COMMAND}`; export r; \
31417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31418 $(HOST_EXPORTS) \
31419 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31421 done; \
31422 echo "Doing TAGS in expect" ; \
31423 (cd $(HOST_SUBDIR)/expect && \
31424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31426 "RANLIB=$${RANLIB}" \
31427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31428 TAGS) \
31429 || exit 1
31431 @endif expect
31433 .PHONY: maybe-install-info-expect install-info-expect
31434 maybe-install-info-expect:
31435 @if expect
31436 maybe-install-info-expect: install-info-expect
31438 install-info-expect: \
31439 configure-expect \
31440 info-expect
31441 @: $(MAKE); $(unstage)
31442 @[ -f ./expect/Makefile ] || exit 0; \
31443 r=`${PWD_COMMAND}`; export r; \
31444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31445 $(HOST_EXPORTS) \
31446 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31448 done; \
31449 echo "Doing install-info in expect" ; \
31450 (cd $(HOST_SUBDIR)/expect && \
31451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31453 "RANLIB=$${RANLIB}" \
31454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31455 install-info) \
31456 || exit 1
31458 @endif expect
31460 .PHONY: maybe-install-html-expect install-html-expect
31461 maybe-install-html-expect:
31462 @if expect
31463 maybe-install-html-expect: install-html-expect
31465 install-html-expect: \
31466 configure-expect \
31467 html-expect
31468 @: $(MAKE); $(unstage)
31469 @[ -f ./expect/Makefile ] || exit 0; \
31470 r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(HOST_EXPORTS) \
31473 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31475 done; \
31476 echo "Doing install-html in expect" ; \
31477 (cd $(HOST_SUBDIR)/expect && \
31478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31480 "RANLIB=$${RANLIB}" \
31481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31482 install-html) \
31483 || exit 1
31485 @endif expect
31487 .PHONY: maybe-installcheck-expect installcheck-expect
31488 maybe-installcheck-expect:
31489 @if expect
31490 maybe-installcheck-expect: installcheck-expect
31492 installcheck-expect: \
31493 configure-expect
31494 @: $(MAKE); $(unstage)
31495 @[ -f ./expect/Makefile ] || exit 0; \
31496 r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(HOST_EXPORTS) \
31499 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31501 done; \
31502 echo "Doing installcheck in expect" ; \
31503 (cd $(HOST_SUBDIR)/expect && \
31504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31506 "RANLIB=$${RANLIB}" \
31507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31508 installcheck) \
31509 || exit 1
31511 @endif expect
31513 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31514 maybe-mostlyclean-expect:
31515 @if expect
31516 maybe-mostlyclean-expect: mostlyclean-expect
31518 mostlyclean-expect:
31519 @: $(MAKE); $(unstage)
31520 @[ -f ./expect/Makefile ] || exit 0; \
31521 r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(HOST_EXPORTS) \
31524 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 echo "Doing mostlyclean in expect" ; \
31528 (cd $(HOST_SUBDIR)/expect && \
31529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31531 "RANLIB=$${RANLIB}" \
31532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31533 mostlyclean) \
31534 || exit 1
31536 @endif expect
31538 .PHONY: maybe-clean-expect clean-expect
31539 maybe-clean-expect:
31540 @if expect
31541 maybe-clean-expect: clean-expect
31543 clean-expect:
31544 @: $(MAKE); $(unstage)
31545 @[ -f ./expect/Makefile ] || exit 0; \
31546 r=`${PWD_COMMAND}`; export r; \
31547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31548 $(HOST_EXPORTS) \
31549 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31551 done; \
31552 echo "Doing clean in expect" ; \
31553 (cd $(HOST_SUBDIR)/expect && \
31554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31556 "RANLIB=$${RANLIB}" \
31557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31558 clean) \
31559 || exit 1
31561 @endif expect
31563 .PHONY: maybe-distclean-expect distclean-expect
31564 maybe-distclean-expect:
31565 @if expect
31566 maybe-distclean-expect: distclean-expect
31568 distclean-expect:
31569 @: $(MAKE); $(unstage)
31570 @[ -f ./expect/Makefile ] || exit 0; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(HOST_EXPORTS) \
31574 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31576 done; \
31577 echo "Doing distclean in expect" ; \
31578 (cd $(HOST_SUBDIR)/expect && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31583 distclean) \
31584 || exit 1
31586 @endif expect
31588 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31589 maybe-maintainer-clean-expect:
31590 @if expect
31591 maybe-maintainer-clean-expect: maintainer-clean-expect
31593 maintainer-clean-expect:
31594 @: $(MAKE); $(unstage)
31595 @[ -f ./expect/Makefile ] || exit 0; \
31596 r=`${PWD_COMMAND}`; export r; \
31597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31598 $(HOST_EXPORTS) \
31599 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31601 done; \
31602 echo "Doing maintainer-clean in expect" ; \
31603 (cd $(HOST_SUBDIR)/expect && \
31604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31606 "RANLIB=$${RANLIB}" \
31607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31608 maintainer-clean) \
31609 || exit 1
31611 @endif expect
31615 .PHONY: configure-guile maybe-configure-guile
31616 maybe-configure-guile:
31617 @if gcc-bootstrap
31618 configure-guile: stage_current
31619 @endif gcc-bootstrap
31620 @if guile
31621 maybe-configure-guile: configure-guile
31622 configure-guile:
31623 @: $(MAKE); $(unstage)
31624 @r=`${PWD_COMMAND}`; export r; \
31625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31626 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31628 $(HOST_EXPORTS) \
31629 echo Configuring in $(HOST_SUBDIR)/guile; \
31630 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31631 case $(srcdir) in \
31632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31633 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31635 esac; \
31636 srcdiroption="--srcdir=$${topdir}/guile"; \
31637 libsrcdir="$$s/guile"; \
31638 $(SHELL) $${libsrcdir}/configure \
31639 $(HOST_CONFIGARGS) $${srcdiroption} \
31640 || exit 1
31641 @endif guile
31647 .PHONY: all-guile maybe-all-guile
31648 maybe-all-guile:
31649 @if gcc-bootstrap
31650 all-guile: stage_current
31651 @endif gcc-bootstrap
31652 @if guile
31653 TARGET-guile=all
31654 maybe-all-guile: all-guile
31655 all-guile: configure-guile
31656 @: $(MAKE); $(unstage)
31657 @r=`${PWD_COMMAND}`; export r; \
31658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31659 $(HOST_EXPORTS) \
31660 (cd $(HOST_SUBDIR)/guile && \
31661 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31662 @endif guile
31667 .PHONY: check-guile maybe-check-guile
31668 maybe-check-guile:
31669 @if guile
31670 maybe-check-guile: check-guile
31672 check-guile:
31673 @: $(MAKE); $(unstage)
31674 @r=`${PWD_COMMAND}`; export r; \
31675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31676 $(HOST_EXPORTS) \
31677 (cd $(HOST_SUBDIR)/guile && \
31678 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31680 @endif guile
31682 .PHONY: install-guile maybe-install-guile
31683 maybe-install-guile:
31684 @if guile
31685 maybe-install-guile: install-guile
31687 install-guile: installdirs
31688 @: $(MAKE); $(unstage)
31689 @r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(HOST_EXPORTS) \
31692 (cd $(HOST_SUBDIR)/guile && \
31693 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31695 @endif guile
31697 # Other targets (info, dvi, pdf, etc.)
31699 .PHONY: maybe-info-guile info-guile
31700 maybe-info-guile:
31701 @if guile
31702 maybe-info-guile: info-guile
31704 info-guile: \
31705 configure-guile
31706 @: $(MAKE); $(unstage)
31707 @[ -f ./guile/Makefile ] || exit 0; \
31708 r=`${PWD_COMMAND}`; export r; \
31709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31710 $(HOST_EXPORTS) \
31711 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31713 done; \
31714 echo "Doing info in guile" ; \
31715 (cd $(HOST_SUBDIR)/guile && \
31716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31718 "RANLIB=$${RANLIB}" \
31719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31720 info) \
31721 || exit 1
31723 @endif guile
31725 .PHONY: maybe-dvi-guile dvi-guile
31726 maybe-dvi-guile:
31727 @if guile
31728 maybe-dvi-guile: dvi-guile
31730 dvi-guile: \
31731 configure-guile
31732 @: $(MAKE); $(unstage)
31733 @[ -f ./guile/Makefile ] || exit 0; \
31734 r=`${PWD_COMMAND}`; export r; \
31735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31736 $(HOST_EXPORTS) \
31737 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31739 done; \
31740 echo "Doing dvi in guile" ; \
31741 (cd $(HOST_SUBDIR)/guile && \
31742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31744 "RANLIB=$${RANLIB}" \
31745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31746 dvi) \
31747 || exit 1
31749 @endif guile
31751 .PHONY: maybe-pdf-guile pdf-guile
31752 maybe-pdf-guile:
31753 @if guile
31754 maybe-pdf-guile: pdf-guile
31756 pdf-guile: \
31757 configure-guile
31758 @: $(MAKE); $(unstage)
31759 @[ -f ./guile/Makefile ] || exit 0; \
31760 r=`${PWD_COMMAND}`; export r; \
31761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31762 $(HOST_EXPORTS) \
31763 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31765 done; \
31766 echo "Doing pdf in guile" ; \
31767 (cd $(HOST_SUBDIR)/guile && \
31768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31770 "RANLIB=$${RANLIB}" \
31771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31772 pdf) \
31773 || exit 1
31775 @endif guile
31777 .PHONY: maybe-html-guile html-guile
31778 maybe-html-guile:
31779 @if guile
31780 maybe-html-guile: html-guile
31782 html-guile: \
31783 configure-guile
31784 @: $(MAKE); $(unstage)
31785 @[ -f ./guile/Makefile ] || exit 0; \
31786 r=`${PWD_COMMAND}`; export r; \
31787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31788 $(HOST_EXPORTS) \
31789 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31791 done; \
31792 echo "Doing html in guile" ; \
31793 (cd $(HOST_SUBDIR)/guile && \
31794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31796 "RANLIB=$${RANLIB}" \
31797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31798 html) \
31799 || exit 1
31801 @endif guile
31803 .PHONY: maybe-TAGS-guile TAGS-guile
31804 maybe-TAGS-guile:
31805 @if guile
31806 maybe-TAGS-guile: TAGS-guile
31808 TAGS-guile: \
31809 configure-guile
31810 @: $(MAKE); $(unstage)
31811 @[ -f ./guile/Makefile ] || exit 0; \
31812 r=`${PWD_COMMAND}`; export r; \
31813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31814 $(HOST_EXPORTS) \
31815 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31817 done; \
31818 echo "Doing TAGS in guile" ; \
31819 (cd $(HOST_SUBDIR)/guile && \
31820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31822 "RANLIB=$${RANLIB}" \
31823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31824 TAGS) \
31825 || exit 1
31827 @endif guile
31829 .PHONY: maybe-install-info-guile install-info-guile
31830 maybe-install-info-guile:
31831 @if guile
31832 maybe-install-info-guile: install-info-guile
31834 install-info-guile: \
31835 configure-guile \
31836 info-guile
31837 @: $(MAKE); $(unstage)
31838 @[ -f ./guile/Makefile ] || exit 0; \
31839 r=`${PWD_COMMAND}`; export r; \
31840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31841 $(HOST_EXPORTS) \
31842 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31844 done; \
31845 echo "Doing install-info in guile" ; \
31846 (cd $(HOST_SUBDIR)/guile && \
31847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31849 "RANLIB=$${RANLIB}" \
31850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31851 install-info) \
31852 || exit 1
31854 @endif guile
31856 .PHONY: maybe-install-html-guile install-html-guile
31857 maybe-install-html-guile:
31858 @if guile
31859 maybe-install-html-guile: install-html-guile
31861 install-html-guile: \
31862 configure-guile \
31863 html-guile
31864 @: $(MAKE); $(unstage)
31865 @[ -f ./guile/Makefile ] || exit 0; \
31866 r=`${PWD_COMMAND}`; export r; \
31867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31868 $(HOST_EXPORTS) \
31869 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31871 done; \
31872 echo "Doing install-html in guile" ; \
31873 (cd $(HOST_SUBDIR)/guile && \
31874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31876 "RANLIB=$${RANLIB}" \
31877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31878 install-html) \
31879 || exit 1
31881 @endif guile
31883 .PHONY: maybe-installcheck-guile installcheck-guile
31884 maybe-installcheck-guile:
31885 @if guile
31886 maybe-installcheck-guile: installcheck-guile
31888 installcheck-guile: \
31889 configure-guile
31890 @: $(MAKE); $(unstage)
31891 @[ -f ./guile/Makefile ] || exit 0; \
31892 r=`${PWD_COMMAND}`; export r; \
31893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31894 $(HOST_EXPORTS) \
31895 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31897 done; \
31898 echo "Doing installcheck in guile" ; \
31899 (cd $(HOST_SUBDIR)/guile && \
31900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31902 "RANLIB=$${RANLIB}" \
31903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31904 installcheck) \
31905 || exit 1
31907 @endif guile
31909 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31910 maybe-mostlyclean-guile:
31911 @if guile
31912 maybe-mostlyclean-guile: mostlyclean-guile
31914 mostlyclean-guile:
31915 @: $(MAKE); $(unstage)
31916 @[ -f ./guile/Makefile ] || exit 0; \
31917 r=`${PWD_COMMAND}`; export r; \
31918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31919 $(HOST_EXPORTS) \
31920 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31922 done; \
31923 echo "Doing mostlyclean in guile" ; \
31924 (cd $(HOST_SUBDIR)/guile && \
31925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31927 "RANLIB=$${RANLIB}" \
31928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31929 mostlyclean) \
31930 || exit 1
31932 @endif guile
31934 .PHONY: maybe-clean-guile clean-guile
31935 maybe-clean-guile:
31936 @if guile
31937 maybe-clean-guile: clean-guile
31939 clean-guile:
31940 @: $(MAKE); $(unstage)
31941 @[ -f ./guile/Makefile ] || exit 0; \
31942 r=`${PWD_COMMAND}`; export r; \
31943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31944 $(HOST_EXPORTS) \
31945 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31947 done; \
31948 echo "Doing clean in guile" ; \
31949 (cd $(HOST_SUBDIR)/guile && \
31950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31952 "RANLIB=$${RANLIB}" \
31953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31954 clean) \
31955 || exit 1
31957 @endif guile
31959 .PHONY: maybe-distclean-guile distclean-guile
31960 maybe-distclean-guile:
31961 @if guile
31962 maybe-distclean-guile: distclean-guile
31964 distclean-guile:
31965 @: $(MAKE); $(unstage)
31966 @[ -f ./guile/Makefile ] || exit 0; \
31967 r=`${PWD_COMMAND}`; export r; \
31968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31969 $(HOST_EXPORTS) \
31970 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31972 done; \
31973 echo "Doing distclean in guile" ; \
31974 (cd $(HOST_SUBDIR)/guile && \
31975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31977 "RANLIB=$${RANLIB}" \
31978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31979 distclean) \
31980 || exit 1
31982 @endif guile
31984 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
31985 maybe-maintainer-clean-guile:
31986 @if guile
31987 maybe-maintainer-clean-guile: maintainer-clean-guile
31989 maintainer-clean-guile:
31990 @: $(MAKE); $(unstage)
31991 @[ -f ./guile/Makefile ] || exit 0; \
31992 r=`${PWD_COMMAND}`; export r; \
31993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31994 $(HOST_EXPORTS) \
31995 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31997 done; \
31998 echo "Doing maintainer-clean in guile" ; \
31999 (cd $(HOST_SUBDIR)/guile && \
32000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32002 "RANLIB=$${RANLIB}" \
32003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32004 maintainer-clean) \
32005 || exit 1
32007 @endif guile
32011 .PHONY: configure-tk maybe-configure-tk
32012 maybe-configure-tk:
32013 @if gcc-bootstrap
32014 configure-tk: stage_current
32015 @endif gcc-bootstrap
32016 @if tk
32017 maybe-configure-tk: configure-tk
32018 configure-tk:
32019 @: $(MAKE); $(unstage)
32020 @r=`${PWD_COMMAND}`; export r; \
32021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32022 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
32024 $(HOST_EXPORTS) \
32025 echo Configuring in $(HOST_SUBDIR)/tk; \
32026 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32027 case $(srcdir) in \
32028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32029 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32031 esac; \
32032 srcdiroption="--srcdir=$${topdir}/tk"; \
32033 libsrcdir="$$s/tk"; \
32034 $(SHELL) $${libsrcdir}/configure \
32035 $(HOST_CONFIGARGS) $${srcdiroption} \
32036 || exit 1
32037 @endif tk
32043 .PHONY: all-tk maybe-all-tk
32044 maybe-all-tk:
32045 @if gcc-bootstrap
32046 all-tk: stage_current
32047 @endif gcc-bootstrap
32048 @if tk
32049 TARGET-tk=all
32050 maybe-all-tk: all-tk
32051 all-tk: configure-tk
32052 @: $(MAKE); $(unstage)
32053 @r=`${PWD_COMMAND}`; export r; \
32054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32055 $(HOST_EXPORTS) \
32056 (cd $(HOST_SUBDIR)/tk && \
32057 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
32058 @endif tk
32063 .PHONY: check-tk maybe-check-tk
32064 maybe-check-tk:
32065 @if tk
32066 maybe-check-tk: check-tk
32068 check-tk:
32069 @: $(MAKE); $(unstage)
32070 @r=`${PWD_COMMAND}`; export r; \
32071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32072 $(HOST_EXPORTS) \
32073 (cd $(HOST_SUBDIR)/tk && \
32074 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32076 @endif tk
32078 .PHONY: install-tk maybe-install-tk
32079 maybe-install-tk:
32080 @if tk
32081 maybe-install-tk: install-tk
32083 install-tk: installdirs
32084 @: $(MAKE); $(unstage)
32085 @r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(HOST_EXPORTS) \
32088 (cd $(HOST_SUBDIR)/tk && \
32089 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32091 @endif tk
32093 # Other targets (info, dvi, pdf, etc.)
32095 .PHONY: maybe-info-tk info-tk
32096 maybe-info-tk:
32097 @if tk
32098 maybe-info-tk: info-tk
32100 info-tk: \
32101 configure-tk
32102 @: $(MAKE); $(unstage)
32103 @[ -f ./tk/Makefile ] || exit 0; \
32104 r=`${PWD_COMMAND}`; export r; \
32105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32106 $(HOST_EXPORTS) \
32107 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32109 done; \
32110 echo "Doing info in tk" ; \
32111 (cd $(HOST_SUBDIR)/tk && \
32112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32114 "RANLIB=$${RANLIB}" \
32115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32116 info) \
32117 || exit 1
32119 @endif tk
32121 .PHONY: maybe-dvi-tk dvi-tk
32122 maybe-dvi-tk:
32123 @if tk
32124 maybe-dvi-tk: dvi-tk
32126 dvi-tk: \
32127 configure-tk
32128 @: $(MAKE); $(unstage)
32129 @[ -f ./tk/Makefile ] || exit 0; \
32130 r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(HOST_EXPORTS) \
32133 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32135 done; \
32136 echo "Doing dvi in tk" ; \
32137 (cd $(HOST_SUBDIR)/tk && \
32138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32140 "RANLIB=$${RANLIB}" \
32141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32142 dvi) \
32143 || exit 1
32145 @endif tk
32147 .PHONY: maybe-pdf-tk pdf-tk
32148 maybe-pdf-tk:
32149 @if tk
32150 maybe-pdf-tk: pdf-tk
32152 pdf-tk: \
32153 configure-tk
32154 @: $(MAKE); $(unstage)
32155 @[ -f ./tk/Makefile ] || exit 0; \
32156 r=`${PWD_COMMAND}`; export r; \
32157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32158 $(HOST_EXPORTS) \
32159 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32161 done; \
32162 echo "Doing pdf in tk" ; \
32163 (cd $(HOST_SUBDIR)/tk && \
32164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32166 "RANLIB=$${RANLIB}" \
32167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32168 pdf) \
32169 || exit 1
32171 @endif tk
32173 .PHONY: maybe-html-tk html-tk
32174 maybe-html-tk:
32175 @if tk
32176 maybe-html-tk: html-tk
32178 html-tk: \
32179 configure-tk
32180 @: $(MAKE); $(unstage)
32181 @[ -f ./tk/Makefile ] || exit 0; \
32182 r=`${PWD_COMMAND}`; export r; \
32183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32184 $(HOST_EXPORTS) \
32185 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32187 done; \
32188 echo "Doing html in tk" ; \
32189 (cd $(HOST_SUBDIR)/tk && \
32190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32192 "RANLIB=$${RANLIB}" \
32193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32194 html) \
32195 || exit 1
32197 @endif tk
32199 .PHONY: maybe-TAGS-tk TAGS-tk
32200 maybe-TAGS-tk:
32201 @if tk
32202 maybe-TAGS-tk: TAGS-tk
32204 TAGS-tk: \
32205 configure-tk
32206 @: $(MAKE); $(unstage)
32207 @[ -f ./tk/Makefile ] || exit 0; \
32208 r=`${PWD_COMMAND}`; export r; \
32209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32210 $(HOST_EXPORTS) \
32211 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32213 done; \
32214 echo "Doing TAGS in tk" ; \
32215 (cd $(HOST_SUBDIR)/tk && \
32216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32218 "RANLIB=$${RANLIB}" \
32219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32220 TAGS) \
32221 || exit 1
32223 @endif tk
32225 .PHONY: maybe-install-info-tk install-info-tk
32226 maybe-install-info-tk:
32227 @if tk
32228 maybe-install-info-tk: install-info-tk
32230 install-info-tk: \
32231 configure-tk \
32232 info-tk
32233 @: $(MAKE); $(unstage)
32234 @[ -f ./tk/Makefile ] || exit 0; \
32235 r=`${PWD_COMMAND}`; export r; \
32236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32237 $(HOST_EXPORTS) \
32238 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32240 done; \
32241 echo "Doing install-info in tk" ; \
32242 (cd $(HOST_SUBDIR)/tk && \
32243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32245 "RANLIB=$${RANLIB}" \
32246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32247 install-info) \
32248 || exit 1
32250 @endif tk
32252 .PHONY: maybe-install-html-tk install-html-tk
32253 maybe-install-html-tk:
32254 @if tk
32255 maybe-install-html-tk: install-html-tk
32257 install-html-tk: \
32258 configure-tk \
32259 html-tk
32260 @: $(MAKE); $(unstage)
32261 @[ -f ./tk/Makefile ] || exit 0; \
32262 r=`${PWD_COMMAND}`; export r; \
32263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32264 $(HOST_EXPORTS) \
32265 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32267 done; \
32268 echo "Doing install-html in tk" ; \
32269 (cd $(HOST_SUBDIR)/tk && \
32270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32272 "RANLIB=$${RANLIB}" \
32273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32274 install-html) \
32275 || exit 1
32277 @endif tk
32279 .PHONY: maybe-installcheck-tk installcheck-tk
32280 maybe-installcheck-tk:
32281 @if tk
32282 maybe-installcheck-tk: installcheck-tk
32284 installcheck-tk: \
32285 configure-tk
32286 @: $(MAKE); $(unstage)
32287 @[ -f ./tk/Makefile ] || exit 0; \
32288 r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 $(HOST_EXPORTS) \
32291 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32293 done; \
32294 echo "Doing installcheck in tk" ; \
32295 (cd $(HOST_SUBDIR)/tk && \
32296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32298 "RANLIB=$${RANLIB}" \
32299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32300 installcheck) \
32301 || exit 1
32303 @endif tk
32305 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32306 maybe-mostlyclean-tk:
32307 @if tk
32308 maybe-mostlyclean-tk: mostlyclean-tk
32310 mostlyclean-tk:
32311 @: $(MAKE); $(unstage)
32312 @[ -f ./tk/Makefile ] || exit 0; \
32313 r=`${PWD_COMMAND}`; export r; \
32314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32315 $(HOST_EXPORTS) \
32316 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32318 done; \
32319 echo "Doing mostlyclean in tk" ; \
32320 (cd $(HOST_SUBDIR)/tk && \
32321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32323 "RANLIB=$${RANLIB}" \
32324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32325 mostlyclean) \
32326 || exit 1
32328 @endif tk
32330 .PHONY: maybe-clean-tk clean-tk
32331 maybe-clean-tk:
32332 @if tk
32333 maybe-clean-tk: clean-tk
32335 clean-tk:
32336 @: $(MAKE); $(unstage)
32337 @[ -f ./tk/Makefile ] || exit 0; \
32338 r=`${PWD_COMMAND}`; export r; \
32339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32340 $(HOST_EXPORTS) \
32341 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32343 done; \
32344 echo "Doing clean in tk" ; \
32345 (cd $(HOST_SUBDIR)/tk && \
32346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32348 "RANLIB=$${RANLIB}" \
32349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32350 clean) \
32351 || exit 1
32353 @endif tk
32355 .PHONY: maybe-distclean-tk distclean-tk
32356 maybe-distclean-tk:
32357 @if tk
32358 maybe-distclean-tk: distclean-tk
32360 distclean-tk:
32361 @: $(MAKE); $(unstage)
32362 @[ -f ./tk/Makefile ] || exit 0; \
32363 r=`${PWD_COMMAND}`; export r; \
32364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32365 $(HOST_EXPORTS) \
32366 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32368 done; \
32369 echo "Doing distclean in tk" ; \
32370 (cd $(HOST_SUBDIR)/tk && \
32371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32373 "RANLIB=$${RANLIB}" \
32374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32375 distclean) \
32376 || exit 1
32378 @endif tk
32380 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32381 maybe-maintainer-clean-tk:
32382 @if tk
32383 maybe-maintainer-clean-tk: maintainer-clean-tk
32385 maintainer-clean-tk:
32386 @: $(MAKE); $(unstage)
32387 @[ -f ./tk/Makefile ] || exit 0; \
32388 r=`${PWD_COMMAND}`; export r; \
32389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32390 $(HOST_EXPORTS) \
32391 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32393 done; \
32394 echo "Doing maintainer-clean in tk" ; \
32395 (cd $(HOST_SUBDIR)/tk && \
32396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32398 "RANLIB=$${RANLIB}" \
32399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32400 maintainer-clean) \
32401 || exit 1
32403 @endif tk
32407 .PHONY: configure-libtermcap maybe-configure-libtermcap
32408 maybe-configure-libtermcap:
32409 @if gcc-bootstrap
32410 configure-libtermcap: stage_current
32411 @endif gcc-bootstrap
32412 @if libtermcap
32413 maybe-configure-libtermcap: configure-libtermcap
32414 configure-libtermcap:
32415 @: $(MAKE); $(unstage)
32416 @r=`${PWD_COMMAND}`; export r; \
32417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32418 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32420 $(HOST_EXPORTS) \
32421 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32422 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32423 case $(srcdir) in \
32424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32425 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32427 esac; \
32428 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32429 libsrcdir="$$s/libtermcap"; \
32430 $(SHELL) $${libsrcdir}/configure \
32431 $(HOST_CONFIGARGS) $${srcdiroption} \
32432 || exit 1
32433 @endif libtermcap
32439 .PHONY: all-libtermcap maybe-all-libtermcap
32440 maybe-all-libtermcap:
32441 @if gcc-bootstrap
32442 all-libtermcap: stage_current
32443 @endif gcc-bootstrap
32444 @if libtermcap
32445 TARGET-libtermcap=all
32446 maybe-all-libtermcap: all-libtermcap
32447 all-libtermcap: configure-libtermcap
32448 @: $(MAKE); $(unstage)
32449 @r=`${PWD_COMMAND}`; export r; \
32450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32451 $(HOST_EXPORTS) \
32452 (cd $(HOST_SUBDIR)/libtermcap && \
32453 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32454 @endif libtermcap
32459 .PHONY: check-libtermcap maybe-check-libtermcap
32460 maybe-check-libtermcap:
32461 @if libtermcap
32462 maybe-check-libtermcap: check-libtermcap
32464 check-libtermcap:
32466 @endif libtermcap
32468 .PHONY: install-libtermcap maybe-install-libtermcap
32469 maybe-install-libtermcap:
32470 @if libtermcap
32471 maybe-install-libtermcap: install-libtermcap
32473 install-libtermcap: installdirs
32474 @: $(MAKE); $(unstage)
32475 @r=`${PWD_COMMAND}`; export r; \
32476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32477 $(HOST_EXPORTS) \
32478 (cd $(HOST_SUBDIR)/libtermcap && \
32479 $(MAKE) $(FLAGS_TO_PASS) install)
32481 @endif libtermcap
32483 # Other targets (info, dvi, pdf, etc.)
32485 .PHONY: maybe-info-libtermcap info-libtermcap
32486 maybe-info-libtermcap:
32487 @if libtermcap
32488 maybe-info-libtermcap: info-libtermcap
32490 info-libtermcap: \
32491 configure-libtermcap
32492 @: $(MAKE); $(unstage)
32493 @[ -f ./libtermcap/Makefile ] || exit 0; \
32494 r=`${PWD_COMMAND}`; export r; \
32495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32496 $(HOST_EXPORTS) \
32497 for flag in $(EXTRA_HOST_FLAGS) ; do \
32498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32499 done; \
32500 echo "Doing info in libtermcap" ; \
32501 (cd $(HOST_SUBDIR)/libtermcap && \
32502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32504 "RANLIB=$${RANLIB}" \
32505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32506 info) \
32507 || exit 1
32509 @endif libtermcap
32511 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32512 maybe-dvi-libtermcap:
32513 @if libtermcap
32514 maybe-dvi-libtermcap: dvi-libtermcap
32516 dvi-libtermcap: \
32517 configure-libtermcap
32518 @: $(MAKE); $(unstage)
32519 @[ -f ./libtermcap/Makefile ] || exit 0; \
32520 r=`${PWD_COMMAND}`; export r; \
32521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32522 $(HOST_EXPORTS) \
32523 for flag in $(EXTRA_HOST_FLAGS) ; do \
32524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 done; \
32526 echo "Doing dvi in libtermcap" ; \
32527 (cd $(HOST_SUBDIR)/libtermcap && \
32528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32530 "RANLIB=$${RANLIB}" \
32531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32532 dvi) \
32533 || exit 1
32535 @endif libtermcap
32537 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32538 maybe-pdf-libtermcap:
32539 @if libtermcap
32540 maybe-pdf-libtermcap: pdf-libtermcap
32542 pdf-libtermcap: \
32543 configure-libtermcap
32544 @: $(MAKE); $(unstage)
32545 @[ -f ./libtermcap/Makefile ] || exit 0; \
32546 r=`${PWD_COMMAND}`; export r; \
32547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32548 $(HOST_EXPORTS) \
32549 for flag in $(EXTRA_HOST_FLAGS) ; do \
32550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32551 done; \
32552 echo "Doing pdf in libtermcap" ; \
32553 (cd $(HOST_SUBDIR)/libtermcap && \
32554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32556 "RANLIB=$${RANLIB}" \
32557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32558 pdf) \
32559 || exit 1
32561 @endif libtermcap
32563 .PHONY: maybe-html-libtermcap html-libtermcap
32564 maybe-html-libtermcap:
32565 @if libtermcap
32566 maybe-html-libtermcap: html-libtermcap
32568 html-libtermcap: \
32569 configure-libtermcap
32570 @: $(MAKE); $(unstage)
32571 @[ -f ./libtermcap/Makefile ] || exit 0; \
32572 r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 $(HOST_EXPORTS) \
32575 for flag in $(EXTRA_HOST_FLAGS) ; do \
32576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32577 done; \
32578 echo "Doing html in libtermcap" ; \
32579 (cd $(HOST_SUBDIR)/libtermcap && \
32580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32582 "RANLIB=$${RANLIB}" \
32583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32584 html) \
32585 || exit 1
32587 @endif libtermcap
32589 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32590 maybe-TAGS-libtermcap:
32591 @if libtermcap
32592 maybe-TAGS-libtermcap: TAGS-libtermcap
32594 TAGS-libtermcap: \
32595 configure-libtermcap
32596 @: $(MAKE); $(unstage)
32597 @[ -f ./libtermcap/Makefile ] || exit 0; \
32598 r=`${PWD_COMMAND}`; export r; \
32599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32600 $(HOST_EXPORTS) \
32601 for flag in $(EXTRA_HOST_FLAGS) ; do \
32602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32603 done; \
32604 echo "Doing TAGS in libtermcap" ; \
32605 (cd $(HOST_SUBDIR)/libtermcap && \
32606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32608 "RANLIB=$${RANLIB}" \
32609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32610 TAGS) \
32611 || exit 1
32613 @endif libtermcap
32615 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32616 maybe-install-info-libtermcap:
32617 @if libtermcap
32618 maybe-install-info-libtermcap: install-info-libtermcap
32620 install-info-libtermcap: \
32621 configure-libtermcap \
32622 info-libtermcap
32623 @: $(MAKE); $(unstage)
32624 @[ -f ./libtermcap/Makefile ] || exit 0; \
32625 r=`${PWD_COMMAND}`; export r; \
32626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32627 $(HOST_EXPORTS) \
32628 for flag in $(EXTRA_HOST_FLAGS) ; do \
32629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32630 done; \
32631 echo "Doing install-info in libtermcap" ; \
32632 (cd $(HOST_SUBDIR)/libtermcap && \
32633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32635 "RANLIB=$${RANLIB}" \
32636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32637 install-info) \
32638 || exit 1
32640 @endif libtermcap
32642 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32643 maybe-install-html-libtermcap:
32644 @if libtermcap
32645 maybe-install-html-libtermcap: install-html-libtermcap
32647 install-html-libtermcap: \
32648 configure-libtermcap \
32649 html-libtermcap
32650 @: $(MAKE); $(unstage)
32651 @[ -f ./libtermcap/Makefile ] || exit 0; \
32652 r=`${PWD_COMMAND}`; export r; \
32653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32654 $(HOST_EXPORTS) \
32655 for flag in $(EXTRA_HOST_FLAGS) ; do \
32656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32657 done; \
32658 echo "Doing install-html in libtermcap" ; \
32659 (cd $(HOST_SUBDIR)/libtermcap && \
32660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32662 "RANLIB=$${RANLIB}" \
32663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32664 install-html) \
32665 || exit 1
32667 @endif libtermcap
32669 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32670 maybe-installcheck-libtermcap:
32671 @if libtermcap
32672 maybe-installcheck-libtermcap: installcheck-libtermcap
32674 installcheck-libtermcap: \
32675 configure-libtermcap
32676 @: $(MAKE); $(unstage)
32677 @[ -f ./libtermcap/Makefile ] || exit 0; \
32678 r=`${PWD_COMMAND}`; export r; \
32679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32680 $(HOST_EXPORTS) \
32681 for flag in $(EXTRA_HOST_FLAGS) ; do \
32682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32683 done; \
32684 echo "Doing installcheck in libtermcap" ; \
32685 (cd $(HOST_SUBDIR)/libtermcap && \
32686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32688 "RANLIB=$${RANLIB}" \
32689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32690 installcheck) \
32691 || exit 1
32693 @endif libtermcap
32695 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32696 maybe-mostlyclean-libtermcap:
32697 @if libtermcap
32698 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32700 # libtermcap doesn't support mostlyclean.
32701 mostlyclean-libtermcap:
32703 @endif libtermcap
32705 .PHONY: maybe-clean-libtermcap clean-libtermcap
32706 maybe-clean-libtermcap:
32707 @if libtermcap
32708 maybe-clean-libtermcap: clean-libtermcap
32710 # libtermcap doesn't support clean.
32711 clean-libtermcap:
32713 @endif libtermcap
32715 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32716 maybe-distclean-libtermcap:
32717 @if libtermcap
32718 maybe-distclean-libtermcap: distclean-libtermcap
32720 # libtermcap doesn't support distclean.
32721 distclean-libtermcap:
32723 @endif libtermcap
32725 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32726 maybe-maintainer-clean-libtermcap:
32727 @if libtermcap
32728 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32730 # libtermcap doesn't support maintainer-clean.
32731 maintainer-clean-libtermcap:
32733 @endif libtermcap
32737 .PHONY: configure-utils maybe-configure-utils
32738 maybe-configure-utils:
32739 @if gcc-bootstrap
32740 configure-utils: stage_current
32741 @endif gcc-bootstrap
32742 @if utils
32743 maybe-configure-utils: configure-utils
32744 configure-utils:
32745 @: $(MAKE); $(unstage)
32746 @r=`${PWD_COMMAND}`; export r; \
32747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32748 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32750 $(HOST_EXPORTS) \
32751 echo Configuring in $(HOST_SUBDIR)/utils; \
32752 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32753 case $(srcdir) in \
32754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32755 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32757 esac; \
32758 srcdiroption="--srcdir=$${topdir}/utils"; \
32759 libsrcdir="$$s/utils"; \
32760 $(SHELL) $${libsrcdir}/configure \
32761 $(HOST_CONFIGARGS) $${srcdiroption} \
32762 || exit 1
32763 @endif utils
32769 .PHONY: all-utils maybe-all-utils
32770 maybe-all-utils:
32771 @if gcc-bootstrap
32772 all-utils: stage_current
32773 @endif gcc-bootstrap
32774 @if utils
32775 TARGET-utils=all
32776 maybe-all-utils: all-utils
32777 all-utils: configure-utils
32778 @: $(MAKE); $(unstage)
32779 @r=`${PWD_COMMAND}`; export r; \
32780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32781 $(HOST_EXPORTS) \
32782 (cd $(HOST_SUBDIR)/utils && \
32783 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32784 @endif utils
32789 .PHONY: check-utils maybe-check-utils
32790 maybe-check-utils:
32791 @if utils
32792 maybe-check-utils: check-utils
32794 check-utils:
32796 @endif utils
32798 .PHONY: install-utils maybe-install-utils
32799 maybe-install-utils:
32800 @if utils
32801 maybe-install-utils: install-utils
32803 install-utils: installdirs
32804 @: $(MAKE); $(unstage)
32805 @r=`${PWD_COMMAND}`; export r; \
32806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32807 $(HOST_EXPORTS) \
32808 (cd $(HOST_SUBDIR)/utils && \
32809 $(MAKE) $(FLAGS_TO_PASS) install)
32811 @endif utils
32813 # Other targets (info, dvi, pdf, etc.)
32815 .PHONY: maybe-info-utils info-utils
32816 maybe-info-utils:
32817 @if utils
32818 maybe-info-utils: info-utils
32820 info-utils: \
32821 configure-utils
32822 @: $(MAKE); $(unstage)
32823 @[ -f ./utils/Makefile ] || exit 0; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(HOST_EXPORTS) \
32827 for flag in $(EXTRA_HOST_FLAGS) ; do \
32828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32829 done; \
32830 echo "Doing info in utils" ; \
32831 (cd $(HOST_SUBDIR)/utils && \
32832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32834 "RANLIB=$${RANLIB}" \
32835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32836 info) \
32837 || exit 1
32839 @endif utils
32841 .PHONY: maybe-dvi-utils dvi-utils
32842 maybe-dvi-utils:
32843 @if utils
32844 maybe-dvi-utils: dvi-utils
32846 dvi-utils: \
32847 configure-utils
32848 @: $(MAKE); $(unstage)
32849 @[ -f ./utils/Makefile ] || exit 0; \
32850 r=`${PWD_COMMAND}`; export r; \
32851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32852 $(HOST_EXPORTS) \
32853 for flag in $(EXTRA_HOST_FLAGS) ; do \
32854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32855 done; \
32856 echo "Doing dvi in utils" ; \
32857 (cd $(HOST_SUBDIR)/utils && \
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 dvi) \
32863 || exit 1
32865 @endif utils
32867 .PHONY: maybe-pdf-utils pdf-utils
32868 maybe-pdf-utils:
32869 @if utils
32870 maybe-pdf-utils: pdf-utils
32872 pdf-utils: \
32873 configure-utils
32874 @: $(MAKE); $(unstage)
32875 @[ -f ./utils/Makefile ] || exit 0; \
32876 r=`${PWD_COMMAND}`; export r; \
32877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32878 $(HOST_EXPORTS) \
32879 for flag in $(EXTRA_HOST_FLAGS) ; do \
32880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32881 done; \
32882 echo "Doing pdf in utils" ; \
32883 (cd $(HOST_SUBDIR)/utils && \
32884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32886 "RANLIB=$${RANLIB}" \
32887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32888 pdf) \
32889 || exit 1
32891 @endif utils
32893 .PHONY: maybe-html-utils html-utils
32894 maybe-html-utils:
32895 @if utils
32896 maybe-html-utils: html-utils
32898 html-utils: \
32899 configure-utils
32900 @: $(MAKE); $(unstage)
32901 @[ -f ./utils/Makefile ] || exit 0; \
32902 r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 $(HOST_EXPORTS) \
32905 for flag in $(EXTRA_HOST_FLAGS) ; do \
32906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32907 done; \
32908 echo "Doing html in utils" ; \
32909 (cd $(HOST_SUBDIR)/utils && \
32910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32912 "RANLIB=$${RANLIB}" \
32913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32914 html) \
32915 || exit 1
32917 @endif utils
32919 .PHONY: maybe-TAGS-utils TAGS-utils
32920 maybe-TAGS-utils:
32921 @if utils
32922 maybe-TAGS-utils: TAGS-utils
32924 TAGS-utils: \
32925 configure-utils
32926 @: $(MAKE); $(unstage)
32927 @[ -f ./utils/Makefile ] || exit 0; \
32928 r=`${PWD_COMMAND}`; export r; \
32929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32930 $(HOST_EXPORTS) \
32931 for flag in $(EXTRA_HOST_FLAGS) ; do \
32932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32933 done; \
32934 echo "Doing TAGS in utils" ; \
32935 (cd $(HOST_SUBDIR)/utils && \
32936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32938 "RANLIB=$${RANLIB}" \
32939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32940 TAGS) \
32941 || exit 1
32943 @endif utils
32945 .PHONY: maybe-install-info-utils install-info-utils
32946 maybe-install-info-utils:
32947 @if utils
32948 maybe-install-info-utils: install-info-utils
32950 install-info-utils: \
32951 configure-utils \
32952 info-utils
32953 @: $(MAKE); $(unstage)
32954 @[ -f ./utils/Makefile ] || exit 0; \
32955 r=`${PWD_COMMAND}`; export r; \
32956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32957 $(HOST_EXPORTS) \
32958 for flag in $(EXTRA_HOST_FLAGS) ; do \
32959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32960 done; \
32961 echo "Doing install-info in utils" ; \
32962 (cd $(HOST_SUBDIR)/utils && \
32963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32965 "RANLIB=$${RANLIB}" \
32966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32967 install-info) \
32968 || exit 1
32970 @endif utils
32972 .PHONY: maybe-install-html-utils install-html-utils
32973 maybe-install-html-utils:
32974 @if utils
32975 maybe-install-html-utils: install-html-utils
32977 install-html-utils: \
32978 configure-utils \
32979 html-utils
32980 @: $(MAKE); $(unstage)
32981 @[ -f ./utils/Makefile ] || exit 0; \
32982 r=`${PWD_COMMAND}`; export r; \
32983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32984 $(HOST_EXPORTS) \
32985 for flag in $(EXTRA_HOST_FLAGS) ; do \
32986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32987 done; \
32988 echo "Doing install-html in utils" ; \
32989 (cd $(HOST_SUBDIR)/utils && \
32990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32992 "RANLIB=$${RANLIB}" \
32993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32994 install-html) \
32995 || exit 1
32997 @endif utils
32999 .PHONY: maybe-installcheck-utils installcheck-utils
33000 maybe-installcheck-utils:
33001 @if utils
33002 maybe-installcheck-utils: installcheck-utils
33004 installcheck-utils: \
33005 configure-utils
33006 @: $(MAKE); $(unstage)
33007 @[ -f ./utils/Makefile ] || exit 0; \
33008 r=`${PWD_COMMAND}`; export r; \
33009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33010 $(HOST_EXPORTS) \
33011 for flag in $(EXTRA_HOST_FLAGS) ; do \
33012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33013 done; \
33014 echo "Doing installcheck in utils" ; \
33015 (cd $(HOST_SUBDIR)/utils && \
33016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33018 "RANLIB=$${RANLIB}" \
33019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33020 installcheck) \
33021 || exit 1
33023 @endif utils
33025 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33026 maybe-mostlyclean-utils:
33027 @if utils
33028 maybe-mostlyclean-utils: mostlyclean-utils
33030 mostlyclean-utils:
33031 @: $(MAKE); $(unstage)
33032 @[ -f ./utils/Makefile ] || exit 0; \
33033 r=`${PWD_COMMAND}`; export r; \
33034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33035 $(HOST_EXPORTS) \
33036 for flag in $(EXTRA_HOST_FLAGS) ; do \
33037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33038 done; \
33039 echo "Doing mostlyclean in utils" ; \
33040 (cd $(HOST_SUBDIR)/utils && \
33041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33043 "RANLIB=$${RANLIB}" \
33044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33045 mostlyclean) \
33046 || exit 1
33048 @endif utils
33050 .PHONY: maybe-clean-utils clean-utils
33051 maybe-clean-utils:
33052 @if utils
33053 maybe-clean-utils: clean-utils
33055 clean-utils:
33056 @: $(MAKE); $(unstage)
33057 @[ -f ./utils/Makefile ] || exit 0; \
33058 r=`${PWD_COMMAND}`; export r; \
33059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33060 $(HOST_EXPORTS) \
33061 for flag in $(EXTRA_HOST_FLAGS) ; do \
33062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33063 done; \
33064 echo "Doing clean in utils" ; \
33065 (cd $(HOST_SUBDIR)/utils && \
33066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33068 "RANLIB=$${RANLIB}" \
33069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33070 clean) \
33071 || exit 1
33073 @endif utils
33075 .PHONY: maybe-distclean-utils distclean-utils
33076 maybe-distclean-utils:
33077 @if utils
33078 maybe-distclean-utils: distclean-utils
33080 distclean-utils:
33081 @: $(MAKE); $(unstage)
33082 @[ -f ./utils/Makefile ] || exit 0; \
33083 r=`${PWD_COMMAND}`; export r; \
33084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33085 $(HOST_EXPORTS) \
33086 for flag in $(EXTRA_HOST_FLAGS) ; do \
33087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33088 done; \
33089 echo "Doing distclean in utils" ; \
33090 (cd $(HOST_SUBDIR)/utils && \
33091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33093 "RANLIB=$${RANLIB}" \
33094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33095 distclean) \
33096 || exit 1
33098 @endif utils
33100 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33101 maybe-maintainer-clean-utils:
33102 @if utils
33103 maybe-maintainer-clean-utils: maintainer-clean-utils
33105 maintainer-clean-utils:
33106 @: $(MAKE); $(unstage)
33107 @[ -f ./utils/Makefile ] || exit 0; \
33108 r=`${PWD_COMMAND}`; export r; \
33109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33110 $(HOST_EXPORTS) \
33111 for flag in $(EXTRA_HOST_FLAGS) ; do \
33112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33113 done; \
33114 echo "Doing maintainer-clean in utils" ; \
33115 (cd $(HOST_SUBDIR)/utils && \
33116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33118 "RANLIB=$${RANLIB}" \
33119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33120 maintainer-clean) \
33121 || exit 1
33123 @endif utils
33127 .PHONY: configure-gnattools maybe-configure-gnattools
33128 maybe-configure-gnattools:
33129 @if gcc-bootstrap
33130 configure-gnattools: stage_current
33131 @endif gcc-bootstrap
33132 @if gnattools
33133 maybe-configure-gnattools: configure-gnattools
33134 configure-gnattools:
33135 @: $(MAKE); $(unstage)
33136 @r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
33140 $(HOST_EXPORTS) \
33141 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33142 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33143 case $(srcdir) in \
33144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33145 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33147 esac; \
33148 srcdiroption="--srcdir=$${topdir}/gnattools"; \
33149 libsrcdir="$$s/gnattools"; \
33150 $(SHELL) $${libsrcdir}/configure \
33151 $(HOST_CONFIGARGS) $${srcdiroption} \
33152 || exit 1
33153 @endif gnattools
33159 .PHONY: all-gnattools maybe-all-gnattools
33160 maybe-all-gnattools:
33161 @if gcc-bootstrap
33162 all-gnattools: stage_current
33163 @endif gcc-bootstrap
33164 @if gnattools
33165 TARGET-gnattools=all
33166 maybe-all-gnattools: all-gnattools
33167 all-gnattools: configure-gnattools
33168 @: $(MAKE); $(unstage)
33169 @r=`${PWD_COMMAND}`; export r; \
33170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33171 $(HOST_EXPORTS) \
33172 (cd $(HOST_SUBDIR)/gnattools && \
33173 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
33174 @endif gnattools
33179 .PHONY: check-gnattools maybe-check-gnattools
33180 maybe-check-gnattools:
33181 @if gnattools
33182 maybe-check-gnattools: check-gnattools
33184 check-gnattools:
33185 @: $(MAKE); $(unstage)
33186 @r=`${PWD_COMMAND}`; export r; \
33187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33188 $(HOST_EXPORTS) \
33189 (cd $(HOST_SUBDIR)/gnattools && \
33190 $(MAKE) $(FLAGS_TO_PASS) check)
33192 @endif gnattools
33194 .PHONY: install-gnattools maybe-install-gnattools
33195 maybe-install-gnattools:
33196 @if gnattools
33197 maybe-install-gnattools: install-gnattools
33199 install-gnattools: installdirs
33200 @: $(MAKE); $(unstage)
33201 @r=`${PWD_COMMAND}`; export r; \
33202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33203 $(HOST_EXPORTS) \
33204 (cd $(HOST_SUBDIR)/gnattools && \
33205 $(MAKE) $(FLAGS_TO_PASS) install)
33207 @endif gnattools
33209 # Other targets (info, dvi, pdf, etc.)
33211 .PHONY: maybe-info-gnattools info-gnattools
33212 maybe-info-gnattools:
33213 @if gnattools
33214 maybe-info-gnattools: info-gnattools
33216 info-gnattools: \
33217 configure-gnattools
33218 @: $(MAKE); $(unstage)
33219 @[ -f ./gnattools/Makefile ] || exit 0; \
33220 r=`${PWD_COMMAND}`; export r; \
33221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33222 $(HOST_EXPORTS) \
33223 for flag in $(EXTRA_HOST_FLAGS) ; do \
33224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33225 done; \
33226 echo "Doing info in gnattools" ; \
33227 (cd $(HOST_SUBDIR)/gnattools && \
33228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33230 "RANLIB=$${RANLIB}" \
33231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33232 info) \
33233 || exit 1
33235 @endif gnattools
33237 .PHONY: maybe-dvi-gnattools dvi-gnattools
33238 maybe-dvi-gnattools:
33239 @if gnattools
33240 maybe-dvi-gnattools: dvi-gnattools
33242 dvi-gnattools: \
33243 configure-gnattools
33244 @: $(MAKE); $(unstage)
33245 @[ -f ./gnattools/Makefile ] || exit 0; \
33246 r=`${PWD_COMMAND}`; export r; \
33247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33248 $(HOST_EXPORTS) \
33249 for flag in $(EXTRA_HOST_FLAGS) ; do \
33250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33251 done; \
33252 echo "Doing dvi in gnattools" ; \
33253 (cd $(HOST_SUBDIR)/gnattools && \
33254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33256 "RANLIB=$${RANLIB}" \
33257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33258 dvi) \
33259 || exit 1
33261 @endif gnattools
33263 .PHONY: maybe-pdf-gnattools pdf-gnattools
33264 maybe-pdf-gnattools:
33265 @if gnattools
33266 maybe-pdf-gnattools: pdf-gnattools
33268 pdf-gnattools: \
33269 configure-gnattools
33270 @: $(MAKE); $(unstage)
33271 @[ -f ./gnattools/Makefile ] || exit 0; \
33272 r=`${PWD_COMMAND}`; export r; \
33273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33274 $(HOST_EXPORTS) \
33275 for flag in $(EXTRA_HOST_FLAGS) ; do \
33276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33277 done; \
33278 echo "Doing pdf in gnattools" ; \
33279 (cd $(HOST_SUBDIR)/gnattools && \
33280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33282 "RANLIB=$${RANLIB}" \
33283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33284 pdf) \
33285 || exit 1
33287 @endif gnattools
33289 .PHONY: maybe-html-gnattools html-gnattools
33290 maybe-html-gnattools:
33291 @if gnattools
33292 maybe-html-gnattools: html-gnattools
33294 html-gnattools: \
33295 configure-gnattools
33296 @: $(MAKE); $(unstage)
33297 @[ -f ./gnattools/Makefile ] || exit 0; \
33298 r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 $(HOST_EXPORTS) \
33301 for flag in $(EXTRA_HOST_FLAGS) ; do \
33302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33303 done; \
33304 echo "Doing html in gnattools" ; \
33305 (cd $(HOST_SUBDIR)/gnattools && \
33306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33308 "RANLIB=$${RANLIB}" \
33309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33310 html) \
33311 || exit 1
33313 @endif gnattools
33315 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33316 maybe-TAGS-gnattools:
33317 @if gnattools
33318 maybe-TAGS-gnattools: TAGS-gnattools
33320 TAGS-gnattools: \
33321 configure-gnattools
33322 @: $(MAKE); $(unstage)
33323 @[ -f ./gnattools/Makefile ] || exit 0; \
33324 r=`${PWD_COMMAND}`; export r; \
33325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33326 $(HOST_EXPORTS) \
33327 for flag in $(EXTRA_HOST_FLAGS) ; do \
33328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33329 done; \
33330 echo "Doing TAGS in gnattools" ; \
33331 (cd $(HOST_SUBDIR)/gnattools && \
33332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33334 "RANLIB=$${RANLIB}" \
33335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33336 TAGS) \
33337 || exit 1
33339 @endif gnattools
33341 .PHONY: maybe-install-info-gnattools install-info-gnattools
33342 maybe-install-info-gnattools:
33343 @if gnattools
33344 maybe-install-info-gnattools: install-info-gnattools
33346 install-info-gnattools: \
33347 configure-gnattools \
33348 info-gnattools
33349 @: $(MAKE); $(unstage)
33350 @[ -f ./gnattools/Makefile ] || exit 0; \
33351 r=`${PWD_COMMAND}`; export r; \
33352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33353 $(HOST_EXPORTS) \
33354 for flag in $(EXTRA_HOST_FLAGS) ; do \
33355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33356 done; \
33357 echo "Doing install-info in gnattools" ; \
33358 (cd $(HOST_SUBDIR)/gnattools && \
33359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33361 "RANLIB=$${RANLIB}" \
33362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33363 install-info) \
33364 || exit 1
33366 @endif gnattools
33368 .PHONY: maybe-install-html-gnattools install-html-gnattools
33369 maybe-install-html-gnattools:
33370 @if gnattools
33371 maybe-install-html-gnattools: install-html-gnattools
33373 install-html-gnattools: \
33374 configure-gnattools \
33375 html-gnattools
33376 @: $(MAKE); $(unstage)
33377 @[ -f ./gnattools/Makefile ] || exit 0; \
33378 r=`${PWD_COMMAND}`; export r; \
33379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33380 $(HOST_EXPORTS) \
33381 for flag in $(EXTRA_HOST_FLAGS) ; do \
33382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33383 done; \
33384 echo "Doing install-html in gnattools" ; \
33385 (cd $(HOST_SUBDIR)/gnattools && \
33386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33388 "RANLIB=$${RANLIB}" \
33389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33390 install-html) \
33391 || exit 1
33393 @endif gnattools
33395 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33396 maybe-installcheck-gnattools:
33397 @if gnattools
33398 maybe-installcheck-gnattools: installcheck-gnattools
33400 installcheck-gnattools: \
33401 configure-gnattools
33402 @: $(MAKE); $(unstage)
33403 @[ -f ./gnattools/Makefile ] || exit 0; \
33404 r=`${PWD_COMMAND}`; export r; \
33405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33406 $(HOST_EXPORTS) \
33407 for flag in $(EXTRA_HOST_FLAGS) ; do \
33408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33409 done; \
33410 echo "Doing installcheck in gnattools" ; \
33411 (cd $(HOST_SUBDIR)/gnattools && \
33412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33414 "RANLIB=$${RANLIB}" \
33415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33416 installcheck) \
33417 || exit 1
33419 @endif gnattools
33421 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33422 maybe-mostlyclean-gnattools:
33423 @if gnattools
33424 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33426 mostlyclean-gnattools:
33427 @: $(MAKE); $(unstage)
33428 @[ -f ./gnattools/Makefile ] || exit 0; \
33429 r=`${PWD_COMMAND}`; export r; \
33430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33431 $(HOST_EXPORTS) \
33432 for flag in $(EXTRA_HOST_FLAGS) ; do \
33433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33434 done; \
33435 echo "Doing mostlyclean in gnattools" ; \
33436 (cd $(HOST_SUBDIR)/gnattools && \
33437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33439 "RANLIB=$${RANLIB}" \
33440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33441 mostlyclean) \
33442 || exit 1
33444 @endif gnattools
33446 .PHONY: maybe-clean-gnattools clean-gnattools
33447 maybe-clean-gnattools:
33448 @if gnattools
33449 maybe-clean-gnattools: clean-gnattools
33451 clean-gnattools:
33452 @: $(MAKE); $(unstage)
33453 @[ -f ./gnattools/Makefile ] || exit 0; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(HOST_EXPORTS) \
33457 for flag in $(EXTRA_HOST_FLAGS) ; do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 echo "Doing clean in gnattools" ; \
33461 (cd $(HOST_SUBDIR)/gnattools && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33466 clean) \
33467 || exit 1
33469 @endif gnattools
33471 .PHONY: maybe-distclean-gnattools distclean-gnattools
33472 maybe-distclean-gnattools:
33473 @if gnattools
33474 maybe-distclean-gnattools: distclean-gnattools
33476 distclean-gnattools:
33477 @: $(MAKE); $(unstage)
33478 @[ -f ./gnattools/Makefile ] || exit 0; \
33479 r=`${PWD_COMMAND}`; export r; \
33480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33481 $(HOST_EXPORTS) \
33482 for flag in $(EXTRA_HOST_FLAGS) ; do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 echo "Doing distclean in gnattools" ; \
33486 (cd $(HOST_SUBDIR)/gnattools && \
33487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33489 "RANLIB=$${RANLIB}" \
33490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33491 distclean) \
33492 || exit 1
33494 @endif gnattools
33496 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33497 maybe-maintainer-clean-gnattools:
33498 @if gnattools
33499 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33501 maintainer-clean-gnattools:
33502 @: $(MAKE); $(unstage)
33503 @[ -f ./gnattools/Makefile ] || exit 0; \
33504 r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(HOST_EXPORTS) \
33507 for flag in $(EXTRA_HOST_FLAGS) ; do \
33508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33509 done; \
33510 echo "Doing maintainer-clean in gnattools" ; \
33511 (cd $(HOST_SUBDIR)/gnattools && \
33512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33514 "RANLIB=$${RANLIB}" \
33515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33516 maintainer-clean) \
33517 || exit 1
33519 @endif gnattools
33523 # ---------------------------------------
33524 # Modules which run on the target machine
33525 # ---------------------------------------
33530 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33531 maybe-configure-target-libstdc++-v3:
33532 @if gcc-bootstrap
33533 configure-target-libstdc++-v3: stage_current
33534 @endif gcc-bootstrap
33535 @if target-libstdc++-v3
33536 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33537 configure-target-libstdc++-v3:
33538 @: $(MAKE); $(unstage)
33539 @r=`${PWD_COMMAND}`; export r; \
33540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33541 echo "Checking multilib configuration for libstdc++-v3..."; \
33542 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33543 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33544 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33545 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33546 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33547 else \
33548 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33549 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33550 fi; \
33551 else \
33552 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33553 fi; \
33554 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33555 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33556 $(RAW_CXX_TARGET_EXPORTS) \
33557 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33558 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33559 case $(srcdir) in \
33560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33561 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33563 esac; \
33564 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33565 libsrcdir="$$s/libstdc++-v3"; \
33566 rm -f no-such-file || : ; \
33567 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33568 $(TARGET_CONFIGARGS) $${srcdiroption} \
33569 || exit 1
33570 @endif target-libstdc++-v3
33576 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33577 maybe-all-target-libstdc++-v3:
33578 @if gcc-bootstrap
33579 all-target-libstdc++-v3: stage_current
33580 @endif gcc-bootstrap
33581 @if target-libstdc++-v3
33582 TARGET-target-libstdc++-v3=all
33583 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33584 all-target-libstdc++-v3: configure-target-libstdc++-v3
33585 @: $(MAKE); $(unstage)
33586 @r=`${PWD_COMMAND}`; export r; \
33587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33588 $(RAW_CXX_TARGET_EXPORTS) \
33589 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33590 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33591 @endif target-libstdc++-v3
33597 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33598 maybe-check-target-libstdc++-v3:
33599 @if target-libstdc++-v3
33600 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33602 check-target-libstdc++-v3:
33603 @: $(MAKE); $(unstage)
33604 @r=`${PWD_COMMAND}`; export r; \
33605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33606 $(RAW_CXX_TARGET_EXPORTS) \
33607 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33608 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33610 @endif target-libstdc++-v3
33612 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33613 maybe-install-target-libstdc++-v3:
33614 @if target-libstdc++-v3
33615 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33617 install-target-libstdc++-v3: installdirs
33618 @: $(MAKE); $(unstage)
33619 @r=`${PWD_COMMAND}`; export r; \
33620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33621 $(RAW_CXX_TARGET_EXPORTS) \
33622 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33623 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33625 @endif target-libstdc++-v3
33627 # Other targets (info, dvi, pdf, etc.)
33629 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33630 maybe-info-target-libstdc++-v3:
33631 @if target-libstdc++-v3
33632 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33634 info-target-libstdc++-v3: \
33635 configure-target-libstdc++-v3
33636 @: $(MAKE); $(unstage)
33637 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33638 r=`${PWD_COMMAND}`; export r; \
33639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33640 $(RAW_CXX_TARGET_EXPORTS) \
33641 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33642 for flag in $(EXTRA_TARGET_FLAGS); do \
33643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33644 done; \
33645 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33648 "RANLIB=$${RANLIB}" \
33649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33650 info) \
33651 || exit 1
33653 @endif target-libstdc++-v3
33655 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33656 maybe-dvi-target-libstdc++-v3:
33657 @if target-libstdc++-v3
33658 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33660 dvi-target-libstdc++-v3: \
33661 configure-target-libstdc++-v3
33662 @: $(MAKE); $(unstage)
33663 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33664 r=`${PWD_COMMAND}`; export r; \
33665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33666 $(RAW_CXX_TARGET_EXPORTS) \
33667 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33668 for flag in $(EXTRA_TARGET_FLAGS); do \
33669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33670 done; \
33671 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33674 "RANLIB=$${RANLIB}" \
33675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33676 dvi) \
33677 || exit 1
33679 @endif target-libstdc++-v3
33681 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33682 maybe-pdf-target-libstdc++-v3:
33683 @if target-libstdc++-v3
33684 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33686 pdf-target-libstdc++-v3: \
33687 configure-target-libstdc++-v3
33688 @: $(MAKE); $(unstage)
33689 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33690 r=`${PWD_COMMAND}`; export r; \
33691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33692 $(RAW_CXX_TARGET_EXPORTS) \
33693 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33694 for flag in $(EXTRA_TARGET_FLAGS); do \
33695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33696 done; \
33697 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33700 "RANLIB=$${RANLIB}" \
33701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33702 pdf) \
33703 || exit 1
33705 @endif target-libstdc++-v3
33707 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33708 maybe-html-target-libstdc++-v3:
33709 @if target-libstdc++-v3
33710 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33712 html-target-libstdc++-v3: \
33713 configure-target-libstdc++-v3
33714 @: $(MAKE); $(unstage)
33715 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33716 r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 $(RAW_CXX_TARGET_EXPORTS) \
33719 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33720 for flag in $(EXTRA_TARGET_FLAGS); do \
33721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33722 done; \
33723 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33726 "RANLIB=$${RANLIB}" \
33727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33728 html) \
33729 || exit 1
33731 @endif target-libstdc++-v3
33733 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33734 maybe-TAGS-target-libstdc++-v3:
33735 @if target-libstdc++-v3
33736 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33738 TAGS-target-libstdc++-v3: \
33739 configure-target-libstdc++-v3
33740 @: $(MAKE); $(unstage)
33741 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33742 r=`${PWD_COMMAND}`; export r; \
33743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33744 $(RAW_CXX_TARGET_EXPORTS) \
33745 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33746 for flag in $(EXTRA_TARGET_FLAGS); do \
33747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33748 done; \
33749 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33752 "RANLIB=$${RANLIB}" \
33753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33754 TAGS) \
33755 || exit 1
33757 @endif target-libstdc++-v3
33759 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33760 maybe-install-info-target-libstdc++-v3:
33761 @if target-libstdc++-v3
33762 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33764 install-info-target-libstdc++-v3: \
33765 configure-target-libstdc++-v3 \
33766 info-target-libstdc++-v3
33767 @: $(MAKE); $(unstage)
33768 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33769 r=`${PWD_COMMAND}`; export r; \
33770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33771 $(RAW_CXX_TARGET_EXPORTS) \
33772 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33773 for flag in $(EXTRA_TARGET_FLAGS); do \
33774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33775 done; \
33776 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33779 "RANLIB=$${RANLIB}" \
33780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33781 install-info) \
33782 || exit 1
33784 @endif target-libstdc++-v3
33786 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33787 maybe-install-html-target-libstdc++-v3:
33788 @if target-libstdc++-v3
33789 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33791 install-html-target-libstdc++-v3: \
33792 configure-target-libstdc++-v3 \
33793 html-target-libstdc++-v3
33794 @: $(MAKE); $(unstage)
33795 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33796 r=`${PWD_COMMAND}`; export r; \
33797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33798 $(RAW_CXX_TARGET_EXPORTS) \
33799 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33800 for flag in $(EXTRA_TARGET_FLAGS); do \
33801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33802 done; \
33803 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33806 "RANLIB=$${RANLIB}" \
33807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33808 install-html) \
33809 || exit 1
33811 @endif target-libstdc++-v3
33813 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33814 maybe-installcheck-target-libstdc++-v3:
33815 @if target-libstdc++-v3
33816 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33818 installcheck-target-libstdc++-v3: \
33819 configure-target-libstdc++-v3
33820 @: $(MAKE); $(unstage)
33821 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33822 r=`${PWD_COMMAND}`; export r; \
33823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33824 $(RAW_CXX_TARGET_EXPORTS) \
33825 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33826 for flag in $(EXTRA_TARGET_FLAGS); do \
33827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33828 done; \
33829 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33832 "RANLIB=$${RANLIB}" \
33833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33834 installcheck) \
33835 || exit 1
33837 @endif target-libstdc++-v3
33839 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33840 maybe-mostlyclean-target-libstdc++-v3:
33841 @if target-libstdc++-v3
33842 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33844 mostlyclean-target-libstdc++-v3:
33845 @: $(MAKE); $(unstage)
33846 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33847 r=`${PWD_COMMAND}`; export r; \
33848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33849 $(RAW_CXX_TARGET_EXPORTS) \
33850 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33851 for flag in $(EXTRA_TARGET_FLAGS); do \
33852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33853 done; \
33854 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33857 "RANLIB=$${RANLIB}" \
33858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33859 mostlyclean) \
33860 || exit 1
33862 @endif target-libstdc++-v3
33864 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33865 maybe-clean-target-libstdc++-v3:
33866 @if target-libstdc++-v3
33867 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33869 clean-target-libstdc++-v3:
33870 @: $(MAKE); $(unstage)
33871 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33872 r=`${PWD_COMMAND}`; export r; \
33873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33874 $(RAW_CXX_TARGET_EXPORTS) \
33875 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33876 for flag in $(EXTRA_TARGET_FLAGS); do \
33877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33878 done; \
33879 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33882 "RANLIB=$${RANLIB}" \
33883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33884 clean) \
33885 || exit 1
33887 @endif target-libstdc++-v3
33889 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33890 maybe-distclean-target-libstdc++-v3:
33891 @if target-libstdc++-v3
33892 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33894 distclean-target-libstdc++-v3:
33895 @: $(MAKE); $(unstage)
33896 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33897 r=`${PWD_COMMAND}`; export r; \
33898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33899 $(RAW_CXX_TARGET_EXPORTS) \
33900 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33901 for flag in $(EXTRA_TARGET_FLAGS); do \
33902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33903 done; \
33904 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33907 "RANLIB=$${RANLIB}" \
33908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33909 distclean) \
33910 || exit 1
33912 @endif target-libstdc++-v3
33914 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33915 maybe-maintainer-clean-target-libstdc++-v3:
33916 @if target-libstdc++-v3
33917 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33919 maintainer-clean-target-libstdc++-v3:
33920 @: $(MAKE); $(unstage)
33921 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33922 r=`${PWD_COMMAND}`; export r; \
33923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33924 $(RAW_CXX_TARGET_EXPORTS) \
33925 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33926 for flag in $(EXTRA_TARGET_FLAGS); do \
33927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33928 done; \
33929 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33932 "RANLIB=$${RANLIB}" \
33933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33934 maintainer-clean) \
33935 || exit 1
33937 @endif target-libstdc++-v3
33943 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33944 maybe-configure-target-libmudflap:
33945 @if gcc-bootstrap
33946 configure-target-libmudflap: stage_current
33947 @endif gcc-bootstrap
33948 @if target-libmudflap
33949 maybe-configure-target-libmudflap: configure-target-libmudflap
33950 configure-target-libmudflap:
33951 @: $(MAKE); $(unstage)
33952 @r=`${PWD_COMMAND}`; export r; \
33953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33954 echo "Checking multilib configuration for libmudflap..."; \
33955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33956 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33957 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33958 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33959 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33960 else \
33961 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33962 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33963 fi; \
33964 else \
33965 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33966 fi; \
33967 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33969 $(NORMAL_TARGET_EXPORTS) \
33970 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33971 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33972 case $(srcdir) in \
33973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33974 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33976 esac; \
33977 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33978 libsrcdir="$$s/libmudflap"; \
33979 rm -f no-such-file || : ; \
33980 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33981 $(TARGET_CONFIGARGS) $${srcdiroption} \
33982 || exit 1
33983 @endif target-libmudflap
33989 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
33990 maybe-all-target-libmudflap:
33991 @if gcc-bootstrap
33992 all-target-libmudflap: stage_current
33993 @endif gcc-bootstrap
33994 @if target-libmudflap
33995 TARGET-target-libmudflap=all
33996 maybe-all-target-libmudflap: all-target-libmudflap
33997 all-target-libmudflap: configure-target-libmudflap
33998 @: $(MAKE); $(unstage)
33999 @r=`${PWD_COMMAND}`; export r; \
34000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34001 $(NORMAL_TARGET_EXPORTS) \
34002 (cd $(TARGET_SUBDIR)/libmudflap && \
34003 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
34004 @endif target-libmudflap
34010 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
34011 maybe-check-target-libmudflap:
34012 @if target-libmudflap
34013 maybe-check-target-libmudflap: check-target-libmudflap
34015 check-target-libmudflap:
34016 @: $(MAKE); $(unstage)
34017 @r=`${PWD_COMMAND}`; export r; \
34018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34019 $(NORMAL_TARGET_EXPORTS) \
34020 (cd $(TARGET_SUBDIR)/libmudflap && \
34021 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34023 @endif target-libmudflap
34025 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
34026 maybe-install-target-libmudflap:
34027 @if target-libmudflap
34028 maybe-install-target-libmudflap: install-target-libmudflap
34030 install-target-libmudflap: installdirs
34031 @: $(MAKE); $(unstage)
34032 @r=`${PWD_COMMAND}`; export r; \
34033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34034 $(NORMAL_TARGET_EXPORTS) \
34035 (cd $(TARGET_SUBDIR)/libmudflap && \
34036 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34038 @endif target-libmudflap
34040 # Other targets (info, dvi, pdf, etc.)
34042 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
34043 maybe-info-target-libmudflap:
34044 @if target-libmudflap
34045 maybe-info-target-libmudflap: info-target-libmudflap
34047 info-target-libmudflap: \
34048 configure-target-libmudflap
34049 @: $(MAKE); $(unstage)
34050 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34051 r=`${PWD_COMMAND}`; export r; \
34052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34053 $(NORMAL_TARGET_EXPORTS) \
34054 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
34055 for flag in $(EXTRA_TARGET_FLAGS); do \
34056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34057 done; \
34058 (cd $(TARGET_SUBDIR)/libmudflap && \
34059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34061 "RANLIB=$${RANLIB}" \
34062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34063 info) \
34064 || exit 1
34066 @endif target-libmudflap
34068 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
34069 maybe-dvi-target-libmudflap:
34070 @if target-libmudflap
34071 maybe-dvi-target-libmudflap: dvi-target-libmudflap
34073 dvi-target-libmudflap: \
34074 configure-target-libmudflap
34075 @: $(MAKE); $(unstage)
34076 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34077 r=`${PWD_COMMAND}`; export r; \
34078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34079 $(NORMAL_TARGET_EXPORTS) \
34080 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
34081 for flag in $(EXTRA_TARGET_FLAGS); do \
34082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34083 done; \
34084 (cd $(TARGET_SUBDIR)/libmudflap && \
34085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34087 "RANLIB=$${RANLIB}" \
34088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34089 dvi) \
34090 || exit 1
34092 @endif target-libmudflap
34094 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
34095 maybe-pdf-target-libmudflap:
34096 @if target-libmudflap
34097 maybe-pdf-target-libmudflap: pdf-target-libmudflap
34099 pdf-target-libmudflap: \
34100 configure-target-libmudflap
34101 @: $(MAKE); $(unstage)
34102 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34103 r=`${PWD_COMMAND}`; export r; \
34104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34105 $(NORMAL_TARGET_EXPORTS) \
34106 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
34107 for flag in $(EXTRA_TARGET_FLAGS); do \
34108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34109 done; \
34110 (cd $(TARGET_SUBDIR)/libmudflap && \
34111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34113 "RANLIB=$${RANLIB}" \
34114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34115 pdf) \
34116 || exit 1
34118 @endif target-libmudflap
34120 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
34121 maybe-html-target-libmudflap:
34122 @if target-libmudflap
34123 maybe-html-target-libmudflap: html-target-libmudflap
34125 html-target-libmudflap: \
34126 configure-target-libmudflap
34127 @: $(MAKE); $(unstage)
34128 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34129 r=`${PWD_COMMAND}`; export r; \
34130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34131 $(NORMAL_TARGET_EXPORTS) \
34132 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
34133 for flag in $(EXTRA_TARGET_FLAGS); do \
34134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34135 done; \
34136 (cd $(TARGET_SUBDIR)/libmudflap && \
34137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34139 "RANLIB=$${RANLIB}" \
34140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34141 html) \
34142 || exit 1
34144 @endif target-libmudflap
34146 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
34147 maybe-TAGS-target-libmudflap:
34148 @if target-libmudflap
34149 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
34151 TAGS-target-libmudflap: \
34152 configure-target-libmudflap
34153 @: $(MAKE); $(unstage)
34154 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34155 r=`${PWD_COMMAND}`; export r; \
34156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34157 $(NORMAL_TARGET_EXPORTS) \
34158 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
34159 for flag in $(EXTRA_TARGET_FLAGS); do \
34160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34161 done; \
34162 (cd $(TARGET_SUBDIR)/libmudflap && \
34163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34165 "RANLIB=$${RANLIB}" \
34166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34167 TAGS) \
34168 || exit 1
34170 @endif target-libmudflap
34172 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
34173 maybe-install-info-target-libmudflap:
34174 @if target-libmudflap
34175 maybe-install-info-target-libmudflap: install-info-target-libmudflap
34177 install-info-target-libmudflap: \
34178 configure-target-libmudflap \
34179 info-target-libmudflap
34180 @: $(MAKE); $(unstage)
34181 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34182 r=`${PWD_COMMAND}`; export r; \
34183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34184 $(NORMAL_TARGET_EXPORTS) \
34185 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
34186 for flag in $(EXTRA_TARGET_FLAGS); do \
34187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34188 done; \
34189 (cd $(TARGET_SUBDIR)/libmudflap && \
34190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34192 "RANLIB=$${RANLIB}" \
34193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34194 install-info) \
34195 || exit 1
34197 @endif target-libmudflap
34199 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
34200 maybe-install-html-target-libmudflap:
34201 @if target-libmudflap
34202 maybe-install-html-target-libmudflap: install-html-target-libmudflap
34204 install-html-target-libmudflap: \
34205 configure-target-libmudflap \
34206 html-target-libmudflap
34207 @: $(MAKE); $(unstage)
34208 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34209 r=`${PWD_COMMAND}`; export r; \
34210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34211 $(NORMAL_TARGET_EXPORTS) \
34212 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
34213 for flag in $(EXTRA_TARGET_FLAGS); do \
34214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34215 done; \
34216 (cd $(TARGET_SUBDIR)/libmudflap && \
34217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34219 "RANLIB=$${RANLIB}" \
34220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34221 install-html) \
34222 || exit 1
34224 @endif target-libmudflap
34226 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34227 maybe-installcheck-target-libmudflap:
34228 @if target-libmudflap
34229 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34231 installcheck-target-libmudflap: \
34232 configure-target-libmudflap
34233 @: $(MAKE); $(unstage)
34234 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34235 r=`${PWD_COMMAND}`; export r; \
34236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34237 $(NORMAL_TARGET_EXPORTS) \
34238 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34239 for flag in $(EXTRA_TARGET_FLAGS); do \
34240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34241 done; \
34242 (cd $(TARGET_SUBDIR)/libmudflap && \
34243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34245 "RANLIB=$${RANLIB}" \
34246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34247 installcheck) \
34248 || exit 1
34250 @endif target-libmudflap
34252 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34253 maybe-mostlyclean-target-libmudflap:
34254 @if target-libmudflap
34255 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34257 mostlyclean-target-libmudflap:
34258 @: $(MAKE); $(unstage)
34259 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34260 r=`${PWD_COMMAND}`; export r; \
34261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34262 $(NORMAL_TARGET_EXPORTS) \
34263 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34264 for flag in $(EXTRA_TARGET_FLAGS); do \
34265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34266 done; \
34267 (cd $(TARGET_SUBDIR)/libmudflap && \
34268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34270 "RANLIB=$${RANLIB}" \
34271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34272 mostlyclean) \
34273 || exit 1
34275 @endif target-libmudflap
34277 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34278 maybe-clean-target-libmudflap:
34279 @if target-libmudflap
34280 maybe-clean-target-libmudflap: clean-target-libmudflap
34282 clean-target-libmudflap:
34283 @: $(MAKE); $(unstage)
34284 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34285 r=`${PWD_COMMAND}`; export r; \
34286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34287 $(NORMAL_TARGET_EXPORTS) \
34288 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34289 for flag in $(EXTRA_TARGET_FLAGS); do \
34290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34291 done; \
34292 (cd $(TARGET_SUBDIR)/libmudflap && \
34293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34295 "RANLIB=$${RANLIB}" \
34296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34297 clean) \
34298 || exit 1
34300 @endif target-libmudflap
34302 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34303 maybe-distclean-target-libmudflap:
34304 @if target-libmudflap
34305 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34307 distclean-target-libmudflap:
34308 @: $(MAKE); $(unstage)
34309 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34310 r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(NORMAL_TARGET_EXPORTS) \
34313 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34314 for flag in $(EXTRA_TARGET_FLAGS); do \
34315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34316 done; \
34317 (cd $(TARGET_SUBDIR)/libmudflap && \
34318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34320 "RANLIB=$${RANLIB}" \
34321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34322 distclean) \
34323 || exit 1
34325 @endif target-libmudflap
34327 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34328 maybe-maintainer-clean-target-libmudflap:
34329 @if target-libmudflap
34330 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34332 maintainer-clean-target-libmudflap:
34333 @: $(MAKE); $(unstage)
34334 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34335 r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 $(NORMAL_TARGET_EXPORTS) \
34338 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34339 for flag in $(EXTRA_TARGET_FLAGS); do \
34340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34341 done; \
34342 (cd $(TARGET_SUBDIR)/libmudflap && \
34343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34345 "RANLIB=$${RANLIB}" \
34346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34347 maintainer-clean) \
34348 || exit 1
34350 @endif target-libmudflap
34356 .PHONY: configure-target-libssp maybe-configure-target-libssp
34357 maybe-configure-target-libssp:
34358 @if gcc-bootstrap
34359 configure-target-libssp: stage_current
34360 @endif gcc-bootstrap
34361 @if target-libssp
34362 maybe-configure-target-libssp: configure-target-libssp
34363 configure-target-libssp:
34364 @: $(MAKE); $(unstage)
34365 @r=`${PWD_COMMAND}`; export r; \
34366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34367 echo "Checking multilib configuration for libssp..."; \
34368 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34369 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34370 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34371 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34372 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34373 else \
34374 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34375 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34376 fi; \
34377 else \
34378 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34379 fi; \
34380 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34382 $(NORMAL_TARGET_EXPORTS) \
34383 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34384 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34385 case $(srcdir) in \
34386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34387 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34389 esac; \
34390 srcdiroption="--srcdir=$${topdir}/libssp"; \
34391 libsrcdir="$$s/libssp"; \
34392 rm -f no-such-file || : ; \
34393 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34394 $(TARGET_CONFIGARGS) $${srcdiroption} \
34395 || exit 1
34396 @endif target-libssp
34402 .PHONY: all-target-libssp maybe-all-target-libssp
34403 maybe-all-target-libssp:
34404 @if gcc-bootstrap
34405 all-target-libssp: stage_current
34406 @endif gcc-bootstrap
34407 @if target-libssp
34408 TARGET-target-libssp=all
34409 maybe-all-target-libssp: all-target-libssp
34410 all-target-libssp: configure-target-libssp
34411 @: $(MAKE); $(unstage)
34412 @r=`${PWD_COMMAND}`; export r; \
34413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34414 $(NORMAL_TARGET_EXPORTS) \
34415 (cd $(TARGET_SUBDIR)/libssp && \
34416 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34417 @endif target-libssp
34423 .PHONY: check-target-libssp maybe-check-target-libssp
34424 maybe-check-target-libssp:
34425 @if target-libssp
34426 maybe-check-target-libssp: check-target-libssp
34428 check-target-libssp:
34429 @: $(MAKE); $(unstage)
34430 @r=`${PWD_COMMAND}`; export r; \
34431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34432 $(NORMAL_TARGET_EXPORTS) \
34433 (cd $(TARGET_SUBDIR)/libssp && \
34434 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34436 @endif target-libssp
34438 .PHONY: install-target-libssp maybe-install-target-libssp
34439 maybe-install-target-libssp:
34440 @if target-libssp
34441 maybe-install-target-libssp: install-target-libssp
34443 install-target-libssp: installdirs
34444 @: $(MAKE); $(unstage)
34445 @r=`${PWD_COMMAND}`; export r; \
34446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34447 $(NORMAL_TARGET_EXPORTS) \
34448 (cd $(TARGET_SUBDIR)/libssp && \
34449 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34451 @endif target-libssp
34453 # Other targets (info, dvi, pdf, etc.)
34455 .PHONY: maybe-info-target-libssp info-target-libssp
34456 maybe-info-target-libssp:
34457 @if target-libssp
34458 maybe-info-target-libssp: info-target-libssp
34460 info-target-libssp: \
34461 configure-target-libssp
34462 @: $(MAKE); $(unstage)
34463 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34464 r=`${PWD_COMMAND}`; export r; \
34465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34466 $(NORMAL_TARGET_EXPORTS) \
34467 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34468 for flag in $(EXTRA_TARGET_FLAGS); do \
34469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34470 done; \
34471 (cd $(TARGET_SUBDIR)/libssp && \
34472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34474 "RANLIB=$${RANLIB}" \
34475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34476 info) \
34477 || exit 1
34479 @endif target-libssp
34481 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34482 maybe-dvi-target-libssp:
34483 @if target-libssp
34484 maybe-dvi-target-libssp: dvi-target-libssp
34486 dvi-target-libssp: \
34487 configure-target-libssp
34488 @: $(MAKE); $(unstage)
34489 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34490 r=`${PWD_COMMAND}`; export r; \
34491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34492 $(NORMAL_TARGET_EXPORTS) \
34493 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34494 for flag in $(EXTRA_TARGET_FLAGS); do \
34495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34496 done; \
34497 (cd $(TARGET_SUBDIR)/libssp && \
34498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34500 "RANLIB=$${RANLIB}" \
34501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34502 dvi) \
34503 || exit 1
34505 @endif target-libssp
34507 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34508 maybe-pdf-target-libssp:
34509 @if target-libssp
34510 maybe-pdf-target-libssp: pdf-target-libssp
34512 pdf-target-libssp: \
34513 configure-target-libssp
34514 @: $(MAKE); $(unstage)
34515 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34516 r=`${PWD_COMMAND}`; export r; \
34517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34518 $(NORMAL_TARGET_EXPORTS) \
34519 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34520 for flag in $(EXTRA_TARGET_FLAGS); do \
34521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34522 done; \
34523 (cd $(TARGET_SUBDIR)/libssp && \
34524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34526 "RANLIB=$${RANLIB}" \
34527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34528 pdf) \
34529 || exit 1
34531 @endif target-libssp
34533 .PHONY: maybe-html-target-libssp html-target-libssp
34534 maybe-html-target-libssp:
34535 @if target-libssp
34536 maybe-html-target-libssp: html-target-libssp
34538 html-target-libssp: \
34539 configure-target-libssp
34540 @: $(MAKE); $(unstage)
34541 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34542 r=`${PWD_COMMAND}`; export r; \
34543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34544 $(NORMAL_TARGET_EXPORTS) \
34545 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34546 for flag in $(EXTRA_TARGET_FLAGS); do \
34547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34548 done; \
34549 (cd $(TARGET_SUBDIR)/libssp && \
34550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34552 "RANLIB=$${RANLIB}" \
34553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34554 html) \
34555 || exit 1
34557 @endif target-libssp
34559 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34560 maybe-TAGS-target-libssp:
34561 @if target-libssp
34562 maybe-TAGS-target-libssp: TAGS-target-libssp
34564 TAGS-target-libssp: \
34565 configure-target-libssp
34566 @: $(MAKE); $(unstage)
34567 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34568 r=`${PWD_COMMAND}`; export r; \
34569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34570 $(NORMAL_TARGET_EXPORTS) \
34571 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34572 for flag in $(EXTRA_TARGET_FLAGS); do \
34573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34574 done; \
34575 (cd $(TARGET_SUBDIR)/libssp && \
34576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34578 "RANLIB=$${RANLIB}" \
34579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34580 TAGS) \
34581 || exit 1
34583 @endif target-libssp
34585 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34586 maybe-install-info-target-libssp:
34587 @if target-libssp
34588 maybe-install-info-target-libssp: install-info-target-libssp
34590 install-info-target-libssp: \
34591 configure-target-libssp \
34592 info-target-libssp
34593 @: $(MAKE); $(unstage)
34594 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34595 r=`${PWD_COMMAND}`; export r; \
34596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34597 $(NORMAL_TARGET_EXPORTS) \
34598 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34599 for flag in $(EXTRA_TARGET_FLAGS); do \
34600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34601 done; \
34602 (cd $(TARGET_SUBDIR)/libssp && \
34603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34605 "RANLIB=$${RANLIB}" \
34606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34607 install-info) \
34608 || exit 1
34610 @endif target-libssp
34612 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34613 maybe-install-html-target-libssp:
34614 @if target-libssp
34615 maybe-install-html-target-libssp: install-html-target-libssp
34617 install-html-target-libssp: \
34618 configure-target-libssp \
34619 html-target-libssp
34620 @: $(MAKE); $(unstage)
34621 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34622 r=`${PWD_COMMAND}`; export r; \
34623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34624 $(NORMAL_TARGET_EXPORTS) \
34625 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34626 for flag in $(EXTRA_TARGET_FLAGS); do \
34627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34628 done; \
34629 (cd $(TARGET_SUBDIR)/libssp && \
34630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34632 "RANLIB=$${RANLIB}" \
34633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34634 install-html) \
34635 || exit 1
34637 @endif target-libssp
34639 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34640 maybe-installcheck-target-libssp:
34641 @if target-libssp
34642 maybe-installcheck-target-libssp: installcheck-target-libssp
34644 installcheck-target-libssp: \
34645 configure-target-libssp
34646 @: $(MAKE); $(unstage)
34647 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34648 r=`${PWD_COMMAND}`; export r; \
34649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34650 $(NORMAL_TARGET_EXPORTS) \
34651 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34652 for flag in $(EXTRA_TARGET_FLAGS); do \
34653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34654 done; \
34655 (cd $(TARGET_SUBDIR)/libssp && \
34656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34658 "RANLIB=$${RANLIB}" \
34659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34660 installcheck) \
34661 || exit 1
34663 @endif target-libssp
34665 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34666 maybe-mostlyclean-target-libssp:
34667 @if target-libssp
34668 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34670 mostlyclean-target-libssp:
34671 @: $(MAKE); $(unstage)
34672 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34673 r=`${PWD_COMMAND}`; export r; \
34674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34675 $(NORMAL_TARGET_EXPORTS) \
34676 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34677 for flag in $(EXTRA_TARGET_FLAGS); do \
34678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34679 done; \
34680 (cd $(TARGET_SUBDIR)/libssp && \
34681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34683 "RANLIB=$${RANLIB}" \
34684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34685 mostlyclean) \
34686 || exit 1
34688 @endif target-libssp
34690 .PHONY: maybe-clean-target-libssp clean-target-libssp
34691 maybe-clean-target-libssp:
34692 @if target-libssp
34693 maybe-clean-target-libssp: clean-target-libssp
34695 clean-target-libssp:
34696 @: $(MAKE); $(unstage)
34697 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34698 r=`${PWD_COMMAND}`; export r; \
34699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34700 $(NORMAL_TARGET_EXPORTS) \
34701 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34702 for flag in $(EXTRA_TARGET_FLAGS); do \
34703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34704 done; \
34705 (cd $(TARGET_SUBDIR)/libssp && \
34706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34708 "RANLIB=$${RANLIB}" \
34709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34710 clean) \
34711 || exit 1
34713 @endif target-libssp
34715 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34716 maybe-distclean-target-libssp:
34717 @if target-libssp
34718 maybe-distclean-target-libssp: distclean-target-libssp
34720 distclean-target-libssp:
34721 @: $(MAKE); $(unstage)
34722 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34723 r=`${PWD_COMMAND}`; export r; \
34724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34725 $(NORMAL_TARGET_EXPORTS) \
34726 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34727 for flag in $(EXTRA_TARGET_FLAGS); do \
34728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34729 done; \
34730 (cd $(TARGET_SUBDIR)/libssp && \
34731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34733 "RANLIB=$${RANLIB}" \
34734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34735 distclean) \
34736 || exit 1
34738 @endif target-libssp
34740 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34741 maybe-maintainer-clean-target-libssp:
34742 @if target-libssp
34743 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34745 maintainer-clean-target-libssp:
34746 @: $(MAKE); $(unstage)
34747 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34748 r=`${PWD_COMMAND}`; export r; \
34749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34750 $(NORMAL_TARGET_EXPORTS) \
34751 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34752 for flag in $(EXTRA_TARGET_FLAGS); do \
34753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34754 done; \
34755 (cd $(TARGET_SUBDIR)/libssp && \
34756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34758 "RANLIB=$${RANLIB}" \
34759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34760 maintainer-clean) \
34761 || exit 1
34763 @endif target-libssp
34769 .PHONY: configure-target-newlib maybe-configure-target-newlib
34770 maybe-configure-target-newlib:
34771 @if gcc-bootstrap
34772 configure-target-newlib: stage_current
34773 @endif gcc-bootstrap
34774 @if target-newlib
34775 maybe-configure-target-newlib: configure-target-newlib
34776 configure-target-newlib:
34777 @: $(MAKE); $(unstage)
34778 @r=`${PWD_COMMAND}`; export r; \
34779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34780 echo "Checking multilib configuration for newlib..."; \
34781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34783 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34784 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34785 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34786 else \
34787 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34788 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34789 fi; \
34790 else \
34791 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34792 fi; \
34793 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34795 $(NORMAL_TARGET_EXPORTS) \
34796 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34797 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34798 case $(srcdir) in \
34799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34800 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34802 esac; \
34803 srcdiroption="--srcdir=$${topdir}/newlib"; \
34804 libsrcdir="$$s/newlib"; \
34805 rm -f no-such-file || : ; \
34806 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34807 $(TARGET_CONFIGARGS) $${srcdiroption} \
34808 || exit 1
34809 @endif target-newlib
34815 .PHONY: all-target-newlib maybe-all-target-newlib
34816 maybe-all-target-newlib:
34817 @if gcc-bootstrap
34818 all-target-newlib: stage_current
34819 @endif gcc-bootstrap
34820 @if target-newlib
34821 TARGET-target-newlib=all
34822 maybe-all-target-newlib: all-target-newlib
34823 all-target-newlib: configure-target-newlib
34824 @: $(MAKE); $(unstage)
34825 @r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(NORMAL_TARGET_EXPORTS) \
34828 (cd $(TARGET_SUBDIR)/newlib && \
34829 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34830 @endif target-newlib
34836 .PHONY: check-target-newlib maybe-check-target-newlib
34837 maybe-check-target-newlib:
34838 @if target-newlib
34839 maybe-check-target-newlib: check-target-newlib
34841 check-target-newlib:
34842 @: $(MAKE); $(unstage)
34843 @r=`${PWD_COMMAND}`; export r; \
34844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34845 $(NORMAL_TARGET_EXPORTS) \
34846 (cd $(TARGET_SUBDIR)/newlib && \
34847 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34849 @endif target-newlib
34851 .PHONY: install-target-newlib maybe-install-target-newlib
34852 maybe-install-target-newlib:
34853 @if target-newlib
34854 maybe-install-target-newlib: install-target-newlib
34856 install-target-newlib: installdirs
34857 @: $(MAKE); $(unstage)
34858 @r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 $(NORMAL_TARGET_EXPORTS) \
34861 (cd $(TARGET_SUBDIR)/newlib && \
34862 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34864 @endif target-newlib
34866 # Other targets (info, dvi, pdf, etc.)
34868 .PHONY: maybe-info-target-newlib info-target-newlib
34869 maybe-info-target-newlib:
34870 @if target-newlib
34871 maybe-info-target-newlib: info-target-newlib
34873 info-target-newlib: \
34874 configure-target-newlib
34875 @: $(MAKE); $(unstage)
34876 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34877 r=`${PWD_COMMAND}`; export r; \
34878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34879 $(NORMAL_TARGET_EXPORTS) \
34880 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34881 for flag in $(EXTRA_TARGET_FLAGS); do \
34882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34883 done; \
34884 (cd $(TARGET_SUBDIR)/newlib && \
34885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34887 "RANLIB=$${RANLIB}" \
34888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34889 info) \
34890 || exit 1
34892 @endif target-newlib
34894 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34895 maybe-dvi-target-newlib:
34896 @if target-newlib
34897 maybe-dvi-target-newlib: dvi-target-newlib
34899 dvi-target-newlib: \
34900 configure-target-newlib
34901 @: $(MAKE); $(unstage)
34902 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34903 r=`${PWD_COMMAND}`; export r; \
34904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34905 $(NORMAL_TARGET_EXPORTS) \
34906 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34907 for flag in $(EXTRA_TARGET_FLAGS); do \
34908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34909 done; \
34910 (cd $(TARGET_SUBDIR)/newlib && \
34911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34913 "RANLIB=$${RANLIB}" \
34914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34915 dvi) \
34916 || exit 1
34918 @endif target-newlib
34920 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34921 maybe-pdf-target-newlib:
34922 @if target-newlib
34923 maybe-pdf-target-newlib: pdf-target-newlib
34925 pdf-target-newlib: \
34926 configure-target-newlib
34927 @: $(MAKE); $(unstage)
34928 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34929 r=`${PWD_COMMAND}`; export r; \
34930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34931 $(NORMAL_TARGET_EXPORTS) \
34932 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34933 for flag in $(EXTRA_TARGET_FLAGS); do \
34934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34935 done; \
34936 (cd $(TARGET_SUBDIR)/newlib && \
34937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34939 "RANLIB=$${RANLIB}" \
34940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34941 pdf) \
34942 || exit 1
34944 @endif target-newlib
34946 .PHONY: maybe-html-target-newlib html-target-newlib
34947 maybe-html-target-newlib:
34948 @if target-newlib
34949 maybe-html-target-newlib: html-target-newlib
34951 html-target-newlib: \
34952 configure-target-newlib
34953 @: $(MAKE); $(unstage)
34954 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34955 r=`${PWD_COMMAND}`; export r; \
34956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34957 $(NORMAL_TARGET_EXPORTS) \
34958 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34959 for flag in $(EXTRA_TARGET_FLAGS); do \
34960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34961 done; \
34962 (cd $(TARGET_SUBDIR)/newlib && \
34963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34965 "RANLIB=$${RANLIB}" \
34966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34967 html) \
34968 || exit 1
34970 @endif target-newlib
34972 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34973 maybe-TAGS-target-newlib:
34974 @if target-newlib
34975 maybe-TAGS-target-newlib: TAGS-target-newlib
34977 TAGS-target-newlib: \
34978 configure-target-newlib
34979 @: $(MAKE); $(unstage)
34980 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34981 r=`${PWD_COMMAND}`; export r; \
34982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34983 $(NORMAL_TARGET_EXPORTS) \
34984 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34985 for flag in $(EXTRA_TARGET_FLAGS); do \
34986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34987 done; \
34988 (cd $(TARGET_SUBDIR)/newlib && \
34989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34991 "RANLIB=$${RANLIB}" \
34992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34993 TAGS) \
34994 || exit 1
34996 @endif target-newlib
34998 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34999 maybe-install-info-target-newlib:
35000 @if target-newlib
35001 maybe-install-info-target-newlib: install-info-target-newlib
35003 install-info-target-newlib: \
35004 configure-target-newlib \
35005 info-target-newlib
35006 @: $(MAKE); $(unstage)
35007 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35008 r=`${PWD_COMMAND}`; export r; \
35009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35010 $(NORMAL_TARGET_EXPORTS) \
35011 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
35012 for flag in $(EXTRA_TARGET_FLAGS); do \
35013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35014 done; \
35015 (cd $(TARGET_SUBDIR)/newlib && \
35016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35018 "RANLIB=$${RANLIB}" \
35019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35020 install-info) \
35021 || exit 1
35023 @endif target-newlib
35025 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
35026 maybe-install-html-target-newlib:
35027 @if target-newlib
35028 maybe-install-html-target-newlib: install-html-target-newlib
35030 install-html-target-newlib: \
35031 configure-target-newlib \
35032 html-target-newlib
35033 @: $(MAKE); $(unstage)
35034 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35035 r=`${PWD_COMMAND}`; export r; \
35036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35037 $(NORMAL_TARGET_EXPORTS) \
35038 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
35039 for flag in $(EXTRA_TARGET_FLAGS); do \
35040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35041 done; \
35042 (cd $(TARGET_SUBDIR)/newlib && \
35043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35045 "RANLIB=$${RANLIB}" \
35046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35047 install-html) \
35048 || exit 1
35050 @endif target-newlib
35052 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
35053 maybe-installcheck-target-newlib:
35054 @if target-newlib
35055 maybe-installcheck-target-newlib: installcheck-target-newlib
35057 installcheck-target-newlib: \
35058 configure-target-newlib
35059 @: $(MAKE); $(unstage)
35060 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35061 r=`${PWD_COMMAND}`; export r; \
35062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35063 $(NORMAL_TARGET_EXPORTS) \
35064 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
35065 for flag in $(EXTRA_TARGET_FLAGS); do \
35066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35067 done; \
35068 (cd $(TARGET_SUBDIR)/newlib && \
35069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35071 "RANLIB=$${RANLIB}" \
35072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35073 installcheck) \
35074 || exit 1
35076 @endif target-newlib
35078 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
35079 maybe-mostlyclean-target-newlib:
35080 @if target-newlib
35081 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
35083 mostlyclean-target-newlib:
35084 @: $(MAKE); $(unstage)
35085 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35086 r=`${PWD_COMMAND}`; export r; \
35087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35088 $(NORMAL_TARGET_EXPORTS) \
35089 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
35090 for flag in $(EXTRA_TARGET_FLAGS); do \
35091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35092 done; \
35093 (cd $(TARGET_SUBDIR)/newlib && \
35094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35096 "RANLIB=$${RANLIB}" \
35097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35098 mostlyclean) \
35099 || exit 1
35101 @endif target-newlib
35103 .PHONY: maybe-clean-target-newlib clean-target-newlib
35104 maybe-clean-target-newlib:
35105 @if target-newlib
35106 maybe-clean-target-newlib: clean-target-newlib
35108 clean-target-newlib:
35109 @: $(MAKE); $(unstage)
35110 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35111 r=`${PWD_COMMAND}`; export r; \
35112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35113 $(NORMAL_TARGET_EXPORTS) \
35114 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35115 for flag in $(EXTRA_TARGET_FLAGS); do \
35116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35117 done; \
35118 (cd $(TARGET_SUBDIR)/newlib && \
35119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35121 "RANLIB=$${RANLIB}" \
35122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35123 clean) \
35124 || exit 1
35126 @endif target-newlib
35128 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35129 maybe-distclean-target-newlib:
35130 @if target-newlib
35131 maybe-distclean-target-newlib: distclean-target-newlib
35133 distclean-target-newlib:
35134 @: $(MAKE); $(unstage)
35135 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35136 r=`${PWD_COMMAND}`; export r; \
35137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35138 $(NORMAL_TARGET_EXPORTS) \
35139 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35140 for flag in $(EXTRA_TARGET_FLAGS); do \
35141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35142 done; \
35143 (cd $(TARGET_SUBDIR)/newlib && \
35144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35146 "RANLIB=$${RANLIB}" \
35147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35148 distclean) \
35149 || exit 1
35151 @endif target-newlib
35153 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35154 maybe-maintainer-clean-target-newlib:
35155 @if target-newlib
35156 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35158 maintainer-clean-target-newlib:
35159 @: $(MAKE); $(unstage)
35160 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35161 r=`${PWD_COMMAND}`; export r; \
35162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35163 $(NORMAL_TARGET_EXPORTS) \
35164 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35165 for flag in $(EXTRA_TARGET_FLAGS); do \
35166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35167 done; \
35168 (cd $(TARGET_SUBDIR)/newlib && \
35169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35171 "RANLIB=$${RANLIB}" \
35172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35173 maintainer-clean) \
35174 || exit 1
35176 @endif target-newlib
35182 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35183 maybe-configure-target-libgfortran:
35184 @if gcc-bootstrap
35185 configure-target-libgfortran: stage_current
35186 @endif gcc-bootstrap
35187 @if target-libgfortran
35188 maybe-configure-target-libgfortran: configure-target-libgfortran
35189 configure-target-libgfortran:
35190 @: $(MAKE); $(unstage)
35191 @r=`${PWD_COMMAND}`; export r; \
35192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35193 echo "Checking multilib configuration for libgfortran..."; \
35194 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35196 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35197 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35198 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35199 else \
35200 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35201 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35202 fi; \
35203 else \
35204 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35205 fi; \
35206 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35207 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35208 $(NORMAL_TARGET_EXPORTS) \
35209 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35210 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35211 case $(srcdir) in \
35212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35213 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35215 esac; \
35216 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35217 libsrcdir="$$s/libgfortran"; \
35218 rm -f no-such-file || : ; \
35219 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35220 $(TARGET_CONFIGARGS) $${srcdiroption} \
35221 || exit 1
35222 @endif target-libgfortran
35228 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35229 maybe-all-target-libgfortran:
35230 @if gcc-bootstrap
35231 all-target-libgfortran: stage_current
35232 @endif gcc-bootstrap
35233 @if target-libgfortran
35234 TARGET-target-libgfortran=all
35235 maybe-all-target-libgfortran: all-target-libgfortran
35236 all-target-libgfortran: configure-target-libgfortran
35237 @: $(MAKE); $(unstage)
35238 @r=`${PWD_COMMAND}`; export r; \
35239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35240 $(NORMAL_TARGET_EXPORTS) \
35241 (cd $(TARGET_SUBDIR)/libgfortran && \
35242 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
35243 @endif target-libgfortran
35249 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35250 maybe-check-target-libgfortran:
35251 @if target-libgfortran
35252 maybe-check-target-libgfortran: check-target-libgfortran
35254 check-target-libgfortran:
35255 @: $(MAKE); $(unstage)
35256 @r=`${PWD_COMMAND}`; export r; \
35257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35258 $(NORMAL_TARGET_EXPORTS) \
35259 (cd $(TARGET_SUBDIR)/libgfortran && \
35260 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35262 @endif target-libgfortran
35264 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35265 maybe-install-target-libgfortran:
35266 @if target-libgfortran
35267 maybe-install-target-libgfortran: install-target-libgfortran
35269 install-target-libgfortran: installdirs
35270 @: $(MAKE); $(unstage)
35271 @r=`${PWD_COMMAND}`; export r; \
35272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35273 $(NORMAL_TARGET_EXPORTS) \
35274 (cd $(TARGET_SUBDIR)/libgfortran && \
35275 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35277 @endif target-libgfortran
35279 # Other targets (info, dvi, pdf, etc.)
35281 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35282 maybe-info-target-libgfortran:
35283 @if target-libgfortran
35284 maybe-info-target-libgfortran: info-target-libgfortran
35286 info-target-libgfortran: \
35287 configure-target-libgfortran
35288 @: $(MAKE); $(unstage)
35289 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35290 r=`${PWD_COMMAND}`; export r; \
35291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35292 $(NORMAL_TARGET_EXPORTS) \
35293 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35294 for flag in $(EXTRA_TARGET_FLAGS); do \
35295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35296 done; \
35297 (cd $(TARGET_SUBDIR)/libgfortran && \
35298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35300 "RANLIB=$${RANLIB}" \
35301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35302 info) \
35303 || exit 1
35305 @endif target-libgfortran
35307 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35308 maybe-dvi-target-libgfortran:
35309 @if target-libgfortran
35310 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35312 dvi-target-libgfortran: \
35313 configure-target-libgfortran
35314 @: $(MAKE); $(unstage)
35315 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35316 r=`${PWD_COMMAND}`; export r; \
35317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35318 $(NORMAL_TARGET_EXPORTS) \
35319 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35320 for flag in $(EXTRA_TARGET_FLAGS); do \
35321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35322 done; \
35323 (cd $(TARGET_SUBDIR)/libgfortran && \
35324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35326 "RANLIB=$${RANLIB}" \
35327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35328 dvi) \
35329 || exit 1
35331 @endif target-libgfortran
35333 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35334 maybe-pdf-target-libgfortran:
35335 @if target-libgfortran
35336 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35338 pdf-target-libgfortran: \
35339 configure-target-libgfortran
35340 @: $(MAKE); $(unstage)
35341 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35342 r=`${PWD_COMMAND}`; export r; \
35343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35344 $(NORMAL_TARGET_EXPORTS) \
35345 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35346 for flag in $(EXTRA_TARGET_FLAGS); do \
35347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35348 done; \
35349 (cd $(TARGET_SUBDIR)/libgfortran && \
35350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35352 "RANLIB=$${RANLIB}" \
35353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35354 pdf) \
35355 || exit 1
35357 @endif target-libgfortran
35359 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35360 maybe-html-target-libgfortran:
35361 @if target-libgfortran
35362 maybe-html-target-libgfortran: html-target-libgfortran
35364 html-target-libgfortran: \
35365 configure-target-libgfortran
35366 @: $(MAKE); $(unstage)
35367 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35368 r=`${PWD_COMMAND}`; export r; \
35369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35370 $(NORMAL_TARGET_EXPORTS) \
35371 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35372 for flag in $(EXTRA_TARGET_FLAGS); do \
35373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35374 done; \
35375 (cd $(TARGET_SUBDIR)/libgfortran && \
35376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35378 "RANLIB=$${RANLIB}" \
35379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35380 html) \
35381 || exit 1
35383 @endif target-libgfortran
35385 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35386 maybe-TAGS-target-libgfortran:
35387 @if target-libgfortran
35388 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35390 TAGS-target-libgfortran: \
35391 configure-target-libgfortran
35392 @: $(MAKE); $(unstage)
35393 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35394 r=`${PWD_COMMAND}`; export r; \
35395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35396 $(NORMAL_TARGET_EXPORTS) \
35397 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35398 for flag in $(EXTRA_TARGET_FLAGS); do \
35399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35400 done; \
35401 (cd $(TARGET_SUBDIR)/libgfortran && \
35402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35404 "RANLIB=$${RANLIB}" \
35405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35406 TAGS) \
35407 || exit 1
35409 @endif target-libgfortran
35411 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35412 maybe-install-info-target-libgfortran:
35413 @if target-libgfortran
35414 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35416 install-info-target-libgfortran: \
35417 configure-target-libgfortran \
35418 info-target-libgfortran
35419 @: $(MAKE); $(unstage)
35420 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35421 r=`${PWD_COMMAND}`; export r; \
35422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35423 $(NORMAL_TARGET_EXPORTS) \
35424 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35425 for flag in $(EXTRA_TARGET_FLAGS); do \
35426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35427 done; \
35428 (cd $(TARGET_SUBDIR)/libgfortran && \
35429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35431 "RANLIB=$${RANLIB}" \
35432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35433 install-info) \
35434 || exit 1
35436 @endif target-libgfortran
35438 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35439 maybe-install-html-target-libgfortran:
35440 @if target-libgfortran
35441 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35443 install-html-target-libgfortran: \
35444 configure-target-libgfortran \
35445 html-target-libgfortran
35446 @: $(MAKE); $(unstage)
35447 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35448 r=`${PWD_COMMAND}`; export r; \
35449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35450 $(NORMAL_TARGET_EXPORTS) \
35451 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35452 for flag in $(EXTRA_TARGET_FLAGS); do \
35453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35454 done; \
35455 (cd $(TARGET_SUBDIR)/libgfortran && \
35456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35458 "RANLIB=$${RANLIB}" \
35459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35460 install-html) \
35461 || exit 1
35463 @endif target-libgfortran
35465 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35466 maybe-installcheck-target-libgfortran:
35467 @if target-libgfortran
35468 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35470 installcheck-target-libgfortran: \
35471 configure-target-libgfortran
35472 @: $(MAKE); $(unstage)
35473 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35474 r=`${PWD_COMMAND}`; export r; \
35475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35476 $(NORMAL_TARGET_EXPORTS) \
35477 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35478 for flag in $(EXTRA_TARGET_FLAGS); do \
35479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35480 done; \
35481 (cd $(TARGET_SUBDIR)/libgfortran && \
35482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35484 "RANLIB=$${RANLIB}" \
35485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35486 installcheck) \
35487 || exit 1
35489 @endif target-libgfortran
35491 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35492 maybe-mostlyclean-target-libgfortran:
35493 @if target-libgfortran
35494 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35496 mostlyclean-target-libgfortran:
35497 @: $(MAKE); $(unstage)
35498 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35499 r=`${PWD_COMMAND}`; export r; \
35500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35501 $(NORMAL_TARGET_EXPORTS) \
35502 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35503 for flag in $(EXTRA_TARGET_FLAGS); do \
35504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35505 done; \
35506 (cd $(TARGET_SUBDIR)/libgfortran && \
35507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35509 "RANLIB=$${RANLIB}" \
35510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35511 mostlyclean) \
35512 || exit 1
35514 @endif target-libgfortran
35516 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35517 maybe-clean-target-libgfortran:
35518 @if target-libgfortran
35519 maybe-clean-target-libgfortran: clean-target-libgfortran
35521 clean-target-libgfortran:
35522 @: $(MAKE); $(unstage)
35523 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35524 r=`${PWD_COMMAND}`; export r; \
35525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35526 $(NORMAL_TARGET_EXPORTS) \
35527 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35528 for flag in $(EXTRA_TARGET_FLAGS); do \
35529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35530 done; \
35531 (cd $(TARGET_SUBDIR)/libgfortran && \
35532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35534 "RANLIB=$${RANLIB}" \
35535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35536 clean) \
35537 || exit 1
35539 @endif target-libgfortran
35541 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35542 maybe-distclean-target-libgfortran:
35543 @if target-libgfortran
35544 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35546 distclean-target-libgfortran:
35547 @: $(MAKE); $(unstage)
35548 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35549 r=`${PWD_COMMAND}`; export r; \
35550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35551 $(NORMAL_TARGET_EXPORTS) \
35552 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35553 for flag in $(EXTRA_TARGET_FLAGS); do \
35554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35555 done; \
35556 (cd $(TARGET_SUBDIR)/libgfortran && \
35557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35559 "RANLIB=$${RANLIB}" \
35560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35561 distclean) \
35562 || exit 1
35564 @endif target-libgfortran
35566 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35567 maybe-maintainer-clean-target-libgfortran:
35568 @if target-libgfortran
35569 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35571 maintainer-clean-target-libgfortran:
35572 @: $(MAKE); $(unstage)
35573 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35574 r=`${PWD_COMMAND}`; export r; \
35575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35576 $(NORMAL_TARGET_EXPORTS) \
35577 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35578 for flag in $(EXTRA_TARGET_FLAGS); do \
35579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35580 done; \
35581 (cd $(TARGET_SUBDIR)/libgfortran && \
35582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35584 "RANLIB=$${RANLIB}" \
35585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35586 maintainer-clean) \
35587 || exit 1
35589 @endif target-libgfortran
35595 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35596 maybe-configure-target-libobjc:
35597 @if gcc-bootstrap
35598 configure-target-libobjc: stage_current
35599 @endif gcc-bootstrap
35600 @if target-libobjc
35601 maybe-configure-target-libobjc: configure-target-libobjc
35602 configure-target-libobjc:
35603 @: $(MAKE); $(unstage)
35604 @r=`${PWD_COMMAND}`; export r; \
35605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35606 echo "Checking multilib configuration for libobjc..."; \
35607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35608 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35609 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35610 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35611 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35612 else \
35613 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35614 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35615 fi; \
35616 else \
35617 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35618 fi; \
35619 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35620 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35621 $(NORMAL_TARGET_EXPORTS) \
35622 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35623 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35624 case $(srcdir) in \
35625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35626 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35628 esac; \
35629 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35630 libsrcdir="$$s/libobjc"; \
35631 rm -f no-such-file || : ; \
35632 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35633 $(TARGET_CONFIGARGS) $${srcdiroption} \
35634 || exit 1
35635 @endif target-libobjc
35641 .PHONY: all-target-libobjc maybe-all-target-libobjc
35642 maybe-all-target-libobjc:
35643 @if gcc-bootstrap
35644 all-target-libobjc: stage_current
35645 @endif gcc-bootstrap
35646 @if target-libobjc
35647 TARGET-target-libobjc=all
35648 maybe-all-target-libobjc: all-target-libobjc
35649 all-target-libobjc: configure-target-libobjc
35650 @: $(MAKE); $(unstage)
35651 @r=`${PWD_COMMAND}`; export r; \
35652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35653 $(NORMAL_TARGET_EXPORTS) \
35654 (cd $(TARGET_SUBDIR)/libobjc && \
35655 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
35656 @endif target-libobjc
35662 .PHONY: check-target-libobjc maybe-check-target-libobjc
35663 maybe-check-target-libobjc:
35664 @if target-libobjc
35665 maybe-check-target-libobjc: check-target-libobjc
35667 check-target-libobjc:
35668 @: $(MAKE); $(unstage)
35669 @r=`${PWD_COMMAND}`; export r; \
35670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35671 $(NORMAL_TARGET_EXPORTS) \
35672 (cd $(TARGET_SUBDIR)/libobjc && \
35673 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35675 @endif target-libobjc
35677 .PHONY: install-target-libobjc maybe-install-target-libobjc
35678 maybe-install-target-libobjc:
35679 @if target-libobjc
35680 maybe-install-target-libobjc: install-target-libobjc
35682 install-target-libobjc: installdirs
35683 @: $(MAKE); $(unstage)
35684 @r=`${PWD_COMMAND}`; export r; \
35685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35686 $(NORMAL_TARGET_EXPORTS) \
35687 (cd $(TARGET_SUBDIR)/libobjc && \
35688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35690 @endif target-libobjc
35692 # Other targets (info, dvi, pdf, etc.)
35694 .PHONY: maybe-info-target-libobjc info-target-libobjc
35695 maybe-info-target-libobjc:
35696 @if target-libobjc
35697 maybe-info-target-libobjc: info-target-libobjc
35699 info-target-libobjc: \
35700 configure-target-libobjc
35701 @: $(MAKE); $(unstage)
35702 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35703 r=`${PWD_COMMAND}`; export r; \
35704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35705 $(NORMAL_TARGET_EXPORTS) \
35706 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35707 for flag in $(EXTRA_TARGET_FLAGS); do \
35708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35709 done; \
35710 (cd $(TARGET_SUBDIR)/libobjc && \
35711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35713 "RANLIB=$${RANLIB}" \
35714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35715 info) \
35716 || exit 1
35718 @endif target-libobjc
35720 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35721 maybe-dvi-target-libobjc:
35722 @if target-libobjc
35723 maybe-dvi-target-libobjc: dvi-target-libobjc
35725 dvi-target-libobjc: \
35726 configure-target-libobjc
35727 @: $(MAKE); $(unstage)
35728 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35729 r=`${PWD_COMMAND}`; export r; \
35730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35731 $(NORMAL_TARGET_EXPORTS) \
35732 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35733 for flag in $(EXTRA_TARGET_FLAGS); do \
35734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35735 done; \
35736 (cd $(TARGET_SUBDIR)/libobjc && \
35737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35739 "RANLIB=$${RANLIB}" \
35740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35741 dvi) \
35742 || exit 1
35744 @endif target-libobjc
35746 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35747 maybe-pdf-target-libobjc:
35748 @if target-libobjc
35749 maybe-pdf-target-libobjc: pdf-target-libobjc
35751 pdf-target-libobjc: \
35752 configure-target-libobjc
35753 @: $(MAKE); $(unstage)
35754 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35755 r=`${PWD_COMMAND}`; export r; \
35756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35757 $(NORMAL_TARGET_EXPORTS) \
35758 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35759 for flag in $(EXTRA_TARGET_FLAGS); do \
35760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35761 done; \
35762 (cd $(TARGET_SUBDIR)/libobjc && \
35763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35765 "RANLIB=$${RANLIB}" \
35766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35767 pdf) \
35768 || exit 1
35770 @endif target-libobjc
35772 .PHONY: maybe-html-target-libobjc html-target-libobjc
35773 maybe-html-target-libobjc:
35774 @if target-libobjc
35775 maybe-html-target-libobjc: html-target-libobjc
35777 html-target-libobjc: \
35778 configure-target-libobjc
35779 @: $(MAKE); $(unstage)
35780 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35781 r=`${PWD_COMMAND}`; export r; \
35782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35783 $(NORMAL_TARGET_EXPORTS) \
35784 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35785 for flag in $(EXTRA_TARGET_FLAGS); do \
35786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35787 done; \
35788 (cd $(TARGET_SUBDIR)/libobjc && \
35789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35791 "RANLIB=$${RANLIB}" \
35792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35793 html) \
35794 || exit 1
35796 @endif target-libobjc
35798 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35799 maybe-TAGS-target-libobjc:
35800 @if target-libobjc
35801 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35803 TAGS-target-libobjc: \
35804 configure-target-libobjc
35805 @: $(MAKE); $(unstage)
35806 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35807 r=`${PWD_COMMAND}`; export r; \
35808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35809 $(NORMAL_TARGET_EXPORTS) \
35810 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35811 for flag in $(EXTRA_TARGET_FLAGS); do \
35812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35813 done; \
35814 (cd $(TARGET_SUBDIR)/libobjc && \
35815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35817 "RANLIB=$${RANLIB}" \
35818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35819 TAGS) \
35820 || exit 1
35822 @endif target-libobjc
35824 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35825 maybe-install-info-target-libobjc:
35826 @if target-libobjc
35827 maybe-install-info-target-libobjc: install-info-target-libobjc
35829 install-info-target-libobjc: \
35830 configure-target-libobjc \
35831 info-target-libobjc
35832 @: $(MAKE); $(unstage)
35833 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35834 r=`${PWD_COMMAND}`; export r; \
35835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35836 $(NORMAL_TARGET_EXPORTS) \
35837 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35838 for flag in $(EXTRA_TARGET_FLAGS); do \
35839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35840 done; \
35841 (cd $(TARGET_SUBDIR)/libobjc && \
35842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35844 "RANLIB=$${RANLIB}" \
35845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35846 install-info) \
35847 || exit 1
35849 @endif target-libobjc
35851 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35852 maybe-install-html-target-libobjc:
35853 @if target-libobjc
35854 maybe-install-html-target-libobjc: install-html-target-libobjc
35856 install-html-target-libobjc: \
35857 configure-target-libobjc \
35858 html-target-libobjc
35859 @: $(MAKE); $(unstage)
35860 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35861 r=`${PWD_COMMAND}`; export r; \
35862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35863 $(NORMAL_TARGET_EXPORTS) \
35864 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35865 for flag in $(EXTRA_TARGET_FLAGS); do \
35866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35867 done; \
35868 (cd $(TARGET_SUBDIR)/libobjc && \
35869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35871 "RANLIB=$${RANLIB}" \
35872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35873 install-html) \
35874 || exit 1
35876 @endif target-libobjc
35878 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35879 maybe-installcheck-target-libobjc:
35880 @if target-libobjc
35881 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35883 installcheck-target-libobjc: \
35884 configure-target-libobjc
35885 @: $(MAKE); $(unstage)
35886 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35887 r=`${PWD_COMMAND}`; export r; \
35888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35889 $(NORMAL_TARGET_EXPORTS) \
35890 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35891 for flag in $(EXTRA_TARGET_FLAGS); do \
35892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35893 done; \
35894 (cd $(TARGET_SUBDIR)/libobjc && \
35895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35897 "RANLIB=$${RANLIB}" \
35898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35899 installcheck) \
35900 || exit 1
35902 @endif target-libobjc
35904 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35905 maybe-mostlyclean-target-libobjc:
35906 @if target-libobjc
35907 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35909 mostlyclean-target-libobjc:
35910 @: $(MAKE); $(unstage)
35911 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35912 r=`${PWD_COMMAND}`; export r; \
35913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35914 $(NORMAL_TARGET_EXPORTS) \
35915 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35916 for flag in $(EXTRA_TARGET_FLAGS); do \
35917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35918 done; \
35919 (cd $(TARGET_SUBDIR)/libobjc && \
35920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35922 "RANLIB=$${RANLIB}" \
35923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35924 mostlyclean) \
35925 || exit 1
35927 @endif target-libobjc
35929 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35930 maybe-clean-target-libobjc:
35931 @if target-libobjc
35932 maybe-clean-target-libobjc: clean-target-libobjc
35934 clean-target-libobjc:
35935 @: $(MAKE); $(unstage)
35936 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35937 r=`${PWD_COMMAND}`; export r; \
35938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35939 $(NORMAL_TARGET_EXPORTS) \
35940 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35941 for flag in $(EXTRA_TARGET_FLAGS); do \
35942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35943 done; \
35944 (cd $(TARGET_SUBDIR)/libobjc && \
35945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35947 "RANLIB=$${RANLIB}" \
35948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35949 clean) \
35950 || exit 1
35952 @endif target-libobjc
35954 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35955 maybe-distclean-target-libobjc:
35956 @if target-libobjc
35957 maybe-distclean-target-libobjc: distclean-target-libobjc
35959 distclean-target-libobjc:
35960 @: $(MAKE); $(unstage)
35961 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35962 r=`${PWD_COMMAND}`; export r; \
35963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35964 $(NORMAL_TARGET_EXPORTS) \
35965 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35966 for flag in $(EXTRA_TARGET_FLAGS); do \
35967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35968 done; \
35969 (cd $(TARGET_SUBDIR)/libobjc && \
35970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35972 "RANLIB=$${RANLIB}" \
35973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35974 distclean) \
35975 || exit 1
35977 @endif target-libobjc
35979 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35980 maybe-maintainer-clean-target-libobjc:
35981 @if target-libobjc
35982 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35984 maintainer-clean-target-libobjc:
35985 @: $(MAKE); $(unstage)
35986 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35987 r=`${PWD_COMMAND}`; export r; \
35988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35989 $(NORMAL_TARGET_EXPORTS) \
35990 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35991 for flag in $(EXTRA_TARGET_FLAGS); do \
35992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35993 done; \
35994 (cd $(TARGET_SUBDIR)/libobjc && \
35995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35997 "RANLIB=$${RANLIB}" \
35998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35999 maintainer-clean) \
36000 || exit 1
36002 @endif target-libobjc
36008 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36009 maybe-configure-target-libtermcap:
36010 @if gcc-bootstrap
36011 configure-target-libtermcap: stage_current
36012 @endif gcc-bootstrap
36013 @if target-libtermcap
36014 maybe-configure-target-libtermcap: configure-target-libtermcap
36015 configure-target-libtermcap:
36016 @: $(MAKE); $(unstage)
36017 @r=`${PWD_COMMAND}`; export r; \
36018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36019 echo "Checking multilib configuration for libtermcap..."; \
36020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36021 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36022 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36023 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36024 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36025 else \
36026 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36027 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36028 fi; \
36029 else \
36030 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36031 fi; \
36032 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36034 $(NORMAL_TARGET_EXPORTS) \
36035 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36036 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36037 case $(srcdir) in \
36038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36039 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36041 esac; \
36042 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36043 libsrcdir="$$s/libtermcap"; \
36044 rm -f no-such-file || : ; \
36045 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36046 $(TARGET_CONFIGARGS) $${srcdiroption} \
36047 || exit 1
36048 @endif target-libtermcap
36054 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36055 maybe-all-target-libtermcap:
36056 @if gcc-bootstrap
36057 all-target-libtermcap: stage_current
36058 @endif gcc-bootstrap
36059 @if target-libtermcap
36060 TARGET-target-libtermcap=all
36061 maybe-all-target-libtermcap: all-target-libtermcap
36062 all-target-libtermcap: configure-target-libtermcap
36063 @: $(MAKE); $(unstage)
36064 @r=`${PWD_COMMAND}`; export r; \
36065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36066 $(NORMAL_TARGET_EXPORTS) \
36067 (cd $(TARGET_SUBDIR)/libtermcap && \
36068 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
36069 @endif target-libtermcap
36075 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36076 maybe-check-target-libtermcap:
36077 @if target-libtermcap
36078 maybe-check-target-libtermcap: check-target-libtermcap
36080 # Dummy target for uncheckable module.
36081 check-target-libtermcap:
36083 @endif target-libtermcap
36085 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36086 maybe-install-target-libtermcap:
36087 @if target-libtermcap
36088 maybe-install-target-libtermcap: install-target-libtermcap
36090 install-target-libtermcap: installdirs
36091 @: $(MAKE); $(unstage)
36092 @r=`${PWD_COMMAND}`; export r; \
36093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36094 $(NORMAL_TARGET_EXPORTS) \
36095 (cd $(TARGET_SUBDIR)/libtermcap && \
36096 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36098 @endif target-libtermcap
36100 # Other targets (info, dvi, pdf, etc.)
36102 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36103 maybe-info-target-libtermcap:
36104 @if target-libtermcap
36105 maybe-info-target-libtermcap: info-target-libtermcap
36107 info-target-libtermcap: \
36108 configure-target-libtermcap
36109 @: $(MAKE); $(unstage)
36110 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36111 r=`${PWD_COMMAND}`; export r; \
36112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36113 $(NORMAL_TARGET_EXPORTS) \
36114 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36115 for flag in $(EXTRA_TARGET_FLAGS); do \
36116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36117 done; \
36118 (cd $(TARGET_SUBDIR)/libtermcap && \
36119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36121 "RANLIB=$${RANLIB}" \
36122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36123 info) \
36124 || exit 1
36126 @endif target-libtermcap
36128 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36129 maybe-dvi-target-libtermcap:
36130 @if target-libtermcap
36131 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36133 dvi-target-libtermcap: \
36134 configure-target-libtermcap
36135 @: $(MAKE); $(unstage)
36136 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36137 r=`${PWD_COMMAND}`; export r; \
36138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36139 $(NORMAL_TARGET_EXPORTS) \
36140 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36141 for flag in $(EXTRA_TARGET_FLAGS); do \
36142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36143 done; \
36144 (cd $(TARGET_SUBDIR)/libtermcap && \
36145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36147 "RANLIB=$${RANLIB}" \
36148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36149 dvi) \
36150 || exit 1
36152 @endif target-libtermcap
36154 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36155 maybe-pdf-target-libtermcap:
36156 @if target-libtermcap
36157 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36159 pdf-target-libtermcap: \
36160 configure-target-libtermcap
36161 @: $(MAKE); $(unstage)
36162 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36163 r=`${PWD_COMMAND}`; export r; \
36164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36165 $(NORMAL_TARGET_EXPORTS) \
36166 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36167 for flag in $(EXTRA_TARGET_FLAGS); do \
36168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36169 done; \
36170 (cd $(TARGET_SUBDIR)/libtermcap && \
36171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36173 "RANLIB=$${RANLIB}" \
36174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36175 pdf) \
36176 || exit 1
36178 @endif target-libtermcap
36180 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36181 maybe-html-target-libtermcap:
36182 @if target-libtermcap
36183 maybe-html-target-libtermcap: html-target-libtermcap
36185 html-target-libtermcap: \
36186 configure-target-libtermcap
36187 @: $(MAKE); $(unstage)
36188 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36189 r=`${PWD_COMMAND}`; export r; \
36190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36191 $(NORMAL_TARGET_EXPORTS) \
36192 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36193 for flag in $(EXTRA_TARGET_FLAGS); do \
36194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36195 done; \
36196 (cd $(TARGET_SUBDIR)/libtermcap && \
36197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36199 "RANLIB=$${RANLIB}" \
36200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36201 html) \
36202 || exit 1
36204 @endif target-libtermcap
36206 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36207 maybe-TAGS-target-libtermcap:
36208 @if target-libtermcap
36209 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36211 TAGS-target-libtermcap: \
36212 configure-target-libtermcap
36213 @: $(MAKE); $(unstage)
36214 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36215 r=`${PWD_COMMAND}`; export r; \
36216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36217 $(NORMAL_TARGET_EXPORTS) \
36218 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36219 for flag in $(EXTRA_TARGET_FLAGS); do \
36220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36221 done; \
36222 (cd $(TARGET_SUBDIR)/libtermcap && \
36223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36225 "RANLIB=$${RANLIB}" \
36226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36227 TAGS) \
36228 || exit 1
36230 @endif target-libtermcap
36232 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36233 maybe-install-info-target-libtermcap:
36234 @if target-libtermcap
36235 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36237 install-info-target-libtermcap: \
36238 configure-target-libtermcap \
36239 info-target-libtermcap
36240 @: $(MAKE); $(unstage)
36241 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36242 r=`${PWD_COMMAND}`; export r; \
36243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36244 $(NORMAL_TARGET_EXPORTS) \
36245 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36246 for flag in $(EXTRA_TARGET_FLAGS); do \
36247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36248 done; \
36249 (cd $(TARGET_SUBDIR)/libtermcap && \
36250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36252 "RANLIB=$${RANLIB}" \
36253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36254 install-info) \
36255 || exit 1
36257 @endif target-libtermcap
36259 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36260 maybe-install-html-target-libtermcap:
36261 @if target-libtermcap
36262 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36264 install-html-target-libtermcap: \
36265 configure-target-libtermcap \
36266 html-target-libtermcap
36267 @: $(MAKE); $(unstage)
36268 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36269 r=`${PWD_COMMAND}`; export r; \
36270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36271 $(NORMAL_TARGET_EXPORTS) \
36272 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36273 for flag in $(EXTRA_TARGET_FLAGS); do \
36274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36275 done; \
36276 (cd $(TARGET_SUBDIR)/libtermcap && \
36277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36279 "RANLIB=$${RANLIB}" \
36280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36281 install-html) \
36282 || exit 1
36284 @endif target-libtermcap
36286 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36287 maybe-installcheck-target-libtermcap:
36288 @if target-libtermcap
36289 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36291 installcheck-target-libtermcap: \
36292 configure-target-libtermcap
36293 @: $(MAKE); $(unstage)
36294 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36295 r=`${PWD_COMMAND}`; export r; \
36296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36297 $(NORMAL_TARGET_EXPORTS) \
36298 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36299 for flag in $(EXTRA_TARGET_FLAGS); do \
36300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36301 done; \
36302 (cd $(TARGET_SUBDIR)/libtermcap && \
36303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36305 "RANLIB=$${RANLIB}" \
36306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36307 installcheck) \
36308 || exit 1
36310 @endif target-libtermcap
36312 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36313 maybe-mostlyclean-target-libtermcap:
36314 @if target-libtermcap
36315 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36317 # libtermcap doesn't support mostlyclean.
36318 mostlyclean-target-libtermcap:
36320 @endif target-libtermcap
36322 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36323 maybe-clean-target-libtermcap:
36324 @if target-libtermcap
36325 maybe-clean-target-libtermcap: clean-target-libtermcap
36327 # libtermcap doesn't support clean.
36328 clean-target-libtermcap:
36330 @endif target-libtermcap
36332 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36333 maybe-distclean-target-libtermcap:
36334 @if target-libtermcap
36335 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36337 # libtermcap doesn't support distclean.
36338 distclean-target-libtermcap:
36340 @endif target-libtermcap
36342 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36343 maybe-maintainer-clean-target-libtermcap:
36344 @if target-libtermcap
36345 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36347 # libtermcap doesn't support maintainer-clean.
36348 maintainer-clean-target-libtermcap:
36350 @endif target-libtermcap
36356 .PHONY: configure-target-winsup maybe-configure-target-winsup
36357 maybe-configure-target-winsup:
36358 @if gcc-bootstrap
36359 configure-target-winsup: stage_current
36360 @endif gcc-bootstrap
36361 @if target-winsup
36362 maybe-configure-target-winsup: configure-target-winsup
36363 configure-target-winsup:
36364 @: $(MAKE); $(unstage)
36365 @r=`${PWD_COMMAND}`; export r; \
36366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36367 echo "Checking multilib configuration for winsup..."; \
36368 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36369 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36370 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36371 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36372 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36373 else \
36374 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36375 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36376 fi; \
36377 else \
36378 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36379 fi; \
36380 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36382 $(NORMAL_TARGET_EXPORTS) \
36383 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36384 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36385 case $(srcdir) in \
36386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36387 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36389 esac; \
36390 srcdiroption="--srcdir=$${topdir}/winsup"; \
36391 libsrcdir="$$s/winsup"; \
36392 rm -f no-such-file || : ; \
36393 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36394 $(TARGET_CONFIGARGS) $${srcdiroption} \
36395 || exit 1
36396 @endif target-winsup
36402 .PHONY: all-target-winsup maybe-all-target-winsup
36403 maybe-all-target-winsup:
36404 @if gcc-bootstrap
36405 all-target-winsup: stage_current
36406 @endif gcc-bootstrap
36407 @if target-winsup
36408 TARGET-target-winsup=all
36409 maybe-all-target-winsup: all-target-winsup
36410 all-target-winsup: configure-target-winsup
36411 @: $(MAKE); $(unstage)
36412 @r=`${PWD_COMMAND}`; export r; \
36413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36414 $(NORMAL_TARGET_EXPORTS) \
36415 (cd $(TARGET_SUBDIR)/winsup && \
36416 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
36417 @endif target-winsup
36423 .PHONY: check-target-winsup maybe-check-target-winsup
36424 maybe-check-target-winsup:
36425 @if target-winsup
36426 maybe-check-target-winsup: check-target-winsup
36428 check-target-winsup:
36429 @: $(MAKE); $(unstage)
36430 @r=`${PWD_COMMAND}`; export r; \
36431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36432 $(NORMAL_TARGET_EXPORTS) \
36433 (cd $(TARGET_SUBDIR)/winsup && \
36434 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36436 @endif target-winsup
36438 .PHONY: install-target-winsup maybe-install-target-winsup
36439 maybe-install-target-winsup:
36440 @if target-winsup
36441 maybe-install-target-winsup: install-target-winsup
36443 install-target-winsup: installdirs
36444 @: $(MAKE); $(unstage)
36445 @r=`${PWD_COMMAND}`; export r; \
36446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36447 $(NORMAL_TARGET_EXPORTS) \
36448 (cd $(TARGET_SUBDIR)/winsup && \
36449 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36451 @endif target-winsup
36453 # Other targets (info, dvi, pdf, etc.)
36455 .PHONY: maybe-info-target-winsup info-target-winsup
36456 maybe-info-target-winsup:
36457 @if target-winsup
36458 maybe-info-target-winsup: info-target-winsup
36460 info-target-winsup: \
36461 configure-target-winsup
36462 @: $(MAKE); $(unstage)
36463 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36464 r=`${PWD_COMMAND}`; export r; \
36465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36466 $(NORMAL_TARGET_EXPORTS) \
36467 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36468 for flag in $(EXTRA_TARGET_FLAGS); do \
36469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36470 done; \
36471 (cd $(TARGET_SUBDIR)/winsup && \
36472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36474 "RANLIB=$${RANLIB}" \
36475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36476 info) \
36477 || exit 1
36479 @endif target-winsup
36481 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36482 maybe-dvi-target-winsup:
36483 @if target-winsup
36484 maybe-dvi-target-winsup: dvi-target-winsup
36486 dvi-target-winsup: \
36487 configure-target-winsup
36488 @: $(MAKE); $(unstage)
36489 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36490 r=`${PWD_COMMAND}`; export r; \
36491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36492 $(NORMAL_TARGET_EXPORTS) \
36493 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36494 for flag in $(EXTRA_TARGET_FLAGS); do \
36495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36496 done; \
36497 (cd $(TARGET_SUBDIR)/winsup && \
36498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36500 "RANLIB=$${RANLIB}" \
36501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36502 dvi) \
36503 || exit 1
36505 @endif target-winsup
36507 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36508 maybe-pdf-target-winsup:
36509 @if target-winsup
36510 maybe-pdf-target-winsup: pdf-target-winsup
36512 pdf-target-winsup: \
36513 configure-target-winsup
36514 @: $(MAKE); $(unstage)
36515 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36516 r=`${PWD_COMMAND}`; export r; \
36517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36518 $(NORMAL_TARGET_EXPORTS) \
36519 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36520 for flag in $(EXTRA_TARGET_FLAGS); do \
36521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36522 done; \
36523 (cd $(TARGET_SUBDIR)/winsup && \
36524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36526 "RANLIB=$${RANLIB}" \
36527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36528 pdf) \
36529 || exit 1
36531 @endif target-winsup
36533 .PHONY: maybe-html-target-winsup html-target-winsup
36534 maybe-html-target-winsup:
36535 @if target-winsup
36536 maybe-html-target-winsup: html-target-winsup
36538 html-target-winsup: \
36539 configure-target-winsup
36540 @: $(MAKE); $(unstage)
36541 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36542 r=`${PWD_COMMAND}`; export r; \
36543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36544 $(NORMAL_TARGET_EXPORTS) \
36545 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36546 for flag in $(EXTRA_TARGET_FLAGS); do \
36547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36548 done; \
36549 (cd $(TARGET_SUBDIR)/winsup && \
36550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36552 "RANLIB=$${RANLIB}" \
36553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36554 html) \
36555 || exit 1
36557 @endif target-winsup
36559 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36560 maybe-TAGS-target-winsup:
36561 @if target-winsup
36562 maybe-TAGS-target-winsup: TAGS-target-winsup
36564 TAGS-target-winsup: \
36565 configure-target-winsup
36566 @: $(MAKE); $(unstage)
36567 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36568 r=`${PWD_COMMAND}`; export r; \
36569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36570 $(NORMAL_TARGET_EXPORTS) \
36571 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36572 for flag in $(EXTRA_TARGET_FLAGS); do \
36573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36574 done; \
36575 (cd $(TARGET_SUBDIR)/winsup && \
36576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36578 "RANLIB=$${RANLIB}" \
36579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36580 TAGS) \
36581 || exit 1
36583 @endif target-winsup
36585 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36586 maybe-install-info-target-winsup:
36587 @if target-winsup
36588 maybe-install-info-target-winsup: install-info-target-winsup
36590 install-info-target-winsup: \
36591 configure-target-winsup \
36592 info-target-winsup
36593 @: $(MAKE); $(unstage)
36594 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36595 r=`${PWD_COMMAND}`; export r; \
36596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36597 $(NORMAL_TARGET_EXPORTS) \
36598 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36599 for flag in $(EXTRA_TARGET_FLAGS); do \
36600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36601 done; \
36602 (cd $(TARGET_SUBDIR)/winsup && \
36603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36605 "RANLIB=$${RANLIB}" \
36606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36607 install-info) \
36608 || exit 1
36610 @endif target-winsup
36612 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36613 maybe-install-html-target-winsup:
36614 @if target-winsup
36615 maybe-install-html-target-winsup: install-html-target-winsup
36617 install-html-target-winsup: \
36618 configure-target-winsup \
36619 html-target-winsup
36620 @: $(MAKE); $(unstage)
36621 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36622 r=`${PWD_COMMAND}`; export r; \
36623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36624 $(NORMAL_TARGET_EXPORTS) \
36625 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36626 for flag in $(EXTRA_TARGET_FLAGS); do \
36627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36628 done; \
36629 (cd $(TARGET_SUBDIR)/winsup && \
36630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36632 "RANLIB=$${RANLIB}" \
36633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36634 install-html) \
36635 || exit 1
36637 @endif target-winsup
36639 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36640 maybe-installcheck-target-winsup:
36641 @if target-winsup
36642 maybe-installcheck-target-winsup: installcheck-target-winsup
36644 installcheck-target-winsup: \
36645 configure-target-winsup
36646 @: $(MAKE); $(unstage)
36647 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36648 r=`${PWD_COMMAND}`; export r; \
36649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36650 $(NORMAL_TARGET_EXPORTS) \
36651 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36652 for flag in $(EXTRA_TARGET_FLAGS); do \
36653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36654 done; \
36655 (cd $(TARGET_SUBDIR)/winsup && \
36656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36658 "RANLIB=$${RANLIB}" \
36659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36660 installcheck) \
36661 || exit 1
36663 @endif target-winsup
36665 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36666 maybe-mostlyclean-target-winsup:
36667 @if target-winsup
36668 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36670 mostlyclean-target-winsup:
36671 @: $(MAKE); $(unstage)
36672 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36673 r=`${PWD_COMMAND}`; export r; \
36674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36675 $(NORMAL_TARGET_EXPORTS) \
36676 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36677 for flag in $(EXTRA_TARGET_FLAGS); do \
36678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36679 done; \
36680 (cd $(TARGET_SUBDIR)/winsup && \
36681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36683 "RANLIB=$${RANLIB}" \
36684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36685 mostlyclean) \
36686 || exit 1
36688 @endif target-winsup
36690 .PHONY: maybe-clean-target-winsup clean-target-winsup
36691 maybe-clean-target-winsup:
36692 @if target-winsup
36693 maybe-clean-target-winsup: clean-target-winsup
36695 clean-target-winsup:
36696 @: $(MAKE); $(unstage)
36697 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36698 r=`${PWD_COMMAND}`; export r; \
36699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36700 $(NORMAL_TARGET_EXPORTS) \
36701 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36702 for flag in $(EXTRA_TARGET_FLAGS); do \
36703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36704 done; \
36705 (cd $(TARGET_SUBDIR)/winsup && \
36706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36708 "RANLIB=$${RANLIB}" \
36709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36710 clean) \
36711 || exit 1
36713 @endif target-winsup
36715 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36716 maybe-distclean-target-winsup:
36717 @if target-winsup
36718 maybe-distclean-target-winsup: distclean-target-winsup
36720 distclean-target-winsup:
36721 @: $(MAKE); $(unstage)
36722 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36723 r=`${PWD_COMMAND}`; export r; \
36724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36725 $(NORMAL_TARGET_EXPORTS) \
36726 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36727 for flag in $(EXTRA_TARGET_FLAGS); do \
36728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36729 done; \
36730 (cd $(TARGET_SUBDIR)/winsup && \
36731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36733 "RANLIB=$${RANLIB}" \
36734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36735 distclean) \
36736 || exit 1
36738 @endif target-winsup
36740 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36741 maybe-maintainer-clean-target-winsup:
36742 @if target-winsup
36743 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36745 maintainer-clean-target-winsup:
36746 @: $(MAKE); $(unstage)
36747 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36748 r=`${PWD_COMMAND}`; export r; \
36749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36750 $(NORMAL_TARGET_EXPORTS) \
36751 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36752 for flag in $(EXTRA_TARGET_FLAGS); do \
36753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36754 done; \
36755 (cd $(TARGET_SUBDIR)/winsup && \
36756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36758 "RANLIB=$${RANLIB}" \
36759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36760 maintainer-clean) \
36761 || exit 1
36763 @endif target-winsup
36769 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36770 maybe-configure-target-libgloss:
36771 @if gcc-bootstrap
36772 configure-target-libgloss: stage_current
36773 @endif gcc-bootstrap
36774 @if target-libgloss
36775 maybe-configure-target-libgloss: configure-target-libgloss
36776 configure-target-libgloss:
36777 @: $(MAKE); $(unstage)
36778 @r=`${PWD_COMMAND}`; export r; \
36779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36780 echo "Checking multilib configuration for libgloss..."; \
36781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36783 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36784 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36785 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36786 else \
36787 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36788 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36789 fi; \
36790 else \
36791 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36792 fi; \
36793 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36795 $(NORMAL_TARGET_EXPORTS) \
36796 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36797 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36798 case $(srcdir) in \
36799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36800 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36802 esac; \
36803 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36804 libsrcdir="$$s/libgloss"; \
36805 rm -f no-such-file || : ; \
36806 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36807 $(TARGET_CONFIGARGS) $${srcdiroption} \
36808 || exit 1
36809 @endif target-libgloss
36815 .PHONY: all-target-libgloss maybe-all-target-libgloss
36816 maybe-all-target-libgloss:
36817 @if gcc-bootstrap
36818 all-target-libgloss: stage_current
36819 @endif gcc-bootstrap
36820 @if target-libgloss
36821 TARGET-target-libgloss=all
36822 maybe-all-target-libgloss: all-target-libgloss
36823 all-target-libgloss: configure-target-libgloss
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)/libgloss && \
36829 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
36830 @endif target-libgloss
36836 .PHONY: check-target-libgloss maybe-check-target-libgloss
36837 maybe-check-target-libgloss:
36838 @if target-libgloss
36839 maybe-check-target-libgloss: check-target-libgloss
36841 # Dummy target for uncheckable module.
36842 check-target-libgloss:
36844 @endif target-libgloss
36846 .PHONY: install-target-libgloss maybe-install-target-libgloss
36847 maybe-install-target-libgloss:
36848 @if target-libgloss
36849 maybe-install-target-libgloss: install-target-libgloss
36851 install-target-libgloss: installdirs
36852 @: $(MAKE); $(unstage)
36853 @r=`${PWD_COMMAND}`; export r; \
36854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36855 $(NORMAL_TARGET_EXPORTS) \
36856 (cd $(TARGET_SUBDIR)/libgloss && \
36857 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36859 @endif target-libgloss
36861 # Other targets (info, dvi, pdf, etc.)
36863 .PHONY: maybe-info-target-libgloss info-target-libgloss
36864 maybe-info-target-libgloss:
36865 @if target-libgloss
36866 maybe-info-target-libgloss: info-target-libgloss
36868 info-target-libgloss: \
36869 configure-target-libgloss
36870 @: $(MAKE); $(unstage)
36871 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36872 r=`${PWD_COMMAND}`; export r; \
36873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36874 $(NORMAL_TARGET_EXPORTS) \
36875 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36876 for flag in $(EXTRA_TARGET_FLAGS); do \
36877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36878 done; \
36879 (cd $(TARGET_SUBDIR)/libgloss && \
36880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36882 "RANLIB=$${RANLIB}" \
36883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36884 info) \
36885 || exit 1
36887 @endif target-libgloss
36889 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36890 maybe-dvi-target-libgloss:
36891 @if target-libgloss
36892 maybe-dvi-target-libgloss: dvi-target-libgloss
36894 dvi-target-libgloss: \
36895 configure-target-libgloss
36896 @: $(MAKE); $(unstage)
36897 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36898 r=`${PWD_COMMAND}`; export r; \
36899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36900 $(NORMAL_TARGET_EXPORTS) \
36901 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36902 for flag in $(EXTRA_TARGET_FLAGS); do \
36903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36904 done; \
36905 (cd $(TARGET_SUBDIR)/libgloss && \
36906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36908 "RANLIB=$${RANLIB}" \
36909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36910 dvi) \
36911 || exit 1
36913 @endif target-libgloss
36915 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36916 maybe-pdf-target-libgloss:
36917 @if target-libgloss
36918 maybe-pdf-target-libgloss: pdf-target-libgloss
36920 pdf-target-libgloss: \
36921 configure-target-libgloss
36922 @: $(MAKE); $(unstage)
36923 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36924 r=`${PWD_COMMAND}`; export r; \
36925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36926 $(NORMAL_TARGET_EXPORTS) \
36927 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36928 for flag in $(EXTRA_TARGET_FLAGS); do \
36929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36930 done; \
36931 (cd $(TARGET_SUBDIR)/libgloss && \
36932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36934 "RANLIB=$${RANLIB}" \
36935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36936 pdf) \
36937 || exit 1
36939 @endif target-libgloss
36941 .PHONY: maybe-html-target-libgloss html-target-libgloss
36942 maybe-html-target-libgloss:
36943 @if target-libgloss
36944 maybe-html-target-libgloss: html-target-libgloss
36946 html-target-libgloss: \
36947 configure-target-libgloss
36948 @: $(MAKE); $(unstage)
36949 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36950 r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 $(NORMAL_TARGET_EXPORTS) \
36953 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36954 for flag in $(EXTRA_TARGET_FLAGS); do \
36955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36956 done; \
36957 (cd $(TARGET_SUBDIR)/libgloss && \
36958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36960 "RANLIB=$${RANLIB}" \
36961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36962 html) \
36963 || exit 1
36965 @endif target-libgloss
36967 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36968 maybe-TAGS-target-libgloss:
36969 @if target-libgloss
36970 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36972 TAGS-target-libgloss: \
36973 configure-target-libgloss
36974 @: $(MAKE); $(unstage)
36975 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36976 r=`${PWD_COMMAND}`; export r; \
36977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36978 $(NORMAL_TARGET_EXPORTS) \
36979 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 TAGS) \
36989 || exit 1
36991 @endif target-libgloss
36993 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36994 maybe-install-info-target-libgloss:
36995 @if target-libgloss
36996 maybe-install-info-target-libgloss: install-info-target-libgloss
36998 install-info-target-libgloss: \
36999 configure-target-libgloss \
37000 info-target-libgloss
37001 @: $(MAKE); $(unstage)
37002 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37003 r=`${PWD_COMMAND}`; export r; \
37004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37005 $(NORMAL_TARGET_EXPORTS) \
37006 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37007 for flag in $(EXTRA_TARGET_FLAGS); do \
37008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37009 done; \
37010 (cd $(TARGET_SUBDIR)/libgloss && \
37011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37013 "RANLIB=$${RANLIB}" \
37014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37015 install-info) \
37016 || exit 1
37018 @endif target-libgloss
37020 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37021 maybe-install-html-target-libgloss:
37022 @if target-libgloss
37023 maybe-install-html-target-libgloss: install-html-target-libgloss
37025 install-html-target-libgloss: \
37026 configure-target-libgloss \
37027 html-target-libgloss
37028 @: $(MAKE); $(unstage)
37029 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37030 r=`${PWD_COMMAND}`; export r; \
37031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37032 $(NORMAL_TARGET_EXPORTS) \
37033 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37034 for flag in $(EXTRA_TARGET_FLAGS); do \
37035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37036 done; \
37037 (cd $(TARGET_SUBDIR)/libgloss && \
37038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37040 "RANLIB=$${RANLIB}" \
37041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37042 install-html) \
37043 || exit 1
37045 @endif target-libgloss
37047 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37048 maybe-installcheck-target-libgloss:
37049 @if target-libgloss
37050 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37052 installcheck-target-libgloss: \
37053 configure-target-libgloss
37054 @: $(MAKE); $(unstage)
37055 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37056 r=`${PWD_COMMAND}`; export r; \
37057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37058 $(NORMAL_TARGET_EXPORTS) \
37059 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37060 for flag in $(EXTRA_TARGET_FLAGS); do \
37061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37062 done; \
37063 (cd $(TARGET_SUBDIR)/libgloss && \
37064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37066 "RANLIB=$${RANLIB}" \
37067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37068 installcheck) \
37069 || exit 1
37071 @endif target-libgloss
37073 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37074 maybe-mostlyclean-target-libgloss:
37075 @if target-libgloss
37076 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37078 mostlyclean-target-libgloss:
37079 @: $(MAKE); $(unstage)
37080 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37081 r=`${PWD_COMMAND}`; export r; \
37082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37083 $(NORMAL_TARGET_EXPORTS) \
37084 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37085 for flag in $(EXTRA_TARGET_FLAGS); do \
37086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37087 done; \
37088 (cd $(TARGET_SUBDIR)/libgloss && \
37089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37091 "RANLIB=$${RANLIB}" \
37092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37093 mostlyclean) \
37094 || exit 1
37096 @endif target-libgloss
37098 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37099 maybe-clean-target-libgloss:
37100 @if target-libgloss
37101 maybe-clean-target-libgloss: clean-target-libgloss
37103 clean-target-libgloss:
37104 @: $(MAKE); $(unstage)
37105 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37106 r=`${PWD_COMMAND}`; export r; \
37107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37108 $(NORMAL_TARGET_EXPORTS) \
37109 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37110 for flag in $(EXTRA_TARGET_FLAGS); do \
37111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37112 done; \
37113 (cd $(TARGET_SUBDIR)/libgloss && \
37114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37116 "RANLIB=$${RANLIB}" \
37117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37118 clean) \
37119 || exit 1
37121 @endif target-libgloss
37123 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37124 maybe-distclean-target-libgloss:
37125 @if target-libgloss
37126 maybe-distclean-target-libgloss: distclean-target-libgloss
37128 distclean-target-libgloss:
37129 @: $(MAKE); $(unstage)
37130 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37131 r=`${PWD_COMMAND}`; export r; \
37132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37133 $(NORMAL_TARGET_EXPORTS) \
37134 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37135 for flag in $(EXTRA_TARGET_FLAGS); do \
37136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37137 done; \
37138 (cd $(TARGET_SUBDIR)/libgloss && \
37139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37141 "RANLIB=$${RANLIB}" \
37142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37143 distclean) \
37144 || exit 1
37146 @endif target-libgloss
37148 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37149 maybe-maintainer-clean-target-libgloss:
37150 @if target-libgloss
37151 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37153 maintainer-clean-target-libgloss:
37154 @: $(MAKE); $(unstage)
37155 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37156 r=`${PWD_COMMAND}`; export r; \
37157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37158 $(NORMAL_TARGET_EXPORTS) \
37159 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37160 for flag in $(EXTRA_TARGET_FLAGS); do \
37161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37162 done; \
37163 (cd $(TARGET_SUBDIR)/libgloss && \
37164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37166 "RANLIB=$${RANLIB}" \
37167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37168 maintainer-clean) \
37169 || exit 1
37171 @endif target-libgloss
37177 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
37178 maybe-configure-target-libiberty:
37179 @if gcc-bootstrap
37180 configure-target-libiberty: stage_current
37181 @endif gcc-bootstrap
37182 @if target-libiberty
37183 maybe-configure-target-libiberty: configure-target-libiberty
37184 configure-target-libiberty:
37185 @: $(MAKE); $(unstage)
37186 @r=`${PWD_COMMAND}`; export r; \
37187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37188 echo "Checking multilib configuration for libiberty..."; \
37189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37190 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
37191 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37192 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37193 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
37194 else \
37195 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
37196 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37197 fi; \
37198 else \
37199 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37200 fi; \
37201 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
37202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37203 $(NORMAL_TARGET_EXPORTS) \
37204 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
37205 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
37206 case $(srcdir) in \
37207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37208 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
37209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37210 esac; \
37211 srcdiroption="--srcdir=$${topdir}/libiberty"; \
37212 libsrcdir="$$s/libiberty"; \
37213 rm -f no-such-file || : ; \
37214 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37215 $(TARGET_CONFIGARGS) $${srcdiroption} \
37216 || exit 1
37217 @endif target-libiberty
37223 .PHONY: all-target-libiberty maybe-all-target-libiberty
37224 maybe-all-target-libiberty:
37225 @if gcc-bootstrap
37226 all-target-libiberty: stage_current
37227 @endif gcc-bootstrap
37228 @if target-libiberty
37229 TARGET-target-libiberty=all
37230 maybe-all-target-libiberty: all-target-libiberty
37231 all-target-libiberty: configure-target-libiberty
37232 @: $(MAKE); $(unstage)
37233 @r=`${PWD_COMMAND}`; export r; \
37234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37235 $(NORMAL_TARGET_EXPORTS) \
37236 (cd $(TARGET_SUBDIR)/libiberty && \
37237 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
37238 @endif target-libiberty
37244 .PHONY: check-target-libiberty maybe-check-target-libiberty
37245 maybe-check-target-libiberty:
37246 @if target-libiberty
37247 maybe-check-target-libiberty: check-target-libiberty
37249 check-target-libiberty:
37250 @: $(MAKE); $(unstage)
37251 @r=`${PWD_COMMAND}`; export r; \
37252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37253 $(NORMAL_TARGET_EXPORTS) \
37254 (cd $(TARGET_SUBDIR)/libiberty && \
37255 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37257 @endif target-libiberty
37259 .PHONY: install-target-libiberty maybe-install-target-libiberty
37260 maybe-install-target-libiberty:
37261 @if target-libiberty
37262 maybe-install-target-libiberty: install-target-libiberty
37264 install-target-libiberty: installdirs
37265 @: $(MAKE); $(unstage)
37266 @r=`${PWD_COMMAND}`; export r; \
37267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37268 $(NORMAL_TARGET_EXPORTS) \
37269 (cd $(TARGET_SUBDIR)/libiberty && \
37270 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37272 @endif target-libiberty
37274 # Other targets (info, dvi, pdf, etc.)
37276 .PHONY: maybe-info-target-libiberty info-target-libiberty
37277 maybe-info-target-libiberty:
37278 @if target-libiberty
37279 maybe-info-target-libiberty: info-target-libiberty
37281 info-target-libiberty: \
37282 configure-target-libiberty
37283 @: $(MAKE); $(unstage)
37284 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37285 r=`${PWD_COMMAND}`; export r; \
37286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37287 $(NORMAL_TARGET_EXPORTS) \
37288 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
37289 for flag in $(EXTRA_TARGET_FLAGS); do \
37290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37291 done; \
37292 (cd $(TARGET_SUBDIR)/libiberty && \
37293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37295 "RANLIB=$${RANLIB}" \
37296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37297 info) \
37298 || exit 1
37300 @endif target-libiberty
37302 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
37303 maybe-dvi-target-libiberty:
37304 @if target-libiberty
37305 maybe-dvi-target-libiberty: dvi-target-libiberty
37307 dvi-target-libiberty: \
37308 configure-target-libiberty
37309 @: $(MAKE); $(unstage)
37310 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37311 r=`${PWD_COMMAND}`; export r; \
37312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37313 $(NORMAL_TARGET_EXPORTS) \
37314 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
37315 for flag in $(EXTRA_TARGET_FLAGS); do \
37316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37317 done; \
37318 (cd $(TARGET_SUBDIR)/libiberty && \
37319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37321 "RANLIB=$${RANLIB}" \
37322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37323 dvi) \
37324 || exit 1
37326 @endif target-libiberty
37328 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
37329 maybe-pdf-target-libiberty:
37330 @if target-libiberty
37331 maybe-pdf-target-libiberty: pdf-target-libiberty
37333 pdf-target-libiberty: \
37334 configure-target-libiberty
37335 @: $(MAKE); $(unstage)
37336 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37337 r=`${PWD_COMMAND}`; export r; \
37338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37339 $(NORMAL_TARGET_EXPORTS) \
37340 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
37341 for flag in $(EXTRA_TARGET_FLAGS); do \
37342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37343 done; \
37344 (cd $(TARGET_SUBDIR)/libiberty && \
37345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37347 "RANLIB=$${RANLIB}" \
37348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37349 pdf) \
37350 || exit 1
37352 @endif target-libiberty
37354 .PHONY: maybe-html-target-libiberty html-target-libiberty
37355 maybe-html-target-libiberty:
37356 @if target-libiberty
37357 maybe-html-target-libiberty: html-target-libiberty
37359 html-target-libiberty: \
37360 configure-target-libiberty
37361 @: $(MAKE); $(unstage)
37362 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37363 r=`${PWD_COMMAND}`; export r; \
37364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37365 $(NORMAL_TARGET_EXPORTS) \
37366 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 html) \
37376 || exit 1
37378 @endif target-libiberty
37380 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
37381 maybe-TAGS-target-libiberty:
37382 @if target-libiberty
37383 maybe-TAGS-target-libiberty: TAGS-target-libiberty
37385 TAGS-target-libiberty: \
37386 configure-target-libiberty
37387 @: $(MAKE); $(unstage)
37388 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37389 r=`${PWD_COMMAND}`; export r; \
37390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37391 $(NORMAL_TARGET_EXPORTS) \
37392 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 TAGS) \
37402 || exit 1
37404 @endif target-libiberty
37406 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
37407 maybe-install-info-target-libiberty:
37408 @if target-libiberty
37409 maybe-install-info-target-libiberty: install-info-target-libiberty
37411 install-info-target-libiberty: \
37412 configure-target-libiberty \
37413 info-target-libiberty
37414 @: $(MAKE); $(unstage)
37415 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37416 r=`${PWD_COMMAND}`; export r; \
37417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37418 $(NORMAL_TARGET_EXPORTS) \
37419 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
37420 for flag in $(EXTRA_TARGET_FLAGS); do \
37421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37422 done; \
37423 (cd $(TARGET_SUBDIR)/libiberty && \
37424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37426 "RANLIB=$${RANLIB}" \
37427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37428 install-info) \
37429 || exit 1
37431 @endif target-libiberty
37433 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
37434 maybe-install-html-target-libiberty:
37435 @if target-libiberty
37436 maybe-install-html-target-libiberty: install-html-target-libiberty
37438 install-html-target-libiberty: \
37439 configure-target-libiberty \
37440 html-target-libiberty
37441 @: $(MAKE); $(unstage)
37442 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37443 r=`${PWD_COMMAND}`; export r; \
37444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37445 $(NORMAL_TARGET_EXPORTS) \
37446 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
37447 for flag in $(EXTRA_TARGET_FLAGS); do \
37448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37449 done; \
37450 (cd $(TARGET_SUBDIR)/libiberty && \
37451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37453 "RANLIB=$${RANLIB}" \
37454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37455 install-html) \
37456 || exit 1
37458 @endif target-libiberty
37460 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
37461 maybe-installcheck-target-libiberty:
37462 @if target-libiberty
37463 maybe-installcheck-target-libiberty: installcheck-target-libiberty
37465 installcheck-target-libiberty: \
37466 configure-target-libiberty
37467 @: $(MAKE); $(unstage)
37468 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37469 r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 $(NORMAL_TARGET_EXPORTS) \
37472 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
37473 for flag in $(EXTRA_TARGET_FLAGS); do \
37474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37475 done; \
37476 (cd $(TARGET_SUBDIR)/libiberty && \
37477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37479 "RANLIB=$${RANLIB}" \
37480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37481 installcheck) \
37482 || exit 1
37484 @endif target-libiberty
37486 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
37487 maybe-mostlyclean-target-libiberty:
37488 @if target-libiberty
37489 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
37491 mostlyclean-target-libiberty:
37492 @: $(MAKE); $(unstage)
37493 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37494 r=`${PWD_COMMAND}`; export r; \
37495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37496 $(NORMAL_TARGET_EXPORTS) \
37497 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
37498 for flag in $(EXTRA_TARGET_FLAGS); do \
37499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37500 done; \
37501 (cd $(TARGET_SUBDIR)/libiberty && \
37502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37504 "RANLIB=$${RANLIB}" \
37505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37506 mostlyclean) \
37507 || exit 1
37509 @endif target-libiberty
37511 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
37512 maybe-clean-target-libiberty:
37513 @if target-libiberty
37514 maybe-clean-target-libiberty: clean-target-libiberty
37516 clean-target-libiberty:
37517 @: $(MAKE); $(unstage)
37518 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37519 r=`${PWD_COMMAND}`; export r; \
37520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37521 $(NORMAL_TARGET_EXPORTS) \
37522 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
37523 for flag in $(EXTRA_TARGET_FLAGS); do \
37524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37525 done; \
37526 (cd $(TARGET_SUBDIR)/libiberty && \
37527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37529 "RANLIB=$${RANLIB}" \
37530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37531 clean) \
37532 || exit 1
37534 @endif target-libiberty
37536 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
37537 maybe-distclean-target-libiberty:
37538 @if target-libiberty
37539 maybe-distclean-target-libiberty: distclean-target-libiberty
37541 distclean-target-libiberty:
37542 @: $(MAKE); $(unstage)
37543 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37544 r=`${PWD_COMMAND}`; export r; \
37545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37546 $(NORMAL_TARGET_EXPORTS) \
37547 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
37548 for flag in $(EXTRA_TARGET_FLAGS); do \
37549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37550 done; \
37551 (cd $(TARGET_SUBDIR)/libiberty && \
37552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37554 "RANLIB=$${RANLIB}" \
37555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37556 distclean) \
37557 || exit 1
37559 @endif target-libiberty
37561 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
37562 maybe-maintainer-clean-target-libiberty:
37563 @if target-libiberty
37564 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
37566 maintainer-clean-target-libiberty:
37567 @: $(MAKE); $(unstage)
37568 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37569 r=`${PWD_COMMAND}`; export r; \
37570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37571 $(NORMAL_TARGET_EXPORTS) \
37572 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
37573 for flag in $(EXTRA_TARGET_FLAGS); do \
37574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37575 done; \
37576 (cd $(TARGET_SUBDIR)/libiberty && \
37577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37579 "RANLIB=$${RANLIB}" \
37580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37581 maintainer-clean) \
37582 || exit 1
37584 @endif target-libiberty
37590 .PHONY: configure-target-gperf maybe-configure-target-gperf
37591 maybe-configure-target-gperf:
37592 @if gcc-bootstrap
37593 configure-target-gperf: stage_current
37594 @endif gcc-bootstrap
37595 @if target-gperf
37596 maybe-configure-target-gperf: configure-target-gperf
37597 configure-target-gperf:
37598 @: $(MAKE); $(unstage)
37599 @r=`${PWD_COMMAND}`; export r; \
37600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37601 echo "Checking multilib configuration for gperf..."; \
37602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37603 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
37604 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
37605 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
37606 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
37607 else \
37608 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
37609 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37610 fi; \
37611 else \
37612 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37613 fi; \
37614 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
37615 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37616 $(NORMAL_TARGET_EXPORTS) \
37617 echo Configuring in $(TARGET_SUBDIR)/gperf; \
37618 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
37619 case $(srcdir) in \
37620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37621 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
37622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37623 esac; \
37624 srcdiroption="--srcdir=$${topdir}/gperf"; \
37625 libsrcdir="$$s/gperf"; \
37626 rm -f no-such-file || : ; \
37627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37628 $(TARGET_CONFIGARGS) $${srcdiroption} \
37629 || exit 1
37630 @endif target-gperf
37636 .PHONY: all-target-gperf maybe-all-target-gperf
37637 maybe-all-target-gperf:
37638 @if gcc-bootstrap
37639 all-target-gperf: stage_current
37640 @endif gcc-bootstrap
37641 @if target-gperf
37642 TARGET-target-gperf=all
37643 maybe-all-target-gperf: all-target-gperf
37644 all-target-gperf: configure-target-gperf
37645 @: $(MAKE); $(unstage)
37646 @r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(NORMAL_TARGET_EXPORTS) \
37649 (cd $(TARGET_SUBDIR)/gperf && \
37650 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
37651 @endif target-gperf
37657 .PHONY: check-target-gperf maybe-check-target-gperf
37658 maybe-check-target-gperf:
37659 @if target-gperf
37660 maybe-check-target-gperf: check-target-gperf
37662 check-target-gperf:
37663 @: $(MAKE); $(unstage)
37664 @r=`${PWD_COMMAND}`; export r; \
37665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37666 $(NORMAL_TARGET_EXPORTS) \
37667 (cd $(TARGET_SUBDIR)/gperf && \
37668 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37670 @endif target-gperf
37672 .PHONY: install-target-gperf maybe-install-target-gperf
37673 maybe-install-target-gperf:
37674 @if target-gperf
37675 maybe-install-target-gperf: install-target-gperf
37677 install-target-gperf: installdirs
37678 @: $(MAKE); $(unstage)
37679 @r=`${PWD_COMMAND}`; export r; \
37680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37681 $(NORMAL_TARGET_EXPORTS) \
37682 (cd $(TARGET_SUBDIR)/gperf && \
37683 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37685 @endif target-gperf
37687 # Other targets (info, dvi, pdf, etc.)
37689 .PHONY: maybe-info-target-gperf info-target-gperf
37690 maybe-info-target-gperf:
37691 @if target-gperf
37692 maybe-info-target-gperf: info-target-gperf
37694 info-target-gperf: \
37695 configure-target-gperf
37696 @: $(MAKE); $(unstage)
37697 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37698 r=`${PWD_COMMAND}`; export r; \
37699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37700 $(NORMAL_TARGET_EXPORTS) \
37701 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
37702 for flag in $(EXTRA_TARGET_FLAGS); do \
37703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37704 done; \
37705 (cd $(TARGET_SUBDIR)/gperf && \
37706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37708 "RANLIB=$${RANLIB}" \
37709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37710 info) \
37711 || exit 1
37713 @endif target-gperf
37715 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
37716 maybe-dvi-target-gperf:
37717 @if target-gperf
37718 maybe-dvi-target-gperf: dvi-target-gperf
37720 dvi-target-gperf: \
37721 configure-target-gperf
37722 @: $(MAKE); $(unstage)
37723 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37724 r=`${PWD_COMMAND}`; export r; \
37725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37726 $(NORMAL_TARGET_EXPORTS) \
37727 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
37728 for flag in $(EXTRA_TARGET_FLAGS); do \
37729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37730 done; \
37731 (cd $(TARGET_SUBDIR)/gperf && \
37732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37734 "RANLIB=$${RANLIB}" \
37735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37736 dvi) \
37737 || exit 1
37739 @endif target-gperf
37741 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
37742 maybe-pdf-target-gperf:
37743 @if target-gperf
37744 maybe-pdf-target-gperf: pdf-target-gperf
37746 pdf-target-gperf: \
37747 configure-target-gperf
37748 @: $(MAKE); $(unstage)
37749 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37750 r=`${PWD_COMMAND}`; export r; \
37751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37752 $(NORMAL_TARGET_EXPORTS) \
37753 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 pdf) \
37763 || exit 1
37765 @endif target-gperf
37767 .PHONY: maybe-html-target-gperf html-target-gperf
37768 maybe-html-target-gperf:
37769 @if target-gperf
37770 maybe-html-target-gperf: html-target-gperf
37772 html-target-gperf: \
37773 configure-target-gperf
37774 @: $(MAKE); $(unstage)
37775 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37776 r=`${PWD_COMMAND}`; export r; \
37777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37778 $(NORMAL_TARGET_EXPORTS) \
37779 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 html) \
37789 || exit 1
37791 @endif target-gperf
37793 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
37794 maybe-TAGS-target-gperf:
37795 @if target-gperf
37796 maybe-TAGS-target-gperf: TAGS-target-gperf
37798 TAGS-target-gperf: \
37799 configure-target-gperf
37800 @: $(MAKE); $(unstage)
37801 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37802 r=`${PWD_COMMAND}`; export r; \
37803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37804 $(NORMAL_TARGET_EXPORTS) \
37805 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
37806 for flag in $(EXTRA_TARGET_FLAGS); do \
37807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37808 done; \
37809 (cd $(TARGET_SUBDIR)/gperf && \
37810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37812 "RANLIB=$${RANLIB}" \
37813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37814 TAGS) \
37815 || exit 1
37817 @endif target-gperf
37819 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
37820 maybe-install-info-target-gperf:
37821 @if target-gperf
37822 maybe-install-info-target-gperf: install-info-target-gperf
37824 install-info-target-gperf: \
37825 configure-target-gperf \
37826 info-target-gperf
37827 @: $(MAKE); $(unstage)
37828 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37829 r=`${PWD_COMMAND}`; export r; \
37830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37831 $(NORMAL_TARGET_EXPORTS) \
37832 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
37833 for flag in $(EXTRA_TARGET_FLAGS); do \
37834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37835 done; \
37836 (cd $(TARGET_SUBDIR)/gperf && \
37837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37839 "RANLIB=$${RANLIB}" \
37840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37841 install-info) \
37842 || exit 1
37844 @endif target-gperf
37846 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
37847 maybe-install-html-target-gperf:
37848 @if target-gperf
37849 maybe-install-html-target-gperf: install-html-target-gperf
37851 install-html-target-gperf: \
37852 configure-target-gperf \
37853 html-target-gperf
37854 @: $(MAKE); $(unstage)
37855 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37856 r=`${PWD_COMMAND}`; export r; \
37857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37858 $(NORMAL_TARGET_EXPORTS) \
37859 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
37860 for flag in $(EXTRA_TARGET_FLAGS); do \
37861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37862 done; \
37863 (cd $(TARGET_SUBDIR)/gperf && \
37864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37866 "RANLIB=$${RANLIB}" \
37867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37868 install-html) \
37869 || exit 1
37871 @endif target-gperf
37873 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
37874 maybe-installcheck-target-gperf:
37875 @if target-gperf
37876 maybe-installcheck-target-gperf: installcheck-target-gperf
37878 installcheck-target-gperf: \
37879 configure-target-gperf
37880 @: $(MAKE); $(unstage)
37881 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37882 r=`${PWD_COMMAND}`; export r; \
37883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37884 $(NORMAL_TARGET_EXPORTS) \
37885 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
37886 for flag in $(EXTRA_TARGET_FLAGS); do \
37887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37888 done; \
37889 (cd $(TARGET_SUBDIR)/gperf && \
37890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37892 "RANLIB=$${RANLIB}" \
37893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37894 installcheck) \
37895 || exit 1
37897 @endif target-gperf
37899 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
37900 maybe-mostlyclean-target-gperf:
37901 @if target-gperf
37902 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
37904 mostlyclean-target-gperf:
37905 @: $(MAKE); $(unstage)
37906 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37907 r=`${PWD_COMMAND}`; export r; \
37908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37909 $(NORMAL_TARGET_EXPORTS) \
37910 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
37911 for flag in $(EXTRA_TARGET_FLAGS); do \
37912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37913 done; \
37914 (cd $(TARGET_SUBDIR)/gperf && \
37915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37917 "RANLIB=$${RANLIB}" \
37918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37919 mostlyclean) \
37920 || exit 1
37922 @endif target-gperf
37924 .PHONY: maybe-clean-target-gperf clean-target-gperf
37925 maybe-clean-target-gperf:
37926 @if target-gperf
37927 maybe-clean-target-gperf: clean-target-gperf
37929 clean-target-gperf:
37930 @: $(MAKE); $(unstage)
37931 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37932 r=`${PWD_COMMAND}`; export r; \
37933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37934 $(NORMAL_TARGET_EXPORTS) \
37935 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
37936 for flag in $(EXTRA_TARGET_FLAGS); do \
37937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37938 done; \
37939 (cd $(TARGET_SUBDIR)/gperf && \
37940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37942 "RANLIB=$${RANLIB}" \
37943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37944 clean) \
37945 || exit 1
37947 @endif target-gperf
37949 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
37950 maybe-distclean-target-gperf:
37951 @if target-gperf
37952 maybe-distclean-target-gperf: distclean-target-gperf
37954 distclean-target-gperf:
37955 @: $(MAKE); $(unstage)
37956 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37957 r=`${PWD_COMMAND}`; export r; \
37958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37959 $(NORMAL_TARGET_EXPORTS) \
37960 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
37961 for flag in $(EXTRA_TARGET_FLAGS); do \
37962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37963 done; \
37964 (cd $(TARGET_SUBDIR)/gperf && \
37965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37967 "RANLIB=$${RANLIB}" \
37968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37969 distclean) \
37970 || exit 1
37972 @endif target-gperf
37974 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
37975 maybe-maintainer-clean-target-gperf:
37976 @if target-gperf
37977 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
37979 maintainer-clean-target-gperf:
37980 @: $(MAKE); $(unstage)
37981 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37982 r=`${PWD_COMMAND}`; export r; \
37983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37984 $(NORMAL_TARGET_EXPORTS) \
37985 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
37986 for flag in $(EXTRA_TARGET_FLAGS); do \
37987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37988 done; \
37989 (cd $(TARGET_SUBDIR)/gperf && \
37990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37992 "RANLIB=$${RANLIB}" \
37993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37994 maintainer-clean) \
37995 || exit 1
37997 @endif target-gperf
38003 .PHONY: configure-target-examples maybe-configure-target-examples
38004 maybe-configure-target-examples:
38005 @if gcc-bootstrap
38006 configure-target-examples: stage_current
38007 @endif gcc-bootstrap
38008 @if target-examples
38009 maybe-configure-target-examples: configure-target-examples
38010 configure-target-examples:
38011 @: $(MAKE); $(unstage)
38012 @r=`${PWD_COMMAND}`; export r; \
38013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38014 echo "Checking multilib configuration for examples..."; \
38015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38016 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
38017 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
38018 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
38019 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
38020 else \
38021 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
38022 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38023 fi; \
38024 else \
38025 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38026 fi; \
38027 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
38028 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38029 $(NORMAL_TARGET_EXPORTS) \
38030 echo Configuring in $(TARGET_SUBDIR)/examples; \
38031 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
38032 case $(srcdir) in \
38033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38034 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
38035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38036 esac; \
38037 srcdiroption="--srcdir=$${topdir}/examples"; \
38038 libsrcdir="$$s/examples"; \
38039 rm -f no-such-file || : ; \
38040 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38041 $(TARGET_CONFIGARGS) $${srcdiroption} \
38042 || exit 1
38043 @endif target-examples
38049 .PHONY: all-target-examples maybe-all-target-examples
38050 maybe-all-target-examples:
38051 @if gcc-bootstrap
38052 all-target-examples: stage_current
38053 @endif gcc-bootstrap
38054 @if target-examples
38055 TARGET-target-examples=all
38056 maybe-all-target-examples: all-target-examples
38057 all-target-examples: configure-target-examples
38058 @: $(MAKE); $(unstage)
38059 @r=`${PWD_COMMAND}`; export r; \
38060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38061 $(NORMAL_TARGET_EXPORTS) \
38062 (cd $(TARGET_SUBDIR)/examples && \
38063 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
38064 @endif target-examples
38070 .PHONY: check-target-examples maybe-check-target-examples
38071 maybe-check-target-examples:
38072 @if target-examples
38073 maybe-check-target-examples: check-target-examples
38075 # Dummy target for uncheckable module.
38076 check-target-examples:
38078 @endif target-examples
38080 .PHONY: install-target-examples maybe-install-target-examples
38081 maybe-install-target-examples:
38082 @if target-examples
38083 maybe-install-target-examples: install-target-examples
38085 # Dummy target for uninstallable.
38086 install-target-examples:
38088 @endif target-examples
38090 # Other targets (info, dvi, pdf, etc.)
38092 .PHONY: maybe-info-target-examples info-target-examples
38093 maybe-info-target-examples:
38094 @if target-examples
38095 maybe-info-target-examples: info-target-examples
38097 info-target-examples: \
38098 configure-target-examples
38099 @: $(MAKE); $(unstage)
38100 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38101 r=`${PWD_COMMAND}`; export r; \
38102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38103 $(NORMAL_TARGET_EXPORTS) \
38104 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
38105 for flag in $(EXTRA_TARGET_FLAGS); do \
38106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38107 done; \
38108 (cd $(TARGET_SUBDIR)/examples && \
38109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38111 "RANLIB=$${RANLIB}" \
38112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38113 info) \
38114 || exit 1
38116 @endif target-examples
38118 .PHONY: maybe-dvi-target-examples dvi-target-examples
38119 maybe-dvi-target-examples:
38120 @if target-examples
38121 maybe-dvi-target-examples: dvi-target-examples
38123 dvi-target-examples: \
38124 configure-target-examples
38125 @: $(MAKE); $(unstage)
38126 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38127 r=`${PWD_COMMAND}`; export r; \
38128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38129 $(NORMAL_TARGET_EXPORTS) \
38130 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
38131 for flag in $(EXTRA_TARGET_FLAGS); do \
38132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38133 done; \
38134 (cd $(TARGET_SUBDIR)/examples && \
38135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38137 "RANLIB=$${RANLIB}" \
38138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38139 dvi) \
38140 || exit 1
38142 @endif target-examples
38144 .PHONY: maybe-pdf-target-examples pdf-target-examples
38145 maybe-pdf-target-examples:
38146 @if target-examples
38147 maybe-pdf-target-examples: pdf-target-examples
38149 pdf-target-examples: \
38150 configure-target-examples
38151 @: $(MAKE); $(unstage)
38152 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38153 r=`${PWD_COMMAND}`; export r; \
38154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38155 $(NORMAL_TARGET_EXPORTS) \
38156 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
38157 for flag in $(EXTRA_TARGET_FLAGS); do \
38158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38159 done; \
38160 (cd $(TARGET_SUBDIR)/examples && \
38161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38163 "RANLIB=$${RANLIB}" \
38164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38165 pdf) \
38166 || exit 1
38168 @endif target-examples
38170 .PHONY: maybe-html-target-examples html-target-examples
38171 maybe-html-target-examples:
38172 @if target-examples
38173 maybe-html-target-examples: html-target-examples
38175 html-target-examples: \
38176 configure-target-examples
38177 @: $(MAKE); $(unstage)
38178 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38179 r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 $(NORMAL_TARGET_EXPORTS) \
38182 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
38183 for flag in $(EXTRA_TARGET_FLAGS); do \
38184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38185 done; \
38186 (cd $(TARGET_SUBDIR)/examples && \
38187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38189 "RANLIB=$${RANLIB}" \
38190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38191 html) \
38192 || exit 1
38194 @endif target-examples
38196 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
38197 maybe-TAGS-target-examples:
38198 @if target-examples
38199 maybe-TAGS-target-examples: TAGS-target-examples
38201 TAGS-target-examples: \
38202 configure-target-examples
38203 @: $(MAKE); $(unstage)
38204 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38205 r=`${PWD_COMMAND}`; export r; \
38206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38207 $(NORMAL_TARGET_EXPORTS) \
38208 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
38209 for flag in $(EXTRA_TARGET_FLAGS); do \
38210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38211 done; \
38212 (cd $(TARGET_SUBDIR)/examples && \
38213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38215 "RANLIB=$${RANLIB}" \
38216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38217 TAGS) \
38218 || exit 1
38220 @endif target-examples
38222 .PHONY: maybe-install-info-target-examples install-info-target-examples
38223 maybe-install-info-target-examples:
38224 @if target-examples
38225 maybe-install-info-target-examples: install-info-target-examples
38227 install-info-target-examples: \
38228 configure-target-examples \
38229 info-target-examples
38230 @: $(MAKE); $(unstage)
38231 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38232 r=`${PWD_COMMAND}`; export r; \
38233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38234 $(NORMAL_TARGET_EXPORTS) \
38235 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
38236 for flag in $(EXTRA_TARGET_FLAGS); do \
38237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38238 done; \
38239 (cd $(TARGET_SUBDIR)/examples && \
38240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38242 "RANLIB=$${RANLIB}" \
38243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38244 install-info) \
38245 || exit 1
38247 @endif target-examples
38249 .PHONY: maybe-install-html-target-examples install-html-target-examples
38250 maybe-install-html-target-examples:
38251 @if target-examples
38252 maybe-install-html-target-examples: install-html-target-examples
38254 install-html-target-examples: \
38255 configure-target-examples \
38256 html-target-examples
38257 @: $(MAKE); $(unstage)
38258 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38259 r=`${PWD_COMMAND}`; export r; \
38260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38261 $(NORMAL_TARGET_EXPORTS) \
38262 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
38263 for flag in $(EXTRA_TARGET_FLAGS); do \
38264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38265 done; \
38266 (cd $(TARGET_SUBDIR)/examples && \
38267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38269 "RANLIB=$${RANLIB}" \
38270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38271 install-html) \
38272 || exit 1
38274 @endif target-examples
38276 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
38277 maybe-installcheck-target-examples:
38278 @if target-examples
38279 maybe-installcheck-target-examples: installcheck-target-examples
38281 installcheck-target-examples: \
38282 configure-target-examples
38283 @: $(MAKE); $(unstage)
38284 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38285 r=`${PWD_COMMAND}`; export r; \
38286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38287 $(NORMAL_TARGET_EXPORTS) \
38288 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
38289 for flag in $(EXTRA_TARGET_FLAGS); do \
38290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38291 done; \
38292 (cd $(TARGET_SUBDIR)/examples && \
38293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38295 "RANLIB=$${RANLIB}" \
38296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38297 installcheck) \
38298 || exit 1
38300 @endif target-examples
38302 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
38303 maybe-mostlyclean-target-examples:
38304 @if target-examples
38305 maybe-mostlyclean-target-examples: mostlyclean-target-examples
38307 mostlyclean-target-examples:
38308 @: $(MAKE); $(unstage)
38309 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38310 r=`${PWD_COMMAND}`; export r; \
38311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38312 $(NORMAL_TARGET_EXPORTS) \
38313 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
38314 for flag in $(EXTRA_TARGET_FLAGS); do \
38315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38316 done; \
38317 (cd $(TARGET_SUBDIR)/examples && \
38318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38320 "RANLIB=$${RANLIB}" \
38321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38322 mostlyclean) \
38323 || exit 1
38325 @endif target-examples
38327 .PHONY: maybe-clean-target-examples clean-target-examples
38328 maybe-clean-target-examples:
38329 @if target-examples
38330 maybe-clean-target-examples: clean-target-examples
38332 clean-target-examples:
38333 @: $(MAKE); $(unstage)
38334 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38335 r=`${PWD_COMMAND}`; export r; \
38336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38337 $(NORMAL_TARGET_EXPORTS) \
38338 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
38339 for flag in $(EXTRA_TARGET_FLAGS); do \
38340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38341 done; \
38342 (cd $(TARGET_SUBDIR)/examples && \
38343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38345 "RANLIB=$${RANLIB}" \
38346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38347 clean) \
38348 || exit 1
38350 @endif target-examples
38352 .PHONY: maybe-distclean-target-examples distclean-target-examples
38353 maybe-distclean-target-examples:
38354 @if target-examples
38355 maybe-distclean-target-examples: distclean-target-examples
38357 distclean-target-examples:
38358 @: $(MAKE); $(unstage)
38359 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38360 r=`${PWD_COMMAND}`; export r; \
38361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38362 $(NORMAL_TARGET_EXPORTS) \
38363 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
38364 for flag in $(EXTRA_TARGET_FLAGS); do \
38365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38366 done; \
38367 (cd $(TARGET_SUBDIR)/examples && \
38368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38370 "RANLIB=$${RANLIB}" \
38371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38372 distclean) \
38373 || exit 1
38375 @endif target-examples
38377 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
38378 maybe-maintainer-clean-target-examples:
38379 @if target-examples
38380 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
38382 maintainer-clean-target-examples:
38383 @: $(MAKE); $(unstage)
38384 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38385 r=`${PWD_COMMAND}`; export r; \
38386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38387 $(NORMAL_TARGET_EXPORTS) \
38388 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
38389 for flag in $(EXTRA_TARGET_FLAGS); do \
38390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38391 done; \
38392 (cd $(TARGET_SUBDIR)/examples && \
38393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38395 "RANLIB=$${RANLIB}" \
38396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38397 maintainer-clean) \
38398 || exit 1
38400 @endif target-examples
38406 .PHONY: configure-target-libffi maybe-configure-target-libffi
38407 maybe-configure-target-libffi:
38408 @if gcc-bootstrap
38409 configure-target-libffi: stage_current
38410 @endif gcc-bootstrap
38411 @if target-libffi
38412 maybe-configure-target-libffi: configure-target-libffi
38413 configure-target-libffi:
38414 @: $(MAKE); $(unstage)
38415 @r=`${PWD_COMMAND}`; export r; \
38416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38417 echo "Checking multilib configuration for libffi..."; \
38418 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38419 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38420 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38421 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38422 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38423 else \
38424 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38425 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38426 fi; \
38427 else \
38428 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38429 fi; \
38430 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38432 $(NORMAL_TARGET_EXPORTS) \
38433 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38434 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38435 case $(srcdir) in \
38436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38437 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38439 esac; \
38440 srcdiroption="--srcdir=$${topdir}/libffi"; \
38441 libsrcdir="$$s/libffi"; \
38442 rm -f no-such-file || : ; \
38443 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38444 $(TARGET_CONFIGARGS) $${srcdiroption} \
38445 || exit 1
38446 @endif target-libffi
38452 .PHONY: all-target-libffi maybe-all-target-libffi
38453 maybe-all-target-libffi:
38454 @if gcc-bootstrap
38455 all-target-libffi: stage_current
38456 @endif gcc-bootstrap
38457 @if target-libffi
38458 TARGET-target-libffi=all
38459 maybe-all-target-libffi: all-target-libffi
38460 all-target-libffi: configure-target-libffi
38461 @: $(MAKE); $(unstage)
38462 @r=`${PWD_COMMAND}`; export r; \
38463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38464 $(NORMAL_TARGET_EXPORTS) \
38465 (cd $(TARGET_SUBDIR)/libffi && \
38466 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
38467 @endif target-libffi
38473 .PHONY: check-target-libffi maybe-check-target-libffi
38474 maybe-check-target-libffi:
38475 @if target-libffi
38476 maybe-check-target-libffi: check-target-libffi
38478 check-target-libffi:
38479 @: $(MAKE); $(unstage)
38480 @r=`${PWD_COMMAND}`; export r; \
38481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38482 $(NORMAL_TARGET_EXPORTS) \
38483 (cd $(TARGET_SUBDIR)/libffi && \
38484 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38486 @endif target-libffi
38488 .PHONY: install-target-libffi maybe-install-target-libffi
38489 maybe-install-target-libffi:
38490 @if target-libffi
38491 maybe-install-target-libffi: install-target-libffi
38493 install-target-libffi: installdirs
38494 @: $(MAKE); $(unstage)
38495 @r=`${PWD_COMMAND}`; export r; \
38496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38497 $(NORMAL_TARGET_EXPORTS) \
38498 (cd $(TARGET_SUBDIR)/libffi && \
38499 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38501 @endif target-libffi
38503 # Other targets (info, dvi, pdf, etc.)
38505 .PHONY: maybe-info-target-libffi info-target-libffi
38506 maybe-info-target-libffi:
38507 @if target-libffi
38508 maybe-info-target-libffi: info-target-libffi
38510 info-target-libffi: \
38511 configure-target-libffi
38512 @: $(MAKE); $(unstage)
38513 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38514 r=`${PWD_COMMAND}`; export r; \
38515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38516 $(NORMAL_TARGET_EXPORTS) \
38517 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38518 for flag in $(EXTRA_TARGET_FLAGS); do \
38519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38520 done; \
38521 (cd $(TARGET_SUBDIR)/libffi && \
38522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38524 "RANLIB=$${RANLIB}" \
38525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38526 info) \
38527 || exit 1
38529 @endif target-libffi
38531 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38532 maybe-dvi-target-libffi:
38533 @if target-libffi
38534 maybe-dvi-target-libffi: dvi-target-libffi
38536 dvi-target-libffi: \
38537 configure-target-libffi
38538 @: $(MAKE); $(unstage)
38539 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38540 r=`${PWD_COMMAND}`; export r; \
38541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38542 $(NORMAL_TARGET_EXPORTS) \
38543 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38544 for flag in $(EXTRA_TARGET_FLAGS); do \
38545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38546 done; \
38547 (cd $(TARGET_SUBDIR)/libffi && \
38548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38550 "RANLIB=$${RANLIB}" \
38551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38552 dvi) \
38553 || exit 1
38555 @endif target-libffi
38557 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38558 maybe-pdf-target-libffi:
38559 @if target-libffi
38560 maybe-pdf-target-libffi: pdf-target-libffi
38562 pdf-target-libffi: \
38563 configure-target-libffi
38564 @: $(MAKE); $(unstage)
38565 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38566 r=`${PWD_COMMAND}`; export r; \
38567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38568 $(NORMAL_TARGET_EXPORTS) \
38569 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38570 for flag in $(EXTRA_TARGET_FLAGS); do \
38571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38572 done; \
38573 (cd $(TARGET_SUBDIR)/libffi && \
38574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38576 "RANLIB=$${RANLIB}" \
38577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38578 pdf) \
38579 || exit 1
38581 @endif target-libffi
38583 .PHONY: maybe-html-target-libffi html-target-libffi
38584 maybe-html-target-libffi:
38585 @if target-libffi
38586 maybe-html-target-libffi: html-target-libffi
38588 html-target-libffi: \
38589 configure-target-libffi
38590 @: $(MAKE); $(unstage)
38591 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38592 r=`${PWD_COMMAND}`; export r; \
38593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38594 $(NORMAL_TARGET_EXPORTS) \
38595 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38596 for flag in $(EXTRA_TARGET_FLAGS); do \
38597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38598 done; \
38599 (cd $(TARGET_SUBDIR)/libffi && \
38600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38602 "RANLIB=$${RANLIB}" \
38603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38604 html) \
38605 || exit 1
38607 @endif target-libffi
38609 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38610 maybe-TAGS-target-libffi:
38611 @if target-libffi
38612 maybe-TAGS-target-libffi: TAGS-target-libffi
38614 TAGS-target-libffi: \
38615 configure-target-libffi
38616 @: $(MAKE); $(unstage)
38617 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38618 r=`${PWD_COMMAND}`; export r; \
38619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38620 $(NORMAL_TARGET_EXPORTS) \
38621 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38622 for flag in $(EXTRA_TARGET_FLAGS); do \
38623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38624 done; \
38625 (cd $(TARGET_SUBDIR)/libffi && \
38626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38628 "RANLIB=$${RANLIB}" \
38629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38630 TAGS) \
38631 || exit 1
38633 @endif target-libffi
38635 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38636 maybe-install-info-target-libffi:
38637 @if target-libffi
38638 maybe-install-info-target-libffi: install-info-target-libffi
38640 install-info-target-libffi: \
38641 configure-target-libffi \
38642 info-target-libffi
38643 @: $(MAKE); $(unstage)
38644 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38645 r=`${PWD_COMMAND}`; export r; \
38646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38647 $(NORMAL_TARGET_EXPORTS) \
38648 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38649 for flag in $(EXTRA_TARGET_FLAGS); do \
38650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38651 done; \
38652 (cd $(TARGET_SUBDIR)/libffi && \
38653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38655 "RANLIB=$${RANLIB}" \
38656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38657 install-info) \
38658 || exit 1
38660 @endif target-libffi
38662 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38663 maybe-install-html-target-libffi:
38664 @if target-libffi
38665 maybe-install-html-target-libffi: install-html-target-libffi
38667 install-html-target-libffi: \
38668 configure-target-libffi \
38669 html-target-libffi
38670 @: $(MAKE); $(unstage)
38671 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38672 r=`${PWD_COMMAND}`; export r; \
38673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38674 $(NORMAL_TARGET_EXPORTS) \
38675 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38676 for flag in $(EXTRA_TARGET_FLAGS); do \
38677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38678 done; \
38679 (cd $(TARGET_SUBDIR)/libffi && \
38680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38682 "RANLIB=$${RANLIB}" \
38683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38684 install-html) \
38685 || exit 1
38687 @endif target-libffi
38689 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38690 maybe-installcheck-target-libffi:
38691 @if target-libffi
38692 maybe-installcheck-target-libffi: installcheck-target-libffi
38694 installcheck-target-libffi: \
38695 configure-target-libffi
38696 @: $(MAKE); $(unstage)
38697 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38698 r=`${PWD_COMMAND}`; export r; \
38699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38700 $(NORMAL_TARGET_EXPORTS) \
38701 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38702 for flag in $(EXTRA_TARGET_FLAGS); do \
38703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38704 done; \
38705 (cd $(TARGET_SUBDIR)/libffi && \
38706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38708 "RANLIB=$${RANLIB}" \
38709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38710 installcheck) \
38711 || exit 1
38713 @endif target-libffi
38715 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38716 maybe-mostlyclean-target-libffi:
38717 @if target-libffi
38718 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38720 mostlyclean-target-libffi:
38721 @: $(MAKE); $(unstage)
38722 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38723 r=`${PWD_COMMAND}`; export r; \
38724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38725 $(NORMAL_TARGET_EXPORTS) \
38726 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38727 for flag in $(EXTRA_TARGET_FLAGS); do \
38728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38729 done; \
38730 (cd $(TARGET_SUBDIR)/libffi && \
38731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38733 "RANLIB=$${RANLIB}" \
38734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38735 mostlyclean) \
38736 || exit 1
38738 @endif target-libffi
38740 .PHONY: maybe-clean-target-libffi clean-target-libffi
38741 maybe-clean-target-libffi:
38742 @if target-libffi
38743 maybe-clean-target-libffi: clean-target-libffi
38745 clean-target-libffi:
38746 @: $(MAKE); $(unstage)
38747 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38748 r=`${PWD_COMMAND}`; export r; \
38749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38750 $(NORMAL_TARGET_EXPORTS) \
38751 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38752 for flag in $(EXTRA_TARGET_FLAGS); do \
38753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38754 done; \
38755 (cd $(TARGET_SUBDIR)/libffi && \
38756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38758 "RANLIB=$${RANLIB}" \
38759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38760 clean) \
38761 || exit 1
38763 @endif target-libffi
38765 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38766 maybe-distclean-target-libffi:
38767 @if target-libffi
38768 maybe-distclean-target-libffi: distclean-target-libffi
38770 distclean-target-libffi:
38771 @: $(MAKE); $(unstage)
38772 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38773 r=`${PWD_COMMAND}`; export r; \
38774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38775 $(NORMAL_TARGET_EXPORTS) \
38776 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38777 for flag in $(EXTRA_TARGET_FLAGS); do \
38778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38779 done; \
38780 (cd $(TARGET_SUBDIR)/libffi && \
38781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38783 "RANLIB=$${RANLIB}" \
38784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38785 distclean) \
38786 || exit 1
38788 @endif target-libffi
38790 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38791 maybe-maintainer-clean-target-libffi:
38792 @if target-libffi
38793 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38795 maintainer-clean-target-libffi:
38796 @: $(MAKE); $(unstage)
38797 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38798 r=`${PWD_COMMAND}`; export r; \
38799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38800 $(NORMAL_TARGET_EXPORTS) \
38801 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38802 for flag in $(EXTRA_TARGET_FLAGS); do \
38803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38804 done; \
38805 (cd $(TARGET_SUBDIR)/libffi && \
38806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38808 "RANLIB=$${RANLIB}" \
38809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38810 maintainer-clean) \
38811 || exit 1
38813 @endif target-libffi
38819 .PHONY: configure-target-libjava maybe-configure-target-libjava
38820 maybe-configure-target-libjava:
38821 @if gcc-bootstrap
38822 configure-target-libjava: stage_current
38823 @endif gcc-bootstrap
38824 @if target-libjava
38825 maybe-configure-target-libjava: configure-target-libjava
38826 configure-target-libjava:
38827 @: $(MAKE); $(unstage)
38828 @r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 echo "Checking multilib configuration for libjava..."; \
38831 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38832 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38833 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38834 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38835 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38836 else \
38837 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38838 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38839 fi; \
38840 else \
38841 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38842 fi; \
38843 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38844 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38845 $(RAW_CXX_TARGET_EXPORTS) \
38846 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38847 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38848 case $(srcdir) in \
38849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38850 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38852 esac; \
38853 srcdiroption="--srcdir=$${topdir}/libjava"; \
38854 libsrcdir="$$s/libjava"; \
38855 rm -f no-such-file || : ; \
38856 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38857 $(TARGET_CONFIGARGS) $${srcdiroption} \
38858 || exit 1
38859 @endif target-libjava
38865 .PHONY: all-target-libjava maybe-all-target-libjava
38866 maybe-all-target-libjava:
38867 @if gcc-bootstrap
38868 all-target-libjava: stage_current
38869 @endif gcc-bootstrap
38870 @if target-libjava
38871 TARGET-target-libjava=all
38872 maybe-all-target-libjava: all-target-libjava
38873 all-target-libjava: configure-target-libjava
38874 @: $(MAKE); $(unstage)
38875 @r=`${PWD_COMMAND}`; export r; \
38876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38877 $(RAW_CXX_TARGET_EXPORTS) \
38878 (cd $(TARGET_SUBDIR)/libjava && \
38879 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
38880 @endif target-libjava
38886 .PHONY: check-target-libjava maybe-check-target-libjava
38887 maybe-check-target-libjava:
38888 @if target-libjava
38889 maybe-check-target-libjava: check-target-libjava
38891 check-target-libjava:
38892 @: $(MAKE); $(unstage)
38893 @r=`${PWD_COMMAND}`; export r; \
38894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38895 $(RAW_CXX_TARGET_EXPORTS) \
38896 (cd $(TARGET_SUBDIR)/libjava && \
38897 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38899 @endif target-libjava
38901 .PHONY: install-target-libjava maybe-install-target-libjava
38902 maybe-install-target-libjava:
38903 @if target-libjava
38904 maybe-install-target-libjava: install-target-libjava
38906 install-target-libjava: installdirs
38907 @: $(MAKE); $(unstage)
38908 @r=`${PWD_COMMAND}`; export r; \
38909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38910 $(RAW_CXX_TARGET_EXPORTS) \
38911 (cd $(TARGET_SUBDIR)/libjava && \
38912 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38914 @endif target-libjava
38916 # Other targets (info, dvi, pdf, etc.)
38918 .PHONY: maybe-info-target-libjava info-target-libjava
38919 maybe-info-target-libjava:
38920 @if target-libjava
38921 maybe-info-target-libjava: info-target-libjava
38923 info-target-libjava: \
38924 configure-target-libjava
38925 @: $(MAKE); $(unstage)
38926 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(RAW_CXX_TARGET_EXPORTS) \
38930 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38931 for flag in $(EXTRA_TARGET_FLAGS); do \
38932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 done; \
38934 (cd $(TARGET_SUBDIR)/libjava && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38939 info) \
38940 || exit 1
38942 @endif target-libjava
38944 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38945 maybe-dvi-target-libjava:
38946 @if target-libjava
38947 maybe-dvi-target-libjava: dvi-target-libjava
38949 dvi-target-libjava: \
38950 configure-target-libjava
38951 @: $(MAKE); $(unstage)
38952 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38953 r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 $(RAW_CXX_TARGET_EXPORTS) \
38956 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38957 for flag in $(EXTRA_TARGET_FLAGS); do \
38958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38959 done; \
38960 (cd $(TARGET_SUBDIR)/libjava && \
38961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38963 "RANLIB=$${RANLIB}" \
38964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38965 dvi) \
38966 || exit 1
38968 @endif target-libjava
38970 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38971 maybe-pdf-target-libjava:
38972 @if target-libjava
38973 maybe-pdf-target-libjava: pdf-target-libjava
38975 pdf-target-libjava: \
38976 configure-target-libjava
38977 @: $(MAKE); $(unstage)
38978 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38979 r=`${PWD_COMMAND}`; export r; \
38980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38981 $(RAW_CXX_TARGET_EXPORTS) \
38982 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38983 for flag in $(EXTRA_TARGET_FLAGS); do \
38984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38985 done; \
38986 (cd $(TARGET_SUBDIR)/libjava && \
38987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38989 "RANLIB=$${RANLIB}" \
38990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38991 pdf) \
38992 || exit 1
38994 @endif target-libjava
38996 .PHONY: maybe-html-target-libjava html-target-libjava
38997 maybe-html-target-libjava:
38998 @if target-libjava
38999 maybe-html-target-libjava: html-target-libjava
39001 html-target-libjava: \
39002 configure-target-libjava
39003 @: $(MAKE); $(unstage)
39004 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39005 r=`${PWD_COMMAND}`; export r; \
39006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39007 $(RAW_CXX_TARGET_EXPORTS) \
39008 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39009 for flag in $(EXTRA_TARGET_FLAGS); do \
39010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39011 done; \
39012 (cd $(TARGET_SUBDIR)/libjava && \
39013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39015 "RANLIB=$${RANLIB}" \
39016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39017 html) \
39018 || exit 1
39020 @endif target-libjava
39022 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39023 maybe-TAGS-target-libjava:
39024 @if target-libjava
39025 maybe-TAGS-target-libjava: TAGS-target-libjava
39027 TAGS-target-libjava: \
39028 configure-target-libjava
39029 @: $(MAKE); $(unstage)
39030 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39031 r=`${PWD_COMMAND}`; export r; \
39032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39033 $(RAW_CXX_TARGET_EXPORTS) \
39034 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39035 for flag in $(EXTRA_TARGET_FLAGS); do \
39036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39037 done; \
39038 (cd $(TARGET_SUBDIR)/libjava && \
39039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39041 "RANLIB=$${RANLIB}" \
39042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39043 TAGS) \
39044 || exit 1
39046 @endif target-libjava
39048 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39049 maybe-install-info-target-libjava:
39050 @if target-libjava
39051 maybe-install-info-target-libjava: install-info-target-libjava
39053 install-info-target-libjava: \
39054 configure-target-libjava \
39055 info-target-libjava
39056 @: $(MAKE); $(unstage)
39057 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39058 r=`${PWD_COMMAND}`; export r; \
39059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39060 $(RAW_CXX_TARGET_EXPORTS) \
39061 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39062 for flag in $(EXTRA_TARGET_FLAGS); do \
39063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39064 done; \
39065 (cd $(TARGET_SUBDIR)/libjava && \
39066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39068 "RANLIB=$${RANLIB}" \
39069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39070 install-info) \
39071 || exit 1
39073 @endif target-libjava
39075 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39076 maybe-install-html-target-libjava:
39077 @if target-libjava
39078 maybe-install-html-target-libjava: install-html-target-libjava
39080 install-html-target-libjava: \
39081 configure-target-libjava \
39082 html-target-libjava
39083 @: $(MAKE); $(unstage)
39084 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39085 r=`${PWD_COMMAND}`; export r; \
39086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39087 $(RAW_CXX_TARGET_EXPORTS) \
39088 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39089 for flag in $(EXTRA_TARGET_FLAGS); do \
39090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39091 done; \
39092 (cd $(TARGET_SUBDIR)/libjava && \
39093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39095 "RANLIB=$${RANLIB}" \
39096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39097 install-html) \
39098 || exit 1
39100 @endif target-libjava
39102 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39103 maybe-installcheck-target-libjava:
39104 @if target-libjava
39105 maybe-installcheck-target-libjava: installcheck-target-libjava
39107 installcheck-target-libjava: \
39108 configure-target-libjava
39109 @: $(MAKE); $(unstage)
39110 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39111 r=`${PWD_COMMAND}`; export r; \
39112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39113 $(RAW_CXX_TARGET_EXPORTS) \
39114 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39115 for flag in $(EXTRA_TARGET_FLAGS); do \
39116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39117 done; \
39118 (cd $(TARGET_SUBDIR)/libjava && \
39119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39121 "RANLIB=$${RANLIB}" \
39122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39123 installcheck) \
39124 || exit 1
39126 @endif target-libjava
39128 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39129 maybe-mostlyclean-target-libjava:
39130 @if target-libjava
39131 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39133 mostlyclean-target-libjava:
39134 @: $(MAKE); $(unstage)
39135 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39136 r=`${PWD_COMMAND}`; export r; \
39137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39138 $(RAW_CXX_TARGET_EXPORTS) \
39139 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39140 for flag in $(EXTRA_TARGET_FLAGS); do \
39141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39142 done; \
39143 (cd $(TARGET_SUBDIR)/libjava && \
39144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39146 "RANLIB=$${RANLIB}" \
39147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39148 mostlyclean) \
39149 || exit 1
39151 @endif target-libjava
39153 .PHONY: maybe-clean-target-libjava clean-target-libjava
39154 maybe-clean-target-libjava:
39155 @if target-libjava
39156 maybe-clean-target-libjava: clean-target-libjava
39158 clean-target-libjava:
39159 @: $(MAKE); $(unstage)
39160 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39161 r=`${PWD_COMMAND}`; export r; \
39162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39163 $(RAW_CXX_TARGET_EXPORTS) \
39164 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39165 for flag in $(EXTRA_TARGET_FLAGS); do \
39166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39167 done; \
39168 (cd $(TARGET_SUBDIR)/libjava && \
39169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39171 "RANLIB=$${RANLIB}" \
39172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39173 clean) \
39174 || exit 1
39176 @endif target-libjava
39178 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39179 maybe-distclean-target-libjava:
39180 @if target-libjava
39181 maybe-distclean-target-libjava: distclean-target-libjava
39183 distclean-target-libjava:
39184 @: $(MAKE); $(unstage)
39185 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39186 r=`${PWD_COMMAND}`; export r; \
39187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39188 $(RAW_CXX_TARGET_EXPORTS) \
39189 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39190 for flag in $(EXTRA_TARGET_FLAGS); do \
39191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39192 done; \
39193 (cd $(TARGET_SUBDIR)/libjava && \
39194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39196 "RANLIB=$${RANLIB}" \
39197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39198 distclean) \
39199 || exit 1
39201 @endif target-libjava
39203 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39204 maybe-maintainer-clean-target-libjava:
39205 @if target-libjava
39206 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39208 maintainer-clean-target-libjava:
39209 @: $(MAKE); $(unstage)
39210 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39211 r=`${PWD_COMMAND}`; export r; \
39212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39213 $(RAW_CXX_TARGET_EXPORTS) \
39214 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39215 for flag in $(EXTRA_TARGET_FLAGS); do \
39216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39217 done; \
39218 (cd $(TARGET_SUBDIR)/libjava && \
39219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39221 "RANLIB=$${RANLIB}" \
39222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39223 maintainer-clean) \
39224 || exit 1
39226 @endif target-libjava
39232 .PHONY: configure-target-zlib maybe-configure-target-zlib
39233 maybe-configure-target-zlib:
39234 @if gcc-bootstrap
39235 configure-target-zlib: stage_current
39236 @endif gcc-bootstrap
39237 @if target-zlib
39238 maybe-configure-target-zlib: configure-target-zlib
39239 configure-target-zlib:
39240 @: $(MAKE); $(unstage)
39241 @r=`${PWD_COMMAND}`; export r; \
39242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39243 echo "Checking multilib configuration for zlib..."; \
39244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39245 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39246 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39247 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39248 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39249 else \
39250 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39251 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39252 fi; \
39253 else \
39254 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39255 fi; \
39256 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39258 $(NORMAL_TARGET_EXPORTS) \
39259 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39260 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39261 case $(srcdir) in \
39262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39263 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39265 esac; \
39266 srcdiroption="--srcdir=$${topdir}/zlib"; \
39267 libsrcdir="$$s/zlib"; \
39268 rm -f no-such-file || : ; \
39269 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39270 $(TARGET_CONFIGARGS) $${srcdiroption} \
39271 || exit 1
39272 @endif target-zlib
39278 .PHONY: all-target-zlib maybe-all-target-zlib
39279 maybe-all-target-zlib:
39280 @if gcc-bootstrap
39281 all-target-zlib: stage_current
39282 @endif gcc-bootstrap
39283 @if target-zlib
39284 TARGET-target-zlib=all
39285 maybe-all-target-zlib: all-target-zlib
39286 all-target-zlib: configure-target-zlib
39287 @: $(MAKE); $(unstage)
39288 @r=`${PWD_COMMAND}`; export r; \
39289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39290 $(NORMAL_TARGET_EXPORTS) \
39291 (cd $(TARGET_SUBDIR)/zlib && \
39292 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
39293 @endif target-zlib
39299 .PHONY: check-target-zlib maybe-check-target-zlib
39300 maybe-check-target-zlib:
39301 @if target-zlib
39302 maybe-check-target-zlib: check-target-zlib
39304 check-target-zlib:
39305 @: $(MAKE); $(unstage)
39306 @r=`${PWD_COMMAND}`; export r; \
39307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39308 $(NORMAL_TARGET_EXPORTS) \
39309 (cd $(TARGET_SUBDIR)/zlib && \
39310 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39312 @endif target-zlib
39314 .PHONY: install-target-zlib maybe-install-target-zlib
39315 maybe-install-target-zlib:
39316 @if target-zlib
39317 maybe-install-target-zlib: install-target-zlib
39319 install-target-zlib: installdirs
39320 @: $(MAKE); $(unstage)
39321 @r=`${PWD_COMMAND}`; export r; \
39322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39323 $(NORMAL_TARGET_EXPORTS) \
39324 (cd $(TARGET_SUBDIR)/zlib && \
39325 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39327 @endif target-zlib
39329 # Other targets (info, dvi, pdf, etc.)
39331 .PHONY: maybe-info-target-zlib info-target-zlib
39332 maybe-info-target-zlib:
39333 @if target-zlib
39334 maybe-info-target-zlib: info-target-zlib
39336 info-target-zlib: \
39337 configure-target-zlib
39338 @: $(MAKE); $(unstage)
39339 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39340 r=`${PWD_COMMAND}`; export r; \
39341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39342 $(NORMAL_TARGET_EXPORTS) \
39343 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39344 for flag in $(EXTRA_TARGET_FLAGS); do \
39345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39346 done; \
39347 (cd $(TARGET_SUBDIR)/zlib && \
39348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39350 "RANLIB=$${RANLIB}" \
39351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39352 info) \
39353 || exit 1
39355 @endif target-zlib
39357 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39358 maybe-dvi-target-zlib:
39359 @if target-zlib
39360 maybe-dvi-target-zlib: dvi-target-zlib
39362 dvi-target-zlib: \
39363 configure-target-zlib
39364 @: $(MAKE); $(unstage)
39365 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39366 r=`${PWD_COMMAND}`; export r; \
39367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39368 $(NORMAL_TARGET_EXPORTS) \
39369 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39370 for flag in $(EXTRA_TARGET_FLAGS); do \
39371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39372 done; \
39373 (cd $(TARGET_SUBDIR)/zlib && \
39374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39376 "RANLIB=$${RANLIB}" \
39377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39378 dvi) \
39379 || exit 1
39381 @endif target-zlib
39383 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39384 maybe-pdf-target-zlib:
39385 @if target-zlib
39386 maybe-pdf-target-zlib: pdf-target-zlib
39388 pdf-target-zlib: \
39389 configure-target-zlib
39390 @: $(MAKE); $(unstage)
39391 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39392 r=`${PWD_COMMAND}`; export r; \
39393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39394 $(NORMAL_TARGET_EXPORTS) \
39395 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39396 for flag in $(EXTRA_TARGET_FLAGS); do \
39397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39398 done; \
39399 (cd $(TARGET_SUBDIR)/zlib && \
39400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39402 "RANLIB=$${RANLIB}" \
39403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39404 pdf) \
39405 || exit 1
39407 @endif target-zlib
39409 .PHONY: maybe-html-target-zlib html-target-zlib
39410 maybe-html-target-zlib:
39411 @if target-zlib
39412 maybe-html-target-zlib: html-target-zlib
39414 html-target-zlib: \
39415 configure-target-zlib
39416 @: $(MAKE); $(unstage)
39417 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39418 r=`${PWD_COMMAND}`; export r; \
39419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39420 $(NORMAL_TARGET_EXPORTS) \
39421 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39422 for flag in $(EXTRA_TARGET_FLAGS); do \
39423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39424 done; \
39425 (cd $(TARGET_SUBDIR)/zlib && \
39426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39428 "RANLIB=$${RANLIB}" \
39429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39430 html) \
39431 || exit 1
39433 @endif target-zlib
39435 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39436 maybe-TAGS-target-zlib:
39437 @if target-zlib
39438 maybe-TAGS-target-zlib: TAGS-target-zlib
39440 TAGS-target-zlib: \
39441 configure-target-zlib
39442 @: $(MAKE); $(unstage)
39443 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39444 r=`${PWD_COMMAND}`; export r; \
39445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39446 $(NORMAL_TARGET_EXPORTS) \
39447 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39448 for flag in $(EXTRA_TARGET_FLAGS); do \
39449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39450 done; \
39451 (cd $(TARGET_SUBDIR)/zlib && \
39452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39454 "RANLIB=$${RANLIB}" \
39455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39456 TAGS) \
39457 || exit 1
39459 @endif target-zlib
39461 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39462 maybe-install-info-target-zlib:
39463 @if target-zlib
39464 maybe-install-info-target-zlib: install-info-target-zlib
39466 install-info-target-zlib: \
39467 configure-target-zlib \
39468 info-target-zlib
39469 @: $(MAKE); $(unstage)
39470 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39471 r=`${PWD_COMMAND}`; export r; \
39472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39473 $(NORMAL_TARGET_EXPORTS) \
39474 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39475 for flag in $(EXTRA_TARGET_FLAGS); do \
39476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39477 done; \
39478 (cd $(TARGET_SUBDIR)/zlib && \
39479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39481 "RANLIB=$${RANLIB}" \
39482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39483 install-info) \
39484 || exit 1
39486 @endif target-zlib
39488 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39489 maybe-install-html-target-zlib:
39490 @if target-zlib
39491 maybe-install-html-target-zlib: install-html-target-zlib
39493 install-html-target-zlib: \
39494 configure-target-zlib \
39495 html-target-zlib
39496 @: $(MAKE); $(unstage)
39497 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39498 r=`${PWD_COMMAND}`; export r; \
39499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39500 $(NORMAL_TARGET_EXPORTS) \
39501 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39502 for flag in $(EXTRA_TARGET_FLAGS); do \
39503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39504 done; \
39505 (cd $(TARGET_SUBDIR)/zlib && \
39506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39508 "RANLIB=$${RANLIB}" \
39509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39510 install-html) \
39511 || exit 1
39513 @endif target-zlib
39515 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39516 maybe-installcheck-target-zlib:
39517 @if target-zlib
39518 maybe-installcheck-target-zlib: installcheck-target-zlib
39520 installcheck-target-zlib: \
39521 configure-target-zlib
39522 @: $(MAKE); $(unstage)
39523 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39524 r=`${PWD_COMMAND}`; export r; \
39525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39526 $(NORMAL_TARGET_EXPORTS) \
39527 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39528 for flag in $(EXTRA_TARGET_FLAGS); do \
39529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39530 done; \
39531 (cd $(TARGET_SUBDIR)/zlib && \
39532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39534 "RANLIB=$${RANLIB}" \
39535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39536 installcheck) \
39537 || exit 1
39539 @endif target-zlib
39541 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39542 maybe-mostlyclean-target-zlib:
39543 @if target-zlib
39544 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39546 mostlyclean-target-zlib:
39547 @: $(MAKE); $(unstage)
39548 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39549 r=`${PWD_COMMAND}`; export r; \
39550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39551 $(NORMAL_TARGET_EXPORTS) \
39552 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39553 for flag in $(EXTRA_TARGET_FLAGS); do \
39554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39555 done; \
39556 (cd $(TARGET_SUBDIR)/zlib && \
39557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39559 "RANLIB=$${RANLIB}" \
39560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39561 mostlyclean) \
39562 || exit 1
39564 @endif target-zlib
39566 .PHONY: maybe-clean-target-zlib clean-target-zlib
39567 maybe-clean-target-zlib:
39568 @if target-zlib
39569 maybe-clean-target-zlib: clean-target-zlib
39571 clean-target-zlib:
39572 @: $(MAKE); $(unstage)
39573 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39574 r=`${PWD_COMMAND}`; export r; \
39575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39576 $(NORMAL_TARGET_EXPORTS) \
39577 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39578 for flag in $(EXTRA_TARGET_FLAGS); do \
39579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39580 done; \
39581 (cd $(TARGET_SUBDIR)/zlib && \
39582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39584 "RANLIB=$${RANLIB}" \
39585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39586 clean) \
39587 || exit 1
39589 @endif target-zlib
39591 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39592 maybe-distclean-target-zlib:
39593 @if target-zlib
39594 maybe-distclean-target-zlib: distclean-target-zlib
39596 distclean-target-zlib:
39597 @: $(MAKE); $(unstage)
39598 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39599 r=`${PWD_COMMAND}`; export r; \
39600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39601 $(NORMAL_TARGET_EXPORTS) \
39602 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39603 for flag in $(EXTRA_TARGET_FLAGS); do \
39604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39605 done; \
39606 (cd $(TARGET_SUBDIR)/zlib && \
39607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39609 "RANLIB=$${RANLIB}" \
39610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39611 distclean) \
39612 || exit 1
39614 @endif target-zlib
39616 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39617 maybe-maintainer-clean-target-zlib:
39618 @if target-zlib
39619 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39621 maintainer-clean-target-zlib:
39622 @: $(MAKE); $(unstage)
39623 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39624 r=`${PWD_COMMAND}`; export r; \
39625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39626 $(NORMAL_TARGET_EXPORTS) \
39627 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39628 for flag in $(EXTRA_TARGET_FLAGS); do \
39629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39630 done; \
39631 (cd $(TARGET_SUBDIR)/zlib && \
39632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39634 "RANLIB=$${RANLIB}" \
39635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39636 maintainer-clean) \
39637 || exit 1
39639 @endif target-zlib
39645 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39646 maybe-configure-target-boehm-gc:
39647 @if gcc-bootstrap
39648 configure-target-boehm-gc: stage_current
39649 @endif gcc-bootstrap
39650 @if target-boehm-gc
39651 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39652 configure-target-boehm-gc:
39653 @: $(MAKE); $(unstage)
39654 @r=`${PWD_COMMAND}`; export r; \
39655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39656 echo "Checking multilib configuration for boehm-gc..."; \
39657 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39658 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39659 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39660 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39661 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39662 else \
39663 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39664 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39665 fi; \
39666 else \
39667 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39668 fi; \
39669 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39670 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39671 $(NORMAL_TARGET_EXPORTS) \
39672 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39673 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39674 case $(srcdir) in \
39675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39676 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39678 esac; \
39679 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39680 libsrcdir="$$s/boehm-gc"; \
39681 rm -f no-such-file || : ; \
39682 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39683 $(TARGET_CONFIGARGS) $${srcdiroption} \
39684 || exit 1
39685 @endif target-boehm-gc
39691 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39692 maybe-all-target-boehm-gc:
39693 @if gcc-bootstrap
39694 all-target-boehm-gc: stage_current
39695 @endif gcc-bootstrap
39696 @if target-boehm-gc
39697 TARGET-target-boehm-gc=all
39698 maybe-all-target-boehm-gc: all-target-boehm-gc
39699 all-target-boehm-gc: configure-target-boehm-gc
39700 @: $(MAKE); $(unstage)
39701 @r=`${PWD_COMMAND}`; export r; \
39702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39703 $(NORMAL_TARGET_EXPORTS) \
39704 (cd $(TARGET_SUBDIR)/boehm-gc && \
39705 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
39706 @endif target-boehm-gc
39712 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39713 maybe-check-target-boehm-gc:
39714 @if target-boehm-gc
39715 maybe-check-target-boehm-gc: check-target-boehm-gc
39717 check-target-boehm-gc:
39718 @: $(MAKE); $(unstage)
39719 @r=`${PWD_COMMAND}`; export r; \
39720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39721 $(NORMAL_TARGET_EXPORTS) \
39722 (cd $(TARGET_SUBDIR)/boehm-gc && \
39723 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39725 @endif target-boehm-gc
39727 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39728 maybe-install-target-boehm-gc:
39729 @if target-boehm-gc
39730 maybe-install-target-boehm-gc: install-target-boehm-gc
39732 install-target-boehm-gc: installdirs
39733 @: $(MAKE); $(unstage)
39734 @r=`${PWD_COMMAND}`; export r; \
39735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39736 $(NORMAL_TARGET_EXPORTS) \
39737 (cd $(TARGET_SUBDIR)/boehm-gc && \
39738 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39740 @endif target-boehm-gc
39742 # Other targets (info, dvi, pdf, etc.)
39744 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39745 maybe-info-target-boehm-gc:
39746 @if target-boehm-gc
39747 maybe-info-target-boehm-gc: info-target-boehm-gc
39749 info-target-boehm-gc: \
39750 configure-target-boehm-gc
39751 @: $(MAKE); $(unstage)
39752 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39753 r=`${PWD_COMMAND}`; export r; \
39754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39755 $(NORMAL_TARGET_EXPORTS) \
39756 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39757 for flag in $(EXTRA_TARGET_FLAGS); do \
39758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39759 done; \
39760 (cd $(TARGET_SUBDIR)/boehm-gc && \
39761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39763 "RANLIB=$${RANLIB}" \
39764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39765 info) \
39766 || exit 1
39768 @endif target-boehm-gc
39770 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39771 maybe-dvi-target-boehm-gc:
39772 @if target-boehm-gc
39773 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39775 dvi-target-boehm-gc: \
39776 configure-target-boehm-gc
39777 @: $(MAKE); $(unstage)
39778 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39779 r=`${PWD_COMMAND}`; export r; \
39780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39781 $(NORMAL_TARGET_EXPORTS) \
39782 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39783 for flag in $(EXTRA_TARGET_FLAGS); do \
39784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39785 done; \
39786 (cd $(TARGET_SUBDIR)/boehm-gc && \
39787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39789 "RANLIB=$${RANLIB}" \
39790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39791 dvi) \
39792 || exit 1
39794 @endif target-boehm-gc
39796 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39797 maybe-pdf-target-boehm-gc:
39798 @if target-boehm-gc
39799 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39801 pdf-target-boehm-gc: \
39802 configure-target-boehm-gc
39803 @: $(MAKE); $(unstage)
39804 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39805 r=`${PWD_COMMAND}`; export r; \
39806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39807 $(NORMAL_TARGET_EXPORTS) \
39808 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39809 for flag in $(EXTRA_TARGET_FLAGS); do \
39810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39811 done; \
39812 (cd $(TARGET_SUBDIR)/boehm-gc && \
39813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39815 "RANLIB=$${RANLIB}" \
39816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39817 pdf) \
39818 || exit 1
39820 @endif target-boehm-gc
39822 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39823 maybe-html-target-boehm-gc:
39824 @if target-boehm-gc
39825 maybe-html-target-boehm-gc: html-target-boehm-gc
39827 html-target-boehm-gc: \
39828 configure-target-boehm-gc
39829 @: $(MAKE); $(unstage)
39830 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39831 r=`${PWD_COMMAND}`; export r; \
39832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39833 $(NORMAL_TARGET_EXPORTS) \
39834 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39835 for flag in $(EXTRA_TARGET_FLAGS); do \
39836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39837 done; \
39838 (cd $(TARGET_SUBDIR)/boehm-gc && \
39839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39841 "RANLIB=$${RANLIB}" \
39842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39843 html) \
39844 || exit 1
39846 @endif target-boehm-gc
39848 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39849 maybe-TAGS-target-boehm-gc:
39850 @if target-boehm-gc
39851 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39853 TAGS-target-boehm-gc: \
39854 configure-target-boehm-gc
39855 @: $(MAKE); $(unstage)
39856 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39857 r=`${PWD_COMMAND}`; export r; \
39858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39859 $(NORMAL_TARGET_EXPORTS) \
39860 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39861 for flag in $(EXTRA_TARGET_FLAGS); do \
39862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39863 done; \
39864 (cd $(TARGET_SUBDIR)/boehm-gc && \
39865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39867 "RANLIB=$${RANLIB}" \
39868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39869 TAGS) \
39870 || exit 1
39872 @endif target-boehm-gc
39874 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39875 maybe-install-info-target-boehm-gc:
39876 @if target-boehm-gc
39877 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39879 install-info-target-boehm-gc: \
39880 configure-target-boehm-gc \
39881 info-target-boehm-gc
39882 @: $(MAKE); $(unstage)
39883 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39884 r=`${PWD_COMMAND}`; export r; \
39885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39886 $(NORMAL_TARGET_EXPORTS) \
39887 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39888 for flag in $(EXTRA_TARGET_FLAGS); do \
39889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39890 done; \
39891 (cd $(TARGET_SUBDIR)/boehm-gc && \
39892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39894 "RANLIB=$${RANLIB}" \
39895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39896 install-info) \
39897 || exit 1
39899 @endif target-boehm-gc
39901 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39902 maybe-install-html-target-boehm-gc:
39903 @if target-boehm-gc
39904 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39906 install-html-target-boehm-gc: \
39907 configure-target-boehm-gc \
39908 html-target-boehm-gc
39909 @: $(MAKE); $(unstage)
39910 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39911 r=`${PWD_COMMAND}`; export r; \
39912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39913 $(NORMAL_TARGET_EXPORTS) \
39914 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39915 for flag in $(EXTRA_TARGET_FLAGS); do \
39916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39917 done; \
39918 (cd $(TARGET_SUBDIR)/boehm-gc && \
39919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39921 "RANLIB=$${RANLIB}" \
39922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39923 install-html) \
39924 || exit 1
39926 @endif target-boehm-gc
39928 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39929 maybe-installcheck-target-boehm-gc:
39930 @if target-boehm-gc
39931 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39933 installcheck-target-boehm-gc: \
39934 configure-target-boehm-gc
39935 @: $(MAKE); $(unstage)
39936 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39937 r=`${PWD_COMMAND}`; export r; \
39938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39939 $(NORMAL_TARGET_EXPORTS) \
39940 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39941 for flag in $(EXTRA_TARGET_FLAGS); do \
39942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39943 done; \
39944 (cd $(TARGET_SUBDIR)/boehm-gc && \
39945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39947 "RANLIB=$${RANLIB}" \
39948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39949 installcheck) \
39950 || exit 1
39952 @endif target-boehm-gc
39954 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39955 maybe-mostlyclean-target-boehm-gc:
39956 @if target-boehm-gc
39957 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39959 mostlyclean-target-boehm-gc:
39960 @: $(MAKE); $(unstage)
39961 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39962 r=`${PWD_COMMAND}`; export r; \
39963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39964 $(NORMAL_TARGET_EXPORTS) \
39965 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39966 for flag in $(EXTRA_TARGET_FLAGS); do \
39967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39968 done; \
39969 (cd $(TARGET_SUBDIR)/boehm-gc && \
39970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39972 "RANLIB=$${RANLIB}" \
39973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39974 mostlyclean) \
39975 || exit 1
39977 @endif target-boehm-gc
39979 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39980 maybe-clean-target-boehm-gc:
39981 @if target-boehm-gc
39982 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39984 clean-target-boehm-gc:
39985 @: $(MAKE); $(unstage)
39986 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39987 r=`${PWD_COMMAND}`; export r; \
39988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39989 $(NORMAL_TARGET_EXPORTS) \
39990 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39991 for flag in $(EXTRA_TARGET_FLAGS); do \
39992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39993 done; \
39994 (cd $(TARGET_SUBDIR)/boehm-gc && \
39995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39997 "RANLIB=$${RANLIB}" \
39998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39999 clean) \
40000 || exit 1
40002 @endif target-boehm-gc
40004 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40005 maybe-distclean-target-boehm-gc:
40006 @if target-boehm-gc
40007 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40009 distclean-target-boehm-gc:
40010 @: $(MAKE); $(unstage)
40011 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40012 r=`${PWD_COMMAND}`; export r; \
40013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40014 $(NORMAL_TARGET_EXPORTS) \
40015 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40016 for flag in $(EXTRA_TARGET_FLAGS); do \
40017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40018 done; \
40019 (cd $(TARGET_SUBDIR)/boehm-gc && \
40020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40022 "RANLIB=$${RANLIB}" \
40023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40024 distclean) \
40025 || exit 1
40027 @endif target-boehm-gc
40029 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40030 maybe-maintainer-clean-target-boehm-gc:
40031 @if target-boehm-gc
40032 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40034 maintainer-clean-target-boehm-gc:
40035 @: $(MAKE); $(unstage)
40036 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40037 r=`${PWD_COMMAND}`; export r; \
40038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40039 $(NORMAL_TARGET_EXPORTS) \
40040 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40041 for flag in $(EXTRA_TARGET_FLAGS); do \
40042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40043 done; \
40044 (cd $(TARGET_SUBDIR)/boehm-gc && \
40045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40047 "RANLIB=$${RANLIB}" \
40048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40049 maintainer-clean) \
40050 || exit 1
40052 @endif target-boehm-gc
40058 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
40059 maybe-configure-target-qthreads:
40060 @if gcc-bootstrap
40061 configure-target-qthreads: stage_current
40062 @endif gcc-bootstrap
40063 @if target-qthreads
40064 maybe-configure-target-qthreads: configure-target-qthreads
40065 configure-target-qthreads:
40066 @: $(MAKE); $(unstage)
40067 @r=`${PWD_COMMAND}`; export r; \
40068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40069 echo "Checking multilib configuration for qthreads..."; \
40070 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40071 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
40072 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40073 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40074 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
40075 else \
40076 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
40077 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40078 fi; \
40079 else \
40080 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40081 fi; \
40082 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
40083 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40084 $(NORMAL_TARGET_EXPORTS) \
40085 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
40086 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
40087 case $(srcdir) in \
40088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40089 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
40090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40091 esac; \
40092 srcdiroption="--srcdir=$${topdir}/qthreads"; \
40093 libsrcdir="$$s/qthreads"; \
40094 rm -f no-such-file || : ; \
40095 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40096 $(TARGET_CONFIGARGS) $${srcdiroption} \
40097 || exit 1
40098 @endif target-qthreads
40104 .PHONY: all-target-qthreads maybe-all-target-qthreads
40105 maybe-all-target-qthreads:
40106 @if gcc-bootstrap
40107 all-target-qthreads: stage_current
40108 @endif gcc-bootstrap
40109 @if target-qthreads
40110 TARGET-target-qthreads=all
40111 maybe-all-target-qthreads: all-target-qthreads
40112 all-target-qthreads: configure-target-qthreads
40113 @: $(MAKE); $(unstage)
40114 @r=`${PWD_COMMAND}`; export r; \
40115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40116 $(NORMAL_TARGET_EXPORTS) \
40117 (cd $(TARGET_SUBDIR)/qthreads && \
40118 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
40119 @endif target-qthreads
40125 .PHONY: check-target-qthreads maybe-check-target-qthreads
40126 maybe-check-target-qthreads:
40127 @if target-qthreads
40128 maybe-check-target-qthreads: check-target-qthreads
40130 check-target-qthreads:
40131 @: $(MAKE); $(unstage)
40132 @r=`${PWD_COMMAND}`; export r; \
40133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40134 $(NORMAL_TARGET_EXPORTS) \
40135 (cd $(TARGET_SUBDIR)/qthreads && \
40136 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40138 @endif target-qthreads
40140 .PHONY: install-target-qthreads maybe-install-target-qthreads
40141 maybe-install-target-qthreads:
40142 @if target-qthreads
40143 maybe-install-target-qthreads: install-target-qthreads
40145 install-target-qthreads: installdirs
40146 @: $(MAKE); $(unstage)
40147 @r=`${PWD_COMMAND}`; export r; \
40148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40149 $(NORMAL_TARGET_EXPORTS) \
40150 (cd $(TARGET_SUBDIR)/qthreads && \
40151 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40153 @endif target-qthreads
40155 # Other targets (info, dvi, pdf, etc.)
40157 .PHONY: maybe-info-target-qthreads info-target-qthreads
40158 maybe-info-target-qthreads:
40159 @if target-qthreads
40160 maybe-info-target-qthreads: info-target-qthreads
40162 info-target-qthreads: \
40163 configure-target-qthreads
40164 @: $(MAKE); $(unstage)
40165 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40166 r=`${PWD_COMMAND}`; export r; \
40167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40168 $(NORMAL_TARGET_EXPORTS) \
40169 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
40170 for flag in $(EXTRA_TARGET_FLAGS); do \
40171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40172 done; \
40173 (cd $(TARGET_SUBDIR)/qthreads && \
40174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40176 "RANLIB=$${RANLIB}" \
40177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40178 info) \
40179 || exit 1
40181 @endif target-qthreads
40183 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
40184 maybe-dvi-target-qthreads:
40185 @if target-qthreads
40186 maybe-dvi-target-qthreads: dvi-target-qthreads
40188 dvi-target-qthreads: \
40189 configure-target-qthreads
40190 @: $(MAKE); $(unstage)
40191 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40192 r=`${PWD_COMMAND}`; export r; \
40193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40194 $(NORMAL_TARGET_EXPORTS) \
40195 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
40196 for flag in $(EXTRA_TARGET_FLAGS); do \
40197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40198 done; \
40199 (cd $(TARGET_SUBDIR)/qthreads && \
40200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40202 "RANLIB=$${RANLIB}" \
40203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40204 dvi) \
40205 || exit 1
40207 @endif target-qthreads
40209 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
40210 maybe-pdf-target-qthreads:
40211 @if target-qthreads
40212 maybe-pdf-target-qthreads: pdf-target-qthreads
40214 pdf-target-qthreads: \
40215 configure-target-qthreads
40216 @: $(MAKE); $(unstage)
40217 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40218 r=`${PWD_COMMAND}`; export r; \
40219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40220 $(NORMAL_TARGET_EXPORTS) \
40221 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
40222 for flag in $(EXTRA_TARGET_FLAGS); do \
40223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40224 done; \
40225 (cd $(TARGET_SUBDIR)/qthreads && \
40226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40228 "RANLIB=$${RANLIB}" \
40229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40230 pdf) \
40231 || exit 1
40233 @endif target-qthreads
40235 .PHONY: maybe-html-target-qthreads html-target-qthreads
40236 maybe-html-target-qthreads:
40237 @if target-qthreads
40238 maybe-html-target-qthreads: html-target-qthreads
40240 html-target-qthreads: \
40241 configure-target-qthreads
40242 @: $(MAKE); $(unstage)
40243 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40244 r=`${PWD_COMMAND}`; export r; \
40245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40246 $(NORMAL_TARGET_EXPORTS) \
40247 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
40248 for flag in $(EXTRA_TARGET_FLAGS); do \
40249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40250 done; \
40251 (cd $(TARGET_SUBDIR)/qthreads && \
40252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40254 "RANLIB=$${RANLIB}" \
40255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40256 html) \
40257 || exit 1
40259 @endif target-qthreads
40261 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
40262 maybe-TAGS-target-qthreads:
40263 @if target-qthreads
40264 maybe-TAGS-target-qthreads: TAGS-target-qthreads
40266 TAGS-target-qthreads: \
40267 configure-target-qthreads
40268 @: $(MAKE); $(unstage)
40269 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40270 r=`${PWD_COMMAND}`; export r; \
40271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40272 $(NORMAL_TARGET_EXPORTS) \
40273 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
40274 for flag in $(EXTRA_TARGET_FLAGS); do \
40275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40276 done; \
40277 (cd $(TARGET_SUBDIR)/qthreads && \
40278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40280 "RANLIB=$${RANLIB}" \
40281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40282 TAGS) \
40283 || exit 1
40285 @endif target-qthreads
40287 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
40288 maybe-install-info-target-qthreads:
40289 @if target-qthreads
40290 maybe-install-info-target-qthreads: install-info-target-qthreads
40292 install-info-target-qthreads: \
40293 configure-target-qthreads \
40294 info-target-qthreads
40295 @: $(MAKE); $(unstage)
40296 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40297 r=`${PWD_COMMAND}`; export r; \
40298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40299 $(NORMAL_TARGET_EXPORTS) \
40300 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
40301 for flag in $(EXTRA_TARGET_FLAGS); do \
40302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40303 done; \
40304 (cd $(TARGET_SUBDIR)/qthreads && \
40305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40307 "RANLIB=$${RANLIB}" \
40308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40309 install-info) \
40310 || exit 1
40312 @endif target-qthreads
40314 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
40315 maybe-install-html-target-qthreads:
40316 @if target-qthreads
40317 maybe-install-html-target-qthreads: install-html-target-qthreads
40319 install-html-target-qthreads: \
40320 configure-target-qthreads \
40321 html-target-qthreads
40322 @: $(MAKE); $(unstage)
40323 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40324 r=`${PWD_COMMAND}`; export r; \
40325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40326 $(NORMAL_TARGET_EXPORTS) \
40327 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
40328 for flag in $(EXTRA_TARGET_FLAGS); do \
40329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40330 done; \
40331 (cd $(TARGET_SUBDIR)/qthreads && \
40332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40334 "RANLIB=$${RANLIB}" \
40335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40336 install-html) \
40337 || exit 1
40339 @endif target-qthreads
40341 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
40342 maybe-installcheck-target-qthreads:
40343 @if target-qthreads
40344 maybe-installcheck-target-qthreads: installcheck-target-qthreads
40346 installcheck-target-qthreads: \
40347 configure-target-qthreads
40348 @: $(MAKE); $(unstage)
40349 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40350 r=`${PWD_COMMAND}`; export r; \
40351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40352 $(NORMAL_TARGET_EXPORTS) \
40353 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
40354 for flag in $(EXTRA_TARGET_FLAGS); do \
40355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40356 done; \
40357 (cd $(TARGET_SUBDIR)/qthreads && \
40358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40360 "RANLIB=$${RANLIB}" \
40361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40362 installcheck) \
40363 || exit 1
40365 @endif target-qthreads
40367 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
40368 maybe-mostlyclean-target-qthreads:
40369 @if target-qthreads
40370 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
40372 mostlyclean-target-qthreads:
40373 @: $(MAKE); $(unstage)
40374 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40375 r=`${PWD_COMMAND}`; export r; \
40376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40377 $(NORMAL_TARGET_EXPORTS) \
40378 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
40379 for flag in $(EXTRA_TARGET_FLAGS); do \
40380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40381 done; \
40382 (cd $(TARGET_SUBDIR)/qthreads && \
40383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40385 "RANLIB=$${RANLIB}" \
40386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40387 mostlyclean) \
40388 || exit 1
40390 @endif target-qthreads
40392 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
40393 maybe-clean-target-qthreads:
40394 @if target-qthreads
40395 maybe-clean-target-qthreads: clean-target-qthreads
40397 clean-target-qthreads:
40398 @: $(MAKE); $(unstage)
40399 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40400 r=`${PWD_COMMAND}`; export r; \
40401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40402 $(NORMAL_TARGET_EXPORTS) \
40403 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
40404 for flag in $(EXTRA_TARGET_FLAGS); do \
40405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40406 done; \
40407 (cd $(TARGET_SUBDIR)/qthreads && \
40408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40410 "RANLIB=$${RANLIB}" \
40411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40412 clean) \
40413 || exit 1
40415 @endif target-qthreads
40417 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
40418 maybe-distclean-target-qthreads:
40419 @if target-qthreads
40420 maybe-distclean-target-qthreads: distclean-target-qthreads
40422 distclean-target-qthreads:
40423 @: $(MAKE); $(unstage)
40424 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40425 r=`${PWD_COMMAND}`; export r; \
40426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40427 $(NORMAL_TARGET_EXPORTS) \
40428 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
40429 for flag in $(EXTRA_TARGET_FLAGS); do \
40430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40431 done; \
40432 (cd $(TARGET_SUBDIR)/qthreads && \
40433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40435 "RANLIB=$${RANLIB}" \
40436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40437 distclean) \
40438 || exit 1
40440 @endif target-qthreads
40442 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
40443 maybe-maintainer-clean-target-qthreads:
40444 @if target-qthreads
40445 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
40447 maintainer-clean-target-qthreads:
40448 @: $(MAKE); $(unstage)
40449 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40450 r=`${PWD_COMMAND}`; export r; \
40451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40452 $(NORMAL_TARGET_EXPORTS) \
40453 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
40454 for flag in $(EXTRA_TARGET_FLAGS); do \
40455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40456 done; \
40457 (cd $(TARGET_SUBDIR)/qthreads && \
40458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40460 "RANLIB=$${RANLIB}" \
40461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40462 maintainer-clean) \
40463 || exit 1
40465 @endif target-qthreads
40471 .PHONY: configure-target-rda maybe-configure-target-rda
40472 maybe-configure-target-rda:
40473 @if gcc-bootstrap
40474 configure-target-rda: stage_current
40475 @endif gcc-bootstrap
40476 @if target-rda
40477 maybe-configure-target-rda: configure-target-rda
40478 configure-target-rda:
40479 @: $(MAKE); $(unstage)
40480 @r=`${PWD_COMMAND}`; export r; \
40481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40482 echo "Checking multilib configuration for rda..."; \
40483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40484 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40485 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40486 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40487 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40488 else \
40489 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40490 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40491 fi; \
40492 else \
40493 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40494 fi; \
40495 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40496 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40497 $(NORMAL_TARGET_EXPORTS) \
40498 echo Configuring in $(TARGET_SUBDIR)/rda; \
40499 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40500 case $(srcdir) in \
40501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40502 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40504 esac; \
40505 srcdiroption="--srcdir=$${topdir}/rda"; \
40506 libsrcdir="$$s/rda"; \
40507 rm -f no-such-file || : ; \
40508 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40509 $(TARGET_CONFIGARGS) $${srcdiroption} \
40510 || exit 1
40511 @endif target-rda
40517 .PHONY: all-target-rda maybe-all-target-rda
40518 maybe-all-target-rda:
40519 @if gcc-bootstrap
40520 all-target-rda: stage_current
40521 @endif gcc-bootstrap
40522 @if target-rda
40523 TARGET-target-rda=all
40524 maybe-all-target-rda: all-target-rda
40525 all-target-rda: configure-target-rda
40526 @: $(MAKE); $(unstage)
40527 @r=`${PWD_COMMAND}`; export r; \
40528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40529 $(NORMAL_TARGET_EXPORTS) \
40530 (cd $(TARGET_SUBDIR)/rda && \
40531 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
40532 @endif target-rda
40538 .PHONY: check-target-rda maybe-check-target-rda
40539 maybe-check-target-rda:
40540 @if target-rda
40541 maybe-check-target-rda: check-target-rda
40543 check-target-rda:
40544 @: $(MAKE); $(unstage)
40545 @r=`${PWD_COMMAND}`; export r; \
40546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40547 $(NORMAL_TARGET_EXPORTS) \
40548 (cd $(TARGET_SUBDIR)/rda && \
40549 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40551 @endif target-rda
40553 .PHONY: install-target-rda maybe-install-target-rda
40554 maybe-install-target-rda:
40555 @if target-rda
40556 maybe-install-target-rda: install-target-rda
40558 install-target-rda: installdirs
40559 @: $(MAKE); $(unstage)
40560 @r=`${PWD_COMMAND}`; export r; \
40561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40562 $(NORMAL_TARGET_EXPORTS) \
40563 (cd $(TARGET_SUBDIR)/rda && \
40564 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40566 @endif target-rda
40568 # Other targets (info, dvi, pdf, etc.)
40570 .PHONY: maybe-info-target-rda info-target-rda
40571 maybe-info-target-rda:
40572 @if target-rda
40573 maybe-info-target-rda: info-target-rda
40575 info-target-rda: \
40576 configure-target-rda
40577 @: $(MAKE); $(unstage)
40578 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40579 r=`${PWD_COMMAND}`; export r; \
40580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40581 $(NORMAL_TARGET_EXPORTS) \
40582 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40583 for flag in $(EXTRA_TARGET_FLAGS); do \
40584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40585 done; \
40586 (cd $(TARGET_SUBDIR)/rda && \
40587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40589 "RANLIB=$${RANLIB}" \
40590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40591 info) \
40592 || exit 1
40594 @endif target-rda
40596 .PHONY: maybe-dvi-target-rda dvi-target-rda
40597 maybe-dvi-target-rda:
40598 @if target-rda
40599 maybe-dvi-target-rda: dvi-target-rda
40601 dvi-target-rda: \
40602 configure-target-rda
40603 @: $(MAKE); $(unstage)
40604 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40605 r=`${PWD_COMMAND}`; export r; \
40606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40607 $(NORMAL_TARGET_EXPORTS) \
40608 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40609 for flag in $(EXTRA_TARGET_FLAGS); do \
40610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40611 done; \
40612 (cd $(TARGET_SUBDIR)/rda && \
40613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40615 "RANLIB=$${RANLIB}" \
40616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40617 dvi) \
40618 || exit 1
40620 @endif target-rda
40622 .PHONY: maybe-pdf-target-rda pdf-target-rda
40623 maybe-pdf-target-rda:
40624 @if target-rda
40625 maybe-pdf-target-rda: pdf-target-rda
40627 pdf-target-rda: \
40628 configure-target-rda
40629 @: $(MAKE); $(unstage)
40630 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40631 r=`${PWD_COMMAND}`; export r; \
40632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40633 $(NORMAL_TARGET_EXPORTS) \
40634 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40635 for flag in $(EXTRA_TARGET_FLAGS); do \
40636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40637 done; \
40638 (cd $(TARGET_SUBDIR)/rda && \
40639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40641 "RANLIB=$${RANLIB}" \
40642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40643 pdf) \
40644 || exit 1
40646 @endif target-rda
40648 .PHONY: maybe-html-target-rda html-target-rda
40649 maybe-html-target-rda:
40650 @if target-rda
40651 maybe-html-target-rda: html-target-rda
40653 html-target-rda: \
40654 configure-target-rda
40655 @: $(MAKE); $(unstage)
40656 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40657 r=`${PWD_COMMAND}`; export r; \
40658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40659 $(NORMAL_TARGET_EXPORTS) \
40660 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40661 for flag in $(EXTRA_TARGET_FLAGS); do \
40662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40663 done; \
40664 (cd $(TARGET_SUBDIR)/rda && \
40665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40667 "RANLIB=$${RANLIB}" \
40668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40669 html) \
40670 || exit 1
40672 @endif target-rda
40674 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40675 maybe-TAGS-target-rda:
40676 @if target-rda
40677 maybe-TAGS-target-rda: TAGS-target-rda
40679 TAGS-target-rda: \
40680 configure-target-rda
40681 @: $(MAKE); $(unstage)
40682 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40683 r=`${PWD_COMMAND}`; export r; \
40684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40685 $(NORMAL_TARGET_EXPORTS) \
40686 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40687 for flag in $(EXTRA_TARGET_FLAGS); do \
40688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40689 done; \
40690 (cd $(TARGET_SUBDIR)/rda && \
40691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40693 "RANLIB=$${RANLIB}" \
40694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40695 TAGS) \
40696 || exit 1
40698 @endif target-rda
40700 .PHONY: maybe-install-info-target-rda install-info-target-rda
40701 maybe-install-info-target-rda:
40702 @if target-rda
40703 maybe-install-info-target-rda: install-info-target-rda
40705 install-info-target-rda: \
40706 configure-target-rda \
40707 info-target-rda
40708 @: $(MAKE); $(unstage)
40709 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40710 r=`${PWD_COMMAND}`; export r; \
40711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40712 $(NORMAL_TARGET_EXPORTS) \
40713 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40714 for flag in $(EXTRA_TARGET_FLAGS); do \
40715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40716 done; \
40717 (cd $(TARGET_SUBDIR)/rda && \
40718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40720 "RANLIB=$${RANLIB}" \
40721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40722 install-info) \
40723 || exit 1
40725 @endif target-rda
40727 .PHONY: maybe-install-html-target-rda install-html-target-rda
40728 maybe-install-html-target-rda:
40729 @if target-rda
40730 maybe-install-html-target-rda: install-html-target-rda
40732 install-html-target-rda: \
40733 configure-target-rda \
40734 html-target-rda
40735 @: $(MAKE); $(unstage)
40736 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40737 r=`${PWD_COMMAND}`; export r; \
40738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40739 $(NORMAL_TARGET_EXPORTS) \
40740 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40741 for flag in $(EXTRA_TARGET_FLAGS); do \
40742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40743 done; \
40744 (cd $(TARGET_SUBDIR)/rda && \
40745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40747 "RANLIB=$${RANLIB}" \
40748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40749 install-html) \
40750 || exit 1
40752 @endif target-rda
40754 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40755 maybe-installcheck-target-rda:
40756 @if target-rda
40757 maybe-installcheck-target-rda: installcheck-target-rda
40759 installcheck-target-rda: \
40760 configure-target-rda
40761 @: $(MAKE); $(unstage)
40762 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40763 r=`${PWD_COMMAND}`; export r; \
40764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40765 $(NORMAL_TARGET_EXPORTS) \
40766 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40767 for flag in $(EXTRA_TARGET_FLAGS); do \
40768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40769 done; \
40770 (cd $(TARGET_SUBDIR)/rda && \
40771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40773 "RANLIB=$${RANLIB}" \
40774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40775 installcheck) \
40776 || exit 1
40778 @endif target-rda
40780 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40781 maybe-mostlyclean-target-rda:
40782 @if target-rda
40783 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40785 mostlyclean-target-rda:
40786 @: $(MAKE); $(unstage)
40787 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40788 r=`${PWD_COMMAND}`; export r; \
40789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40790 $(NORMAL_TARGET_EXPORTS) \
40791 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40792 for flag in $(EXTRA_TARGET_FLAGS); do \
40793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40794 done; \
40795 (cd $(TARGET_SUBDIR)/rda && \
40796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40798 "RANLIB=$${RANLIB}" \
40799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40800 mostlyclean) \
40801 || exit 1
40803 @endif target-rda
40805 .PHONY: maybe-clean-target-rda clean-target-rda
40806 maybe-clean-target-rda:
40807 @if target-rda
40808 maybe-clean-target-rda: clean-target-rda
40810 clean-target-rda:
40811 @: $(MAKE); $(unstage)
40812 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40813 r=`${PWD_COMMAND}`; export r; \
40814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40815 $(NORMAL_TARGET_EXPORTS) \
40816 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40817 for flag in $(EXTRA_TARGET_FLAGS); do \
40818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40819 done; \
40820 (cd $(TARGET_SUBDIR)/rda && \
40821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40823 "RANLIB=$${RANLIB}" \
40824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40825 clean) \
40826 || exit 1
40828 @endif target-rda
40830 .PHONY: maybe-distclean-target-rda distclean-target-rda
40831 maybe-distclean-target-rda:
40832 @if target-rda
40833 maybe-distclean-target-rda: distclean-target-rda
40835 distclean-target-rda:
40836 @: $(MAKE); $(unstage)
40837 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40838 r=`${PWD_COMMAND}`; export r; \
40839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40840 $(NORMAL_TARGET_EXPORTS) \
40841 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40842 for flag in $(EXTRA_TARGET_FLAGS); do \
40843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40844 done; \
40845 (cd $(TARGET_SUBDIR)/rda && \
40846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40848 "RANLIB=$${RANLIB}" \
40849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40850 distclean) \
40851 || exit 1
40853 @endif target-rda
40855 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40856 maybe-maintainer-clean-target-rda:
40857 @if target-rda
40858 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40860 maintainer-clean-target-rda:
40861 @: $(MAKE); $(unstage)
40862 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40863 r=`${PWD_COMMAND}`; export r; \
40864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40865 $(NORMAL_TARGET_EXPORTS) \
40866 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40867 for flag in $(EXTRA_TARGET_FLAGS); do \
40868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40869 done; \
40870 (cd $(TARGET_SUBDIR)/rda && \
40871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40873 "RANLIB=$${RANLIB}" \
40874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40875 maintainer-clean) \
40876 || exit 1
40878 @endif target-rda
40884 .PHONY: configure-target-libada maybe-configure-target-libada
40885 maybe-configure-target-libada:
40886 @if gcc-bootstrap
40887 configure-target-libada: stage_current
40888 @endif gcc-bootstrap
40889 @if target-libada
40890 maybe-configure-target-libada: configure-target-libada
40891 configure-target-libada:
40892 @: $(MAKE); $(unstage)
40893 @r=`${PWD_COMMAND}`; export r; \
40894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40895 echo "Checking multilib configuration for libada..."; \
40896 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40897 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40898 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40899 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40900 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40901 else \
40902 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40903 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40904 fi; \
40905 else \
40906 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40907 fi; \
40908 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40910 $(NORMAL_TARGET_EXPORTS) \
40911 echo Configuring in $(TARGET_SUBDIR)/libada; \
40912 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40913 case $(srcdir) in \
40914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40915 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40917 esac; \
40918 srcdiroption="--srcdir=$${topdir}/libada"; \
40919 libsrcdir="$$s/libada"; \
40920 rm -f no-such-file || : ; \
40921 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40922 $(TARGET_CONFIGARGS) $${srcdiroption} \
40923 || exit 1
40924 @endif target-libada
40930 .PHONY: all-target-libada maybe-all-target-libada
40931 maybe-all-target-libada:
40932 @if gcc-bootstrap
40933 all-target-libada: stage_current
40934 @endif gcc-bootstrap
40935 @if target-libada
40936 TARGET-target-libada=all
40937 maybe-all-target-libada: all-target-libada
40938 all-target-libada: configure-target-libada
40939 @: $(MAKE); $(unstage)
40940 @r=`${PWD_COMMAND}`; export r; \
40941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40942 $(NORMAL_TARGET_EXPORTS) \
40943 (cd $(TARGET_SUBDIR)/libada && \
40944 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
40945 @endif target-libada
40951 .PHONY: check-target-libada maybe-check-target-libada
40952 maybe-check-target-libada:
40953 @if target-libada
40954 maybe-check-target-libada: check-target-libada
40956 check-target-libada:
40957 @: $(MAKE); $(unstage)
40958 @r=`${PWD_COMMAND}`; export r; \
40959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40960 $(NORMAL_TARGET_EXPORTS) \
40961 (cd $(TARGET_SUBDIR)/libada && \
40962 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40964 @endif target-libada
40966 .PHONY: install-target-libada maybe-install-target-libada
40967 maybe-install-target-libada:
40968 @if target-libada
40969 maybe-install-target-libada: install-target-libada
40971 install-target-libada: installdirs
40972 @: $(MAKE); $(unstage)
40973 @r=`${PWD_COMMAND}`; export r; \
40974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40975 $(NORMAL_TARGET_EXPORTS) \
40976 (cd $(TARGET_SUBDIR)/libada && \
40977 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40979 @endif target-libada
40981 # Other targets (info, dvi, pdf, etc.)
40983 .PHONY: maybe-info-target-libada info-target-libada
40984 maybe-info-target-libada:
40985 @if target-libada
40986 maybe-info-target-libada: info-target-libada
40988 info-target-libada: \
40989 configure-target-libada
40990 @: $(MAKE); $(unstage)
40991 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40992 r=`${PWD_COMMAND}`; export r; \
40993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40994 $(NORMAL_TARGET_EXPORTS) \
40995 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40996 for flag in $(EXTRA_TARGET_FLAGS); do \
40997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40998 done; \
40999 (cd $(TARGET_SUBDIR)/libada && \
41000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41002 "RANLIB=$${RANLIB}" \
41003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41004 info) \
41005 || exit 1
41007 @endif target-libada
41009 .PHONY: maybe-dvi-target-libada dvi-target-libada
41010 maybe-dvi-target-libada:
41011 @if target-libada
41012 maybe-dvi-target-libada: dvi-target-libada
41014 dvi-target-libada: \
41015 configure-target-libada
41016 @: $(MAKE); $(unstage)
41017 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41018 r=`${PWD_COMMAND}`; export r; \
41019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41020 $(NORMAL_TARGET_EXPORTS) \
41021 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41022 for flag in $(EXTRA_TARGET_FLAGS); do \
41023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41024 done; \
41025 (cd $(TARGET_SUBDIR)/libada && \
41026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41028 "RANLIB=$${RANLIB}" \
41029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41030 dvi) \
41031 || exit 1
41033 @endif target-libada
41035 .PHONY: maybe-pdf-target-libada pdf-target-libada
41036 maybe-pdf-target-libada:
41037 @if target-libada
41038 maybe-pdf-target-libada: pdf-target-libada
41040 pdf-target-libada: \
41041 configure-target-libada
41042 @: $(MAKE); $(unstage)
41043 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41044 r=`${PWD_COMMAND}`; export r; \
41045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41046 $(NORMAL_TARGET_EXPORTS) \
41047 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41048 for flag in $(EXTRA_TARGET_FLAGS); do \
41049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41050 done; \
41051 (cd $(TARGET_SUBDIR)/libada && \
41052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41054 "RANLIB=$${RANLIB}" \
41055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41056 pdf) \
41057 || exit 1
41059 @endif target-libada
41061 .PHONY: maybe-html-target-libada html-target-libada
41062 maybe-html-target-libada:
41063 @if target-libada
41064 maybe-html-target-libada: html-target-libada
41066 html-target-libada: \
41067 configure-target-libada
41068 @: $(MAKE); $(unstage)
41069 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41070 r=`${PWD_COMMAND}`; export r; \
41071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41072 $(NORMAL_TARGET_EXPORTS) \
41073 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41074 for flag in $(EXTRA_TARGET_FLAGS); do \
41075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41076 done; \
41077 (cd $(TARGET_SUBDIR)/libada && \
41078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41080 "RANLIB=$${RANLIB}" \
41081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41082 html) \
41083 || exit 1
41085 @endif target-libada
41087 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41088 maybe-TAGS-target-libada:
41089 @if target-libada
41090 maybe-TAGS-target-libada: TAGS-target-libada
41092 TAGS-target-libada: \
41093 configure-target-libada
41094 @: $(MAKE); $(unstage)
41095 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41096 r=`${PWD_COMMAND}`; export r; \
41097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41098 $(NORMAL_TARGET_EXPORTS) \
41099 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41100 for flag in $(EXTRA_TARGET_FLAGS); do \
41101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41102 done; \
41103 (cd $(TARGET_SUBDIR)/libada && \
41104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41106 "RANLIB=$${RANLIB}" \
41107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41108 TAGS) \
41109 || exit 1
41111 @endif target-libada
41113 .PHONY: maybe-install-info-target-libada install-info-target-libada
41114 maybe-install-info-target-libada:
41115 @if target-libada
41116 maybe-install-info-target-libada: install-info-target-libada
41118 install-info-target-libada: \
41119 configure-target-libada \
41120 info-target-libada
41121 @: $(MAKE); $(unstage)
41122 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41123 r=`${PWD_COMMAND}`; export r; \
41124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41125 $(NORMAL_TARGET_EXPORTS) \
41126 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41127 for flag in $(EXTRA_TARGET_FLAGS); do \
41128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41129 done; \
41130 (cd $(TARGET_SUBDIR)/libada && \
41131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41133 "RANLIB=$${RANLIB}" \
41134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41135 install-info) \
41136 || exit 1
41138 @endif target-libada
41140 .PHONY: maybe-install-html-target-libada install-html-target-libada
41141 maybe-install-html-target-libada:
41142 @if target-libada
41143 maybe-install-html-target-libada: install-html-target-libada
41145 install-html-target-libada: \
41146 configure-target-libada \
41147 html-target-libada
41148 @: $(MAKE); $(unstage)
41149 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41150 r=`${PWD_COMMAND}`; export r; \
41151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41152 $(NORMAL_TARGET_EXPORTS) \
41153 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41154 for flag in $(EXTRA_TARGET_FLAGS); do \
41155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41156 done; \
41157 (cd $(TARGET_SUBDIR)/libada && \
41158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41160 "RANLIB=$${RANLIB}" \
41161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41162 install-html) \
41163 || exit 1
41165 @endif target-libada
41167 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41168 maybe-installcheck-target-libada:
41169 @if target-libada
41170 maybe-installcheck-target-libada: installcheck-target-libada
41172 installcheck-target-libada: \
41173 configure-target-libada
41174 @: $(MAKE); $(unstage)
41175 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41176 r=`${PWD_COMMAND}`; export r; \
41177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41178 $(NORMAL_TARGET_EXPORTS) \
41179 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41180 for flag in $(EXTRA_TARGET_FLAGS); do \
41181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41182 done; \
41183 (cd $(TARGET_SUBDIR)/libada && \
41184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41186 "RANLIB=$${RANLIB}" \
41187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41188 installcheck) \
41189 || exit 1
41191 @endif target-libada
41193 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41194 maybe-mostlyclean-target-libada:
41195 @if target-libada
41196 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41198 mostlyclean-target-libada:
41199 @: $(MAKE); $(unstage)
41200 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41201 r=`${PWD_COMMAND}`; export r; \
41202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41203 $(NORMAL_TARGET_EXPORTS) \
41204 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41205 for flag in $(EXTRA_TARGET_FLAGS); do \
41206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41207 done; \
41208 (cd $(TARGET_SUBDIR)/libada && \
41209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41211 "RANLIB=$${RANLIB}" \
41212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41213 mostlyclean) \
41214 || exit 1
41216 @endif target-libada
41218 .PHONY: maybe-clean-target-libada clean-target-libada
41219 maybe-clean-target-libada:
41220 @if target-libada
41221 maybe-clean-target-libada: clean-target-libada
41223 clean-target-libada:
41224 @: $(MAKE); $(unstage)
41225 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41226 r=`${PWD_COMMAND}`; export r; \
41227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41228 $(NORMAL_TARGET_EXPORTS) \
41229 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41230 for flag in $(EXTRA_TARGET_FLAGS); do \
41231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41232 done; \
41233 (cd $(TARGET_SUBDIR)/libada && \
41234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41236 "RANLIB=$${RANLIB}" \
41237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41238 clean) \
41239 || exit 1
41241 @endif target-libada
41243 .PHONY: maybe-distclean-target-libada distclean-target-libada
41244 maybe-distclean-target-libada:
41245 @if target-libada
41246 maybe-distclean-target-libada: distclean-target-libada
41248 distclean-target-libada:
41249 @: $(MAKE); $(unstage)
41250 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41251 r=`${PWD_COMMAND}`; export r; \
41252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41253 $(NORMAL_TARGET_EXPORTS) \
41254 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41255 for flag in $(EXTRA_TARGET_FLAGS); do \
41256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41257 done; \
41258 (cd $(TARGET_SUBDIR)/libada && \
41259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41261 "RANLIB=$${RANLIB}" \
41262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41263 distclean) \
41264 || exit 1
41266 @endif target-libada
41268 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41269 maybe-maintainer-clean-target-libada:
41270 @if target-libada
41271 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41273 maintainer-clean-target-libada:
41274 @: $(MAKE); $(unstage)
41275 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41276 r=`${PWD_COMMAND}`; export r; \
41277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41278 $(NORMAL_TARGET_EXPORTS) \
41279 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41280 for flag in $(EXTRA_TARGET_FLAGS); do \
41281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41282 done; \
41283 (cd $(TARGET_SUBDIR)/libada && \
41284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41286 "RANLIB=$${RANLIB}" \
41287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41288 maintainer-clean) \
41289 || exit 1
41291 @endif target-libada
41297 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41298 maybe-configure-target-libgomp:
41299 @if gcc-bootstrap
41300 configure-target-libgomp: stage_current
41301 @endif gcc-bootstrap
41302 @if target-libgomp
41303 maybe-configure-target-libgomp: configure-target-libgomp
41304 configure-target-libgomp:
41305 @: $(MAKE); $(unstage)
41306 @r=`${PWD_COMMAND}`; export r; \
41307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41308 echo "Checking multilib configuration for libgomp..."; \
41309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41310 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41311 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41312 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41313 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41314 else \
41315 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41316 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41317 fi; \
41318 else \
41319 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41320 fi; \
41321 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41323 $(NORMAL_TARGET_EXPORTS) \
41324 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41325 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41326 case $(srcdir) in \
41327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41328 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41330 esac; \
41331 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41332 libsrcdir="$$s/libgomp"; \
41333 rm -f no-such-file || : ; \
41334 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41335 $(TARGET_CONFIGARGS) $${srcdiroption} \
41336 || exit 1
41337 @endif target-libgomp
41343 .PHONY: all-target-libgomp maybe-all-target-libgomp
41344 maybe-all-target-libgomp:
41345 @if gcc-bootstrap
41346 all-target-libgomp: stage_current
41347 @endif gcc-bootstrap
41348 @if target-libgomp
41349 TARGET-target-libgomp=all
41350 maybe-all-target-libgomp: all-target-libgomp
41351 all-target-libgomp: configure-target-libgomp
41352 @: $(MAKE); $(unstage)
41353 @r=`${PWD_COMMAND}`; export r; \
41354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41355 $(NORMAL_TARGET_EXPORTS) \
41356 (cd $(TARGET_SUBDIR)/libgomp && \
41357 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
41358 @endif target-libgomp
41364 .PHONY: check-target-libgomp maybe-check-target-libgomp
41365 maybe-check-target-libgomp:
41366 @if target-libgomp
41367 maybe-check-target-libgomp: check-target-libgomp
41369 check-target-libgomp:
41370 @: $(MAKE); $(unstage)
41371 @r=`${PWD_COMMAND}`; export r; \
41372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41373 $(NORMAL_TARGET_EXPORTS) \
41374 (cd $(TARGET_SUBDIR)/libgomp && \
41375 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41377 @endif target-libgomp
41379 .PHONY: install-target-libgomp maybe-install-target-libgomp
41380 maybe-install-target-libgomp:
41381 @if target-libgomp
41382 maybe-install-target-libgomp: install-target-libgomp
41384 install-target-libgomp: installdirs
41385 @: $(MAKE); $(unstage)
41386 @r=`${PWD_COMMAND}`; export r; \
41387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41388 $(NORMAL_TARGET_EXPORTS) \
41389 (cd $(TARGET_SUBDIR)/libgomp && \
41390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41392 @endif target-libgomp
41394 # Other targets (info, dvi, pdf, etc.)
41396 .PHONY: maybe-info-target-libgomp info-target-libgomp
41397 maybe-info-target-libgomp:
41398 @if target-libgomp
41399 maybe-info-target-libgomp: info-target-libgomp
41401 info-target-libgomp: \
41402 configure-target-libgomp
41403 @: $(MAKE); $(unstage)
41404 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41405 r=`${PWD_COMMAND}`; export r; \
41406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41407 $(NORMAL_TARGET_EXPORTS) \
41408 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41409 for flag in $(EXTRA_TARGET_FLAGS); do \
41410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41411 done; \
41412 (cd $(TARGET_SUBDIR)/libgomp && \
41413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41415 "RANLIB=$${RANLIB}" \
41416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41417 info) \
41418 || exit 1
41420 @endif target-libgomp
41422 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41423 maybe-dvi-target-libgomp:
41424 @if target-libgomp
41425 maybe-dvi-target-libgomp: dvi-target-libgomp
41427 dvi-target-libgomp: \
41428 configure-target-libgomp
41429 @: $(MAKE); $(unstage)
41430 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41431 r=`${PWD_COMMAND}`; export r; \
41432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41433 $(NORMAL_TARGET_EXPORTS) \
41434 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41435 for flag in $(EXTRA_TARGET_FLAGS); do \
41436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41437 done; \
41438 (cd $(TARGET_SUBDIR)/libgomp && \
41439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41441 "RANLIB=$${RANLIB}" \
41442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41443 dvi) \
41444 || exit 1
41446 @endif target-libgomp
41448 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41449 maybe-pdf-target-libgomp:
41450 @if target-libgomp
41451 maybe-pdf-target-libgomp: pdf-target-libgomp
41453 pdf-target-libgomp: \
41454 configure-target-libgomp
41455 @: $(MAKE); $(unstage)
41456 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41457 r=`${PWD_COMMAND}`; export r; \
41458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41459 $(NORMAL_TARGET_EXPORTS) \
41460 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41461 for flag in $(EXTRA_TARGET_FLAGS); do \
41462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41463 done; \
41464 (cd $(TARGET_SUBDIR)/libgomp && \
41465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41467 "RANLIB=$${RANLIB}" \
41468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41469 pdf) \
41470 || exit 1
41472 @endif target-libgomp
41474 .PHONY: maybe-html-target-libgomp html-target-libgomp
41475 maybe-html-target-libgomp:
41476 @if target-libgomp
41477 maybe-html-target-libgomp: html-target-libgomp
41479 html-target-libgomp: \
41480 configure-target-libgomp
41481 @: $(MAKE); $(unstage)
41482 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41483 r=`${PWD_COMMAND}`; export r; \
41484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41485 $(NORMAL_TARGET_EXPORTS) \
41486 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41487 for flag in $(EXTRA_TARGET_FLAGS); do \
41488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41489 done; \
41490 (cd $(TARGET_SUBDIR)/libgomp && \
41491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41493 "RANLIB=$${RANLIB}" \
41494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41495 html) \
41496 || exit 1
41498 @endif target-libgomp
41500 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41501 maybe-TAGS-target-libgomp:
41502 @if target-libgomp
41503 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41505 TAGS-target-libgomp: \
41506 configure-target-libgomp
41507 @: $(MAKE); $(unstage)
41508 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41509 r=`${PWD_COMMAND}`; export r; \
41510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41511 $(NORMAL_TARGET_EXPORTS) \
41512 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41513 for flag in $(EXTRA_TARGET_FLAGS); do \
41514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41515 done; \
41516 (cd $(TARGET_SUBDIR)/libgomp && \
41517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41519 "RANLIB=$${RANLIB}" \
41520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41521 TAGS) \
41522 || exit 1
41524 @endif target-libgomp
41526 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41527 maybe-install-info-target-libgomp:
41528 @if target-libgomp
41529 maybe-install-info-target-libgomp: install-info-target-libgomp
41531 install-info-target-libgomp: \
41532 configure-target-libgomp \
41533 info-target-libgomp
41534 @: $(MAKE); $(unstage)
41535 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41536 r=`${PWD_COMMAND}`; export r; \
41537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41538 $(NORMAL_TARGET_EXPORTS) \
41539 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41540 for flag in $(EXTRA_TARGET_FLAGS); do \
41541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41542 done; \
41543 (cd $(TARGET_SUBDIR)/libgomp && \
41544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41546 "RANLIB=$${RANLIB}" \
41547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41548 install-info) \
41549 || exit 1
41551 @endif target-libgomp
41553 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41554 maybe-install-html-target-libgomp:
41555 @if target-libgomp
41556 maybe-install-html-target-libgomp: install-html-target-libgomp
41558 install-html-target-libgomp: \
41559 configure-target-libgomp \
41560 html-target-libgomp
41561 @: $(MAKE); $(unstage)
41562 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41563 r=`${PWD_COMMAND}`; export r; \
41564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41565 $(NORMAL_TARGET_EXPORTS) \
41566 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41567 for flag in $(EXTRA_TARGET_FLAGS); do \
41568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41569 done; \
41570 (cd $(TARGET_SUBDIR)/libgomp && \
41571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41573 "RANLIB=$${RANLIB}" \
41574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41575 install-html) \
41576 || exit 1
41578 @endif target-libgomp
41580 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41581 maybe-installcheck-target-libgomp:
41582 @if target-libgomp
41583 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41585 installcheck-target-libgomp: \
41586 configure-target-libgomp
41587 @: $(MAKE); $(unstage)
41588 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41589 r=`${PWD_COMMAND}`; export r; \
41590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41591 $(NORMAL_TARGET_EXPORTS) \
41592 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41593 for flag in $(EXTRA_TARGET_FLAGS); do \
41594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41595 done; \
41596 (cd $(TARGET_SUBDIR)/libgomp && \
41597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41599 "RANLIB=$${RANLIB}" \
41600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41601 installcheck) \
41602 || exit 1
41604 @endif target-libgomp
41606 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41607 maybe-mostlyclean-target-libgomp:
41608 @if target-libgomp
41609 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41611 mostlyclean-target-libgomp:
41612 @: $(MAKE); $(unstage)
41613 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41614 r=`${PWD_COMMAND}`; export r; \
41615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41616 $(NORMAL_TARGET_EXPORTS) \
41617 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41618 for flag in $(EXTRA_TARGET_FLAGS); do \
41619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41620 done; \
41621 (cd $(TARGET_SUBDIR)/libgomp && \
41622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41624 "RANLIB=$${RANLIB}" \
41625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41626 mostlyclean) \
41627 || exit 1
41629 @endif target-libgomp
41631 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41632 maybe-clean-target-libgomp:
41633 @if target-libgomp
41634 maybe-clean-target-libgomp: clean-target-libgomp
41636 clean-target-libgomp:
41637 @: $(MAKE); $(unstage)
41638 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41639 r=`${PWD_COMMAND}`; export r; \
41640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41641 $(NORMAL_TARGET_EXPORTS) \
41642 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41643 for flag in $(EXTRA_TARGET_FLAGS); do \
41644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41645 done; \
41646 (cd $(TARGET_SUBDIR)/libgomp && \
41647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41649 "RANLIB=$${RANLIB}" \
41650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41651 clean) \
41652 || exit 1
41654 @endif target-libgomp
41656 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41657 maybe-distclean-target-libgomp:
41658 @if target-libgomp
41659 maybe-distclean-target-libgomp: distclean-target-libgomp
41661 distclean-target-libgomp:
41662 @: $(MAKE); $(unstage)
41663 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41664 r=`${PWD_COMMAND}`; export r; \
41665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41666 $(NORMAL_TARGET_EXPORTS) \
41667 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41668 for flag in $(EXTRA_TARGET_FLAGS); do \
41669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41670 done; \
41671 (cd $(TARGET_SUBDIR)/libgomp && \
41672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41674 "RANLIB=$${RANLIB}" \
41675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41676 distclean) \
41677 || exit 1
41679 @endif target-libgomp
41681 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41682 maybe-maintainer-clean-target-libgomp:
41683 @if target-libgomp
41684 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41686 maintainer-clean-target-libgomp:
41687 @: $(MAKE); $(unstage)
41688 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41689 r=`${PWD_COMMAND}`; export r; \
41690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41691 $(NORMAL_TARGET_EXPORTS) \
41692 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41693 for flag in $(EXTRA_TARGET_FLAGS); do \
41694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41695 done; \
41696 (cd $(TARGET_SUBDIR)/libgomp && \
41697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41699 "RANLIB=$${RANLIB}" \
41700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41701 maintainer-clean) \
41702 || exit 1
41704 @endif target-libgomp
41708 # ----------
41709 # GCC module
41710 # ----------
41712 @if gcc-no-bootstrap
41713 # GCC has some more recursive targets, which trigger the old
41714 # (but still current, until the toplevel bootstrap project
41715 # is finished) compiler bootstrapping rules.
41717 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
41718 .PHONY: $(GCC_STRAP_TARGETS)
41719 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
41720 @r=`${PWD_COMMAND}`; export r; \
41721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41722 $(HOST_EXPORTS) \
41723 echo "Bootstrapping the compiler"; \
41724 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41725 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
41726 @r=`${PWD_COMMAND}`; export r; \
41727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41728 case "$@" in \
41729 *bootstrap4-lean ) \
41730 msg="Comparing stage3 and stage4 of the compiler"; \
41731 compare=compare3-lean ;; \
41732 *bootstrap4 ) \
41733 msg="Comparing stage3 and stage4 of the compiler"; \
41734 compare=compare3 ;; \
41735 *-lean ) \
41736 msg="Comparing stage2 and stage3 of the compiler"; \
41737 compare=compare-lean ;; \
41738 * ) \
41739 msg="Comparing stage2 and stage3 of the compiler"; \
41740 compare=compare ;; \
41741 esac; \
41742 $(HOST_EXPORTS) \
41743 echo "$$msg"; \
41744 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
41745 @r=`${PWD_COMMAND}`; export r; \
41746 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41747 echo "Building runtime libraries"; \
41748 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41750 profiledbootstrap: all-prebootstrap configure-gcc
41751 @r=`${PWD_COMMAND}`; export r; \
41752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41753 $(HOST_EXPORTS) \
41754 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41755 echo "Bootstrapping training compiler"; \
41756 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
41757 @r=`${PWD_COMMAND}`; export r; \
41758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41759 $(HOST_EXPORTS) \
41760 echo "Building feedback based compiler"; \
41761 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
41762 @r=`${PWD_COMMAND}`; export r; \
41763 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41764 echo "Building runtime libraries"; \
41765 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41767 .PHONY: cross
41768 cross: all-build all-gas all-ld
41769 @r=`${PWD_COMMAND}`; export r; \
41770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41771 $(HOST_EXPORTS) \
41772 echo "Building the C and C++ compiler"; \
41773 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41774 @r=`${PWD_COMMAND}`; export r; \
41775 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41776 echo "Building runtime libraries"; \
41777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41778 @endif gcc-no-bootstrap
41780 @if gcc
41781 .PHONY: check-gcc-c++
41782 check-gcc-c++:
41783 @if [ -f ./gcc/Makefile ] ; then \
41784 r=`${PWD_COMMAND}`; export r; \
41785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41786 $(HOST_EXPORTS) \
41787 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
41788 else \
41789 true; \
41792 .PHONY: check-c++
41793 check-c++: check-target-libstdc++-v3 check-gcc-c++
41795 # Install the gcc headers files, but not the fixed include files,
41796 # which Cygnus is not allowed to distribute. This rule is very
41797 # dependent on the workings of the gcc Makefile.in.
41798 .PHONY: gcc-no-fixedincludes
41799 gcc-no-fixedincludes:
41800 @if [ -f ./gcc/Makefile ]; then \
41801 rm -rf gcc/tmp-include; \
41802 mv gcc/include gcc/tmp-include 2>/dev/null; \
41803 mkdir gcc/include; \
41804 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
41805 touch gcc/stmp-fixinc gcc/include/fixed; \
41806 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
41807 r=`${PWD_COMMAND}`; export r; \
41808 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41809 $(HOST_EXPORTS) \
41810 (cd ./gcc && \
41811 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
41812 rm -rf gcc/include; \
41813 mv gcc/tmp-include gcc/include 2>/dev/null; \
41814 else true; fi
41815 @endif gcc
41817 # ---------------------
41818 # GCC bootstrap support
41819 # ---------------------
41821 # We track the current stage (the one in 'gcc') in the stage_current file.
41822 # stage_last instead tracks the stage that was built last. These targets
41823 # are dummy when toplevel bootstrap is not active.
41825 # While making host and target tools, symlinks to the final stage must be
41826 # there, so $(unstage) should be run at various points. To avoid excessive
41827 # recursive invocations of make, we "inline" them using a variable. These
41828 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41829 # to avoid warnings from the GNU Make job server.
41831 unstage = :
41832 stage = :
41833 current_stage = ""
41835 @if gcc-bootstrap
41836 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41837 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41838 current_stage = "`cat stage_current 2> /dev/null`"
41839 @endif gcc-bootstrap
41841 .PHONY: unstage stage
41842 unstage:
41843 @: $(MAKE); $(unstage)
41844 stage:
41845 @: $(MAKE); $(stage)
41847 # Disable commands for lean bootstrap.
41848 LEAN = false
41850 # We name the build directories for the various stages "stage1-gcc",
41851 # "stage2-gcc","stage3-gcc", etc.
41853 # Since the 'compare' process will fail (on debugging information) if any
41854 # directory names are different, we need to link the gcc directory for
41855 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41856 # the build directories constant as well. For the latter, we use naked names
41857 # like 'gcc', because the scripts in that directory assume it. We use
41858 # mv on platforms where symlinks to directories do not work or are not
41859 # reliable.
41861 # 'touch' doesn't work right on some platforms.
41862 STAMP = echo timestamp >
41864 # We only want to compare .o files, so set this!
41865 objext = .o
41868 .PHONY: stage1-start stage1-end
41870 stage1-start::
41871 @: $(MAKE); $(stage); \
41872 echo stage1 > stage_current ; \
41873 echo stage1 > stage_last; \
41874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41875 @if bfd
41876 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41877 mkdir stage1-bfd; \
41878 mv stage1-bfd bfd
41879 @endif bfd
41880 @if opcodes
41881 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41882 mkdir stage1-opcodes; \
41883 mv stage1-opcodes opcodes
41884 @endif opcodes
41885 @if binutils
41886 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41887 mkdir stage1-binutils; \
41888 mv stage1-binutils binutils
41889 @endif binutils
41890 @if gas
41891 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41892 mkdir stage1-gas; \
41893 mv stage1-gas gas
41894 @endif gas
41895 @if gcc
41896 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41897 mkdir stage1-gcc; \
41898 mv stage1-gcc gcc
41899 @endif gcc
41900 @if intl
41901 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41902 mkdir stage1-intl; \
41903 mv stage1-intl intl
41904 @endif intl
41905 @if ld
41906 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41907 mkdir stage1-ld; \
41908 mv stage1-ld ld
41909 @endif ld
41910 @if libcpp
41911 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41912 mkdir stage1-libcpp; \
41913 mv stage1-libcpp libcpp
41914 @endif libcpp
41915 @if libdecnumber
41916 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41917 mkdir stage1-libdecnumber; \
41918 mv stage1-libdecnumber libdecnumber
41919 @endif libdecnumber
41920 @if libiberty
41921 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41922 mkdir stage1-libiberty; \
41923 mv stage1-libiberty libiberty
41924 @endif libiberty
41925 @if zlib
41926 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41927 mkdir stage1-zlib; \
41928 mv stage1-zlib zlib
41929 @endif zlib
41930 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41931 mkdir stage1-$(TARGET_SUBDIR); \
41932 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41934 stage1-end::
41935 @if bfd
41936 @if test -d $(HOST_SUBDIR)/bfd ; then \
41937 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41939 @endif bfd
41940 @if opcodes
41941 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41942 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41944 @endif opcodes
41945 @if binutils
41946 @if test -d $(HOST_SUBDIR)/binutils ; then \
41947 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41949 @endif binutils
41950 @if gas
41951 @if test -d $(HOST_SUBDIR)/gas ; then \
41952 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41954 @endif gas
41955 @if gcc
41956 @if test -d $(HOST_SUBDIR)/gcc ; then \
41957 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41959 @endif gcc
41960 @if intl
41961 @if test -d $(HOST_SUBDIR)/intl ; then \
41962 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41964 @endif intl
41965 @if ld
41966 @if test -d $(HOST_SUBDIR)/ld ; then \
41967 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41969 @endif ld
41970 @if libcpp
41971 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41972 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41974 @endif libcpp
41975 @if libdecnumber
41976 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41977 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41979 @endif libdecnumber
41980 @if libiberty
41981 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41982 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41984 @endif libiberty
41985 @if zlib
41986 @if test -d $(HOST_SUBDIR)/zlib ; then \
41987 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41989 @endif zlib
41990 @if test -d $(TARGET_SUBDIR) ; then \
41991 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41993 rm -f stage_current
41995 # Bubble a bugfix through all the stages up to stage 1. They are
41996 # remade, but not reconfigured. The next stage (if any) will not be
41997 # reconfigured as well.
41998 .PHONY: stage1-bubble
41999 stage1-bubble::
42000 @r=`${PWD_COMMAND}`; export r; \
42001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42002 if test -f stage1-lean ; then \
42003 echo Skipping rebuild of stage1 ; \
42004 else \
42005 $(MAKE) stage1-start; \
42006 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
42009 .PHONY: all-stage1 clean-stage1
42010 do-clean: clean-stage1
42012 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42013 # only possibility, but now it conflicts with no-bootstrap rules
42014 @if gcc-bootstrap
42019 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42021 .PHONY: distclean-stage1
42022 distclean-stage1::
42023 @: $(MAKE); $(stage)
42024 rm -rf stage1-*
42027 @endif gcc-bootstrap
42030 .PHONY: stage2-start stage2-end
42032 stage2-start::
42033 @: $(MAKE); $(stage); \
42034 echo stage2 > stage_current ; \
42035 echo stage2 > stage_last; \
42036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42037 @if bfd
42038 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
42039 mkdir stage2-bfd; \
42040 mv stage2-bfd bfd ; \
42041 mv stage1-bfd prev-bfd || test -f stage1-lean
42042 @endif bfd
42043 @if opcodes
42044 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
42045 mkdir stage2-opcodes; \
42046 mv stage2-opcodes opcodes ; \
42047 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42048 @endif opcodes
42049 @if binutils
42050 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42051 mkdir stage2-binutils; \
42052 mv stage2-binutils binutils ; \
42053 mv stage1-binutils prev-binutils || test -f stage1-lean
42054 @endif binutils
42055 @if gas
42056 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42057 mkdir stage2-gas; \
42058 mv stage2-gas gas ; \
42059 mv stage1-gas prev-gas || test -f stage1-lean
42060 @endif gas
42061 @if gcc
42062 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42063 mkdir stage2-gcc; \
42064 mv stage2-gcc gcc ; \
42065 mv stage1-gcc prev-gcc || test -f stage1-lean
42066 @endif gcc
42067 @if intl
42068 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42069 mkdir stage2-intl; \
42070 mv stage2-intl intl ; \
42071 mv stage1-intl prev-intl || test -f stage1-lean
42072 @endif intl
42073 @if ld
42074 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42075 mkdir stage2-ld; \
42076 mv stage2-ld ld ; \
42077 mv stage1-ld prev-ld || test -f stage1-lean
42078 @endif ld
42079 @if libcpp
42080 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42081 mkdir stage2-libcpp; \
42082 mv stage2-libcpp libcpp ; \
42083 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42084 @endif libcpp
42085 @if libdecnumber
42086 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42087 mkdir stage2-libdecnumber; \
42088 mv stage2-libdecnumber libdecnumber ; \
42089 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42090 @endif libdecnumber
42091 @if libiberty
42092 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42093 mkdir stage2-libiberty; \
42094 mv stage2-libiberty libiberty ; \
42095 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42096 @endif libiberty
42097 @if zlib
42098 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42099 mkdir stage2-zlib; \
42100 mv stage2-zlib zlib ; \
42101 mv stage1-zlib prev-zlib || test -f stage1-lean
42102 @endif zlib
42103 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42104 mkdir stage2-$(TARGET_SUBDIR); \
42105 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42106 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42108 stage2-end::
42109 @if bfd
42110 @if test -d $(HOST_SUBDIR)/bfd ; then \
42111 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42112 mv prev-bfd stage1-bfd ; : ; \
42114 @endif bfd
42115 @if opcodes
42116 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42117 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42118 mv prev-opcodes stage1-opcodes ; : ; \
42120 @endif opcodes
42121 @if binutils
42122 @if test -d $(HOST_SUBDIR)/binutils ; then \
42123 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42124 mv prev-binutils stage1-binutils ; : ; \
42126 @endif binutils
42127 @if gas
42128 @if test -d $(HOST_SUBDIR)/gas ; then \
42129 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42130 mv prev-gas stage1-gas ; : ; \
42132 @endif gas
42133 @if gcc
42134 @if test -d $(HOST_SUBDIR)/gcc ; then \
42135 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42136 mv prev-gcc stage1-gcc ; : ; \
42138 @endif gcc
42139 @if intl
42140 @if test -d $(HOST_SUBDIR)/intl ; then \
42141 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42142 mv prev-intl stage1-intl ; : ; \
42144 @endif intl
42145 @if ld
42146 @if test -d $(HOST_SUBDIR)/ld ; then \
42147 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42148 mv prev-ld stage1-ld ; : ; \
42150 @endif ld
42151 @if libcpp
42152 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42153 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42154 mv prev-libcpp stage1-libcpp ; : ; \
42156 @endif libcpp
42157 @if libdecnumber
42158 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42159 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42160 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42162 @endif libdecnumber
42163 @if libiberty
42164 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42165 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42166 mv prev-libiberty stage1-libiberty ; : ; \
42168 @endif libiberty
42169 @if zlib
42170 @if test -d $(HOST_SUBDIR)/zlib ; then \
42171 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42172 mv prev-zlib stage1-zlib ; : ; \
42174 @endif zlib
42175 @if test -d $(TARGET_SUBDIR) ; then \
42176 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42177 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42179 rm -f stage_current
42181 # Bubble a bugfix through all the stages up to stage 2. They are
42182 # remade, but not reconfigured. The next stage (if any) will not be
42183 # reconfigured as well.
42184 .PHONY: stage2-bubble
42185 stage2-bubble:: stage1-bubble
42186 @r=`${PWD_COMMAND}`; export r; \
42187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42188 if test -f stage2-lean || test -f stage1-lean ; then \
42189 echo Skipping rebuild of stage2 ; \
42190 else \
42191 $(MAKE) stage2-start; \
42192 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42195 .PHONY: all-stage2 clean-stage2
42196 do-clean: clean-stage2
42198 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42199 # only possibility, but now it conflicts with no-bootstrap rules
42200 @if gcc-bootstrap
42204 .PHONY: bootstrap2 bootstrap2-lean
42205 bootstrap2:
42206 echo stage2 > stage_final
42207 @r=`${PWD_COMMAND}`; export r; \
42208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42209 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42210 @: $(MAKE); $(unstage)
42211 @r=`${PWD_COMMAND}`; export r; \
42212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42213 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42215 bootstrap2-lean:
42216 echo stage2 > stage_final
42217 @r=`${PWD_COMMAND}`; export r; \
42218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42219 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42220 @: $(MAKE); $(unstage)
42221 @r=`${PWD_COMMAND}`; export r; \
42222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42223 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42226 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42227 distclean-stage1:: distclean-stage2
42228 .PHONY: distclean-stage2
42229 distclean-stage2::
42230 @: $(MAKE); $(stage)
42231 rm -rf stage2-*
42234 @endif gcc-bootstrap
42237 .PHONY: stage3-start stage3-end
42239 stage3-start::
42240 @: $(MAKE); $(stage); \
42241 echo stage3 > stage_current ; \
42242 echo stage3 > stage_last; \
42243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42244 @if bfd
42245 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42246 mkdir stage3-bfd; \
42247 mv stage3-bfd bfd ; \
42248 mv stage2-bfd prev-bfd || test -f stage2-lean
42249 @endif bfd
42250 @if opcodes
42251 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42252 mkdir stage3-opcodes; \
42253 mv stage3-opcodes opcodes ; \
42254 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42255 @endif opcodes
42256 @if binutils
42257 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42258 mkdir stage3-binutils; \
42259 mv stage3-binutils binutils ; \
42260 mv stage2-binutils prev-binutils || test -f stage2-lean
42261 @endif binutils
42262 @if gas
42263 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42264 mkdir stage3-gas; \
42265 mv stage3-gas gas ; \
42266 mv stage2-gas prev-gas || test -f stage2-lean
42267 @endif gas
42268 @if gcc
42269 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42270 mkdir stage3-gcc; \
42271 mv stage3-gcc gcc ; \
42272 mv stage2-gcc prev-gcc || test -f stage2-lean
42273 @endif gcc
42274 @if intl
42275 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42276 mkdir stage3-intl; \
42277 mv stage3-intl intl ; \
42278 mv stage2-intl prev-intl || test -f stage2-lean
42279 @endif intl
42280 @if ld
42281 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42282 mkdir stage3-ld; \
42283 mv stage3-ld ld ; \
42284 mv stage2-ld prev-ld || test -f stage2-lean
42285 @endif ld
42286 @if libcpp
42287 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42288 mkdir stage3-libcpp; \
42289 mv stage3-libcpp libcpp ; \
42290 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42291 @endif libcpp
42292 @if libdecnumber
42293 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42294 mkdir stage3-libdecnumber; \
42295 mv stage3-libdecnumber libdecnumber ; \
42296 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42297 @endif libdecnumber
42298 @if libiberty
42299 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42300 mkdir stage3-libiberty; \
42301 mv stage3-libiberty libiberty ; \
42302 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42303 @endif libiberty
42304 @if zlib
42305 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42306 mkdir stage3-zlib; \
42307 mv stage3-zlib zlib ; \
42308 mv stage2-zlib prev-zlib || test -f stage2-lean
42309 @endif zlib
42310 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42311 mkdir stage3-$(TARGET_SUBDIR); \
42312 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42313 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42315 stage3-end::
42316 @if bfd
42317 @if test -d $(HOST_SUBDIR)/bfd ; then \
42318 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42319 mv prev-bfd stage2-bfd ; : ; \
42321 @endif bfd
42322 @if opcodes
42323 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42324 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42325 mv prev-opcodes stage2-opcodes ; : ; \
42327 @endif opcodes
42328 @if binutils
42329 @if test -d $(HOST_SUBDIR)/binutils ; then \
42330 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42331 mv prev-binutils stage2-binutils ; : ; \
42333 @endif binutils
42334 @if gas
42335 @if test -d $(HOST_SUBDIR)/gas ; then \
42336 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42337 mv prev-gas stage2-gas ; : ; \
42339 @endif gas
42340 @if gcc
42341 @if test -d $(HOST_SUBDIR)/gcc ; then \
42342 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42343 mv prev-gcc stage2-gcc ; : ; \
42345 @endif gcc
42346 @if intl
42347 @if test -d $(HOST_SUBDIR)/intl ; then \
42348 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42349 mv prev-intl stage2-intl ; : ; \
42351 @endif intl
42352 @if ld
42353 @if test -d $(HOST_SUBDIR)/ld ; then \
42354 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42355 mv prev-ld stage2-ld ; : ; \
42357 @endif ld
42358 @if libcpp
42359 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42360 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42361 mv prev-libcpp stage2-libcpp ; : ; \
42363 @endif libcpp
42364 @if libdecnumber
42365 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42366 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42367 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42369 @endif libdecnumber
42370 @if libiberty
42371 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42372 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42373 mv prev-libiberty stage2-libiberty ; : ; \
42375 @endif libiberty
42376 @if zlib
42377 @if test -d $(HOST_SUBDIR)/zlib ; then \
42378 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42379 mv prev-zlib stage2-zlib ; : ; \
42381 @endif zlib
42382 @if test -d $(TARGET_SUBDIR) ; then \
42383 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42384 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42386 rm -f stage_current
42388 # Bubble a bugfix through all the stages up to stage 3. They are
42389 # remade, but not reconfigured. The next stage (if any) will not be
42390 # reconfigured as well.
42391 .PHONY: stage3-bubble
42392 stage3-bubble:: stage2-bubble
42393 @r=`${PWD_COMMAND}`; export r; \
42394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42395 if test -f stage3-lean || test -f stage2-lean ; then \
42396 echo Skipping rebuild of stage3 ; \
42397 else \
42398 $(MAKE) stage3-start; \
42399 if $(LEAN); then \
42400 rm -rf stage1-* ; \
42401 $(STAMP) stage1-lean ; \
42402 fi; \
42403 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42405 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42407 .PHONY: all-stage3 clean-stage3
42408 do-clean: clean-stage3
42410 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42411 # only possibility, but now it conflicts with no-bootstrap rules
42412 @if gcc-bootstrap
42414 compare:
42415 @r=`${PWD_COMMAND}`; export r; \
42416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42417 if test -f stage2-lean; then \
42418 echo Cannot compare object files as stage 2 was deleted. ; \
42419 exit 0 ; \
42420 fi; \
42421 : $(MAKE); $(stage); \
42422 rm -f .bad_compare ; \
42423 echo Comparing stages 2 and 3 ; \
42424 cd stage3-gcc; \
42425 files=`find . -name "*$(objext)" -print` ; \
42426 cd .. ; \
42427 for file in $${files} ; do \
42428 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
42429 @do_compare@ > /dev/null 2>&1; \
42430 if test $$? -eq 1; then \
42431 case $$file in \
42432 ./cc*-checksum$(objext) | ./libgcc/* ) \
42433 echo warning: $$file differs ;; \
42434 *) \
42435 echo $$file differs >> .bad_compare ;; \
42436 esac ; \
42437 fi ; \
42438 done ; \
42439 if [ -f .bad_compare ]; then \
42440 echo "Bootstrap comparison failure!"; \
42441 cat .bad_compare; \
42442 exit 1; \
42443 else \
42444 echo Comparison successful.; \
42445 fi ; \
42446 $(STAMP) compare
42447 if $(LEAN); then \
42448 rm -rf stage2-*; \
42449 $(STAMP) stage2-lean; \
42454 .PHONY: bootstrap bootstrap-lean
42455 bootstrap:
42456 echo stage3 > stage_final
42457 @r=`${PWD_COMMAND}`; export r; \
42458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42459 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42460 @: $(MAKE); $(unstage)
42461 @r=`${PWD_COMMAND}`; export r; \
42462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42463 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42465 bootstrap-lean:
42466 echo stage3 > stage_final
42467 @r=`${PWD_COMMAND}`; export r; \
42468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42469 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42470 @: $(MAKE); $(unstage)
42471 @r=`${PWD_COMMAND}`; export r; \
42472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42473 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42476 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42477 distclean-stage2:: distclean-stage3
42478 .PHONY: distclean-stage3
42479 distclean-stage3::
42480 @: $(MAKE); $(stage)
42481 rm -rf stage3-* compare
42484 .PHONY: cleanstrap
42485 cleanstrap: distclean bootstrap
42487 @endif gcc-bootstrap
42490 .PHONY: stage4-start stage4-end
42492 stage4-start::
42493 @: $(MAKE); $(stage); \
42494 echo stage4 > stage_current ; \
42495 echo stage4 > stage_last; \
42496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42497 @if bfd
42498 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42499 mkdir stage4-bfd; \
42500 mv stage4-bfd bfd ; \
42501 mv stage3-bfd prev-bfd || test -f stage3-lean
42502 @endif bfd
42503 @if opcodes
42504 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42505 mkdir stage4-opcodes; \
42506 mv stage4-opcodes opcodes ; \
42507 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42508 @endif opcodes
42509 @if binutils
42510 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42511 mkdir stage4-binutils; \
42512 mv stage4-binutils binutils ; \
42513 mv stage3-binutils prev-binutils || test -f stage3-lean
42514 @endif binutils
42515 @if gas
42516 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42517 mkdir stage4-gas; \
42518 mv stage4-gas gas ; \
42519 mv stage3-gas prev-gas || test -f stage3-lean
42520 @endif gas
42521 @if gcc
42522 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42523 mkdir stage4-gcc; \
42524 mv stage4-gcc gcc ; \
42525 mv stage3-gcc prev-gcc || test -f stage3-lean
42526 @endif gcc
42527 @if intl
42528 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42529 mkdir stage4-intl; \
42530 mv stage4-intl intl ; \
42531 mv stage3-intl prev-intl || test -f stage3-lean
42532 @endif intl
42533 @if ld
42534 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42535 mkdir stage4-ld; \
42536 mv stage4-ld ld ; \
42537 mv stage3-ld prev-ld || test -f stage3-lean
42538 @endif ld
42539 @if libcpp
42540 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42541 mkdir stage4-libcpp; \
42542 mv stage4-libcpp libcpp ; \
42543 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42544 @endif libcpp
42545 @if libdecnumber
42546 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42547 mkdir stage4-libdecnumber; \
42548 mv stage4-libdecnumber libdecnumber ; \
42549 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42550 @endif libdecnumber
42551 @if libiberty
42552 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42553 mkdir stage4-libiberty; \
42554 mv stage4-libiberty libiberty ; \
42555 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42556 @endif libiberty
42557 @if zlib
42558 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42559 mkdir stage4-zlib; \
42560 mv stage4-zlib zlib ; \
42561 mv stage3-zlib prev-zlib || test -f stage3-lean
42562 @endif zlib
42563 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42564 mkdir stage4-$(TARGET_SUBDIR); \
42565 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42566 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42568 stage4-end::
42569 @if bfd
42570 @if test -d $(HOST_SUBDIR)/bfd ; then \
42571 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42572 mv prev-bfd stage3-bfd ; : ; \
42574 @endif bfd
42575 @if opcodes
42576 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42577 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42578 mv prev-opcodes stage3-opcodes ; : ; \
42580 @endif opcodes
42581 @if binutils
42582 @if test -d $(HOST_SUBDIR)/binutils ; then \
42583 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42584 mv prev-binutils stage3-binutils ; : ; \
42586 @endif binutils
42587 @if gas
42588 @if test -d $(HOST_SUBDIR)/gas ; then \
42589 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42590 mv prev-gas stage3-gas ; : ; \
42592 @endif gas
42593 @if gcc
42594 @if test -d $(HOST_SUBDIR)/gcc ; then \
42595 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42596 mv prev-gcc stage3-gcc ; : ; \
42598 @endif gcc
42599 @if intl
42600 @if test -d $(HOST_SUBDIR)/intl ; then \
42601 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42602 mv prev-intl stage3-intl ; : ; \
42604 @endif intl
42605 @if ld
42606 @if test -d $(HOST_SUBDIR)/ld ; then \
42607 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42608 mv prev-ld stage3-ld ; : ; \
42610 @endif ld
42611 @if libcpp
42612 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42613 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42614 mv prev-libcpp stage3-libcpp ; : ; \
42616 @endif libcpp
42617 @if libdecnumber
42618 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42619 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42620 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42622 @endif libdecnumber
42623 @if libiberty
42624 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42625 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42626 mv prev-libiberty stage3-libiberty ; : ; \
42628 @endif libiberty
42629 @if zlib
42630 @if test -d $(HOST_SUBDIR)/zlib ; then \
42631 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42632 mv prev-zlib stage3-zlib ; : ; \
42634 @endif zlib
42635 @if test -d $(TARGET_SUBDIR) ; then \
42636 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42637 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42639 rm -f stage_current
42641 # Bubble a bugfix through all the stages up to stage 4. They are
42642 # remade, but not reconfigured. The next stage (if any) will not be
42643 # reconfigured as well.
42644 .PHONY: stage4-bubble
42645 stage4-bubble:: stage3-bubble
42646 @r=`${PWD_COMMAND}`; export r; \
42647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42648 if test -f stage4-lean || test -f stage3-lean ; then \
42649 echo Skipping rebuild of stage4 ; \
42650 else \
42651 $(MAKE) stage4-start; \
42652 if $(LEAN); then \
42653 rm -rf stage2-* ; \
42654 $(STAMP) stage2-lean ; \
42655 fi; \
42656 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42660 .PHONY: all-stage4 clean-stage4
42661 do-clean: clean-stage4
42663 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42664 # only possibility, but now it conflicts with no-bootstrap rules
42665 @if gcc-bootstrap
42667 compare3:
42668 @r=`${PWD_COMMAND}`; export r; \
42669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42670 if test -f stage3-lean; then \
42671 echo Cannot compare object files as stage 3 was deleted. ; \
42672 exit 0 ; \
42673 fi; \
42674 : $(MAKE); $(stage); \
42675 rm -f .bad_compare ; \
42676 echo Comparing stages 3 and 4 ; \
42677 cd stage4-gcc; \
42678 files=`find . -name "*$(objext)" -print` ; \
42679 cd .. ; \
42680 for file in $${files} ; do \
42681 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
42682 @do_compare@ > /dev/null 2>&1; \
42683 if test $$? -eq 1; then \
42684 case $$file in \
42685 ./cc*-checksum$(objext) | ./libgcc/* ) \
42686 echo warning: $$file differs ;; \
42687 *) \
42688 echo $$file differs >> .bad_compare ;; \
42689 esac ; \
42690 fi ; \
42691 done ; \
42692 if [ -f .bad_compare ]; then \
42693 echo "Bootstrap comparison failure!"; \
42694 cat .bad_compare; \
42695 exit 1; \
42696 else \
42697 echo Comparison successful.; \
42698 fi ; \
42699 $(STAMP) compare3
42700 if $(LEAN); then \
42701 rm -rf stage3-*; \
42702 $(STAMP) stage3-lean; \
42707 .PHONY: bootstrap4 bootstrap4-lean
42708 bootstrap4:
42709 echo stage4 > stage_final
42710 @r=`${PWD_COMMAND}`; export r; \
42711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42712 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42713 @: $(MAKE); $(unstage)
42714 @r=`${PWD_COMMAND}`; export r; \
42715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42716 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42718 bootstrap4-lean:
42719 echo stage4 > stage_final
42720 @r=`${PWD_COMMAND}`; export r; \
42721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42722 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42723 @: $(MAKE); $(unstage)
42724 @r=`${PWD_COMMAND}`; export r; \
42725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42726 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42729 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42730 distclean-stage3:: distclean-stage4
42731 .PHONY: distclean-stage4
42732 distclean-stage4::
42733 @: $(MAKE); $(stage)
42734 rm -rf stage4-* compare3
42737 @endif gcc-bootstrap
42740 .PHONY: stageprofile-start stageprofile-end
42742 stageprofile-start::
42743 @: $(MAKE); $(stage); \
42744 echo stageprofile > stage_current ; \
42745 echo stageprofile > stage_last; \
42746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42747 @if bfd
42748 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42749 mkdir stageprofile-bfd; \
42750 mv stageprofile-bfd bfd ; \
42751 mv stage1-bfd prev-bfd || test -f stage1-lean
42752 @endif bfd
42753 @if opcodes
42754 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42755 mkdir stageprofile-opcodes; \
42756 mv stageprofile-opcodes opcodes ; \
42757 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42758 @endif opcodes
42759 @if binutils
42760 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42761 mkdir stageprofile-binutils; \
42762 mv stageprofile-binutils binutils ; \
42763 mv stage1-binutils prev-binutils || test -f stage1-lean
42764 @endif binutils
42765 @if gas
42766 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42767 mkdir stageprofile-gas; \
42768 mv stageprofile-gas gas ; \
42769 mv stage1-gas prev-gas || test -f stage1-lean
42770 @endif gas
42771 @if gcc
42772 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42773 mkdir stageprofile-gcc; \
42774 mv stageprofile-gcc gcc ; \
42775 mv stage1-gcc prev-gcc || test -f stage1-lean
42776 @endif gcc
42777 @if intl
42778 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42779 mkdir stageprofile-intl; \
42780 mv stageprofile-intl intl ; \
42781 mv stage1-intl prev-intl || test -f stage1-lean
42782 @endif intl
42783 @if ld
42784 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42785 mkdir stageprofile-ld; \
42786 mv stageprofile-ld ld ; \
42787 mv stage1-ld prev-ld || test -f stage1-lean
42788 @endif ld
42789 @if libcpp
42790 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42791 mkdir stageprofile-libcpp; \
42792 mv stageprofile-libcpp libcpp ; \
42793 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42794 @endif libcpp
42795 @if libdecnumber
42796 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42797 mkdir stageprofile-libdecnumber; \
42798 mv stageprofile-libdecnumber libdecnumber ; \
42799 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42800 @endif libdecnumber
42801 @if libiberty
42802 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42803 mkdir stageprofile-libiberty; \
42804 mv stageprofile-libiberty libiberty ; \
42805 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42806 @endif libiberty
42807 @if zlib
42808 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42809 mkdir stageprofile-zlib; \
42810 mv stageprofile-zlib zlib ; \
42811 mv stage1-zlib prev-zlib || test -f stage1-lean
42812 @endif zlib
42813 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42814 mkdir stageprofile-$(TARGET_SUBDIR); \
42815 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42816 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42818 stageprofile-end::
42819 @if bfd
42820 @if test -d $(HOST_SUBDIR)/bfd ; then \
42821 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42822 mv prev-bfd stage1-bfd ; : ; \
42824 @endif bfd
42825 @if opcodes
42826 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42827 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42828 mv prev-opcodes stage1-opcodes ; : ; \
42830 @endif opcodes
42831 @if binutils
42832 @if test -d $(HOST_SUBDIR)/binutils ; then \
42833 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42834 mv prev-binutils stage1-binutils ; : ; \
42836 @endif binutils
42837 @if gas
42838 @if test -d $(HOST_SUBDIR)/gas ; then \
42839 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42840 mv prev-gas stage1-gas ; : ; \
42842 @endif gas
42843 @if gcc
42844 @if test -d $(HOST_SUBDIR)/gcc ; then \
42845 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42846 mv prev-gcc stage1-gcc ; : ; \
42848 @endif gcc
42849 @if intl
42850 @if test -d $(HOST_SUBDIR)/intl ; then \
42851 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42852 mv prev-intl stage1-intl ; : ; \
42854 @endif intl
42855 @if ld
42856 @if test -d $(HOST_SUBDIR)/ld ; then \
42857 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42858 mv prev-ld stage1-ld ; : ; \
42860 @endif ld
42861 @if libcpp
42862 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42863 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42864 mv prev-libcpp stage1-libcpp ; : ; \
42866 @endif libcpp
42867 @if libdecnumber
42868 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42869 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42870 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42872 @endif libdecnumber
42873 @if libiberty
42874 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42875 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42876 mv prev-libiberty stage1-libiberty ; : ; \
42878 @endif libiberty
42879 @if zlib
42880 @if test -d $(HOST_SUBDIR)/zlib ; then \
42881 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42882 mv prev-zlib stage1-zlib ; : ; \
42884 @endif zlib
42885 @if test -d $(TARGET_SUBDIR) ; then \
42886 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42887 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42889 rm -f stage_current
42891 # Bubble a bugfix through all the stages up to stage profile. They are
42892 # remade, but not reconfigured. The next stage (if any) will not be
42893 # reconfigured as well.
42894 .PHONY: stageprofile-bubble
42895 stageprofile-bubble:: stage1-bubble
42896 @r=`${PWD_COMMAND}`; export r; \
42897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42898 if test -f stageprofile-lean || test -f stage1-lean ; then \
42899 echo Skipping rebuild of stageprofile ; \
42900 else \
42901 $(MAKE) stageprofile-start; \
42902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42905 .PHONY: all-stageprofile clean-stageprofile
42906 do-clean: clean-stageprofile
42908 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42909 # only possibility, but now it conflicts with no-bootstrap rules
42910 @if gcc-bootstrap
42915 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42916 distclean-stage1:: distclean-stageprofile
42917 .PHONY: distclean-stageprofile
42918 distclean-stageprofile::
42919 @: $(MAKE); $(stage)
42920 rm -rf stageprofile-*
42923 @endif gcc-bootstrap
42926 .PHONY: stagefeedback-start stagefeedback-end
42928 stagefeedback-start::
42929 @: $(MAKE); $(stage); \
42930 echo stagefeedback > stage_current ; \
42931 echo stagefeedback > stage_last; \
42932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42933 @if bfd
42934 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42935 mkdir stagefeedback-bfd; \
42936 mv stagefeedback-bfd bfd ; \
42937 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42938 @endif bfd
42939 @if opcodes
42940 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42941 mkdir stagefeedback-opcodes; \
42942 mv stagefeedback-opcodes opcodes ; \
42943 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42944 @endif opcodes
42945 @if binutils
42946 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42947 mkdir stagefeedback-binutils; \
42948 mv stagefeedback-binutils binutils ; \
42949 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42950 @endif binutils
42951 @if gas
42952 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42953 mkdir stagefeedback-gas; \
42954 mv stagefeedback-gas gas ; \
42955 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42956 @endif gas
42957 @if gcc
42958 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42959 mkdir stagefeedback-gcc; \
42960 mv stagefeedback-gcc gcc ; \
42961 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42962 @endif gcc
42963 @if intl
42964 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42965 mkdir stagefeedback-intl; \
42966 mv stagefeedback-intl intl ; \
42967 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42968 @endif intl
42969 @if ld
42970 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42971 mkdir stagefeedback-ld; \
42972 mv stagefeedback-ld ld ; \
42973 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42974 @endif ld
42975 @if libcpp
42976 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42977 mkdir stagefeedback-libcpp; \
42978 mv stagefeedback-libcpp libcpp ; \
42979 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42980 @endif libcpp
42981 @if libdecnumber
42982 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42983 mkdir stagefeedback-libdecnumber; \
42984 mv stagefeedback-libdecnumber libdecnumber ; \
42985 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42986 @endif libdecnumber
42987 @if libiberty
42988 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42989 mkdir stagefeedback-libiberty; \
42990 mv stagefeedback-libiberty libiberty ; \
42991 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42992 @endif libiberty
42993 @if zlib
42994 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42995 mkdir stagefeedback-zlib; \
42996 mv stagefeedback-zlib zlib ; \
42997 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42998 @endif zlib
42999 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
43000 mkdir stagefeedback-$(TARGET_SUBDIR); \
43001 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43002 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
43004 stagefeedback-end::
43005 @if bfd
43006 @if test -d $(HOST_SUBDIR)/bfd ; then \
43007 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
43008 mv prev-bfd stageprofile-bfd ; : ; \
43010 @endif bfd
43011 @if opcodes
43012 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43013 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
43014 mv prev-opcodes stageprofile-opcodes ; : ; \
43016 @endif opcodes
43017 @if binutils
43018 @if test -d $(HOST_SUBDIR)/binutils ; then \
43019 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
43020 mv prev-binutils stageprofile-binutils ; : ; \
43022 @endif binutils
43023 @if gas
43024 @if test -d $(HOST_SUBDIR)/gas ; then \
43025 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
43026 mv prev-gas stageprofile-gas ; : ; \
43028 @endif gas
43029 @if gcc
43030 @if test -d $(HOST_SUBDIR)/gcc ; then \
43031 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
43032 mv prev-gcc stageprofile-gcc ; : ; \
43034 @endif gcc
43035 @if intl
43036 @if test -d $(HOST_SUBDIR)/intl ; then \
43037 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43038 mv prev-intl stageprofile-intl ; : ; \
43040 @endif intl
43041 @if ld
43042 @if test -d $(HOST_SUBDIR)/ld ; then \
43043 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43044 mv prev-ld stageprofile-ld ; : ; \
43046 @endif ld
43047 @if libcpp
43048 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43049 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43050 mv prev-libcpp stageprofile-libcpp ; : ; \
43052 @endif libcpp
43053 @if libdecnumber
43054 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43055 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43056 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43058 @endif libdecnumber
43059 @if libiberty
43060 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43061 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43062 mv prev-libiberty stageprofile-libiberty ; : ; \
43064 @endif libiberty
43065 @if zlib
43066 @if test -d $(HOST_SUBDIR)/zlib ; then \
43067 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43068 mv prev-zlib stageprofile-zlib ; : ; \
43070 @endif zlib
43071 @if test -d $(TARGET_SUBDIR) ; then \
43072 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43073 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43075 rm -f stage_current
43077 # Bubble a bugfix through all the stages up to stage feedback. They are
43078 # remade, but not reconfigured. The next stage (if any) will not be
43079 # reconfigured as well.
43080 .PHONY: stagefeedback-bubble
43081 stagefeedback-bubble:: stageprofile-bubble
43082 @r=`${PWD_COMMAND}`; export r; \
43083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43084 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43085 echo Skipping rebuild of stagefeedback ; \
43086 else \
43087 $(MAKE) stagefeedback-start; \
43088 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43091 .PHONY: all-stagefeedback clean-stagefeedback
43092 do-clean: clean-stagefeedback
43094 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43095 # only possibility, but now it conflicts with no-bootstrap rules
43096 @if gcc-bootstrap
43100 .PHONY: profiledbootstrap profiledbootstrap-lean
43101 profiledbootstrap:
43102 echo stagefeedback > stage_final
43103 @r=`${PWD_COMMAND}`; export r; \
43104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43105 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43106 @: $(MAKE); $(unstage)
43107 @r=`${PWD_COMMAND}`; export r; \
43108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43109 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43111 profiledbootstrap-lean:
43112 echo stagefeedback > stage_final
43113 @r=`${PWD_COMMAND}`; export r; \
43114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43116 @: $(MAKE); $(unstage)
43117 @r=`${PWD_COMMAND}`; export r; \
43118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43119 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43122 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43123 distclean-stageprofile:: distclean-stagefeedback
43124 .PHONY: distclean-stagefeedback
43125 distclean-stagefeedback::
43126 @: $(MAKE); $(stage)
43127 rm -rf stagefeedback-*
43130 @endif gcc-bootstrap
43134 stageprofile-end::
43135 $(MAKE) distclean-stagefeedback
43137 stagefeedback-start::
43138 @r=`${PWD_COMMAND}`; export r; \
43139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43140 for i in prev-*; do \
43141 j=`echo $$i | sed s/^prev-//` ; \
43142 cd $$r/$$i && \
43143 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43144 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43145 done
43147 @if gcc-bootstrap
43148 do-distclean: distclean-stage1
43150 # Provide a GCC build when we're building target libraries. This does
43151 # not work as a dependency, just as the minimum necessary to avoid errors.
43152 stage_last:
43153 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43155 # Same as unstage, but not phony and defaulting to stage1-start. We place
43156 # it in the dependency so that for example `make -j3 all-gcc' works.
43157 stage_current:
43158 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43160 .PHONY: restrap
43161 restrap:
43162 @: $(MAKE); $(stage)
43163 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43164 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
43165 @endif gcc-bootstrap
43167 # --------------------------------------
43168 # Dependencies between different modules
43169 # --------------------------------------
43171 # Generic dependencies for target modules on host stuff, especially gcc
43172 @if gcc-bootstrap
43173 configure-target-libstdc++-v3: stage_last
43174 configure-target-libmudflap: stage_last
43175 configure-target-libssp: stage_last
43176 configure-target-newlib: stage_last
43177 configure-target-libgfortran: stage_last
43178 configure-target-libobjc: stage_last
43179 configure-target-libtermcap: stage_last
43180 configure-target-winsup: stage_last
43181 configure-target-libgloss: stage_last
43182 configure-target-libiberty: stage_last
43183 configure-target-gperf: stage_last
43184 configure-target-examples: stage_last
43185 configure-target-libffi: stage_last
43186 configure-target-libjava: stage_last
43187 configure-target-zlib: stage_last
43188 configure-target-boehm-gc: stage_last
43189 configure-target-qthreads: stage_last
43190 configure-target-rda: stage_last
43191 configure-target-libada: stage_last
43192 configure-target-libgomp: stage_last
43193 @endif gcc-bootstrap
43195 @if gcc-no-bootstrap
43196 configure-target-libstdc++-v3: maybe-all-gcc
43197 configure-target-libmudflap: maybe-all-gcc
43198 configure-target-libssp: maybe-all-gcc
43199 configure-target-newlib: maybe-all-gcc
43200 configure-target-libgfortran: maybe-all-gcc
43201 configure-target-libobjc: maybe-all-gcc
43202 configure-target-libtermcap: maybe-all-gcc
43203 configure-target-winsup: maybe-all-gcc
43204 configure-target-libgloss: maybe-all-gcc
43205 configure-target-libiberty: maybe-all-gcc
43206 configure-target-gperf: maybe-all-gcc
43207 configure-target-examples: maybe-all-gcc
43208 configure-target-libffi: maybe-all-gcc
43209 configure-target-libjava: maybe-all-gcc
43210 configure-target-zlib: maybe-all-gcc
43211 configure-target-boehm-gc: maybe-all-gcc
43212 configure-target-qthreads: maybe-all-gcc
43213 configure-target-rda: maybe-all-gcc
43214 configure-target-libada: maybe-all-gcc
43215 configure-target-libgomp: maybe-all-gcc
43216 @endif gcc-no-bootstrap
43220 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43222 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
43223 configure-target-gperf: maybe-all-target-libstdc++-v3
43225 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43227 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43229 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43231 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43232 configure-target-libjava: maybe-all-target-libstdc++-v3
43234 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43236 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43238 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43240 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43242 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43244 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
43246 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43248 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43250 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43252 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
43255 # There are two types of dependencies here: 'hard' dependencies, where one
43256 # module simply won't build without the other; and 'soft' dependencies, where
43257 # if the depended-on module is missing, the depending module will do without
43258 # or find a substitute somewhere (perhaps installed). Soft dependencies
43259 # are made here to depend on a 'maybe-' target. If you're not sure,
43260 # it's safer to use a soft dependency.
43267 # With all the machinery above in place, it is pretty easy to generate
43268 # dependencies. Host dependencies are a bit more complex because we have
43269 # to check for bootstrap/prebootstrap dependencies. To resolve
43270 # prebootstrap dependencies, prebootstrap modules are gathered in
43271 # a hash table.
43272 all-build-bison: maybe-all-build-texinfo
43273 all-build-byacc: maybe-all-build-texinfo
43274 all-build-flex: maybe-all-build-texinfo
43275 all-build-flex: maybe-all-build-bison
43276 all-build-flex: maybe-all-build-byacc
43277 all-build-flex: maybe-all-build-m4
43278 all-build-libiberty: maybe-all-build-texinfo
43279 all-build-m4: maybe-all-build-texinfo
43280 all-build-fixincludes: maybe-all-build-libiberty
43281 configure-gcc: maybe-configure-intl
43283 configure-stage1-gcc: maybe-configure-stage1-intl
43284 configure-stage2-gcc: maybe-configure-stage2-intl
43285 configure-stage3-gcc: maybe-configure-stage3-intl
43286 configure-stage4-gcc: maybe-configure-stage4-intl
43287 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43288 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43289 configure-gcc: maybe-all-binutils
43291 configure-stage1-gcc: maybe-all-stage1-binutils
43292 configure-stage2-gcc: maybe-all-stage2-binutils
43293 configure-stage3-gcc: maybe-all-stage3-binutils
43294 configure-stage4-gcc: maybe-all-stage4-binutils
43295 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43296 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43297 configure-gcc: maybe-all-gas
43299 configure-stage1-gcc: maybe-all-stage1-gas
43300 configure-stage2-gcc: maybe-all-stage2-gas
43301 configure-stage3-gcc: maybe-all-stage3-gas
43302 configure-stage4-gcc: maybe-all-stage4-gas
43303 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43304 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43305 configure-gcc: maybe-all-ld
43307 configure-stage1-gcc: maybe-all-stage1-ld
43308 configure-stage2-gcc: maybe-all-stage2-ld
43309 configure-stage3-gcc: maybe-all-stage3-ld
43310 configure-stage4-gcc: maybe-all-stage4-ld
43311 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43312 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43313 all-gcc: all-libiberty
43315 all-stage1-gcc: all-stage1-libiberty
43316 all-stage2-gcc: all-stage2-libiberty
43317 all-stage3-gcc: all-stage3-libiberty
43318 all-stage4-gcc: all-stage4-libiberty
43319 all-stageprofile-gcc: all-stageprofile-libiberty
43320 all-stagefeedback-gcc: all-stagefeedback-libiberty
43321 all-gcc: maybe-all-intl
43323 all-stage1-gcc: maybe-all-stage1-intl
43324 all-stage2-gcc: maybe-all-stage2-intl
43325 all-stage3-gcc: maybe-all-stage3-intl
43326 all-stage4-gcc: maybe-all-stage4-intl
43327 all-stageprofile-gcc: maybe-all-stageprofile-intl
43328 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43329 all-gcc: maybe-all-build-texinfo
43331 all-stage1-gcc: maybe-all-build-texinfo
43332 all-stage2-gcc: maybe-all-build-texinfo
43333 all-stage3-gcc: maybe-all-build-texinfo
43334 all-stage4-gcc: maybe-all-build-texinfo
43335 all-stageprofile-gcc: maybe-all-build-texinfo
43336 all-stagefeedback-gcc: maybe-all-build-texinfo
43337 all-prebootstrap: maybe-all-build-texinfo
43338 all-gcc: maybe-all-build-bison
43340 all-stage1-gcc: maybe-all-build-bison
43341 all-stage2-gcc: maybe-all-build-bison
43342 all-stage3-gcc: maybe-all-build-bison
43343 all-stage4-gcc: maybe-all-build-bison
43344 all-stageprofile-gcc: maybe-all-build-bison
43345 all-stagefeedback-gcc: maybe-all-build-bison
43346 all-prebootstrap: maybe-all-build-bison
43347 all-gcc: maybe-all-build-byacc
43349 all-stage1-gcc: maybe-all-build-byacc
43350 all-stage2-gcc: maybe-all-build-byacc
43351 all-stage3-gcc: maybe-all-build-byacc
43352 all-stage4-gcc: maybe-all-build-byacc
43353 all-stageprofile-gcc: maybe-all-build-byacc
43354 all-stagefeedback-gcc: maybe-all-build-byacc
43355 all-prebootstrap: maybe-all-build-byacc
43356 all-gcc: maybe-all-build-flex
43358 all-stage1-gcc: maybe-all-build-flex
43359 all-stage2-gcc: maybe-all-build-flex
43360 all-stage3-gcc: maybe-all-build-flex
43361 all-stage4-gcc: maybe-all-build-flex
43362 all-stageprofile-gcc: maybe-all-build-flex
43363 all-stagefeedback-gcc: maybe-all-build-flex
43364 all-prebootstrap: maybe-all-build-flex
43365 all-gcc: maybe-all-build-libiberty
43367 all-stage1-gcc: maybe-all-build-libiberty
43368 all-stage2-gcc: maybe-all-build-libiberty
43369 all-stage3-gcc: maybe-all-build-libiberty
43370 all-stage4-gcc: maybe-all-build-libiberty
43371 all-stageprofile-gcc: maybe-all-build-libiberty
43372 all-stagefeedback-gcc: maybe-all-build-libiberty
43373 all-prebootstrap: maybe-all-build-libiberty
43374 all-gcc: maybe-all-build-fixincludes
43376 all-stage1-gcc: maybe-all-build-fixincludes
43377 all-stage2-gcc: maybe-all-build-fixincludes
43378 all-stage3-gcc: maybe-all-build-fixincludes
43379 all-stage4-gcc: maybe-all-build-fixincludes
43380 all-stageprofile-gcc: maybe-all-build-fixincludes
43381 all-stagefeedback-gcc: maybe-all-build-fixincludes
43382 all-prebootstrap: maybe-all-build-fixincludes
43383 all-gcc: maybe-all-zlib
43385 all-stage1-gcc: maybe-all-stage1-zlib
43386 all-stage2-gcc: maybe-all-stage2-zlib
43387 all-stage3-gcc: maybe-all-stage3-zlib
43388 all-stage4-gcc: maybe-all-stage4-zlib
43389 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43390 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43391 all-gcc: all-libcpp
43393 all-stage1-gcc: all-stage1-libcpp
43394 all-stage2-gcc: all-stage2-libcpp
43395 all-stage3-gcc: all-stage3-libcpp
43396 all-stage4-gcc: all-stage4-libcpp
43397 all-stageprofile-gcc: all-stageprofile-libcpp
43398 all-stagefeedback-gcc: all-stagefeedback-libcpp
43399 all-gcc: all-libdecnumber
43401 all-stage1-gcc: all-stage1-libdecnumber
43402 all-stage2-gcc: all-stage2-libdecnumber
43403 all-stage3-gcc: all-stage3-libdecnumber
43404 all-stage4-gcc: all-stage4-libdecnumber
43405 all-stageprofile-gcc: all-stageprofile-libdecnumber
43406 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43407 all-gcc: maybe-all-libiberty
43409 all-stage1-gcc: maybe-all-stage1-libiberty
43410 all-stage2-gcc: maybe-all-stage2-libiberty
43411 all-stage3-gcc: maybe-all-stage3-libiberty
43412 all-stage4-gcc: maybe-all-stage4-libiberty
43413 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43414 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43415 all-gcc: maybe-all-fixincludes
43416 install-gcc: maybe-install-fixincludes
43417 configure-libcpp: configure-libiberty
43419 configure-stage1-libcpp: configure-stage1-libiberty
43420 configure-stage2-libcpp: configure-stage2-libiberty
43421 configure-stage3-libcpp: configure-stage3-libiberty
43422 configure-stage4-libcpp: configure-stage4-libiberty
43423 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43424 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43425 configure-libcpp: maybe-configure-intl
43427 configure-stage1-libcpp: maybe-configure-stage1-intl
43428 configure-stage2-libcpp: maybe-configure-stage2-intl
43429 configure-stage3-libcpp: maybe-configure-stage3-intl
43430 configure-stage4-libcpp: maybe-configure-stage4-intl
43431 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43432 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43433 all-libcpp: all-libiberty
43435 all-stage1-libcpp: all-stage1-libiberty
43436 all-stage2-libcpp: all-stage2-libiberty
43437 all-stage3-libcpp: all-stage3-libiberty
43438 all-stage4-libcpp: all-stage4-libiberty
43439 all-stageprofile-libcpp: all-stageprofile-libiberty
43440 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43441 all-libcpp: maybe-all-intl
43443 all-stage1-libcpp: maybe-all-stage1-intl
43444 all-stage2-libcpp: maybe-all-stage2-intl
43445 all-stage3-libcpp: maybe-all-stage3-intl
43446 all-stage4-libcpp: maybe-all-stage4-intl
43447 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43448 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43449 all-fixincludes: maybe-all-libiberty
43450 all-gnattools: maybe-all-target-libada
43451 configure-gdb: maybe-configure-intl
43452 configure-gdb: maybe-configure-sim
43453 all-gdb: maybe-all-intl
43454 all-gdb: maybe-all-libiberty
43455 all-gdb: maybe-all-opcodes
43456 all-gdb: maybe-all-bfd
43457 all-gdb: maybe-all-readline
43458 all-gdb: maybe-all-build-bison
43459 all-gdb: maybe-all-build-byacc
43460 all-gdb: maybe-all-sim
43461 configure-libgui: maybe-configure-tcl
43462 configure-libgui: maybe-configure-tk
43463 all-libgui: maybe-all-tcl
43464 all-libgui: maybe-all-tk
43465 all-libgui: maybe-all-itcl
43466 configure-bfd: configure-libiberty
43468 configure-stage1-bfd: configure-stage1-libiberty
43469 configure-stage2-bfd: configure-stage2-libiberty
43470 configure-stage3-bfd: configure-stage3-libiberty
43471 configure-stage4-bfd: configure-stage4-libiberty
43472 configure-stageprofile-bfd: configure-stageprofile-libiberty
43473 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43474 configure-bfd: maybe-configure-intl
43476 configure-stage1-bfd: maybe-configure-stage1-intl
43477 configure-stage2-bfd: maybe-configure-stage2-intl
43478 configure-stage3-bfd: maybe-configure-stage3-intl
43479 configure-stage4-bfd: maybe-configure-stage4-intl
43480 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43481 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43482 all-bfd: maybe-all-libiberty
43484 all-stage1-bfd: maybe-all-stage1-libiberty
43485 all-stage2-bfd: maybe-all-stage2-libiberty
43486 all-stage3-bfd: maybe-all-stage3-libiberty
43487 all-stage4-bfd: maybe-all-stage4-libiberty
43488 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43489 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43490 all-bfd: maybe-all-intl
43492 all-stage1-bfd: maybe-all-stage1-intl
43493 all-stage2-bfd: maybe-all-stage2-intl
43494 all-stage3-bfd: maybe-all-stage3-intl
43495 all-stage4-bfd: maybe-all-stage4-intl
43496 all-stageprofile-bfd: maybe-all-stageprofile-intl
43497 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43498 configure-binutils: maybe-configure-intl
43500 configure-stage1-binutils: maybe-configure-stage1-intl
43501 configure-stage2-binutils: maybe-configure-stage2-intl
43502 configure-stage3-binutils: maybe-configure-stage3-intl
43503 configure-stage4-binutils: maybe-configure-stage4-intl
43504 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43505 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43506 all-binutils: maybe-all-libiberty
43508 all-stage1-binutils: maybe-all-stage1-libiberty
43509 all-stage2-binutils: maybe-all-stage2-libiberty
43510 all-stage3-binutils: maybe-all-stage3-libiberty
43511 all-stage4-binutils: maybe-all-stage4-libiberty
43512 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43513 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43514 all-binutils: maybe-all-opcodes
43516 all-stage1-binutils: maybe-all-stage1-opcodes
43517 all-stage2-binutils: maybe-all-stage2-opcodes
43518 all-stage3-binutils: maybe-all-stage3-opcodes
43519 all-stage4-binutils: maybe-all-stage4-opcodes
43520 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43521 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43522 all-binutils: maybe-all-bfd
43524 all-stage1-binutils: maybe-all-stage1-bfd
43525 all-stage2-binutils: maybe-all-stage2-bfd
43526 all-stage3-binutils: maybe-all-stage3-bfd
43527 all-stage4-binutils: maybe-all-stage4-bfd
43528 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43529 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43530 all-binutils: maybe-all-build-flex
43532 all-stage1-binutils: maybe-all-build-flex
43533 all-stage2-binutils: maybe-all-build-flex
43534 all-stage3-binutils: maybe-all-build-flex
43535 all-stage4-binutils: maybe-all-build-flex
43536 all-stageprofile-binutils: maybe-all-build-flex
43537 all-stagefeedback-binutils: maybe-all-build-flex
43538 all-prebootstrap: maybe-all-build-flex
43539 all-binutils: maybe-all-build-bison
43541 all-stage1-binutils: maybe-all-build-bison
43542 all-stage2-binutils: maybe-all-build-bison
43543 all-stage3-binutils: maybe-all-build-bison
43544 all-stage4-binutils: maybe-all-build-bison
43545 all-stageprofile-binutils: maybe-all-build-bison
43546 all-stagefeedback-binutils: maybe-all-build-bison
43547 all-prebootstrap: maybe-all-build-bison
43548 all-binutils: maybe-all-build-byacc
43550 all-stage1-binutils: maybe-all-build-byacc
43551 all-stage2-binutils: maybe-all-build-byacc
43552 all-stage3-binutils: maybe-all-build-byacc
43553 all-stage4-binutils: maybe-all-build-byacc
43554 all-stageprofile-binutils: maybe-all-build-byacc
43555 all-stagefeedback-binutils: maybe-all-build-byacc
43556 all-prebootstrap: maybe-all-build-byacc
43557 all-binutils: maybe-all-intl
43559 all-stage1-binutils: maybe-all-stage1-intl
43560 all-stage2-binutils: maybe-all-stage2-intl
43561 all-stage3-binutils: maybe-all-stage3-intl
43562 all-stage4-binutils: maybe-all-stage4-intl
43563 all-stageprofile-binutils: maybe-all-stageprofile-intl
43564 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43565 install-binutils: maybe-install-opcodes
43566 install-opcodes: maybe-install-bfd
43567 configure-gas: maybe-configure-intl
43569 configure-stage1-gas: maybe-configure-stage1-intl
43570 configure-stage2-gas: maybe-configure-stage2-intl
43571 configure-stage3-gas: maybe-configure-stage3-intl
43572 configure-stage4-gas: maybe-configure-stage4-intl
43573 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43574 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43575 all-gas: maybe-all-libiberty
43577 all-stage1-gas: maybe-all-stage1-libiberty
43578 all-stage2-gas: maybe-all-stage2-libiberty
43579 all-stage3-gas: maybe-all-stage3-libiberty
43580 all-stage4-gas: maybe-all-stage4-libiberty
43581 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43582 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43583 all-gas: maybe-all-opcodes
43585 all-stage1-gas: maybe-all-stage1-opcodes
43586 all-stage2-gas: maybe-all-stage2-opcodes
43587 all-stage3-gas: maybe-all-stage3-opcodes
43588 all-stage4-gas: maybe-all-stage4-opcodes
43589 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43590 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43591 all-gas: maybe-all-bfd
43593 all-stage1-gas: maybe-all-stage1-bfd
43594 all-stage2-gas: maybe-all-stage2-bfd
43595 all-stage3-gas: maybe-all-stage3-bfd
43596 all-stage4-gas: maybe-all-stage4-bfd
43597 all-stageprofile-gas: maybe-all-stageprofile-bfd
43598 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43599 all-gas: maybe-all-intl
43601 all-stage1-gas: maybe-all-stage1-intl
43602 all-stage2-gas: maybe-all-stage2-intl
43603 all-stage3-gas: maybe-all-stage3-intl
43604 all-stage4-gas: maybe-all-stage4-intl
43605 all-stageprofile-gas: maybe-all-stageprofile-intl
43606 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43607 configure-gprof: maybe-configure-intl
43608 all-gprof: maybe-all-libiberty
43609 all-gprof: maybe-all-bfd
43610 all-gprof: maybe-all-opcodes
43611 all-gprof: maybe-all-intl
43612 configure-ld: maybe-configure-intl
43614 configure-stage1-ld: maybe-configure-stage1-intl
43615 configure-stage2-ld: maybe-configure-stage2-intl
43616 configure-stage3-ld: maybe-configure-stage3-intl
43617 configure-stage4-ld: maybe-configure-stage4-intl
43618 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43619 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43620 all-ld: maybe-all-libiberty
43622 all-stage1-ld: maybe-all-stage1-libiberty
43623 all-stage2-ld: maybe-all-stage2-libiberty
43624 all-stage3-ld: maybe-all-stage3-libiberty
43625 all-stage4-ld: maybe-all-stage4-libiberty
43626 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43627 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43628 all-ld: maybe-all-bfd
43630 all-stage1-ld: maybe-all-stage1-bfd
43631 all-stage2-ld: maybe-all-stage2-bfd
43632 all-stage3-ld: maybe-all-stage3-bfd
43633 all-stage4-ld: maybe-all-stage4-bfd
43634 all-stageprofile-ld: maybe-all-stageprofile-bfd
43635 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43636 all-ld: maybe-all-opcodes
43638 all-stage1-ld: maybe-all-stage1-opcodes
43639 all-stage2-ld: maybe-all-stage2-opcodes
43640 all-stage3-ld: maybe-all-stage3-opcodes
43641 all-stage4-ld: maybe-all-stage4-opcodes
43642 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43643 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43644 all-ld: maybe-all-build-bison
43646 all-stage1-ld: maybe-all-build-bison
43647 all-stage2-ld: maybe-all-build-bison
43648 all-stage3-ld: maybe-all-build-bison
43649 all-stage4-ld: maybe-all-build-bison
43650 all-stageprofile-ld: maybe-all-build-bison
43651 all-stagefeedback-ld: maybe-all-build-bison
43652 all-prebootstrap: maybe-all-build-bison
43653 all-ld: maybe-all-build-byacc
43655 all-stage1-ld: maybe-all-build-byacc
43656 all-stage2-ld: maybe-all-build-byacc
43657 all-stage3-ld: maybe-all-build-byacc
43658 all-stage4-ld: maybe-all-build-byacc
43659 all-stageprofile-ld: maybe-all-build-byacc
43660 all-stagefeedback-ld: maybe-all-build-byacc
43661 all-prebootstrap: maybe-all-build-byacc
43662 all-ld: maybe-all-build-flex
43664 all-stage1-ld: maybe-all-build-flex
43665 all-stage2-ld: maybe-all-build-flex
43666 all-stage3-ld: maybe-all-build-flex
43667 all-stage4-ld: maybe-all-build-flex
43668 all-stageprofile-ld: maybe-all-build-flex
43669 all-stagefeedback-ld: maybe-all-build-flex
43670 all-prebootstrap: maybe-all-build-flex
43671 all-ld: maybe-all-intl
43673 all-stage1-ld: maybe-all-stage1-intl
43674 all-stage2-ld: maybe-all-stage2-intl
43675 all-stage3-ld: maybe-all-stage3-intl
43676 all-stage4-ld: maybe-all-stage4-intl
43677 all-stageprofile-ld: maybe-all-stageprofile-intl
43678 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43679 configure-opcodes: maybe-configure-intl
43681 configure-stage1-opcodes: maybe-configure-stage1-intl
43682 configure-stage2-opcodes: maybe-configure-stage2-intl
43683 configure-stage3-opcodes: maybe-configure-stage3-intl
43684 configure-stage4-opcodes: maybe-configure-stage4-intl
43685 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43686 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43687 all-opcodes: maybe-all-bfd
43689 all-stage1-opcodes: maybe-all-stage1-bfd
43690 all-stage2-opcodes: maybe-all-stage2-bfd
43691 all-stage3-opcodes: maybe-all-stage3-bfd
43692 all-stage4-opcodes: maybe-all-stage4-bfd
43693 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43694 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43695 all-opcodes: maybe-all-libiberty
43697 all-stage1-opcodes: maybe-all-stage1-libiberty
43698 all-stage2-opcodes: maybe-all-stage2-libiberty
43699 all-stage3-opcodes: maybe-all-stage3-libiberty
43700 all-stage4-opcodes: maybe-all-stage4-libiberty
43701 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43702 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43703 all-opcodes: maybe-all-intl
43705 all-stage1-opcodes: maybe-all-stage1-intl
43706 all-stage2-opcodes: maybe-all-stage2-intl
43707 all-stage3-opcodes: maybe-all-stage3-intl
43708 all-stage4-opcodes: maybe-all-stage4-intl
43709 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43710 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43711 all-dejagnu: maybe-all-tcl
43712 all-dejagnu: maybe-all-expect
43713 all-dejagnu: maybe-all-tk
43714 configure-expect: maybe-configure-tcl
43715 configure-expect: maybe-configure-tk
43716 all-expect: maybe-all-tcl
43717 all-expect: maybe-all-tk
43718 configure-itcl: maybe-configure-tcl
43719 configure-itcl: maybe-configure-tk
43720 all-itcl: maybe-all-tcl
43721 all-itcl: maybe-all-tk
43722 install-itcl: maybe-install-tcl
43723 configure-tk: maybe-configure-tcl
43724 all-tk: maybe-all-tcl
43725 all-sid: maybe-all-libiberty
43726 all-sid: maybe-all-bfd
43727 all-sid: maybe-all-opcodes
43728 all-sid: maybe-all-tcl
43729 all-sid: maybe-all-tk
43730 install-sid: maybe-install-tcl
43731 install-sid: maybe-install-tk
43732 configure-sim: maybe-configure-intl
43733 all-sim: maybe-all-intl
43734 all-sim: maybe-all-libiberty
43735 all-sim: maybe-all-bfd
43736 all-sim: maybe-all-opcodes
43737 all-sim: maybe-all-readline
43738 all-sim: maybe-configure-gdb
43739 all-fastjar: maybe-all-zlib
43740 all-fastjar: maybe-all-build-texinfo
43741 all-fastjar: maybe-all-libiberty
43742 all-autoconf: maybe-all-m4
43743 all-autoconf: maybe-all-build-texinfo
43744 all-automake: maybe-all-m4
43745 all-automake: maybe-all-build-texinfo
43746 all-automake: maybe-all-autoconf
43747 all-bison: maybe-all-intl
43748 all-bison: maybe-all-build-texinfo
43749 all-diff: maybe-all-intl
43750 all-diff: maybe-all-build-texinfo
43751 all-fileutils: maybe-all-intl
43752 all-fileutils: maybe-all-build-texinfo
43753 all-flex: maybe-all-build-bison
43754 all-flex: maybe-all-build-byacc
43755 all-flex: maybe-all-intl
43756 all-flex: maybe-all-m4
43757 all-flex: maybe-all-build-texinfo
43758 all-gzip: maybe-all-intl
43759 all-gzip: maybe-all-zlib
43760 all-gzip: maybe-all-build-texinfo
43761 all-hello: maybe-all-intl
43762 all-hello: maybe-all-build-texinfo
43763 all-m4: maybe-all-intl
43764 all-m4: maybe-all-build-texinfo
43765 all-make: maybe-all-intl
43766 all-make: maybe-all-build-texinfo
43767 all-patch: maybe-all-build-texinfo
43768 all-make: maybe-all-build-texinfo
43769 all-prms: maybe-all-libiberty
43770 all-recode: maybe-all-build-texinfo
43771 all-sed: maybe-all-build-texinfo
43772 all-send-pr: maybe-all-prms
43773 all-tar: maybe-all-build-texinfo
43774 all-uudecode: maybe-all-build-texinfo
43775 configure-target-boehm-gc: maybe-configure-target-qthreads
43776 configure-target-fastjar: maybe-configure-target-zlib
43777 all-target-fastjar: maybe-all-target-zlib
43778 all-target-fastjar: maybe-all-target-libiberty
43779 configure-target-libjava: maybe-configure-target-zlib
43780 configure-target-libjava: maybe-configure-target-boehm-gc
43781 configure-target-libjava: maybe-configure-target-qthreads
43782 configure-target-libjava: maybe-configure-target-libffi
43783 all-target-libjava: maybe-all-fastjar
43784 all-target-libjava: maybe-all-target-zlib
43785 all-target-libjava: maybe-all-target-boehm-gc
43786 all-target-libjava: maybe-all-target-qthreads
43787 all-target-libjava: maybe-all-target-libffi
43788 configure-target-libobjc: maybe-configure-target-boehm-gc
43789 all-target-libobjc: maybe-all-target-libiberty
43790 all-target-libobjc: maybe-all-target-boehm-gc
43791 all-target-libstdc++-v3: maybe-all-target-libiberty
43792 install-target-libssp: maybe-install-gcc
43793 install-target-libgomp: maybe-install-gcc
43794 all-target-libgloss: maybe-configure-target-newlib
43795 all-target-winsup: maybe-all-target-libiberty
43796 all-target-winsup: maybe-all-target-libtermcap
43799 # Non-toplevel bootstrap rules must depend on several packages, to be built
43800 # before gcc. Another wart that will go away, hopefully soon.
43801 @if gcc-no-bootstrap
43803 all-prebootstrap: maybe-all-bfd
43804 all-prebootstrap: maybe-all-opcodes
43805 all-prebootstrap: maybe-all-binutils
43806 all-prebootstrap: maybe-all-gas
43807 all-prebootstrap: maybe-all-intl
43808 all-prebootstrap: maybe-all-ld
43809 all-prebootstrap: maybe-all-libcpp
43810 all-prebootstrap: maybe-all-libdecnumber
43811 all-prebootstrap: maybe-all-libiberty
43812 all-prebootstrap: maybe-all-zlib
43813 @endif gcc-no-bootstrap
43815 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43816 GDB_TK = @GDB_TK@
43817 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43818 configure-gdb: $(CONFIGURE_GDB_TK)
43819 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43820 install-gdb: $(INSTALL_GDB_TK)
43822 # Serialization dependencies. Host configures don't work well in parallel to
43823 # each other, due to contention over config.cache. Target configures and
43824 # build configures are similar.
43825 @serialization_dependencies@
43827 # --------------------------------
43828 # Regenerating top level configury
43829 # --------------------------------
43831 # Rebuilding Makefile.in, using autogen.
43832 AUTOGEN = autogen
43833 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43834 cd $(srcdir) && $(AUTOGEN) Makefile.def
43836 # Rebuilding Makefile.
43837 Makefile: $(srcdir)/Makefile.in config.status
43838 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43840 config.status: configure
43841 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43843 # Rebuilding configure.
43844 AUTOCONF = autoconf
43845 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
43846 cd $(srcdir) && $(AUTOCONF)
43848 # ------------------------------
43849 # Special directives to GNU Make
43850 # ------------------------------
43852 # Don't pass command-line variables to submakes.
43853 .NOEXPORT:
43854 MAKEOVERRIDES=
43856 # end of Makefile.in