daily update
[binutils.git] / Makefile.in
blob3e917139fa52179a9f1903f6cb5989ebe528a12c
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
84 GDB_NLM_DEPS =
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory. It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101 FLEX="$(FLEX)"; export FLEX; \
102 LEX="$(LEX)"; export LEX; \
103 BISON="$(BISON)"; export BISON; \
104 YACC="$(YACC)"; export YACC; \
105 M4="$(M4)"; export M4; \
106 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111 $(BASE_EXPORTS) \
112 AR="$(AR_FOR_BUILD)"; export AR; \
113 AS="$(AS_FOR_BUILD)"; export AS; \
114 CC="$(CC_FOR_BUILD)"; export CC; \
115 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117 CXX="$(CXX_FOR_BUILD)"; export CXX; \
118 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122 LD="$(LD_FOR_BUILD)"; export LD; \
123 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124 NM="$(NM_FOR_BUILD)"; export NM; \
125 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system. We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140 $(BASE_EXPORTS) \
141 CC="$(CC)"; export CC; \
142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144 CXX="$(CXX)"; export CXX; \
145 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146 AR="$(AR)"; export AR; \
147 AS="$(AS)"; export AS; \
148 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150 LD="$(LD)"; export LD; \
151 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152 NM="$(NM)"; export NM; \
153 RANLIB="$(RANLIB)"; export RANLIB; \
154 WINDRES="$(WINDRES)"; export WINDRES; \
155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
181 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
182 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
373 @if target-libgomp
374 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
375 @endif target-libgomp
379 # This is the list of directories that may be needed in RPATH_ENVVAR
380 # so that programs built for the host machine work.
381 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
383 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
384 @if gcc
385 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
386 @endif gcc
389 @if bfd
390 HOST_LIB_PATH_bfd = \
391 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
392 @endif bfd
394 @if opcodes
395 HOST_LIB_PATH_opcodes = \
396 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
397 @endif opcodes
400 # Flags to pass down to all sub-makes.
401 BASE_FLAGS_TO_PASS = \
402 "DESTDIR=$(DESTDIR)" \
403 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
404 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
405 "bindir=$(bindir)" \
406 "datadir=$(datadir)" \
407 "exec_prefix=$(exec_prefix)" \
408 "includedir=$(includedir)" \
409 "datarootdir=$(datarootdir)" \
410 "docdir=$(docdir)" \
411 "infodir=$(infodir)" \
412 "htmldir=$(htmldir)" \
413 "libdir=$(libdir)" \
414 "libexecdir=$(libexecdir)" \
415 "lispdir=$(lispdir)" \
416 "localstatedir=$(localstatedir)" \
417 "mandir=$(mandir)" \
418 "oldincludedir=$(oldincludedir)" \
419 "prefix=$(prefix)" \
420 "sbindir=$(sbindir)" \
421 "sharedstatedir=$(sharedstatedir)" \
422 "sysconfdir=$(sysconfdir)" \
423 "tooldir=$(tooldir)" \
424 "build_tooldir=$(build_tooldir)" \
425 "target_alias=$(target_alias)" \
426 "BISON=$(BISON)" \
427 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
428 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
429 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
430 "EXPECT=$(EXPECT)" \
431 "FLEX=$(FLEX)" \
432 "INSTALL=$(INSTALL)" \
433 "INSTALL_DATA=$(INSTALL_DATA)" \
434 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
435 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
436 "LEX=$(LEX)" \
437 "M4=$(M4)" \
438 "MAKE=$(MAKE)" \
439 "RUNTEST=$(RUNTEST)" \
440 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
441 "SHELL=$(SHELL)" \
442 "YACC=$(YACC)" \
443 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444 "AR_FLAGS=$(AR_FLAGS)" \
445 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
446 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
447 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
448 "CFLAGS=$(CFLAGS)" \
449 "CXXFLAGS=$(CXXFLAGS)" \
450 "LDFLAGS=$(LDFLAGS)" \
451 "LIBCFLAGS=$(LIBCFLAGS)" \
452 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
453 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
454 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
455 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
456 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
457 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
458 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
459 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
460 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
461 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
462 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
463 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
464 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
465 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
466 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
467 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
468 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
469 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
470 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
471 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
472 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
473 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
474 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
475 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
476 "LEAN=$(LEAN)" \
477 "CONFIG_SHELL=$(SHELL)" \
478 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
480 # We leave this in just in case, but it is not needed anymore.
481 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
483 # Flags to pass down to most sub-makes, in which we're building with
484 # the host environment.
485 EXTRA_HOST_FLAGS = \
486 'AR=$(AR)' \
487 'AS=$(AS)' \
488 'CC=$(CC)' \
489 'CXX=$(CXX)' \
490 'DLLTOOL=$(DLLTOOL)' \
491 'LD=$(LD)' \
492 'LIPO=$(LIPO)' \
493 'NM=$(NM)' \
494 'OBJDUMP=$(OBJDUMP)' \
495 'RANLIB=$(RANLIB)' \
496 'STRIP=$(STRIP)' \
497 'WINDRES=$(WINDRES)'
499 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
501 # Flags that are concerned with the location of the X11 include files
502 # and library files
504 # NOTE: until the top-level is getting the values via autoconf, it only
505 # causes problems to have this top-level Makefile overriding the autoconf-set
506 # values in child directories. Only variables that don't conflict with
507 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
509 X11_FLAGS_TO_PASS = \
510 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
511 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
513 # Flags to pass down to makes which are built with the target environment.
514 # The double $ decreases the length of the command line; those variables
515 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
516 # COMPILER_ prefixed variables are not passed down so we expand them here.
517 EXTRA_TARGET_FLAGS = \
518 'AR=$$(AR_FOR_TARGET)' \
519 'AS=$(COMPILER_AS_FOR_TARGET)' \
520 'CC=$$(CC_FOR_TARGET)' \
521 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
522 'CXX=$$(CXX_FOR_TARGET)' \
523 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
524 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
525 'LD=$(COMPILER_LD_FOR_TARGET)' \
526 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
527 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
528 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
529 'NM=$(COMPILER_NM_FOR_TARGET)' \
530 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
531 'RANLIB=$$(RANLIB_FOR_TARGET)' \
532 'WINDRES=$$(WINDRES_FOR_TARGET)'
534 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
536 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
537 # unfortunately needs the native compiler and the target ar and
538 # ranlib.
539 # If any variables are added here, they must be added to do-*, below.
540 # The BUILD_* variables are a special case, which are used for the gcc
541 # cross-building scheme.
542 EXTRA_GCC_FLAGS = \
543 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
544 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
547 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
550 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
552 .PHONY: configure-host
553 configure-host: \
554 maybe-configure-ash \
555 maybe-configure-autoconf \
556 maybe-configure-automake \
557 maybe-configure-bash \
558 maybe-configure-bfd \
559 maybe-configure-opcodes \
560 maybe-configure-binutils \
561 maybe-configure-bison \
562 maybe-configure-byacc \
563 maybe-configure-bzip2 \
564 maybe-configure-dejagnu \
565 maybe-configure-diff \
566 maybe-configure-dosutils \
567 maybe-configure-etc \
568 maybe-configure-fastjar \
569 maybe-configure-fileutils \
570 maybe-configure-findutils \
571 maybe-configure-find \
572 maybe-configure-fixincludes \
573 maybe-configure-flex \
574 maybe-configure-gas \
575 maybe-configure-gcc \
576 maybe-configure-gawk \
577 maybe-configure-gettext \
578 maybe-configure-gnuserv \
579 maybe-configure-gprof \
580 maybe-configure-gzip \
581 maybe-configure-hello \
582 maybe-configure-indent \
583 maybe-configure-intl \
584 maybe-configure-tcl \
585 maybe-configure-itcl \
586 maybe-configure-ld \
587 maybe-configure-libcpp \
588 maybe-configure-libdecnumber \
589 maybe-configure-libgui \
590 maybe-configure-libiberty \
591 maybe-configure-libtool \
592 maybe-configure-m4 \
593 maybe-configure-make \
594 maybe-configure-mmalloc \
595 maybe-configure-patch \
596 maybe-configure-perl \
597 maybe-configure-prms \
598 maybe-configure-rcs \
599 maybe-configure-readline \
600 maybe-configure-release \
601 maybe-configure-recode \
602 maybe-configure-sed \
603 maybe-configure-send-pr \
604 maybe-configure-shellutils \
605 maybe-configure-sid \
606 maybe-configure-sim \
607 maybe-configure-tar \
608 maybe-configure-texinfo \
609 maybe-configure-textutils \
610 maybe-configure-time \
611 maybe-configure-uudecode \
612 maybe-configure-wdiff \
613 maybe-configure-zip \
614 maybe-configure-zlib \
615 maybe-configure-gdb \
616 maybe-configure-expect \
617 maybe-configure-guile \
618 maybe-configure-tk \
619 maybe-configure-libtermcap \
620 maybe-configure-utils \
621 maybe-configure-gnattools
622 .PHONY: configure-target
623 configure-target: \
624 maybe-configure-target-libstdc++-v3 \
625 maybe-configure-target-libmudflap \
626 maybe-configure-target-libssp \
627 maybe-configure-target-newlib \
628 maybe-configure-target-libgfortran \
629 maybe-configure-target-libobjc \
630 maybe-configure-target-libtermcap \
631 maybe-configure-target-winsup \
632 maybe-configure-target-libgloss \
633 maybe-configure-target-libiberty \
634 maybe-configure-target-gperf \
635 maybe-configure-target-examples \
636 maybe-configure-target-libffi \
637 maybe-configure-target-libjava \
638 maybe-configure-target-zlib \
639 maybe-configure-target-boehm-gc \
640 maybe-configure-target-qthreads \
641 maybe-configure-target-rda \
642 maybe-configure-target-libada \
643 maybe-configure-target-libgomp
645 # The target built for a native non-bootstrap build.
646 .PHONY: all
647 all:
648 @if gcc-bootstrap
649 [ -f stage_final ] || echo stage3 > stage_final
650 @r=`${PWD_COMMAND}`; export r; \
651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
653 @endif gcc-bootstrap
654 @: $(MAKE); $(unstage)
655 @r=`${PWD_COMMAND}`; export r; \
656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
657 if [ -f stage_last ]; then \
658 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
659 else \
660 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
663 .PHONY: all-build
665 all-build: maybe-all-build-libiberty
666 all-build: maybe-all-build-bison
667 all-build: maybe-all-build-byacc
668 all-build: maybe-all-build-flex
669 all-build: maybe-all-build-m4
670 all-build: maybe-all-build-texinfo
671 all-build: maybe-all-build-fixincludes
673 .PHONY: all-host
675 all-host: maybe-all-ash
676 all-host: maybe-all-autoconf
677 all-host: maybe-all-automake
678 all-host: maybe-all-bash
679 @if bfd-no-bootstrap
680 all-host: maybe-all-bfd
681 @endif bfd-no-bootstrap
682 @if opcodes-no-bootstrap
683 all-host: maybe-all-opcodes
684 @endif opcodes-no-bootstrap
685 @if binutils-no-bootstrap
686 all-host: maybe-all-binutils
687 @endif binutils-no-bootstrap
688 all-host: maybe-all-bison
689 all-host: maybe-all-byacc
690 all-host: maybe-all-bzip2
691 all-host: maybe-all-dejagnu
692 all-host: maybe-all-diff
693 all-host: maybe-all-dosutils
694 all-host: maybe-all-etc
695 all-host: maybe-all-fastjar
696 all-host: maybe-all-fileutils
697 all-host: maybe-all-findutils
698 all-host: maybe-all-find
699 all-host: maybe-all-fixincludes
700 all-host: maybe-all-flex
701 @if gas-no-bootstrap
702 all-host: maybe-all-gas
703 @endif gas-no-bootstrap
704 @if gcc-no-bootstrap
705 all-host: maybe-all-gcc
706 @endif gcc-no-bootstrap
707 all-host: maybe-all-gawk
708 all-host: maybe-all-gettext
709 all-host: maybe-all-gnuserv
710 all-host: maybe-all-gprof
711 all-host: maybe-all-gzip
712 all-host: maybe-all-hello
713 all-host: maybe-all-indent
714 @if intl-no-bootstrap
715 all-host: maybe-all-intl
716 @endif intl-no-bootstrap
717 all-host: maybe-all-tcl
718 all-host: maybe-all-itcl
719 @if ld-no-bootstrap
720 all-host: maybe-all-ld
721 @endif ld-no-bootstrap
722 @if libcpp-no-bootstrap
723 all-host: maybe-all-libcpp
724 @endif libcpp-no-bootstrap
725 @if libdecnumber-no-bootstrap
726 all-host: maybe-all-libdecnumber
727 @endif libdecnumber-no-bootstrap
728 all-host: maybe-all-libgui
729 @if libiberty-no-bootstrap
730 all-host: maybe-all-libiberty
731 @endif libiberty-no-bootstrap
732 all-host: maybe-all-libtool
733 all-host: maybe-all-m4
734 all-host: maybe-all-make
735 all-host: maybe-all-mmalloc
736 all-host: maybe-all-patch
737 all-host: maybe-all-perl
738 all-host: maybe-all-prms
739 all-host: maybe-all-rcs
740 all-host: maybe-all-readline
741 all-host: maybe-all-release
742 all-host: maybe-all-recode
743 all-host: maybe-all-sed
744 all-host: maybe-all-send-pr
745 all-host: maybe-all-shellutils
746 all-host: maybe-all-sid
747 all-host: maybe-all-sim
748 all-host: maybe-all-tar
749 all-host: maybe-all-texinfo
750 all-host: maybe-all-textutils
751 all-host: maybe-all-time
752 all-host: maybe-all-uudecode
753 all-host: maybe-all-wdiff
754 all-host: maybe-all-zip
755 @if zlib-no-bootstrap
756 all-host: maybe-all-zlib
757 @endif zlib-no-bootstrap
758 all-host: maybe-all-gdb
759 all-host: maybe-all-expect
760 all-host: maybe-all-guile
761 all-host: maybe-all-tk
762 all-host: maybe-all-libtermcap
763 all-host: maybe-all-utils
764 all-host: maybe-all-gnattools
766 .PHONY: all-target
768 all-target: maybe-all-target-libstdc++-v3
769 all-target: maybe-all-target-libmudflap
770 all-target: maybe-all-target-libssp
771 all-target: maybe-all-target-newlib
772 all-target: maybe-all-target-libgfortran
773 all-target: maybe-all-target-libobjc
774 all-target: maybe-all-target-libtermcap
775 all-target: maybe-all-target-winsup
776 all-target: maybe-all-target-libgloss
777 all-target: maybe-all-target-libiberty
778 all-target: maybe-all-target-gperf
779 all-target: maybe-all-target-examples
780 all-target: maybe-all-target-libffi
781 all-target: maybe-all-target-libjava
782 all-target: maybe-all-target-zlib
783 all-target: maybe-all-target-boehm-gc
784 all-target: maybe-all-target-qthreads
785 all-target: maybe-all-target-rda
786 all-target: maybe-all-target-libada
787 all-target: maybe-all-target-libgomp
789 # Do a target for all the subdirectories. A ``make do-X'' will do a
790 # ``make X'' in all subdirectories (because, in general, there is a
791 # dependency (below) of X upon do-X, a ``make X'' will also do this,
792 # but it may do additional work as well).
794 .PHONY: do-info
795 do-info:
796 @: $(MAKE); $(unstage)
797 @r=`${PWD_COMMAND}`; export r; \
798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
800 info-target
803 .PHONY: info-host
805 info-host: maybe-info-ash
806 info-host: maybe-info-autoconf
807 info-host: maybe-info-automake
808 info-host: maybe-info-bash
809 info-host: maybe-info-bfd
810 info-host: maybe-info-opcodes
811 info-host: maybe-info-binutils
812 info-host: maybe-info-bison
813 info-host: maybe-info-byacc
814 info-host: maybe-info-bzip2
815 info-host: maybe-info-dejagnu
816 info-host: maybe-info-diff
817 info-host: maybe-info-dosutils
818 info-host: maybe-info-etc
819 info-host: maybe-info-fastjar
820 info-host: maybe-info-fileutils
821 info-host: maybe-info-findutils
822 info-host: maybe-info-find
823 info-host: maybe-info-fixincludes
824 info-host: maybe-info-flex
825 info-host: maybe-info-gas
826 info-host: maybe-info-gcc
827 info-host: maybe-info-gawk
828 info-host: maybe-info-gettext
829 info-host: maybe-info-gnuserv
830 info-host: maybe-info-gprof
831 info-host: maybe-info-gzip
832 info-host: maybe-info-hello
833 info-host: maybe-info-indent
834 info-host: maybe-info-intl
835 info-host: maybe-info-tcl
836 info-host: maybe-info-itcl
837 info-host: maybe-info-ld
838 info-host: maybe-info-libcpp
839 info-host: maybe-info-libdecnumber
840 info-host: maybe-info-libgui
841 info-host: maybe-info-libiberty
842 info-host: maybe-info-libtool
843 info-host: maybe-info-m4
844 info-host: maybe-info-make
845 info-host: maybe-info-mmalloc
846 info-host: maybe-info-patch
847 info-host: maybe-info-perl
848 info-host: maybe-info-prms
849 info-host: maybe-info-rcs
850 info-host: maybe-info-readline
851 info-host: maybe-info-release
852 info-host: maybe-info-recode
853 info-host: maybe-info-sed
854 info-host: maybe-info-send-pr
855 info-host: maybe-info-shellutils
856 info-host: maybe-info-sid
857 info-host: maybe-info-sim
858 info-host: maybe-info-tar
859 info-host: maybe-info-texinfo
860 info-host: maybe-info-textutils
861 info-host: maybe-info-time
862 info-host: maybe-info-uudecode
863 info-host: maybe-info-wdiff
864 info-host: maybe-info-zip
865 info-host: maybe-info-zlib
866 info-host: maybe-info-gdb
867 info-host: maybe-info-expect
868 info-host: maybe-info-guile
869 info-host: maybe-info-tk
870 info-host: maybe-info-libtermcap
871 info-host: maybe-info-utils
872 info-host: maybe-info-gnattools
874 .PHONY: info-target
876 info-target: maybe-info-target-libstdc++-v3
877 info-target: maybe-info-target-libmudflap
878 info-target: maybe-info-target-libssp
879 info-target: maybe-info-target-newlib
880 info-target: maybe-info-target-libgfortran
881 info-target: maybe-info-target-libobjc
882 info-target: maybe-info-target-libtermcap
883 info-target: maybe-info-target-winsup
884 info-target: maybe-info-target-libgloss
885 info-target: maybe-info-target-libiberty
886 info-target: maybe-info-target-gperf
887 info-target: maybe-info-target-examples
888 info-target: maybe-info-target-libffi
889 info-target: maybe-info-target-libjava
890 info-target: maybe-info-target-zlib
891 info-target: maybe-info-target-boehm-gc
892 info-target: maybe-info-target-qthreads
893 info-target: maybe-info-target-rda
894 info-target: maybe-info-target-libada
895 info-target: maybe-info-target-libgomp
897 .PHONY: do-dvi
898 do-dvi:
899 @: $(MAKE); $(unstage)
900 @r=`${PWD_COMMAND}`; export r; \
901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
903 dvi-target
906 .PHONY: dvi-host
908 dvi-host: maybe-dvi-ash
909 dvi-host: maybe-dvi-autoconf
910 dvi-host: maybe-dvi-automake
911 dvi-host: maybe-dvi-bash
912 dvi-host: maybe-dvi-bfd
913 dvi-host: maybe-dvi-opcodes
914 dvi-host: maybe-dvi-binutils
915 dvi-host: maybe-dvi-bison
916 dvi-host: maybe-dvi-byacc
917 dvi-host: maybe-dvi-bzip2
918 dvi-host: maybe-dvi-dejagnu
919 dvi-host: maybe-dvi-diff
920 dvi-host: maybe-dvi-dosutils
921 dvi-host: maybe-dvi-etc
922 dvi-host: maybe-dvi-fastjar
923 dvi-host: maybe-dvi-fileutils
924 dvi-host: maybe-dvi-findutils
925 dvi-host: maybe-dvi-find
926 dvi-host: maybe-dvi-fixincludes
927 dvi-host: maybe-dvi-flex
928 dvi-host: maybe-dvi-gas
929 dvi-host: maybe-dvi-gcc
930 dvi-host: maybe-dvi-gawk
931 dvi-host: maybe-dvi-gettext
932 dvi-host: maybe-dvi-gnuserv
933 dvi-host: maybe-dvi-gprof
934 dvi-host: maybe-dvi-gzip
935 dvi-host: maybe-dvi-hello
936 dvi-host: maybe-dvi-indent
937 dvi-host: maybe-dvi-intl
938 dvi-host: maybe-dvi-tcl
939 dvi-host: maybe-dvi-itcl
940 dvi-host: maybe-dvi-ld
941 dvi-host: maybe-dvi-libcpp
942 dvi-host: maybe-dvi-libdecnumber
943 dvi-host: maybe-dvi-libgui
944 dvi-host: maybe-dvi-libiberty
945 dvi-host: maybe-dvi-libtool
946 dvi-host: maybe-dvi-m4
947 dvi-host: maybe-dvi-make
948 dvi-host: maybe-dvi-mmalloc
949 dvi-host: maybe-dvi-patch
950 dvi-host: maybe-dvi-perl
951 dvi-host: maybe-dvi-prms
952 dvi-host: maybe-dvi-rcs
953 dvi-host: maybe-dvi-readline
954 dvi-host: maybe-dvi-release
955 dvi-host: maybe-dvi-recode
956 dvi-host: maybe-dvi-sed
957 dvi-host: maybe-dvi-send-pr
958 dvi-host: maybe-dvi-shellutils
959 dvi-host: maybe-dvi-sid
960 dvi-host: maybe-dvi-sim
961 dvi-host: maybe-dvi-tar
962 dvi-host: maybe-dvi-texinfo
963 dvi-host: maybe-dvi-textutils
964 dvi-host: maybe-dvi-time
965 dvi-host: maybe-dvi-uudecode
966 dvi-host: maybe-dvi-wdiff
967 dvi-host: maybe-dvi-zip
968 dvi-host: maybe-dvi-zlib
969 dvi-host: maybe-dvi-gdb
970 dvi-host: maybe-dvi-expect
971 dvi-host: maybe-dvi-guile
972 dvi-host: maybe-dvi-tk
973 dvi-host: maybe-dvi-libtermcap
974 dvi-host: maybe-dvi-utils
975 dvi-host: maybe-dvi-gnattools
977 .PHONY: dvi-target
979 dvi-target: maybe-dvi-target-libstdc++-v3
980 dvi-target: maybe-dvi-target-libmudflap
981 dvi-target: maybe-dvi-target-libssp
982 dvi-target: maybe-dvi-target-newlib
983 dvi-target: maybe-dvi-target-libgfortran
984 dvi-target: maybe-dvi-target-libobjc
985 dvi-target: maybe-dvi-target-libtermcap
986 dvi-target: maybe-dvi-target-winsup
987 dvi-target: maybe-dvi-target-libgloss
988 dvi-target: maybe-dvi-target-libiberty
989 dvi-target: maybe-dvi-target-gperf
990 dvi-target: maybe-dvi-target-examples
991 dvi-target: maybe-dvi-target-libffi
992 dvi-target: maybe-dvi-target-libjava
993 dvi-target: maybe-dvi-target-zlib
994 dvi-target: maybe-dvi-target-boehm-gc
995 dvi-target: maybe-dvi-target-qthreads
996 dvi-target: maybe-dvi-target-rda
997 dvi-target: maybe-dvi-target-libada
998 dvi-target: maybe-dvi-target-libgomp
1000 .PHONY: do-pdf
1001 do-pdf:
1002 @: $(MAKE); $(unstage)
1003 @r=`${PWD_COMMAND}`; export r; \
1004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1006 pdf-target
1009 .PHONY: pdf-host
1011 pdf-host: maybe-pdf-ash
1012 pdf-host: maybe-pdf-autoconf
1013 pdf-host: maybe-pdf-automake
1014 pdf-host: maybe-pdf-bash
1015 pdf-host: maybe-pdf-bfd
1016 pdf-host: maybe-pdf-opcodes
1017 pdf-host: maybe-pdf-binutils
1018 pdf-host: maybe-pdf-bison
1019 pdf-host: maybe-pdf-byacc
1020 pdf-host: maybe-pdf-bzip2
1021 pdf-host: maybe-pdf-dejagnu
1022 pdf-host: maybe-pdf-diff
1023 pdf-host: maybe-pdf-dosutils
1024 pdf-host: maybe-pdf-etc
1025 pdf-host: maybe-pdf-fastjar
1026 pdf-host: maybe-pdf-fileutils
1027 pdf-host: maybe-pdf-findutils
1028 pdf-host: maybe-pdf-find
1029 pdf-host: maybe-pdf-fixincludes
1030 pdf-host: maybe-pdf-flex
1031 pdf-host: maybe-pdf-gas
1032 pdf-host: maybe-pdf-gcc
1033 pdf-host: maybe-pdf-gawk
1034 pdf-host: maybe-pdf-gettext
1035 pdf-host: maybe-pdf-gnuserv
1036 pdf-host: maybe-pdf-gprof
1037 pdf-host: maybe-pdf-gzip
1038 pdf-host: maybe-pdf-hello
1039 pdf-host: maybe-pdf-indent
1040 pdf-host: maybe-pdf-intl
1041 pdf-host: maybe-pdf-tcl
1042 pdf-host: maybe-pdf-itcl
1043 pdf-host: maybe-pdf-ld
1044 pdf-host: maybe-pdf-libcpp
1045 pdf-host: maybe-pdf-libdecnumber
1046 pdf-host: maybe-pdf-libgui
1047 pdf-host: maybe-pdf-libiberty
1048 pdf-host: maybe-pdf-libtool
1049 pdf-host: maybe-pdf-m4
1050 pdf-host: maybe-pdf-make
1051 pdf-host: maybe-pdf-mmalloc
1052 pdf-host: maybe-pdf-patch
1053 pdf-host: maybe-pdf-perl
1054 pdf-host: maybe-pdf-prms
1055 pdf-host: maybe-pdf-rcs
1056 pdf-host: maybe-pdf-readline
1057 pdf-host: maybe-pdf-release
1058 pdf-host: maybe-pdf-recode
1059 pdf-host: maybe-pdf-sed
1060 pdf-host: maybe-pdf-send-pr
1061 pdf-host: maybe-pdf-shellutils
1062 pdf-host: maybe-pdf-sid
1063 pdf-host: maybe-pdf-sim
1064 pdf-host: maybe-pdf-tar
1065 pdf-host: maybe-pdf-texinfo
1066 pdf-host: maybe-pdf-textutils
1067 pdf-host: maybe-pdf-time
1068 pdf-host: maybe-pdf-uudecode
1069 pdf-host: maybe-pdf-wdiff
1070 pdf-host: maybe-pdf-zip
1071 pdf-host: maybe-pdf-zlib
1072 pdf-host: maybe-pdf-gdb
1073 pdf-host: maybe-pdf-expect
1074 pdf-host: maybe-pdf-guile
1075 pdf-host: maybe-pdf-tk
1076 pdf-host: maybe-pdf-libtermcap
1077 pdf-host: maybe-pdf-utils
1078 pdf-host: maybe-pdf-gnattools
1080 .PHONY: pdf-target
1082 pdf-target: maybe-pdf-target-libstdc++-v3
1083 pdf-target: maybe-pdf-target-libmudflap
1084 pdf-target: maybe-pdf-target-libssp
1085 pdf-target: maybe-pdf-target-newlib
1086 pdf-target: maybe-pdf-target-libgfortran
1087 pdf-target: maybe-pdf-target-libobjc
1088 pdf-target: maybe-pdf-target-libtermcap
1089 pdf-target: maybe-pdf-target-winsup
1090 pdf-target: maybe-pdf-target-libgloss
1091 pdf-target: maybe-pdf-target-libiberty
1092 pdf-target: maybe-pdf-target-gperf
1093 pdf-target: maybe-pdf-target-examples
1094 pdf-target: maybe-pdf-target-libffi
1095 pdf-target: maybe-pdf-target-libjava
1096 pdf-target: maybe-pdf-target-zlib
1097 pdf-target: maybe-pdf-target-boehm-gc
1098 pdf-target: maybe-pdf-target-qthreads
1099 pdf-target: maybe-pdf-target-rda
1100 pdf-target: maybe-pdf-target-libada
1101 pdf-target: maybe-pdf-target-libgomp
1103 .PHONY: do-html
1104 do-html:
1105 @: $(MAKE); $(unstage)
1106 @r=`${PWD_COMMAND}`; export r; \
1107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1109 html-target
1112 .PHONY: html-host
1114 html-host: maybe-html-ash
1115 html-host: maybe-html-autoconf
1116 html-host: maybe-html-automake
1117 html-host: maybe-html-bash
1118 html-host: maybe-html-bfd
1119 html-host: maybe-html-opcodes
1120 html-host: maybe-html-binutils
1121 html-host: maybe-html-bison
1122 html-host: maybe-html-byacc
1123 html-host: maybe-html-bzip2
1124 html-host: maybe-html-dejagnu
1125 html-host: maybe-html-diff
1126 html-host: maybe-html-dosutils
1127 html-host: maybe-html-etc
1128 html-host: maybe-html-fastjar
1129 html-host: maybe-html-fileutils
1130 html-host: maybe-html-findutils
1131 html-host: maybe-html-find
1132 html-host: maybe-html-fixincludes
1133 html-host: maybe-html-flex
1134 html-host: maybe-html-gas
1135 html-host: maybe-html-gcc
1136 html-host: maybe-html-gawk
1137 html-host: maybe-html-gettext
1138 html-host: maybe-html-gnuserv
1139 html-host: maybe-html-gprof
1140 html-host: maybe-html-gzip
1141 html-host: maybe-html-hello
1142 html-host: maybe-html-indent
1143 html-host: maybe-html-intl
1144 html-host: maybe-html-tcl
1145 html-host: maybe-html-itcl
1146 html-host: maybe-html-ld
1147 html-host: maybe-html-libcpp
1148 html-host: maybe-html-libdecnumber
1149 html-host: maybe-html-libgui
1150 html-host: maybe-html-libiberty
1151 html-host: maybe-html-libtool
1152 html-host: maybe-html-m4
1153 html-host: maybe-html-make
1154 html-host: maybe-html-mmalloc
1155 html-host: maybe-html-patch
1156 html-host: maybe-html-perl
1157 html-host: maybe-html-prms
1158 html-host: maybe-html-rcs
1159 html-host: maybe-html-readline
1160 html-host: maybe-html-release
1161 html-host: maybe-html-recode
1162 html-host: maybe-html-sed
1163 html-host: maybe-html-send-pr
1164 html-host: maybe-html-shellutils
1165 html-host: maybe-html-sid
1166 html-host: maybe-html-sim
1167 html-host: maybe-html-tar
1168 html-host: maybe-html-texinfo
1169 html-host: maybe-html-textutils
1170 html-host: maybe-html-time
1171 html-host: maybe-html-uudecode
1172 html-host: maybe-html-wdiff
1173 html-host: maybe-html-zip
1174 html-host: maybe-html-zlib
1175 html-host: maybe-html-gdb
1176 html-host: maybe-html-expect
1177 html-host: maybe-html-guile
1178 html-host: maybe-html-tk
1179 html-host: maybe-html-libtermcap
1180 html-host: maybe-html-utils
1181 html-host: maybe-html-gnattools
1183 .PHONY: html-target
1185 html-target: maybe-html-target-libstdc++-v3
1186 html-target: maybe-html-target-libmudflap
1187 html-target: maybe-html-target-libssp
1188 html-target: maybe-html-target-newlib
1189 html-target: maybe-html-target-libgfortran
1190 html-target: maybe-html-target-libobjc
1191 html-target: maybe-html-target-libtermcap
1192 html-target: maybe-html-target-winsup
1193 html-target: maybe-html-target-libgloss
1194 html-target: maybe-html-target-libiberty
1195 html-target: maybe-html-target-gperf
1196 html-target: maybe-html-target-examples
1197 html-target: maybe-html-target-libffi
1198 html-target: maybe-html-target-libjava
1199 html-target: maybe-html-target-zlib
1200 html-target: maybe-html-target-boehm-gc
1201 html-target: maybe-html-target-qthreads
1202 html-target: maybe-html-target-rda
1203 html-target: maybe-html-target-libada
1204 html-target: maybe-html-target-libgomp
1206 .PHONY: do-TAGS
1207 do-TAGS:
1208 @: $(MAKE); $(unstage)
1209 @r=`${PWD_COMMAND}`; export r; \
1210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1212 TAGS-target
1215 .PHONY: TAGS-host
1217 TAGS-host: maybe-TAGS-ash
1218 TAGS-host: maybe-TAGS-autoconf
1219 TAGS-host: maybe-TAGS-automake
1220 TAGS-host: maybe-TAGS-bash
1221 TAGS-host: maybe-TAGS-bfd
1222 TAGS-host: maybe-TAGS-opcodes
1223 TAGS-host: maybe-TAGS-binutils
1224 TAGS-host: maybe-TAGS-bison
1225 TAGS-host: maybe-TAGS-byacc
1226 TAGS-host: maybe-TAGS-bzip2
1227 TAGS-host: maybe-TAGS-dejagnu
1228 TAGS-host: maybe-TAGS-diff
1229 TAGS-host: maybe-TAGS-dosutils
1230 TAGS-host: maybe-TAGS-etc
1231 TAGS-host: maybe-TAGS-fastjar
1232 TAGS-host: maybe-TAGS-fileutils
1233 TAGS-host: maybe-TAGS-findutils
1234 TAGS-host: maybe-TAGS-find
1235 TAGS-host: maybe-TAGS-fixincludes
1236 TAGS-host: maybe-TAGS-flex
1237 TAGS-host: maybe-TAGS-gas
1238 TAGS-host: maybe-TAGS-gcc
1239 TAGS-host: maybe-TAGS-gawk
1240 TAGS-host: maybe-TAGS-gettext
1241 TAGS-host: maybe-TAGS-gnuserv
1242 TAGS-host: maybe-TAGS-gprof
1243 TAGS-host: maybe-TAGS-gzip
1244 TAGS-host: maybe-TAGS-hello
1245 TAGS-host: maybe-TAGS-indent
1246 TAGS-host: maybe-TAGS-intl
1247 TAGS-host: maybe-TAGS-tcl
1248 TAGS-host: maybe-TAGS-itcl
1249 TAGS-host: maybe-TAGS-ld
1250 TAGS-host: maybe-TAGS-libcpp
1251 TAGS-host: maybe-TAGS-libdecnumber
1252 TAGS-host: maybe-TAGS-libgui
1253 TAGS-host: maybe-TAGS-libiberty
1254 TAGS-host: maybe-TAGS-libtool
1255 TAGS-host: maybe-TAGS-m4
1256 TAGS-host: maybe-TAGS-make
1257 TAGS-host: maybe-TAGS-mmalloc
1258 TAGS-host: maybe-TAGS-patch
1259 TAGS-host: maybe-TAGS-perl
1260 TAGS-host: maybe-TAGS-prms
1261 TAGS-host: maybe-TAGS-rcs
1262 TAGS-host: maybe-TAGS-readline
1263 TAGS-host: maybe-TAGS-release
1264 TAGS-host: maybe-TAGS-recode
1265 TAGS-host: maybe-TAGS-sed
1266 TAGS-host: maybe-TAGS-send-pr
1267 TAGS-host: maybe-TAGS-shellutils
1268 TAGS-host: maybe-TAGS-sid
1269 TAGS-host: maybe-TAGS-sim
1270 TAGS-host: maybe-TAGS-tar
1271 TAGS-host: maybe-TAGS-texinfo
1272 TAGS-host: maybe-TAGS-textutils
1273 TAGS-host: maybe-TAGS-time
1274 TAGS-host: maybe-TAGS-uudecode
1275 TAGS-host: maybe-TAGS-wdiff
1276 TAGS-host: maybe-TAGS-zip
1277 TAGS-host: maybe-TAGS-zlib
1278 TAGS-host: maybe-TAGS-gdb
1279 TAGS-host: maybe-TAGS-expect
1280 TAGS-host: maybe-TAGS-guile
1281 TAGS-host: maybe-TAGS-tk
1282 TAGS-host: maybe-TAGS-libtermcap
1283 TAGS-host: maybe-TAGS-utils
1284 TAGS-host: maybe-TAGS-gnattools
1286 .PHONY: TAGS-target
1288 TAGS-target: maybe-TAGS-target-libstdc++-v3
1289 TAGS-target: maybe-TAGS-target-libmudflap
1290 TAGS-target: maybe-TAGS-target-libssp
1291 TAGS-target: maybe-TAGS-target-newlib
1292 TAGS-target: maybe-TAGS-target-libgfortran
1293 TAGS-target: maybe-TAGS-target-libobjc
1294 TAGS-target: maybe-TAGS-target-libtermcap
1295 TAGS-target: maybe-TAGS-target-winsup
1296 TAGS-target: maybe-TAGS-target-libgloss
1297 TAGS-target: maybe-TAGS-target-libiberty
1298 TAGS-target: maybe-TAGS-target-gperf
1299 TAGS-target: maybe-TAGS-target-examples
1300 TAGS-target: maybe-TAGS-target-libffi
1301 TAGS-target: maybe-TAGS-target-libjava
1302 TAGS-target: maybe-TAGS-target-zlib
1303 TAGS-target: maybe-TAGS-target-boehm-gc
1304 TAGS-target: maybe-TAGS-target-qthreads
1305 TAGS-target: maybe-TAGS-target-rda
1306 TAGS-target: maybe-TAGS-target-libada
1307 TAGS-target: maybe-TAGS-target-libgomp
1309 .PHONY: do-install-info
1310 do-install-info:
1311 @: $(MAKE); $(unstage)
1312 @r=`${PWD_COMMAND}`; export r; \
1313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1315 install-info-target
1318 .PHONY: install-info-host
1320 install-info-host: maybe-install-info-ash
1321 install-info-host: maybe-install-info-autoconf
1322 install-info-host: maybe-install-info-automake
1323 install-info-host: maybe-install-info-bash
1324 install-info-host: maybe-install-info-bfd
1325 install-info-host: maybe-install-info-opcodes
1326 install-info-host: maybe-install-info-binutils
1327 install-info-host: maybe-install-info-bison
1328 install-info-host: maybe-install-info-byacc
1329 install-info-host: maybe-install-info-bzip2
1330 install-info-host: maybe-install-info-dejagnu
1331 install-info-host: maybe-install-info-diff
1332 install-info-host: maybe-install-info-dosutils
1333 install-info-host: maybe-install-info-etc
1334 install-info-host: maybe-install-info-fastjar
1335 install-info-host: maybe-install-info-fileutils
1336 install-info-host: maybe-install-info-findutils
1337 install-info-host: maybe-install-info-find
1338 install-info-host: maybe-install-info-fixincludes
1339 install-info-host: maybe-install-info-flex
1340 install-info-host: maybe-install-info-gas
1341 install-info-host: maybe-install-info-gcc
1342 install-info-host: maybe-install-info-gawk
1343 install-info-host: maybe-install-info-gettext
1344 install-info-host: maybe-install-info-gnuserv
1345 install-info-host: maybe-install-info-gprof
1346 install-info-host: maybe-install-info-gzip
1347 install-info-host: maybe-install-info-hello
1348 install-info-host: maybe-install-info-indent
1349 install-info-host: maybe-install-info-intl
1350 install-info-host: maybe-install-info-tcl
1351 install-info-host: maybe-install-info-itcl
1352 install-info-host: maybe-install-info-ld
1353 install-info-host: maybe-install-info-libcpp
1354 install-info-host: maybe-install-info-libdecnumber
1355 install-info-host: maybe-install-info-libgui
1356 install-info-host: maybe-install-info-libiberty
1357 install-info-host: maybe-install-info-libtool
1358 install-info-host: maybe-install-info-m4
1359 install-info-host: maybe-install-info-make
1360 install-info-host: maybe-install-info-mmalloc
1361 install-info-host: maybe-install-info-patch
1362 install-info-host: maybe-install-info-perl
1363 install-info-host: maybe-install-info-prms
1364 install-info-host: maybe-install-info-rcs
1365 install-info-host: maybe-install-info-readline
1366 install-info-host: maybe-install-info-release
1367 install-info-host: maybe-install-info-recode
1368 install-info-host: maybe-install-info-sed
1369 install-info-host: maybe-install-info-send-pr
1370 install-info-host: maybe-install-info-shellutils
1371 install-info-host: maybe-install-info-sid
1372 install-info-host: maybe-install-info-sim
1373 install-info-host: maybe-install-info-tar
1374 install-info-host: maybe-install-info-texinfo
1375 install-info-host: maybe-install-info-textutils
1376 install-info-host: maybe-install-info-time
1377 install-info-host: maybe-install-info-uudecode
1378 install-info-host: maybe-install-info-wdiff
1379 install-info-host: maybe-install-info-zip
1380 install-info-host: maybe-install-info-zlib
1381 install-info-host: maybe-install-info-gdb
1382 install-info-host: maybe-install-info-expect
1383 install-info-host: maybe-install-info-guile
1384 install-info-host: maybe-install-info-tk
1385 install-info-host: maybe-install-info-libtermcap
1386 install-info-host: maybe-install-info-utils
1387 install-info-host: maybe-install-info-gnattools
1389 .PHONY: install-info-target
1391 install-info-target: maybe-install-info-target-libstdc++-v3
1392 install-info-target: maybe-install-info-target-libmudflap
1393 install-info-target: maybe-install-info-target-libssp
1394 install-info-target: maybe-install-info-target-newlib
1395 install-info-target: maybe-install-info-target-libgfortran
1396 install-info-target: maybe-install-info-target-libobjc
1397 install-info-target: maybe-install-info-target-libtermcap
1398 install-info-target: maybe-install-info-target-winsup
1399 install-info-target: maybe-install-info-target-libgloss
1400 install-info-target: maybe-install-info-target-libiberty
1401 install-info-target: maybe-install-info-target-gperf
1402 install-info-target: maybe-install-info-target-examples
1403 install-info-target: maybe-install-info-target-libffi
1404 install-info-target: maybe-install-info-target-libjava
1405 install-info-target: maybe-install-info-target-zlib
1406 install-info-target: maybe-install-info-target-boehm-gc
1407 install-info-target: maybe-install-info-target-qthreads
1408 install-info-target: maybe-install-info-target-rda
1409 install-info-target: maybe-install-info-target-libada
1410 install-info-target: maybe-install-info-target-libgomp
1412 .PHONY: do-install-html
1413 do-install-html:
1414 @: $(MAKE); $(unstage)
1415 @r=`${PWD_COMMAND}`; export r; \
1416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1417 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1418 install-html-target
1421 .PHONY: install-html-host
1423 install-html-host: maybe-install-html-ash
1424 install-html-host: maybe-install-html-autoconf
1425 install-html-host: maybe-install-html-automake
1426 install-html-host: maybe-install-html-bash
1427 install-html-host: maybe-install-html-bfd
1428 install-html-host: maybe-install-html-opcodes
1429 install-html-host: maybe-install-html-binutils
1430 install-html-host: maybe-install-html-bison
1431 install-html-host: maybe-install-html-byacc
1432 install-html-host: maybe-install-html-bzip2
1433 install-html-host: maybe-install-html-dejagnu
1434 install-html-host: maybe-install-html-diff
1435 install-html-host: maybe-install-html-dosutils
1436 install-html-host: maybe-install-html-etc
1437 install-html-host: maybe-install-html-fastjar
1438 install-html-host: maybe-install-html-fileutils
1439 install-html-host: maybe-install-html-findutils
1440 install-html-host: maybe-install-html-find
1441 install-html-host: maybe-install-html-fixincludes
1442 install-html-host: maybe-install-html-flex
1443 install-html-host: maybe-install-html-gas
1444 install-html-host: maybe-install-html-gcc
1445 install-html-host: maybe-install-html-gawk
1446 install-html-host: maybe-install-html-gettext
1447 install-html-host: maybe-install-html-gnuserv
1448 install-html-host: maybe-install-html-gprof
1449 install-html-host: maybe-install-html-gzip
1450 install-html-host: maybe-install-html-hello
1451 install-html-host: maybe-install-html-indent
1452 install-html-host: maybe-install-html-intl
1453 install-html-host: maybe-install-html-tcl
1454 install-html-host: maybe-install-html-itcl
1455 install-html-host: maybe-install-html-ld
1456 install-html-host: maybe-install-html-libcpp
1457 install-html-host: maybe-install-html-libdecnumber
1458 install-html-host: maybe-install-html-libgui
1459 install-html-host: maybe-install-html-libiberty
1460 install-html-host: maybe-install-html-libtool
1461 install-html-host: maybe-install-html-m4
1462 install-html-host: maybe-install-html-make
1463 install-html-host: maybe-install-html-mmalloc
1464 install-html-host: maybe-install-html-patch
1465 install-html-host: maybe-install-html-perl
1466 install-html-host: maybe-install-html-prms
1467 install-html-host: maybe-install-html-rcs
1468 install-html-host: maybe-install-html-readline
1469 install-html-host: maybe-install-html-release
1470 install-html-host: maybe-install-html-recode
1471 install-html-host: maybe-install-html-sed
1472 install-html-host: maybe-install-html-send-pr
1473 install-html-host: maybe-install-html-shellutils
1474 install-html-host: maybe-install-html-sid
1475 install-html-host: maybe-install-html-sim
1476 install-html-host: maybe-install-html-tar
1477 install-html-host: maybe-install-html-texinfo
1478 install-html-host: maybe-install-html-textutils
1479 install-html-host: maybe-install-html-time
1480 install-html-host: maybe-install-html-uudecode
1481 install-html-host: maybe-install-html-wdiff
1482 install-html-host: maybe-install-html-zip
1483 install-html-host: maybe-install-html-zlib
1484 install-html-host: maybe-install-html-gdb
1485 install-html-host: maybe-install-html-expect
1486 install-html-host: maybe-install-html-guile
1487 install-html-host: maybe-install-html-tk
1488 install-html-host: maybe-install-html-libtermcap
1489 install-html-host: maybe-install-html-utils
1490 install-html-host: maybe-install-html-gnattools
1492 .PHONY: install-html-target
1494 install-html-target: maybe-install-html-target-libstdc++-v3
1495 install-html-target: maybe-install-html-target-libmudflap
1496 install-html-target: maybe-install-html-target-libssp
1497 install-html-target: maybe-install-html-target-newlib
1498 install-html-target: maybe-install-html-target-libgfortran
1499 install-html-target: maybe-install-html-target-libobjc
1500 install-html-target: maybe-install-html-target-libtermcap
1501 install-html-target: maybe-install-html-target-winsup
1502 install-html-target: maybe-install-html-target-libgloss
1503 install-html-target: maybe-install-html-target-libiberty
1504 install-html-target: maybe-install-html-target-gperf
1505 install-html-target: maybe-install-html-target-examples
1506 install-html-target: maybe-install-html-target-libffi
1507 install-html-target: maybe-install-html-target-libjava
1508 install-html-target: maybe-install-html-target-zlib
1509 install-html-target: maybe-install-html-target-boehm-gc
1510 install-html-target: maybe-install-html-target-qthreads
1511 install-html-target: maybe-install-html-target-rda
1512 install-html-target: maybe-install-html-target-libada
1513 install-html-target: maybe-install-html-target-libgomp
1515 .PHONY: do-installcheck
1516 do-installcheck:
1517 @: $(MAKE); $(unstage)
1518 @r=`${PWD_COMMAND}`; export r; \
1519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1521 installcheck-target
1524 .PHONY: installcheck-host
1526 installcheck-host: maybe-installcheck-ash
1527 installcheck-host: maybe-installcheck-autoconf
1528 installcheck-host: maybe-installcheck-automake
1529 installcheck-host: maybe-installcheck-bash
1530 installcheck-host: maybe-installcheck-bfd
1531 installcheck-host: maybe-installcheck-opcodes
1532 installcheck-host: maybe-installcheck-binutils
1533 installcheck-host: maybe-installcheck-bison
1534 installcheck-host: maybe-installcheck-byacc
1535 installcheck-host: maybe-installcheck-bzip2
1536 installcheck-host: maybe-installcheck-dejagnu
1537 installcheck-host: maybe-installcheck-diff
1538 installcheck-host: maybe-installcheck-dosutils
1539 installcheck-host: maybe-installcheck-etc
1540 installcheck-host: maybe-installcheck-fastjar
1541 installcheck-host: maybe-installcheck-fileutils
1542 installcheck-host: maybe-installcheck-findutils
1543 installcheck-host: maybe-installcheck-find
1544 installcheck-host: maybe-installcheck-fixincludes
1545 installcheck-host: maybe-installcheck-flex
1546 installcheck-host: maybe-installcheck-gas
1547 installcheck-host: maybe-installcheck-gcc
1548 installcheck-host: maybe-installcheck-gawk
1549 installcheck-host: maybe-installcheck-gettext
1550 installcheck-host: maybe-installcheck-gnuserv
1551 installcheck-host: maybe-installcheck-gprof
1552 installcheck-host: maybe-installcheck-gzip
1553 installcheck-host: maybe-installcheck-hello
1554 installcheck-host: maybe-installcheck-indent
1555 installcheck-host: maybe-installcheck-intl
1556 installcheck-host: maybe-installcheck-tcl
1557 installcheck-host: maybe-installcheck-itcl
1558 installcheck-host: maybe-installcheck-ld
1559 installcheck-host: maybe-installcheck-libcpp
1560 installcheck-host: maybe-installcheck-libdecnumber
1561 installcheck-host: maybe-installcheck-libgui
1562 installcheck-host: maybe-installcheck-libiberty
1563 installcheck-host: maybe-installcheck-libtool
1564 installcheck-host: maybe-installcheck-m4
1565 installcheck-host: maybe-installcheck-make
1566 installcheck-host: maybe-installcheck-mmalloc
1567 installcheck-host: maybe-installcheck-patch
1568 installcheck-host: maybe-installcheck-perl
1569 installcheck-host: maybe-installcheck-prms
1570 installcheck-host: maybe-installcheck-rcs
1571 installcheck-host: maybe-installcheck-readline
1572 installcheck-host: maybe-installcheck-release
1573 installcheck-host: maybe-installcheck-recode
1574 installcheck-host: maybe-installcheck-sed
1575 installcheck-host: maybe-installcheck-send-pr
1576 installcheck-host: maybe-installcheck-shellutils
1577 installcheck-host: maybe-installcheck-sid
1578 installcheck-host: maybe-installcheck-sim
1579 installcheck-host: maybe-installcheck-tar
1580 installcheck-host: maybe-installcheck-texinfo
1581 installcheck-host: maybe-installcheck-textutils
1582 installcheck-host: maybe-installcheck-time
1583 installcheck-host: maybe-installcheck-uudecode
1584 installcheck-host: maybe-installcheck-wdiff
1585 installcheck-host: maybe-installcheck-zip
1586 installcheck-host: maybe-installcheck-zlib
1587 installcheck-host: maybe-installcheck-gdb
1588 installcheck-host: maybe-installcheck-expect
1589 installcheck-host: maybe-installcheck-guile
1590 installcheck-host: maybe-installcheck-tk
1591 installcheck-host: maybe-installcheck-libtermcap
1592 installcheck-host: maybe-installcheck-utils
1593 installcheck-host: maybe-installcheck-gnattools
1595 .PHONY: installcheck-target
1597 installcheck-target: maybe-installcheck-target-libstdc++-v3
1598 installcheck-target: maybe-installcheck-target-libmudflap
1599 installcheck-target: maybe-installcheck-target-libssp
1600 installcheck-target: maybe-installcheck-target-newlib
1601 installcheck-target: maybe-installcheck-target-libgfortran
1602 installcheck-target: maybe-installcheck-target-libobjc
1603 installcheck-target: maybe-installcheck-target-libtermcap
1604 installcheck-target: maybe-installcheck-target-winsup
1605 installcheck-target: maybe-installcheck-target-libgloss
1606 installcheck-target: maybe-installcheck-target-libiberty
1607 installcheck-target: maybe-installcheck-target-gperf
1608 installcheck-target: maybe-installcheck-target-examples
1609 installcheck-target: maybe-installcheck-target-libffi
1610 installcheck-target: maybe-installcheck-target-libjava
1611 installcheck-target: maybe-installcheck-target-zlib
1612 installcheck-target: maybe-installcheck-target-boehm-gc
1613 installcheck-target: maybe-installcheck-target-qthreads
1614 installcheck-target: maybe-installcheck-target-rda
1615 installcheck-target: maybe-installcheck-target-libada
1616 installcheck-target: maybe-installcheck-target-libgomp
1618 .PHONY: do-mostlyclean
1619 do-mostlyclean:
1620 @: $(MAKE); $(unstage)
1621 @r=`${PWD_COMMAND}`; export r; \
1622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1623 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1624 mostlyclean-target
1627 .PHONY: mostlyclean-host
1629 mostlyclean-host: maybe-mostlyclean-ash
1630 mostlyclean-host: maybe-mostlyclean-autoconf
1631 mostlyclean-host: maybe-mostlyclean-automake
1632 mostlyclean-host: maybe-mostlyclean-bash
1633 mostlyclean-host: maybe-mostlyclean-bfd
1634 mostlyclean-host: maybe-mostlyclean-opcodes
1635 mostlyclean-host: maybe-mostlyclean-binutils
1636 mostlyclean-host: maybe-mostlyclean-bison
1637 mostlyclean-host: maybe-mostlyclean-byacc
1638 mostlyclean-host: maybe-mostlyclean-bzip2
1639 mostlyclean-host: maybe-mostlyclean-dejagnu
1640 mostlyclean-host: maybe-mostlyclean-diff
1641 mostlyclean-host: maybe-mostlyclean-dosutils
1642 mostlyclean-host: maybe-mostlyclean-etc
1643 mostlyclean-host: maybe-mostlyclean-fastjar
1644 mostlyclean-host: maybe-mostlyclean-fileutils
1645 mostlyclean-host: maybe-mostlyclean-findutils
1646 mostlyclean-host: maybe-mostlyclean-find
1647 mostlyclean-host: maybe-mostlyclean-fixincludes
1648 mostlyclean-host: maybe-mostlyclean-flex
1649 mostlyclean-host: maybe-mostlyclean-gas
1650 mostlyclean-host: maybe-mostlyclean-gcc
1651 mostlyclean-host: maybe-mostlyclean-gawk
1652 mostlyclean-host: maybe-mostlyclean-gettext
1653 mostlyclean-host: maybe-mostlyclean-gnuserv
1654 mostlyclean-host: maybe-mostlyclean-gprof
1655 mostlyclean-host: maybe-mostlyclean-gzip
1656 mostlyclean-host: maybe-mostlyclean-hello
1657 mostlyclean-host: maybe-mostlyclean-indent
1658 mostlyclean-host: maybe-mostlyclean-intl
1659 mostlyclean-host: maybe-mostlyclean-tcl
1660 mostlyclean-host: maybe-mostlyclean-itcl
1661 mostlyclean-host: maybe-mostlyclean-ld
1662 mostlyclean-host: maybe-mostlyclean-libcpp
1663 mostlyclean-host: maybe-mostlyclean-libdecnumber
1664 mostlyclean-host: maybe-mostlyclean-libgui
1665 mostlyclean-host: maybe-mostlyclean-libiberty
1666 mostlyclean-host: maybe-mostlyclean-libtool
1667 mostlyclean-host: maybe-mostlyclean-m4
1668 mostlyclean-host: maybe-mostlyclean-make
1669 mostlyclean-host: maybe-mostlyclean-mmalloc
1670 mostlyclean-host: maybe-mostlyclean-patch
1671 mostlyclean-host: maybe-mostlyclean-perl
1672 mostlyclean-host: maybe-mostlyclean-prms
1673 mostlyclean-host: maybe-mostlyclean-rcs
1674 mostlyclean-host: maybe-mostlyclean-readline
1675 mostlyclean-host: maybe-mostlyclean-release
1676 mostlyclean-host: maybe-mostlyclean-recode
1677 mostlyclean-host: maybe-mostlyclean-sed
1678 mostlyclean-host: maybe-mostlyclean-send-pr
1679 mostlyclean-host: maybe-mostlyclean-shellutils
1680 mostlyclean-host: maybe-mostlyclean-sid
1681 mostlyclean-host: maybe-mostlyclean-sim
1682 mostlyclean-host: maybe-mostlyclean-tar
1683 mostlyclean-host: maybe-mostlyclean-texinfo
1684 mostlyclean-host: maybe-mostlyclean-textutils
1685 mostlyclean-host: maybe-mostlyclean-time
1686 mostlyclean-host: maybe-mostlyclean-uudecode
1687 mostlyclean-host: maybe-mostlyclean-wdiff
1688 mostlyclean-host: maybe-mostlyclean-zip
1689 mostlyclean-host: maybe-mostlyclean-zlib
1690 mostlyclean-host: maybe-mostlyclean-gdb
1691 mostlyclean-host: maybe-mostlyclean-expect
1692 mostlyclean-host: maybe-mostlyclean-guile
1693 mostlyclean-host: maybe-mostlyclean-tk
1694 mostlyclean-host: maybe-mostlyclean-libtermcap
1695 mostlyclean-host: maybe-mostlyclean-utils
1696 mostlyclean-host: maybe-mostlyclean-gnattools
1698 .PHONY: mostlyclean-target
1700 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1701 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1702 mostlyclean-target: maybe-mostlyclean-target-libssp
1703 mostlyclean-target: maybe-mostlyclean-target-newlib
1704 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1705 mostlyclean-target: maybe-mostlyclean-target-libobjc
1706 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1707 mostlyclean-target: maybe-mostlyclean-target-winsup
1708 mostlyclean-target: maybe-mostlyclean-target-libgloss
1709 mostlyclean-target: maybe-mostlyclean-target-libiberty
1710 mostlyclean-target: maybe-mostlyclean-target-gperf
1711 mostlyclean-target: maybe-mostlyclean-target-examples
1712 mostlyclean-target: maybe-mostlyclean-target-libffi
1713 mostlyclean-target: maybe-mostlyclean-target-libjava
1714 mostlyclean-target: maybe-mostlyclean-target-zlib
1715 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1716 mostlyclean-target: maybe-mostlyclean-target-qthreads
1717 mostlyclean-target: maybe-mostlyclean-target-rda
1718 mostlyclean-target: maybe-mostlyclean-target-libada
1719 mostlyclean-target: maybe-mostlyclean-target-libgomp
1721 .PHONY: do-clean
1722 do-clean:
1723 @: $(MAKE); $(unstage)
1724 @r=`${PWD_COMMAND}`; export r; \
1725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1727 clean-target
1730 .PHONY: clean-host
1732 clean-host: maybe-clean-ash
1733 clean-host: maybe-clean-autoconf
1734 clean-host: maybe-clean-automake
1735 clean-host: maybe-clean-bash
1736 clean-host: maybe-clean-bfd
1737 clean-host: maybe-clean-opcodes
1738 clean-host: maybe-clean-binutils
1739 clean-host: maybe-clean-bison
1740 clean-host: maybe-clean-byacc
1741 clean-host: maybe-clean-bzip2
1742 clean-host: maybe-clean-dejagnu
1743 clean-host: maybe-clean-diff
1744 clean-host: maybe-clean-dosutils
1745 clean-host: maybe-clean-etc
1746 clean-host: maybe-clean-fastjar
1747 clean-host: maybe-clean-fileutils
1748 clean-host: maybe-clean-findutils
1749 clean-host: maybe-clean-find
1750 clean-host: maybe-clean-fixincludes
1751 clean-host: maybe-clean-flex
1752 clean-host: maybe-clean-gas
1753 clean-host: maybe-clean-gcc
1754 clean-host: maybe-clean-gawk
1755 clean-host: maybe-clean-gettext
1756 clean-host: maybe-clean-gnuserv
1757 clean-host: maybe-clean-gprof
1758 clean-host: maybe-clean-gzip
1759 clean-host: maybe-clean-hello
1760 clean-host: maybe-clean-indent
1761 clean-host: maybe-clean-intl
1762 clean-host: maybe-clean-tcl
1763 clean-host: maybe-clean-itcl
1764 clean-host: maybe-clean-ld
1765 clean-host: maybe-clean-libcpp
1766 clean-host: maybe-clean-libdecnumber
1767 clean-host: maybe-clean-libgui
1768 clean-host: maybe-clean-libiberty
1769 clean-host: maybe-clean-libtool
1770 clean-host: maybe-clean-m4
1771 clean-host: maybe-clean-make
1772 clean-host: maybe-clean-mmalloc
1773 clean-host: maybe-clean-patch
1774 clean-host: maybe-clean-perl
1775 clean-host: maybe-clean-prms
1776 clean-host: maybe-clean-rcs
1777 clean-host: maybe-clean-readline
1778 clean-host: maybe-clean-release
1779 clean-host: maybe-clean-recode
1780 clean-host: maybe-clean-sed
1781 clean-host: maybe-clean-send-pr
1782 clean-host: maybe-clean-shellutils
1783 clean-host: maybe-clean-sid
1784 clean-host: maybe-clean-sim
1785 clean-host: maybe-clean-tar
1786 clean-host: maybe-clean-texinfo
1787 clean-host: maybe-clean-textutils
1788 clean-host: maybe-clean-time
1789 clean-host: maybe-clean-uudecode
1790 clean-host: maybe-clean-wdiff
1791 clean-host: maybe-clean-zip
1792 clean-host: maybe-clean-zlib
1793 clean-host: maybe-clean-gdb
1794 clean-host: maybe-clean-expect
1795 clean-host: maybe-clean-guile
1796 clean-host: maybe-clean-tk
1797 clean-host: maybe-clean-libtermcap
1798 clean-host: maybe-clean-utils
1799 clean-host: maybe-clean-gnattools
1801 .PHONY: clean-target
1803 clean-target: maybe-clean-target-libstdc++-v3
1804 clean-target: maybe-clean-target-libmudflap
1805 clean-target: maybe-clean-target-libssp
1806 clean-target: maybe-clean-target-newlib
1807 clean-target: maybe-clean-target-libgfortran
1808 clean-target: maybe-clean-target-libobjc
1809 clean-target: maybe-clean-target-libtermcap
1810 clean-target: maybe-clean-target-winsup
1811 clean-target: maybe-clean-target-libgloss
1812 clean-target: maybe-clean-target-libiberty
1813 clean-target: maybe-clean-target-gperf
1814 clean-target: maybe-clean-target-examples
1815 clean-target: maybe-clean-target-libffi
1816 clean-target: maybe-clean-target-libjava
1817 clean-target: maybe-clean-target-zlib
1818 clean-target: maybe-clean-target-boehm-gc
1819 clean-target: maybe-clean-target-qthreads
1820 clean-target: maybe-clean-target-rda
1821 clean-target: maybe-clean-target-libada
1822 clean-target: maybe-clean-target-libgomp
1824 .PHONY: do-distclean
1825 do-distclean:
1826 @: $(MAKE); $(unstage)
1827 @r=`${PWD_COMMAND}`; export r; \
1828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1830 distclean-target
1833 .PHONY: distclean-host
1835 distclean-host: maybe-distclean-ash
1836 distclean-host: maybe-distclean-autoconf
1837 distclean-host: maybe-distclean-automake
1838 distclean-host: maybe-distclean-bash
1839 distclean-host: maybe-distclean-bfd
1840 distclean-host: maybe-distclean-opcodes
1841 distclean-host: maybe-distclean-binutils
1842 distclean-host: maybe-distclean-bison
1843 distclean-host: maybe-distclean-byacc
1844 distclean-host: maybe-distclean-bzip2
1845 distclean-host: maybe-distclean-dejagnu
1846 distclean-host: maybe-distclean-diff
1847 distclean-host: maybe-distclean-dosutils
1848 distclean-host: maybe-distclean-etc
1849 distclean-host: maybe-distclean-fastjar
1850 distclean-host: maybe-distclean-fileutils
1851 distclean-host: maybe-distclean-findutils
1852 distclean-host: maybe-distclean-find
1853 distclean-host: maybe-distclean-fixincludes
1854 distclean-host: maybe-distclean-flex
1855 distclean-host: maybe-distclean-gas
1856 distclean-host: maybe-distclean-gcc
1857 distclean-host: maybe-distclean-gawk
1858 distclean-host: maybe-distclean-gettext
1859 distclean-host: maybe-distclean-gnuserv
1860 distclean-host: maybe-distclean-gprof
1861 distclean-host: maybe-distclean-gzip
1862 distclean-host: maybe-distclean-hello
1863 distclean-host: maybe-distclean-indent
1864 distclean-host: maybe-distclean-intl
1865 distclean-host: maybe-distclean-tcl
1866 distclean-host: maybe-distclean-itcl
1867 distclean-host: maybe-distclean-ld
1868 distclean-host: maybe-distclean-libcpp
1869 distclean-host: maybe-distclean-libdecnumber
1870 distclean-host: maybe-distclean-libgui
1871 distclean-host: maybe-distclean-libiberty
1872 distclean-host: maybe-distclean-libtool
1873 distclean-host: maybe-distclean-m4
1874 distclean-host: maybe-distclean-make
1875 distclean-host: maybe-distclean-mmalloc
1876 distclean-host: maybe-distclean-patch
1877 distclean-host: maybe-distclean-perl
1878 distclean-host: maybe-distclean-prms
1879 distclean-host: maybe-distclean-rcs
1880 distclean-host: maybe-distclean-readline
1881 distclean-host: maybe-distclean-release
1882 distclean-host: maybe-distclean-recode
1883 distclean-host: maybe-distclean-sed
1884 distclean-host: maybe-distclean-send-pr
1885 distclean-host: maybe-distclean-shellutils
1886 distclean-host: maybe-distclean-sid
1887 distclean-host: maybe-distclean-sim
1888 distclean-host: maybe-distclean-tar
1889 distclean-host: maybe-distclean-texinfo
1890 distclean-host: maybe-distclean-textutils
1891 distclean-host: maybe-distclean-time
1892 distclean-host: maybe-distclean-uudecode
1893 distclean-host: maybe-distclean-wdiff
1894 distclean-host: maybe-distclean-zip
1895 distclean-host: maybe-distclean-zlib
1896 distclean-host: maybe-distclean-gdb
1897 distclean-host: maybe-distclean-expect
1898 distclean-host: maybe-distclean-guile
1899 distclean-host: maybe-distclean-tk
1900 distclean-host: maybe-distclean-libtermcap
1901 distclean-host: maybe-distclean-utils
1902 distclean-host: maybe-distclean-gnattools
1904 .PHONY: distclean-target
1906 distclean-target: maybe-distclean-target-libstdc++-v3
1907 distclean-target: maybe-distclean-target-libmudflap
1908 distclean-target: maybe-distclean-target-libssp
1909 distclean-target: maybe-distclean-target-newlib
1910 distclean-target: maybe-distclean-target-libgfortran
1911 distclean-target: maybe-distclean-target-libobjc
1912 distclean-target: maybe-distclean-target-libtermcap
1913 distclean-target: maybe-distclean-target-winsup
1914 distclean-target: maybe-distclean-target-libgloss
1915 distclean-target: maybe-distclean-target-libiberty
1916 distclean-target: maybe-distclean-target-gperf
1917 distclean-target: maybe-distclean-target-examples
1918 distclean-target: maybe-distclean-target-libffi
1919 distclean-target: maybe-distclean-target-libjava
1920 distclean-target: maybe-distclean-target-zlib
1921 distclean-target: maybe-distclean-target-boehm-gc
1922 distclean-target: maybe-distclean-target-qthreads
1923 distclean-target: maybe-distclean-target-rda
1924 distclean-target: maybe-distclean-target-libada
1925 distclean-target: maybe-distclean-target-libgomp
1927 .PHONY: do-maintainer-clean
1928 do-maintainer-clean:
1929 @: $(MAKE); $(unstage)
1930 @r=`${PWD_COMMAND}`; export r; \
1931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1932 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1933 maintainer-clean-target
1936 .PHONY: maintainer-clean-host
1938 maintainer-clean-host: maybe-maintainer-clean-ash
1939 maintainer-clean-host: maybe-maintainer-clean-autoconf
1940 maintainer-clean-host: maybe-maintainer-clean-automake
1941 maintainer-clean-host: maybe-maintainer-clean-bash
1942 maintainer-clean-host: maybe-maintainer-clean-bfd
1943 maintainer-clean-host: maybe-maintainer-clean-opcodes
1944 maintainer-clean-host: maybe-maintainer-clean-binutils
1945 maintainer-clean-host: maybe-maintainer-clean-bison
1946 maintainer-clean-host: maybe-maintainer-clean-byacc
1947 maintainer-clean-host: maybe-maintainer-clean-bzip2
1948 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1949 maintainer-clean-host: maybe-maintainer-clean-diff
1950 maintainer-clean-host: maybe-maintainer-clean-dosutils
1951 maintainer-clean-host: maybe-maintainer-clean-etc
1952 maintainer-clean-host: maybe-maintainer-clean-fastjar
1953 maintainer-clean-host: maybe-maintainer-clean-fileutils
1954 maintainer-clean-host: maybe-maintainer-clean-findutils
1955 maintainer-clean-host: maybe-maintainer-clean-find
1956 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1957 maintainer-clean-host: maybe-maintainer-clean-flex
1958 maintainer-clean-host: maybe-maintainer-clean-gas
1959 maintainer-clean-host: maybe-maintainer-clean-gcc
1960 maintainer-clean-host: maybe-maintainer-clean-gawk
1961 maintainer-clean-host: maybe-maintainer-clean-gettext
1962 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1963 maintainer-clean-host: maybe-maintainer-clean-gprof
1964 maintainer-clean-host: maybe-maintainer-clean-gzip
1965 maintainer-clean-host: maybe-maintainer-clean-hello
1966 maintainer-clean-host: maybe-maintainer-clean-indent
1967 maintainer-clean-host: maybe-maintainer-clean-intl
1968 maintainer-clean-host: maybe-maintainer-clean-tcl
1969 maintainer-clean-host: maybe-maintainer-clean-itcl
1970 maintainer-clean-host: maybe-maintainer-clean-ld
1971 maintainer-clean-host: maybe-maintainer-clean-libcpp
1972 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1973 maintainer-clean-host: maybe-maintainer-clean-libgui
1974 maintainer-clean-host: maybe-maintainer-clean-libiberty
1975 maintainer-clean-host: maybe-maintainer-clean-libtool
1976 maintainer-clean-host: maybe-maintainer-clean-m4
1977 maintainer-clean-host: maybe-maintainer-clean-make
1978 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1979 maintainer-clean-host: maybe-maintainer-clean-patch
1980 maintainer-clean-host: maybe-maintainer-clean-perl
1981 maintainer-clean-host: maybe-maintainer-clean-prms
1982 maintainer-clean-host: maybe-maintainer-clean-rcs
1983 maintainer-clean-host: maybe-maintainer-clean-readline
1984 maintainer-clean-host: maybe-maintainer-clean-release
1985 maintainer-clean-host: maybe-maintainer-clean-recode
1986 maintainer-clean-host: maybe-maintainer-clean-sed
1987 maintainer-clean-host: maybe-maintainer-clean-send-pr
1988 maintainer-clean-host: maybe-maintainer-clean-shellutils
1989 maintainer-clean-host: maybe-maintainer-clean-sid
1990 maintainer-clean-host: maybe-maintainer-clean-sim
1991 maintainer-clean-host: maybe-maintainer-clean-tar
1992 maintainer-clean-host: maybe-maintainer-clean-texinfo
1993 maintainer-clean-host: maybe-maintainer-clean-textutils
1994 maintainer-clean-host: maybe-maintainer-clean-time
1995 maintainer-clean-host: maybe-maintainer-clean-uudecode
1996 maintainer-clean-host: maybe-maintainer-clean-wdiff
1997 maintainer-clean-host: maybe-maintainer-clean-zip
1998 maintainer-clean-host: maybe-maintainer-clean-zlib
1999 maintainer-clean-host: maybe-maintainer-clean-gdb
2000 maintainer-clean-host: maybe-maintainer-clean-expect
2001 maintainer-clean-host: maybe-maintainer-clean-guile
2002 maintainer-clean-host: maybe-maintainer-clean-tk
2003 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2004 maintainer-clean-host: maybe-maintainer-clean-utils
2005 maintainer-clean-host: maybe-maintainer-clean-gnattools
2007 .PHONY: maintainer-clean-target
2009 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2010 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2011 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2012 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2013 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2014 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2015 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2016 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2017 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2018 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2019 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2020 maintainer-clean-target: maybe-maintainer-clean-target-examples
2021 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2022 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2023 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2024 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2025 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2026 maintainer-clean-target: maybe-maintainer-clean-target-rda
2027 maintainer-clean-target: maybe-maintainer-clean-target-libada
2028 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2031 # Here are the targets which correspond to the do-X targets.
2033 .PHONY: info installcheck dvi pdf html install-info install-html
2034 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2035 .PHONY: local-clean local-distclean local-maintainer-clean
2036 info: do-info
2037 installcheck: do-installcheck
2038 dvi: do-dvi
2039 pdf: do-pdf
2040 html: do-html
2042 # Make sure makeinfo is built before we do a `make info', if we're
2043 # in fact building texinfo.
2044 do-info: maybe-all-texinfo
2046 install-info: do-install-info dir.info
2047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2048 if [ -f dir.info ] ; then \
2049 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2050 else true ; fi
2052 install-html: do-install-html
2054 local-clean:
2055 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2057 local-distclean:
2058 -rm -f Makefile config.status config.cache mh-frag mt-frag
2059 -rm -f maybedep.tmp serdep.tmp
2060 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2061 rm -rf $(TARGET_SUBDIR); \
2062 else true; fi
2063 -rm -rf $(BUILD_SUBDIR)
2064 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2065 rm -rf $(HOST_SUBDIR); \
2066 else true; fi
2067 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2068 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2069 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2070 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2071 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2073 local-maintainer-clean:
2074 @echo "This command is intended for maintainers to use;"
2075 @echo "it deletes files that may require special tools to rebuild."
2077 clean: do-clean local-clean
2078 mostlyclean: do-mostlyclean local-clean
2079 distclean: do-distclean local-clean local-distclean
2080 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2081 maintainer-clean: local-distclean
2082 realclean: maintainer-clean
2084 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2085 clean-target: clean-target-libgcc
2086 clean-target-libgcc:
2087 if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
2089 # Check target.
2091 .PHONY: check do-check
2092 check: do-check
2094 # Only include modules actually being configured and built.
2095 .PHONY: check-host
2096 check-host: \
2097 maybe-check-ash \
2098 maybe-check-autoconf \
2099 maybe-check-automake \
2100 maybe-check-bash \
2101 maybe-check-bfd \
2102 maybe-check-opcodes \
2103 maybe-check-binutils \
2104 maybe-check-bison \
2105 maybe-check-byacc \
2106 maybe-check-bzip2 \
2107 maybe-check-dejagnu \
2108 maybe-check-diff \
2109 maybe-check-dosutils \
2110 maybe-check-etc \
2111 maybe-check-fastjar \
2112 maybe-check-fileutils \
2113 maybe-check-findutils \
2114 maybe-check-find \
2115 maybe-check-fixincludes \
2116 maybe-check-flex \
2117 maybe-check-gas \
2118 maybe-check-gcc \
2119 maybe-check-gawk \
2120 maybe-check-gettext \
2121 maybe-check-gnuserv \
2122 maybe-check-gprof \
2123 maybe-check-gzip \
2124 maybe-check-hello \
2125 maybe-check-indent \
2126 maybe-check-intl \
2127 maybe-check-tcl \
2128 maybe-check-itcl \
2129 maybe-check-ld \
2130 maybe-check-libcpp \
2131 maybe-check-libdecnumber \
2132 maybe-check-libgui \
2133 maybe-check-libiberty \
2134 maybe-check-libtool \
2135 maybe-check-m4 \
2136 maybe-check-make \
2137 maybe-check-mmalloc \
2138 maybe-check-patch \
2139 maybe-check-perl \
2140 maybe-check-prms \
2141 maybe-check-rcs \
2142 maybe-check-readline \
2143 maybe-check-release \
2144 maybe-check-recode \
2145 maybe-check-sed \
2146 maybe-check-send-pr \
2147 maybe-check-shellutils \
2148 maybe-check-sid \
2149 maybe-check-sim \
2150 maybe-check-tar \
2151 maybe-check-texinfo \
2152 maybe-check-textutils \
2153 maybe-check-time \
2154 maybe-check-uudecode \
2155 maybe-check-wdiff \
2156 maybe-check-zip \
2157 maybe-check-zlib \
2158 maybe-check-gdb \
2159 maybe-check-expect \
2160 maybe-check-guile \
2161 maybe-check-tk \
2162 maybe-check-libtermcap \
2163 maybe-check-utils \
2164 maybe-check-gnattools
2166 .PHONY: check-target
2167 check-target: \
2168 maybe-check-target-libstdc++-v3 \
2169 maybe-check-target-libmudflap \
2170 maybe-check-target-libssp \
2171 maybe-check-target-newlib \
2172 maybe-check-target-libgfortran \
2173 maybe-check-target-libobjc \
2174 maybe-check-target-libtermcap \
2175 maybe-check-target-winsup \
2176 maybe-check-target-libgloss \
2177 maybe-check-target-libiberty \
2178 maybe-check-target-gperf \
2179 maybe-check-target-examples \
2180 maybe-check-target-libffi \
2181 maybe-check-target-libjava \
2182 maybe-check-target-zlib \
2183 maybe-check-target-boehm-gc \
2184 maybe-check-target-qthreads \
2185 maybe-check-target-rda \
2186 maybe-check-target-libada \
2187 maybe-check-target-libgomp
2189 do-check:
2190 @: $(MAKE); $(unstage)
2191 @r=`${PWD_COMMAND}`; export r; \
2192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2193 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2195 # Automated reporting of test results.
2197 warning.log: build.log
2198 $(srcdir)/contrib/warn_summary build.log > $@
2200 mail-report.log:
2201 if test x'$(BOOT_CFLAGS)' != x''; then \
2202 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2203 fi; \
2204 $(srcdir)/contrib/test_summary -t >$@
2205 chmod +x $@
2206 echo If you really want to send e-mail, run ./$@ now
2208 mail-report-with-warnings.log: warning.log
2209 if test x'$(BOOT_CFLAGS)' != x''; then \
2210 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2211 fi; \
2212 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2213 chmod +x $@
2214 echo If you really want to send e-mail, run ./$@ now
2216 # Installation targets.
2218 .PHONY: install uninstall
2219 install:
2220 @: $(MAKE); $(unstage)
2221 @r=`${PWD_COMMAND}`; export r; \
2222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2223 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2225 .PHONY: install-host-nogcc
2226 install-host-nogcc: \
2227 maybe-install-ash \
2228 maybe-install-autoconf \
2229 maybe-install-automake \
2230 maybe-install-bash \
2231 maybe-install-bfd \
2232 maybe-install-opcodes \
2233 maybe-install-binutils \
2234 maybe-install-bison \
2235 maybe-install-byacc \
2236 maybe-install-bzip2 \
2237 maybe-install-dejagnu \
2238 maybe-install-diff \
2239 maybe-install-dosutils \
2240 maybe-install-etc \
2241 maybe-install-fastjar \
2242 maybe-install-fileutils \
2243 maybe-install-findutils \
2244 maybe-install-find \
2245 maybe-install-fixincludes \
2246 maybe-install-flex \
2247 maybe-install-gas \
2248 maybe-install-gawk \
2249 maybe-install-gettext \
2250 maybe-install-gnuserv \
2251 maybe-install-gprof \
2252 maybe-install-gzip \
2253 maybe-install-hello \
2254 maybe-install-indent \
2255 maybe-install-intl \
2256 maybe-install-tcl \
2257 maybe-install-itcl \
2258 maybe-install-ld \
2259 maybe-install-libcpp \
2260 maybe-install-libdecnumber \
2261 maybe-install-libgui \
2262 maybe-install-libiberty \
2263 maybe-install-libtool \
2264 maybe-install-m4 \
2265 maybe-install-make \
2266 maybe-install-mmalloc \
2267 maybe-install-patch \
2268 maybe-install-perl \
2269 maybe-install-prms \
2270 maybe-install-rcs \
2271 maybe-install-readline \
2272 maybe-install-release \
2273 maybe-install-recode \
2274 maybe-install-sed \
2275 maybe-install-send-pr \
2276 maybe-install-shellutils \
2277 maybe-install-sid \
2278 maybe-install-sim \
2279 maybe-install-tar \
2280 maybe-install-texinfo \
2281 maybe-install-textutils \
2282 maybe-install-time \
2283 maybe-install-uudecode \
2284 maybe-install-wdiff \
2285 maybe-install-zip \
2286 maybe-install-zlib \
2287 maybe-install-gdb \
2288 maybe-install-expect \
2289 maybe-install-guile \
2290 maybe-install-tk \
2291 maybe-install-libtermcap \
2292 maybe-install-utils \
2293 maybe-install-gnattools
2295 .PHONY: install-host
2296 install-host: \
2297 maybe-install-ash \
2298 maybe-install-autoconf \
2299 maybe-install-automake \
2300 maybe-install-bash \
2301 maybe-install-bfd \
2302 maybe-install-opcodes \
2303 maybe-install-binutils \
2304 maybe-install-bison \
2305 maybe-install-byacc \
2306 maybe-install-bzip2 \
2307 maybe-install-dejagnu \
2308 maybe-install-diff \
2309 maybe-install-dosutils \
2310 maybe-install-etc \
2311 maybe-install-fastjar \
2312 maybe-install-fileutils \
2313 maybe-install-findutils \
2314 maybe-install-find \
2315 maybe-install-fixincludes \
2316 maybe-install-flex \
2317 maybe-install-gas \
2318 maybe-install-gcc \
2319 maybe-install-gawk \
2320 maybe-install-gettext \
2321 maybe-install-gnuserv \
2322 maybe-install-gprof \
2323 maybe-install-gzip \
2324 maybe-install-hello \
2325 maybe-install-indent \
2326 maybe-install-intl \
2327 maybe-install-tcl \
2328 maybe-install-itcl \
2329 maybe-install-ld \
2330 maybe-install-libcpp \
2331 maybe-install-libdecnumber \
2332 maybe-install-libgui \
2333 maybe-install-libiberty \
2334 maybe-install-libtool \
2335 maybe-install-m4 \
2336 maybe-install-make \
2337 maybe-install-mmalloc \
2338 maybe-install-patch \
2339 maybe-install-perl \
2340 maybe-install-prms \
2341 maybe-install-rcs \
2342 maybe-install-readline \
2343 maybe-install-release \
2344 maybe-install-recode \
2345 maybe-install-sed \
2346 maybe-install-send-pr \
2347 maybe-install-shellutils \
2348 maybe-install-sid \
2349 maybe-install-sim \
2350 maybe-install-tar \
2351 maybe-install-texinfo \
2352 maybe-install-textutils \
2353 maybe-install-time \
2354 maybe-install-uudecode \
2355 maybe-install-wdiff \
2356 maybe-install-zip \
2357 maybe-install-zlib \
2358 maybe-install-gdb \
2359 maybe-install-expect \
2360 maybe-install-guile \
2361 maybe-install-tk \
2362 maybe-install-libtermcap \
2363 maybe-install-utils \
2364 maybe-install-gnattools
2366 .PHONY: install-target
2367 install-target: \
2368 maybe-install-target-libstdc++-v3 \
2369 maybe-install-target-libmudflap \
2370 maybe-install-target-libssp \
2371 maybe-install-target-newlib \
2372 maybe-install-target-libgfortran \
2373 maybe-install-target-libobjc \
2374 maybe-install-target-libtermcap \
2375 maybe-install-target-winsup \
2376 maybe-install-target-libgloss \
2377 maybe-install-target-libiberty \
2378 maybe-install-target-gperf \
2379 maybe-install-target-examples \
2380 maybe-install-target-libffi \
2381 maybe-install-target-libjava \
2382 maybe-install-target-zlib \
2383 maybe-install-target-boehm-gc \
2384 maybe-install-target-qthreads \
2385 maybe-install-target-rda \
2386 maybe-install-target-libada \
2387 maybe-install-target-libgomp
2389 uninstall:
2390 @echo "the uninstall target is not supported in this tree"
2392 .PHONY: install.all
2393 install.all: install-no-fixedincludes
2394 @if [ -f ./gcc/Makefile ] ; then \
2395 r=`${PWD_COMMAND}` ; export r ; \
2396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2397 $(HOST_EXPORTS) \
2398 (cd ./gcc && \
2399 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2400 else \
2401 true ; \
2404 # install-no-fixedincludes is used because Cygnus can not distribute
2405 # the fixed header files.
2406 .PHONY: install-no-fixedincludes
2407 install-no-fixedincludes: installdirs install-host-nogcc \
2408 install-target gcc-no-fixedincludes
2410 ### other supporting targets
2412 MAKEDIRS= \
2413 $(DESTDIR)$(prefix) \
2414 $(DESTDIR)$(exec_prefix)
2415 .PHONY: installdirs
2416 installdirs: mkinstalldirs
2417 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2419 dir.info: do-install-info
2420 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2421 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2422 mv -f dir.info.new dir.info ; \
2423 else true ; \
2426 dist:
2427 @echo "Building a full distribution of this tree isn't done"
2428 @echo "via 'make dist'. Check out the etc/ subdirectory"
2430 etags tags: TAGS
2432 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2433 # ability to use several tags files at once, so there is probably no need
2434 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2435 # (if we felt like it) have this Makefile write a piece of elisp which
2436 # the user could load to tell emacs19 where all the TAGS files we just
2437 # built are.
2438 TAGS: do-TAGS
2440 # ------------------------------------
2441 # Macros for configure and all targets
2442 # ------------------------------------
2448 # --------------------------------------
2449 # Modules which run on the build machine
2450 # --------------------------------------
2453 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2454 maybe-configure-build-libiberty:
2455 @if gcc-bootstrap
2456 configure-build-libiberty: stage_current
2457 @endif gcc-bootstrap
2458 @if build-libiberty
2459 maybe-configure-build-libiberty: configure-build-libiberty
2460 configure-build-libiberty:
2461 @: $(MAKE); $(unstage)
2462 @r=`${PWD_COMMAND}`; export r; \
2463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2464 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2465 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2466 $(BUILD_EXPORTS) \
2467 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2468 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2469 case $(srcdir) in \
2470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2471 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2473 esac; \
2474 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2475 libsrcdir="$$s/libiberty"; \
2476 rm -f no-such-file || : ; \
2477 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2478 $(BUILD_CONFIGARGS) $${srcdiroption} \
2479 || exit 1
2480 @endif build-libiberty
2486 .PHONY: all-build-libiberty maybe-all-build-libiberty
2487 maybe-all-build-libiberty:
2488 @if gcc-bootstrap
2489 all-build-libiberty: stage_current
2490 @endif gcc-bootstrap
2491 @if build-libiberty
2492 TARGET-build-libiberty=all
2493 maybe-all-build-libiberty: all-build-libiberty
2494 all-build-libiberty: configure-build-libiberty
2495 @: $(MAKE); $(unstage)
2496 @r=`${PWD_COMMAND}`; export r; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 $(BUILD_EXPORTS) \
2499 (cd $(BUILD_SUBDIR)/libiberty && \
2500 $(MAKE) $(TARGET-build-libiberty))
2501 @endif build-libiberty
2507 .PHONY: configure-build-bison maybe-configure-build-bison
2508 maybe-configure-build-bison:
2509 @if gcc-bootstrap
2510 configure-build-bison: stage_current
2511 @endif gcc-bootstrap
2512 @if build-bison
2513 maybe-configure-build-bison: configure-build-bison
2514 configure-build-bison:
2515 @: $(MAKE); $(unstage)
2516 @r=`${PWD_COMMAND}`; export r; \
2517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2518 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2519 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2520 $(BUILD_EXPORTS) \
2521 echo Configuring in $(BUILD_SUBDIR)/bison; \
2522 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2523 case $(srcdir) in \
2524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2525 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2527 esac; \
2528 srcdiroption="--srcdir=$${topdir}/bison"; \
2529 libsrcdir="$$s/bison"; \
2530 rm -f no-such-file || : ; \
2531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2532 $(BUILD_CONFIGARGS) $${srcdiroption} \
2533 || exit 1
2534 @endif build-bison
2540 .PHONY: all-build-bison maybe-all-build-bison
2541 maybe-all-build-bison:
2542 @if gcc-bootstrap
2543 all-build-bison: stage_current
2544 @endif gcc-bootstrap
2545 @if build-bison
2546 TARGET-build-bison=all
2547 maybe-all-build-bison: all-build-bison
2548 all-build-bison: configure-build-bison
2549 @: $(MAKE); $(unstage)
2550 @r=`${PWD_COMMAND}`; export r; \
2551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2552 $(BUILD_EXPORTS) \
2553 (cd $(BUILD_SUBDIR)/bison && \
2554 $(MAKE) $(TARGET-build-bison))
2555 @endif build-bison
2561 .PHONY: configure-build-byacc maybe-configure-build-byacc
2562 maybe-configure-build-byacc:
2563 @if gcc-bootstrap
2564 configure-build-byacc: stage_current
2565 @endif gcc-bootstrap
2566 @if build-byacc
2567 maybe-configure-build-byacc: configure-build-byacc
2568 configure-build-byacc:
2569 @: $(MAKE); $(unstage)
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2573 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2574 $(BUILD_EXPORTS) \
2575 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2576 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2577 case $(srcdir) in \
2578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2579 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2581 esac; \
2582 srcdiroption="--srcdir=$${topdir}/byacc"; \
2583 libsrcdir="$$s/byacc"; \
2584 rm -f no-such-file || : ; \
2585 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2586 $(BUILD_CONFIGARGS) $${srcdiroption} \
2587 || exit 1
2588 @endif build-byacc
2594 .PHONY: all-build-byacc maybe-all-build-byacc
2595 maybe-all-build-byacc:
2596 @if gcc-bootstrap
2597 all-build-byacc: stage_current
2598 @endif gcc-bootstrap
2599 @if build-byacc
2600 TARGET-build-byacc=all
2601 maybe-all-build-byacc: all-build-byacc
2602 all-build-byacc: configure-build-byacc
2603 @: $(MAKE); $(unstage)
2604 @r=`${PWD_COMMAND}`; export r; \
2605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2606 $(BUILD_EXPORTS) \
2607 (cd $(BUILD_SUBDIR)/byacc && \
2608 $(MAKE) $(TARGET-build-byacc))
2609 @endif build-byacc
2615 .PHONY: configure-build-flex maybe-configure-build-flex
2616 maybe-configure-build-flex:
2617 @if gcc-bootstrap
2618 configure-build-flex: stage_current
2619 @endif gcc-bootstrap
2620 @if build-flex
2621 maybe-configure-build-flex: configure-build-flex
2622 configure-build-flex:
2623 @: $(MAKE); $(unstage)
2624 @r=`${PWD_COMMAND}`; export r; \
2625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2626 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2627 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2628 $(BUILD_EXPORTS) \
2629 echo Configuring in $(BUILD_SUBDIR)/flex; \
2630 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2631 case $(srcdir) in \
2632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2633 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2635 esac; \
2636 srcdiroption="--srcdir=$${topdir}/flex"; \
2637 libsrcdir="$$s/flex"; \
2638 rm -f no-such-file || : ; \
2639 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2640 $(BUILD_CONFIGARGS) $${srcdiroption} \
2641 || exit 1
2642 @endif build-flex
2648 .PHONY: all-build-flex maybe-all-build-flex
2649 maybe-all-build-flex:
2650 @if gcc-bootstrap
2651 all-build-flex: stage_current
2652 @endif gcc-bootstrap
2653 @if build-flex
2654 TARGET-build-flex=all
2655 maybe-all-build-flex: all-build-flex
2656 all-build-flex: configure-build-flex
2657 @: $(MAKE); $(unstage)
2658 @r=`${PWD_COMMAND}`; export r; \
2659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2660 $(BUILD_EXPORTS) \
2661 (cd $(BUILD_SUBDIR)/flex && \
2662 $(MAKE) $(TARGET-build-flex))
2663 @endif build-flex
2669 .PHONY: configure-build-m4 maybe-configure-build-m4
2670 maybe-configure-build-m4:
2671 @if gcc-bootstrap
2672 configure-build-m4: stage_current
2673 @endif gcc-bootstrap
2674 @if build-m4
2675 maybe-configure-build-m4: configure-build-m4
2676 configure-build-m4:
2677 @: $(MAKE); $(unstage)
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2681 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2682 $(BUILD_EXPORTS) \
2683 echo Configuring in $(BUILD_SUBDIR)/m4; \
2684 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2685 case $(srcdir) in \
2686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2687 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2689 esac; \
2690 srcdiroption="--srcdir=$${topdir}/m4"; \
2691 libsrcdir="$$s/m4"; \
2692 rm -f no-such-file || : ; \
2693 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2694 $(BUILD_CONFIGARGS) $${srcdiroption} \
2695 || exit 1
2696 @endif build-m4
2702 .PHONY: all-build-m4 maybe-all-build-m4
2703 maybe-all-build-m4:
2704 @if gcc-bootstrap
2705 all-build-m4: stage_current
2706 @endif gcc-bootstrap
2707 @if build-m4
2708 TARGET-build-m4=all
2709 maybe-all-build-m4: all-build-m4
2710 all-build-m4: configure-build-m4
2711 @: $(MAKE); $(unstage)
2712 @r=`${PWD_COMMAND}`; export r; \
2713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2714 $(BUILD_EXPORTS) \
2715 (cd $(BUILD_SUBDIR)/m4 && \
2716 $(MAKE) $(TARGET-build-m4))
2717 @endif build-m4
2723 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2724 maybe-configure-build-texinfo:
2725 @if gcc-bootstrap
2726 configure-build-texinfo: stage_current
2727 @endif gcc-bootstrap
2728 @if build-texinfo
2729 maybe-configure-build-texinfo: configure-build-texinfo
2730 configure-build-texinfo:
2731 @: $(MAKE); $(unstage)
2732 @r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2735 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2736 $(BUILD_EXPORTS) \
2737 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2738 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2739 case $(srcdir) in \
2740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2741 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2743 esac; \
2744 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2745 libsrcdir="$$s/texinfo"; \
2746 rm -f no-such-file || : ; \
2747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2748 $(BUILD_CONFIGARGS) $${srcdiroption} \
2749 || exit 1
2750 @endif build-texinfo
2756 .PHONY: all-build-texinfo maybe-all-build-texinfo
2757 maybe-all-build-texinfo:
2758 @if gcc-bootstrap
2759 all-build-texinfo: stage_current
2760 @endif gcc-bootstrap
2761 @if build-texinfo
2762 TARGET-build-texinfo=all
2763 maybe-all-build-texinfo: all-build-texinfo
2764 all-build-texinfo: configure-build-texinfo
2765 @: $(MAKE); $(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(BUILD_EXPORTS) \
2769 (cd $(BUILD_SUBDIR)/texinfo && \
2770 $(MAKE) $(TARGET-build-texinfo))
2771 @endif build-texinfo
2777 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2778 maybe-configure-build-fixincludes:
2779 @if gcc-bootstrap
2780 configure-build-fixincludes: stage_current
2781 @endif gcc-bootstrap
2782 @if build-fixincludes
2783 maybe-configure-build-fixincludes: configure-build-fixincludes
2784 configure-build-fixincludes:
2785 @: $(MAKE); $(unstage)
2786 @r=`${PWD_COMMAND}`; export r; \
2787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2788 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2789 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2790 $(BUILD_EXPORTS) \
2791 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2792 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2793 case $(srcdir) in \
2794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2795 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2797 esac; \
2798 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2799 libsrcdir="$$s/fixincludes"; \
2800 rm -f no-such-file || : ; \
2801 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2802 $(BUILD_CONFIGARGS) $${srcdiroption} \
2803 || exit 1
2804 @endif build-fixincludes
2810 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2811 maybe-all-build-fixincludes:
2812 @if gcc-bootstrap
2813 all-build-fixincludes: stage_current
2814 @endif gcc-bootstrap
2815 @if build-fixincludes
2816 TARGET-build-fixincludes=all
2817 maybe-all-build-fixincludes: all-build-fixincludes
2818 all-build-fixincludes: configure-build-fixincludes
2819 @: $(MAKE); $(unstage)
2820 @r=`${PWD_COMMAND}`; export r; \
2821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 $(BUILD_EXPORTS) \
2823 (cd $(BUILD_SUBDIR)/fixincludes && \
2824 $(MAKE) $(TARGET-build-fixincludes))
2825 @endif build-fixincludes
2831 # --------------------------------------
2832 # Modules which run on the host machine
2833 # --------------------------------------
2836 .PHONY: configure-ash maybe-configure-ash
2837 maybe-configure-ash:
2838 @if gcc-bootstrap
2839 configure-ash: stage_current
2840 @endif gcc-bootstrap
2841 @if ash
2842 maybe-configure-ash: configure-ash
2843 configure-ash:
2844 @: $(MAKE); $(unstage)
2845 @r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2849 $(HOST_EXPORTS) \
2850 echo Configuring in $(HOST_SUBDIR)/ash; \
2851 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2852 case $(srcdir) in \
2853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2854 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2856 esac; \
2857 srcdiroption="--srcdir=$${topdir}/ash"; \
2858 libsrcdir="$$s/ash"; \
2859 $(SHELL) $${libsrcdir}/configure \
2860 $(HOST_CONFIGARGS) $${srcdiroption} \
2861 || exit 1
2862 @endif ash
2868 .PHONY: all-ash maybe-all-ash
2869 maybe-all-ash:
2870 @if gcc-bootstrap
2871 all-ash: stage_current
2872 @endif gcc-bootstrap
2873 @if ash
2874 TARGET-ash=all
2875 maybe-all-ash: all-ash
2876 all-ash: configure-ash
2877 @: $(MAKE); $(unstage)
2878 @r=`${PWD_COMMAND}`; export r; \
2879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2880 $(HOST_EXPORTS) \
2881 (cd $(HOST_SUBDIR)/ash && \
2882 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2883 @endif ash
2888 .PHONY: check-ash maybe-check-ash
2889 maybe-check-ash:
2890 @if ash
2891 maybe-check-ash: check-ash
2893 check-ash:
2894 @: $(MAKE); $(unstage)
2895 @r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(HOST_EXPORTS) \
2898 (cd $(HOST_SUBDIR)/ash && \
2899 $(MAKE) $(FLAGS_TO_PASS) check)
2901 @endif ash
2903 .PHONY: install-ash maybe-install-ash
2904 maybe-install-ash:
2905 @if ash
2906 maybe-install-ash: install-ash
2908 install-ash: installdirs
2909 @: $(MAKE); $(unstage)
2910 @r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912 $(HOST_EXPORTS) \
2913 (cd $(HOST_SUBDIR)/ash && \
2914 $(MAKE) $(FLAGS_TO_PASS) install)
2916 @endif ash
2918 # Other targets (info, dvi, pdf, etc.)
2920 .PHONY: maybe-info-ash info-ash
2921 maybe-info-ash:
2922 @if ash
2923 maybe-info-ash: info-ash
2925 info-ash: \
2926 configure-ash
2927 @: $(MAKE); $(unstage)
2928 @[ -f ./ash/Makefile ] || exit 0; \
2929 r=`${PWD_COMMAND}`; export r; \
2930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2931 $(HOST_EXPORTS) \
2932 for flag in $(EXTRA_HOST_FLAGS) ; do \
2933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2934 done; \
2935 echo "Doing info in ash" ; \
2936 (cd $(HOST_SUBDIR)/ash && \
2937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2939 "RANLIB=$${RANLIB}" \
2940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2941 info) \
2942 || exit 1
2944 @endif ash
2946 .PHONY: maybe-dvi-ash dvi-ash
2947 maybe-dvi-ash:
2948 @if ash
2949 maybe-dvi-ash: dvi-ash
2951 dvi-ash: \
2952 configure-ash
2953 @: $(MAKE); $(unstage)
2954 @[ -f ./ash/Makefile ] || exit 0; \
2955 r=`${PWD_COMMAND}`; export r; \
2956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2957 $(HOST_EXPORTS) \
2958 for flag in $(EXTRA_HOST_FLAGS) ; do \
2959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2960 done; \
2961 echo "Doing dvi in ash" ; \
2962 (cd $(HOST_SUBDIR)/ash && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2965 "RANLIB=$${RANLIB}" \
2966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2967 dvi) \
2968 || exit 1
2970 @endif ash
2972 .PHONY: maybe-pdf-ash pdf-ash
2973 maybe-pdf-ash:
2974 @if ash
2975 maybe-pdf-ash: pdf-ash
2977 pdf-ash: \
2978 configure-ash
2979 @: $(MAKE); $(unstage)
2980 @[ -f ./ash/Makefile ] || exit 0; \
2981 r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 $(HOST_EXPORTS) \
2984 for flag in $(EXTRA_HOST_FLAGS) ; do \
2985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2986 done; \
2987 echo "Doing pdf in ash" ; \
2988 (cd $(HOST_SUBDIR)/ash && \
2989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2991 "RANLIB=$${RANLIB}" \
2992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2993 pdf) \
2994 || exit 1
2996 @endif ash
2998 .PHONY: maybe-html-ash html-ash
2999 maybe-html-ash:
3000 @if ash
3001 maybe-html-ash: html-ash
3003 html-ash: \
3004 configure-ash
3005 @: $(MAKE); $(unstage)
3006 @[ -f ./ash/Makefile ] || exit 0; \
3007 r=`${PWD_COMMAND}`; export r; \
3008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3009 $(HOST_EXPORTS) \
3010 for flag in $(EXTRA_HOST_FLAGS) ; do \
3011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3012 done; \
3013 echo "Doing html in ash" ; \
3014 (cd $(HOST_SUBDIR)/ash && \
3015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3017 "RANLIB=$${RANLIB}" \
3018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3019 html) \
3020 || exit 1
3022 @endif ash
3024 .PHONY: maybe-TAGS-ash TAGS-ash
3025 maybe-TAGS-ash:
3026 @if ash
3027 maybe-TAGS-ash: TAGS-ash
3029 TAGS-ash: \
3030 configure-ash
3031 @: $(MAKE); $(unstage)
3032 @[ -f ./ash/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(HOST_EXPORTS) \
3036 for flag in $(EXTRA_HOST_FLAGS) ; do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing TAGS in ash" ; \
3040 (cd $(HOST_SUBDIR)/ash && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 TAGS) \
3046 || exit 1
3048 @endif ash
3050 .PHONY: maybe-install-info-ash install-info-ash
3051 maybe-install-info-ash:
3052 @if ash
3053 maybe-install-info-ash: install-info-ash
3055 install-info-ash: \
3056 configure-ash \
3057 info-ash
3058 @: $(MAKE); $(unstage)
3059 @[ -f ./ash/Makefile ] || exit 0; \
3060 r=`${PWD_COMMAND}`; export r; \
3061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3062 $(HOST_EXPORTS) \
3063 for flag in $(EXTRA_HOST_FLAGS) ; do \
3064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3065 done; \
3066 echo "Doing install-info in ash" ; \
3067 (cd $(HOST_SUBDIR)/ash && \
3068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3070 "RANLIB=$${RANLIB}" \
3071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3072 install-info) \
3073 || exit 1
3075 @endif ash
3077 .PHONY: maybe-install-html-ash install-html-ash
3078 maybe-install-html-ash:
3079 @if ash
3080 maybe-install-html-ash: install-html-ash
3082 install-html-ash: \
3083 configure-ash \
3084 html-ash
3085 @: $(MAKE); $(unstage)
3086 @[ -f ./ash/Makefile ] || exit 0; \
3087 r=`${PWD_COMMAND}`; export r; \
3088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3089 $(HOST_EXPORTS) \
3090 for flag in $(EXTRA_HOST_FLAGS) ; do \
3091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3092 done; \
3093 echo "Doing install-html in ash" ; \
3094 (cd $(HOST_SUBDIR)/ash && \
3095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3097 "RANLIB=$${RANLIB}" \
3098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3099 install-html) \
3100 || exit 1
3102 @endif ash
3104 .PHONY: maybe-installcheck-ash installcheck-ash
3105 maybe-installcheck-ash:
3106 @if ash
3107 maybe-installcheck-ash: installcheck-ash
3109 installcheck-ash: \
3110 configure-ash
3111 @: $(MAKE); $(unstage)
3112 @[ -f ./ash/Makefile ] || exit 0; \
3113 r=`${PWD_COMMAND}`; export r; \
3114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3115 $(HOST_EXPORTS) \
3116 for flag in $(EXTRA_HOST_FLAGS) ; do \
3117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3118 done; \
3119 echo "Doing installcheck in ash" ; \
3120 (cd $(HOST_SUBDIR)/ash && \
3121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3123 "RANLIB=$${RANLIB}" \
3124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3125 installcheck) \
3126 || exit 1
3128 @endif ash
3130 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3131 maybe-mostlyclean-ash:
3132 @if ash
3133 maybe-mostlyclean-ash: mostlyclean-ash
3135 mostlyclean-ash:
3136 @: $(MAKE); $(unstage)
3137 @[ -f ./ash/Makefile ] || exit 0; \
3138 r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 $(HOST_EXPORTS) \
3141 for flag in $(EXTRA_HOST_FLAGS) ; do \
3142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3143 done; \
3144 echo "Doing mostlyclean in ash" ; \
3145 (cd $(HOST_SUBDIR)/ash && \
3146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3148 "RANLIB=$${RANLIB}" \
3149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3150 mostlyclean) \
3151 || exit 1
3153 @endif ash
3155 .PHONY: maybe-clean-ash clean-ash
3156 maybe-clean-ash:
3157 @if ash
3158 maybe-clean-ash: clean-ash
3160 clean-ash:
3161 @: $(MAKE); $(unstage)
3162 @[ -f ./ash/Makefile ] || exit 0; \
3163 r=`${PWD_COMMAND}`; export r; \
3164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3165 $(HOST_EXPORTS) \
3166 for flag in $(EXTRA_HOST_FLAGS) ; do \
3167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3168 done; \
3169 echo "Doing clean in ash" ; \
3170 (cd $(HOST_SUBDIR)/ash && \
3171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3173 "RANLIB=$${RANLIB}" \
3174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3175 clean) \
3176 || exit 1
3178 @endif ash
3180 .PHONY: maybe-distclean-ash distclean-ash
3181 maybe-distclean-ash:
3182 @if ash
3183 maybe-distclean-ash: distclean-ash
3185 distclean-ash:
3186 @: $(MAKE); $(unstage)
3187 @[ -f ./ash/Makefile ] || exit 0; \
3188 r=`${PWD_COMMAND}`; export r; \
3189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3190 $(HOST_EXPORTS) \
3191 for flag in $(EXTRA_HOST_FLAGS) ; do \
3192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3193 done; \
3194 echo "Doing distclean in ash" ; \
3195 (cd $(HOST_SUBDIR)/ash && \
3196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3198 "RANLIB=$${RANLIB}" \
3199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3200 distclean) \
3201 || exit 1
3203 @endif ash
3205 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3206 maybe-maintainer-clean-ash:
3207 @if ash
3208 maybe-maintainer-clean-ash: maintainer-clean-ash
3210 maintainer-clean-ash:
3211 @: $(MAKE); $(unstage)
3212 @[ -f ./ash/Makefile ] || exit 0; \
3213 r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 $(HOST_EXPORTS) \
3216 for flag in $(EXTRA_HOST_FLAGS) ; do \
3217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3218 done; \
3219 echo "Doing maintainer-clean in ash" ; \
3220 (cd $(HOST_SUBDIR)/ash && \
3221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3223 "RANLIB=$${RANLIB}" \
3224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3225 maintainer-clean) \
3226 || exit 1
3228 @endif ash
3232 .PHONY: configure-autoconf maybe-configure-autoconf
3233 maybe-configure-autoconf:
3234 @if gcc-bootstrap
3235 configure-autoconf: stage_current
3236 @endif gcc-bootstrap
3237 @if autoconf
3238 maybe-configure-autoconf: configure-autoconf
3239 configure-autoconf:
3240 @: $(MAKE); $(unstage)
3241 @r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3245 $(HOST_EXPORTS) \
3246 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3247 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3248 case $(srcdir) in \
3249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3250 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3252 esac; \
3253 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3254 libsrcdir="$$s/autoconf"; \
3255 $(SHELL) $${libsrcdir}/configure \
3256 $(HOST_CONFIGARGS) $${srcdiroption} \
3257 || exit 1
3258 @endif autoconf
3264 .PHONY: all-autoconf maybe-all-autoconf
3265 maybe-all-autoconf:
3266 @if gcc-bootstrap
3267 all-autoconf: stage_current
3268 @endif gcc-bootstrap
3269 @if autoconf
3270 TARGET-autoconf=all
3271 maybe-all-autoconf: all-autoconf
3272 all-autoconf: configure-autoconf
3273 @: $(MAKE); $(unstage)
3274 @r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3276 $(HOST_EXPORTS) \
3277 (cd $(HOST_SUBDIR)/autoconf && \
3278 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3279 @endif autoconf
3284 .PHONY: check-autoconf maybe-check-autoconf
3285 maybe-check-autoconf:
3286 @if autoconf
3287 maybe-check-autoconf: check-autoconf
3289 check-autoconf:
3290 @: $(MAKE); $(unstage)
3291 @r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293 $(HOST_EXPORTS) \
3294 (cd $(HOST_SUBDIR)/autoconf && \
3295 $(MAKE) $(FLAGS_TO_PASS) check)
3297 @endif autoconf
3299 .PHONY: install-autoconf maybe-install-autoconf
3300 maybe-install-autoconf:
3301 @if autoconf
3302 maybe-install-autoconf: install-autoconf
3304 install-autoconf: installdirs
3305 @: $(MAKE); $(unstage)
3306 @r=`${PWD_COMMAND}`; export r; \
3307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3308 $(HOST_EXPORTS) \
3309 (cd $(HOST_SUBDIR)/autoconf && \
3310 $(MAKE) $(FLAGS_TO_PASS) install)
3312 @endif autoconf
3314 # Other targets (info, dvi, pdf, etc.)
3316 .PHONY: maybe-info-autoconf info-autoconf
3317 maybe-info-autoconf:
3318 @if autoconf
3319 maybe-info-autoconf: info-autoconf
3321 info-autoconf: \
3322 configure-autoconf
3323 @: $(MAKE); $(unstage)
3324 @[ -f ./autoconf/Makefile ] || exit 0; \
3325 r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 $(HOST_EXPORTS) \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3330 done; \
3331 echo "Doing info in autoconf" ; \
3332 (cd $(HOST_SUBDIR)/autoconf && \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3337 info) \
3338 || exit 1
3340 @endif autoconf
3342 .PHONY: maybe-dvi-autoconf dvi-autoconf
3343 maybe-dvi-autoconf:
3344 @if autoconf
3345 maybe-dvi-autoconf: dvi-autoconf
3347 dvi-autoconf: \
3348 configure-autoconf
3349 @: $(MAKE); $(unstage)
3350 @[ -f ./autoconf/Makefile ] || exit 0; \
3351 r=`${PWD_COMMAND}`; export r; \
3352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3353 $(HOST_EXPORTS) \
3354 for flag in $(EXTRA_HOST_FLAGS) ; do \
3355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3356 done; \
3357 echo "Doing dvi in autoconf" ; \
3358 (cd $(HOST_SUBDIR)/autoconf && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3361 "RANLIB=$${RANLIB}" \
3362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3363 dvi) \
3364 || exit 1
3366 @endif autoconf
3368 .PHONY: maybe-pdf-autoconf pdf-autoconf
3369 maybe-pdf-autoconf:
3370 @if autoconf
3371 maybe-pdf-autoconf: pdf-autoconf
3373 pdf-autoconf: \
3374 configure-autoconf
3375 @: $(MAKE); $(unstage)
3376 @[ -f ./autoconf/Makefile ] || exit 0; \
3377 r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 $(HOST_EXPORTS) \
3380 for flag in $(EXTRA_HOST_FLAGS) ; do \
3381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3382 done; \
3383 echo "Doing pdf in autoconf" ; \
3384 (cd $(HOST_SUBDIR)/autoconf && \
3385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3387 "RANLIB=$${RANLIB}" \
3388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3389 pdf) \
3390 || exit 1
3392 @endif autoconf
3394 .PHONY: maybe-html-autoconf html-autoconf
3395 maybe-html-autoconf:
3396 @if autoconf
3397 maybe-html-autoconf: html-autoconf
3399 html-autoconf: \
3400 configure-autoconf
3401 @: $(MAKE); $(unstage)
3402 @[ -f ./autoconf/Makefile ] || exit 0; \
3403 r=`${PWD_COMMAND}`; export r; \
3404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 $(HOST_EXPORTS) \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 done; \
3409 echo "Doing html in autoconf" ; \
3410 (cd $(HOST_SUBDIR)/autoconf && \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 html) \
3416 || exit 1
3418 @endif autoconf
3420 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3421 maybe-TAGS-autoconf:
3422 @if autoconf
3423 maybe-TAGS-autoconf: TAGS-autoconf
3425 TAGS-autoconf: \
3426 configure-autoconf
3427 @: $(MAKE); $(unstage)
3428 @[ -f ./autoconf/Makefile ] || exit 0; \
3429 r=`${PWD_COMMAND}`; export r; \
3430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3431 $(HOST_EXPORTS) \
3432 for flag in $(EXTRA_HOST_FLAGS) ; do \
3433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3434 done; \
3435 echo "Doing TAGS in autoconf" ; \
3436 (cd $(HOST_SUBDIR)/autoconf && \
3437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3439 "RANLIB=$${RANLIB}" \
3440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3441 TAGS) \
3442 || exit 1
3444 @endif autoconf
3446 .PHONY: maybe-install-info-autoconf install-info-autoconf
3447 maybe-install-info-autoconf:
3448 @if autoconf
3449 maybe-install-info-autoconf: install-info-autoconf
3451 install-info-autoconf: \
3452 configure-autoconf \
3453 info-autoconf
3454 @: $(MAKE); $(unstage)
3455 @[ -f ./autoconf/Makefile ] || exit 0; \
3456 r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 $(HOST_EXPORTS) \
3459 for flag in $(EXTRA_HOST_FLAGS) ; do \
3460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3461 done; \
3462 echo "Doing install-info in autoconf" ; \
3463 (cd $(HOST_SUBDIR)/autoconf && \
3464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3466 "RANLIB=$${RANLIB}" \
3467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3468 install-info) \
3469 || exit 1
3471 @endif autoconf
3473 .PHONY: maybe-install-html-autoconf install-html-autoconf
3474 maybe-install-html-autoconf:
3475 @if autoconf
3476 maybe-install-html-autoconf: install-html-autoconf
3478 install-html-autoconf: \
3479 configure-autoconf \
3480 html-autoconf
3481 @: $(MAKE); $(unstage)
3482 @[ -f ./autoconf/Makefile ] || exit 0; \
3483 r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 $(HOST_EXPORTS) \
3486 for flag in $(EXTRA_HOST_FLAGS) ; do \
3487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3488 done; \
3489 echo "Doing install-html in autoconf" ; \
3490 (cd $(HOST_SUBDIR)/autoconf && \
3491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3493 "RANLIB=$${RANLIB}" \
3494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3495 install-html) \
3496 || exit 1
3498 @endif autoconf
3500 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3501 maybe-installcheck-autoconf:
3502 @if autoconf
3503 maybe-installcheck-autoconf: installcheck-autoconf
3505 installcheck-autoconf: \
3506 configure-autoconf
3507 @: $(MAKE); $(unstage)
3508 @[ -f ./autoconf/Makefile ] || exit 0; \
3509 r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 $(HOST_EXPORTS) \
3512 for flag in $(EXTRA_HOST_FLAGS) ; do \
3513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3514 done; \
3515 echo "Doing installcheck in autoconf" ; \
3516 (cd $(HOST_SUBDIR)/autoconf && \
3517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3519 "RANLIB=$${RANLIB}" \
3520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3521 installcheck) \
3522 || exit 1
3524 @endif autoconf
3526 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3527 maybe-mostlyclean-autoconf:
3528 @if autoconf
3529 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3531 mostlyclean-autoconf:
3532 @: $(MAKE); $(unstage)
3533 @[ -f ./autoconf/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 done; \
3540 echo "Doing mostlyclean in autoconf" ; \
3541 (cd $(HOST_SUBDIR)/autoconf && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3546 mostlyclean) \
3547 || exit 1
3549 @endif autoconf
3551 .PHONY: maybe-clean-autoconf clean-autoconf
3552 maybe-clean-autoconf:
3553 @if autoconf
3554 maybe-clean-autoconf: clean-autoconf
3556 clean-autoconf:
3557 @: $(MAKE); $(unstage)
3558 @[ -f ./autoconf/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 $(HOST_EXPORTS) \
3562 for flag in $(EXTRA_HOST_FLAGS) ; do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 done; \
3565 echo "Doing clean in autoconf" ; \
3566 (cd $(HOST_SUBDIR)/autoconf && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3571 clean) \
3572 || exit 1
3574 @endif autoconf
3576 .PHONY: maybe-distclean-autoconf distclean-autoconf
3577 maybe-distclean-autoconf:
3578 @if autoconf
3579 maybe-distclean-autoconf: distclean-autoconf
3581 distclean-autoconf:
3582 @: $(MAKE); $(unstage)
3583 @[ -f ./autoconf/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(HOST_EXPORTS) \
3587 for flag in $(EXTRA_HOST_FLAGS) ; do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 done; \
3590 echo "Doing distclean in autoconf" ; \
3591 (cd $(HOST_SUBDIR)/autoconf && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3596 distclean) \
3597 || exit 1
3599 @endif autoconf
3601 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3602 maybe-maintainer-clean-autoconf:
3603 @if autoconf
3604 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3606 maintainer-clean-autoconf:
3607 @: $(MAKE); $(unstage)
3608 @[ -f ./autoconf/Makefile ] || exit 0; \
3609 r=`${PWD_COMMAND}`; export r; \
3610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3611 $(HOST_EXPORTS) \
3612 for flag in $(EXTRA_HOST_FLAGS) ; do \
3613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3614 done; \
3615 echo "Doing maintainer-clean in autoconf" ; \
3616 (cd $(HOST_SUBDIR)/autoconf && \
3617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3619 "RANLIB=$${RANLIB}" \
3620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3621 maintainer-clean) \
3622 || exit 1
3624 @endif autoconf
3628 .PHONY: configure-automake maybe-configure-automake
3629 maybe-configure-automake:
3630 @if gcc-bootstrap
3631 configure-automake: stage_current
3632 @endif gcc-bootstrap
3633 @if automake
3634 maybe-configure-automake: configure-automake
3635 configure-automake:
3636 @: $(MAKE); $(unstage)
3637 @r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3641 $(HOST_EXPORTS) \
3642 echo Configuring in $(HOST_SUBDIR)/automake; \
3643 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3644 case $(srcdir) in \
3645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3646 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3648 esac; \
3649 srcdiroption="--srcdir=$${topdir}/automake"; \
3650 libsrcdir="$$s/automake"; \
3651 $(SHELL) $${libsrcdir}/configure \
3652 $(HOST_CONFIGARGS) $${srcdiroption} \
3653 || exit 1
3654 @endif automake
3660 .PHONY: all-automake maybe-all-automake
3661 maybe-all-automake:
3662 @if gcc-bootstrap
3663 all-automake: stage_current
3664 @endif gcc-bootstrap
3665 @if automake
3666 TARGET-automake=all
3667 maybe-all-automake: all-automake
3668 all-automake: configure-automake
3669 @: $(MAKE); $(unstage)
3670 @r=`${PWD_COMMAND}`; export r; \
3671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672 $(HOST_EXPORTS) \
3673 (cd $(HOST_SUBDIR)/automake && \
3674 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3675 @endif automake
3680 .PHONY: check-automake maybe-check-automake
3681 maybe-check-automake:
3682 @if automake
3683 maybe-check-automake: check-automake
3685 check-automake:
3686 @: $(MAKE); $(unstage)
3687 @r=`${PWD_COMMAND}`; export r; \
3688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3689 $(HOST_EXPORTS) \
3690 (cd $(HOST_SUBDIR)/automake && \
3691 $(MAKE) $(FLAGS_TO_PASS) check)
3693 @endif automake
3695 .PHONY: install-automake maybe-install-automake
3696 maybe-install-automake:
3697 @if automake
3698 maybe-install-automake: install-automake
3700 install-automake: installdirs
3701 @: $(MAKE); $(unstage)
3702 @r=`${PWD_COMMAND}`; export r; \
3703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3704 $(HOST_EXPORTS) \
3705 (cd $(HOST_SUBDIR)/automake && \
3706 $(MAKE) $(FLAGS_TO_PASS) install)
3708 @endif automake
3710 # Other targets (info, dvi, pdf, etc.)
3712 .PHONY: maybe-info-automake info-automake
3713 maybe-info-automake:
3714 @if automake
3715 maybe-info-automake: info-automake
3717 info-automake: \
3718 configure-automake
3719 @: $(MAKE); $(unstage)
3720 @[ -f ./automake/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3723 $(HOST_EXPORTS) \
3724 for flag in $(EXTRA_HOST_FLAGS) ; do \
3725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3726 done; \
3727 echo "Doing info in automake" ; \
3728 (cd $(HOST_SUBDIR)/automake && \
3729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731 "RANLIB=$${RANLIB}" \
3732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3733 info) \
3734 || exit 1
3736 @endif automake
3738 .PHONY: maybe-dvi-automake dvi-automake
3739 maybe-dvi-automake:
3740 @if automake
3741 maybe-dvi-automake: dvi-automake
3743 dvi-automake: \
3744 configure-automake
3745 @: $(MAKE); $(unstage)
3746 @[ -f ./automake/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing dvi in automake" ; \
3754 (cd $(HOST_SUBDIR)/automake && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3759 dvi) \
3760 || exit 1
3762 @endif automake
3764 .PHONY: maybe-pdf-automake pdf-automake
3765 maybe-pdf-automake:
3766 @if automake
3767 maybe-pdf-automake: pdf-automake
3769 pdf-automake: \
3770 configure-automake
3771 @: $(MAKE); $(unstage)
3772 @[ -f ./automake/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(HOST_EXPORTS) \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3778 done; \
3779 echo "Doing pdf in automake" ; \
3780 (cd $(HOST_SUBDIR)/automake && \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3785 pdf) \
3786 || exit 1
3788 @endif automake
3790 .PHONY: maybe-html-automake html-automake
3791 maybe-html-automake:
3792 @if automake
3793 maybe-html-automake: html-automake
3795 html-automake: \
3796 configure-automake
3797 @: $(MAKE); $(unstage)
3798 @[ -f ./automake/Makefile ] || exit 0; \
3799 r=`${PWD_COMMAND}`; export r; \
3800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3801 $(HOST_EXPORTS) \
3802 for flag in $(EXTRA_HOST_FLAGS) ; do \
3803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3804 done; \
3805 echo "Doing html in automake" ; \
3806 (cd $(HOST_SUBDIR)/automake && \
3807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809 "RANLIB=$${RANLIB}" \
3810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3811 html) \
3812 || exit 1
3814 @endif automake
3816 .PHONY: maybe-TAGS-automake TAGS-automake
3817 maybe-TAGS-automake:
3818 @if automake
3819 maybe-TAGS-automake: TAGS-automake
3821 TAGS-automake: \
3822 configure-automake
3823 @: $(MAKE); $(unstage)
3824 @[ -f ./automake/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3827 $(HOST_EXPORTS) \
3828 for flag in $(EXTRA_HOST_FLAGS) ; do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830 done; \
3831 echo "Doing TAGS in automake" ; \
3832 (cd $(HOST_SUBDIR)/automake && \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837 TAGS) \
3838 || exit 1
3840 @endif automake
3842 .PHONY: maybe-install-info-automake install-info-automake
3843 maybe-install-info-automake:
3844 @if automake
3845 maybe-install-info-automake: install-info-automake
3847 install-info-automake: \
3848 configure-automake \
3849 info-automake
3850 @: $(MAKE); $(unstage)
3851 @[ -f ./automake/Makefile ] || exit 0; \
3852 r=`${PWD_COMMAND}`; export r; \
3853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 $(HOST_EXPORTS) \
3855 for flag in $(EXTRA_HOST_FLAGS) ; do \
3856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857 done; \
3858 echo "Doing install-info in automake" ; \
3859 (cd $(HOST_SUBDIR)/automake && \
3860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3862 "RANLIB=$${RANLIB}" \
3863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3864 install-info) \
3865 || exit 1
3867 @endif automake
3869 .PHONY: maybe-install-html-automake install-html-automake
3870 maybe-install-html-automake:
3871 @if automake
3872 maybe-install-html-automake: install-html-automake
3874 install-html-automake: \
3875 configure-automake \
3876 html-automake
3877 @: $(MAKE); $(unstage)
3878 @[ -f ./automake/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing install-html in automake" ; \
3886 (cd $(HOST_SUBDIR)/automake && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 install-html) \
3892 || exit 1
3894 @endif automake
3896 .PHONY: maybe-installcheck-automake installcheck-automake
3897 maybe-installcheck-automake:
3898 @if automake
3899 maybe-installcheck-automake: installcheck-automake
3901 installcheck-automake: \
3902 configure-automake
3903 @: $(MAKE); $(unstage)
3904 @[ -f ./automake/Makefile ] || exit 0; \
3905 r=`${PWD_COMMAND}`; export r; \
3906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 $(HOST_EXPORTS) \
3908 for flag in $(EXTRA_HOST_FLAGS) ; do \
3909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3910 done; \
3911 echo "Doing installcheck in automake" ; \
3912 (cd $(HOST_SUBDIR)/automake && \
3913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3915 "RANLIB=$${RANLIB}" \
3916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3917 installcheck) \
3918 || exit 1
3920 @endif automake
3922 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3923 maybe-mostlyclean-automake:
3924 @if automake
3925 maybe-mostlyclean-automake: mostlyclean-automake
3927 mostlyclean-automake:
3928 @: $(MAKE); $(unstage)
3929 @[ -f ./automake/Makefile ] || exit 0; \
3930 r=`${PWD_COMMAND}`; export r; \
3931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3932 $(HOST_EXPORTS) \
3933 for flag in $(EXTRA_HOST_FLAGS) ; do \
3934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3935 done; \
3936 echo "Doing mostlyclean in automake" ; \
3937 (cd $(HOST_SUBDIR)/automake && \
3938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3940 "RANLIB=$${RANLIB}" \
3941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3942 mostlyclean) \
3943 || exit 1
3945 @endif automake
3947 .PHONY: maybe-clean-automake clean-automake
3948 maybe-clean-automake:
3949 @if automake
3950 maybe-clean-automake: clean-automake
3952 clean-automake:
3953 @: $(MAKE); $(unstage)
3954 @[ -f ./automake/Makefile ] || exit 0; \
3955 r=`${PWD_COMMAND}`; export r; \
3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 $(HOST_EXPORTS) \
3958 for flag in $(EXTRA_HOST_FLAGS) ; do \
3959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3960 done; \
3961 echo "Doing clean in automake" ; \
3962 (cd $(HOST_SUBDIR)/automake && \
3963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3965 "RANLIB=$${RANLIB}" \
3966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3967 clean) \
3968 || exit 1
3970 @endif automake
3972 .PHONY: maybe-distclean-automake distclean-automake
3973 maybe-distclean-automake:
3974 @if automake
3975 maybe-distclean-automake: distclean-automake
3977 distclean-automake:
3978 @: $(MAKE); $(unstage)
3979 @[ -f ./automake/Makefile ] || exit 0; \
3980 r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3982 $(HOST_EXPORTS) \
3983 for flag in $(EXTRA_HOST_FLAGS) ; do \
3984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3985 done; \
3986 echo "Doing distclean in automake" ; \
3987 (cd $(HOST_SUBDIR)/automake && \
3988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3990 "RANLIB=$${RANLIB}" \
3991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3992 distclean) \
3993 || exit 1
3995 @endif automake
3997 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3998 maybe-maintainer-clean-automake:
3999 @if automake
4000 maybe-maintainer-clean-automake: maintainer-clean-automake
4002 maintainer-clean-automake:
4003 @: $(MAKE); $(unstage)
4004 @[ -f ./automake/Makefile ] || exit 0; \
4005 r=`${PWD_COMMAND}`; export r; \
4006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4007 $(HOST_EXPORTS) \
4008 for flag in $(EXTRA_HOST_FLAGS) ; do \
4009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4010 done; \
4011 echo "Doing maintainer-clean in automake" ; \
4012 (cd $(HOST_SUBDIR)/automake && \
4013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4015 "RANLIB=$${RANLIB}" \
4016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4017 maintainer-clean) \
4018 || exit 1
4020 @endif automake
4024 .PHONY: configure-bash maybe-configure-bash
4025 maybe-configure-bash:
4026 @if gcc-bootstrap
4027 configure-bash: stage_current
4028 @endif gcc-bootstrap
4029 @if bash
4030 maybe-configure-bash: configure-bash
4031 configure-bash:
4032 @: $(MAKE); $(unstage)
4033 @r=`${PWD_COMMAND}`; export r; \
4034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4035 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4037 $(HOST_EXPORTS) \
4038 echo Configuring in $(HOST_SUBDIR)/bash; \
4039 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4040 case $(srcdir) in \
4041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4042 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4044 esac; \
4045 srcdiroption="--srcdir=$${topdir}/bash"; \
4046 libsrcdir="$$s/bash"; \
4047 $(SHELL) $${libsrcdir}/configure \
4048 $(HOST_CONFIGARGS) $${srcdiroption} \
4049 || exit 1
4050 @endif bash
4056 .PHONY: all-bash maybe-all-bash
4057 maybe-all-bash:
4058 @if gcc-bootstrap
4059 all-bash: stage_current
4060 @endif gcc-bootstrap
4061 @if bash
4062 TARGET-bash=all
4063 maybe-all-bash: all-bash
4064 all-bash: configure-bash
4065 @: $(MAKE); $(unstage)
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 $(HOST_EXPORTS) \
4069 (cd $(HOST_SUBDIR)/bash && \
4070 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4071 @endif bash
4076 .PHONY: check-bash maybe-check-bash
4077 maybe-check-bash:
4078 @if bash
4079 maybe-check-bash: check-bash
4081 check-bash:
4082 @: $(MAKE); $(unstage)
4083 @r=`${PWD_COMMAND}`; export r; \
4084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4085 $(HOST_EXPORTS) \
4086 (cd $(HOST_SUBDIR)/bash && \
4087 $(MAKE) $(FLAGS_TO_PASS) check)
4089 @endif bash
4091 .PHONY: install-bash maybe-install-bash
4092 maybe-install-bash:
4093 @if bash
4094 maybe-install-bash: install-bash
4096 install-bash: installdirs
4097 @: $(MAKE); $(unstage)
4098 @r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 $(HOST_EXPORTS) \
4101 (cd $(HOST_SUBDIR)/bash && \
4102 $(MAKE) $(FLAGS_TO_PASS) install)
4104 @endif bash
4106 # Other targets (info, dvi, pdf, etc.)
4108 .PHONY: maybe-info-bash info-bash
4109 maybe-info-bash:
4110 @if bash
4111 maybe-info-bash: info-bash
4113 info-bash: \
4114 configure-bash
4115 @: $(MAKE); $(unstage)
4116 @[ -f ./bash/Makefile ] || exit 0; \
4117 r=`${PWD_COMMAND}`; export r; \
4118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4119 $(HOST_EXPORTS) \
4120 for flag in $(EXTRA_HOST_FLAGS) ; do \
4121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4122 done; \
4123 echo "Doing info in bash" ; \
4124 (cd $(HOST_SUBDIR)/bash && \
4125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4127 "RANLIB=$${RANLIB}" \
4128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4129 info) \
4130 || exit 1
4132 @endif bash
4134 .PHONY: maybe-dvi-bash dvi-bash
4135 maybe-dvi-bash:
4136 @if bash
4137 maybe-dvi-bash: dvi-bash
4139 dvi-bash: \
4140 configure-bash
4141 @: $(MAKE); $(unstage)
4142 @[ -f ./bash/Makefile ] || exit 0; \
4143 r=`${PWD_COMMAND}`; export r; \
4144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4145 $(HOST_EXPORTS) \
4146 for flag in $(EXTRA_HOST_FLAGS) ; do \
4147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4148 done; \
4149 echo "Doing dvi in bash" ; \
4150 (cd $(HOST_SUBDIR)/bash && \
4151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4153 "RANLIB=$${RANLIB}" \
4154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4155 dvi) \
4156 || exit 1
4158 @endif bash
4160 .PHONY: maybe-pdf-bash pdf-bash
4161 maybe-pdf-bash:
4162 @if bash
4163 maybe-pdf-bash: pdf-bash
4165 pdf-bash: \
4166 configure-bash
4167 @: $(MAKE); $(unstage)
4168 @[ -f ./bash/Makefile ] || exit 0; \
4169 r=`${PWD_COMMAND}`; export r; \
4170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4171 $(HOST_EXPORTS) \
4172 for flag in $(EXTRA_HOST_FLAGS) ; do \
4173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4174 done; \
4175 echo "Doing pdf in bash" ; \
4176 (cd $(HOST_SUBDIR)/bash && \
4177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4179 "RANLIB=$${RANLIB}" \
4180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4181 pdf) \
4182 || exit 1
4184 @endif bash
4186 .PHONY: maybe-html-bash html-bash
4187 maybe-html-bash:
4188 @if bash
4189 maybe-html-bash: html-bash
4191 html-bash: \
4192 configure-bash
4193 @: $(MAKE); $(unstage)
4194 @[ -f ./bash/Makefile ] || exit 0; \
4195 r=`${PWD_COMMAND}`; export r; \
4196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4197 $(HOST_EXPORTS) \
4198 for flag in $(EXTRA_HOST_FLAGS) ; do \
4199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4200 done; \
4201 echo "Doing html in bash" ; \
4202 (cd $(HOST_SUBDIR)/bash && \
4203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4205 "RANLIB=$${RANLIB}" \
4206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4207 html) \
4208 || exit 1
4210 @endif bash
4212 .PHONY: maybe-TAGS-bash TAGS-bash
4213 maybe-TAGS-bash:
4214 @if bash
4215 maybe-TAGS-bash: TAGS-bash
4217 TAGS-bash: \
4218 configure-bash
4219 @: $(MAKE); $(unstage)
4220 @[ -f ./bash/Makefile ] || exit 0; \
4221 r=`${PWD_COMMAND}`; export r; \
4222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4223 $(HOST_EXPORTS) \
4224 for flag in $(EXTRA_HOST_FLAGS) ; do \
4225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4226 done; \
4227 echo "Doing TAGS in bash" ; \
4228 (cd $(HOST_SUBDIR)/bash && \
4229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4231 "RANLIB=$${RANLIB}" \
4232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4233 TAGS) \
4234 || exit 1
4236 @endif bash
4238 .PHONY: maybe-install-info-bash install-info-bash
4239 maybe-install-info-bash:
4240 @if bash
4241 maybe-install-info-bash: install-info-bash
4243 install-info-bash: \
4244 configure-bash \
4245 info-bash
4246 @: $(MAKE); $(unstage)
4247 @[ -f ./bash/Makefile ] || exit 0; \
4248 r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 $(HOST_EXPORTS) \
4251 for flag in $(EXTRA_HOST_FLAGS) ; do \
4252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4253 done; \
4254 echo "Doing install-info in bash" ; \
4255 (cd $(HOST_SUBDIR)/bash && \
4256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4258 "RANLIB=$${RANLIB}" \
4259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4260 install-info) \
4261 || exit 1
4263 @endif bash
4265 .PHONY: maybe-install-html-bash install-html-bash
4266 maybe-install-html-bash:
4267 @if bash
4268 maybe-install-html-bash: install-html-bash
4270 install-html-bash: \
4271 configure-bash \
4272 html-bash
4273 @: $(MAKE); $(unstage)
4274 @[ -f ./bash/Makefile ] || exit 0; \
4275 r=`${PWD_COMMAND}`; export r; \
4276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 $(HOST_EXPORTS) \
4278 for flag in $(EXTRA_HOST_FLAGS) ; do \
4279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4280 done; \
4281 echo "Doing install-html in bash" ; \
4282 (cd $(HOST_SUBDIR)/bash && \
4283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4285 "RANLIB=$${RANLIB}" \
4286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4287 install-html) \
4288 || exit 1
4290 @endif bash
4292 .PHONY: maybe-installcheck-bash installcheck-bash
4293 maybe-installcheck-bash:
4294 @if bash
4295 maybe-installcheck-bash: installcheck-bash
4297 installcheck-bash: \
4298 configure-bash
4299 @: $(MAKE); $(unstage)
4300 @[ -f ./bash/Makefile ] || exit 0; \
4301 r=`${PWD_COMMAND}`; export r; \
4302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4303 $(HOST_EXPORTS) \
4304 for flag in $(EXTRA_HOST_FLAGS) ; do \
4305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4306 done; \
4307 echo "Doing installcheck in bash" ; \
4308 (cd $(HOST_SUBDIR)/bash && \
4309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4311 "RANLIB=$${RANLIB}" \
4312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4313 installcheck) \
4314 || exit 1
4316 @endif bash
4318 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4319 maybe-mostlyclean-bash:
4320 @if bash
4321 maybe-mostlyclean-bash: mostlyclean-bash
4323 mostlyclean-bash:
4324 @: $(MAKE); $(unstage)
4325 @[ -f ./bash/Makefile ] || exit 0; \
4326 r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 $(HOST_EXPORTS) \
4329 for flag in $(EXTRA_HOST_FLAGS) ; do \
4330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4331 done; \
4332 echo "Doing mostlyclean in bash" ; \
4333 (cd $(HOST_SUBDIR)/bash && \
4334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4336 "RANLIB=$${RANLIB}" \
4337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4338 mostlyclean) \
4339 || exit 1
4341 @endif bash
4343 .PHONY: maybe-clean-bash clean-bash
4344 maybe-clean-bash:
4345 @if bash
4346 maybe-clean-bash: clean-bash
4348 clean-bash:
4349 @: $(MAKE); $(unstage)
4350 @[ -f ./bash/Makefile ] || exit 0; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(HOST_EXPORTS) \
4354 for flag in $(EXTRA_HOST_FLAGS) ; do \
4355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4356 done; \
4357 echo "Doing clean in bash" ; \
4358 (cd $(HOST_SUBDIR)/bash && \
4359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4361 "RANLIB=$${RANLIB}" \
4362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4363 clean) \
4364 || exit 1
4366 @endif bash
4368 .PHONY: maybe-distclean-bash distclean-bash
4369 maybe-distclean-bash:
4370 @if bash
4371 maybe-distclean-bash: distclean-bash
4373 distclean-bash:
4374 @: $(MAKE); $(unstage)
4375 @[ -f ./bash/Makefile ] || exit 0; \
4376 r=`${PWD_COMMAND}`; export r; \
4377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378 $(HOST_EXPORTS) \
4379 for flag in $(EXTRA_HOST_FLAGS) ; do \
4380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4381 done; \
4382 echo "Doing distclean in bash" ; \
4383 (cd $(HOST_SUBDIR)/bash && \
4384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4386 "RANLIB=$${RANLIB}" \
4387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4388 distclean) \
4389 || exit 1
4391 @endif bash
4393 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4394 maybe-maintainer-clean-bash:
4395 @if bash
4396 maybe-maintainer-clean-bash: maintainer-clean-bash
4398 maintainer-clean-bash:
4399 @: $(MAKE); $(unstage)
4400 @[ -f ./bash/Makefile ] || exit 0; \
4401 r=`${PWD_COMMAND}`; export r; \
4402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4403 $(HOST_EXPORTS) \
4404 for flag in $(EXTRA_HOST_FLAGS) ; do \
4405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4406 done; \
4407 echo "Doing maintainer-clean in bash" ; \
4408 (cd $(HOST_SUBDIR)/bash && \
4409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4411 "RANLIB=$${RANLIB}" \
4412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4413 maintainer-clean) \
4414 || exit 1
4416 @endif bash
4420 .PHONY: configure-bfd maybe-configure-bfd
4421 maybe-configure-bfd:
4422 @if gcc-bootstrap
4423 configure-bfd: stage_current
4424 @endif gcc-bootstrap
4425 @if bfd
4426 maybe-configure-bfd: configure-bfd
4427 configure-bfd:
4428 @r=`${PWD_COMMAND}`; export r; \
4429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4430 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4432 $(HOST_EXPORTS) \
4433 echo Configuring in $(HOST_SUBDIR)/bfd; \
4434 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4435 case $(srcdir) in \
4436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4437 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4439 esac; \
4440 srcdiroption="--srcdir=$${topdir}/bfd"; \
4441 libsrcdir="$$s/bfd"; \
4442 $(SHELL) $${libsrcdir}/configure \
4443 $(HOST_CONFIGARGS) $${srcdiroption} \
4444 || exit 1
4445 @endif bfd
4449 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4450 maybe-configure-stage1-bfd:
4451 @if bfd-bootstrap
4452 maybe-configure-stage1-bfd: configure-stage1-bfd
4453 configure-stage1-bfd:
4454 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4456 @r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4459 $(HOST_EXPORTS) \
4460 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4461 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4462 cd $(HOST_SUBDIR)/bfd || exit 1; \
4463 case $(srcdir) in \
4464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4465 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4467 esac; \
4468 srcdiroption="--srcdir=$${topdir}/bfd"; \
4469 libsrcdir="$$s/bfd"; \
4470 $(SHELL) $${libsrcdir}/configure \
4471 $(HOST_CONFIGARGS) $${srcdiroption} \
4473 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4474 @endif bfd-bootstrap
4476 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4477 maybe-configure-stage2-bfd:
4478 @if bfd-bootstrap
4479 maybe-configure-stage2-bfd: configure-stage2-bfd
4480 configure-stage2-bfd:
4481 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4483 @r=`${PWD_COMMAND}`; export r; \
4484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4485 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4486 $(HOST_EXPORTS) \
4487 $(POSTSTAGE1_HOST_EXPORTS) \
4488 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4490 cd $(HOST_SUBDIR)/bfd || exit 1; \
4491 case $(srcdir) in \
4492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4493 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4495 esac; \
4496 srcdiroption="--srcdir=$${topdir}/bfd"; \
4497 libsrcdir="$$s/bfd"; \
4498 $(SHELL) $${libsrcdir}/configure \
4499 $(HOST_CONFIGARGS) $${srcdiroption} \
4500 --with-build-libsubdir=$(HOST_SUBDIR) \
4501 @stage2_werror_flag@
4502 @endif bfd-bootstrap
4504 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4505 maybe-configure-stage3-bfd:
4506 @if bfd-bootstrap
4507 maybe-configure-stage3-bfd: configure-stage3-bfd
4508 configure-stage3-bfd:
4509 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4511 @r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4514 $(HOST_EXPORTS) \
4515 $(POSTSTAGE1_HOST_EXPORTS) \
4516 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4518 cd $(HOST_SUBDIR)/bfd || exit 1; \
4519 case $(srcdir) in \
4520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4521 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4523 esac; \
4524 srcdiroption="--srcdir=$${topdir}/bfd"; \
4525 libsrcdir="$$s/bfd"; \
4526 $(SHELL) $${libsrcdir}/configure \
4527 $(HOST_CONFIGARGS) $${srcdiroption} \
4528 --with-build-libsubdir=$(HOST_SUBDIR) \
4529 @stage2_werror_flag@
4530 @endif bfd-bootstrap
4532 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4533 maybe-configure-stage4-bfd:
4534 @if bfd-bootstrap
4535 maybe-configure-stage4-bfd: configure-stage4-bfd
4536 configure-stage4-bfd:
4537 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4539 @r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4542 $(HOST_EXPORTS) \
4543 $(POSTSTAGE1_HOST_EXPORTS) \
4544 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4546 cd $(HOST_SUBDIR)/bfd || exit 1; \
4547 case $(srcdir) in \
4548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4549 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4551 esac; \
4552 srcdiroption="--srcdir=$${topdir}/bfd"; \
4553 libsrcdir="$$s/bfd"; \
4554 $(SHELL) $${libsrcdir}/configure \
4555 $(HOST_CONFIGARGS) $${srcdiroption} \
4556 --with-build-libsubdir=$(HOST_SUBDIR) \
4557 @stage2_werror_flag@
4558 @endif bfd-bootstrap
4560 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4561 maybe-configure-stageprofile-bfd:
4562 @if bfd-bootstrap
4563 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4564 configure-stageprofile-bfd:
4565 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4567 @r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4570 $(HOST_EXPORTS) \
4571 $(POSTSTAGE1_HOST_EXPORTS) \
4572 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4574 cd $(HOST_SUBDIR)/bfd || exit 1; \
4575 case $(srcdir) in \
4576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4577 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4579 esac; \
4580 srcdiroption="--srcdir=$${topdir}/bfd"; \
4581 libsrcdir="$$s/bfd"; \
4582 $(SHELL) $${libsrcdir}/configure \
4583 $(HOST_CONFIGARGS) $${srcdiroption} \
4584 --with-build-libsubdir=$(HOST_SUBDIR) \
4585 @stage2_werror_flag@
4586 @endif bfd-bootstrap
4588 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4589 maybe-configure-stagefeedback-bfd:
4590 @if bfd-bootstrap
4591 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4592 configure-stagefeedback-bfd:
4593 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4595 @r=`${PWD_COMMAND}`; export r; \
4596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4597 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4598 $(HOST_EXPORTS) \
4599 $(POSTSTAGE1_HOST_EXPORTS) \
4600 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4602 cd $(HOST_SUBDIR)/bfd || exit 1; \
4603 case $(srcdir) in \
4604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4605 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4607 esac; \
4608 srcdiroption="--srcdir=$${topdir}/bfd"; \
4609 libsrcdir="$$s/bfd"; \
4610 $(SHELL) $${libsrcdir}/configure \
4611 $(HOST_CONFIGARGS) $${srcdiroption} \
4612 --with-build-libsubdir=$(HOST_SUBDIR) \
4613 @stage2_werror_flag@
4614 @endif bfd-bootstrap
4620 .PHONY: all-bfd maybe-all-bfd
4621 maybe-all-bfd:
4622 @if gcc-bootstrap
4623 all-bfd: stage_current
4624 @endif gcc-bootstrap
4625 @if bfd
4626 TARGET-bfd=all
4627 maybe-all-bfd: all-bfd
4628 all-bfd: configure-bfd
4629 @r=`${PWD_COMMAND}`; export r; \
4630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4631 $(HOST_EXPORTS) \
4632 (cd $(HOST_SUBDIR)/bfd && \
4633 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4634 @endif bfd
4638 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4639 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4640 maybe-all-stage1-bfd:
4641 maybe-clean-stage1-bfd:
4642 @if bfd-bootstrap
4643 maybe-all-stage1-bfd: all-stage1-bfd
4644 all-stage1: all-stage1-bfd
4645 TARGET-stage1-bfd = $(TARGET-bfd)
4646 all-stage1-bfd: configure-stage1-bfd
4647 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4648 @r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 cd $(HOST_SUBDIR)/bfd && \
4652 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4653 $(TARGET-stage1-bfd)
4655 maybe-clean-stage1-bfd: clean-stage1-bfd
4656 clean-stage1: clean-stage1-bfd
4657 clean-stage1-bfd:
4658 @if [ $(current_stage) = stage1 ]; then \
4659 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4660 else \
4661 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4662 $(MAKE) stage1-start; \
4663 fi; \
4664 cd $(HOST_SUBDIR)/bfd && \
4665 $(MAKE) $(FLAGS_TO_PASS) \
4666 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4667 @endif bfd-bootstrap
4670 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4671 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4672 maybe-all-stage2-bfd:
4673 maybe-clean-stage2-bfd:
4674 @if bfd-bootstrap
4675 maybe-all-stage2-bfd: all-stage2-bfd
4676 all-stage2: all-stage2-bfd
4677 TARGET-stage2-bfd = $(TARGET-bfd)
4678 all-stage2-bfd: configure-stage2-bfd
4679 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4680 @r=`${PWD_COMMAND}`; export r; \
4681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4682 $(HOST_EXPORTS) \
4683 $(POSTSTAGE1_HOST_EXPORTS) \
4684 cd $(HOST_SUBDIR)/bfd && \
4685 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4686 $(TARGET-stage2-bfd)
4688 maybe-clean-stage2-bfd: clean-stage2-bfd
4689 clean-stage2: clean-stage2-bfd
4690 clean-stage2-bfd:
4691 @if [ $(current_stage) = stage2 ]; then \
4692 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4693 else \
4694 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4695 $(MAKE) stage2-start; \
4696 fi; \
4697 cd $(HOST_SUBDIR)/bfd && \
4698 $(MAKE) $(FLAGS_TO_PASS) \
4699 $(POSTSTAGE1_FLAGS_TO_PASS) \
4700 clean
4701 @endif bfd-bootstrap
4704 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4705 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4706 maybe-all-stage3-bfd:
4707 maybe-clean-stage3-bfd:
4708 @if bfd-bootstrap
4709 maybe-all-stage3-bfd: all-stage3-bfd
4710 all-stage3: all-stage3-bfd
4711 TARGET-stage3-bfd = $(TARGET-bfd)
4712 all-stage3-bfd: configure-stage3-bfd
4713 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4714 @r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 $(HOST_EXPORTS) \
4717 $(POSTSTAGE1_HOST_EXPORTS) \
4718 cd $(HOST_SUBDIR)/bfd && \
4719 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4720 $(TARGET-stage3-bfd)
4722 maybe-clean-stage3-bfd: clean-stage3-bfd
4723 clean-stage3: clean-stage3-bfd
4724 clean-stage3-bfd:
4725 @if [ $(current_stage) = stage3 ]; then \
4726 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4727 else \
4728 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4729 $(MAKE) stage3-start; \
4730 fi; \
4731 cd $(HOST_SUBDIR)/bfd && \
4732 $(MAKE) $(FLAGS_TO_PASS) \
4733 $(POSTSTAGE1_FLAGS_TO_PASS) \
4734 clean
4735 @endif bfd-bootstrap
4738 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4739 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4740 maybe-all-stage4-bfd:
4741 maybe-clean-stage4-bfd:
4742 @if bfd-bootstrap
4743 maybe-all-stage4-bfd: all-stage4-bfd
4744 all-stage4: all-stage4-bfd
4745 TARGET-stage4-bfd = $(TARGET-bfd)
4746 all-stage4-bfd: configure-stage4-bfd
4747 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4748 @r=`${PWD_COMMAND}`; export r; \
4749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4750 $(HOST_EXPORTS) \
4751 $(POSTSTAGE1_HOST_EXPORTS) \
4752 cd $(HOST_SUBDIR)/bfd && \
4753 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4754 $(TARGET-stage4-bfd)
4756 maybe-clean-stage4-bfd: clean-stage4-bfd
4757 clean-stage4: clean-stage4-bfd
4758 clean-stage4-bfd:
4759 @if [ $(current_stage) = stage4 ]; then \
4760 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4761 else \
4762 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4763 $(MAKE) stage4-start; \
4764 fi; \
4765 cd $(HOST_SUBDIR)/bfd && \
4766 $(MAKE) $(FLAGS_TO_PASS) \
4767 $(POSTSTAGE1_FLAGS_TO_PASS) \
4768 clean
4769 @endif bfd-bootstrap
4772 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4773 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4774 maybe-all-stageprofile-bfd:
4775 maybe-clean-stageprofile-bfd:
4776 @if bfd-bootstrap
4777 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4778 all-stageprofile: all-stageprofile-bfd
4779 TARGET-stageprofile-bfd = $(TARGET-bfd)
4780 all-stageprofile-bfd: configure-stageprofile-bfd
4781 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4782 @r=`${PWD_COMMAND}`; export r; \
4783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4784 $(HOST_EXPORTS) \
4785 $(POSTSTAGE1_HOST_EXPORTS) \
4786 cd $(HOST_SUBDIR)/bfd && \
4787 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4788 $(TARGET-stageprofile-bfd)
4790 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4791 clean-stageprofile: clean-stageprofile-bfd
4792 clean-stageprofile-bfd:
4793 @if [ $(current_stage) = stageprofile ]; then \
4794 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4795 else \
4796 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4797 $(MAKE) stageprofile-start; \
4798 fi; \
4799 cd $(HOST_SUBDIR)/bfd && \
4800 $(MAKE) $(FLAGS_TO_PASS) \
4801 $(POSTSTAGE1_FLAGS_TO_PASS) \
4802 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4803 @endif bfd-bootstrap
4806 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4807 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4808 maybe-all-stagefeedback-bfd:
4809 maybe-clean-stagefeedback-bfd:
4810 @if bfd-bootstrap
4811 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4812 all-stagefeedback: all-stagefeedback-bfd
4813 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4814 all-stagefeedback-bfd: configure-stagefeedback-bfd
4815 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4816 @r=`${PWD_COMMAND}`; export r; \
4817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4818 $(HOST_EXPORTS) \
4819 $(POSTSTAGE1_HOST_EXPORTS) \
4820 cd $(HOST_SUBDIR)/bfd && \
4821 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4822 $(TARGET-stagefeedback-bfd)
4824 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4825 clean-stagefeedback: clean-stagefeedback-bfd
4826 clean-stagefeedback-bfd:
4827 @if [ $(current_stage) = stagefeedback ]; then \
4828 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4829 else \
4830 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4831 $(MAKE) stagefeedback-start; \
4832 fi; \
4833 cd $(HOST_SUBDIR)/bfd && \
4834 $(MAKE) $(FLAGS_TO_PASS) \
4835 $(POSTSTAGE1_FLAGS_TO_PASS) \
4836 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4837 @endif bfd-bootstrap
4843 .PHONY: check-bfd maybe-check-bfd
4844 maybe-check-bfd:
4845 @if bfd
4846 maybe-check-bfd: check-bfd
4848 check-bfd:
4849 @: $(MAKE); $(unstage)
4850 @r=`${PWD_COMMAND}`; export r; \
4851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4852 $(HOST_EXPORTS) \
4853 (cd $(HOST_SUBDIR)/bfd && \
4854 $(MAKE) $(FLAGS_TO_PASS) check)
4856 @endif bfd
4858 .PHONY: install-bfd maybe-install-bfd
4859 maybe-install-bfd:
4860 @if bfd
4861 maybe-install-bfd: install-bfd
4863 install-bfd: installdirs
4864 @: $(MAKE); $(unstage)
4865 @r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 $(HOST_EXPORTS) \
4868 (cd $(HOST_SUBDIR)/bfd && \
4869 $(MAKE) $(FLAGS_TO_PASS) install)
4871 @endif bfd
4873 # Other targets (info, dvi, pdf, etc.)
4875 .PHONY: maybe-info-bfd info-bfd
4876 maybe-info-bfd:
4877 @if bfd
4878 maybe-info-bfd: info-bfd
4880 info-bfd: \
4881 configure-bfd
4882 @[ -f ./bfd/Makefile ] || exit 0; \
4883 r=`${PWD_COMMAND}`; export r; \
4884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4885 $(HOST_EXPORTS) \
4886 for flag in $(EXTRA_HOST_FLAGS) ; do \
4887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4888 done; \
4889 echo "Doing info in bfd" ; \
4890 (cd $(HOST_SUBDIR)/bfd && \
4891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4893 "RANLIB=$${RANLIB}" \
4894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4895 info) \
4896 || exit 1
4898 @endif bfd
4900 .PHONY: maybe-dvi-bfd dvi-bfd
4901 maybe-dvi-bfd:
4902 @if bfd
4903 maybe-dvi-bfd: dvi-bfd
4905 dvi-bfd: \
4906 configure-bfd
4907 @[ -f ./bfd/Makefile ] || exit 0; \
4908 r=`${PWD_COMMAND}`; export r; \
4909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4910 $(HOST_EXPORTS) \
4911 for flag in $(EXTRA_HOST_FLAGS) ; do \
4912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4913 done; \
4914 echo "Doing dvi in bfd" ; \
4915 (cd $(HOST_SUBDIR)/bfd && \
4916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4918 "RANLIB=$${RANLIB}" \
4919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4920 dvi) \
4921 || exit 1
4923 @endif bfd
4925 .PHONY: maybe-pdf-bfd pdf-bfd
4926 maybe-pdf-bfd:
4927 @if bfd
4928 maybe-pdf-bfd: pdf-bfd
4930 pdf-bfd: \
4931 configure-bfd
4932 @[ -f ./bfd/Makefile ] || exit 0; \
4933 r=`${PWD_COMMAND}`; export r; \
4934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4935 $(HOST_EXPORTS) \
4936 for flag in $(EXTRA_HOST_FLAGS) ; do \
4937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4938 done; \
4939 echo "Doing pdf in bfd" ; \
4940 (cd $(HOST_SUBDIR)/bfd && \
4941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4943 "RANLIB=$${RANLIB}" \
4944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4945 pdf) \
4946 || exit 1
4948 @endif bfd
4950 .PHONY: maybe-html-bfd html-bfd
4951 maybe-html-bfd:
4952 @if bfd
4953 maybe-html-bfd: html-bfd
4955 html-bfd: \
4956 configure-bfd
4957 @[ -f ./bfd/Makefile ] || exit 0; \
4958 r=`${PWD_COMMAND}`; export r; \
4959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 $(HOST_EXPORTS) \
4961 for flag in $(EXTRA_HOST_FLAGS) ; do \
4962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4963 done; \
4964 echo "Doing html in bfd" ; \
4965 (cd $(HOST_SUBDIR)/bfd && \
4966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4968 "RANLIB=$${RANLIB}" \
4969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4970 html) \
4971 || exit 1
4973 @endif bfd
4975 .PHONY: maybe-TAGS-bfd TAGS-bfd
4976 maybe-TAGS-bfd:
4977 @if bfd
4978 maybe-TAGS-bfd: TAGS-bfd
4980 TAGS-bfd: \
4981 configure-bfd
4982 @[ -f ./bfd/Makefile ] || exit 0; \
4983 r=`${PWD_COMMAND}`; export r; \
4984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4985 $(HOST_EXPORTS) \
4986 for flag in $(EXTRA_HOST_FLAGS) ; do \
4987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4988 done; \
4989 echo "Doing TAGS in bfd" ; \
4990 (cd $(HOST_SUBDIR)/bfd && \
4991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4993 "RANLIB=$${RANLIB}" \
4994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4995 TAGS) \
4996 || exit 1
4998 @endif bfd
5000 .PHONY: maybe-install-info-bfd install-info-bfd
5001 maybe-install-info-bfd:
5002 @if bfd
5003 maybe-install-info-bfd: install-info-bfd
5005 install-info-bfd: \
5006 configure-bfd \
5007 info-bfd
5008 @[ -f ./bfd/Makefile ] || exit 0; \
5009 r=`${PWD_COMMAND}`; export r; \
5010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5011 $(HOST_EXPORTS) \
5012 for flag in $(EXTRA_HOST_FLAGS) ; do \
5013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5014 done; \
5015 echo "Doing install-info in bfd" ; \
5016 (cd $(HOST_SUBDIR)/bfd && \
5017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5019 "RANLIB=$${RANLIB}" \
5020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5021 install-info) \
5022 || exit 1
5024 @endif bfd
5026 .PHONY: maybe-install-html-bfd install-html-bfd
5027 maybe-install-html-bfd:
5028 @if bfd
5029 maybe-install-html-bfd: install-html-bfd
5031 install-html-bfd: \
5032 configure-bfd \
5033 html-bfd
5034 @[ -f ./bfd/Makefile ] || exit 0; \
5035 r=`${PWD_COMMAND}`; export r; \
5036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5037 $(HOST_EXPORTS) \
5038 for flag in $(EXTRA_HOST_FLAGS) ; do \
5039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5040 done; \
5041 echo "Doing install-html in bfd" ; \
5042 (cd $(HOST_SUBDIR)/bfd && \
5043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5045 "RANLIB=$${RANLIB}" \
5046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5047 install-html) \
5048 || exit 1
5050 @endif bfd
5052 .PHONY: maybe-installcheck-bfd installcheck-bfd
5053 maybe-installcheck-bfd:
5054 @if bfd
5055 maybe-installcheck-bfd: installcheck-bfd
5057 installcheck-bfd: \
5058 configure-bfd
5059 @[ -f ./bfd/Makefile ] || exit 0; \
5060 r=`${PWD_COMMAND}`; export r; \
5061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 $(HOST_EXPORTS) \
5063 for flag in $(EXTRA_HOST_FLAGS) ; do \
5064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5065 done; \
5066 echo "Doing installcheck in bfd" ; \
5067 (cd $(HOST_SUBDIR)/bfd && \
5068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5070 "RANLIB=$${RANLIB}" \
5071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5072 installcheck) \
5073 || exit 1
5075 @endif bfd
5077 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5078 maybe-mostlyclean-bfd:
5079 @if bfd
5080 maybe-mostlyclean-bfd: mostlyclean-bfd
5082 mostlyclean-bfd:
5083 @[ -f ./bfd/Makefile ] || exit 0; \
5084 r=`${PWD_COMMAND}`; export r; \
5085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5086 $(HOST_EXPORTS) \
5087 for flag in $(EXTRA_HOST_FLAGS) ; do \
5088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5089 done; \
5090 echo "Doing mostlyclean in bfd" ; \
5091 (cd $(HOST_SUBDIR)/bfd && \
5092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5094 "RANLIB=$${RANLIB}" \
5095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5096 mostlyclean) \
5097 || exit 1
5099 @endif bfd
5101 .PHONY: maybe-clean-bfd clean-bfd
5102 maybe-clean-bfd:
5103 @if bfd
5104 maybe-clean-bfd: clean-bfd
5106 clean-bfd:
5107 @[ -f ./bfd/Makefile ] || exit 0; \
5108 r=`${PWD_COMMAND}`; export r; \
5109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5110 $(HOST_EXPORTS) \
5111 for flag in $(EXTRA_HOST_FLAGS) ; do \
5112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5113 done; \
5114 echo "Doing clean in bfd" ; \
5115 (cd $(HOST_SUBDIR)/bfd && \
5116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5118 "RANLIB=$${RANLIB}" \
5119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5120 clean) \
5121 || exit 1
5123 @endif bfd
5125 .PHONY: maybe-distclean-bfd distclean-bfd
5126 maybe-distclean-bfd:
5127 @if bfd
5128 maybe-distclean-bfd: distclean-bfd
5130 distclean-bfd:
5131 @[ -f ./bfd/Makefile ] || exit 0; \
5132 r=`${PWD_COMMAND}`; export r; \
5133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5134 $(HOST_EXPORTS) \
5135 for flag in $(EXTRA_HOST_FLAGS) ; do \
5136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5137 done; \
5138 echo "Doing distclean in bfd" ; \
5139 (cd $(HOST_SUBDIR)/bfd && \
5140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5142 "RANLIB=$${RANLIB}" \
5143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5144 distclean) \
5145 || exit 1
5147 @endif bfd
5149 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5150 maybe-maintainer-clean-bfd:
5151 @if bfd
5152 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5154 maintainer-clean-bfd:
5155 @[ -f ./bfd/Makefile ] || exit 0; \
5156 r=`${PWD_COMMAND}`; export r; \
5157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5158 $(HOST_EXPORTS) \
5159 for flag in $(EXTRA_HOST_FLAGS) ; do \
5160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5161 done; \
5162 echo "Doing maintainer-clean in bfd" ; \
5163 (cd $(HOST_SUBDIR)/bfd && \
5164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5166 "RANLIB=$${RANLIB}" \
5167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5168 maintainer-clean) \
5169 || exit 1
5171 @endif bfd
5175 .PHONY: configure-opcodes maybe-configure-opcodes
5176 maybe-configure-opcodes:
5177 @if gcc-bootstrap
5178 configure-opcodes: stage_current
5179 @endif gcc-bootstrap
5180 @if opcodes
5181 maybe-configure-opcodes: configure-opcodes
5182 configure-opcodes:
5183 @r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5187 $(HOST_EXPORTS) \
5188 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5189 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5190 case $(srcdir) in \
5191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5192 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5194 esac; \
5195 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5196 libsrcdir="$$s/opcodes"; \
5197 $(SHELL) $${libsrcdir}/configure \
5198 $(HOST_CONFIGARGS) $${srcdiroption} \
5199 || exit 1
5200 @endif opcodes
5204 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5205 maybe-configure-stage1-opcodes:
5206 @if opcodes-bootstrap
5207 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5208 configure-stage1-opcodes:
5209 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5211 @r=`${PWD_COMMAND}`; export r; \
5212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5213 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5214 $(HOST_EXPORTS) \
5215 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5217 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5218 case $(srcdir) in \
5219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5220 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5222 esac; \
5223 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5224 libsrcdir="$$s/opcodes"; \
5225 $(SHELL) $${libsrcdir}/configure \
5226 $(HOST_CONFIGARGS) $${srcdiroption} \
5228 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5229 @endif opcodes-bootstrap
5231 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5232 maybe-configure-stage2-opcodes:
5233 @if opcodes-bootstrap
5234 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5235 configure-stage2-opcodes:
5236 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5238 @r=`${PWD_COMMAND}`; export r; \
5239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5240 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5241 $(HOST_EXPORTS) \
5242 $(POSTSTAGE1_HOST_EXPORTS) \
5243 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5245 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5246 case $(srcdir) in \
5247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5248 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5250 esac; \
5251 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5252 libsrcdir="$$s/opcodes"; \
5253 $(SHELL) $${libsrcdir}/configure \
5254 $(HOST_CONFIGARGS) $${srcdiroption} \
5255 --with-build-libsubdir=$(HOST_SUBDIR) \
5256 @stage2_werror_flag@
5257 @endif opcodes-bootstrap
5259 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5260 maybe-configure-stage3-opcodes:
5261 @if opcodes-bootstrap
5262 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5263 configure-stage3-opcodes:
5264 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5266 @r=`${PWD_COMMAND}`; export r; \
5267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5268 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5269 $(HOST_EXPORTS) \
5270 $(POSTSTAGE1_HOST_EXPORTS) \
5271 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5273 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5274 case $(srcdir) in \
5275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5276 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5278 esac; \
5279 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5280 libsrcdir="$$s/opcodes"; \
5281 $(SHELL) $${libsrcdir}/configure \
5282 $(HOST_CONFIGARGS) $${srcdiroption} \
5283 --with-build-libsubdir=$(HOST_SUBDIR) \
5284 @stage2_werror_flag@
5285 @endif opcodes-bootstrap
5287 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5288 maybe-configure-stage4-opcodes:
5289 @if opcodes-bootstrap
5290 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5291 configure-stage4-opcodes:
5292 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5294 @r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5297 $(HOST_EXPORTS) \
5298 $(POSTSTAGE1_HOST_EXPORTS) \
5299 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5301 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5302 case $(srcdir) in \
5303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5304 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5306 esac; \
5307 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5308 libsrcdir="$$s/opcodes"; \
5309 $(SHELL) $${libsrcdir}/configure \
5310 $(HOST_CONFIGARGS) $${srcdiroption} \
5311 --with-build-libsubdir=$(HOST_SUBDIR) \
5312 @stage2_werror_flag@
5313 @endif opcodes-bootstrap
5315 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5316 maybe-configure-stageprofile-opcodes:
5317 @if opcodes-bootstrap
5318 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5319 configure-stageprofile-opcodes:
5320 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5322 @r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5325 $(HOST_EXPORTS) \
5326 $(POSTSTAGE1_HOST_EXPORTS) \
5327 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5329 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5330 case $(srcdir) in \
5331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5332 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5334 esac; \
5335 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5336 libsrcdir="$$s/opcodes"; \
5337 $(SHELL) $${libsrcdir}/configure \
5338 $(HOST_CONFIGARGS) $${srcdiroption} \
5339 --with-build-libsubdir=$(HOST_SUBDIR) \
5340 @stage2_werror_flag@
5341 @endif opcodes-bootstrap
5343 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5344 maybe-configure-stagefeedback-opcodes:
5345 @if opcodes-bootstrap
5346 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5347 configure-stagefeedback-opcodes:
5348 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5350 @r=`${PWD_COMMAND}`; export r; \
5351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5352 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5353 $(HOST_EXPORTS) \
5354 $(POSTSTAGE1_HOST_EXPORTS) \
5355 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5357 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5358 case $(srcdir) in \
5359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5360 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5362 esac; \
5363 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5364 libsrcdir="$$s/opcodes"; \
5365 $(SHELL) $${libsrcdir}/configure \
5366 $(HOST_CONFIGARGS) $${srcdiroption} \
5367 --with-build-libsubdir=$(HOST_SUBDIR) \
5368 @stage2_werror_flag@
5369 @endif opcodes-bootstrap
5375 .PHONY: all-opcodes maybe-all-opcodes
5376 maybe-all-opcodes:
5377 @if gcc-bootstrap
5378 all-opcodes: stage_current
5379 @endif gcc-bootstrap
5380 @if opcodes
5381 TARGET-opcodes=all
5382 maybe-all-opcodes: all-opcodes
5383 all-opcodes: configure-opcodes
5384 @r=`${PWD_COMMAND}`; export r; \
5385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5386 $(HOST_EXPORTS) \
5387 (cd $(HOST_SUBDIR)/opcodes && \
5388 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5389 @endif opcodes
5393 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5394 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5395 maybe-all-stage1-opcodes:
5396 maybe-clean-stage1-opcodes:
5397 @if opcodes-bootstrap
5398 maybe-all-stage1-opcodes: all-stage1-opcodes
5399 all-stage1: all-stage1-opcodes
5400 TARGET-stage1-opcodes = $(TARGET-opcodes)
5401 all-stage1-opcodes: configure-stage1-opcodes
5402 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5403 @r=`${PWD_COMMAND}`; export r; \
5404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5405 $(HOST_EXPORTS) \
5406 cd $(HOST_SUBDIR)/opcodes && \
5407 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5408 $(TARGET-stage1-opcodes)
5410 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5411 clean-stage1: clean-stage1-opcodes
5412 clean-stage1-opcodes:
5413 @if [ $(current_stage) = stage1 ]; then \
5414 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5415 else \
5416 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5417 $(MAKE) stage1-start; \
5418 fi; \
5419 cd $(HOST_SUBDIR)/opcodes && \
5420 $(MAKE) $(FLAGS_TO_PASS) \
5421 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5422 @endif opcodes-bootstrap
5425 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5426 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5427 maybe-all-stage2-opcodes:
5428 maybe-clean-stage2-opcodes:
5429 @if opcodes-bootstrap
5430 maybe-all-stage2-opcodes: all-stage2-opcodes
5431 all-stage2: all-stage2-opcodes
5432 TARGET-stage2-opcodes = $(TARGET-opcodes)
5433 all-stage2-opcodes: configure-stage2-opcodes
5434 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5435 @r=`${PWD_COMMAND}`; export r; \
5436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5437 $(HOST_EXPORTS) \
5438 $(POSTSTAGE1_HOST_EXPORTS) \
5439 cd $(HOST_SUBDIR)/opcodes && \
5440 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5441 $(TARGET-stage2-opcodes)
5443 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5444 clean-stage2: clean-stage2-opcodes
5445 clean-stage2-opcodes:
5446 @if [ $(current_stage) = stage2 ]; then \
5447 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5448 else \
5449 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5450 $(MAKE) stage2-start; \
5451 fi; \
5452 cd $(HOST_SUBDIR)/opcodes && \
5453 $(MAKE) $(FLAGS_TO_PASS) \
5454 $(POSTSTAGE1_FLAGS_TO_PASS) \
5455 clean
5456 @endif opcodes-bootstrap
5459 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5460 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5461 maybe-all-stage3-opcodes:
5462 maybe-clean-stage3-opcodes:
5463 @if opcodes-bootstrap
5464 maybe-all-stage3-opcodes: all-stage3-opcodes
5465 all-stage3: all-stage3-opcodes
5466 TARGET-stage3-opcodes = $(TARGET-opcodes)
5467 all-stage3-opcodes: configure-stage3-opcodes
5468 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5469 @r=`${PWD_COMMAND}`; export r; \
5470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5471 $(HOST_EXPORTS) \
5472 $(POSTSTAGE1_HOST_EXPORTS) \
5473 cd $(HOST_SUBDIR)/opcodes && \
5474 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5475 $(TARGET-stage3-opcodes)
5477 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5478 clean-stage3: clean-stage3-opcodes
5479 clean-stage3-opcodes:
5480 @if [ $(current_stage) = stage3 ]; then \
5481 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5482 else \
5483 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5484 $(MAKE) stage3-start; \
5485 fi; \
5486 cd $(HOST_SUBDIR)/opcodes && \
5487 $(MAKE) $(FLAGS_TO_PASS) \
5488 $(POSTSTAGE1_FLAGS_TO_PASS) \
5489 clean
5490 @endif opcodes-bootstrap
5493 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5494 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5495 maybe-all-stage4-opcodes:
5496 maybe-clean-stage4-opcodes:
5497 @if opcodes-bootstrap
5498 maybe-all-stage4-opcodes: all-stage4-opcodes
5499 all-stage4: all-stage4-opcodes
5500 TARGET-stage4-opcodes = $(TARGET-opcodes)
5501 all-stage4-opcodes: configure-stage4-opcodes
5502 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5503 @r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 $(HOST_EXPORTS) \
5506 $(POSTSTAGE1_HOST_EXPORTS) \
5507 cd $(HOST_SUBDIR)/opcodes && \
5508 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5509 $(TARGET-stage4-opcodes)
5511 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5512 clean-stage4: clean-stage4-opcodes
5513 clean-stage4-opcodes:
5514 @if [ $(current_stage) = stage4 ]; then \
5515 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5516 else \
5517 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5518 $(MAKE) stage4-start; \
5519 fi; \
5520 cd $(HOST_SUBDIR)/opcodes && \
5521 $(MAKE) $(FLAGS_TO_PASS) \
5522 $(POSTSTAGE1_FLAGS_TO_PASS) \
5523 clean
5524 @endif opcodes-bootstrap
5527 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5528 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5529 maybe-all-stageprofile-opcodes:
5530 maybe-clean-stageprofile-opcodes:
5531 @if opcodes-bootstrap
5532 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5533 all-stageprofile: all-stageprofile-opcodes
5534 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5535 all-stageprofile-opcodes: configure-stageprofile-opcodes
5536 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5537 @r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5539 $(HOST_EXPORTS) \
5540 $(POSTSTAGE1_HOST_EXPORTS) \
5541 cd $(HOST_SUBDIR)/opcodes && \
5542 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5543 $(TARGET-stageprofile-opcodes)
5545 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5546 clean-stageprofile: clean-stageprofile-opcodes
5547 clean-stageprofile-opcodes:
5548 @if [ $(current_stage) = stageprofile ]; then \
5549 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5550 else \
5551 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5552 $(MAKE) stageprofile-start; \
5553 fi; \
5554 cd $(HOST_SUBDIR)/opcodes && \
5555 $(MAKE) $(FLAGS_TO_PASS) \
5556 $(POSTSTAGE1_FLAGS_TO_PASS) \
5557 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5558 @endif opcodes-bootstrap
5561 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5562 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5563 maybe-all-stagefeedback-opcodes:
5564 maybe-clean-stagefeedback-opcodes:
5565 @if opcodes-bootstrap
5566 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5567 all-stagefeedback: all-stagefeedback-opcodes
5568 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5569 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5570 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5571 @r=`${PWD_COMMAND}`; export r; \
5572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 $(HOST_EXPORTS) \
5574 $(POSTSTAGE1_HOST_EXPORTS) \
5575 cd $(HOST_SUBDIR)/opcodes && \
5576 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5577 $(TARGET-stagefeedback-opcodes)
5579 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5580 clean-stagefeedback: clean-stagefeedback-opcodes
5581 clean-stagefeedback-opcodes:
5582 @if [ $(current_stage) = stagefeedback ]; then \
5583 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5584 else \
5585 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5586 $(MAKE) stagefeedback-start; \
5587 fi; \
5588 cd $(HOST_SUBDIR)/opcodes && \
5589 $(MAKE) $(FLAGS_TO_PASS) \
5590 $(POSTSTAGE1_FLAGS_TO_PASS) \
5591 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5592 @endif opcodes-bootstrap
5598 .PHONY: check-opcodes maybe-check-opcodes
5599 maybe-check-opcodes:
5600 @if opcodes
5601 maybe-check-opcodes: check-opcodes
5603 check-opcodes:
5604 @: $(MAKE); $(unstage)
5605 @r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 $(HOST_EXPORTS) \
5608 (cd $(HOST_SUBDIR)/opcodes && \
5609 $(MAKE) $(FLAGS_TO_PASS) check)
5611 @endif opcodes
5613 .PHONY: install-opcodes maybe-install-opcodes
5614 maybe-install-opcodes:
5615 @if opcodes
5616 maybe-install-opcodes: install-opcodes
5618 install-opcodes: installdirs
5619 @: $(MAKE); $(unstage)
5620 @r=`${PWD_COMMAND}`; export r; \
5621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5622 $(HOST_EXPORTS) \
5623 (cd $(HOST_SUBDIR)/opcodes && \
5624 $(MAKE) $(FLAGS_TO_PASS) install)
5626 @endif opcodes
5628 # Other targets (info, dvi, pdf, etc.)
5630 .PHONY: maybe-info-opcodes info-opcodes
5631 maybe-info-opcodes:
5632 @if opcodes
5633 maybe-info-opcodes: info-opcodes
5635 info-opcodes: \
5636 configure-opcodes
5637 @[ -f ./opcodes/Makefile ] || exit 0; \
5638 r=`${PWD_COMMAND}`; export r; \
5639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5640 $(HOST_EXPORTS) \
5641 for flag in $(EXTRA_HOST_FLAGS) ; do \
5642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5643 done; \
5644 echo "Doing info in opcodes" ; \
5645 (cd $(HOST_SUBDIR)/opcodes && \
5646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5648 "RANLIB=$${RANLIB}" \
5649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5650 info) \
5651 || exit 1
5653 @endif opcodes
5655 .PHONY: maybe-dvi-opcodes dvi-opcodes
5656 maybe-dvi-opcodes:
5657 @if opcodes
5658 maybe-dvi-opcodes: dvi-opcodes
5660 dvi-opcodes: \
5661 configure-opcodes
5662 @[ -f ./opcodes/Makefile ] || exit 0; \
5663 r=`${PWD_COMMAND}`; export r; \
5664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5665 $(HOST_EXPORTS) \
5666 for flag in $(EXTRA_HOST_FLAGS) ; do \
5667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5668 done; \
5669 echo "Doing dvi in opcodes" ; \
5670 (cd $(HOST_SUBDIR)/opcodes && \
5671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5673 "RANLIB=$${RANLIB}" \
5674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5675 dvi) \
5676 || exit 1
5678 @endif opcodes
5680 .PHONY: maybe-pdf-opcodes pdf-opcodes
5681 maybe-pdf-opcodes:
5682 @if opcodes
5683 maybe-pdf-opcodes: pdf-opcodes
5685 pdf-opcodes: \
5686 configure-opcodes
5687 @[ -f ./opcodes/Makefile ] || exit 0; \
5688 r=`${PWD_COMMAND}`; export r; \
5689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5690 $(HOST_EXPORTS) \
5691 for flag in $(EXTRA_HOST_FLAGS) ; do \
5692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5693 done; \
5694 echo "Doing pdf in opcodes" ; \
5695 (cd $(HOST_SUBDIR)/opcodes && \
5696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5698 "RANLIB=$${RANLIB}" \
5699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5700 pdf) \
5701 || exit 1
5703 @endif opcodes
5705 .PHONY: maybe-html-opcodes html-opcodes
5706 maybe-html-opcodes:
5707 @if opcodes
5708 maybe-html-opcodes: html-opcodes
5710 html-opcodes: \
5711 configure-opcodes
5712 @[ -f ./opcodes/Makefile ] || exit 0; \
5713 r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5715 $(HOST_EXPORTS) \
5716 for flag in $(EXTRA_HOST_FLAGS) ; do \
5717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5718 done; \
5719 echo "Doing html in opcodes" ; \
5720 (cd $(HOST_SUBDIR)/opcodes && \
5721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5723 "RANLIB=$${RANLIB}" \
5724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5725 html) \
5726 || exit 1
5728 @endif opcodes
5730 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5731 maybe-TAGS-opcodes:
5732 @if opcodes
5733 maybe-TAGS-opcodes: TAGS-opcodes
5735 TAGS-opcodes: \
5736 configure-opcodes
5737 @[ -f ./opcodes/Makefile ] || exit 0; \
5738 r=`${PWD_COMMAND}`; export r; \
5739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5740 $(HOST_EXPORTS) \
5741 for flag in $(EXTRA_HOST_FLAGS) ; do \
5742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5743 done; \
5744 echo "Doing TAGS in opcodes" ; \
5745 (cd $(HOST_SUBDIR)/opcodes && \
5746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5748 "RANLIB=$${RANLIB}" \
5749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5750 TAGS) \
5751 || exit 1
5753 @endif opcodes
5755 .PHONY: maybe-install-info-opcodes install-info-opcodes
5756 maybe-install-info-opcodes:
5757 @if opcodes
5758 maybe-install-info-opcodes: install-info-opcodes
5760 install-info-opcodes: \
5761 configure-opcodes \
5762 info-opcodes
5763 @[ -f ./opcodes/Makefile ] || exit 0; \
5764 r=`${PWD_COMMAND}`; export r; \
5765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5766 $(HOST_EXPORTS) \
5767 for flag in $(EXTRA_HOST_FLAGS) ; do \
5768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5769 done; \
5770 echo "Doing install-info in opcodes" ; \
5771 (cd $(HOST_SUBDIR)/opcodes && \
5772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5774 "RANLIB=$${RANLIB}" \
5775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5776 install-info) \
5777 || exit 1
5779 @endif opcodes
5781 .PHONY: maybe-install-html-opcodes install-html-opcodes
5782 maybe-install-html-opcodes:
5783 @if opcodes
5784 maybe-install-html-opcodes: install-html-opcodes
5786 install-html-opcodes: \
5787 configure-opcodes \
5788 html-opcodes
5789 @[ -f ./opcodes/Makefile ] || exit 0; \
5790 r=`${PWD_COMMAND}`; export r; \
5791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5792 $(HOST_EXPORTS) \
5793 for flag in $(EXTRA_HOST_FLAGS) ; do \
5794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5795 done; \
5796 echo "Doing install-html in opcodes" ; \
5797 (cd $(HOST_SUBDIR)/opcodes && \
5798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5800 "RANLIB=$${RANLIB}" \
5801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5802 install-html) \
5803 || exit 1
5805 @endif opcodes
5807 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5808 maybe-installcheck-opcodes:
5809 @if opcodes
5810 maybe-installcheck-opcodes: installcheck-opcodes
5812 installcheck-opcodes: \
5813 configure-opcodes
5814 @[ -f ./opcodes/Makefile ] || exit 0; \
5815 r=`${PWD_COMMAND}`; export r; \
5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 $(HOST_EXPORTS) \
5818 for flag in $(EXTRA_HOST_FLAGS) ; do \
5819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5820 done; \
5821 echo "Doing installcheck in opcodes" ; \
5822 (cd $(HOST_SUBDIR)/opcodes && \
5823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5825 "RANLIB=$${RANLIB}" \
5826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5827 installcheck) \
5828 || exit 1
5830 @endif opcodes
5832 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5833 maybe-mostlyclean-opcodes:
5834 @if opcodes
5835 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5837 mostlyclean-opcodes:
5838 @[ -f ./opcodes/Makefile ] || exit 0; \
5839 r=`${PWD_COMMAND}`; export r; \
5840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5841 $(HOST_EXPORTS) \
5842 for flag in $(EXTRA_HOST_FLAGS) ; do \
5843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5844 done; \
5845 echo "Doing mostlyclean in opcodes" ; \
5846 (cd $(HOST_SUBDIR)/opcodes && \
5847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5849 "RANLIB=$${RANLIB}" \
5850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5851 mostlyclean) \
5852 || exit 1
5854 @endif opcodes
5856 .PHONY: maybe-clean-opcodes clean-opcodes
5857 maybe-clean-opcodes:
5858 @if opcodes
5859 maybe-clean-opcodes: clean-opcodes
5861 clean-opcodes:
5862 @[ -f ./opcodes/Makefile ] || exit 0; \
5863 r=`${PWD_COMMAND}`; export r; \
5864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5865 $(HOST_EXPORTS) \
5866 for flag in $(EXTRA_HOST_FLAGS) ; do \
5867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5868 done; \
5869 echo "Doing clean in opcodes" ; \
5870 (cd $(HOST_SUBDIR)/opcodes && \
5871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5873 "RANLIB=$${RANLIB}" \
5874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5875 clean) \
5876 || exit 1
5878 @endif opcodes
5880 .PHONY: maybe-distclean-opcodes distclean-opcodes
5881 maybe-distclean-opcodes:
5882 @if opcodes
5883 maybe-distclean-opcodes: distclean-opcodes
5885 distclean-opcodes:
5886 @[ -f ./opcodes/Makefile ] || exit 0; \
5887 r=`${PWD_COMMAND}`; export r; \
5888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5889 $(HOST_EXPORTS) \
5890 for flag in $(EXTRA_HOST_FLAGS) ; do \
5891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5892 done; \
5893 echo "Doing distclean in opcodes" ; \
5894 (cd $(HOST_SUBDIR)/opcodes && \
5895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5897 "RANLIB=$${RANLIB}" \
5898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5899 distclean) \
5900 || exit 1
5902 @endif opcodes
5904 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5905 maybe-maintainer-clean-opcodes:
5906 @if opcodes
5907 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5909 maintainer-clean-opcodes:
5910 @[ -f ./opcodes/Makefile ] || exit 0; \
5911 r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913 $(HOST_EXPORTS) \
5914 for flag in $(EXTRA_HOST_FLAGS) ; do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916 done; \
5917 echo "Doing maintainer-clean in opcodes" ; \
5918 (cd $(HOST_SUBDIR)/opcodes && \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5923 maintainer-clean) \
5924 || exit 1
5926 @endif opcodes
5930 .PHONY: configure-binutils maybe-configure-binutils
5931 maybe-configure-binutils:
5932 @if gcc-bootstrap
5933 configure-binutils: stage_current
5934 @endif gcc-bootstrap
5935 @if binutils
5936 maybe-configure-binutils: configure-binutils
5937 configure-binutils:
5938 @r=`${PWD_COMMAND}`; export r; \
5939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5940 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5942 $(HOST_EXPORTS) \
5943 echo Configuring in $(HOST_SUBDIR)/binutils; \
5944 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5945 case $(srcdir) in \
5946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5947 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5949 esac; \
5950 srcdiroption="--srcdir=$${topdir}/binutils"; \
5951 libsrcdir="$$s/binutils"; \
5952 $(SHELL) $${libsrcdir}/configure \
5953 $(HOST_CONFIGARGS) $${srcdiroption} \
5954 || exit 1
5955 @endif binutils
5959 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5960 maybe-configure-stage1-binutils:
5961 @if binutils-bootstrap
5962 maybe-configure-stage1-binutils: configure-stage1-binutils
5963 configure-stage1-binutils:
5964 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5966 @r=`${PWD_COMMAND}`; export r; \
5967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5968 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5969 $(HOST_EXPORTS) \
5970 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5972 cd $(HOST_SUBDIR)/binutils || exit 1; \
5973 case $(srcdir) in \
5974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5975 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5977 esac; \
5978 srcdiroption="--srcdir=$${topdir}/binutils"; \
5979 libsrcdir="$$s/binutils"; \
5980 $(SHELL) $${libsrcdir}/configure \
5981 $(HOST_CONFIGARGS) $${srcdiroption} \
5983 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5984 @endif binutils-bootstrap
5986 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5987 maybe-configure-stage2-binutils:
5988 @if binutils-bootstrap
5989 maybe-configure-stage2-binutils: configure-stage2-binutils
5990 configure-stage2-binutils:
5991 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5993 @r=`${PWD_COMMAND}`; export r; \
5994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5995 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5996 $(HOST_EXPORTS) \
5997 $(POSTSTAGE1_HOST_EXPORTS) \
5998 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6000 cd $(HOST_SUBDIR)/binutils || exit 1; \
6001 case $(srcdir) in \
6002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6003 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6005 esac; \
6006 srcdiroption="--srcdir=$${topdir}/binutils"; \
6007 libsrcdir="$$s/binutils"; \
6008 $(SHELL) $${libsrcdir}/configure \
6009 $(HOST_CONFIGARGS) $${srcdiroption} \
6010 --with-build-libsubdir=$(HOST_SUBDIR) \
6011 @stage2_werror_flag@
6012 @endif binutils-bootstrap
6014 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6015 maybe-configure-stage3-binutils:
6016 @if binutils-bootstrap
6017 maybe-configure-stage3-binutils: configure-stage3-binutils
6018 configure-stage3-binutils:
6019 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6021 @r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6024 $(HOST_EXPORTS) \
6025 $(POSTSTAGE1_HOST_EXPORTS) \
6026 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6028 cd $(HOST_SUBDIR)/binutils || exit 1; \
6029 case $(srcdir) in \
6030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6031 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6033 esac; \
6034 srcdiroption="--srcdir=$${topdir}/binutils"; \
6035 libsrcdir="$$s/binutils"; \
6036 $(SHELL) $${libsrcdir}/configure \
6037 $(HOST_CONFIGARGS) $${srcdiroption} \
6038 --with-build-libsubdir=$(HOST_SUBDIR) \
6039 @stage2_werror_flag@
6040 @endif binutils-bootstrap
6042 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6043 maybe-configure-stage4-binutils:
6044 @if binutils-bootstrap
6045 maybe-configure-stage4-binutils: configure-stage4-binutils
6046 configure-stage4-binutils:
6047 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6049 @r=`${PWD_COMMAND}`; export r; \
6050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6051 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6052 $(HOST_EXPORTS) \
6053 $(POSTSTAGE1_HOST_EXPORTS) \
6054 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6056 cd $(HOST_SUBDIR)/binutils || exit 1; \
6057 case $(srcdir) in \
6058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6059 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6061 esac; \
6062 srcdiroption="--srcdir=$${topdir}/binutils"; \
6063 libsrcdir="$$s/binutils"; \
6064 $(SHELL) $${libsrcdir}/configure \
6065 $(HOST_CONFIGARGS) $${srcdiroption} \
6066 --with-build-libsubdir=$(HOST_SUBDIR) \
6067 @stage2_werror_flag@
6068 @endif binutils-bootstrap
6070 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6071 maybe-configure-stageprofile-binutils:
6072 @if binutils-bootstrap
6073 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6074 configure-stageprofile-binutils:
6075 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6076 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6077 @r=`${PWD_COMMAND}`; export r; \
6078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6079 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6080 $(HOST_EXPORTS) \
6081 $(POSTSTAGE1_HOST_EXPORTS) \
6082 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6084 cd $(HOST_SUBDIR)/binutils || exit 1; \
6085 case $(srcdir) in \
6086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6087 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6089 esac; \
6090 srcdiroption="--srcdir=$${topdir}/binutils"; \
6091 libsrcdir="$$s/binutils"; \
6092 $(SHELL) $${libsrcdir}/configure \
6093 $(HOST_CONFIGARGS) $${srcdiroption} \
6094 --with-build-libsubdir=$(HOST_SUBDIR) \
6095 @stage2_werror_flag@
6096 @endif binutils-bootstrap
6098 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6099 maybe-configure-stagefeedback-binutils:
6100 @if binutils-bootstrap
6101 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6102 configure-stagefeedback-binutils:
6103 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6105 @r=`${PWD_COMMAND}`; export r; \
6106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6108 $(HOST_EXPORTS) \
6109 $(POSTSTAGE1_HOST_EXPORTS) \
6110 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6112 cd $(HOST_SUBDIR)/binutils || exit 1; \
6113 case $(srcdir) in \
6114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6115 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6117 esac; \
6118 srcdiroption="--srcdir=$${topdir}/binutils"; \
6119 libsrcdir="$$s/binutils"; \
6120 $(SHELL) $${libsrcdir}/configure \
6121 $(HOST_CONFIGARGS) $${srcdiroption} \
6122 --with-build-libsubdir=$(HOST_SUBDIR) \
6123 @stage2_werror_flag@
6124 @endif binutils-bootstrap
6130 .PHONY: all-binutils maybe-all-binutils
6131 maybe-all-binutils:
6132 @if gcc-bootstrap
6133 all-binutils: stage_current
6134 @endif gcc-bootstrap
6135 @if binutils
6136 TARGET-binutils=all
6137 maybe-all-binutils: all-binutils
6138 all-binutils: configure-binutils
6139 @r=`${PWD_COMMAND}`; export r; \
6140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6141 $(HOST_EXPORTS) \
6142 (cd $(HOST_SUBDIR)/binutils && \
6143 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6144 @endif binutils
6148 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6149 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6150 maybe-all-stage1-binutils:
6151 maybe-clean-stage1-binutils:
6152 @if binutils-bootstrap
6153 maybe-all-stage1-binutils: all-stage1-binutils
6154 all-stage1: all-stage1-binutils
6155 TARGET-stage1-binutils = $(TARGET-binutils)
6156 all-stage1-binutils: configure-stage1-binutils
6157 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6158 @r=`${PWD_COMMAND}`; export r; \
6159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6160 $(HOST_EXPORTS) \
6161 cd $(HOST_SUBDIR)/binutils && \
6162 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6163 $(TARGET-stage1-binutils)
6165 maybe-clean-stage1-binutils: clean-stage1-binutils
6166 clean-stage1: clean-stage1-binutils
6167 clean-stage1-binutils:
6168 @if [ $(current_stage) = stage1 ]; then \
6169 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6170 else \
6171 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6172 $(MAKE) stage1-start; \
6173 fi; \
6174 cd $(HOST_SUBDIR)/binutils && \
6175 $(MAKE) $(FLAGS_TO_PASS) \
6176 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6177 @endif binutils-bootstrap
6180 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6181 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6182 maybe-all-stage2-binutils:
6183 maybe-clean-stage2-binutils:
6184 @if binutils-bootstrap
6185 maybe-all-stage2-binutils: all-stage2-binutils
6186 all-stage2: all-stage2-binutils
6187 TARGET-stage2-binutils = $(TARGET-binutils)
6188 all-stage2-binutils: configure-stage2-binutils
6189 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6190 @r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 $(POSTSTAGE1_HOST_EXPORTS) \
6194 cd $(HOST_SUBDIR)/binutils && \
6195 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6196 $(TARGET-stage2-binutils)
6198 maybe-clean-stage2-binutils: clean-stage2-binutils
6199 clean-stage2: clean-stage2-binutils
6200 clean-stage2-binutils:
6201 @if [ $(current_stage) = stage2 ]; then \
6202 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6203 else \
6204 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6205 $(MAKE) stage2-start; \
6206 fi; \
6207 cd $(HOST_SUBDIR)/binutils && \
6208 $(MAKE) $(FLAGS_TO_PASS) \
6209 $(POSTSTAGE1_FLAGS_TO_PASS) \
6210 clean
6211 @endif binutils-bootstrap
6214 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6215 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6216 maybe-all-stage3-binutils:
6217 maybe-clean-stage3-binutils:
6218 @if binutils-bootstrap
6219 maybe-all-stage3-binutils: all-stage3-binutils
6220 all-stage3: all-stage3-binutils
6221 TARGET-stage3-binutils = $(TARGET-binutils)
6222 all-stage3-binutils: configure-stage3-binutils
6223 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6224 @r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(HOST_EXPORTS) \
6227 $(POSTSTAGE1_HOST_EXPORTS) \
6228 cd $(HOST_SUBDIR)/binutils && \
6229 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6230 $(TARGET-stage3-binutils)
6232 maybe-clean-stage3-binutils: clean-stage3-binutils
6233 clean-stage3: clean-stage3-binutils
6234 clean-stage3-binutils:
6235 @if [ $(current_stage) = stage3 ]; then \
6236 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6237 else \
6238 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6239 $(MAKE) stage3-start; \
6240 fi; \
6241 cd $(HOST_SUBDIR)/binutils && \
6242 $(MAKE) $(FLAGS_TO_PASS) \
6243 $(POSTSTAGE1_FLAGS_TO_PASS) \
6244 clean
6245 @endif binutils-bootstrap
6248 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6249 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6250 maybe-all-stage4-binutils:
6251 maybe-clean-stage4-binutils:
6252 @if binutils-bootstrap
6253 maybe-all-stage4-binutils: all-stage4-binutils
6254 all-stage4: all-stage4-binutils
6255 TARGET-stage4-binutils = $(TARGET-binutils)
6256 all-stage4-binutils: configure-stage4-binutils
6257 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6258 @r=`${PWD_COMMAND}`; export r; \
6259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6260 $(HOST_EXPORTS) \
6261 $(POSTSTAGE1_HOST_EXPORTS) \
6262 cd $(HOST_SUBDIR)/binutils && \
6263 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6264 $(TARGET-stage4-binutils)
6266 maybe-clean-stage4-binutils: clean-stage4-binutils
6267 clean-stage4: clean-stage4-binutils
6268 clean-stage4-binutils:
6269 @if [ $(current_stage) = stage4 ]; then \
6270 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6271 else \
6272 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6273 $(MAKE) stage4-start; \
6274 fi; \
6275 cd $(HOST_SUBDIR)/binutils && \
6276 $(MAKE) $(FLAGS_TO_PASS) \
6277 $(POSTSTAGE1_FLAGS_TO_PASS) \
6278 clean
6279 @endif binutils-bootstrap
6282 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6283 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6284 maybe-all-stageprofile-binutils:
6285 maybe-clean-stageprofile-binutils:
6286 @if binutils-bootstrap
6287 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6288 all-stageprofile: all-stageprofile-binutils
6289 TARGET-stageprofile-binutils = $(TARGET-binutils)
6290 all-stageprofile-binutils: configure-stageprofile-binutils
6291 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6292 @r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 $(HOST_EXPORTS) \
6295 $(POSTSTAGE1_HOST_EXPORTS) \
6296 cd $(HOST_SUBDIR)/binutils && \
6297 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6298 $(TARGET-stageprofile-binutils)
6300 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6301 clean-stageprofile: clean-stageprofile-binutils
6302 clean-stageprofile-binutils:
6303 @if [ $(current_stage) = stageprofile ]; then \
6304 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6305 else \
6306 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6307 $(MAKE) stageprofile-start; \
6308 fi; \
6309 cd $(HOST_SUBDIR)/binutils && \
6310 $(MAKE) $(FLAGS_TO_PASS) \
6311 $(POSTSTAGE1_FLAGS_TO_PASS) \
6312 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6313 @endif binutils-bootstrap
6316 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6317 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6318 maybe-all-stagefeedback-binutils:
6319 maybe-clean-stagefeedback-binutils:
6320 @if binutils-bootstrap
6321 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6322 all-stagefeedback: all-stagefeedback-binutils
6323 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6324 all-stagefeedback-binutils: configure-stagefeedback-binutils
6325 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6326 @r=`${PWD_COMMAND}`; export r; \
6327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328 $(HOST_EXPORTS) \
6329 $(POSTSTAGE1_HOST_EXPORTS) \
6330 cd $(HOST_SUBDIR)/binutils && \
6331 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6332 $(TARGET-stagefeedback-binutils)
6334 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6335 clean-stagefeedback: clean-stagefeedback-binutils
6336 clean-stagefeedback-binutils:
6337 @if [ $(current_stage) = stagefeedback ]; then \
6338 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6339 else \
6340 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6341 $(MAKE) stagefeedback-start; \
6342 fi; \
6343 cd $(HOST_SUBDIR)/binutils && \
6344 $(MAKE) $(FLAGS_TO_PASS) \
6345 $(POSTSTAGE1_FLAGS_TO_PASS) \
6346 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6347 @endif binutils-bootstrap
6353 .PHONY: check-binutils maybe-check-binutils
6354 maybe-check-binutils:
6355 @if binutils
6356 maybe-check-binutils: check-binutils
6358 check-binutils:
6359 @: $(MAKE); $(unstage)
6360 @r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 $(HOST_EXPORTS) \
6363 (cd $(HOST_SUBDIR)/binutils && \
6364 $(MAKE) $(FLAGS_TO_PASS) check)
6366 @endif binutils
6368 .PHONY: install-binutils maybe-install-binutils
6369 maybe-install-binutils:
6370 @if binutils
6371 maybe-install-binutils: install-binutils
6373 install-binutils: installdirs
6374 @: $(MAKE); $(unstage)
6375 @r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 $(HOST_EXPORTS) \
6378 (cd $(HOST_SUBDIR)/binutils && \
6379 $(MAKE) $(FLAGS_TO_PASS) install)
6381 @endif binutils
6383 # Other targets (info, dvi, pdf, etc.)
6385 .PHONY: maybe-info-binutils info-binutils
6386 maybe-info-binutils:
6387 @if binutils
6388 maybe-info-binutils: info-binutils
6390 info-binutils: \
6391 configure-binutils
6392 @[ -f ./binutils/Makefile ] || exit 0; \
6393 r=`${PWD_COMMAND}`; export r; \
6394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6395 $(HOST_EXPORTS) \
6396 for flag in $(EXTRA_HOST_FLAGS) ; do \
6397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6398 done; \
6399 echo "Doing info in binutils" ; \
6400 (cd $(HOST_SUBDIR)/binutils && \
6401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6403 "RANLIB=$${RANLIB}" \
6404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6405 info) \
6406 || exit 1
6408 @endif binutils
6410 .PHONY: maybe-dvi-binutils dvi-binutils
6411 maybe-dvi-binutils:
6412 @if binutils
6413 maybe-dvi-binutils: dvi-binutils
6415 dvi-binutils: \
6416 configure-binutils
6417 @[ -f ./binutils/Makefile ] || exit 0; \
6418 r=`${PWD_COMMAND}`; export r; \
6419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6420 $(HOST_EXPORTS) \
6421 for flag in $(EXTRA_HOST_FLAGS) ; do \
6422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6423 done; \
6424 echo "Doing dvi in binutils" ; \
6425 (cd $(HOST_SUBDIR)/binutils && \
6426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6428 "RANLIB=$${RANLIB}" \
6429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6430 dvi) \
6431 || exit 1
6433 @endif binutils
6435 .PHONY: maybe-pdf-binutils pdf-binutils
6436 maybe-pdf-binutils:
6437 @if binutils
6438 maybe-pdf-binutils: pdf-binutils
6440 pdf-binutils: \
6441 configure-binutils
6442 @[ -f ./binutils/Makefile ] || exit 0; \
6443 r=`${PWD_COMMAND}`; export r; \
6444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6445 $(HOST_EXPORTS) \
6446 for flag in $(EXTRA_HOST_FLAGS) ; do \
6447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6448 done; \
6449 echo "Doing pdf in binutils" ; \
6450 (cd $(HOST_SUBDIR)/binutils && \
6451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6453 "RANLIB=$${RANLIB}" \
6454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6455 pdf) \
6456 || exit 1
6458 @endif binutils
6460 .PHONY: maybe-html-binutils html-binutils
6461 maybe-html-binutils:
6462 @if binutils
6463 maybe-html-binutils: html-binutils
6465 html-binutils: \
6466 configure-binutils
6467 @[ -f ./binutils/Makefile ] || exit 0; \
6468 r=`${PWD_COMMAND}`; export r; \
6469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6470 $(HOST_EXPORTS) \
6471 for flag in $(EXTRA_HOST_FLAGS) ; do \
6472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6473 done; \
6474 echo "Doing html in binutils" ; \
6475 (cd $(HOST_SUBDIR)/binutils && \
6476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6478 "RANLIB=$${RANLIB}" \
6479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6480 html) \
6481 || exit 1
6483 @endif binutils
6485 .PHONY: maybe-TAGS-binutils TAGS-binutils
6486 maybe-TAGS-binutils:
6487 @if binutils
6488 maybe-TAGS-binutils: TAGS-binutils
6490 TAGS-binutils: \
6491 configure-binutils
6492 @[ -f ./binutils/Makefile ] || exit 0; \
6493 r=`${PWD_COMMAND}`; export r; \
6494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6495 $(HOST_EXPORTS) \
6496 for flag in $(EXTRA_HOST_FLAGS) ; do \
6497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6498 done; \
6499 echo "Doing TAGS in binutils" ; \
6500 (cd $(HOST_SUBDIR)/binutils && \
6501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6503 "RANLIB=$${RANLIB}" \
6504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6505 TAGS) \
6506 || exit 1
6508 @endif binutils
6510 .PHONY: maybe-install-info-binutils install-info-binutils
6511 maybe-install-info-binutils:
6512 @if binutils
6513 maybe-install-info-binutils: install-info-binutils
6515 install-info-binutils: \
6516 configure-binutils \
6517 info-binutils
6518 @[ -f ./binutils/Makefile ] || exit 0; \
6519 r=`${PWD_COMMAND}`; export r; \
6520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6521 $(HOST_EXPORTS) \
6522 for flag in $(EXTRA_HOST_FLAGS) ; do \
6523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6524 done; \
6525 echo "Doing install-info in binutils" ; \
6526 (cd $(HOST_SUBDIR)/binutils && \
6527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6529 "RANLIB=$${RANLIB}" \
6530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6531 install-info) \
6532 || exit 1
6534 @endif binutils
6536 .PHONY: maybe-install-html-binutils install-html-binutils
6537 maybe-install-html-binutils:
6538 @if binutils
6539 maybe-install-html-binutils: install-html-binutils
6541 install-html-binutils: \
6542 configure-binutils \
6543 html-binutils
6544 @[ -f ./binutils/Makefile ] || exit 0; \
6545 r=`${PWD_COMMAND}`; export r; \
6546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6547 $(HOST_EXPORTS) \
6548 for flag in $(EXTRA_HOST_FLAGS) ; do \
6549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6550 done; \
6551 echo "Doing install-html in binutils" ; \
6552 (cd $(HOST_SUBDIR)/binutils && \
6553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6555 "RANLIB=$${RANLIB}" \
6556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6557 install-html) \
6558 || exit 1
6560 @endif binutils
6562 .PHONY: maybe-installcheck-binutils installcheck-binutils
6563 maybe-installcheck-binutils:
6564 @if binutils
6565 maybe-installcheck-binutils: installcheck-binutils
6567 installcheck-binutils: \
6568 configure-binutils
6569 @[ -f ./binutils/Makefile ] || exit 0; \
6570 r=`${PWD_COMMAND}`; export r; \
6571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6572 $(HOST_EXPORTS) \
6573 for flag in $(EXTRA_HOST_FLAGS) ; do \
6574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6575 done; \
6576 echo "Doing installcheck in binutils" ; \
6577 (cd $(HOST_SUBDIR)/binutils && \
6578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6580 "RANLIB=$${RANLIB}" \
6581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6582 installcheck) \
6583 || exit 1
6585 @endif binutils
6587 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6588 maybe-mostlyclean-binutils:
6589 @if binutils
6590 maybe-mostlyclean-binutils: mostlyclean-binutils
6592 mostlyclean-binutils:
6593 @[ -f ./binutils/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(HOST_EXPORTS) \
6597 for flag in $(EXTRA_HOST_FLAGS) ; do \
6598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6599 done; \
6600 echo "Doing mostlyclean in binutils" ; \
6601 (cd $(HOST_SUBDIR)/binutils && \
6602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6604 "RANLIB=$${RANLIB}" \
6605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6606 mostlyclean) \
6607 || exit 1
6609 @endif binutils
6611 .PHONY: maybe-clean-binutils clean-binutils
6612 maybe-clean-binutils:
6613 @if binutils
6614 maybe-clean-binutils: clean-binutils
6616 clean-binutils:
6617 @[ -f ./binutils/Makefile ] || exit 0; \
6618 r=`${PWD_COMMAND}`; export r; \
6619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6620 $(HOST_EXPORTS) \
6621 for flag in $(EXTRA_HOST_FLAGS) ; do \
6622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6623 done; \
6624 echo "Doing clean in binutils" ; \
6625 (cd $(HOST_SUBDIR)/binutils && \
6626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6628 "RANLIB=$${RANLIB}" \
6629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6630 clean) \
6631 || exit 1
6633 @endif binutils
6635 .PHONY: maybe-distclean-binutils distclean-binutils
6636 maybe-distclean-binutils:
6637 @if binutils
6638 maybe-distclean-binutils: distclean-binutils
6640 distclean-binutils:
6641 @[ -f ./binutils/Makefile ] || exit 0; \
6642 r=`${PWD_COMMAND}`; export r; \
6643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6644 $(HOST_EXPORTS) \
6645 for flag in $(EXTRA_HOST_FLAGS) ; do \
6646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6647 done; \
6648 echo "Doing distclean in binutils" ; \
6649 (cd $(HOST_SUBDIR)/binutils && \
6650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6652 "RANLIB=$${RANLIB}" \
6653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6654 distclean) \
6655 || exit 1
6657 @endif binutils
6659 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6660 maybe-maintainer-clean-binutils:
6661 @if binutils
6662 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6664 maintainer-clean-binutils:
6665 @[ -f ./binutils/Makefile ] || exit 0; \
6666 r=`${PWD_COMMAND}`; export r; \
6667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6668 $(HOST_EXPORTS) \
6669 for flag in $(EXTRA_HOST_FLAGS) ; do \
6670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6671 done; \
6672 echo "Doing maintainer-clean in binutils" ; \
6673 (cd $(HOST_SUBDIR)/binutils && \
6674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6676 "RANLIB=$${RANLIB}" \
6677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6678 maintainer-clean) \
6679 || exit 1
6681 @endif binutils
6685 .PHONY: configure-bison maybe-configure-bison
6686 maybe-configure-bison:
6687 @if gcc-bootstrap
6688 configure-bison: stage_current
6689 @endif gcc-bootstrap
6690 @if bison
6691 maybe-configure-bison: configure-bison
6692 configure-bison:
6693 @: $(MAKE); $(unstage)
6694 @r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6698 $(HOST_EXPORTS) \
6699 echo Configuring in $(HOST_SUBDIR)/bison; \
6700 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6701 case $(srcdir) in \
6702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6703 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6705 esac; \
6706 srcdiroption="--srcdir=$${topdir}/bison"; \
6707 libsrcdir="$$s/bison"; \
6708 $(SHELL) $${libsrcdir}/configure \
6709 $(HOST_CONFIGARGS) $${srcdiroption} \
6710 || exit 1
6711 @endif bison
6717 .PHONY: all-bison maybe-all-bison
6718 maybe-all-bison:
6719 @if gcc-bootstrap
6720 all-bison: stage_current
6721 @endif gcc-bootstrap
6722 @if bison
6723 TARGET-bison=all
6724 maybe-all-bison: all-bison
6725 all-bison: configure-bison
6726 @: $(MAKE); $(unstage)
6727 @r=`${PWD_COMMAND}`; export r; \
6728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6729 $(HOST_EXPORTS) \
6730 (cd $(HOST_SUBDIR)/bison && \
6731 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6732 @endif bison
6737 .PHONY: check-bison maybe-check-bison
6738 maybe-check-bison:
6739 @if bison
6740 maybe-check-bison: check-bison
6742 # This module is only tested in a native toolchain.
6743 check-bison:
6744 @: $(MAKE); $(unstage)
6745 @if [ '$(host)' = '$(target)' ] ; then \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6748 $(HOST_EXPORTS) \
6749 (cd $(HOST_SUBDIR)/bison && \
6750 $(MAKE) $(FLAGS_TO_PASS) check); \
6753 @endif bison
6755 .PHONY: install-bison maybe-install-bison
6756 maybe-install-bison:
6757 @if bison
6758 maybe-install-bison: install-bison
6760 install-bison: installdirs
6761 @: $(MAKE); $(unstage)
6762 @r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 (cd $(HOST_SUBDIR)/bison && \
6766 $(MAKE) $(FLAGS_TO_PASS) install)
6768 @endif bison
6770 # Other targets (info, dvi, pdf, etc.)
6772 .PHONY: maybe-info-bison info-bison
6773 maybe-info-bison:
6774 @if bison
6775 maybe-info-bison: info-bison
6777 info-bison: \
6778 configure-bison
6779 @: $(MAKE); $(unstage)
6780 @[ -f ./bison/Makefile ] || exit 0; \
6781 r=`${PWD_COMMAND}`; export r; \
6782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6783 $(HOST_EXPORTS) \
6784 for flag in $(EXTRA_HOST_FLAGS) ; do \
6785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6786 done; \
6787 echo "Doing info in bison" ; \
6788 (cd $(HOST_SUBDIR)/bison && \
6789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6791 "RANLIB=$${RANLIB}" \
6792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6793 info) \
6794 || exit 1
6796 @endif bison
6798 .PHONY: maybe-dvi-bison dvi-bison
6799 maybe-dvi-bison:
6800 @if bison
6801 maybe-dvi-bison: dvi-bison
6803 dvi-bison: \
6804 configure-bison
6805 @: $(MAKE); $(unstage)
6806 @[ -f ./bison/Makefile ] || exit 0; \
6807 r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 $(HOST_EXPORTS) \
6810 for flag in $(EXTRA_HOST_FLAGS) ; do \
6811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6812 done; \
6813 echo "Doing dvi in bison" ; \
6814 (cd $(HOST_SUBDIR)/bison && \
6815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6817 "RANLIB=$${RANLIB}" \
6818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6819 dvi) \
6820 || exit 1
6822 @endif bison
6824 .PHONY: maybe-pdf-bison pdf-bison
6825 maybe-pdf-bison:
6826 @if bison
6827 maybe-pdf-bison: pdf-bison
6829 pdf-bison: \
6830 configure-bison
6831 @: $(MAKE); $(unstage)
6832 @[ -f ./bison/Makefile ] || exit 0; \
6833 r=`${PWD_COMMAND}`; export r; \
6834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6835 $(HOST_EXPORTS) \
6836 for flag in $(EXTRA_HOST_FLAGS) ; do \
6837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6838 done; \
6839 echo "Doing pdf in bison" ; \
6840 (cd $(HOST_SUBDIR)/bison && \
6841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6843 "RANLIB=$${RANLIB}" \
6844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6845 pdf) \
6846 || exit 1
6848 @endif bison
6850 .PHONY: maybe-html-bison html-bison
6851 maybe-html-bison:
6852 @if bison
6853 maybe-html-bison: html-bison
6855 html-bison: \
6856 configure-bison
6857 @: $(MAKE); $(unstage)
6858 @[ -f ./bison/Makefile ] || exit 0; \
6859 r=`${PWD_COMMAND}`; export r; \
6860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6861 $(HOST_EXPORTS) \
6862 for flag in $(EXTRA_HOST_FLAGS) ; do \
6863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6864 done; \
6865 echo "Doing html in bison" ; \
6866 (cd $(HOST_SUBDIR)/bison && \
6867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6869 "RANLIB=$${RANLIB}" \
6870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6871 html) \
6872 || exit 1
6874 @endif bison
6876 .PHONY: maybe-TAGS-bison TAGS-bison
6877 maybe-TAGS-bison:
6878 @if bison
6879 maybe-TAGS-bison: TAGS-bison
6881 TAGS-bison: \
6882 configure-bison
6883 @: $(MAKE); $(unstage)
6884 @[ -f ./bison/Makefile ] || exit 0; \
6885 r=`${PWD_COMMAND}`; export r; \
6886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6887 $(HOST_EXPORTS) \
6888 for flag in $(EXTRA_HOST_FLAGS) ; do \
6889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6890 done; \
6891 echo "Doing TAGS in bison" ; \
6892 (cd $(HOST_SUBDIR)/bison && \
6893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6895 "RANLIB=$${RANLIB}" \
6896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6897 TAGS) \
6898 || exit 1
6900 @endif bison
6902 .PHONY: maybe-install-info-bison install-info-bison
6903 maybe-install-info-bison:
6904 @if bison
6905 maybe-install-info-bison: install-info-bison
6907 install-info-bison: \
6908 configure-bison \
6909 info-bison
6910 @: $(MAKE); $(unstage)
6911 @[ -f ./bison/Makefile ] || exit 0; \
6912 r=`${PWD_COMMAND}`; export r; \
6913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6914 $(HOST_EXPORTS) \
6915 for flag in $(EXTRA_HOST_FLAGS) ; do \
6916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6917 done; \
6918 echo "Doing install-info in bison" ; \
6919 (cd $(HOST_SUBDIR)/bison && \
6920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6922 "RANLIB=$${RANLIB}" \
6923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6924 install-info) \
6925 || exit 1
6927 @endif bison
6929 .PHONY: maybe-install-html-bison install-html-bison
6930 maybe-install-html-bison:
6931 @if bison
6932 maybe-install-html-bison: install-html-bison
6934 install-html-bison: \
6935 configure-bison \
6936 html-bison
6937 @: $(MAKE); $(unstage)
6938 @[ -f ./bison/Makefile ] || exit 0; \
6939 r=`${PWD_COMMAND}`; export r; \
6940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6941 $(HOST_EXPORTS) \
6942 for flag in $(EXTRA_HOST_FLAGS) ; do \
6943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6944 done; \
6945 echo "Doing install-html in bison" ; \
6946 (cd $(HOST_SUBDIR)/bison && \
6947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6949 "RANLIB=$${RANLIB}" \
6950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6951 install-html) \
6952 || exit 1
6954 @endif bison
6956 .PHONY: maybe-installcheck-bison installcheck-bison
6957 maybe-installcheck-bison:
6958 @if bison
6959 maybe-installcheck-bison: installcheck-bison
6961 installcheck-bison: \
6962 configure-bison
6963 @: $(MAKE); $(unstage)
6964 @[ -f ./bison/Makefile ] || exit 0; \
6965 r=`${PWD_COMMAND}`; export r; \
6966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6967 $(HOST_EXPORTS) \
6968 for flag in $(EXTRA_HOST_FLAGS) ; do \
6969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6970 done; \
6971 echo "Doing installcheck in bison" ; \
6972 (cd $(HOST_SUBDIR)/bison && \
6973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6975 "RANLIB=$${RANLIB}" \
6976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6977 installcheck) \
6978 || exit 1
6980 @endif bison
6982 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6983 maybe-mostlyclean-bison:
6984 @if bison
6985 maybe-mostlyclean-bison: mostlyclean-bison
6987 mostlyclean-bison:
6988 @: $(MAKE); $(unstage)
6989 @[ -f ./bison/Makefile ] || exit 0; \
6990 r=`${PWD_COMMAND}`; export r; \
6991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6992 $(HOST_EXPORTS) \
6993 for flag in $(EXTRA_HOST_FLAGS) ; do \
6994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6995 done; \
6996 echo "Doing mostlyclean in bison" ; \
6997 (cd $(HOST_SUBDIR)/bison && \
6998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7000 "RANLIB=$${RANLIB}" \
7001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7002 mostlyclean) \
7003 || exit 1
7005 @endif bison
7007 .PHONY: maybe-clean-bison clean-bison
7008 maybe-clean-bison:
7009 @if bison
7010 maybe-clean-bison: clean-bison
7012 clean-bison:
7013 @: $(MAKE); $(unstage)
7014 @[ -f ./bison/Makefile ] || exit 0; \
7015 r=`${PWD_COMMAND}`; export r; \
7016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7017 $(HOST_EXPORTS) \
7018 for flag in $(EXTRA_HOST_FLAGS) ; do \
7019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7020 done; \
7021 echo "Doing clean in bison" ; \
7022 (cd $(HOST_SUBDIR)/bison && \
7023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7025 "RANLIB=$${RANLIB}" \
7026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7027 clean) \
7028 || exit 1
7030 @endif bison
7032 .PHONY: maybe-distclean-bison distclean-bison
7033 maybe-distclean-bison:
7034 @if bison
7035 maybe-distclean-bison: distclean-bison
7037 distclean-bison:
7038 @: $(MAKE); $(unstage)
7039 @[ -f ./bison/Makefile ] || exit 0; \
7040 r=`${PWD_COMMAND}`; export r; \
7041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7042 $(HOST_EXPORTS) \
7043 for flag in $(EXTRA_HOST_FLAGS) ; do \
7044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7045 done; \
7046 echo "Doing distclean in bison" ; \
7047 (cd $(HOST_SUBDIR)/bison && \
7048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7050 "RANLIB=$${RANLIB}" \
7051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7052 distclean) \
7053 || exit 1
7055 @endif bison
7057 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7058 maybe-maintainer-clean-bison:
7059 @if bison
7060 maybe-maintainer-clean-bison: maintainer-clean-bison
7062 maintainer-clean-bison:
7063 @: $(MAKE); $(unstage)
7064 @[ -f ./bison/Makefile ] || exit 0; \
7065 r=`${PWD_COMMAND}`; export r; \
7066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7067 $(HOST_EXPORTS) \
7068 for flag in $(EXTRA_HOST_FLAGS) ; do \
7069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7070 done; \
7071 echo "Doing maintainer-clean in bison" ; \
7072 (cd $(HOST_SUBDIR)/bison && \
7073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7075 "RANLIB=$${RANLIB}" \
7076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7077 maintainer-clean) \
7078 || exit 1
7080 @endif bison
7084 .PHONY: configure-byacc maybe-configure-byacc
7085 maybe-configure-byacc:
7086 @if gcc-bootstrap
7087 configure-byacc: stage_current
7088 @endif gcc-bootstrap
7089 @if byacc
7090 maybe-configure-byacc: configure-byacc
7091 configure-byacc:
7092 @: $(MAKE); $(unstage)
7093 @r=`${PWD_COMMAND}`; export r; \
7094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7095 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7097 $(HOST_EXPORTS) \
7098 echo Configuring in $(HOST_SUBDIR)/byacc; \
7099 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7100 case $(srcdir) in \
7101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7102 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7104 esac; \
7105 srcdiroption="--srcdir=$${topdir}/byacc"; \
7106 libsrcdir="$$s/byacc"; \
7107 $(SHELL) $${libsrcdir}/configure \
7108 $(HOST_CONFIGARGS) $${srcdiroption} \
7109 || exit 1
7110 @endif byacc
7116 .PHONY: all-byacc maybe-all-byacc
7117 maybe-all-byacc:
7118 @if gcc-bootstrap
7119 all-byacc: stage_current
7120 @endif gcc-bootstrap
7121 @if byacc
7122 TARGET-byacc=all
7123 maybe-all-byacc: all-byacc
7124 all-byacc: configure-byacc
7125 @: $(MAKE); $(unstage)
7126 @r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(HOST_EXPORTS) \
7129 (cd $(HOST_SUBDIR)/byacc && \
7130 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7131 @endif byacc
7136 .PHONY: check-byacc maybe-check-byacc
7137 maybe-check-byacc:
7138 @if byacc
7139 maybe-check-byacc: check-byacc
7141 # This module is only tested in a native toolchain.
7142 check-byacc:
7143 @: $(MAKE); $(unstage)
7144 @if [ '$(host)' = '$(target)' ] ; then \
7145 r=`${PWD_COMMAND}`; export r; \
7146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7147 $(HOST_EXPORTS) \
7148 (cd $(HOST_SUBDIR)/byacc && \
7149 $(MAKE) $(FLAGS_TO_PASS) check); \
7152 @endif byacc
7154 .PHONY: install-byacc maybe-install-byacc
7155 maybe-install-byacc:
7156 @if byacc
7157 maybe-install-byacc: install-byacc
7159 install-byacc: installdirs
7160 @: $(MAKE); $(unstage)
7161 @r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(HOST_EXPORTS) \
7164 (cd $(HOST_SUBDIR)/byacc && \
7165 $(MAKE) $(FLAGS_TO_PASS) install)
7167 @endif byacc
7169 # Other targets (info, dvi, pdf, etc.)
7171 .PHONY: maybe-info-byacc info-byacc
7172 maybe-info-byacc:
7173 @if byacc
7174 maybe-info-byacc: info-byacc
7176 info-byacc: \
7177 configure-byacc
7178 @: $(MAKE); $(unstage)
7179 @[ -f ./byacc/Makefile ] || exit 0; \
7180 r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182 $(HOST_EXPORTS) \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing info in byacc" ; \
7187 (cd $(HOST_SUBDIR)/byacc && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7192 info) \
7193 || exit 1
7195 @endif byacc
7197 .PHONY: maybe-dvi-byacc dvi-byacc
7198 maybe-dvi-byacc:
7199 @if byacc
7200 maybe-dvi-byacc: dvi-byacc
7202 dvi-byacc: \
7203 configure-byacc
7204 @: $(MAKE); $(unstage)
7205 @[ -f ./byacc/Makefile ] || exit 0; \
7206 r=`${PWD_COMMAND}`; export r; \
7207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7208 $(HOST_EXPORTS) \
7209 for flag in $(EXTRA_HOST_FLAGS) ; do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7211 done; \
7212 echo "Doing dvi in byacc" ; \
7213 (cd $(HOST_SUBDIR)/byacc && \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7218 dvi) \
7219 || exit 1
7221 @endif byacc
7223 .PHONY: maybe-pdf-byacc pdf-byacc
7224 maybe-pdf-byacc:
7225 @if byacc
7226 maybe-pdf-byacc: pdf-byacc
7228 pdf-byacc: \
7229 configure-byacc
7230 @: $(MAKE); $(unstage)
7231 @[ -f ./byacc/Makefile ] || exit 0; \
7232 r=`${PWD_COMMAND}`; export r; \
7233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7234 $(HOST_EXPORTS) \
7235 for flag in $(EXTRA_HOST_FLAGS) ; do \
7236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7237 done; \
7238 echo "Doing pdf in byacc" ; \
7239 (cd $(HOST_SUBDIR)/byacc && \
7240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7242 "RANLIB=$${RANLIB}" \
7243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7244 pdf) \
7245 || exit 1
7247 @endif byacc
7249 .PHONY: maybe-html-byacc html-byacc
7250 maybe-html-byacc:
7251 @if byacc
7252 maybe-html-byacc: html-byacc
7254 html-byacc: \
7255 configure-byacc
7256 @: $(MAKE); $(unstage)
7257 @[ -f ./byacc/Makefile ] || exit 0; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260 $(HOST_EXPORTS) \
7261 for flag in $(EXTRA_HOST_FLAGS) ; do \
7262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7263 done; \
7264 echo "Doing html in byacc" ; \
7265 (cd $(HOST_SUBDIR)/byacc && \
7266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7268 "RANLIB=$${RANLIB}" \
7269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7270 html) \
7271 || exit 1
7273 @endif byacc
7275 .PHONY: maybe-TAGS-byacc TAGS-byacc
7276 maybe-TAGS-byacc:
7277 @if byacc
7278 maybe-TAGS-byacc: TAGS-byacc
7280 TAGS-byacc: \
7281 configure-byacc
7282 @: $(MAKE); $(unstage)
7283 @[ -f ./byacc/Makefile ] || exit 0; \
7284 r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7286 $(HOST_EXPORTS) \
7287 for flag in $(EXTRA_HOST_FLAGS) ; do \
7288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7289 done; \
7290 echo "Doing TAGS in byacc" ; \
7291 (cd $(HOST_SUBDIR)/byacc && \
7292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7294 "RANLIB=$${RANLIB}" \
7295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7296 TAGS) \
7297 || exit 1
7299 @endif byacc
7301 .PHONY: maybe-install-info-byacc install-info-byacc
7302 maybe-install-info-byacc:
7303 @if byacc
7304 maybe-install-info-byacc: install-info-byacc
7306 install-info-byacc: \
7307 configure-byacc \
7308 info-byacc
7309 @: $(MAKE); $(unstage)
7310 @[ -f ./byacc/Makefile ] || exit 0; \
7311 r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 $(HOST_EXPORTS) \
7314 for flag in $(EXTRA_HOST_FLAGS) ; do \
7315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7316 done; \
7317 echo "Doing install-info in byacc" ; \
7318 (cd $(HOST_SUBDIR)/byacc && \
7319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7321 "RANLIB=$${RANLIB}" \
7322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7323 install-info) \
7324 || exit 1
7326 @endif byacc
7328 .PHONY: maybe-install-html-byacc install-html-byacc
7329 maybe-install-html-byacc:
7330 @if byacc
7331 maybe-install-html-byacc: install-html-byacc
7333 install-html-byacc: \
7334 configure-byacc \
7335 html-byacc
7336 @: $(MAKE); $(unstage)
7337 @[ -f ./byacc/Makefile ] || exit 0; \
7338 r=`${PWD_COMMAND}`; export r; \
7339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7340 $(HOST_EXPORTS) \
7341 for flag in $(EXTRA_HOST_FLAGS) ; do \
7342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7343 done; \
7344 echo "Doing install-html in byacc" ; \
7345 (cd $(HOST_SUBDIR)/byacc && \
7346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7348 "RANLIB=$${RANLIB}" \
7349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7350 install-html) \
7351 || exit 1
7353 @endif byacc
7355 .PHONY: maybe-installcheck-byacc installcheck-byacc
7356 maybe-installcheck-byacc:
7357 @if byacc
7358 maybe-installcheck-byacc: installcheck-byacc
7360 installcheck-byacc: \
7361 configure-byacc
7362 @: $(MAKE); $(unstage)
7363 @[ -f ./byacc/Makefile ] || exit 0; \
7364 r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 $(HOST_EXPORTS) \
7367 for flag in $(EXTRA_HOST_FLAGS) ; do \
7368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7369 done; \
7370 echo "Doing installcheck in byacc" ; \
7371 (cd $(HOST_SUBDIR)/byacc && \
7372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7374 "RANLIB=$${RANLIB}" \
7375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7376 installcheck) \
7377 || exit 1
7379 @endif byacc
7381 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7382 maybe-mostlyclean-byacc:
7383 @if byacc
7384 maybe-mostlyclean-byacc: mostlyclean-byacc
7386 mostlyclean-byacc:
7387 @: $(MAKE); $(unstage)
7388 @[ -f ./byacc/Makefile ] || exit 0; \
7389 r=`${PWD_COMMAND}`; export r; \
7390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7391 $(HOST_EXPORTS) \
7392 for flag in $(EXTRA_HOST_FLAGS) ; do \
7393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7394 done; \
7395 echo "Doing mostlyclean in byacc" ; \
7396 (cd $(HOST_SUBDIR)/byacc && \
7397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7399 "RANLIB=$${RANLIB}" \
7400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7401 mostlyclean) \
7402 || exit 1
7404 @endif byacc
7406 .PHONY: maybe-clean-byacc clean-byacc
7407 maybe-clean-byacc:
7408 @if byacc
7409 maybe-clean-byacc: clean-byacc
7411 clean-byacc:
7412 @: $(MAKE); $(unstage)
7413 @[ -f ./byacc/Makefile ] || exit 0; \
7414 r=`${PWD_COMMAND}`; export r; \
7415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 $(HOST_EXPORTS) \
7417 for flag in $(EXTRA_HOST_FLAGS) ; do \
7418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7419 done; \
7420 echo "Doing clean in byacc" ; \
7421 (cd $(HOST_SUBDIR)/byacc && \
7422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7424 "RANLIB=$${RANLIB}" \
7425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7426 clean) \
7427 || exit 1
7429 @endif byacc
7431 .PHONY: maybe-distclean-byacc distclean-byacc
7432 maybe-distclean-byacc:
7433 @if byacc
7434 maybe-distclean-byacc: distclean-byacc
7436 distclean-byacc:
7437 @: $(MAKE); $(unstage)
7438 @[ -f ./byacc/Makefile ] || exit 0; \
7439 r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 $(HOST_EXPORTS) \
7442 for flag in $(EXTRA_HOST_FLAGS) ; do \
7443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7444 done; \
7445 echo "Doing distclean in byacc" ; \
7446 (cd $(HOST_SUBDIR)/byacc && \
7447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7449 "RANLIB=$${RANLIB}" \
7450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7451 distclean) \
7452 || exit 1
7454 @endif byacc
7456 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7457 maybe-maintainer-clean-byacc:
7458 @if byacc
7459 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7461 maintainer-clean-byacc:
7462 @: $(MAKE); $(unstage)
7463 @[ -f ./byacc/Makefile ] || exit 0; \
7464 r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 $(HOST_EXPORTS) \
7467 for flag in $(EXTRA_HOST_FLAGS) ; do \
7468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7469 done; \
7470 echo "Doing maintainer-clean in byacc" ; \
7471 (cd $(HOST_SUBDIR)/byacc && \
7472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7474 "RANLIB=$${RANLIB}" \
7475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7476 maintainer-clean) \
7477 || exit 1
7479 @endif byacc
7483 .PHONY: configure-bzip2 maybe-configure-bzip2
7484 maybe-configure-bzip2:
7485 @if gcc-bootstrap
7486 configure-bzip2: stage_current
7487 @endif gcc-bootstrap
7488 @if bzip2
7489 maybe-configure-bzip2: configure-bzip2
7490 configure-bzip2:
7491 @: $(MAKE); $(unstage)
7492 @r=`${PWD_COMMAND}`; export r; \
7493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7496 $(HOST_EXPORTS) \
7497 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7498 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7499 case $(srcdir) in \
7500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7501 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7503 esac; \
7504 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7505 libsrcdir="$$s/bzip2"; \
7506 $(SHELL) $${libsrcdir}/configure \
7507 $(HOST_CONFIGARGS) $${srcdiroption} \
7508 || exit 1
7509 @endif bzip2
7515 .PHONY: all-bzip2 maybe-all-bzip2
7516 maybe-all-bzip2:
7517 @if gcc-bootstrap
7518 all-bzip2: stage_current
7519 @endif gcc-bootstrap
7520 @if bzip2
7521 TARGET-bzip2=all
7522 maybe-all-bzip2: all-bzip2
7523 all-bzip2: configure-bzip2
7524 @: $(MAKE); $(unstage)
7525 @r=`${PWD_COMMAND}`; export r; \
7526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7527 $(HOST_EXPORTS) \
7528 (cd $(HOST_SUBDIR)/bzip2 && \
7529 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7530 @endif bzip2
7535 .PHONY: check-bzip2 maybe-check-bzip2
7536 maybe-check-bzip2:
7537 @if bzip2
7538 maybe-check-bzip2: check-bzip2
7540 check-bzip2:
7541 @: $(MAKE); $(unstage)
7542 @r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(HOST_EXPORTS) \
7545 (cd $(HOST_SUBDIR)/bzip2 && \
7546 $(MAKE) $(FLAGS_TO_PASS) check)
7548 @endif bzip2
7550 .PHONY: install-bzip2 maybe-install-bzip2
7551 maybe-install-bzip2:
7552 @if bzip2
7553 maybe-install-bzip2: install-bzip2
7555 install-bzip2: installdirs
7556 @: $(MAKE); $(unstage)
7557 @r=`${PWD_COMMAND}`; export r; \
7558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7559 $(HOST_EXPORTS) \
7560 (cd $(HOST_SUBDIR)/bzip2 && \
7561 $(MAKE) $(FLAGS_TO_PASS) install)
7563 @endif bzip2
7565 # Other targets (info, dvi, pdf, etc.)
7567 .PHONY: maybe-info-bzip2 info-bzip2
7568 maybe-info-bzip2:
7569 @if bzip2
7570 maybe-info-bzip2: info-bzip2
7572 info-bzip2: \
7573 configure-bzip2
7574 @: $(MAKE); $(unstage)
7575 @[ -f ./bzip2/Makefile ] || exit 0; \
7576 r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(HOST_EXPORTS) \
7579 for flag in $(EXTRA_HOST_FLAGS) ; do \
7580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7581 done; \
7582 echo "Doing info in bzip2" ; \
7583 (cd $(HOST_SUBDIR)/bzip2 && \
7584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7586 "RANLIB=$${RANLIB}" \
7587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7588 info) \
7589 || exit 1
7591 @endif bzip2
7593 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7594 maybe-dvi-bzip2:
7595 @if bzip2
7596 maybe-dvi-bzip2: dvi-bzip2
7598 dvi-bzip2: \
7599 configure-bzip2
7600 @: $(MAKE); $(unstage)
7601 @[ -f ./bzip2/Makefile ] || exit 0; \
7602 r=`${PWD_COMMAND}`; export r; \
7603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7604 $(HOST_EXPORTS) \
7605 for flag in $(EXTRA_HOST_FLAGS) ; do \
7606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7607 done; \
7608 echo "Doing dvi in bzip2" ; \
7609 (cd $(HOST_SUBDIR)/bzip2 && \
7610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7612 "RANLIB=$${RANLIB}" \
7613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7614 dvi) \
7615 || exit 1
7617 @endif bzip2
7619 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7620 maybe-pdf-bzip2:
7621 @if bzip2
7622 maybe-pdf-bzip2: pdf-bzip2
7624 pdf-bzip2: \
7625 configure-bzip2
7626 @: $(MAKE); $(unstage)
7627 @[ -f ./bzip2/Makefile ] || exit 0; \
7628 r=`${PWD_COMMAND}`; export r; \
7629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7630 $(HOST_EXPORTS) \
7631 for flag in $(EXTRA_HOST_FLAGS) ; do \
7632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7633 done; \
7634 echo "Doing pdf in bzip2" ; \
7635 (cd $(HOST_SUBDIR)/bzip2 && \
7636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7638 "RANLIB=$${RANLIB}" \
7639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7640 pdf) \
7641 || exit 1
7643 @endif bzip2
7645 .PHONY: maybe-html-bzip2 html-bzip2
7646 maybe-html-bzip2:
7647 @if bzip2
7648 maybe-html-bzip2: html-bzip2
7650 html-bzip2: \
7651 configure-bzip2
7652 @: $(MAKE); $(unstage)
7653 @[ -f ./bzip2/Makefile ] || exit 0; \
7654 r=`${PWD_COMMAND}`; export r; \
7655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7656 $(HOST_EXPORTS) \
7657 for flag in $(EXTRA_HOST_FLAGS) ; do \
7658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7659 done; \
7660 echo "Doing html in bzip2" ; \
7661 (cd $(HOST_SUBDIR)/bzip2 && \
7662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7664 "RANLIB=$${RANLIB}" \
7665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7666 html) \
7667 || exit 1
7669 @endif bzip2
7671 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7672 maybe-TAGS-bzip2:
7673 @if bzip2
7674 maybe-TAGS-bzip2: TAGS-bzip2
7676 TAGS-bzip2: \
7677 configure-bzip2
7678 @: $(MAKE); $(unstage)
7679 @[ -f ./bzip2/Makefile ] || exit 0; \
7680 r=`${PWD_COMMAND}`; export r; \
7681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7682 $(HOST_EXPORTS) \
7683 for flag in $(EXTRA_HOST_FLAGS) ; do \
7684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7685 done; \
7686 echo "Doing TAGS in bzip2" ; \
7687 (cd $(HOST_SUBDIR)/bzip2 && \
7688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7690 "RANLIB=$${RANLIB}" \
7691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7692 TAGS) \
7693 || exit 1
7695 @endif bzip2
7697 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7698 maybe-install-info-bzip2:
7699 @if bzip2
7700 maybe-install-info-bzip2: install-info-bzip2
7702 install-info-bzip2: \
7703 configure-bzip2 \
7704 info-bzip2
7705 @: $(MAKE); $(unstage)
7706 @[ -f ./bzip2/Makefile ] || exit 0; \
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7709 $(HOST_EXPORTS) \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing install-info in bzip2" ; \
7714 (cd $(HOST_SUBDIR)/bzip2 && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7719 install-info) \
7720 || exit 1
7722 @endif bzip2
7724 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7725 maybe-install-html-bzip2:
7726 @if bzip2
7727 maybe-install-html-bzip2: install-html-bzip2
7729 install-html-bzip2: \
7730 configure-bzip2 \
7731 html-bzip2
7732 @: $(MAKE); $(unstage)
7733 @[ -f ./bzip2/Makefile ] || exit 0; \
7734 r=`${PWD_COMMAND}`; export r; \
7735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 $(HOST_EXPORTS) \
7737 for flag in $(EXTRA_HOST_FLAGS) ; do \
7738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7739 done; \
7740 echo "Doing install-html in bzip2" ; \
7741 (cd $(HOST_SUBDIR)/bzip2 && \
7742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7744 "RANLIB=$${RANLIB}" \
7745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7746 install-html) \
7747 || exit 1
7749 @endif bzip2
7751 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7752 maybe-installcheck-bzip2:
7753 @if bzip2
7754 maybe-installcheck-bzip2: installcheck-bzip2
7756 installcheck-bzip2: \
7757 configure-bzip2
7758 @: $(MAKE); $(unstage)
7759 @[ -f ./bzip2/Makefile ] || exit 0; \
7760 r=`${PWD_COMMAND}`; export r; \
7761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7762 $(HOST_EXPORTS) \
7763 for flag in $(EXTRA_HOST_FLAGS) ; do \
7764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7765 done; \
7766 echo "Doing installcheck in bzip2" ; \
7767 (cd $(HOST_SUBDIR)/bzip2 && \
7768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7770 "RANLIB=$${RANLIB}" \
7771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7772 installcheck) \
7773 || exit 1
7775 @endif bzip2
7777 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7778 maybe-mostlyclean-bzip2:
7779 @if bzip2
7780 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7782 mostlyclean-bzip2:
7783 @: $(MAKE); $(unstage)
7784 @[ -f ./bzip2/Makefile ] || exit 0; \
7785 r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 $(HOST_EXPORTS) \
7788 for flag in $(EXTRA_HOST_FLAGS) ; do \
7789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7790 done; \
7791 echo "Doing mostlyclean in bzip2" ; \
7792 (cd $(HOST_SUBDIR)/bzip2 && \
7793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795 "RANLIB=$${RANLIB}" \
7796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7797 mostlyclean) \
7798 || exit 1
7800 @endif bzip2
7802 .PHONY: maybe-clean-bzip2 clean-bzip2
7803 maybe-clean-bzip2:
7804 @if bzip2
7805 maybe-clean-bzip2: clean-bzip2
7807 clean-bzip2:
7808 @: $(MAKE); $(unstage)
7809 @[ -f ./bzip2/Makefile ] || exit 0; \
7810 r=`${PWD_COMMAND}`; export r; \
7811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7812 $(HOST_EXPORTS) \
7813 for flag in $(EXTRA_HOST_FLAGS) ; do \
7814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7815 done; \
7816 echo "Doing clean in bzip2" ; \
7817 (cd $(HOST_SUBDIR)/bzip2 && \
7818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7820 "RANLIB=$${RANLIB}" \
7821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7822 clean) \
7823 || exit 1
7825 @endif bzip2
7827 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7828 maybe-distclean-bzip2:
7829 @if bzip2
7830 maybe-distclean-bzip2: distclean-bzip2
7832 distclean-bzip2:
7833 @: $(MAKE); $(unstage)
7834 @[ -f ./bzip2/Makefile ] || exit 0; \
7835 r=`${PWD_COMMAND}`; export r; \
7836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7837 $(HOST_EXPORTS) \
7838 for flag in $(EXTRA_HOST_FLAGS) ; do \
7839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7840 done; \
7841 echo "Doing distclean in bzip2" ; \
7842 (cd $(HOST_SUBDIR)/bzip2 && \
7843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7845 "RANLIB=$${RANLIB}" \
7846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7847 distclean) \
7848 || exit 1
7850 @endif bzip2
7852 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7853 maybe-maintainer-clean-bzip2:
7854 @if bzip2
7855 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7857 maintainer-clean-bzip2:
7858 @: $(MAKE); $(unstage)
7859 @[ -f ./bzip2/Makefile ] || exit 0; \
7860 r=`${PWD_COMMAND}`; export r; \
7861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7862 $(HOST_EXPORTS) \
7863 for flag in $(EXTRA_HOST_FLAGS) ; do \
7864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7865 done; \
7866 echo "Doing maintainer-clean in bzip2" ; \
7867 (cd $(HOST_SUBDIR)/bzip2 && \
7868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7870 "RANLIB=$${RANLIB}" \
7871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7872 maintainer-clean) \
7873 || exit 1
7875 @endif bzip2
7879 .PHONY: configure-dejagnu maybe-configure-dejagnu
7880 maybe-configure-dejagnu:
7881 @if gcc-bootstrap
7882 configure-dejagnu: stage_current
7883 @endif gcc-bootstrap
7884 @if dejagnu
7885 maybe-configure-dejagnu: configure-dejagnu
7886 configure-dejagnu:
7887 @: $(MAKE); $(unstage)
7888 @r=`${PWD_COMMAND}`; export r; \
7889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7890 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7892 $(HOST_EXPORTS) \
7893 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7894 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7895 case $(srcdir) in \
7896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7897 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7899 esac; \
7900 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7901 libsrcdir="$$s/dejagnu"; \
7902 $(SHELL) $${libsrcdir}/configure \
7903 $(HOST_CONFIGARGS) $${srcdiroption} \
7904 || exit 1
7905 @endif dejagnu
7911 .PHONY: all-dejagnu maybe-all-dejagnu
7912 maybe-all-dejagnu:
7913 @if gcc-bootstrap
7914 all-dejagnu: stage_current
7915 @endif gcc-bootstrap
7916 @if dejagnu
7917 TARGET-dejagnu=all
7918 maybe-all-dejagnu: all-dejagnu
7919 all-dejagnu: configure-dejagnu
7920 @: $(MAKE); $(unstage)
7921 @r=`${PWD_COMMAND}`; export r; \
7922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7923 $(HOST_EXPORTS) \
7924 (cd $(HOST_SUBDIR)/dejagnu && \
7925 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7926 @endif dejagnu
7931 .PHONY: check-dejagnu maybe-check-dejagnu
7932 maybe-check-dejagnu:
7933 @if dejagnu
7934 maybe-check-dejagnu: check-dejagnu
7936 check-dejagnu:
7937 @: $(MAKE); $(unstage)
7938 @r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(HOST_EXPORTS) \
7941 (cd $(HOST_SUBDIR)/dejagnu && \
7942 $(MAKE) $(FLAGS_TO_PASS) check)
7944 @endif dejagnu
7946 .PHONY: install-dejagnu maybe-install-dejagnu
7947 maybe-install-dejagnu:
7948 @if dejagnu
7949 maybe-install-dejagnu: install-dejagnu
7951 install-dejagnu: installdirs
7952 @: $(MAKE); $(unstage)
7953 @r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 $(HOST_EXPORTS) \
7956 (cd $(HOST_SUBDIR)/dejagnu && \
7957 $(MAKE) $(FLAGS_TO_PASS) install)
7959 @endif dejagnu
7961 # Other targets (info, dvi, pdf, etc.)
7963 .PHONY: maybe-info-dejagnu info-dejagnu
7964 maybe-info-dejagnu:
7965 @if dejagnu
7966 maybe-info-dejagnu: info-dejagnu
7968 info-dejagnu: \
7969 configure-dejagnu
7970 @: $(MAKE); $(unstage)
7971 @[ -f ./dejagnu/Makefile ] || exit 0; \
7972 r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7974 $(HOST_EXPORTS) \
7975 for flag in $(EXTRA_HOST_FLAGS) ; do \
7976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7977 done; \
7978 echo "Doing info in dejagnu" ; \
7979 (cd $(HOST_SUBDIR)/dejagnu && \
7980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7982 "RANLIB=$${RANLIB}" \
7983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7984 info) \
7985 || exit 1
7987 @endif dejagnu
7989 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7990 maybe-dvi-dejagnu:
7991 @if dejagnu
7992 maybe-dvi-dejagnu: dvi-dejagnu
7994 dvi-dejagnu: \
7995 configure-dejagnu
7996 @: $(MAKE); $(unstage)
7997 @[ -f ./dejagnu/Makefile ] || exit 0; \
7998 r=`${PWD_COMMAND}`; export r; \
7999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8000 $(HOST_EXPORTS) \
8001 for flag in $(EXTRA_HOST_FLAGS) ; do \
8002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8003 done; \
8004 echo "Doing dvi in dejagnu" ; \
8005 (cd $(HOST_SUBDIR)/dejagnu && \
8006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8008 "RANLIB=$${RANLIB}" \
8009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8010 dvi) \
8011 || exit 1
8013 @endif dejagnu
8015 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8016 maybe-pdf-dejagnu:
8017 @if dejagnu
8018 maybe-pdf-dejagnu: pdf-dejagnu
8020 pdf-dejagnu: \
8021 configure-dejagnu
8022 @: $(MAKE); $(unstage)
8023 @[ -f ./dejagnu/Makefile ] || exit 0; \
8024 r=`${PWD_COMMAND}`; export r; \
8025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8026 $(HOST_EXPORTS) \
8027 for flag in $(EXTRA_HOST_FLAGS) ; do \
8028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8029 done; \
8030 echo "Doing pdf in dejagnu" ; \
8031 (cd $(HOST_SUBDIR)/dejagnu && \
8032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8034 "RANLIB=$${RANLIB}" \
8035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8036 pdf) \
8037 || exit 1
8039 @endif dejagnu
8041 .PHONY: maybe-html-dejagnu html-dejagnu
8042 maybe-html-dejagnu:
8043 @if dejagnu
8044 maybe-html-dejagnu: html-dejagnu
8046 html-dejagnu: \
8047 configure-dejagnu
8048 @: $(MAKE); $(unstage)
8049 @[ -f ./dejagnu/Makefile ] || exit 0; \
8050 r=`${PWD_COMMAND}`; export r; \
8051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8052 $(HOST_EXPORTS) \
8053 for flag in $(EXTRA_HOST_FLAGS) ; do \
8054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8055 done; \
8056 echo "Doing html in dejagnu" ; \
8057 (cd $(HOST_SUBDIR)/dejagnu && \
8058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8060 "RANLIB=$${RANLIB}" \
8061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8062 html) \
8063 || exit 1
8065 @endif dejagnu
8067 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8068 maybe-TAGS-dejagnu:
8069 @if dejagnu
8070 maybe-TAGS-dejagnu: TAGS-dejagnu
8072 TAGS-dejagnu: \
8073 configure-dejagnu
8074 @: $(MAKE); $(unstage)
8075 @[ -f ./dejagnu/Makefile ] || exit 0; \
8076 r=`${PWD_COMMAND}`; export r; \
8077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8078 $(HOST_EXPORTS) \
8079 for flag in $(EXTRA_HOST_FLAGS) ; do \
8080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8081 done; \
8082 echo "Doing TAGS in dejagnu" ; \
8083 (cd $(HOST_SUBDIR)/dejagnu && \
8084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8086 "RANLIB=$${RANLIB}" \
8087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8088 TAGS) \
8089 || exit 1
8091 @endif dejagnu
8093 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8094 maybe-install-info-dejagnu:
8095 @if dejagnu
8096 maybe-install-info-dejagnu: install-info-dejagnu
8098 install-info-dejagnu: \
8099 configure-dejagnu \
8100 info-dejagnu
8101 @: $(MAKE); $(unstage)
8102 @[ -f ./dejagnu/Makefile ] || exit 0; \
8103 r=`${PWD_COMMAND}`; export r; \
8104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8105 $(HOST_EXPORTS) \
8106 for flag in $(EXTRA_HOST_FLAGS) ; do \
8107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8108 done; \
8109 echo "Doing install-info in dejagnu" ; \
8110 (cd $(HOST_SUBDIR)/dejagnu && \
8111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8113 "RANLIB=$${RANLIB}" \
8114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8115 install-info) \
8116 || exit 1
8118 @endif dejagnu
8120 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8121 maybe-install-html-dejagnu:
8122 @if dejagnu
8123 maybe-install-html-dejagnu: install-html-dejagnu
8125 install-html-dejagnu: \
8126 configure-dejagnu \
8127 html-dejagnu
8128 @: $(MAKE); $(unstage)
8129 @[ -f ./dejagnu/Makefile ] || exit 0; \
8130 r=`${PWD_COMMAND}`; export r; \
8131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8132 $(HOST_EXPORTS) \
8133 for flag in $(EXTRA_HOST_FLAGS) ; do \
8134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8135 done; \
8136 echo "Doing install-html in dejagnu" ; \
8137 (cd $(HOST_SUBDIR)/dejagnu && \
8138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8140 "RANLIB=$${RANLIB}" \
8141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8142 install-html) \
8143 || exit 1
8145 @endif dejagnu
8147 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8148 maybe-installcheck-dejagnu:
8149 @if dejagnu
8150 maybe-installcheck-dejagnu: installcheck-dejagnu
8152 installcheck-dejagnu: \
8153 configure-dejagnu
8154 @: $(MAKE); $(unstage)
8155 @[ -f ./dejagnu/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(HOST_EXPORTS) \
8159 for flag in $(EXTRA_HOST_FLAGS) ; do \
8160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8161 done; \
8162 echo "Doing installcheck in dejagnu" ; \
8163 (cd $(HOST_SUBDIR)/dejagnu && \
8164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8166 "RANLIB=$${RANLIB}" \
8167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8168 installcheck) \
8169 || exit 1
8171 @endif dejagnu
8173 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8174 maybe-mostlyclean-dejagnu:
8175 @if dejagnu
8176 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8178 mostlyclean-dejagnu:
8179 @: $(MAKE); $(unstage)
8180 @[ -f ./dejagnu/Makefile ] || exit 0; \
8181 r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 $(HOST_EXPORTS) \
8184 for flag in $(EXTRA_HOST_FLAGS) ; do \
8185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8186 done; \
8187 echo "Doing mostlyclean in dejagnu" ; \
8188 (cd $(HOST_SUBDIR)/dejagnu && \
8189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8191 "RANLIB=$${RANLIB}" \
8192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8193 mostlyclean) \
8194 || exit 1
8196 @endif dejagnu
8198 .PHONY: maybe-clean-dejagnu clean-dejagnu
8199 maybe-clean-dejagnu:
8200 @if dejagnu
8201 maybe-clean-dejagnu: clean-dejagnu
8203 clean-dejagnu:
8204 @: $(MAKE); $(unstage)
8205 @[ -f ./dejagnu/Makefile ] || exit 0; \
8206 r=`${PWD_COMMAND}`; export r; \
8207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8208 $(HOST_EXPORTS) \
8209 for flag in $(EXTRA_HOST_FLAGS) ; do \
8210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8211 done; \
8212 echo "Doing clean in dejagnu" ; \
8213 (cd $(HOST_SUBDIR)/dejagnu && \
8214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8216 "RANLIB=$${RANLIB}" \
8217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8218 clean) \
8219 || exit 1
8221 @endif dejagnu
8223 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8224 maybe-distclean-dejagnu:
8225 @if dejagnu
8226 maybe-distclean-dejagnu: distclean-dejagnu
8228 distclean-dejagnu:
8229 @: $(MAKE); $(unstage)
8230 @[ -f ./dejagnu/Makefile ] || exit 0; \
8231 r=`${PWD_COMMAND}`; export r; \
8232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8233 $(HOST_EXPORTS) \
8234 for flag in $(EXTRA_HOST_FLAGS) ; do \
8235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8236 done; \
8237 echo "Doing distclean in dejagnu" ; \
8238 (cd $(HOST_SUBDIR)/dejagnu && \
8239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8241 "RANLIB=$${RANLIB}" \
8242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8243 distclean) \
8244 || exit 1
8246 @endif dejagnu
8248 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8249 maybe-maintainer-clean-dejagnu:
8250 @if dejagnu
8251 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8253 maintainer-clean-dejagnu:
8254 @: $(MAKE); $(unstage)
8255 @[ -f ./dejagnu/Makefile ] || exit 0; \
8256 r=`${PWD_COMMAND}`; export r; \
8257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8258 $(HOST_EXPORTS) \
8259 for flag in $(EXTRA_HOST_FLAGS) ; do \
8260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8261 done; \
8262 echo "Doing maintainer-clean in dejagnu" ; \
8263 (cd $(HOST_SUBDIR)/dejagnu && \
8264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8266 "RANLIB=$${RANLIB}" \
8267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8268 maintainer-clean) \
8269 || exit 1
8271 @endif dejagnu
8275 .PHONY: configure-diff maybe-configure-diff
8276 maybe-configure-diff:
8277 @if gcc-bootstrap
8278 configure-diff: stage_current
8279 @endif gcc-bootstrap
8280 @if diff
8281 maybe-configure-diff: configure-diff
8282 configure-diff:
8283 @: $(MAKE); $(unstage)
8284 @r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8288 $(HOST_EXPORTS) \
8289 echo Configuring in $(HOST_SUBDIR)/diff; \
8290 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8291 case $(srcdir) in \
8292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8293 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8295 esac; \
8296 srcdiroption="--srcdir=$${topdir}/diff"; \
8297 libsrcdir="$$s/diff"; \
8298 $(SHELL) $${libsrcdir}/configure \
8299 $(HOST_CONFIGARGS) $${srcdiroption} \
8300 || exit 1
8301 @endif diff
8307 .PHONY: all-diff maybe-all-diff
8308 maybe-all-diff:
8309 @if gcc-bootstrap
8310 all-diff: stage_current
8311 @endif gcc-bootstrap
8312 @if diff
8313 TARGET-diff=all
8314 maybe-all-diff: all-diff
8315 all-diff: configure-diff
8316 @: $(MAKE); $(unstage)
8317 @r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(HOST_EXPORTS) \
8320 (cd $(HOST_SUBDIR)/diff && \
8321 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8322 @endif diff
8327 .PHONY: check-diff maybe-check-diff
8328 maybe-check-diff:
8329 @if diff
8330 maybe-check-diff: check-diff
8332 check-diff:
8333 @: $(MAKE); $(unstage)
8334 @r=`${PWD_COMMAND}`; export r; \
8335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8336 $(HOST_EXPORTS) \
8337 (cd $(HOST_SUBDIR)/diff && \
8338 $(MAKE) $(FLAGS_TO_PASS) check)
8340 @endif diff
8342 .PHONY: install-diff maybe-install-diff
8343 maybe-install-diff:
8344 @if diff
8345 maybe-install-diff: install-diff
8347 install-diff: installdirs
8348 @: $(MAKE); $(unstage)
8349 @r=`${PWD_COMMAND}`; export r; \
8350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8351 $(HOST_EXPORTS) \
8352 (cd $(HOST_SUBDIR)/diff && \
8353 $(MAKE) $(FLAGS_TO_PASS) install)
8355 @endif diff
8357 # Other targets (info, dvi, pdf, etc.)
8359 .PHONY: maybe-info-diff info-diff
8360 maybe-info-diff:
8361 @if diff
8362 maybe-info-diff: info-diff
8364 info-diff: \
8365 configure-diff
8366 @: $(MAKE); $(unstage)
8367 @[ -f ./diff/Makefile ] || exit 0; \
8368 r=`${PWD_COMMAND}`; export r; \
8369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8370 $(HOST_EXPORTS) \
8371 for flag in $(EXTRA_HOST_FLAGS) ; do \
8372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8373 done; \
8374 echo "Doing info in diff" ; \
8375 (cd $(HOST_SUBDIR)/diff && \
8376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8378 "RANLIB=$${RANLIB}" \
8379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8380 info) \
8381 || exit 1
8383 @endif diff
8385 .PHONY: maybe-dvi-diff dvi-diff
8386 maybe-dvi-diff:
8387 @if diff
8388 maybe-dvi-diff: dvi-diff
8390 dvi-diff: \
8391 configure-diff
8392 @: $(MAKE); $(unstage)
8393 @[ -f ./diff/Makefile ] || exit 0; \
8394 r=`${PWD_COMMAND}`; export r; \
8395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8396 $(HOST_EXPORTS) \
8397 for flag in $(EXTRA_HOST_FLAGS) ; do \
8398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8399 done; \
8400 echo "Doing dvi in diff" ; \
8401 (cd $(HOST_SUBDIR)/diff && \
8402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8404 "RANLIB=$${RANLIB}" \
8405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8406 dvi) \
8407 || exit 1
8409 @endif diff
8411 .PHONY: maybe-pdf-diff pdf-diff
8412 maybe-pdf-diff:
8413 @if diff
8414 maybe-pdf-diff: pdf-diff
8416 pdf-diff: \
8417 configure-diff
8418 @: $(MAKE); $(unstage)
8419 @[ -f ./diff/Makefile ] || exit 0; \
8420 r=`${PWD_COMMAND}`; export r; \
8421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8422 $(HOST_EXPORTS) \
8423 for flag in $(EXTRA_HOST_FLAGS) ; do \
8424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8425 done; \
8426 echo "Doing pdf in diff" ; \
8427 (cd $(HOST_SUBDIR)/diff && \
8428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8430 "RANLIB=$${RANLIB}" \
8431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8432 pdf) \
8433 || exit 1
8435 @endif diff
8437 .PHONY: maybe-html-diff html-diff
8438 maybe-html-diff:
8439 @if diff
8440 maybe-html-diff: html-diff
8442 html-diff: \
8443 configure-diff
8444 @: $(MAKE); $(unstage)
8445 @[ -f ./diff/Makefile ] || exit 0; \
8446 r=`${PWD_COMMAND}`; export r; \
8447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8448 $(HOST_EXPORTS) \
8449 for flag in $(EXTRA_HOST_FLAGS) ; do \
8450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8451 done; \
8452 echo "Doing html in diff" ; \
8453 (cd $(HOST_SUBDIR)/diff && \
8454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8456 "RANLIB=$${RANLIB}" \
8457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8458 html) \
8459 || exit 1
8461 @endif diff
8463 .PHONY: maybe-TAGS-diff TAGS-diff
8464 maybe-TAGS-diff:
8465 @if diff
8466 maybe-TAGS-diff: TAGS-diff
8468 TAGS-diff: \
8469 configure-diff
8470 @: $(MAKE); $(unstage)
8471 @[ -f ./diff/Makefile ] || exit 0; \
8472 r=`${PWD_COMMAND}`; export r; \
8473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8474 $(HOST_EXPORTS) \
8475 for flag in $(EXTRA_HOST_FLAGS) ; do \
8476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8477 done; \
8478 echo "Doing TAGS in diff" ; \
8479 (cd $(HOST_SUBDIR)/diff && \
8480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8482 "RANLIB=$${RANLIB}" \
8483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8484 TAGS) \
8485 || exit 1
8487 @endif diff
8489 .PHONY: maybe-install-info-diff install-info-diff
8490 maybe-install-info-diff:
8491 @if diff
8492 maybe-install-info-diff: install-info-diff
8494 install-info-diff: \
8495 configure-diff \
8496 info-diff
8497 @: $(MAKE); $(unstage)
8498 @[ -f ./diff/Makefile ] || exit 0; \
8499 r=`${PWD_COMMAND}`; export r; \
8500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8501 $(HOST_EXPORTS) \
8502 for flag in $(EXTRA_HOST_FLAGS) ; do \
8503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8504 done; \
8505 echo "Doing install-info in diff" ; \
8506 (cd $(HOST_SUBDIR)/diff && \
8507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8509 "RANLIB=$${RANLIB}" \
8510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8511 install-info) \
8512 || exit 1
8514 @endif diff
8516 .PHONY: maybe-install-html-diff install-html-diff
8517 maybe-install-html-diff:
8518 @if diff
8519 maybe-install-html-diff: install-html-diff
8521 install-html-diff: \
8522 configure-diff \
8523 html-diff
8524 @: $(MAKE); $(unstage)
8525 @[ -f ./diff/Makefile ] || exit 0; \
8526 r=`${PWD_COMMAND}`; export r; \
8527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8528 $(HOST_EXPORTS) \
8529 for flag in $(EXTRA_HOST_FLAGS) ; do \
8530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8531 done; \
8532 echo "Doing install-html in diff" ; \
8533 (cd $(HOST_SUBDIR)/diff && \
8534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8536 "RANLIB=$${RANLIB}" \
8537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8538 install-html) \
8539 || exit 1
8541 @endif diff
8543 .PHONY: maybe-installcheck-diff installcheck-diff
8544 maybe-installcheck-diff:
8545 @if diff
8546 maybe-installcheck-diff: installcheck-diff
8548 installcheck-diff: \
8549 configure-diff
8550 @: $(MAKE); $(unstage)
8551 @[ -f ./diff/Makefile ] || exit 0; \
8552 r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8554 $(HOST_EXPORTS) \
8555 for flag in $(EXTRA_HOST_FLAGS) ; do \
8556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8557 done; \
8558 echo "Doing installcheck in diff" ; \
8559 (cd $(HOST_SUBDIR)/diff && \
8560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562 "RANLIB=$${RANLIB}" \
8563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8564 installcheck) \
8565 || exit 1
8567 @endif diff
8569 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8570 maybe-mostlyclean-diff:
8571 @if diff
8572 maybe-mostlyclean-diff: mostlyclean-diff
8574 mostlyclean-diff:
8575 @: $(MAKE); $(unstage)
8576 @[ -f ./diff/Makefile ] || exit 0; \
8577 r=`${PWD_COMMAND}`; export r; \
8578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8579 $(HOST_EXPORTS) \
8580 for flag in $(EXTRA_HOST_FLAGS) ; do \
8581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8582 done; \
8583 echo "Doing mostlyclean in diff" ; \
8584 (cd $(HOST_SUBDIR)/diff && \
8585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8587 "RANLIB=$${RANLIB}" \
8588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8589 mostlyclean) \
8590 || exit 1
8592 @endif diff
8594 .PHONY: maybe-clean-diff clean-diff
8595 maybe-clean-diff:
8596 @if diff
8597 maybe-clean-diff: clean-diff
8599 clean-diff:
8600 @: $(MAKE); $(unstage)
8601 @[ -f ./diff/Makefile ] || exit 0; \
8602 r=`${PWD_COMMAND}`; export r; \
8603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8604 $(HOST_EXPORTS) \
8605 for flag in $(EXTRA_HOST_FLAGS) ; do \
8606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8607 done; \
8608 echo "Doing clean in diff" ; \
8609 (cd $(HOST_SUBDIR)/diff && \
8610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8612 "RANLIB=$${RANLIB}" \
8613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8614 clean) \
8615 || exit 1
8617 @endif diff
8619 .PHONY: maybe-distclean-diff distclean-diff
8620 maybe-distclean-diff:
8621 @if diff
8622 maybe-distclean-diff: distclean-diff
8624 distclean-diff:
8625 @: $(MAKE); $(unstage)
8626 @[ -f ./diff/Makefile ] || exit 0; \
8627 r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 $(HOST_EXPORTS) \
8630 for flag in $(EXTRA_HOST_FLAGS) ; do \
8631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8632 done; \
8633 echo "Doing distclean in diff" ; \
8634 (cd $(HOST_SUBDIR)/diff && \
8635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8637 "RANLIB=$${RANLIB}" \
8638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8639 distclean) \
8640 || exit 1
8642 @endif diff
8644 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8645 maybe-maintainer-clean-diff:
8646 @if diff
8647 maybe-maintainer-clean-diff: maintainer-clean-diff
8649 maintainer-clean-diff:
8650 @: $(MAKE); $(unstage)
8651 @[ -f ./diff/Makefile ] || exit 0; \
8652 r=`${PWD_COMMAND}`; export r; \
8653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8654 $(HOST_EXPORTS) \
8655 for flag in $(EXTRA_HOST_FLAGS) ; do \
8656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8657 done; \
8658 echo "Doing maintainer-clean in diff" ; \
8659 (cd $(HOST_SUBDIR)/diff && \
8660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8662 "RANLIB=$${RANLIB}" \
8663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8664 maintainer-clean) \
8665 || exit 1
8667 @endif diff
8671 .PHONY: configure-dosutils maybe-configure-dosutils
8672 maybe-configure-dosutils:
8673 @if gcc-bootstrap
8674 configure-dosutils: stage_current
8675 @endif gcc-bootstrap
8676 @if dosutils
8677 maybe-configure-dosutils: configure-dosutils
8678 configure-dosutils:
8679 @: $(MAKE); $(unstage)
8680 @r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8684 $(HOST_EXPORTS) \
8685 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8686 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8687 case $(srcdir) in \
8688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8689 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8691 esac; \
8692 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8693 libsrcdir="$$s/dosutils"; \
8694 $(SHELL) $${libsrcdir}/configure \
8695 $(HOST_CONFIGARGS) $${srcdiroption} \
8696 || exit 1
8697 @endif dosutils
8703 .PHONY: all-dosutils maybe-all-dosutils
8704 maybe-all-dosutils:
8705 @if gcc-bootstrap
8706 all-dosutils: stage_current
8707 @endif gcc-bootstrap
8708 @if dosutils
8709 TARGET-dosutils=all
8710 maybe-all-dosutils: all-dosutils
8711 all-dosutils: configure-dosutils
8712 @: $(MAKE); $(unstage)
8713 @r=`${PWD_COMMAND}`; export r; \
8714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8715 $(HOST_EXPORTS) \
8716 (cd $(HOST_SUBDIR)/dosutils && \
8717 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8718 @endif dosutils
8723 .PHONY: check-dosutils maybe-check-dosutils
8724 maybe-check-dosutils:
8725 @if dosutils
8726 maybe-check-dosutils: check-dosutils
8728 check-dosutils:
8730 @endif dosutils
8732 .PHONY: install-dosutils maybe-install-dosutils
8733 maybe-install-dosutils:
8734 @if dosutils
8735 maybe-install-dosutils: install-dosutils
8737 install-dosutils: installdirs
8738 @: $(MAKE); $(unstage)
8739 @r=`${PWD_COMMAND}`; export r; \
8740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8741 $(HOST_EXPORTS) \
8742 (cd $(HOST_SUBDIR)/dosutils && \
8743 $(MAKE) $(FLAGS_TO_PASS) install)
8745 @endif dosutils
8747 # Other targets (info, dvi, pdf, etc.)
8749 .PHONY: maybe-info-dosutils info-dosutils
8750 maybe-info-dosutils:
8751 @if dosutils
8752 maybe-info-dosutils: info-dosutils
8754 info-dosutils: \
8755 configure-dosutils
8756 @: $(MAKE); $(unstage)
8757 @[ -f ./dosutils/Makefile ] || exit 0; \
8758 r=`${PWD_COMMAND}`; export r; \
8759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8760 $(HOST_EXPORTS) \
8761 for flag in $(EXTRA_HOST_FLAGS) ; do \
8762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8763 done; \
8764 echo "Doing info in dosutils" ; \
8765 (cd $(HOST_SUBDIR)/dosutils && \
8766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8768 "RANLIB=$${RANLIB}" \
8769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8770 info) \
8771 || exit 1
8773 @endif dosutils
8775 .PHONY: maybe-dvi-dosutils dvi-dosutils
8776 maybe-dvi-dosutils:
8777 @if dosutils
8778 maybe-dvi-dosutils: dvi-dosutils
8780 dvi-dosutils: \
8781 configure-dosutils
8782 @: $(MAKE); $(unstage)
8783 @[ -f ./dosutils/Makefile ] || exit 0; \
8784 r=`${PWD_COMMAND}`; export r; \
8785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8786 $(HOST_EXPORTS) \
8787 for flag in $(EXTRA_HOST_FLAGS) ; do \
8788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8789 done; \
8790 echo "Doing dvi in dosutils" ; \
8791 (cd $(HOST_SUBDIR)/dosutils && \
8792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8794 "RANLIB=$${RANLIB}" \
8795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8796 dvi) \
8797 || exit 1
8799 @endif dosutils
8801 .PHONY: maybe-pdf-dosutils pdf-dosutils
8802 maybe-pdf-dosutils:
8803 @if dosutils
8804 maybe-pdf-dosutils: pdf-dosutils
8806 pdf-dosutils: \
8807 configure-dosutils
8808 @: $(MAKE); $(unstage)
8809 @[ -f ./dosutils/Makefile ] || exit 0; \
8810 r=`${PWD_COMMAND}`; export r; \
8811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8812 $(HOST_EXPORTS) \
8813 for flag in $(EXTRA_HOST_FLAGS) ; do \
8814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8815 done; \
8816 echo "Doing pdf in dosutils" ; \
8817 (cd $(HOST_SUBDIR)/dosutils && \
8818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8820 "RANLIB=$${RANLIB}" \
8821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8822 pdf) \
8823 || exit 1
8825 @endif dosutils
8827 .PHONY: maybe-html-dosutils html-dosutils
8828 maybe-html-dosutils:
8829 @if dosutils
8830 maybe-html-dosutils: html-dosutils
8832 html-dosutils: \
8833 configure-dosutils
8834 @: $(MAKE); $(unstage)
8835 @[ -f ./dosutils/Makefile ] || exit 0; \
8836 r=`${PWD_COMMAND}`; export r; \
8837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8838 $(HOST_EXPORTS) \
8839 for flag in $(EXTRA_HOST_FLAGS) ; do \
8840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8841 done; \
8842 echo "Doing html in dosutils" ; \
8843 (cd $(HOST_SUBDIR)/dosutils && \
8844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8846 "RANLIB=$${RANLIB}" \
8847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8848 html) \
8849 || exit 1
8851 @endif dosutils
8853 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8854 maybe-TAGS-dosutils:
8855 @if dosutils
8856 maybe-TAGS-dosutils: TAGS-dosutils
8858 TAGS-dosutils: \
8859 configure-dosutils
8860 @: $(MAKE); $(unstage)
8861 @[ -f ./dosutils/Makefile ] || exit 0; \
8862 r=`${PWD_COMMAND}`; export r; \
8863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864 $(HOST_EXPORTS) \
8865 for flag in $(EXTRA_HOST_FLAGS) ; do \
8866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8867 done; \
8868 echo "Doing TAGS in dosutils" ; \
8869 (cd $(HOST_SUBDIR)/dosutils && \
8870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8872 "RANLIB=$${RANLIB}" \
8873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8874 TAGS) \
8875 || exit 1
8877 @endif dosutils
8879 .PHONY: maybe-install-info-dosutils install-info-dosutils
8880 maybe-install-info-dosutils:
8881 @if dosutils
8882 maybe-install-info-dosutils: install-info-dosutils
8884 install-info-dosutils: \
8885 configure-dosutils \
8886 info-dosutils
8887 @: $(MAKE); $(unstage)
8888 @[ -f ./dosutils/Makefile ] || exit 0; \
8889 r=`${PWD_COMMAND}`; export r; \
8890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8891 $(HOST_EXPORTS) \
8892 for flag in $(EXTRA_HOST_FLAGS) ; do \
8893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8894 done; \
8895 echo "Doing install-info in dosutils" ; \
8896 (cd $(HOST_SUBDIR)/dosutils && \
8897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8899 "RANLIB=$${RANLIB}" \
8900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8901 install-info) \
8902 || exit 1
8904 @endif dosutils
8906 .PHONY: maybe-install-html-dosutils install-html-dosutils
8907 maybe-install-html-dosutils:
8908 @if dosutils
8909 maybe-install-html-dosutils: install-html-dosutils
8911 install-html-dosutils: \
8912 configure-dosutils \
8913 html-dosutils
8914 @: $(MAKE); $(unstage)
8915 @[ -f ./dosutils/Makefile ] || exit 0; \
8916 r=`${PWD_COMMAND}`; export r; \
8917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8918 $(HOST_EXPORTS) \
8919 for flag in $(EXTRA_HOST_FLAGS) ; do \
8920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8921 done; \
8922 echo "Doing install-html in dosutils" ; \
8923 (cd $(HOST_SUBDIR)/dosutils && \
8924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8926 "RANLIB=$${RANLIB}" \
8927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8928 install-html) \
8929 || exit 1
8931 @endif dosutils
8933 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8934 maybe-installcheck-dosutils:
8935 @if dosutils
8936 maybe-installcheck-dosutils: installcheck-dosutils
8938 installcheck-dosutils: \
8939 configure-dosutils
8940 @: $(MAKE); $(unstage)
8941 @[ -f ./dosutils/Makefile ] || exit 0; \
8942 r=`${PWD_COMMAND}`; export r; \
8943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8944 $(HOST_EXPORTS) \
8945 for flag in $(EXTRA_HOST_FLAGS) ; do \
8946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8947 done; \
8948 echo "Doing installcheck in dosutils" ; \
8949 (cd $(HOST_SUBDIR)/dosutils && \
8950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8952 "RANLIB=$${RANLIB}" \
8953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8954 installcheck) \
8955 || exit 1
8957 @endif dosutils
8959 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8960 maybe-mostlyclean-dosutils:
8961 @if dosutils
8962 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8964 mostlyclean-dosutils:
8965 @: $(MAKE); $(unstage)
8966 @[ -f ./dosutils/Makefile ] || exit 0; \
8967 r=`${PWD_COMMAND}`; export r; \
8968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8969 $(HOST_EXPORTS) \
8970 for flag in $(EXTRA_HOST_FLAGS) ; do \
8971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8972 done; \
8973 echo "Doing mostlyclean in dosutils" ; \
8974 (cd $(HOST_SUBDIR)/dosutils && \
8975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8977 "RANLIB=$${RANLIB}" \
8978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8979 mostlyclean) \
8980 || exit 1
8982 @endif dosutils
8984 .PHONY: maybe-clean-dosutils clean-dosutils
8985 maybe-clean-dosutils:
8986 @if dosutils
8987 maybe-clean-dosutils: clean-dosutils
8989 clean-dosutils:
8990 @: $(MAKE); $(unstage)
8991 @[ -f ./dosutils/Makefile ] || exit 0; \
8992 r=`${PWD_COMMAND}`; export r; \
8993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8994 $(HOST_EXPORTS) \
8995 for flag in $(EXTRA_HOST_FLAGS) ; do \
8996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8997 done; \
8998 echo "Doing clean in dosutils" ; \
8999 (cd $(HOST_SUBDIR)/dosutils && \
9000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9002 "RANLIB=$${RANLIB}" \
9003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9004 clean) \
9005 || exit 1
9007 @endif dosutils
9009 .PHONY: maybe-distclean-dosutils distclean-dosutils
9010 maybe-distclean-dosutils:
9011 @if dosutils
9012 maybe-distclean-dosutils: distclean-dosutils
9014 distclean-dosutils:
9015 @: $(MAKE); $(unstage)
9016 @[ -f ./dosutils/Makefile ] || exit 0; \
9017 r=`${PWD_COMMAND}`; export r; \
9018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9019 $(HOST_EXPORTS) \
9020 for flag in $(EXTRA_HOST_FLAGS) ; do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing distclean in dosutils" ; \
9024 (cd $(HOST_SUBDIR)/dosutils && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9029 distclean) \
9030 || exit 1
9032 @endif dosutils
9034 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9035 maybe-maintainer-clean-dosutils:
9036 @if dosutils
9037 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9039 maintainer-clean-dosutils:
9040 @: $(MAKE); $(unstage)
9041 @[ -f ./dosutils/Makefile ] || exit 0; \
9042 r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9044 $(HOST_EXPORTS) \
9045 for flag in $(EXTRA_HOST_FLAGS) ; do \
9046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9047 done; \
9048 echo "Doing maintainer-clean in dosutils" ; \
9049 (cd $(HOST_SUBDIR)/dosutils && \
9050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9052 "RANLIB=$${RANLIB}" \
9053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9054 maintainer-clean) \
9055 || exit 1
9057 @endif dosutils
9061 .PHONY: configure-etc maybe-configure-etc
9062 maybe-configure-etc:
9063 @if gcc-bootstrap
9064 configure-etc: stage_current
9065 @endif gcc-bootstrap
9066 @if etc
9067 maybe-configure-etc: configure-etc
9068 configure-etc:
9069 @: $(MAKE); $(unstage)
9070 @r=`${PWD_COMMAND}`; export r; \
9071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9072 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9074 $(HOST_EXPORTS) \
9075 echo Configuring in $(HOST_SUBDIR)/etc; \
9076 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9077 case $(srcdir) in \
9078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9079 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9081 esac; \
9082 srcdiroption="--srcdir=$${topdir}/etc"; \
9083 libsrcdir="$$s/etc"; \
9084 $(SHELL) $${libsrcdir}/configure \
9085 $(HOST_CONFIGARGS) $${srcdiroption} \
9086 || exit 1
9087 @endif etc
9093 .PHONY: all-etc maybe-all-etc
9094 maybe-all-etc:
9095 @if gcc-bootstrap
9096 all-etc: stage_current
9097 @endif gcc-bootstrap
9098 @if etc
9099 TARGET-etc=all
9100 maybe-all-etc: all-etc
9101 all-etc: configure-etc
9102 @: $(MAKE); $(unstage)
9103 @r=`${PWD_COMMAND}`; export r; \
9104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105 $(HOST_EXPORTS) \
9106 (cd $(HOST_SUBDIR)/etc && \
9107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9108 @endif etc
9113 .PHONY: check-etc maybe-check-etc
9114 maybe-check-etc:
9115 @if etc
9116 maybe-check-etc: check-etc
9118 check-etc:
9119 @: $(MAKE); $(unstage)
9120 @r=`${PWD_COMMAND}`; export r; \
9121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9122 $(HOST_EXPORTS) \
9123 (cd $(HOST_SUBDIR)/etc && \
9124 $(MAKE) $(FLAGS_TO_PASS) check)
9126 @endif etc
9128 .PHONY: install-etc maybe-install-etc
9129 maybe-install-etc:
9130 @if etc
9131 maybe-install-etc: install-etc
9133 install-etc: installdirs
9134 @: $(MAKE); $(unstage)
9135 @r=`${PWD_COMMAND}`; export r; \
9136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9137 $(HOST_EXPORTS) \
9138 (cd $(HOST_SUBDIR)/etc && \
9139 $(MAKE) $(FLAGS_TO_PASS) install)
9141 @endif etc
9143 # Other targets (info, dvi, pdf, etc.)
9145 .PHONY: maybe-info-etc info-etc
9146 maybe-info-etc:
9147 @if etc
9148 maybe-info-etc: info-etc
9150 info-etc: \
9151 configure-etc
9152 @: $(MAKE); $(unstage)
9153 @[ -f ./etc/Makefile ] || exit 0; \
9154 r=`${PWD_COMMAND}`; export r; \
9155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9156 $(HOST_EXPORTS) \
9157 for flag in $(EXTRA_HOST_FLAGS) ; do \
9158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9159 done; \
9160 echo "Doing info in etc" ; \
9161 (cd $(HOST_SUBDIR)/etc && \
9162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9164 "RANLIB=$${RANLIB}" \
9165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9166 info) \
9167 || exit 1
9169 @endif etc
9171 .PHONY: maybe-dvi-etc dvi-etc
9172 maybe-dvi-etc:
9173 @if etc
9174 maybe-dvi-etc: dvi-etc
9176 dvi-etc: \
9177 configure-etc
9178 @: $(MAKE); $(unstage)
9179 @[ -f ./etc/Makefile ] || exit 0; \
9180 r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(HOST_EXPORTS) \
9183 for flag in $(EXTRA_HOST_FLAGS) ; do \
9184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9185 done; \
9186 echo "Doing dvi in etc" ; \
9187 (cd $(HOST_SUBDIR)/etc && \
9188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9190 "RANLIB=$${RANLIB}" \
9191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9192 dvi) \
9193 || exit 1
9195 @endif etc
9197 .PHONY: maybe-pdf-etc pdf-etc
9198 maybe-pdf-etc:
9199 @if etc
9200 maybe-pdf-etc: pdf-etc
9202 pdf-etc: \
9203 configure-etc
9204 @: $(MAKE); $(unstage)
9205 @[ -f ./etc/Makefile ] || exit 0; \
9206 r=`${PWD_COMMAND}`; export r; \
9207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9208 $(HOST_EXPORTS) \
9209 for flag in $(EXTRA_HOST_FLAGS) ; do \
9210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9211 done; \
9212 echo "Doing pdf in etc" ; \
9213 (cd $(HOST_SUBDIR)/etc && \
9214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9216 "RANLIB=$${RANLIB}" \
9217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9218 pdf) \
9219 || exit 1
9221 @endif etc
9223 .PHONY: maybe-html-etc html-etc
9224 maybe-html-etc:
9225 @if etc
9226 maybe-html-etc: html-etc
9228 html-etc: \
9229 configure-etc
9230 @: $(MAKE); $(unstage)
9231 @[ -f ./etc/Makefile ] || exit 0; \
9232 r=`${PWD_COMMAND}`; export r; \
9233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9234 $(HOST_EXPORTS) \
9235 for flag in $(EXTRA_HOST_FLAGS) ; do \
9236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9237 done; \
9238 echo "Doing html in etc" ; \
9239 (cd $(HOST_SUBDIR)/etc && \
9240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9242 "RANLIB=$${RANLIB}" \
9243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9244 html) \
9245 || exit 1
9247 @endif etc
9249 .PHONY: maybe-TAGS-etc TAGS-etc
9250 maybe-TAGS-etc:
9251 @if etc
9252 maybe-TAGS-etc: TAGS-etc
9254 TAGS-etc: \
9255 configure-etc
9256 @: $(MAKE); $(unstage)
9257 @[ -f ./etc/Makefile ] || exit 0; \
9258 r=`${PWD_COMMAND}`; export r; \
9259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9260 $(HOST_EXPORTS) \
9261 for flag in $(EXTRA_HOST_FLAGS) ; do \
9262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9263 done; \
9264 echo "Doing TAGS in etc" ; \
9265 (cd $(HOST_SUBDIR)/etc && \
9266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9268 "RANLIB=$${RANLIB}" \
9269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9270 TAGS) \
9271 || exit 1
9273 @endif etc
9275 .PHONY: maybe-install-info-etc install-info-etc
9276 maybe-install-info-etc:
9277 @if etc
9278 maybe-install-info-etc: install-info-etc
9280 install-info-etc: \
9281 configure-etc \
9282 info-etc
9283 @: $(MAKE); $(unstage)
9284 @[ -f ./etc/Makefile ] || exit 0; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 $(HOST_EXPORTS) \
9288 for flag in $(EXTRA_HOST_FLAGS) ; do \
9289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9290 done; \
9291 echo "Doing install-info in etc" ; \
9292 (cd $(HOST_SUBDIR)/etc && \
9293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9295 "RANLIB=$${RANLIB}" \
9296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9297 install-info) \
9298 || exit 1
9300 @endif etc
9302 .PHONY: maybe-install-html-etc install-html-etc
9303 maybe-install-html-etc:
9304 @if etc
9305 maybe-install-html-etc: install-html-etc
9307 install-html-etc: \
9308 configure-etc \
9309 html-etc
9310 @: $(MAKE); $(unstage)
9311 @[ -f ./etc/Makefile ] || exit 0; \
9312 r=`${PWD_COMMAND}`; export r; \
9313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9314 $(HOST_EXPORTS) \
9315 for flag in $(EXTRA_HOST_FLAGS) ; do \
9316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9317 done; \
9318 echo "Doing install-html in etc" ; \
9319 (cd $(HOST_SUBDIR)/etc && \
9320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9322 "RANLIB=$${RANLIB}" \
9323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9324 install-html) \
9325 || exit 1
9327 @endif etc
9329 .PHONY: maybe-installcheck-etc installcheck-etc
9330 maybe-installcheck-etc:
9331 @if etc
9332 maybe-installcheck-etc: installcheck-etc
9334 installcheck-etc: \
9335 configure-etc
9336 @: $(MAKE); $(unstage)
9337 @[ -f ./etc/Makefile ] || exit 0; \
9338 r=`${PWD_COMMAND}`; export r; \
9339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9340 $(HOST_EXPORTS) \
9341 for flag in $(EXTRA_HOST_FLAGS) ; do \
9342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9343 done; \
9344 echo "Doing installcheck in etc" ; \
9345 (cd $(HOST_SUBDIR)/etc && \
9346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9348 "RANLIB=$${RANLIB}" \
9349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9350 installcheck) \
9351 || exit 1
9353 @endif etc
9355 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9356 maybe-mostlyclean-etc:
9357 @if etc
9358 maybe-mostlyclean-etc: mostlyclean-etc
9360 mostlyclean-etc:
9361 @: $(MAKE); $(unstage)
9362 @[ -f ./etc/Makefile ] || exit 0; \
9363 r=`${PWD_COMMAND}`; export r; \
9364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9365 $(HOST_EXPORTS) \
9366 for flag in $(EXTRA_HOST_FLAGS) ; do \
9367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9368 done; \
9369 echo "Doing mostlyclean in etc" ; \
9370 (cd $(HOST_SUBDIR)/etc && \
9371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9373 "RANLIB=$${RANLIB}" \
9374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9375 mostlyclean) \
9376 || exit 1
9378 @endif etc
9380 .PHONY: maybe-clean-etc clean-etc
9381 maybe-clean-etc:
9382 @if etc
9383 maybe-clean-etc: clean-etc
9385 clean-etc:
9386 @: $(MAKE); $(unstage)
9387 @[ -f ./etc/Makefile ] || exit 0; \
9388 r=`${PWD_COMMAND}`; export r; \
9389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9390 $(HOST_EXPORTS) \
9391 for flag in $(EXTRA_HOST_FLAGS) ; do \
9392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9393 done; \
9394 echo "Doing clean in etc" ; \
9395 (cd $(HOST_SUBDIR)/etc && \
9396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9398 "RANLIB=$${RANLIB}" \
9399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9400 clean) \
9401 || exit 1
9403 @endif etc
9405 .PHONY: maybe-distclean-etc distclean-etc
9406 maybe-distclean-etc:
9407 @if etc
9408 maybe-distclean-etc: distclean-etc
9410 distclean-etc:
9411 @: $(MAKE); $(unstage)
9412 @[ -f ./etc/Makefile ] || exit 0; \
9413 r=`${PWD_COMMAND}`; export r; \
9414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9415 $(HOST_EXPORTS) \
9416 for flag in $(EXTRA_HOST_FLAGS) ; do \
9417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9418 done; \
9419 echo "Doing distclean in etc" ; \
9420 (cd $(HOST_SUBDIR)/etc && \
9421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9423 "RANLIB=$${RANLIB}" \
9424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9425 distclean) \
9426 || exit 1
9428 @endif etc
9430 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9431 maybe-maintainer-clean-etc:
9432 @if etc
9433 maybe-maintainer-clean-etc: maintainer-clean-etc
9435 maintainer-clean-etc:
9436 @: $(MAKE); $(unstage)
9437 @[ -f ./etc/Makefile ] || exit 0; \
9438 r=`${PWD_COMMAND}`; export r; \
9439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9440 $(HOST_EXPORTS) \
9441 for flag in $(EXTRA_HOST_FLAGS) ; do \
9442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9443 done; \
9444 echo "Doing maintainer-clean in etc" ; \
9445 (cd $(HOST_SUBDIR)/etc && \
9446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9448 "RANLIB=$${RANLIB}" \
9449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9450 maintainer-clean) \
9451 || exit 1
9453 @endif etc
9457 .PHONY: configure-fastjar maybe-configure-fastjar
9458 maybe-configure-fastjar:
9459 @if gcc-bootstrap
9460 configure-fastjar: stage_current
9461 @endif gcc-bootstrap
9462 @if fastjar
9463 maybe-configure-fastjar: configure-fastjar
9464 configure-fastjar:
9465 @: $(MAKE); $(unstage)
9466 @r=`${PWD_COMMAND}`; export r; \
9467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9468 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9470 $(HOST_EXPORTS) \
9471 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9472 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9473 case $(srcdir) in \
9474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9475 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9477 esac; \
9478 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9479 libsrcdir="$$s/fastjar"; \
9480 $(SHELL) $${libsrcdir}/configure \
9481 $(HOST_CONFIGARGS) $${srcdiroption} \
9482 || exit 1
9483 @endif fastjar
9489 .PHONY: all-fastjar maybe-all-fastjar
9490 maybe-all-fastjar:
9491 @if gcc-bootstrap
9492 all-fastjar: stage_current
9493 @endif gcc-bootstrap
9494 @if fastjar
9495 TARGET-fastjar=all
9496 maybe-all-fastjar: all-fastjar
9497 all-fastjar: configure-fastjar
9498 @: $(MAKE); $(unstage)
9499 @r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 $(HOST_EXPORTS) \
9502 (cd $(HOST_SUBDIR)/fastjar && \
9503 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9504 @endif fastjar
9509 .PHONY: check-fastjar maybe-check-fastjar
9510 maybe-check-fastjar:
9511 @if fastjar
9512 maybe-check-fastjar: check-fastjar
9514 # This module is only tested in a native toolchain.
9515 check-fastjar:
9516 @: $(MAKE); $(unstage)
9517 @if [ '$(host)' = '$(target)' ] ; then \
9518 r=`${PWD_COMMAND}`; export r; \
9519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9520 $(HOST_EXPORTS) \
9521 (cd $(HOST_SUBDIR)/fastjar && \
9522 $(MAKE) $(FLAGS_TO_PASS) check); \
9525 @endif fastjar
9527 .PHONY: install-fastjar maybe-install-fastjar
9528 maybe-install-fastjar:
9529 @if fastjar
9530 maybe-install-fastjar: install-fastjar
9532 install-fastjar: installdirs
9533 @: $(MAKE); $(unstage)
9534 @r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536 $(HOST_EXPORTS) \
9537 (cd $(HOST_SUBDIR)/fastjar && \
9538 $(MAKE) $(FLAGS_TO_PASS) install)
9540 @endif fastjar
9542 # Other targets (info, dvi, pdf, etc.)
9544 .PHONY: maybe-info-fastjar info-fastjar
9545 maybe-info-fastjar:
9546 @if fastjar
9547 maybe-info-fastjar: info-fastjar
9549 info-fastjar: \
9550 configure-fastjar
9551 @: $(MAKE); $(unstage)
9552 @[ -f ./fastjar/Makefile ] || exit 0; \
9553 r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9555 $(HOST_EXPORTS) \
9556 for flag in $(EXTRA_HOST_FLAGS) ; do \
9557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9558 done; \
9559 echo "Doing info in fastjar" ; \
9560 (cd $(HOST_SUBDIR)/fastjar && \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563 "RANLIB=$${RANLIB}" \
9564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9565 info) \
9566 || exit 1
9568 @endif fastjar
9570 .PHONY: maybe-dvi-fastjar dvi-fastjar
9571 maybe-dvi-fastjar:
9572 @if fastjar
9573 maybe-dvi-fastjar: dvi-fastjar
9575 dvi-fastjar: \
9576 configure-fastjar
9577 @: $(MAKE); $(unstage)
9578 @[ -f ./fastjar/Makefile ] || exit 0; \
9579 r=`${PWD_COMMAND}`; export r; \
9580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9581 $(HOST_EXPORTS) \
9582 for flag in $(EXTRA_HOST_FLAGS) ; do \
9583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9584 done; \
9585 echo "Doing dvi in fastjar" ; \
9586 (cd $(HOST_SUBDIR)/fastjar && \
9587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589 "RANLIB=$${RANLIB}" \
9590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9591 dvi) \
9592 || exit 1
9594 @endif fastjar
9596 .PHONY: maybe-pdf-fastjar pdf-fastjar
9597 maybe-pdf-fastjar:
9598 @if fastjar
9599 maybe-pdf-fastjar: pdf-fastjar
9601 pdf-fastjar: \
9602 configure-fastjar
9603 @: $(MAKE); $(unstage)
9604 @[ -f ./fastjar/Makefile ] || exit 0; \
9605 r=`${PWD_COMMAND}`; export r; \
9606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9607 $(HOST_EXPORTS) \
9608 for flag in $(EXTRA_HOST_FLAGS) ; do \
9609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9610 done; \
9611 echo "Doing pdf in fastjar" ; \
9612 (cd $(HOST_SUBDIR)/fastjar && \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615 "RANLIB=$${RANLIB}" \
9616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9617 pdf) \
9618 || exit 1
9620 @endif fastjar
9622 .PHONY: maybe-html-fastjar html-fastjar
9623 maybe-html-fastjar:
9624 @if fastjar
9625 maybe-html-fastjar: html-fastjar
9627 html-fastjar: \
9628 configure-fastjar
9629 @: $(MAKE); $(unstage)
9630 @[ -f ./fastjar/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 $(HOST_EXPORTS) \
9634 for flag in $(EXTRA_HOST_FLAGS) ; do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636 done; \
9637 echo "Doing html in fastjar" ; \
9638 (cd $(HOST_SUBDIR)/fastjar && \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9643 html) \
9644 || exit 1
9646 @endif fastjar
9648 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9649 maybe-TAGS-fastjar:
9650 @if fastjar
9651 maybe-TAGS-fastjar: TAGS-fastjar
9653 TAGS-fastjar: \
9654 configure-fastjar
9655 @: $(MAKE); $(unstage)
9656 @[ -f ./fastjar/Makefile ] || exit 0; \
9657 r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659 $(HOST_EXPORTS) \
9660 for flag in $(EXTRA_HOST_FLAGS) ; do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662 done; \
9663 echo "Doing TAGS in fastjar" ; \
9664 (cd $(HOST_SUBDIR)/fastjar && \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9669 TAGS) \
9670 || exit 1
9672 @endif fastjar
9674 .PHONY: maybe-install-info-fastjar install-info-fastjar
9675 maybe-install-info-fastjar:
9676 @if fastjar
9677 maybe-install-info-fastjar: install-info-fastjar
9679 install-info-fastjar: \
9680 configure-fastjar \
9681 info-fastjar
9682 @: $(MAKE); $(unstage)
9683 @[ -f ./fastjar/Makefile ] || exit 0; \
9684 r=`${PWD_COMMAND}`; export r; \
9685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 $(HOST_EXPORTS) \
9687 for flag in $(EXTRA_HOST_FLAGS) ; do \
9688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689 done; \
9690 echo "Doing install-info in fastjar" ; \
9691 (cd $(HOST_SUBDIR)/fastjar && \
9692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9694 "RANLIB=$${RANLIB}" \
9695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9696 install-info) \
9697 || exit 1
9699 @endif fastjar
9701 .PHONY: maybe-install-html-fastjar install-html-fastjar
9702 maybe-install-html-fastjar:
9703 @if fastjar
9704 maybe-install-html-fastjar: install-html-fastjar
9706 install-html-fastjar: \
9707 configure-fastjar \
9708 html-fastjar
9709 @: $(MAKE); $(unstage)
9710 @[ -f ./fastjar/Makefile ] || exit 0; \
9711 r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 $(HOST_EXPORTS) \
9714 for flag in $(EXTRA_HOST_FLAGS) ; do \
9715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9716 done; \
9717 echo "Doing install-html in fastjar" ; \
9718 (cd $(HOST_SUBDIR)/fastjar && \
9719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9721 "RANLIB=$${RANLIB}" \
9722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9723 install-html) \
9724 || exit 1
9726 @endif fastjar
9728 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9729 maybe-installcheck-fastjar:
9730 @if fastjar
9731 maybe-installcheck-fastjar: installcheck-fastjar
9733 installcheck-fastjar: \
9734 configure-fastjar
9735 @: $(MAKE); $(unstage)
9736 @[ -f ./fastjar/Makefile ] || exit 0; \
9737 r=`${PWD_COMMAND}`; export r; \
9738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9739 $(HOST_EXPORTS) \
9740 for flag in $(EXTRA_HOST_FLAGS) ; do \
9741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9742 done; \
9743 echo "Doing installcheck in fastjar" ; \
9744 (cd $(HOST_SUBDIR)/fastjar && \
9745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9747 "RANLIB=$${RANLIB}" \
9748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9749 installcheck) \
9750 || exit 1
9752 @endif fastjar
9754 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9755 maybe-mostlyclean-fastjar:
9756 @if fastjar
9757 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9759 mostlyclean-fastjar:
9760 @: $(MAKE); $(unstage)
9761 @[ -f ./fastjar/Makefile ] || exit 0; \
9762 r=`${PWD_COMMAND}`; export r; \
9763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9764 $(HOST_EXPORTS) \
9765 for flag in $(EXTRA_HOST_FLAGS) ; do \
9766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9767 done; \
9768 echo "Doing mostlyclean in fastjar" ; \
9769 (cd $(HOST_SUBDIR)/fastjar && \
9770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9772 "RANLIB=$${RANLIB}" \
9773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9774 mostlyclean) \
9775 || exit 1
9777 @endif fastjar
9779 .PHONY: maybe-clean-fastjar clean-fastjar
9780 maybe-clean-fastjar:
9781 @if fastjar
9782 maybe-clean-fastjar: clean-fastjar
9784 clean-fastjar:
9785 @: $(MAKE); $(unstage)
9786 @[ -f ./fastjar/Makefile ] || exit 0; \
9787 r=`${PWD_COMMAND}`; export r; \
9788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9789 $(HOST_EXPORTS) \
9790 for flag in $(EXTRA_HOST_FLAGS) ; do \
9791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9792 done; \
9793 echo "Doing clean in fastjar" ; \
9794 (cd $(HOST_SUBDIR)/fastjar && \
9795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9797 "RANLIB=$${RANLIB}" \
9798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9799 clean) \
9800 || exit 1
9802 @endif fastjar
9804 .PHONY: maybe-distclean-fastjar distclean-fastjar
9805 maybe-distclean-fastjar:
9806 @if fastjar
9807 maybe-distclean-fastjar: distclean-fastjar
9809 distclean-fastjar:
9810 @: $(MAKE); $(unstage)
9811 @[ -f ./fastjar/Makefile ] || exit 0; \
9812 r=`${PWD_COMMAND}`; export r; \
9813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9814 $(HOST_EXPORTS) \
9815 for flag in $(EXTRA_HOST_FLAGS) ; do \
9816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9817 done; \
9818 echo "Doing distclean in fastjar" ; \
9819 (cd $(HOST_SUBDIR)/fastjar && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9822 "RANLIB=$${RANLIB}" \
9823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9824 distclean) \
9825 || exit 1
9827 @endif fastjar
9829 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9830 maybe-maintainer-clean-fastjar:
9831 @if fastjar
9832 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9834 maintainer-clean-fastjar:
9835 @: $(MAKE); $(unstage)
9836 @[ -f ./fastjar/Makefile ] || exit 0; \
9837 r=`${PWD_COMMAND}`; export r; \
9838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9839 $(HOST_EXPORTS) \
9840 for flag in $(EXTRA_HOST_FLAGS) ; do \
9841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9842 done; \
9843 echo "Doing maintainer-clean in fastjar" ; \
9844 (cd $(HOST_SUBDIR)/fastjar && \
9845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9847 "RANLIB=$${RANLIB}" \
9848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9849 maintainer-clean) \
9850 || exit 1
9852 @endif fastjar
9856 .PHONY: configure-fileutils maybe-configure-fileutils
9857 maybe-configure-fileutils:
9858 @if gcc-bootstrap
9859 configure-fileutils: stage_current
9860 @endif gcc-bootstrap
9861 @if fileutils
9862 maybe-configure-fileutils: configure-fileutils
9863 configure-fileutils:
9864 @: $(MAKE); $(unstage)
9865 @r=`${PWD_COMMAND}`; export r; \
9866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9867 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9869 $(HOST_EXPORTS) \
9870 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9871 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9872 case $(srcdir) in \
9873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9874 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9876 esac; \
9877 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9878 libsrcdir="$$s/fileutils"; \
9879 $(SHELL) $${libsrcdir}/configure \
9880 $(HOST_CONFIGARGS) $${srcdiroption} \
9881 || exit 1
9882 @endif fileutils
9888 .PHONY: all-fileutils maybe-all-fileutils
9889 maybe-all-fileutils:
9890 @if gcc-bootstrap
9891 all-fileutils: stage_current
9892 @endif gcc-bootstrap
9893 @if fileutils
9894 TARGET-fileutils=all
9895 maybe-all-fileutils: all-fileutils
9896 all-fileutils: configure-fileutils
9897 @: $(MAKE); $(unstage)
9898 @r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 $(HOST_EXPORTS) \
9901 (cd $(HOST_SUBDIR)/fileutils && \
9902 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9903 @endif fileutils
9908 .PHONY: check-fileutils maybe-check-fileutils
9909 maybe-check-fileutils:
9910 @if fileutils
9911 maybe-check-fileutils: check-fileutils
9913 check-fileutils:
9914 @: $(MAKE); $(unstage)
9915 @r=`${PWD_COMMAND}`; export r; \
9916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9917 $(HOST_EXPORTS) \
9918 (cd $(HOST_SUBDIR)/fileutils && \
9919 $(MAKE) $(FLAGS_TO_PASS) check)
9921 @endif fileutils
9923 .PHONY: install-fileutils maybe-install-fileutils
9924 maybe-install-fileutils:
9925 @if fileutils
9926 maybe-install-fileutils: install-fileutils
9928 install-fileutils: installdirs
9929 @: $(MAKE); $(unstage)
9930 @r=`${PWD_COMMAND}`; export r; \
9931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9932 $(HOST_EXPORTS) \
9933 (cd $(HOST_SUBDIR)/fileutils && \
9934 $(MAKE) $(FLAGS_TO_PASS) install)
9936 @endif fileutils
9938 # Other targets (info, dvi, pdf, etc.)
9940 .PHONY: maybe-info-fileutils info-fileutils
9941 maybe-info-fileutils:
9942 @if fileutils
9943 maybe-info-fileutils: info-fileutils
9945 info-fileutils: \
9946 configure-fileutils
9947 @: $(MAKE); $(unstage)
9948 @[ -f ./fileutils/Makefile ] || exit 0; \
9949 r=`${PWD_COMMAND}`; export r; \
9950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9951 $(HOST_EXPORTS) \
9952 for flag in $(EXTRA_HOST_FLAGS) ; do \
9953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9954 done; \
9955 echo "Doing info in fileutils" ; \
9956 (cd $(HOST_SUBDIR)/fileutils && \
9957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9959 "RANLIB=$${RANLIB}" \
9960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9961 info) \
9962 || exit 1
9964 @endif fileutils
9966 .PHONY: maybe-dvi-fileutils dvi-fileutils
9967 maybe-dvi-fileutils:
9968 @if fileutils
9969 maybe-dvi-fileutils: dvi-fileutils
9971 dvi-fileutils: \
9972 configure-fileutils
9973 @: $(MAKE); $(unstage)
9974 @[ -f ./fileutils/Makefile ] || exit 0; \
9975 r=`${PWD_COMMAND}`; export r; \
9976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9977 $(HOST_EXPORTS) \
9978 for flag in $(EXTRA_HOST_FLAGS) ; do \
9979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9980 done; \
9981 echo "Doing dvi in fileutils" ; \
9982 (cd $(HOST_SUBDIR)/fileutils && \
9983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9985 "RANLIB=$${RANLIB}" \
9986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9987 dvi) \
9988 || exit 1
9990 @endif fileutils
9992 .PHONY: maybe-pdf-fileutils pdf-fileutils
9993 maybe-pdf-fileutils:
9994 @if fileutils
9995 maybe-pdf-fileutils: pdf-fileutils
9997 pdf-fileutils: \
9998 configure-fileutils
9999 @: $(MAKE); $(unstage)
10000 @[ -f ./fileutils/Makefile ] || exit 0; \
10001 r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10003 $(HOST_EXPORTS) \
10004 for flag in $(EXTRA_HOST_FLAGS) ; do \
10005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10006 done; \
10007 echo "Doing pdf in fileutils" ; \
10008 (cd $(HOST_SUBDIR)/fileutils && \
10009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10011 "RANLIB=$${RANLIB}" \
10012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10013 pdf) \
10014 || exit 1
10016 @endif fileutils
10018 .PHONY: maybe-html-fileutils html-fileutils
10019 maybe-html-fileutils:
10020 @if fileutils
10021 maybe-html-fileutils: html-fileutils
10023 html-fileutils: \
10024 configure-fileutils
10025 @: $(MAKE); $(unstage)
10026 @[ -f ./fileutils/Makefile ] || exit 0; \
10027 r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10029 $(HOST_EXPORTS) \
10030 for flag in $(EXTRA_HOST_FLAGS) ; do \
10031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10032 done; \
10033 echo "Doing html in fileutils" ; \
10034 (cd $(HOST_SUBDIR)/fileutils && \
10035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10037 "RANLIB=$${RANLIB}" \
10038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10039 html) \
10040 || exit 1
10042 @endif fileutils
10044 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10045 maybe-TAGS-fileutils:
10046 @if fileutils
10047 maybe-TAGS-fileutils: TAGS-fileutils
10049 TAGS-fileutils: \
10050 configure-fileutils
10051 @: $(MAKE); $(unstage)
10052 @[ -f ./fileutils/Makefile ] || exit 0; \
10053 r=`${PWD_COMMAND}`; export r; \
10054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10055 $(HOST_EXPORTS) \
10056 for flag in $(EXTRA_HOST_FLAGS) ; do \
10057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10058 done; \
10059 echo "Doing TAGS in fileutils" ; \
10060 (cd $(HOST_SUBDIR)/fileutils && \
10061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10063 "RANLIB=$${RANLIB}" \
10064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10065 TAGS) \
10066 || exit 1
10068 @endif fileutils
10070 .PHONY: maybe-install-info-fileutils install-info-fileutils
10071 maybe-install-info-fileutils:
10072 @if fileutils
10073 maybe-install-info-fileutils: install-info-fileutils
10075 install-info-fileutils: \
10076 configure-fileutils \
10077 info-fileutils
10078 @: $(MAKE); $(unstage)
10079 @[ -f ./fileutils/Makefile ] || exit 0; \
10080 r=`${PWD_COMMAND}`; export r; \
10081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10082 $(HOST_EXPORTS) \
10083 for flag in $(EXTRA_HOST_FLAGS) ; do \
10084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10085 done; \
10086 echo "Doing install-info in fileutils" ; \
10087 (cd $(HOST_SUBDIR)/fileutils && \
10088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10090 "RANLIB=$${RANLIB}" \
10091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10092 install-info) \
10093 || exit 1
10095 @endif fileutils
10097 .PHONY: maybe-install-html-fileutils install-html-fileutils
10098 maybe-install-html-fileutils:
10099 @if fileutils
10100 maybe-install-html-fileutils: install-html-fileutils
10102 install-html-fileutils: \
10103 configure-fileutils \
10104 html-fileutils
10105 @: $(MAKE); $(unstage)
10106 @[ -f ./fileutils/Makefile ] || exit 0; \
10107 r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109 $(HOST_EXPORTS) \
10110 for flag in $(EXTRA_HOST_FLAGS) ; do \
10111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10112 done; \
10113 echo "Doing install-html in fileutils" ; \
10114 (cd $(HOST_SUBDIR)/fileutils && \
10115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10117 "RANLIB=$${RANLIB}" \
10118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10119 install-html) \
10120 || exit 1
10122 @endif fileutils
10124 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10125 maybe-installcheck-fileutils:
10126 @if fileutils
10127 maybe-installcheck-fileutils: installcheck-fileutils
10129 installcheck-fileutils: \
10130 configure-fileutils
10131 @: $(MAKE); $(unstage)
10132 @[ -f ./fileutils/Makefile ] || exit 0; \
10133 r=`${PWD_COMMAND}`; export r; \
10134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10135 $(HOST_EXPORTS) \
10136 for flag in $(EXTRA_HOST_FLAGS) ; do \
10137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10138 done; \
10139 echo "Doing installcheck in fileutils" ; \
10140 (cd $(HOST_SUBDIR)/fileutils && \
10141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10143 "RANLIB=$${RANLIB}" \
10144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10145 installcheck) \
10146 || exit 1
10148 @endif fileutils
10150 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10151 maybe-mostlyclean-fileutils:
10152 @if fileutils
10153 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10155 mostlyclean-fileutils:
10156 @: $(MAKE); $(unstage)
10157 @[ -f ./fileutils/Makefile ] || exit 0; \
10158 r=`${PWD_COMMAND}`; export r; \
10159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10160 $(HOST_EXPORTS) \
10161 for flag in $(EXTRA_HOST_FLAGS) ; do \
10162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10163 done; \
10164 echo "Doing mostlyclean in fileutils" ; \
10165 (cd $(HOST_SUBDIR)/fileutils && \
10166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10168 "RANLIB=$${RANLIB}" \
10169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10170 mostlyclean) \
10171 || exit 1
10173 @endif fileutils
10175 .PHONY: maybe-clean-fileutils clean-fileutils
10176 maybe-clean-fileutils:
10177 @if fileutils
10178 maybe-clean-fileutils: clean-fileutils
10180 clean-fileutils:
10181 @: $(MAKE); $(unstage)
10182 @[ -f ./fileutils/Makefile ] || exit 0; \
10183 r=`${PWD_COMMAND}`; export r; \
10184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10185 $(HOST_EXPORTS) \
10186 for flag in $(EXTRA_HOST_FLAGS) ; do \
10187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10188 done; \
10189 echo "Doing clean in fileutils" ; \
10190 (cd $(HOST_SUBDIR)/fileutils && \
10191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10193 "RANLIB=$${RANLIB}" \
10194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10195 clean) \
10196 || exit 1
10198 @endif fileutils
10200 .PHONY: maybe-distclean-fileutils distclean-fileutils
10201 maybe-distclean-fileutils:
10202 @if fileutils
10203 maybe-distclean-fileutils: distclean-fileutils
10205 distclean-fileutils:
10206 @: $(MAKE); $(unstage)
10207 @[ -f ./fileutils/Makefile ] || exit 0; \
10208 r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210 $(HOST_EXPORTS) \
10211 for flag in $(EXTRA_HOST_FLAGS) ; do \
10212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10213 done; \
10214 echo "Doing distclean in fileutils" ; \
10215 (cd $(HOST_SUBDIR)/fileutils && \
10216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10218 "RANLIB=$${RANLIB}" \
10219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10220 distclean) \
10221 || exit 1
10223 @endif fileutils
10225 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10226 maybe-maintainer-clean-fileutils:
10227 @if fileutils
10228 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10230 maintainer-clean-fileutils:
10231 @: $(MAKE); $(unstage)
10232 @[ -f ./fileutils/Makefile ] || exit 0; \
10233 r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 $(HOST_EXPORTS) \
10236 for flag in $(EXTRA_HOST_FLAGS) ; do \
10237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10238 done; \
10239 echo "Doing maintainer-clean in fileutils" ; \
10240 (cd $(HOST_SUBDIR)/fileutils && \
10241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10243 "RANLIB=$${RANLIB}" \
10244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10245 maintainer-clean) \
10246 || exit 1
10248 @endif fileutils
10252 .PHONY: configure-findutils maybe-configure-findutils
10253 maybe-configure-findutils:
10254 @if gcc-bootstrap
10255 configure-findutils: stage_current
10256 @endif gcc-bootstrap
10257 @if findutils
10258 maybe-configure-findutils: configure-findutils
10259 configure-findutils:
10260 @: $(MAKE); $(unstage)
10261 @r=`${PWD_COMMAND}`; export r; \
10262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10263 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10265 $(HOST_EXPORTS) \
10266 echo Configuring in $(HOST_SUBDIR)/findutils; \
10267 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10268 case $(srcdir) in \
10269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10270 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10272 esac; \
10273 srcdiroption="--srcdir=$${topdir}/findutils"; \
10274 libsrcdir="$$s/findutils"; \
10275 $(SHELL) $${libsrcdir}/configure \
10276 $(HOST_CONFIGARGS) $${srcdiroption} \
10277 || exit 1
10278 @endif findutils
10284 .PHONY: all-findutils maybe-all-findutils
10285 maybe-all-findutils:
10286 @if gcc-bootstrap
10287 all-findutils: stage_current
10288 @endif gcc-bootstrap
10289 @if findutils
10290 TARGET-findutils=all
10291 maybe-all-findutils: all-findutils
10292 all-findutils: configure-findutils
10293 @: $(MAKE); $(unstage)
10294 @r=`${PWD_COMMAND}`; export r; \
10295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10296 $(HOST_EXPORTS) \
10297 (cd $(HOST_SUBDIR)/findutils && \
10298 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10299 @endif findutils
10304 .PHONY: check-findutils maybe-check-findutils
10305 maybe-check-findutils:
10306 @if findutils
10307 maybe-check-findutils: check-findutils
10309 check-findutils:
10310 @: $(MAKE); $(unstage)
10311 @r=`${PWD_COMMAND}`; export r; \
10312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313 $(HOST_EXPORTS) \
10314 (cd $(HOST_SUBDIR)/findutils && \
10315 $(MAKE) $(FLAGS_TO_PASS) check)
10317 @endif findutils
10319 .PHONY: install-findutils maybe-install-findutils
10320 maybe-install-findutils:
10321 @if findutils
10322 maybe-install-findutils: install-findutils
10324 install-findutils: installdirs
10325 @: $(MAKE); $(unstage)
10326 @r=`${PWD_COMMAND}`; export r; \
10327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10328 $(HOST_EXPORTS) \
10329 (cd $(HOST_SUBDIR)/findutils && \
10330 $(MAKE) $(FLAGS_TO_PASS) install)
10332 @endif findutils
10334 # Other targets (info, dvi, pdf, etc.)
10336 .PHONY: maybe-info-findutils info-findutils
10337 maybe-info-findutils:
10338 @if findutils
10339 maybe-info-findutils: info-findutils
10341 info-findutils: \
10342 configure-findutils
10343 @: $(MAKE); $(unstage)
10344 @[ -f ./findutils/Makefile ] || exit 0; \
10345 r=`${PWD_COMMAND}`; export r; \
10346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10347 $(HOST_EXPORTS) \
10348 for flag in $(EXTRA_HOST_FLAGS) ; do \
10349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10350 done; \
10351 echo "Doing info in findutils" ; \
10352 (cd $(HOST_SUBDIR)/findutils && \
10353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10355 "RANLIB=$${RANLIB}" \
10356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10357 info) \
10358 || exit 1
10360 @endif findutils
10362 .PHONY: maybe-dvi-findutils dvi-findutils
10363 maybe-dvi-findutils:
10364 @if findutils
10365 maybe-dvi-findutils: dvi-findutils
10367 dvi-findutils: \
10368 configure-findutils
10369 @: $(MAKE); $(unstage)
10370 @[ -f ./findutils/Makefile ] || exit 0; \
10371 r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 $(HOST_EXPORTS) \
10374 for flag in $(EXTRA_HOST_FLAGS) ; do \
10375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10376 done; \
10377 echo "Doing dvi in findutils" ; \
10378 (cd $(HOST_SUBDIR)/findutils && \
10379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10381 "RANLIB=$${RANLIB}" \
10382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10383 dvi) \
10384 || exit 1
10386 @endif findutils
10388 .PHONY: maybe-pdf-findutils pdf-findutils
10389 maybe-pdf-findutils:
10390 @if findutils
10391 maybe-pdf-findutils: pdf-findutils
10393 pdf-findutils: \
10394 configure-findutils
10395 @: $(MAKE); $(unstage)
10396 @[ -f ./findutils/Makefile ] || exit 0; \
10397 r=`${PWD_COMMAND}`; export r; \
10398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10399 $(HOST_EXPORTS) \
10400 for flag in $(EXTRA_HOST_FLAGS) ; do \
10401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10402 done; \
10403 echo "Doing pdf in findutils" ; \
10404 (cd $(HOST_SUBDIR)/findutils && \
10405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10407 "RANLIB=$${RANLIB}" \
10408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10409 pdf) \
10410 || exit 1
10412 @endif findutils
10414 .PHONY: maybe-html-findutils html-findutils
10415 maybe-html-findutils:
10416 @if findutils
10417 maybe-html-findutils: html-findutils
10419 html-findutils: \
10420 configure-findutils
10421 @: $(MAKE); $(unstage)
10422 @[ -f ./findutils/Makefile ] || exit 0; \
10423 r=`${PWD_COMMAND}`; export r; \
10424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 $(HOST_EXPORTS) \
10426 for flag in $(EXTRA_HOST_FLAGS) ; do \
10427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10428 done; \
10429 echo "Doing html in findutils" ; \
10430 (cd $(HOST_SUBDIR)/findutils && \
10431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10433 "RANLIB=$${RANLIB}" \
10434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10435 html) \
10436 || exit 1
10438 @endif findutils
10440 .PHONY: maybe-TAGS-findutils TAGS-findutils
10441 maybe-TAGS-findutils:
10442 @if findutils
10443 maybe-TAGS-findutils: TAGS-findutils
10445 TAGS-findutils: \
10446 configure-findutils
10447 @: $(MAKE); $(unstage)
10448 @[ -f ./findutils/Makefile ] || exit 0; \
10449 r=`${PWD_COMMAND}`; export r; \
10450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 $(HOST_EXPORTS) \
10452 for flag in $(EXTRA_HOST_FLAGS) ; do \
10453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10454 done; \
10455 echo "Doing TAGS in findutils" ; \
10456 (cd $(HOST_SUBDIR)/findutils && \
10457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10459 "RANLIB=$${RANLIB}" \
10460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10461 TAGS) \
10462 || exit 1
10464 @endif findutils
10466 .PHONY: maybe-install-info-findutils install-info-findutils
10467 maybe-install-info-findutils:
10468 @if findutils
10469 maybe-install-info-findutils: install-info-findutils
10471 install-info-findutils: \
10472 configure-findutils \
10473 info-findutils
10474 @: $(MAKE); $(unstage)
10475 @[ -f ./findutils/Makefile ] || exit 0; \
10476 r=`${PWD_COMMAND}`; export r; \
10477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10478 $(HOST_EXPORTS) \
10479 for flag in $(EXTRA_HOST_FLAGS) ; do \
10480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10481 done; \
10482 echo "Doing install-info in findutils" ; \
10483 (cd $(HOST_SUBDIR)/findutils && \
10484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10486 "RANLIB=$${RANLIB}" \
10487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10488 install-info) \
10489 || exit 1
10491 @endif findutils
10493 .PHONY: maybe-install-html-findutils install-html-findutils
10494 maybe-install-html-findutils:
10495 @if findutils
10496 maybe-install-html-findutils: install-html-findutils
10498 install-html-findutils: \
10499 configure-findutils \
10500 html-findutils
10501 @: $(MAKE); $(unstage)
10502 @[ -f ./findutils/Makefile ] || exit 0; \
10503 r=`${PWD_COMMAND}`; export r; \
10504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10505 $(HOST_EXPORTS) \
10506 for flag in $(EXTRA_HOST_FLAGS) ; do \
10507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10508 done; \
10509 echo "Doing install-html in findutils" ; \
10510 (cd $(HOST_SUBDIR)/findutils && \
10511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10513 "RANLIB=$${RANLIB}" \
10514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10515 install-html) \
10516 || exit 1
10518 @endif findutils
10520 .PHONY: maybe-installcheck-findutils installcheck-findutils
10521 maybe-installcheck-findutils:
10522 @if findutils
10523 maybe-installcheck-findutils: installcheck-findutils
10525 installcheck-findutils: \
10526 configure-findutils
10527 @: $(MAKE); $(unstage)
10528 @[ -f ./findutils/Makefile ] || exit 0; \
10529 r=`${PWD_COMMAND}`; export r; \
10530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10531 $(HOST_EXPORTS) \
10532 for flag in $(EXTRA_HOST_FLAGS) ; do \
10533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10534 done; \
10535 echo "Doing installcheck in findutils" ; \
10536 (cd $(HOST_SUBDIR)/findutils && \
10537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10539 "RANLIB=$${RANLIB}" \
10540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10541 installcheck) \
10542 || exit 1
10544 @endif findutils
10546 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10547 maybe-mostlyclean-findutils:
10548 @if findutils
10549 maybe-mostlyclean-findutils: mostlyclean-findutils
10551 mostlyclean-findutils:
10552 @: $(MAKE); $(unstage)
10553 @[ -f ./findutils/Makefile ] || exit 0; \
10554 r=`${PWD_COMMAND}`; export r; \
10555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10556 $(HOST_EXPORTS) \
10557 for flag in $(EXTRA_HOST_FLAGS) ; do \
10558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10559 done; \
10560 echo "Doing mostlyclean in findutils" ; \
10561 (cd $(HOST_SUBDIR)/findutils && \
10562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10564 "RANLIB=$${RANLIB}" \
10565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10566 mostlyclean) \
10567 || exit 1
10569 @endif findutils
10571 .PHONY: maybe-clean-findutils clean-findutils
10572 maybe-clean-findutils:
10573 @if findutils
10574 maybe-clean-findutils: clean-findutils
10576 clean-findutils:
10577 @: $(MAKE); $(unstage)
10578 @[ -f ./findutils/Makefile ] || exit 0; \
10579 r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 $(HOST_EXPORTS) \
10582 for flag in $(EXTRA_HOST_FLAGS) ; do \
10583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10584 done; \
10585 echo "Doing clean in findutils" ; \
10586 (cd $(HOST_SUBDIR)/findutils && \
10587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10589 "RANLIB=$${RANLIB}" \
10590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10591 clean) \
10592 || exit 1
10594 @endif findutils
10596 .PHONY: maybe-distclean-findutils distclean-findutils
10597 maybe-distclean-findutils:
10598 @if findutils
10599 maybe-distclean-findutils: distclean-findutils
10601 distclean-findutils:
10602 @: $(MAKE); $(unstage)
10603 @[ -f ./findutils/Makefile ] || exit 0; \
10604 r=`${PWD_COMMAND}`; export r; \
10605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10606 $(HOST_EXPORTS) \
10607 for flag in $(EXTRA_HOST_FLAGS) ; do \
10608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10609 done; \
10610 echo "Doing distclean in findutils" ; \
10611 (cd $(HOST_SUBDIR)/findutils && \
10612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10614 "RANLIB=$${RANLIB}" \
10615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10616 distclean) \
10617 || exit 1
10619 @endif findutils
10621 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10622 maybe-maintainer-clean-findutils:
10623 @if findutils
10624 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10626 maintainer-clean-findutils:
10627 @: $(MAKE); $(unstage)
10628 @[ -f ./findutils/Makefile ] || exit 0; \
10629 r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) \
10632 for flag in $(EXTRA_HOST_FLAGS) ; do \
10633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10634 done; \
10635 echo "Doing maintainer-clean in findutils" ; \
10636 (cd $(HOST_SUBDIR)/findutils && \
10637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10639 "RANLIB=$${RANLIB}" \
10640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10641 maintainer-clean) \
10642 || exit 1
10644 @endif findutils
10648 .PHONY: configure-find maybe-configure-find
10649 maybe-configure-find:
10650 @if gcc-bootstrap
10651 configure-find: stage_current
10652 @endif gcc-bootstrap
10653 @if find
10654 maybe-configure-find: configure-find
10655 configure-find:
10656 @: $(MAKE); $(unstage)
10657 @r=`${PWD_COMMAND}`; export r; \
10658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10659 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10661 $(HOST_EXPORTS) \
10662 echo Configuring in $(HOST_SUBDIR)/find; \
10663 cd "$(HOST_SUBDIR)/find" || exit 1; \
10664 case $(srcdir) in \
10665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10666 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10668 esac; \
10669 srcdiroption="--srcdir=$${topdir}/find"; \
10670 libsrcdir="$$s/find"; \
10671 $(SHELL) $${libsrcdir}/configure \
10672 $(HOST_CONFIGARGS) $${srcdiroption} \
10673 || exit 1
10674 @endif find
10680 .PHONY: all-find maybe-all-find
10681 maybe-all-find:
10682 @if gcc-bootstrap
10683 all-find: stage_current
10684 @endif gcc-bootstrap
10685 @if find
10686 TARGET-find=all
10687 maybe-all-find: all-find
10688 all-find: configure-find
10689 @: $(MAKE); $(unstage)
10690 @r=`${PWD_COMMAND}`; export r; \
10691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10692 $(HOST_EXPORTS) \
10693 (cd $(HOST_SUBDIR)/find && \
10694 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10695 @endif find
10700 .PHONY: check-find maybe-check-find
10701 maybe-check-find:
10702 @if find
10703 maybe-check-find: check-find
10705 check-find:
10706 @: $(MAKE); $(unstage)
10707 @r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 $(HOST_EXPORTS) \
10710 (cd $(HOST_SUBDIR)/find && \
10711 $(MAKE) $(FLAGS_TO_PASS) check)
10713 @endif find
10715 .PHONY: install-find maybe-install-find
10716 maybe-install-find:
10717 @if find
10718 maybe-install-find: install-find
10720 install-find: installdirs
10721 @: $(MAKE); $(unstage)
10722 @r=`${PWD_COMMAND}`; export r; \
10723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10724 $(HOST_EXPORTS) \
10725 (cd $(HOST_SUBDIR)/find && \
10726 $(MAKE) $(FLAGS_TO_PASS) install)
10728 @endif find
10730 # Other targets (info, dvi, pdf, etc.)
10732 .PHONY: maybe-info-find info-find
10733 maybe-info-find:
10734 @if find
10735 maybe-info-find: info-find
10737 info-find: \
10738 configure-find
10739 @: $(MAKE); $(unstage)
10740 @[ -f ./find/Makefile ] || exit 0; \
10741 r=`${PWD_COMMAND}`; export r; \
10742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10743 $(HOST_EXPORTS) \
10744 for flag in $(EXTRA_HOST_FLAGS) ; do \
10745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10746 done; \
10747 echo "Doing info in find" ; \
10748 (cd $(HOST_SUBDIR)/find && \
10749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10751 "RANLIB=$${RANLIB}" \
10752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10753 info) \
10754 || exit 1
10756 @endif find
10758 .PHONY: maybe-dvi-find dvi-find
10759 maybe-dvi-find:
10760 @if find
10761 maybe-dvi-find: dvi-find
10763 dvi-find: \
10764 configure-find
10765 @: $(MAKE); $(unstage)
10766 @[ -f ./find/Makefile ] || exit 0; \
10767 r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(HOST_EXPORTS) \
10770 for flag in $(EXTRA_HOST_FLAGS) ; do \
10771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10772 done; \
10773 echo "Doing dvi in find" ; \
10774 (cd $(HOST_SUBDIR)/find && \
10775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10777 "RANLIB=$${RANLIB}" \
10778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10779 dvi) \
10780 || exit 1
10782 @endif find
10784 .PHONY: maybe-pdf-find pdf-find
10785 maybe-pdf-find:
10786 @if find
10787 maybe-pdf-find: pdf-find
10789 pdf-find: \
10790 configure-find
10791 @: $(MAKE); $(unstage)
10792 @[ -f ./find/Makefile ] || exit 0; \
10793 r=`${PWD_COMMAND}`; export r; \
10794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10795 $(HOST_EXPORTS) \
10796 for flag in $(EXTRA_HOST_FLAGS) ; do \
10797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10798 done; \
10799 echo "Doing pdf in find" ; \
10800 (cd $(HOST_SUBDIR)/find && \
10801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10803 "RANLIB=$${RANLIB}" \
10804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10805 pdf) \
10806 || exit 1
10808 @endif find
10810 .PHONY: maybe-html-find html-find
10811 maybe-html-find:
10812 @if find
10813 maybe-html-find: html-find
10815 html-find: \
10816 configure-find
10817 @: $(MAKE); $(unstage)
10818 @[ -f ./find/Makefile ] || exit 0; \
10819 r=`${PWD_COMMAND}`; export r; \
10820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10821 $(HOST_EXPORTS) \
10822 for flag in $(EXTRA_HOST_FLAGS) ; do \
10823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10824 done; \
10825 echo "Doing html in find" ; \
10826 (cd $(HOST_SUBDIR)/find && \
10827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10829 "RANLIB=$${RANLIB}" \
10830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10831 html) \
10832 || exit 1
10834 @endif find
10836 .PHONY: maybe-TAGS-find TAGS-find
10837 maybe-TAGS-find:
10838 @if find
10839 maybe-TAGS-find: TAGS-find
10841 TAGS-find: \
10842 configure-find
10843 @: $(MAKE); $(unstage)
10844 @[ -f ./find/Makefile ] || exit 0; \
10845 r=`${PWD_COMMAND}`; export r; \
10846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10847 $(HOST_EXPORTS) \
10848 for flag in $(EXTRA_HOST_FLAGS) ; do \
10849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10850 done; \
10851 echo "Doing TAGS in find" ; \
10852 (cd $(HOST_SUBDIR)/find && \
10853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10855 "RANLIB=$${RANLIB}" \
10856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10857 TAGS) \
10858 || exit 1
10860 @endif find
10862 .PHONY: maybe-install-info-find install-info-find
10863 maybe-install-info-find:
10864 @if find
10865 maybe-install-info-find: install-info-find
10867 install-info-find: \
10868 configure-find \
10869 info-find
10870 @: $(MAKE); $(unstage)
10871 @[ -f ./find/Makefile ] || exit 0; \
10872 r=`${PWD_COMMAND}`; export r; \
10873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10874 $(HOST_EXPORTS) \
10875 for flag in $(EXTRA_HOST_FLAGS) ; do \
10876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10877 done; \
10878 echo "Doing install-info in find" ; \
10879 (cd $(HOST_SUBDIR)/find && \
10880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10882 "RANLIB=$${RANLIB}" \
10883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10884 install-info) \
10885 || exit 1
10887 @endif find
10889 .PHONY: maybe-install-html-find install-html-find
10890 maybe-install-html-find:
10891 @if find
10892 maybe-install-html-find: install-html-find
10894 install-html-find: \
10895 configure-find \
10896 html-find
10897 @: $(MAKE); $(unstage)
10898 @[ -f ./find/Makefile ] || exit 0; \
10899 r=`${PWD_COMMAND}`; export r; \
10900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10901 $(HOST_EXPORTS) \
10902 for flag in $(EXTRA_HOST_FLAGS) ; do \
10903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10904 done; \
10905 echo "Doing install-html in find" ; \
10906 (cd $(HOST_SUBDIR)/find && \
10907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10909 "RANLIB=$${RANLIB}" \
10910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10911 install-html) \
10912 || exit 1
10914 @endif find
10916 .PHONY: maybe-installcheck-find installcheck-find
10917 maybe-installcheck-find:
10918 @if find
10919 maybe-installcheck-find: installcheck-find
10921 installcheck-find: \
10922 configure-find
10923 @: $(MAKE); $(unstage)
10924 @[ -f ./find/Makefile ] || exit 0; \
10925 r=`${PWD_COMMAND}`; export r; \
10926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10927 $(HOST_EXPORTS) \
10928 for flag in $(EXTRA_HOST_FLAGS) ; do \
10929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10930 done; \
10931 echo "Doing installcheck in find" ; \
10932 (cd $(HOST_SUBDIR)/find && \
10933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10935 "RANLIB=$${RANLIB}" \
10936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10937 installcheck) \
10938 || exit 1
10940 @endif find
10942 .PHONY: maybe-mostlyclean-find mostlyclean-find
10943 maybe-mostlyclean-find:
10944 @if find
10945 maybe-mostlyclean-find: mostlyclean-find
10947 mostlyclean-find:
10948 @: $(MAKE); $(unstage)
10949 @[ -f ./find/Makefile ] || exit 0; \
10950 r=`${PWD_COMMAND}`; export r; \
10951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10952 $(HOST_EXPORTS) \
10953 for flag in $(EXTRA_HOST_FLAGS) ; do \
10954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10955 done; \
10956 echo "Doing mostlyclean in find" ; \
10957 (cd $(HOST_SUBDIR)/find && \
10958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10960 "RANLIB=$${RANLIB}" \
10961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10962 mostlyclean) \
10963 || exit 1
10965 @endif find
10967 .PHONY: maybe-clean-find clean-find
10968 maybe-clean-find:
10969 @if find
10970 maybe-clean-find: clean-find
10972 clean-find:
10973 @: $(MAKE); $(unstage)
10974 @[ -f ./find/Makefile ] || exit 0; \
10975 r=`${PWD_COMMAND}`; export r; \
10976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10977 $(HOST_EXPORTS) \
10978 for flag in $(EXTRA_HOST_FLAGS) ; do \
10979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10980 done; \
10981 echo "Doing clean in find" ; \
10982 (cd $(HOST_SUBDIR)/find && \
10983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10985 "RANLIB=$${RANLIB}" \
10986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10987 clean) \
10988 || exit 1
10990 @endif find
10992 .PHONY: maybe-distclean-find distclean-find
10993 maybe-distclean-find:
10994 @if find
10995 maybe-distclean-find: distclean-find
10997 distclean-find:
10998 @: $(MAKE); $(unstage)
10999 @[ -f ./find/Makefile ] || exit 0; \
11000 r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002 $(HOST_EXPORTS) \
11003 for flag in $(EXTRA_HOST_FLAGS) ; do \
11004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11005 done; \
11006 echo "Doing distclean in find" ; \
11007 (cd $(HOST_SUBDIR)/find && \
11008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11010 "RANLIB=$${RANLIB}" \
11011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11012 distclean) \
11013 || exit 1
11015 @endif find
11017 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11018 maybe-maintainer-clean-find:
11019 @if find
11020 maybe-maintainer-clean-find: maintainer-clean-find
11022 maintainer-clean-find:
11023 @: $(MAKE); $(unstage)
11024 @[ -f ./find/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 $(HOST_EXPORTS) \
11028 for flag in $(EXTRA_HOST_FLAGS) ; do \
11029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030 done; \
11031 echo "Doing maintainer-clean in find" ; \
11032 (cd $(HOST_SUBDIR)/find && \
11033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035 "RANLIB=$${RANLIB}" \
11036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11037 maintainer-clean) \
11038 || exit 1
11040 @endif find
11044 .PHONY: configure-fixincludes maybe-configure-fixincludes
11045 maybe-configure-fixincludes:
11046 @if gcc-bootstrap
11047 configure-fixincludes: stage_current
11048 @endif gcc-bootstrap
11049 @if fixincludes
11050 maybe-configure-fixincludes: configure-fixincludes
11051 configure-fixincludes:
11052 @: $(MAKE); $(unstage)
11053 @r=`${PWD_COMMAND}`; export r; \
11054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11055 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11057 $(HOST_EXPORTS) \
11058 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11059 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11060 case $(srcdir) in \
11061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11062 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11064 esac; \
11065 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11066 libsrcdir="$$s/fixincludes"; \
11067 $(SHELL) $${libsrcdir}/configure \
11068 $(HOST_CONFIGARGS) $${srcdiroption} \
11069 || exit 1
11070 @endif fixincludes
11076 .PHONY: all-fixincludes maybe-all-fixincludes
11077 maybe-all-fixincludes:
11078 @if gcc-bootstrap
11079 all-fixincludes: stage_current
11080 @endif gcc-bootstrap
11081 @if fixincludes
11082 TARGET-fixincludes=all
11083 maybe-all-fixincludes: all-fixincludes
11084 all-fixincludes: configure-fixincludes
11085 @: $(MAKE); $(unstage)
11086 @r=`${PWD_COMMAND}`; export r; \
11087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11088 $(HOST_EXPORTS) \
11089 (cd $(HOST_SUBDIR)/fixincludes && \
11090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11091 @endif fixincludes
11096 .PHONY: check-fixincludes maybe-check-fixincludes
11097 maybe-check-fixincludes:
11098 @if fixincludes
11099 maybe-check-fixincludes: check-fixincludes
11101 check-fixincludes:
11102 @: $(MAKE); $(unstage)
11103 @r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 $(HOST_EXPORTS) \
11106 (cd $(HOST_SUBDIR)/fixincludes && \
11107 $(MAKE) $(FLAGS_TO_PASS) check)
11109 @endif fixincludes
11111 .PHONY: install-fixincludes maybe-install-fixincludes
11112 maybe-install-fixincludes:
11113 @if fixincludes
11114 maybe-install-fixincludes: install-fixincludes
11116 install-fixincludes: installdirs
11117 @: $(MAKE); $(unstage)
11118 @r=`${PWD_COMMAND}`; export r; \
11119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11120 $(HOST_EXPORTS) \
11121 (cd $(HOST_SUBDIR)/fixincludes && \
11122 $(MAKE) $(FLAGS_TO_PASS) install)
11124 @endif fixincludes
11126 # Other targets (info, dvi, pdf, etc.)
11128 .PHONY: maybe-info-fixincludes info-fixincludes
11129 maybe-info-fixincludes:
11130 @if fixincludes
11131 maybe-info-fixincludes: info-fixincludes
11133 # fixincludes doesn't support info.
11134 info-fixincludes:
11136 @endif fixincludes
11138 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11139 maybe-dvi-fixincludes:
11140 @if fixincludes
11141 maybe-dvi-fixincludes: dvi-fixincludes
11143 # fixincludes doesn't support dvi.
11144 dvi-fixincludes:
11146 @endif fixincludes
11148 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11149 maybe-pdf-fixincludes:
11150 @if fixincludes
11151 maybe-pdf-fixincludes: pdf-fixincludes
11153 # fixincludes doesn't support pdf.
11154 pdf-fixincludes:
11156 @endif fixincludes
11158 .PHONY: maybe-html-fixincludes html-fixincludes
11159 maybe-html-fixincludes:
11160 @if fixincludes
11161 maybe-html-fixincludes: html-fixincludes
11163 html-fixincludes: \
11164 configure-fixincludes
11165 @: $(MAKE); $(unstage)
11166 @[ -f ./fixincludes/Makefile ] || exit 0; \
11167 r=`${PWD_COMMAND}`; export r; \
11168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11169 $(HOST_EXPORTS) \
11170 for flag in $(EXTRA_HOST_FLAGS) ; do \
11171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11172 done; \
11173 echo "Doing html in fixincludes" ; \
11174 (cd $(HOST_SUBDIR)/fixincludes && \
11175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11177 "RANLIB=$${RANLIB}" \
11178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11179 html) \
11180 || exit 1
11182 @endif fixincludes
11184 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11185 maybe-TAGS-fixincludes:
11186 @if fixincludes
11187 maybe-TAGS-fixincludes: TAGS-fixincludes
11189 # fixincludes doesn't support TAGS.
11190 TAGS-fixincludes:
11192 @endif fixincludes
11194 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11195 maybe-install-info-fixincludes:
11196 @if fixincludes
11197 maybe-install-info-fixincludes: install-info-fixincludes
11199 # fixincludes doesn't support install-info.
11200 install-info-fixincludes:
11202 @endif fixincludes
11204 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11205 maybe-install-html-fixincludes:
11206 @if fixincludes
11207 maybe-install-html-fixincludes: install-html-fixincludes
11209 install-html-fixincludes: \
11210 configure-fixincludes \
11211 html-fixincludes
11212 @: $(MAKE); $(unstage)
11213 @[ -f ./fixincludes/Makefile ] || exit 0; \
11214 r=`${PWD_COMMAND}`; export r; \
11215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11216 $(HOST_EXPORTS) \
11217 for flag in $(EXTRA_HOST_FLAGS) ; do \
11218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11219 done; \
11220 echo "Doing install-html in fixincludes" ; \
11221 (cd $(HOST_SUBDIR)/fixincludes && \
11222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11224 "RANLIB=$${RANLIB}" \
11225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11226 install-html) \
11227 || exit 1
11229 @endif fixincludes
11231 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11232 maybe-installcheck-fixincludes:
11233 @if fixincludes
11234 maybe-installcheck-fixincludes: installcheck-fixincludes
11236 # fixincludes doesn't support installcheck.
11237 installcheck-fixincludes:
11239 @endif fixincludes
11241 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11242 maybe-mostlyclean-fixincludes:
11243 @if fixincludes
11244 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11246 mostlyclean-fixincludes:
11247 @: $(MAKE); $(unstage)
11248 @[ -f ./fixincludes/Makefile ] || exit 0; \
11249 r=`${PWD_COMMAND}`; export r; \
11250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11251 $(HOST_EXPORTS) \
11252 for flag in $(EXTRA_HOST_FLAGS) ; do \
11253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11254 done; \
11255 echo "Doing mostlyclean in fixincludes" ; \
11256 (cd $(HOST_SUBDIR)/fixincludes && \
11257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11259 "RANLIB=$${RANLIB}" \
11260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11261 mostlyclean) \
11262 || exit 1
11264 @endif fixincludes
11266 .PHONY: maybe-clean-fixincludes clean-fixincludes
11267 maybe-clean-fixincludes:
11268 @if fixincludes
11269 maybe-clean-fixincludes: clean-fixincludes
11271 clean-fixincludes:
11272 @: $(MAKE); $(unstage)
11273 @[ -f ./fixincludes/Makefile ] || exit 0; \
11274 r=`${PWD_COMMAND}`; export r; \
11275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276 $(HOST_EXPORTS) \
11277 for flag in $(EXTRA_HOST_FLAGS) ; do \
11278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11279 done; \
11280 echo "Doing clean in fixincludes" ; \
11281 (cd $(HOST_SUBDIR)/fixincludes && \
11282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11284 "RANLIB=$${RANLIB}" \
11285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11286 clean) \
11287 || exit 1
11289 @endif fixincludes
11291 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11292 maybe-distclean-fixincludes:
11293 @if fixincludes
11294 maybe-distclean-fixincludes: distclean-fixincludes
11296 distclean-fixincludes:
11297 @: $(MAKE); $(unstage)
11298 @[ -f ./fixincludes/Makefile ] || exit 0; \
11299 r=`${PWD_COMMAND}`; export r; \
11300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11301 $(HOST_EXPORTS) \
11302 for flag in $(EXTRA_HOST_FLAGS) ; do \
11303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11304 done; \
11305 echo "Doing distclean in fixincludes" ; \
11306 (cd $(HOST_SUBDIR)/fixincludes && \
11307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11309 "RANLIB=$${RANLIB}" \
11310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11311 distclean) \
11312 || exit 1
11314 @endif fixincludes
11316 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11317 maybe-maintainer-clean-fixincludes:
11318 @if fixincludes
11319 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11321 maintainer-clean-fixincludes:
11322 @: $(MAKE); $(unstage)
11323 @[ -f ./fixincludes/Makefile ] || exit 0; \
11324 r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11326 $(HOST_EXPORTS) \
11327 for flag in $(EXTRA_HOST_FLAGS) ; do \
11328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11329 done; \
11330 echo "Doing maintainer-clean in fixincludes" ; \
11331 (cd $(HOST_SUBDIR)/fixincludes && \
11332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11334 "RANLIB=$${RANLIB}" \
11335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11336 maintainer-clean) \
11337 || exit 1
11339 @endif fixincludes
11343 .PHONY: configure-flex maybe-configure-flex
11344 maybe-configure-flex:
11345 @if gcc-bootstrap
11346 configure-flex: stage_current
11347 @endif gcc-bootstrap
11348 @if flex
11349 maybe-configure-flex: configure-flex
11350 configure-flex:
11351 @: $(MAKE); $(unstage)
11352 @r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11354 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11356 $(HOST_EXPORTS) \
11357 echo Configuring in $(HOST_SUBDIR)/flex; \
11358 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11359 case $(srcdir) in \
11360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11361 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11363 esac; \
11364 srcdiroption="--srcdir=$${topdir}/flex"; \
11365 libsrcdir="$$s/flex"; \
11366 $(SHELL) $${libsrcdir}/configure \
11367 $(HOST_CONFIGARGS) $${srcdiroption} \
11368 || exit 1
11369 @endif flex
11375 .PHONY: all-flex maybe-all-flex
11376 maybe-all-flex:
11377 @if gcc-bootstrap
11378 all-flex: stage_current
11379 @endif gcc-bootstrap
11380 @if flex
11381 TARGET-flex=all
11382 maybe-all-flex: all-flex
11383 all-flex: configure-flex
11384 @: $(MAKE); $(unstage)
11385 @r=`${PWD_COMMAND}`; export r; \
11386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11387 $(HOST_EXPORTS) \
11388 (cd $(HOST_SUBDIR)/flex && \
11389 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11390 @endif flex
11395 .PHONY: check-flex maybe-check-flex
11396 maybe-check-flex:
11397 @if flex
11398 maybe-check-flex: check-flex
11400 # This module is only tested in a native toolchain.
11401 check-flex:
11402 @: $(MAKE); $(unstage)
11403 @if [ '$(host)' = '$(target)' ] ; then \
11404 r=`${PWD_COMMAND}`; export r; \
11405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11406 $(HOST_EXPORTS) \
11407 (cd $(HOST_SUBDIR)/flex && \
11408 $(MAKE) $(FLAGS_TO_PASS) check); \
11411 @endif flex
11413 .PHONY: install-flex maybe-install-flex
11414 maybe-install-flex:
11415 @if flex
11416 maybe-install-flex: install-flex
11418 install-flex: installdirs
11419 @: $(MAKE); $(unstage)
11420 @r=`${PWD_COMMAND}`; export r; \
11421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11422 $(HOST_EXPORTS) \
11423 (cd $(HOST_SUBDIR)/flex && \
11424 $(MAKE) $(FLAGS_TO_PASS) install)
11426 @endif flex
11428 # Other targets (info, dvi, pdf, etc.)
11430 .PHONY: maybe-info-flex info-flex
11431 maybe-info-flex:
11432 @if flex
11433 maybe-info-flex: info-flex
11435 info-flex: \
11436 configure-flex
11437 @: $(MAKE); $(unstage)
11438 @[ -f ./flex/Makefile ] || exit 0; \
11439 r=`${PWD_COMMAND}`; export r; \
11440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11441 $(HOST_EXPORTS) \
11442 for flag in $(EXTRA_HOST_FLAGS) ; do \
11443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11444 done; \
11445 echo "Doing info in flex" ; \
11446 (cd $(HOST_SUBDIR)/flex && \
11447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11449 "RANLIB=$${RANLIB}" \
11450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11451 info) \
11452 || exit 1
11454 @endif flex
11456 .PHONY: maybe-dvi-flex dvi-flex
11457 maybe-dvi-flex:
11458 @if flex
11459 maybe-dvi-flex: dvi-flex
11461 dvi-flex: \
11462 configure-flex
11463 @: $(MAKE); $(unstage)
11464 @[ -f ./flex/Makefile ] || exit 0; \
11465 r=`${PWD_COMMAND}`; export r; \
11466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11467 $(HOST_EXPORTS) \
11468 for flag in $(EXTRA_HOST_FLAGS) ; do \
11469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11470 done; \
11471 echo "Doing dvi in flex" ; \
11472 (cd $(HOST_SUBDIR)/flex && \
11473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11475 "RANLIB=$${RANLIB}" \
11476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11477 dvi) \
11478 || exit 1
11480 @endif flex
11482 .PHONY: maybe-pdf-flex pdf-flex
11483 maybe-pdf-flex:
11484 @if flex
11485 maybe-pdf-flex: pdf-flex
11487 pdf-flex: \
11488 configure-flex
11489 @: $(MAKE); $(unstage)
11490 @[ -f ./flex/Makefile ] || exit 0; \
11491 r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11493 $(HOST_EXPORTS) \
11494 for flag in $(EXTRA_HOST_FLAGS) ; do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11496 done; \
11497 echo "Doing pdf in flex" ; \
11498 (cd $(HOST_SUBDIR)/flex && \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501 "RANLIB=$${RANLIB}" \
11502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11503 pdf) \
11504 || exit 1
11506 @endif flex
11508 .PHONY: maybe-html-flex html-flex
11509 maybe-html-flex:
11510 @if flex
11511 maybe-html-flex: html-flex
11513 html-flex: \
11514 configure-flex
11515 @: $(MAKE); $(unstage)
11516 @[ -f ./flex/Makefile ] || exit 0; \
11517 r=`${PWD_COMMAND}`; export r; \
11518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11519 $(HOST_EXPORTS) \
11520 for flag in $(EXTRA_HOST_FLAGS) ; do \
11521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11522 done; \
11523 echo "Doing html in flex" ; \
11524 (cd $(HOST_SUBDIR)/flex && \
11525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11527 "RANLIB=$${RANLIB}" \
11528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11529 html) \
11530 || exit 1
11532 @endif flex
11534 .PHONY: maybe-TAGS-flex TAGS-flex
11535 maybe-TAGS-flex:
11536 @if flex
11537 maybe-TAGS-flex: TAGS-flex
11539 TAGS-flex: \
11540 configure-flex
11541 @: $(MAKE); $(unstage)
11542 @[ -f ./flex/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11545 $(HOST_EXPORTS) \
11546 for flag in $(EXTRA_HOST_FLAGS) ; do \
11547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11548 done; \
11549 echo "Doing TAGS in flex" ; \
11550 (cd $(HOST_SUBDIR)/flex && \
11551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11553 "RANLIB=$${RANLIB}" \
11554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11555 TAGS) \
11556 || exit 1
11558 @endif flex
11560 .PHONY: maybe-install-info-flex install-info-flex
11561 maybe-install-info-flex:
11562 @if flex
11563 maybe-install-info-flex: install-info-flex
11565 install-info-flex: \
11566 configure-flex \
11567 info-flex
11568 @: $(MAKE); $(unstage)
11569 @[ -f ./flex/Makefile ] || exit 0; \
11570 r=`${PWD_COMMAND}`; export r; \
11571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572 $(HOST_EXPORTS) \
11573 for flag in $(EXTRA_HOST_FLAGS) ; do \
11574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11575 done; \
11576 echo "Doing install-info in flex" ; \
11577 (cd $(HOST_SUBDIR)/flex && \
11578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11580 "RANLIB=$${RANLIB}" \
11581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11582 install-info) \
11583 || exit 1
11585 @endif flex
11587 .PHONY: maybe-install-html-flex install-html-flex
11588 maybe-install-html-flex:
11589 @if flex
11590 maybe-install-html-flex: install-html-flex
11592 install-html-flex: \
11593 configure-flex \
11594 html-flex
11595 @: $(MAKE); $(unstage)
11596 @[ -f ./flex/Makefile ] || exit 0; \
11597 r=`${PWD_COMMAND}`; export r; \
11598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 $(HOST_EXPORTS) \
11600 for flag in $(EXTRA_HOST_FLAGS) ; do \
11601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11602 done; \
11603 echo "Doing install-html in flex" ; \
11604 (cd $(HOST_SUBDIR)/flex && \
11605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11607 "RANLIB=$${RANLIB}" \
11608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11609 install-html) \
11610 || exit 1
11612 @endif flex
11614 .PHONY: maybe-installcheck-flex installcheck-flex
11615 maybe-installcheck-flex:
11616 @if flex
11617 maybe-installcheck-flex: installcheck-flex
11619 installcheck-flex: \
11620 configure-flex
11621 @: $(MAKE); $(unstage)
11622 @[ -f ./flex/Makefile ] || exit 0; \
11623 r=`${PWD_COMMAND}`; export r; \
11624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11625 $(HOST_EXPORTS) \
11626 for flag in $(EXTRA_HOST_FLAGS) ; do \
11627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11628 done; \
11629 echo "Doing installcheck in flex" ; \
11630 (cd $(HOST_SUBDIR)/flex && \
11631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11633 "RANLIB=$${RANLIB}" \
11634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11635 installcheck) \
11636 || exit 1
11638 @endif flex
11640 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11641 maybe-mostlyclean-flex:
11642 @if flex
11643 maybe-mostlyclean-flex: mostlyclean-flex
11645 mostlyclean-flex:
11646 @: $(MAKE); $(unstage)
11647 @[ -f ./flex/Makefile ] || exit 0; \
11648 r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 $(HOST_EXPORTS) \
11651 for flag in $(EXTRA_HOST_FLAGS) ; do \
11652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11653 done; \
11654 echo "Doing mostlyclean in flex" ; \
11655 (cd $(HOST_SUBDIR)/flex && \
11656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11658 "RANLIB=$${RANLIB}" \
11659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11660 mostlyclean) \
11661 || exit 1
11663 @endif flex
11665 .PHONY: maybe-clean-flex clean-flex
11666 maybe-clean-flex:
11667 @if flex
11668 maybe-clean-flex: clean-flex
11670 clean-flex:
11671 @: $(MAKE); $(unstage)
11672 @[ -f ./flex/Makefile ] || exit 0; \
11673 r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675 $(HOST_EXPORTS) \
11676 for flag in $(EXTRA_HOST_FLAGS) ; do \
11677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11678 done; \
11679 echo "Doing clean in flex" ; \
11680 (cd $(HOST_SUBDIR)/flex && \
11681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11683 "RANLIB=$${RANLIB}" \
11684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11685 clean) \
11686 || exit 1
11688 @endif flex
11690 .PHONY: maybe-distclean-flex distclean-flex
11691 maybe-distclean-flex:
11692 @if flex
11693 maybe-distclean-flex: distclean-flex
11695 distclean-flex:
11696 @: $(MAKE); $(unstage)
11697 @[ -f ./flex/Makefile ] || exit 0; \
11698 r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700 $(HOST_EXPORTS) \
11701 for flag in $(EXTRA_HOST_FLAGS) ; do \
11702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11703 done; \
11704 echo "Doing distclean in flex" ; \
11705 (cd $(HOST_SUBDIR)/flex && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708 "RANLIB=$${RANLIB}" \
11709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11710 distclean) \
11711 || exit 1
11713 @endif flex
11715 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11716 maybe-maintainer-clean-flex:
11717 @if flex
11718 maybe-maintainer-clean-flex: maintainer-clean-flex
11720 maintainer-clean-flex:
11721 @: $(MAKE); $(unstage)
11722 @[ -f ./flex/Makefile ] || exit 0; \
11723 r=`${PWD_COMMAND}`; export r; \
11724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11725 $(HOST_EXPORTS) \
11726 for flag in $(EXTRA_HOST_FLAGS) ; do \
11727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11728 done; \
11729 echo "Doing maintainer-clean in flex" ; \
11730 (cd $(HOST_SUBDIR)/flex && \
11731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11733 "RANLIB=$${RANLIB}" \
11734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11735 maintainer-clean) \
11736 || exit 1
11738 @endif flex
11742 .PHONY: configure-gas maybe-configure-gas
11743 maybe-configure-gas:
11744 @if gcc-bootstrap
11745 configure-gas: stage_current
11746 @endif gcc-bootstrap
11747 @if gas
11748 maybe-configure-gas: configure-gas
11749 configure-gas:
11750 @r=`${PWD_COMMAND}`; export r; \
11751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11752 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11754 $(HOST_EXPORTS) \
11755 echo Configuring in $(HOST_SUBDIR)/gas; \
11756 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11757 case $(srcdir) in \
11758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11759 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11761 esac; \
11762 srcdiroption="--srcdir=$${topdir}/gas"; \
11763 libsrcdir="$$s/gas"; \
11764 $(SHELL) $${libsrcdir}/configure \
11765 $(HOST_CONFIGARGS) $${srcdiroption} \
11766 || exit 1
11767 @endif gas
11771 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11772 maybe-configure-stage1-gas:
11773 @if gas-bootstrap
11774 maybe-configure-stage1-gas: configure-stage1-gas
11775 configure-stage1-gas:
11776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11778 @r=`${PWD_COMMAND}`; export r; \
11779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11780 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11781 $(HOST_EXPORTS) \
11782 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11784 cd $(HOST_SUBDIR)/gas || exit 1; \
11785 case $(srcdir) in \
11786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11787 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11789 esac; \
11790 srcdiroption="--srcdir=$${topdir}/gas"; \
11791 libsrcdir="$$s/gas"; \
11792 $(SHELL) $${libsrcdir}/configure \
11793 $(HOST_CONFIGARGS) $${srcdiroption} \
11795 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11796 @endif gas-bootstrap
11798 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11799 maybe-configure-stage2-gas:
11800 @if gas-bootstrap
11801 maybe-configure-stage2-gas: configure-stage2-gas
11802 configure-stage2-gas:
11803 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11805 @r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11808 $(HOST_EXPORTS) \
11809 $(POSTSTAGE1_HOST_EXPORTS) \
11810 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11812 cd $(HOST_SUBDIR)/gas || exit 1; \
11813 case $(srcdir) in \
11814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11815 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11817 esac; \
11818 srcdiroption="--srcdir=$${topdir}/gas"; \
11819 libsrcdir="$$s/gas"; \
11820 $(SHELL) $${libsrcdir}/configure \
11821 $(HOST_CONFIGARGS) $${srcdiroption} \
11822 --with-build-libsubdir=$(HOST_SUBDIR) \
11823 @stage2_werror_flag@
11824 @endif gas-bootstrap
11826 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11827 maybe-configure-stage3-gas:
11828 @if gas-bootstrap
11829 maybe-configure-stage3-gas: configure-stage3-gas
11830 configure-stage3-gas:
11831 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11833 @r=`${PWD_COMMAND}`; export r; \
11834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11836 $(HOST_EXPORTS) \
11837 $(POSTSTAGE1_HOST_EXPORTS) \
11838 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11840 cd $(HOST_SUBDIR)/gas || exit 1; \
11841 case $(srcdir) in \
11842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11843 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11845 esac; \
11846 srcdiroption="--srcdir=$${topdir}/gas"; \
11847 libsrcdir="$$s/gas"; \
11848 $(SHELL) $${libsrcdir}/configure \
11849 $(HOST_CONFIGARGS) $${srcdiroption} \
11850 --with-build-libsubdir=$(HOST_SUBDIR) \
11851 @stage2_werror_flag@
11852 @endif gas-bootstrap
11854 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11855 maybe-configure-stage4-gas:
11856 @if gas-bootstrap
11857 maybe-configure-stage4-gas: configure-stage4-gas
11858 configure-stage4-gas:
11859 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11861 @r=`${PWD_COMMAND}`; export r; \
11862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11863 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11864 $(HOST_EXPORTS) \
11865 $(POSTSTAGE1_HOST_EXPORTS) \
11866 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11868 cd $(HOST_SUBDIR)/gas || exit 1; \
11869 case $(srcdir) in \
11870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11871 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11873 esac; \
11874 srcdiroption="--srcdir=$${topdir}/gas"; \
11875 libsrcdir="$$s/gas"; \
11876 $(SHELL) $${libsrcdir}/configure \
11877 $(HOST_CONFIGARGS) $${srcdiroption} \
11878 --with-build-libsubdir=$(HOST_SUBDIR) \
11879 @stage2_werror_flag@
11880 @endif gas-bootstrap
11882 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11883 maybe-configure-stageprofile-gas:
11884 @if gas-bootstrap
11885 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11886 configure-stageprofile-gas:
11887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11889 @r=`${PWD_COMMAND}`; export r; \
11890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11891 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11892 $(HOST_EXPORTS) \
11893 $(POSTSTAGE1_HOST_EXPORTS) \
11894 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11896 cd $(HOST_SUBDIR)/gas || exit 1; \
11897 case $(srcdir) in \
11898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11899 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11901 esac; \
11902 srcdiroption="--srcdir=$${topdir}/gas"; \
11903 libsrcdir="$$s/gas"; \
11904 $(SHELL) $${libsrcdir}/configure \
11905 $(HOST_CONFIGARGS) $${srcdiroption} \
11906 --with-build-libsubdir=$(HOST_SUBDIR) \
11907 @stage2_werror_flag@
11908 @endif gas-bootstrap
11910 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11911 maybe-configure-stagefeedback-gas:
11912 @if gas-bootstrap
11913 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11914 configure-stagefeedback-gas:
11915 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11917 @r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11920 $(HOST_EXPORTS) \
11921 $(POSTSTAGE1_HOST_EXPORTS) \
11922 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11924 cd $(HOST_SUBDIR)/gas || exit 1; \
11925 case $(srcdir) in \
11926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11927 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11929 esac; \
11930 srcdiroption="--srcdir=$${topdir}/gas"; \
11931 libsrcdir="$$s/gas"; \
11932 $(SHELL) $${libsrcdir}/configure \
11933 $(HOST_CONFIGARGS) $${srcdiroption} \
11934 --with-build-libsubdir=$(HOST_SUBDIR) \
11935 @stage2_werror_flag@
11936 @endif gas-bootstrap
11942 .PHONY: all-gas maybe-all-gas
11943 maybe-all-gas:
11944 @if gcc-bootstrap
11945 all-gas: stage_current
11946 @endif gcc-bootstrap
11947 @if gas
11948 TARGET-gas=all
11949 maybe-all-gas: all-gas
11950 all-gas: configure-gas
11951 @r=`${PWD_COMMAND}`; export r; \
11952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 $(HOST_EXPORTS) \
11954 (cd $(HOST_SUBDIR)/gas && \
11955 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11956 @endif gas
11960 .PHONY: all-stage1-gas maybe-all-stage1-gas
11961 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11962 maybe-all-stage1-gas:
11963 maybe-clean-stage1-gas:
11964 @if gas-bootstrap
11965 maybe-all-stage1-gas: all-stage1-gas
11966 all-stage1: all-stage1-gas
11967 TARGET-stage1-gas = $(TARGET-gas)
11968 all-stage1-gas: configure-stage1-gas
11969 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11970 @r=`${PWD_COMMAND}`; export r; \
11971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 $(HOST_EXPORTS) \
11973 cd $(HOST_SUBDIR)/gas && \
11974 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11975 $(TARGET-stage1-gas)
11977 maybe-clean-stage1-gas: clean-stage1-gas
11978 clean-stage1: clean-stage1-gas
11979 clean-stage1-gas:
11980 @if [ $(current_stage) = stage1 ]; then \
11981 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11982 else \
11983 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
11984 $(MAKE) stage1-start; \
11985 fi; \
11986 cd $(HOST_SUBDIR)/gas && \
11987 $(MAKE) $(FLAGS_TO_PASS) \
11988 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11989 @endif gas-bootstrap
11992 .PHONY: all-stage2-gas maybe-all-stage2-gas
11993 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11994 maybe-all-stage2-gas:
11995 maybe-clean-stage2-gas:
11996 @if gas-bootstrap
11997 maybe-all-stage2-gas: all-stage2-gas
11998 all-stage2: all-stage2-gas
11999 TARGET-stage2-gas = $(TARGET-gas)
12000 all-stage2-gas: configure-stage2-gas
12001 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12002 @r=`${PWD_COMMAND}`; export r; \
12003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12004 $(HOST_EXPORTS) \
12005 $(POSTSTAGE1_HOST_EXPORTS) \
12006 cd $(HOST_SUBDIR)/gas && \
12007 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12008 $(TARGET-stage2-gas)
12010 maybe-clean-stage2-gas: clean-stage2-gas
12011 clean-stage2: clean-stage2-gas
12012 clean-stage2-gas:
12013 @if [ $(current_stage) = stage2 ]; then \
12014 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12015 else \
12016 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12017 $(MAKE) stage2-start; \
12018 fi; \
12019 cd $(HOST_SUBDIR)/gas && \
12020 $(MAKE) $(FLAGS_TO_PASS) \
12021 $(POSTSTAGE1_FLAGS_TO_PASS) \
12022 clean
12023 @endif gas-bootstrap
12026 .PHONY: all-stage3-gas maybe-all-stage3-gas
12027 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12028 maybe-all-stage3-gas:
12029 maybe-clean-stage3-gas:
12030 @if gas-bootstrap
12031 maybe-all-stage3-gas: all-stage3-gas
12032 all-stage3: all-stage3-gas
12033 TARGET-stage3-gas = $(TARGET-gas)
12034 all-stage3-gas: configure-stage3-gas
12035 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12036 @r=`${PWD_COMMAND}`; export r; \
12037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12038 $(HOST_EXPORTS) \
12039 $(POSTSTAGE1_HOST_EXPORTS) \
12040 cd $(HOST_SUBDIR)/gas && \
12041 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12042 $(TARGET-stage3-gas)
12044 maybe-clean-stage3-gas: clean-stage3-gas
12045 clean-stage3: clean-stage3-gas
12046 clean-stage3-gas:
12047 @if [ $(current_stage) = stage3 ]; then \
12048 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12049 else \
12050 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12051 $(MAKE) stage3-start; \
12052 fi; \
12053 cd $(HOST_SUBDIR)/gas && \
12054 $(MAKE) $(FLAGS_TO_PASS) \
12055 $(POSTSTAGE1_FLAGS_TO_PASS) \
12056 clean
12057 @endif gas-bootstrap
12060 .PHONY: all-stage4-gas maybe-all-stage4-gas
12061 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12062 maybe-all-stage4-gas:
12063 maybe-clean-stage4-gas:
12064 @if gas-bootstrap
12065 maybe-all-stage4-gas: all-stage4-gas
12066 all-stage4: all-stage4-gas
12067 TARGET-stage4-gas = $(TARGET-gas)
12068 all-stage4-gas: configure-stage4-gas
12069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12070 @r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 $(HOST_EXPORTS) \
12073 $(POSTSTAGE1_HOST_EXPORTS) \
12074 cd $(HOST_SUBDIR)/gas && \
12075 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12076 $(TARGET-stage4-gas)
12078 maybe-clean-stage4-gas: clean-stage4-gas
12079 clean-stage4: clean-stage4-gas
12080 clean-stage4-gas:
12081 @if [ $(current_stage) = stage4 ]; then \
12082 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12083 else \
12084 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12085 $(MAKE) stage4-start; \
12086 fi; \
12087 cd $(HOST_SUBDIR)/gas && \
12088 $(MAKE) $(FLAGS_TO_PASS) \
12089 $(POSTSTAGE1_FLAGS_TO_PASS) \
12090 clean
12091 @endif gas-bootstrap
12094 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12095 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12096 maybe-all-stageprofile-gas:
12097 maybe-clean-stageprofile-gas:
12098 @if gas-bootstrap
12099 maybe-all-stageprofile-gas: all-stageprofile-gas
12100 all-stageprofile: all-stageprofile-gas
12101 TARGET-stageprofile-gas = $(TARGET-gas)
12102 all-stageprofile-gas: configure-stageprofile-gas
12103 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12104 @r=`${PWD_COMMAND}`; export r; \
12105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12106 $(HOST_EXPORTS) \
12107 $(POSTSTAGE1_HOST_EXPORTS) \
12108 cd $(HOST_SUBDIR)/gas && \
12109 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12110 $(TARGET-stageprofile-gas)
12112 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12113 clean-stageprofile: clean-stageprofile-gas
12114 clean-stageprofile-gas:
12115 @if [ $(current_stage) = stageprofile ]; then \
12116 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12117 else \
12118 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12119 $(MAKE) stageprofile-start; \
12120 fi; \
12121 cd $(HOST_SUBDIR)/gas && \
12122 $(MAKE) $(FLAGS_TO_PASS) \
12123 $(POSTSTAGE1_FLAGS_TO_PASS) \
12124 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12125 @endif gas-bootstrap
12128 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12129 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12130 maybe-all-stagefeedback-gas:
12131 maybe-clean-stagefeedback-gas:
12132 @if gas-bootstrap
12133 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12134 all-stagefeedback: all-stagefeedback-gas
12135 TARGET-stagefeedback-gas = $(TARGET-gas)
12136 all-stagefeedback-gas: configure-stagefeedback-gas
12137 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12138 @r=`${PWD_COMMAND}`; export r; \
12139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12140 $(HOST_EXPORTS) \
12141 $(POSTSTAGE1_HOST_EXPORTS) \
12142 cd $(HOST_SUBDIR)/gas && \
12143 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12144 $(TARGET-stagefeedback-gas)
12146 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12147 clean-stagefeedback: clean-stagefeedback-gas
12148 clean-stagefeedback-gas:
12149 @if [ $(current_stage) = stagefeedback ]; then \
12150 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12151 else \
12152 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12153 $(MAKE) stagefeedback-start; \
12154 fi; \
12155 cd $(HOST_SUBDIR)/gas && \
12156 $(MAKE) $(FLAGS_TO_PASS) \
12157 $(POSTSTAGE1_FLAGS_TO_PASS) \
12158 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12159 @endif gas-bootstrap
12165 .PHONY: check-gas maybe-check-gas
12166 maybe-check-gas:
12167 @if gas
12168 maybe-check-gas: check-gas
12170 check-gas:
12171 @: $(MAKE); $(unstage)
12172 @r=`${PWD_COMMAND}`; export r; \
12173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 $(HOST_EXPORTS) \
12175 (cd $(HOST_SUBDIR)/gas && \
12176 $(MAKE) $(FLAGS_TO_PASS) check)
12178 @endif gas
12180 .PHONY: install-gas maybe-install-gas
12181 maybe-install-gas:
12182 @if gas
12183 maybe-install-gas: install-gas
12185 install-gas: installdirs
12186 @: $(MAKE); $(unstage)
12187 @r=`${PWD_COMMAND}`; export r; \
12188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12189 $(HOST_EXPORTS) \
12190 (cd $(HOST_SUBDIR)/gas && \
12191 $(MAKE) $(FLAGS_TO_PASS) install)
12193 @endif gas
12195 # Other targets (info, dvi, pdf, etc.)
12197 .PHONY: maybe-info-gas info-gas
12198 maybe-info-gas:
12199 @if gas
12200 maybe-info-gas: info-gas
12202 info-gas: \
12203 configure-gas
12204 @[ -f ./gas/Makefile ] || exit 0; \
12205 r=`${PWD_COMMAND}`; export r; \
12206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12207 $(HOST_EXPORTS) \
12208 for flag in $(EXTRA_HOST_FLAGS) ; do \
12209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12210 done; \
12211 echo "Doing info in gas" ; \
12212 (cd $(HOST_SUBDIR)/gas && \
12213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12215 "RANLIB=$${RANLIB}" \
12216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12217 info) \
12218 || exit 1
12220 @endif gas
12222 .PHONY: maybe-dvi-gas dvi-gas
12223 maybe-dvi-gas:
12224 @if gas
12225 maybe-dvi-gas: dvi-gas
12227 dvi-gas: \
12228 configure-gas
12229 @[ -f ./gas/Makefile ] || exit 0; \
12230 r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(HOST_EXPORTS) \
12233 for flag in $(EXTRA_HOST_FLAGS) ; do \
12234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12235 done; \
12236 echo "Doing dvi in gas" ; \
12237 (cd $(HOST_SUBDIR)/gas && \
12238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12240 "RANLIB=$${RANLIB}" \
12241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12242 dvi) \
12243 || exit 1
12245 @endif gas
12247 .PHONY: maybe-pdf-gas pdf-gas
12248 maybe-pdf-gas:
12249 @if gas
12250 maybe-pdf-gas: pdf-gas
12252 pdf-gas: \
12253 configure-gas
12254 @[ -f ./gas/Makefile ] || exit 0; \
12255 r=`${PWD_COMMAND}`; export r; \
12256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12257 $(HOST_EXPORTS) \
12258 for flag in $(EXTRA_HOST_FLAGS) ; do \
12259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12260 done; \
12261 echo "Doing pdf in gas" ; \
12262 (cd $(HOST_SUBDIR)/gas && \
12263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12265 "RANLIB=$${RANLIB}" \
12266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12267 pdf) \
12268 || exit 1
12270 @endif gas
12272 .PHONY: maybe-html-gas html-gas
12273 maybe-html-gas:
12274 @if gas
12275 maybe-html-gas: html-gas
12277 html-gas: \
12278 configure-gas
12279 @[ -f ./gas/Makefile ] || exit 0; \
12280 r=`${PWD_COMMAND}`; export r; \
12281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12282 $(HOST_EXPORTS) \
12283 for flag in $(EXTRA_HOST_FLAGS) ; do \
12284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12285 done; \
12286 echo "Doing html in gas" ; \
12287 (cd $(HOST_SUBDIR)/gas && \
12288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12290 "RANLIB=$${RANLIB}" \
12291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12292 html) \
12293 || exit 1
12295 @endif gas
12297 .PHONY: maybe-TAGS-gas TAGS-gas
12298 maybe-TAGS-gas:
12299 @if gas
12300 maybe-TAGS-gas: TAGS-gas
12302 TAGS-gas: \
12303 configure-gas
12304 @[ -f ./gas/Makefile ] || exit 0; \
12305 r=`${PWD_COMMAND}`; export r; \
12306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12307 $(HOST_EXPORTS) \
12308 for flag in $(EXTRA_HOST_FLAGS) ; do \
12309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12310 done; \
12311 echo "Doing TAGS in gas" ; \
12312 (cd $(HOST_SUBDIR)/gas && \
12313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12315 "RANLIB=$${RANLIB}" \
12316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12317 TAGS) \
12318 || exit 1
12320 @endif gas
12322 .PHONY: maybe-install-info-gas install-info-gas
12323 maybe-install-info-gas:
12324 @if gas
12325 maybe-install-info-gas: install-info-gas
12327 install-info-gas: \
12328 configure-gas \
12329 info-gas
12330 @[ -f ./gas/Makefile ] || exit 0; \
12331 r=`${PWD_COMMAND}`; export r; \
12332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12333 $(HOST_EXPORTS) \
12334 for flag in $(EXTRA_HOST_FLAGS) ; do \
12335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12336 done; \
12337 echo "Doing install-info in gas" ; \
12338 (cd $(HOST_SUBDIR)/gas && \
12339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12341 "RANLIB=$${RANLIB}" \
12342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12343 install-info) \
12344 || exit 1
12346 @endif gas
12348 .PHONY: maybe-install-html-gas install-html-gas
12349 maybe-install-html-gas:
12350 @if gas
12351 maybe-install-html-gas: install-html-gas
12353 install-html-gas: \
12354 configure-gas \
12355 html-gas
12356 @[ -f ./gas/Makefile ] || exit 0; \
12357 r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 $(HOST_EXPORTS) \
12360 for flag in $(EXTRA_HOST_FLAGS) ; do \
12361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12362 done; \
12363 echo "Doing install-html in gas" ; \
12364 (cd $(HOST_SUBDIR)/gas && \
12365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12367 "RANLIB=$${RANLIB}" \
12368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12369 install-html) \
12370 || exit 1
12372 @endif gas
12374 .PHONY: maybe-installcheck-gas installcheck-gas
12375 maybe-installcheck-gas:
12376 @if gas
12377 maybe-installcheck-gas: installcheck-gas
12379 installcheck-gas: \
12380 configure-gas
12381 @[ -f ./gas/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(HOST_EXPORTS) \
12385 for flag in $(EXTRA_HOST_FLAGS) ; do \
12386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12387 done; \
12388 echo "Doing installcheck in gas" ; \
12389 (cd $(HOST_SUBDIR)/gas && \
12390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12392 "RANLIB=$${RANLIB}" \
12393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12394 installcheck) \
12395 || exit 1
12397 @endif gas
12399 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12400 maybe-mostlyclean-gas:
12401 @if gas
12402 maybe-mostlyclean-gas: mostlyclean-gas
12404 mostlyclean-gas:
12405 @[ -f ./gas/Makefile ] || exit 0; \
12406 r=`${PWD_COMMAND}`; export r; \
12407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12408 $(HOST_EXPORTS) \
12409 for flag in $(EXTRA_HOST_FLAGS) ; do \
12410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12411 done; \
12412 echo "Doing mostlyclean in gas" ; \
12413 (cd $(HOST_SUBDIR)/gas && \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416 "RANLIB=$${RANLIB}" \
12417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12418 mostlyclean) \
12419 || exit 1
12421 @endif gas
12423 .PHONY: maybe-clean-gas clean-gas
12424 maybe-clean-gas:
12425 @if gas
12426 maybe-clean-gas: clean-gas
12428 clean-gas:
12429 @[ -f ./gas/Makefile ] || exit 0; \
12430 r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 $(HOST_EXPORTS) \
12433 for flag in $(EXTRA_HOST_FLAGS) ; do \
12434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12435 done; \
12436 echo "Doing clean in gas" ; \
12437 (cd $(HOST_SUBDIR)/gas && \
12438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12440 "RANLIB=$${RANLIB}" \
12441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12442 clean) \
12443 || exit 1
12445 @endif gas
12447 .PHONY: maybe-distclean-gas distclean-gas
12448 maybe-distclean-gas:
12449 @if gas
12450 maybe-distclean-gas: distclean-gas
12452 distclean-gas:
12453 @[ -f ./gas/Makefile ] || exit 0; \
12454 r=`${PWD_COMMAND}`; export r; \
12455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12456 $(HOST_EXPORTS) \
12457 for flag in $(EXTRA_HOST_FLAGS) ; do \
12458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12459 done; \
12460 echo "Doing distclean in gas" ; \
12461 (cd $(HOST_SUBDIR)/gas && \
12462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12464 "RANLIB=$${RANLIB}" \
12465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12466 distclean) \
12467 || exit 1
12469 @endif gas
12471 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12472 maybe-maintainer-clean-gas:
12473 @if gas
12474 maybe-maintainer-clean-gas: maintainer-clean-gas
12476 maintainer-clean-gas:
12477 @[ -f ./gas/Makefile ] || exit 0; \
12478 r=`${PWD_COMMAND}`; export r; \
12479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12480 $(HOST_EXPORTS) \
12481 for flag in $(EXTRA_HOST_FLAGS) ; do \
12482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12483 done; \
12484 echo "Doing maintainer-clean in gas" ; \
12485 (cd $(HOST_SUBDIR)/gas && \
12486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12488 "RANLIB=$${RANLIB}" \
12489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12490 maintainer-clean) \
12491 || exit 1
12493 @endif gas
12497 .PHONY: configure-gcc maybe-configure-gcc
12498 maybe-configure-gcc:
12499 @if gcc-bootstrap
12500 configure-gcc: stage_current
12501 @endif gcc-bootstrap
12502 @if gcc
12503 maybe-configure-gcc: configure-gcc
12504 configure-gcc:
12505 @r=`${PWD_COMMAND}`; export r; \
12506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12507 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12509 $(HOST_EXPORTS) \
12510 echo Configuring in $(HOST_SUBDIR)/gcc; \
12511 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12512 case $(srcdir) in \
12513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12514 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12516 esac; \
12517 srcdiroption="--srcdir=$${topdir}/gcc"; \
12518 libsrcdir="$$s/gcc"; \
12519 $(SHELL) $${libsrcdir}/configure \
12520 $(HOST_CONFIGARGS) $${srcdiroption} \
12521 || exit 1
12522 @endif gcc
12526 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12527 maybe-configure-stage1-gcc:
12528 @if gcc-bootstrap
12529 maybe-configure-stage1-gcc: configure-stage1-gcc
12530 configure-stage1-gcc:
12531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12533 @r=`${PWD_COMMAND}`; export r; \
12534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12535 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12536 $(HOST_EXPORTS) \
12537 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12539 cd $(HOST_SUBDIR)/gcc || exit 1; \
12540 case $(srcdir) in \
12541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12542 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12544 esac; \
12545 srcdiroption="--srcdir=$${topdir}/gcc"; \
12546 libsrcdir="$$s/gcc"; \
12547 $(SHELL) $${libsrcdir}/configure \
12548 $(HOST_CONFIGARGS) $${srcdiroption} \
12550 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12551 @endif gcc-bootstrap
12553 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12554 maybe-configure-stage2-gcc:
12555 @if gcc-bootstrap
12556 maybe-configure-stage2-gcc: configure-stage2-gcc
12557 configure-stage2-gcc:
12558 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12559 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12560 @r=`${PWD_COMMAND}`; export r; \
12561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12562 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12563 $(HOST_EXPORTS) \
12564 $(POSTSTAGE1_HOST_EXPORTS) \
12565 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12567 cd $(HOST_SUBDIR)/gcc || exit 1; \
12568 case $(srcdir) in \
12569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12570 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12572 esac; \
12573 srcdiroption="--srcdir=$${topdir}/gcc"; \
12574 libsrcdir="$$s/gcc"; \
12575 $(SHELL) $${libsrcdir}/configure \
12576 $(HOST_CONFIGARGS) $${srcdiroption} \
12577 --with-build-libsubdir=$(HOST_SUBDIR) \
12578 @stage2_werror_flag@
12579 @endif gcc-bootstrap
12581 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12582 maybe-configure-stage3-gcc:
12583 @if gcc-bootstrap
12584 maybe-configure-stage3-gcc: configure-stage3-gcc
12585 configure-stage3-gcc:
12586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12588 @r=`${PWD_COMMAND}`; export r; \
12589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12590 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12591 $(HOST_EXPORTS) \
12592 $(POSTSTAGE1_HOST_EXPORTS) \
12593 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12595 cd $(HOST_SUBDIR)/gcc || exit 1; \
12596 case $(srcdir) in \
12597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12598 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12600 esac; \
12601 srcdiroption="--srcdir=$${topdir}/gcc"; \
12602 libsrcdir="$$s/gcc"; \
12603 $(SHELL) $${libsrcdir}/configure \
12604 $(HOST_CONFIGARGS) $${srcdiroption} \
12605 --with-build-libsubdir=$(HOST_SUBDIR) \
12606 @stage2_werror_flag@
12607 @endif gcc-bootstrap
12609 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12610 maybe-configure-stage4-gcc:
12611 @if gcc-bootstrap
12612 maybe-configure-stage4-gcc: configure-stage4-gcc
12613 configure-stage4-gcc:
12614 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12616 @r=`${PWD_COMMAND}`; export r; \
12617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12618 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12619 $(HOST_EXPORTS) \
12620 $(POSTSTAGE1_HOST_EXPORTS) \
12621 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12623 cd $(HOST_SUBDIR)/gcc || exit 1; \
12624 case $(srcdir) in \
12625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12626 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12628 esac; \
12629 srcdiroption="--srcdir=$${topdir}/gcc"; \
12630 libsrcdir="$$s/gcc"; \
12631 $(SHELL) $${libsrcdir}/configure \
12632 $(HOST_CONFIGARGS) $${srcdiroption} \
12633 --with-build-libsubdir=$(HOST_SUBDIR) \
12634 @stage2_werror_flag@
12635 @endif gcc-bootstrap
12637 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12638 maybe-configure-stageprofile-gcc:
12639 @if gcc-bootstrap
12640 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12641 configure-stageprofile-gcc:
12642 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12644 @r=`${PWD_COMMAND}`; export r; \
12645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12646 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12647 $(HOST_EXPORTS) \
12648 $(POSTSTAGE1_HOST_EXPORTS) \
12649 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12651 cd $(HOST_SUBDIR)/gcc || exit 1; \
12652 case $(srcdir) in \
12653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12654 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12656 esac; \
12657 srcdiroption="--srcdir=$${topdir}/gcc"; \
12658 libsrcdir="$$s/gcc"; \
12659 $(SHELL) $${libsrcdir}/configure \
12660 $(HOST_CONFIGARGS) $${srcdiroption} \
12661 --with-build-libsubdir=$(HOST_SUBDIR) \
12662 @stage2_werror_flag@
12663 @endif gcc-bootstrap
12665 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12666 maybe-configure-stagefeedback-gcc:
12667 @if gcc-bootstrap
12668 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12669 configure-stagefeedback-gcc:
12670 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12672 @r=`${PWD_COMMAND}`; export r; \
12673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12674 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12675 $(HOST_EXPORTS) \
12676 $(POSTSTAGE1_HOST_EXPORTS) \
12677 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12679 cd $(HOST_SUBDIR)/gcc || exit 1; \
12680 case $(srcdir) in \
12681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12682 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12684 esac; \
12685 srcdiroption="--srcdir=$${topdir}/gcc"; \
12686 libsrcdir="$$s/gcc"; \
12687 $(SHELL) $${libsrcdir}/configure \
12688 $(HOST_CONFIGARGS) $${srcdiroption} \
12689 --with-build-libsubdir=$(HOST_SUBDIR) \
12690 @stage2_werror_flag@
12691 @endif gcc-bootstrap
12697 .PHONY: all-gcc maybe-all-gcc
12698 maybe-all-gcc:
12699 @if gcc-bootstrap
12700 all-gcc: stage_current
12701 @endif gcc-bootstrap
12702 @if gcc
12703 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12704 maybe-all-gcc: all-gcc
12705 all-gcc: configure-gcc
12706 @r=`${PWD_COMMAND}`; export r; \
12707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12708 $(HOST_EXPORTS) \
12709 (cd $(HOST_SUBDIR)/gcc && \
12710 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12711 @endif gcc
12715 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12716 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12717 maybe-all-stage1-gcc:
12718 maybe-clean-stage1-gcc:
12719 @if gcc-bootstrap
12720 maybe-all-stage1-gcc: all-stage1-gcc
12721 all-stage1: all-stage1-gcc
12722 TARGET-stage1-gcc = $(TARGET-gcc)
12723 all-stage1-gcc: configure-stage1-gcc
12724 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12725 @r=`${PWD_COMMAND}`; export r; \
12726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12727 $(HOST_EXPORTS) \
12728 cd $(HOST_SUBDIR)/gcc && \
12729 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12730 $(TARGET-stage1-gcc)
12732 maybe-clean-stage1-gcc: clean-stage1-gcc
12733 clean-stage1: clean-stage1-gcc
12734 clean-stage1-gcc:
12735 @if [ $(current_stage) = stage1 ]; then \
12736 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12737 else \
12738 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12739 $(MAKE) stage1-start; \
12740 fi; \
12741 cd $(HOST_SUBDIR)/gcc && \
12742 $(MAKE) $(FLAGS_TO_PASS) \
12743 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12744 @endif gcc-bootstrap
12747 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12748 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12749 maybe-all-stage2-gcc:
12750 maybe-clean-stage2-gcc:
12751 @if gcc-bootstrap
12752 maybe-all-stage2-gcc: all-stage2-gcc
12753 all-stage2: all-stage2-gcc
12754 TARGET-stage2-gcc = $(TARGET-gcc)
12755 all-stage2-gcc: configure-stage2-gcc
12756 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12757 @r=`${PWD_COMMAND}`; export r; \
12758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 $(HOST_EXPORTS) \
12760 $(POSTSTAGE1_HOST_EXPORTS) \
12761 cd $(HOST_SUBDIR)/gcc && \
12762 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12763 $(TARGET-stage2-gcc)
12765 maybe-clean-stage2-gcc: clean-stage2-gcc
12766 clean-stage2: clean-stage2-gcc
12767 clean-stage2-gcc:
12768 @if [ $(current_stage) = stage2 ]; then \
12769 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12770 else \
12771 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12772 $(MAKE) stage2-start; \
12773 fi; \
12774 cd $(HOST_SUBDIR)/gcc && \
12775 $(MAKE) $(FLAGS_TO_PASS) \
12776 $(POSTSTAGE1_FLAGS_TO_PASS) \
12777 $(EXTRA_GCC_FLAGS) clean
12778 @endif gcc-bootstrap
12781 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12782 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12783 maybe-all-stage3-gcc:
12784 maybe-clean-stage3-gcc:
12785 @if gcc-bootstrap
12786 maybe-all-stage3-gcc: all-stage3-gcc
12787 all-stage3: all-stage3-gcc
12788 TARGET-stage3-gcc = $(TARGET-gcc)
12789 all-stage3-gcc: configure-stage3-gcc
12790 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12791 @r=`${PWD_COMMAND}`; export r; \
12792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12793 $(HOST_EXPORTS) \
12794 $(POSTSTAGE1_HOST_EXPORTS) \
12795 cd $(HOST_SUBDIR)/gcc && \
12796 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12797 $(TARGET-stage3-gcc)
12799 maybe-clean-stage3-gcc: clean-stage3-gcc
12800 clean-stage3: clean-stage3-gcc
12801 clean-stage3-gcc:
12802 @if [ $(current_stage) = stage3 ]; then \
12803 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12804 else \
12805 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12806 $(MAKE) stage3-start; \
12807 fi; \
12808 cd $(HOST_SUBDIR)/gcc && \
12809 $(MAKE) $(FLAGS_TO_PASS) \
12810 $(POSTSTAGE1_FLAGS_TO_PASS) \
12811 $(EXTRA_GCC_FLAGS) clean
12812 @endif gcc-bootstrap
12815 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12816 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12817 maybe-all-stage4-gcc:
12818 maybe-clean-stage4-gcc:
12819 @if gcc-bootstrap
12820 maybe-all-stage4-gcc: all-stage4-gcc
12821 all-stage4: all-stage4-gcc
12822 TARGET-stage4-gcc = $(TARGET-gcc)
12823 all-stage4-gcc: configure-stage4-gcc
12824 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12825 @r=`${PWD_COMMAND}`; export r; \
12826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12827 $(HOST_EXPORTS) \
12828 $(POSTSTAGE1_HOST_EXPORTS) \
12829 cd $(HOST_SUBDIR)/gcc && \
12830 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12831 $(TARGET-stage4-gcc)
12833 maybe-clean-stage4-gcc: clean-stage4-gcc
12834 clean-stage4: clean-stage4-gcc
12835 clean-stage4-gcc:
12836 @if [ $(current_stage) = stage4 ]; then \
12837 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12838 else \
12839 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12840 $(MAKE) stage4-start; \
12841 fi; \
12842 cd $(HOST_SUBDIR)/gcc && \
12843 $(MAKE) $(FLAGS_TO_PASS) \
12844 $(POSTSTAGE1_FLAGS_TO_PASS) \
12845 $(EXTRA_GCC_FLAGS) clean
12846 @endif gcc-bootstrap
12849 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12850 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12851 maybe-all-stageprofile-gcc:
12852 maybe-clean-stageprofile-gcc:
12853 @if gcc-bootstrap
12854 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12855 all-stageprofile: all-stageprofile-gcc
12856 TARGET-stageprofile-gcc = $(TARGET-gcc)
12857 all-stageprofile-gcc: configure-stageprofile-gcc
12858 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12859 @r=`${PWD_COMMAND}`; export r; \
12860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12861 $(HOST_EXPORTS) \
12862 $(POSTSTAGE1_HOST_EXPORTS) \
12863 cd $(HOST_SUBDIR)/gcc && \
12864 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12865 $(TARGET-stageprofile-gcc)
12867 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12868 clean-stageprofile: clean-stageprofile-gcc
12869 clean-stageprofile-gcc:
12870 @if [ $(current_stage) = stageprofile ]; then \
12871 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12872 else \
12873 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12874 $(MAKE) stageprofile-start; \
12875 fi; \
12876 cd $(HOST_SUBDIR)/gcc && \
12877 $(MAKE) $(FLAGS_TO_PASS) \
12878 $(POSTSTAGE1_FLAGS_TO_PASS) \
12879 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12880 @endif gcc-bootstrap
12883 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12884 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12885 maybe-all-stagefeedback-gcc:
12886 maybe-clean-stagefeedback-gcc:
12887 @if gcc-bootstrap
12888 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12889 all-stagefeedback: all-stagefeedback-gcc
12890 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12891 all-stagefeedback-gcc: configure-stagefeedback-gcc
12892 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12893 @r=`${PWD_COMMAND}`; export r; \
12894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12895 $(HOST_EXPORTS) \
12896 $(POSTSTAGE1_HOST_EXPORTS) \
12897 cd $(HOST_SUBDIR)/gcc && \
12898 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12899 $(TARGET-stagefeedback-gcc)
12901 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12902 clean-stagefeedback: clean-stagefeedback-gcc
12903 clean-stagefeedback-gcc:
12904 @if [ $(current_stage) = stagefeedback ]; then \
12905 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12906 else \
12907 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12908 $(MAKE) stagefeedback-start; \
12909 fi; \
12910 cd $(HOST_SUBDIR)/gcc && \
12911 $(MAKE) $(FLAGS_TO_PASS) \
12912 $(POSTSTAGE1_FLAGS_TO_PASS) \
12913 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12914 @endif gcc-bootstrap
12920 .PHONY: check-gcc maybe-check-gcc
12921 maybe-check-gcc:
12922 @if gcc
12923 maybe-check-gcc: check-gcc
12925 check-gcc:
12926 @: $(MAKE); $(unstage)
12927 @r=`${PWD_COMMAND}`; export r; \
12928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12929 $(HOST_EXPORTS) \
12930 (cd $(HOST_SUBDIR)/gcc && \
12931 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12933 @endif gcc
12935 .PHONY: install-gcc maybe-install-gcc
12936 maybe-install-gcc:
12937 @if gcc
12938 maybe-install-gcc: install-gcc
12940 install-gcc: installdirs
12941 @: $(MAKE); $(unstage)
12942 @r=`${PWD_COMMAND}`; export r; \
12943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12944 $(HOST_EXPORTS) \
12945 (cd $(HOST_SUBDIR)/gcc && \
12946 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12948 @endif gcc
12950 # Other targets (info, dvi, pdf, etc.)
12952 .PHONY: maybe-info-gcc info-gcc
12953 maybe-info-gcc:
12954 @if gcc
12955 maybe-info-gcc: info-gcc
12957 info-gcc: \
12958 configure-gcc
12959 @[ -f ./gcc/Makefile ] || exit 0; \
12960 r=`${PWD_COMMAND}`; export r; \
12961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12962 $(HOST_EXPORTS) \
12963 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12965 done; \
12966 echo "Doing info in gcc" ; \
12967 (cd $(HOST_SUBDIR)/gcc && \
12968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12970 "RANLIB=$${RANLIB}" \
12971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12972 info) \
12973 || exit 1
12975 @endif gcc
12977 .PHONY: maybe-dvi-gcc dvi-gcc
12978 maybe-dvi-gcc:
12979 @if gcc
12980 maybe-dvi-gcc: dvi-gcc
12982 dvi-gcc: \
12983 configure-gcc
12984 @[ -f ./gcc/Makefile ] || exit 0; \
12985 r=`${PWD_COMMAND}`; export r; \
12986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12987 $(HOST_EXPORTS) \
12988 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12990 done; \
12991 echo "Doing dvi in gcc" ; \
12992 (cd $(HOST_SUBDIR)/gcc && \
12993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12995 "RANLIB=$${RANLIB}" \
12996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12997 dvi) \
12998 || exit 1
13000 @endif gcc
13002 .PHONY: maybe-pdf-gcc pdf-gcc
13003 maybe-pdf-gcc:
13004 @if gcc
13005 maybe-pdf-gcc: pdf-gcc
13007 pdf-gcc: \
13008 configure-gcc
13009 @[ -f ./gcc/Makefile ] || exit 0; \
13010 r=`${PWD_COMMAND}`; export r; \
13011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13012 $(HOST_EXPORTS) \
13013 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13015 done; \
13016 echo "Doing pdf in gcc" ; \
13017 (cd $(HOST_SUBDIR)/gcc && \
13018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13020 "RANLIB=$${RANLIB}" \
13021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13022 pdf) \
13023 || exit 1
13025 @endif gcc
13027 .PHONY: maybe-html-gcc html-gcc
13028 maybe-html-gcc:
13029 @if gcc
13030 maybe-html-gcc: html-gcc
13032 html-gcc: \
13033 configure-gcc
13034 @[ -f ./gcc/Makefile ] || exit 0; \
13035 r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 $(HOST_EXPORTS) \
13038 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13040 done; \
13041 echo "Doing html in gcc" ; \
13042 (cd $(HOST_SUBDIR)/gcc && \
13043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13045 "RANLIB=$${RANLIB}" \
13046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13047 html) \
13048 || exit 1
13050 @endif gcc
13052 .PHONY: maybe-TAGS-gcc TAGS-gcc
13053 maybe-TAGS-gcc:
13054 @if gcc
13055 maybe-TAGS-gcc: TAGS-gcc
13057 TAGS-gcc: \
13058 configure-gcc
13059 @[ -f ./gcc/Makefile ] || exit 0; \
13060 r=`${PWD_COMMAND}`; export r; \
13061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13062 $(HOST_EXPORTS) \
13063 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13065 done; \
13066 echo "Doing TAGS in gcc" ; \
13067 (cd $(HOST_SUBDIR)/gcc && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13070 "RANLIB=$${RANLIB}" \
13071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13072 TAGS) \
13073 || exit 1
13075 @endif gcc
13077 .PHONY: maybe-install-info-gcc install-info-gcc
13078 maybe-install-info-gcc:
13079 @if gcc
13080 maybe-install-info-gcc: install-info-gcc
13082 install-info-gcc: \
13083 configure-gcc \
13084 info-gcc
13085 @[ -f ./gcc/Makefile ] || exit 0; \
13086 r=`${PWD_COMMAND}`; export r; \
13087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13088 $(HOST_EXPORTS) \
13089 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13091 done; \
13092 echo "Doing install-info in gcc" ; \
13093 (cd $(HOST_SUBDIR)/gcc && \
13094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13096 "RANLIB=$${RANLIB}" \
13097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13098 install-info) \
13099 || exit 1
13101 @endif gcc
13103 .PHONY: maybe-install-html-gcc install-html-gcc
13104 maybe-install-html-gcc:
13105 @if gcc
13106 maybe-install-html-gcc: install-html-gcc
13108 install-html-gcc: \
13109 configure-gcc \
13110 html-gcc
13111 @[ -f ./gcc/Makefile ] || exit 0; \
13112 r=`${PWD_COMMAND}`; export r; \
13113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13114 $(HOST_EXPORTS) \
13115 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13117 done; \
13118 echo "Doing install-html in gcc" ; \
13119 (cd $(HOST_SUBDIR)/gcc && \
13120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13122 "RANLIB=$${RANLIB}" \
13123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13124 install-html) \
13125 || exit 1
13127 @endif gcc
13129 .PHONY: maybe-installcheck-gcc installcheck-gcc
13130 maybe-installcheck-gcc:
13131 @if gcc
13132 maybe-installcheck-gcc: installcheck-gcc
13134 installcheck-gcc: \
13135 configure-gcc
13136 @[ -f ./gcc/Makefile ] || exit 0; \
13137 r=`${PWD_COMMAND}`; export r; \
13138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13139 $(HOST_EXPORTS) \
13140 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13142 done; \
13143 echo "Doing installcheck in gcc" ; \
13144 (cd $(HOST_SUBDIR)/gcc && \
13145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13147 "RANLIB=$${RANLIB}" \
13148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13149 installcheck) \
13150 || exit 1
13152 @endif gcc
13154 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13155 maybe-mostlyclean-gcc:
13156 @if gcc
13157 maybe-mostlyclean-gcc: mostlyclean-gcc
13159 mostlyclean-gcc:
13160 @[ -f ./gcc/Makefile ] || exit 0; \
13161 r=`${PWD_COMMAND}`; export r; \
13162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13163 $(HOST_EXPORTS) \
13164 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13166 done; \
13167 echo "Doing mostlyclean in gcc" ; \
13168 (cd $(HOST_SUBDIR)/gcc && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13171 "RANLIB=$${RANLIB}" \
13172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13173 mostlyclean) \
13174 || exit 1
13176 @endif gcc
13178 .PHONY: maybe-clean-gcc clean-gcc
13179 maybe-clean-gcc:
13180 @if gcc
13181 maybe-clean-gcc: clean-gcc
13183 clean-gcc:
13184 @[ -f ./gcc/Makefile ] || exit 0; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187 $(HOST_EXPORTS) \
13188 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13190 done; \
13191 echo "Doing clean in gcc" ; \
13192 (cd $(HOST_SUBDIR)/gcc && \
13193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13195 "RANLIB=$${RANLIB}" \
13196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13197 clean) \
13198 || exit 1
13200 @endif gcc
13202 .PHONY: maybe-distclean-gcc distclean-gcc
13203 maybe-distclean-gcc:
13204 @if gcc
13205 maybe-distclean-gcc: distclean-gcc
13207 distclean-gcc:
13208 @[ -f ./gcc/Makefile ] || exit 0; \
13209 r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 $(HOST_EXPORTS) \
13212 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13214 done; \
13215 echo "Doing distclean in gcc" ; \
13216 (cd $(HOST_SUBDIR)/gcc && \
13217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13219 "RANLIB=$${RANLIB}" \
13220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13221 distclean) \
13222 || exit 1
13224 @endif gcc
13226 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13227 maybe-maintainer-clean-gcc:
13228 @if gcc
13229 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13231 maintainer-clean-gcc:
13232 @[ -f ./gcc/Makefile ] || exit 0; \
13233 r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 $(HOST_EXPORTS) \
13236 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 done; \
13239 echo "Doing maintainer-clean in gcc" ; \
13240 (cd $(HOST_SUBDIR)/gcc && \
13241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13243 "RANLIB=$${RANLIB}" \
13244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13245 maintainer-clean) \
13246 || exit 1
13248 @endif gcc
13252 .PHONY: configure-gawk maybe-configure-gawk
13253 maybe-configure-gawk:
13254 @if gcc-bootstrap
13255 configure-gawk: stage_current
13256 @endif gcc-bootstrap
13257 @if gawk
13258 maybe-configure-gawk: configure-gawk
13259 configure-gawk:
13260 @: $(MAKE); $(unstage)
13261 @r=`${PWD_COMMAND}`; export r; \
13262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13263 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13265 $(HOST_EXPORTS) \
13266 echo Configuring in $(HOST_SUBDIR)/gawk; \
13267 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13268 case $(srcdir) in \
13269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13270 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13272 esac; \
13273 srcdiroption="--srcdir=$${topdir}/gawk"; \
13274 libsrcdir="$$s/gawk"; \
13275 $(SHELL) $${libsrcdir}/configure \
13276 $(HOST_CONFIGARGS) $${srcdiroption} \
13277 || exit 1
13278 @endif gawk
13284 .PHONY: all-gawk maybe-all-gawk
13285 maybe-all-gawk:
13286 @if gcc-bootstrap
13287 all-gawk: stage_current
13288 @endif gcc-bootstrap
13289 @if gawk
13290 TARGET-gawk=all
13291 maybe-all-gawk: all-gawk
13292 all-gawk: configure-gawk
13293 @: $(MAKE); $(unstage)
13294 @r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 $(HOST_EXPORTS) \
13297 (cd $(HOST_SUBDIR)/gawk && \
13298 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13299 @endif gawk
13304 .PHONY: check-gawk maybe-check-gawk
13305 maybe-check-gawk:
13306 @if gawk
13307 maybe-check-gawk: check-gawk
13309 check-gawk:
13310 @: $(MAKE); $(unstage)
13311 @r=`${PWD_COMMAND}`; export r; \
13312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13313 $(HOST_EXPORTS) \
13314 (cd $(HOST_SUBDIR)/gawk && \
13315 $(MAKE) $(FLAGS_TO_PASS) check)
13317 @endif gawk
13319 .PHONY: install-gawk maybe-install-gawk
13320 maybe-install-gawk:
13321 @if gawk
13322 maybe-install-gawk: install-gawk
13324 install-gawk: installdirs
13325 @: $(MAKE); $(unstage)
13326 @r=`${PWD_COMMAND}`; export r; \
13327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 $(HOST_EXPORTS) \
13329 (cd $(HOST_SUBDIR)/gawk && \
13330 $(MAKE) $(FLAGS_TO_PASS) install)
13332 @endif gawk
13334 # Other targets (info, dvi, pdf, etc.)
13336 .PHONY: maybe-info-gawk info-gawk
13337 maybe-info-gawk:
13338 @if gawk
13339 maybe-info-gawk: info-gawk
13341 info-gawk: \
13342 configure-gawk
13343 @: $(MAKE); $(unstage)
13344 @[ -f ./gawk/Makefile ] || exit 0; \
13345 r=`${PWD_COMMAND}`; export r; \
13346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13347 $(HOST_EXPORTS) \
13348 for flag in $(EXTRA_HOST_FLAGS) ; do \
13349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13350 done; \
13351 echo "Doing info in gawk" ; \
13352 (cd $(HOST_SUBDIR)/gawk && \
13353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13355 "RANLIB=$${RANLIB}" \
13356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13357 info) \
13358 || exit 1
13360 @endif gawk
13362 .PHONY: maybe-dvi-gawk dvi-gawk
13363 maybe-dvi-gawk:
13364 @if gawk
13365 maybe-dvi-gawk: dvi-gawk
13367 dvi-gawk: \
13368 configure-gawk
13369 @: $(MAKE); $(unstage)
13370 @[ -f ./gawk/Makefile ] || exit 0; \
13371 r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 $(HOST_EXPORTS) \
13374 for flag in $(EXTRA_HOST_FLAGS) ; do \
13375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13376 done; \
13377 echo "Doing dvi in gawk" ; \
13378 (cd $(HOST_SUBDIR)/gawk && \
13379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13381 "RANLIB=$${RANLIB}" \
13382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13383 dvi) \
13384 || exit 1
13386 @endif gawk
13388 .PHONY: maybe-pdf-gawk pdf-gawk
13389 maybe-pdf-gawk:
13390 @if gawk
13391 maybe-pdf-gawk: pdf-gawk
13393 pdf-gawk: \
13394 configure-gawk
13395 @: $(MAKE); $(unstage)
13396 @[ -f ./gawk/Makefile ] || exit 0; \
13397 r=`${PWD_COMMAND}`; export r; \
13398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13399 $(HOST_EXPORTS) \
13400 for flag in $(EXTRA_HOST_FLAGS) ; do \
13401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13402 done; \
13403 echo "Doing pdf in gawk" ; \
13404 (cd $(HOST_SUBDIR)/gawk && \
13405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13407 "RANLIB=$${RANLIB}" \
13408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13409 pdf) \
13410 || exit 1
13412 @endif gawk
13414 .PHONY: maybe-html-gawk html-gawk
13415 maybe-html-gawk:
13416 @if gawk
13417 maybe-html-gawk: html-gawk
13419 html-gawk: \
13420 configure-gawk
13421 @: $(MAKE); $(unstage)
13422 @[ -f ./gawk/Makefile ] || exit 0; \
13423 r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 $(HOST_EXPORTS) \
13426 for flag in $(EXTRA_HOST_FLAGS) ; do \
13427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13428 done; \
13429 echo "Doing html in gawk" ; \
13430 (cd $(HOST_SUBDIR)/gawk && \
13431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13433 "RANLIB=$${RANLIB}" \
13434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13435 html) \
13436 || exit 1
13438 @endif gawk
13440 .PHONY: maybe-TAGS-gawk TAGS-gawk
13441 maybe-TAGS-gawk:
13442 @if gawk
13443 maybe-TAGS-gawk: TAGS-gawk
13445 TAGS-gawk: \
13446 configure-gawk
13447 @: $(MAKE); $(unstage)
13448 @[ -f ./gawk/Makefile ] || exit 0; \
13449 r=`${PWD_COMMAND}`; export r; \
13450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 $(HOST_EXPORTS) \
13452 for flag in $(EXTRA_HOST_FLAGS) ; do \
13453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13454 done; \
13455 echo "Doing TAGS in gawk" ; \
13456 (cd $(HOST_SUBDIR)/gawk && \
13457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13459 "RANLIB=$${RANLIB}" \
13460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13461 TAGS) \
13462 || exit 1
13464 @endif gawk
13466 .PHONY: maybe-install-info-gawk install-info-gawk
13467 maybe-install-info-gawk:
13468 @if gawk
13469 maybe-install-info-gawk: install-info-gawk
13471 install-info-gawk: \
13472 configure-gawk \
13473 info-gawk
13474 @: $(MAKE); $(unstage)
13475 @[ -f ./gawk/Makefile ] || exit 0; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478 $(HOST_EXPORTS) \
13479 for flag in $(EXTRA_HOST_FLAGS) ; do \
13480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13481 done; \
13482 echo "Doing install-info in gawk" ; \
13483 (cd $(HOST_SUBDIR)/gawk && \
13484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13486 "RANLIB=$${RANLIB}" \
13487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13488 install-info) \
13489 || exit 1
13491 @endif gawk
13493 .PHONY: maybe-install-html-gawk install-html-gawk
13494 maybe-install-html-gawk:
13495 @if gawk
13496 maybe-install-html-gawk: install-html-gawk
13498 install-html-gawk: \
13499 configure-gawk \
13500 html-gawk
13501 @: $(MAKE); $(unstage)
13502 @[ -f ./gawk/Makefile ] || exit 0; \
13503 r=`${PWD_COMMAND}`; export r; \
13504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13505 $(HOST_EXPORTS) \
13506 for flag in $(EXTRA_HOST_FLAGS) ; do \
13507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13508 done; \
13509 echo "Doing install-html in gawk" ; \
13510 (cd $(HOST_SUBDIR)/gawk && \
13511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13513 "RANLIB=$${RANLIB}" \
13514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13515 install-html) \
13516 || exit 1
13518 @endif gawk
13520 .PHONY: maybe-installcheck-gawk installcheck-gawk
13521 maybe-installcheck-gawk:
13522 @if gawk
13523 maybe-installcheck-gawk: installcheck-gawk
13525 installcheck-gawk: \
13526 configure-gawk
13527 @: $(MAKE); $(unstage)
13528 @[ -f ./gawk/Makefile ] || exit 0; \
13529 r=`${PWD_COMMAND}`; export r; \
13530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13531 $(HOST_EXPORTS) \
13532 for flag in $(EXTRA_HOST_FLAGS) ; do \
13533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13534 done; \
13535 echo "Doing installcheck in gawk" ; \
13536 (cd $(HOST_SUBDIR)/gawk && \
13537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13539 "RANLIB=$${RANLIB}" \
13540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13541 installcheck) \
13542 || exit 1
13544 @endif gawk
13546 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13547 maybe-mostlyclean-gawk:
13548 @if gawk
13549 maybe-mostlyclean-gawk: mostlyclean-gawk
13551 mostlyclean-gawk:
13552 @: $(MAKE); $(unstage)
13553 @[ -f ./gawk/Makefile ] || exit 0; \
13554 r=`${PWD_COMMAND}`; export r; \
13555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13556 $(HOST_EXPORTS) \
13557 for flag in $(EXTRA_HOST_FLAGS) ; do \
13558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13559 done; \
13560 echo "Doing mostlyclean in gawk" ; \
13561 (cd $(HOST_SUBDIR)/gawk && \
13562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13564 "RANLIB=$${RANLIB}" \
13565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13566 mostlyclean) \
13567 || exit 1
13569 @endif gawk
13571 .PHONY: maybe-clean-gawk clean-gawk
13572 maybe-clean-gawk:
13573 @if gawk
13574 maybe-clean-gawk: clean-gawk
13576 clean-gawk:
13577 @: $(MAKE); $(unstage)
13578 @[ -f ./gawk/Makefile ] || exit 0; \
13579 r=`${PWD_COMMAND}`; export r; \
13580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13581 $(HOST_EXPORTS) \
13582 for flag in $(EXTRA_HOST_FLAGS) ; do \
13583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 done; \
13585 echo "Doing clean in gawk" ; \
13586 (cd $(HOST_SUBDIR)/gawk && \
13587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13589 "RANLIB=$${RANLIB}" \
13590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13591 clean) \
13592 || exit 1
13594 @endif gawk
13596 .PHONY: maybe-distclean-gawk distclean-gawk
13597 maybe-distclean-gawk:
13598 @if gawk
13599 maybe-distclean-gawk: distclean-gawk
13601 distclean-gawk:
13602 @: $(MAKE); $(unstage)
13603 @[ -f ./gawk/Makefile ] || exit 0; \
13604 r=`${PWD_COMMAND}`; export r; \
13605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13606 $(HOST_EXPORTS) \
13607 for flag in $(EXTRA_HOST_FLAGS) ; do \
13608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13609 done; \
13610 echo "Doing distclean in gawk" ; \
13611 (cd $(HOST_SUBDIR)/gawk && \
13612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13614 "RANLIB=$${RANLIB}" \
13615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13616 distclean) \
13617 || exit 1
13619 @endif gawk
13621 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13622 maybe-maintainer-clean-gawk:
13623 @if gawk
13624 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13626 maintainer-clean-gawk:
13627 @: $(MAKE); $(unstage)
13628 @[ -f ./gawk/Makefile ] || exit 0; \
13629 r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 $(HOST_EXPORTS) \
13632 for flag in $(EXTRA_HOST_FLAGS) ; do \
13633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 done; \
13635 echo "Doing maintainer-clean in gawk" ; \
13636 (cd $(HOST_SUBDIR)/gawk && \
13637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13639 "RANLIB=$${RANLIB}" \
13640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13641 maintainer-clean) \
13642 || exit 1
13644 @endif gawk
13648 .PHONY: configure-gettext maybe-configure-gettext
13649 maybe-configure-gettext:
13650 @if gcc-bootstrap
13651 configure-gettext: stage_current
13652 @endif gcc-bootstrap
13653 @if gettext
13654 maybe-configure-gettext: configure-gettext
13655 configure-gettext:
13656 @: $(MAKE); $(unstage)
13657 @r=`${PWD_COMMAND}`; export r; \
13658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13659 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13661 $(HOST_EXPORTS) \
13662 echo Configuring in $(HOST_SUBDIR)/gettext; \
13663 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13664 case $(srcdir) in \
13665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13666 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13668 esac; \
13669 srcdiroption="--srcdir=$${topdir}/gettext"; \
13670 libsrcdir="$$s/gettext"; \
13671 $(SHELL) $${libsrcdir}/configure \
13672 $(HOST_CONFIGARGS) $${srcdiroption} \
13673 || exit 1
13674 @endif gettext
13680 .PHONY: all-gettext maybe-all-gettext
13681 maybe-all-gettext:
13682 @if gcc-bootstrap
13683 all-gettext: stage_current
13684 @endif gcc-bootstrap
13685 @if gettext
13686 TARGET-gettext=all
13687 maybe-all-gettext: all-gettext
13688 all-gettext: configure-gettext
13689 @: $(MAKE); $(unstage)
13690 @r=`${PWD_COMMAND}`; export r; \
13691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13692 $(HOST_EXPORTS) \
13693 (cd $(HOST_SUBDIR)/gettext && \
13694 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13695 @endif gettext
13700 .PHONY: check-gettext maybe-check-gettext
13701 maybe-check-gettext:
13702 @if gettext
13703 maybe-check-gettext: check-gettext
13705 check-gettext:
13706 @: $(MAKE); $(unstage)
13707 @r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(HOST_EXPORTS) \
13710 (cd $(HOST_SUBDIR)/gettext && \
13711 $(MAKE) $(FLAGS_TO_PASS) check)
13713 @endif gettext
13715 .PHONY: install-gettext maybe-install-gettext
13716 maybe-install-gettext:
13717 @if gettext
13718 maybe-install-gettext: install-gettext
13720 install-gettext: installdirs
13721 @: $(MAKE); $(unstage)
13722 @r=`${PWD_COMMAND}`; export r; \
13723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13724 $(HOST_EXPORTS) \
13725 (cd $(HOST_SUBDIR)/gettext && \
13726 $(MAKE) $(FLAGS_TO_PASS) install)
13728 @endif gettext
13730 # Other targets (info, dvi, pdf, etc.)
13732 .PHONY: maybe-info-gettext info-gettext
13733 maybe-info-gettext:
13734 @if gettext
13735 maybe-info-gettext: info-gettext
13737 info-gettext: \
13738 configure-gettext
13739 @: $(MAKE); $(unstage)
13740 @[ -f ./gettext/Makefile ] || exit 0; \
13741 r=`${PWD_COMMAND}`; export r; \
13742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13743 $(HOST_EXPORTS) \
13744 for flag in $(EXTRA_HOST_FLAGS) ; do \
13745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13746 done; \
13747 echo "Doing info in gettext" ; \
13748 (cd $(HOST_SUBDIR)/gettext && \
13749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13751 "RANLIB=$${RANLIB}" \
13752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13753 info) \
13754 || exit 1
13756 @endif gettext
13758 .PHONY: maybe-dvi-gettext dvi-gettext
13759 maybe-dvi-gettext:
13760 @if gettext
13761 maybe-dvi-gettext: dvi-gettext
13763 dvi-gettext: \
13764 configure-gettext
13765 @: $(MAKE); $(unstage)
13766 @[ -f ./gettext/Makefile ] || exit 0; \
13767 r=`${PWD_COMMAND}`; export r; \
13768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13769 $(HOST_EXPORTS) \
13770 for flag in $(EXTRA_HOST_FLAGS) ; do \
13771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13772 done; \
13773 echo "Doing dvi in gettext" ; \
13774 (cd $(HOST_SUBDIR)/gettext && \
13775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13777 "RANLIB=$${RANLIB}" \
13778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13779 dvi) \
13780 || exit 1
13782 @endif gettext
13784 .PHONY: maybe-pdf-gettext pdf-gettext
13785 maybe-pdf-gettext:
13786 @if gettext
13787 maybe-pdf-gettext: pdf-gettext
13789 pdf-gettext: \
13790 configure-gettext
13791 @: $(MAKE); $(unstage)
13792 @[ -f ./gettext/Makefile ] || exit 0; \
13793 r=`${PWD_COMMAND}`; export r; \
13794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13795 $(HOST_EXPORTS) \
13796 for flag in $(EXTRA_HOST_FLAGS) ; do \
13797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13798 done; \
13799 echo "Doing pdf in gettext" ; \
13800 (cd $(HOST_SUBDIR)/gettext && \
13801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13803 "RANLIB=$${RANLIB}" \
13804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13805 pdf) \
13806 || exit 1
13808 @endif gettext
13810 .PHONY: maybe-html-gettext html-gettext
13811 maybe-html-gettext:
13812 @if gettext
13813 maybe-html-gettext: html-gettext
13815 html-gettext: \
13816 configure-gettext
13817 @: $(MAKE); $(unstage)
13818 @[ -f ./gettext/Makefile ] || exit 0; \
13819 r=`${PWD_COMMAND}`; export r; \
13820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13821 $(HOST_EXPORTS) \
13822 for flag in $(EXTRA_HOST_FLAGS) ; do \
13823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13824 done; \
13825 echo "Doing html in gettext" ; \
13826 (cd $(HOST_SUBDIR)/gettext && \
13827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13829 "RANLIB=$${RANLIB}" \
13830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13831 html) \
13832 || exit 1
13834 @endif gettext
13836 .PHONY: maybe-TAGS-gettext TAGS-gettext
13837 maybe-TAGS-gettext:
13838 @if gettext
13839 maybe-TAGS-gettext: TAGS-gettext
13841 TAGS-gettext: \
13842 configure-gettext
13843 @: $(MAKE); $(unstage)
13844 @[ -f ./gettext/Makefile ] || exit 0; \
13845 r=`${PWD_COMMAND}`; export r; \
13846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13847 $(HOST_EXPORTS) \
13848 for flag in $(EXTRA_HOST_FLAGS) ; do \
13849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13850 done; \
13851 echo "Doing TAGS in gettext" ; \
13852 (cd $(HOST_SUBDIR)/gettext && \
13853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13855 "RANLIB=$${RANLIB}" \
13856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13857 TAGS) \
13858 || exit 1
13860 @endif gettext
13862 .PHONY: maybe-install-info-gettext install-info-gettext
13863 maybe-install-info-gettext:
13864 @if gettext
13865 maybe-install-info-gettext: install-info-gettext
13867 install-info-gettext: \
13868 configure-gettext \
13869 info-gettext
13870 @: $(MAKE); $(unstage)
13871 @[ -f ./gettext/Makefile ] || exit 0; \
13872 r=`${PWD_COMMAND}`; export r; \
13873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13874 $(HOST_EXPORTS) \
13875 for flag in $(EXTRA_HOST_FLAGS) ; do \
13876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13877 done; \
13878 echo "Doing install-info in gettext" ; \
13879 (cd $(HOST_SUBDIR)/gettext && \
13880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13882 "RANLIB=$${RANLIB}" \
13883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13884 install-info) \
13885 || exit 1
13887 @endif gettext
13889 .PHONY: maybe-install-html-gettext install-html-gettext
13890 maybe-install-html-gettext:
13891 @if gettext
13892 maybe-install-html-gettext: install-html-gettext
13894 install-html-gettext: \
13895 configure-gettext \
13896 html-gettext
13897 @: $(MAKE); $(unstage)
13898 @[ -f ./gettext/Makefile ] || exit 0; \
13899 r=`${PWD_COMMAND}`; export r; \
13900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13901 $(HOST_EXPORTS) \
13902 for flag in $(EXTRA_HOST_FLAGS) ; do \
13903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13904 done; \
13905 echo "Doing install-html in gettext" ; \
13906 (cd $(HOST_SUBDIR)/gettext && \
13907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13909 "RANLIB=$${RANLIB}" \
13910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13911 install-html) \
13912 || exit 1
13914 @endif gettext
13916 .PHONY: maybe-installcheck-gettext installcheck-gettext
13917 maybe-installcheck-gettext:
13918 @if gettext
13919 maybe-installcheck-gettext: installcheck-gettext
13921 installcheck-gettext: \
13922 configure-gettext
13923 @: $(MAKE); $(unstage)
13924 @[ -f ./gettext/Makefile ] || exit 0; \
13925 r=`${PWD_COMMAND}`; export r; \
13926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13927 $(HOST_EXPORTS) \
13928 for flag in $(EXTRA_HOST_FLAGS) ; do \
13929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13930 done; \
13931 echo "Doing installcheck in gettext" ; \
13932 (cd $(HOST_SUBDIR)/gettext && \
13933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13935 "RANLIB=$${RANLIB}" \
13936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13937 installcheck) \
13938 || exit 1
13940 @endif gettext
13942 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13943 maybe-mostlyclean-gettext:
13944 @if gettext
13945 maybe-mostlyclean-gettext: mostlyclean-gettext
13947 mostlyclean-gettext:
13948 @: $(MAKE); $(unstage)
13949 @[ -f ./gettext/Makefile ] || exit 0; \
13950 r=`${PWD_COMMAND}`; export r; \
13951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13952 $(HOST_EXPORTS) \
13953 for flag in $(EXTRA_HOST_FLAGS) ; do \
13954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13955 done; \
13956 echo "Doing mostlyclean in gettext" ; \
13957 (cd $(HOST_SUBDIR)/gettext && \
13958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13960 "RANLIB=$${RANLIB}" \
13961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13962 mostlyclean) \
13963 || exit 1
13965 @endif gettext
13967 .PHONY: maybe-clean-gettext clean-gettext
13968 maybe-clean-gettext:
13969 @if gettext
13970 maybe-clean-gettext: clean-gettext
13972 clean-gettext:
13973 @: $(MAKE); $(unstage)
13974 @[ -f ./gettext/Makefile ] || exit 0; \
13975 r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977 $(HOST_EXPORTS) \
13978 for flag in $(EXTRA_HOST_FLAGS) ; do \
13979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13980 done; \
13981 echo "Doing clean in gettext" ; \
13982 (cd $(HOST_SUBDIR)/gettext && \
13983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13985 "RANLIB=$${RANLIB}" \
13986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13987 clean) \
13988 || exit 1
13990 @endif gettext
13992 .PHONY: maybe-distclean-gettext distclean-gettext
13993 maybe-distclean-gettext:
13994 @if gettext
13995 maybe-distclean-gettext: distclean-gettext
13997 distclean-gettext:
13998 @: $(MAKE); $(unstage)
13999 @[ -f ./gettext/Makefile ] || exit 0; \
14000 r=`${PWD_COMMAND}`; export r; \
14001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14002 $(HOST_EXPORTS) \
14003 for flag in $(EXTRA_HOST_FLAGS) ; do \
14004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14005 done; \
14006 echo "Doing distclean in gettext" ; \
14007 (cd $(HOST_SUBDIR)/gettext && \
14008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14010 "RANLIB=$${RANLIB}" \
14011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14012 distclean) \
14013 || exit 1
14015 @endif gettext
14017 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14018 maybe-maintainer-clean-gettext:
14019 @if gettext
14020 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14022 maintainer-clean-gettext:
14023 @: $(MAKE); $(unstage)
14024 @[ -f ./gettext/Makefile ] || exit 0; \
14025 r=`${PWD_COMMAND}`; export r; \
14026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14027 $(HOST_EXPORTS) \
14028 for flag in $(EXTRA_HOST_FLAGS) ; do \
14029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14030 done; \
14031 echo "Doing maintainer-clean in gettext" ; \
14032 (cd $(HOST_SUBDIR)/gettext && \
14033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14035 "RANLIB=$${RANLIB}" \
14036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14037 maintainer-clean) \
14038 || exit 1
14040 @endif gettext
14044 .PHONY: configure-gnuserv maybe-configure-gnuserv
14045 maybe-configure-gnuserv:
14046 @if gcc-bootstrap
14047 configure-gnuserv: stage_current
14048 @endif gcc-bootstrap
14049 @if gnuserv
14050 maybe-configure-gnuserv: configure-gnuserv
14051 configure-gnuserv:
14052 @: $(MAKE); $(unstage)
14053 @r=`${PWD_COMMAND}`; export r; \
14054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14055 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
14056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
14057 $(HOST_EXPORTS) \
14058 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
14059 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
14060 case $(srcdir) in \
14061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14062 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
14063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14064 esac; \
14065 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
14066 libsrcdir="$$s/gnuserv"; \
14067 $(SHELL) $${libsrcdir}/configure \
14068 $(HOST_CONFIGARGS) $${srcdiroption} \
14069 || exit 1
14070 @endif gnuserv
14076 .PHONY: all-gnuserv maybe-all-gnuserv
14077 maybe-all-gnuserv:
14078 @if gcc-bootstrap
14079 all-gnuserv: stage_current
14080 @endif gcc-bootstrap
14081 @if gnuserv
14082 TARGET-gnuserv=all
14083 maybe-all-gnuserv: all-gnuserv
14084 all-gnuserv: configure-gnuserv
14085 @: $(MAKE); $(unstage)
14086 @r=`${PWD_COMMAND}`; export r; \
14087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14088 $(HOST_EXPORTS) \
14089 (cd $(HOST_SUBDIR)/gnuserv && \
14090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14091 @endif gnuserv
14096 .PHONY: check-gnuserv maybe-check-gnuserv
14097 maybe-check-gnuserv:
14098 @if gnuserv
14099 maybe-check-gnuserv: check-gnuserv
14101 check-gnuserv:
14102 @: $(MAKE); $(unstage)
14103 @r=`${PWD_COMMAND}`; export r; \
14104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14105 $(HOST_EXPORTS) \
14106 (cd $(HOST_SUBDIR)/gnuserv && \
14107 $(MAKE) $(FLAGS_TO_PASS) check)
14109 @endif gnuserv
14111 .PHONY: install-gnuserv maybe-install-gnuserv
14112 maybe-install-gnuserv:
14113 @if gnuserv
14114 maybe-install-gnuserv: install-gnuserv
14116 install-gnuserv: installdirs
14117 @: $(MAKE); $(unstage)
14118 @r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 $(HOST_EXPORTS) \
14121 (cd $(HOST_SUBDIR)/gnuserv && \
14122 $(MAKE) $(FLAGS_TO_PASS) install)
14124 @endif gnuserv
14126 # Other targets (info, dvi, pdf, etc.)
14128 .PHONY: maybe-info-gnuserv info-gnuserv
14129 maybe-info-gnuserv:
14130 @if gnuserv
14131 maybe-info-gnuserv: info-gnuserv
14133 info-gnuserv: \
14134 configure-gnuserv
14135 @: $(MAKE); $(unstage)
14136 @[ -f ./gnuserv/Makefile ] || exit 0; \
14137 r=`${PWD_COMMAND}`; export r; \
14138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14139 $(HOST_EXPORTS) \
14140 for flag in $(EXTRA_HOST_FLAGS) ; do \
14141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14142 done; \
14143 echo "Doing info in gnuserv" ; \
14144 (cd $(HOST_SUBDIR)/gnuserv && \
14145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14147 "RANLIB=$${RANLIB}" \
14148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14149 info) \
14150 || exit 1
14152 @endif gnuserv
14154 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14155 maybe-dvi-gnuserv:
14156 @if gnuserv
14157 maybe-dvi-gnuserv: dvi-gnuserv
14159 dvi-gnuserv: \
14160 configure-gnuserv
14161 @: $(MAKE); $(unstage)
14162 @[ -f ./gnuserv/Makefile ] || exit 0; \
14163 r=`${PWD_COMMAND}`; export r; \
14164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14165 $(HOST_EXPORTS) \
14166 for flag in $(EXTRA_HOST_FLAGS) ; do \
14167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14168 done; \
14169 echo "Doing dvi in gnuserv" ; \
14170 (cd $(HOST_SUBDIR)/gnuserv && \
14171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14173 "RANLIB=$${RANLIB}" \
14174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14175 dvi) \
14176 || exit 1
14178 @endif gnuserv
14180 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14181 maybe-pdf-gnuserv:
14182 @if gnuserv
14183 maybe-pdf-gnuserv: pdf-gnuserv
14185 pdf-gnuserv: \
14186 configure-gnuserv
14187 @: $(MAKE); $(unstage)
14188 @[ -f ./gnuserv/Makefile ] || exit 0; \
14189 r=`${PWD_COMMAND}`; export r; \
14190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14191 $(HOST_EXPORTS) \
14192 for flag in $(EXTRA_HOST_FLAGS) ; do \
14193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14194 done; \
14195 echo "Doing pdf in gnuserv" ; \
14196 (cd $(HOST_SUBDIR)/gnuserv && \
14197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14199 "RANLIB=$${RANLIB}" \
14200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14201 pdf) \
14202 || exit 1
14204 @endif gnuserv
14206 .PHONY: maybe-html-gnuserv html-gnuserv
14207 maybe-html-gnuserv:
14208 @if gnuserv
14209 maybe-html-gnuserv: html-gnuserv
14211 html-gnuserv: \
14212 configure-gnuserv
14213 @: $(MAKE); $(unstage)
14214 @[ -f ./gnuserv/Makefile ] || exit 0; \
14215 r=`${PWD_COMMAND}`; export r; \
14216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14217 $(HOST_EXPORTS) \
14218 for flag in $(EXTRA_HOST_FLAGS) ; do \
14219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14220 done; \
14221 echo "Doing html in gnuserv" ; \
14222 (cd $(HOST_SUBDIR)/gnuserv && \
14223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14225 "RANLIB=$${RANLIB}" \
14226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14227 html) \
14228 || exit 1
14230 @endif gnuserv
14232 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14233 maybe-TAGS-gnuserv:
14234 @if gnuserv
14235 maybe-TAGS-gnuserv: TAGS-gnuserv
14237 TAGS-gnuserv: \
14238 configure-gnuserv
14239 @: $(MAKE); $(unstage)
14240 @[ -f ./gnuserv/Makefile ] || exit 0; \
14241 r=`${PWD_COMMAND}`; export r; \
14242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14243 $(HOST_EXPORTS) \
14244 for flag in $(EXTRA_HOST_FLAGS) ; do \
14245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14246 done; \
14247 echo "Doing TAGS in gnuserv" ; \
14248 (cd $(HOST_SUBDIR)/gnuserv && \
14249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14251 "RANLIB=$${RANLIB}" \
14252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14253 TAGS) \
14254 || exit 1
14256 @endif gnuserv
14258 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14259 maybe-install-info-gnuserv:
14260 @if gnuserv
14261 maybe-install-info-gnuserv: install-info-gnuserv
14263 install-info-gnuserv: \
14264 configure-gnuserv \
14265 info-gnuserv
14266 @: $(MAKE); $(unstage)
14267 @[ -f ./gnuserv/Makefile ] || exit 0; \
14268 r=`${PWD_COMMAND}`; export r; \
14269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14270 $(HOST_EXPORTS) \
14271 for flag in $(EXTRA_HOST_FLAGS) ; do \
14272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14273 done; \
14274 echo "Doing install-info in gnuserv" ; \
14275 (cd $(HOST_SUBDIR)/gnuserv && \
14276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14278 "RANLIB=$${RANLIB}" \
14279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14280 install-info) \
14281 || exit 1
14283 @endif gnuserv
14285 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14286 maybe-install-html-gnuserv:
14287 @if gnuserv
14288 maybe-install-html-gnuserv: install-html-gnuserv
14290 install-html-gnuserv: \
14291 configure-gnuserv \
14292 html-gnuserv
14293 @: $(MAKE); $(unstage)
14294 @[ -f ./gnuserv/Makefile ] || exit 0; \
14295 r=`${PWD_COMMAND}`; export r; \
14296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14297 $(HOST_EXPORTS) \
14298 for flag in $(EXTRA_HOST_FLAGS) ; do \
14299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14300 done; \
14301 echo "Doing install-html in gnuserv" ; \
14302 (cd $(HOST_SUBDIR)/gnuserv && \
14303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14305 "RANLIB=$${RANLIB}" \
14306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14307 install-html) \
14308 || exit 1
14310 @endif gnuserv
14312 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14313 maybe-installcheck-gnuserv:
14314 @if gnuserv
14315 maybe-installcheck-gnuserv: installcheck-gnuserv
14317 installcheck-gnuserv: \
14318 configure-gnuserv
14319 @: $(MAKE); $(unstage)
14320 @[ -f ./gnuserv/Makefile ] || exit 0; \
14321 r=`${PWD_COMMAND}`; export r; \
14322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14323 $(HOST_EXPORTS) \
14324 for flag in $(EXTRA_HOST_FLAGS) ; do \
14325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14326 done; \
14327 echo "Doing installcheck in gnuserv" ; \
14328 (cd $(HOST_SUBDIR)/gnuserv && \
14329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14331 "RANLIB=$${RANLIB}" \
14332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14333 installcheck) \
14334 || exit 1
14336 @endif gnuserv
14338 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14339 maybe-mostlyclean-gnuserv:
14340 @if gnuserv
14341 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14343 mostlyclean-gnuserv:
14344 @: $(MAKE); $(unstage)
14345 @[ -f ./gnuserv/Makefile ] || exit 0; \
14346 r=`${PWD_COMMAND}`; export r; \
14347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14348 $(HOST_EXPORTS) \
14349 for flag in $(EXTRA_HOST_FLAGS) ; do \
14350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14351 done; \
14352 echo "Doing mostlyclean in gnuserv" ; \
14353 (cd $(HOST_SUBDIR)/gnuserv && \
14354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14356 "RANLIB=$${RANLIB}" \
14357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14358 mostlyclean) \
14359 || exit 1
14361 @endif gnuserv
14363 .PHONY: maybe-clean-gnuserv clean-gnuserv
14364 maybe-clean-gnuserv:
14365 @if gnuserv
14366 maybe-clean-gnuserv: clean-gnuserv
14368 clean-gnuserv:
14369 @: $(MAKE); $(unstage)
14370 @[ -f ./gnuserv/Makefile ] || exit 0; \
14371 r=`${PWD_COMMAND}`; export r; \
14372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14373 $(HOST_EXPORTS) \
14374 for flag in $(EXTRA_HOST_FLAGS) ; do \
14375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14376 done; \
14377 echo "Doing clean in gnuserv" ; \
14378 (cd $(HOST_SUBDIR)/gnuserv && \
14379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14381 "RANLIB=$${RANLIB}" \
14382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14383 clean) \
14384 || exit 1
14386 @endif gnuserv
14388 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14389 maybe-distclean-gnuserv:
14390 @if gnuserv
14391 maybe-distclean-gnuserv: distclean-gnuserv
14393 distclean-gnuserv:
14394 @: $(MAKE); $(unstage)
14395 @[ -f ./gnuserv/Makefile ] || exit 0; \
14396 r=`${PWD_COMMAND}`; export r; \
14397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14398 $(HOST_EXPORTS) \
14399 for flag in $(EXTRA_HOST_FLAGS) ; do \
14400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14401 done; \
14402 echo "Doing distclean in gnuserv" ; \
14403 (cd $(HOST_SUBDIR)/gnuserv && \
14404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14406 "RANLIB=$${RANLIB}" \
14407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14408 distclean) \
14409 || exit 1
14411 @endif gnuserv
14413 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14414 maybe-maintainer-clean-gnuserv:
14415 @if gnuserv
14416 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14418 maintainer-clean-gnuserv:
14419 @: $(MAKE); $(unstage)
14420 @[ -f ./gnuserv/Makefile ] || exit 0; \
14421 r=`${PWD_COMMAND}`; export r; \
14422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14423 $(HOST_EXPORTS) \
14424 for flag in $(EXTRA_HOST_FLAGS) ; do \
14425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14426 done; \
14427 echo "Doing maintainer-clean in gnuserv" ; \
14428 (cd $(HOST_SUBDIR)/gnuserv && \
14429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14431 "RANLIB=$${RANLIB}" \
14432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14433 maintainer-clean) \
14434 || exit 1
14436 @endif gnuserv
14440 .PHONY: configure-gprof maybe-configure-gprof
14441 maybe-configure-gprof:
14442 @if gcc-bootstrap
14443 configure-gprof: stage_current
14444 @endif gcc-bootstrap
14445 @if gprof
14446 maybe-configure-gprof: configure-gprof
14447 configure-gprof:
14448 @: $(MAKE); $(unstage)
14449 @r=`${PWD_COMMAND}`; export r; \
14450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14451 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14453 $(HOST_EXPORTS) \
14454 echo Configuring in $(HOST_SUBDIR)/gprof; \
14455 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14456 case $(srcdir) in \
14457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14458 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14460 esac; \
14461 srcdiroption="--srcdir=$${topdir}/gprof"; \
14462 libsrcdir="$$s/gprof"; \
14463 $(SHELL) $${libsrcdir}/configure \
14464 $(HOST_CONFIGARGS) $${srcdiroption} \
14465 || exit 1
14466 @endif gprof
14472 .PHONY: all-gprof maybe-all-gprof
14473 maybe-all-gprof:
14474 @if gcc-bootstrap
14475 all-gprof: stage_current
14476 @endif gcc-bootstrap
14477 @if gprof
14478 TARGET-gprof=all
14479 maybe-all-gprof: all-gprof
14480 all-gprof: configure-gprof
14481 @: $(MAKE); $(unstage)
14482 @r=`${PWD_COMMAND}`; export r; \
14483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14484 $(HOST_EXPORTS) \
14485 (cd $(HOST_SUBDIR)/gprof && \
14486 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14487 @endif gprof
14492 .PHONY: check-gprof maybe-check-gprof
14493 maybe-check-gprof:
14494 @if gprof
14495 maybe-check-gprof: check-gprof
14497 check-gprof:
14498 @: $(MAKE); $(unstage)
14499 @r=`${PWD_COMMAND}`; export r; \
14500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14501 $(HOST_EXPORTS) \
14502 (cd $(HOST_SUBDIR)/gprof && \
14503 $(MAKE) $(FLAGS_TO_PASS) check)
14505 @endif gprof
14507 .PHONY: install-gprof maybe-install-gprof
14508 maybe-install-gprof:
14509 @if gprof
14510 maybe-install-gprof: install-gprof
14512 install-gprof: installdirs
14513 @: $(MAKE); $(unstage)
14514 @r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(HOST_EXPORTS) \
14517 (cd $(HOST_SUBDIR)/gprof && \
14518 $(MAKE) $(FLAGS_TO_PASS) install)
14520 @endif gprof
14522 # Other targets (info, dvi, pdf, etc.)
14524 .PHONY: maybe-info-gprof info-gprof
14525 maybe-info-gprof:
14526 @if gprof
14527 maybe-info-gprof: info-gprof
14529 info-gprof: \
14530 configure-gprof
14531 @: $(MAKE); $(unstage)
14532 @[ -f ./gprof/Makefile ] || exit 0; \
14533 r=`${PWD_COMMAND}`; export r; \
14534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14535 $(HOST_EXPORTS) \
14536 for flag in $(EXTRA_HOST_FLAGS) ; do \
14537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14538 done; \
14539 echo "Doing info in gprof" ; \
14540 (cd $(HOST_SUBDIR)/gprof && \
14541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14543 "RANLIB=$${RANLIB}" \
14544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14545 info) \
14546 || exit 1
14548 @endif gprof
14550 .PHONY: maybe-dvi-gprof dvi-gprof
14551 maybe-dvi-gprof:
14552 @if gprof
14553 maybe-dvi-gprof: dvi-gprof
14555 dvi-gprof: \
14556 configure-gprof
14557 @: $(MAKE); $(unstage)
14558 @[ -f ./gprof/Makefile ] || exit 0; \
14559 r=`${PWD_COMMAND}`; export r; \
14560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14561 $(HOST_EXPORTS) \
14562 for flag in $(EXTRA_HOST_FLAGS) ; do \
14563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14564 done; \
14565 echo "Doing dvi in gprof" ; \
14566 (cd $(HOST_SUBDIR)/gprof && \
14567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14569 "RANLIB=$${RANLIB}" \
14570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14571 dvi) \
14572 || exit 1
14574 @endif gprof
14576 .PHONY: maybe-pdf-gprof pdf-gprof
14577 maybe-pdf-gprof:
14578 @if gprof
14579 maybe-pdf-gprof: pdf-gprof
14581 pdf-gprof: \
14582 configure-gprof
14583 @: $(MAKE); $(unstage)
14584 @[ -f ./gprof/Makefile ] || exit 0; \
14585 r=`${PWD_COMMAND}`; export r; \
14586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14587 $(HOST_EXPORTS) \
14588 for flag in $(EXTRA_HOST_FLAGS) ; do \
14589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14590 done; \
14591 echo "Doing pdf in gprof" ; \
14592 (cd $(HOST_SUBDIR)/gprof && \
14593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14595 "RANLIB=$${RANLIB}" \
14596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14597 pdf) \
14598 || exit 1
14600 @endif gprof
14602 .PHONY: maybe-html-gprof html-gprof
14603 maybe-html-gprof:
14604 @if gprof
14605 maybe-html-gprof: html-gprof
14607 html-gprof: \
14608 configure-gprof
14609 @: $(MAKE); $(unstage)
14610 @[ -f ./gprof/Makefile ] || exit 0; \
14611 r=`${PWD_COMMAND}`; export r; \
14612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14613 $(HOST_EXPORTS) \
14614 for flag in $(EXTRA_HOST_FLAGS) ; do \
14615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14616 done; \
14617 echo "Doing html in gprof" ; \
14618 (cd $(HOST_SUBDIR)/gprof && \
14619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14621 "RANLIB=$${RANLIB}" \
14622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14623 html) \
14624 || exit 1
14626 @endif gprof
14628 .PHONY: maybe-TAGS-gprof TAGS-gprof
14629 maybe-TAGS-gprof:
14630 @if gprof
14631 maybe-TAGS-gprof: TAGS-gprof
14633 TAGS-gprof: \
14634 configure-gprof
14635 @: $(MAKE); $(unstage)
14636 @[ -f ./gprof/Makefile ] || exit 0; \
14637 r=`${PWD_COMMAND}`; export r; \
14638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14639 $(HOST_EXPORTS) \
14640 for flag in $(EXTRA_HOST_FLAGS) ; do \
14641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14642 done; \
14643 echo "Doing TAGS in gprof" ; \
14644 (cd $(HOST_SUBDIR)/gprof && \
14645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14647 "RANLIB=$${RANLIB}" \
14648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14649 TAGS) \
14650 || exit 1
14652 @endif gprof
14654 .PHONY: maybe-install-info-gprof install-info-gprof
14655 maybe-install-info-gprof:
14656 @if gprof
14657 maybe-install-info-gprof: install-info-gprof
14659 install-info-gprof: \
14660 configure-gprof \
14661 info-gprof
14662 @: $(MAKE); $(unstage)
14663 @[ -f ./gprof/Makefile ] || exit 0; \
14664 r=`${PWD_COMMAND}`; export r; \
14665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14666 $(HOST_EXPORTS) \
14667 for flag in $(EXTRA_HOST_FLAGS) ; do \
14668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14669 done; \
14670 echo "Doing install-info in gprof" ; \
14671 (cd $(HOST_SUBDIR)/gprof && \
14672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14674 "RANLIB=$${RANLIB}" \
14675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14676 install-info) \
14677 || exit 1
14679 @endif gprof
14681 .PHONY: maybe-install-html-gprof install-html-gprof
14682 maybe-install-html-gprof:
14683 @if gprof
14684 maybe-install-html-gprof: install-html-gprof
14686 install-html-gprof: \
14687 configure-gprof \
14688 html-gprof
14689 @: $(MAKE); $(unstage)
14690 @[ -f ./gprof/Makefile ] || exit 0; \
14691 r=`${PWD_COMMAND}`; export r; \
14692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14693 $(HOST_EXPORTS) \
14694 for flag in $(EXTRA_HOST_FLAGS) ; do \
14695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14696 done; \
14697 echo "Doing install-html in gprof" ; \
14698 (cd $(HOST_SUBDIR)/gprof && \
14699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14701 "RANLIB=$${RANLIB}" \
14702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14703 install-html) \
14704 || exit 1
14706 @endif gprof
14708 .PHONY: maybe-installcheck-gprof installcheck-gprof
14709 maybe-installcheck-gprof:
14710 @if gprof
14711 maybe-installcheck-gprof: installcheck-gprof
14713 installcheck-gprof: \
14714 configure-gprof
14715 @: $(MAKE); $(unstage)
14716 @[ -f ./gprof/Makefile ] || exit 0; \
14717 r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14719 $(HOST_EXPORTS) \
14720 for flag in $(EXTRA_HOST_FLAGS) ; do \
14721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14722 done; \
14723 echo "Doing installcheck in gprof" ; \
14724 (cd $(HOST_SUBDIR)/gprof && \
14725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14727 "RANLIB=$${RANLIB}" \
14728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14729 installcheck) \
14730 || exit 1
14732 @endif gprof
14734 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14735 maybe-mostlyclean-gprof:
14736 @if gprof
14737 maybe-mostlyclean-gprof: mostlyclean-gprof
14739 mostlyclean-gprof:
14740 @: $(MAKE); $(unstage)
14741 @[ -f ./gprof/Makefile ] || exit 0; \
14742 r=`${PWD_COMMAND}`; export r; \
14743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14744 $(HOST_EXPORTS) \
14745 for flag in $(EXTRA_HOST_FLAGS) ; do \
14746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14747 done; \
14748 echo "Doing mostlyclean in gprof" ; \
14749 (cd $(HOST_SUBDIR)/gprof && \
14750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14752 "RANLIB=$${RANLIB}" \
14753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14754 mostlyclean) \
14755 || exit 1
14757 @endif gprof
14759 .PHONY: maybe-clean-gprof clean-gprof
14760 maybe-clean-gprof:
14761 @if gprof
14762 maybe-clean-gprof: clean-gprof
14764 clean-gprof:
14765 @: $(MAKE); $(unstage)
14766 @[ -f ./gprof/Makefile ] || exit 0; \
14767 r=`${PWD_COMMAND}`; export r; \
14768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14769 $(HOST_EXPORTS) \
14770 for flag in $(EXTRA_HOST_FLAGS) ; do \
14771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14772 done; \
14773 echo "Doing clean in gprof" ; \
14774 (cd $(HOST_SUBDIR)/gprof && \
14775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14777 "RANLIB=$${RANLIB}" \
14778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14779 clean) \
14780 || exit 1
14782 @endif gprof
14784 .PHONY: maybe-distclean-gprof distclean-gprof
14785 maybe-distclean-gprof:
14786 @if gprof
14787 maybe-distclean-gprof: distclean-gprof
14789 distclean-gprof:
14790 @: $(MAKE); $(unstage)
14791 @[ -f ./gprof/Makefile ] || exit 0; \
14792 r=`${PWD_COMMAND}`; export r; \
14793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14794 $(HOST_EXPORTS) \
14795 for flag in $(EXTRA_HOST_FLAGS) ; do \
14796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14797 done; \
14798 echo "Doing distclean in gprof" ; \
14799 (cd $(HOST_SUBDIR)/gprof && \
14800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14802 "RANLIB=$${RANLIB}" \
14803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14804 distclean) \
14805 || exit 1
14807 @endif gprof
14809 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14810 maybe-maintainer-clean-gprof:
14811 @if gprof
14812 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14814 maintainer-clean-gprof:
14815 @: $(MAKE); $(unstage)
14816 @[ -f ./gprof/Makefile ] || exit 0; \
14817 r=`${PWD_COMMAND}`; export r; \
14818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14819 $(HOST_EXPORTS) \
14820 for flag in $(EXTRA_HOST_FLAGS) ; do \
14821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14822 done; \
14823 echo "Doing maintainer-clean in gprof" ; \
14824 (cd $(HOST_SUBDIR)/gprof && \
14825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14827 "RANLIB=$${RANLIB}" \
14828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14829 maintainer-clean) \
14830 || exit 1
14832 @endif gprof
14836 .PHONY: configure-gzip maybe-configure-gzip
14837 maybe-configure-gzip:
14838 @if gcc-bootstrap
14839 configure-gzip: stage_current
14840 @endif gcc-bootstrap
14841 @if gzip
14842 maybe-configure-gzip: configure-gzip
14843 configure-gzip:
14844 @: $(MAKE); $(unstage)
14845 @r=`${PWD_COMMAND}`; export r; \
14846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14847 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14849 $(HOST_EXPORTS) \
14850 echo Configuring in $(HOST_SUBDIR)/gzip; \
14851 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14852 case $(srcdir) in \
14853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14854 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14856 esac; \
14857 srcdiroption="--srcdir=$${topdir}/gzip"; \
14858 libsrcdir="$$s/gzip"; \
14859 $(SHELL) $${libsrcdir}/configure \
14860 $(HOST_CONFIGARGS) $${srcdiroption} \
14861 || exit 1
14862 @endif gzip
14868 .PHONY: all-gzip maybe-all-gzip
14869 maybe-all-gzip:
14870 @if gcc-bootstrap
14871 all-gzip: stage_current
14872 @endif gcc-bootstrap
14873 @if gzip
14874 TARGET-gzip=all
14875 maybe-all-gzip: all-gzip
14876 all-gzip: configure-gzip
14877 @: $(MAKE); $(unstage)
14878 @r=`${PWD_COMMAND}`; export r; \
14879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14880 $(HOST_EXPORTS) \
14881 (cd $(HOST_SUBDIR)/gzip && \
14882 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14883 @endif gzip
14888 .PHONY: check-gzip maybe-check-gzip
14889 maybe-check-gzip:
14890 @if gzip
14891 maybe-check-gzip: check-gzip
14893 check-gzip:
14894 @: $(MAKE); $(unstage)
14895 @r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14897 $(HOST_EXPORTS) \
14898 (cd $(HOST_SUBDIR)/gzip && \
14899 $(MAKE) $(FLAGS_TO_PASS) check)
14901 @endif gzip
14903 .PHONY: install-gzip maybe-install-gzip
14904 maybe-install-gzip:
14905 @if gzip
14906 maybe-install-gzip: install-gzip
14908 install-gzip: installdirs
14909 @: $(MAKE); $(unstage)
14910 @r=`${PWD_COMMAND}`; export r; \
14911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14912 $(HOST_EXPORTS) \
14913 (cd $(HOST_SUBDIR)/gzip && \
14914 $(MAKE) $(FLAGS_TO_PASS) install)
14916 @endif gzip
14918 # Other targets (info, dvi, pdf, etc.)
14920 .PHONY: maybe-info-gzip info-gzip
14921 maybe-info-gzip:
14922 @if gzip
14923 maybe-info-gzip: info-gzip
14925 info-gzip: \
14926 configure-gzip
14927 @: $(MAKE); $(unstage)
14928 @[ -f ./gzip/Makefile ] || exit 0; \
14929 r=`${PWD_COMMAND}`; export r; \
14930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14931 $(HOST_EXPORTS) \
14932 for flag in $(EXTRA_HOST_FLAGS) ; do \
14933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14934 done; \
14935 echo "Doing info in gzip" ; \
14936 (cd $(HOST_SUBDIR)/gzip && \
14937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14939 "RANLIB=$${RANLIB}" \
14940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14941 info) \
14942 || exit 1
14944 @endif gzip
14946 .PHONY: maybe-dvi-gzip dvi-gzip
14947 maybe-dvi-gzip:
14948 @if gzip
14949 maybe-dvi-gzip: dvi-gzip
14951 dvi-gzip: \
14952 configure-gzip
14953 @: $(MAKE); $(unstage)
14954 @[ -f ./gzip/Makefile ] || exit 0; \
14955 r=`${PWD_COMMAND}`; export r; \
14956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14957 $(HOST_EXPORTS) \
14958 for flag in $(EXTRA_HOST_FLAGS) ; do \
14959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14960 done; \
14961 echo "Doing dvi in gzip" ; \
14962 (cd $(HOST_SUBDIR)/gzip && \
14963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14965 "RANLIB=$${RANLIB}" \
14966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14967 dvi) \
14968 || exit 1
14970 @endif gzip
14972 .PHONY: maybe-pdf-gzip pdf-gzip
14973 maybe-pdf-gzip:
14974 @if gzip
14975 maybe-pdf-gzip: pdf-gzip
14977 pdf-gzip: \
14978 configure-gzip
14979 @: $(MAKE); $(unstage)
14980 @[ -f ./gzip/Makefile ] || exit 0; \
14981 r=`${PWD_COMMAND}`; export r; \
14982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14983 $(HOST_EXPORTS) \
14984 for flag in $(EXTRA_HOST_FLAGS) ; do \
14985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14986 done; \
14987 echo "Doing pdf in gzip" ; \
14988 (cd $(HOST_SUBDIR)/gzip && \
14989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14991 "RANLIB=$${RANLIB}" \
14992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14993 pdf) \
14994 || exit 1
14996 @endif gzip
14998 .PHONY: maybe-html-gzip html-gzip
14999 maybe-html-gzip:
15000 @if gzip
15001 maybe-html-gzip: html-gzip
15003 html-gzip: \
15004 configure-gzip
15005 @: $(MAKE); $(unstage)
15006 @[ -f ./gzip/Makefile ] || exit 0; \
15007 r=`${PWD_COMMAND}`; export r; \
15008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15009 $(HOST_EXPORTS) \
15010 for flag in $(EXTRA_HOST_FLAGS) ; do \
15011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15012 done; \
15013 echo "Doing html in gzip" ; \
15014 (cd $(HOST_SUBDIR)/gzip && \
15015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15017 "RANLIB=$${RANLIB}" \
15018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15019 html) \
15020 || exit 1
15022 @endif gzip
15024 .PHONY: maybe-TAGS-gzip TAGS-gzip
15025 maybe-TAGS-gzip:
15026 @if gzip
15027 maybe-TAGS-gzip: TAGS-gzip
15029 TAGS-gzip: \
15030 configure-gzip
15031 @: $(MAKE); $(unstage)
15032 @[ -f ./gzip/Makefile ] || exit 0; \
15033 r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 $(HOST_EXPORTS) \
15036 for flag in $(EXTRA_HOST_FLAGS) ; do \
15037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15038 done; \
15039 echo "Doing TAGS in gzip" ; \
15040 (cd $(HOST_SUBDIR)/gzip && \
15041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15043 "RANLIB=$${RANLIB}" \
15044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15045 TAGS) \
15046 || exit 1
15048 @endif gzip
15050 .PHONY: maybe-install-info-gzip install-info-gzip
15051 maybe-install-info-gzip:
15052 @if gzip
15053 maybe-install-info-gzip: install-info-gzip
15055 install-info-gzip: \
15056 configure-gzip \
15057 info-gzip
15058 @: $(MAKE); $(unstage)
15059 @[ -f ./gzip/Makefile ] || exit 0; \
15060 r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15062 $(HOST_EXPORTS) \
15063 for flag in $(EXTRA_HOST_FLAGS) ; do \
15064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15065 done; \
15066 echo "Doing install-info in gzip" ; \
15067 (cd $(HOST_SUBDIR)/gzip && \
15068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15070 "RANLIB=$${RANLIB}" \
15071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15072 install-info) \
15073 || exit 1
15075 @endif gzip
15077 .PHONY: maybe-install-html-gzip install-html-gzip
15078 maybe-install-html-gzip:
15079 @if gzip
15080 maybe-install-html-gzip: install-html-gzip
15082 install-html-gzip: \
15083 configure-gzip \
15084 html-gzip
15085 @: $(MAKE); $(unstage)
15086 @[ -f ./gzip/Makefile ] || exit 0; \
15087 r=`${PWD_COMMAND}`; export r; \
15088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15089 $(HOST_EXPORTS) \
15090 for flag in $(EXTRA_HOST_FLAGS) ; do \
15091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15092 done; \
15093 echo "Doing install-html in gzip" ; \
15094 (cd $(HOST_SUBDIR)/gzip && \
15095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15097 "RANLIB=$${RANLIB}" \
15098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15099 install-html) \
15100 || exit 1
15102 @endif gzip
15104 .PHONY: maybe-installcheck-gzip installcheck-gzip
15105 maybe-installcheck-gzip:
15106 @if gzip
15107 maybe-installcheck-gzip: installcheck-gzip
15109 installcheck-gzip: \
15110 configure-gzip
15111 @: $(MAKE); $(unstage)
15112 @[ -f ./gzip/Makefile ] || exit 0; \
15113 r=`${PWD_COMMAND}`; export r; \
15114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15115 $(HOST_EXPORTS) \
15116 for flag in $(EXTRA_HOST_FLAGS) ; do \
15117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15118 done; \
15119 echo "Doing installcheck in gzip" ; \
15120 (cd $(HOST_SUBDIR)/gzip && \
15121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15123 "RANLIB=$${RANLIB}" \
15124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15125 installcheck) \
15126 || exit 1
15128 @endif gzip
15130 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15131 maybe-mostlyclean-gzip:
15132 @if gzip
15133 maybe-mostlyclean-gzip: mostlyclean-gzip
15135 mostlyclean-gzip:
15136 @: $(MAKE); $(unstage)
15137 @[ -f ./gzip/Makefile ] || exit 0; \
15138 r=`${PWD_COMMAND}`; export r; \
15139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15140 $(HOST_EXPORTS) \
15141 for flag in $(EXTRA_HOST_FLAGS) ; do \
15142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15143 done; \
15144 echo "Doing mostlyclean in gzip" ; \
15145 (cd $(HOST_SUBDIR)/gzip && \
15146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15148 "RANLIB=$${RANLIB}" \
15149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15150 mostlyclean) \
15151 || exit 1
15153 @endif gzip
15155 .PHONY: maybe-clean-gzip clean-gzip
15156 maybe-clean-gzip:
15157 @if gzip
15158 maybe-clean-gzip: clean-gzip
15160 clean-gzip:
15161 @: $(MAKE); $(unstage)
15162 @[ -f ./gzip/Makefile ] || exit 0; \
15163 r=`${PWD_COMMAND}`; export r; \
15164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15165 $(HOST_EXPORTS) \
15166 for flag in $(EXTRA_HOST_FLAGS) ; do \
15167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15168 done; \
15169 echo "Doing clean in gzip" ; \
15170 (cd $(HOST_SUBDIR)/gzip && \
15171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15173 "RANLIB=$${RANLIB}" \
15174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15175 clean) \
15176 || exit 1
15178 @endif gzip
15180 .PHONY: maybe-distclean-gzip distclean-gzip
15181 maybe-distclean-gzip:
15182 @if gzip
15183 maybe-distclean-gzip: distclean-gzip
15185 distclean-gzip:
15186 @: $(MAKE); $(unstage)
15187 @[ -f ./gzip/Makefile ] || exit 0; \
15188 r=`${PWD_COMMAND}`; export r; \
15189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15190 $(HOST_EXPORTS) \
15191 for flag in $(EXTRA_HOST_FLAGS) ; do \
15192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15193 done; \
15194 echo "Doing distclean in gzip" ; \
15195 (cd $(HOST_SUBDIR)/gzip && \
15196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15198 "RANLIB=$${RANLIB}" \
15199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15200 distclean) \
15201 || exit 1
15203 @endif gzip
15205 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15206 maybe-maintainer-clean-gzip:
15207 @if gzip
15208 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15210 maintainer-clean-gzip:
15211 @: $(MAKE); $(unstage)
15212 @[ -f ./gzip/Makefile ] || exit 0; \
15213 r=`${PWD_COMMAND}`; export r; \
15214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15215 $(HOST_EXPORTS) \
15216 for flag in $(EXTRA_HOST_FLAGS) ; do \
15217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15218 done; \
15219 echo "Doing maintainer-clean in gzip" ; \
15220 (cd $(HOST_SUBDIR)/gzip && \
15221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15223 "RANLIB=$${RANLIB}" \
15224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15225 maintainer-clean) \
15226 || exit 1
15228 @endif gzip
15232 .PHONY: configure-hello maybe-configure-hello
15233 maybe-configure-hello:
15234 @if gcc-bootstrap
15235 configure-hello: stage_current
15236 @endif gcc-bootstrap
15237 @if hello
15238 maybe-configure-hello: configure-hello
15239 configure-hello:
15240 @: $(MAKE); $(unstage)
15241 @r=`${PWD_COMMAND}`; export r; \
15242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15243 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15245 $(HOST_EXPORTS) \
15246 echo Configuring in $(HOST_SUBDIR)/hello; \
15247 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15248 case $(srcdir) in \
15249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15250 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15252 esac; \
15253 srcdiroption="--srcdir=$${topdir}/hello"; \
15254 libsrcdir="$$s/hello"; \
15255 $(SHELL) $${libsrcdir}/configure \
15256 $(HOST_CONFIGARGS) $${srcdiroption} \
15257 || exit 1
15258 @endif hello
15264 .PHONY: all-hello maybe-all-hello
15265 maybe-all-hello:
15266 @if gcc-bootstrap
15267 all-hello: stage_current
15268 @endif gcc-bootstrap
15269 @if hello
15270 TARGET-hello=all
15271 maybe-all-hello: all-hello
15272 all-hello: configure-hello
15273 @: $(MAKE); $(unstage)
15274 @r=`${PWD_COMMAND}`; export r; \
15275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15276 $(HOST_EXPORTS) \
15277 (cd $(HOST_SUBDIR)/hello && \
15278 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15279 @endif hello
15284 .PHONY: check-hello maybe-check-hello
15285 maybe-check-hello:
15286 @if hello
15287 maybe-check-hello: check-hello
15289 check-hello:
15290 @: $(MAKE); $(unstage)
15291 @r=`${PWD_COMMAND}`; export r; \
15292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15293 $(HOST_EXPORTS) \
15294 (cd $(HOST_SUBDIR)/hello && \
15295 $(MAKE) $(FLAGS_TO_PASS) check)
15297 @endif hello
15299 .PHONY: install-hello maybe-install-hello
15300 maybe-install-hello:
15301 @if hello
15302 maybe-install-hello: install-hello
15304 install-hello: installdirs
15305 @: $(MAKE); $(unstage)
15306 @r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(HOST_EXPORTS) \
15309 (cd $(HOST_SUBDIR)/hello && \
15310 $(MAKE) $(FLAGS_TO_PASS) install)
15312 @endif hello
15314 # Other targets (info, dvi, pdf, etc.)
15316 .PHONY: maybe-info-hello info-hello
15317 maybe-info-hello:
15318 @if hello
15319 maybe-info-hello: info-hello
15321 info-hello: \
15322 configure-hello
15323 @: $(MAKE); $(unstage)
15324 @[ -f ./hello/Makefile ] || exit 0; \
15325 r=`${PWD_COMMAND}`; export r; \
15326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15327 $(HOST_EXPORTS) \
15328 for flag in $(EXTRA_HOST_FLAGS) ; do \
15329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15330 done; \
15331 echo "Doing info in hello" ; \
15332 (cd $(HOST_SUBDIR)/hello && \
15333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15335 "RANLIB=$${RANLIB}" \
15336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15337 info) \
15338 || exit 1
15340 @endif hello
15342 .PHONY: maybe-dvi-hello dvi-hello
15343 maybe-dvi-hello:
15344 @if hello
15345 maybe-dvi-hello: dvi-hello
15347 dvi-hello: \
15348 configure-hello
15349 @: $(MAKE); $(unstage)
15350 @[ -f ./hello/Makefile ] || exit 0; \
15351 r=`${PWD_COMMAND}`; export r; \
15352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15353 $(HOST_EXPORTS) \
15354 for flag in $(EXTRA_HOST_FLAGS) ; do \
15355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15356 done; \
15357 echo "Doing dvi in hello" ; \
15358 (cd $(HOST_SUBDIR)/hello && \
15359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15361 "RANLIB=$${RANLIB}" \
15362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15363 dvi) \
15364 || exit 1
15366 @endif hello
15368 .PHONY: maybe-pdf-hello pdf-hello
15369 maybe-pdf-hello:
15370 @if hello
15371 maybe-pdf-hello: pdf-hello
15373 pdf-hello: \
15374 configure-hello
15375 @: $(MAKE); $(unstage)
15376 @[ -f ./hello/Makefile ] || exit 0; \
15377 r=`${PWD_COMMAND}`; export r; \
15378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15379 $(HOST_EXPORTS) \
15380 for flag in $(EXTRA_HOST_FLAGS) ; do \
15381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15382 done; \
15383 echo "Doing pdf in hello" ; \
15384 (cd $(HOST_SUBDIR)/hello && \
15385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15387 "RANLIB=$${RANLIB}" \
15388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15389 pdf) \
15390 || exit 1
15392 @endif hello
15394 .PHONY: maybe-html-hello html-hello
15395 maybe-html-hello:
15396 @if hello
15397 maybe-html-hello: html-hello
15399 html-hello: \
15400 configure-hello
15401 @: $(MAKE); $(unstage)
15402 @[ -f ./hello/Makefile ] || exit 0; \
15403 r=`${PWD_COMMAND}`; export r; \
15404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15405 $(HOST_EXPORTS) \
15406 for flag in $(EXTRA_HOST_FLAGS) ; do \
15407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15408 done; \
15409 echo "Doing html in hello" ; \
15410 (cd $(HOST_SUBDIR)/hello && \
15411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15413 "RANLIB=$${RANLIB}" \
15414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15415 html) \
15416 || exit 1
15418 @endif hello
15420 .PHONY: maybe-TAGS-hello TAGS-hello
15421 maybe-TAGS-hello:
15422 @if hello
15423 maybe-TAGS-hello: TAGS-hello
15425 TAGS-hello: \
15426 configure-hello
15427 @: $(MAKE); $(unstage)
15428 @[ -f ./hello/Makefile ] || exit 0; \
15429 r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 $(HOST_EXPORTS) \
15432 for flag in $(EXTRA_HOST_FLAGS) ; do \
15433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15434 done; \
15435 echo "Doing TAGS in hello" ; \
15436 (cd $(HOST_SUBDIR)/hello && \
15437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15439 "RANLIB=$${RANLIB}" \
15440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15441 TAGS) \
15442 || exit 1
15444 @endif hello
15446 .PHONY: maybe-install-info-hello install-info-hello
15447 maybe-install-info-hello:
15448 @if hello
15449 maybe-install-info-hello: install-info-hello
15451 install-info-hello: \
15452 configure-hello \
15453 info-hello
15454 @: $(MAKE); $(unstage)
15455 @[ -f ./hello/Makefile ] || exit 0; \
15456 r=`${PWD_COMMAND}`; export r; \
15457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458 $(HOST_EXPORTS) \
15459 for flag in $(EXTRA_HOST_FLAGS) ; do \
15460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15461 done; \
15462 echo "Doing install-info in hello" ; \
15463 (cd $(HOST_SUBDIR)/hello && \
15464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15466 "RANLIB=$${RANLIB}" \
15467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15468 install-info) \
15469 || exit 1
15471 @endif hello
15473 .PHONY: maybe-install-html-hello install-html-hello
15474 maybe-install-html-hello:
15475 @if hello
15476 maybe-install-html-hello: install-html-hello
15478 install-html-hello: \
15479 configure-hello \
15480 html-hello
15481 @: $(MAKE); $(unstage)
15482 @[ -f ./hello/Makefile ] || exit 0; \
15483 r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 $(HOST_EXPORTS) \
15486 for flag in $(EXTRA_HOST_FLAGS) ; do \
15487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15488 done; \
15489 echo "Doing install-html in hello" ; \
15490 (cd $(HOST_SUBDIR)/hello && \
15491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15493 "RANLIB=$${RANLIB}" \
15494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15495 install-html) \
15496 || exit 1
15498 @endif hello
15500 .PHONY: maybe-installcheck-hello installcheck-hello
15501 maybe-installcheck-hello:
15502 @if hello
15503 maybe-installcheck-hello: installcheck-hello
15505 installcheck-hello: \
15506 configure-hello
15507 @: $(MAKE); $(unstage)
15508 @[ -f ./hello/Makefile ] || exit 0; \
15509 r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511 $(HOST_EXPORTS) \
15512 for flag in $(EXTRA_HOST_FLAGS) ; do \
15513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15514 done; \
15515 echo "Doing installcheck in hello" ; \
15516 (cd $(HOST_SUBDIR)/hello && \
15517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15519 "RANLIB=$${RANLIB}" \
15520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15521 installcheck) \
15522 || exit 1
15524 @endif hello
15526 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15527 maybe-mostlyclean-hello:
15528 @if hello
15529 maybe-mostlyclean-hello: mostlyclean-hello
15531 mostlyclean-hello:
15532 @: $(MAKE); $(unstage)
15533 @[ -f ./hello/Makefile ] || exit 0; \
15534 r=`${PWD_COMMAND}`; export r; \
15535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15536 $(HOST_EXPORTS) \
15537 for flag in $(EXTRA_HOST_FLAGS) ; do \
15538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15539 done; \
15540 echo "Doing mostlyclean in hello" ; \
15541 (cd $(HOST_SUBDIR)/hello && \
15542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15544 "RANLIB=$${RANLIB}" \
15545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15546 mostlyclean) \
15547 || exit 1
15549 @endif hello
15551 .PHONY: maybe-clean-hello clean-hello
15552 maybe-clean-hello:
15553 @if hello
15554 maybe-clean-hello: clean-hello
15556 clean-hello:
15557 @: $(MAKE); $(unstage)
15558 @[ -f ./hello/Makefile ] || exit 0; \
15559 r=`${PWD_COMMAND}`; export r; \
15560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15561 $(HOST_EXPORTS) \
15562 for flag in $(EXTRA_HOST_FLAGS) ; do \
15563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15564 done; \
15565 echo "Doing clean in hello" ; \
15566 (cd $(HOST_SUBDIR)/hello && \
15567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15569 "RANLIB=$${RANLIB}" \
15570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15571 clean) \
15572 || exit 1
15574 @endif hello
15576 .PHONY: maybe-distclean-hello distclean-hello
15577 maybe-distclean-hello:
15578 @if hello
15579 maybe-distclean-hello: distclean-hello
15581 distclean-hello:
15582 @: $(MAKE); $(unstage)
15583 @[ -f ./hello/Makefile ] || exit 0; \
15584 r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 $(HOST_EXPORTS) \
15587 for flag in $(EXTRA_HOST_FLAGS) ; do \
15588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15589 done; \
15590 echo "Doing distclean in hello" ; \
15591 (cd $(HOST_SUBDIR)/hello && \
15592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15594 "RANLIB=$${RANLIB}" \
15595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15596 distclean) \
15597 || exit 1
15599 @endif hello
15601 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15602 maybe-maintainer-clean-hello:
15603 @if hello
15604 maybe-maintainer-clean-hello: maintainer-clean-hello
15606 maintainer-clean-hello:
15607 @: $(MAKE); $(unstage)
15608 @[ -f ./hello/Makefile ] || exit 0; \
15609 r=`${PWD_COMMAND}`; export r; \
15610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15611 $(HOST_EXPORTS) \
15612 for flag in $(EXTRA_HOST_FLAGS) ; do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15614 done; \
15615 echo "Doing maintainer-clean in hello" ; \
15616 (cd $(HOST_SUBDIR)/hello && \
15617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619 "RANLIB=$${RANLIB}" \
15620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15621 maintainer-clean) \
15622 || exit 1
15624 @endif hello
15628 .PHONY: configure-indent maybe-configure-indent
15629 maybe-configure-indent:
15630 @if gcc-bootstrap
15631 configure-indent: stage_current
15632 @endif gcc-bootstrap
15633 @if indent
15634 maybe-configure-indent: configure-indent
15635 configure-indent:
15636 @: $(MAKE); $(unstage)
15637 @r=`${PWD_COMMAND}`; export r; \
15638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15639 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15641 $(HOST_EXPORTS) \
15642 echo Configuring in $(HOST_SUBDIR)/indent; \
15643 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15644 case $(srcdir) in \
15645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15646 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15648 esac; \
15649 srcdiroption="--srcdir=$${topdir}/indent"; \
15650 libsrcdir="$$s/indent"; \
15651 $(SHELL) $${libsrcdir}/configure \
15652 $(HOST_CONFIGARGS) $${srcdiroption} \
15653 || exit 1
15654 @endif indent
15660 .PHONY: all-indent maybe-all-indent
15661 maybe-all-indent:
15662 @if gcc-bootstrap
15663 all-indent: stage_current
15664 @endif gcc-bootstrap
15665 @if indent
15666 TARGET-indent=all
15667 maybe-all-indent: all-indent
15668 all-indent: configure-indent
15669 @: $(MAKE); $(unstage)
15670 @r=`${PWD_COMMAND}`; export r; \
15671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 $(HOST_EXPORTS) \
15673 (cd $(HOST_SUBDIR)/indent && \
15674 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15675 @endif indent
15680 .PHONY: check-indent maybe-check-indent
15681 maybe-check-indent:
15682 @if indent
15683 maybe-check-indent: check-indent
15685 check-indent:
15686 @: $(MAKE); $(unstage)
15687 @r=`${PWD_COMMAND}`; export r; \
15688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15689 $(HOST_EXPORTS) \
15690 (cd $(HOST_SUBDIR)/indent && \
15691 $(MAKE) $(FLAGS_TO_PASS) check)
15693 @endif indent
15695 .PHONY: install-indent maybe-install-indent
15696 maybe-install-indent:
15697 @if indent
15698 maybe-install-indent: install-indent
15700 install-indent: installdirs
15701 @: $(MAKE); $(unstage)
15702 @r=`${PWD_COMMAND}`; export r; \
15703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15704 $(HOST_EXPORTS) \
15705 (cd $(HOST_SUBDIR)/indent && \
15706 $(MAKE) $(FLAGS_TO_PASS) install)
15708 @endif indent
15710 # Other targets (info, dvi, pdf, etc.)
15712 .PHONY: maybe-info-indent info-indent
15713 maybe-info-indent:
15714 @if indent
15715 maybe-info-indent: info-indent
15717 info-indent: \
15718 configure-indent
15719 @: $(MAKE); $(unstage)
15720 @[ -f ./indent/Makefile ] || exit 0; \
15721 r=`${PWD_COMMAND}`; export r; \
15722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15723 $(HOST_EXPORTS) \
15724 for flag in $(EXTRA_HOST_FLAGS) ; do \
15725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15726 done; \
15727 echo "Doing info in indent" ; \
15728 (cd $(HOST_SUBDIR)/indent && \
15729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15731 "RANLIB=$${RANLIB}" \
15732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15733 info) \
15734 || exit 1
15736 @endif indent
15738 .PHONY: maybe-dvi-indent dvi-indent
15739 maybe-dvi-indent:
15740 @if indent
15741 maybe-dvi-indent: dvi-indent
15743 dvi-indent: \
15744 configure-indent
15745 @: $(MAKE); $(unstage)
15746 @[ -f ./indent/Makefile ] || exit 0; \
15747 r=`${PWD_COMMAND}`; export r; \
15748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15749 $(HOST_EXPORTS) \
15750 for flag in $(EXTRA_HOST_FLAGS) ; do \
15751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15752 done; \
15753 echo "Doing dvi in indent" ; \
15754 (cd $(HOST_SUBDIR)/indent && \
15755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15757 "RANLIB=$${RANLIB}" \
15758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15759 dvi) \
15760 || exit 1
15762 @endif indent
15764 .PHONY: maybe-pdf-indent pdf-indent
15765 maybe-pdf-indent:
15766 @if indent
15767 maybe-pdf-indent: pdf-indent
15769 pdf-indent: \
15770 configure-indent
15771 @: $(MAKE); $(unstage)
15772 @[ -f ./indent/Makefile ] || exit 0; \
15773 r=`${PWD_COMMAND}`; export r; \
15774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15775 $(HOST_EXPORTS) \
15776 for flag in $(EXTRA_HOST_FLAGS) ; do \
15777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15778 done; \
15779 echo "Doing pdf in indent" ; \
15780 (cd $(HOST_SUBDIR)/indent && \
15781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15783 "RANLIB=$${RANLIB}" \
15784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15785 pdf) \
15786 || exit 1
15788 @endif indent
15790 .PHONY: maybe-html-indent html-indent
15791 maybe-html-indent:
15792 @if indent
15793 maybe-html-indent: html-indent
15795 html-indent: \
15796 configure-indent
15797 @: $(MAKE); $(unstage)
15798 @[ -f ./indent/Makefile ] || exit 0; \
15799 r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 $(HOST_EXPORTS) \
15802 for flag in $(EXTRA_HOST_FLAGS) ; do \
15803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15804 done; \
15805 echo "Doing html in indent" ; \
15806 (cd $(HOST_SUBDIR)/indent && \
15807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15809 "RANLIB=$${RANLIB}" \
15810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15811 html) \
15812 || exit 1
15814 @endif indent
15816 .PHONY: maybe-TAGS-indent TAGS-indent
15817 maybe-TAGS-indent:
15818 @if indent
15819 maybe-TAGS-indent: TAGS-indent
15821 TAGS-indent: \
15822 configure-indent
15823 @: $(MAKE); $(unstage)
15824 @[ -f ./indent/Makefile ] || exit 0; \
15825 r=`${PWD_COMMAND}`; export r; \
15826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15827 $(HOST_EXPORTS) \
15828 for flag in $(EXTRA_HOST_FLAGS) ; do \
15829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15830 done; \
15831 echo "Doing TAGS in indent" ; \
15832 (cd $(HOST_SUBDIR)/indent && \
15833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15835 "RANLIB=$${RANLIB}" \
15836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15837 TAGS) \
15838 || exit 1
15840 @endif indent
15842 .PHONY: maybe-install-info-indent install-info-indent
15843 maybe-install-info-indent:
15844 @if indent
15845 maybe-install-info-indent: install-info-indent
15847 install-info-indent: \
15848 configure-indent \
15849 info-indent
15850 @: $(MAKE); $(unstage)
15851 @[ -f ./indent/Makefile ] || exit 0; \
15852 r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854 $(HOST_EXPORTS) \
15855 for flag in $(EXTRA_HOST_FLAGS) ; do \
15856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15857 done; \
15858 echo "Doing install-info in indent" ; \
15859 (cd $(HOST_SUBDIR)/indent && \
15860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15862 "RANLIB=$${RANLIB}" \
15863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15864 install-info) \
15865 || exit 1
15867 @endif indent
15869 .PHONY: maybe-install-html-indent install-html-indent
15870 maybe-install-html-indent:
15871 @if indent
15872 maybe-install-html-indent: install-html-indent
15874 install-html-indent: \
15875 configure-indent \
15876 html-indent
15877 @: $(MAKE); $(unstage)
15878 @[ -f ./indent/Makefile ] || exit 0; \
15879 r=`${PWD_COMMAND}`; export r; \
15880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15881 $(HOST_EXPORTS) \
15882 for flag in $(EXTRA_HOST_FLAGS) ; do \
15883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15884 done; \
15885 echo "Doing install-html in indent" ; \
15886 (cd $(HOST_SUBDIR)/indent && \
15887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15889 "RANLIB=$${RANLIB}" \
15890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15891 install-html) \
15892 || exit 1
15894 @endif indent
15896 .PHONY: maybe-installcheck-indent installcheck-indent
15897 maybe-installcheck-indent:
15898 @if indent
15899 maybe-installcheck-indent: installcheck-indent
15901 installcheck-indent: \
15902 configure-indent
15903 @: $(MAKE); $(unstage)
15904 @[ -f ./indent/Makefile ] || exit 0; \
15905 r=`${PWD_COMMAND}`; export r; \
15906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15907 $(HOST_EXPORTS) \
15908 for flag in $(EXTRA_HOST_FLAGS) ; do \
15909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15910 done; \
15911 echo "Doing installcheck in indent" ; \
15912 (cd $(HOST_SUBDIR)/indent && \
15913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15915 "RANLIB=$${RANLIB}" \
15916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15917 installcheck) \
15918 || exit 1
15920 @endif indent
15922 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15923 maybe-mostlyclean-indent:
15924 @if indent
15925 maybe-mostlyclean-indent: mostlyclean-indent
15927 mostlyclean-indent:
15928 @: $(MAKE); $(unstage)
15929 @[ -f ./indent/Makefile ] || exit 0; \
15930 r=`${PWD_COMMAND}`; export r; \
15931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15932 $(HOST_EXPORTS) \
15933 for flag in $(EXTRA_HOST_FLAGS) ; do \
15934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15935 done; \
15936 echo "Doing mostlyclean in indent" ; \
15937 (cd $(HOST_SUBDIR)/indent && \
15938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15940 "RANLIB=$${RANLIB}" \
15941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15942 mostlyclean) \
15943 || exit 1
15945 @endif indent
15947 .PHONY: maybe-clean-indent clean-indent
15948 maybe-clean-indent:
15949 @if indent
15950 maybe-clean-indent: clean-indent
15952 clean-indent:
15953 @: $(MAKE); $(unstage)
15954 @[ -f ./indent/Makefile ] || exit 0; \
15955 r=`${PWD_COMMAND}`; export r; \
15956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15957 $(HOST_EXPORTS) \
15958 for flag in $(EXTRA_HOST_FLAGS) ; do \
15959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15960 done; \
15961 echo "Doing clean in indent" ; \
15962 (cd $(HOST_SUBDIR)/indent && \
15963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15965 "RANLIB=$${RANLIB}" \
15966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15967 clean) \
15968 || exit 1
15970 @endif indent
15972 .PHONY: maybe-distclean-indent distclean-indent
15973 maybe-distclean-indent:
15974 @if indent
15975 maybe-distclean-indent: distclean-indent
15977 distclean-indent:
15978 @: $(MAKE); $(unstage)
15979 @[ -f ./indent/Makefile ] || exit 0; \
15980 r=`${PWD_COMMAND}`; export r; \
15981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15982 $(HOST_EXPORTS) \
15983 for flag in $(EXTRA_HOST_FLAGS) ; do \
15984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15985 done; \
15986 echo "Doing distclean in indent" ; \
15987 (cd $(HOST_SUBDIR)/indent && \
15988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15990 "RANLIB=$${RANLIB}" \
15991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15992 distclean) \
15993 || exit 1
15995 @endif indent
15997 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
15998 maybe-maintainer-clean-indent:
15999 @if indent
16000 maybe-maintainer-clean-indent: maintainer-clean-indent
16002 maintainer-clean-indent:
16003 @: $(MAKE); $(unstage)
16004 @[ -f ./indent/Makefile ] || exit 0; \
16005 r=`${PWD_COMMAND}`; export r; \
16006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16007 $(HOST_EXPORTS) \
16008 for flag in $(EXTRA_HOST_FLAGS) ; do \
16009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16010 done; \
16011 echo "Doing maintainer-clean in indent" ; \
16012 (cd $(HOST_SUBDIR)/indent && \
16013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16015 "RANLIB=$${RANLIB}" \
16016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16017 maintainer-clean) \
16018 || exit 1
16020 @endif indent
16024 .PHONY: configure-intl maybe-configure-intl
16025 maybe-configure-intl:
16026 @if gcc-bootstrap
16027 configure-intl: stage_current
16028 @endif gcc-bootstrap
16029 @if intl
16030 maybe-configure-intl: configure-intl
16031 configure-intl:
16032 @r=`${PWD_COMMAND}`; export r; \
16033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16034 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16036 $(HOST_EXPORTS) \
16037 echo Configuring in $(HOST_SUBDIR)/intl; \
16038 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16039 case $(srcdir) in \
16040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16041 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16043 esac; \
16044 srcdiroption="--srcdir=$${topdir}/intl"; \
16045 libsrcdir="$$s/intl"; \
16046 $(SHELL) $${libsrcdir}/configure \
16047 $(HOST_CONFIGARGS) $${srcdiroption} \
16048 || exit 1
16049 @endif intl
16053 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16054 maybe-configure-stage1-intl:
16055 @if intl-bootstrap
16056 maybe-configure-stage1-intl: configure-stage1-intl
16057 configure-stage1-intl:
16058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16060 @r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16063 $(HOST_EXPORTS) \
16064 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16066 cd $(HOST_SUBDIR)/intl || exit 1; \
16067 case $(srcdir) in \
16068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16069 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16071 esac; \
16072 srcdiroption="--srcdir=$${topdir}/intl"; \
16073 libsrcdir="$$s/intl"; \
16074 $(SHELL) $${libsrcdir}/configure \
16075 $(HOST_CONFIGARGS) $${srcdiroption} \
16077 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16078 @endif intl-bootstrap
16080 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16081 maybe-configure-stage2-intl:
16082 @if intl-bootstrap
16083 maybe-configure-stage2-intl: configure-stage2-intl
16084 configure-stage2-intl:
16085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16087 @r=`${PWD_COMMAND}`; export r; \
16088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16090 $(HOST_EXPORTS) \
16091 $(POSTSTAGE1_HOST_EXPORTS) \
16092 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16094 cd $(HOST_SUBDIR)/intl || exit 1; \
16095 case $(srcdir) in \
16096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16097 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16099 esac; \
16100 srcdiroption="--srcdir=$${topdir}/intl"; \
16101 libsrcdir="$$s/intl"; \
16102 $(SHELL) $${libsrcdir}/configure \
16103 $(HOST_CONFIGARGS) $${srcdiroption} \
16104 --with-build-libsubdir=$(HOST_SUBDIR) \
16105 @stage2_werror_flag@
16106 @endif intl-bootstrap
16108 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16109 maybe-configure-stage3-intl:
16110 @if intl-bootstrap
16111 maybe-configure-stage3-intl: configure-stage3-intl
16112 configure-stage3-intl:
16113 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16115 @r=`${PWD_COMMAND}`; export r; \
16116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16117 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16118 $(HOST_EXPORTS) \
16119 $(POSTSTAGE1_HOST_EXPORTS) \
16120 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16122 cd $(HOST_SUBDIR)/intl || exit 1; \
16123 case $(srcdir) in \
16124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16125 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16127 esac; \
16128 srcdiroption="--srcdir=$${topdir}/intl"; \
16129 libsrcdir="$$s/intl"; \
16130 $(SHELL) $${libsrcdir}/configure \
16131 $(HOST_CONFIGARGS) $${srcdiroption} \
16132 --with-build-libsubdir=$(HOST_SUBDIR) \
16133 @stage2_werror_flag@
16134 @endif intl-bootstrap
16136 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16137 maybe-configure-stage4-intl:
16138 @if intl-bootstrap
16139 maybe-configure-stage4-intl: configure-stage4-intl
16140 configure-stage4-intl:
16141 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16143 @r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16146 $(HOST_EXPORTS) \
16147 $(POSTSTAGE1_HOST_EXPORTS) \
16148 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16150 cd $(HOST_SUBDIR)/intl || exit 1; \
16151 case $(srcdir) in \
16152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16153 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16155 esac; \
16156 srcdiroption="--srcdir=$${topdir}/intl"; \
16157 libsrcdir="$$s/intl"; \
16158 $(SHELL) $${libsrcdir}/configure \
16159 $(HOST_CONFIGARGS) $${srcdiroption} \
16160 --with-build-libsubdir=$(HOST_SUBDIR) \
16161 @stage2_werror_flag@
16162 @endif intl-bootstrap
16164 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16165 maybe-configure-stageprofile-intl:
16166 @if intl-bootstrap
16167 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16168 configure-stageprofile-intl:
16169 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16171 @r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16174 $(HOST_EXPORTS) \
16175 $(POSTSTAGE1_HOST_EXPORTS) \
16176 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16178 cd $(HOST_SUBDIR)/intl || exit 1; \
16179 case $(srcdir) in \
16180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16181 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16183 esac; \
16184 srcdiroption="--srcdir=$${topdir}/intl"; \
16185 libsrcdir="$$s/intl"; \
16186 $(SHELL) $${libsrcdir}/configure \
16187 $(HOST_CONFIGARGS) $${srcdiroption} \
16188 --with-build-libsubdir=$(HOST_SUBDIR) \
16189 @stage2_werror_flag@
16190 @endif intl-bootstrap
16192 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16193 maybe-configure-stagefeedback-intl:
16194 @if intl-bootstrap
16195 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16196 configure-stagefeedback-intl:
16197 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16199 @r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16202 $(HOST_EXPORTS) \
16203 $(POSTSTAGE1_HOST_EXPORTS) \
16204 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16206 cd $(HOST_SUBDIR)/intl || exit 1; \
16207 case $(srcdir) in \
16208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16209 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16211 esac; \
16212 srcdiroption="--srcdir=$${topdir}/intl"; \
16213 libsrcdir="$$s/intl"; \
16214 $(SHELL) $${libsrcdir}/configure \
16215 $(HOST_CONFIGARGS) $${srcdiroption} \
16216 --with-build-libsubdir=$(HOST_SUBDIR) \
16217 @stage2_werror_flag@
16218 @endif intl-bootstrap
16224 .PHONY: all-intl maybe-all-intl
16225 maybe-all-intl:
16226 @if gcc-bootstrap
16227 all-intl: stage_current
16228 @endif gcc-bootstrap
16229 @if intl
16230 TARGET-intl=all
16231 maybe-all-intl: all-intl
16232 all-intl: configure-intl
16233 @r=`${PWD_COMMAND}`; export r; \
16234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16235 $(HOST_EXPORTS) \
16236 (cd $(HOST_SUBDIR)/intl && \
16237 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16238 @endif intl
16242 .PHONY: all-stage1-intl maybe-all-stage1-intl
16243 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16244 maybe-all-stage1-intl:
16245 maybe-clean-stage1-intl:
16246 @if intl-bootstrap
16247 maybe-all-stage1-intl: all-stage1-intl
16248 all-stage1: all-stage1-intl
16249 TARGET-stage1-intl = $(TARGET-intl)
16250 all-stage1-intl: configure-stage1-intl
16251 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16252 @r=`${PWD_COMMAND}`; export r; \
16253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254 $(HOST_EXPORTS) \
16255 cd $(HOST_SUBDIR)/intl && \
16256 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16257 $(TARGET-stage1-intl)
16259 maybe-clean-stage1-intl: clean-stage1-intl
16260 clean-stage1: clean-stage1-intl
16261 clean-stage1-intl:
16262 @if [ $(current_stage) = stage1 ]; then \
16263 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16264 else \
16265 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16266 $(MAKE) stage1-start; \
16267 fi; \
16268 cd $(HOST_SUBDIR)/intl && \
16269 $(MAKE) $(FLAGS_TO_PASS) \
16270 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16271 @endif intl-bootstrap
16274 .PHONY: all-stage2-intl maybe-all-stage2-intl
16275 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16276 maybe-all-stage2-intl:
16277 maybe-clean-stage2-intl:
16278 @if intl-bootstrap
16279 maybe-all-stage2-intl: all-stage2-intl
16280 all-stage2: all-stage2-intl
16281 TARGET-stage2-intl = $(TARGET-intl)
16282 all-stage2-intl: configure-stage2-intl
16283 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16284 @r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 $(POSTSTAGE1_HOST_EXPORTS) \
16288 cd $(HOST_SUBDIR)/intl && \
16289 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16290 $(TARGET-stage2-intl)
16292 maybe-clean-stage2-intl: clean-stage2-intl
16293 clean-stage2: clean-stage2-intl
16294 clean-stage2-intl:
16295 @if [ $(current_stage) = stage2 ]; then \
16296 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16297 else \
16298 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16299 $(MAKE) stage2-start; \
16300 fi; \
16301 cd $(HOST_SUBDIR)/intl && \
16302 $(MAKE) $(FLAGS_TO_PASS) \
16303 $(POSTSTAGE1_FLAGS_TO_PASS) \
16304 clean
16305 @endif intl-bootstrap
16308 .PHONY: all-stage3-intl maybe-all-stage3-intl
16309 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16310 maybe-all-stage3-intl:
16311 maybe-clean-stage3-intl:
16312 @if intl-bootstrap
16313 maybe-all-stage3-intl: all-stage3-intl
16314 all-stage3: all-stage3-intl
16315 TARGET-stage3-intl = $(TARGET-intl)
16316 all-stage3-intl: configure-stage3-intl
16317 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16318 @r=`${PWD_COMMAND}`; export r; \
16319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16320 $(HOST_EXPORTS) \
16321 $(POSTSTAGE1_HOST_EXPORTS) \
16322 cd $(HOST_SUBDIR)/intl && \
16323 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16324 $(TARGET-stage3-intl)
16326 maybe-clean-stage3-intl: clean-stage3-intl
16327 clean-stage3: clean-stage3-intl
16328 clean-stage3-intl:
16329 @if [ $(current_stage) = stage3 ]; then \
16330 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16331 else \
16332 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16333 $(MAKE) stage3-start; \
16334 fi; \
16335 cd $(HOST_SUBDIR)/intl && \
16336 $(MAKE) $(FLAGS_TO_PASS) \
16337 $(POSTSTAGE1_FLAGS_TO_PASS) \
16338 clean
16339 @endif intl-bootstrap
16342 .PHONY: all-stage4-intl maybe-all-stage4-intl
16343 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16344 maybe-all-stage4-intl:
16345 maybe-clean-stage4-intl:
16346 @if intl-bootstrap
16347 maybe-all-stage4-intl: all-stage4-intl
16348 all-stage4: all-stage4-intl
16349 TARGET-stage4-intl = $(TARGET-intl)
16350 all-stage4-intl: configure-stage4-intl
16351 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16352 @r=`${PWD_COMMAND}`; export r; \
16353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16354 $(HOST_EXPORTS) \
16355 $(POSTSTAGE1_HOST_EXPORTS) \
16356 cd $(HOST_SUBDIR)/intl && \
16357 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16358 $(TARGET-stage4-intl)
16360 maybe-clean-stage4-intl: clean-stage4-intl
16361 clean-stage4: clean-stage4-intl
16362 clean-stage4-intl:
16363 @if [ $(current_stage) = stage4 ]; then \
16364 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16365 else \
16366 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
16367 $(MAKE) stage4-start; \
16368 fi; \
16369 cd $(HOST_SUBDIR)/intl && \
16370 $(MAKE) $(FLAGS_TO_PASS) \
16371 $(POSTSTAGE1_FLAGS_TO_PASS) \
16372 clean
16373 @endif intl-bootstrap
16376 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16377 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16378 maybe-all-stageprofile-intl:
16379 maybe-clean-stageprofile-intl:
16380 @if intl-bootstrap
16381 maybe-all-stageprofile-intl: all-stageprofile-intl
16382 all-stageprofile: all-stageprofile-intl
16383 TARGET-stageprofile-intl = $(TARGET-intl)
16384 all-stageprofile-intl: configure-stageprofile-intl
16385 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16386 @r=`${PWD_COMMAND}`; export r; \
16387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16388 $(HOST_EXPORTS) \
16389 $(POSTSTAGE1_HOST_EXPORTS) \
16390 cd $(HOST_SUBDIR)/intl && \
16391 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16392 $(TARGET-stageprofile-intl)
16394 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16395 clean-stageprofile: clean-stageprofile-intl
16396 clean-stageprofile-intl:
16397 @if [ $(current_stage) = stageprofile ]; then \
16398 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16399 else \
16400 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
16401 $(MAKE) stageprofile-start; \
16402 fi; \
16403 cd $(HOST_SUBDIR)/intl && \
16404 $(MAKE) $(FLAGS_TO_PASS) \
16405 $(POSTSTAGE1_FLAGS_TO_PASS) \
16406 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16407 @endif intl-bootstrap
16410 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16411 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16412 maybe-all-stagefeedback-intl:
16413 maybe-clean-stagefeedback-intl:
16414 @if intl-bootstrap
16415 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16416 all-stagefeedback: all-stagefeedback-intl
16417 TARGET-stagefeedback-intl = $(TARGET-intl)
16418 all-stagefeedback-intl: configure-stagefeedback-intl
16419 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16420 @r=`${PWD_COMMAND}`; export r; \
16421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16422 $(HOST_EXPORTS) \
16423 $(POSTSTAGE1_HOST_EXPORTS) \
16424 cd $(HOST_SUBDIR)/intl && \
16425 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16426 $(TARGET-stagefeedback-intl)
16428 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16429 clean-stagefeedback: clean-stagefeedback-intl
16430 clean-stagefeedback-intl:
16431 @if [ $(current_stage) = stagefeedback ]; then \
16432 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16433 else \
16434 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
16435 $(MAKE) stagefeedback-start; \
16436 fi; \
16437 cd $(HOST_SUBDIR)/intl && \
16438 $(MAKE) $(FLAGS_TO_PASS) \
16439 $(POSTSTAGE1_FLAGS_TO_PASS) \
16440 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16441 @endif intl-bootstrap
16447 .PHONY: check-intl maybe-check-intl
16448 maybe-check-intl:
16449 @if intl
16450 maybe-check-intl: check-intl
16452 check-intl:
16453 @: $(MAKE); $(unstage)
16454 @r=`${PWD_COMMAND}`; export r; \
16455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 $(HOST_EXPORTS) \
16457 (cd $(HOST_SUBDIR)/intl && \
16458 $(MAKE) $(FLAGS_TO_PASS) check)
16460 @endif intl
16462 .PHONY: install-intl maybe-install-intl
16463 maybe-install-intl:
16464 @if intl
16465 maybe-install-intl: install-intl
16467 install-intl: installdirs
16468 @: $(MAKE); $(unstage)
16469 @r=`${PWD_COMMAND}`; export r; \
16470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16471 $(HOST_EXPORTS) \
16472 (cd $(HOST_SUBDIR)/intl && \
16473 $(MAKE) $(FLAGS_TO_PASS) install)
16475 @endif intl
16477 # Other targets (info, dvi, pdf, etc.)
16479 .PHONY: maybe-info-intl info-intl
16480 maybe-info-intl:
16481 @if intl
16482 maybe-info-intl: info-intl
16484 info-intl: \
16485 configure-intl
16486 @[ -f ./intl/Makefile ] || exit 0; \
16487 r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489 $(HOST_EXPORTS) \
16490 for flag in $(EXTRA_HOST_FLAGS) ; do \
16491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16492 done; \
16493 echo "Doing info in intl" ; \
16494 (cd $(HOST_SUBDIR)/intl && \
16495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16497 "RANLIB=$${RANLIB}" \
16498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16499 info) \
16500 || exit 1
16502 @endif intl
16504 .PHONY: maybe-dvi-intl dvi-intl
16505 maybe-dvi-intl:
16506 @if intl
16507 maybe-dvi-intl: dvi-intl
16509 dvi-intl: \
16510 configure-intl
16511 @[ -f ./intl/Makefile ] || exit 0; \
16512 r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16514 $(HOST_EXPORTS) \
16515 for flag in $(EXTRA_HOST_FLAGS) ; do \
16516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16517 done; \
16518 echo "Doing dvi in intl" ; \
16519 (cd $(HOST_SUBDIR)/intl && \
16520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16522 "RANLIB=$${RANLIB}" \
16523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16524 dvi) \
16525 || exit 1
16527 @endif intl
16529 .PHONY: maybe-pdf-intl pdf-intl
16530 maybe-pdf-intl:
16531 @if intl
16532 maybe-pdf-intl: pdf-intl
16534 pdf-intl: \
16535 configure-intl
16536 @[ -f ./intl/Makefile ] || exit 0; \
16537 r=`${PWD_COMMAND}`; export r; \
16538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16539 $(HOST_EXPORTS) \
16540 for flag in $(EXTRA_HOST_FLAGS) ; do \
16541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16542 done; \
16543 echo "Doing pdf in intl" ; \
16544 (cd $(HOST_SUBDIR)/intl && \
16545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16547 "RANLIB=$${RANLIB}" \
16548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16549 pdf) \
16550 || exit 1
16552 @endif intl
16554 .PHONY: maybe-html-intl html-intl
16555 maybe-html-intl:
16556 @if intl
16557 maybe-html-intl: html-intl
16559 html-intl: \
16560 configure-intl
16561 @[ -f ./intl/Makefile ] || exit 0; \
16562 r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 for flag in $(EXTRA_HOST_FLAGS) ; do \
16566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16567 done; \
16568 echo "Doing html in intl" ; \
16569 (cd $(HOST_SUBDIR)/intl && \
16570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16572 "RANLIB=$${RANLIB}" \
16573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16574 html) \
16575 || exit 1
16577 @endif intl
16579 .PHONY: maybe-TAGS-intl TAGS-intl
16580 maybe-TAGS-intl:
16581 @if intl
16582 maybe-TAGS-intl: TAGS-intl
16584 TAGS-intl: \
16585 configure-intl
16586 @[ -f ./intl/Makefile ] || exit 0; \
16587 r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing TAGS in intl" ; \
16594 (cd $(HOST_SUBDIR)/intl && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16599 TAGS) \
16600 || exit 1
16602 @endif intl
16604 .PHONY: maybe-install-info-intl install-info-intl
16605 maybe-install-info-intl:
16606 @if intl
16607 maybe-install-info-intl: install-info-intl
16609 install-info-intl: \
16610 configure-intl \
16611 info-intl
16612 @[ -f ./intl/Makefile ] || exit 0; \
16613 r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing install-info in intl" ; \
16620 (cd $(HOST_SUBDIR)/intl && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16625 install-info) \
16626 || exit 1
16628 @endif intl
16630 .PHONY: maybe-install-html-intl install-html-intl
16631 maybe-install-html-intl:
16632 @if intl
16633 maybe-install-html-intl: install-html-intl
16635 install-html-intl: \
16636 configure-intl \
16637 html-intl
16638 @[ -f ./intl/Makefile ] || exit 0; \
16639 r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 $(HOST_EXPORTS) \
16642 for flag in $(EXTRA_HOST_FLAGS) ; do \
16643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16644 done; \
16645 echo "Doing install-html in intl" ; \
16646 (cd $(HOST_SUBDIR)/intl && \
16647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16649 "RANLIB=$${RANLIB}" \
16650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16651 install-html) \
16652 || exit 1
16654 @endif intl
16656 .PHONY: maybe-installcheck-intl installcheck-intl
16657 maybe-installcheck-intl:
16658 @if intl
16659 maybe-installcheck-intl: installcheck-intl
16661 installcheck-intl: \
16662 configure-intl
16663 @[ -f ./intl/Makefile ] || exit 0; \
16664 r=`${PWD_COMMAND}`; export r; \
16665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16666 $(HOST_EXPORTS) \
16667 for flag in $(EXTRA_HOST_FLAGS) ; do \
16668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16669 done; \
16670 echo "Doing installcheck in intl" ; \
16671 (cd $(HOST_SUBDIR)/intl && \
16672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16674 "RANLIB=$${RANLIB}" \
16675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16676 installcheck) \
16677 || exit 1
16679 @endif intl
16681 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16682 maybe-mostlyclean-intl:
16683 @if intl
16684 maybe-mostlyclean-intl: mostlyclean-intl
16686 mostlyclean-intl:
16687 @[ -f ./intl/Makefile ] || exit 0; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) ; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing mostlyclean in intl" ; \
16695 (cd $(HOST_SUBDIR)/intl && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16700 mostlyclean) \
16701 || exit 1
16703 @endif intl
16705 .PHONY: maybe-clean-intl clean-intl
16706 maybe-clean-intl:
16707 @if intl
16708 maybe-clean-intl: clean-intl
16710 clean-intl:
16711 @[ -f ./intl/Makefile ] || exit 0; \
16712 r=`${PWD_COMMAND}`; export r; \
16713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 $(HOST_EXPORTS) \
16715 for flag in $(EXTRA_HOST_FLAGS) ; do \
16716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16717 done; \
16718 echo "Doing clean in intl" ; \
16719 (cd $(HOST_SUBDIR)/intl && \
16720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16722 "RANLIB=$${RANLIB}" \
16723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16724 clean) \
16725 || exit 1
16727 @endif intl
16729 .PHONY: maybe-distclean-intl distclean-intl
16730 maybe-distclean-intl:
16731 @if intl
16732 maybe-distclean-intl: distclean-intl
16734 distclean-intl:
16735 @[ -f ./intl/Makefile ] || exit 0; \
16736 r=`${PWD_COMMAND}`; export r; \
16737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16738 $(HOST_EXPORTS) \
16739 for flag in $(EXTRA_HOST_FLAGS) ; do \
16740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16741 done; \
16742 echo "Doing distclean in intl" ; \
16743 (cd $(HOST_SUBDIR)/intl && \
16744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16746 "RANLIB=$${RANLIB}" \
16747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16748 distclean) \
16749 || exit 1
16751 @endif intl
16753 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16754 maybe-maintainer-clean-intl:
16755 @if intl
16756 maybe-maintainer-clean-intl: maintainer-clean-intl
16758 maintainer-clean-intl:
16759 @[ -f ./intl/Makefile ] || exit 0; \
16760 r=`${PWD_COMMAND}`; export r; \
16761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16762 $(HOST_EXPORTS) \
16763 for flag in $(EXTRA_HOST_FLAGS) ; do \
16764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16765 done; \
16766 echo "Doing maintainer-clean in intl" ; \
16767 (cd $(HOST_SUBDIR)/intl && \
16768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16770 "RANLIB=$${RANLIB}" \
16771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16772 maintainer-clean) \
16773 || exit 1
16775 @endif intl
16779 .PHONY: configure-tcl maybe-configure-tcl
16780 maybe-configure-tcl:
16781 @if gcc-bootstrap
16782 configure-tcl: stage_current
16783 @endif gcc-bootstrap
16784 @if tcl
16785 maybe-configure-tcl: configure-tcl
16786 configure-tcl:
16787 @: $(MAKE); $(unstage)
16788 @r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16792 $(HOST_EXPORTS) \
16793 echo Configuring in $(HOST_SUBDIR)/tcl; \
16794 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16795 case $(srcdir) in \
16796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16797 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16799 esac; \
16800 srcdiroption="--srcdir=$${topdir}/tcl"; \
16801 libsrcdir="$$s/tcl"; \
16802 $(SHELL) $${libsrcdir}/configure \
16803 $(HOST_CONFIGARGS) $${srcdiroption} \
16804 || exit 1
16805 @endif tcl
16811 .PHONY: all-tcl maybe-all-tcl
16812 maybe-all-tcl:
16813 @if gcc-bootstrap
16814 all-tcl: stage_current
16815 @endif gcc-bootstrap
16816 @if tcl
16817 TARGET-tcl=all
16818 maybe-all-tcl: all-tcl
16819 all-tcl: configure-tcl
16820 @: $(MAKE); $(unstage)
16821 @r=`${PWD_COMMAND}`; export r; \
16822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 $(HOST_EXPORTS) \
16824 (cd $(HOST_SUBDIR)/tcl && \
16825 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16826 @endif tcl
16831 .PHONY: check-tcl maybe-check-tcl
16832 maybe-check-tcl:
16833 @if tcl
16834 maybe-check-tcl: check-tcl
16836 check-tcl:
16837 @: $(MAKE); $(unstage)
16838 @r=`${PWD_COMMAND}`; export r; \
16839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16840 $(HOST_EXPORTS) \
16841 (cd $(HOST_SUBDIR)/tcl && \
16842 $(MAKE) $(FLAGS_TO_PASS) check)
16844 @endif tcl
16846 .PHONY: install-tcl maybe-install-tcl
16847 maybe-install-tcl:
16848 @if tcl
16849 maybe-install-tcl: install-tcl
16851 install-tcl: installdirs
16852 @: $(MAKE); $(unstage)
16853 @r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 $(HOST_EXPORTS) \
16856 (cd $(HOST_SUBDIR)/tcl && \
16857 $(MAKE) $(FLAGS_TO_PASS) install)
16859 @endif tcl
16861 # Other targets (info, dvi, pdf, etc.)
16863 .PHONY: maybe-info-tcl info-tcl
16864 maybe-info-tcl:
16865 @if tcl
16866 maybe-info-tcl: info-tcl
16868 info-tcl: \
16869 configure-tcl
16870 @: $(MAKE); $(unstage)
16871 @[ -f ./tcl/Makefile ] || exit 0; \
16872 r=`${PWD_COMMAND}`; export r; \
16873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 $(HOST_EXPORTS) \
16875 for flag in $(EXTRA_HOST_FLAGS) ; do \
16876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16877 done; \
16878 echo "Doing info in tcl" ; \
16879 (cd $(HOST_SUBDIR)/tcl && \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16882 "RANLIB=$${RANLIB}" \
16883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16884 info) \
16885 || exit 1
16887 @endif tcl
16889 .PHONY: maybe-dvi-tcl dvi-tcl
16890 maybe-dvi-tcl:
16891 @if tcl
16892 maybe-dvi-tcl: dvi-tcl
16894 dvi-tcl: \
16895 configure-tcl
16896 @: $(MAKE); $(unstage)
16897 @[ -f ./tcl/Makefile ] || exit 0; \
16898 r=`${PWD_COMMAND}`; export r; \
16899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16900 $(HOST_EXPORTS) \
16901 for flag in $(EXTRA_HOST_FLAGS) ; do \
16902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16903 done; \
16904 echo "Doing dvi in tcl" ; \
16905 (cd $(HOST_SUBDIR)/tcl && \
16906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16908 "RANLIB=$${RANLIB}" \
16909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16910 dvi) \
16911 || exit 1
16913 @endif tcl
16915 .PHONY: maybe-pdf-tcl pdf-tcl
16916 maybe-pdf-tcl:
16917 @if tcl
16918 maybe-pdf-tcl: pdf-tcl
16920 pdf-tcl: \
16921 configure-tcl
16922 @: $(MAKE); $(unstage)
16923 @[ -f ./tcl/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 $(HOST_EXPORTS) \
16927 for flag in $(EXTRA_HOST_FLAGS) ; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16929 done; \
16930 echo "Doing pdf in tcl" ; \
16931 (cd $(HOST_SUBDIR)/tcl && \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16936 pdf) \
16937 || exit 1
16939 @endif tcl
16941 .PHONY: maybe-html-tcl html-tcl
16942 maybe-html-tcl:
16943 @if tcl
16944 maybe-html-tcl: html-tcl
16946 html-tcl: \
16947 configure-tcl
16948 @: $(MAKE); $(unstage)
16949 @[ -f ./tcl/Makefile ] || exit 0; \
16950 r=`${PWD_COMMAND}`; export r; \
16951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16952 $(HOST_EXPORTS) \
16953 for flag in $(EXTRA_HOST_FLAGS) ; do \
16954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16955 done; \
16956 echo "Doing html in tcl" ; \
16957 (cd $(HOST_SUBDIR)/tcl && \
16958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16960 "RANLIB=$${RANLIB}" \
16961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16962 html) \
16963 || exit 1
16965 @endif tcl
16967 .PHONY: maybe-TAGS-tcl TAGS-tcl
16968 maybe-TAGS-tcl:
16969 @if tcl
16970 maybe-TAGS-tcl: TAGS-tcl
16972 TAGS-tcl: \
16973 configure-tcl
16974 @: $(MAKE); $(unstage)
16975 @[ -f ./tcl/Makefile ] || exit 0; \
16976 r=`${PWD_COMMAND}`; export r; \
16977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16978 $(HOST_EXPORTS) \
16979 for flag in $(EXTRA_HOST_FLAGS) ; do \
16980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16981 done; \
16982 echo "Doing TAGS in tcl" ; \
16983 (cd $(HOST_SUBDIR)/tcl && \
16984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16986 "RANLIB=$${RANLIB}" \
16987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16988 TAGS) \
16989 || exit 1
16991 @endif tcl
16993 .PHONY: maybe-install-info-tcl install-info-tcl
16994 maybe-install-info-tcl:
16995 @if tcl
16996 maybe-install-info-tcl: install-info-tcl
16998 install-info-tcl: \
16999 configure-tcl \
17000 info-tcl
17001 @: $(MAKE); $(unstage)
17002 @[ -f ./tcl/Makefile ] || exit 0; \
17003 r=`${PWD_COMMAND}`; export r; \
17004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17005 $(HOST_EXPORTS) \
17006 for flag in $(EXTRA_HOST_FLAGS) ; do \
17007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17008 done; \
17009 echo "Doing install-info in tcl" ; \
17010 (cd $(HOST_SUBDIR)/tcl && \
17011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17013 "RANLIB=$${RANLIB}" \
17014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17015 install-info) \
17016 || exit 1
17018 @endif tcl
17020 .PHONY: maybe-install-html-tcl install-html-tcl
17021 maybe-install-html-tcl:
17022 @if tcl
17023 maybe-install-html-tcl: install-html-tcl
17025 install-html-tcl: \
17026 configure-tcl \
17027 html-tcl
17028 @: $(MAKE); $(unstage)
17029 @[ -f ./tcl/Makefile ] || exit 0; \
17030 r=`${PWD_COMMAND}`; export r; \
17031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17032 $(HOST_EXPORTS) \
17033 for flag in $(EXTRA_HOST_FLAGS) ; do \
17034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17035 done; \
17036 echo "Doing install-html in tcl" ; \
17037 (cd $(HOST_SUBDIR)/tcl && \
17038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17040 "RANLIB=$${RANLIB}" \
17041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17042 install-html) \
17043 || exit 1
17045 @endif tcl
17047 .PHONY: maybe-installcheck-tcl installcheck-tcl
17048 maybe-installcheck-tcl:
17049 @if tcl
17050 maybe-installcheck-tcl: installcheck-tcl
17052 installcheck-tcl: \
17053 configure-tcl
17054 @: $(MAKE); $(unstage)
17055 @[ -f ./tcl/Makefile ] || exit 0; \
17056 r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058 $(HOST_EXPORTS) \
17059 for flag in $(EXTRA_HOST_FLAGS) ; do \
17060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17061 done; \
17062 echo "Doing installcheck in tcl" ; \
17063 (cd $(HOST_SUBDIR)/tcl && \
17064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066 "RANLIB=$${RANLIB}" \
17067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17068 installcheck) \
17069 || exit 1
17071 @endif tcl
17073 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17074 maybe-mostlyclean-tcl:
17075 @if tcl
17076 maybe-mostlyclean-tcl: mostlyclean-tcl
17078 # tcl doesn't support mostlyclean.
17079 mostlyclean-tcl:
17081 @endif tcl
17083 .PHONY: maybe-clean-tcl clean-tcl
17084 maybe-clean-tcl:
17085 @if tcl
17086 maybe-clean-tcl: clean-tcl
17088 clean-tcl:
17089 @: $(MAKE); $(unstage)
17090 @[ -f ./tcl/Makefile ] || exit 0; \
17091 r=`${PWD_COMMAND}`; export r; \
17092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17093 $(HOST_EXPORTS) \
17094 for flag in $(EXTRA_HOST_FLAGS) ; do \
17095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17096 done; \
17097 echo "Doing clean in tcl" ; \
17098 (cd $(HOST_SUBDIR)/tcl && \
17099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17101 "RANLIB=$${RANLIB}" \
17102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17103 clean) \
17104 || exit 1
17106 @endif tcl
17108 .PHONY: maybe-distclean-tcl distclean-tcl
17109 maybe-distclean-tcl:
17110 @if tcl
17111 maybe-distclean-tcl: distclean-tcl
17113 distclean-tcl:
17114 @: $(MAKE); $(unstage)
17115 @[ -f ./tcl/Makefile ] || exit 0; \
17116 r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(HOST_EXPORTS) \
17119 for flag in $(EXTRA_HOST_FLAGS) ; do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 echo "Doing distclean in tcl" ; \
17123 (cd $(HOST_SUBDIR)/tcl && \
17124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17126 "RANLIB=$${RANLIB}" \
17127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17128 distclean) \
17129 || exit 1
17131 @endif tcl
17133 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17134 maybe-maintainer-clean-tcl:
17135 @if tcl
17136 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17138 maintainer-clean-tcl:
17139 @: $(MAKE); $(unstage)
17140 @[ -f ./tcl/Makefile ] || exit 0; \
17141 r=`${PWD_COMMAND}`; export r; \
17142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17143 $(HOST_EXPORTS) \
17144 for flag in $(EXTRA_HOST_FLAGS) ; do \
17145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17146 done; \
17147 echo "Doing maintainer-clean in tcl" ; \
17148 (cd $(HOST_SUBDIR)/tcl && \
17149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17151 "RANLIB=$${RANLIB}" \
17152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17153 maintainer-clean) \
17154 || exit 1
17156 @endif tcl
17160 .PHONY: configure-itcl maybe-configure-itcl
17161 maybe-configure-itcl:
17162 @if gcc-bootstrap
17163 configure-itcl: stage_current
17164 @endif gcc-bootstrap
17165 @if itcl
17166 maybe-configure-itcl: configure-itcl
17167 configure-itcl:
17168 @: $(MAKE); $(unstage)
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17173 $(HOST_EXPORTS) \
17174 echo Configuring in $(HOST_SUBDIR)/itcl; \
17175 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17176 case $(srcdir) in \
17177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17178 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17180 esac; \
17181 srcdiroption="--srcdir=$${topdir}/itcl"; \
17182 libsrcdir="$$s/itcl"; \
17183 $(SHELL) $${libsrcdir}/configure \
17184 $(HOST_CONFIGARGS) $${srcdiroption} \
17185 || exit 1
17186 @endif itcl
17192 .PHONY: all-itcl maybe-all-itcl
17193 maybe-all-itcl:
17194 @if gcc-bootstrap
17195 all-itcl: stage_current
17196 @endif gcc-bootstrap
17197 @if itcl
17198 TARGET-itcl=all
17199 maybe-all-itcl: all-itcl
17200 all-itcl: configure-itcl
17201 @: $(MAKE); $(unstage)
17202 @r=`${PWD_COMMAND}`; export r; \
17203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17204 $(HOST_EXPORTS) \
17205 (cd $(HOST_SUBDIR)/itcl && \
17206 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17207 @endif itcl
17212 .PHONY: check-itcl maybe-check-itcl
17213 maybe-check-itcl:
17214 @if itcl
17215 maybe-check-itcl: check-itcl
17217 check-itcl:
17218 @: $(MAKE); $(unstage)
17219 @r=`${PWD_COMMAND}`; export r; \
17220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17221 $(HOST_EXPORTS) \
17222 (cd $(HOST_SUBDIR)/itcl && \
17223 $(MAKE) $(FLAGS_TO_PASS) check)
17225 @endif itcl
17227 .PHONY: install-itcl maybe-install-itcl
17228 maybe-install-itcl:
17229 @if itcl
17230 maybe-install-itcl: install-itcl
17232 install-itcl: installdirs
17233 @: $(MAKE); $(unstage)
17234 @r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236 $(HOST_EXPORTS) \
17237 (cd $(HOST_SUBDIR)/itcl && \
17238 $(MAKE) $(FLAGS_TO_PASS) install)
17240 @endif itcl
17242 # Other targets (info, dvi, pdf, etc.)
17244 .PHONY: maybe-info-itcl info-itcl
17245 maybe-info-itcl:
17246 @if itcl
17247 maybe-info-itcl: info-itcl
17249 info-itcl: \
17250 configure-itcl
17251 @: $(MAKE); $(unstage)
17252 @[ -f ./itcl/Makefile ] || exit 0; \
17253 r=`${PWD_COMMAND}`; export r; \
17254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17255 $(HOST_EXPORTS) \
17256 for flag in $(EXTRA_HOST_FLAGS) ; do \
17257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17258 done; \
17259 echo "Doing info in itcl" ; \
17260 (cd $(HOST_SUBDIR)/itcl && \
17261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17263 "RANLIB=$${RANLIB}" \
17264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17265 info) \
17266 || exit 1
17268 @endif itcl
17270 .PHONY: maybe-dvi-itcl dvi-itcl
17271 maybe-dvi-itcl:
17272 @if itcl
17273 maybe-dvi-itcl: dvi-itcl
17275 dvi-itcl: \
17276 configure-itcl
17277 @: $(MAKE); $(unstage)
17278 @[ -f ./itcl/Makefile ] || exit 0; \
17279 r=`${PWD_COMMAND}`; export r; \
17280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17281 $(HOST_EXPORTS) \
17282 for flag in $(EXTRA_HOST_FLAGS) ; do \
17283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17284 done; \
17285 echo "Doing dvi in itcl" ; \
17286 (cd $(HOST_SUBDIR)/itcl && \
17287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17289 "RANLIB=$${RANLIB}" \
17290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17291 dvi) \
17292 || exit 1
17294 @endif itcl
17296 .PHONY: maybe-pdf-itcl pdf-itcl
17297 maybe-pdf-itcl:
17298 @if itcl
17299 maybe-pdf-itcl: pdf-itcl
17301 pdf-itcl: \
17302 configure-itcl
17303 @: $(MAKE); $(unstage)
17304 @[ -f ./itcl/Makefile ] || exit 0; \
17305 r=`${PWD_COMMAND}`; export r; \
17306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17307 $(HOST_EXPORTS) \
17308 for flag in $(EXTRA_HOST_FLAGS) ; do \
17309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17310 done; \
17311 echo "Doing pdf in itcl" ; \
17312 (cd $(HOST_SUBDIR)/itcl && \
17313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17315 "RANLIB=$${RANLIB}" \
17316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17317 pdf) \
17318 || exit 1
17320 @endif itcl
17322 .PHONY: maybe-html-itcl html-itcl
17323 maybe-html-itcl:
17324 @if itcl
17325 maybe-html-itcl: html-itcl
17327 html-itcl: \
17328 configure-itcl
17329 @: $(MAKE); $(unstage)
17330 @[ -f ./itcl/Makefile ] || exit 0; \
17331 r=`${PWD_COMMAND}`; export r; \
17332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333 $(HOST_EXPORTS) \
17334 for flag in $(EXTRA_HOST_FLAGS) ; do \
17335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17336 done; \
17337 echo "Doing html in itcl" ; \
17338 (cd $(HOST_SUBDIR)/itcl && \
17339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17341 "RANLIB=$${RANLIB}" \
17342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17343 html) \
17344 || exit 1
17346 @endif itcl
17348 .PHONY: maybe-TAGS-itcl TAGS-itcl
17349 maybe-TAGS-itcl:
17350 @if itcl
17351 maybe-TAGS-itcl: TAGS-itcl
17353 TAGS-itcl: \
17354 configure-itcl
17355 @: $(MAKE); $(unstage)
17356 @[ -f ./itcl/Makefile ] || exit 0; \
17357 r=`${PWD_COMMAND}`; export r; \
17358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17359 $(HOST_EXPORTS) \
17360 for flag in $(EXTRA_HOST_FLAGS) ; do \
17361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17362 done; \
17363 echo "Doing TAGS in itcl" ; \
17364 (cd $(HOST_SUBDIR)/itcl && \
17365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17367 "RANLIB=$${RANLIB}" \
17368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17369 TAGS) \
17370 || exit 1
17372 @endif itcl
17374 .PHONY: maybe-install-info-itcl install-info-itcl
17375 maybe-install-info-itcl:
17376 @if itcl
17377 maybe-install-info-itcl: install-info-itcl
17379 install-info-itcl: \
17380 configure-itcl \
17381 info-itcl
17382 @: $(MAKE); $(unstage)
17383 @[ -f ./itcl/Makefile ] || exit 0; \
17384 r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17386 $(HOST_EXPORTS) \
17387 for flag in $(EXTRA_HOST_FLAGS) ; do \
17388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17389 done; \
17390 echo "Doing install-info in itcl" ; \
17391 (cd $(HOST_SUBDIR)/itcl && \
17392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17394 "RANLIB=$${RANLIB}" \
17395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17396 install-info) \
17397 || exit 1
17399 @endif itcl
17401 .PHONY: maybe-install-html-itcl install-html-itcl
17402 maybe-install-html-itcl:
17403 @if itcl
17404 maybe-install-html-itcl: install-html-itcl
17406 install-html-itcl: \
17407 configure-itcl \
17408 html-itcl
17409 @: $(MAKE); $(unstage)
17410 @[ -f ./itcl/Makefile ] || exit 0; \
17411 r=`${PWD_COMMAND}`; export r; \
17412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17413 $(HOST_EXPORTS) \
17414 for flag in $(EXTRA_HOST_FLAGS) ; do \
17415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17416 done; \
17417 echo "Doing install-html in itcl" ; \
17418 (cd $(HOST_SUBDIR)/itcl && \
17419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17421 "RANLIB=$${RANLIB}" \
17422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17423 install-html) \
17424 || exit 1
17426 @endif itcl
17428 .PHONY: maybe-installcheck-itcl installcheck-itcl
17429 maybe-installcheck-itcl:
17430 @if itcl
17431 maybe-installcheck-itcl: installcheck-itcl
17433 installcheck-itcl: \
17434 configure-itcl
17435 @: $(MAKE); $(unstage)
17436 @[ -f ./itcl/Makefile ] || exit 0; \
17437 r=`${PWD_COMMAND}`; export r; \
17438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17439 $(HOST_EXPORTS) \
17440 for flag in $(EXTRA_HOST_FLAGS) ; do \
17441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17442 done; \
17443 echo "Doing installcheck in itcl" ; \
17444 (cd $(HOST_SUBDIR)/itcl && \
17445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17447 "RANLIB=$${RANLIB}" \
17448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17449 installcheck) \
17450 || exit 1
17452 @endif itcl
17454 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17455 maybe-mostlyclean-itcl:
17456 @if itcl
17457 maybe-mostlyclean-itcl: mostlyclean-itcl
17459 mostlyclean-itcl:
17460 @: $(MAKE); $(unstage)
17461 @[ -f ./itcl/Makefile ] || exit 0; \
17462 r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 $(HOST_EXPORTS) \
17465 for flag in $(EXTRA_HOST_FLAGS) ; do \
17466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17467 done; \
17468 echo "Doing mostlyclean in itcl" ; \
17469 (cd $(HOST_SUBDIR)/itcl && \
17470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472 "RANLIB=$${RANLIB}" \
17473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17474 mostlyclean) \
17475 || exit 1
17477 @endif itcl
17479 .PHONY: maybe-clean-itcl clean-itcl
17480 maybe-clean-itcl:
17481 @if itcl
17482 maybe-clean-itcl: clean-itcl
17484 clean-itcl:
17485 @: $(MAKE); $(unstage)
17486 @[ -f ./itcl/Makefile ] || exit 0; \
17487 r=`${PWD_COMMAND}`; export r; \
17488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17489 $(HOST_EXPORTS) \
17490 for flag in $(EXTRA_HOST_FLAGS) ; do \
17491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17492 done; \
17493 echo "Doing clean in itcl" ; \
17494 (cd $(HOST_SUBDIR)/itcl && \
17495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497 "RANLIB=$${RANLIB}" \
17498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17499 clean) \
17500 || exit 1
17502 @endif itcl
17504 .PHONY: maybe-distclean-itcl distclean-itcl
17505 maybe-distclean-itcl:
17506 @if itcl
17507 maybe-distclean-itcl: distclean-itcl
17509 distclean-itcl:
17510 @: $(MAKE); $(unstage)
17511 @[ -f ./itcl/Makefile ] || exit 0; \
17512 r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17514 $(HOST_EXPORTS) \
17515 for flag in $(EXTRA_HOST_FLAGS) ; do \
17516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17517 done; \
17518 echo "Doing distclean in itcl" ; \
17519 (cd $(HOST_SUBDIR)/itcl && \
17520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17522 "RANLIB=$${RANLIB}" \
17523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17524 distclean) \
17525 || exit 1
17527 @endif itcl
17529 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17530 maybe-maintainer-clean-itcl:
17531 @if itcl
17532 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17534 maintainer-clean-itcl:
17535 @: $(MAKE); $(unstage)
17536 @[ -f ./itcl/Makefile ] || exit 0; \
17537 r=`${PWD_COMMAND}`; export r; \
17538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17539 $(HOST_EXPORTS) \
17540 for flag in $(EXTRA_HOST_FLAGS) ; do \
17541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17542 done; \
17543 echo "Doing maintainer-clean in itcl" ; \
17544 (cd $(HOST_SUBDIR)/itcl && \
17545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17547 "RANLIB=$${RANLIB}" \
17548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17549 maintainer-clean) \
17550 || exit 1
17552 @endif itcl
17556 .PHONY: configure-ld maybe-configure-ld
17557 maybe-configure-ld:
17558 @if gcc-bootstrap
17559 configure-ld: stage_current
17560 @endif gcc-bootstrap
17561 @if ld
17562 maybe-configure-ld: configure-ld
17563 configure-ld:
17564 @r=`${PWD_COMMAND}`; export r; \
17565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17566 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17568 $(HOST_EXPORTS) \
17569 echo Configuring in $(HOST_SUBDIR)/ld; \
17570 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17571 case $(srcdir) in \
17572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17573 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17575 esac; \
17576 srcdiroption="--srcdir=$${topdir}/ld"; \
17577 libsrcdir="$$s/ld"; \
17578 $(SHELL) $${libsrcdir}/configure \
17579 $(HOST_CONFIGARGS) $${srcdiroption} \
17580 || exit 1
17581 @endif ld
17585 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17586 maybe-configure-stage1-ld:
17587 @if ld-bootstrap
17588 maybe-configure-stage1-ld: configure-stage1-ld
17589 configure-stage1-ld:
17590 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17592 @r=`${PWD_COMMAND}`; export r; \
17593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17594 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17595 $(HOST_EXPORTS) \
17596 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17598 cd $(HOST_SUBDIR)/ld || exit 1; \
17599 case $(srcdir) in \
17600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17601 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17603 esac; \
17604 srcdiroption="--srcdir=$${topdir}/ld"; \
17605 libsrcdir="$$s/ld"; \
17606 $(SHELL) $${libsrcdir}/configure \
17607 $(HOST_CONFIGARGS) $${srcdiroption} \
17609 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17610 @endif ld-bootstrap
17612 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17613 maybe-configure-stage2-ld:
17614 @if ld-bootstrap
17615 maybe-configure-stage2-ld: configure-stage2-ld
17616 configure-stage2-ld:
17617 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17619 @r=`${PWD_COMMAND}`; export r; \
17620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17621 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17622 $(HOST_EXPORTS) \
17623 $(POSTSTAGE1_HOST_EXPORTS) \
17624 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17626 cd $(HOST_SUBDIR)/ld || exit 1; \
17627 case $(srcdir) in \
17628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17629 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17631 esac; \
17632 srcdiroption="--srcdir=$${topdir}/ld"; \
17633 libsrcdir="$$s/ld"; \
17634 $(SHELL) $${libsrcdir}/configure \
17635 $(HOST_CONFIGARGS) $${srcdiroption} \
17636 --with-build-libsubdir=$(HOST_SUBDIR) \
17637 @stage2_werror_flag@
17638 @endif ld-bootstrap
17640 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17641 maybe-configure-stage3-ld:
17642 @if ld-bootstrap
17643 maybe-configure-stage3-ld: configure-stage3-ld
17644 configure-stage3-ld:
17645 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17647 @r=`${PWD_COMMAND}`; export r; \
17648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17649 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17650 $(HOST_EXPORTS) \
17651 $(POSTSTAGE1_HOST_EXPORTS) \
17652 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17654 cd $(HOST_SUBDIR)/ld || exit 1; \
17655 case $(srcdir) in \
17656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17657 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17659 esac; \
17660 srcdiroption="--srcdir=$${topdir}/ld"; \
17661 libsrcdir="$$s/ld"; \
17662 $(SHELL) $${libsrcdir}/configure \
17663 $(HOST_CONFIGARGS) $${srcdiroption} \
17664 --with-build-libsubdir=$(HOST_SUBDIR) \
17665 @stage2_werror_flag@
17666 @endif ld-bootstrap
17668 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17669 maybe-configure-stage4-ld:
17670 @if ld-bootstrap
17671 maybe-configure-stage4-ld: configure-stage4-ld
17672 configure-stage4-ld:
17673 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17675 @r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17677 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17678 $(HOST_EXPORTS) \
17679 $(POSTSTAGE1_HOST_EXPORTS) \
17680 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17682 cd $(HOST_SUBDIR)/ld || exit 1; \
17683 case $(srcdir) in \
17684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17685 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17687 esac; \
17688 srcdiroption="--srcdir=$${topdir}/ld"; \
17689 libsrcdir="$$s/ld"; \
17690 $(SHELL) $${libsrcdir}/configure \
17691 $(HOST_CONFIGARGS) $${srcdiroption} \
17692 --with-build-libsubdir=$(HOST_SUBDIR) \
17693 @stage2_werror_flag@
17694 @endif ld-bootstrap
17696 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17697 maybe-configure-stageprofile-ld:
17698 @if ld-bootstrap
17699 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17700 configure-stageprofile-ld:
17701 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17703 @r=`${PWD_COMMAND}`; export r; \
17704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17705 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17706 $(HOST_EXPORTS) \
17707 $(POSTSTAGE1_HOST_EXPORTS) \
17708 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17710 cd $(HOST_SUBDIR)/ld || exit 1; \
17711 case $(srcdir) in \
17712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17713 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17715 esac; \
17716 srcdiroption="--srcdir=$${topdir}/ld"; \
17717 libsrcdir="$$s/ld"; \
17718 $(SHELL) $${libsrcdir}/configure \
17719 $(HOST_CONFIGARGS) $${srcdiroption} \
17720 --with-build-libsubdir=$(HOST_SUBDIR) \
17721 @stage2_werror_flag@
17722 @endif ld-bootstrap
17724 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17725 maybe-configure-stagefeedback-ld:
17726 @if ld-bootstrap
17727 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17728 configure-stagefeedback-ld:
17729 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17731 @r=`${PWD_COMMAND}`; export r; \
17732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17733 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17734 $(HOST_EXPORTS) \
17735 $(POSTSTAGE1_HOST_EXPORTS) \
17736 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17738 cd $(HOST_SUBDIR)/ld || exit 1; \
17739 case $(srcdir) in \
17740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17741 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17743 esac; \
17744 srcdiroption="--srcdir=$${topdir}/ld"; \
17745 libsrcdir="$$s/ld"; \
17746 $(SHELL) $${libsrcdir}/configure \
17747 $(HOST_CONFIGARGS) $${srcdiroption} \
17748 --with-build-libsubdir=$(HOST_SUBDIR) \
17749 @stage2_werror_flag@
17750 @endif ld-bootstrap
17756 .PHONY: all-ld maybe-all-ld
17757 maybe-all-ld:
17758 @if gcc-bootstrap
17759 all-ld: stage_current
17760 @endif gcc-bootstrap
17761 @if ld
17762 TARGET-ld=all
17763 maybe-all-ld: all-ld
17764 all-ld: configure-ld
17765 @r=`${PWD_COMMAND}`; export r; \
17766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767 $(HOST_EXPORTS) \
17768 (cd $(HOST_SUBDIR)/ld && \
17769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17770 @endif ld
17774 .PHONY: all-stage1-ld maybe-all-stage1-ld
17775 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17776 maybe-all-stage1-ld:
17777 maybe-clean-stage1-ld:
17778 @if ld-bootstrap
17779 maybe-all-stage1-ld: all-stage1-ld
17780 all-stage1: all-stage1-ld
17781 TARGET-stage1-ld = $(TARGET-ld)
17782 all-stage1-ld: configure-stage1-ld
17783 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17784 @r=`${PWD_COMMAND}`; export r; \
17785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17786 $(HOST_EXPORTS) \
17787 cd $(HOST_SUBDIR)/ld && \
17788 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17789 $(TARGET-stage1-ld)
17791 maybe-clean-stage1-ld: clean-stage1-ld
17792 clean-stage1: clean-stage1-ld
17793 clean-stage1-ld:
17794 @if [ $(current_stage) = stage1 ]; then \
17795 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17796 else \
17797 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
17798 $(MAKE) stage1-start; \
17799 fi; \
17800 cd $(HOST_SUBDIR)/ld && \
17801 $(MAKE) $(FLAGS_TO_PASS) \
17802 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17803 @endif ld-bootstrap
17806 .PHONY: all-stage2-ld maybe-all-stage2-ld
17807 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17808 maybe-all-stage2-ld:
17809 maybe-clean-stage2-ld:
17810 @if ld-bootstrap
17811 maybe-all-stage2-ld: all-stage2-ld
17812 all-stage2: all-stage2-ld
17813 TARGET-stage2-ld = $(TARGET-ld)
17814 all-stage2-ld: configure-stage2-ld
17815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17816 @r=`${PWD_COMMAND}`; export r; \
17817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818 $(HOST_EXPORTS) \
17819 $(POSTSTAGE1_HOST_EXPORTS) \
17820 cd $(HOST_SUBDIR)/ld && \
17821 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17822 $(TARGET-stage2-ld)
17824 maybe-clean-stage2-ld: clean-stage2-ld
17825 clean-stage2: clean-stage2-ld
17826 clean-stage2-ld:
17827 @if [ $(current_stage) = stage2 ]; then \
17828 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17829 else \
17830 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
17831 $(MAKE) stage2-start; \
17832 fi; \
17833 cd $(HOST_SUBDIR)/ld && \
17834 $(MAKE) $(FLAGS_TO_PASS) \
17835 $(POSTSTAGE1_FLAGS_TO_PASS) \
17836 clean
17837 @endif ld-bootstrap
17840 .PHONY: all-stage3-ld maybe-all-stage3-ld
17841 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17842 maybe-all-stage3-ld:
17843 maybe-clean-stage3-ld:
17844 @if ld-bootstrap
17845 maybe-all-stage3-ld: all-stage3-ld
17846 all-stage3: all-stage3-ld
17847 TARGET-stage3-ld = $(TARGET-ld)
17848 all-stage3-ld: configure-stage3-ld
17849 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17850 @r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 $(HOST_EXPORTS) \
17853 $(POSTSTAGE1_HOST_EXPORTS) \
17854 cd $(HOST_SUBDIR)/ld && \
17855 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17856 $(TARGET-stage3-ld)
17858 maybe-clean-stage3-ld: clean-stage3-ld
17859 clean-stage3: clean-stage3-ld
17860 clean-stage3-ld:
17861 @if [ $(current_stage) = stage3 ]; then \
17862 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17863 else \
17864 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
17865 $(MAKE) stage3-start; \
17866 fi; \
17867 cd $(HOST_SUBDIR)/ld && \
17868 $(MAKE) $(FLAGS_TO_PASS) \
17869 $(POSTSTAGE1_FLAGS_TO_PASS) \
17870 clean
17871 @endif ld-bootstrap
17874 .PHONY: all-stage4-ld maybe-all-stage4-ld
17875 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17876 maybe-all-stage4-ld:
17877 maybe-clean-stage4-ld:
17878 @if ld-bootstrap
17879 maybe-all-stage4-ld: all-stage4-ld
17880 all-stage4: all-stage4-ld
17881 TARGET-stage4-ld = $(TARGET-ld)
17882 all-stage4-ld: configure-stage4-ld
17883 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17884 @r=`${PWD_COMMAND}`; export r; \
17885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17886 $(HOST_EXPORTS) \
17887 $(POSTSTAGE1_HOST_EXPORTS) \
17888 cd $(HOST_SUBDIR)/ld && \
17889 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17890 $(TARGET-stage4-ld)
17892 maybe-clean-stage4-ld: clean-stage4-ld
17893 clean-stage4: clean-stage4-ld
17894 clean-stage4-ld:
17895 @if [ $(current_stage) = stage4 ]; then \
17896 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17897 else \
17898 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
17899 $(MAKE) stage4-start; \
17900 fi; \
17901 cd $(HOST_SUBDIR)/ld && \
17902 $(MAKE) $(FLAGS_TO_PASS) \
17903 $(POSTSTAGE1_FLAGS_TO_PASS) \
17904 clean
17905 @endif ld-bootstrap
17908 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17909 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17910 maybe-all-stageprofile-ld:
17911 maybe-clean-stageprofile-ld:
17912 @if ld-bootstrap
17913 maybe-all-stageprofile-ld: all-stageprofile-ld
17914 all-stageprofile: all-stageprofile-ld
17915 TARGET-stageprofile-ld = $(TARGET-ld)
17916 all-stageprofile-ld: configure-stageprofile-ld
17917 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17918 @r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 $(HOST_EXPORTS) \
17921 $(POSTSTAGE1_HOST_EXPORTS) \
17922 cd $(HOST_SUBDIR)/ld && \
17923 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17924 $(TARGET-stageprofile-ld)
17926 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17927 clean-stageprofile: clean-stageprofile-ld
17928 clean-stageprofile-ld:
17929 @if [ $(current_stage) = stageprofile ]; then \
17930 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17931 else \
17932 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
17933 $(MAKE) stageprofile-start; \
17934 fi; \
17935 cd $(HOST_SUBDIR)/ld && \
17936 $(MAKE) $(FLAGS_TO_PASS) \
17937 $(POSTSTAGE1_FLAGS_TO_PASS) \
17938 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17939 @endif ld-bootstrap
17942 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17943 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17944 maybe-all-stagefeedback-ld:
17945 maybe-clean-stagefeedback-ld:
17946 @if ld-bootstrap
17947 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17948 all-stagefeedback: all-stagefeedback-ld
17949 TARGET-stagefeedback-ld = $(TARGET-ld)
17950 all-stagefeedback-ld: configure-stagefeedback-ld
17951 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17952 @r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(HOST_EXPORTS) \
17955 $(POSTSTAGE1_HOST_EXPORTS) \
17956 cd $(HOST_SUBDIR)/ld && \
17957 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17958 $(TARGET-stagefeedback-ld)
17960 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17961 clean-stagefeedback: clean-stagefeedback-ld
17962 clean-stagefeedback-ld:
17963 @if [ $(current_stage) = stagefeedback ]; then \
17964 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17965 else \
17966 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
17967 $(MAKE) stagefeedback-start; \
17968 fi; \
17969 cd $(HOST_SUBDIR)/ld && \
17970 $(MAKE) $(FLAGS_TO_PASS) \
17971 $(POSTSTAGE1_FLAGS_TO_PASS) \
17972 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17973 @endif ld-bootstrap
17979 .PHONY: check-ld maybe-check-ld
17980 maybe-check-ld:
17981 @if ld
17982 maybe-check-ld: check-ld
17984 check-ld:
17985 @: $(MAKE); $(unstage)
17986 @r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988 $(HOST_EXPORTS) \
17989 (cd $(HOST_SUBDIR)/ld && \
17990 $(MAKE) $(FLAGS_TO_PASS) check)
17992 @endif ld
17994 .PHONY: install-ld maybe-install-ld
17995 maybe-install-ld:
17996 @if ld
17997 maybe-install-ld: install-ld
17999 install-ld: installdirs
18000 @: $(MAKE); $(unstage)
18001 @r=`${PWD_COMMAND}`; export r; \
18002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18003 $(HOST_EXPORTS) \
18004 (cd $(HOST_SUBDIR)/ld && \
18005 $(MAKE) $(FLAGS_TO_PASS) install)
18007 @endif ld
18009 # Other targets (info, dvi, pdf, etc.)
18011 .PHONY: maybe-info-ld info-ld
18012 maybe-info-ld:
18013 @if ld
18014 maybe-info-ld: info-ld
18016 info-ld: \
18017 configure-ld
18018 @[ -f ./ld/Makefile ] || exit 0; \
18019 r=`${PWD_COMMAND}`; export r; \
18020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18021 $(HOST_EXPORTS) \
18022 for flag in $(EXTRA_HOST_FLAGS) ; do \
18023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18024 done; \
18025 echo "Doing info in ld" ; \
18026 (cd $(HOST_SUBDIR)/ld && \
18027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18029 "RANLIB=$${RANLIB}" \
18030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18031 info) \
18032 || exit 1
18034 @endif ld
18036 .PHONY: maybe-dvi-ld dvi-ld
18037 maybe-dvi-ld:
18038 @if ld
18039 maybe-dvi-ld: dvi-ld
18041 dvi-ld: \
18042 configure-ld
18043 @[ -f ./ld/Makefile ] || exit 0; \
18044 r=`${PWD_COMMAND}`; export r; \
18045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18046 $(HOST_EXPORTS) \
18047 for flag in $(EXTRA_HOST_FLAGS) ; do \
18048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18049 done; \
18050 echo "Doing dvi in ld" ; \
18051 (cd $(HOST_SUBDIR)/ld && \
18052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18054 "RANLIB=$${RANLIB}" \
18055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18056 dvi) \
18057 || exit 1
18059 @endif ld
18061 .PHONY: maybe-pdf-ld pdf-ld
18062 maybe-pdf-ld:
18063 @if ld
18064 maybe-pdf-ld: pdf-ld
18066 pdf-ld: \
18067 configure-ld
18068 @[ -f ./ld/Makefile ] || exit 0; \
18069 r=`${PWD_COMMAND}`; export r; \
18070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18071 $(HOST_EXPORTS) \
18072 for flag in $(EXTRA_HOST_FLAGS) ; do \
18073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18074 done; \
18075 echo "Doing pdf in ld" ; \
18076 (cd $(HOST_SUBDIR)/ld && \
18077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18079 "RANLIB=$${RANLIB}" \
18080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18081 pdf) \
18082 || exit 1
18084 @endif ld
18086 .PHONY: maybe-html-ld html-ld
18087 maybe-html-ld:
18088 @if ld
18089 maybe-html-ld: html-ld
18091 html-ld: \
18092 configure-ld
18093 @[ -f ./ld/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 $(HOST_EXPORTS) \
18097 for flag in $(EXTRA_HOST_FLAGS) ; do \
18098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 done; \
18100 echo "Doing html in ld" ; \
18101 (cd $(HOST_SUBDIR)/ld && \
18102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18104 "RANLIB=$${RANLIB}" \
18105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18106 html) \
18107 || exit 1
18109 @endif ld
18111 .PHONY: maybe-TAGS-ld TAGS-ld
18112 maybe-TAGS-ld:
18113 @if ld
18114 maybe-TAGS-ld: TAGS-ld
18116 TAGS-ld: \
18117 configure-ld
18118 @[ -f ./ld/Makefile ] || exit 0; \
18119 r=`${PWD_COMMAND}`; export r; \
18120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18121 $(HOST_EXPORTS) \
18122 for flag in $(EXTRA_HOST_FLAGS) ; do \
18123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18124 done; \
18125 echo "Doing TAGS in ld" ; \
18126 (cd $(HOST_SUBDIR)/ld && \
18127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18129 "RANLIB=$${RANLIB}" \
18130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18131 TAGS) \
18132 || exit 1
18134 @endif ld
18136 .PHONY: maybe-install-info-ld install-info-ld
18137 maybe-install-info-ld:
18138 @if ld
18139 maybe-install-info-ld: install-info-ld
18141 install-info-ld: \
18142 configure-ld \
18143 info-ld
18144 @[ -f ./ld/Makefile ] || exit 0; \
18145 r=`${PWD_COMMAND}`; export r; \
18146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18147 $(HOST_EXPORTS) \
18148 for flag in $(EXTRA_HOST_FLAGS) ; do \
18149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18150 done; \
18151 echo "Doing install-info in ld" ; \
18152 (cd $(HOST_SUBDIR)/ld && \
18153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18155 "RANLIB=$${RANLIB}" \
18156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18157 install-info) \
18158 || exit 1
18160 @endif ld
18162 .PHONY: maybe-install-html-ld install-html-ld
18163 maybe-install-html-ld:
18164 @if ld
18165 maybe-install-html-ld: install-html-ld
18167 install-html-ld: \
18168 configure-ld \
18169 html-ld
18170 @[ -f ./ld/Makefile ] || exit 0; \
18171 r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(HOST_EXPORTS) \
18174 for flag in $(EXTRA_HOST_FLAGS) ; do \
18175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18176 done; \
18177 echo "Doing install-html in ld" ; \
18178 (cd $(HOST_SUBDIR)/ld && \
18179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18181 "RANLIB=$${RANLIB}" \
18182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18183 install-html) \
18184 || exit 1
18186 @endif ld
18188 .PHONY: maybe-installcheck-ld installcheck-ld
18189 maybe-installcheck-ld:
18190 @if ld
18191 maybe-installcheck-ld: installcheck-ld
18193 installcheck-ld: \
18194 configure-ld
18195 @[ -f ./ld/Makefile ] || exit 0; \
18196 r=`${PWD_COMMAND}`; export r; \
18197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18198 $(HOST_EXPORTS) \
18199 for flag in $(EXTRA_HOST_FLAGS) ; do \
18200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18201 done; \
18202 echo "Doing installcheck in ld" ; \
18203 (cd $(HOST_SUBDIR)/ld && \
18204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18206 "RANLIB=$${RANLIB}" \
18207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18208 installcheck) \
18209 || exit 1
18211 @endif ld
18213 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18214 maybe-mostlyclean-ld:
18215 @if ld
18216 maybe-mostlyclean-ld: mostlyclean-ld
18218 mostlyclean-ld:
18219 @[ -f ./ld/Makefile ] || exit 0; \
18220 r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18222 $(HOST_EXPORTS) \
18223 for flag in $(EXTRA_HOST_FLAGS) ; do \
18224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18225 done; \
18226 echo "Doing mostlyclean in ld" ; \
18227 (cd $(HOST_SUBDIR)/ld && \
18228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18230 "RANLIB=$${RANLIB}" \
18231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232 mostlyclean) \
18233 || exit 1
18235 @endif ld
18237 .PHONY: maybe-clean-ld clean-ld
18238 maybe-clean-ld:
18239 @if ld
18240 maybe-clean-ld: clean-ld
18242 clean-ld:
18243 @[ -f ./ld/Makefile ] || exit 0; \
18244 r=`${PWD_COMMAND}`; export r; \
18245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18246 $(HOST_EXPORTS) \
18247 for flag in $(EXTRA_HOST_FLAGS) ; do \
18248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18249 done; \
18250 echo "Doing clean in ld" ; \
18251 (cd $(HOST_SUBDIR)/ld && \
18252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18254 "RANLIB=$${RANLIB}" \
18255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18256 clean) \
18257 || exit 1
18259 @endif ld
18261 .PHONY: maybe-distclean-ld distclean-ld
18262 maybe-distclean-ld:
18263 @if ld
18264 maybe-distclean-ld: distclean-ld
18266 distclean-ld:
18267 @[ -f ./ld/Makefile ] || exit 0; \
18268 r=`${PWD_COMMAND}`; export r; \
18269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18270 $(HOST_EXPORTS) \
18271 for flag in $(EXTRA_HOST_FLAGS) ; do \
18272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18273 done; \
18274 echo "Doing distclean in ld" ; \
18275 (cd $(HOST_SUBDIR)/ld && \
18276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18278 "RANLIB=$${RANLIB}" \
18279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18280 distclean) \
18281 || exit 1
18283 @endif ld
18285 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18286 maybe-maintainer-clean-ld:
18287 @if ld
18288 maybe-maintainer-clean-ld: maintainer-clean-ld
18290 maintainer-clean-ld:
18291 @[ -f ./ld/Makefile ] || exit 0; \
18292 r=`${PWD_COMMAND}`; export r; \
18293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18294 $(HOST_EXPORTS) \
18295 for flag in $(EXTRA_HOST_FLAGS) ; do \
18296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18297 done; \
18298 echo "Doing maintainer-clean in ld" ; \
18299 (cd $(HOST_SUBDIR)/ld && \
18300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18302 "RANLIB=$${RANLIB}" \
18303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18304 maintainer-clean) \
18305 || exit 1
18307 @endif ld
18311 .PHONY: configure-libcpp maybe-configure-libcpp
18312 maybe-configure-libcpp:
18313 @if gcc-bootstrap
18314 configure-libcpp: stage_current
18315 @endif gcc-bootstrap
18316 @if libcpp
18317 maybe-configure-libcpp: configure-libcpp
18318 configure-libcpp:
18319 @r=`${PWD_COMMAND}`; export r; \
18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18321 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18322 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18323 $(HOST_EXPORTS) \
18324 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18325 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18326 case $(srcdir) in \
18327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18328 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18330 esac; \
18331 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18332 libsrcdir="$$s/libcpp"; \
18333 $(SHELL) $${libsrcdir}/configure \
18334 $(HOST_CONFIGARGS) $${srcdiroption} \
18335 || exit 1
18336 @endif libcpp
18340 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18341 maybe-configure-stage1-libcpp:
18342 @if libcpp-bootstrap
18343 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18344 configure-stage1-libcpp:
18345 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18347 @r=`${PWD_COMMAND}`; export r; \
18348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18349 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18350 $(HOST_EXPORTS) \
18351 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18353 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18354 case $(srcdir) in \
18355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18356 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18358 esac; \
18359 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18360 libsrcdir="$$s/libcpp"; \
18361 $(SHELL) $${libsrcdir}/configure \
18362 $(HOST_CONFIGARGS) $${srcdiroption} \
18364 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18365 @endif libcpp-bootstrap
18367 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18368 maybe-configure-stage2-libcpp:
18369 @if libcpp-bootstrap
18370 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18371 configure-stage2-libcpp:
18372 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18374 @r=`${PWD_COMMAND}`; export r; \
18375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18377 $(HOST_EXPORTS) \
18378 $(POSTSTAGE1_HOST_EXPORTS) \
18379 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18381 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18382 case $(srcdir) in \
18383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18384 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18386 esac; \
18387 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18388 libsrcdir="$$s/libcpp"; \
18389 $(SHELL) $${libsrcdir}/configure \
18390 $(HOST_CONFIGARGS) $${srcdiroption} \
18391 --with-build-libsubdir=$(HOST_SUBDIR) \
18392 @stage2_werror_flag@
18393 @endif libcpp-bootstrap
18395 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18396 maybe-configure-stage3-libcpp:
18397 @if libcpp-bootstrap
18398 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18399 configure-stage3-libcpp:
18400 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18402 @r=`${PWD_COMMAND}`; export r; \
18403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18404 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18405 $(HOST_EXPORTS) \
18406 $(POSTSTAGE1_HOST_EXPORTS) \
18407 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18409 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18410 case $(srcdir) in \
18411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18412 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18414 esac; \
18415 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18416 libsrcdir="$$s/libcpp"; \
18417 $(SHELL) $${libsrcdir}/configure \
18418 $(HOST_CONFIGARGS) $${srcdiroption} \
18419 --with-build-libsubdir=$(HOST_SUBDIR) \
18420 @stage2_werror_flag@
18421 @endif libcpp-bootstrap
18423 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18424 maybe-configure-stage4-libcpp:
18425 @if libcpp-bootstrap
18426 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18427 configure-stage4-libcpp:
18428 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18430 @r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18433 $(HOST_EXPORTS) \
18434 $(POSTSTAGE1_HOST_EXPORTS) \
18435 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18437 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18438 case $(srcdir) in \
18439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18440 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18442 esac; \
18443 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18444 libsrcdir="$$s/libcpp"; \
18445 $(SHELL) $${libsrcdir}/configure \
18446 $(HOST_CONFIGARGS) $${srcdiroption} \
18447 --with-build-libsubdir=$(HOST_SUBDIR) \
18448 @stage2_werror_flag@
18449 @endif libcpp-bootstrap
18451 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18452 maybe-configure-stageprofile-libcpp:
18453 @if libcpp-bootstrap
18454 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18455 configure-stageprofile-libcpp:
18456 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18458 @r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18460 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18461 $(HOST_EXPORTS) \
18462 $(POSTSTAGE1_HOST_EXPORTS) \
18463 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18465 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18466 case $(srcdir) in \
18467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18468 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18470 esac; \
18471 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18472 libsrcdir="$$s/libcpp"; \
18473 $(SHELL) $${libsrcdir}/configure \
18474 $(HOST_CONFIGARGS) $${srcdiroption} \
18475 --with-build-libsubdir=$(HOST_SUBDIR) \
18476 @stage2_werror_flag@
18477 @endif libcpp-bootstrap
18479 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18480 maybe-configure-stagefeedback-libcpp:
18481 @if libcpp-bootstrap
18482 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18483 configure-stagefeedback-libcpp:
18484 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18486 @r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18489 $(HOST_EXPORTS) \
18490 $(POSTSTAGE1_HOST_EXPORTS) \
18491 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18493 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18494 case $(srcdir) in \
18495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18496 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18498 esac; \
18499 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18500 libsrcdir="$$s/libcpp"; \
18501 $(SHELL) $${libsrcdir}/configure \
18502 $(HOST_CONFIGARGS) $${srcdiroption} \
18503 --with-build-libsubdir=$(HOST_SUBDIR) \
18504 @stage2_werror_flag@
18505 @endif libcpp-bootstrap
18511 .PHONY: all-libcpp maybe-all-libcpp
18512 maybe-all-libcpp:
18513 @if gcc-bootstrap
18514 all-libcpp: stage_current
18515 @endif gcc-bootstrap
18516 @if libcpp
18517 TARGET-libcpp=all
18518 maybe-all-libcpp: all-libcpp
18519 all-libcpp: configure-libcpp
18520 @r=`${PWD_COMMAND}`; export r; \
18521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18522 $(HOST_EXPORTS) \
18523 (cd $(HOST_SUBDIR)/libcpp && \
18524 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18525 @endif libcpp
18529 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18530 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18531 maybe-all-stage1-libcpp:
18532 maybe-clean-stage1-libcpp:
18533 @if libcpp-bootstrap
18534 maybe-all-stage1-libcpp: all-stage1-libcpp
18535 all-stage1: all-stage1-libcpp
18536 TARGET-stage1-libcpp = $(TARGET-libcpp)
18537 all-stage1-libcpp: configure-stage1-libcpp
18538 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18539 @r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 $(HOST_EXPORTS) \
18542 cd $(HOST_SUBDIR)/libcpp && \
18543 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18544 $(TARGET-stage1-libcpp)
18546 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18547 clean-stage1: clean-stage1-libcpp
18548 clean-stage1-libcpp:
18549 @if [ $(current_stage) = stage1 ]; then \
18550 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18551 else \
18552 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
18553 $(MAKE) stage1-start; \
18554 fi; \
18555 cd $(HOST_SUBDIR)/libcpp && \
18556 $(MAKE) $(FLAGS_TO_PASS) \
18557 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18558 @endif libcpp-bootstrap
18561 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18562 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18563 maybe-all-stage2-libcpp:
18564 maybe-clean-stage2-libcpp:
18565 @if libcpp-bootstrap
18566 maybe-all-stage2-libcpp: all-stage2-libcpp
18567 all-stage2: all-stage2-libcpp
18568 TARGET-stage2-libcpp = $(TARGET-libcpp)
18569 all-stage2-libcpp: configure-stage2-libcpp
18570 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18571 @r=`${PWD_COMMAND}`; export r; \
18572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18573 $(HOST_EXPORTS) \
18574 $(POSTSTAGE1_HOST_EXPORTS) \
18575 cd $(HOST_SUBDIR)/libcpp && \
18576 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18577 $(TARGET-stage2-libcpp)
18579 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18580 clean-stage2: clean-stage2-libcpp
18581 clean-stage2-libcpp:
18582 @if [ $(current_stage) = stage2 ]; then \
18583 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18584 else \
18585 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
18586 $(MAKE) stage2-start; \
18587 fi; \
18588 cd $(HOST_SUBDIR)/libcpp && \
18589 $(MAKE) $(FLAGS_TO_PASS) \
18590 $(POSTSTAGE1_FLAGS_TO_PASS) \
18591 clean
18592 @endif libcpp-bootstrap
18595 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18596 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18597 maybe-all-stage3-libcpp:
18598 maybe-clean-stage3-libcpp:
18599 @if libcpp-bootstrap
18600 maybe-all-stage3-libcpp: all-stage3-libcpp
18601 all-stage3: all-stage3-libcpp
18602 TARGET-stage3-libcpp = $(TARGET-libcpp)
18603 all-stage3-libcpp: configure-stage3-libcpp
18604 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18605 @r=`${PWD_COMMAND}`; export r; \
18606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18607 $(HOST_EXPORTS) \
18608 $(POSTSTAGE1_HOST_EXPORTS) \
18609 cd $(HOST_SUBDIR)/libcpp && \
18610 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18611 $(TARGET-stage3-libcpp)
18613 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18614 clean-stage3: clean-stage3-libcpp
18615 clean-stage3-libcpp:
18616 @if [ $(current_stage) = stage3 ]; then \
18617 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18618 else \
18619 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
18620 $(MAKE) stage3-start; \
18621 fi; \
18622 cd $(HOST_SUBDIR)/libcpp && \
18623 $(MAKE) $(FLAGS_TO_PASS) \
18624 $(POSTSTAGE1_FLAGS_TO_PASS) \
18625 clean
18626 @endif libcpp-bootstrap
18629 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18630 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18631 maybe-all-stage4-libcpp:
18632 maybe-clean-stage4-libcpp:
18633 @if libcpp-bootstrap
18634 maybe-all-stage4-libcpp: all-stage4-libcpp
18635 all-stage4: all-stage4-libcpp
18636 TARGET-stage4-libcpp = $(TARGET-libcpp)
18637 all-stage4-libcpp: configure-stage4-libcpp
18638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18639 @r=`${PWD_COMMAND}`; export r; \
18640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18641 $(HOST_EXPORTS) \
18642 $(POSTSTAGE1_HOST_EXPORTS) \
18643 cd $(HOST_SUBDIR)/libcpp && \
18644 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18645 $(TARGET-stage4-libcpp)
18647 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18648 clean-stage4: clean-stage4-libcpp
18649 clean-stage4-libcpp:
18650 @if [ $(current_stage) = stage4 ]; then \
18651 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18652 else \
18653 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
18654 $(MAKE) stage4-start; \
18655 fi; \
18656 cd $(HOST_SUBDIR)/libcpp && \
18657 $(MAKE) $(FLAGS_TO_PASS) \
18658 $(POSTSTAGE1_FLAGS_TO_PASS) \
18659 clean
18660 @endif libcpp-bootstrap
18663 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18664 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18665 maybe-all-stageprofile-libcpp:
18666 maybe-clean-stageprofile-libcpp:
18667 @if libcpp-bootstrap
18668 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18669 all-stageprofile: all-stageprofile-libcpp
18670 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18671 all-stageprofile-libcpp: configure-stageprofile-libcpp
18672 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18673 @r=`${PWD_COMMAND}`; export r; \
18674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18675 $(HOST_EXPORTS) \
18676 $(POSTSTAGE1_HOST_EXPORTS) \
18677 cd $(HOST_SUBDIR)/libcpp && \
18678 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18679 $(TARGET-stageprofile-libcpp)
18681 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18682 clean-stageprofile: clean-stageprofile-libcpp
18683 clean-stageprofile-libcpp:
18684 @if [ $(current_stage) = stageprofile ]; then \
18685 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18686 else \
18687 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
18688 $(MAKE) stageprofile-start; \
18689 fi; \
18690 cd $(HOST_SUBDIR)/libcpp && \
18691 $(MAKE) $(FLAGS_TO_PASS) \
18692 $(POSTSTAGE1_FLAGS_TO_PASS) \
18693 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18694 @endif libcpp-bootstrap
18697 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18698 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18699 maybe-all-stagefeedback-libcpp:
18700 maybe-clean-stagefeedback-libcpp:
18701 @if libcpp-bootstrap
18702 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18703 all-stagefeedback: all-stagefeedback-libcpp
18704 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18705 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18706 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18707 @r=`${PWD_COMMAND}`; export r; \
18708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18709 $(HOST_EXPORTS) \
18710 $(POSTSTAGE1_HOST_EXPORTS) \
18711 cd $(HOST_SUBDIR)/libcpp && \
18712 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18713 $(TARGET-stagefeedback-libcpp)
18715 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18716 clean-stagefeedback: clean-stagefeedback-libcpp
18717 clean-stagefeedback-libcpp:
18718 @if [ $(current_stage) = stagefeedback ]; then \
18719 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18720 else \
18721 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
18722 $(MAKE) stagefeedback-start; \
18723 fi; \
18724 cd $(HOST_SUBDIR)/libcpp && \
18725 $(MAKE) $(FLAGS_TO_PASS) \
18726 $(POSTSTAGE1_FLAGS_TO_PASS) \
18727 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18728 @endif libcpp-bootstrap
18734 .PHONY: check-libcpp maybe-check-libcpp
18735 maybe-check-libcpp:
18736 @if libcpp
18737 maybe-check-libcpp: check-libcpp
18739 check-libcpp:
18740 @: $(MAKE); $(unstage)
18741 @r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18743 $(HOST_EXPORTS) \
18744 (cd $(HOST_SUBDIR)/libcpp && \
18745 $(MAKE) $(FLAGS_TO_PASS) check)
18747 @endif libcpp
18749 .PHONY: install-libcpp maybe-install-libcpp
18750 maybe-install-libcpp:
18751 @if libcpp
18752 maybe-install-libcpp: install-libcpp
18754 install-libcpp: installdirs
18755 @: $(MAKE); $(unstage)
18756 @r=`${PWD_COMMAND}`; export r; \
18757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18758 $(HOST_EXPORTS) \
18759 (cd $(HOST_SUBDIR)/libcpp && \
18760 $(MAKE) $(FLAGS_TO_PASS) install)
18762 @endif libcpp
18764 # Other targets (info, dvi, pdf, etc.)
18766 .PHONY: maybe-info-libcpp info-libcpp
18767 maybe-info-libcpp:
18768 @if libcpp
18769 maybe-info-libcpp: info-libcpp
18771 info-libcpp: \
18772 configure-libcpp
18773 @[ -f ./libcpp/Makefile ] || exit 0; \
18774 r=`${PWD_COMMAND}`; export r; \
18775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18776 $(HOST_EXPORTS) \
18777 for flag in $(EXTRA_HOST_FLAGS) ; do \
18778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18779 done; \
18780 echo "Doing info in libcpp" ; \
18781 (cd $(HOST_SUBDIR)/libcpp && \
18782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18784 "RANLIB=$${RANLIB}" \
18785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18786 info) \
18787 || exit 1
18789 @endif libcpp
18791 .PHONY: maybe-dvi-libcpp dvi-libcpp
18792 maybe-dvi-libcpp:
18793 @if libcpp
18794 maybe-dvi-libcpp: dvi-libcpp
18796 dvi-libcpp: \
18797 configure-libcpp
18798 @[ -f ./libcpp/Makefile ] || exit 0; \
18799 r=`${PWD_COMMAND}`; export r; \
18800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18801 $(HOST_EXPORTS) \
18802 for flag in $(EXTRA_HOST_FLAGS) ; do \
18803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18804 done; \
18805 echo "Doing dvi in libcpp" ; \
18806 (cd $(HOST_SUBDIR)/libcpp && \
18807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18809 "RANLIB=$${RANLIB}" \
18810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18811 dvi) \
18812 || exit 1
18814 @endif libcpp
18816 .PHONY: maybe-pdf-libcpp pdf-libcpp
18817 maybe-pdf-libcpp:
18818 @if libcpp
18819 maybe-pdf-libcpp: pdf-libcpp
18821 pdf-libcpp: \
18822 configure-libcpp
18823 @[ -f ./libcpp/Makefile ] || exit 0; \
18824 r=`${PWD_COMMAND}`; export r; \
18825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18826 $(HOST_EXPORTS) \
18827 for flag in $(EXTRA_HOST_FLAGS) ; do \
18828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18829 done; \
18830 echo "Doing pdf in libcpp" ; \
18831 (cd $(HOST_SUBDIR)/libcpp && \
18832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18834 "RANLIB=$${RANLIB}" \
18835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18836 pdf) \
18837 || exit 1
18839 @endif libcpp
18841 .PHONY: maybe-html-libcpp html-libcpp
18842 maybe-html-libcpp:
18843 @if libcpp
18844 maybe-html-libcpp: html-libcpp
18846 html-libcpp: \
18847 configure-libcpp
18848 @[ -f ./libcpp/Makefile ] || exit 0; \
18849 r=`${PWD_COMMAND}`; export r; \
18850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18851 $(HOST_EXPORTS) \
18852 for flag in $(EXTRA_HOST_FLAGS) ; do \
18853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18854 done; \
18855 echo "Doing html in libcpp" ; \
18856 (cd $(HOST_SUBDIR)/libcpp && \
18857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18859 "RANLIB=$${RANLIB}" \
18860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18861 html) \
18862 || exit 1
18864 @endif libcpp
18866 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18867 maybe-TAGS-libcpp:
18868 @if libcpp
18869 maybe-TAGS-libcpp: TAGS-libcpp
18871 TAGS-libcpp: \
18872 configure-libcpp
18873 @[ -f ./libcpp/Makefile ] || exit 0; \
18874 r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 $(HOST_EXPORTS) \
18877 for flag in $(EXTRA_HOST_FLAGS) ; do \
18878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18879 done; \
18880 echo "Doing TAGS in libcpp" ; \
18881 (cd $(HOST_SUBDIR)/libcpp && \
18882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18884 "RANLIB=$${RANLIB}" \
18885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18886 TAGS) \
18887 || exit 1
18889 @endif libcpp
18891 .PHONY: maybe-install-info-libcpp install-info-libcpp
18892 maybe-install-info-libcpp:
18893 @if libcpp
18894 maybe-install-info-libcpp: install-info-libcpp
18896 install-info-libcpp: \
18897 configure-libcpp \
18898 info-libcpp
18899 @[ -f ./libcpp/Makefile ] || exit 0; \
18900 r=`${PWD_COMMAND}`; export r; \
18901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18902 $(HOST_EXPORTS) \
18903 for flag in $(EXTRA_HOST_FLAGS) ; do \
18904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18905 done; \
18906 echo "Doing install-info in libcpp" ; \
18907 (cd $(HOST_SUBDIR)/libcpp && \
18908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18910 "RANLIB=$${RANLIB}" \
18911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18912 install-info) \
18913 || exit 1
18915 @endif libcpp
18917 .PHONY: maybe-install-html-libcpp install-html-libcpp
18918 maybe-install-html-libcpp:
18919 @if libcpp
18920 maybe-install-html-libcpp: install-html-libcpp
18922 install-html-libcpp: \
18923 configure-libcpp \
18924 html-libcpp
18925 @[ -f ./libcpp/Makefile ] || exit 0; \
18926 r=`${PWD_COMMAND}`; export r; \
18927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18928 $(HOST_EXPORTS) \
18929 for flag in $(EXTRA_HOST_FLAGS) ; do \
18930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18931 done; \
18932 echo "Doing install-html in libcpp" ; \
18933 (cd $(HOST_SUBDIR)/libcpp && \
18934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18936 "RANLIB=$${RANLIB}" \
18937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18938 install-html) \
18939 || exit 1
18941 @endif libcpp
18943 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18944 maybe-installcheck-libcpp:
18945 @if libcpp
18946 maybe-installcheck-libcpp: installcheck-libcpp
18948 installcheck-libcpp: \
18949 configure-libcpp
18950 @[ -f ./libcpp/Makefile ] || exit 0; \
18951 r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 $(HOST_EXPORTS) \
18954 for flag in $(EXTRA_HOST_FLAGS) ; do \
18955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 done; \
18957 echo "Doing installcheck in libcpp" ; \
18958 (cd $(HOST_SUBDIR)/libcpp && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18961 "RANLIB=$${RANLIB}" \
18962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 installcheck) \
18964 || exit 1
18966 @endif libcpp
18968 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
18969 maybe-mostlyclean-libcpp:
18970 @if libcpp
18971 maybe-mostlyclean-libcpp: mostlyclean-libcpp
18973 mostlyclean-libcpp:
18974 @[ -f ./libcpp/Makefile ] || exit 0; \
18975 r=`${PWD_COMMAND}`; export r; \
18976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18977 $(HOST_EXPORTS) \
18978 for flag in $(EXTRA_HOST_FLAGS) ; do \
18979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18980 done; \
18981 echo "Doing mostlyclean in libcpp" ; \
18982 (cd $(HOST_SUBDIR)/libcpp && \
18983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18985 "RANLIB=$${RANLIB}" \
18986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18987 mostlyclean) \
18988 || exit 1
18990 @endif libcpp
18992 .PHONY: maybe-clean-libcpp clean-libcpp
18993 maybe-clean-libcpp:
18994 @if libcpp
18995 maybe-clean-libcpp: clean-libcpp
18997 clean-libcpp:
18998 @[ -f ./libcpp/Makefile ] || exit 0; \
18999 r=`${PWD_COMMAND}`; export r; \
19000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19001 $(HOST_EXPORTS) \
19002 for flag in $(EXTRA_HOST_FLAGS) ; do \
19003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19004 done; \
19005 echo "Doing clean in libcpp" ; \
19006 (cd $(HOST_SUBDIR)/libcpp && \
19007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19009 "RANLIB=$${RANLIB}" \
19010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19011 clean) \
19012 || exit 1
19014 @endif libcpp
19016 .PHONY: maybe-distclean-libcpp distclean-libcpp
19017 maybe-distclean-libcpp:
19018 @if libcpp
19019 maybe-distclean-libcpp: distclean-libcpp
19021 distclean-libcpp:
19022 @[ -f ./libcpp/Makefile ] || exit 0; \
19023 r=`${PWD_COMMAND}`; export r; \
19024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19025 $(HOST_EXPORTS) \
19026 for flag in $(EXTRA_HOST_FLAGS) ; do \
19027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19028 done; \
19029 echo "Doing distclean in libcpp" ; \
19030 (cd $(HOST_SUBDIR)/libcpp && \
19031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19033 "RANLIB=$${RANLIB}" \
19034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19035 distclean) \
19036 || exit 1
19038 @endif libcpp
19040 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
19041 maybe-maintainer-clean-libcpp:
19042 @if libcpp
19043 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
19045 maintainer-clean-libcpp:
19046 @[ -f ./libcpp/Makefile ] || exit 0; \
19047 r=`${PWD_COMMAND}`; export r; \
19048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19049 $(HOST_EXPORTS) \
19050 for flag in $(EXTRA_HOST_FLAGS) ; do \
19051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19052 done; \
19053 echo "Doing maintainer-clean in libcpp" ; \
19054 (cd $(HOST_SUBDIR)/libcpp && \
19055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19057 "RANLIB=$${RANLIB}" \
19058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19059 maintainer-clean) \
19060 || exit 1
19062 @endif libcpp
19066 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
19067 maybe-configure-libdecnumber:
19068 @if gcc-bootstrap
19069 configure-libdecnumber: stage_current
19070 @endif gcc-bootstrap
19071 @if libdecnumber
19072 maybe-configure-libdecnumber: configure-libdecnumber
19073 configure-libdecnumber:
19074 @r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19078 $(HOST_EXPORTS) \
19079 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
19080 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
19081 case $(srcdir) in \
19082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19083 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19085 esac; \
19086 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19087 libsrcdir="$$s/libdecnumber"; \
19088 $(SHELL) $${libsrcdir}/configure \
19089 $(HOST_CONFIGARGS) $${srcdiroption} \
19090 || exit 1
19091 @endif libdecnumber
19095 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
19096 maybe-configure-stage1-libdecnumber:
19097 @if libdecnumber-bootstrap
19098 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
19099 configure-stage1-libdecnumber:
19100 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19105 $(HOST_EXPORTS) \
19106 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
19107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19108 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19109 case $(srcdir) in \
19110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19111 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19113 esac; \
19114 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19115 libsrcdir="$$s/libdecnumber"; \
19116 $(SHELL) $${libsrcdir}/configure \
19117 $(HOST_CONFIGARGS) $${srcdiroption} \
19119 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19120 @endif libdecnumber-bootstrap
19122 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
19123 maybe-configure-stage2-libdecnumber:
19124 @if libdecnumber-bootstrap
19125 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
19126 configure-stage2-libdecnumber:
19127 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19128 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19129 @r=`${PWD_COMMAND}`; export r; \
19130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19132 $(HOST_EXPORTS) \
19133 $(POSTSTAGE1_HOST_EXPORTS) \
19134 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
19135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19136 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19137 case $(srcdir) in \
19138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19139 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19141 esac; \
19142 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19143 libsrcdir="$$s/libdecnumber"; \
19144 $(SHELL) $${libsrcdir}/configure \
19145 $(HOST_CONFIGARGS) $${srcdiroption} \
19146 --with-build-libsubdir=$(HOST_SUBDIR) \
19147 @stage2_werror_flag@
19148 @endif libdecnumber-bootstrap
19150 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19151 maybe-configure-stage3-libdecnumber:
19152 @if libdecnumber-bootstrap
19153 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19154 configure-stage3-libdecnumber:
19155 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19157 @r=`${PWD_COMMAND}`; export r; \
19158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19160 $(HOST_EXPORTS) \
19161 $(POSTSTAGE1_HOST_EXPORTS) \
19162 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19164 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19165 case $(srcdir) in \
19166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19167 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19169 esac; \
19170 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19171 libsrcdir="$$s/libdecnumber"; \
19172 $(SHELL) $${libsrcdir}/configure \
19173 $(HOST_CONFIGARGS) $${srcdiroption} \
19174 --with-build-libsubdir=$(HOST_SUBDIR) \
19175 @stage2_werror_flag@
19176 @endif libdecnumber-bootstrap
19178 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19179 maybe-configure-stage4-libdecnumber:
19180 @if libdecnumber-bootstrap
19181 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19182 configure-stage4-libdecnumber:
19183 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19185 @r=`${PWD_COMMAND}`; export r; \
19186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19187 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19188 $(HOST_EXPORTS) \
19189 $(POSTSTAGE1_HOST_EXPORTS) \
19190 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19192 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19193 case $(srcdir) in \
19194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19195 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19197 esac; \
19198 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19199 libsrcdir="$$s/libdecnumber"; \
19200 $(SHELL) $${libsrcdir}/configure \
19201 $(HOST_CONFIGARGS) $${srcdiroption} \
19202 --with-build-libsubdir=$(HOST_SUBDIR) \
19203 @stage2_werror_flag@
19204 @endif libdecnumber-bootstrap
19206 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19207 maybe-configure-stageprofile-libdecnumber:
19208 @if libdecnumber-bootstrap
19209 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19210 configure-stageprofile-libdecnumber:
19211 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19213 @r=`${PWD_COMMAND}`; export r; \
19214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19215 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19216 $(HOST_EXPORTS) \
19217 $(POSTSTAGE1_HOST_EXPORTS) \
19218 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19220 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19221 case $(srcdir) in \
19222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19223 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19225 esac; \
19226 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19227 libsrcdir="$$s/libdecnumber"; \
19228 $(SHELL) $${libsrcdir}/configure \
19229 $(HOST_CONFIGARGS) $${srcdiroption} \
19230 --with-build-libsubdir=$(HOST_SUBDIR) \
19231 @stage2_werror_flag@
19232 @endif libdecnumber-bootstrap
19234 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19235 maybe-configure-stagefeedback-libdecnumber:
19236 @if libdecnumber-bootstrap
19237 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19238 configure-stagefeedback-libdecnumber:
19239 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19241 @r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19243 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19244 $(HOST_EXPORTS) \
19245 $(POSTSTAGE1_HOST_EXPORTS) \
19246 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19248 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19249 case $(srcdir) in \
19250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19251 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19253 esac; \
19254 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19255 libsrcdir="$$s/libdecnumber"; \
19256 $(SHELL) $${libsrcdir}/configure \
19257 $(HOST_CONFIGARGS) $${srcdiroption} \
19258 --with-build-libsubdir=$(HOST_SUBDIR) \
19259 @stage2_werror_flag@
19260 @endif libdecnumber-bootstrap
19266 .PHONY: all-libdecnumber maybe-all-libdecnumber
19267 maybe-all-libdecnumber:
19268 @if gcc-bootstrap
19269 all-libdecnumber: stage_current
19270 @endif gcc-bootstrap
19271 @if libdecnumber
19272 TARGET-libdecnumber=all
19273 maybe-all-libdecnumber: all-libdecnumber
19274 all-libdecnumber: configure-libdecnumber
19275 @r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 $(HOST_EXPORTS) \
19278 (cd $(HOST_SUBDIR)/libdecnumber && \
19279 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19280 @endif libdecnumber
19284 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19285 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19286 maybe-all-stage1-libdecnumber:
19287 maybe-clean-stage1-libdecnumber:
19288 @if libdecnumber-bootstrap
19289 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19290 all-stage1: all-stage1-libdecnumber
19291 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19292 all-stage1-libdecnumber: configure-stage1-libdecnumber
19293 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19294 @r=`${PWD_COMMAND}`; export r; \
19295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19296 $(HOST_EXPORTS) \
19297 cd $(HOST_SUBDIR)/libdecnumber && \
19298 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19299 $(TARGET-stage1-libdecnumber)
19301 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19302 clean-stage1: clean-stage1-libdecnumber
19303 clean-stage1-libdecnumber:
19304 @if [ $(current_stage) = stage1 ]; then \
19305 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19306 else \
19307 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
19308 $(MAKE) stage1-start; \
19309 fi; \
19310 cd $(HOST_SUBDIR)/libdecnumber && \
19311 $(MAKE) $(FLAGS_TO_PASS) \
19312 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19313 @endif libdecnumber-bootstrap
19316 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19317 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19318 maybe-all-stage2-libdecnumber:
19319 maybe-clean-stage2-libdecnumber:
19320 @if libdecnumber-bootstrap
19321 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19322 all-stage2: all-stage2-libdecnumber
19323 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19324 all-stage2-libdecnumber: configure-stage2-libdecnumber
19325 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19326 @r=`${PWD_COMMAND}`; export r; \
19327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19328 $(HOST_EXPORTS) \
19329 $(POSTSTAGE1_HOST_EXPORTS) \
19330 cd $(HOST_SUBDIR)/libdecnumber && \
19331 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19332 $(TARGET-stage2-libdecnumber)
19334 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19335 clean-stage2: clean-stage2-libdecnumber
19336 clean-stage2-libdecnumber:
19337 @if [ $(current_stage) = stage2 ]; then \
19338 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19339 else \
19340 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
19341 $(MAKE) stage2-start; \
19342 fi; \
19343 cd $(HOST_SUBDIR)/libdecnumber && \
19344 $(MAKE) $(FLAGS_TO_PASS) \
19345 $(POSTSTAGE1_FLAGS_TO_PASS) \
19346 clean
19347 @endif libdecnumber-bootstrap
19350 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19351 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19352 maybe-all-stage3-libdecnumber:
19353 maybe-clean-stage3-libdecnumber:
19354 @if libdecnumber-bootstrap
19355 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19356 all-stage3: all-stage3-libdecnumber
19357 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19358 all-stage3-libdecnumber: configure-stage3-libdecnumber
19359 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19360 @r=`${PWD_COMMAND}`; export r; \
19361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19362 $(HOST_EXPORTS) \
19363 $(POSTSTAGE1_HOST_EXPORTS) \
19364 cd $(HOST_SUBDIR)/libdecnumber && \
19365 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19366 $(TARGET-stage3-libdecnumber)
19368 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19369 clean-stage3: clean-stage3-libdecnumber
19370 clean-stage3-libdecnumber:
19371 @if [ $(current_stage) = stage3 ]; then \
19372 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19373 else \
19374 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
19375 $(MAKE) stage3-start; \
19376 fi; \
19377 cd $(HOST_SUBDIR)/libdecnumber && \
19378 $(MAKE) $(FLAGS_TO_PASS) \
19379 $(POSTSTAGE1_FLAGS_TO_PASS) \
19380 clean
19381 @endif libdecnumber-bootstrap
19384 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19385 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19386 maybe-all-stage4-libdecnumber:
19387 maybe-clean-stage4-libdecnumber:
19388 @if libdecnumber-bootstrap
19389 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19390 all-stage4: all-stage4-libdecnumber
19391 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19392 all-stage4-libdecnumber: configure-stage4-libdecnumber
19393 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19394 @r=`${PWD_COMMAND}`; export r; \
19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19396 $(HOST_EXPORTS) \
19397 $(POSTSTAGE1_HOST_EXPORTS) \
19398 cd $(HOST_SUBDIR)/libdecnumber && \
19399 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19400 $(TARGET-stage4-libdecnumber)
19402 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19403 clean-stage4: clean-stage4-libdecnumber
19404 clean-stage4-libdecnumber:
19405 @if [ $(current_stage) = stage4 ]; then \
19406 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19407 else \
19408 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
19409 $(MAKE) stage4-start; \
19410 fi; \
19411 cd $(HOST_SUBDIR)/libdecnumber && \
19412 $(MAKE) $(FLAGS_TO_PASS) \
19413 $(POSTSTAGE1_FLAGS_TO_PASS) \
19414 clean
19415 @endif libdecnumber-bootstrap
19418 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19419 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19420 maybe-all-stageprofile-libdecnumber:
19421 maybe-clean-stageprofile-libdecnumber:
19422 @if libdecnumber-bootstrap
19423 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19424 all-stageprofile: all-stageprofile-libdecnumber
19425 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19426 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19427 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19428 @r=`${PWD_COMMAND}`; export r; \
19429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19430 $(HOST_EXPORTS) \
19431 $(POSTSTAGE1_HOST_EXPORTS) \
19432 cd $(HOST_SUBDIR)/libdecnumber && \
19433 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19434 $(TARGET-stageprofile-libdecnumber)
19436 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19437 clean-stageprofile: clean-stageprofile-libdecnumber
19438 clean-stageprofile-libdecnumber:
19439 @if [ $(current_stage) = stageprofile ]; then \
19440 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19441 else \
19442 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
19443 $(MAKE) stageprofile-start; \
19444 fi; \
19445 cd $(HOST_SUBDIR)/libdecnumber && \
19446 $(MAKE) $(FLAGS_TO_PASS) \
19447 $(POSTSTAGE1_FLAGS_TO_PASS) \
19448 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19449 @endif libdecnumber-bootstrap
19452 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19453 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19454 maybe-all-stagefeedback-libdecnumber:
19455 maybe-clean-stagefeedback-libdecnumber:
19456 @if libdecnumber-bootstrap
19457 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19458 all-stagefeedback: all-stagefeedback-libdecnumber
19459 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19460 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19461 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19462 @r=`${PWD_COMMAND}`; export r; \
19463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19464 $(HOST_EXPORTS) \
19465 $(POSTSTAGE1_HOST_EXPORTS) \
19466 cd $(HOST_SUBDIR)/libdecnumber && \
19467 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19468 $(TARGET-stagefeedback-libdecnumber)
19470 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19471 clean-stagefeedback: clean-stagefeedback-libdecnumber
19472 clean-stagefeedback-libdecnumber:
19473 @if [ $(current_stage) = stagefeedback ]; then \
19474 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19475 else \
19476 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
19477 $(MAKE) stagefeedback-start; \
19478 fi; \
19479 cd $(HOST_SUBDIR)/libdecnumber && \
19480 $(MAKE) $(FLAGS_TO_PASS) \
19481 $(POSTSTAGE1_FLAGS_TO_PASS) \
19482 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19483 @endif libdecnumber-bootstrap
19489 .PHONY: check-libdecnumber maybe-check-libdecnumber
19490 maybe-check-libdecnumber:
19491 @if libdecnumber
19492 maybe-check-libdecnumber: check-libdecnumber
19494 check-libdecnumber:
19495 @: $(MAKE); $(unstage)
19496 @r=`${PWD_COMMAND}`; export r; \
19497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 $(HOST_EXPORTS) \
19499 (cd $(HOST_SUBDIR)/libdecnumber && \
19500 $(MAKE) $(FLAGS_TO_PASS) check)
19502 @endif libdecnumber
19504 .PHONY: install-libdecnumber maybe-install-libdecnumber
19505 maybe-install-libdecnumber:
19506 @if libdecnumber
19507 maybe-install-libdecnumber: install-libdecnumber
19509 install-libdecnumber: installdirs
19510 @: $(MAKE); $(unstage)
19511 @r=`${PWD_COMMAND}`; export r; \
19512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19513 $(HOST_EXPORTS) \
19514 (cd $(HOST_SUBDIR)/libdecnumber && \
19515 $(MAKE) $(FLAGS_TO_PASS) install)
19517 @endif libdecnumber
19519 # Other targets (info, dvi, pdf, etc.)
19521 .PHONY: maybe-info-libdecnumber info-libdecnumber
19522 maybe-info-libdecnumber:
19523 @if libdecnumber
19524 maybe-info-libdecnumber: info-libdecnumber
19526 info-libdecnumber: \
19527 configure-libdecnumber
19528 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19529 r=`${PWD_COMMAND}`; export r; \
19530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19531 $(HOST_EXPORTS) \
19532 for flag in $(EXTRA_HOST_FLAGS) ; do \
19533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19534 done; \
19535 echo "Doing info in libdecnumber" ; \
19536 (cd $(HOST_SUBDIR)/libdecnumber && \
19537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19539 "RANLIB=$${RANLIB}" \
19540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19541 info) \
19542 || exit 1
19544 @endif libdecnumber
19546 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19547 maybe-dvi-libdecnumber:
19548 @if libdecnumber
19549 maybe-dvi-libdecnumber: dvi-libdecnumber
19551 dvi-libdecnumber: \
19552 configure-libdecnumber
19553 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19554 r=`${PWD_COMMAND}`; export r; \
19555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19556 $(HOST_EXPORTS) \
19557 for flag in $(EXTRA_HOST_FLAGS) ; do \
19558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19559 done; \
19560 echo "Doing dvi in libdecnumber" ; \
19561 (cd $(HOST_SUBDIR)/libdecnumber && \
19562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19564 "RANLIB=$${RANLIB}" \
19565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19566 dvi) \
19567 || exit 1
19569 @endif libdecnumber
19571 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19572 maybe-pdf-libdecnumber:
19573 @if libdecnumber
19574 maybe-pdf-libdecnumber: pdf-libdecnumber
19576 pdf-libdecnumber: \
19577 configure-libdecnumber
19578 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19579 r=`${PWD_COMMAND}`; export r; \
19580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19581 $(HOST_EXPORTS) \
19582 for flag in $(EXTRA_HOST_FLAGS) ; do \
19583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19584 done; \
19585 echo "Doing pdf in libdecnumber" ; \
19586 (cd $(HOST_SUBDIR)/libdecnumber && \
19587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19589 "RANLIB=$${RANLIB}" \
19590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19591 pdf) \
19592 || exit 1
19594 @endif libdecnumber
19596 .PHONY: maybe-html-libdecnumber html-libdecnumber
19597 maybe-html-libdecnumber:
19598 @if libdecnumber
19599 maybe-html-libdecnumber: html-libdecnumber
19601 html-libdecnumber: \
19602 configure-libdecnumber
19603 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19604 r=`${PWD_COMMAND}`; export r; \
19605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19606 $(HOST_EXPORTS) \
19607 for flag in $(EXTRA_HOST_FLAGS) ; do \
19608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19609 done; \
19610 echo "Doing html in libdecnumber" ; \
19611 (cd $(HOST_SUBDIR)/libdecnumber && \
19612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19614 "RANLIB=$${RANLIB}" \
19615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19616 html) \
19617 || exit 1
19619 @endif libdecnumber
19621 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19622 maybe-TAGS-libdecnumber:
19623 @if libdecnumber
19624 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19626 TAGS-libdecnumber: \
19627 configure-libdecnumber
19628 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19629 r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19631 $(HOST_EXPORTS) \
19632 for flag in $(EXTRA_HOST_FLAGS) ; do \
19633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19634 done; \
19635 echo "Doing TAGS in libdecnumber" ; \
19636 (cd $(HOST_SUBDIR)/libdecnumber && \
19637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19639 "RANLIB=$${RANLIB}" \
19640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19641 TAGS) \
19642 || exit 1
19644 @endif libdecnumber
19646 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19647 maybe-install-info-libdecnumber:
19648 @if libdecnumber
19649 maybe-install-info-libdecnumber: install-info-libdecnumber
19651 install-info-libdecnumber: \
19652 configure-libdecnumber \
19653 info-libdecnumber
19654 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19655 r=`${PWD_COMMAND}`; export r; \
19656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19657 $(HOST_EXPORTS) \
19658 for flag in $(EXTRA_HOST_FLAGS) ; do \
19659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19660 done; \
19661 echo "Doing install-info in libdecnumber" ; \
19662 (cd $(HOST_SUBDIR)/libdecnumber && \
19663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19665 "RANLIB=$${RANLIB}" \
19666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19667 install-info) \
19668 || exit 1
19670 @endif libdecnumber
19672 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19673 maybe-install-html-libdecnumber:
19674 @if libdecnumber
19675 maybe-install-html-libdecnumber: install-html-libdecnumber
19677 install-html-libdecnumber: \
19678 configure-libdecnumber \
19679 html-libdecnumber
19680 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19681 r=`${PWD_COMMAND}`; export r; \
19682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19683 $(HOST_EXPORTS) \
19684 for flag in $(EXTRA_HOST_FLAGS) ; do \
19685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19686 done; \
19687 echo "Doing install-html in libdecnumber" ; \
19688 (cd $(HOST_SUBDIR)/libdecnumber && \
19689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19691 "RANLIB=$${RANLIB}" \
19692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19693 install-html) \
19694 || exit 1
19696 @endif libdecnumber
19698 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19699 maybe-installcheck-libdecnumber:
19700 @if libdecnumber
19701 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19703 installcheck-libdecnumber: \
19704 configure-libdecnumber
19705 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19706 r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19708 $(HOST_EXPORTS) \
19709 for flag in $(EXTRA_HOST_FLAGS) ; do \
19710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19711 done; \
19712 echo "Doing installcheck in libdecnumber" ; \
19713 (cd $(HOST_SUBDIR)/libdecnumber && \
19714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19716 "RANLIB=$${RANLIB}" \
19717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19718 installcheck) \
19719 || exit 1
19721 @endif libdecnumber
19723 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19724 maybe-mostlyclean-libdecnumber:
19725 @if libdecnumber
19726 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19728 mostlyclean-libdecnumber:
19729 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19730 r=`${PWD_COMMAND}`; export r; \
19731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19732 $(HOST_EXPORTS) \
19733 for flag in $(EXTRA_HOST_FLAGS) ; do \
19734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19735 done; \
19736 echo "Doing mostlyclean in libdecnumber" ; \
19737 (cd $(HOST_SUBDIR)/libdecnumber && \
19738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19740 "RANLIB=$${RANLIB}" \
19741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19742 mostlyclean) \
19743 || exit 1
19745 @endif libdecnumber
19747 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19748 maybe-clean-libdecnumber:
19749 @if libdecnumber
19750 maybe-clean-libdecnumber: clean-libdecnumber
19752 clean-libdecnumber:
19753 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19754 r=`${PWD_COMMAND}`; export r; \
19755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19756 $(HOST_EXPORTS) \
19757 for flag in $(EXTRA_HOST_FLAGS) ; do \
19758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19759 done; \
19760 echo "Doing clean in libdecnumber" ; \
19761 (cd $(HOST_SUBDIR)/libdecnumber && \
19762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19764 "RANLIB=$${RANLIB}" \
19765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19766 clean) \
19767 || exit 1
19769 @endif libdecnumber
19771 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19772 maybe-distclean-libdecnumber:
19773 @if libdecnumber
19774 maybe-distclean-libdecnumber: distclean-libdecnumber
19776 distclean-libdecnumber:
19777 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19778 r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780 $(HOST_EXPORTS) \
19781 for flag in $(EXTRA_HOST_FLAGS) ; do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19783 done; \
19784 echo "Doing distclean in libdecnumber" ; \
19785 (cd $(HOST_SUBDIR)/libdecnumber && \
19786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19788 "RANLIB=$${RANLIB}" \
19789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 distclean) \
19791 || exit 1
19793 @endif libdecnumber
19795 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19796 maybe-maintainer-clean-libdecnumber:
19797 @if libdecnumber
19798 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19800 maintainer-clean-libdecnumber:
19801 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19802 r=`${PWD_COMMAND}`; export r; \
19803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19804 $(HOST_EXPORTS) \
19805 for flag in $(EXTRA_HOST_FLAGS) ; do \
19806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19807 done; \
19808 echo "Doing maintainer-clean in libdecnumber" ; \
19809 (cd $(HOST_SUBDIR)/libdecnumber && \
19810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19812 "RANLIB=$${RANLIB}" \
19813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19814 maintainer-clean) \
19815 || exit 1
19817 @endif libdecnumber
19821 .PHONY: configure-libgui maybe-configure-libgui
19822 maybe-configure-libgui:
19823 @if gcc-bootstrap
19824 configure-libgui: stage_current
19825 @endif gcc-bootstrap
19826 @if libgui
19827 maybe-configure-libgui: configure-libgui
19828 configure-libgui:
19829 @: $(MAKE); $(unstage)
19830 @r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19834 $(HOST_EXPORTS) \
19835 echo Configuring in $(HOST_SUBDIR)/libgui; \
19836 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19837 case $(srcdir) in \
19838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19839 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19841 esac; \
19842 srcdiroption="--srcdir=$${topdir}/libgui"; \
19843 libsrcdir="$$s/libgui"; \
19844 $(SHELL) $${libsrcdir}/configure \
19845 $(HOST_CONFIGARGS) $${srcdiroption} \
19846 || exit 1
19847 @endif libgui
19853 .PHONY: all-libgui maybe-all-libgui
19854 maybe-all-libgui:
19855 @if gcc-bootstrap
19856 all-libgui: stage_current
19857 @endif gcc-bootstrap
19858 @if libgui
19859 TARGET-libgui=all
19860 maybe-all-libgui: all-libgui
19861 all-libgui: configure-libgui
19862 @: $(MAKE); $(unstage)
19863 @r=`${PWD_COMMAND}`; export r; \
19864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19865 $(HOST_EXPORTS) \
19866 (cd $(HOST_SUBDIR)/libgui && \
19867 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19868 @endif libgui
19873 .PHONY: check-libgui maybe-check-libgui
19874 maybe-check-libgui:
19875 @if libgui
19876 maybe-check-libgui: check-libgui
19878 check-libgui:
19879 @: $(MAKE); $(unstage)
19880 @r=`${PWD_COMMAND}`; export r; \
19881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19882 $(HOST_EXPORTS) \
19883 (cd $(HOST_SUBDIR)/libgui && \
19884 $(MAKE) $(FLAGS_TO_PASS) check)
19886 @endif libgui
19888 .PHONY: install-libgui maybe-install-libgui
19889 maybe-install-libgui:
19890 @if libgui
19891 maybe-install-libgui: install-libgui
19893 install-libgui: installdirs
19894 @: $(MAKE); $(unstage)
19895 @r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 $(HOST_EXPORTS) \
19898 (cd $(HOST_SUBDIR)/libgui && \
19899 $(MAKE) $(FLAGS_TO_PASS) install)
19901 @endif libgui
19903 # Other targets (info, dvi, pdf, etc.)
19905 .PHONY: maybe-info-libgui info-libgui
19906 maybe-info-libgui:
19907 @if libgui
19908 maybe-info-libgui: info-libgui
19910 info-libgui: \
19911 configure-libgui
19912 @: $(MAKE); $(unstage)
19913 @[ -f ./libgui/Makefile ] || exit 0; \
19914 r=`${PWD_COMMAND}`; export r; \
19915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19916 $(HOST_EXPORTS) \
19917 for flag in $(EXTRA_HOST_FLAGS) ; do \
19918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19919 done; \
19920 echo "Doing info in libgui" ; \
19921 (cd $(HOST_SUBDIR)/libgui && \
19922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19924 "RANLIB=$${RANLIB}" \
19925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19926 info) \
19927 || exit 1
19929 @endif libgui
19931 .PHONY: maybe-dvi-libgui dvi-libgui
19932 maybe-dvi-libgui:
19933 @if libgui
19934 maybe-dvi-libgui: dvi-libgui
19936 dvi-libgui: \
19937 configure-libgui
19938 @: $(MAKE); $(unstage)
19939 @[ -f ./libgui/Makefile ] || exit 0; \
19940 r=`${PWD_COMMAND}`; export r; \
19941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19942 $(HOST_EXPORTS) \
19943 for flag in $(EXTRA_HOST_FLAGS) ; do \
19944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19945 done; \
19946 echo "Doing dvi in libgui" ; \
19947 (cd $(HOST_SUBDIR)/libgui && \
19948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19950 "RANLIB=$${RANLIB}" \
19951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19952 dvi) \
19953 || exit 1
19955 @endif libgui
19957 .PHONY: maybe-pdf-libgui pdf-libgui
19958 maybe-pdf-libgui:
19959 @if libgui
19960 maybe-pdf-libgui: pdf-libgui
19962 pdf-libgui: \
19963 configure-libgui
19964 @: $(MAKE); $(unstage)
19965 @[ -f ./libgui/Makefile ] || exit 0; \
19966 r=`${PWD_COMMAND}`; export r; \
19967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19968 $(HOST_EXPORTS) \
19969 for flag in $(EXTRA_HOST_FLAGS) ; do \
19970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19971 done; \
19972 echo "Doing pdf in libgui" ; \
19973 (cd $(HOST_SUBDIR)/libgui && \
19974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19976 "RANLIB=$${RANLIB}" \
19977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19978 pdf) \
19979 || exit 1
19981 @endif libgui
19983 .PHONY: maybe-html-libgui html-libgui
19984 maybe-html-libgui:
19985 @if libgui
19986 maybe-html-libgui: html-libgui
19988 html-libgui: \
19989 configure-libgui
19990 @: $(MAKE); $(unstage)
19991 @[ -f ./libgui/Makefile ] || exit 0; \
19992 r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 $(HOST_EXPORTS) \
19995 for flag in $(EXTRA_HOST_FLAGS) ; do \
19996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19997 done; \
19998 echo "Doing html in libgui" ; \
19999 (cd $(HOST_SUBDIR)/libgui && \
20000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20002 "RANLIB=$${RANLIB}" \
20003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20004 html) \
20005 || exit 1
20007 @endif libgui
20009 .PHONY: maybe-TAGS-libgui TAGS-libgui
20010 maybe-TAGS-libgui:
20011 @if libgui
20012 maybe-TAGS-libgui: TAGS-libgui
20014 TAGS-libgui: \
20015 configure-libgui
20016 @: $(MAKE); $(unstage)
20017 @[ -f ./libgui/Makefile ] || exit 0; \
20018 r=`${PWD_COMMAND}`; export r; \
20019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20020 $(HOST_EXPORTS) \
20021 for flag in $(EXTRA_HOST_FLAGS) ; do \
20022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20023 done; \
20024 echo "Doing TAGS in libgui" ; \
20025 (cd $(HOST_SUBDIR)/libgui && \
20026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028 "RANLIB=$${RANLIB}" \
20029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20030 TAGS) \
20031 || exit 1
20033 @endif libgui
20035 .PHONY: maybe-install-info-libgui install-info-libgui
20036 maybe-install-info-libgui:
20037 @if libgui
20038 maybe-install-info-libgui: install-info-libgui
20040 install-info-libgui: \
20041 configure-libgui \
20042 info-libgui
20043 @: $(MAKE); $(unstage)
20044 @[ -f ./libgui/Makefile ] || exit 0; \
20045 r=`${PWD_COMMAND}`; export r; \
20046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20047 $(HOST_EXPORTS) \
20048 for flag in $(EXTRA_HOST_FLAGS) ; do \
20049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20050 done; \
20051 echo "Doing install-info in libgui" ; \
20052 (cd $(HOST_SUBDIR)/libgui && \
20053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20055 "RANLIB=$${RANLIB}" \
20056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20057 install-info) \
20058 || exit 1
20060 @endif libgui
20062 .PHONY: maybe-install-html-libgui install-html-libgui
20063 maybe-install-html-libgui:
20064 @if libgui
20065 maybe-install-html-libgui: install-html-libgui
20067 install-html-libgui: \
20068 configure-libgui \
20069 html-libgui
20070 @: $(MAKE); $(unstage)
20071 @[ -f ./libgui/Makefile ] || exit 0; \
20072 r=`${PWD_COMMAND}`; export r; \
20073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20074 $(HOST_EXPORTS) \
20075 for flag in $(EXTRA_HOST_FLAGS) ; do \
20076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20077 done; \
20078 echo "Doing install-html in libgui" ; \
20079 (cd $(HOST_SUBDIR)/libgui && \
20080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20082 "RANLIB=$${RANLIB}" \
20083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20084 install-html) \
20085 || exit 1
20087 @endif libgui
20089 .PHONY: maybe-installcheck-libgui installcheck-libgui
20090 maybe-installcheck-libgui:
20091 @if libgui
20092 maybe-installcheck-libgui: installcheck-libgui
20094 installcheck-libgui: \
20095 configure-libgui
20096 @: $(MAKE); $(unstage)
20097 @[ -f ./libgui/Makefile ] || exit 0; \
20098 r=`${PWD_COMMAND}`; export r; \
20099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20100 $(HOST_EXPORTS) \
20101 for flag in $(EXTRA_HOST_FLAGS) ; do \
20102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20103 done; \
20104 echo "Doing installcheck in libgui" ; \
20105 (cd $(HOST_SUBDIR)/libgui && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20108 "RANLIB=$${RANLIB}" \
20109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20110 installcheck) \
20111 || exit 1
20113 @endif libgui
20115 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
20116 maybe-mostlyclean-libgui:
20117 @if libgui
20118 maybe-mostlyclean-libgui: mostlyclean-libgui
20120 mostlyclean-libgui:
20121 @: $(MAKE); $(unstage)
20122 @[ -f ./libgui/Makefile ] || exit 0; \
20123 r=`${PWD_COMMAND}`; export r; \
20124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 $(HOST_EXPORTS) \
20126 for flag in $(EXTRA_HOST_FLAGS) ; do \
20127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128 done; \
20129 echo "Doing mostlyclean in libgui" ; \
20130 (cd $(HOST_SUBDIR)/libgui && \
20131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20133 "RANLIB=$${RANLIB}" \
20134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20135 mostlyclean) \
20136 || exit 1
20138 @endif libgui
20140 .PHONY: maybe-clean-libgui clean-libgui
20141 maybe-clean-libgui:
20142 @if libgui
20143 maybe-clean-libgui: clean-libgui
20145 clean-libgui:
20146 @: $(MAKE); $(unstage)
20147 @[ -f ./libgui/Makefile ] || exit 0; \
20148 r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 $(HOST_EXPORTS) \
20151 for flag in $(EXTRA_HOST_FLAGS) ; do \
20152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20153 done; \
20154 echo "Doing clean in libgui" ; \
20155 (cd $(HOST_SUBDIR)/libgui && \
20156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20158 "RANLIB=$${RANLIB}" \
20159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20160 clean) \
20161 || exit 1
20163 @endif libgui
20165 .PHONY: maybe-distclean-libgui distclean-libgui
20166 maybe-distclean-libgui:
20167 @if libgui
20168 maybe-distclean-libgui: distclean-libgui
20170 distclean-libgui:
20171 @: $(MAKE); $(unstage)
20172 @[ -f ./libgui/Makefile ] || exit 0; \
20173 r=`${PWD_COMMAND}`; export r; \
20174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20175 $(HOST_EXPORTS) \
20176 for flag in $(EXTRA_HOST_FLAGS) ; do \
20177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20178 done; \
20179 echo "Doing distclean in libgui" ; \
20180 (cd $(HOST_SUBDIR)/libgui && \
20181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20183 "RANLIB=$${RANLIB}" \
20184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20185 distclean) \
20186 || exit 1
20188 @endif libgui
20190 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20191 maybe-maintainer-clean-libgui:
20192 @if libgui
20193 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20195 maintainer-clean-libgui:
20196 @: $(MAKE); $(unstage)
20197 @[ -f ./libgui/Makefile ] || exit 0; \
20198 r=`${PWD_COMMAND}`; export r; \
20199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20200 $(HOST_EXPORTS) \
20201 for flag in $(EXTRA_HOST_FLAGS) ; do \
20202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20203 done; \
20204 echo "Doing maintainer-clean in libgui" ; \
20205 (cd $(HOST_SUBDIR)/libgui && \
20206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20208 "RANLIB=$${RANLIB}" \
20209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20210 maintainer-clean) \
20211 || exit 1
20213 @endif libgui
20217 .PHONY: configure-libiberty maybe-configure-libiberty
20218 maybe-configure-libiberty:
20219 @if gcc-bootstrap
20220 configure-libiberty: stage_current
20221 @endif gcc-bootstrap
20222 @if libiberty
20223 maybe-configure-libiberty: configure-libiberty
20224 configure-libiberty:
20225 @r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20229 $(HOST_EXPORTS) \
20230 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20231 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20232 case $(srcdir) in \
20233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20234 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20236 esac; \
20237 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20238 libsrcdir="$$s/libiberty"; \
20239 $(SHELL) $${libsrcdir}/configure \
20240 $(HOST_CONFIGARGS) $${srcdiroption} \
20241 || exit 1
20242 @endif libiberty
20246 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20247 maybe-configure-stage1-libiberty:
20248 @if libiberty-bootstrap
20249 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20250 configure-stage1-libiberty:
20251 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20252 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20253 @r=`${PWD_COMMAND}`; export r; \
20254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20255 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20256 $(HOST_EXPORTS) \
20257 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20259 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20260 case $(srcdir) in \
20261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20262 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20264 esac; \
20265 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20266 libsrcdir="$$s/libiberty"; \
20267 $(SHELL) $${libsrcdir}/configure \
20268 $(HOST_CONFIGARGS) $${srcdiroption} \
20270 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20271 @endif libiberty-bootstrap
20273 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20274 maybe-configure-stage2-libiberty:
20275 @if libiberty-bootstrap
20276 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20277 configure-stage2-libiberty:
20278 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20280 @r=`${PWD_COMMAND}`; export r; \
20281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20282 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20283 $(HOST_EXPORTS) \
20284 $(POSTSTAGE1_HOST_EXPORTS) \
20285 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20287 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20288 case $(srcdir) in \
20289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20290 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20292 esac; \
20293 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20294 libsrcdir="$$s/libiberty"; \
20295 $(SHELL) $${libsrcdir}/configure \
20296 $(HOST_CONFIGARGS) $${srcdiroption} \
20297 --with-build-libsubdir=$(HOST_SUBDIR) \
20298 @stage2_werror_flag@
20299 @endif libiberty-bootstrap
20301 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20302 maybe-configure-stage3-libiberty:
20303 @if libiberty-bootstrap
20304 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20305 configure-stage3-libiberty:
20306 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20308 @r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20311 $(HOST_EXPORTS) \
20312 $(POSTSTAGE1_HOST_EXPORTS) \
20313 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20315 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20316 case $(srcdir) in \
20317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20318 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20320 esac; \
20321 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20322 libsrcdir="$$s/libiberty"; \
20323 $(SHELL) $${libsrcdir}/configure \
20324 $(HOST_CONFIGARGS) $${srcdiroption} \
20325 --with-build-libsubdir=$(HOST_SUBDIR) \
20326 @stage2_werror_flag@
20327 @endif libiberty-bootstrap
20329 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20330 maybe-configure-stage4-libiberty:
20331 @if libiberty-bootstrap
20332 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20333 configure-stage4-libiberty:
20334 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20336 @r=`${PWD_COMMAND}`; export r; \
20337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20339 $(HOST_EXPORTS) \
20340 $(POSTSTAGE1_HOST_EXPORTS) \
20341 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20343 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20344 case $(srcdir) in \
20345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20346 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20348 esac; \
20349 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20350 libsrcdir="$$s/libiberty"; \
20351 $(SHELL) $${libsrcdir}/configure \
20352 $(HOST_CONFIGARGS) $${srcdiroption} \
20353 --with-build-libsubdir=$(HOST_SUBDIR) \
20354 @stage2_werror_flag@
20355 @endif libiberty-bootstrap
20357 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20358 maybe-configure-stageprofile-libiberty:
20359 @if libiberty-bootstrap
20360 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20361 configure-stageprofile-libiberty:
20362 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20364 @r=`${PWD_COMMAND}`; export r; \
20365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20366 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20367 $(HOST_EXPORTS) \
20368 $(POSTSTAGE1_HOST_EXPORTS) \
20369 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20371 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20372 case $(srcdir) in \
20373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20374 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20376 esac; \
20377 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20378 libsrcdir="$$s/libiberty"; \
20379 $(SHELL) $${libsrcdir}/configure \
20380 $(HOST_CONFIGARGS) $${srcdiroption} \
20381 --with-build-libsubdir=$(HOST_SUBDIR) \
20382 @stage2_werror_flag@
20383 @endif libiberty-bootstrap
20385 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20386 maybe-configure-stagefeedback-libiberty:
20387 @if libiberty-bootstrap
20388 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20389 configure-stagefeedback-libiberty:
20390 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20392 @r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20394 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20395 $(HOST_EXPORTS) \
20396 $(POSTSTAGE1_HOST_EXPORTS) \
20397 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20399 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20400 case $(srcdir) in \
20401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20402 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20404 esac; \
20405 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20406 libsrcdir="$$s/libiberty"; \
20407 $(SHELL) $${libsrcdir}/configure \
20408 $(HOST_CONFIGARGS) $${srcdiroption} \
20409 --with-build-libsubdir=$(HOST_SUBDIR) \
20410 @stage2_werror_flag@
20411 @endif libiberty-bootstrap
20417 .PHONY: all-libiberty maybe-all-libiberty
20418 maybe-all-libiberty:
20419 @if gcc-bootstrap
20420 all-libiberty: stage_current
20421 @endif gcc-bootstrap
20422 @if libiberty
20423 TARGET-libiberty=all
20424 maybe-all-libiberty: all-libiberty
20425 all-libiberty: configure-libiberty
20426 @r=`${PWD_COMMAND}`; export r; \
20427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428 $(HOST_EXPORTS) \
20429 (cd $(HOST_SUBDIR)/libiberty && \
20430 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20431 @endif libiberty
20435 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20436 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20437 maybe-all-stage1-libiberty:
20438 maybe-clean-stage1-libiberty:
20439 @if libiberty-bootstrap
20440 maybe-all-stage1-libiberty: all-stage1-libiberty
20441 all-stage1: all-stage1-libiberty
20442 TARGET-stage1-libiberty = $(TARGET-libiberty)
20443 all-stage1-libiberty: configure-stage1-libiberty
20444 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20445 @r=`${PWD_COMMAND}`; export r; \
20446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20447 $(HOST_EXPORTS) \
20448 cd $(HOST_SUBDIR)/libiberty && \
20449 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20450 $(TARGET-stage1-libiberty)
20452 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20453 clean-stage1: clean-stage1-libiberty
20454 clean-stage1-libiberty:
20455 @if [ $(current_stage) = stage1 ]; then \
20456 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20457 else \
20458 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
20459 $(MAKE) stage1-start; \
20460 fi; \
20461 cd $(HOST_SUBDIR)/libiberty && \
20462 $(MAKE) $(FLAGS_TO_PASS) \
20463 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20464 @endif libiberty-bootstrap
20467 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20468 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20469 maybe-all-stage2-libiberty:
20470 maybe-clean-stage2-libiberty:
20471 @if libiberty-bootstrap
20472 maybe-all-stage2-libiberty: all-stage2-libiberty
20473 all-stage2: all-stage2-libiberty
20474 TARGET-stage2-libiberty = $(TARGET-libiberty)
20475 all-stage2-libiberty: configure-stage2-libiberty
20476 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20477 @r=`${PWD_COMMAND}`; export r; \
20478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20479 $(HOST_EXPORTS) \
20480 $(POSTSTAGE1_HOST_EXPORTS) \
20481 cd $(HOST_SUBDIR)/libiberty && \
20482 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20483 $(TARGET-stage2-libiberty)
20485 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20486 clean-stage2: clean-stage2-libiberty
20487 clean-stage2-libiberty:
20488 @if [ $(current_stage) = stage2 ]; then \
20489 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20490 else \
20491 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
20492 $(MAKE) stage2-start; \
20493 fi; \
20494 cd $(HOST_SUBDIR)/libiberty && \
20495 $(MAKE) $(FLAGS_TO_PASS) \
20496 $(POSTSTAGE1_FLAGS_TO_PASS) \
20497 clean
20498 @endif libiberty-bootstrap
20501 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20502 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20503 maybe-all-stage3-libiberty:
20504 maybe-clean-stage3-libiberty:
20505 @if libiberty-bootstrap
20506 maybe-all-stage3-libiberty: all-stage3-libiberty
20507 all-stage3: all-stage3-libiberty
20508 TARGET-stage3-libiberty = $(TARGET-libiberty)
20509 all-stage3-libiberty: configure-stage3-libiberty
20510 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20511 @r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513 $(HOST_EXPORTS) \
20514 $(POSTSTAGE1_HOST_EXPORTS) \
20515 cd $(HOST_SUBDIR)/libiberty && \
20516 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20517 $(TARGET-stage3-libiberty)
20519 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20520 clean-stage3: clean-stage3-libiberty
20521 clean-stage3-libiberty:
20522 @if [ $(current_stage) = stage3 ]; then \
20523 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20524 else \
20525 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
20526 $(MAKE) stage3-start; \
20527 fi; \
20528 cd $(HOST_SUBDIR)/libiberty && \
20529 $(MAKE) $(FLAGS_TO_PASS) \
20530 $(POSTSTAGE1_FLAGS_TO_PASS) \
20531 clean
20532 @endif libiberty-bootstrap
20535 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20536 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20537 maybe-all-stage4-libiberty:
20538 maybe-clean-stage4-libiberty:
20539 @if libiberty-bootstrap
20540 maybe-all-stage4-libiberty: all-stage4-libiberty
20541 all-stage4: all-stage4-libiberty
20542 TARGET-stage4-libiberty = $(TARGET-libiberty)
20543 all-stage4-libiberty: configure-stage4-libiberty
20544 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20545 @r=`${PWD_COMMAND}`; export r; \
20546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20547 $(HOST_EXPORTS) \
20548 $(POSTSTAGE1_HOST_EXPORTS) \
20549 cd $(HOST_SUBDIR)/libiberty && \
20550 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20551 $(TARGET-stage4-libiberty)
20553 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20554 clean-stage4: clean-stage4-libiberty
20555 clean-stage4-libiberty:
20556 @if [ $(current_stage) = stage4 ]; then \
20557 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20558 else \
20559 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
20560 $(MAKE) stage4-start; \
20561 fi; \
20562 cd $(HOST_SUBDIR)/libiberty && \
20563 $(MAKE) $(FLAGS_TO_PASS) \
20564 $(POSTSTAGE1_FLAGS_TO_PASS) \
20565 clean
20566 @endif libiberty-bootstrap
20569 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20570 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20571 maybe-all-stageprofile-libiberty:
20572 maybe-clean-stageprofile-libiberty:
20573 @if libiberty-bootstrap
20574 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20575 all-stageprofile: all-stageprofile-libiberty
20576 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20577 all-stageprofile-libiberty: configure-stageprofile-libiberty
20578 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20579 @r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(HOST_EXPORTS) \
20582 $(POSTSTAGE1_HOST_EXPORTS) \
20583 cd $(HOST_SUBDIR)/libiberty && \
20584 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20585 $(TARGET-stageprofile-libiberty)
20587 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20588 clean-stageprofile: clean-stageprofile-libiberty
20589 clean-stageprofile-libiberty:
20590 @if [ $(current_stage) = stageprofile ]; then \
20591 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20592 else \
20593 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
20594 $(MAKE) stageprofile-start; \
20595 fi; \
20596 cd $(HOST_SUBDIR)/libiberty && \
20597 $(MAKE) $(FLAGS_TO_PASS) \
20598 $(POSTSTAGE1_FLAGS_TO_PASS) \
20599 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20600 @endif libiberty-bootstrap
20603 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20604 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20605 maybe-all-stagefeedback-libiberty:
20606 maybe-clean-stagefeedback-libiberty:
20607 @if libiberty-bootstrap
20608 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20609 all-stagefeedback: all-stagefeedback-libiberty
20610 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20611 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20612 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20613 @r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20615 $(HOST_EXPORTS) \
20616 $(POSTSTAGE1_HOST_EXPORTS) \
20617 cd $(HOST_SUBDIR)/libiberty && \
20618 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20619 $(TARGET-stagefeedback-libiberty)
20621 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20622 clean-stagefeedback: clean-stagefeedback-libiberty
20623 clean-stagefeedback-libiberty:
20624 @if [ $(current_stage) = stagefeedback ]; then \
20625 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20626 else \
20627 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
20628 $(MAKE) stagefeedback-start; \
20629 fi; \
20630 cd $(HOST_SUBDIR)/libiberty && \
20631 $(MAKE) $(FLAGS_TO_PASS) \
20632 $(POSTSTAGE1_FLAGS_TO_PASS) \
20633 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20634 @endif libiberty-bootstrap
20640 .PHONY: check-libiberty maybe-check-libiberty
20641 maybe-check-libiberty:
20642 @if libiberty
20643 maybe-check-libiberty: check-libiberty
20645 check-libiberty:
20646 @: $(MAKE); $(unstage)
20647 @r=`${PWD_COMMAND}`; export r; \
20648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20649 $(HOST_EXPORTS) \
20650 (cd $(HOST_SUBDIR)/libiberty && \
20651 $(MAKE) $(FLAGS_TO_PASS) check)
20653 @endif libiberty
20655 .PHONY: install-libiberty maybe-install-libiberty
20656 maybe-install-libiberty:
20657 @if libiberty
20658 maybe-install-libiberty: install-libiberty
20660 install-libiberty: installdirs
20661 @: $(MAKE); $(unstage)
20662 @r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 $(HOST_EXPORTS) \
20665 (cd $(HOST_SUBDIR)/libiberty && \
20666 $(MAKE) $(FLAGS_TO_PASS) install)
20668 @endif libiberty
20670 # Other targets (info, dvi, pdf, etc.)
20672 .PHONY: maybe-info-libiberty info-libiberty
20673 maybe-info-libiberty:
20674 @if libiberty
20675 maybe-info-libiberty: info-libiberty
20677 info-libiberty: \
20678 configure-libiberty
20679 @[ -f ./libiberty/Makefile ] || exit 0; \
20680 r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(HOST_EXPORTS) \
20683 for flag in $(EXTRA_HOST_FLAGS) ; do \
20684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20685 done; \
20686 echo "Doing info in libiberty" ; \
20687 (cd $(HOST_SUBDIR)/libiberty && \
20688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20690 "RANLIB=$${RANLIB}" \
20691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20692 info) \
20693 || exit 1
20695 @endif libiberty
20697 .PHONY: maybe-dvi-libiberty dvi-libiberty
20698 maybe-dvi-libiberty:
20699 @if libiberty
20700 maybe-dvi-libiberty: dvi-libiberty
20702 dvi-libiberty: \
20703 configure-libiberty
20704 @[ -f ./libiberty/Makefile ] || exit 0; \
20705 r=`${PWD_COMMAND}`; export r; \
20706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20707 $(HOST_EXPORTS) \
20708 for flag in $(EXTRA_HOST_FLAGS) ; do \
20709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20710 done; \
20711 echo "Doing dvi in libiberty" ; \
20712 (cd $(HOST_SUBDIR)/libiberty && \
20713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20715 "RANLIB=$${RANLIB}" \
20716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20717 dvi) \
20718 || exit 1
20720 @endif libiberty
20722 .PHONY: maybe-pdf-libiberty pdf-libiberty
20723 maybe-pdf-libiberty:
20724 @if libiberty
20725 maybe-pdf-libiberty: pdf-libiberty
20727 pdf-libiberty: \
20728 configure-libiberty
20729 @[ -f ./libiberty/Makefile ] || exit 0; \
20730 r=`${PWD_COMMAND}`; export r; \
20731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20732 $(HOST_EXPORTS) \
20733 for flag in $(EXTRA_HOST_FLAGS) ; do \
20734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20735 done; \
20736 echo "Doing pdf in libiberty" ; \
20737 (cd $(HOST_SUBDIR)/libiberty && \
20738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20740 "RANLIB=$${RANLIB}" \
20741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20742 pdf) \
20743 || exit 1
20745 @endif libiberty
20747 .PHONY: maybe-html-libiberty html-libiberty
20748 maybe-html-libiberty:
20749 @if libiberty
20750 maybe-html-libiberty: html-libiberty
20752 html-libiberty: \
20753 configure-libiberty
20754 @[ -f ./libiberty/Makefile ] || exit 0; \
20755 r=`${PWD_COMMAND}`; export r; \
20756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20757 $(HOST_EXPORTS) \
20758 for flag in $(EXTRA_HOST_FLAGS) ; do \
20759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20760 done; \
20761 echo "Doing html in libiberty" ; \
20762 (cd $(HOST_SUBDIR)/libiberty && \
20763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20765 "RANLIB=$${RANLIB}" \
20766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20767 html) \
20768 || exit 1
20770 @endif libiberty
20772 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20773 maybe-TAGS-libiberty:
20774 @if libiberty
20775 maybe-TAGS-libiberty: TAGS-libiberty
20777 TAGS-libiberty: \
20778 configure-libiberty
20779 @[ -f ./libiberty/Makefile ] || exit 0; \
20780 r=`${PWD_COMMAND}`; export r; \
20781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20782 $(HOST_EXPORTS) \
20783 for flag in $(EXTRA_HOST_FLAGS) ; do \
20784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20785 done; \
20786 echo "Doing TAGS in libiberty" ; \
20787 (cd $(HOST_SUBDIR)/libiberty && \
20788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20790 "RANLIB=$${RANLIB}" \
20791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20792 TAGS) \
20793 || exit 1
20795 @endif libiberty
20797 .PHONY: maybe-install-info-libiberty install-info-libiberty
20798 maybe-install-info-libiberty:
20799 @if libiberty
20800 maybe-install-info-libiberty: install-info-libiberty
20802 install-info-libiberty: \
20803 configure-libiberty \
20804 info-libiberty
20805 @[ -f ./libiberty/Makefile ] || exit 0; \
20806 r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20808 $(HOST_EXPORTS) \
20809 for flag in $(EXTRA_HOST_FLAGS) ; do \
20810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20811 done; \
20812 echo "Doing install-info in libiberty" ; \
20813 (cd $(HOST_SUBDIR)/libiberty && \
20814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20816 "RANLIB=$${RANLIB}" \
20817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20818 install-info) \
20819 || exit 1
20821 @endif libiberty
20823 .PHONY: maybe-install-html-libiberty install-html-libiberty
20824 maybe-install-html-libiberty:
20825 @if libiberty
20826 maybe-install-html-libiberty: install-html-libiberty
20828 install-html-libiberty: \
20829 configure-libiberty \
20830 html-libiberty
20831 @[ -f ./libiberty/Makefile ] || exit 0; \
20832 r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20834 $(HOST_EXPORTS) \
20835 for flag in $(EXTRA_HOST_FLAGS) ; do \
20836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20837 done; \
20838 echo "Doing install-html in libiberty" ; \
20839 (cd $(HOST_SUBDIR)/libiberty && \
20840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20842 "RANLIB=$${RANLIB}" \
20843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20844 install-html) \
20845 || exit 1
20847 @endif libiberty
20849 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20850 maybe-installcheck-libiberty:
20851 @if libiberty
20852 maybe-installcheck-libiberty: installcheck-libiberty
20854 installcheck-libiberty: \
20855 configure-libiberty
20856 @[ -f ./libiberty/Makefile ] || exit 0; \
20857 r=`${PWD_COMMAND}`; export r; \
20858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20859 $(HOST_EXPORTS) \
20860 for flag in $(EXTRA_HOST_FLAGS) ; do \
20861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20862 done; \
20863 echo "Doing installcheck in libiberty" ; \
20864 (cd $(HOST_SUBDIR)/libiberty && \
20865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20867 "RANLIB=$${RANLIB}" \
20868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20869 installcheck) \
20870 || exit 1
20872 @endif libiberty
20874 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20875 maybe-mostlyclean-libiberty:
20876 @if libiberty
20877 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20879 mostlyclean-libiberty:
20880 @[ -f ./libiberty/Makefile ] || exit 0; \
20881 r=`${PWD_COMMAND}`; export r; \
20882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20883 $(HOST_EXPORTS) \
20884 for flag in $(EXTRA_HOST_FLAGS) ; do \
20885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20886 done; \
20887 echo "Doing mostlyclean in libiberty" ; \
20888 (cd $(HOST_SUBDIR)/libiberty && \
20889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20891 "RANLIB=$${RANLIB}" \
20892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20893 mostlyclean) \
20894 || exit 1
20896 @endif libiberty
20898 .PHONY: maybe-clean-libiberty clean-libiberty
20899 maybe-clean-libiberty:
20900 @if libiberty
20901 maybe-clean-libiberty: clean-libiberty
20903 clean-libiberty:
20904 @[ -f ./libiberty/Makefile ] || exit 0; \
20905 r=`${PWD_COMMAND}`; export r; \
20906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20907 $(HOST_EXPORTS) \
20908 for flag in $(EXTRA_HOST_FLAGS) ; do \
20909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20910 done; \
20911 echo "Doing clean in libiberty" ; \
20912 (cd $(HOST_SUBDIR)/libiberty && \
20913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20915 "RANLIB=$${RANLIB}" \
20916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20917 clean) \
20918 || exit 1
20920 @endif libiberty
20922 .PHONY: maybe-distclean-libiberty distclean-libiberty
20923 maybe-distclean-libiberty:
20924 @if libiberty
20925 maybe-distclean-libiberty: distclean-libiberty
20927 distclean-libiberty:
20928 @[ -f ./libiberty/Makefile ] || exit 0; \
20929 r=`${PWD_COMMAND}`; export r; \
20930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20931 $(HOST_EXPORTS) \
20932 for flag in $(EXTRA_HOST_FLAGS) ; do \
20933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20934 done; \
20935 echo "Doing distclean in libiberty" ; \
20936 (cd $(HOST_SUBDIR)/libiberty && \
20937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20939 "RANLIB=$${RANLIB}" \
20940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20941 distclean) \
20942 || exit 1
20944 @endif libiberty
20946 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20947 maybe-maintainer-clean-libiberty:
20948 @if libiberty
20949 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20951 maintainer-clean-libiberty:
20952 @[ -f ./libiberty/Makefile ] || exit 0; \
20953 r=`${PWD_COMMAND}`; export r; \
20954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20955 $(HOST_EXPORTS) \
20956 for flag in $(EXTRA_HOST_FLAGS) ; do \
20957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20958 done; \
20959 echo "Doing maintainer-clean in libiberty" ; \
20960 (cd $(HOST_SUBDIR)/libiberty && \
20961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20963 "RANLIB=$${RANLIB}" \
20964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20965 maintainer-clean) \
20966 || exit 1
20968 @endif libiberty
20972 .PHONY: configure-libtool maybe-configure-libtool
20973 maybe-configure-libtool:
20974 @if gcc-bootstrap
20975 configure-libtool: stage_current
20976 @endif gcc-bootstrap
20977 @if libtool
20978 maybe-configure-libtool: configure-libtool
20979 configure-libtool:
20980 @: $(MAKE); $(unstage)
20981 @r=`${PWD_COMMAND}`; export r; \
20982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20983 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
20984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
20985 $(HOST_EXPORTS) \
20986 echo Configuring in $(HOST_SUBDIR)/libtool; \
20987 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
20988 case $(srcdir) in \
20989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20990 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
20991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20992 esac; \
20993 srcdiroption="--srcdir=$${topdir}/libtool"; \
20994 libsrcdir="$$s/libtool"; \
20995 $(SHELL) $${libsrcdir}/configure \
20996 $(HOST_CONFIGARGS) $${srcdiroption} \
20997 || exit 1
20998 @endif libtool
21004 .PHONY: all-libtool maybe-all-libtool
21005 maybe-all-libtool:
21006 @if gcc-bootstrap
21007 all-libtool: stage_current
21008 @endif gcc-bootstrap
21009 @if libtool
21010 TARGET-libtool=all
21011 maybe-all-libtool: all-libtool
21012 all-libtool: configure-libtool
21013 @: $(MAKE); $(unstage)
21014 @r=`${PWD_COMMAND}`; export r; \
21015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21016 $(HOST_EXPORTS) \
21017 (cd $(HOST_SUBDIR)/libtool && \
21018 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
21019 @endif libtool
21024 .PHONY: check-libtool maybe-check-libtool
21025 maybe-check-libtool:
21026 @if libtool
21027 maybe-check-libtool: check-libtool
21029 check-libtool:
21030 @: $(MAKE); $(unstage)
21031 @r=`${PWD_COMMAND}`; export r; \
21032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21033 $(HOST_EXPORTS) \
21034 (cd $(HOST_SUBDIR)/libtool && \
21035 $(MAKE) $(FLAGS_TO_PASS) check)
21037 @endif libtool
21039 .PHONY: install-libtool maybe-install-libtool
21040 maybe-install-libtool:
21041 @if libtool
21042 maybe-install-libtool: install-libtool
21044 install-libtool: installdirs
21045 @: $(MAKE); $(unstage)
21046 @r=`${PWD_COMMAND}`; export r; \
21047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21048 $(HOST_EXPORTS) \
21049 (cd $(HOST_SUBDIR)/libtool && \
21050 $(MAKE) $(FLAGS_TO_PASS) install)
21052 @endif libtool
21054 # Other targets (info, dvi, pdf, etc.)
21056 .PHONY: maybe-info-libtool info-libtool
21057 maybe-info-libtool:
21058 @if libtool
21059 maybe-info-libtool: info-libtool
21061 info-libtool: \
21062 configure-libtool
21063 @: $(MAKE); $(unstage)
21064 @[ -f ./libtool/Makefile ] || exit 0; \
21065 r=`${PWD_COMMAND}`; export r; \
21066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21067 $(HOST_EXPORTS) \
21068 for flag in $(EXTRA_HOST_FLAGS) ; do \
21069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21070 done; \
21071 echo "Doing info in libtool" ; \
21072 (cd $(HOST_SUBDIR)/libtool && \
21073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21075 "RANLIB=$${RANLIB}" \
21076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21077 info) \
21078 || exit 1
21080 @endif libtool
21082 .PHONY: maybe-dvi-libtool dvi-libtool
21083 maybe-dvi-libtool:
21084 @if libtool
21085 maybe-dvi-libtool: dvi-libtool
21087 dvi-libtool: \
21088 configure-libtool
21089 @: $(MAKE); $(unstage)
21090 @[ -f ./libtool/Makefile ] || exit 0; \
21091 r=`${PWD_COMMAND}`; export r; \
21092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21093 $(HOST_EXPORTS) \
21094 for flag in $(EXTRA_HOST_FLAGS) ; do \
21095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21096 done; \
21097 echo "Doing dvi in libtool" ; \
21098 (cd $(HOST_SUBDIR)/libtool && \
21099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21101 "RANLIB=$${RANLIB}" \
21102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21103 dvi) \
21104 || exit 1
21106 @endif libtool
21108 .PHONY: maybe-pdf-libtool pdf-libtool
21109 maybe-pdf-libtool:
21110 @if libtool
21111 maybe-pdf-libtool: pdf-libtool
21113 pdf-libtool: \
21114 configure-libtool
21115 @: $(MAKE); $(unstage)
21116 @[ -f ./libtool/Makefile ] || exit 0; \
21117 r=`${PWD_COMMAND}`; export r; \
21118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21119 $(HOST_EXPORTS) \
21120 for flag in $(EXTRA_HOST_FLAGS) ; do \
21121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21122 done; \
21123 echo "Doing pdf in libtool" ; \
21124 (cd $(HOST_SUBDIR)/libtool && \
21125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21127 "RANLIB=$${RANLIB}" \
21128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21129 pdf) \
21130 || exit 1
21132 @endif libtool
21134 .PHONY: maybe-html-libtool html-libtool
21135 maybe-html-libtool:
21136 @if libtool
21137 maybe-html-libtool: html-libtool
21139 html-libtool: \
21140 configure-libtool
21141 @: $(MAKE); $(unstage)
21142 @[ -f ./libtool/Makefile ] || exit 0; \
21143 r=`${PWD_COMMAND}`; export r; \
21144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21145 $(HOST_EXPORTS) \
21146 for flag in $(EXTRA_HOST_FLAGS) ; do \
21147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21148 done; \
21149 echo "Doing html in libtool" ; \
21150 (cd $(HOST_SUBDIR)/libtool && \
21151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21153 "RANLIB=$${RANLIB}" \
21154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21155 html) \
21156 || exit 1
21158 @endif libtool
21160 .PHONY: maybe-TAGS-libtool TAGS-libtool
21161 maybe-TAGS-libtool:
21162 @if libtool
21163 maybe-TAGS-libtool: TAGS-libtool
21165 TAGS-libtool: \
21166 configure-libtool
21167 @: $(MAKE); $(unstage)
21168 @[ -f ./libtool/Makefile ] || exit 0; \
21169 r=`${PWD_COMMAND}`; export r; \
21170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21171 $(HOST_EXPORTS) \
21172 for flag in $(EXTRA_HOST_FLAGS) ; do \
21173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21174 done; \
21175 echo "Doing TAGS in libtool" ; \
21176 (cd $(HOST_SUBDIR)/libtool && \
21177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21179 "RANLIB=$${RANLIB}" \
21180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21181 TAGS) \
21182 || exit 1
21184 @endif libtool
21186 .PHONY: maybe-install-info-libtool install-info-libtool
21187 maybe-install-info-libtool:
21188 @if libtool
21189 maybe-install-info-libtool: install-info-libtool
21191 install-info-libtool: \
21192 configure-libtool \
21193 info-libtool
21194 @: $(MAKE); $(unstage)
21195 @[ -f ./libtool/Makefile ] || exit 0; \
21196 r=`${PWD_COMMAND}`; export r; \
21197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21198 $(HOST_EXPORTS) \
21199 for flag in $(EXTRA_HOST_FLAGS) ; do \
21200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21201 done; \
21202 echo "Doing install-info in libtool" ; \
21203 (cd $(HOST_SUBDIR)/libtool && \
21204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21206 "RANLIB=$${RANLIB}" \
21207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21208 install-info) \
21209 || exit 1
21211 @endif libtool
21213 .PHONY: maybe-install-html-libtool install-html-libtool
21214 maybe-install-html-libtool:
21215 @if libtool
21216 maybe-install-html-libtool: install-html-libtool
21218 install-html-libtool: \
21219 configure-libtool \
21220 html-libtool
21221 @: $(MAKE); $(unstage)
21222 @[ -f ./libtool/Makefile ] || exit 0; \
21223 r=`${PWD_COMMAND}`; export r; \
21224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21225 $(HOST_EXPORTS) \
21226 for flag in $(EXTRA_HOST_FLAGS) ; do \
21227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21228 done; \
21229 echo "Doing install-html in libtool" ; \
21230 (cd $(HOST_SUBDIR)/libtool && \
21231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21233 "RANLIB=$${RANLIB}" \
21234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21235 install-html) \
21236 || exit 1
21238 @endif libtool
21240 .PHONY: maybe-installcheck-libtool installcheck-libtool
21241 maybe-installcheck-libtool:
21242 @if libtool
21243 maybe-installcheck-libtool: installcheck-libtool
21245 installcheck-libtool: \
21246 configure-libtool
21247 @: $(MAKE); $(unstage)
21248 @[ -f ./libtool/Makefile ] || exit 0; \
21249 r=`${PWD_COMMAND}`; export r; \
21250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21251 $(HOST_EXPORTS) \
21252 for flag in $(EXTRA_HOST_FLAGS) ; do \
21253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21254 done; \
21255 echo "Doing installcheck in libtool" ; \
21256 (cd $(HOST_SUBDIR)/libtool && \
21257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21259 "RANLIB=$${RANLIB}" \
21260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21261 installcheck) \
21262 || exit 1
21264 @endif libtool
21266 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21267 maybe-mostlyclean-libtool:
21268 @if libtool
21269 maybe-mostlyclean-libtool: mostlyclean-libtool
21271 mostlyclean-libtool:
21272 @: $(MAKE); $(unstage)
21273 @[ -f ./libtool/Makefile ] || exit 0; \
21274 r=`${PWD_COMMAND}`; export r; \
21275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21276 $(HOST_EXPORTS) \
21277 for flag in $(EXTRA_HOST_FLAGS) ; do \
21278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21279 done; \
21280 echo "Doing mostlyclean in libtool" ; \
21281 (cd $(HOST_SUBDIR)/libtool && \
21282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21284 "RANLIB=$${RANLIB}" \
21285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21286 mostlyclean) \
21287 || exit 1
21289 @endif libtool
21291 .PHONY: maybe-clean-libtool clean-libtool
21292 maybe-clean-libtool:
21293 @if libtool
21294 maybe-clean-libtool: clean-libtool
21296 clean-libtool:
21297 @: $(MAKE); $(unstage)
21298 @[ -f ./libtool/Makefile ] || exit 0; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301 $(HOST_EXPORTS) \
21302 for flag in $(EXTRA_HOST_FLAGS) ; do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21304 done; \
21305 echo "Doing clean in libtool" ; \
21306 (cd $(HOST_SUBDIR)/libtool && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311 clean) \
21312 || exit 1
21314 @endif libtool
21316 .PHONY: maybe-distclean-libtool distclean-libtool
21317 maybe-distclean-libtool:
21318 @if libtool
21319 maybe-distclean-libtool: distclean-libtool
21321 distclean-libtool:
21322 @: $(MAKE); $(unstage)
21323 @[ -f ./libtool/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 $(HOST_EXPORTS) \
21327 for flag in $(EXTRA_HOST_FLAGS) ; do \
21328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21329 done; \
21330 echo "Doing distclean in libtool" ; \
21331 (cd $(HOST_SUBDIR)/libtool && \
21332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21334 "RANLIB=$${RANLIB}" \
21335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21336 distclean) \
21337 || exit 1
21339 @endif libtool
21341 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21342 maybe-maintainer-clean-libtool:
21343 @if libtool
21344 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21346 maintainer-clean-libtool:
21347 @: $(MAKE); $(unstage)
21348 @[ -f ./libtool/Makefile ] || exit 0; \
21349 r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351 $(HOST_EXPORTS) \
21352 for flag in $(EXTRA_HOST_FLAGS) ; do \
21353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21354 done; \
21355 echo "Doing maintainer-clean in libtool" ; \
21356 (cd $(HOST_SUBDIR)/libtool && \
21357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21359 "RANLIB=$${RANLIB}" \
21360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21361 maintainer-clean) \
21362 || exit 1
21364 @endif libtool
21368 .PHONY: configure-m4 maybe-configure-m4
21369 maybe-configure-m4:
21370 @if gcc-bootstrap
21371 configure-m4: stage_current
21372 @endif gcc-bootstrap
21373 @if m4
21374 maybe-configure-m4: configure-m4
21375 configure-m4:
21376 @: $(MAKE); $(unstage)
21377 @r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21381 $(HOST_EXPORTS) \
21382 echo Configuring in $(HOST_SUBDIR)/m4; \
21383 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21384 case $(srcdir) in \
21385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21386 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21388 esac; \
21389 srcdiroption="--srcdir=$${topdir}/m4"; \
21390 libsrcdir="$$s/m4"; \
21391 $(SHELL) $${libsrcdir}/configure \
21392 $(HOST_CONFIGARGS) $${srcdiroption} \
21393 || exit 1
21394 @endif m4
21400 .PHONY: all-m4 maybe-all-m4
21401 maybe-all-m4:
21402 @if gcc-bootstrap
21403 all-m4: stage_current
21404 @endif gcc-bootstrap
21405 @if m4
21406 TARGET-m4=all
21407 maybe-all-m4: all-m4
21408 all-m4: configure-m4
21409 @: $(MAKE); $(unstage)
21410 @r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21412 $(HOST_EXPORTS) \
21413 (cd $(HOST_SUBDIR)/m4 && \
21414 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21415 @endif m4
21420 .PHONY: check-m4 maybe-check-m4
21421 maybe-check-m4:
21422 @if m4
21423 maybe-check-m4: check-m4
21425 check-m4:
21426 @: $(MAKE); $(unstage)
21427 @r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(HOST_EXPORTS) \
21430 (cd $(HOST_SUBDIR)/m4 && \
21431 $(MAKE) $(FLAGS_TO_PASS) check)
21433 @endif m4
21435 .PHONY: install-m4 maybe-install-m4
21436 maybe-install-m4:
21437 @if m4
21438 maybe-install-m4: install-m4
21440 install-m4: installdirs
21441 @: $(MAKE); $(unstage)
21442 @r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21444 $(HOST_EXPORTS) \
21445 (cd $(HOST_SUBDIR)/m4 && \
21446 $(MAKE) $(FLAGS_TO_PASS) install)
21448 @endif m4
21450 # Other targets (info, dvi, pdf, etc.)
21452 .PHONY: maybe-info-m4 info-m4
21453 maybe-info-m4:
21454 @if m4
21455 maybe-info-m4: info-m4
21457 info-m4: \
21458 configure-m4
21459 @: $(MAKE); $(unstage)
21460 @[ -f ./m4/Makefile ] || exit 0; \
21461 r=`${PWD_COMMAND}`; export r; \
21462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21463 $(HOST_EXPORTS) \
21464 for flag in $(EXTRA_HOST_FLAGS) ; do \
21465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21466 done; \
21467 echo "Doing info in m4" ; \
21468 (cd $(HOST_SUBDIR)/m4 && \
21469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21471 "RANLIB=$${RANLIB}" \
21472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21473 info) \
21474 || exit 1
21476 @endif m4
21478 .PHONY: maybe-dvi-m4 dvi-m4
21479 maybe-dvi-m4:
21480 @if m4
21481 maybe-dvi-m4: dvi-m4
21483 dvi-m4: \
21484 configure-m4
21485 @: $(MAKE); $(unstage)
21486 @[ -f ./m4/Makefile ] || exit 0; \
21487 r=`${PWD_COMMAND}`; export r; \
21488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21489 $(HOST_EXPORTS) \
21490 for flag in $(EXTRA_HOST_FLAGS) ; do \
21491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21492 done; \
21493 echo "Doing dvi in m4" ; \
21494 (cd $(HOST_SUBDIR)/m4 && \
21495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21497 "RANLIB=$${RANLIB}" \
21498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21499 dvi) \
21500 || exit 1
21502 @endif m4
21504 .PHONY: maybe-pdf-m4 pdf-m4
21505 maybe-pdf-m4:
21506 @if m4
21507 maybe-pdf-m4: pdf-m4
21509 pdf-m4: \
21510 configure-m4
21511 @: $(MAKE); $(unstage)
21512 @[ -f ./m4/Makefile ] || exit 0; \
21513 r=`${PWD_COMMAND}`; export r; \
21514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21515 $(HOST_EXPORTS) \
21516 for flag in $(EXTRA_HOST_FLAGS) ; do \
21517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21518 done; \
21519 echo "Doing pdf in m4" ; \
21520 (cd $(HOST_SUBDIR)/m4 && \
21521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21523 "RANLIB=$${RANLIB}" \
21524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21525 pdf) \
21526 || exit 1
21528 @endif m4
21530 .PHONY: maybe-html-m4 html-m4
21531 maybe-html-m4:
21532 @if m4
21533 maybe-html-m4: html-m4
21535 html-m4: \
21536 configure-m4
21537 @: $(MAKE); $(unstage)
21538 @[ -f ./m4/Makefile ] || exit 0; \
21539 r=`${PWD_COMMAND}`; export r; \
21540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21541 $(HOST_EXPORTS) \
21542 for flag in $(EXTRA_HOST_FLAGS) ; do \
21543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21544 done; \
21545 echo "Doing html in m4" ; \
21546 (cd $(HOST_SUBDIR)/m4 && \
21547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21549 "RANLIB=$${RANLIB}" \
21550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21551 html) \
21552 || exit 1
21554 @endif m4
21556 .PHONY: maybe-TAGS-m4 TAGS-m4
21557 maybe-TAGS-m4:
21558 @if m4
21559 maybe-TAGS-m4: TAGS-m4
21561 TAGS-m4: \
21562 configure-m4
21563 @: $(MAKE); $(unstage)
21564 @[ -f ./m4/Makefile ] || exit 0; \
21565 r=`${PWD_COMMAND}`; export r; \
21566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21567 $(HOST_EXPORTS) \
21568 for flag in $(EXTRA_HOST_FLAGS) ; do \
21569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21570 done; \
21571 echo "Doing TAGS in m4" ; \
21572 (cd $(HOST_SUBDIR)/m4 && \
21573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21575 "RANLIB=$${RANLIB}" \
21576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21577 TAGS) \
21578 || exit 1
21580 @endif m4
21582 .PHONY: maybe-install-info-m4 install-info-m4
21583 maybe-install-info-m4:
21584 @if m4
21585 maybe-install-info-m4: install-info-m4
21587 install-info-m4: \
21588 configure-m4 \
21589 info-m4
21590 @: $(MAKE); $(unstage)
21591 @[ -f ./m4/Makefile ] || exit 0; \
21592 r=`${PWD_COMMAND}`; export r; \
21593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21594 $(HOST_EXPORTS) \
21595 for flag in $(EXTRA_HOST_FLAGS) ; do \
21596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21597 done; \
21598 echo "Doing install-info in m4" ; \
21599 (cd $(HOST_SUBDIR)/m4 && \
21600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21602 "RANLIB=$${RANLIB}" \
21603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21604 install-info) \
21605 || exit 1
21607 @endif m4
21609 .PHONY: maybe-install-html-m4 install-html-m4
21610 maybe-install-html-m4:
21611 @if m4
21612 maybe-install-html-m4: install-html-m4
21614 install-html-m4: \
21615 configure-m4 \
21616 html-m4
21617 @: $(MAKE); $(unstage)
21618 @[ -f ./m4/Makefile ] || exit 0; \
21619 r=`${PWD_COMMAND}`; export r; \
21620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21621 $(HOST_EXPORTS) \
21622 for flag in $(EXTRA_HOST_FLAGS) ; do \
21623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21624 done; \
21625 echo "Doing install-html in m4" ; \
21626 (cd $(HOST_SUBDIR)/m4 && \
21627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21629 "RANLIB=$${RANLIB}" \
21630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21631 install-html) \
21632 || exit 1
21634 @endif m4
21636 .PHONY: maybe-installcheck-m4 installcheck-m4
21637 maybe-installcheck-m4:
21638 @if m4
21639 maybe-installcheck-m4: installcheck-m4
21641 installcheck-m4: \
21642 configure-m4
21643 @: $(MAKE); $(unstage)
21644 @[ -f ./m4/Makefile ] || exit 0; \
21645 r=`${PWD_COMMAND}`; export r; \
21646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21647 $(HOST_EXPORTS) \
21648 for flag in $(EXTRA_HOST_FLAGS) ; do \
21649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21650 done; \
21651 echo "Doing installcheck in m4" ; \
21652 (cd $(HOST_SUBDIR)/m4 && \
21653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21655 "RANLIB=$${RANLIB}" \
21656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21657 installcheck) \
21658 || exit 1
21660 @endif m4
21662 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21663 maybe-mostlyclean-m4:
21664 @if m4
21665 maybe-mostlyclean-m4: mostlyclean-m4
21667 mostlyclean-m4:
21668 @: $(MAKE); $(unstage)
21669 @[ -f ./m4/Makefile ] || exit 0; \
21670 r=`${PWD_COMMAND}`; export r; \
21671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21672 $(HOST_EXPORTS) \
21673 for flag in $(EXTRA_HOST_FLAGS) ; do \
21674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21675 done; \
21676 echo "Doing mostlyclean in m4" ; \
21677 (cd $(HOST_SUBDIR)/m4 && \
21678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21680 "RANLIB=$${RANLIB}" \
21681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21682 mostlyclean) \
21683 || exit 1
21685 @endif m4
21687 .PHONY: maybe-clean-m4 clean-m4
21688 maybe-clean-m4:
21689 @if m4
21690 maybe-clean-m4: clean-m4
21692 clean-m4:
21693 @: $(MAKE); $(unstage)
21694 @[ -f ./m4/Makefile ] || exit 0; \
21695 r=`${PWD_COMMAND}`; export r; \
21696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21697 $(HOST_EXPORTS) \
21698 for flag in $(EXTRA_HOST_FLAGS) ; do \
21699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21700 done; \
21701 echo "Doing clean in m4" ; \
21702 (cd $(HOST_SUBDIR)/m4 && \
21703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705 "RANLIB=$${RANLIB}" \
21706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21707 clean) \
21708 || exit 1
21710 @endif m4
21712 .PHONY: maybe-distclean-m4 distclean-m4
21713 maybe-distclean-m4:
21714 @if m4
21715 maybe-distclean-m4: distclean-m4
21717 distclean-m4:
21718 @: $(MAKE); $(unstage)
21719 @[ -f ./m4/Makefile ] || exit 0; \
21720 r=`${PWD_COMMAND}`; export r; \
21721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21722 $(HOST_EXPORTS) \
21723 for flag in $(EXTRA_HOST_FLAGS) ; do \
21724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21725 done; \
21726 echo "Doing distclean in m4" ; \
21727 (cd $(HOST_SUBDIR)/m4 && \
21728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21730 "RANLIB=$${RANLIB}" \
21731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21732 distclean) \
21733 || exit 1
21735 @endif m4
21737 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21738 maybe-maintainer-clean-m4:
21739 @if m4
21740 maybe-maintainer-clean-m4: maintainer-clean-m4
21742 maintainer-clean-m4:
21743 @: $(MAKE); $(unstage)
21744 @[ -f ./m4/Makefile ] || exit 0; \
21745 r=`${PWD_COMMAND}`; export r; \
21746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21747 $(HOST_EXPORTS) \
21748 for flag in $(EXTRA_HOST_FLAGS) ; do \
21749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21750 done; \
21751 echo "Doing maintainer-clean in m4" ; \
21752 (cd $(HOST_SUBDIR)/m4 && \
21753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21755 "RANLIB=$${RANLIB}" \
21756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21757 maintainer-clean) \
21758 || exit 1
21760 @endif m4
21764 .PHONY: configure-make maybe-configure-make
21765 maybe-configure-make:
21766 @if gcc-bootstrap
21767 configure-make: stage_current
21768 @endif gcc-bootstrap
21769 @if make
21770 maybe-configure-make: configure-make
21771 configure-make:
21772 @: $(MAKE); $(unstage)
21773 @r=`${PWD_COMMAND}`; export r; \
21774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21775 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21777 $(HOST_EXPORTS) \
21778 echo Configuring in $(HOST_SUBDIR)/make; \
21779 cd "$(HOST_SUBDIR)/make" || exit 1; \
21780 case $(srcdir) in \
21781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21782 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21784 esac; \
21785 srcdiroption="--srcdir=$${topdir}/make"; \
21786 libsrcdir="$$s/make"; \
21787 $(SHELL) $${libsrcdir}/configure \
21788 $(HOST_CONFIGARGS) $${srcdiroption} \
21789 || exit 1
21790 @endif make
21796 .PHONY: all-make maybe-all-make
21797 maybe-all-make:
21798 @if gcc-bootstrap
21799 all-make: stage_current
21800 @endif gcc-bootstrap
21801 @if make
21802 TARGET-make=all
21803 maybe-all-make: all-make
21804 all-make: configure-make
21805 @: $(MAKE); $(unstage)
21806 @r=`${PWD_COMMAND}`; export r; \
21807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21808 $(HOST_EXPORTS) \
21809 (cd $(HOST_SUBDIR)/make && \
21810 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21811 @endif make
21816 .PHONY: check-make maybe-check-make
21817 maybe-check-make:
21818 @if make
21819 maybe-check-make: check-make
21821 check-make:
21822 @: $(MAKE); $(unstage)
21823 @r=`${PWD_COMMAND}`; export r; \
21824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21825 $(HOST_EXPORTS) \
21826 (cd $(HOST_SUBDIR)/make && \
21827 $(MAKE) $(FLAGS_TO_PASS) check)
21829 @endif make
21831 .PHONY: install-make maybe-install-make
21832 maybe-install-make:
21833 @if make
21834 maybe-install-make: install-make
21836 install-make: installdirs
21837 @: $(MAKE); $(unstage)
21838 @r=`${PWD_COMMAND}`; export r; \
21839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21840 $(HOST_EXPORTS) \
21841 (cd $(HOST_SUBDIR)/make && \
21842 $(MAKE) $(FLAGS_TO_PASS) install)
21844 @endif make
21846 # Other targets (info, dvi, pdf, etc.)
21848 .PHONY: maybe-info-make info-make
21849 maybe-info-make:
21850 @if make
21851 maybe-info-make: info-make
21853 info-make: \
21854 configure-make
21855 @: $(MAKE); $(unstage)
21856 @[ -f ./make/Makefile ] || exit 0; \
21857 r=`${PWD_COMMAND}`; export r; \
21858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21859 $(HOST_EXPORTS) \
21860 for flag in $(EXTRA_HOST_FLAGS) ; do \
21861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21862 done; \
21863 echo "Doing info in make" ; \
21864 (cd $(HOST_SUBDIR)/make && \
21865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21867 "RANLIB=$${RANLIB}" \
21868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21869 info) \
21870 || exit 1
21872 @endif make
21874 .PHONY: maybe-dvi-make dvi-make
21875 maybe-dvi-make:
21876 @if make
21877 maybe-dvi-make: dvi-make
21879 dvi-make: \
21880 configure-make
21881 @: $(MAKE); $(unstage)
21882 @[ -f ./make/Makefile ] || exit 0; \
21883 r=`${PWD_COMMAND}`; export r; \
21884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21885 $(HOST_EXPORTS) \
21886 for flag in $(EXTRA_HOST_FLAGS) ; do \
21887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21888 done; \
21889 echo "Doing dvi in make" ; \
21890 (cd $(HOST_SUBDIR)/make && \
21891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21893 "RANLIB=$${RANLIB}" \
21894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21895 dvi) \
21896 || exit 1
21898 @endif make
21900 .PHONY: maybe-pdf-make pdf-make
21901 maybe-pdf-make:
21902 @if make
21903 maybe-pdf-make: pdf-make
21905 pdf-make: \
21906 configure-make
21907 @: $(MAKE); $(unstage)
21908 @[ -f ./make/Makefile ] || exit 0; \
21909 r=`${PWD_COMMAND}`; export r; \
21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21911 $(HOST_EXPORTS) \
21912 for flag in $(EXTRA_HOST_FLAGS) ; do \
21913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21914 done; \
21915 echo "Doing pdf in make" ; \
21916 (cd $(HOST_SUBDIR)/make && \
21917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21919 "RANLIB=$${RANLIB}" \
21920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21921 pdf) \
21922 || exit 1
21924 @endif make
21926 .PHONY: maybe-html-make html-make
21927 maybe-html-make:
21928 @if make
21929 maybe-html-make: html-make
21931 html-make: \
21932 configure-make
21933 @: $(MAKE); $(unstage)
21934 @[ -f ./make/Makefile ] || exit 0; \
21935 r=`${PWD_COMMAND}`; export r; \
21936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21937 $(HOST_EXPORTS) \
21938 for flag in $(EXTRA_HOST_FLAGS) ; do \
21939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21940 done; \
21941 echo "Doing html in make" ; \
21942 (cd $(HOST_SUBDIR)/make && \
21943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21945 "RANLIB=$${RANLIB}" \
21946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21947 html) \
21948 || exit 1
21950 @endif make
21952 .PHONY: maybe-TAGS-make TAGS-make
21953 maybe-TAGS-make:
21954 @if make
21955 maybe-TAGS-make: TAGS-make
21957 TAGS-make: \
21958 configure-make
21959 @: $(MAKE); $(unstage)
21960 @[ -f ./make/Makefile ] || exit 0; \
21961 r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 $(HOST_EXPORTS) \
21964 for flag in $(EXTRA_HOST_FLAGS) ; do \
21965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21966 done; \
21967 echo "Doing TAGS in make" ; \
21968 (cd $(HOST_SUBDIR)/make && \
21969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21971 "RANLIB=$${RANLIB}" \
21972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21973 TAGS) \
21974 || exit 1
21976 @endif make
21978 .PHONY: maybe-install-info-make install-info-make
21979 maybe-install-info-make:
21980 @if make
21981 maybe-install-info-make: install-info-make
21983 install-info-make: \
21984 configure-make \
21985 info-make
21986 @: $(MAKE); $(unstage)
21987 @[ -f ./make/Makefile ] || exit 0; \
21988 r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 $(HOST_EXPORTS) \
21991 for flag in $(EXTRA_HOST_FLAGS) ; do \
21992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21993 done; \
21994 echo "Doing install-info in make" ; \
21995 (cd $(HOST_SUBDIR)/make && \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998 "RANLIB=$${RANLIB}" \
21999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000 install-info) \
22001 || exit 1
22003 @endif make
22005 .PHONY: maybe-install-html-make install-html-make
22006 maybe-install-html-make:
22007 @if make
22008 maybe-install-html-make: install-html-make
22010 install-html-make: \
22011 configure-make \
22012 html-make
22013 @: $(MAKE); $(unstage)
22014 @[ -f ./make/Makefile ] || exit 0; \
22015 r=`${PWD_COMMAND}`; export r; \
22016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22017 $(HOST_EXPORTS) \
22018 for flag in $(EXTRA_HOST_FLAGS) ; do \
22019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22020 done; \
22021 echo "Doing install-html in make" ; \
22022 (cd $(HOST_SUBDIR)/make && \
22023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22025 "RANLIB=$${RANLIB}" \
22026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22027 install-html) \
22028 || exit 1
22030 @endif make
22032 .PHONY: maybe-installcheck-make installcheck-make
22033 maybe-installcheck-make:
22034 @if make
22035 maybe-installcheck-make: installcheck-make
22037 installcheck-make: \
22038 configure-make
22039 @: $(MAKE); $(unstage)
22040 @[ -f ./make/Makefile ] || exit 0; \
22041 r=`${PWD_COMMAND}`; export r; \
22042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22043 $(HOST_EXPORTS) \
22044 for flag in $(EXTRA_HOST_FLAGS) ; do \
22045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22046 done; \
22047 echo "Doing installcheck in make" ; \
22048 (cd $(HOST_SUBDIR)/make && \
22049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22051 "RANLIB=$${RANLIB}" \
22052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22053 installcheck) \
22054 || exit 1
22056 @endif make
22058 .PHONY: maybe-mostlyclean-make mostlyclean-make
22059 maybe-mostlyclean-make:
22060 @if make
22061 maybe-mostlyclean-make: mostlyclean-make
22063 mostlyclean-make:
22064 @: $(MAKE); $(unstage)
22065 @[ -f ./make/Makefile ] || exit 0; \
22066 r=`${PWD_COMMAND}`; export r; \
22067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22068 $(HOST_EXPORTS) \
22069 for flag in $(EXTRA_HOST_FLAGS) ; do \
22070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22071 done; \
22072 echo "Doing mostlyclean in make" ; \
22073 (cd $(HOST_SUBDIR)/make && \
22074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22076 "RANLIB=$${RANLIB}" \
22077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22078 mostlyclean) \
22079 || exit 1
22081 @endif make
22083 .PHONY: maybe-clean-make clean-make
22084 maybe-clean-make:
22085 @if make
22086 maybe-clean-make: clean-make
22088 clean-make:
22089 @: $(MAKE); $(unstage)
22090 @[ -f ./make/Makefile ] || exit 0; \
22091 r=`${PWD_COMMAND}`; export r; \
22092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22093 $(HOST_EXPORTS) \
22094 for flag in $(EXTRA_HOST_FLAGS) ; do \
22095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22096 done; \
22097 echo "Doing clean in make" ; \
22098 (cd $(HOST_SUBDIR)/make && \
22099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22101 "RANLIB=$${RANLIB}" \
22102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22103 clean) \
22104 || exit 1
22106 @endif make
22108 .PHONY: maybe-distclean-make distclean-make
22109 maybe-distclean-make:
22110 @if make
22111 maybe-distclean-make: distclean-make
22113 distclean-make:
22114 @: $(MAKE); $(unstage)
22115 @[ -f ./make/Makefile ] || exit 0; \
22116 r=`${PWD_COMMAND}`; export r; \
22117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22118 $(HOST_EXPORTS) \
22119 for flag in $(EXTRA_HOST_FLAGS) ; do \
22120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22121 done; \
22122 echo "Doing distclean in make" ; \
22123 (cd $(HOST_SUBDIR)/make && \
22124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22126 "RANLIB=$${RANLIB}" \
22127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22128 distclean) \
22129 || exit 1
22131 @endif make
22133 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
22134 maybe-maintainer-clean-make:
22135 @if make
22136 maybe-maintainer-clean-make: maintainer-clean-make
22138 maintainer-clean-make:
22139 @: $(MAKE); $(unstage)
22140 @[ -f ./make/Makefile ] || exit 0; \
22141 r=`${PWD_COMMAND}`; export r; \
22142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22143 $(HOST_EXPORTS) \
22144 for flag in $(EXTRA_HOST_FLAGS) ; do \
22145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22146 done; \
22147 echo "Doing maintainer-clean in make" ; \
22148 (cd $(HOST_SUBDIR)/make && \
22149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22151 "RANLIB=$${RANLIB}" \
22152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22153 maintainer-clean) \
22154 || exit 1
22156 @endif make
22160 .PHONY: configure-mmalloc maybe-configure-mmalloc
22161 maybe-configure-mmalloc:
22162 @if gcc-bootstrap
22163 configure-mmalloc: stage_current
22164 @endif gcc-bootstrap
22165 @if mmalloc
22166 maybe-configure-mmalloc: configure-mmalloc
22167 configure-mmalloc:
22168 @: $(MAKE); $(unstage)
22169 @r=`${PWD_COMMAND}`; export r; \
22170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22171 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
22172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
22173 $(HOST_EXPORTS) \
22174 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
22175 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
22176 case $(srcdir) in \
22177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22178 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
22179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22180 esac; \
22181 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22182 libsrcdir="$$s/mmalloc"; \
22183 $(SHELL) $${libsrcdir}/configure \
22184 $(HOST_CONFIGARGS) $${srcdiroption} \
22185 || exit 1
22186 @endif mmalloc
22192 .PHONY: all-mmalloc maybe-all-mmalloc
22193 maybe-all-mmalloc:
22194 @if gcc-bootstrap
22195 all-mmalloc: stage_current
22196 @endif gcc-bootstrap
22197 @if mmalloc
22198 TARGET-mmalloc=all
22199 maybe-all-mmalloc: all-mmalloc
22200 all-mmalloc: configure-mmalloc
22201 @: $(MAKE); $(unstage)
22202 @r=`${PWD_COMMAND}`; export r; \
22203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22204 $(HOST_EXPORTS) \
22205 (cd $(HOST_SUBDIR)/mmalloc && \
22206 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22207 @endif mmalloc
22212 .PHONY: check-mmalloc maybe-check-mmalloc
22213 maybe-check-mmalloc:
22214 @if mmalloc
22215 maybe-check-mmalloc: check-mmalloc
22217 check-mmalloc:
22219 @endif mmalloc
22221 .PHONY: install-mmalloc maybe-install-mmalloc
22222 maybe-install-mmalloc:
22223 @if mmalloc
22224 maybe-install-mmalloc: install-mmalloc
22226 install-mmalloc: installdirs
22227 @: $(MAKE); $(unstage)
22228 @r=`${PWD_COMMAND}`; export r; \
22229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22230 $(HOST_EXPORTS) \
22231 (cd $(HOST_SUBDIR)/mmalloc && \
22232 $(MAKE) $(FLAGS_TO_PASS) install)
22234 @endif mmalloc
22236 # Other targets (info, dvi, pdf, etc.)
22238 .PHONY: maybe-info-mmalloc info-mmalloc
22239 maybe-info-mmalloc:
22240 @if mmalloc
22241 maybe-info-mmalloc: info-mmalloc
22243 info-mmalloc: \
22244 configure-mmalloc
22245 @: $(MAKE); $(unstage)
22246 @[ -f ./mmalloc/Makefile ] || exit 0; \
22247 r=`${PWD_COMMAND}`; export r; \
22248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22249 $(HOST_EXPORTS) \
22250 for flag in $(EXTRA_HOST_FLAGS) ; do \
22251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22252 done; \
22253 echo "Doing info in mmalloc" ; \
22254 (cd $(HOST_SUBDIR)/mmalloc && \
22255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22257 "RANLIB=$${RANLIB}" \
22258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22259 info) \
22260 || exit 1
22262 @endif mmalloc
22264 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22265 maybe-dvi-mmalloc:
22266 @if mmalloc
22267 maybe-dvi-mmalloc: dvi-mmalloc
22269 dvi-mmalloc: \
22270 configure-mmalloc
22271 @: $(MAKE); $(unstage)
22272 @[ -f ./mmalloc/Makefile ] || exit 0; \
22273 r=`${PWD_COMMAND}`; export r; \
22274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22275 $(HOST_EXPORTS) \
22276 for flag in $(EXTRA_HOST_FLAGS) ; do \
22277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22278 done; \
22279 echo "Doing dvi in mmalloc" ; \
22280 (cd $(HOST_SUBDIR)/mmalloc && \
22281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22283 "RANLIB=$${RANLIB}" \
22284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22285 dvi) \
22286 || exit 1
22288 @endif mmalloc
22290 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22291 maybe-pdf-mmalloc:
22292 @if mmalloc
22293 maybe-pdf-mmalloc: pdf-mmalloc
22295 pdf-mmalloc: \
22296 configure-mmalloc
22297 @: $(MAKE); $(unstage)
22298 @[ -f ./mmalloc/Makefile ] || exit 0; \
22299 r=`${PWD_COMMAND}`; export r; \
22300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22301 $(HOST_EXPORTS) \
22302 for flag in $(EXTRA_HOST_FLAGS) ; do \
22303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22304 done; \
22305 echo "Doing pdf in mmalloc" ; \
22306 (cd $(HOST_SUBDIR)/mmalloc && \
22307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22309 "RANLIB=$${RANLIB}" \
22310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22311 pdf) \
22312 || exit 1
22314 @endif mmalloc
22316 .PHONY: maybe-html-mmalloc html-mmalloc
22317 maybe-html-mmalloc:
22318 @if mmalloc
22319 maybe-html-mmalloc: html-mmalloc
22321 html-mmalloc: \
22322 configure-mmalloc
22323 @: $(MAKE); $(unstage)
22324 @[ -f ./mmalloc/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(HOST_EXPORTS) \
22328 for flag in $(EXTRA_HOST_FLAGS) ; do \
22329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22330 done; \
22331 echo "Doing html in mmalloc" ; \
22332 (cd $(HOST_SUBDIR)/mmalloc && \
22333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22335 "RANLIB=$${RANLIB}" \
22336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22337 html) \
22338 || exit 1
22340 @endif mmalloc
22342 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22343 maybe-TAGS-mmalloc:
22344 @if mmalloc
22345 maybe-TAGS-mmalloc: TAGS-mmalloc
22347 TAGS-mmalloc: \
22348 configure-mmalloc
22349 @: $(MAKE); $(unstage)
22350 @[ -f ./mmalloc/Makefile ] || exit 0; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 $(HOST_EXPORTS) \
22354 for flag in $(EXTRA_HOST_FLAGS) ; do \
22355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22356 done; \
22357 echo "Doing TAGS in mmalloc" ; \
22358 (cd $(HOST_SUBDIR)/mmalloc && \
22359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22361 "RANLIB=$${RANLIB}" \
22362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22363 TAGS) \
22364 || exit 1
22366 @endif mmalloc
22368 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22369 maybe-install-info-mmalloc:
22370 @if mmalloc
22371 maybe-install-info-mmalloc: install-info-mmalloc
22373 install-info-mmalloc: \
22374 configure-mmalloc \
22375 info-mmalloc
22376 @: $(MAKE); $(unstage)
22377 @[ -f ./mmalloc/Makefile ] || exit 0; \
22378 r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 $(HOST_EXPORTS) \
22381 for flag in $(EXTRA_HOST_FLAGS) ; do \
22382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22383 done; \
22384 echo "Doing install-info in mmalloc" ; \
22385 (cd $(HOST_SUBDIR)/mmalloc && \
22386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22388 "RANLIB=$${RANLIB}" \
22389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22390 install-info) \
22391 || exit 1
22393 @endif mmalloc
22395 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22396 maybe-install-html-mmalloc:
22397 @if mmalloc
22398 maybe-install-html-mmalloc: install-html-mmalloc
22400 install-html-mmalloc: \
22401 configure-mmalloc \
22402 html-mmalloc
22403 @: $(MAKE); $(unstage)
22404 @[ -f ./mmalloc/Makefile ] || exit 0; \
22405 r=`${PWD_COMMAND}`; export r; \
22406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22407 $(HOST_EXPORTS) \
22408 for flag in $(EXTRA_HOST_FLAGS) ; do \
22409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22410 done; \
22411 echo "Doing install-html in mmalloc" ; \
22412 (cd $(HOST_SUBDIR)/mmalloc && \
22413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22415 "RANLIB=$${RANLIB}" \
22416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22417 install-html) \
22418 || exit 1
22420 @endif mmalloc
22422 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22423 maybe-installcheck-mmalloc:
22424 @if mmalloc
22425 maybe-installcheck-mmalloc: installcheck-mmalloc
22427 installcheck-mmalloc: \
22428 configure-mmalloc
22429 @: $(MAKE); $(unstage)
22430 @[ -f ./mmalloc/Makefile ] || exit 0; \
22431 r=`${PWD_COMMAND}`; export r; \
22432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22433 $(HOST_EXPORTS) \
22434 for flag in $(EXTRA_HOST_FLAGS) ; do \
22435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22436 done; \
22437 echo "Doing installcheck in mmalloc" ; \
22438 (cd $(HOST_SUBDIR)/mmalloc && \
22439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22441 "RANLIB=$${RANLIB}" \
22442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22443 installcheck) \
22444 || exit 1
22446 @endif mmalloc
22448 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22449 maybe-mostlyclean-mmalloc:
22450 @if mmalloc
22451 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22453 mostlyclean-mmalloc:
22454 @: $(MAKE); $(unstage)
22455 @[ -f ./mmalloc/Makefile ] || exit 0; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(HOST_EXPORTS) \
22459 for flag in $(EXTRA_HOST_FLAGS) ; do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22461 done; \
22462 echo "Doing mostlyclean in mmalloc" ; \
22463 (cd $(HOST_SUBDIR)/mmalloc && \
22464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22466 "RANLIB=$${RANLIB}" \
22467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22468 mostlyclean) \
22469 || exit 1
22471 @endif mmalloc
22473 .PHONY: maybe-clean-mmalloc clean-mmalloc
22474 maybe-clean-mmalloc:
22475 @if mmalloc
22476 maybe-clean-mmalloc: clean-mmalloc
22478 clean-mmalloc:
22479 @: $(MAKE); $(unstage)
22480 @[ -f ./mmalloc/Makefile ] || exit 0; \
22481 r=`${PWD_COMMAND}`; export r; \
22482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 $(HOST_EXPORTS) \
22484 for flag in $(EXTRA_HOST_FLAGS) ; do \
22485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22486 done; \
22487 echo "Doing clean in mmalloc" ; \
22488 (cd $(HOST_SUBDIR)/mmalloc && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22493 clean) \
22494 || exit 1
22496 @endif mmalloc
22498 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22499 maybe-distclean-mmalloc:
22500 @if mmalloc
22501 maybe-distclean-mmalloc: distclean-mmalloc
22503 distclean-mmalloc:
22504 @: $(MAKE); $(unstage)
22505 @[ -f ./mmalloc/Makefile ] || exit 0; \
22506 r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(HOST_EXPORTS) \
22509 for flag in $(EXTRA_HOST_FLAGS) ; do \
22510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22511 done; \
22512 echo "Doing distclean in mmalloc" ; \
22513 (cd $(HOST_SUBDIR)/mmalloc && \
22514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22516 "RANLIB=$${RANLIB}" \
22517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22518 distclean) \
22519 || exit 1
22521 @endif mmalloc
22523 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22524 maybe-maintainer-clean-mmalloc:
22525 @if mmalloc
22526 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22528 maintainer-clean-mmalloc:
22529 @: $(MAKE); $(unstage)
22530 @[ -f ./mmalloc/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(HOST_EXPORTS) \
22534 for flag in $(EXTRA_HOST_FLAGS) ; do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22536 done; \
22537 echo "Doing maintainer-clean in mmalloc" ; \
22538 (cd $(HOST_SUBDIR)/mmalloc && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22541 "RANLIB=$${RANLIB}" \
22542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22543 maintainer-clean) \
22544 || exit 1
22546 @endif mmalloc
22550 .PHONY: configure-patch maybe-configure-patch
22551 maybe-configure-patch:
22552 @if gcc-bootstrap
22553 configure-patch: stage_current
22554 @endif gcc-bootstrap
22555 @if patch
22556 maybe-configure-patch: configure-patch
22557 configure-patch:
22558 @: $(MAKE); $(unstage)
22559 @r=`${PWD_COMMAND}`; export r; \
22560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22561 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22563 $(HOST_EXPORTS) \
22564 echo Configuring in $(HOST_SUBDIR)/patch; \
22565 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22566 case $(srcdir) in \
22567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22568 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22570 esac; \
22571 srcdiroption="--srcdir=$${topdir}/patch"; \
22572 libsrcdir="$$s/patch"; \
22573 $(SHELL) $${libsrcdir}/configure \
22574 $(HOST_CONFIGARGS) $${srcdiroption} \
22575 || exit 1
22576 @endif patch
22582 .PHONY: all-patch maybe-all-patch
22583 maybe-all-patch:
22584 @if gcc-bootstrap
22585 all-patch: stage_current
22586 @endif gcc-bootstrap
22587 @if patch
22588 TARGET-patch=all
22589 maybe-all-patch: all-patch
22590 all-patch: configure-patch
22591 @: $(MAKE); $(unstage)
22592 @r=`${PWD_COMMAND}`; export r; \
22593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594 $(HOST_EXPORTS) \
22595 (cd $(HOST_SUBDIR)/patch && \
22596 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22597 @endif patch
22602 .PHONY: check-patch maybe-check-patch
22603 maybe-check-patch:
22604 @if patch
22605 maybe-check-patch: check-patch
22607 check-patch:
22608 @: $(MAKE); $(unstage)
22609 @r=`${PWD_COMMAND}`; export r; \
22610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22611 $(HOST_EXPORTS) \
22612 (cd $(HOST_SUBDIR)/patch && \
22613 $(MAKE) $(FLAGS_TO_PASS) check)
22615 @endif patch
22617 .PHONY: install-patch maybe-install-patch
22618 maybe-install-patch:
22619 @if patch
22620 maybe-install-patch: install-patch
22622 install-patch: installdirs
22623 @: $(MAKE); $(unstage)
22624 @r=`${PWD_COMMAND}`; export r; \
22625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22626 $(HOST_EXPORTS) \
22627 (cd $(HOST_SUBDIR)/patch && \
22628 $(MAKE) $(FLAGS_TO_PASS) install)
22630 @endif patch
22632 # Other targets (info, dvi, pdf, etc.)
22634 .PHONY: maybe-info-patch info-patch
22635 maybe-info-patch:
22636 @if patch
22637 maybe-info-patch: info-patch
22639 info-patch: \
22640 configure-patch
22641 @: $(MAKE); $(unstage)
22642 @[ -f ./patch/Makefile ] || exit 0; \
22643 r=`${PWD_COMMAND}`; export r; \
22644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22645 $(HOST_EXPORTS) \
22646 for flag in $(EXTRA_HOST_FLAGS) ; do \
22647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22648 done; \
22649 echo "Doing info in patch" ; \
22650 (cd $(HOST_SUBDIR)/patch && \
22651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22653 "RANLIB=$${RANLIB}" \
22654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22655 info) \
22656 || exit 1
22658 @endif patch
22660 .PHONY: maybe-dvi-patch dvi-patch
22661 maybe-dvi-patch:
22662 @if patch
22663 maybe-dvi-patch: dvi-patch
22665 dvi-patch: \
22666 configure-patch
22667 @: $(MAKE); $(unstage)
22668 @[ -f ./patch/Makefile ] || exit 0; \
22669 r=`${PWD_COMMAND}`; export r; \
22670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22671 $(HOST_EXPORTS) \
22672 for flag in $(EXTRA_HOST_FLAGS) ; do \
22673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22674 done; \
22675 echo "Doing dvi in patch" ; \
22676 (cd $(HOST_SUBDIR)/patch && \
22677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22679 "RANLIB=$${RANLIB}" \
22680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22681 dvi) \
22682 || exit 1
22684 @endif patch
22686 .PHONY: maybe-pdf-patch pdf-patch
22687 maybe-pdf-patch:
22688 @if patch
22689 maybe-pdf-patch: pdf-patch
22691 pdf-patch: \
22692 configure-patch
22693 @: $(MAKE); $(unstage)
22694 @[ -f ./patch/Makefile ] || exit 0; \
22695 r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 $(HOST_EXPORTS) \
22698 for flag in $(EXTRA_HOST_FLAGS) ; do \
22699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22700 done; \
22701 echo "Doing pdf in patch" ; \
22702 (cd $(HOST_SUBDIR)/patch && \
22703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22705 "RANLIB=$${RANLIB}" \
22706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22707 pdf) \
22708 || exit 1
22710 @endif patch
22712 .PHONY: maybe-html-patch html-patch
22713 maybe-html-patch:
22714 @if patch
22715 maybe-html-patch: html-patch
22717 html-patch: \
22718 configure-patch
22719 @: $(MAKE); $(unstage)
22720 @[ -f ./patch/Makefile ] || exit 0; \
22721 r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 $(HOST_EXPORTS) \
22724 for flag in $(EXTRA_HOST_FLAGS) ; do \
22725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22726 done; \
22727 echo "Doing html in patch" ; \
22728 (cd $(HOST_SUBDIR)/patch && \
22729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22731 "RANLIB=$${RANLIB}" \
22732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22733 html) \
22734 || exit 1
22736 @endif patch
22738 .PHONY: maybe-TAGS-patch TAGS-patch
22739 maybe-TAGS-patch:
22740 @if patch
22741 maybe-TAGS-patch: TAGS-patch
22743 TAGS-patch: \
22744 configure-patch
22745 @: $(MAKE); $(unstage)
22746 @[ -f ./patch/Makefile ] || exit 0; \
22747 r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 $(HOST_EXPORTS) \
22750 for flag in $(EXTRA_HOST_FLAGS) ; do \
22751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22752 done; \
22753 echo "Doing TAGS in patch" ; \
22754 (cd $(HOST_SUBDIR)/patch && \
22755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22757 "RANLIB=$${RANLIB}" \
22758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22759 TAGS) \
22760 || exit 1
22762 @endif patch
22764 .PHONY: maybe-install-info-patch install-info-patch
22765 maybe-install-info-patch:
22766 @if patch
22767 maybe-install-info-patch: install-info-patch
22769 install-info-patch: \
22770 configure-patch \
22771 info-patch
22772 @: $(MAKE); $(unstage)
22773 @[ -f ./patch/Makefile ] || exit 0; \
22774 r=`${PWD_COMMAND}`; export r; \
22775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22776 $(HOST_EXPORTS) \
22777 for flag in $(EXTRA_HOST_FLAGS) ; do \
22778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22779 done; \
22780 echo "Doing install-info in patch" ; \
22781 (cd $(HOST_SUBDIR)/patch && \
22782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22784 "RANLIB=$${RANLIB}" \
22785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22786 install-info) \
22787 || exit 1
22789 @endif patch
22791 .PHONY: maybe-install-html-patch install-html-patch
22792 maybe-install-html-patch:
22793 @if patch
22794 maybe-install-html-patch: install-html-patch
22796 install-html-patch: \
22797 configure-patch \
22798 html-patch
22799 @: $(MAKE); $(unstage)
22800 @[ -f ./patch/Makefile ] || exit 0; \
22801 r=`${PWD_COMMAND}`; export r; \
22802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803 $(HOST_EXPORTS) \
22804 for flag in $(EXTRA_HOST_FLAGS) ; do \
22805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22806 done; \
22807 echo "Doing install-html in patch" ; \
22808 (cd $(HOST_SUBDIR)/patch && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22811 "RANLIB=$${RANLIB}" \
22812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22813 install-html) \
22814 || exit 1
22816 @endif patch
22818 .PHONY: maybe-installcheck-patch installcheck-patch
22819 maybe-installcheck-patch:
22820 @if patch
22821 maybe-installcheck-patch: installcheck-patch
22823 installcheck-patch: \
22824 configure-patch
22825 @: $(MAKE); $(unstage)
22826 @[ -f ./patch/Makefile ] || exit 0; \
22827 r=`${PWD_COMMAND}`; export r; \
22828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22829 $(HOST_EXPORTS) \
22830 for flag in $(EXTRA_HOST_FLAGS) ; do \
22831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22832 done; \
22833 echo "Doing installcheck in patch" ; \
22834 (cd $(HOST_SUBDIR)/patch && \
22835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22837 "RANLIB=$${RANLIB}" \
22838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22839 installcheck) \
22840 || exit 1
22842 @endif patch
22844 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22845 maybe-mostlyclean-patch:
22846 @if patch
22847 maybe-mostlyclean-patch: mostlyclean-patch
22849 mostlyclean-patch:
22850 @: $(MAKE); $(unstage)
22851 @[ -f ./patch/Makefile ] || exit 0; \
22852 r=`${PWD_COMMAND}`; export r; \
22853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22854 $(HOST_EXPORTS) \
22855 for flag in $(EXTRA_HOST_FLAGS) ; do \
22856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22857 done; \
22858 echo "Doing mostlyclean in patch" ; \
22859 (cd $(HOST_SUBDIR)/patch && \
22860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22862 "RANLIB=$${RANLIB}" \
22863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22864 mostlyclean) \
22865 || exit 1
22867 @endif patch
22869 .PHONY: maybe-clean-patch clean-patch
22870 maybe-clean-patch:
22871 @if patch
22872 maybe-clean-patch: clean-patch
22874 clean-patch:
22875 @: $(MAKE); $(unstage)
22876 @[ -f ./patch/Makefile ] || exit 0; \
22877 r=`${PWD_COMMAND}`; export r; \
22878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22879 $(HOST_EXPORTS) \
22880 for flag in $(EXTRA_HOST_FLAGS) ; do \
22881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22882 done; \
22883 echo "Doing clean in patch" ; \
22884 (cd $(HOST_SUBDIR)/patch && \
22885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22887 "RANLIB=$${RANLIB}" \
22888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22889 clean) \
22890 || exit 1
22892 @endif patch
22894 .PHONY: maybe-distclean-patch distclean-patch
22895 maybe-distclean-patch:
22896 @if patch
22897 maybe-distclean-patch: distclean-patch
22899 distclean-patch:
22900 @: $(MAKE); $(unstage)
22901 @[ -f ./patch/Makefile ] || exit 0; \
22902 r=`${PWD_COMMAND}`; export r; \
22903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22904 $(HOST_EXPORTS) \
22905 for flag in $(EXTRA_HOST_FLAGS) ; do \
22906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22907 done; \
22908 echo "Doing distclean in patch" ; \
22909 (cd $(HOST_SUBDIR)/patch && \
22910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22912 "RANLIB=$${RANLIB}" \
22913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22914 distclean) \
22915 || exit 1
22917 @endif patch
22919 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22920 maybe-maintainer-clean-patch:
22921 @if patch
22922 maybe-maintainer-clean-patch: maintainer-clean-patch
22924 maintainer-clean-patch:
22925 @: $(MAKE); $(unstage)
22926 @[ -f ./patch/Makefile ] || exit 0; \
22927 r=`${PWD_COMMAND}`; export r; \
22928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22929 $(HOST_EXPORTS) \
22930 for flag in $(EXTRA_HOST_FLAGS) ; do \
22931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22932 done; \
22933 echo "Doing maintainer-clean in patch" ; \
22934 (cd $(HOST_SUBDIR)/patch && \
22935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22937 "RANLIB=$${RANLIB}" \
22938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22939 maintainer-clean) \
22940 || exit 1
22942 @endif patch
22946 .PHONY: configure-perl maybe-configure-perl
22947 maybe-configure-perl:
22948 @if gcc-bootstrap
22949 configure-perl: stage_current
22950 @endif gcc-bootstrap
22951 @if perl
22952 maybe-configure-perl: configure-perl
22953 configure-perl:
22954 @: $(MAKE); $(unstage)
22955 @r=`${PWD_COMMAND}`; export r; \
22956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22957 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22959 $(HOST_EXPORTS) \
22960 echo Configuring in $(HOST_SUBDIR)/perl; \
22961 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22962 case $(srcdir) in \
22963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22964 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
22965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22966 esac; \
22967 srcdiroption="--srcdir=$${topdir}/perl"; \
22968 libsrcdir="$$s/perl"; \
22969 $(SHELL) $${libsrcdir}/configure \
22970 $(HOST_CONFIGARGS) $${srcdiroption} \
22971 || exit 1
22972 @endif perl
22978 .PHONY: all-perl maybe-all-perl
22979 maybe-all-perl:
22980 @if gcc-bootstrap
22981 all-perl: stage_current
22982 @endif gcc-bootstrap
22983 @if perl
22984 TARGET-perl=all
22985 maybe-all-perl: all-perl
22986 all-perl: configure-perl
22987 @: $(MAKE); $(unstage)
22988 @r=`${PWD_COMMAND}`; export r; \
22989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22990 $(HOST_EXPORTS) \
22991 (cd $(HOST_SUBDIR)/perl && \
22992 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
22993 @endif perl
22998 .PHONY: check-perl maybe-check-perl
22999 maybe-check-perl:
23000 @if perl
23001 maybe-check-perl: check-perl
23003 check-perl:
23004 @: $(MAKE); $(unstage)
23005 @r=`${PWD_COMMAND}`; export r; \
23006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23007 $(HOST_EXPORTS) \
23008 (cd $(HOST_SUBDIR)/perl && \
23009 $(MAKE) $(FLAGS_TO_PASS) check)
23011 @endif perl
23013 .PHONY: install-perl maybe-install-perl
23014 maybe-install-perl:
23015 @if perl
23016 maybe-install-perl: install-perl
23018 install-perl: installdirs
23019 @: $(MAKE); $(unstage)
23020 @r=`${PWD_COMMAND}`; export r; \
23021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23022 $(HOST_EXPORTS) \
23023 (cd $(HOST_SUBDIR)/perl && \
23024 $(MAKE) $(FLAGS_TO_PASS) install)
23026 @endif perl
23028 # Other targets (info, dvi, pdf, etc.)
23030 .PHONY: maybe-info-perl info-perl
23031 maybe-info-perl:
23032 @if perl
23033 maybe-info-perl: info-perl
23035 info-perl: \
23036 configure-perl
23037 @: $(MAKE); $(unstage)
23038 @[ -f ./perl/Makefile ] || exit 0; \
23039 r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 $(HOST_EXPORTS) \
23042 for flag in $(EXTRA_HOST_FLAGS) ; do \
23043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23044 done; \
23045 echo "Doing info in perl" ; \
23046 (cd $(HOST_SUBDIR)/perl && \
23047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23049 "RANLIB=$${RANLIB}" \
23050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23051 info) \
23052 || exit 1
23054 @endif perl
23056 .PHONY: maybe-dvi-perl dvi-perl
23057 maybe-dvi-perl:
23058 @if perl
23059 maybe-dvi-perl: dvi-perl
23061 dvi-perl: \
23062 configure-perl
23063 @: $(MAKE); $(unstage)
23064 @[ -f ./perl/Makefile ] || exit 0; \
23065 r=`${PWD_COMMAND}`; export r; \
23066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23067 $(HOST_EXPORTS) \
23068 for flag in $(EXTRA_HOST_FLAGS) ; do \
23069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23070 done; \
23071 echo "Doing dvi in perl" ; \
23072 (cd $(HOST_SUBDIR)/perl && \
23073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23075 "RANLIB=$${RANLIB}" \
23076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23077 dvi) \
23078 || exit 1
23080 @endif perl
23082 .PHONY: maybe-pdf-perl pdf-perl
23083 maybe-pdf-perl:
23084 @if perl
23085 maybe-pdf-perl: pdf-perl
23087 pdf-perl: \
23088 configure-perl
23089 @: $(MAKE); $(unstage)
23090 @[ -f ./perl/Makefile ] || exit 0; \
23091 r=`${PWD_COMMAND}`; export r; \
23092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23093 $(HOST_EXPORTS) \
23094 for flag in $(EXTRA_HOST_FLAGS) ; do \
23095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23096 done; \
23097 echo "Doing pdf in perl" ; \
23098 (cd $(HOST_SUBDIR)/perl && \
23099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23101 "RANLIB=$${RANLIB}" \
23102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23103 pdf) \
23104 || exit 1
23106 @endif perl
23108 .PHONY: maybe-html-perl html-perl
23109 maybe-html-perl:
23110 @if perl
23111 maybe-html-perl: html-perl
23113 html-perl: \
23114 configure-perl
23115 @: $(MAKE); $(unstage)
23116 @[ -f ./perl/Makefile ] || exit 0; \
23117 r=`${PWD_COMMAND}`; export r; \
23118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23119 $(HOST_EXPORTS) \
23120 for flag in $(EXTRA_HOST_FLAGS) ; do \
23121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23122 done; \
23123 echo "Doing html in perl" ; \
23124 (cd $(HOST_SUBDIR)/perl && \
23125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23127 "RANLIB=$${RANLIB}" \
23128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23129 html) \
23130 || exit 1
23132 @endif perl
23134 .PHONY: maybe-TAGS-perl TAGS-perl
23135 maybe-TAGS-perl:
23136 @if perl
23137 maybe-TAGS-perl: TAGS-perl
23139 TAGS-perl: \
23140 configure-perl
23141 @: $(MAKE); $(unstage)
23142 @[ -f ./perl/Makefile ] || exit 0; \
23143 r=`${PWD_COMMAND}`; export r; \
23144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23145 $(HOST_EXPORTS) \
23146 for flag in $(EXTRA_HOST_FLAGS) ; do \
23147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23148 done; \
23149 echo "Doing TAGS in perl" ; \
23150 (cd $(HOST_SUBDIR)/perl && \
23151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23153 "RANLIB=$${RANLIB}" \
23154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23155 TAGS) \
23156 || exit 1
23158 @endif perl
23160 .PHONY: maybe-install-info-perl install-info-perl
23161 maybe-install-info-perl:
23162 @if perl
23163 maybe-install-info-perl: install-info-perl
23165 install-info-perl: \
23166 configure-perl \
23167 info-perl
23168 @: $(MAKE); $(unstage)
23169 @[ -f ./perl/Makefile ] || exit 0; \
23170 r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23172 $(HOST_EXPORTS) \
23173 for flag in $(EXTRA_HOST_FLAGS) ; do \
23174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23175 done; \
23176 echo "Doing install-info in perl" ; \
23177 (cd $(HOST_SUBDIR)/perl && \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23180 "RANLIB=$${RANLIB}" \
23181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23182 install-info) \
23183 || exit 1
23185 @endif perl
23187 .PHONY: maybe-install-html-perl install-html-perl
23188 maybe-install-html-perl:
23189 @if perl
23190 maybe-install-html-perl: install-html-perl
23192 install-html-perl: \
23193 configure-perl \
23194 html-perl
23195 @: $(MAKE); $(unstage)
23196 @[ -f ./perl/Makefile ] || exit 0; \
23197 r=`${PWD_COMMAND}`; export r; \
23198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 $(HOST_EXPORTS) \
23200 for flag in $(EXTRA_HOST_FLAGS) ; do \
23201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23202 done; \
23203 echo "Doing install-html in perl" ; \
23204 (cd $(HOST_SUBDIR)/perl && \
23205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23207 "RANLIB=$${RANLIB}" \
23208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23209 install-html) \
23210 || exit 1
23212 @endif perl
23214 .PHONY: maybe-installcheck-perl installcheck-perl
23215 maybe-installcheck-perl:
23216 @if perl
23217 maybe-installcheck-perl: installcheck-perl
23219 installcheck-perl: \
23220 configure-perl
23221 @: $(MAKE); $(unstage)
23222 @[ -f ./perl/Makefile ] || exit 0; \
23223 r=`${PWD_COMMAND}`; export r; \
23224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23225 $(HOST_EXPORTS) \
23226 for flag in $(EXTRA_HOST_FLAGS) ; do \
23227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23228 done; \
23229 echo "Doing installcheck in perl" ; \
23230 (cd $(HOST_SUBDIR)/perl && \
23231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23233 "RANLIB=$${RANLIB}" \
23234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23235 installcheck) \
23236 || exit 1
23238 @endif perl
23240 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23241 maybe-mostlyclean-perl:
23242 @if perl
23243 maybe-mostlyclean-perl: mostlyclean-perl
23245 mostlyclean-perl:
23246 @: $(MAKE); $(unstage)
23247 @[ -f ./perl/Makefile ] || exit 0; \
23248 r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23250 $(HOST_EXPORTS) \
23251 for flag in $(EXTRA_HOST_FLAGS) ; do \
23252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23253 done; \
23254 echo "Doing mostlyclean in perl" ; \
23255 (cd $(HOST_SUBDIR)/perl && \
23256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23258 "RANLIB=$${RANLIB}" \
23259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23260 mostlyclean) \
23261 || exit 1
23263 @endif perl
23265 .PHONY: maybe-clean-perl clean-perl
23266 maybe-clean-perl:
23267 @if perl
23268 maybe-clean-perl: clean-perl
23270 clean-perl:
23271 @: $(MAKE); $(unstage)
23272 @[ -f ./perl/Makefile ] || exit 0; \
23273 r=`${PWD_COMMAND}`; export r; \
23274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23275 $(HOST_EXPORTS) \
23276 for flag in $(EXTRA_HOST_FLAGS) ; do \
23277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23278 done; \
23279 echo "Doing clean in perl" ; \
23280 (cd $(HOST_SUBDIR)/perl && \
23281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23283 "RANLIB=$${RANLIB}" \
23284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23285 clean) \
23286 || exit 1
23288 @endif perl
23290 .PHONY: maybe-distclean-perl distclean-perl
23291 maybe-distclean-perl:
23292 @if perl
23293 maybe-distclean-perl: distclean-perl
23295 distclean-perl:
23296 @: $(MAKE); $(unstage)
23297 @[ -f ./perl/Makefile ] || exit 0; \
23298 r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(HOST_EXPORTS) \
23301 for flag in $(EXTRA_HOST_FLAGS) ; do \
23302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23303 done; \
23304 echo "Doing distclean in perl" ; \
23305 (cd $(HOST_SUBDIR)/perl && \
23306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23308 "RANLIB=$${RANLIB}" \
23309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23310 distclean) \
23311 || exit 1
23313 @endif perl
23315 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23316 maybe-maintainer-clean-perl:
23317 @if perl
23318 maybe-maintainer-clean-perl: maintainer-clean-perl
23320 maintainer-clean-perl:
23321 @: $(MAKE); $(unstage)
23322 @[ -f ./perl/Makefile ] || exit 0; \
23323 r=`${PWD_COMMAND}`; export r; \
23324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23325 $(HOST_EXPORTS) \
23326 for flag in $(EXTRA_HOST_FLAGS) ; do \
23327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23328 done; \
23329 echo "Doing maintainer-clean in perl" ; \
23330 (cd $(HOST_SUBDIR)/perl && \
23331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333 "RANLIB=$${RANLIB}" \
23334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23335 maintainer-clean) \
23336 || exit 1
23338 @endif perl
23342 .PHONY: configure-prms maybe-configure-prms
23343 maybe-configure-prms:
23344 @if gcc-bootstrap
23345 configure-prms: stage_current
23346 @endif gcc-bootstrap
23347 @if prms
23348 maybe-configure-prms: configure-prms
23349 configure-prms:
23350 @: $(MAKE); $(unstage)
23351 @r=`${PWD_COMMAND}`; export r; \
23352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23353 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23355 $(HOST_EXPORTS) \
23356 echo Configuring in $(HOST_SUBDIR)/prms; \
23357 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23358 case $(srcdir) in \
23359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23360 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23362 esac; \
23363 srcdiroption="--srcdir=$${topdir}/prms"; \
23364 libsrcdir="$$s/prms"; \
23365 $(SHELL) $${libsrcdir}/configure \
23366 $(HOST_CONFIGARGS) $${srcdiroption} \
23367 || exit 1
23368 @endif prms
23374 .PHONY: all-prms maybe-all-prms
23375 maybe-all-prms:
23376 @if gcc-bootstrap
23377 all-prms: stage_current
23378 @endif gcc-bootstrap
23379 @if prms
23380 TARGET-prms=all
23381 maybe-all-prms: all-prms
23382 all-prms: configure-prms
23383 @: $(MAKE); $(unstage)
23384 @r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 $(HOST_EXPORTS) \
23387 (cd $(HOST_SUBDIR)/prms && \
23388 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23389 @endif prms
23394 .PHONY: check-prms maybe-check-prms
23395 maybe-check-prms:
23396 @if prms
23397 maybe-check-prms: check-prms
23399 check-prms:
23400 @: $(MAKE); $(unstage)
23401 @r=`${PWD_COMMAND}`; export r; \
23402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403 $(HOST_EXPORTS) \
23404 (cd $(HOST_SUBDIR)/prms && \
23405 $(MAKE) $(FLAGS_TO_PASS) check)
23407 @endif prms
23409 .PHONY: install-prms maybe-install-prms
23410 maybe-install-prms:
23411 @if prms
23412 maybe-install-prms: install-prms
23414 install-prms: installdirs
23415 @: $(MAKE); $(unstage)
23416 @r=`${PWD_COMMAND}`; export r; \
23417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23418 $(HOST_EXPORTS) \
23419 (cd $(HOST_SUBDIR)/prms && \
23420 $(MAKE) $(FLAGS_TO_PASS) install)
23422 @endif prms
23424 # Other targets (info, dvi, pdf, etc.)
23426 .PHONY: maybe-info-prms info-prms
23427 maybe-info-prms:
23428 @if prms
23429 maybe-info-prms: info-prms
23431 info-prms: \
23432 configure-prms
23433 @: $(MAKE); $(unstage)
23434 @[ -f ./prms/Makefile ] || exit 0; \
23435 r=`${PWD_COMMAND}`; export r; \
23436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23437 $(HOST_EXPORTS) \
23438 for flag in $(EXTRA_HOST_FLAGS) ; do \
23439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23440 done; \
23441 echo "Doing info in prms" ; \
23442 (cd $(HOST_SUBDIR)/prms && \
23443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23445 "RANLIB=$${RANLIB}" \
23446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23447 info) \
23448 || exit 1
23450 @endif prms
23452 .PHONY: maybe-dvi-prms dvi-prms
23453 maybe-dvi-prms:
23454 @if prms
23455 maybe-dvi-prms: dvi-prms
23457 dvi-prms: \
23458 configure-prms
23459 @: $(MAKE); $(unstage)
23460 @[ -f ./prms/Makefile ] || exit 0; \
23461 r=`${PWD_COMMAND}`; export r; \
23462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23463 $(HOST_EXPORTS) \
23464 for flag in $(EXTRA_HOST_FLAGS) ; do \
23465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23466 done; \
23467 echo "Doing dvi in prms" ; \
23468 (cd $(HOST_SUBDIR)/prms && \
23469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23471 "RANLIB=$${RANLIB}" \
23472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23473 dvi) \
23474 || exit 1
23476 @endif prms
23478 .PHONY: maybe-pdf-prms pdf-prms
23479 maybe-pdf-prms:
23480 @if prms
23481 maybe-pdf-prms: pdf-prms
23483 pdf-prms: \
23484 configure-prms
23485 @: $(MAKE); $(unstage)
23486 @[ -f ./prms/Makefile ] || exit 0; \
23487 r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 $(HOST_EXPORTS) \
23490 for flag in $(EXTRA_HOST_FLAGS) ; do \
23491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23492 done; \
23493 echo "Doing pdf in prms" ; \
23494 (cd $(HOST_SUBDIR)/prms && \
23495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23497 "RANLIB=$${RANLIB}" \
23498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23499 pdf) \
23500 || exit 1
23502 @endif prms
23504 .PHONY: maybe-html-prms html-prms
23505 maybe-html-prms:
23506 @if prms
23507 maybe-html-prms: html-prms
23509 html-prms: \
23510 configure-prms
23511 @: $(MAKE); $(unstage)
23512 @[ -f ./prms/Makefile ] || exit 0; \
23513 r=`${PWD_COMMAND}`; export r; \
23514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23515 $(HOST_EXPORTS) \
23516 for flag in $(EXTRA_HOST_FLAGS) ; do \
23517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23518 done; \
23519 echo "Doing html in prms" ; \
23520 (cd $(HOST_SUBDIR)/prms && \
23521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23523 "RANLIB=$${RANLIB}" \
23524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23525 html) \
23526 || exit 1
23528 @endif prms
23530 .PHONY: maybe-TAGS-prms TAGS-prms
23531 maybe-TAGS-prms:
23532 @if prms
23533 maybe-TAGS-prms: TAGS-prms
23535 TAGS-prms: \
23536 configure-prms
23537 @: $(MAKE); $(unstage)
23538 @[ -f ./prms/Makefile ] || exit 0; \
23539 r=`${PWD_COMMAND}`; export r; \
23540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 $(HOST_EXPORTS) \
23542 for flag in $(EXTRA_HOST_FLAGS) ; do \
23543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544 done; \
23545 echo "Doing TAGS in prms" ; \
23546 (cd $(HOST_SUBDIR)/prms && \
23547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23549 "RANLIB=$${RANLIB}" \
23550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23551 TAGS) \
23552 || exit 1
23554 @endif prms
23556 .PHONY: maybe-install-info-prms install-info-prms
23557 maybe-install-info-prms:
23558 @if prms
23559 maybe-install-info-prms: install-info-prms
23561 install-info-prms: \
23562 configure-prms \
23563 info-prms
23564 @: $(MAKE); $(unstage)
23565 @[ -f ./prms/Makefile ] || exit 0; \
23566 r=`${PWD_COMMAND}`; export r; \
23567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23568 $(HOST_EXPORTS) \
23569 for flag in $(EXTRA_HOST_FLAGS) ; do \
23570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23571 done; \
23572 echo "Doing install-info in prms" ; \
23573 (cd $(HOST_SUBDIR)/prms && \
23574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23576 "RANLIB=$${RANLIB}" \
23577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23578 install-info) \
23579 || exit 1
23581 @endif prms
23583 .PHONY: maybe-install-html-prms install-html-prms
23584 maybe-install-html-prms:
23585 @if prms
23586 maybe-install-html-prms: install-html-prms
23588 install-html-prms: \
23589 configure-prms \
23590 html-prms
23591 @: $(MAKE); $(unstage)
23592 @[ -f ./prms/Makefile ] || exit 0; \
23593 r=`${PWD_COMMAND}`; export r; \
23594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23595 $(HOST_EXPORTS) \
23596 for flag in $(EXTRA_HOST_FLAGS) ; do \
23597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23598 done; \
23599 echo "Doing install-html in prms" ; \
23600 (cd $(HOST_SUBDIR)/prms && \
23601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23603 "RANLIB=$${RANLIB}" \
23604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23605 install-html) \
23606 || exit 1
23608 @endif prms
23610 .PHONY: maybe-installcheck-prms installcheck-prms
23611 maybe-installcheck-prms:
23612 @if prms
23613 maybe-installcheck-prms: installcheck-prms
23615 installcheck-prms: \
23616 configure-prms
23617 @: $(MAKE); $(unstage)
23618 @[ -f ./prms/Makefile ] || exit 0; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621 $(HOST_EXPORTS) \
23622 for flag in $(EXTRA_HOST_FLAGS) ; do \
23623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23624 done; \
23625 echo "Doing installcheck in prms" ; \
23626 (cd $(HOST_SUBDIR)/prms && \
23627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23629 "RANLIB=$${RANLIB}" \
23630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23631 installcheck) \
23632 || exit 1
23634 @endif prms
23636 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23637 maybe-mostlyclean-prms:
23638 @if prms
23639 maybe-mostlyclean-prms: mostlyclean-prms
23641 mostlyclean-prms:
23642 @: $(MAKE); $(unstage)
23643 @[ -f ./prms/Makefile ] || exit 0; \
23644 r=`${PWD_COMMAND}`; export r; \
23645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23646 $(HOST_EXPORTS) \
23647 for flag in $(EXTRA_HOST_FLAGS) ; do \
23648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23649 done; \
23650 echo "Doing mostlyclean in prms" ; \
23651 (cd $(HOST_SUBDIR)/prms && \
23652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654 "RANLIB=$${RANLIB}" \
23655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23656 mostlyclean) \
23657 || exit 1
23659 @endif prms
23661 .PHONY: maybe-clean-prms clean-prms
23662 maybe-clean-prms:
23663 @if prms
23664 maybe-clean-prms: clean-prms
23666 clean-prms:
23667 @: $(MAKE); $(unstage)
23668 @[ -f ./prms/Makefile ] || exit 0; \
23669 r=`${PWD_COMMAND}`; export r; \
23670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23671 $(HOST_EXPORTS) \
23672 for flag in $(EXTRA_HOST_FLAGS) ; do \
23673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23674 done; \
23675 echo "Doing clean in prms" ; \
23676 (cd $(HOST_SUBDIR)/prms && \
23677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23679 "RANLIB=$${RANLIB}" \
23680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23681 clean) \
23682 || exit 1
23684 @endif prms
23686 .PHONY: maybe-distclean-prms distclean-prms
23687 maybe-distclean-prms:
23688 @if prms
23689 maybe-distclean-prms: distclean-prms
23691 distclean-prms:
23692 @: $(MAKE); $(unstage)
23693 @[ -f ./prms/Makefile ] || exit 0; \
23694 r=`${PWD_COMMAND}`; export r; \
23695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23696 $(HOST_EXPORTS) \
23697 for flag in $(EXTRA_HOST_FLAGS) ; do \
23698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23699 done; \
23700 echo "Doing distclean in prms" ; \
23701 (cd $(HOST_SUBDIR)/prms && \
23702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23704 "RANLIB=$${RANLIB}" \
23705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23706 distclean) \
23707 || exit 1
23709 @endif prms
23711 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23712 maybe-maintainer-clean-prms:
23713 @if prms
23714 maybe-maintainer-clean-prms: maintainer-clean-prms
23716 maintainer-clean-prms:
23717 @: $(MAKE); $(unstage)
23718 @[ -f ./prms/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(HOST_EXPORTS) \
23722 for flag in $(EXTRA_HOST_FLAGS) ; do \
23723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23724 done; \
23725 echo "Doing maintainer-clean in prms" ; \
23726 (cd $(HOST_SUBDIR)/prms && \
23727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23729 "RANLIB=$${RANLIB}" \
23730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23731 maintainer-clean) \
23732 || exit 1
23734 @endif prms
23738 .PHONY: configure-rcs maybe-configure-rcs
23739 maybe-configure-rcs:
23740 @if gcc-bootstrap
23741 configure-rcs: stage_current
23742 @endif gcc-bootstrap
23743 @if rcs
23744 maybe-configure-rcs: configure-rcs
23745 configure-rcs:
23746 @: $(MAKE); $(unstage)
23747 @r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23751 $(HOST_EXPORTS) \
23752 echo Configuring in $(HOST_SUBDIR)/rcs; \
23753 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23754 case $(srcdir) in \
23755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23756 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23758 esac; \
23759 srcdiroption="--srcdir=$${topdir}/rcs"; \
23760 libsrcdir="$$s/rcs"; \
23761 $(SHELL) $${libsrcdir}/configure \
23762 $(HOST_CONFIGARGS) $${srcdiroption} \
23763 || exit 1
23764 @endif rcs
23770 .PHONY: all-rcs maybe-all-rcs
23771 maybe-all-rcs:
23772 @if gcc-bootstrap
23773 all-rcs: stage_current
23774 @endif gcc-bootstrap
23775 @if rcs
23776 TARGET-rcs=all
23777 maybe-all-rcs: all-rcs
23778 all-rcs: configure-rcs
23779 @: $(MAKE); $(unstage)
23780 @r=`${PWD_COMMAND}`; export r; \
23781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23782 $(HOST_EXPORTS) \
23783 (cd $(HOST_SUBDIR)/rcs && \
23784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23785 @endif rcs
23790 .PHONY: check-rcs maybe-check-rcs
23791 maybe-check-rcs:
23792 @if rcs
23793 maybe-check-rcs: check-rcs
23795 check-rcs:
23796 @: $(MAKE); $(unstage)
23797 @r=`${PWD_COMMAND}`; export r; \
23798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 $(HOST_EXPORTS) \
23800 (cd $(HOST_SUBDIR)/rcs && \
23801 $(MAKE) $(FLAGS_TO_PASS) check)
23803 @endif rcs
23805 .PHONY: install-rcs maybe-install-rcs
23806 maybe-install-rcs:
23807 @if rcs
23808 maybe-install-rcs: install-rcs
23810 install-rcs: installdirs
23811 @: $(MAKE); $(unstage)
23812 @r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(HOST_EXPORTS) \
23815 (cd $(HOST_SUBDIR)/rcs && \
23816 $(MAKE) $(FLAGS_TO_PASS) install)
23818 @endif rcs
23820 # Other targets (info, dvi, pdf, etc.)
23822 .PHONY: maybe-info-rcs info-rcs
23823 maybe-info-rcs:
23824 @if rcs
23825 maybe-info-rcs: info-rcs
23827 info-rcs: \
23828 configure-rcs
23829 @: $(MAKE); $(unstage)
23830 @[ -f ./rcs/Makefile ] || exit 0; \
23831 r=`${PWD_COMMAND}`; export r; \
23832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23833 $(HOST_EXPORTS) \
23834 for flag in $(EXTRA_HOST_FLAGS) ; do \
23835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23836 done; \
23837 echo "Doing info in rcs" ; \
23838 (cd $(HOST_SUBDIR)/rcs && \
23839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23841 "RANLIB=$${RANLIB}" \
23842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23843 info) \
23844 || exit 1
23846 @endif rcs
23848 .PHONY: maybe-dvi-rcs dvi-rcs
23849 maybe-dvi-rcs:
23850 @if rcs
23851 maybe-dvi-rcs: dvi-rcs
23853 dvi-rcs: \
23854 configure-rcs
23855 @: $(MAKE); $(unstage)
23856 @[ -f ./rcs/Makefile ] || exit 0; \
23857 r=`${PWD_COMMAND}`; export r; \
23858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 $(HOST_EXPORTS) \
23860 for flag in $(EXTRA_HOST_FLAGS) ; do \
23861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 done; \
23863 echo "Doing dvi in rcs" ; \
23864 (cd $(HOST_SUBDIR)/rcs && \
23865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23867 "RANLIB=$${RANLIB}" \
23868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23869 dvi) \
23870 || exit 1
23872 @endif rcs
23874 .PHONY: maybe-pdf-rcs pdf-rcs
23875 maybe-pdf-rcs:
23876 @if rcs
23877 maybe-pdf-rcs: pdf-rcs
23879 pdf-rcs: \
23880 configure-rcs
23881 @: $(MAKE); $(unstage)
23882 @[ -f ./rcs/Makefile ] || exit 0; \
23883 r=`${PWD_COMMAND}`; export r; \
23884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23885 $(HOST_EXPORTS) \
23886 for flag in $(EXTRA_HOST_FLAGS) ; do \
23887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23888 done; \
23889 echo "Doing pdf in rcs" ; \
23890 (cd $(HOST_SUBDIR)/rcs && \
23891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23893 "RANLIB=$${RANLIB}" \
23894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23895 pdf) \
23896 || exit 1
23898 @endif rcs
23900 .PHONY: maybe-html-rcs html-rcs
23901 maybe-html-rcs:
23902 @if rcs
23903 maybe-html-rcs: html-rcs
23905 html-rcs: \
23906 configure-rcs
23907 @: $(MAKE); $(unstage)
23908 @[ -f ./rcs/Makefile ] || exit 0; \
23909 r=`${PWD_COMMAND}`; export r; \
23910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23911 $(HOST_EXPORTS) \
23912 for flag in $(EXTRA_HOST_FLAGS) ; do \
23913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23914 done; \
23915 echo "Doing html in rcs" ; \
23916 (cd $(HOST_SUBDIR)/rcs && \
23917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23919 "RANLIB=$${RANLIB}" \
23920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23921 html) \
23922 || exit 1
23924 @endif rcs
23926 .PHONY: maybe-TAGS-rcs TAGS-rcs
23927 maybe-TAGS-rcs:
23928 @if rcs
23929 maybe-TAGS-rcs: TAGS-rcs
23931 TAGS-rcs: \
23932 configure-rcs
23933 @: $(MAKE); $(unstage)
23934 @[ -f ./rcs/Makefile ] || exit 0; \
23935 r=`${PWD_COMMAND}`; export r; \
23936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23937 $(HOST_EXPORTS) \
23938 for flag in $(EXTRA_HOST_FLAGS) ; do \
23939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23940 done; \
23941 echo "Doing TAGS in rcs" ; \
23942 (cd $(HOST_SUBDIR)/rcs && \
23943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23945 "RANLIB=$${RANLIB}" \
23946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23947 TAGS) \
23948 || exit 1
23950 @endif rcs
23952 .PHONY: maybe-install-info-rcs install-info-rcs
23953 maybe-install-info-rcs:
23954 @if rcs
23955 maybe-install-info-rcs: install-info-rcs
23957 install-info-rcs: \
23958 configure-rcs \
23959 info-rcs
23960 @: $(MAKE); $(unstage)
23961 @[ -f ./rcs/Makefile ] || exit 0; \
23962 r=`${PWD_COMMAND}`; export r; \
23963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23964 $(HOST_EXPORTS) \
23965 for flag in $(EXTRA_HOST_FLAGS) ; do \
23966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23967 done; \
23968 echo "Doing install-info in rcs" ; \
23969 (cd $(HOST_SUBDIR)/rcs && \
23970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23972 "RANLIB=$${RANLIB}" \
23973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23974 install-info) \
23975 || exit 1
23977 @endif rcs
23979 .PHONY: maybe-install-html-rcs install-html-rcs
23980 maybe-install-html-rcs:
23981 @if rcs
23982 maybe-install-html-rcs: install-html-rcs
23984 install-html-rcs: \
23985 configure-rcs \
23986 html-rcs
23987 @: $(MAKE); $(unstage)
23988 @[ -f ./rcs/Makefile ] || exit 0; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23991 $(HOST_EXPORTS) \
23992 for flag in $(EXTRA_HOST_FLAGS) ; do \
23993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23994 done; \
23995 echo "Doing install-html in rcs" ; \
23996 (cd $(HOST_SUBDIR)/rcs && \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24001 install-html) \
24002 || exit 1
24004 @endif rcs
24006 .PHONY: maybe-installcheck-rcs installcheck-rcs
24007 maybe-installcheck-rcs:
24008 @if rcs
24009 maybe-installcheck-rcs: installcheck-rcs
24011 installcheck-rcs: \
24012 configure-rcs
24013 @: $(MAKE); $(unstage)
24014 @[ -f ./rcs/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(HOST_EXPORTS) \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 echo "Doing installcheck in rcs" ; \
24022 (cd $(HOST_SUBDIR)/rcs && \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24027 installcheck) \
24028 || exit 1
24030 @endif rcs
24032 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
24033 maybe-mostlyclean-rcs:
24034 @if rcs
24035 maybe-mostlyclean-rcs: mostlyclean-rcs
24037 mostlyclean-rcs:
24038 @: $(MAKE); $(unstage)
24039 @[ -f ./rcs/Makefile ] || exit 0; \
24040 r=`${PWD_COMMAND}`; export r; \
24041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24042 $(HOST_EXPORTS) \
24043 for flag in $(EXTRA_HOST_FLAGS) ; do \
24044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24045 done; \
24046 echo "Doing mostlyclean in rcs" ; \
24047 (cd $(HOST_SUBDIR)/rcs && \
24048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24050 "RANLIB=$${RANLIB}" \
24051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24052 mostlyclean) \
24053 || exit 1
24055 @endif rcs
24057 .PHONY: maybe-clean-rcs clean-rcs
24058 maybe-clean-rcs:
24059 @if rcs
24060 maybe-clean-rcs: clean-rcs
24062 clean-rcs:
24063 @: $(MAKE); $(unstage)
24064 @[ -f ./rcs/Makefile ] || exit 0; \
24065 r=`${PWD_COMMAND}`; export r; \
24066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24067 $(HOST_EXPORTS) \
24068 for flag in $(EXTRA_HOST_FLAGS) ; do \
24069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24070 done; \
24071 echo "Doing clean in rcs" ; \
24072 (cd $(HOST_SUBDIR)/rcs && \
24073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24075 "RANLIB=$${RANLIB}" \
24076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24077 clean) \
24078 || exit 1
24080 @endif rcs
24082 .PHONY: maybe-distclean-rcs distclean-rcs
24083 maybe-distclean-rcs:
24084 @if rcs
24085 maybe-distclean-rcs: distclean-rcs
24087 distclean-rcs:
24088 @: $(MAKE); $(unstage)
24089 @[ -f ./rcs/Makefile ] || exit 0; \
24090 r=`${PWD_COMMAND}`; export r; \
24091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24092 $(HOST_EXPORTS) \
24093 for flag in $(EXTRA_HOST_FLAGS) ; do \
24094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24095 done; \
24096 echo "Doing distclean in rcs" ; \
24097 (cd $(HOST_SUBDIR)/rcs && \
24098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24100 "RANLIB=$${RANLIB}" \
24101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24102 distclean) \
24103 || exit 1
24105 @endif rcs
24107 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
24108 maybe-maintainer-clean-rcs:
24109 @if rcs
24110 maybe-maintainer-clean-rcs: maintainer-clean-rcs
24112 maintainer-clean-rcs:
24113 @: $(MAKE); $(unstage)
24114 @[ -f ./rcs/Makefile ] || exit 0; \
24115 r=`${PWD_COMMAND}`; export r; \
24116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24117 $(HOST_EXPORTS) \
24118 for flag in $(EXTRA_HOST_FLAGS) ; do \
24119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24120 done; \
24121 echo "Doing maintainer-clean in rcs" ; \
24122 (cd $(HOST_SUBDIR)/rcs && \
24123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24125 "RANLIB=$${RANLIB}" \
24126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24127 maintainer-clean) \
24128 || exit 1
24130 @endif rcs
24134 .PHONY: configure-readline maybe-configure-readline
24135 maybe-configure-readline:
24136 @if gcc-bootstrap
24137 configure-readline: stage_current
24138 @endif gcc-bootstrap
24139 @if readline
24140 maybe-configure-readline: configure-readline
24141 configure-readline:
24142 @: $(MAKE); $(unstage)
24143 @r=`${PWD_COMMAND}`; export r; \
24144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24145 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24147 $(HOST_EXPORTS) \
24148 echo Configuring in $(HOST_SUBDIR)/readline; \
24149 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24150 case $(srcdir) in \
24151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24152 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24154 esac; \
24155 srcdiroption="--srcdir=$${topdir}/readline"; \
24156 libsrcdir="$$s/readline"; \
24157 $(SHELL) $${libsrcdir}/configure \
24158 $(HOST_CONFIGARGS) $${srcdiroption} \
24159 || exit 1
24160 @endif readline
24166 .PHONY: all-readline maybe-all-readline
24167 maybe-all-readline:
24168 @if gcc-bootstrap
24169 all-readline: stage_current
24170 @endif gcc-bootstrap
24171 @if readline
24172 TARGET-readline=all
24173 maybe-all-readline: all-readline
24174 all-readline: configure-readline
24175 @: $(MAKE); $(unstage)
24176 @r=`${PWD_COMMAND}`; export r; \
24177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24178 $(HOST_EXPORTS) \
24179 (cd $(HOST_SUBDIR)/readline && \
24180 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24181 @endif readline
24186 .PHONY: check-readline maybe-check-readline
24187 maybe-check-readline:
24188 @if readline
24189 maybe-check-readline: check-readline
24191 check-readline:
24192 @: $(MAKE); $(unstage)
24193 @r=`${PWD_COMMAND}`; export r; \
24194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 $(HOST_EXPORTS) \
24196 (cd $(HOST_SUBDIR)/readline && \
24197 $(MAKE) $(FLAGS_TO_PASS) check)
24199 @endif readline
24201 .PHONY: install-readline maybe-install-readline
24202 maybe-install-readline:
24203 @if readline
24204 maybe-install-readline: install-readline
24206 install-readline: installdirs
24207 @: $(MAKE); $(unstage)
24208 @r=`${PWD_COMMAND}`; export r; \
24209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24210 $(HOST_EXPORTS) \
24211 (cd $(HOST_SUBDIR)/readline && \
24212 $(MAKE) $(FLAGS_TO_PASS) install)
24214 @endif readline
24216 # Other targets (info, dvi, pdf, etc.)
24218 .PHONY: maybe-info-readline info-readline
24219 maybe-info-readline:
24220 @if readline
24221 maybe-info-readline: info-readline
24223 info-readline: \
24224 configure-readline
24225 @: $(MAKE); $(unstage)
24226 @[ -f ./readline/Makefile ] || exit 0; \
24227 r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24229 $(HOST_EXPORTS) \
24230 for flag in $(EXTRA_HOST_FLAGS) ; do \
24231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24232 done; \
24233 echo "Doing info in readline" ; \
24234 (cd $(HOST_SUBDIR)/readline && \
24235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24237 "RANLIB=$${RANLIB}" \
24238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24239 info) \
24240 || exit 1
24242 @endif readline
24244 .PHONY: maybe-dvi-readline dvi-readline
24245 maybe-dvi-readline:
24246 @if readline
24247 maybe-dvi-readline: dvi-readline
24249 dvi-readline: \
24250 configure-readline
24251 @: $(MAKE); $(unstage)
24252 @[ -f ./readline/Makefile ] || exit 0; \
24253 r=`${PWD_COMMAND}`; export r; \
24254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24255 $(HOST_EXPORTS) \
24256 for flag in $(EXTRA_HOST_FLAGS) ; do \
24257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24258 done; \
24259 echo "Doing dvi in readline" ; \
24260 (cd $(HOST_SUBDIR)/readline && \
24261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24263 "RANLIB=$${RANLIB}" \
24264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24265 dvi) \
24266 || exit 1
24268 @endif readline
24270 .PHONY: maybe-pdf-readline pdf-readline
24271 maybe-pdf-readline:
24272 @if readline
24273 maybe-pdf-readline: pdf-readline
24275 pdf-readline: \
24276 configure-readline
24277 @: $(MAKE); $(unstage)
24278 @[ -f ./readline/Makefile ] || exit 0; \
24279 r=`${PWD_COMMAND}`; export r; \
24280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24281 $(HOST_EXPORTS) \
24282 for flag in $(EXTRA_HOST_FLAGS) ; do \
24283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24284 done; \
24285 echo "Doing pdf in readline" ; \
24286 (cd $(HOST_SUBDIR)/readline && \
24287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24289 "RANLIB=$${RANLIB}" \
24290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24291 pdf) \
24292 || exit 1
24294 @endif readline
24296 .PHONY: maybe-html-readline html-readline
24297 maybe-html-readline:
24298 @if readline
24299 maybe-html-readline: html-readline
24301 html-readline: \
24302 configure-readline
24303 @: $(MAKE); $(unstage)
24304 @[ -f ./readline/Makefile ] || exit 0; \
24305 r=`${PWD_COMMAND}`; export r; \
24306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24307 $(HOST_EXPORTS) \
24308 for flag in $(EXTRA_HOST_FLAGS) ; do \
24309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24310 done; \
24311 echo "Doing html in readline" ; \
24312 (cd $(HOST_SUBDIR)/readline && \
24313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24315 "RANLIB=$${RANLIB}" \
24316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24317 html) \
24318 || exit 1
24320 @endif readline
24322 .PHONY: maybe-TAGS-readline TAGS-readline
24323 maybe-TAGS-readline:
24324 @if readline
24325 maybe-TAGS-readline: TAGS-readline
24327 TAGS-readline: \
24328 configure-readline
24329 @: $(MAKE); $(unstage)
24330 @[ -f ./readline/Makefile ] || exit 0; \
24331 r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(HOST_EXPORTS) \
24334 for flag in $(EXTRA_HOST_FLAGS) ; do \
24335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24336 done; \
24337 echo "Doing TAGS in readline" ; \
24338 (cd $(HOST_SUBDIR)/readline && \
24339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24341 "RANLIB=$${RANLIB}" \
24342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24343 TAGS) \
24344 || exit 1
24346 @endif readline
24348 .PHONY: maybe-install-info-readline install-info-readline
24349 maybe-install-info-readline:
24350 @if readline
24351 maybe-install-info-readline: install-info-readline
24353 install-info-readline: \
24354 configure-readline \
24355 info-readline
24356 @: $(MAKE); $(unstage)
24357 @[ -f ./readline/Makefile ] || exit 0; \
24358 r=`${PWD_COMMAND}`; export r; \
24359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24360 $(HOST_EXPORTS) \
24361 for flag in $(EXTRA_HOST_FLAGS) ; do \
24362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24363 done; \
24364 echo "Doing install-info in readline" ; \
24365 (cd $(HOST_SUBDIR)/readline && \
24366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24368 "RANLIB=$${RANLIB}" \
24369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24370 install-info) \
24371 || exit 1
24373 @endif readline
24375 .PHONY: maybe-install-html-readline install-html-readline
24376 maybe-install-html-readline:
24377 @if readline
24378 maybe-install-html-readline: install-html-readline
24380 install-html-readline: \
24381 configure-readline \
24382 html-readline
24383 @: $(MAKE); $(unstage)
24384 @[ -f ./readline/Makefile ] || exit 0; \
24385 r=`${PWD_COMMAND}`; export r; \
24386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24387 $(HOST_EXPORTS) \
24388 for flag in $(EXTRA_HOST_FLAGS) ; do \
24389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24390 done; \
24391 echo "Doing install-html in readline" ; \
24392 (cd $(HOST_SUBDIR)/readline && \
24393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24395 "RANLIB=$${RANLIB}" \
24396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24397 install-html) \
24398 || exit 1
24400 @endif readline
24402 .PHONY: maybe-installcheck-readline installcheck-readline
24403 maybe-installcheck-readline:
24404 @if readline
24405 maybe-installcheck-readline: installcheck-readline
24407 installcheck-readline: \
24408 configure-readline
24409 @: $(MAKE); $(unstage)
24410 @[ -f ./readline/Makefile ] || exit 0; \
24411 r=`${PWD_COMMAND}`; export r; \
24412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24413 $(HOST_EXPORTS) \
24414 for flag in $(EXTRA_HOST_FLAGS) ; do \
24415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24416 done; \
24417 echo "Doing installcheck in readline" ; \
24418 (cd $(HOST_SUBDIR)/readline && \
24419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24421 "RANLIB=$${RANLIB}" \
24422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24423 installcheck) \
24424 || exit 1
24426 @endif readline
24428 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24429 maybe-mostlyclean-readline:
24430 @if readline
24431 maybe-mostlyclean-readline: mostlyclean-readline
24433 mostlyclean-readline:
24434 @: $(MAKE); $(unstage)
24435 @[ -f ./readline/Makefile ] || exit 0; \
24436 r=`${PWD_COMMAND}`; export r; \
24437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24438 $(HOST_EXPORTS) \
24439 for flag in $(EXTRA_HOST_FLAGS) ; do \
24440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24441 done; \
24442 echo "Doing mostlyclean in readline" ; \
24443 (cd $(HOST_SUBDIR)/readline && \
24444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24446 "RANLIB=$${RANLIB}" \
24447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24448 mostlyclean) \
24449 || exit 1
24451 @endif readline
24453 .PHONY: maybe-clean-readline clean-readline
24454 maybe-clean-readline:
24455 @if readline
24456 maybe-clean-readline: clean-readline
24458 clean-readline:
24459 @: $(MAKE); $(unstage)
24460 @[ -f ./readline/Makefile ] || exit 0; \
24461 r=`${PWD_COMMAND}`; export r; \
24462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24463 $(HOST_EXPORTS) \
24464 for flag in $(EXTRA_HOST_FLAGS) ; do \
24465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24466 done; \
24467 echo "Doing clean in readline" ; \
24468 (cd $(HOST_SUBDIR)/readline && \
24469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24471 "RANLIB=$${RANLIB}" \
24472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24473 clean) \
24474 || exit 1
24476 @endif readline
24478 .PHONY: maybe-distclean-readline distclean-readline
24479 maybe-distclean-readline:
24480 @if readline
24481 maybe-distclean-readline: distclean-readline
24483 distclean-readline:
24484 @: $(MAKE); $(unstage)
24485 @[ -f ./readline/Makefile ] || exit 0; \
24486 r=`${PWD_COMMAND}`; export r; \
24487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24488 $(HOST_EXPORTS) \
24489 for flag in $(EXTRA_HOST_FLAGS) ; do \
24490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24491 done; \
24492 echo "Doing distclean in readline" ; \
24493 (cd $(HOST_SUBDIR)/readline && \
24494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24496 "RANLIB=$${RANLIB}" \
24497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24498 distclean) \
24499 || exit 1
24501 @endif readline
24503 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24504 maybe-maintainer-clean-readline:
24505 @if readline
24506 maybe-maintainer-clean-readline: maintainer-clean-readline
24508 maintainer-clean-readline:
24509 @: $(MAKE); $(unstage)
24510 @[ -f ./readline/Makefile ] || exit 0; \
24511 r=`${PWD_COMMAND}`; export r; \
24512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 $(HOST_EXPORTS) \
24514 for flag in $(EXTRA_HOST_FLAGS) ; do \
24515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24516 done; \
24517 echo "Doing maintainer-clean in readline" ; \
24518 (cd $(HOST_SUBDIR)/readline && \
24519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24521 "RANLIB=$${RANLIB}" \
24522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24523 maintainer-clean) \
24524 || exit 1
24526 @endif readline
24530 .PHONY: configure-release maybe-configure-release
24531 maybe-configure-release:
24532 @if gcc-bootstrap
24533 configure-release: stage_current
24534 @endif gcc-bootstrap
24535 @if release
24536 maybe-configure-release: configure-release
24537 configure-release:
24538 @: $(MAKE); $(unstage)
24539 @r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24543 $(HOST_EXPORTS) \
24544 echo Configuring in $(HOST_SUBDIR)/release; \
24545 cd "$(HOST_SUBDIR)/release" || exit 1; \
24546 case $(srcdir) in \
24547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24548 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24550 esac; \
24551 srcdiroption="--srcdir=$${topdir}/release"; \
24552 libsrcdir="$$s/release"; \
24553 $(SHELL) $${libsrcdir}/configure \
24554 $(HOST_CONFIGARGS) $${srcdiroption} \
24555 || exit 1
24556 @endif release
24562 .PHONY: all-release maybe-all-release
24563 maybe-all-release:
24564 @if gcc-bootstrap
24565 all-release: stage_current
24566 @endif gcc-bootstrap
24567 @if release
24568 TARGET-release=all
24569 maybe-all-release: all-release
24570 all-release: configure-release
24571 @: $(MAKE); $(unstage)
24572 @r=`${PWD_COMMAND}`; export r; \
24573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24574 $(HOST_EXPORTS) \
24575 (cd $(HOST_SUBDIR)/release && \
24576 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24577 @endif release
24582 .PHONY: check-release maybe-check-release
24583 maybe-check-release:
24584 @if release
24585 maybe-check-release: check-release
24587 check-release:
24589 @endif release
24591 .PHONY: install-release maybe-install-release
24592 maybe-install-release:
24593 @if release
24594 maybe-install-release: install-release
24596 install-release:
24598 @endif release
24600 # Other targets (info, dvi, pdf, etc.)
24602 .PHONY: maybe-info-release info-release
24603 maybe-info-release:
24604 @if release
24605 maybe-info-release: info-release
24607 info-release: \
24608 configure-release
24609 @: $(MAKE); $(unstage)
24610 @[ -f ./release/Makefile ] || exit 0; \
24611 r=`${PWD_COMMAND}`; export r; \
24612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24613 $(HOST_EXPORTS) \
24614 for flag in $(EXTRA_HOST_FLAGS) ; do \
24615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24616 done; \
24617 echo "Doing info in release" ; \
24618 (cd $(HOST_SUBDIR)/release && \
24619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24621 "RANLIB=$${RANLIB}" \
24622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24623 info) \
24624 || exit 1
24626 @endif release
24628 .PHONY: maybe-dvi-release dvi-release
24629 maybe-dvi-release:
24630 @if release
24631 maybe-dvi-release: dvi-release
24633 dvi-release: \
24634 configure-release
24635 @: $(MAKE); $(unstage)
24636 @[ -f ./release/Makefile ] || exit 0; \
24637 r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24639 $(HOST_EXPORTS) \
24640 for flag in $(EXTRA_HOST_FLAGS) ; do \
24641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24642 done; \
24643 echo "Doing dvi in release" ; \
24644 (cd $(HOST_SUBDIR)/release && \
24645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24647 "RANLIB=$${RANLIB}" \
24648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24649 dvi) \
24650 || exit 1
24652 @endif release
24654 .PHONY: maybe-pdf-release pdf-release
24655 maybe-pdf-release:
24656 @if release
24657 maybe-pdf-release: pdf-release
24659 pdf-release: \
24660 configure-release
24661 @: $(MAKE); $(unstage)
24662 @[ -f ./release/Makefile ] || exit 0; \
24663 r=`${PWD_COMMAND}`; export r; \
24664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24665 $(HOST_EXPORTS) \
24666 for flag in $(EXTRA_HOST_FLAGS) ; do \
24667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24668 done; \
24669 echo "Doing pdf in release" ; \
24670 (cd $(HOST_SUBDIR)/release && \
24671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24673 "RANLIB=$${RANLIB}" \
24674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24675 pdf) \
24676 || exit 1
24678 @endif release
24680 .PHONY: maybe-html-release html-release
24681 maybe-html-release:
24682 @if release
24683 maybe-html-release: html-release
24685 html-release: \
24686 configure-release
24687 @: $(MAKE); $(unstage)
24688 @[ -f ./release/Makefile ] || exit 0; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 for flag in $(EXTRA_HOST_FLAGS) ; do \
24693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24694 done; \
24695 echo "Doing html in release" ; \
24696 (cd $(HOST_SUBDIR)/release && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 html) \
24702 || exit 1
24704 @endif release
24706 .PHONY: maybe-TAGS-release TAGS-release
24707 maybe-TAGS-release:
24708 @if release
24709 maybe-TAGS-release: TAGS-release
24711 TAGS-release: \
24712 configure-release
24713 @: $(MAKE); $(unstage)
24714 @[ -f ./release/Makefile ] || exit 0; \
24715 r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(HOST_EXPORTS) \
24718 for flag in $(EXTRA_HOST_FLAGS) ; do \
24719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24720 done; \
24721 echo "Doing TAGS in release" ; \
24722 (cd $(HOST_SUBDIR)/release && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24727 TAGS) \
24728 || exit 1
24730 @endif release
24732 .PHONY: maybe-install-info-release install-info-release
24733 maybe-install-info-release:
24734 @if release
24735 maybe-install-info-release: install-info-release
24737 install-info-release: \
24738 configure-release \
24739 info-release
24740 @: $(MAKE); $(unstage)
24741 @[ -f ./release/Makefile ] || exit 0; \
24742 r=`${PWD_COMMAND}`; export r; \
24743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24744 $(HOST_EXPORTS) \
24745 for flag in $(EXTRA_HOST_FLAGS) ; do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24747 done; \
24748 echo "Doing install-info in release" ; \
24749 (cd $(HOST_SUBDIR)/release && \
24750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24752 "RANLIB=$${RANLIB}" \
24753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24754 install-info) \
24755 || exit 1
24757 @endif release
24759 .PHONY: maybe-install-html-release install-html-release
24760 maybe-install-html-release:
24761 @if release
24762 maybe-install-html-release: install-html-release
24764 install-html-release: \
24765 configure-release \
24766 html-release
24767 @: $(MAKE); $(unstage)
24768 @[ -f ./release/Makefile ] || exit 0; \
24769 r=`${PWD_COMMAND}`; export r; \
24770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24771 $(HOST_EXPORTS) \
24772 for flag in $(EXTRA_HOST_FLAGS) ; do \
24773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774 done; \
24775 echo "Doing install-html in release" ; \
24776 (cd $(HOST_SUBDIR)/release && \
24777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24779 "RANLIB=$${RANLIB}" \
24780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24781 install-html) \
24782 || exit 1
24784 @endif release
24786 .PHONY: maybe-installcheck-release installcheck-release
24787 maybe-installcheck-release:
24788 @if release
24789 maybe-installcheck-release: installcheck-release
24791 installcheck-release: \
24792 configure-release
24793 @: $(MAKE); $(unstage)
24794 @[ -f ./release/Makefile ] || exit 0; \
24795 r=`${PWD_COMMAND}`; export r; \
24796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24797 $(HOST_EXPORTS) \
24798 for flag in $(EXTRA_HOST_FLAGS) ; do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24800 done; \
24801 echo "Doing installcheck in release" ; \
24802 (cd $(HOST_SUBDIR)/release && \
24803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24805 "RANLIB=$${RANLIB}" \
24806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24807 installcheck) \
24808 || exit 1
24810 @endif release
24812 .PHONY: maybe-mostlyclean-release mostlyclean-release
24813 maybe-mostlyclean-release:
24814 @if release
24815 maybe-mostlyclean-release: mostlyclean-release
24817 mostlyclean-release:
24818 @: $(MAKE); $(unstage)
24819 @[ -f ./release/Makefile ] || exit 0; \
24820 r=`${PWD_COMMAND}`; export r; \
24821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24822 $(HOST_EXPORTS) \
24823 for flag in $(EXTRA_HOST_FLAGS) ; do \
24824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24825 done; \
24826 echo "Doing mostlyclean in release" ; \
24827 (cd $(HOST_SUBDIR)/release && \
24828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830 "RANLIB=$${RANLIB}" \
24831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24832 mostlyclean) \
24833 || exit 1
24835 @endif release
24837 .PHONY: maybe-clean-release clean-release
24838 maybe-clean-release:
24839 @if release
24840 maybe-clean-release: clean-release
24842 clean-release:
24843 @: $(MAKE); $(unstage)
24844 @[ -f ./release/Makefile ] || exit 0; \
24845 r=`${PWD_COMMAND}`; export r; \
24846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24847 $(HOST_EXPORTS) \
24848 for flag in $(EXTRA_HOST_FLAGS) ; do \
24849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24850 done; \
24851 echo "Doing clean in release" ; \
24852 (cd $(HOST_SUBDIR)/release && \
24853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24855 "RANLIB=$${RANLIB}" \
24856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24857 clean) \
24858 || exit 1
24860 @endif release
24862 .PHONY: maybe-distclean-release distclean-release
24863 maybe-distclean-release:
24864 @if release
24865 maybe-distclean-release: distclean-release
24867 distclean-release:
24868 @: $(MAKE); $(unstage)
24869 @[ -f ./release/Makefile ] || exit 0; \
24870 r=`${PWD_COMMAND}`; export r; \
24871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24872 $(HOST_EXPORTS) \
24873 for flag in $(EXTRA_HOST_FLAGS) ; do \
24874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24875 done; \
24876 echo "Doing distclean in release" ; \
24877 (cd $(HOST_SUBDIR)/release && \
24878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24880 "RANLIB=$${RANLIB}" \
24881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24882 distclean) \
24883 || exit 1
24885 @endif release
24887 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24888 maybe-maintainer-clean-release:
24889 @if release
24890 maybe-maintainer-clean-release: maintainer-clean-release
24892 maintainer-clean-release:
24893 @: $(MAKE); $(unstage)
24894 @[ -f ./release/Makefile ] || exit 0; \
24895 r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(HOST_EXPORTS) \
24898 for flag in $(EXTRA_HOST_FLAGS) ; do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 echo "Doing maintainer-clean in release" ; \
24902 (cd $(HOST_SUBDIR)/release && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24907 maintainer-clean) \
24908 || exit 1
24910 @endif release
24914 .PHONY: configure-recode maybe-configure-recode
24915 maybe-configure-recode:
24916 @if gcc-bootstrap
24917 configure-recode: stage_current
24918 @endif gcc-bootstrap
24919 @if recode
24920 maybe-configure-recode: configure-recode
24921 configure-recode:
24922 @: $(MAKE); $(unstage)
24923 @r=`${PWD_COMMAND}`; export r; \
24924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24927 $(HOST_EXPORTS) \
24928 echo Configuring in $(HOST_SUBDIR)/recode; \
24929 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24930 case $(srcdir) in \
24931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24932 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24934 esac; \
24935 srcdiroption="--srcdir=$${topdir}/recode"; \
24936 libsrcdir="$$s/recode"; \
24937 $(SHELL) $${libsrcdir}/configure \
24938 $(HOST_CONFIGARGS) $${srcdiroption} \
24939 || exit 1
24940 @endif recode
24946 .PHONY: all-recode maybe-all-recode
24947 maybe-all-recode:
24948 @if gcc-bootstrap
24949 all-recode: stage_current
24950 @endif gcc-bootstrap
24951 @if recode
24952 TARGET-recode=all
24953 maybe-all-recode: all-recode
24954 all-recode: configure-recode
24955 @: $(MAKE); $(unstage)
24956 @r=`${PWD_COMMAND}`; export r; \
24957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24958 $(HOST_EXPORTS) \
24959 (cd $(HOST_SUBDIR)/recode && \
24960 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24961 @endif recode
24966 .PHONY: check-recode maybe-check-recode
24967 maybe-check-recode:
24968 @if recode
24969 maybe-check-recode: check-recode
24971 check-recode:
24972 @: $(MAKE); $(unstage)
24973 @r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(HOST_EXPORTS) \
24976 (cd $(HOST_SUBDIR)/recode && \
24977 $(MAKE) $(FLAGS_TO_PASS) check)
24979 @endif recode
24981 .PHONY: install-recode maybe-install-recode
24982 maybe-install-recode:
24983 @if recode
24984 maybe-install-recode: install-recode
24986 install-recode: installdirs
24987 @: $(MAKE); $(unstage)
24988 @r=`${PWD_COMMAND}`; export r; \
24989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990 $(HOST_EXPORTS) \
24991 (cd $(HOST_SUBDIR)/recode && \
24992 $(MAKE) $(FLAGS_TO_PASS) install)
24994 @endif recode
24996 # Other targets (info, dvi, pdf, etc.)
24998 .PHONY: maybe-info-recode info-recode
24999 maybe-info-recode:
25000 @if recode
25001 maybe-info-recode: info-recode
25003 info-recode: \
25004 configure-recode
25005 @: $(MAKE); $(unstage)
25006 @[ -f ./recode/Makefile ] || exit 0; \
25007 r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25009 $(HOST_EXPORTS) \
25010 for flag in $(EXTRA_HOST_FLAGS) ; do \
25011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25012 done; \
25013 echo "Doing info in recode" ; \
25014 (cd $(HOST_SUBDIR)/recode && \
25015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25017 "RANLIB=$${RANLIB}" \
25018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25019 info) \
25020 || exit 1
25022 @endif recode
25024 .PHONY: maybe-dvi-recode dvi-recode
25025 maybe-dvi-recode:
25026 @if recode
25027 maybe-dvi-recode: dvi-recode
25029 dvi-recode: \
25030 configure-recode
25031 @: $(MAKE); $(unstage)
25032 @[ -f ./recode/Makefile ] || exit 0; \
25033 r=`${PWD_COMMAND}`; export r; \
25034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25035 $(HOST_EXPORTS) \
25036 for flag in $(EXTRA_HOST_FLAGS) ; do \
25037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25038 done; \
25039 echo "Doing dvi in recode" ; \
25040 (cd $(HOST_SUBDIR)/recode && \
25041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25043 "RANLIB=$${RANLIB}" \
25044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25045 dvi) \
25046 || exit 1
25048 @endif recode
25050 .PHONY: maybe-pdf-recode pdf-recode
25051 maybe-pdf-recode:
25052 @if recode
25053 maybe-pdf-recode: pdf-recode
25055 pdf-recode: \
25056 configure-recode
25057 @: $(MAKE); $(unstage)
25058 @[ -f ./recode/Makefile ] || exit 0; \
25059 r=`${PWD_COMMAND}`; export r; \
25060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25061 $(HOST_EXPORTS) \
25062 for flag in $(EXTRA_HOST_FLAGS) ; do \
25063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25064 done; \
25065 echo "Doing pdf in recode" ; \
25066 (cd $(HOST_SUBDIR)/recode && \
25067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25069 "RANLIB=$${RANLIB}" \
25070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25071 pdf) \
25072 || exit 1
25074 @endif recode
25076 .PHONY: maybe-html-recode html-recode
25077 maybe-html-recode:
25078 @if recode
25079 maybe-html-recode: html-recode
25081 html-recode: \
25082 configure-recode
25083 @: $(MAKE); $(unstage)
25084 @[ -f ./recode/Makefile ] || exit 0; \
25085 r=`${PWD_COMMAND}`; export r; \
25086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25087 $(HOST_EXPORTS) \
25088 for flag in $(EXTRA_HOST_FLAGS) ; do \
25089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25090 done; \
25091 echo "Doing html in recode" ; \
25092 (cd $(HOST_SUBDIR)/recode && \
25093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25095 "RANLIB=$${RANLIB}" \
25096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25097 html) \
25098 || exit 1
25100 @endif recode
25102 .PHONY: maybe-TAGS-recode TAGS-recode
25103 maybe-TAGS-recode:
25104 @if recode
25105 maybe-TAGS-recode: TAGS-recode
25107 TAGS-recode: \
25108 configure-recode
25109 @: $(MAKE); $(unstage)
25110 @[ -f ./recode/Makefile ] || exit 0; \
25111 r=`${PWD_COMMAND}`; export r; \
25112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25113 $(HOST_EXPORTS) \
25114 for flag in $(EXTRA_HOST_FLAGS) ; do \
25115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25116 done; \
25117 echo "Doing TAGS in recode" ; \
25118 (cd $(HOST_SUBDIR)/recode && \
25119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25121 "RANLIB=$${RANLIB}" \
25122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25123 TAGS) \
25124 || exit 1
25126 @endif recode
25128 .PHONY: maybe-install-info-recode install-info-recode
25129 maybe-install-info-recode:
25130 @if recode
25131 maybe-install-info-recode: install-info-recode
25133 install-info-recode: \
25134 configure-recode \
25135 info-recode
25136 @: $(MAKE); $(unstage)
25137 @[ -f ./recode/Makefile ] || exit 0; \
25138 r=`${PWD_COMMAND}`; export r; \
25139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25140 $(HOST_EXPORTS) \
25141 for flag in $(EXTRA_HOST_FLAGS) ; do \
25142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25143 done; \
25144 echo "Doing install-info in recode" ; \
25145 (cd $(HOST_SUBDIR)/recode && \
25146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25148 "RANLIB=$${RANLIB}" \
25149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25150 install-info) \
25151 || exit 1
25153 @endif recode
25155 .PHONY: maybe-install-html-recode install-html-recode
25156 maybe-install-html-recode:
25157 @if recode
25158 maybe-install-html-recode: install-html-recode
25160 install-html-recode: \
25161 configure-recode \
25162 html-recode
25163 @: $(MAKE); $(unstage)
25164 @[ -f ./recode/Makefile ] || exit 0; \
25165 r=`${PWD_COMMAND}`; export r; \
25166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25167 $(HOST_EXPORTS) \
25168 for flag in $(EXTRA_HOST_FLAGS) ; do \
25169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25170 done; \
25171 echo "Doing install-html in recode" ; \
25172 (cd $(HOST_SUBDIR)/recode && \
25173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25175 "RANLIB=$${RANLIB}" \
25176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25177 install-html) \
25178 || exit 1
25180 @endif recode
25182 .PHONY: maybe-installcheck-recode installcheck-recode
25183 maybe-installcheck-recode:
25184 @if recode
25185 maybe-installcheck-recode: installcheck-recode
25187 installcheck-recode: \
25188 configure-recode
25189 @: $(MAKE); $(unstage)
25190 @[ -f ./recode/Makefile ] || exit 0; \
25191 r=`${PWD_COMMAND}`; export r; \
25192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25193 $(HOST_EXPORTS) \
25194 for flag in $(EXTRA_HOST_FLAGS) ; do \
25195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25196 done; \
25197 echo "Doing installcheck in recode" ; \
25198 (cd $(HOST_SUBDIR)/recode && \
25199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25201 "RANLIB=$${RANLIB}" \
25202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25203 installcheck) \
25204 || exit 1
25206 @endif recode
25208 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25209 maybe-mostlyclean-recode:
25210 @if recode
25211 maybe-mostlyclean-recode: mostlyclean-recode
25213 mostlyclean-recode:
25214 @: $(MAKE); $(unstage)
25215 @[ -f ./recode/Makefile ] || exit 0; \
25216 r=`${PWD_COMMAND}`; export r; \
25217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 $(HOST_EXPORTS) \
25219 for flag in $(EXTRA_HOST_FLAGS) ; do \
25220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25221 done; \
25222 echo "Doing mostlyclean in recode" ; \
25223 (cd $(HOST_SUBDIR)/recode && \
25224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25226 "RANLIB=$${RANLIB}" \
25227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25228 mostlyclean) \
25229 || exit 1
25231 @endif recode
25233 .PHONY: maybe-clean-recode clean-recode
25234 maybe-clean-recode:
25235 @if recode
25236 maybe-clean-recode: clean-recode
25238 clean-recode:
25239 @: $(MAKE); $(unstage)
25240 @[ -f ./recode/Makefile ] || exit 0; \
25241 r=`${PWD_COMMAND}`; export r; \
25242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25243 $(HOST_EXPORTS) \
25244 for flag in $(EXTRA_HOST_FLAGS) ; do \
25245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25246 done; \
25247 echo "Doing clean in recode" ; \
25248 (cd $(HOST_SUBDIR)/recode && \
25249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25251 "RANLIB=$${RANLIB}" \
25252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25253 clean) \
25254 || exit 1
25256 @endif recode
25258 .PHONY: maybe-distclean-recode distclean-recode
25259 maybe-distclean-recode:
25260 @if recode
25261 maybe-distclean-recode: distclean-recode
25263 distclean-recode:
25264 @: $(MAKE); $(unstage)
25265 @[ -f ./recode/Makefile ] || exit 0; \
25266 r=`${PWD_COMMAND}`; export r; \
25267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25268 $(HOST_EXPORTS) \
25269 for flag in $(EXTRA_HOST_FLAGS) ; do \
25270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25271 done; \
25272 echo "Doing distclean in recode" ; \
25273 (cd $(HOST_SUBDIR)/recode && \
25274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25276 "RANLIB=$${RANLIB}" \
25277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25278 distclean) \
25279 || exit 1
25281 @endif recode
25283 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25284 maybe-maintainer-clean-recode:
25285 @if recode
25286 maybe-maintainer-clean-recode: maintainer-clean-recode
25288 maintainer-clean-recode:
25289 @: $(MAKE); $(unstage)
25290 @[ -f ./recode/Makefile ] || exit 0; \
25291 r=`${PWD_COMMAND}`; export r; \
25292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25293 $(HOST_EXPORTS) \
25294 for flag in $(EXTRA_HOST_FLAGS) ; do \
25295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25296 done; \
25297 echo "Doing maintainer-clean in recode" ; \
25298 (cd $(HOST_SUBDIR)/recode && \
25299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25301 "RANLIB=$${RANLIB}" \
25302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25303 maintainer-clean) \
25304 || exit 1
25306 @endif recode
25310 .PHONY: configure-sed maybe-configure-sed
25311 maybe-configure-sed:
25312 @if gcc-bootstrap
25313 configure-sed: stage_current
25314 @endif gcc-bootstrap
25315 @if sed
25316 maybe-configure-sed: configure-sed
25317 configure-sed:
25318 @: $(MAKE); $(unstage)
25319 @r=`${PWD_COMMAND}`; export r; \
25320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25321 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25322 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25323 $(HOST_EXPORTS) \
25324 echo Configuring in $(HOST_SUBDIR)/sed; \
25325 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25326 case $(srcdir) in \
25327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25328 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25330 esac; \
25331 srcdiroption="--srcdir=$${topdir}/sed"; \
25332 libsrcdir="$$s/sed"; \
25333 $(SHELL) $${libsrcdir}/configure \
25334 $(HOST_CONFIGARGS) $${srcdiroption} \
25335 || exit 1
25336 @endif sed
25342 .PHONY: all-sed maybe-all-sed
25343 maybe-all-sed:
25344 @if gcc-bootstrap
25345 all-sed: stage_current
25346 @endif gcc-bootstrap
25347 @if sed
25348 TARGET-sed=all
25349 maybe-all-sed: all-sed
25350 all-sed: configure-sed
25351 @: $(MAKE); $(unstage)
25352 @r=`${PWD_COMMAND}`; export r; \
25353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25354 $(HOST_EXPORTS) \
25355 (cd $(HOST_SUBDIR)/sed && \
25356 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25357 @endif sed
25362 .PHONY: check-sed maybe-check-sed
25363 maybe-check-sed:
25364 @if sed
25365 maybe-check-sed: check-sed
25367 check-sed:
25368 @: $(MAKE); $(unstage)
25369 @r=`${PWD_COMMAND}`; export r; \
25370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25371 $(HOST_EXPORTS) \
25372 (cd $(HOST_SUBDIR)/sed && \
25373 $(MAKE) $(FLAGS_TO_PASS) check)
25375 @endif sed
25377 .PHONY: install-sed maybe-install-sed
25378 maybe-install-sed:
25379 @if sed
25380 maybe-install-sed: install-sed
25382 install-sed: installdirs
25383 @: $(MAKE); $(unstage)
25384 @r=`${PWD_COMMAND}`; export r; \
25385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25386 $(HOST_EXPORTS) \
25387 (cd $(HOST_SUBDIR)/sed && \
25388 $(MAKE) $(FLAGS_TO_PASS) install)
25390 @endif sed
25392 # Other targets (info, dvi, pdf, etc.)
25394 .PHONY: maybe-info-sed info-sed
25395 maybe-info-sed:
25396 @if sed
25397 maybe-info-sed: info-sed
25399 info-sed: \
25400 configure-sed
25401 @: $(MAKE); $(unstage)
25402 @[ -f ./sed/Makefile ] || exit 0; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25405 $(HOST_EXPORTS) \
25406 for flag in $(EXTRA_HOST_FLAGS) ; do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25408 done; \
25409 echo "Doing info in sed" ; \
25410 (cd $(HOST_SUBDIR)/sed && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25413 "RANLIB=$${RANLIB}" \
25414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25415 info) \
25416 || exit 1
25418 @endif sed
25420 .PHONY: maybe-dvi-sed dvi-sed
25421 maybe-dvi-sed:
25422 @if sed
25423 maybe-dvi-sed: dvi-sed
25425 dvi-sed: \
25426 configure-sed
25427 @: $(MAKE); $(unstage)
25428 @[ -f ./sed/Makefile ] || exit 0; \
25429 r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431 $(HOST_EXPORTS) \
25432 for flag in $(EXTRA_HOST_FLAGS) ; do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25434 done; \
25435 echo "Doing dvi in sed" ; \
25436 (cd $(HOST_SUBDIR)/sed && \
25437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25439 "RANLIB=$${RANLIB}" \
25440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25441 dvi) \
25442 || exit 1
25444 @endif sed
25446 .PHONY: maybe-pdf-sed pdf-sed
25447 maybe-pdf-sed:
25448 @if sed
25449 maybe-pdf-sed: pdf-sed
25451 pdf-sed: \
25452 configure-sed
25453 @: $(MAKE); $(unstage)
25454 @[ -f ./sed/Makefile ] || exit 0; \
25455 r=`${PWD_COMMAND}`; export r; \
25456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25457 $(HOST_EXPORTS) \
25458 for flag in $(EXTRA_HOST_FLAGS) ; do \
25459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25460 done; \
25461 echo "Doing pdf in sed" ; \
25462 (cd $(HOST_SUBDIR)/sed && \
25463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25465 "RANLIB=$${RANLIB}" \
25466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25467 pdf) \
25468 || exit 1
25470 @endif sed
25472 .PHONY: maybe-html-sed html-sed
25473 maybe-html-sed:
25474 @if sed
25475 maybe-html-sed: html-sed
25477 html-sed: \
25478 configure-sed
25479 @: $(MAKE); $(unstage)
25480 @[ -f ./sed/Makefile ] || exit 0; \
25481 r=`${PWD_COMMAND}`; export r; \
25482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25483 $(HOST_EXPORTS) \
25484 for flag in $(EXTRA_HOST_FLAGS) ; do \
25485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25486 done; \
25487 echo "Doing html in sed" ; \
25488 (cd $(HOST_SUBDIR)/sed && \
25489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25491 "RANLIB=$${RANLIB}" \
25492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25493 html) \
25494 || exit 1
25496 @endif sed
25498 .PHONY: maybe-TAGS-sed TAGS-sed
25499 maybe-TAGS-sed:
25500 @if sed
25501 maybe-TAGS-sed: TAGS-sed
25503 TAGS-sed: \
25504 configure-sed
25505 @: $(MAKE); $(unstage)
25506 @[ -f ./sed/Makefile ] || exit 0; \
25507 r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 $(HOST_EXPORTS) \
25510 for flag in $(EXTRA_HOST_FLAGS) ; do \
25511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25512 done; \
25513 echo "Doing TAGS in sed" ; \
25514 (cd $(HOST_SUBDIR)/sed && \
25515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25517 "RANLIB=$${RANLIB}" \
25518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25519 TAGS) \
25520 || exit 1
25522 @endif sed
25524 .PHONY: maybe-install-info-sed install-info-sed
25525 maybe-install-info-sed:
25526 @if sed
25527 maybe-install-info-sed: install-info-sed
25529 install-info-sed: \
25530 configure-sed \
25531 info-sed
25532 @: $(MAKE); $(unstage)
25533 @[ -f ./sed/Makefile ] || exit 0; \
25534 r=`${PWD_COMMAND}`; export r; \
25535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25536 $(HOST_EXPORTS) \
25537 for flag in $(EXTRA_HOST_FLAGS) ; do \
25538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25539 done; \
25540 echo "Doing install-info in sed" ; \
25541 (cd $(HOST_SUBDIR)/sed && \
25542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25544 "RANLIB=$${RANLIB}" \
25545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25546 install-info) \
25547 || exit 1
25549 @endif sed
25551 .PHONY: maybe-install-html-sed install-html-sed
25552 maybe-install-html-sed:
25553 @if sed
25554 maybe-install-html-sed: install-html-sed
25556 install-html-sed: \
25557 configure-sed \
25558 html-sed
25559 @: $(MAKE); $(unstage)
25560 @[ -f ./sed/Makefile ] || exit 0; \
25561 r=`${PWD_COMMAND}`; export r; \
25562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25563 $(HOST_EXPORTS) \
25564 for flag in $(EXTRA_HOST_FLAGS) ; do \
25565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25566 done; \
25567 echo "Doing install-html in sed" ; \
25568 (cd $(HOST_SUBDIR)/sed && \
25569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25571 "RANLIB=$${RANLIB}" \
25572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25573 install-html) \
25574 || exit 1
25576 @endif sed
25578 .PHONY: maybe-installcheck-sed installcheck-sed
25579 maybe-installcheck-sed:
25580 @if sed
25581 maybe-installcheck-sed: installcheck-sed
25583 installcheck-sed: \
25584 configure-sed
25585 @: $(MAKE); $(unstage)
25586 @[ -f ./sed/Makefile ] || exit 0; \
25587 r=`${PWD_COMMAND}`; export r; \
25588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25589 $(HOST_EXPORTS) \
25590 for flag in $(EXTRA_HOST_FLAGS) ; do \
25591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25592 done; \
25593 echo "Doing installcheck in sed" ; \
25594 (cd $(HOST_SUBDIR)/sed && \
25595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25597 "RANLIB=$${RANLIB}" \
25598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25599 installcheck) \
25600 || exit 1
25602 @endif sed
25604 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25605 maybe-mostlyclean-sed:
25606 @if sed
25607 maybe-mostlyclean-sed: mostlyclean-sed
25609 mostlyclean-sed:
25610 @: $(MAKE); $(unstage)
25611 @[ -f ./sed/Makefile ] || exit 0; \
25612 r=`${PWD_COMMAND}`; export r; \
25613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25614 $(HOST_EXPORTS) \
25615 for flag in $(EXTRA_HOST_FLAGS) ; do \
25616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25617 done; \
25618 echo "Doing mostlyclean in sed" ; \
25619 (cd $(HOST_SUBDIR)/sed && \
25620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25622 "RANLIB=$${RANLIB}" \
25623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25624 mostlyclean) \
25625 || exit 1
25627 @endif sed
25629 .PHONY: maybe-clean-sed clean-sed
25630 maybe-clean-sed:
25631 @if sed
25632 maybe-clean-sed: clean-sed
25634 clean-sed:
25635 @: $(MAKE); $(unstage)
25636 @[ -f ./sed/Makefile ] || exit 0; \
25637 r=`${PWD_COMMAND}`; export r; \
25638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25639 $(HOST_EXPORTS) \
25640 for flag in $(EXTRA_HOST_FLAGS) ; do \
25641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25642 done; \
25643 echo "Doing clean in sed" ; \
25644 (cd $(HOST_SUBDIR)/sed && \
25645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25647 "RANLIB=$${RANLIB}" \
25648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25649 clean) \
25650 || exit 1
25652 @endif sed
25654 .PHONY: maybe-distclean-sed distclean-sed
25655 maybe-distclean-sed:
25656 @if sed
25657 maybe-distclean-sed: distclean-sed
25659 distclean-sed:
25660 @: $(MAKE); $(unstage)
25661 @[ -f ./sed/Makefile ] || exit 0; \
25662 r=`${PWD_COMMAND}`; export r; \
25663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25664 $(HOST_EXPORTS) \
25665 for flag in $(EXTRA_HOST_FLAGS) ; do \
25666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25667 done; \
25668 echo "Doing distclean in sed" ; \
25669 (cd $(HOST_SUBDIR)/sed && \
25670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25672 "RANLIB=$${RANLIB}" \
25673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25674 distclean) \
25675 || exit 1
25677 @endif sed
25679 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25680 maybe-maintainer-clean-sed:
25681 @if sed
25682 maybe-maintainer-clean-sed: maintainer-clean-sed
25684 maintainer-clean-sed:
25685 @: $(MAKE); $(unstage)
25686 @[ -f ./sed/Makefile ] || exit 0; \
25687 r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(HOST_EXPORTS) \
25690 for flag in $(EXTRA_HOST_FLAGS) ; do \
25691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25692 done; \
25693 echo "Doing maintainer-clean in sed" ; \
25694 (cd $(HOST_SUBDIR)/sed && \
25695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25697 "RANLIB=$${RANLIB}" \
25698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25699 maintainer-clean) \
25700 || exit 1
25702 @endif sed
25706 .PHONY: configure-send-pr maybe-configure-send-pr
25707 maybe-configure-send-pr:
25708 @if gcc-bootstrap
25709 configure-send-pr: stage_current
25710 @endif gcc-bootstrap
25711 @if send-pr
25712 maybe-configure-send-pr: configure-send-pr
25713 configure-send-pr:
25714 @: $(MAKE); $(unstage)
25715 @r=`${PWD_COMMAND}`; export r; \
25716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25717 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25719 $(HOST_EXPORTS) \
25720 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25721 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25722 case $(srcdir) in \
25723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25724 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25726 esac; \
25727 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25728 libsrcdir="$$s/send-pr"; \
25729 $(SHELL) $${libsrcdir}/configure \
25730 $(HOST_CONFIGARGS) $${srcdiroption} \
25731 || exit 1
25732 @endif send-pr
25738 .PHONY: all-send-pr maybe-all-send-pr
25739 maybe-all-send-pr:
25740 @if gcc-bootstrap
25741 all-send-pr: stage_current
25742 @endif gcc-bootstrap
25743 @if send-pr
25744 TARGET-send-pr=all
25745 maybe-all-send-pr: all-send-pr
25746 all-send-pr: configure-send-pr
25747 @: $(MAKE); $(unstage)
25748 @r=`${PWD_COMMAND}`; export r; \
25749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25750 $(HOST_EXPORTS) \
25751 (cd $(HOST_SUBDIR)/send-pr && \
25752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25753 @endif send-pr
25758 .PHONY: check-send-pr maybe-check-send-pr
25759 maybe-check-send-pr:
25760 @if send-pr
25761 maybe-check-send-pr: check-send-pr
25763 check-send-pr:
25764 @: $(MAKE); $(unstage)
25765 @r=`${PWD_COMMAND}`; export r; \
25766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25767 $(HOST_EXPORTS) \
25768 (cd $(HOST_SUBDIR)/send-pr && \
25769 $(MAKE) $(FLAGS_TO_PASS) check)
25771 @endif send-pr
25773 .PHONY: install-send-pr maybe-install-send-pr
25774 maybe-install-send-pr:
25775 @if send-pr
25776 maybe-install-send-pr: install-send-pr
25778 install-send-pr: installdirs
25779 @: $(MAKE); $(unstage)
25780 @r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25782 $(HOST_EXPORTS) \
25783 (cd $(HOST_SUBDIR)/send-pr && \
25784 $(MAKE) $(FLAGS_TO_PASS) install)
25786 @endif send-pr
25788 # Other targets (info, dvi, pdf, etc.)
25790 .PHONY: maybe-info-send-pr info-send-pr
25791 maybe-info-send-pr:
25792 @if send-pr
25793 maybe-info-send-pr: info-send-pr
25795 info-send-pr: \
25796 configure-send-pr
25797 @: $(MAKE); $(unstage)
25798 @[ -f ./send-pr/Makefile ] || exit 0; \
25799 r=`${PWD_COMMAND}`; export r; \
25800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25801 $(HOST_EXPORTS) \
25802 for flag in $(EXTRA_HOST_FLAGS) ; do \
25803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25804 done; \
25805 echo "Doing info in send-pr" ; \
25806 (cd $(HOST_SUBDIR)/send-pr && \
25807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25809 "RANLIB=$${RANLIB}" \
25810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25811 info) \
25812 || exit 1
25814 @endif send-pr
25816 .PHONY: maybe-dvi-send-pr dvi-send-pr
25817 maybe-dvi-send-pr:
25818 @if send-pr
25819 maybe-dvi-send-pr: dvi-send-pr
25821 dvi-send-pr: \
25822 configure-send-pr
25823 @: $(MAKE); $(unstage)
25824 @[ -f ./send-pr/Makefile ] || exit 0; \
25825 r=`${PWD_COMMAND}`; export r; \
25826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25827 $(HOST_EXPORTS) \
25828 for flag in $(EXTRA_HOST_FLAGS) ; do \
25829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25830 done; \
25831 echo "Doing dvi in send-pr" ; \
25832 (cd $(HOST_SUBDIR)/send-pr && \
25833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25835 "RANLIB=$${RANLIB}" \
25836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25837 dvi) \
25838 || exit 1
25840 @endif send-pr
25842 .PHONY: maybe-pdf-send-pr pdf-send-pr
25843 maybe-pdf-send-pr:
25844 @if send-pr
25845 maybe-pdf-send-pr: pdf-send-pr
25847 pdf-send-pr: \
25848 configure-send-pr
25849 @: $(MAKE); $(unstage)
25850 @[ -f ./send-pr/Makefile ] || exit 0; \
25851 r=`${PWD_COMMAND}`; export r; \
25852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25853 $(HOST_EXPORTS) \
25854 for flag in $(EXTRA_HOST_FLAGS) ; do \
25855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25856 done; \
25857 echo "Doing pdf in send-pr" ; \
25858 (cd $(HOST_SUBDIR)/send-pr && \
25859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25861 "RANLIB=$${RANLIB}" \
25862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25863 pdf) \
25864 || exit 1
25866 @endif send-pr
25868 .PHONY: maybe-html-send-pr html-send-pr
25869 maybe-html-send-pr:
25870 @if send-pr
25871 maybe-html-send-pr: html-send-pr
25873 html-send-pr: \
25874 configure-send-pr
25875 @: $(MAKE); $(unstage)
25876 @[ -f ./send-pr/Makefile ] || exit 0; \
25877 r=`${PWD_COMMAND}`; export r; \
25878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25879 $(HOST_EXPORTS) \
25880 for flag in $(EXTRA_HOST_FLAGS) ; do \
25881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25882 done; \
25883 echo "Doing html in send-pr" ; \
25884 (cd $(HOST_SUBDIR)/send-pr && \
25885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25887 "RANLIB=$${RANLIB}" \
25888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25889 html) \
25890 || exit 1
25892 @endif send-pr
25894 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25895 maybe-TAGS-send-pr:
25896 @if send-pr
25897 maybe-TAGS-send-pr: TAGS-send-pr
25899 TAGS-send-pr: \
25900 configure-send-pr
25901 @: $(MAKE); $(unstage)
25902 @[ -f ./send-pr/Makefile ] || exit 0; \
25903 r=`${PWD_COMMAND}`; export r; \
25904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25905 $(HOST_EXPORTS) \
25906 for flag in $(EXTRA_HOST_FLAGS) ; do \
25907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25908 done; \
25909 echo "Doing TAGS in send-pr" ; \
25910 (cd $(HOST_SUBDIR)/send-pr && \
25911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25913 "RANLIB=$${RANLIB}" \
25914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25915 TAGS) \
25916 || exit 1
25918 @endif send-pr
25920 .PHONY: maybe-install-info-send-pr install-info-send-pr
25921 maybe-install-info-send-pr:
25922 @if send-pr
25923 maybe-install-info-send-pr: install-info-send-pr
25925 install-info-send-pr: \
25926 configure-send-pr \
25927 info-send-pr
25928 @: $(MAKE); $(unstage)
25929 @[ -f ./send-pr/Makefile ] || exit 0; \
25930 r=`${PWD_COMMAND}`; export r; \
25931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25932 $(HOST_EXPORTS) \
25933 for flag in $(EXTRA_HOST_FLAGS) ; do \
25934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25935 done; \
25936 echo "Doing install-info in send-pr" ; \
25937 (cd $(HOST_SUBDIR)/send-pr && \
25938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25940 "RANLIB=$${RANLIB}" \
25941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25942 install-info) \
25943 || exit 1
25945 @endif send-pr
25947 .PHONY: maybe-install-html-send-pr install-html-send-pr
25948 maybe-install-html-send-pr:
25949 @if send-pr
25950 maybe-install-html-send-pr: install-html-send-pr
25952 install-html-send-pr: \
25953 configure-send-pr \
25954 html-send-pr
25955 @: $(MAKE); $(unstage)
25956 @[ -f ./send-pr/Makefile ] || exit 0; \
25957 r=`${PWD_COMMAND}`; export r; \
25958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25959 $(HOST_EXPORTS) \
25960 for flag in $(EXTRA_HOST_FLAGS) ; do \
25961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25962 done; \
25963 echo "Doing install-html in send-pr" ; \
25964 (cd $(HOST_SUBDIR)/send-pr && \
25965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25967 "RANLIB=$${RANLIB}" \
25968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25969 install-html) \
25970 || exit 1
25972 @endif send-pr
25974 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
25975 maybe-installcheck-send-pr:
25976 @if send-pr
25977 maybe-installcheck-send-pr: installcheck-send-pr
25979 installcheck-send-pr: \
25980 configure-send-pr
25981 @: $(MAKE); $(unstage)
25982 @[ -f ./send-pr/Makefile ] || exit 0; \
25983 r=`${PWD_COMMAND}`; export r; \
25984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25985 $(HOST_EXPORTS) \
25986 for flag in $(EXTRA_HOST_FLAGS) ; do \
25987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25988 done; \
25989 echo "Doing installcheck in send-pr" ; \
25990 (cd $(HOST_SUBDIR)/send-pr && \
25991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25993 "RANLIB=$${RANLIB}" \
25994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25995 installcheck) \
25996 || exit 1
25998 @endif send-pr
26000 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
26001 maybe-mostlyclean-send-pr:
26002 @if send-pr
26003 maybe-mostlyclean-send-pr: mostlyclean-send-pr
26005 mostlyclean-send-pr:
26006 @: $(MAKE); $(unstage)
26007 @[ -f ./send-pr/Makefile ] || exit 0; \
26008 r=`${PWD_COMMAND}`; export r; \
26009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26010 $(HOST_EXPORTS) \
26011 for flag in $(EXTRA_HOST_FLAGS) ; do \
26012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26013 done; \
26014 echo "Doing mostlyclean in send-pr" ; \
26015 (cd $(HOST_SUBDIR)/send-pr && \
26016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26018 "RANLIB=$${RANLIB}" \
26019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26020 mostlyclean) \
26021 || exit 1
26023 @endif send-pr
26025 .PHONY: maybe-clean-send-pr clean-send-pr
26026 maybe-clean-send-pr:
26027 @if send-pr
26028 maybe-clean-send-pr: clean-send-pr
26030 clean-send-pr:
26031 @: $(MAKE); $(unstage)
26032 @[ -f ./send-pr/Makefile ] || exit 0; \
26033 r=`${PWD_COMMAND}`; export r; \
26034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26035 $(HOST_EXPORTS) \
26036 for flag in $(EXTRA_HOST_FLAGS) ; do \
26037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26038 done; \
26039 echo "Doing clean in send-pr" ; \
26040 (cd $(HOST_SUBDIR)/send-pr && \
26041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26043 "RANLIB=$${RANLIB}" \
26044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26045 clean) \
26046 || exit 1
26048 @endif send-pr
26050 .PHONY: maybe-distclean-send-pr distclean-send-pr
26051 maybe-distclean-send-pr:
26052 @if send-pr
26053 maybe-distclean-send-pr: distclean-send-pr
26055 distclean-send-pr:
26056 @: $(MAKE); $(unstage)
26057 @[ -f ./send-pr/Makefile ] || exit 0; \
26058 r=`${PWD_COMMAND}`; export r; \
26059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26060 $(HOST_EXPORTS) \
26061 for flag in $(EXTRA_HOST_FLAGS) ; do \
26062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26063 done; \
26064 echo "Doing distclean in send-pr" ; \
26065 (cd $(HOST_SUBDIR)/send-pr && \
26066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26068 "RANLIB=$${RANLIB}" \
26069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26070 distclean) \
26071 || exit 1
26073 @endif send-pr
26075 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
26076 maybe-maintainer-clean-send-pr:
26077 @if send-pr
26078 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
26080 maintainer-clean-send-pr:
26081 @: $(MAKE); $(unstage)
26082 @[ -f ./send-pr/Makefile ] || exit 0; \
26083 r=`${PWD_COMMAND}`; export r; \
26084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26085 $(HOST_EXPORTS) \
26086 for flag in $(EXTRA_HOST_FLAGS) ; do \
26087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26088 done; \
26089 echo "Doing maintainer-clean in send-pr" ; \
26090 (cd $(HOST_SUBDIR)/send-pr && \
26091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26093 "RANLIB=$${RANLIB}" \
26094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26095 maintainer-clean) \
26096 || exit 1
26098 @endif send-pr
26102 .PHONY: configure-shellutils maybe-configure-shellutils
26103 maybe-configure-shellutils:
26104 @if gcc-bootstrap
26105 configure-shellutils: stage_current
26106 @endif gcc-bootstrap
26107 @if shellutils
26108 maybe-configure-shellutils: configure-shellutils
26109 configure-shellutils:
26110 @: $(MAKE); $(unstage)
26111 @r=`${PWD_COMMAND}`; export r; \
26112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
26114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
26115 $(HOST_EXPORTS) \
26116 echo Configuring in $(HOST_SUBDIR)/shellutils; \
26117 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
26118 case $(srcdir) in \
26119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26120 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
26121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26122 esac; \
26123 srcdiroption="--srcdir=$${topdir}/shellutils"; \
26124 libsrcdir="$$s/shellutils"; \
26125 $(SHELL) $${libsrcdir}/configure \
26126 $(HOST_CONFIGARGS) $${srcdiroption} \
26127 || exit 1
26128 @endif shellutils
26134 .PHONY: all-shellutils maybe-all-shellutils
26135 maybe-all-shellutils:
26136 @if gcc-bootstrap
26137 all-shellutils: stage_current
26138 @endif gcc-bootstrap
26139 @if shellutils
26140 TARGET-shellutils=all
26141 maybe-all-shellutils: all-shellutils
26142 all-shellutils: configure-shellutils
26143 @: $(MAKE); $(unstage)
26144 @r=`${PWD_COMMAND}`; export r; \
26145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26146 $(HOST_EXPORTS) \
26147 (cd $(HOST_SUBDIR)/shellutils && \
26148 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
26149 @endif shellutils
26154 .PHONY: check-shellutils maybe-check-shellutils
26155 maybe-check-shellutils:
26156 @if shellutils
26157 maybe-check-shellutils: check-shellutils
26159 check-shellutils:
26160 @: $(MAKE); $(unstage)
26161 @r=`${PWD_COMMAND}`; export r; \
26162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26163 $(HOST_EXPORTS) \
26164 (cd $(HOST_SUBDIR)/shellutils && \
26165 $(MAKE) $(FLAGS_TO_PASS) check)
26167 @endif shellutils
26169 .PHONY: install-shellutils maybe-install-shellutils
26170 maybe-install-shellutils:
26171 @if shellutils
26172 maybe-install-shellutils: install-shellutils
26174 install-shellutils: installdirs
26175 @: $(MAKE); $(unstage)
26176 @r=`${PWD_COMMAND}`; export r; \
26177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26178 $(HOST_EXPORTS) \
26179 (cd $(HOST_SUBDIR)/shellutils && \
26180 $(MAKE) $(FLAGS_TO_PASS) install)
26182 @endif shellutils
26184 # Other targets (info, dvi, pdf, etc.)
26186 .PHONY: maybe-info-shellutils info-shellutils
26187 maybe-info-shellutils:
26188 @if shellutils
26189 maybe-info-shellutils: info-shellutils
26191 info-shellutils: \
26192 configure-shellutils
26193 @: $(MAKE); $(unstage)
26194 @[ -f ./shellutils/Makefile ] || exit 0; \
26195 r=`${PWD_COMMAND}`; export r; \
26196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(HOST_EXPORTS) \
26198 for flag in $(EXTRA_HOST_FLAGS) ; do \
26199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26200 done; \
26201 echo "Doing info in shellutils" ; \
26202 (cd $(HOST_SUBDIR)/shellutils && \
26203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26205 "RANLIB=$${RANLIB}" \
26206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26207 info) \
26208 || exit 1
26210 @endif shellutils
26212 .PHONY: maybe-dvi-shellutils dvi-shellutils
26213 maybe-dvi-shellutils:
26214 @if shellutils
26215 maybe-dvi-shellutils: dvi-shellutils
26217 dvi-shellutils: \
26218 configure-shellutils
26219 @: $(MAKE); $(unstage)
26220 @[ -f ./shellutils/Makefile ] || exit 0; \
26221 r=`${PWD_COMMAND}`; export r; \
26222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26223 $(HOST_EXPORTS) \
26224 for flag in $(EXTRA_HOST_FLAGS) ; do \
26225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26226 done; \
26227 echo "Doing dvi in shellutils" ; \
26228 (cd $(HOST_SUBDIR)/shellutils && \
26229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26231 "RANLIB=$${RANLIB}" \
26232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26233 dvi) \
26234 || exit 1
26236 @endif shellutils
26238 .PHONY: maybe-pdf-shellutils pdf-shellutils
26239 maybe-pdf-shellutils:
26240 @if shellutils
26241 maybe-pdf-shellutils: pdf-shellutils
26243 pdf-shellutils: \
26244 configure-shellutils
26245 @: $(MAKE); $(unstage)
26246 @[ -f ./shellutils/Makefile ] || exit 0; \
26247 r=`${PWD_COMMAND}`; export r; \
26248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26249 $(HOST_EXPORTS) \
26250 for flag in $(EXTRA_HOST_FLAGS) ; do \
26251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26252 done; \
26253 echo "Doing pdf in shellutils" ; \
26254 (cd $(HOST_SUBDIR)/shellutils && \
26255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26257 "RANLIB=$${RANLIB}" \
26258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26259 pdf) \
26260 || exit 1
26262 @endif shellutils
26264 .PHONY: maybe-html-shellutils html-shellutils
26265 maybe-html-shellutils:
26266 @if shellutils
26267 maybe-html-shellutils: html-shellutils
26269 html-shellutils: \
26270 configure-shellutils
26271 @: $(MAKE); $(unstage)
26272 @[ -f ./shellutils/Makefile ] || exit 0; \
26273 r=`${PWD_COMMAND}`; export r; \
26274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26275 $(HOST_EXPORTS) \
26276 for flag in $(EXTRA_HOST_FLAGS) ; do \
26277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26278 done; \
26279 echo "Doing html in shellutils" ; \
26280 (cd $(HOST_SUBDIR)/shellutils && \
26281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26283 "RANLIB=$${RANLIB}" \
26284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26285 html) \
26286 || exit 1
26288 @endif shellutils
26290 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26291 maybe-TAGS-shellutils:
26292 @if shellutils
26293 maybe-TAGS-shellutils: TAGS-shellutils
26295 TAGS-shellutils: \
26296 configure-shellutils
26297 @: $(MAKE); $(unstage)
26298 @[ -f ./shellutils/Makefile ] || exit 0; \
26299 r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 $(HOST_EXPORTS) \
26302 for flag in $(EXTRA_HOST_FLAGS) ; do \
26303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26304 done; \
26305 echo "Doing TAGS in shellutils" ; \
26306 (cd $(HOST_SUBDIR)/shellutils && \
26307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26309 "RANLIB=$${RANLIB}" \
26310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26311 TAGS) \
26312 || exit 1
26314 @endif shellutils
26316 .PHONY: maybe-install-info-shellutils install-info-shellutils
26317 maybe-install-info-shellutils:
26318 @if shellutils
26319 maybe-install-info-shellutils: install-info-shellutils
26321 install-info-shellutils: \
26322 configure-shellutils \
26323 info-shellutils
26324 @: $(MAKE); $(unstage)
26325 @[ -f ./shellutils/Makefile ] || exit 0; \
26326 r=`${PWD_COMMAND}`; export r; \
26327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26328 $(HOST_EXPORTS) \
26329 for flag in $(EXTRA_HOST_FLAGS) ; do \
26330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26331 done; \
26332 echo "Doing install-info in shellutils" ; \
26333 (cd $(HOST_SUBDIR)/shellutils && \
26334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26336 "RANLIB=$${RANLIB}" \
26337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26338 install-info) \
26339 || exit 1
26341 @endif shellutils
26343 .PHONY: maybe-install-html-shellutils install-html-shellutils
26344 maybe-install-html-shellutils:
26345 @if shellutils
26346 maybe-install-html-shellutils: install-html-shellutils
26348 install-html-shellutils: \
26349 configure-shellutils \
26350 html-shellutils
26351 @: $(MAKE); $(unstage)
26352 @[ -f ./shellutils/Makefile ] || exit 0; \
26353 r=`${PWD_COMMAND}`; export r; \
26354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26355 $(HOST_EXPORTS) \
26356 for flag in $(EXTRA_HOST_FLAGS) ; do \
26357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26358 done; \
26359 echo "Doing install-html in shellutils" ; \
26360 (cd $(HOST_SUBDIR)/shellutils && \
26361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26363 "RANLIB=$${RANLIB}" \
26364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26365 install-html) \
26366 || exit 1
26368 @endif shellutils
26370 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26371 maybe-installcheck-shellutils:
26372 @if shellutils
26373 maybe-installcheck-shellutils: installcheck-shellutils
26375 installcheck-shellutils: \
26376 configure-shellutils
26377 @: $(MAKE); $(unstage)
26378 @[ -f ./shellutils/Makefile ] || exit 0; \
26379 r=`${PWD_COMMAND}`; export r; \
26380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26381 $(HOST_EXPORTS) \
26382 for flag in $(EXTRA_HOST_FLAGS) ; do \
26383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26384 done; \
26385 echo "Doing installcheck in shellutils" ; \
26386 (cd $(HOST_SUBDIR)/shellutils && \
26387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26389 "RANLIB=$${RANLIB}" \
26390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26391 installcheck) \
26392 || exit 1
26394 @endif shellutils
26396 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26397 maybe-mostlyclean-shellutils:
26398 @if shellutils
26399 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26401 mostlyclean-shellutils:
26402 @: $(MAKE); $(unstage)
26403 @[ -f ./shellutils/Makefile ] || exit 0; \
26404 r=`${PWD_COMMAND}`; export r; \
26405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26406 $(HOST_EXPORTS) \
26407 for flag in $(EXTRA_HOST_FLAGS) ; do \
26408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26409 done; \
26410 echo "Doing mostlyclean in shellutils" ; \
26411 (cd $(HOST_SUBDIR)/shellutils && \
26412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26414 "RANLIB=$${RANLIB}" \
26415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26416 mostlyclean) \
26417 || exit 1
26419 @endif shellutils
26421 .PHONY: maybe-clean-shellutils clean-shellutils
26422 maybe-clean-shellutils:
26423 @if shellutils
26424 maybe-clean-shellutils: clean-shellutils
26426 clean-shellutils:
26427 @: $(MAKE); $(unstage)
26428 @[ -f ./shellutils/Makefile ] || exit 0; \
26429 r=`${PWD_COMMAND}`; export r; \
26430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26431 $(HOST_EXPORTS) \
26432 for flag in $(EXTRA_HOST_FLAGS) ; do \
26433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26434 done; \
26435 echo "Doing clean in shellutils" ; \
26436 (cd $(HOST_SUBDIR)/shellutils && \
26437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26439 "RANLIB=$${RANLIB}" \
26440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26441 clean) \
26442 || exit 1
26444 @endif shellutils
26446 .PHONY: maybe-distclean-shellutils distclean-shellutils
26447 maybe-distclean-shellutils:
26448 @if shellutils
26449 maybe-distclean-shellutils: distclean-shellutils
26451 distclean-shellutils:
26452 @: $(MAKE); $(unstage)
26453 @[ -f ./shellutils/Makefile ] || exit 0; \
26454 r=`${PWD_COMMAND}`; export r; \
26455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26456 $(HOST_EXPORTS) \
26457 for flag in $(EXTRA_HOST_FLAGS) ; do \
26458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26459 done; \
26460 echo "Doing distclean in shellutils" ; \
26461 (cd $(HOST_SUBDIR)/shellutils && \
26462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26464 "RANLIB=$${RANLIB}" \
26465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26466 distclean) \
26467 || exit 1
26469 @endif shellutils
26471 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26472 maybe-maintainer-clean-shellutils:
26473 @if shellutils
26474 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26476 maintainer-clean-shellutils:
26477 @: $(MAKE); $(unstage)
26478 @[ -f ./shellutils/Makefile ] || exit 0; \
26479 r=`${PWD_COMMAND}`; export r; \
26480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26481 $(HOST_EXPORTS) \
26482 for flag in $(EXTRA_HOST_FLAGS) ; do \
26483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26484 done; \
26485 echo "Doing maintainer-clean in shellutils" ; \
26486 (cd $(HOST_SUBDIR)/shellutils && \
26487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26489 "RANLIB=$${RANLIB}" \
26490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26491 maintainer-clean) \
26492 || exit 1
26494 @endif shellutils
26498 .PHONY: configure-sid maybe-configure-sid
26499 maybe-configure-sid:
26500 @if gcc-bootstrap
26501 configure-sid: stage_current
26502 @endif gcc-bootstrap
26503 @if sid
26504 maybe-configure-sid: configure-sid
26505 configure-sid:
26506 @: $(MAKE); $(unstage)
26507 @r=`${PWD_COMMAND}`; export r; \
26508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26509 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26511 $(HOST_EXPORTS) \
26512 echo Configuring in $(HOST_SUBDIR)/sid; \
26513 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26514 case $(srcdir) in \
26515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26516 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26518 esac; \
26519 srcdiroption="--srcdir=$${topdir}/sid"; \
26520 libsrcdir="$$s/sid"; \
26521 $(SHELL) $${libsrcdir}/configure \
26522 $(HOST_CONFIGARGS) $${srcdiroption} \
26523 || exit 1
26524 @endif sid
26530 .PHONY: all-sid maybe-all-sid
26531 maybe-all-sid:
26532 @if gcc-bootstrap
26533 all-sid: stage_current
26534 @endif gcc-bootstrap
26535 @if sid
26536 TARGET-sid=all
26537 maybe-all-sid: all-sid
26538 all-sid: configure-sid
26539 @: $(MAKE); $(unstage)
26540 @r=`${PWD_COMMAND}`; export r; \
26541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 $(HOST_EXPORTS) \
26543 (cd $(HOST_SUBDIR)/sid && \
26544 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26545 @endif sid
26550 .PHONY: check-sid maybe-check-sid
26551 maybe-check-sid:
26552 @if sid
26553 maybe-check-sid: check-sid
26555 check-sid:
26556 @: $(MAKE); $(unstage)
26557 @r=`${PWD_COMMAND}`; export r; \
26558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26559 $(HOST_EXPORTS) \
26560 (cd $(HOST_SUBDIR)/sid && \
26561 $(MAKE) $(FLAGS_TO_PASS) check)
26563 @endif sid
26565 .PHONY: install-sid maybe-install-sid
26566 maybe-install-sid:
26567 @if sid
26568 maybe-install-sid: install-sid
26570 install-sid: installdirs
26571 @: $(MAKE); $(unstage)
26572 @r=`${PWD_COMMAND}`; export r; \
26573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26574 $(HOST_EXPORTS) \
26575 (cd $(HOST_SUBDIR)/sid && \
26576 $(MAKE) $(FLAGS_TO_PASS) install)
26578 @endif sid
26580 # Other targets (info, dvi, pdf, etc.)
26582 .PHONY: maybe-info-sid info-sid
26583 maybe-info-sid:
26584 @if sid
26585 maybe-info-sid: info-sid
26587 info-sid: \
26588 configure-sid
26589 @: $(MAKE); $(unstage)
26590 @[ -f ./sid/Makefile ] || exit 0; \
26591 r=`${PWD_COMMAND}`; export r; \
26592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26593 $(HOST_EXPORTS) \
26594 for flag in $(EXTRA_HOST_FLAGS) ; do \
26595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26596 done; \
26597 echo "Doing info in sid" ; \
26598 (cd $(HOST_SUBDIR)/sid && \
26599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26601 "RANLIB=$${RANLIB}" \
26602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26603 info) \
26604 || exit 1
26606 @endif sid
26608 .PHONY: maybe-dvi-sid dvi-sid
26609 maybe-dvi-sid:
26610 @if sid
26611 maybe-dvi-sid: dvi-sid
26613 dvi-sid: \
26614 configure-sid
26615 @: $(MAKE); $(unstage)
26616 @[ -f ./sid/Makefile ] || exit 0; \
26617 r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(HOST_EXPORTS) \
26620 for flag in $(EXTRA_HOST_FLAGS) ; do \
26621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26622 done; \
26623 echo "Doing dvi in sid" ; \
26624 (cd $(HOST_SUBDIR)/sid && \
26625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26627 "RANLIB=$${RANLIB}" \
26628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26629 dvi) \
26630 || exit 1
26632 @endif sid
26634 .PHONY: maybe-pdf-sid pdf-sid
26635 maybe-pdf-sid:
26636 @if sid
26637 maybe-pdf-sid: pdf-sid
26639 pdf-sid: \
26640 configure-sid
26641 @: $(MAKE); $(unstage)
26642 @[ -f ./sid/Makefile ] || exit 0; \
26643 r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(HOST_EXPORTS) \
26646 for flag in $(EXTRA_HOST_FLAGS) ; do \
26647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26648 done; \
26649 echo "Doing pdf in sid" ; \
26650 (cd $(HOST_SUBDIR)/sid && \
26651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26653 "RANLIB=$${RANLIB}" \
26654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26655 pdf) \
26656 || exit 1
26658 @endif sid
26660 .PHONY: maybe-html-sid html-sid
26661 maybe-html-sid:
26662 @if sid
26663 maybe-html-sid: html-sid
26665 html-sid: \
26666 configure-sid
26667 @: $(MAKE); $(unstage)
26668 @[ -f ./sid/Makefile ] || exit 0; \
26669 r=`${PWD_COMMAND}`; export r; \
26670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26671 $(HOST_EXPORTS) \
26672 for flag in $(EXTRA_HOST_FLAGS) ; do \
26673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26674 done; \
26675 echo "Doing html in sid" ; \
26676 (cd $(HOST_SUBDIR)/sid && \
26677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26679 "RANLIB=$${RANLIB}" \
26680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26681 html) \
26682 || exit 1
26684 @endif sid
26686 .PHONY: maybe-TAGS-sid TAGS-sid
26687 maybe-TAGS-sid:
26688 @if sid
26689 maybe-TAGS-sid: TAGS-sid
26691 TAGS-sid: \
26692 configure-sid
26693 @: $(MAKE); $(unstage)
26694 @[ -f ./sid/Makefile ] || exit 0; \
26695 r=`${PWD_COMMAND}`; export r; \
26696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26697 $(HOST_EXPORTS) \
26698 for flag in $(EXTRA_HOST_FLAGS) ; do \
26699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 done; \
26701 echo "Doing TAGS in sid" ; \
26702 (cd $(HOST_SUBDIR)/sid && \
26703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26705 "RANLIB=$${RANLIB}" \
26706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26707 TAGS) \
26708 || exit 1
26710 @endif sid
26712 .PHONY: maybe-install-info-sid install-info-sid
26713 maybe-install-info-sid:
26714 @if sid
26715 maybe-install-info-sid: install-info-sid
26717 install-info-sid: \
26718 configure-sid \
26719 info-sid
26720 @: $(MAKE); $(unstage)
26721 @[ -f ./sid/Makefile ] || exit 0; \
26722 r=`${PWD_COMMAND}`; export r; \
26723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26724 $(HOST_EXPORTS) \
26725 for flag in $(EXTRA_HOST_FLAGS) ; do \
26726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26727 done; \
26728 echo "Doing install-info in sid" ; \
26729 (cd $(HOST_SUBDIR)/sid && \
26730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26732 "RANLIB=$${RANLIB}" \
26733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26734 install-info) \
26735 || exit 1
26737 @endif sid
26739 .PHONY: maybe-install-html-sid install-html-sid
26740 maybe-install-html-sid:
26741 @if sid
26742 maybe-install-html-sid: install-html-sid
26744 install-html-sid: \
26745 configure-sid \
26746 html-sid
26747 @: $(MAKE); $(unstage)
26748 @[ -f ./sid/Makefile ] || exit 0; \
26749 r=`${PWD_COMMAND}`; export r; \
26750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26751 $(HOST_EXPORTS) \
26752 for flag in $(EXTRA_HOST_FLAGS) ; do \
26753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26754 done; \
26755 echo "Doing install-html in sid" ; \
26756 (cd $(HOST_SUBDIR)/sid && \
26757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26759 "RANLIB=$${RANLIB}" \
26760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26761 install-html) \
26762 || exit 1
26764 @endif sid
26766 .PHONY: maybe-installcheck-sid installcheck-sid
26767 maybe-installcheck-sid:
26768 @if sid
26769 maybe-installcheck-sid: installcheck-sid
26771 installcheck-sid: \
26772 configure-sid
26773 @: $(MAKE); $(unstage)
26774 @[ -f ./sid/Makefile ] || exit 0; \
26775 r=`${PWD_COMMAND}`; export r; \
26776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26777 $(HOST_EXPORTS) \
26778 for flag in $(EXTRA_HOST_FLAGS) ; do \
26779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26780 done; \
26781 echo "Doing installcheck in sid" ; \
26782 (cd $(HOST_SUBDIR)/sid && \
26783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26785 "RANLIB=$${RANLIB}" \
26786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26787 installcheck) \
26788 || exit 1
26790 @endif sid
26792 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26793 maybe-mostlyclean-sid:
26794 @if sid
26795 maybe-mostlyclean-sid: mostlyclean-sid
26797 mostlyclean-sid:
26798 @: $(MAKE); $(unstage)
26799 @[ -f ./sid/Makefile ] || exit 0; \
26800 r=`${PWD_COMMAND}`; export r; \
26801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26802 $(HOST_EXPORTS) \
26803 for flag in $(EXTRA_HOST_FLAGS) ; do \
26804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26805 done; \
26806 echo "Doing mostlyclean in sid" ; \
26807 (cd $(HOST_SUBDIR)/sid && \
26808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26810 "RANLIB=$${RANLIB}" \
26811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26812 mostlyclean) \
26813 || exit 1
26815 @endif sid
26817 .PHONY: maybe-clean-sid clean-sid
26818 maybe-clean-sid:
26819 @if sid
26820 maybe-clean-sid: clean-sid
26822 clean-sid:
26823 @: $(MAKE); $(unstage)
26824 @[ -f ./sid/Makefile ] || exit 0; \
26825 r=`${PWD_COMMAND}`; export r; \
26826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26827 $(HOST_EXPORTS) \
26828 for flag in $(EXTRA_HOST_FLAGS) ; do \
26829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26830 done; \
26831 echo "Doing clean in sid" ; \
26832 (cd $(HOST_SUBDIR)/sid && \
26833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26835 "RANLIB=$${RANLIB}" \
26836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26837 clean) \
26838 || exit 1
26840 @endif sid
26842 .PHONY: maybe-distclean-sid distclean-sid
26843 maybe-distclean-sid:
26844 @if sid
26845 maybe-distclean-sid: distclean-sid
26847 distclean-sid:
26848 @: $(MAKE); $(unstage)
26849 @[ -f ./sid/Makefile ] || exit 0; \
26850 r=`${PWD_COMMAND}`; export r; \
26851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26852 $(HOST_EXPORTS) \
26853 for flag in $(EXTRA_HOST_FLAGS) ; do \
26854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26855 done; \
26856 echo "Doing distclean in sid" ; \
26857 (cd $(HOST_SUBDIR)/sid && \
26858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26860 "RANLIB=$${RANLIB}" \
26861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26862 distclean) \
26863 || exit 1
26865 @endif sid
26867 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26868 maybe-maintainer-clean-sid:
26869 @if sid
26870 maybe-maintainer-clean-sid: maintainer-clean-sid
26872 maintainer-clean-sid:
26873 @: $(MAKE); $(unstage)
26874 @[ -f ./sid/Makefile ] || exit 0; \
26875 r=`${PWD_COMMAND}`; export r; \
26876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26877 $(HOST_EXPORTS) \
26878 for flag in $(EXTRA_HOST_FLAGS) ; do \
26879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26880 done; \
26881 echo "Doing maintainer-clean in sid" ; \
26882 (cd $(HOST_SUBDIR)/sid && \
26883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26885 "RANLIB=$${RANLIB}" \
26886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26887 maintainer-clean) \
26888 || exit 1
26890 @endif sid
26894 .PHONY: configure-sim maybe-configure-sim
26895 maybe-configure-sim:
26896 @if gcc-bootstrap
26897 configure-sim: stage_current
26898 @endif gcc-bootstrap
26899 @if sim
26900 maybe-configure-sim: configure-sim
26901 configure-sim:
26902 @: $(MAKE); $(unstage)
26903 @r=`${PWD_COMMAND}`; export r; \
26904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26905 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26907 $(HOST_EXPORTS) \
26908 echo Configuring in $(HOST_SUBDIR)/sim; \
26909 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26910 case $(srcdir) in \
26911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26912 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26914 esac; \
26915 srcdiroption="--srcdir=$${topdir}/sim"; \
26916 libsrcdir="$$s/sim"; \
26917 $(SHELL) $${libsrcdir}/configure \
26918 $(HOST_CONFIGARGS) $${srcdiroption} \
26919 || exit 1
26920 @endif sim
26926 .PHONY: all-sim maybe-all-sim
26927 maybe-all-sim:
26928 @if gcc-bootstrap
26929 all-sim: stage_current
26930 @endif gcc-bootstrap
26931 @if sim
26932 TARGET-sim=all
26933 maybe-all-sim: all-sim
26934 all-sim: configure-sim
26935 @: $(MAKE); $(unstage)
26936 @r=`${PWD_COMMAND}`; export r; \
26937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26938 $(HOST_EXPORTS) \
26939 (cd $(HOST_SUBDIR)/sim && \
26940 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26941 @endif sim
26946 .PHONY: check-sim maybe-check-sim
26947 maybe-check-sim:
26948 @if sim
26949 maybe-check-sim: check-sim
26951 check-sim:
26952 @: $(MAKE); $(unstage)
26953 @r=`${PWD_COMMAND}`; export r; \
26954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26955 $(HOST_EXPORTS) \
26956 (cd $(HOST_SUBDIR)/sim && \
26957 $(MAKE) $(FLAGS_TO_PASS) check)
26959 @endif sim
26961 .PHONY: install-sim maybe-install-sim
26962 maybe-install-sim:
26963 @if sim
26964 maybe-install-sim: install-sim
26966 install-sim: installdirs
26967 @: $(MAKE); $(unstage)
26968 @r=`${PWD_COMMAND}`; export r; \
26969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970 $(HOST_EXPORTS) \
26971 (cd $(HOST_SUBDIR)/sim && \
26972 $(MAKE) $(FLAGS_TO_PASS) install)
26974 @endif sim
26976 # Other targets (info, dvi, pdf, etc.)
26978 .PHONY: maybe-info-sim info-sim
26979 maybe-info-sim:
26980 @if sim
26981 maybe-info-sim: info-sim
26983 info-sim: \
26984 configure-sim
26985 @: $(MAKE); $(unstage)
26986 @[ -f ./sim/Makefile ] || exit 0; \
26987 r=`${PWD_COMMAND}`; export r; \
26988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26989 $(HOST_EXPORTS) \
26990 for flag in $(EXTRA_HOST_FLAGS) ; do \
26991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26992 done; \
26993 echo "Doing info in sim" ; \
26994 (cd $(HOST_SUBDIR)/sim && \
26995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26997 "RANLIB=$${RANLIB}" \
26998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26999 info) \
27000 || exit 1
27002 @endif sim
27004 .PHONY: maybe-dvi-sim dvi-sim
27005 maybe-dvi-sim:
27006 @if sim
27007 maybe-dvi-sim: dvi-sim
27009 dvi-sim: \
27010 configure-sim
27011 @: $(MAKE); $(unstage)
27012 @[ -f ./sim/Makefile ] || exit 0; \
27013 r=`${PWD_COMMAND}`; export r; \
27014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27015 $(HOST_EXPORTS) \
27016 for flag in $(EXTRA_HOST_FLAGS) ; do \
27017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27018 done; \
27019 echo "Doing dvi in sim" ; \
27020 (cd $(HOST_SUBDIR)/sim && \
27021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27023 "RANLIB=$${RANLIB}" \
27024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27025 dvi) \
27026 || exit 1
27028 @endif sim
27030 .PHONY: maybe-pdf-sim pdf-sim
27031 maybe-pdf-sim:
27032 @if sim
27033 maybe-pdf-sim: pdf-sim
27035 pdf-sim: \
27036 configure-sim
27037 @: $(MAKE); $(unstage)
27038 @[ -f ./sim/Makefile ] || exit 0; \
27039 r=`${PWD_COMMAND}`; export r; \
27040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27041 $(HOST_EXPORTS) \
27042 for flag in $(EXTRA_HOST_FLAGS) ; do \
27043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27044 done; \
27045 echo "Doing pdf in sim" ; \
27046 (cd $(HOST_SUBDIR)/sim && \
27047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27049 "RANLIB=$${RANLIB}" \
27050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27051 pdf) \
27052 || exit 1
27054 @endif sim
27056 .PHONY: maybe-html-sim html-sim
27057 maybe-html-sim:
27058 @if sim
27059 maybe-html-sim: html-sim
27061 html-sim: \
27062 configure-sim
27063 @: $(MAKE); $(unstage)
27064 @[ -f ./sim/Makefile ] || exit 0; \
27065 r=`${PWD_COMMAND}`; export r; \
27066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27067 $(HOST_EXPORTS) \
27068 for flag in $(EXTRA_HOST_FLAGS) ; do \
27069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27070 done; \
27071 echo "Doing html in sim" ; \
27072 (cd $(HOST_SUBDIR)/sim && \
27073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27075 "RANLIB=$${RANLIB}" \
27076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27077 html) \
27078 || exit 1
27080 @endif sim
27082 .PHONY: maybe-TAGS-sim TAGS-sim
27083 maybe-TAGS-sim:
27084 @if sim
27085 maybe-TAGS-sim: TAGS-sim
27087 TAGS-sim: \
27088 configure-sim
27089 @: $(MAKE); $(unstage)
27090 @[ -f ./sim/Makefile ] || exit 0; \
27091 r=`${PWD_COMMAND}`; export r; \
27092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27093 $(HOST_EXPORTS) \
27094 for flag in $(EXTRA_HOST_FLAGS) ; do \
27095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27096 done; \
27097 echo "Doing TAGS in sim" ; \
27098 (cd $(HOST_SUBDIR)/sim && \
27099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27101 "RANLIB=$${RANLIB}" \
27102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27103 TAGS) \
27104 || exit 1
27106 @endif sim
27108 .PHONY: maybe-install-info-sim install-info-sim
27109 maybe-install-info-sim:
27110 @if sim
27111 maybe-install-info-sim: install-info-sim
27113 install-info-sim: \
27114 configure-sim \
27115 info-sim
27116 @: $(MAKE); $(unstage)
27117 @[ -f ./sim/Makefile ] || exit 0; \
27118 r=`${PWD_COMMAND}`; export r; \
27119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27120 $(HOST_EXPORTS) \
27121 for flag in $(EXTRA_HOST_FLAGS) ; do \
27122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27123 done; \
27124 echo "Doing install-info in sim" ; \
27125 (cd $(HOST_SUBDIR)/sim && \
27126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27128 "RANLIB=$${RANLIB}" \
27129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27130 install-info) \
27131 || exit 1
27133 @endif sim
27135 .PHONY: maybe-install-html-sim install-html-sim
27136 maybe-install-html-sim:
27137 @if sim
27138 maybe-install-html-sim: install-html-sim
27140 install-html-sim: \
27141 configure-sim \
27142 html-sim
27143 @: $(MAKE); $(unstage)
27144 @[ -f ./sim/Makefile ] || exit 0; \
27145 r=`${PWD_COMMAND}`; export r; \
27146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27147 $(HOST_EXPORTS) \
27148 for flag in $(EXTRA_HOST_FLAGS) ; do \
27149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27150 done; \
27151 echo "Doing install-html in sim" ; \
27152 (cd $(HOST_SUBDIR)/sim && \
27153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27155 "RANLIB=$${RANLIB}" \
27156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27157 install-html) \
27158 || exit 1
27160 @endif sim
27162 .PHONY: maybe-installcheck-sim installcheck-sim
27163 maybe-installcheck-sim:
27164 @if sim
27165 maybe-installcheck-sim: installcheck-sim
27167 installcheck-sim: \
27168 configure-sim
27169 @: $(MAKE); $(unstage)
27170 @[ -f ./sim/Makefile ] || exit 0; \
27171 r=`${PWD_COMMAND}`; export r; \
27172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27173 $(HOST_EXPORTS) \
27174 for flag in $(EXTRA_HOST_FLAGS) ; do \
27175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27176 done; \
27177 echo "Doing installcheck in sim" ; \
27178 (cd $(HOST_SUBDIR)/sim && \
27179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27181 "RANLIB=$${RANLIB}" \
27182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27183 installcheck) \
27184 || exit 1
27186 @endif sim
27188 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27189 maybe-mostlyclean-sim:
27190 @if sim
27191 maybe-mostlyclean-sim: mostlyclean-sim
27193 mostlyclean-sim:
27194 @: $(MAKE); $(unstage)
27195 @[ -f ./sim/Makefile ] || exit 0; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198 $(HOST_EXPORTS) \
27199 for flag in $(EXTRA_HOST_FLAGS) ; do \
27200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27201 done; \
27202 echo "Doing mostlyclean in sim" ; \
27203 (cd $(HOST_SUBDIR)/sim && \
27204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27206 "RANLIB=$${RANLIB}" \
27207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27208 mostlyclean) \
27209 || exit 1
27211 @endif sim
27213 .PHONY: maybe-clean-sim clean-sim
27214 maybe-clean-sim:
27215 @if sim
27216 maybe-clean-sim: clean-sim
27218 clean-sim:
27219 @: $(MAKE); $(unstage)
27220 @[ -f ./sim/Makefile ] || exit 0; \
27221 r=`${PWD_COMMAND}`; export r; \
27222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27223 $(HOST_EXPORTS) \
27224 for flag in $(EXTRA_HOST_FLAGS) ; do \
27225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27226 done; \
27227 echo "Doing clean in sim" ; \
27228 (cd $(HOST_SUBDIR)/sim && \
27229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27231 "RANLIB=$${RANLIB}" \
27232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27233 clean) \
27234 || exit 1
27236 @endif sim
27238 .PHONY: maybe-distclean-sim distclean-sim
27239 maybe-distclean-sim:
27240 @if sim
27241 maybe-distclean-sim: distclean-sim
27243 distclean-sim:
27244 @: $(MAKE); $(unstage)
27245 @[ -f ./sim/Makefile ] || exit 0; \
27246 r=`${PWD_COMMAND}`; export r; \
27247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27248 $(HOST_EXPORTS) \
27249 for flag in $(EXTRA_HOST_FLAGS) ; do \
27250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27251 done; \
27252 echo "Doing distclean in sim" ; \
27253 (cd $(HOST_SUBDIR)/sim && \
27254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27256 "RANLIB=$${RANLIB}" \
27257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27258 distclean) \
27259 || exit 1
27261 @endif sim
27263 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27264 maybe-maintainer-clean-sim:
27265 @if sim
27266 maybe-maintainer-clean-sim: maintainer-clean-sim
27268 maintainer-clean-sim:
27269 @: $(MAKE); $(unstage)
27270 @[ -f ./sim/Makefile ] || exit 0; \
27271 r=`${PWD_COMMAND}`; export r; \
27272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27273 $(HOST_EXPORTS) \
27274 for flag in $(EXTRA_HOST_FLAGS) ; do \
27275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27276 done; \
27277 echo "Doing maintainer-clean in sim" ; \
27278 (cd $(HOST_SUBDIR)/sim && \
27279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27281 "RANLIB=$${RANLIB}" \
27282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27283 maintainer-clean) \
27284 || exit 1
27286 @endif sim
27290 .PHONY: configure-tar maybe-configure-tar
27291 maybe-configure-tar:
27292 @if gcc-bootstrap
27293 configure-tar: stage_current
27294 @endif gcc-bootstrap
27295 @if tar
27296 maybe-configure-tar: configure-tar
27297 configure-tar:
27298 @: $(MAKE); $(unstage)
27299 @r=`${PWD_COMMAND}`; export r; \
27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27301 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27303 $(HOST_EXPORTS) \
27304 echo Configuring in $(HOST_SUBDIR)/tar; \
27305 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27306 case $(srcdir) in \
27307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27308 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27310 esac; \
27311 srcdiroption="--srcdir=$${topdir}/tar"; \
27312 libsrcdir="$$s/tar"; \
27313 $(SHELL) $${libsrcdir}/configure \
27314 $(HOST_CONFIGARGS) $${srcdiroption} \
27315 || exit 1
27316 @endif tar
27322 .PHONY: all-tar maybe-all-tar
27323 maybe-all-tar:
27324 @if gcc-bootstrap
27325 all-tar: stage_current
27326 @endif gcc-bootstrap
27327 @if tar
27328 TARGET-tar=all
27329 maybe-all-tar: all-tar
27330 all-tar: configure-tar
27331 @: $(MAKE); $(unstage)
27332 @r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(HOST_EXPORTS) \
27335 (cd $(HOST_SUBDIR)/tar && \
27336 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27337 @endif tar
27342 .PHONY: check-tar maybe-check-tar
27343 maybe-check-tar:
27344 @if tar
27345 maybe-check-tar: check-tar
27347 check-tar:
27348 @: $(MAKE); $(unstage)
27349 @r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(HOST_EXPORTS) \
27352 (cd $(HOST_SUBDIR)/tar && \
27353 $(MAKE) $(FLAGS_TO_PASS) check)
27355 @endif tar
27357 .PHONY: install-tar maybe-install-tar
27358 maybe-install-tar:
27359 @if tar
27360 maybe-install-tar: install-tar
27362 install-tar: installdirs
27363 @: $(MAKE); $(unstage)
27364 @r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 $(HOST_EXPORTS) \
27367 (cd $(HOST_SUBDIR)/tar && \
27368 $(MAKE) $(FLAGS_TO_PASS) install)
27370 @endif tar
27372 # Other targets (info, dvi, pdf, etc.)
27374 .PHONY: maybe-info-tar info-tar
27375 maybe-info-tar:
27376 @if tar
27377 maybe-info-tar: info-tar
27379 info-tar: \
27380 configure-tar
27381 @: $(MAKE); $(unstage)
27382 @[ -f ./tar/Makefile ] || exit 0; \
27383 r=`${PWD_COMMAND}`; export r; \
27384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27385 $(HOST_EXPORTS) \
27386 for flag in $(EXTRA_HOST_FLAGS) ; do \
27387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27388 done; \
27389 echo "Doing info in tar" ; \
27390 (cd $(HOST_SUBDIR)/tar && \
27391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27393 "RANLIB=$${RANLIB}" \
27394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27395 info) \
27396 || exit 1
27398 @endif tar
27400 .PHONY: maybe-dvi-tar dvi-tar
27401 maybe-dvi-tar:
27402 @if tar
27403 maybe-dvi-tar: dvi-tar
27405 dvi-tar: \
27406 configure-tar
27407 @: $(MAKE); $(unstage)
27408 @[ -f ./tar/Makefile ] || exit 0; \
27409 r=`${PWD_COMMAND}`; export r; \
27410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27411 $(HOST_EXPORTS) \
27412 for flag in $(EXTRA_HOST_FLAGS) ; do \
27413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27414 done; \
27415 echo "Doing dvi in tar" ; \
27416 (cd $(HOST_SUBDIR)/tar && \
27417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27419 "RANLIB=$${RANLIB}" \
27420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27421 dvi) \
27422 || exit 1
27424 @endif tar
27426 .PHONY: maybe-pdf-tar pdf-tar
27427 maybe-pdf-tar:
27428 @if tar
27429 maybe-pdf-tar: pdf-tar
27431 pdf-tar: \
27432 configure-tar
27433 @: $(MAKE); $(unstage)
27434 @[ -f ./tar/Makefile ] || exit 0; \
27435 r=`${PWD_COMMAND}`; export r; \
27436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27437 $(HOST_EXPORTS) \
27438 for flag in $(EXTRA_HOST_FLAGS) ; do \
27439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27440 done; \
27441 echo "Doing pdf in tar" ; \
27442 (cd $(HOST_SUBDIR)/tar && \
27443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27445 "RANLIB=$${RANLIB}" \
27446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27447 pdf) \
27448 || exit 1
27450 @endif tar
27452 .PHONY: maybe-html-tar html-tar
27453 maybe-html-tar:
27454 @if tar
27455 maybe-html-tar: html-tar
27457 html-tar: \
27458 configure-tar
27459 @: $(MAKE); $(unstage)
27460 @[ -f ./tar/Makefile ] || exit 0; \
27461 r=`${PWD_COMMAND}`; export r; \
27462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27463 $(HOST_EXPORTS) \
27464 for flag in $(EXTRA_HOST_FLAGS) ; do \
27465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27466 done; \
27467 echo "Doing html in tar" ; \
27468 (cd $(HOST_SUBDIR)/tar && \
27469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27471 "RANLIB=$${RANLIB}" \
27472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27473 html) \
27474 || exit 1
27476 @endif tar
27478 .PHONY: maybe-TAGS-tar TAGS-tar
27479 maybe-TAGS-tar:
27480 @if tar
27481 maybe-TAGS-tar: TAGS-tar
27483 TAGS-tar: \
27484 configure-tar
27485 @: $(MAKE); $(unstage)
27486 @[ -f ./tar/Makefile ] || exit 0; \
27487 r=`${PWD_COMMAND}`; export r; \
27488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27489 $(HOST_EXPORTS) \
27490 for flag in $(EXTRA_HOST_FLAGS) ; do \
27491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27492 done; \
27493 echo "Doing TAGS in tar" ; \
27494 (cd $(HOST_SUBDIR)/tar && \
27495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27497 "RANLIB=$${RANLIB}" \
27498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27499 TAGS) \
27500 || exit 1
27502 @endif tar
27504 .PHONY: maybe-install-info-tar install-info-tar
27505 maybe-install-info-tar:
27506 @if tar
27507 maybe-install-info-tar: install-info-tar
27509 install-info-tar: \
27510 configure-tar \
27511 info-tar
27512 @: $(MAKE); $(unstage)
27513 @[ -f ./tar/Makefile ] || exit 0; \
27514 r=`${PWD_COMMAND}`; export r; \
27515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27516 $(HOST_EXPORTS) \
27517 for flag in $(EXTRA_HOST_FLAGS) ; do \
27518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27519 done; \
27520 echo "Doing install-info in tar" ; \
27521 (cd $(HOST_SUBDIR)/tar && \
27522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27524 "RANLIB=$${RANLIB}" \
27525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27526 install-info) \
27527 || exit 1
27529 @endif tar
27531 .PHONY: maybe-install-html-tar install-html-tar
27532 maybe-install-html-tar:
27533 @if tar
27534 maybe-install-html-tar: install-html-tar
27536 install-html-tar: \
27537 configure-tar \
27538 html-tar
27539 @: $(MAKE); $(unstage)
27540 @[ -f ./tar/Makefile ] || exit 0; \
27541 r=`${PWD_COMMAND}`; export r; \
27542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27543 $(HOST_EXPORTS) \
27544 for flag in $(EXTRA_HOST_FLAGS) ; do \
27545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27546 done; \
27547 echo "Doing install-html in tar" ; \
27548 (cd $(HOST_SUBDIR)/tar && \
27549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27551 "RANLIB=$${RANLIB}" \
27552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27553 install-html) \
27554 || exit 1
27556 @endif tar
27558 .PHONY: maybe-installcheck-tar installcheck-tar
27559 maybe-installcheck-tar:
27560 @if tar
27561 maybe-installcheck-tar: installcheck-tar
27563 installcheck-tar: \
27564 configure-tar
27565 @: $(MAKE); $(unstage)
27566 @[ -f ./tar/Makefile ] || exit 0; \
27567 r=`${PWD_COMMAND}`; export r; \
27568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27569 $(HOST_EXPORTS) \
27570 for flag in $(EXTRA_HOST_FLAGS) ; do \
27571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27572 done; \
27573 echo "Doing installcheck in tar" ; \
27574 (cd $(HOST_SUBDIR)/tar && \
27575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27577 "RANLIB=$${RANLIB}" \
27578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27579 installcheck) \
27580 || exit 1
27582 @endif tar
27584 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27585 maybe-mostlyclean-tar:
27586 @if tar
27587 maybe-mostlyclean-tar: mostlyclean-tar
27589 mostlyclean-tar:
27590 @: $(MAKE); $(unstage)
27591 @[ -f ./tar/Makefile ] || exit 0; \
27592 r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 $(HOST_EXPORTS) \
27595 for flag in $(EXTRA_HOST_FLAGS) ; do \
27596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27597 done; \
27598 echo "Doing mostlyclean in tar" ; \
27599 (cd $(HOST_SUBDIR)/tar && \
27600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27602 "RANLIB=$${RANLIB}" \
27603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27604 mostlyclean) \
27605 || exit 1
27607 @endif tar
27609 .PHONY: maybe-clean-tar clean-tar
27610 maybe-clean-tar:
27611 @if tar
27612 maybe-clean-tar: clean-tar
27614 clean-tar:
27615 @: $(MAKE); $(unstage)
27616 @[ -f ./tar/Makefile ] || exit 0; \
27617 r=`${PWD_COMMAND}`; export r; \
27618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27619 $(HOST_EXPORTS) \
27620 for flag in $(EXTRA_HOST_FLAGS) ; do \
27621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27622 done; \
27623 echo "Doing clean in tar" ; \
27624 (cd $(HOST_SUBDIR)/tar && \
27625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27627 "RANLIB=$${RANLIB}" \
27628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27629 clean) \
27630 || exit 1
27632 @endif tar
27634 .PHONY: maybe-distclean-tar distclean-tar
27635 maybe-distclean-tar:
27636 @if tar
27637 maybe-distclean-tar: distclean-tar
27639 distclean-tar:
27640 @: $(MAKE); $(unstage)
27641 @[ -f ./tar/Makefile ] || exit 0; \
27642 r=`${PWD_COMMAND}`; export r; \
27643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27644 $(HOST_EXPORTS) \
27645 for flag in $(EXTRA_HOST_FLAGS) ; do \
27646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27647 done; \
27648 echo "Doing distclean in tar" ; \
27649 (cd $(HOST_SUBDIR)/tar && \
27650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27652 "RANLIB=$${RANLIB}" \
27653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27654 distclean) \
27655 || exit 1
27657 @endif tar
27659 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27660 maybe-maintainer-clean-tar:
27661 @if tar
27662 maybe-maintainer-clean-tar: maintainer-clean-tar
27664 maintainer-clean-tar:
27665 @: $(MAKE); $(unstage)
27666 @[ -f ./tar/Makefile ] || exit 0; \
27667 r=`${PWD_COMMAND}`; export r; \
27668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27669 $(HOST_EXPORTS) \
27670 for flag in $(EXTRA_HOST_FLAGS) ; do \
27671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27672 done; \
27673 echo "Doing maintainer-clean in tar" ; \
27674 (cd $(HOST_SUBDIR)/tar && \
27675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27677 "RANLIB=$${RANLIB}" \
27678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27679 maintainer-clean) \
27680 || exit 1
27682 @endif tar
27686 .PHONY: configure-texinfo maybe-configure-texinfo
27687 maybe-configure-texinfo:
27688 @if gcc-bootstrap
27689 configure-texinfo: stage_current
27690 @endif gcc-bootstrap
27691 @if texinfo
27692 maybe-configure-texinfo: configure-texinfo
27693 configure-texinfo:
27694 @: $(MAKE); $(unstage)
27695 @r=`${PWD_COMMAND}`; export r; \
27696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27697 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27699 $(HOST_EXPORTS) \
27700 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27701 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27702 case $(srcdir) in \
27703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27704 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27706 esac; \
27707 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27708 libsrcdir="$$s/texinfo"; \
27709 $(SHELL) $${libsrcdir}/configure \
27710 $(HOST_CONFIGARGS) $${srcdiroption} \
27711 || exit 1
27712 @endif texinfo
27718 .PHONY: all-texinfo maybe-all-texinfo
27719 maybe-all-texinfo:
27720 @if gcc-bootstrap
27721 all-texinfo: stage_current
27722 @endif gcc-bootstrap
27723 @if texinfo
27724 TARGET-texinfo=all
27725 maybe-all-texinfo: all-texinfo
27726 all-texinfo: configure-texinfo
27727 @: $(MAKE); $(unstage)
27728 @r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 $(HOST_EXPORTS) \
27731 (cd $(HOST_SUBDIR)/texinfo && \
27732 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27733 @endif texinfo
27738 .PHONY: check-texinfo maybe-check-texinfo
27739 maybe-check-texinfo:
27740 @if texinfo
27741 maybe-check-texinfo: check-texinfo
27743 check-texinfo:
27744 @: $(MAKE); $(unstage)
27745 @r=`${PWD_COMMAND}`; export r; \
27746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27747 $(HOST_EXPORTS) \
27748 (cd $(HOST_SUBDIR)/texinfo && \
27749 $(MAKE) $(FLAGS_TO_PASS) check)
27751 @endif texinfo
27753 .PHONY: install-texinfo maybe-install-texinfo
27754 maybe-install-texinfo:
27755 @if texinfo
27756 maybe-install-texinfo: install-texinfo
27758 install-texinfo:
27760 @endif texinfo
27762 # Other targets (info, dvi, pdf, etc.)
27764 .PHONY: maybe-info-texinfo info-texinfo
27765 maybe-info-texinfo:
27766 @if texinfo
27767 maybe-info-texinfo: info-texinfo
27769 info-texinfo: \
27770 configure-texinfo
27771 @: $(MAKE); $(unstage)
27772 @[ -f ./texinfo/Makefile ] || exit 0; \
27773 r=`${PWD_COMMAND}`; export r; \
27774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27775 $(HOST_EXPORTS) \
27776 for flag in $(EXTRA_HOST_FLAGS) ; do \
27777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27778 done; \
27779 echo "Doing info in texinfo" ; \
27780 (cd $(HOST_SUBDIR)/texinfo && \
27781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27783 "RANLIB=$${RANLIB}" \
27784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27785 info) \
27786 || exit 1
27788 @endif texinfo
27790 .PHONY: maybe-dvi-texinfo dvi-texinfo
27791 maybe-dvi-texinfo:
27792 @if texinfo
27793 maybe-dvi-texinfo: dvi-texinfo
27795 dvi-texinfo: \
27796 configure-texinfo
27797 @: $(MAKE); $(unstage)
27798 @[ -f ./texinfo/Makefile ] || exit 0; \
27799 r=`${PWD_COMMAND}`; export r; \
27800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27801 $(HOST_EXPORTS) \
27802 for flag in $(EXTRA_HOST_FLAGS) ; do \
27803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27804 done; \
27805 echo "Doing dvi in texinfo" ; \
27806 (cd $(HOST_SUBDIR)/texinfo && \
27807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27809 "RANLIB=$${RANLIB}" \
27810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27811 dvi) \
27812 || exit 1
27814 @endif texinfo
27816 .PHONY: maybe-pdf-texinfo pdf-texinfo
27817 maybe-pdf-texinfo:
27818 @if texinfo
27819 maybe-pdf-texinfo: pdf-texinfo
27821 pdf-texinfo: \
27822 configure-texinfo
27823 @: $(MAKE); $(unstage)
27824 @[ -f ./texinfo/Makefile ] || exit 0; \
27825 r=`${PWD_COMMAND}`; export r; \
27826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27827 $(HOST_EXPORTS) \
27828 for flag in $(EXTRA_HOST_FLAGS) ; do \
27829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27830 done; \
27831 echo "Doing pdf in texinfo" ; \
27832 (cd $(HOST_SUBDIR)/texinfo && \
27833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27835 "RANLIB=$${RANLIB}" \
27836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27837 pdf) \
27838 || exit 1
27840 @endif texinfo
27842 .PHONY: maybe-html-texinfo html-texinfo
27843 maybe-html-texinfo:
27844 @if texinfo
27845 maybe-html-texinfo: html-texinfo
27847 html-texinfo: \
27848 configure-texinfo
27849 @: $(MAKE); $(unstage)
27850 @[ -f ./texinfo/Makefile ] || exit 0; \
27851 r=`${PWD_COMMAND}`; export r; \
27852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27853 $(HOST_EXPORTS) \
27854 for flag in $(EXTRA_HOST_FLAGS) ; do \
27855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27856 done; \
27857 echo "Doing html in texinfo" ; \
27858 (cd $(HOST_SUBDIR)/texinfo && \
27859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27861 "RANLIB=$${RANLIB}" \
27862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27863 html) \
27864 || exit 1
27866 @endif texinfo
27868 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27869 maybe-TAGS-texinfo:
27870 @if texinfo
27871 maybe-TAGS-texinfo: TAGS-texinfo
27873 TAGS-texinfo: \
27874 configure-texinfo
27875 @: $(MAKE); $(unstage)
27876 @[ -f ./texinfo/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(HOST_EXPORTS) \
27880 for flag in $(EXTRA_HOST_FLAGS) ; do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 echo "Doing TAGS in texinfo" ; \
27884 (cd $(HOST_SUBDIR)/texinfo && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27887 "RANLIB=$${RANLIB}" \
27888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27889 TAGS) \
27890 || exit 1
27892 @endif texinfo
27894 .PHONY: maybe-install-info-texinfo install-info-texinfo
27895 maybe-install-info-texinfo:
27896 @if texinfo
27897 maybe-install-info-texinfo: install-info-texinfo
27899 install-info-texinfo: \
27900 configure-texinfo \
27901 info-texinfo
27902 @: $(MAKE); $(unstage)
27903 @[ -f ./texinfo/Makefile ] || exit 0; \
27904 r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 $(HOST_EXPORTS) \
27907 for flag in $(EXTRA_HOST_FLAGS) ; do \
27908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27909 done; \
27910 echo "Doing install-info in texinfo" ; \
27911 (cd $(HOST_SUBDIR)/texinfo && \
27912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27914 "RANLIB=$${RANLIB}" \
27915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27916 install-info) \
27917 || exit 1
27919 @endif texinfo
27921 .PHONY: maybe-install-html-texinfo install-html-texinfo
27922 maybe-install-html-texinfo:
27923 @if texinfo
27924 maybe-install-html-texinfo: install-html-texinfo
27926 install-html-texinfo: \
27927 configure-texinfo \
27928 html-texinfo
27929 @: $(MAKE); $(unstage)
27930 @[ -f ./texinfo/Makefile ] || exit 0; \
27931 r=`${PWD_COMMAND}`; export r; \
27932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27933 $(HOST_EXPORTS) \
27934 for flag in $(EXTRA_HOST_FLAGS) ; do \
27935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27936 done; \
27937 echo "Doing install-html in texinfo" ; \
27938 (cd $(HOST_SUBDIR)/texinfo && \
27939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27941 "RANLIB=$${RANLIB}" \
27942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27943 install-html) \
27944 || exit 1
27946 @endif texinfo
27948 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27949 maybe-installcheck-texinfo:
27950 @if texinfo
27951 maybe-installcheck-texinfo: installcheck-texinfo
27953 installcheck-texinfo: \
27954 configure-texinfo
27955 @: $(MAKE); $(unstage)
27956 @[ -f ./texinfo/Makefile ] || exit 0; \
27957 r=`${PWD_COMMAND}`; export r; \
27958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27959 $(HOST_EXPORTS) \
27960 for flag in $(EXTRA_HOST_FLAGS) ; do \
27961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27962 done; \
27963 echo "Doing installcheck in texinfo" ; \
27964 (cd $(HOST_SUBDIR)/texinfo && \
27965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27967 "RANLIB=$${RANLIB}" \
27968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27969 installcheck) \
27970 || exit 1
27972 @endif texinfo
27974 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27975 maybe-mostlyclean-texinfo:
27976 @if texinfo
27977 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27979 mostlyclean-texinfo:
27980 @: $(MAKE); $(unstage)
27981 @[ -f ./texinfo/Makefile ] || exit 0; \
27982 r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 $(HOST_EXPORTS) \
27985 for flag in $(EXTRA_HOST_FLAGS) ; do \
27986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27987 done; \
27988 echo "Doing mostlyclean in texinfo" ; \
27989 (cd $(HOST_SUBDIR)/texinfo && \
27990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27992 "RANLIB=$${RANLIB}" \
27993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27994 mostlyclean) \
27995 || exit 1
27997 @endif texinfo
27999 .PHONY: maybe-clean-texinfo clean-texinfo
28000 maybe-clean-texinfo:
28001 @if texinfo
28002 maybe-clean-texinfo: clean-texinfo
28004 clean-texinfo:
28005 @: $(MAKE); $(unstage)
28006 @[ -f ./texinfo/Makefile ] || exit 0; \
28007 r=`${PWD_COMMAND}`; export r; \
28008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28009 $(HOST_EXPORTS) \
28010 for flag in $(EXTRA_HOST_FLAGS) ; do \
28011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28012 done; \
28013 echo "Doing clean in texinfo" ; \
28014 (cd $(HOST_SUBDIR)/texinfo && \
28015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28017 "RANLIB=$${RANLIB}" \
28018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28019 clean) \
28020 || exit 1
28022 @endif texinfo
28024 .PHONY: maybe-distclean-texinfo distclean-texinfo
28025 maybe-distclean-texinfo:
28026 @if texinfo
28027 maybe-distclean-texinfo: distclean-texinfo
28029 distclean-texinfo:
28030 @: $(MAKE); $(unstage)
28031 @[ -f ./texinfo/Makefile ] || exit 0; \
28032 r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 $(HOST_EXPORTS) \
28035 for flag in $(EXTRA_HOST_FLAGS) ; do \
28036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28037 done; \
28038 echo "Doing distclean in texinfo" ; \
28039 (cd $(HOST_SUBDIR)/texinfo && \
28040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28042 "RANLIB=$${RANLIB}" \
28043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28044 distclean) \
28045 || exit 1
28047 @endif texinfo
28049 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
28050 maybe-maintainer-clean-texinfo:
28051 @if texinfo
28052 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
28054 maintainer-clean-texinfo:
28055 @: $(MAKE); $(unstage)
28056 @[ -f ./texinfo/Makefile ] || exit 0; \
28057 r=`${PWD_COMMAND}`; export r; \
28058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28059 $(HOST_EXPORTS) \
28060 for flag in $(EXTRA_HOST_FLAGS) ; do \
28061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28062 done; \
28063 echo "Doing maintainer-clean in texinfo" ; \
28064 (cd $(HOST_SUBDIR)/texinfo && \
28065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28067 "RANLIB=$${RANLIB}" \
28068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28069 maintainer-clean) \
28070 || exit 1
28072 @endif texinfo
28076 .PHONY: configure-textutils maybe-configure-textutils
28077 maybe-configure-textutils:
28078 @if gcc-bootstrap
28079 configure-textutils: stage_current
28080 @endif gcc-bootstrap
28081 @if textutils
28082 maybe-configure-textutils: configure-textutils
28083 configure-textutils:
28084 @: $(MAKE); $(unstage)
28085 @r=`${PWD_COMMAND}`; export r; \
28086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28087 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
28088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
28089 $(HOST_EXPORTS) \
28090 echo Configuring in $(HOST_SUBDIR)/textutils; \
28091 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
28092 case $(srcdir) in \
28093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28094 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
28095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28096 esac; \
28097 srcdiroption="--srcdir=$${topdir}/textutils"; \
28098 libsrcdir="$$s/textutils"; \
28099 $(SHELL) $${libsrcdir}/configure \
28100 $(HOST_CONFIGARGS) $${srcdiroption} \
28101 || exit 1
28102 @endif textutils
28108 .PHONY: all-textutils maybe-all-textutils
28109 maybe-all-textutils:
28110 @if gcc-bootstrap
28111 all-textutils: stage_current
28112 @endif gcc-bootstrap
28113 @if textutils
28114 TARGET-textutils=all
28115 maybe-all-textutils: all-textutils
28116 all-textutils: configure-textutils
28117 @: $(MAKE); $(unstage)
28118 @r=`${PWD_COMMAND}`; export r; \
28119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28120 $(HOST_EXPORTS) \
28121 (cd $(HOST_SUBDIR)/textutils && \
28122 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
28123 @endif textutils
28128 .PHONY: check-textutils maybe-check-textutils
28129 maybe-check-textutils:
28130 @if textutils
28131 maybe-check-textutils: check-textutils
28133 check-textutils:
28134 @: $(MAKE); $(unstage)
28135 @r=`${PWD_COMMAND}`; export r; \
28136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 $(HOST_EXPORTS) \
28138 (cd $(HOST_SUBDIR)/textutils && \
28139 $(MAKE) $(FLAGS_TO_PASS) check)
28141 @endif textutils
28143 .PHONY: install-textutils maybe-install-textutils
28144 maybe-install-textutils:
28145 @if textutils
28146 maybe-install-textutils: install-textutils
28148 install-textutils: installdirs
28149 @: $(MAKE); $(unstage)
28150 @r=`${PWD_COMMAND}`; export r; \
28151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152 $(HOST_EXPORTS) \
28153 (cd $(HOST_SUBDIR)/textutils && \
28154 $(MAKE) $(FLAGS_TO_PASS) install)
28156 @endif textutils
28158 # Other targets (info, dvi, pdf, etc.)
28160 .PHONY: maybe-info-textutils info-textutils
28161 maybe-info-textutils:
28162 @if textutils
28163 maybe-info-textutils: info-textutils
28165 info-textutils: \
28166 configure-textutils
28167 @: $(MAKE); $(unstage)
28168 @[ -f ./textutils/Makefile ] || exit 0; \
28169 r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28171 $(HOST_EXPORTS) \
28172 for flag in $(EXTRA_HOST_FLAGS) ; do \
28173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28174 done; \
28175 echo "Doing info in textutils" ; \
28176 (cd $(HOST_SUBDIR)/textutils && \
28177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28179 "RANLIB=$${RANLIB}" \
28180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28181 info) \
28182 || exit 1
28184 @endif textutils
28186 .PHONY: maybe-dvi-textutils dvi-textutils
28187 maybe-dvi-textutils:
28188 @if textutils
28189 maybe-dvi-textutils: dvi-textutils
28191 dvi-textutils: \
28192 configure-textutils
28193 @: $(MAKE); $(unstage)
28194 @[ -f ./textutils/Makefile ] || exit 0; \
28195 r=`${PWD_COMMAND}`; export r; \
28196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28197 $(HOST_EXPORTS) \
28198 for flag in $(EXTRA_HOST_FLAGS) ; do \
28199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28200 done; \
28201 echo "Doing dvi in textutils" ; \
28202 (cd $(HOST_SUBDIR)/textutils && \
28203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28205 "RANLIB=$${RANLIB}" \
28206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28207 dvi) \
28208 || exit 1
28210 @endif textutils
28212 .PHONY: maybe-pdf-textutils pdf-textutils
28213 maybe-pdf-textutils:
28214 @if textutils
28215 maybe-pdf-textutils: pdf-textutils
28217 pdf-textutils: \
28218 configure-textutils
28219 @: $(MAKE); $(unstage)
28220 @[ -f ./textutils/Makefile ] || exit 0; \
28221 r=`${PWD_COMMAND}`; export r; \
28222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28223 $(HOST_EXPORTS) \
28224 for flag in $(EXTRA_HOST_FLAGS) ; do \
28225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28226 done; \
28227 echo "Doing pdf in textutils" ; \
28228 (cd $(HOST_SUBDIR)/textutils && \
28229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28231 "RANLIB=$${RANLIB}" \
28232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28233 pdf) \
28234 || exit 1
28236 @endif textutils
28238 .PHONY: maybe-html-textutils html-textutils
28239 maybe-html-textutils:
28240 @if textutils
28241 maybe-html-textutils: html-textutils
28243 html-textutils: \
28244 configure-textutils
28245 @: $(MAKE); $(unstage)
28246 @[ -f ./textutils/Makefile ] || exit 0; \
28247 r=`${PWD_COMMAND}`; export r; \
28248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28249 $(HOST_EXPORTS) \
28250 for flag in $(EXTRA_HOST_FLAGS) ; do \
28251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28252 done; \
28253 echo "Doing html in textutils" ; \
28254 (cd $(HOST_SUBDIR)/textutils && \
28255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28257 "RANLIB=$${RANLIB}" \
28258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28259 html) \
28260 || exit 1
28262 @endif textutils
28264 .PHONY: maybe-TAGS-textutils TAGS-textutils
28265 maybe-TAGS-textutils:
28266 @if textutils
28267 maybe-TAGS-textutils: TAGS-textutils
28269 TAGS-textutils: \
28270 configure-textutils
28271 @: $(MAKE); $(unstage)
28272 @[ -f ./textutils/Makefile ] || exit 0; \
28273 r=`${PWD_COMMAND}`; export r; \
28274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28275 $(HOST_EXPORTS) \
28276 for flag in $(EXTRA_HOST_FLAGS) ; do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 done; \
28279 echo "Doing TAGS in textutils" ; \
28280 (cd $(HOST_SUBDIR)/textutils && \
28281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28283 "RANLIB=$${RANLIB}" \
28284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28285 TAGS) \
28286 || exit 1
28288 @endif textutils
28290 .PHONY: maybe-install-info-textutils install-info-textutils
28291 maybe-install-info-textutils:
28292 @if textutils
28293 maybe-install-info-textutils: install-info-textutils
28295 install-info-textutils: \
28296 configure-textutils \
28297 info-textutils
28298 @: $(MAKE); $(unstage)
28299 @[ -f ./textutils/Makefile ] || exit 0; \
28300 r=`${PWD_COMMAND}`; export r; \
28301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28302 $(HOST_EXPORTS) \
28303 for flag in $(EXTRA_HOST_FLAGS) ; do \
28304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28305 done; \
28306 echo "Doing install-info in textutils" ; \
28307 (cd $(HOST_SUBDIR)/textutils && \
28308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28310 "RANLIB=$${RANLIB}" \
28311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28312 install-info) \
28313 || exit 1
28315 @endif textutils
28317 .PHONY: maybe-install-html-textutils install-html-textutils
28318 maybe-install-html-textutils:
28319 @if textutils
28320 maybe-install-html-textutils: install-html-textutils
28322 install-html-textutils: \
28323 configure-textutils \
28324 html-textutils
28325 @: $(MAKE); $(unstage)
28326 @[ -f ./textutils/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) ; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing install-html in textutils" ; \
28334 (cd $(HOST_SUBDIR)/textutils && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28339 install-html) \
28340 || exit 1
28342 @endif textutils
28344 .PHONY: maybe-installcheck-textutils installcheck-textutils
28345 maybe-installcheck-textutils:
28346 @if textutils
28347 maybe-installcheck-textutils: installcheck-textutils
28349 installcheck-textutils: \
28350 configure-textutils
28351 @: $(MAKE); $(unstage)
28352 @[ -f ./textutils/Makefile ] || exit 0; \
28353 r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(HOST_EXPORTS) \
28356 for flag in $(EXTRA_HOST_FLAGS) ; do \
28357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28358 done; \
28359 echo "Doing installcheck in textutils" ; \
28360 (cd $(HOST_SUBDIR)/textutils && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28365 installcheck) \
28366 || exit 1
28368 @endif textutils
28370 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28371 maybe-mostlyclean-textutils:
28372 @if textutils
28373 maybe-mostlyclean-textutils: mostlyclean-textutils
28375 mostlyclean-textutils:
28376 @: $(MAKE); $(unstage)
28377 @[ -f ./textutils/Makefile ] || exit 0; \
28378 r=`${PWD_COMMAND}`; export r; \
28379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28380 $(HOST_EXPORTS) \
28381 for flag in $(EXTRA_HOST_FLAGS) ; do \
28382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28383 done; \
28384 echo "Doing mostlyclean in textutils" ; \
28385 (cd $(HOST_SUBDIR)/textutils && \
28386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28388 "RANLIB=$${RANLIB}" \
28389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28390 mostlyclean) \
28391 || exit 1
28393 @endif textutils
28395 .PHONY: maybe-clean-textutils clean-textutils
28396 maybe-clean-textutils:
28397 @if textutils
28398 maybe-clean-textutils: clean-textutils
28400 clean-textutils:
28401 @: $(MAKE); $(unstage)
28402 @[ -f ./textutils/Makefile ] || exit 0; \
28403 r=`${PWD_COMMAND}`; export r; \
28404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28405 $(HOST_EXPORTS) \
28406 for flag in $(EXTRA_HOST_FLAGS) ; do \
28407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28408 done; \
28409 echo "Doing clean in textutils" ; \
28410 (cd $(HOST_SUBDIR)/textutils && \
28411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28413 "RANLIB=$${RANLIB}" \
28414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28415 clean) \
28416 || exit 1
28418 @endif textutils
28420 .PHONY: maybe-distclean-textutils distclean-textutils
28421 maybe-distclean-textutils:
28422 @if textutils
28423 maybe-distclean-textutils: distclean-textutils
28425 distclean-textutils:
28426 @: $(MAKE); $(unstage)
28427 @[ -f ./textutils/Makefile ] || exit 0; \
28428 r=`${PWD_COMMAND}`; export r; \
28429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28430 $(HOST_EXPORTS) \
28431 for flag in $(EXTRA_HOST_FLAGS) ; do \
28432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28433 done; \
28434 echo "Doing distclean in textutils" ; \
28435 (cd $(HOST_SUBDIR)/textutils && \
28436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28438 "RANLIB=$${RANLIB}" \
28439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28440 distclean) \
28441 || exit 1
28443 @endif textutils
28445 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28446 maybe-maintainer-clean-textutils:
28447 @if textutils
28448 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28450 maintainer-clean-textutils:
28451 @: $(MAKE); $(unstage)
28452 @[ -f ./textutils/Makefile ] || exit 0; \
28453 r=`${PWD_COMMAND}`; export r; \
28454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28455 $(HOST_EXPORTS) \
28456 for flag in $(EXTRA_HOST_FLAGS) ; do \
28457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28458 done; \
28459 echo "Doing maintainer-clean in textutils" ; \
28460 (cd $(HOST_SUBDIR)/textutils && \
28461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28463 "RANLIB=$${RANLIB}" \
28464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28465 maintainer-clean) \
28466 || exit 1
28468 @endif textutils
28472 .PHONY: configure-time maybe-configure-time
28473 maybe-configure-time:
28474 @if gcc-bootstrap
28475 configure-time: stage_current
28476 @endif gcc-bootstrap
28477 @if time
28478 maybe-configure-time: configure-time
28479 configure-time:
28480 @: $(MAKE); $(unstage)
28481 @r=`${PWD_COMMAND}`; export r; \
28482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28483 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28485 $(HOST_EXPORTS) \
28486 echo Configuring in $(HOST_SUBDIR)/time; \
28487 cd "$(HOST_SUBDIR)/time" || exit 1; \
28488 case $(srcdir) in \
28489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28490 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28492 esac; \
28493 srcdiroption="--srcdir=$${topdir}/time"; \
28494 libsrcdir="$$s/time"; \
28495 $(SHELL) $${libsrcdir}/configure \
28496 $(HOST_CONFIGARGS) $${srcdiroption} \
28497 || exit 1
28498 @endif time
28504 .PHONY: all-time maybe-all-time
28505 maybe-all-time:
28506 @if gcc-bootstrap
28507 all-time: stage_current
28508 @endif gcc-bootstrap
28509 @if time
28510 TARGET-time=all
28511 maybe-all-time: all-time
28512 all-time: configure-time
28513 @: $(MAKE); $(unstage)
28514 @r=`${PWD_COMMAND}`; export r; \
28515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28516 $(HOST_EXPORTS) \
28517 (cd $(HOST_SUBDIR)/time && \
28518 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28519 @endif time
28524 .PHONY: check-time maybe-check-time
28525 maybe-check-time:
28526 @if time
28527 maybe-check-time: check-time
28529 check-time:
28530 @: $(MAKE); $(unstage)
28531 @r=`${PWD_COMMAND}`; export r; \
28532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28533 $(HOST_EXPORTS) \
28534 (cd $(HOST_SUBDIR)/time && \
28535 $(MAKE) $(FLAGS_TO_PASS) check)
28537 @endif time
28539 .PHONY: install-time maybe-install-time
28540 maybe-install-time:
28541 @if time
28542 maybe-install-time: install-time
28544 install-time: installdirs
28545 @: $(MAKE); $(unstage)
28546 @r=`${PWD_COMMAND}`; export r; \
28547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28548 $(HOST_EXPORTS) \
28549 (cd $(HOST_SUBDIR)/time && \
28550 $(MAKE) $(FLAGS_TO_PASS) install)
28552 @endif time
28554 # Other targets (info, dvi, pdf, etc.)
28556 .PHONY: maybe-info-time info-time
28557 maybe-info-time:
28558 @if time
28559 maybe-info-time: info-time
28561 info-time: \
28562 configure-time
28563 @: $(MAKE); $(unstage)
28564 @[ -f ./time/Makefile ] || exit 0; \
28565 r=`${PWD_COMMAND}`; export r; \
28566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28567 $(HOST_EXPORTS) \
28568 for flag in $(EXTRA_HOST_FLAGS) ; do \
28569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28570 done; \
28571 echo "Doing info in time" ; \
28572 (cd $(HOST_SUBDIR)/time && \
28573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28575 "RANLIB=$${RANLIB}" \
28576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28577 info) \
28578 || exit 1
28580 @endif time
28582 .PHONY: maybe-dvi-time dvi-time
28583 maybe-dvi-time:
28584 @if time
28585 maybe-dvi-time: dvi-time
28587 dvi-time: \
28588 configure-time
28589 @: $(MAKE); $(unstage)
28590 @[ -f ./time/Makefile ] || exit 0; \
28591 r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(HOST_EXPORTS) \
28594 for flag in $(EXTRA_HOST_FLAGS) ; do \
28595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28596 done; \
28597 echo "Doing dvi in time" ; \
28598 (cd $(HOST_SUBDIR)/time && \
28599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28601 "RANLIB=$${RANLIB}" \
28602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28603 dvi) \
28604 || exit 1
28606 @endif time
28608 .PHONY: maybe-pdf-time pdf-time
28609 maybe-pdf-time:
28610 @if time
28611 maybe-pdf-time: pdf-time
28613 pdf-time: \
28614 configure-time
28615 @: $(MAKE); $(unstage)
28616 @[ -f ./time/Makefile ] || exit 0; \
28617 r=`${PWD_COMMAND}`; export r; \
28618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28619 $(HOST_EXPORTS) \
28620 for flag in $(EXTRA_HOST_FLAGS) ; do \
28621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28622 done; \
28623 echo "Doing pdf in time" ; \
28624 (cd $(HOST_SUBDIR)/time && \
28625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28627 "RANLIB=$${RANLIB}" \
28628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28629 pdf) \
28630 || exit 1
28632 @endif time
28634 .PHONY: maybe-html-time html-time
28635 maybe-html-time:
28636 @if time
28637 maybe-html-time: html-time
28639 html-time: \
28640 configure-time
28641 @: $(MAKE); $(unstage)
28642 @[ -f ./time/Makefile ] || exit 0; \
28643 r=`${PWD_COMMAND}`; export r; \
28644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28645 $(HOST_EXPORTS) \
28646 for flag in $(EXTRA_HOST_FLAGS) ; do \
28647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28648 done; \
28649 echo "Doing html in time" ; \
28650 (cd $(HOST_SUBDIR)/time && \
28651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28653 "RANLIB=$${RANLIB}" \
28654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28655 html) \
28656 || exit 1
28658 @endif time
28660 .PHONY: maybe-TAGS-time TAGS-time
28661 maybe-TAGS-time:
28662 @if time
28663 maybe-TAGS-time: TAGS-time
28665 TAGS-time: \
28666 configure-time
28667 @: $(MAKE); $(unstage)
28668 @[ -f ./time/Makefile ] || exit 0; \
28669 r=`${PWD_COMMAND}`; export r; \
28670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28671 $(HOST_EXPORTS) \
28672 for flag in $(EXTRA_HOST_FLAGS) ; do \
28673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28674 done; \
28675 echo "Doing TAGS in time" ; \
28676 (cd $(HOST_SUBDIR)/time && \
28677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28679 "RANLIB=$${RANLIB}" \
28680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28681 TAGS) \
28682 || exit 1
28684 @endif time
28686 .PHONY: maybe-install-info-time install-info-time
28687 maybe-install-info-time:
28688 @if time
28689 maybe-install-info-time: install-info-time
28691 install-info-time: \
28692 configure-time \
28693 info-time
28694 @: $(MAKE); $(unstage)
28695 @[ -f ./time/Makefile ] || exit 0; \
28696 r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(HOST_EXPORTS) \
28699 for flag in $(EXTRA_HOST_FLAGS) ; do \
28700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28701 done; \
28702 echo "Doing install-info in time" ; \
28703 (cd $(HOST_SUBDIR)/time && \
28704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28706 "RANLIB=$${RANLIB}" \
28707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28708 install-info) \
28709 || exit 1
28711 @endif time
28713 .PHONY: maybe-install-html-time install-html-time
28714 maybe-install-html-time:
28715 @if time
28716 maybe-install-html-time: install-html-time
28718 install-html-time: \
28719 configure-time \
28720 html-time
28721 @: $(MAKE); $(unstage)
28722 @[ -f ./time/Makefile ] || exit 0; \
28723 r=`${PWD_COMMAND}`; export r; \
28724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28725 $(HOST_EXPORTS) \
28726 for flag in $(EXTRA_HOST_FLAGS) ; do \
28727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28728 done; \
28729 echo "Doing install-html in time" ; \
28730 (cd $(HOST_SUBDIR)/time && \
28731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28733 "RANLIB=$${RANLIB}" \
28734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28735 install-html) \
28736 || exit 1
28738 @endif time
28740 .PHONY: maybe-installcheck-time installcheck-time
28741 maybe-installcheck-time:
28742 @if time
28743 maybe-installcheck-time: installcheck-time
28745 installcheck-time: \
28746 configure-time
28747 @: $(MAKE); $(unstage)
28748 @[ -f ./time/Makefile ] || exit 0; \
28749 r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 $(HOST_EXPORTS) \
28752 for flag in $(EXTRA_HOST_FLAGS) ; do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 done; \
28755 echo "Doing installcheck in time" ; \
28756 (cd $(HOST_SUBDIR)/time && \
28757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28759 "RANLIB=$${RANLIB}" \
28760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28761 installcheck) \
28762 || exit 1
28764 @endif time
28766 .PHONY: maybe-mostlyclean-time mostlyclean-time
28767 maybe-mostlyclean-time:
28768 @if time
28769 maybe-mostlyclean-time: mostlyclean-time
28771 mostlyclean-time:
28772 @: $(MAKE); $(unstage)
28773 @[ -f ./time/Makefile ] || exit 0; \
28774 r=`${PWD_COMMAND}`; export r; \
28775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776 $(HOST_EXPORTS) \
28777 for flag in $(EXTRA_HOST_FLAGS) ; do \
28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 done; \
28780 echo "Doing mostlyclean in time" ; \
28781 (cd $(HOST_SUBDIR)/time && \
28782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28784 "RANLIB=$${RANLIB}" \
28785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28786 mostlyclean) \
28787 || exit 1
28789 @endif time
28791 .PHONY: maybe-clean-time clean-time
28792 maybe-clean-time:
28793 @if time
28794 maybe-clean-time: clean-time
28796 clean-time:
28797 @: $(MAKE); $(unstage)
28798 @[ -f ./time/Makefile ] || exit 0; \
28799 r=`${PWD_COMMAND}`; export r; \
28800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28801 $(HOST_EXPORTS) \
28802 for flag in $(EXTRA_HOST_FLAGS) ; do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28804 done; \
28805 echo "Doing clean in time" ; \
28806 (cd $(HOST_SUBDIR)/time && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28811 clean) \
28812 || exit 1
28814 @endif time
28816 .PHONY: maybe-distclean-time distclean-time
28817 maybe-distclean-time:
28818 @if time
28819 maybe-distclean-time: distclean-time
28821 distclean-time:
28822 @: $(MAKE); $(unstage)
28823 @[ -f ./time/Makefile ] || exit 0; \
28824 r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28826 $(HOST_EXPORTS) \
28827 for flag in $(EXTRA_HOST_FLAGS) ; do \
28828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28829 done; \
28830 echo "Doing distclean in time" ; \
28831 (cd $(HOST_SUBDIR)/time && \
28832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28834 "RANLIB=$${RANLIB}" \
28835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28836 distclean) \
28837 || exit 1
28839 @endif time
28841 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28842 maybe-maintainer-clean-time:
28843 @if time
28844 maybe-maintainer-clean-time: maintainer-clean-time
28846 maintainer-clean-time:
28847 @: $(MAKE); $(unstage)
28848 @[ -f ./time/Makefile ] || exit 0; \
28849 r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(HOST_EXPORTS) \
28852 for flag in $(EXTRA_HOST_FLAGS) ; do \
28853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28854 done; \
28855 echo "Doing maintainer-clean in time" ; \
28856 (cd $(HOST_SUBDIR)/time && \
28857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28859 "RANLIB=$${RANLIB}" \
28860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28861 maintainer-clean) \
28862 || exit 1
28864 @endif time
28868 .PHONY: configure-uudecode maybe-configure-uudecode
28869 maybe-configure-uudecode:
28870 @if gcc-bootstrap
28871 configure-uudecode: stage_current
28872 @endif gcc-bootstrap
28873 @if uudecode
28874 maybe-configure-uudecode: configure-uudecode
28875 configure-uudecode:
28876 @: $(MAKE); $(unstage)
28877 @r=`${PWD_COMMAND}`; export r; \
28878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28879 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28881 $(HOST_EXPORTS) \
28882 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28883 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28884 case $(srcdir) in \
28885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28886 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28888 esac; \
28889 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28890 libsrcdir="$$s/uudecode"; \
28891 $(SHELL) $${libsrcdir}/configure \
28892 $(HOST_CONFIGARGS) $${srcdiroption} \
28893 || exit 1
28894 @endif uudecode
28900 .PHONY: all-uudecode maybe-all-uudecode
28901 maybe-all-uudecode:
28902 @if gcc-bootstrap
28903 all-uudecode: stage_current
28904 @endif gcc-bootstrap
28905 @if uudecode
28906 TARGET-uudecode=all
28907 maybe-all-uudecode: all-uudecode
28908 all-uudecode: configure-uudecode
28909 @: $(MAKE); $(unstage)
28910 @r=`${PWD_COMMAND}`; export r; \
28911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28912 $(HOST_EXPORTS) \
28913 (cd $(HOST_SUBDIR)/uudecode && \
28914 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28915 @endif uudecode
28920 .PHONY: check-uudecode maybe-check-uudecode
28921 maybe-check-uudecode:
28922 @if uudecode
28923 maybe-check-uudecode: check-uudecode
28925 check-uudecode:
28926 @: $(MAKE); $(unstage)
28927 @r=`${PWD_COMMAND}`; export r; \
28928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28929 $(HOST_EXPORTS) \
28930 (cd $(HOST_SUBDIR)/uudecode && \
28931 $(MAKE) $(FLAGS_TO_PASS) check)
28933 @endif uudecode
28935 .PHONY: install-uudecode maybe-install-uudecode
28936 maybe-install-uudecode:
28937 @if uudecode
28938 maybe-install-uudecode: install-uudecode
28940 install-uudecode: installdirs
28941 @: $(MAKE); $(unstage)
28942 @r=`${PWD_COMMAND}`; export r; \
28943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28944 $(HOST_EXPORTS) \
28945 (cd $(HOST_SUBDIR)/uudecode && \
28946 $(MAKE) $(FLAGS_TO_PASS) install)
28948 @endif uudecode
28950 # Other targets (info, dvi, pdf, etc.)
28952 .PHONY: maybe-info-uudecode info-uudecode
28953 maybe-info-uudecode:
28954 @if uudecode
28955 maybe-info-uudecode: info-uudecode
28957 info-uudecode: \
28958 configure-uudecode
28959 @: $(MAKE); $(unstage)
28960 @[ -f ./uudecode/Makefile ] || exit 0; \
28961 r=`${PWD_COMMAND}`; export r; \
28962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28963 $(HOST_EXPORTS) \
28964 for flag in $(EXTRA_HOST_FLAGS) ; do \
28965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28966 done; \
28967 echo "Doing info in uudecode" ; \
28968 (cd $(HOST_SUBDIR)/uudecode && \
28969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28971 "RANLIB=$${RANLIB}" \
28972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28973 info) \
28974 || exit 1
28976 @endif uudecode
28978 .PHONY: maybe-dvi-uudecode dvi-uudecode
28979 maybe-dvi-uudecode:
28980 @if uudecode
28981 maybe-dvi-uudecode: dvi-uudecode
28983 dvi-uudecode: \
28984 configure-uudecode
28985 @: $(MAKE); $(unstage)
28986 @[ -f ./uudecode/Makefile ] || exit 0; \
28987 r=`${PWD_COMMAND}`; export r; \
28988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28989 $(HOST_EXPORTS) \
28990 for flag in $(EXTRA_HOST_FLAGS) ; do \
28991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28992 done; \
28993 echo "Doing dvi in uudecode" ; \
28994 (cd $(HOST_SUBDIR)/uudecode && \
28995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28997 "RANLIB=$${RANLIB}" \
28998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28999 dvi) \
29000 || exit 1
29002 @endif uudecode
29004 .PHONY: maybe-pdf-uudecode pdf-uudecode
29005 maybe-pdf-uudecode:
29006 @if uudecode
29007 maybe-pdf-uudecode: pdf-uudecode
29009 pdf-uudecode: \
29010 configure-uudecode
29011 @: $(MAKE); $(unstage)
29012 @[ -f ./uudecode/Makefile ] || exit 0; \
29013 r=`${PWD_COMMAND}`; export r; \
29014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29015 $(HOST_EXPORTS) \
29016 for flag in $(EXTRA_HOST_FLAGS) ; do \
29017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29018 done; \
29019 echo "Doing pdf in uudecode" ; \
29020 (cd $(HOST_SUBDIR)/uudecode && \
29021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29023 "RANLIB=$${RANLIB}" \
29024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29025 pdf) \
29026 || exit 1
29028 @endif uudecode
29030 .PHONY: maybe-html-uudecode html-uudecode
29031 maybe-html-uudecode:
29032 @if uudecode
29033 maybe-html-uudecode: html-uudecode
29035 html-uudecode: \
29036 configure-uudecode
29037 @: $(MAKE); $(unstage)
29038 @[ -f ./uudecode/Makefile ] || exit 0; \
29039 r=`${PWD_COMMAND}`; export r; \
29040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29041 $(HOST_EXPORTS) \
29042 for flag in $(EXTRA_HOST_FLAGS) ; do \
29043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29044 done; \
29045 echo "Doing html in uudecode" ; \
29046 (cd $(HOST_SUBDIR)/uudecode && \
29047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29049 "RANLIB=$${RANLIB}" \
29050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29051 html) \
29052 || exit 1
29054 @endif uudecode
29056 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
29057 maybe-TAGS-uudecode:
29058 @if uudecode
29059 maybe-TAGS-uudecode: TAGS-uudecode
29061 TAGS-uudecode: \
29062 configure-uudecode
29063 @: $(MAKE); $(unstage)
29064 @[ -f ./uudecode/Makefile ] || exit 0; \
29065 r=`${PWD_COMMAND}`; export r; \
29066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29067 $(HOST_EXPORTS) \
29068 for flag in $(EXTRA_HOST_FLAGS) ; do \
29069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29070 done; \
29071 echo "Doing TAGS in uudecode" ; \
29072 (cd $(HOST_SUBDIR)/uudecode && \
29073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29075 "RANLIB=$${RANLIB}" \
29076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29077 TAGS) \
29078 || exit 1
29080 @endif uudecode
29082 .PHONY: maybe-install-info-uudecode install-info-uudecode
29083 maybe-install-info-uudecode:
29084 @if uudecode
29085 maybe-install-info-uudecode: install-info-uudecode
29087 install-info-uudecode: \
29088 configure-uudecode \
29089 info-uudecode
29090 @: $(MAKE); $(unstage)
29091 @[ -f ./uudecode/Makefile ] || exit 0; \
29092 r=`${PWD_COMMAND}`; export r; \
29093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29094 $(HOST_EXPORTS) \
29095 for flag in $(EXTRA_HOST_FLAGS) ; do \
29096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29097 done; \
29098 echo "Doing install-info in uudecode" ; \
29099 (cd $(HOST_SUBDIR)/uudecode && \
29100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29102 "RANLIB=$${RANLIB}" \
29103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29104 install-info) \
29105 || exit 1
29107 @endif uudecode
29109 .PHONY: maybe-install-html-uudecode install-html-uudecode
29110 maybe-install-html-uudecode:
29111 @if uudecode
29112 maybe-install-html-uudecode: install-html-uudecode
29114 install-html-uudecode: \
29115 configure-uudecode \
29116 html-uudecode
29117 @: $(MAKE); $(unstage)
29118 @[ -f ./uudecode/Makefile ] || exit 0; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(HOST_EXPORTS) \
29122 for flag in $(EXTRA_HOST_FLAGS) ; do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 echo "Doing install-html in uudecode" ; \
29126 (cd $(HOST_SUBDIR)/uudecode && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29131 install-html) \
29132 || exit 1
29134 @endif uudecode
29136 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
29137 maybe-installcheck-uudecode:
29138 @if uudecode
29139 maybe-installcheck-uudecode: installcheck-uudecode
29141 installcheck-uudecode: \
29142 configure-uudecode
29143 @: $(MAKE); $(unstage)
29144 @[ -f ./uudecode/Makefile ] || exit 0; \
29145 r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(HOST_EXPORTS) \
29148 for flag in $(EXTRA_HOST_FLAGS) ; do \
29149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29150 done; \
29151 echo "Doing installcheck in uudecode" ; \
29152 (cd $(HOST_SUBDIR)/uudecode && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29155 "RANLIB=$${RANLIB}" \
29156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29157 installcheck) \
29158 || exit 1
29160 @endif uudecode
29162 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
29163 maybe-mostlyclean-uudecode:
29164 @if uudecode
29165 maybe-mostlyclean-uudecode: mostlyclean-uudecode
29167 mostlyclean-uudecode:
29168 @: $(MAKE); $(unstage)
29169 @[ -f ./uudecode/Makefile ] || exit 0; \
29170 r=`${PWD_COMMAND}`; export r; \
29171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29172 $(HOST_EXPORTS) \
29173 for flag in $(EXTRA_HOST_FLAGS) ; do \
29174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29175 done; \
29176 echo "Doing mostlyclean in uudecode" ; \
29177 (cd $(HOST_SUBDIR)/uudecode && \
29178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29180 "RANLIB=$${RANLIB}" \
29181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29182 mostlyclean) \
29183 || exit 1
29185 @endif uudecode
29187 .PHONY: maybe-clean-uudecode clean-uudecode
29188 maybe-clean-uudecode:
29189 @if uudecode
29190 maybe-clean-uudecode: clean-uudecode
29192 clean-uudecode:
29193 @: $(MAKE); $(unstage)
29194 @[ -f ./uudecode/Makefile ] || exit 0; \
29195 r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(HOST_EXPORTS) \
29198 for flag in $(EXTRA_HOST_FLAGS) ; do \
29199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29200 done; \
29201 echo "Doing clean in uudecode" ; \
29202 (cd $(HOST_SUBDIR)/uudecode && \
29203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29205 "RANLIB=$${RANLIB}" \
29206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29207 clean) \
29208 || exit 1
29210 @endif uudecode
29212 .PHONY: maybe-distclean-uudecode distclean-uudecode
29213 maybe-distclean-uudecode:
29214 @if uudecode
29215 maybe-distclean-uudecode: distclean-uudecode
29217 distclean-uudecode:
29218 @: $(MAKE); $(unstage)
29219 @[ -f ./uudecode/Makefile ] || exit 0; \
29220 r=`${PWD_COMMAND}`; export r; \
29221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29222 $(HOST_EXPORTS) \
29223 for flag in $(EXTRA_HOST_FLAGS) ; do \
29224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29225 done; \
29226 echo "Doing distclean in uudecode" ; \
29227 (cd $(HOST_SUBDIR)/uudecode && \
29228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29230 "RANLIB=$${RANLIB}" \
29231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29232 distclean) \
29233 || exit 1
29235 @endif uudecode
29237 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29238 maybe-maintainer-clean-uudecode:
29239 @if uudecode
29240 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29242 maintainer-clean-uudecode:
29243 @: $(MAKE); $(unstage)
29244 @[ -f ./uudecode/Makefile ] || exit 0; \
29245 r=`${PWD_COMMAND}`; export r; \
29246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29247 $(HOST_EXPORTS) \
29248 for flag in $(EXTRA_HOST_FLAGS) ; do \
29249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29250 done; \
29251 echo "Doing maintainer-clean in uudecode" ; \
29252 (cd $(HOST_SUBDIR)/uudecode && \
29253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29255 "RANLIB=$${RANLIB}" \
29256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29257 maintainer-clean) \
29258 || exit 1
29260 @endif uudecode
29264 .PHONY: configure-wdiff maybe-configure-wdiff
29265 maybe-configure-wdiff:
29266 @if gcc-bootstrap
29267 configure-wdiff: stage_current
29268 @endif gcc-bootstrap
29269 @if wdiff
29270 maybe-configure-wdiff: configure-wdiff
29271 configure-wdiff:
29272 @: $(MAKE); $(unstage)
29273 @r=`${PWD_COMMAND}`; export r; \
29274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29275 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29277 $(HOST_EXPORTS) \
29278 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29279 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29280 case $(srcdir) in \
29281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29282 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29284 esac; \
29285 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29286 libsrcdir="$$s/wdiff"; \
29287 $(SHELL) $${libsrcdir}/configure \
29288 $(HOST_CONFIGARGS) $${srcdiroption} \
29289 || exit 1
29290 @endif wdiff
29296 .PHONY: all-wdiff maybe-all-wdiff
29297 maybe-all-wdiff:
29298 @if gcc-bootstrap
29299 all-wdiff: stage_current
29300 @endif gcc-bootstrap
29301 @if wdiff
29302 TARGET-wdiff=all
29303 maybe-all-wdiff: all-wdiff
29304 all-wdiff: configure-wdiff
29305 @: $(MAKE); $(unstage)
29306 @r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29308 $(HOST_EXPORTS) \
29309 (cd $(HOST_SUBDIR)/wdiff && \
29310 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29311 @endif wdiff
29316 .PHONY: check-wdiff maybe-check-wdiff
29317 maybe-check-wdiff:
29318 @if wdiff
29319 maybe-check-wdiff: check-wdiff
29321 check-wdiff:
29322 @: $(MAKE); $(unstage)
29323 @r=`${PWD_COMMAND}`; export r; \
29324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29325 $(HOST_EXPORTS) \
29326 (cd $(HOST_SUBDIR)/wdiff && \
29327 $(MAKE) $(FLAGS_TO_PASS) check)
29329 @endif wdiff
29331 .PHONY: install-wdiff maybe-install-wdiff
29332 maybe-install-wdiff:
29333 @if wdiff
29334 maybe-install-wdiff: install-wdiff
29336 install-wdiff: installdirs
29337 @: $(MAKE); $(unstage)
29338 @r=`${PWD_COMMAND}`; export r; \
29339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29340 $(HOST_EXPORTS) \
29341 (cd $(HOST_SUBDIR)/wdiff && \
29342 $(MAKE) $(FLAGS_TO_PASS) install)
29344 @endif wdiff
29346 # Other targets (info, dvi, pdf, etc.)
29348 .PHONY: maybe-info-wdiff info-wdiff
29349 maybe-info-wdiff:
29350 @if wdiff
29351 maybe-info-wdiff: info-wdiff
29353 info-wdiff: \
29354 configure-wdiff
29355 @: $(MAKE); $(unstage)
29356 @[ -f ./wdiff/Makefile ] || exit 0; \
29357 r=`${PWD_COMMAND}`; export r; \
29358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29359 $(HOST_EXPORTS) \
29360 for flag in $(EXTRA_HOST_FLAGS) ; do \
29361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29362 done; \
29363 echo "Doing info in wdiff" ; \
29364 (cd $(HOST_SUBDIR)/wdiff && \
29365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29367 "RANLIB=$${RANLIB}" \
29368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29369 info) \
29370 || exit 1
29372 @endif wdiff
29374 .PHONY: maybe-dvi-wdiff dvi-wdiff
29375 maybe-dvi-wdiff:
29376 @if wdiff
29377 maybe-dvi-wdiff: dvi-wdiff
29379 dvi-wdiff: \
29380 configure-wdiff
29381 @: $(MAKE); $(unstage)
29382 @[ -f ./wdiff/Makefile ] || exit 0; \
29383 r=`${PWD_COMMAND}`; export r; \
29384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29385 $(HOST_EXPORTS) \
29386 for flag in $(EXTRA_HOST_FLAGS) ; do \
29387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29388 done; \
29389 echo "Doing dvi in wdiff" ; \
29390 (cd $(HOST_SUBDIR)/wdiff && \
29391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29393 "RANLIB=$${RANLIB}" \
29394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29395 dvi) \
29396 || exit 1
29398 @endif wdiff
29400 .PHONY: maybe-pdf-wdiff pdf-wdiff
29401 maybe-pdf-wdiff:
29402 @if wdiff
29403 maybe-pdf-wdiff: pdf-wdiff
29405 pdf-wdiff: \
29406 configure-wdiff
29407 @: $(MAKE); $(unstage)
29408 @[ -f ./wdiff/Makefile ] || exit 0; \
29409 r=`${PWD_COMMAND}`; export r; \
29410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29411 $(HOST_EXPORTS) \
29412 for flag in $(EXTRA_HOST_FLAGS) ; do \
29413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29414 done; \
29415 echo "Doing pdf in wdiff" ; \
29416 (cd $(HOST_SUBDIR)/wdiff && \
29417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29419 "RANLIB=$${RANLIB}" \
29420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29421 pdf) \
29422 || exit 1
29424 @endif wdiff
29426 .PHONY: maybe-html-wdiff html-wdiff
29427 maybe-html-wdiff:
29428 @if wdiff
29429 maybe-html-wdiff: html-wdiff
29431 html-wdiff: \
29432 configure-wdiff
29433 @: $(MAKE); $(unstage)
29434 @[ -f ./wdiff/Makefile ] || exit 0; \
29435 r=`${PWD_COMMAND}`; export r; \
29436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29437 $(HOST_EXPORTS) \
29438 for flag in $(EXTRA_HOST_FLAGS) ; do \
29439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29440 done; \
29441 echo "Doing html in wdiff" ; \
29442 (cd $(HOST_SUBDIR)/wdiff && \
29443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29445 "RANLIB=$${RANLIB}" \
29446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29447 html) \
29448 || exit 1
29450 @endif wdiff
29452 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29453 maybe-TAGS-wdiff:
29454 @if wdiff
29455 maybe-TAGS-wdiff: TAGS-wdiff
29457 TAGS-wdiff: \
29458 configure-wdiff
29459 @: $(MAKE); $(unstage)
29460 @[ -f ./wdiff/Makefile ] || exit 0; \
29461 r=`${PWD_COMMAND}`; export r; \
29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29463 $(HOST_EXPORTS) \
29464 for flag in $(EXTRA_HOST_FLAGS) ; do \
29465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29466 done; \
29467 echo "Doing TAGS in wdiff" ; \
29468 (cd $(HOST_SUBDIR)/wdiff && \
29469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29471 "RANLIB=$${RANLIB}" \
29472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29473 TAGS) \
29474 || exit 1
29476 @endif wdiff
29478 .PHONY: maybe-install-info-wdiff install-info-wdiff
29479 maybe-install-info-wdiff:
29480 @if wdiff
29481 maybe-install-info-wdiff: install-info-wdiff
29483 install-info-wdiff: \
29484 configure-wdiff \
29485 info-wdiff
29486 @: $(MAKE); $(unstage)
29487 @[ -f ./wdiff/Makefile ] || exit 0; \
29488 r=`${PWD_COMMAND}`; export r; \
29489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29490 $(HOST_EXPORTS) \
29491 for flag in $(EXTRA_HOST_FLAGS) ; do \
29492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29493 done; \
29494 echo "Doing install-info in wdiff" ; \
29495 (cd $(HOST_SUBDIR)/wdiff && \
29496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29498 "RANLIB=$${RANLIB}" \
29499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29500 install-info) \
29501 || exit 1
29503 @endif wdiff
29505 .PHONY: maybe-install-html-wdiff install-html-wdiff
29506 maybe-install-html-wdiff:
29507 @if wdiff
29508 maybe-install-html-wdiff: install-html-wdiff
29510 install-html-wdiff: \
29511 configure-wdiff \
29512 html-wdiff
29513 @: $(MAKE); $(unstage)
29514 @[ -f ./wdiff/Makefile ] || exit 0; \
29515 r=`${PWD_COMMAND}`; export r; \
29516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29517 $(HOST_EXPORTS) \
29518 for flag in $(EXTRA_HOST_FLAGS) ; do \
29519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29520 done; \
29521 echo "Doing install-html in wdiff" ; \
29522 (cd $(HOST_SUBDIR)/wdiff && \
29523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29525 "RANLIB=$${RANLIB}" \
29526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29527 install-html) \
29528 || exit 1
29530 @endif wdiff
29532 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29533 maybe-installcheck-wdiff:
29534 @if wdiff
29535 maybe-installcheck-wdiff: installcheck-wdiff
29537 installcheck-wdiff: \
29538 configure-wdiff
29539 @: $(MAKE); $(unstage)
29540 @[ -f ./wdiff/Makefile ] || exit 0; \
29541 r=`${PWD_COMMAND}`; export r; \
29542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29543 $(HOST_EXPORTS) \
29544 for flag in $(EXTRA_HOST_FLAGS) ; do \
29545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29546 done; \
29547 echo "Doing installcheck in wdiff" ; \
29548 (cd $(HOST_SUBDIR)/wdiff && \
29549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29551 "RANLIB=$${RANLIB}" \
29552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29553 installcheck) \
29554 || exit 1
29556 @endif wdiff
29558 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29559 maybe-mostlyclean-wdiff:
29560 @if wdiff
29561 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29563 mostlyclean-wdiff:
29564 @: $(MAKE); $(unstage)
29565 @[ -f ./wdiff/Makefile ] || exit 0; \
29566 r=`${PWD_COMMAND}`; export r; \
29567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29568 $(HOST_EXPORTS) \
29569 for flag in $(EXTRA_HOST_FLAGS) ; do \
29570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29571 done; \
29572 echo "Doing mostlyclean in wdiff" ; \
29573 (cd $(HOST_SUBDIR)/wdiff && \
29574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29576 "RANLIB=$${RANLIB}" \
29577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29578 mostlyclean) \
29579 || exit 1
29581 @endif wdiff
29583 .PHONY: maybe-clean-wdiff clean-wdiff
29584 maybe-clean-wdiff:
29585 @if wdiff
29586 maybe-clean-wdiff: clean-wdiff
29588 clean-wdiff:
29589 @: $(MAKE); $(unstage)
29590 @[ -f ./wdiff/Makefile ] || exit 0; \
29591 r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 $(HOST_EXPORTS) \
29594 for flag in $(EXTRA_HOST_FLAGS) ; do \
29595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29596 done; \
29597 echo "Doing clean in wdiff" ; \
29598 (cd $(HOST_SUBDIR)/wdiff && \
29599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29601 "RANLIB=$${RANLIB}" \
29602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29603 clean) \
29604 || exit 1
29606 @endif wdiff
29608 .PHONY: maybe-distclean-wdiff distclean-wdiff
29609 maybe-distclean-wdiff:
29610 @if wdiff
29611 maybe-distclean-wdiff: distclean-wdiff
29613 distclean-wdiff:
29614 @: $(MAKE); $(unstage)
29615 @[ -f ./wdiff/Makefile ] || exit 0; \
29616 r=`${PWD_COMMAND}`; export r; \
29617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29618 $(HOST_EXPORTS) \
29619 for flag in $(EXTRA_HOST_FLAGS) ; do \
29620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29621 done; \
29622 echo "Doing distclean in wdiff" ; \
29623 (cd $(HOST_SUBDIR)/wdiff && \
29624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29626 "RANLIB=$${RANLIB}" \
29627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29628 distclean) \
29629 || exit 1
29631 @endif wdiff
29633 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29634 maybe-maintainer-clean-wdiff:
29635 @if wdiff
29636 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29638 maintainer-clean-wdiff:
29639 @: $(MAKE); $(unstage)
29640 @[ -f ./wdiff/Makefile ] || exit 0; \
29641 r=`${PWD_COMMAND}`; export r; \
29642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29643 $(HOST_EXPORTS) \
29644 for flag in $(EXTRA_HOST_FLAGS) ; do \
29645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29646 done; \
29647 echo "Doing maintainer-clean in wdiff" ; \
29648 (cd $(HOST_SUBDIR)/wdiff && \
29649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29651 "RANLIB=$${RANLIB}" \
29652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29653 maintainer-clean) \
29654 || exit 1
29656 @endif wdiff
29660 .PHONY: configure-zip maybe-configure-zip
29661 maybe-configure-zip:
29662 @if gcc-bootstrap
29663 configure-zip: stage_current
29664 @endif gcc-bootstrap
29665 @if zip
29666 maybe-configure-zip: configure-zip
29667 configure-zip:
29668 @: $(MAKE); $(unstage)
29669 @r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29673 $(HOST_EXPORTS) \
29674 echo Configuring in $(HOST_SUBDIR)/zip; \
29675 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29676 case $(srcdir) in \
29677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29678 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29680 esac; \
29681 srcdiroption="--srcdir=$${topdir}/zip"; \
29682 libsrcdir="$$s/zip"; \
29683 $(SHELL) $${libsrcdir}/configure \
29684 $(HOST_CONFIGARGS) $${srcdiroption} \
29685 || exit 1
29686 @endif zip
29692 .PHONY: all-zip maybe-all-zip
29693 maybe-all-zip:
29694 @if gcc-bootstrap
29695 all-zip: stage_current
29696 @endif gcc-bootstrap
29697 @if zip
29698 TARGET-zip=all
29699 maybe-all-zip: all-zip
29700 all-zip: configure-zip
29701 @: $(MAKE); $(unstage)
29702 @r=`${PWD_COMMAND}`; export r; \
29703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29704 $(HOST_EXPORTS) \
29705 (cd $(HOST_SUBDIR)/zip && \
29706 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29707 @endif zip
29712 .PHONY: check-zip maybe-check-zip
29713 maybe-check-zip:
29714 @if zip
29715 maybe-check-zip: check-zip
29717 # This module is only tested in a native toolchain.
29718 check-zip:
29719 @: $(MAKE); $(unstage)
29720 @if [ '$(host)' = '$(target)' ] ; then \
29721 r=`${PWD_COMMAND}`; export r; \
29722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29723 $(HOST_EXPORTS) \
29724 (cd $(HOST_SUBDIR)/zip && \
29725 $(MAKE) $(FLAGS_TO_PASS) check); \
29728 @endif zip
29730 .PHONY: install-zip maybe-install-zip
29731 maybe-install-zip:
29732 @if zip
29733 maybe-install-zip: install-zip
29735 install-zip: installdirs
29736 @: $(MAKE); $(unstage)
29737 @r=`${PWD_COMMAND}`; export r; \
29738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29739 $(HOST_EXPORTS) \
29740 (cd $(HOST_SUBDIR)/zip && \
29741 $(MAKE) $(FLAGS_TO_PASS) install)
29743 @endif zip
29745 # Other targets (info, dvi, pdf, etc.)
29747 .PHONY: maybe-info-zip info-zip
29748 maybe-info-zip:
29749 @if zip
29750 maybe-info-zip: info-zip
29752 info-zip: \
29753 configure-zip
29754 @: $(MAKE); $(unstage)
29755 @[ -f ./zip/Makefile ] || exit 0; \
29756 r=`${PWD_COMMAND}`; export r; \
29757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29758 $(HOST_EXPORTS) \
29759 for flag in $(EXTRA_HOST_FLAGS) ; do \
29760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29761 done; \
29762 echo "Doing info in zip" ; \
29763 (cd $(HOST_SUBDIR)/zip && \
29764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29766 "RANLIB=$${RANLIB}" \
29767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29768 info) \
29769 || exit 1
29771 @endif zip
29773 .PHONY: maybe-dvi-zip dvi-zip
29774 maybe-dvi-zip:
29775 @if zip
29776 maybe-dvi-zip: dvi-zip
29778 dvi-zip: \
29779 configure-zip
29780 @: $(MAKE); $(unstage)
29781 @[ -f ./zip/Makefile ] || exit 0; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29784 $(HOST_EXPORTS) \
29785 for flag in $(EXTRA_HOST_FLAGS) ; do \
29786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29787 done; \
29788 echo "Doing dvi in zip" ; \
29789 (cd $(HOST_SUBDIR)/zip && \
29790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29792 "RANLIB=$${RANLIB}" \
29793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29794 dvi) \
29795 || exit 1
29797 @endif zip
29799 .PHONY: maybe-pdf-zip pdf-zip
29800 maybe-pdf-zip:
29801 @if zip
29802 maybe-pdf-zip: pdf-zip
29804 pdf-zip: \
29805 configure-zip
29806 @: $(MAKE); $(unstage)
29807 @[ -f ./zip/Makefile ] || exit 0; \
29808 r=`${PWD_COMMAND}`; export r; \
29809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29810 $(HOST_EXPORTS) \
29811 for flag in $(EXTRA_HOST_FLAGS) ; do \
29812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29813 done; \
29814 echo "Doing pdf in zip" ; \
29815 (cd $(HOST_SUBDIR)/zip && \
29816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29818 "RANLIB=$${RANLIB}" \
29819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29820 pdf) \
29821 || exit 1
29823 @endif zip
29825 .PHONY: maybe-html-zip html-zip
29826 maybe-html-zip:
29827 @if zip
29828 maybe-html-zip: html-zip
29830 html-zip: \
29831 configure-zip
29832 @: $(MAKE); $(unstage)
29833 @[ -f ./zip/Makefile ] || exit 0; \
29834 r=`${PWD_COMMAND}`; export r; \
29835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29836 $(HOST_EXPORTS) \
29837 for flag in $(EXTRA_HOST_FLAGS) ; do \
29838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29839 done; \
29840 echo "Doing html in zip" ; \
29841 (cd $(HOST_SUBDIR)/zip && \
29842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29844 "RANLIB=$${RANLIB}" \
29845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29846 html) \
29847 || exit 1
29849 @endif zip
29851 .PHONY: maybe-TAGS-zip TAGS-zip
29852 maybe-TAGS-zip:
29853 @if zip
29854 maybe-TAGS-zip: TAGS-zip
29856 TAGS-zip: \
29857 configure-zip
29858 @: $(MAKE); $(unstage)
29859 @[ -f ./zip/Makefile ] || exit 0; \
29860 r=`${PWD_COMMAND}`; export r; \
29861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(HOST_EXPORTS) \
29863 for flag in $(EXTRA_HOST_FLAGS) ; do \
29864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29865 done; \
29866 echo "Doing TAGS in zip" ; \
29867 (cd $(HOST_SUBDIR)/zip && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29872 TAGS) \
29873 || exit 1
29875 @endif zip
29877 .PHONY: maybe-install-info-zip install-info-zip
29878 maybe-install-info-zip:
29879 @if zip
29880 maybe-install-info-zip: install-info-zip
29882 install-info-zip: \
29883 configure-zip \
29884 info-zip
29885 @: $(MAKE); $(unstage)
29886 @[ -f ./zip/Makefile ] || exit 0; \
29887 r=`${PWD_COMMAND}`; export r; \
29888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29889 $(HOST_EXPORTS) \
29890 for flag in $(EXTRA_HOST_FLAGS) ; do \
29891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29892 done; \
29893 echo "Doing install-info in zip" ; \
29894 (cd $(HOST_SUBDIR)/zip && \
29895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29897 "RANLIB=$${RANLIB}" \
29898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29899 install-info) \
29900 || exit 1
29902 @endif zip
29904 .PHONY: maybe-install-html-zip install-html-zip
29905 maybe-install-html-zip:
29906 @if zip
29907 maybe-install-html-zip: install-html-zip
29909 install-html-zip: \
29910 configure-zip \
29911 html-zip
29912 @: $(MAKE); $(unstage)
29913 @[ -f ./zip/Makefile ] || exit 0; \
29914 r=`${PWD_COMMAND}`; export r; \
29915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29916 $(HOST_EXPORTS) \
29917 for flag in $(EXTRA_HOST_FLAGS) ; do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 echo "Doing install-html in zip" ; \
29921 (cd $(HOST_SUBDIR)/zip && \
29922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29924 "RANLIB=$${RANLIB}" \
29925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29926 install-html) \
29927 || exit 1
29929 @endif zip
29931 .PHONY: maybe-installcheck-zip installcheck-zip
29932 maybe-installcheck-zip:
29933 @if zip
29934 maybe-installcheck-zip: installcheck-zip
29936 installcheck-zip: \
29937 configure-zip
29938 @: $(MAKE); $(unstage)
29939 @[ -f ./zip/Makefile ] || exit 0; \
29940 r=`${PWD_COMMAND}`; export r; \
29941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29942 $(HOST_EXPORTS) \
29943 for flag in $(EXTRA_HOST_FLAGS) ; do \
29944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29945 done; \
29946 echo "Doing installcheck in zip" ; \
29947 (cd $(HOST_SUBDIR)/zip && \
29948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29950 "RANLIB=$${RANLIB}" \
29951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29952 installcheck) \
29953 || exit 1
29955 @endif zip
29957 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29958 maybe-mostlyclean-zip:
29959 @if zip
29960 maybe-mostlyclean-zip: mostlyclean-zip
29962 mostlyclean-zip:
29963 @: $(MAKE); $(unstage)
29964 @[ -f ./zip/Makefile ] || exit 0; \
29965 r=`${PWD_COMMAND}`; export r; \
29966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29967 $(HOST_EXPORTS) \
29968 for flag in $(EXTRA_HOST_FLAGS) ; do \
29969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29970 done; \
29971 echo "Doing mostlyclean in zip" ; \
29972 (cd $(HOST_SUBDIR)/zip && \
29973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29975 "RANLIB=$${RANLIB}" \
29976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29977 mostlyclean) \
29978 || exit 1
29980 @endif zip
29982 .PHONY: maybe-clean-zip clean-zip
29983 maybe-clean-zip:
29984 @if zip
29985 maybe-clean-zip: clean-zip
29987 clean-zip:
29988 @: $(MAKE); $(unstage)
29989 @[ -f ./zip/Makefile ] || exit 0; \
29990 r=`${PWD_COMMAND}`; export r; \
29991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29992 $(HOST_EXPORTS) \
29993 for flag in $(EXTRA_HOST_FLAGS) ; do \
29994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29995 done; \
29996 echo "Doing clean in zip" ; \
29997 (cd $(HOST_SUBDIR)/zip && \
29998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30000 "RANLIB=$${RANLIB}" \
30001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30002 clean) \
30003 || exit 1
30005 @endif zip
30007 .PHONY: maybe-distclean-zip distclean-zip
30008 maybe-distclean-zip:
30009 @if zip
30010 maybe-distclean-zip: distclean-zip
30012 distclean-zip:
30013 @: $(MAKE); $(unstage)
30014 @[ -f ./zip/Makefile ] || exit 0; \
30015 r=`${PWD_COMMAND}`; export r; \
30016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30017 $(HOST_EXPORTS) \
30018 for flag in $(EXTRA_HOST_FLAGS) ; do \
30019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30020 done; \
30021 echo "Doing distclean in zip" ; \
30022 (cd $(HOST_SUBDIR)/zip && \
30023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30025 "RANLIB=$${RANLIB}" \
30026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30027 distclean) \
30028 || exit 1
30030 @endif zip
30032 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
30033 maybe-maintainer-clean-zip:
30034 @if zip
30035 maybe-maintainer-clean-zip: maintainer-clean-zip
30037 maintainer-clean-zip:
30038 @: $(MAKE); $(unstage)
30039 @[ -f ./zip/Makefile ] || exit 0; \
30040 r=`${PWD_COMMAND}`; export r; \
30041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30042 $(HOST_EXPORTS) \
30043 for flag in $(EXTRA_HOST_FLAGS) ; do \
30044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30045 done; \
30046 echo "Doing maintainer-clean in zip" ; \
30047 (cd $(HOST_SUBDIR)/zip && \
30048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30050 "RANLIB=$${RANLIB}" \
30051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30052 maintainer-clean) \
30053 || exit 1
30055 @endif zip
30059 .PHONY: configure-zlib maybe-configure-zlib
30060 maybe-configure-zlib:
30061 @if gcc-bootstrap
30062 configure-zlib: stage_current
30063 @endif gcc-bootstrap
30064 @if zlib
30065 maybe-configure-zlib: configure-zlib
30066 configure-zlib:
30067 @r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30071 $(HOST_EXPORTS) \
30072 echo Configuring in $(HOST_SUBDIR)/zlib; \
30073 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30074 case $(srcdir) in \
30075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30076 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30078 esac; \
30079 srcdiroption="--srcdir=$${topdir}/zlib"; \
30080 libsrcdir="$$s/zlib"; \
30081 $(SHELL) $${libsrcdir}/configure \
30082 $(HOST_CONFIGARGS) $${srcdiroption} \
30083 || exit 1
30084 @endif zlib
30088 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30089 maybe-configure-stage1-zlib:
30090 @if zlib-bootstrap
30091 maybe-configure-stage1-zlib: configure-stage1-zlib
30092 configure-stage1-zlib:
30093 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30095 @r=`${PWD_COMMAND}`; export r; \
30096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30097 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30098 $(HOST_EXPORTS) \
30099 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
30100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30101 cd $(HOST_SUBDIR)/zlib || exit 1; \
30102 case $(srcdir) in \
30103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30104 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30106 esac; \
30107 srcdiroption="--srcdir=$${topdir}/zlib"; \
30108 libsrcdir="$$s/zlib"; \
30109 $(SHELL) $${libsrcdir}/configure \
30110 $(HOST_CONFIGARGS) $${srcdiroption} \
30112 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30113 @endif zlib-bootstrap
30115 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30116 maybe-configure-stage2-zlib:
30117 @if zlib-bootstrap
30118 maybe-configure-stage2-zlib: configure-stage2-zlib
30119 configure-stage2-zlib:
30120 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30122 @r=`${PWD_COMMAND}`; export r; \
30123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30124 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30125 $(HOST_EXPORTS) \
30126 $(POSTSTAGE1_HOST_EXPORTS) \
30127 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
30128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30129 cd $(HOST_SUBDIR)/zlib || exit 1; \
30130 case $(srcdir) in \
30131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30132 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30134 esac; \
30135 srcdiroption="--srcdir=$${topdir}/zlib"; \
30136 libsrcdir="$$s/zlib"; \
30137 $(SHELL) $${libsrcdir}/configure \
30138 $(HOST_CONFIGARGS) $${srcdiroption} \
30139 --with-build-libsubdir=$(HOST_SUBDIR) \
30140 @stage2_werror_flag@
30141 @endif zlib-bootstrap
30143 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30144 maybe-configure-stage3-zlib:
30145 @if zlib-bootstrap
30146 maybe-configure-stage3-zlib: configure-stage3-zlib
30147 configure-stage3-zlib:
30148 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30150 @r=`${PWD_COMMAND}`; export r; \
30151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30152 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30153 $(HOST_EXPORTS) \
30154 $(POSTSTAGE1_HOST_EXPORTS) \
30155 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
30156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30157 cd $(HOST_SUBDIR)/zlib || exit 1; \
30158 case $(srcdir) in \
30159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30160 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30162 esac; \
30163 srcdiroption="--srcdir=$${topdir}/zlib"; \
30164 libsrcdir="$$s/zlib"; \
30165 $(SHELL) $${libsrcdir}/configure \
30166 $(HOST_CONFIGARGS) $${srcdiroption} \
30167 --with-build-libsubdir=$(HOST_SUBDIR) \
30168 @stage2_werror_flag@
30169 @endif zlib-bootstrap
30171 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30172 maybe-configure-stage4-zlib:
30173 @if zlib-bootstrap
30174 maybe-configure-stage4-zlib: configure-stage4-zlib
30175 configure-stage4-zlib:
30176 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30178 @r=`${PWD_COMMAND}`; export r; \
30179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30180 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30181 $(HOST_EXPORTS) \
30182 $(POSTSTAGE1_HOST_EXPORTS) \
30183 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30185 cd $(HOST_SUBDIR)/zlib || exit 1; \
30186 case $(srcdir) in \
30187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30188 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30190 esac; \
30191 srcdiroption="--srcdir=$${topdir}/zlib"; \
30192 libsrcdir="$$s/zlib"; \
30193 $(SHELL) $${libsrcdir}/configure \
30194 $(HOST_CONFIGARGS) $${srcdiroption} \
30195 --with-build-libsubdir=$(HOST_SUBDIR) \
30196 @stage2_werror_flag@
30197 @endif zlib-bootstrap
30199 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30200 maybe-configure-stageprofile-zlib:
30201 @if zlib-bootstrap
30202 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30203 configure-stageprofile-zlib:
30204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30206 @r=`${PWD_COMMAND}`; export r; \
30207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30208 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30209 $(HOST_EXPORTS) \
30210 $(POSTSTAGE1_HOST_EXPORTS) \
30211 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30213 cd $(HOST_SUBDIR)/zlib || exit 1; \
30214 case $(srcdir) in \
30215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30216 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30218 esac; \
30219 srcdiroption="--srcdir=$${topdir}/zlib"; \
30220 libsrcdir="$$s/zlib"; \
30221 $(SHELL) $${libsrcdir}/configure \
30222 $(HOST_CONFIGARGS) $${srcdiroption} \
30223 --with-build-libsubdir=$(HOST_SUBDIR) \
30224 @stage2_werror_flag@
30225 @endif zlib-bootstrap
30227 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30228 maybe-configure-stagefeedback-zlib:
30229 @if zlib-bootstrap
30230 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30231 configure-stagefeedback-zlib:
30232 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30234 @r=`${PWD_COMMAND}`; export r; \
30235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30236 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30237 $(HOST_EXPORTS) \
30238 $(POSTSTAGE1_HOST_EXPORTS) \
30239 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30241 cd $(HOST_SUBDIR)/zlib || exit 1; \
30242 case $(srcdir) in \
30243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30244 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30246 esac; \
30247 srcdiroption="--srcdir=$${topdir}/zlib"; \
30248 libsrcdir="$$s/zlib"; \
30249 $(SHELL) $${libsrcdir}/configure \
30250 $(HOST_CONFIGARGS) $${srcdiroption} \
30251 --with-build-libsubdir=$(HOST_SUBDIR) \
30252 @stage2_werror_flag@
30253 @endif zlib-bootstrap
30259 .PHONY: all-zlib maybe-all-zlib
30260 maybe-all-zlib:
30261 @if gcc-bootstrap
30262 all-zlib: stage_current
30263 @endif gcc-bootstrap
30264 @if zlib
30265 TARGET-zlib=all
30266 maybe-all-zlib: all-zlib
30267 all-zlib: configure-zlib
30268 @r=`${PWD_COMMAND}`; export r; \
30269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30270 $(HOST_EXPORTS) \
30271 (cd $(HOST_SUBDIR)/zlib && \
30272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30273 @endif zlib
30277 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30278 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30279 maybe-all-stage1-zlib:
30280 maybe-clean-stage1-zlib:
30281 @if zlib-bootstrap
30282 maybe-all-stage1-zlib: all-stage1-zlib
30283 all-stage1: all-stage1-zlib
30284 TARGET-stage1-zlib = $(TARGET-zlib)
30285 all-stage1-zlib: configure-stage1-zlib
30286 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30287 @r=`${PWD_COMMAND}`; export r; \
30288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30289 $(HOST_EXPORTS) \
30290 cd $(HOST_SUBDIR)/zlib && \
30291 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30292 $(TARGET-stage1-zlib)
30294 maybe-clean-stage1-zlib: clean-stage1-zlib
30295 clean-stage1: clean-stage1-zlib
30296 clean-stage1-zlib:
30297 @if [ $(current_stage) = stage1 ]; then \
30298 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30299 else \
30300 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30301 $(MAKE) stage1-start; \
30302 fi; \
30303 cd $(HOST_SUBDIR)/zlib && \
30304 $(MAKE) $(FLAGS_TO_PASS) \
30305 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30306 @endif zlib-bootstrap
30309 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30310 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30311 maybe-all-stage2-zlib:
30312 maybe-clean-stage2-zlib:
30313 @if zlib-bootstrap
30314 maybe-all-stage2-zlib: all-stage2-zlib
30315 all-stage2: all-stage2-zlib
30316 TARGET-stage2-zlib = $(TARGET-zlib)
30317 all-stage2-zlib: configure-stage2-zlib
30318 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30319 @r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30321 $(HOST_EXPORTS) \
30322 $(POSTSTAGE1_HOST_EXPORTS) \
30323 cd $(HOST_SUBDIR)/zlib && \
30324 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30325 $(TARGET-stage2-zlib)
30327 maybe-clean-stage2-zlib: clean-stage2-zlib
30328 clean-stage2: clean-stage2-zlib
30329 clean-stage2-zlib:
30330 @if [ $(current_stage) = stage2 ]; then \
30331 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30332 else \
30333 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30334 $(MAKE) stage2-start; \
30335 fi; \
30336 cd $(HOST_SUBDIR)/zlib && \
30337 $(MAKE) $(FLAGS_TO_PASS) \
30338 $(POSTSTAGE1_FLAGS_TO_PASS) \
30339 clean
30340 @endif zlib-bootstrap
30343 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30344 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30345 maybe-all-stage3-zlib:
30346 maybe-clean-stage3-zlib:
30347 @if zlib-bootstrap
30348 maybe-all-stage3-zlib: all-stage3-zlib
30349 all-stage3: all-stage3-zlib
30350 TARGET-stage3-zlib = $(TARGET-zlib)
30351 all-stage3-zlib: configure-stage3-zlib
30352 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30353 @r=`${PWD_COMMAND}`; export r; \
30354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30355 $(HOST_EXPORTS) \
30356 $(POSTSTAGE1_HOST_EXPORTS) \
30357 cd $(HOST_SUBDIR)/zlib && \
30358 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30359 $(TARGET-stage3-zlib)
30361 maybe-clean-stage3-zlib: clean-stage3-zlib
30362 clean-stage3: clean-stage3-zlib
30363 clean-stage3-zlib:
30364 @if [ $(current_stage) = stage3 ]; then \
30365 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30366 else \
30367 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30368 $(MAKE) stage3-start; \
30369 fi; \
30370 cd $(HOST_SUBDIR)/zlib && \
30371 $(MAKE) $(FLAGS_TO_PASS) \
30372 $(POSTSTAGE1_FLAGS_TO_PASS) \
30373 clean
30374 @endif zlib-bootstrap
30377 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30378 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30379 maybe-all-stage4-zlib:
30380 maybe-clean-stage4-zlib:
30381 @if zlib-bootstrap
30382 maybe-all-stage4-zlib: all-stage4-zlib
30383 all-stage4: all-stage4-zlib
30384 TARGET-stage4-zlib = $(TARGET-zlib)
30385 all-stage4-zlib: configure-stage4-zlib
30386 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30387 @r=`${PWD_COMMAND}`; export r; \
30388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30389 $(HOST_EXPORTS) \
30390 $(POSTSTAGE1_HOST_EXPORTS) \
30391 cd $(HOST_SUBDIR)/zlib && \
30392 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30393 $(TARGET-stage4-zlib)
30395 maybe-clean-stage4-zlib: clean-stage4-zlib
30396 clean-stage4: clean-stage4-zlib
30397 clean-stage4-zlib:
30398 @if [ $(current_stage) = stage4 ]; then \
30399 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30400 else \
30401 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30402 $(MAKE) stage4-start; \
30403 fi; \
30404 cd $(HOST_SUBDIR)/zlib && \
30405 $(MAKE) $(FLAGS_TO_PASS) \
30406 $(POSTSTAGE1_FLAGS_TO_PASS) \
30407 clean
30408 @endif zlib-bootstrap
30411 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30412 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30413 maybe-all-stageprofile-zlib:
30414 maybe-clean-stageprofile-zlib:
30415 @if zlib-bootstrap
30416 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30417 all-stageprofile: all-stageprofile-zlib
30418 TARGET-stageprofile-zlib = $(TARGET-zlib)
30419 all-stageprofile-zlib: configure-stageprofile-zlib
30420 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30421 @r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30423 $(HOST_EXPORTS) \
30424 $(POSTSTAGE1_HOST_EXPORTS) \
30425 cd $(HOST_SUBDIR)/zlib && \
30426 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30427 $(TARGET-stageprofile-zlib)
30429 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30430 clean-stageprofile: clean-stageprofile-zlib
30431 clean-stageprofile-zlib:
30432 @if [ $(current_stage) = stageprofile ]; then \
30433 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30434 else \
30435 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30436 $(MAKE) stageprofile-start; \
30437 fi; \
30438 cd $(HOST_SUBDIR)/zlib && \
30439 $(MAKE) $(FLAGS_TO_PASS) \
30440 $(POSTSTAGE1_FLAGS_TO_PASS) \
30441 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30442 @endif zlib-bootstrap
30445 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30446 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30447 maybe-all-stagefeedback-zlib:
30448 maybe-clean-stagefeedback-zlib:
30449 @if zlib-bootstrap
30450 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30451 all-stagefeedback: all-stagefeedback-zlib
30452 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30453 all-stagefeedback-zlib: configure-stagefeedback-zlib
30454 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30455 @r=`${PWD_COMMAND}`; export r; \
30456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30457 $(HOST_EXPORTS) \
30458 $(POSTSTAGE1_HOST_EXPORTS) \
30459 cd $(HOST_SUBDIR)/zlib && \
30460 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30461 $(TARGET-stagefeedback-zlib)
30463 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30464 clean-stagefeedback: clean-stagefeedback-zlib
30465 clean-stagefeedback-zlib:
30466 @if [ $(current_stage) = stagefeedback ]; then \
30467 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30468 else \
30469 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30470 $(MAKE) stagefeedback-start; \
30471 fi; \
30472 cd $(HOST_SUBDIR)/zlib && \
30473 $(MAKE) $(FLAGS_TO_PASS) \
30474 $(POSTSTAGE1_FLAGS_TO_PASS) \
30475 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30476 @endif zlib-bootstrap
30482 .PHONY: check-zlib maybe-check-zlib
30483 maybe-check-zlib:
30484 @if zlib
30485 maybe-check-zlib: check-zlib
30487 check-zlib:
30489 @endif zlib
30491 .PHONY: install-zlib maybe-install-zlib
30492 maybe-install-zlib:
30493 @if zlib
30494 maybe-install-zlib: install-zlib
30496 install-zlib:
30498 @endif zlib
30500 # Other targets (info, dvi, pdf, etc.)
30502 .PHONY: maybe-info-zlib info-zlib
30503 maybe-info-zlib:
30504 @if zlib
30505 maybe-info-zlib: info-zlib
30507 info-zlib: \
30508 configure-zlib
30509 @[ -f ./zlib/Makefile ] || exit 0; \
30510 r=`${PWD_COMMAND}`; export r; \
30511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30512 $(HOST_EXPORTS) \
30513 for flag in $(EXTRA_HOST_FLAGS) ; do \
30514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30515 done; \
30516 echo "Doing info in zlib" ; \
30517 (cd $(HOST_SUBDIR)/zlib && \
30518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30520 "RANLIB=$${RANLIB}" \
30521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30522 info) \
30523 || exit 1
30525 @endif zlib
30527 .PHONY: maybe-dvi-zlib dvi-zlib
30528 maybe-dvi-zlib:
30529 @if zlib
30530 maybe-dvi-zlib: dvi-zlib
30532 dvi-zlib: \
30533 configure-zlib
30534 @[ -f ./zlib/Makefile ] || exit 0; \
30535 r=`${PWD_COMMAND}`; export r; \
30536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30537 $(HOST_EXPORTS) \
30538 for flag in $(EXTRA_HOST_FLAGS) ; do \
30539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30540 done; \
30541 echo "Doing dvi in zlib" ; \
30542 (cd $(HOST_SUBDIR)/zlib && \
30543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30545 "RANLIB=$${RANLIB}" \
30546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30547 dvi) \
30548 || exit 1
30550 @endif zlib
30552 .PHONY: maybe-pdf-zlib pdf-zlib
30553 maybe-pdf-zlib:
30554 @if zlib
30555 maybe-pdf-zlib: pdf-zlib
30557 pdf-zlib: \
30558 configure-zlib
30559 @[ -f ./zlib/Makefile ] || exit 0; \
30560 r=`${PWD_COMMAND}`; export r; \
30561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30562 $(HOST_EXPORTS) \
30563 for flag in $(EXTRA_HOST_FLAGS) ; do \
30564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30565 done; \
30566 echo "Doing pdf in zlib" ; \
30567 (cd $(HOST_SUBDIR)/zlib && \
30568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30570 "RANLIB=$${RANLIB}" \
30571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30572 pdf) \
30573 || exit 1
30575 @endif zlib
30577 .PHONY: maybe-html-zlib html-zlib
30578 maybe-html-zlib:
30579 @if zlib
30580 maybe-html-zlib: html-zlib
30582 html-zlib: \
30583 configure-zlib
30584 @[ -f ./zlib/Makefile ] || exit 0; \
30585 r=`${PWD_COMMAND}`; export r; \
30586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30587 $(HOST_EXPORTS) \
30588 for flag in $(EXTRA_HOST_FLAGS) ; do \
30589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30590 done; \
30591 echo "Doing html in zlib" ; \
30592 (cd $(HOST_SUBDIR)/zlib && \
30593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30595 "RANLIB=$${RANLIB}" \
30596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30597 html) \
30598 || exit 1
30600 @endif zlib
30602 .PHONY: maybe-TAGS-zlib TAGS-zlib
30603 maybe-TAGS-zlib:
30604 @if zlib
30605 maybe-TAGS-zlib: TAGS-zlib
30607 TAGS-zlib: \
30608 configure-zlib
30609 @[ -f ./zlib/Makefile ] || exit 0; \
30610 r=`${PWD_COMMAND}`; export r; \
30611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30612 $(HOST_EXPORTS) \
30613 for flag in $(EXTRA_HOST_FLAGS) ; do \
30614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30615 done; \
30616 echo "Doing TAGS in zlib" ; \
30617 (cd $(HOST_SUBDIR)/zlib && \
30618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30620 "RANLIB=$${RANLIB}" \
30621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30622 TAGS) \
30623 || exit 1
30625 @endif zlib
30627 .PHONY: maybe-install-info-zlib install-info-zlib
30628 maybe-install-info-zlib:
30629 @if zlib
30630 maybe-install-info-zlib: install-info-zlib
30632 install-info-zlib: \
30633 configure-zlib \
30634 info-zlib
30635 @[ -f ./zlib/Makefile ] || exit 0; \
30636 r=`${PWD_COMMAND}`; export r; \
30637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30638 $(HOST_EXPORTS) \
30639 for flag in $(EXTRA_HOST_FLAGS) ; do \
30640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30641 done; \
30642 echo "Doing install-info in zlib" ; \
30643 (cd $(HOST_SUBDIR)/zlib && \
30644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30646 "RANLIB=$${RANLIB}" \
30647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30648 install-info) \
30649 || exit 1
30651 @endif zlib
30653 .PHONY: maybe-install-html-zlib install-html-zlib
30654 maybe-install-html-zlib:
30655 @if zlib
30656 maybe-install-html-zlib: install-html-zlib
30658 install-html-zlib: \
30659 configure-zlib \
30660 html-zlib
30661 @[ -f ./zlib/Makefile ] || exit 0; \
30662 r=`${PWD_COMMAND}`; export r; \
30663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30664 $(HOST_EXPORTS) \
30665 for flag in $(EXTRA_HOST_FLAGS) ; do \
30666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30667 done; \
30668 echo "Doing install-html in zlib" ; \
30669 (cd $(HOST_SUBDIR)/zlib && \
30670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30672 "RANLIB=$${RANLIB}" \
30673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30674 install-html) \
30675 || exit 1
30677 @endif zlib
30679 .PHONY: maybe-installcheck-zlib installcheck-zlib
30680 maybe-installcheck-zlib:
30681 @if zlib
30682 maybe-installcheck-zlib: installcheck-zlib
30684 installcheck-zlib: \
30685 configure-zlib
30686 @[ -f ./zlib/Makefile ] || exit 0; \
30687 r=`${PWD_COMMAND}`; export r; \
30688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30689 $(HOST_EXPORTS) \
30690 for flag in $(EXTRA_HOST_FLAGS) ; do \
30691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30692 done; \
30693 echo "Doing installcheck in zlib" ; \
30694 (cd $(HOST_SUBDIR)/zlib && \
30695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30697 "RANLIB=$${RANLIB}" \
30698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30699 installcheck) \
30700 || exit 1
30702 @endif zlib
30704 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30705 maybe-mostlyclean-zlib:
30706 @if zlib
30707 maybe-mostlyclean-zlib: mostlyclean-zlib
30709 mostlyclean-zlib:
30710 @[ -f ./zlib/Makefile ] || exit 0; \
30711 r=`${PWD_COMMAND}`; export r; \
30712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30713 $(HOST_EXPORTS) \
30714 for flag in $(EXTRA_HOST_FLAGS) ; do \
30715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30716 done; \
30717 echo "Doing mostlyclean in zlib" ; \
30718 (cd $(HOST_SUBDIR)/zlib && \
30719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30721 "RANLIB=$${RANLIB}" \
30722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30723 mostlyclean) \
30724 || exit 1
30726 @endif zlib
30728 .PHONY: maybe-clean-zlib clean-zlib
30729 maybe-clean-zlib:
30730 @if zlib
30731 maybe-clean-zlib: clean-zlib
30733 clean-zlib:
30734 @[ -f ./zlib/Makefile ] || exit 0; \
30735 r=`${PWD_COMMAND}`; export r; \
30736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30737 $(HOST_EXPORTS) \
30738 for flag in $(EXTRA_HOST_FLAGS) ; do \
30739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30740 done; \
30741 echo "Doing clean in zlib" ; \
30742 (cd $(HOST_SUBDIR)/zlib && \
30743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30745 "RANLIB=$${RANLIB}" \
30746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30747 clean) \
30748 || exit 1
30750 @endif zlib
30752 .PHONY: maybe-distclean-zlib distclean-zlib
30753 maybe-distclean-zlib:
30754 @if zlib
30755 maybe-distclean-zlib: distclean-zlib
30757 distclean-zlib:
30758 @[ -f ./zlib/Makefile ] || exit 0; \
30759 r=`${PWD_COMMAND}`; export r; \
30760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30761 $(HOST_EXPORTS) \
30762 for flag in $(EXTRA_HOST_FLAGS) ; do \
30763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30764 done; \
30765 echo "Doing distclean in zlib" ; \
30766 (cd $(HOST_SUBDIR)/zlib && \
30767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30769 "RANLIB=$${RANLIB}" \
30770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30771 distclean) \
30772 || exit 1
30774 @endif zlib
30776 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30777 maybe-maintainer-clean-zlib:
30778 @if zlib
30779 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30781 maintainer-clean-zlib:
30782 @[ -f ./zlib/Makefile ] || exit 0; \
30783 r=`${PWD_COMMAND}`; export r; \
30784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30785 $(HOST_EXPORTS) \
30786 for flag in $(EXTRA_HOST_FLAGS) ; do \
30787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30788 done; \
30789 echo "Doing maintainer-clean in zlib" ; \
30790 (cd $(HOST_SUBDIR)/zlib && \
30791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30793 "RANLIB=$${RANLIB}" \
30794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30795 maintainer-clean) \
30796 || exit 1
30798 @endif zlib
30802 .PHONY: configure-gdb maybe-configure-gdb
30803 maybe-configure-gdb:
30804 @if gcc-bootstrap
30805 configure-gdb: stage_current
30806 @endif gcc-bootstrap
30807 @if gdb
30808 maybe-configure-gdb: configure-gdb
30809 configure-gdb:
30810 @: $(MAKE); $(unstage)
30811 @r=`${PWD_COMMAND}`; export r; \
30812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30813 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30815 $(HOST_EXPORTS) \
30816 echo Configuring in $(HOST_SUBDIR)/gdb; \
30817 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30818 case $(srcdir) in \
30819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30820 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30822 esac; \
30823 srcdiroption="--srcdir=$${topdir}/gdb"; \
30824 libsrcdir="$$s/gdb"; \
30825 $(SHELL) $${libsrcdir}/configure \
30826 $(HOST_CONFIGARGS) $${srcdiroption} \
30827 || exit 1
30828 @endif gdb
30834 .PHONY: all-gdb maybe-all-gdb
30835 maybe-all-gdb:
30836 @if gcc-bootstrap
30837 all-gdb: stage_current
30838 @endif gcc-bootstrap
30839 @if gdb
30840 TARGET-gdb=all
30841 maybe-all-gdb: all-gdb
30842 all-gdb: configure-gdb
30843 @: $(MAKE); $(unstage)
30844 @r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 $(HOST_EXPORTS) \
30847 (cd $(HOST_SUBDIR)/gdb && \
30848 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30849 @endif gdb
30854 .PHONY: check-gdb maybe-check-gdb
30855 maybe-check-gdb:
30856 @if gdb
30857 maybe-check-gdb: check-gdb
30859 check-gdb:
30860 @: $(MAKE); $(unstage)
30861 @r=`${PWD_COMMAND}`; export r; \
30862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30863 $(HOST_EXPORTS) \
30864 (cd $(HOST_SUBDIR)/gdb && \
30865 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30867 @endif gdb
30869 .PHONY: install-gdb maybe-install-gdb
30870 maybe-install-gdb:
30871 @if gdb
30872 maybe-install-gdb: install-gdb
30874 install-gdb: installdirs
30875 @: $(MAKE); $(unstage)
30876 @r=`${PWD_COMMAND}`; export r; \
30877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30878 $(HOST_EXPORTS) \
30879 (cd $(HOST_SUBDIR)/gdb && \
30880 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30882 @endif gdb
30884 # Other targets (info, dvi, pdf, etc.)
30886 .PHONY: maybe-info-gdb info-gdb
30887 maybe-info-gdb:
30888 @if gdb
30889 maybe-info-gdb: info-gdb
30891 info-gdb: \
30892 configure-gdb
30893 @: $(MAKE); $(unstage)
30894 @[ -f ./gdb/Makefile ] || exit 0; \
30895 r=`${PWD_COMMAND}`; export r; \
30896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30897 $(HOST_EXPORTS) \
30898 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30900 done; \
30901 echo "Doing info in gdb" ; \
30902 (cd $(HOST_SUBDIR)/gdb && \
30903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30905 "RANLIB=$${RANLIB}" \
30906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30907 info) \
30908 || exit 1
30910 @endif gdb
30912 .PHONY: maybe-dvi-gdb dvi-gdb
30913 maybe-dvi-gdb:
30914 @if gdb
30915 maybe-dvi-gdb: dvi-gdb
30917 dvi-gdb: \
30918 configure-gdb
30919 @: $(MAKE); $(unstage)
30920 @[ -f ./gdb/Makefile ] || exit 0; \
30921 r=`${PWD_COMMAND}`; export r; \
30922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30923 $(HOST_EXPORTS) \
30924 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30926 done; \
30927 echo "Doing dvi in gdb" ; \
30928 (cd $(HOST_SUBDIR)/gdb && \
30929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30931 "RANLIB=$${RANLIB}" \
30932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30933 dvi) \
30934 || exit 1
30936 @endif gdb
30938 .PHONY: maybe-pdf-gdb pdf-gdb
30939 maybe-pdf-gdb:
30940 @if gdb
30941 maybe-pdf-gdb: pdf-gdb
30943 pdf-gdb: \
30944 configure-gdb
30945 @: $(MAKE); $(unstage)
30946 @[ -f ./gdb/Makefile ] || exit 0; \
30947 r=`${PWD_COMMAND}`; export r; \
30948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30949 $(HOST_EXPORTS) \
30950 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30952 done; \
30953 echo "Doing pdf in gdb" ; \
30954 (cd $(HOST_SUBDIR)/gdb && \
30955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30957 "RANLIB=$${RANLIB}" \
30958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30959 pdf) \
30960 || exit 1
30962 @endif gdb
30964 .PHONY: maybe-html-gdb html-gdb
30965 maybe-html-gdb:
30966 @if gdb
30967 maybe-html-gdb: html-gdb
30969 html-gdb: \
30970 configure-gdb
30971 @: $(MAKE); $(unstage)
30972 @[ -f ./gdb/Makefile ] || exit 0; \
30973 r=`${PWD_COMMAND}`; export r; \
30974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30975 $(HOST_EXPORTS) \
30976 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30978 done; \
30979 echo "Doing html in gdb" ; \
30980 (cd $(HOST_SUBDIR)/gdb && \
30981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30983 "RANLIB=$${RANLIB}" \
30984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30985 html) \
30986 || exit 1
30988 @endif gdb
30990 .PHONY: maybe-TAGS-gdb TAGS-gdb
30991 maybe-TAGS-gdb:
30992 @if gdb
30993 maybe-TAGS-gdb: TAGS-gdb
30995 TAGS-gdb: \
30996 configure-gdb
30997 @: $(MAKE); $(unstage)
30998 @[ -f ./gdb/Makefile ] || exit 0; \
30999 r=`${PWD_COMMAND}`; export r; \
31000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31001 $(HOST_EXPORTS) \
31002 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31004 done; \
31005 echo "Doing TAGS in gdb" ; \
31006 (cd $(HOST_SUBDIR)/gdb && \
31007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31009 "RANLIB=$${RANLIB}" \
31010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31011 TAGS) \
31012 || exit 1
31014 @endif gdb
31016 .PHONY: maybe-install-info-gdb install-info-gdb
31017 maybe-install-info-gdb:
31018 @if gdb
31019 maybe-install-info-gdb: install-info-gdb
31021 install-info-gdb: \
31022 configure-gdb \
31023 info-gdb
31024 @: $(MAKE); $(unstage)
31025 @[ -f ./gdb/Makefile ] || exit 0; \
31026 r=`${PWD_COMMAND}`; export r; \
31027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31028 $(HOST_EXPORTS) \
31029 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31031 done; \
31032 echo "Doing install-info in gdb" ; \
31033 (cd $(HOST_SUBDIR)/gdb && \
31034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31036 "RANLIB=$${RANLIB}" \
31037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31038 install-info) \
31039 || exit 1
31041 @endif gdb
31043 .PHONY: maybe-install-html-gdb install-html-gdb
31044 maybe-install-html-gdb:
31045 @if gdb
31046 maybe-install-html-gdb: install-html-gdb
31048 install-html-gdb: \
31049 configure-gdb \
31050 html-gdb
31051 @: $(MAKE); $(unstage)
31052 @[ -f ./gdb/Makefile ] || exit 0; \
31053 r=`${PWD_COMMAND}`; export r; \
31054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31055 $(HOST_EXPORTS) \
31056 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31058 done; \
31059 echo "Doing install-html in gdb" ; \
31060 (cd $(HOST_SUBDIR)/gdb && \
31061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31063 "RANLIB=$${RANLIB}" \
31064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31065 install-html) \
31066 || exit 1
31068 @endif gdb
31070 .PHONY: maybe-installcheck-gdb installcheck-gdb
31071 maybe-installcheck-gdb:
31072 @if gdb
31073 maybe-installcheck-gdb: installcheck-gdb
31075 installcheck-gdb: \
31076 configure-gdb
31077 @: $(MAKE); $(unstage)
31078 @[ -f ./gdb/Makefile ] || exit 0; \
31079 r=`${PWD_COMMAND}`; export r; \
31080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31081 $(HOST_EXPORTS) \
31082 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31084 done; \
31085 echo "Doing installcheck in gdb" ; \
31086 (cd $(HOST_SUBDIR)/gdb && \
31087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31089 "RANLIB=$${RANLIB}" \
31090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31091 installcheck) \
31092 || exit 1
31094 @endif gdb
31096 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31097 maybe-mostlyclean-gdb:
31098 @if gdb
31099 maybe-mostlyclean-gdb: mostlyclean-gdb
31101 mostlyclean-gdb:
31102 @: $(MAKE); $(unstage)
31103 @[ -f ./gdb/Makefile ] || exit 0; \
31104 r=`${PWD_COMMAND}`; export r; \
31105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31106 $(HOST_EXPORTS) \
31107 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31109 done; \
31110 echo "Doing mostlyclean in gdb" ; \
31111 (cd $(HOST_SUBDIR)/gdb && \
31112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31114 "RANLIB=$${RANLIB}" \
31115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31116 mostlyclean) \
31117 || exit 1
31119 @endif gdb
31121 .PHONY: maybe-clean-gdb clean-gdb
31122 maybe-clean-gdb:
31123 @if gdb
31124 maybe-clean-gdb: clean-gdb
31126 clean-gdb:
31127 @: $(MAKE); $(unstage)
31128 @[ -f ./gdb/Makefile ] || exit 0; \
31129 r=`${PWD_COMMAND}`; export r; \
31130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31131 $(HOST_EXPORTS) \
31132 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31134 done; \
31135 echo "Doing clean in gdb" ; \
31136 (cd $(HOST_SUBDIR)/gdb && \
31137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31139 "RANLIB=$${RANLIB}" \
31140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31141 clean) \
31142 || exit 1
31144 @endif gdb
31146 .PHONY: maybe-distclean-gdb distclean-gdb
31147 maybe-distclean-gdb:
31148 @if gdb
31149 maybe-distclean-gdb: distclean-gdb
31151 distclean-gdb:
31152 @: $(MAKE); $(unstage)
31153 @[ -f ./gdb/Makefile ] || exit 0; \
31154 r=`${PWD_COMMAND}`; export r; \
31155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31156 $(HOST_EXPORTS) \
31157 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31159 done; \
31160 echo "Doing distclean in gdb" ; \
31161 (cd $(HOST_SUBDIR)/gdb && \
31162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31164 "RANLIB=$${RANLIB}" \
31165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31166 distclean) \
31167 || exit 1
31169 @endif gdb
31171 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31172 maybe-maintainer-clean-gdb:
31173 @if gdb
31174 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31176 maintainer-clean-gdb:
31177 @: $(MAKE); $(unstage)
31178 @[ -f ./gdb/Makefile ] || exit 0; \
31179 r=`${PWD_COMMAND}`; export r; \
31180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31181 $(HOST_EXPORTS) \
31182 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31184 done; \
31185 echo "Doing maintainer-clean in gdb" ; \
31186 (cd $(HOST_SUBDIR)/gdb && \
31187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31189 "RANLIB=$${RANLIB}" \
31190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31191 maintainer-clean) \
31192 || exit 1
31194 @endif gdb
31198 .PHONY: configure-expect maybe-configure-expect
31199 maybe-configure-expect:
31200 @if gcc-bootstrap
31201 configure-expect: stage_current
31202 @endif gcc-bootstrap
31203 @if expect
31204 maybe-configure-expect: configure-expect
31205 configure-expect:
31206 @: $(MAKE); $(unstage)
31207 @r=`${PWD_COMMAND}`; export r; \
31208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31209 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31211 $(HOST_EXPORTS) \
31212 echo Configuring in $(HOST_SUBDIR)/expect; \
31213 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31214 case $(srcdir) in \
31215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31216 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31218 esac; \
31219 srcdiroption="--srcdir=$${topdir}/expect"; \
31220 libsrcdir="$$s/expect"; \
31221 $(SHELL) $${libsrcdir}/configure \
31222 $(HOST_CONFIGARGS) $${srcdiroption} \
31223 || exit 1
31224 @endif expect
31230 .PHONY: all-expect maybe-all-expect
31231 maybe-all-expect:
31232 @if gcc-bootstrap
31233 all-expect: stage_current
31234 @endif gcc-bootstrap
31235 @if expect
31236 TARGET-expect=all
31237 maybe-all-expect: all-expect
31238 all-expect: configure-expect
31239 @: $(MAKE); $(unstage)
31240 @r=`${PWD_COMMAND}`; export r; \
31241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31242 $(HOST_EXPORTS) \
31243 (cd $(HOST_SUBDIR)/expect && \
31244 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31245 @endif expect
31250 .PHONY: check-expect maybe-check-expect
31251 maybe-check-expect:
31252 @if expect
31253 maybe-check-expect: check-expect
31255 check-expect:
31256 @: $(MAKE); $(unstage)
31257 @r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(HOST_EXPORTS) \
31260 (cd $(HOST_SUBDIR)/expect && \
31261 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31263 @endif expect
31265 .PHONY: install-expect maybe-install-expect
31266 maybe-install-expect:
31267 @if expect
31268 maybe-install-expect: install-expect
31270 install-expect: installdirs
31271 @: $(MAKE); $(unstage)
31272 @r=`${PWD_COMMAND}`; export r; \
31273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31274 $(HOST_EXPORTS) \
31275 (cd $(HOST_SUBDIR)/expect && \
31276 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31278 @endif expect
31280 # Other targets (info, dvi, pdf, etc.)
31282 .PHONY: maybe-info-expect info-expect
31283 maybe-info-expect:
31284 @if expect
31285 maybe-info-expect: info-expect
31287 info-expect: \
31288 configure-expect
31289 @: $(MAKE); $(unstage)
31290 @[ -f ./expect/Makefile ] || exit 0; \
31291 r=`${PWD_COMMAND}`; export r; \
31292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31293 $(HOST_EXPORTS) \
31294 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31296 done; \
31297 echo "Doing info in expect" ; \
31298 (cd $(HOST_SUBDIR)/expect && \
31299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31301 "RANLIB=$${RANLIB}" \
31302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31303 info) \
31304 || exit 1
31306 @endif expect
31308 .PHONY: maybe-dvi-expect dvi-expect
31309 maybe-dvi-expect:
31310 @if expect
31311 maybe-dvi-expect: dvi-expect
31313 dvi-expect: \
31314 configure-expect
31315 @: $(MAKE); $(unstage)
31316 @[ -f ./expect/Makefile ] || exit 0; \
31317 r=`${PWD_COMMAND}`; export r; \
31318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31319 $(HOST_EXPORTS) \
31320 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31322 done; \
31323 echo "Doing dvi in expect" ; \
31324 (cd $(HOST_SUBDIR)/expect && \
31325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31327 "RANLIB=$${RANLIB}" \
31328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31329 dvi) \
31330 || exit 1
31332 @endif expect
31334 .PHONY: maybe-pdf-expect pdf-expect
31335 maybe-pdf-expect:
31336 @if expect
31337 maybe-pdf-expect: pdf-expect
31339 pdf-expect: \
31340 configure-expect
31341 @: $(MAKE); $(unstage)
31342 @[ -f ./expect/Makefile ] || exit 0; \
31343 r=`${PWD_COMMAND}`; export r; \
31344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31345 $(HOST_EXPORTS) \
31346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31348 done; \
31349 echo "Doing pdf in expect" ; \
31350 (cd $(HOST_SUBDIR)/expect && \
31351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31353 "RANLIB=$${RANLIB}" \
31354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31355 pdf) \
31356 || exit 1
31358 @endif expect
31360 .PHONY: maybe-html-expect html-expect
31361 maybe-html-expect:
31362 @if expect
31363 maybe-html-expect: html-expect
31365 html-expect: \
31366 configure-expect
31367 @: $(MAKE); $(unstage)
31368 @[ -f ./expect/Makefile ] || exit 0; \
31369 r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(HOST_EXPORTS) \
31372 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31374 done; \
31375 echo "Doing html in expect" ; \
31376 (cd $(HOST_SUBDIR)/expect && \
31377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31379 "RANLIB=$${RANLIB}" \
31380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31381 html) \
31382 || exit 1
31384 @endif expect
31386 .PHONY: maybe-TAGS-expect TAGS-expect
31387 maybe-TAGS-expect:
31388 @if expect
31389 maybe-TAGS-expect: TAGS-expect
31391 TAGS-expect: \
31392 configure-expect
31393 @: $(MAKE); $(unstage)
31394 @[ -f ./expect/Makefile ] || exit 0; \
31395 r=`${PWD_COMMAND}`; export r; \
31396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31397 $(HOST_EXPORTS) \
31398 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31400 done; \
31401 echo "Doing TAGS in expect" ; \
31402 (cd $(HOST_SUBDIR)/expect && \
31403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31405 "RANLIB=$${RANLIB}" \
31406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31407 TAGS) \
31408 || exit 1
31410 @endif expect
31412 .PHONY: maybe-install-info-expect install-info-expect
31413 maybe-install-info-expect:
31414 @if expect
31415 maybe-install-info-expect: install-info-expect
31417 install-info-expect: \
31418 configure-expect \
31419 info-expect
31420 @: $(MAKE); $(unstage)
31421 @[ -f ./expect/Makefile ] || exit 0; \
31422 r=`${PWD_COMMAND}`; export r; \
31423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31424 $(HOST_EXPORTS) \
31425 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31427 done; \
31428 echo "Doing install-info in expect" ; \
31429 (cd $(HOST_SUBDIR)/expect && \
31430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31432 "RANLIB=$${RANLIB}" \
31433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31434 install-info) \
31435 || exit 1
31437 @endif expect
31439 .PHONY: maybe-install-html-expect install-html-expect
31440 maybe-install-html-expect:
31441 @if expect
31442 maybe-install-html-expect: install-html-expect
31444 install-html-expect: \
31445 configure-expect \
31446 html-expect
31447 @: $(MAKE); $(unstage)
31448 @[ -f ./expect/Makefile ] || exit 0; \
31449 r=`${PWD_COMMAND}`; export r; \
31450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31451 $(HOST_EXPORTS) \
31452 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31454 done; \
31455 echo "Doing install-html in expect" ; \
31456 (cd $(HOST_SUBDIR)/expect && \
31457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31459 "RANLIB=$${RANLIB}" \
31460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31461 install-html) \
31462 || exit 1
31464 @endif expect
31466 .PHONY: maybe-installcheck-expect installcheck-expect
31467 maybe-installcheck-expect:
31468 @if expect
31469 maybe-installcheck-expect: installcheck-expect
31471 installcheck-expect: \
31472 configure-expect
31473 @: $(MAKE); $(unstage)
31474 @[ -f ./expect/Makefile ] || exit 0; \
31475 r=`${PWD_COMMAND}`; export r; \
31476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31477 $(HOST_EXPORTS) \
31478 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31480 done; \
31481 echo "Doing installcheck in expect" ; \
31482 (cd $(HOST_SUBDIR)/expect && \
31483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31485 "RANLIB=$${RANLIB}" \
31486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31487 installcheck) \
31488 || exit 1
31490 @endif expect
31492 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31493 maybe-mostlyclean-expect:
31494 @if expect
31495 maybe-mostlyclean-expect: mostlyclean-expect
31497 mostlyclean-expect:
31498 @: $(MAKE); $(unstage)
31499 @[ -f ./expect/Makefile ] || exit 0; \
31500 r=`${PWD_COMMAND}`; export r; \
31501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31502 $(HOST_EXPORTS) \
31503 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31505 done; \
31506 echo "Doing mostlyclean in expect" ; \
31507 (cd $(HOST_SUBDIR)/expect && \
31508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31510 "RANLIB=$${RANLIB}" \
31511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31512 mostlyclean) \
31513 || exit 1
31515 @endif expect
31517 .PHONY: maybe-clean-expect clean-expect
31518 maybe-clean-expect:
31519 @if expect
31520 maybe-clean-expect: clean-expect
31522 clean-expect:
31523 @: $(MAKE); $(unstage)
31524 @[ -f ./expect/Makefile ] || exit 0; \
31525 r=`${PWD_COMMAND}`; export r; \
31526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31527 $(HOST_EXPORTS) \
31528 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31530 done; \
31531 echo "Doing clean in expect" ; \
31532 (cd $(HOST_SUBDIR)/expect && \
31533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31535 "RANLIB=$${RANLIB}" \
31536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31537 clean) \
31538 || exit 1
31540 @endif expect
31542 .PHONY: maybe-distclean-expect distclean-expect
31543 maybe-distclean-expect:
31544 @if expect
31545 maybe-distclean-expect: distclean-expect
31547 distclean-expect:
31548 @: $(MAKE); $(unstage)
31549 @[ -f ./expect/Makefile ] || exit 0; \
31550 r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(HOST_EXPORTS) \
31553 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31555 done; \
31556 echo "Doing distclean in expect" ; \
31557 (cd $(HOST_SUBDIR)/expect && \
31558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31560 "RANLIB=$${RANLIB}" \
31561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31562 distclean) \
31563 || exit 1
31565 @endif expect
31567 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31568 maybe-maintainer-clean-expect:
31569 @if expect
31570 maybe-maintainer-clean-expect: maintainer-clean-expect
31572 maintainer-clean-expect:
31573 @: $(MAKE); $(unstage)
31574 @[ -f ./expect/Makefile ] || exit 0; \
31575 r=`${PWD_COMMAND}`; export r; \
31576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31577 $(HOST_EXPORTS) \
31578 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31580 done; \
31581 echo "Doing maintainer-clean in expect" ; \
31582 (cd $(HOST_SUBDIR)/expect && \
31583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31585 "RANLIB=$${RANLIB}" \
31586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31587 maintainer-clean) \
31588 || exit 1
31590 @endif expect
31594 .PHONY: configure-guile maybe-configure-guile
31595 maybe-configure-guile:
31596 @if gcc-bootstrap
31597 configure-guile: stage_current
31598 @endif gcc-bootstrap
31599 @if guile
31600 maybe-configure-guile: configure-guile
31601 configure-guile:
31602 @: $(MAKE); $(unstage)
31603 @r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31607 $(HOST_EXPORTS) \
31608 echo Configuring in $(HOST_SUBDIR)/guile; \
31609 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31610 case $(srcdir) in \
31611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31612 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31614 esac; \
31615 srcdiroption="--srcdir=$${topdir}/guile"; \
31616 libsrcdir="$$s/guile"; \
31617 $(SHELL) $${libsrcdir}/configure \
31618 $(HOST_CONFIGARGS) $${srcdiroption} \
31619 || exit 1
31620 @endif guile
31626 .PHONY: all-guile maybe-all-guile
31627 maybe-all-guile:
31628 @if gcc-bootstrap
31629 all-guile: stage_current
31630 @endif gcc-bootstrap
31631 @if guile
31632 TARGET-guile=all
31633 maybe-all-guile: all-guile
31634 all-guile: configure-guile
31635 @: $(MAKE); $(unstage)
31636 @r=`${PWD_COMMAND}`; export r; \
31637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31638 $(HOST_EXPORTS) \
31639 (cd $(HOST_SUBDIR)/guile && \
31640 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31641 @endif guile
31646 .PHONY: check-guile maybe-check-guile
31647 maybe-check-guile:
31648 @if guile
31649 maybe-check-guile: check-guile
31651 check-guile:
31652 @: $(MAKE); $(unstage)
31653 @r=`${PWD_COMMAND}`; export r; \
31654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31655 $(HOST_EXPORTS) \
31656 (cd $(HOST_SUBDIR)/guile && \
31657 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31659 @endif guile
31661 .PHONY: install-guile maybe-install-guile
31662 maybe-install-guile:
31663 @if guile
31664 maybe-install-guile: install-guile
31666 install-guile: installdirs
31667 @: $(MAKE); $(unstage)
31668 @r=`${PWD_COMMAND}`; export r; \
31669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31670 $(HOST_EXPORTS) \
31671 (cd $(HOST_SUBDIR)/guile && \
31672 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31674 @endif guile
31676 # Other targets (info, dvi, pdf, etc.)
31678 .PHONY: maybe-info-guile info-guile
31679 maybe-info-guile:
31680 @if guile
31681 maybe-info-guile: info-guile
31683 info-guile: \
31684 configure-guile
31685 @: $(MAKE); $(unstage)
31686 @[ -f ./guile/Makefile ] || exit 0; \
31687 r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 $(HOST_EXPORTS) \
31690 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31692 done; \
31693 echo "Doing info in guile" ; \
31694 (cd $(HOST_SUBDIR)/guile && \
31695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31697 "RANLIB=$${RANLIB}" \
31698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31699 info) \
31700 || exit 1
31702 @endif guile
31704 .PHONY: maybe-dvi-guile dvi-guile
31705 maybe-dvi-guile:
31706 @if guile
31707 maybe-dvi-guile: dvi-guile
31709 dvi-guile: \
31710 configure-guile
31711 @: $(MAKE); $(unstage)
31712 @[ -f ./guile/Makefile ] || exit 0; \
31713 r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(HOST_EXPORTS) \
31716 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31718 done; \
31719 echo "Doing dvi in guile" ; \
31720 (cd $(HOST_SUBDIR)/guile && \
31721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31723 "RANLIB=$${RANLIB}" \
31724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31725 dvi) \
31726 || exit 1
31728 @endif guile
31730 .PHONY: maybe-pdf-guile pdf-guile
31731 maybe-pdf-guile:
31732 @if guile
31733 maybe-pdf-guile: pdf-guile
31735 pdf-guile: \
31736 configure-guile
31737 @: $(MAKE); $(unstage)
31738 @[ -f ./guile/Makefile ] || exit 0; \
31739 r=`${PWD_COMMAND}`; export r; \
31740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31741 $(HOST_EXPORTS) \
31742 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31744 done; \
31745 echo "Doing pdf in guile" ; \
31746 (cd $(HOST_SUBDIR)/guile && \
31747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31749 "RANLIB=$${RANLIB}" \
31750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31751 pdf) \
31752 || exit 1
31754 @endif guile
31756 .PHONY: maybe-html-guile html-guile
31757 maybe-html-guile:
31758 @if guile
31759 maybe-html-guile: html-guile
31761 html-guile: \
31762 configure-guile
31763 @: $(MAKE); $(unstage)
31764 @[ -f ./guile/Makefile ] || exit 0; \
31765 r=`${PWD_COMMAND}`; export r; \
31766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31767 $(HOST_EXPORTS) \
31768 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31770 done; \
31771 echo "Doing html in guile" ; \
31772 (cd $(HOST_SUBDIR)/guile && \
31773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31775 "RANLIB=$${RANLIB}" \
31776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31777 html) \
31778 || exit 1
31780 @endif guile
31782 .PHONY: maybe-TAGS-guile TAGS-guile
31783 maybe-TAGS-guile:
31784 @if guile
31785 maybe-TAGS-guile: TAGS-guile
31787 TAGS-guile: \
31788 configure-guile
31789 @: $(MAKE); $(unstage)
31790 @[ -f ./guile/Makefile ] || exit 0; \
31791 r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 $(HOST_EXPORTS) \
31794 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31796 done; \
31797 echo "Doing TAGS in guile" ; \
31798 (cd $(HOST_SUBDIR)/guile && \
31799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31801 "RANLIB=$${RANLIB}" \
31802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31803 TAGS) \
31804 || exit 1
31806 @endif guile
31808 .PHONY: maybe-install-info-guile install-info-guile
31809 maybe-install-info-guile:
31810 @if guile
31811 maybe-install-info-guile: install-info-guile
31813 install-info-guile: \
31814 configure-guile \
31815 info-guile
31816 @: $(MAKE); $(unstage)
31817 @[ -f ./guile/Makefile ] || exit 0; \
31818 r=`${PWD_COMMAND}`; export r; \
31819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31820 $(HOST_EXPORTS) \
31821 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31823 done; \
31824 echo "Doing install-info in guile" ; \
31825 (cd $(HOST_SUBDIR)/guile && \
31826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31828 "RANLIB=$${RANLIB}" \
31829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31830 install-info) \
31831 || exit 1
31833 @endif guile
31835 .PHONY: maybe-install-html-guile install-html-guile
31836 maybe-install-html-guile:
31837 @if guile
31838 maybe-install-html-guile: install-html-guile
31840 install-html-guile: \
31841 configure-guile \
31842 html-guile
31843 @: $(MAKE); $(unstage)
31844 @[ -f ./guile/Makefile ] || exit 0; \
31845 r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 $(HOST_EXPORTS) \
31848 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31850 done; \
31851 echo "Doing install-html in guile" ; \
31852 (cd $(HOST_SUBDIR)/guile && \
31853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31855 "RANLIB=$${RANLIB}" \
31856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31857 install-html) \
31858 || exit 1
31860 @endif guile
31862 .PHONY: maybe-installcheck-guile installcheck-guile
31863 maybe-installcheck-guile:
31864 @if guile
31865 maybe-installcheck-guile: installcheck-guile
31867 installcheck-guile: \
31868 configure-guile
31869 @: $(MAKE); $(unstage)
31870 @[ -f ./guile/Makefile ] || exit 0; \
31871 r=`${PWD_COMMAND}`; export r; \
31872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31873 $(HOST_EXPORTS) \
31874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31876 done; \
31877 echo "Doing installcheck in guile" ; \
31878 (cd $(HOST_SUBDIR)/guile && \
31879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31881 "RANLIB=$${RANLIB}" \
31882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31883 installcheck) \
31884 || exit 1
31886 @endif guile
31888 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31889 maybe-mostlyclean-guile:
31890 @if guile
31891 maybe-mostlyclean-guile: mostlyclean-guile
31893 mostlyclean-guile:
31894 @: $(MAKE); $(unstage)
31895 @[ -f ./guile/Makefile ] || exit 0; \
31896 r=`${PWD_COMMAND}`; export r; \
31897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31898 $(HOST_EXPORTS) \
31899 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31901 done; \
31902 echo "Doing mostlyclean in guile" ; \
31903 (cd $(HOST_SUBDIR)/guile && \
31904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31906 "RANLIB=$${RANLIB}" \
31907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31908 mostlyclean) \
31909 || exit 1
31911 @endif guile
31913 .PHONY: maybe-clean-guile clean-guile
31914 maybe-clean-guile:
31915 @if guile
31916 maybe-clean-guile: clean-guile
31918 clean-guile:
31919 @: $(MAKE); $(unstage)
31920 @[ -f ./guile/Makefile ] || exit 0; \
31921 r=`${PWD_COMMAND}`; export r; \
31922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31923 $(HOST_EXPORTS) \
31924 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31926 done; \
31927 echo "Doing clean in guile" ; \
31928 (cd $(HOST_SUBDIR)/guile && \
31929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31931 "RANLIB=$${RANLIB}" \
31932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31933 clean) \
31934 || exit 1
31936 @endif guile
31938 .PHONY: maybe-distclean-guile distclean-guile
31939 maybe-distclean-guile:
31940 @if guile
31941 maybe-distclean-guile: distclean-guile
31943 distclean-guile:
31944 @: $(MAKE); $(unstage)
31945 @[ -f ./guile/Makefile ] || exit 0; \
31946 r=`${PWD_COMMAND}`; export r; \
31947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31948 $(HOST_EXPORTS) \
31949 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31951 done; \
31952 echo "Doing distclean in guile" ; \
31953 (cd $(HOST_SUBDIR)/guile && \
31954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31956 "RANLIB=$${RANLIB}" \
31957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31958 distclean) \
31959 || exit 1
31961 @endif guile
31963 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
31964 maybe-maintainer-clean-guile:
31965 @if guile
31966 maybe-maintainer-clean-guile: maintainer-clean-guile
31968 maintainer-clean-guile:
31969 @: $(MAKE); $(unstage)
31970 @[ -f ./guile/Makefile ] || exit 0; \
31971 r=`${PWD_COMMAND}`; export r; \
31972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31973 $(HOST_EXPORTS) \
31974 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31976 done; \
31977 echo "Doing maintainer-clean in guile" ; \
31978 (cd $(HOST_SUBDIR)/guile && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31981 "RANLIB=$${RANLIB}" \
31982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31983 maintainer-clean) \
31984 || exit 1
31986 @endif guile
31990 .PHONY: configure-tk maybe-configure-tk
31991 maybe-configure-tk:
31992 @if gcc-bootstrap
31993 configure-tk: stage_current
31994 @endif gcc-bootstrap
31995 @if tk
31996 maybe-configure-tk: configure-tk
31997 configure-tk:
31998 @: $(MAKE); $(unstage)
31999 @r=`${PWD_COMMAND}`; export r; \
32000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32001 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
32003 $(HOST_EXPORTS) \
32004 echo Configuring in $(HOST_SUBDIR)/tk; \
32005 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32006 case $(srcdir) in \
32007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32008 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32010 esac; \
32011 srcdiroption="--srcdir=$${topdir}/tk"; \
32012 libsrcdir="$$s/tk"; \
32013 $(SHELL) $${libsrcdir}/configure \
32014 $(HOST_CONFIGARGS) $${srcdiroption} \
32015 || exit 1
32016 @endif tk
32022 .PHONY: all-tk maybe-all-tk
32023 maybe-all-tk:
32024 @if gcc-bootstrap
32025 all-tk: stage_current
32026 @endif gcc-bootstrap
32027 @if tk
32028 TARGET-tk=all
32029 maybe-all-tk: all-tk
32030 all-tk: configure-tk
32031 @: $(MAKE); $(unstage)
32032 @r=`${PWD_COMMAND}`; export r; \
32033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32034 $(HOST_EXPORTS) \
32035 (cd $(HOST_SUBDIR)/tk && \
32036 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
32037 @endif tk
32042 .PHONY: check-tk maybe-check-tk
32043 maybe-check-tk:
32044 @if tk
32045 maybe-check-tk: check-tk
32047 check-tk:
32048 @: $(MAKE); $(unstage)
32049 @r=`${PWD_COMMAND}`; export r; \
32050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32051 $(HOST_EXPORTS) \
32052 (cd $(HOST_SUBDIR)/tk && \
32053 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32055 @endif tk
32057 .PHONY: install-tk maybe-install-tk
32058 maybe-install-tk:
32059 @if tk
32060 maybe-install-tk: install-tk
32062 install-tk: installdirs
32063 @: $(MAKE); $(unstage)
32064 @r=`${PWD_COMMAND}`; export r; \
32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32066 $(HOST_EXPORTS) \
32067 (cd $(HOST_SUBDIR)/tk && \
32068 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32070 @endif tk
32072 # Other targets (info, dvi, pdf, etc.)
32074 .PHONY: maybe-info-tk info-tk
32075 maybe-info-tk:
32076 @if tk
32077 maybe-info-tk: info-tk
32079 info-tk: \
32080 configure-tk
32081 @: $(MAKE); $(unstage)
32082 @[ -f ./tk/Makefile ] || exit 0; \
32083 r=`${PWD_COMMAND}`; export r; \
32084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32085 $(HOST_EXPORTS) \
32086 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32088 done; \
32089 echo "Doing info in tk" ; \
32090 (cd $(HOST_SUBDIR)/tk && \
32091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32093 "RANLIB=$${RANLIB}" \
32094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32095 info) \
32096 || exit 1
32098 @endif tk
32100 .PHONY: maybe-dvi-tk dvi-tk
32101 maybe-dvi-tk:
32102 @if tk
32103 maybe-dvi-tk: dvi-tk
32105 dvi-tk: \
32106 configure-tk
32107 @: $(MAKE); $(unstage)
32108 @[ -f ./tk/Makefile ] || exit 0; \
32109 r=`${PWD_COMMAND}`; export r; \
32110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32111 $(HOST_EXPORTS) \
32112 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32114 done; \
32115 echo "Doing dvi in tk" ; \
32116 (cd $(HOST_SUBDIR)/tk && \
32117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32119 "RANLIB=$${RANLIB}" \
32120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32121 dvi) \
32122 || exit 1
32124 @endif tk
32126 .PHONY: maybe-pdf-tk pdf-tk
32127 maybe-pdf-tk:
32128 @if tk
32129 maybe-pdf-tk: pdf-tk
32131 pdf-tk: \
32132 configure-tk
32133 @: $(MAKE); $(unstage)
32134 @[ -f ./tk/Makefile ] || exit 0; \
32135 r=`${PWD_COMMAND}`; export r; \
32136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32137 $(HOST_EXPORTS) \
32138 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32140 done; \
32141 echo "Doing pdf in tk" ; \
32142 (cd $(HOST_SUBDIR)/tk && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32145 "RANLIB=$${RANLIB}" \
32146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32147 pdf) \
32148 || exit 1
32150 @endif tk
32152 .PHONY: maybe-html-tk html-tk
32153 maybe-html-tk:
32154 @if tk
32155 maybe-html-tk: html-tk
32157 html-tk: \
32158 configure-tk
32159 @: $(MAKE); $(unstage)
32160 @[ -f ./tk/Makefile ] || exit 0; \
32161 r=`${PWD_COMMAND}`; export r; \
32162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32163 $(HOST_EXPORTS) \
32164 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32166 done; \
32167 echo "Doing html in tk" ; \
32168 (cd $(HOST_SUBDIR)/tk && \
32169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32171 "RANLIB=$${RANLIB}" \
32172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32173 html) \
32174 || exit 1
32176 @endif tk
32178 .PHONY: maybe-TAGS-tk TAGS-tk
32179 maybe-TAGS-tk:
32180 @if tk
32181 maybe-TAGS-tk: TAGS-tk
32183 TAGS-tk: \
32184 configure-tk
32185 @: $(MAKE); $(unstage)
32186 @[ -f ./tk/Makefile ] || exit 0; \
32187 r=`${PWD_COMMAND}`; export r; \
32188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32189 $(HOST_EXPORTS) \
32190 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32192 done; \
32193 echo "Doing TAGS in tk" ; \
32194 (cd $(HOST_SUBDIR)/tk && \
32195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32197 "RANLIB=$${RANLIB}" \
32198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32199 TAGS) \
32200 || exit 1
32202 @endif tk
32204 .PHONY: maybe-install-info-tk install-info-tk
32205 maybe-install-info-tk:
32206 @if tk
32207 maybe-install-info-tk: install-info-tk
32209 install-info-tk: \
32210 configure-tk \
32211 info-tk
32212 @: $(MAKE); $(unstage)
32213 @[ -f ./tk/Makefile ] || exit 0; \
32214 r=`${PWD_COMMAND}`; export r; \
32215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32216 $(HOST_EXPORTS) \
32217 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32219 done; \
32220 echo "Doing install-info in tk" ; \
32221 (cd $(HOST_SUBDIR)/tk && \
32222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32224 "RANLIB=$${RANLIB}" \
32225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32226 install-info) \
32227 || exit 1
32229 @endif tk
32231 .PHONY: maybe-install-html-tk install-html-tk
32232 maybe-install-html-tk:
32233 @if tk
32234 maybe-install-html-tk: install-html-tk
32236 install-html-tk: \
32237 configure-tk \
32238 html-tk
32239 @: $(MAKE); $(unstage)
32240 @[ -f ./tk/Makefile ] || exit 0; \
32241 r=`${PWD_COMMAND}`; export r; \
32242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32243 $(HOST_EXPORTS) \
32244 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32246 done; \
32247 echo "Doing install-html in tk" ; \
32248 (cd $(HOST_SUBDIR)/tk && \
32249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32251 "RANLIB=$${RANLIB}" \
32252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32253 install-html) \
32254 || exit 1
32256 @endif tk
32258 .PHONY: maybe-installcheck-tk installcheck-tk
32259 maybe-installcheck-tk:
32260 @if tk
32261 maybe-installcheck-tk: installcheck-tk
32263 installcheck-tk: \
32264 configure-tk
32265 @: $(MAKE); $(unstage)
32266 @[ -f ./tk/Makefile ] || exit 0; \
32267 r=`${PWD_COMMAND}`; export r; \
32268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32269 $(HOST_EXPORTS) \
32270 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32272 done; \
32273 echo "Doing installcheck in tk" ; \
32274 (cd $(HOST_SUBDIR)/tk && \
32275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32277 "RANLIB=$${RANLIB}" \
32278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32279 installcheck) \
32280 || exit 1
32282 @endif tk
32284 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32285 maybe-mostlyclean-tk:
32286 @if tk
32287 maybe-mostlyclean-tk: mostlyclean-tk
32289 mostlyclean-tk:
32290 @: $(MAKE); $(unstage)
32291 @[ -f ./tk/Makefile ] || exit 0; \
32292 r=`${PWD_COMMAND}`; export r; \
32293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32294 $(HOST_EXPORTS) \
32295 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32297 done; \
32298 echo "Doing mostlyclean in tk" ; \
32299 (cd $(HOST_SUBDIR)/tk && \
32300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32302 "RANLIB=$${RANLIB}" \
32303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32304 mostlyclean) \
32305 || exit 1
32307 @endif tk
32309 .PHONY: maybe-clean-tk clean-tk
32310 maybe-clean-tk:
32311 @if tk
32312 maybe-clean-tk: clean-tk
32314 clean-tk:
32315 @: $(MAKE); $(unstage)
32316 @[ -f ./tk/Makefile ] || exit 0; \
32317 r=`${PWD_COMMAND}`; export r; \
32318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32319 $(HOST_EXPORTS) \
32320 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32322 done; \
32323 echo "Doing clean in tk" ; \
32324 (cd $(HOST_SUBDIR)/tk && \
32325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32327 "RANLIB=$${RANLIB}" \
32328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32329 clean) \
32330 || exit 1
32332 @endif tk
32334 .PHONY: maybe-distclean-tk distclean-tk
32335 maybe-distclean-tk:
32336 @if tk
32337 maybe-distclean-tk: distclean-tk
32339 distclean-tk:
32340 @: $(MAKE); $(unstage)
32341 @[ -f ./tk/Makefile ] || exit 0; \
32342 r=`${PWD_COMMAND}`; export r; \
32343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32344 $(HOST_EXPORTS) \
32345 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32347 done; \
32348 echo "Doing distclean in tk" ; \
32349 (cd $(HOST_SUBDIR)/tk && \
32350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32352 "RANLIB=$${RANLIB}" \
32353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32354 distclean) \
32355 || exit 1
32357 @endif tk
32359 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32360 maybe-maintainer-clean-tk:
32361 @if tk
32362 maybe-maintainer-clean-tk: maintainer-clean-tk
32364 maintainer-clean-tk:
32365 @: $(MAKE); $(unstage)
32366 @[ -f ./tk/Makefile ] || exit 0; \
32367 r=`${PWD_COMMAND}`; export r; \
32368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32369 $(HOST_EXPORTS) \
32370 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32372 done; \
32373 echo "Doing maintainer-clean in tk" ; \
32374 (cd $(HOST_SUBDIR)/tk && \
32375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32377 "RANLIB=$${RANLIB}" \
32378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32379 maintainer-clean) \
32380 || exit 1
32382 @endif tk
32386 .PHONY: configure-libtermcap maybe-configure-libtermcap
32387 maybe-configure-libtermcap:
32388 @if gcc-bootstrap
32389 configure-libtermcap: stage_current
32390 @endif gcc-bootstrap
32391 @if libtermcap
32392 maybe-configure-libtermcap: configure-libtermcap
32393 configure-libtermcap:
32394 @: $(MAKE); $(unstage)
32395 @r=`${PWD_COMMAND}`; export r; \
32396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32397 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32399 $(HOST_EXPORTS) \
32400 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32401 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32402 case $(srcdir) in \
32403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32404 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32406 esac; \
32407 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32408 libsrcdir="$$s/libtermcap"; \
32409 $(SHELL) $${libsrcdir}/configure \
32410 $(HOST_CONFIGARGS) $${srcdiroption} \
32411 || exit 1
32412 @endif libtermcap
32418 .PHONY: all-libtermcap maybe-all-libtermcap
32419 maybe-all-libtermcap:
32420 @if gcc-bootstrap
32421 all-libtermcap: stage_current
32422 @endif gcc-bootstrap
32423 @if libtermcap
32424 TARGET-libtermcap=all
32425 maybe-all-libtermcap: all-libtermcap
32426 all-libtermcap: configure-libtermcap
32427 @: $(MAKE); $(unstage)
32428 @r=`${PWD_COMMAND}`; export r; \
32429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32430 $(HOST_EXPORTS) \
32431 (cd $(HOST_SUBDIR)/libtermcap && \
32432 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32433 @endif libtermcap
32438 .PHONY: check-libtermcap maybe-check-libtermcap
32439 maybe-check-libtermcap:
32440 @if libtermcap
32441 maybe-check-libtermcap: check-libtermcap
32443 check-libtermcap:
32445 @endif libtermcap
32447 .PHONY: install-libtermcap maybe-install-libtermcap
32448 maybe-install-libtermcap:
32449 @if libtermcap
32450 maybe-install-libtermcap: install-libtermcap
32452 install-libtermcap: installdirs
32453 @: $(MAKE); $(unstage)
32454 @r=`${PWD_COMMAND}`; export r; \
32455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32456 $(HOST_EXPORTS) \
32457 (cd $(HOST_SUBDIR)/libtermcap && \
32458 $(MAKE) $(FLAGS_TO_PASS) install)
32460 @endif libtermcap
32462 # Other targets (info, dvi, pdf, etc.)
32464 .PHONY: maybe-info-libtermcap info-libtermcap
32465 maybe-info-libtermcap:
32466 @if libtermcap
32467 maybe-info-libtermcap: info-libtermcap
32469 info-libtermcap: \
32470 configure-libtermcap
32471 @: $(MAKE); $(unstage)
32472 @[ -f ./libtermcap/Makefile ] || exit 0; \
32473 r=`${PWD_COMMAND}`; export r; \
32474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32475 $(HOST_EXPORTS) \
32476 for flag in $(EXTRA_HOST_FLAGS) ; do \
32477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32478 done; \
32479 echo "Doing info in libtermcap" ; \
32480 (cd $(HOST_SUBDIR)/libtermcap && \
32481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32483 "RANLIB=$${RANLIB}" \
32484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32485 info) \
32486 || exit 1
32488 @endif libtermcap
32490 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32491 maybe-dvi-libtermcap:
32492 @if libtermcap
32493 maybe-dvi-libtermcap: dvi-libtermcap
32495 dvi-libtermcap: \
32496 configure-libtermcap
32497 @: $(MAKE); $(unstage)
32498 @[ -f ./libtermcap/Makefile ] || exit 0; \
32499 r=`${PWD_COMMAND}`; export r; \
32500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32501 $(HOST_EXPORTS) \
32502 for flag in $(EXTRA_HOST_FLAGS) ; do \
32503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32504 done; \
32505 echo "Doing dvi in libtermcap" ; \
32506 (cd $(HOST_SUBDIR)/libtermcap && \
32507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32509 "RANLIB=$${RANLIB}" \
32510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32511 dvi) \
32512 || exit 1
32514 @endif libtermcap
32516 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32517 maybe-pdf-libtermcap:
32518 @if libtermcap
32519 maybe-pdf-libtermcap: pdf-libtermcap
32521 pdf-libtermcap: \
32522 configure-libtermcap
32523 @: $(MAKE); $(unstage)
32524 @[ -f ./libtermcap/Makefile ] || exit 0; \
32525 r=`${PWD_COMMAND}`; export r; \
32526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32527 $(HOST_EXPORTS) \
32528 for flag in $(EXTRA_HOST_FLAGS) ; do \
32529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32530 done; \
32531 echo "Doing pdf in libtermcap" ; \
32532 (cd $(HOST_SUBDIR)/libtermcap && \
32533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32535 "RANLIB=$${RANLIB}" \
32536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32537 pdf) \
32538 || exit 1
32540 @endif libtermcap
32542 .PHONY: maybe-html-libtermcap html-libtermcap
32543 maybe-html-libtermcap:
32544 @if libtermcap
32545 maybe-html-libtermcap: html-libtermcap
32547 html-libtermcap: \
32548 configure-libtermcap
32549 @: $(MAKE); $(unstage)
32550 @[ -f ./libtermcap/Makefile ] || exit 0; \
32551 r=`${PWD_COMMAND}`; export r; \
32552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32553 $(HOST_EXPORTS) \
32554 for flag in $(EXTRA_HOST_FLAGS) ; do \
32555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32556 done; \
32557 echo "Doing html in libtermcap" ; \
32558 (cd $(HOST_SUBDIR)/libtermcap && \
32559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32561 "RANLIB=$${RANLIB}" \
32562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32563 html) \
32564 || exit 1
32566 @endif libtermcap
32568 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32569 maybe-TAGS-libtermcap:
32570 @if libtermcap
32571 maybe-TAGS-libtermcap: TAGS-libtermcap
32573 TAGS-libtermcap: \
32574 configure-libtermcap
32575 @: $(MAKE); $(unstage)
32576 @[ -f ./libtermcap/Makefile ] || exit 0; \
32577 r=`${PWD_COMMAND}`; export r; \
32578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32579 $(HOST_EXPORTS) \
32580 for flag in $(EXTRA_HOST_FLAGS) ; do \
32581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32582 done; \
32583 echo "Doing TAGS in libtermcap" ; \
32584 (cd $(HOST_SUBDIR)/libtermcap && \
32585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32587 "RANLIB=$${RANLIB}" \
32588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32589 TAGS) \
32590 || exit 1
32592 @endif libtermcap
32594 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32595 maybe-install-info-libtermcap:
32596 @if libtermcap
32597 maybe-install-info-libtermcap: install-info-libtermcap
32599 install-info-libtermcap: \
32600 configure-libtermcap \
32601 info-libtermcap
32602 @: $(MAKE); $(unstage)
32603 @[ -f ./libtermcap/Makefile ] || exit 0; \
32604 r=`${PWD_COMMAND}`; export r; \
32605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32606 $(HOST_EXPORTS) \
32607 for flag in $(EXTRA_HOST_FLAGS) ; do \
32608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32609 done; \
32610 echo "Doing install-info in libtermcap" ; \
32611 (cd $(HOST_SUBDIR)/libtermcap && \
32612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32614 "RANLIB=$${RANLIB}" \
32615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32616 install-info) \
32617 || exit 1
32619 @endif libtermcap
32621 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32622 maybe-install-html-libtermcap:
32623 @if libtermcap
32624 maybe-install-html-libtermcap: install-html-libtermcap
32626 install-html-libtermcap: \
32627 configure-libtermcap \
32628 html-libtermcap
32629 @: $(MAKE); $(unstage)
32630 @[ -f ./libtermcap/Makefile ] || exit 0; \
32631 r=`${PWD_COMMAND}`; export r; \
32632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32633 $(HOST_EXPORTS) \
32634 for flag in $(EXTRA_HOST_FLAGS) ; do \
32635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32636 done; \
32637 echo "Doing install-html in libtermcap" ; \
32638 (cd $(HOST_SUBDIR)/libtermcap && \
32639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32641 "RANLIB=$${RANLIB}" \
32642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32643 install-html) \
32644 || exit 1
32646 @endif libtermcap
32648 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32649 maybe-installcheck-libtermcap:
32650 @if libtermcap
32651 maybe-installcheck-libtermcap: installcheck-libtermcap
32653 installcheck-libtermcap: \
32654 configure-libtermcap
32655 @: $(MAKE); $(unstage)
32656 @[ -f ./libtermcap/Makefile ] || exit 0; \
32657 r=`${PWD_COMMAND}`; export r; \
32658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32659 $(HOST_EXPORTS) \
32660 for flag in $(EXTRA_HOST_FLAGS) ; do \
32661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32662 done; \
32663 echo "Doing installcheck in libtermcap" ; \
32664 (cd $(HOST_SUBDIR)/libtermcap && \
32665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32667 "RANLIB=$${RANLIB}" \
32668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32669 installcheck) \
32670 || exit 1
32672 @endif libtermcap
32674 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32675 maybe-mostlyclean-libtermcap:
32676 @if libtermcap
32677 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32679 # libtermcap doesn't support mostlyclean.
32680 mostlyclean-libtermcap:
32682 @endif libtermcap
32684 .PHONY: maybe-clean-libtermcap clean-libtermcap
32685 maybe-clean-libtermcap:
32686 @if libtermcap
32687 maybe-clean-libtermcap: clean-libtermcap
32689 # libtermcap doesn't support clean.
32690 clean-libtermcap:
32692 @endif libtermcap
32694 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32695 maybe-distclean-libtermcap:
32696 @if libtermcap
32697 maybe-distclean-libtermcap: distclean-libtermcap
32699 # libtermcap doesn't support distclean.
32700 distclean-libtermcap:
32702 @endif libtermcap
32704 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32705 maybe-maintainer-clean-libtermcap:
32706 @if libtermcap
32707 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32709 # libtermcap doesn't support maintainer-clean.
32710 maintainer-clean-libtermcap:
32712 @endif libtermcap
32716 .PHONY: configure-utils maybe-configure-utils
32717 maybe-configure-utils:
32718 @if gcc-bootstrap
32719 configure-utils: stage_current
32720 @endif gcc-bootstrap
32721 @if utils
32722 maybe-configure-utils: configure-utils
32723 configure-utils:
32724 @: $(MAKE); $(unstage)
32725 @r=`${PWD_COMMAND}`; export r; \
32726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32727 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32729 $(HOST_EXPORTS) \
32730 echo Configuring in $(HOST_SUBDIR)/utils; \
32731 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32732 case $(srcdir) in \
32733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32734 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32736 esac; \
32737 srcdiroption="--srcdir=$${topdir}/utils"; \
32738 libsrcdir="$$s/utils"; \
32739 $(SHELL) $${libsrcdir}/configure \
32740 $(HOST_CONFIGARGS) $${srcdiroption} \
32741 || exit 1
32742 @endif utils
32748 .PHONY: all-utils maybe-all-utils
32749 maybe-all-utils:
32750 @if gcc-bootstrap
32751 all-utils: stage_current
32752 @endif gcc-bootstrap
32753 @if utils
32754 TARGET-utils=all
32755 maybe-all-utils: all-utils
32756 all-utils: configure-utils
32757 @: $(MAKE); $(unstage)
32758 @r=`${PWD_COMMAND}`; export r; \
32759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32760 $(HOST_EXPORTS) \
32761 (cd $(HOST_SUBDIR)/utils && \
32762 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32763 @endif utils
32768 .PHONY: check-utils maybe-check-utils
32769 maybe-check-utils:
32770 @if utils
32771 maybe-check-utils: check-utils
32773 check-utils:
32775 @endif utils
32777 .PHONY: install-utils maybe-install-utils
32778 maybe-install-utils:
32779 @if utils
32780 maybe-install-utils: install-utils
32782 install-utils: installdirs
32783 @: $(MAKE); $(unstage)
32784 @r=`${PWD_COMMAND}`; export r; \
32785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32786 $(HOST_EXPORTS) \
32787 (cd $(HOST_SUBDIR)/utils && \
32788 $(MAKE) $(FLAGS_TO_PASS) install)
32790 @endif utils
32792 # Other targets (info, dvi, pdf, etc.)
32794 .PHONY: maybe-info-utils info-utils
32795 maybe-info-utils:
32796 @if utils
32797 maybe-info-utils: info-utils
32799 info-utils: \
32800 configure-utils
32801 @: $(MAKE); $(unstage)
32802 @[ -f ./utils/Makefile ] || exit 0; \
32803 r=`${PWD_COMMAND}`; export r; \
32804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32805 $(HOST_EXPORTS) \
32806 for flag in $(EXTRA_HOST_FLAGS) ; do \
32807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32808 done; \
32809 echo "Doing info in utils" ; \
32810 (cd $(HOST_SUBDIR)/utils && \
32811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32813 "RANLIB=$${RANLIB}" \
32814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32815 info) \
32816 || exit 1
32818 @endif utils
32820 .PHONY: maybe-dvi-utils dvi-utils
32821 maybe-dvi-utils:
32822 @if utils
32823 maybe-dvi-utils: dvi-utils
32825 dvi-utils: \
32826 configure-utils
32827 @: $(MAKE); $(unstage)
32828 @[ -f ./utils/Makefile ] || exit 0; \
32829 r=`${PWD_COMMAND}`; export r; \
32830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32831 $(HOST_EXPORTS) \
32832 for flag in $(EXTRA_HOST_FLAGS) ; do \
32833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32834 done; \
32835 echo "Doing dvi in utils" ; \
32836 (cd $(HOST_SUBDIR)/utils && \
32837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32839 "RANLIB=$${RANLIB}" \
32840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32841 dvi) \
32842 || exit 1
32844 @endif utils
32846 .PHONY: maybe-pdf-utils pdf-utils
32847 maybe-pdf-utils:
32848 @if utils
32849 maybe-pdf-utils: pdf-utils
32851 pdf-utils: \
32852 configure-utils
32853 @: $(MAKE); $(unstage)
32854 @[ -f ./utils/Makefile ] || exit 0; \
32855 r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 $(HOST_EXPORTS) \
32858 for flag in $(EXTRA_HOST_FLAGS) ; do \
32859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32860 done; \
32861 echo "Doing pdf in utils" ; \
32862 (cd $(HOST_SUBDIR)/utils && \
32863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32865 "RANLIB=$${RANLIB}" \
32866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32867 pdf) \
32868 || exit 1
32870 @endif utils
32872 .PHONY: maybe-html-utils html-utils
32873 maybe-html-utils:
32874 @if utils
32875 maybe-html-utils: html-utils
32877 html-utils: \
32878 configure-utils
32879 @: $(MAKE); $(unstage)
32880 @[ -f ./utils/Makefile ] || exit 0; \
32881 r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 $(HOST_EXPORTS) \
32884 for flag in $(EXTRA_HOST_FLAGS) ; do \
32885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32886 done; \
32887 echo "Doing html in utils" ; \
32888 (cd $(HOST_SUBDIR)/utils && \
32889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32891 "RANLIB=$${RANLIB}" \
32892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32893 html) \
32894 || exit 1
32896 @endif utils
32898 .PHONY: maybe-TAGS-utils TAGS-utils
32899 maybe-TAGS-utils:
32900 @if utils
32901 maybe-TAGS-utils: TAGS-utils
32903 TAGS-utils: \
32904 configure-utils
32905 @: $(MAKE); $(unstage)
32906 @[ -f ./utils/Makefile ] || exit 0; \
32907 r=`${PWD_COMMAND}`; export r; \
32908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32909 $(HOST_EXPORTS) \
32910 for flag in $(EXTRA_HOST_FLAGS) ; do \
32911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32912 done; \
32913 echo "Doing TAGS in utils" ; \
32914 (cd $(HOST_SUBDIR)/utils && \
32915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32917 "RANLIB=$${RANLIB}" \
32918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32919 TAGS) \
32920 || exit 1
32922 @endif utils
32924 .PHONY: maybe-install-info-utils install-info-utils
32925 maybe-install-info-utils:
32926 @if utils
32927 maybe-install-info-utils: install-info-utils
32929 install-info-utils: \
32930 configure-utils \
32931 info-utils
32932 @: $(MAKE); $(unstage)
32933 @[ -f ./utils/Makefile ] || exit 0; \
32934 r=`${PWD_COMMAND}`; export r; \
32935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32936 $(HOST_EXPORTS) \
32937 for flag in $(EXTRA_HOST_FLAGS) ; do \
32938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32939 done; \
32940 echo "Doing install-info in utils" ; \
32941 (cd $(HOST_SUBDIR)/utils && \
32942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32944 "RANLIB=$${RANLIB}" \
32945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32946 install-info) \
32947 || exit 1
32949 @endif utils
32951 .PHONY: maybe-install-html-utils install-html-utils
32952 maybe-install-html-utils:
32953 @if utils
32954 maybe-install-html-utils: install-html-utils
32956 install-html-utils: \
32957 configure-utils \
32958 html-utils
32959 @: $(MAKE); $(unstage)
32960 @[ -f ./utils/Makefile ] || exit 0; \
32961 r=`${PWD_COMMAND}`; export r; \
32962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32963 $(HOST_EXPORTS) \
32964 for flag in $(EXTRA_HOST_FLAGS) ; do \
32965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32966 done; \
32967 echo "Doing install-html in utils" ; \
32968 (cd $(HOST_SUBDIR)/utils && \
32969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32971 "RANLIB=$${RANLIB}" \
32972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32973 install-html) \
32974 || exit 1
32976 @endif utils
32978 .PHONY: maybe-installcheck-utils installcheck-utils
32979 maybe-installcheck-utils:
32980 @if utils
32981 maybe-installcheck-utils: installcheck-utils
32983 installcheck-utils: \
32984 configure-utils
32985 @: $(MAKE); $(unstage)
32986 @[ -f ./utils/Makefile ] || exit 0; \
32987 r=`${PWD_COMMAND}`; export r; \
32988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32989 $(HOST_EXPORTS) \
32990 for flag in $(EXTRA_HOST_FLAGS) ; do \
32991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32992 done; \
32993 echo "Doing installcheck in utils" ; \
32994 (cd $(HOST_SUBDIR)/utils && \
32995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32997 "RANLIB=$${RANLIB}" \
32998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32999 installcheck) \
33000 || exit 1
33002 @endif utils
33004 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33005 maybe-mostlyclean-utils:
33006 @if utils
33007 maybe-mostlyclean-utils: mostlyclean-utils
33009 mostlyclean-utils:
33010 @: $(MAKE); $(unstage)
33011 @[ -f ./utils/Makefile ] || exit 0; \
33012 r=`${PWD_COMMAND}`; export r; \
33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33014 $(HOST_EXPORTS) \
33015 for flag in $(EXTRA_HOST_FLAGS) ; do \
33016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33017 done; \
33018 echo "Doing mostlyclean in utils" ; \
33019 (cd $(HOST_SUBDIR)/utils && \
33020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33022 "RANLIB=$${RANLIB}" \
33023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33024 mostlyclean) \
33025 || exit 1
33027 @endif utils
33029 .PHONY: maybe-clean-utils clean-utils
33030 maybe-clean-utils:
33031 @if utils
33032 maybe-clean-utils: clean-utils
33034 clean-utils:
33035 @: $(MAKE); $(unstage)
33036 @[ -f ./utils/Makefile ] || exit 0; \
33037 r=`${PWD_COMMAND}`; export r; \
33038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33039 $(HOST_EXPORTS) \
33040 for flag in $(EXTRA_HOST_FLAGS) ; do \
33041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33042 done; \
33043 echo "Doing clean in utils" ; \
33044 (cd $(HOST_SUBDIR)/utils && \
33045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33047 "RANLIB=$${RANLIB}" \
33048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33049 clean) \
33050 || exit 1
33052 @endif utils
33054 .PHONY: maybe-distclean-utils distclean-utils
33055 maybe-distclean-utils:
33056 @if utils
33057 maybe-distclean-utils: distclean-utils
33059 distclean-utils:
33060 @: $(MAKE); $(unstage)
33061 @[ -f ./utils/Makefile ] || exit 0; \
33062 r=`${PWD_COMMAND}`; export r; \
33063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33064 $(HOST_EXPORTS) \
33065 for flag in $(EXTRA_HOST_FLAGS) ; do \
33066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33067 done; \
33068 echo "Doing distclean in utils" ; \
33069 (cd $(HOST_SUBDIR)/utils && \
33070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33072 "RANLIB=$${RANLIB}" \
33073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33074 distclean) \
33075 || exit 1
33077 @endif utils
33079 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33080 maybe-maintainer-clean-utils:
33081 @if utils
33082 maybe-maintainer-clean-utils: maintainer-clean-utils
33084 maintainer-clean-utils:
33085 @: $(MAKE); $(unstage)
33086 @[ -f ./utils/Makefile ] || exit 0; \
33087 r=`${PWD_COMMAND}`; export r; \
33088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33089 $(HOST_EXPORTS) \
33090 for flag in $(EXTRA_HOST_FLAGS) ; do \
33091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33092 done; \
33093 echo "Doing maintainer-clean in utils" ; \
33094 (cd $(HOST_SUBDIR)/utils && \
33095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33097 "RANLIB=$${RANLIB}" \
33098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33099 maintainer-clean) \
33100 || exit 1
33102 @endif utils
33106 .PHONY: configure-gnattools maybe-configure-gnattools
33107 maybe-configure-gnattools:
33108 @if gcc-bootstrap
33109 configure-gnattools: stage_current
33110 @endif gcc-bootstrap
33111 @if gnattools
33112 maybe-configure-gnattools: configure-gnattools
33113 configure-gnattools:
33114 @: $(MAKE); $(unstage)
33115 @r=`${PWD_COMMAND}`; export r; \
33116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33117 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
33119 $(HOST_EXPORTS) \
33120 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33121 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33122 case $(srcdir) in \
33123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33124 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33126 esac; \
33127 srcdiroption="--srcdir=$${topdir}/gnattools"; \
33128 libsrcdir="$$s/gnattools"; \
33129 $(SHELL) $${libsrcdir}/configure \
33130 $(HOST_CONFIGARGS) $${srcdiroption} \
33131 || exit 1
33132 @endif gnattools
33138 .PHONY: all-gnattools maybe-all-gnattools
33139 maybe-all-gnattools:
33140 @if gcc-bootstrap
33141 all-gnattools: stage_current
33142 @endif gcc-bootstrap
33143 @if gnattools
33144 TARGET-gnattools=all
33145 maybe-all-gnattools: all-gnattools
33146 all-gnattools: configure-gnattools
33147 @: $(MAKE); $(unstage)
33148 @r=`${PWD_COMMAND}`; export r; \
33149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33150 $(HOST_EXPORTS) \
33151 (cd $(HOST_SUBDIR)/gnattools && \
33152 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
33153 @endif gnattools
33158 .PHONY: check-gnattools maybe-check-gnattools
33159 maybe-check-gnattools:
33160 @if gnattools
33161 maybe-check-gnattools: check-gnattools
33163 check-gnattools:
33164 @: $(MAKE); $(unstage)
33165 @r=`${PWD_COMMAND}`; export r; \
33166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33167 $(HOST_EXPORTS) \
33168 (cd $(HOST_SUBDIR)/gnattools && \
33169 $(MAKE) $(FLAGS_TO_PASS) check)
33171 @endif gnattools
33173 .PHONY: install-gnattools maybe-install-gnattools
33174 maybe-install-gnattools:
33175 @if gnattools
33176 maybe-install-gnattools: install-gnattools
33178 install-gnattools: installdirs
33179 @: $(MAKE); $(unstage)
33180 @r=`${PWD_COMMAND}`; export r; \
33181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33182 $(HOST_EXPORTS) \
33183 (cd $(HOST_SUBDIR)/gnattools && \
33184 $(MAKE) $(FLAGS_TO_PASS) install)
33186 @endif gnattools
33188 # Other targets (info, dvi, pdf, etc.)
33190 .PHONY: maybe-info-gnattools info-gnattools
33191 maybe-info-gnattools:
33192 @if gnattools
33193 maybe-info-gnattools: info-gnattools
33195 info-gnattools: \
33196 configure-gnattools
33197 @: $(MAKE); $(unstage)
33198 @[ -f ./gnattools/Makefile ] || exit 0; \
33199 r=`${PWD_COMMAND}`; export r; \
33200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33201 $(HOST_EXPORTS) \
33202 for flag in $(EXTRA_HOST_FLAGS) ; do \
33203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33204 done; \
33205 echo "Doing info in gnattools" ; \
33206 (cd $(HOST_SUBDIR)/gnattools && \
33207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33209 "RANLIB=$${RANLIB}" \
33210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33211 info) \
33212 || exit 1
33214 @endif gnattools
33216 .PHONY: maybe-dvi-gnattools dvi-gnattools
33217 maybe-dvi-gnattools:
33218 @if gnattools
33219 maybe-dvi-gnattools: dvi-gnattools
33221 dvi-gnattools: \
33222 configure-gnattools
33223 @: $(MAKE); $(unstage)
33224 @[ -f ./gnattools/Makefile ] || exit 0; \
33225 r=`${PWD_COMMAND}`; export r; \
33226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33227 $(HOST_EXPORTS) \
33228 for flag in $(EXTRA_HOST_FLAGS) ; do \
33229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33230 done; \
33231 echo "Doing dvi in gnattools" ; \
33232 (cd $(HOST_SUBDIR)/gnattools && \
33233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33235 "RANLIB=$${RANLIB}" \
33236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33237 dvi) \
33238 || exit 1
33240 @endif gnattools
33242 .PHONY: maybe-pdf-gnattools pdf-gnattools
33243 maybe-pdf-gnattools:
33244 @if gnattools
33245 maybe-pdf-gnattools: pdf-gnattools
33247 pdf-gnattools: \
33248 configure-gnattools
33249 @: $(MAKE); $(unstage)
33250 @[ -f ./gnattools/Makefile ] || exit 0; \
33251 r=`${PWD_COMMAND}`; export r; \
33252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33253 $(HOST_EXPORTS) \
33254 for flag in $(EXTRA_HOST_FLAGS) ; do \
33255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33256 done; \
33257 echo "Doing pdf in gnattools" ; \
33258 (cd $(HOST_SUBDIR)/gnattools && \
33259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33261 "RANLIB=$${RANLIB}" \
33262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33263 pdf) \
33264 || exit 1
33266 @endif gnattools
33268 .PHONY: maybe-html-gnattools html-gnattools
33269 maybe-html-gnattools:
33270 @if gnattools
33271 maybe-html-gnattools: html-gnattools
33273 html-gnattools: \
33274 configure-gnattools
33275 @: $(MAKE); $(unstage)
33276 @[ -f ./gnattools/Makefile ] || exit 0; \
33277 r=`${PWD_COMMAND}`; export r; \
33278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33279 $(HOST_EXPORTS) \
33280 for flag in $(EXTRA_HOST_FLAGS) ; do \
33281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33282 done; \
33283 echo "Doing html in gnattools" ; \
33284 (cd $(HOST_SUBDIR)/gnattools && \
33285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33287 "RANLIB=$${RANLIB}" \
33288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33289 html) \
33290 || exit 1
33292 @endif gnattools
33294 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33295 maybe-TAGS-gnattools:
33296 @if gnattools
33297 maybe-TAGS-gnattools: TAGS-gnattools
33299 TAGS-gnattools: \
33300 configure-gnattools
33301 @: $(MAKE); $(unstage)
33302 @[ -f ./gnattools/Makefile ] || exit 0; \
33303 r=`${PWD_COMMAND}`; export r; \
33304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33305 $(HOST_EXPORTS) \
33306 for flag in $(EXTRA_HOST_FLAGS) ; do \
33307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33308 done; \
33309 echo "Doing TAGS in gnattools" ; \
33310 (cd $(HOST_SUBDIR)/gnattools && \
33311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33313 "RANLIB=$${RANLIB}" \
33314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33315 TAGS) \
33316 || exit 1
33318 @endif gnattools
33320 .PHONY: maybe-install-info-gnattools install-info-gnattools
33321 maybe-install-info-gnattools:
33322 @if gnattools
33323 maybe-install-info-gnattools: install-info-gnattools
33325 install-info-gnattools: \
33326 configure-gnattools \
33327 info-gnattools
33328 @: $(MAKE); $(unstage)
33329 @[ -f ./gnattools/Makefile ] || exit 0; \
33330 r=`${PWD_COMMAND}`; export r; \
33331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33332 $(HOST_EXPORTS) \
33333 for flag in $(EXTRA_HOST_FLAGS) ; do \
33334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33335 done; \
33336 echo "Doing install-info in gnattools" ; \
33337 (cd $(HOST_SUBDIR)/gnattools && \
33338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33340 "RANLIB=$${RANLIB}" \
33341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33342 install-info) \
33343 || exit 1
33345 @endif gnattools
33347 .PHONY: maybe-install-html-gnattools install-html-gnattools
33348 maybe-install-html-gnattools:
33349 @if gnattools
33350 maybe-install-html-gnattools: install-html-gnattools
33352 install-html-gnattools: \
33353 configure-gnattools \
33354 html-gnattools
33355 @: $(MAKE); $(unstage)
33356 @[ -f ./gnattools/Makefile ] || exit 0; \
33357 r=`${PWD_COMMAND}`; export r; \
33358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33359 $(HOST_EXPORTS) \
33360 for flag in $(EXTRA_HOST_FLAGS) ; do \
33361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33362 done; \
33363 echo "Doing install-html in gnattools" ; \
33364 (cd $(HOST_SUBDIR)/gnattools && \
33365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33367 "RANLIB=$${RANLIB}" \
33368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33369 install-html) \
33370 || exit 1
33372 @endif gnattools
33374 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33375 maybe-installcheck-gnattools:
33376 @if gnattools
33377 maybe-installcheck-gnattools: installcheck-gnattools
33379 installcheck-gnattools: \
33380 configure-gnattools
33381 @: $(MAKE); $(unstage)
33382 @[ -f ./gnattools/Makefile ] || exit 0; \
33383 r=`${PWD_COMMAND}`; export r; \
33384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33385 $(HOST_EXPORTS) \
33386 for flag in $(EXTRA_HOST_FLAGS) ; do \
33387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33388 done; \
33389 echo "Doing installcheck in gnattools" ; \
33390 (cd $(HOST_SUBDIR)/gnattools && \
33391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33393 "RANLIB=$${RANLIB}" \
33394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33395 installcheck) \
33396 || exit 1
33398 @endif gnattools
33400 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33401 maybe-mostlyclean-gnattools:
33402 @if gnattools
33403 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33405 mostlyclean-gnattools:
33406 @: $(MAKE); $(unstage)
33407 @[ -f ./gnattools/Makefile ] || exit 0; \
33408 r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 $(HOST_EXPORTS) \
33411 for flag in $(EXTRA_HOST_FLAGS) ; do \
33412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33413 done; \
33414 echo "Doing mostlyclean in gnattools" ; \
33415 (cd $(HOST_SUBDIR)/gnattools && \
33416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33418 "RANLIB=$${RANLIB}" \
33419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33420 mostlyclean) \
33421 || exit 1
33423 @endif gnattools
33425 .PHONY: maybe-clean-gnattools clean-gnattools
33426 maybe-clean-gnattools:
33427 @if gnattools
33428 maybe-clean-gnattools: clean-gnattools
33430 clean-gnattools:
33431 @: $(MAKE); $(unstage)
33432 @[ -f ./gnattools/Makefile ] || exit 0; \
33433 r=`${PWD_COMMAND}`; export r; \
33434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33435 $(HOST_EXPORTS) \
33436 for flag in $(EXTRA_HOST_FLAGS) ; do \
33437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33438 done; \
33439 echo "Doing clean in gnattools" ; \
33440 (cd $(HOST_SUBDIR)/gnattools && \
33441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33443 "RANLIB=$${RANLIB}" \
33444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33445 clean) \
33446 || exit 1
33448 @endif gnattools
33450 .PHONY: maybe-distclean-gnattools distclean-gnattools
33451 maybe-distclean-gnattools:
33452 @if gnattools
33453 maybe-distclean-gnattools: distclean-gnattools
33455 distclean-gnattools:
33456 @: $(MAKE); $(unstage)
33457 @[ -f ./gnattools/Makefile ] || exit 0; \
33458 r=`${PWD_COMMAND}`; export r; \
33459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33460 $(HOST_EXPORTS) \
33461 for flag in $(EXTRA_HOST_FLAGS) ; do \
33462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33463 done; \
33464 echo "Doing distclean in gnattools" ; \
33465 (cd $(HOST_SUBDIR)/gnattools && \
33466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33468 "RANLIB=$${RANLIB}" \
33469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33470 distclean) \
33471 || exit 1
33473 @endif gnattools
33475 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33476 maybe-maintainer-clean-gnattools:
33477 @if gnattools
33478 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33480 maintainer-clean-gnattools:
33481 @: $(MAKE); $(unstage)
33482 @[ -f ./gnattools/Makefile ] || exit 0; \
33483 r=`${PWD_COMMAND}`; export r; \
33484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33485 $(HOST_EXPORTS) \
33486 for flag in $(EXTRA_HOST_FLAGS) ; do \
33487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33488 done; \
33489 echo "Doing maintainer-clean in gnattools" ; \
33490 (cd $(HOST_SUBDIR)/gnattools && \
33491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33493 "RANLIB=$${RANLIB}" \
33494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33495 maintainer-clean) \
33496 || exit 1
33498 @endif gnattools
33502 # ---------------------------------------
33503 # Modules which run on the target machine
33504 # ---------------------------------------
33509 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33510 maybe-configure-target-libstdc++-v3:
33511 @if gcc-bootstrap
33512 configure-target-libstdc++-v3: stage_current
33513 @endif gcc-bootstrap
33514 @if target-libstdc++-v3
33515 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33516 configure-target-libstdc++-v3:
33517 @: $(MAKE); $(unstage)
33518 @r=`${PWD_COMMAND}`; export r; \
33519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33520 echo "Checking multilib configuration for libstdc++-v3..."; \
33521 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33522 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33523 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33524 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33525 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33526 else \
33527 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33528 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33529 fi; \
33530 else \
33531 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33532 fi; \
33533 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33534 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33535 $(RAW_CXX_TARGET_EXPORTS) \
33536 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33537 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33538 case $(srcdir) in \
33539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33540 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33542 esac; \
33543 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33544 libsrcdir="$$s/libstdc++-v3"; \
33545 rm -f no-such-file || : ; \
33546 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33547 $(TARGET_CONFIGARGS) $${srcdiroption} \
33548 || exit 1
33549 @endif target-libstdc++-v3
33555 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33556 maybe-all-target-libstdc++-v3:
33557 @if gcc-bootstrap
33558 all-target-libstdc++-v3: stage_current
33559 @endif gcc-bootstrap
33560 @if target-libstdc++-v3
33561 TARGET-target-libstdc++-v3=all
33562 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33563 all-target-libstdc++-v3: configure-target-libstdc++-v3
33564 @: $(MAKE); $(unstage)
33565 @r=`${PWD_COMMAND}`; export r; \
33566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33567 $(RAW_CXX_TARGET_EXPORTS) \
33568 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33569 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33570 @endif target-libstdc++-v3
33576 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33577 maybe-check-target-libstdc++-v3:
33578 @if target-libstdc++-v3
33579 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33581 check-target-libstdc++-v3:
33582 @: $(MAKE); $(unstage)
33583 @r=`${PWD_COMMAND}`; export r; \
33584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33585 $(RAW_CXX_TARGET_EXPORTS) \
33586 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33587 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33589 @endif target-libstdc++-v3
33591 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33592 maybe-install-target-libstdc++-v3:
33593 @if target-libstdc++-v3
33594 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33596 install-target-libstdc++-v3: installdirs
33597 @: $(MAKE); $(unstage)
33598 @r=`${PWD_COMMAND}`; export r; \
33599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33600 $(RAW_CXX_TARGET_EXPORTS) \
33601 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33602 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33604 @endif target-libstdc++-v3
33606 # Other targets (info, dvi, pdf, etc.)
33608 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33609 maybe-info-target-libstdc++-v3:
33610 @if target-libstdc++-v3
33611 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33613 info-target-libstdc++-v3: \
33614 configure-target-libstdc++-v3
33615 @: $(MAKE); $(unstage)
33616 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33617 r=`${PWD_COMMAND}`; export r; \
33618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33619 $(RAW_CXX_TARGET_EXPORTS) \
33620 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33621 for flag in $(EXTRA_TARGET_FLAGS); do \
33622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33623 done; \
33624 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33627 "RANLIB=$${RANLIB}" \
33628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33629 info) \
33630 || exit 1
33632 @endif target-libstdc++-v3
33634 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33635 maybe-dvi-target-libstdc++-v3:
33636 @if target-libstdc++-v3
33637 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33639 dvi-target-libstdc++-v3: \
33640 configure-target-libstdc++-v3
33641 @: $(MAKE); $(unstage)
33642 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33643 r=`${PWD_COMMAND}`; export r; \
33644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33645 $(RAW_CXX_TARGET_EXPORTS) \
33646 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33647 for flag in $(EXTRA_TARGET_FLAGS); do \
33648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33649 done; \
33650 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33653 "RANLIB=$${RANLIB}" \
33654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33655 dvi) \
33656 || exit 1
33658 @endif target-libstdc++-v3
33660 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33661 maybe-pdf-target-libstdc++-v3:
33662 @if target-libstdc++-v3
33663 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33665 pdf-target-libstdc++-v3: \
33666 configure-target-libstdc++-v3
33667 @: $(MAKE); $(unstage)
33668 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33669 r=`${PWD_COMMAND}`; export r; \
33670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33671 $(RAW_CXX_TARGET_EXPORTS) \
33672 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33673 for flag in $(EXTRA_TARGET_FLAGS); do \
33674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33675 done; \
33676 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33679 "RANLIB=$${RANLIB}" \
33680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33681 pdf) \
33682 || exit 1
33684 @endif target-libstdc++-v3
33686 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33687 maybe-html-target-libstdc++-v3:
33688 @if target-libstdc++-v3
33689 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33691 html-target-libstdc++-v3: \
33692 configure-target-libstdc++-v3
33693 @: $(MAKE); $(unstage)
33694 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33695 r=`${PWD_COMMAND}`; export r; \
33696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33697 $(RAW_CXX_TARGET_EXPORTS) \
33698 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33699 for flag in $(EXTRA_TARGET_FLAGS); do \
33700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33701 done; \
33702 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33705 "RANLIB=$${RANLIB}" \
33706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33707 html) \
33708 || exit 1
33710 @endif target-libstdc++-v3
33712 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33713 maybe-TAGS-target-libstdc++-v3:
33714 @if target-libstdc++-v3
33715 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33717 TAGS-target-libstdc++-v3: \
33718 configure-target-libstdc++-v3
33719 @: $(MAKE); $(unstage)
33720 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33721 r=`${PWD_COMMAND}`; export r; \
33722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33723 $(RAW_CXX_TARGET_EXPORTS) \
33724 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33725 for flag in $(EXTRA_TARGET_FLAGS); do \
33726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33727 done; \
33728 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33731 "RANLIB=$${RANLIB}" \
33732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33733 TAGS) \
33734 || exit 1
33736 @endif target-libstdc++-v3
33738 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33739 maybe-install-info-target-libstdc++-v3:
33740 @if target-libstdc++-v3
33741 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33743 install-info-target-libstdc++-v3: \
33744 configure-target-libstdc++-v3 \
33745 info-target-libstdc++-v3
33746 @: $(MAKE); $(unstage)
33747 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33748 r=`${PWD_COMMAND}`; export r; \
33749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33750 $(RAW_CXX_TARGET_EXPORTS) \
33751 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33752 for flag in $(EXTRA_TARGET_FLAGS); do \
33753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33754 done; \
33755 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33758 "RANLIB=$${RANLIB}" \
33759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33760 install-info) \
33761 || exit 1
33763 @endif target-libstdc++-v3
33765 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33766 maybe-install-html-target-libstdc++-v3:
33767 @if target-libstdc++-v3
33768 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33770 install-html-target-libstdc++-v3: \
33771 configure-target-libstdc++-v3 \
33772 html-target-libstdc++-v3
33773 @: $(MAKE); $(unstage)
33774 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33775 r=`${PWD_COMMAND}`; export r; \
33776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33777 $(RAW_CXX_TARGET_EXPORTS) \
33778 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33779 for flag in $(EXTRA_TARGET_FLAGS); do \
33780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33781 done; \
33782 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33785 "RANLIB=$${RANLIB}" \
33786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33787 install-html) \
33788 || exit 1
33790 @endif target-libstdc++-v3
33792 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33793 maybe-installcheck-target-libstdc++-v3:
33794 @if target-libstdc++-v3
33795 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33797 installcheck-target-libstdc++-v3: \
33798 configure-target-libstdc++-v3
33799 @: $(MAKE); $(unstage)
33800 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33801 r=`${PWD_COMMAND}`; export r; \
33802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33803 $(RAW_CXX_TARGET_EXPORTS) \
33804 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33805 for flag in $(EXTRA_TARGET_FLAGS); do \
33806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33807 done; \
33808 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33811 "RANLIB=$${RANLIB}" \
33812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33813 installcheck) \
33814 || exit 1
33816 @endif target-libstdc++-v3
33818 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33819 maybe-mostlyclean-target-libstdc++-v3:
33820 @if target-libstdc++-v3
33821 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33823 mostlyclean-target-libstdc++-v3:
33824 @: $(MAKE); $(unstage)
33825 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33826 r=`${PWD_COMMAND}`; export r; \
33827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33828 $(RAW_CXX_TARGET_EXPORTS) \
33829 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33830 for flag in $(EXTRA_TARGET_FLAGS); do \
33831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33832 done; \
33833 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33836 "RANLIB=$${RANLIB}" \
33837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33838 mostlyclean) \
33839 || exit 1
33841 @endif target-libstdc++-v3
33843 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33844 maybe-clean-target-libstdc++-v3:
33845 @if target-libstdc++-v3
33846 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33848 clean-target-libstdc++-v3:
33849 @: $(MAKE); $(unstage)
33850 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(RAW_CXX_TARGET_EXPORTS) \
33854 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33855 for flag in $(EXTRA_TARGET_FLAGS); do \
33856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33857 done; \
33858 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33861 "RANLIB=$${RANLIB}" \
33862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33863 clean) \
33864 || exit 1
33866 @endif target-libstdc++-v3
33868 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33869 maybe-distclean-target-libstdc++-v3:
33870 @if target-libstdc++-v3
33871 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33873 distclean-target-libstdc++-v3:
33874 @: $(MAKE); $(unstage)
33875 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33876 r=`${PWD_COMMAND}`; export r; \
33877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33878 $(RAW_CXX_TARGET_EXPORTS) \
33879 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33880 for flag in $(EXTRA_TARGET_FLAGS); do \
33881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33882 done; \
33883 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33886 "RANLIB=$${RANLIB}" \
33887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33888 distclean) \
33889 || exit 1
33891 @endif target-libstdc++-v3
33893 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33894 maybe-maintainer-clean-target-libstdc++-v3:
33895 @if target-libstdc++-v3
33896 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33898 maintainer-clean-target-libstdc++-v3:
33899 @: $(MAKE); $(unstage)
33900 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33901 r=`${PWD_COMMAND}`; export r; \
33902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33903 $(RAW_CXX_TARGET_EXPORTS) \
33904 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33905 for flag in $(EXTRA_TARGET_FLAGS); do \
33906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33907 done; \
33908 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33911 "RANLIB=$${RANLIB}" \
33912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33913 maintainer-clean) \
33914 || exit 1
33916 @endif target-libstdc++-v3
33922 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33923 maybe-configure-target-libmudflap:
33924 @if gcc-bootstrap
33925 configure-target-libmudflap: stage_current
33926 @endif gcc-bootstrap
33927 @if target-libmudflap
33928 maybe-configure-target-libmudflap: configure-target-libmudflap
33929 configure-target-libmudflap:
33930 @: $(MAKE); $(unstage)
33931 @r=`${PWD_COMMAND}`; export r; \
33932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33933 echo "Checking multilib configuration for libmudflap..."; \
33934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33935 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33936 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33937 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33938 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33939 else \
33940 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33941 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33942 fi; \
33943 else \
33944 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33945 fi; \
33946 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33947 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33948 $(NORMAL_TARGET_EXPORTS) \
33949 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33950 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33951 case $(srcdir) in \
33952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33953 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33955 esac; \
33956 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33957 libsrcdir="$$s/libmudflap"; \
33958 rm -f no-such-file || : ; \
33959 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33960 $(TARGET_CONFIGARGS) $${srcdiroption} \
33961 || exit 1
33962 @endif target-libmudflap
33968 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
33969 maybe-all-target-libmudflap:
33970 @if gcc-bootstrap
33971 all-target-libmudflap: stage_current
33972 @endif gcc-bootstrap
33973 @if target-libmudflap
33974 TARGET-target-libmudflap=all
33975 maybe-all-target-libmudflap: all-target-libmudflap
33976 all-target-libmudflap: configure-target-libmudflap
33977 @: $(MAKE); $(unstage)
33978 @r=`${PWD_COMMAND}`; export r; \
33979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33980 $(NORMAL_TARGET_EXPORTS) \
33981 (cd $(TARGET_SUBDIR)/libmudflap && \
33982 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
33983 @endif target-libmudflap
33989 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
33990 maybe-check-target-libmudflap:
33991 @if target-libmudflap
33992 maybe-check-target-libmudflap: check-target-libmudflap
33994 check-target-libmudflap:
33995 @: $(MAKE); $(unstage)
33996 @r=`${PWD_COMMAND}`; export r; \
33997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33998 $(NORMAL_TARGET_EXPORTS) \
33999 (cd $(TARGET_SUBDIR)/libmudflap && \
34000 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34002 @endif target-libmudflap
34004 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
34005 maybe-install-target-libmudflap:
34006 @if target-libmudflap
34007 maybe-install-target-libmudflap: install-target-libmudflap
34009 install-target-libmudflap: installdirs
34010 @: $(MAKE); $(unstage)
34011 @r=`${PWD_COMMAND}`; export r; \
34012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34013 $(NORMAL_TARGET_EXPORTS) \
34014 (cd $(TARGET_SUBDIR)/libmudflap && \
34015 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34017 @endif target-libmudflap
34019 # Other targets (info, dvi, pdf, etc.)
34021 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
34022 maybe-info-target-libmudflap:
34023 @if target-libmudflap
34024 maybe-info-target-libmudflap: info-target-libmudflap
34026 info-target-libmudflap: \
34027 configure-target-libmudflap
34028 @: $(MAKE); $(unstage)
34029 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34030 r=`${PWD_COMMAND}`; export r; \
34031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34032 $(NORMAL_TARGET_EXPORTS) \
34033 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
34034 for flag in $(EXTRA_TARGET_FLAGS); do \
34035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34036 done; \
34037 (cd $(TARGET_SUBDIR)/libmudflap && \
34038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34040 "RANLIB=$${RANLIB}" \
34041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34042 info) \
34043 || exit 1
34045 @endif target-libmudflap
34047 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
34048 maybe-dvi-target-libmudflap:
34049 @if target-libmudflap
34050 maybe-dvi-target-libmudflap: dvi-target-libmudflap
34052 dvi-target-libmudflap: \
34053 configure-target-libmudflap
34054 @: $(MAKE); $(unstage)
34055 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34056 r=`${PWD_COMMAND}`; export r; \
34057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34058 $(NORMAL_TARGET_EXPORTS) \
34059 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
34060 for flag in $(EXTRA_TARGET_FLAGS); do \
34061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34062 done; \
34063 (cd $(TARGET_SUBDIR)/libmudflap && \
34064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34066 "RANLIB=$${RANLIB}" \
34067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34068 dvi) \
34069 || exit 1
34071 @endif target-libmudflap
34073 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
34074 maybe-pdf-target-libmudflap:
34075 @if target-libmudflap
34076 maybe-pdf-target-libmudflap: pdf-target-libmudflap
34078 pdf-target-libmudflap: \
34079 configure-target-libmudflap
34080 @: $(MAKE); $(unstage)
34081 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34082 r=`${PWD_COMMAND}`; export r; \
34083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34084 $(NORMAL_TARGET_EXPORTS) \
34085 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
34086 for flag in $(EXTRA_TARGET_FLAGS); do \
34087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34088 done; \
34089 (cd $(TARGET_SUBDIR)/libmudflap && \
34090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34092 "RANLIB=$${RANLIB}" \
34093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34094 pdf) \
34095 || exit 1
34097 @endif target-libmudflap
34099 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
34100 maybe-html-target-libmudflap:
34101 @if target-libmudflap
34102 maybe-html-target-libmudflap: html-target-libmudflap
34104 html-target-libmudflap: \
34105 configure-target-libmudflap
34106 @: $(MAKE); $(unstage)
34107 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34108 r=`${PWD_COMMAND}`; export r; \
34109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34110 $(NORMAL_TARGET_EXPORTS) \
34111 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
34112 for flag in $(EXTRA_TARGET_FLAGS); do \
34113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34114 done; \
34115 (cd $(TARGET_SUBDIR)/libmudflap && \
34116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34118 "RANLIB=$${RANLIB}" \
34119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34120 html) \
34121 || exit 1
34123 @endif target-libmudflap
34125 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
34126 maybe-TAGS-target-libmudflap:
34127 @if target-libmudflap
34128 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
34130 TAGS-target-libmudflap: \
34131 configure-target-libmudflap
34132 @: $(MAKE); $(unstage)
34133 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34134 r=`${PWD_COMMAND}`; export r; \
34135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34136 $(NORMAL_TARGET_EXPORTS) \
34137 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
34138 for flag in $(EXTRA_TARGET_FLAGS); do \
34139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34140 done; \
34141 (cd $(TARGET_SUBDIR)/libmudflap && \
34142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34144 "RANLIB=$${RANLIB}" \
34145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34146 TAGS) \
34147 || exit 1
34149 @endif target-libmudflap
34151 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
34152 maybe-install-info-target-libmudflap:
34153 @if target-libmudflap
34154 maybe-install-info-target-libmudflap: install-info-target-libmudflap
34156 install-info-target-libmudflap: \
34157 configure-target-libmudflap \
34158 info-target-libmudflap
34159 @: $(MAKE); $(unstage)
34160 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34161 r=`${PWD_COMMAND}`; export r; \
34162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34163 $(NORMAL_TARGET_EXPORTS) \
34164 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
34165 for flag in $(EXTRA_TARGET_FLAGS); do \
34166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34167 done; \
34168 (cd $(TARGET_SUBDIR)/libmudflap && \
34169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34171 "RANLIB=$${RANLIB}" \
34172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34173 install-info) \
34174 || exit 1
34176 @endif target-libmudflap
34178 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
34179 maybe-install-html-target-libmudflap:
34180 @if target-libmudflap
34181 maybe-install-html-target-libmudflap: install-html-target-libmudflap
34183 install-html-target-libmudflap: \
34184 configure-target-libmudflap \
34185 html-target-libmudflap
34186 @: $(MAKE); $(unstage)
34187 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34188 r=`${PWD_COMMAND}`; export r; \
34189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34190 $(NORMAL_TARGET_EXPORTS) \
34191 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
34192 for flag in $(EXTRA_TARGET_FLAGS); do \
34193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34194 done; \
34195 (cd $(TARGET_SUBDIR)/libmudflap && \
34196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34198 "RANLIB=$${RANLIB}" \
34199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34200 install-html) \
34201 || exit 1
34203 @endif target-libmudflap
34205 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34206 maybe-installcheck-target-libmudflap:
34207 @if target-libmudflap
34208 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34210 installcheck-target-libmudflap: \
34211 configure-target-libmudflap
34212 @: $(MAKE); $(unstage)
34213 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34214 r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(NORMAL_TARGET_EXPORTS) \
34217 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34218 for flag in $(EXTRA_TARGET_FLAGS); do \
34219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34220 done; \
34221 (cd $(TARGET_SUBDIR)/libmudflap && \
34222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34224 "RANLIB=$${RANLIB}" \
34225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34226 installcheck) \
34227 || exit 1
34229 @endif target-libmudflap
34231 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34232 maybe-mostlyclean-target-libmudflap:
34233 @if target-libmudflap
34234 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34236 mostlyclean-target-libmudflap:
34237 @: $(MAKE); $(unstage)
34238 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34239 r=`${PWD_COMMAND}`; export r; \
34240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34241 $(NORMAL_TARGET_EXPORTS) \
34242 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34243 for flag in $(EXTRA_TARGET_FLAGS); do \
34244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34245 done; \
34246 (cd $(TARGET_SUBDIR)/libmudflap && \
34247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34249 "RANLIB=$${RANLIB}" \
34250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34251 mostlyclean) \
34252 || exit 1
34254 @endif target-libmudflap
34256 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34257 maybe-clean-target-libmudflap:
34258 @if target-libmudflap
34259 maybe-clean-target-libmudflap: clean-target-libmudflap
34261 clean-target-libmudflap:
34262 @: $(MAKE); $(unstage)
34263 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34264 r=`${PWD_COMMAND}`; export r; \
34265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34266 $(NORMAL_TARGET_EXPORTS) \
34267 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34268 for flag in $(EXTRA_TARGET_FLAGS); do \
34269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34270 done; \
34271 (cd $(TARGET_SUBDIR)/libmudflap && \
34272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34274 "RANLIB=$${RANLIB}" \
34275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34276 clean) \
34277 || exit 1
34279 @endif target-libmudflap
34281 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34282 maybe-distclean-target-libmudflap:
34283 @if target-libmudflap
34284 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34286 distclean-target-libmudflap:
34287 @: $(MAKE); $(unstage)
34288 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34289 r=`${PWD_COMMAND}`; export r; \
34290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34291 $(NORMAL_TARGET_EXPORTS) \
34292 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34293 for flag in $(EXTRA_TARGET_FLAGS); do \
34294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34295 done; \
34296 (cd $(TARGET_SUBDIR)/libmudflap && \
34297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34299 "RANLIB=$${RANLIB}" \
34300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34301 distclean) \
34302 || exit 1
34304 @endif target-libmudflap
34306 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34307 maybe-maintainer-clean-target-libmudflap:
34308 @if target-libmudflap
34309 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34311 maintainer-clean-target-libmudflap:
34312 @: $(MAKE); $(unstage)
34313 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34314 r=`${PWD_COMMAND}`; export r; \
34315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34316 $(NORMAL_TARGET_EXPORTS) \
34317 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34318 for flag in $(EXTRA_TARGET_FLAGS); do \
34319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34320 done; \
34321 (cd $(TARGET_SUBDIR)/libmudflap && \
34322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34324 "RANLIB=$${RANLIB}" \
34325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34326 maintainer-clean) \
34327 || exit 1
34329 @endif target-libmudflap
34335 .PHONY: configure-target-libssp maybe-configure-target-libssp
34336 maybe-configure-target-libssp:
34337 @if gcc-bootstrap
34338 configure-target-libssp: stage_current
34339 @endif gcc-bootstrap
34340 @if target-libssp
34341 maybe-configure-target-libssp: configure-target-libssp
34342 configure-target-libssp:
34343 @: $(MAKE); $(unstage)
34344 @r=`${PWD_COMMAND}`; export r; \
34345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34346 echo "Checking multilib configuration for libssp..."; \
34347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34349 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34350 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34351 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34352 else \
34353 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34354 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34355 fi; \
34356 else \
34357 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34358 fi; \
34359 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34360 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34361 $(NORMAL_TARGET_EXPORTS) \
34362 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34363 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34364 case $(srcdir) in \
34365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34366 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34368 esac; \
34369 srcdiroption="--srcdir=$${topdir}/libssp"; \
34370 libsrcdir="$$s/libssp"; \
34371 rm -f no-such-file || : ; \
34372 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34373 $(TARGET_CONFIGARGS) $${srcdiroption} \
34374 || exit 1
34375 @endif target-libssp
34381 .PHONY: all-target-libssp maybe-all-target-libssp
34382 maybe-all-target-libssp:
34383 @if gcc-bootstrap
34384 all-target-libssp: stage_current
34385 @endif gcc-bootstrap
34386 @if target-libssp
34387 TARGET-target-libssp=all
34388 maybe-all-target-libssp: all-target-libssp
34389 all-target-libssp: configure-target-libssp
34390 @: $(MAKE); $(unstage)
34391 @r=`${PWD_COMMAND}`; export r; \
34392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34393 $(NORMAL_TARGET_EXPORTS) \
34394 (cd $(TARGET_SUBDIR)/libssp && \
34395 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34396 @endif target-libssp
34402 .PHONY: check-target-libssp maybe-check-target-libssp
34403 maybe-check-target-libssp:
34404 @if target-libssp
34405 maybe-check-target-libssp: check-target-libssp
34407 check-target-libssp:
34408 @: $(MAKE); $(unstage)
34409 @r=`${PWD_COMMAND}`; export r; \
34410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34411 $(NORMAL_TARGET_EXPORTS) \
34412 (cd $(TARGET_SUBDIR)/libssp && \
34413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34415 @endif target-libssp
34417 .PHONY: install-target-libssp maybe-install-target-libssp
34418 maybe-install-target-libssp:
34419 @if target-libssp
34420 maybe-install-target-libssp: install-target-libssp
34422 install-target-libssp: installdirs
34423 @: $(MAKE); $(unstage)
34424 @r=`${PWD_COMMAND}`; export r; \
34425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34426 $(NORMAL_TARGET_EXPORTS) \
34427 (cd $(TARGET_SUBDIR)/libssp && \
34428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34430 @endif target-libssp
34432 # Other targets (info, dvi, pdf, etc.)
34434 .PHONY: maybe-info-target-libssp info-target-libssp
34435 maybe-info-target-libssp:
34436 @if target-libssp
34437 maybe-info-target-libssp: info-target-libssp
34439 info-target-libssp: \
34440 configure-target-libssp
34441 @: $(MAKE); $(unstage)
34442 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34443 r=`${PWD_COMMAND}`; export r; \
34444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34445 $(NORMAL_TARGET_EXPORTS) \
34446 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34447 for flag in $(EXTRA_TARGET_FLAGS); do \
34448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34449 done; \
34450 (cd $(TARGET_SUBDIR)/libssp && \
34451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34453 "RANLIB=$${RANLIB}" \
34454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34455 info) \
34456 || exit 1
34458 @endif target-libssp
34460 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34461 maybe-dvi-target-libssp:
34462 @if target-libssp
34463 maybe-dvi-target-libssp: dvi-target-libssp
34465 dvi-target-libssp: \
34466 configure-target-libssp
34467 @: $(MAKE); $(unstage)
34468 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34469 r=`${PWD_COMMAND}`; export r; \
34470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34471 $(NORMAL_TARGET_EXPORTS) \
34472 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34473 for flag in $(EXTRA_TARGET_FLAGS); do \
34474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34475 done; \
34476 (cd $(TARGET_SUBDIR)/libssp && \
34477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34479 "RANLIB=$${RANLIB}" \
34480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34481 dvi) \
34482 || exit 1
34484 @endif target-libssp
34486 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34487 maybe-pdf-target-libssp:
34488 @if target-libssp
34489 maybe-pdf-target-libssp: pdf-target-libssp
34491 pdf-target-libssp: \
34492 configure-target-libssp
34493 @: $(MAKE); $(unstage)
34494 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34495 r=`${PWD_COMMAND}`; export r; \
34496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34497 $(NORMAL_TARGET_EXPORTS) \
34498 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34499 for flag in $(EXTRA_TARGET_FLAGS); do \
34500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34501 done; \
34502 (cd $(TARGET_SUBDIR)/libssp && \
34503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34505 "RANLIB=$${RANLIB}" \
34506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34507 pdf) \
34508 || exit 1
34510 @endif target-libssp
34512 .PHONY: maybe-html-target-libssp html-target-libssp
34513 maybe-html-target-libssp:
34514 @if target-libssp
34515 maybe-html-target-libssp: html-target-libssp
34517 html-target-libssp: \
34518 configure-target-libssp
34519 @: $(MAKE); $(unstage)
34520 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34521 r=`${PWD_COMMAND}`; export r; \
34522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34523 $(NORMAL_TARGET_EXPORTS) \
34524 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34525 for flag in $(EXTRA_TARGET_FLAGS); do \
34526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34527 done; \
34528 (cd $(TARGET_SUBDIR)/libssp && \
34529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34531 "RANLIB=$${RANLIB}" \
34532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34533 html) \
34534 || exit 1
34536 @endif target-libssp
34538 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34539 maybe-TAGS-target-libssp:
34540 @if target-libssp
34541 maybe-TAGS-target-libssp: TAGS-target-libssp
34543 TAGS-target-libssp: \
34544 configure-target-libssp
34545 @: $(MAKE); $(unstage)
34546 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34547 r=`${PWD_COMMAND}`; export r; \
34548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34549 $(NORMAL_TARGET_EXPORTS) \
34550 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34551 for flag in $(EXTRA_TARGET_FLAGS); do \
34552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34553 done; \
34554 (cd $(TARGET_SUBDIR)/libssp && \
34555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34557 "RANLIB=$${RANLIB}" \
34558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34559 TAGS) \
34560 || exit 1
34562 @endif target-libssp
34564 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34565 maybe-install-info-target-libssp:
34566 @if target-libssp
34567 maybe-install-info-target-libssp: install-info-target-libssp
34569 install-info-target-libssp: \
34570 configure-target-libssp \
34571 info-target-libssp
34572 @: $(MAKE); $(unstage)
34573 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34574 r=`${PWD_COMMAND}`; export r; \
34575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34576 $(NORMAL_TARGET_EXPORTS) \
34577 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34578 for flag in $(EXTRA_TARGET_FLAGS); do \
34579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34580 done; \
34581 (cd $(TARGET_SUBDIR)/libssp && \
34582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34584 "RANLIB=$${RANLIB}" \
34585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34586 install-info) \
34587 || exit 1
34589 @endif target-libssp
34591 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34592 maybe-install-html-target-libssp:
34593 @if target-libssp
34594 maybe-install-html-target-libssp: install-html-target-libssp
34596 install-html-target-libssp: \
34597 configure-target-libssp \
34598 html-target-libssp
34599 @: $(MAKE); $(unstage)
34600 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(NORMAL_TARGET_EXPORTS) \
34604 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34605 for flag in $(EXTRA_TARGET_FLAGS); do \
34606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34607 done; \
34608 (cd $(TARGET_SUBDIR)/libssp && \
34609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34611 "RANLIB=$${RANLIB}" \
34612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34613 install-html) \
34614 || exit 1
34616 @endif target-libssp
34618 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34619 maybe-installcheck-target-libssp:
34620 @if target-libssp
34621 maybe-installcheck-target-libssp: installcheck-target-libssp
34623 installcheck-target-libssp: \
34624 configure-target-libssp
34625 @: $(MAKE); $(unstage)
34626 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34627 r=`${PWD_COMMAND}`; export r; \
34628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34629 $(NORMAL_TARGET_EXPORTS) \
34630 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34631 for flag in $(EXTRA_TARGET_FLAGS); do \
34632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34633 done; \
34634 (cd $(TARGET_SUBDIR)/libssp && \
34635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34637 "RANLIB=$${RANLIB}" \
34638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34639 installcheck) \
34640 || exit 1
34642 @endif target-libssp
34644 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34645 maybe-mostlyclean-target-libssp:
34646 @if target-libssp
34647 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34649 mostlyclean-target-libssp:
34650 @: $(MAKE); $(unstage)
34651 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34652 r=`${PWD_COMMAND}`; export r; \
34653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34654 $(NORMAL_TARGET_EXPORTS) \
34655 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34656 for flag in $(EXTRA_TARGET_FLAGS); do \
34657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34658 done; \
34659 (cd $(TARGET_SUBDIR)/libssp && \
34660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34662 "RANLIB=$${RANLIB}" \
34663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34664 mostlyclean) \
34665 || exit 1
34667 @endif target-libssp
34669 .PHONY: maybe-clean-target-libssp clean-target-libssp
34670 maybe-clean-target-libssp:
34671 @if target-libssp
34672 maybe-clean-target-libssp: clean-target-libssp
34674 clean-target-libssp:
34675 @: $(MAKE); $(unstage)
34676 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34677 r=`${PWD_COMMAND}`; export r; \
34678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34679 $(NORMAL_TARGET_EXPORTS) \
34680 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34681 for flag in $(EXTRA_TARGET_FLAGS); do \
34682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34683 done; \
34684 (cd $(TARGET_SUBDIR)/libssp && \
34685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34687 "RANLIB=$${RANLIB}" \
34688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34689 clean) \
34690 || exit 1
34692 @endif target-libssp
34694 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34695 maybe-distclean-target-libssp:
34696 @if target-libssp
34697 maybe-distclean-target-libssp: distclean-target-libssp
34699 distclean-target-libssp:
34700 @: $(MAKE); $(unstage)
34701 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34702 r=`${PWD_COMMAND}`; export r; \
34703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34704 $(NORMAL_TARGET_EXPORTS) \
34705 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34706 for flag in $(EXTRA_TARGET_FLAGS); do \
34707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34708 done; \
34709 (cd $(TARGET_SUBDIR)/libssp && \
34710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34712 "RANLIB=$${RANLIB}" \
34713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34714 distclean) \
34715 || exit 1
34717 @endif target-libssp
34719 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34720 maybe-maintainer-clean-target-libssp:
34721 @if target-libssp
34722 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34724 maintainer-clean-target-libssp:
34725 @: $(MAKE); $(unstage)
34726 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34727 r=`${PWD_COMMAND}`; export r; \
34728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34729 $(NORMAL_TARGET_EXPORTS) \
34730 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34731 for flag in $(EXTRA_TARGET_FLAGS); do \
34732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34733 done; \
34734 (cd $(TARGET_SUBDIR)/libssp && \
34735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34737 "RANLIB=$${RANLIB}" \
34738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34739 maintainer-clean) \
34740 || exit 1
34742 @endif target-libssp
34748 .PHONY: configure-target-newlib maybe-configure-target-newlib
34749 maybe-configure-target-newlib:
34750 @if gcc-bootstrap
34751 configure-target-newlib: stage_current
34752 @endif gcc-bootstrap
34753 @if target-newlib
34754 maybe-configure-target-newlib: configure-target-newlib
34755 configure-target-newlib:
34756 @: $(MAKE); $(unstage)
34757 @r=`${PWD_COMMAND}`; export r; \
34758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34759 echo "Checking multilib configuration for newlib..."; \
34760 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34762 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34763 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34764 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34765 else \
34766 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34767 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34768 fi; \
34769 else \
34770 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34771 fi; \
34772 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34773 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34774 $(NORMAL_TARGET_EXPORTS) \
34775 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34776 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34777 case $(srcdir) in \
34778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34779 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34781 esac; \
34782 srcdiroption="--srcdir=$${topdir}/newlib"; \
34783 libsrcdir="$$s/newlib"; \
34784 rm -f no-such-file || : ; \
34785 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34786 $(TARGET_CONFIGARGS) $${srcdiroption} \
34787 || exit 1
34788 @endif target-newlib
34794 .PHONY: all-target-newlib maybe-all-target-newlib
34795 maybe-all-target-newlib:
34796 @if gcc-bootstrap
34797 all-target-newlib: stage_current
34798 @endif gcc-bootstrap
34799 @if target-newlib
34800 TARGET-target-newlib=all
34801 maybe-all-target-newlib: all-target-newlib
34802 all-target-newlib: configure-target-newlib
34803 @: $(MAKE); $(unstage)
34804 @r=`${PWD_COMMAND}`; export r; \
34805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34806 $(NORMAL_TARGET_EXPORTS) \
34807 (cd $(TARGET_SUBDIR)/newlib && \
34808 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34809 @endif target-newlib
34815 .PHONY: check-target-newlib maybe-check-target-newlib
34816 maybe-check-target-newlib:
34817 @if target-newlib
34818 maybe-check-target-newlib: check-target-newlib
34820 check-target-newlib:
34821 @: $(MAKE); $(unstage)
34822 @r=`${PWD_COMMAND}`; export r; \
34823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34824 $(NORMAL_TARGET_EXPORTS) \
34825 (cd $(TARGET_SUBDIR)/newlib && \
34826 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34828 @endif target-newlib
34830 .PHONY: install-target-newlib maybe-install-target-newlib
34831 maybe-install-target-newlib:
34832 @if target-newlib
34833 maybe-install-target-newlib: install-target-newlib
34835 install-target-newlib: installdirs
34836 @: $(MAKE); $(unstage)
34837 @r=`${PWD_COMMAND}`; export r; \
34838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34839 $(NORMAL_TARGET_EXPORTS) \
34840 (cd $(TARGET_SUBDIR)/newlib && \
34841 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34843 @endif target-newlib
34845 # Other targets (info, dvi, pdf, etc.)
34847 .PHONY: maybe-info-target-newlib info-target-newlib
34848 maybe-info-target-newlib:
34849 @if target-newlib
34850 maybe-info-target-newlib: info-target-newlib
34852 info-target-newlib: \
34853 configure-target-newlib
34854 @: $(MAKE); $(unstage)
34855 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34856 r=`${PWD_COMMAND}`; export r; \
34857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34858 $(NORMAL_TARGET_EXPORTS) \
34859 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34860 for flag in $(EXTRA_TARGET_FLAGS); do \
34861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34862 done; \
34863 (cd $(TARGET_SUBDIR)/newlib && \
34864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34866 "RANLIB=$${RANLIB}" \
34867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34868 info) \
34869 || exit 1
34871 @endif target-newlib
34873 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34874 maybe-dvi-target-newlib:
34875 @if target-newlib
34876 maybe-dvi-target-newlib: dvi-target-newlib
34878 dvi-target-newlib: \
34879 configure-target-newlib
34880 @: $(MAKE); $(unstage)
34881 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34882 r=`${PWD_COMMAND}`; export r; \
34883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34884 $(NORMAL_TARGET_EXPORTS) \
34885 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34886 for flag in $(EXTRA_TARGET_FLAGS); do \
34887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34888 done; \
34889 (cd $(TARGET_SUBDIR)/newlib && \
34890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34892 "RANLIB=$${RANLIB}" \
34893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34894 dvi) \
34895 || exit 1
34897 @endif target-newlib
34899 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34900 maybe-pdf-target-newlib:
34901 @if target-newlib
34902 maybe-pdf-target-newlib: pdf-target-newlib
34904 pdf-target-newlib: \
34905 configure-target-newlib
34906 @: $(MAKE); $(unstage)
34907 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34908 r=`${PWD_COMMAND}`; export r; \
34909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34910 $(NORMAL_TARGET_EXPORTS) \
34911 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34912 for flag in $(EXTRA_TARGET_FLAGS); do \
34913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34914 done; \
34915 (cd $(TARGET_SUBDIR)/newlib && \
34916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34918 "RANLIB=$${RANLIB}" \
34919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34920 pdf) \
34921 || exit 1
34923 @endif target-newlib
34925 .PHONY: maybe-html-target-newlib html-target-newlib
34926 maybe-html-target-newlib:
34927 @if target-newlib
34928 maybe-html-target-newlib: html-target-newlib
34930 html-target-newlib: \
34931 configure-target-newlib
34932 @: $(MAKE); $(unstage)
34933 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34934 r=`${PWD_COMMAND}`; export r; \
34935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34936 $(NORMAL_TARGET_EXPORTS) \
34937 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34938 for flag in $(EXTRA_TARGET_FLAGS); do \
34939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34940 done; \
34941 (cd $(TARGET_SUBDIR)/newlib && \
34942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34944 "RANLIB=$${RANLIB}" \
34945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34946 html) \
34947 || exit 1
34949 @endif target-newlib
34951 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34952 maybe-TAGS-target-newlib:
34953 @if target-newlib
34954 maybe-TAGS-target-newlib: TAGS-target-newlib
34956 TAGS-target-newlib: \
34957 configure-target-newlib
34958 @: $(MAKE); $(unstage)
34959 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34960 r=`${PWD_COMMAND}`; export r; \
34961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34962 $(NORMAL_TARGET_EXPORTS) \
34963 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34964 for flag in $(EXTRA_TARGET_FLAGS); do \
34965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34966 done; \
34967 (cd $(TARGET_SUBDIR)/newlib && \
34968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34970 "RANLIB=$${RANLIB}" \
34971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34972 TAGS) \
34973 || exit 1
34975 @endif target-newlib
34977 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34978 maybe-install-info-target-newlib:
34979 @if target-newlib
34980 maybe-install-info-target-newlib: install-info-target-newlib
34982 install-info-target-newlib: \
34983 configure-target-newlib \
34984 info-target-newlib
34985 @: $(MAKE); $(unstage)
34986 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34987 r=`${PWD_COMMAND}`; export r; \
34988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34989 $(NORMAL_TARGET_EXPORTS) \
34990 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34991 for flag in $(EXTRA_TARGET_FLAGS); do \
34992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34993 done; \
34994 (cd $(TARGET_SUBDIR)/newlib && \
34995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34997 "RANLIB=$${RANLIB}" \
34998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34999 install-info) \
35000 || exit 1
35002 @endif target-newlib
35004 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
35005 maybe-install-html-target-newlib:
35006 @if target-newlib
35007 maybe-install-html-target-newlib: install-html-target-newlib
35009 install-html-target-newlib: \
35010 configure-target-newlib \
35011 html-target-newlib
35012 @: $(MAKE); $(unstage)
35013 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35014 r=`${PWD_COMMAND}`; export r; \
35015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35016 $(NORMAL_TARGET_EXPORTS) \
35017 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
35018 for flag in $(EXTRA_TARGET_FLAGS); do \
35019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35020 done; \
35021 (cd $(TARGET_SUBDIR)/newlib && \
35022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35024 "RANLIB=$${RANLIB}" \
35025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35026 install-html) \
35027 || exit 1
35029 @endif target-newlib
35031 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
35032 maybe-installcheck-target-newlib:
35033 @if target-newlib
35034 maybe-installcheck-target-newlib: installcheck-target-newlib
35036 installcheck-target-newlib: \
35037 configure-target-newlib
35038 @: $(MAKE); $(unstage)
35039 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35040 r=`${PWD_COMMAND}`; export r; \
35041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35042 $(NORMAL_TARGET_EXPORTS) \
35043 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
35044 for flag in $(EXTRA_TARGET_FLAGS); do \
35045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35046 done; \
35047 (cd $(TARGET_SUBDIR)/newlib && \
35048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35050 "RANLIB=$${RANLIB}" \
35051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35052 installcheck) \
35053 || exit 1
35055 @endif target-newlib
35057 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
35058 maybe-mostlyclean-target-newlib:
35059 @if target-newlib
35060 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
35062 mostlyclean-target-newlib:
35063 @: $(MAKE); $(unstage)
35064 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35065 r=`${PWD_COMMAND}`; export r; \
35066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35067 $(NORMAL_TARGET_EXPORTS) \
35068 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
35069 for flag in $(EXTRA_TARGET_FLAGS); do \
35070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35071 done; \
35072 (cd $(TARGET_SUBDIR)/newlib && \
35073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35075 "RANLIB=$${RANLIB}" \
35076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35077 mostlyclean) \
35078 || exit 1
35080 @endif target-newlib
35082 .PHONY: maybe-clean-target-newlib clean-target-newlib
35083 maybe-clean-target-newlib:
35084 @if target-newlib
35085 maybe-clean-target-newlib: clean-target-newlib
35087 clean-target-newlib:
35088 @: $(MAKE); $(unstage)
35089 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35090 r=`${PWD_COMMAND}`; export r; \
35091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35092 $(NORMAL_TARGET_EXPORTS) \
35093 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35094 for flag in $(EXTRA_TARGET_FLAGS); do \
35095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35096 done; \
35097 (cd $(TARGET_SUBDIR)/newlib && \
35098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35100 "RANLIB=$${RANLIB}" \
35101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35102 clean) \
35103 || exit 1
35105 @endif target-newlib
35107 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35108 maybe-distclean-target-newlib:
35109 @if target-newlib
35110 maybe-distclean-target-newlib: distclean-target-newlib
35112 distclean-target-newlib:
35113 @: $(MAKE); $(unstage)
35114 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35115 r=`${PWD_COMMAND}`; export r; \
35116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35117 $(NORMAL_TARGET_EXPORTS) \
35118 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35119 for flag in $(EXTRA_TARGET_FLAGS); do \
35120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35121 done; \
35122 (cd $(TARGET_SUBDIR)/newlib && \
35123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35125 "RANLIB=$${RANLIB}" \
35126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35127 distclean) \
35128 || exit 1
35130 @endif target-newlib
35132 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35133 maybe-maintainer-clean-target-newlib:
35134 @if target-newlib
35135 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35137 maintainer-clean-target-newlib:
35138 @: $(MAKE); $(unstage)
35139 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35140 r=`${PWD_COMMAND}`; export r; \
35141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35142 $(NORMAL_TARGET_EXPORTS) \
35143 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35144 for flag in $(EXTRA_TARGET_FLAGS); do \
35145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35146 done; \
35147 (cd $(TARGET_SUBDIR)/newlib && \
35148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35150 "RANLIB=$${RANLIB}" \
35151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35152 maintainer-clean) \
35153 || exit 1
35155 @endif target-newlib
35161 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35162 maybe-configure-target-libgfortran:
35163 @if gcc-bootstrap
35164 configure-target-libgfortran: stage_current
35165 @endif gcc-bootstrap
35166 @if target-libgfortran
35167 maybe-configure-target-libgfortran: configure-target-libgfortran
35168 configure-target-libgfortran:
35169 @: $(MAKE); $(unstage)
35170 @r=`${PWD_COMMAND}`; export r; \
35171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35172 echo "Checking multilib configuration for libgfortran..."; \
35173 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35174 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35175 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35176 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35177 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35178 else \
35179 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35180 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35181 fi; \
35182 else \
35183 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35184 fi; \
35185 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35187 $(NORMAL_TARGET_EXPORTS) \
35188 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35189 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35190 case $(srcdir) in \
35191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35192 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35194 esac; \
35195 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35196 libsrcdir="$$s/libgfortran"; \
35197 rm -f no-such-file || : ; \
35198 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35199 $(TARGET_CONFIGARGS) $${srcdiroption} \
35200 || exit 1
35201 @endif target-libgfortran
35207 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35208 maybe-all-target-libgfortran:
35209 @if gcc-bootstrap
35210 all-target-libgfortran: stage_current
35211 @endif gcc-bootstrap
35212 @if target-libgfortran
35213 TARGET-target-libgfortran=all
35214 maybe-all-target-libgfortran: all-target-libgfortran
35215 all-target-libgfortran: configure-target-libgfortran
35216 @: $(MAKE); $(unstage)
35217 @r=`${PWD_COMMAND}`; export r; \
35218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35219 $(NORMAL_TARGET_EXPORTS) \
35220 (cd $(TARGET_SUBDIR)/libgfortran && \
35221 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
35222 @endif target-libgfortran
35228 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35229 maybe-check-target-libgfortran:
35230 @if target-libgfortran
35231 maybe-check-target-libgfortran: check-target-libgfortran
35233 check-target-libgfortran:
35234 @: $(MAKE); $(unstage)
35235 @r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 $(NORMAL_TARGET_EXPORTS) \
35238 (cd $(TARGET_SUBDIR)/libgfortran && \
35239 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35241 @endif target-libgfortran
35243 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35244 maybe-install-target-libgfortran:
35245 @if target-libgfortran
35246 maybe-install-target-libgfortran: install-target-libgfortran
35248 install-target-libgfortran: installdirs
35249 @: $(MAKE); $(unstage)
35250 @r=`${PWD_COMMAND}`; export r; \
35251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35252 $(NORMAL_TARGET_EXPORTS) \
35253 (cd $(TARGET_SUBDIR)/libgfortran && \
35254 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35256 @endif target-libgfortran
35258 # Other targets (info, dvi, pdf, etc.)
35260 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35261 maybe-info-target-libgfortran:
35262 @if target-libgfortran
35263 maybe-info-target-libgfortran: info-target-libgfortran
35265 info-target-libgfortran: \
35266 configure-target-libgfortran
35267 @: $(MAKE); $(unstage)
35268 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35269 r=`${PWD_COMMAND}`; export r; \
35270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35271 $(NORMAL_TARGET_EXPORTS) \
35272 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35273 for flag in $(EXTRA_TARGET_FLAGS); do \
35274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35275 done; \
35276 (cd $(TARGET_SUBDIR)/libgfortran && \
35277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35279 "RANLIB=$${RANLIB}" \
35280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35281 info) \
35282 || exit 1
35284 @endif target-libgfortran
35286 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35287 maybe-dvi-target-libgfortran:
35288 @if target-libgfortran
35289 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35291 dvi-target-libgfortran: \
35292 configure-target-libgfortran
35293 @: $(MAKE); $(unstage)
35294 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35295 r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(NORMAL_TARGET_EXPORTS) \
35298 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35299 for flag in $(EXTRA_TARGET_FLAGS); do \
35300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35301 done; \
35302 (cd $(TARGET_SUBDIR)/libgfortran && \
35303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35305 "RANLIB=$${RANLIB}" \
35306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35307 dvi) \
35308 || exit 1
35310 @endif target-libgfortran
35312 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35313 maybe-pdf-target-libgfortran:
35314 @if target-libgfortran
35315 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35317 pdf-target-libgfortran: \
35318 configure-target-libgfortran
35319 @: $(MAKE); $(unstage)
35320 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35321 r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35325 for flag in $(EXTRA_TARGET_FLAGS); do \
35326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35327 done; \
35328 (cd $(TARGET_SUBDIR)/libgfortran && \
35329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35331 "RANLIB=$${RANLIB}" \
35332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35333 pdf) \
35334 || exit 1
35336 @endif target-libgfortran
35338 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35339 maybe-html-target-libgfortran:
35340 @if target-libgfortran
35341 maybe-html-target-libgfortran: html-target-libgfortran
35343 html-target-libgfortran: \
35344 configure-target-libgfortran
35345 @: $(MAKE); $(unstage)
35346 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35347 r=`${PWD_COMMAND}`; export r; \
35348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35349 $(NORMAL_TARGET_EXPORTS) \
35350 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35351 for flag in $(EXTRA_TARGET_FLAGS); do \
35352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35353 done; \
35354 (cd $(TARGET_SUBDIR)/libgfortran && \
35355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35357 "RANLIB=$${RANLIB}" \
35358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35359 html) \
35360 || exit 1
35362 @endif target-libgfortran
35364 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35365 maybe-TAGS-target-libgfortran:
35366 @if target-libgfortran
35367 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35369 TAGS-target-libgfortran: \
35370 configure-target-libgfortran
35371 @: $(MAKE); $(unstage)
35372 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35373 r=`${PWD_COMMAND}`; export r; \
35374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35375 $(NORMAL_TARGET_EXPORTS) \
35376 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35377 for flag in $(EXTRA_TARGET_FLAGS); do \
35378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35379 done; \
35380 (cd $(TARGET_SUBDIR)/libgfortran && \
35381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35383 "RANLIB=$${RANLIB}" \
35384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35385 TAGS) \
35386 || exit 1
35388 @endif target-libgfortran
35390 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35391 maybe-install-info-target-libgfortran:
35392 @if target-libgfortran
35393 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35395 install-info-target-libgfortran: \
35396 configure-target-libgfortran \
35397 info-target-libgfortran
35398 @: $(MAKE); $(unstage)
35399 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35400 r=`${PWD_COMMAND}`; export r; \
35401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35402 $(NORMAL_TARGET_EXPORTS) \
35403 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35404 for flag in $(EXTRA_TARGET_FLAGS); do \
35405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35406 done; \
35407 (cd $(TARGET_SUBDIR)/libgfortran && \
35408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35410 "RANLIB=$${RANLIB}" \
35411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35412 install-info) \
35413 || exit 1
35415 @endif target-libgfortran
35417 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35418 maybe-install-html-target-libgfortran:
35419 @if target-libgfortran
35420 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35422 install-html-target-libgfortran: \
35423 configure-target-libgfortran \
35424 html-target-libgfortran
35425 @: $(MAKE); $(unstage)
35426 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35427 r=`${PWD_COMMAND}`; export r; \
35428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35429 $(NORMAL_TARGET_EXPORTS) \
35430 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35431 for flag in $(EXTRA_TARGET_FLAGS); do \
35432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35433 done; \
35434 (cd $(TARGET_SUBDIR)/libgfortran && \
35435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35437 "RANLIB=$${RANLIB}" \
35438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35439 install-html) \
35440 || exit 1
35442 @endif target-libgfortran
35444 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35445 maybe-installcheck-target-libgfortran:
35446 @if target-libgfortran
35447 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35449 installcheck-target-libgfortran: \
35450 configure-target-libgfortran
35451 @: $(MAKE); $(unstage)
35452 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35453 r=`${PWD_COMMAND}`; export r; \
35454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35455 $(NORMAL_TARGET_EXPORTS) \
35456 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35457 for flag in $(EXTRA_TARGET_FLAGS); do \
35458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35459 done; \
35460 (cd $(TARGET_SUBDIR)/libgfortran && \
35461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35463 "RANLIB=$${RANLIB}" \
35464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35465 installcheck) \
35466 || exit 1
35468 @endif target-libgfortran
35470 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35471 maybe-mostlyclean-target-libgfortran:
35472 @if target-libgfortran
35473 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35475 mostlyclean-target-libgfortran:
35476 @: $(MAKE); $(unstage)
35477 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35478 r=`${PWD_COMMAND}`; export r; \
35479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35480 $(NORMAL_TARGET_EXPORTS) \
35481 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35482 for flag in $(EXTRA_TARGET_FLAGS); do \
35483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35484 done; \
35485 (cd $(TARGET_SUBDIR)/libgfortran && \
35486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35488 "RANLIB=$${RANLIB}" \
35489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35490 mostlyclean) \
35491 || exit 1
35493 @endif target-libgfortran
35495 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35496 maybe-clean-target-libgfortran:
35497 @if target-libgfortran
35498 maybe-clean-target-libgfortran: clean-target-libgfortran
35500 clean-target-libgfortran:
35501 @: $(MAKE); $(unstage)
35502 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35503 r=`${PWD_COMMAND}`; export r; \
35504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35505 $(NORMAL_TARGET_EXPORTS) \
35506 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35507 for flag in $(EXTRA_TARGET_FLAGS); do \
35508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35509 done; \
35510 (cd $(TARGET_SUBDIR)/libgfortran && \
35511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35513 "RANLIB=$${RANLIB}" \
35514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35515 clean) \
35516 || exit 1
35518 @endif target-libgfortran
35520 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35521 maybe-distclean-target-libgfortran:
35522 @if target-libgfortran
35523 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35525 distclean-target-libgfortran:
35526 @: $(MAKE); $(unstage)
35527 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35528 r=`${PWD_COMMAND}`; export r; \
35529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35530 $(NORMAL_TARGET_EXPORTS) \
35531 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35532 for flag in $(EXTRA_TARGET_FLAGS); do \
35533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35534 done; \
35535 (cd $(TARGET_SUBDIR)/libgfortran && \
35536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35538 "RANLIB=$${RANLIB}" \
35539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35540 distclean) \
35541 || exit 1
35543 @endif target-libgfortran
35545 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35546 maybe-maintainer-clean-target-libgfortran:
35547 @if target-libgfortran
35548 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35550 maintainer-clean-target-libgfortran:
35551 @: $(MAKE); $(unstage)
35552 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35553 r=`${PWD_COMMAND}`; export r; \
35554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35555 $(NORMAL_TARGET_EXPORTS) \
35556 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35557 for flag in $(EXTRA_TARGET_FLAGS); do \
35558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35559 done; \
35560 (cd $(TARGET_SUBDIR)/libgfortran && \
35561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35563 "RANLIB=$${RANLIB}" \
35564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35565 maintainer-clean) \
35566 || exit 1
35568 @endif target-libgfortran
35574 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35575 maybe-configure-target-libobjc:
35576 @if gcc-bootstrap
35577 configure-target-libobjc: stage_current
35578 @endif gcc-bootstrap
35579 @if target-libobjc
35580 maybe-configure-target-libobjc: configure-target-libobjc
35581 configure-target-libobjc:
35582 @: $(MAKE); $(unstage)
35583 @r=`${PWD_COMMAND}`; export r; \
35584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35585 echo "Checking multilib configuration for libobjc..."; \
35586 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35587 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35588 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35589 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35590 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35591 else \
35592 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35593 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35594 fi; \
35595 else \
35596 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35597 fi; \
35598 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35600 $(NORMAL_TARGET_EXPORTS) \
35601 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35602 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35603 case $(srcdir) in \
35604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35605 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35607 esac; \
35608 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35609 libsrcdir="$$s/libobjc"; \
35610 rm -f no-such-file || : ; \
35611 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35612 $(TARGET_CONFIGARGS) $${srcdiroption} \
35613 || exit 1
35614 @endif target-libobjc
35620 .PHONY: all-target-libobjc maybe-all-target-libobjc
35621 maybe-all-target-libobjc:
35622 @if gcc-bootstrap
35623 all-target-libobjc: stage_current
35624 @endif gcc-bootstrap
35625 @if target-libobjc
35626 TARGET-target-libobjc=all
35627 maybe-all-target-libobjc: all-target-libobjc
35628 all-target-libobjc: configure-target-libobjc
35629 @: $(MAKE); $(unstage)
35630 @r=`${PWD_COMMAND}`; export r; \
35631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35632 $(NORMAL_TARGET_EXPORTS) \
35633 (cd $(TARGET_SUBDIR)/libobjc && \
35634 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
35635 @endif target-libobjc
35641 .PHONY: check-target-libobjc maybe-check-target-libobjc
35642 maybe-check-target-libobjc:
35643 @if target-libobjc
35644 maybe-check-target-libobjc: check-target-libobjc
35646 check-target-libobjc:
35647 @: $(MAKE); $(unstage)
35648 @r=`${PWD_COMMAND}`; export r; \
35649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35650 $(NORMAL_TARGET_EXPORTS) \
35651 (cd $(TARGET_SUBDIR)/libobjc && \
35652 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35654 @endif target-libobjc
35656 .PHONY: install-target-libobjc maybe-install-target-libobjc
35657 maybe-install-target-libobjc:
35658 @if target-libobjc
35659 maybe-install-target-libobjc: install-target-libobjc
35661 install-target-libobjc: installdirs
35662 @: $(MAKE); $(unstage)
35663 @r=`${PWD_COMMAND}`; export r; \
35664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35665 $(NORMAL_TARGET_EXPORTS) \
35666 (cd $(TARGET_SUBDIR)/libobjc && \
35667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35669 @endif target-libobjc
35671 # Other targets (info, dvi, pdf, etc.)
35673 .PHONY: maybe-info-target-libobjc info-target-libobjc
35674 maybe-info-target-libobjc:
35675 @if target-libobjc
35676 maybe-info-target-libobjc: info-target-libobjc
35678 info-target-libobjc: \
35679 configure-target-libobjc
35680 @: $(MAKE); $(unstage)
35681 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35682 r=`${PWD_COMMAND}`; export r; \
35683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35684 $(NORMAL_TARGET_EXPORTS) \
35685 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35686 for flag in $(EXTRA_TARGET_FLAGS); do \
35687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35688 done; \
35689 (cd $(TARGET_SUBDIR)/libobjc && \
35690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35692 "RANLIB=$${RANLIB}" \
35693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35694 info) \
35695 || exit 1
35697 @endif target-libobjc
35699 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35700 maybe-dvi-target-libobjc:
35701 @if target-libobjc
35702 maybe-dvi-target-libobjc: dvi-target-libobjc
35704 dvi-target-libobjc: \
35705 configure-target-libobjc
35706 @: $(MAKE); $(unstage)
35707 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35708 r=`${PWD_COMMAND}`; export r; \
35709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35710 $(NORMAL_TARGET_EXPORTS) \
35711 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35712 for flag in $(EXTRA_TARGET_FLAGS); do \
35713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35714 done; \
35715 (cd $(TARGET_SUBDIR)/libobjc && \
35716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35718 "RANLIB=$${RANLIB}" \
35719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35720 dvi) \
35721 || exit 1
35723 @endif target-libobjc
35725 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35726 maybe-pdf-target-libobjc:
35727 @if target-libobjc
35728 maybe-pdf-target-libobjc: pdf-target-libobjc
35730 pdf-target-libobjc: \
35731 configure-target-libobjc
35732 @: $(MAKE); $(unstage)
35733 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35734 r=`${PWD_COMMAND}`; export r; \
35735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35736 $(NORMAL_TARGET_EXPORTS) \
35737 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35738 for flag in $(EXTRA_TARGET_FLAGS); do \
35739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35740 done; \
35741 (cd $(TARGET_SUBDIR)/libobjc && \
35742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35744 "RANLIB=$${RANLIB}" \
35745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35746 pdf) \
35747 || exit 1
35749 @endif target-libobjc
35751 .PHONY: maybe-html-target-libobjc html-target-libobjc
35752 maybe-html-target-libobjc:
35753 @if target-libobjc
35754 maybe-html-target-libobjc: html-target-libobjc
35756 html-target-libobjc: \
35757 configure-target-libobjc
35758 @: $(MAKE); $(unstage)
35759 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35760 r=`${PWD_COMMAND}`; export r; \
35761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35762 $(NORMAL_TARGET_EXPORTS) \
35763 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35764 for flag in $(EXTRA_TARGET_FLAGS); do \
35765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35766 done; \
35767 (cd $(TARGET_SUBDIR)/libobjc && \
35768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35770 "RANLIB=$${RANLIB}" \
35771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35772 html) \
35773 || exit 1
35775 @endif target-libobjc
35777 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35778 maybe-TAGS-target-libobjc:
35779 @if target-libobjc
35780 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35782 TAGS-target-libobjc: \
35783 configure-target-libobjc
35784 @: $(MAKE); $(unstage)
35785 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35786 r=`${PWD_COMMAND}`; export r; \
35787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35788 $(NORMAL_TARGET_EXPORTS) \
35789 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35790 for flag in $(EXTRA_TARGET_FLAGS); do \
35791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35792 done; \
35793 (cd $(TARGET_SUBDIR)/libobjc && \
35794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35796 "RANLIB=$${RANLIB}" \
35797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35798 TAGS) \
35799 || exit 1
35801 @endif target-libobjc
35803 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35804 maybe-install-info-target-libobjc:
35805 @if target-libobjc
35806 maybe-install-info-target-libobjc: install-info-target-libobjc
35808 install-info-target-libobjc: \
35809 configure-target-libobjc \
35810 info-target-libobjc
35811 @: $(MAKE); $(unstage)
35812 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35813 r=`${PWD_COMMAND}`; export r; \
35814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35815 $(NORMAL_TARGET_EXPORTS) \
35816 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35817 for flag in $(EXTRA_TARGET_FLAGS); do \
35818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35819 done; \
35820 (cd $(TARGET_SUBDIR)/libobjc && \
35821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35823 "RANLIB=$${RANLIB}" \
35824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35825 install-info) \
35826 || exit 1
35828 @endif target-libobjc
35830 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35831 maybe-install-html-target-libobjc:
35832 @if target-libobjc
35833 maybe-install-html-target-libobjc: install-html-target-libobjc
35835 install-html-target-libobjc: \
35836 configure-target-libobjc \
35837 html-target-libobjc
35838 @: $(MAKE); $(unstage)
35839 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35840 r=`${PWD_COMMAND}`; export r; \
35841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35842 $(NORMAL_TARGET_EXPORTS) \
35843 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35844 for flag in $(EXTRA_TARGET_FLAGS); do \
35845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35846 done; \
35847 (cd $(TARGET_SUBDIR)/libobjc && \
35848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35850 "RANLIB=$${RANLIB}" \
35851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35852 install-html) \
35853 || exit 1
35855 @endif target-libobjc
35857 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35858 maybe-installcheck-target-libobjc:
35859 @if target-libobjc
35860 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35862 installcheck-target-libobjc: \
35863 configure-target-libobjc
35864 @: $(MAKE); $(unstage)
35865 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35866 r=`${PWD_COMMAND}`; export r; \
35867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35868 $(NORMAL_TARGET_EXPORTS) \
35869 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35870 for flag in $(EXTRA_TARGET_FLAGS); do \
35871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35872 done; \
35873 (cd $(TARGET_SUBDIR)/libobjc && \
35874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35876 "RANLIB=$${RANLIB}" \
35877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35878 installcheck) \
35879 || exit 1
35881 @endif target-libobjc
35883 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35884 maybe-mostlyclean-target-libobjc:
35885 @if target-libobjc
35886 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35888 mostlyclean-target-libobjc:
35889 @: $(MAKE); $(unstage)
35890 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35891 r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 $(NORMAL_TARGET_EXPORTS) \
35894 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35895 for flag in $(EXTRA_TARGET_FLAGS); do \
35896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35897 done; \
35898 (cd $(TARGET_SUBDIR)/libobjc && \
35899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35901 "RANLIB=$${RANLIB}" \
35902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35903 mostlyclean) \
35904 || exit 1
35906 @endif target-libobjc
35908 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35909 maybe-clean-target-libobjc:
35910 @if target-libobjc
35911 maybe-clean-target-libobjc: clean-target-libobjc
35913 clean-target-libobjc:
35914 @: $(MAKE); $(unstage)
35915 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35916 r=`${PWD_COMMAND}`; export r; \
35917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35918 $(NORMAL_TARGET_EXPORTS) \
35919 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35920 for flag in $(EXTRA_TARGET_FLAGS); do \
35921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35922 done; \
35923 (cd $(TARGET_SUBDIR)/libobjc && \
35924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35926 "RANLIB=$${RANLIB}" \
35927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35928 clean) \
35929 || exit 1
35931 @endif target-libobjc
35933 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35934 maybe-distclean-target-libobjc:
35935 @if target-libobjc
35936 maybe-distclean-target-libobjc: distclean-target-libobjc
35938 distclean-target-libobjc:
35939 @: $(MAKE); $(unstage)
35940 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35941 r=`${PWD_COMMAND}`; export r; \
35942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35943 $(NORMAL_TARGET_EXPORTS) \
35944 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35945 for flag in $(EXTRA_TARGET_FLAGS); do \
35946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35947 done; \
35948 (cd $(TARGET_SUBDIR)/libobjc && \
35949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35951 "RANLIB=$${RANLIB}" \
35952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35953 distclean) \
35954 || exit 1
35956 @endif target-libobjc
35958 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35959 maybe-maintainer-clean-target-libobjc:
35960 @if target-libobjc
35961 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35963 maintainer-clean-target-libobjc:
35964 @: $(MAKE); $(unstage)
35965 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35966 r=`${PWD_COMMAND}`; export r; \
35967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35968 $(NORMAL_TARGET_EXPORTS) \
35969 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35970 for flag in $(EXTRA_TARGET_FLAGS); do \
35971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35972 done; \
35973 (cd $(TARGET_SUBDIR)/libobjc && \
35974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35976 "RANLIB=$${RANLIB}" \
35977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35978 maintainer-clean) \
35979 || exit 1
35981 @endif target-libobjc
35987 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35988 maybe-configure-target-libtermcap:
35989 @if gcc-bootstrap
35990 configure-target-libtermcap: stage_current
35991 @endif gcc-bootstrap
35992 @if target-libtermcap
35993 maybe-configure-target-libtermcap: configure-target-libtermcap
35994 configure-target-libtermcap:
35995 @: $(MAKE); $(unstage)
35996 @r=`${PWD_COMMAND}`; export r; \
35997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35998 echo "Checking multilib configuration for libtermcap..."; \
35999 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36000 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36001 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36002 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36003 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36004 else \
36005 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36006 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36007 fi; \
36008 else \
36009 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36010 fi; \
36011 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36013 $(NORMAL_TARGET_EXPORTS) \
36014 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36015 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36016 case $(srcdir) in \
36017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36018 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36020 esac; \
36021 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36022 libsrcdir="$$s/libtermcap"; \
36023 rm -f no-such-file || : ; \
36024 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36025 $(TARGET_CONFIGARGS) $${srcdiroption} \
36026 || exit 1
36027 @endif target-libtermcap
36033 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36034 maybe-all-target-libtermcap:
36035 @if gcc-bootstrap
36036 all-target-libtermcap: stage_current
36037 @endif gcc-bootstrap
36038 @if target-libtermcap
36039 TARGET-target-libtermcap=all
36040 maybe-all-target-libtermcap: all-target-libtermcap
36041 all-target-libtermcap: configure-target-libtermcap
36042 @: $(MAKE); $(unstage)
36043 @r=`${PWD_COMMAND}`; export r; \
36044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36045 $(NORMAL_TARGET_EXPORTS) \
36046 (cd $(TARGET_SUBDIR)/libtermcap && \
36047 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
36048 @endif target-libtermcap
36054 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36055 maybe-check-target-libtermcap:
36056 @if target-libtermcap
36057 maybe-check-target-libtermcap: check-target-libtermcap
36059 # Dummy target for uncheckable module.
36060 check-target-libtermcap:
36062 @endif target-libtermcap
36064 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36065 maybe-install-target-libtermcap:
36066 @if target-libtermcap
36067 maybe-install-target-libtermcap: install-target-libtermcap
36069 install-target-libtermcap: installdirs
36070 @: $(MAKE); $(unstage)
36071 @r=`${PWD_COMMAND}`; export r; \
36072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36073 $(NORMAL_TARGET_EXPORTS) \
36074 (cd $(TARGET_SUBDIR)/libtermcap && \
36075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36077 @endif target-libtermcap
36079 # Other targets (info, dvi, pdf, etc.)
36081 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36082 maybe-info-target-libtermcap:
36083 @if target-libtermcap
36084 maybe-info-target-libtermcap: info-target-libtermcap
36086 info-target-libtermcap: \
36087 configure-target-libtermcap
36088 @: $(MAKE); $(unstage)
36089 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36090 r=`${PWD_COMMAND}`; export r; \
36091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36092 $(NORMAL_TARGET_EXPORTS) \
36093 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36094 for flag in $(EXTRA_TARGET_FLAGS); do \
36095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36096 done; \
36097 (cd $(TARGET_SUBDIR)/libtermcap && \
36098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36100 "RANLIB=$${RANLIB}" \
36101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36102 info) \
36103 || exit 1
36105 @endif target-libtermcap
36107 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36108 maybe-dvi-target-libtermcap:
36109 @if target-libtermcap
36110 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36112 dvi-target-libtermcap: \
36113 configure-target-libtermcap
36114 @: $(MAKE); $(unstage)
36115 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36116 r=`${PWD_COMMAND}`; export r; \
36117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36118 $(NORMAL_TARGET_EXPORTS) \
36119 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36120 for flag in $(EXTRA_TARGET_FLAGS); do \
36121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36122 done; \
36123 (cd $(TARGET_SUBDIR)/libtermcap && \
36124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36126 "RANLIB=$${RANLIB}" \
36127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36128 dvi) \
36129 || exit 1
36131 @endif target-libtermcap
36133 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36134 maybe-pdf-target-libtermcap:
36135 @if target-libtermcap
36136 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36138 pdf-target-libtermcap: \
36139 configure-target-libtermcap
36140 @: $(MAKE); $(unstage)
36141 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36142 r=`${PWD_COMMAND}`; export r; \
36143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36144 $(NORMAL_TARGET_EXPORTS) \
36145 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36146 for flag in $(EXTRA_TARGET_FLAGS); do \
36147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36148 done; \
36149 (cd $(TARGET_SUBDIR)/libtermcap && \
36150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36152 "RANLIB=$${RANLIB}" \
36153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36154 pdf) \
36155 || exit 1
36157 @endif target-libtermcap
36159 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36160 maybe-html-target-libtermcap:
36161 @if target-libtermcap
36162 maybe-html-target-libtermcap: html-target-libtermcap
36164 html-target-libtermcap: \
36165 configure-target-libtermcap
36166 @: $(MAKE); $(unstage)
36167 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36168 r=`${PWD_COMMAND}`; export r; \
36169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36170 $(NORMAL_TARGET_EXPORTS) \
36171 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36172 for flag in $(EXTRA_TARGET_FLAGS); do \
36173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36174 done; \
36175 (cd $(TARGET_SUBDIR)/libtermcap && \
36176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36178 "RANLIB=$${RANLIB}" \
36179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36180 html) \
36181 || exit 1
36183 @endif target-libtermcap
36185 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36186 maybe-TAGS-target-libtermcap:
36187 @if target-libtermcap
36188 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36190 TAGS-target-libtermcap: \
36191 configure-target-libtermcap
36192 @: $(MAKE); $(unstage)
36193 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36194 r=`${PWD_COMMAND}`; export r; \
36195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36196 $(NORMAL_TARGET_EXPORTS) \
36197 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36198 for flag in $(EXTRA_TARGET_FLAGS); do \
36199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36200 done; \
36201 (cd $(TARGET_SUBDIR)/libtermcap && \
36202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36204 "RANLIB=$${RANLIB}" \
36205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36206 TAGS) \
36207 || exit 1
36209 @endif target-libtermcap
36211 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36212 maybe-install-info-target-libtermcap:
36213 @if target-libtermcap
36214 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36216 install-info-target-libtermcap: \
36217 configure-target-libtermcap \
36218 info-target-libtermcap
36219 @: $(MAKE); $(unstage)
36220 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36221 r=`${PWD_COMMAND}`; export r; \
36222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36223 $(NORMAL_TARGET_EXPORTS) \
36224 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36225 for flag in $(EXTRA_TARGET_FLAGS); do \
36226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36227 done; \
36228 (cd $(TARGET_SUBDIR)/libtermcap && \
36229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36231 "RANLIB=$${RANLIB}" \
36232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36233 install-info) \
36234 || exit 1
36236 @endif target-libtermcap
36238 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36239 maybe-install-html-target-libtermcap:
36240 @if target-libtermcap
36241 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36243 install-html-target-libtermcap: \
36244 configure-target-libtermcap \
36245 html-target-libtermcap
36246 @: $(MAKE); $(unstage)
36247 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36248 r=`${PWD_COMMAND}`; export r; \
36249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36250 $(NORMAL_TARGET_EXPORTS) \
36251 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36252 for flag in $(EXTRA_TARGET_FLAGS); do \
36253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36254 done; \
36255 (cd $(TARGET_SUBDIR)/libtermcap && \
36256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36258 "RANLIB=$${RANLIB}" \
36259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36260 install-html) \
36261 || exit 1
36263 @endif target-libtermcap
36265 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36266 maybe-installcheck-target-libtermcap:
36267 @if target-libtermcap
36268 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36270 installcheck-target-libtermcap: \
36271 configure-target-libtermcap
36272 @: $(MAKE); $(unstage)
36273 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36274 r=`${PWD_COMMAND}`; export r; \
36275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36276 $(NORMAL_TARGET_EXPORTS) \
36277 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36278 for flag in $(EXTRA_TARGET_FLAGS); do \
36279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36280 done; \
36281 (cd $(TARGET_SUBDIR)/libtermcap && \
36282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36284 "RANLIB=$${RANLIB}" \
36285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36286 installcheck) \
36287 || exit 1
36289 @endif target-libtermcap
36291 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36292 maybe-mostlyclean-target-libtermcap:
36293 @if target-libtermcap
36294 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36296 # libtermcap doesn't support mostlyclean.
36297 mostlyclean-target-libtermcap:
36299 @endif target-libtermcap
36301 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36302 maybe-clean-target-libtermcap:
36303 @if target-libtermcap
36304 maybe-clean-target-libtermcap: clean-target-libtermcap
36306 # libtermcap doesn't support clean.
36307 clean-target-libtermcap:
36309 @endif target-libtermcap
36311 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36312 maybe-distclean-target-libtermcap:
36313 @if target-libtermcap
36314 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36316 # libtermcap doesn't support distclean.
36317 distclean-target-libtermcap:
36319 @endif target-libtermcap
36321 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36322 maybe-maintainer-clean-target-libtermcap:
36323 @if target-libtermcap
36324 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36326 # libtermcap doesn't support maintainer-clean.
36327 maintainer-clean-target-libtermcap:
36329 @endif target-libtermcap
36335 .PHONY: configure-target-winsup maybe-configure-target-winsup
36336 maybe-configure-target-winsup:
36337 @if gcc-bootstrap
36338 configure-target-winsup: stage_current
36339 @endif gcc-bootstrap
36340 @if target-winsup
36341 maybe-configure-target-winsup: configure-target-winsup
36342 configure-target-winsup:
36343 @: $(MAKE); $(unstage)
36344 @r=`${PWD_COMMAND}`; export r; \
36345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36346 echo "Checking multilib configuration for winsup..."; \
36347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36349 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36350 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36351 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36352 else \
36353 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36354 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36355 fi; \
36356 else \
36357 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36358 fi; \
36359 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36360 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36361 $(NORMAL_TARGET_EXPORTS) \
36362 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36363 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36364 case $(srcdir) in \
36365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36366 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36368 esac; \
36369 srcdiroption="--srcdir=$${topdir}/winsup"; \
36370 libsrcdir="$$s/winsup"; \
36371 rm -f no-such-file || : ; \
36372 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36373 $(TARGET_CONFIGARGS) $${srcdiroption} \
36374 || exit 1
36375 @endif target-winsup
36381 .PHONY: all-target-winsup maybe-all-target-winsup
36382 maybe-all-target-winsup:
36383 @if gcc-bootstrap
36384 all-target-winsup: stage_current
36385 @endif gcc-bootstrap
36386 @if target-winsup
36387 TARGET-target-winsup=all
36388 maybe-all-target-winsup: all-target-winsup
36389 all-target-winsup: configure-target-winsup
36390 @: $(MAKE); $(unstage)
36391 @r=`${PWD_COMMAND}`; export r; \
36392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36393 $(NORMAL_TARGET_EXPORTS) \
36394 (cd $(TARGET_SUBDIR)/winsup && \
36395 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
36396 @endif target-winsup
36402 .PHONY: check-target-winsup maybe-check-target-winsup
36403 maybe-check-target-winsup:
36404 @if target-winsup
36405 maybe-check-target-winsup: check-target-winsup
36407 check-target-winsup:
36408 @: $(MAKE); $(unstage)
36409 @r=`${PWD_COMMAND}`; export r; \
36410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36411 $(NORMAL_TARGET_EXPORTS) \
36412 (cd $(TARGET_SUBDIR)/winsup && \
36413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36415 @endif target-winsup
36417 .PHONY: install-target-winsup maybe-install-target-winsup
36418 maybe-install-target-winsup:
36419 @if target-winsup
36420 maybe-install-target-winsup: install-target-winsup
36422 install-target-winsup: installdirs
36423 @: $(MAKE); $(unstage)
36424 @r=`${PWD_COMMAND}`; export r; \
36425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36426 $(NORMAL_TARGET_EXPORTS) \
36427 (cd $(TARGET_SUBDIR)/winsup && \
36428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36430 @endif target-winsup
36432 # Other targets (info, dvi, pdf, etc.)
36434 .PHONY: maybe-info-target-winsup info-target-winsup
36435 maybe-info-target-winsup:
36436 @if target-winsup
36437 maybe-info-target-winsup: info-target-winsup
36439 info-target-winsup: \
36440 configure-target-winsup
36441 @: $(MAKE); $(unstage)
36442 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36443 r=`${PWD_COMMAND}`; export r; \
36444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36445 $(NORMAL_TARGET_EXPORTS) \
36446 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36447 for flag in $(EXTRA_TARGET_FLAGS); do \
36448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36449 done; \
36450 (cd $(TARGET_SUBDIR)/winsup && \
36451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36453 "RANLIB=$${RANLIB}" \
36454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36455 info) \
36456 || exit 1
36458 @endif target-winsup
36460 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36461 maybe-dvi-target-winsup:
36462 @if target-winsup
36463 maybe-dvi-target-winsup: dvi-target-winsup
36465 dvi-target-winsup: \
36466 configure-target-winsup
36467 @: $(MAKE); $(unstage)
36468 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36469 r=`${PWD_COMMAND}`; export r; \
36470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36471 $(NORMAL_TARGET_EXPORTS) \
36472 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36473 for flag in $(EXTRA_TARGET_FLAGS); do \
36474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36475 done; \
36476 (cd $(TARGET_SUBDIR)/winsup && \
36477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36479 "RANLIB=$${RANLIB}" \
36480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36481 dvi) \
36482 || exit 1
36484 @endif target-winsup
36486 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36487 maybe-pdf-target-winsup:
36488 @if target-winsup
36489 maybe-pdf-target-winsup: pdf-target-winsup
36491 pdf-target-winsup: \
36492 configure-target-winsup
36493 @: $(MAKE); $(unstage)
36494 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36495 r=`${PWD_COMMAND}`; export r; \
36496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36497 $(NORMAL_TARGET_EXPORTS) \
36498 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36499 for flag in $(EXTRA_TARGET_FLAGS); do \
36500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36501 done; \
36502 (cd $(TARGET_SUBDIR)/winsup && \
36503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36505 "RANLIB=$${RANLIB}" \
36506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36507 pdf) \
36508 || exit 1
36510 @endif target-winsup
36512 .PHONY: maybe-html-target-winsup html-target-winsup
36513 maybe-html-target-winsup:
36514 @if target-winsup
36515 maybe-html-target-winsup: html-target-winsup
36517 html-target-winsup: \
36518 configure-target-winsup
36519 @: $(MAKE); $(unstage)
36520 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36521 r=`${PWD_COMMAND}`; export r; \
36522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36523 $(NORMAL_TARGET_EXPORTS) \
36524 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36525 for flag in $(EXTRA_TARGET_FLAGS); do \
36526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36527 done; \
36528 (cd $(TARGET_SUBDIR)/winsup && \
36529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36531 "RANLIB=$${RANLIB}" \
36532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36533 html) \
36534 || exit 1
36536 @endif target-winsup
36538 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36539 maybe-TAGS-target-winsup:
36540 @if target-winsup
36541 maybe-TAGS-target-winsup: TAGS-target-winsup
36543 TAGS-target-winsup: \
36544 configure-target-winsup
36545 @: $(MAKE); $(unstage)
36546 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36547 r=`${PWD_COMMAND}`; export r; \
36548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36549 $(NORMAL_TARGET_EXPORTS) \
36550 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36551 for flag in $(EXTRA_TARGET_FLAGS); do \
36552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36553 done; \
36554 (cd $(TARGET_SUBDIR)/winsup && \
36555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36557 "RANLIB=$${RANLIB}" \
36558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36559 TAGS) \
36560 || exit 1
36562 @endif target-winsup
36564 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36565 maybe-install-info-target-winsup:
36566 @if target-winsup
36567 maybe-install-info-target-winsup: install-info-target-winsup
36569 install-info-target-winsup: \
36570 configure-target-winsup \
36571 info-target-winsup
36572 @: $(MAKE); $(unstage)
36573 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36574 r=`${PWD_COMMAND}`; export r; \
36575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36576 $(NORMAL_TARGET_EXPORTS) \
36577 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36578 for flag in $(EXTRA_TARGET_FLAGS); do \
36579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36580 done; \
36581 (cd $(TARGET_SUBDIR)/winsup && \
36582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36584 "RANLIB=$${RANLIB}" \
36585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36586 install-info) \
36587 || exit 1
36589 @endif target-winsup
36591 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36592 maybe-install-html-target-winsup:
36593 @if target-winsup
36594 maybe-install-html-target-winsup: install-html-target-winsup
36596 install-html-target-winsup: \
36597 configure-target-winsup \
36598 html-target-winsup
36599 @: $(MAKE); $(unstage)
36600 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36601 r=`${PWD_COMMAND}`; export r; \
36602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36603 $(NORMAL_TARGET_EXPORTS) \
36604 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36605 for flag in $(EXTRA_TARGET_FLAGS); do \
36606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36607 done; \
36608 (cd $(TARGET_SUBDIR)/winsup && \
36609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36611 "RANLIB=$${RANLIB}" \
36612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36613 install-html) \
36614 || exit 1
36616 @endif target-winsup
36618 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36619 maybe-installcheck-target-winsup:
36620 @if target-winsup
36621 maybe-installcheck-target-winsup: installcheck-target-winsup
36623 installcheck-target-winsup: \
36624 configure-target-winsup
36625 @: $(MAKE); $(unstage)
36626 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36627 r=`${PWD_COMMAND}`; export r; \
36628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36629 $(NORMAL_TARGET_EXPORTS) \
36630 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36631 for flag in $(EXTRA_TARGET_FLAGS); do \
36632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36633 done; \
36634 (cd $(TARGET_SUBDIR)/winsup && \
36635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36637 "RANLIB=$${RANLIB}" \
36638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36639 installcheck) \
36640 || exit 1
36642 @endif target-winsup
36644 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36645 maybe-mostlyclean-target-winsup:
36646 @if target-winsup
36647 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36649 mostlyclean-target-winsup:
36650 @: $(MAKE); $(unstage)
36651 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36652 r=`${PWD_COMMAND}`; export r; \
36653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36654 $(NORMAL_TARGET_EXPORTS) \
36655 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36656 for flag in $(EXTRA_TARGET_FLAGS); do \
36657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36658 done; \
36659 (cd $(TARGET_SUBDIR)/winsup && \
36660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36662 "RANLIB=$${RANLIB}" \
36663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36664 mostlyclean) \
36665 || exit 1
36667 @endif target-winsup
36669 .PHONY: maybe-clean-target-winsup clean-target-winsup
36670 maybe-clean-target-winsup:
36671 @if target-winsup
36672 maybe-clean-target-winsup: clean-target-winsup
36674 clean-target-winsup:
36675 @: $(MAKE); $(unstage)
36676 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36677 r=`${PWD_COMMAND}`; export r; \
36678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36679 $(NORMAL_TARGET_EXPORTS) \
36680 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36681 for flag in $(EXTRA_TARGET_FLAGS); do \
36682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36683 done; \
36684 (cd $(TARGET_SUBDIR)/winsup && \
36685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36687 "RANLIB=$${RANLIB}" \
36688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36689 clean) \
36690 || exit 1
36692 @endif target-winsup
36694 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36695 maybe-distclean-target-winsup:
36696 @if target-winsup
36697 maybe-distclean-target-winsup: distclean-target-winsup
36699 distclean-target-winsup:
36700 @: $(MAKE); $(unstage)
36701 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36702 r=`${PWD_COMMAND}`; export r; \
36703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36704 $(NORMAL_TARGET_EXPORTS) \
36705 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36706 for flag in $(EXTRA_TARGET_FLAGS); do \
36707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36708 done; \
36709 (cd $(TARGET_SUBDIR)/winsup && \
36710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36712 "RANLIB=$${RANLIB}" \
36713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36714 distclean) \
36715 || exit 1
36717 @endif target-winsup
36719 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36720 maybe-maintainer-clean-target-winsup:
36721 @if target-winsup
36722 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36724 maintainer-clean-target-winsup:
36725 @: $(MAKE); $(unstage)
36726 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36727 r=`${PWD_COMMAND}`; export r; \
36728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36729 $(NORMAL_TARGET_EXPORTS) \
36730 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36731 for flag in $(EXTRA_TARGET_FLAGS); do \
36732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36733 done; \
36734 (cd $(TARGET_SUBDIR)/winsup && \
36735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36737 "RANLIB=$${RANLIB}" \
36738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36739 maintainer-clean) \
36740 || exit 1
36742 @endif target-winsup
36748 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36749 maybe-configure-target-libgloss:
36750 @if gcc-bootstrap
36751 configure-target-libgloss: stage_current
36752 @endif gcc-bootstrap
36753 @if target-libgloss
36754 maybe-configure-target-libgloss: configure-target-libgloss
36755 configure-target-libgloss:
36756 @: $(MAKE); $(unstage)
36757 @r=`${PWD_COMMAND}`; export r; \
36758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36759 echo "Checking multilib configuration for libgloss..."; \
36760 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36762 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36763 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36764 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36765 else \
36766 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36767 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36768 fi; \
36769 else \
36770 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36771 fi; \
36772 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36773 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36774 $(NORMAL_TARGET_EXPORTS) \
36775 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36776 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36777 case $(srcdir) in \
36778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36779 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36781 esac; \
36782 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36783 libsrcdir="$$s/libgloss"; \
36784 rm -f no-such-file || : ; \
36785 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36786 $(TARGET_CONFIGARGS) $${srcdiroption} \
36787 || exit 1
36788 @endif target-libgloss
36794 .PHONY: all-target-libgloss maybe-all-target-libgloss
36795 maybe-all-target-libgloss:
36796 @if gcc-bootstrap
36797 all-target-libgloss: stage_current
36798 @endif gcc-bootstrap
36799 @if target-libgloss
36800 TARGET-target-libgloss=all
36801 maybe-all-target-libgloss: all-target-libgloss
36802 all-target-libgloss: configure-target-libgloss
36803 @: $(MAKE); $(unstage)
36804 @r=`${PWD_COMMAND}`; export r; \
36805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36806 $(NORMAL_TARGET_EXPORTS) \
36807 (cd $(TARGET_SUBDIR)/libgloss && \
36808 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
36809 @endif target-libgloss
36815 .PHONY: check-target-libgloss maybe-check-target-libgloss
36816 maybe-check-target-libgloss:
36817 @if target-libgloss
36818 maybe-check-target-libgloss: check-target-libgloss
36820 # Dummy target for uncheckable module.
36821 check-target-libgloss:
36823 @endif target-libgloss
36825 .PHONY: install-target-libgloss maybe-install-target-libgloss
36826 maybe-install-target-libgloss:
36827 @if target-libgloss
36828 maybe-install-target-libgloss: install-target-libgloss
36830 install-target-libgloss: installdirs
36831 @: $(MAKE); $(unstage)
36832 @r=`${PWD_COMMAND}`; export r; \
36833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36834 $(NORMAL_TARGET_EXPORTS) \
36835 (cd $(TARGET_SUBDIR)/libgloss && \
36836 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36838 @endif target-libgloss
36840 # Other targets (info, dvi, pdf, etc.)
36842 .PHONY: maybe-info-target-libgloss info-target-libgloss
36843 maybe-info-target-libgloss:
36844 @if target-libgloss
36845 maybe-info-target-libgloss: info-target-libgloss
36847 info-target-libgloss: \
36848 configure-target-libgloss
36849 @: $(MAKE); $(unstage)
36850 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36851 r=`${PWD_COMMAND}`; export r; \
36852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36853 $(NORMAL_TARGET_EXPORTS) \
36854 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36855 for flag in $(EXTRA_TARGET_FLAGS); do \
36856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36857 done; \
36858 (cd $(TARGET_SUBDIR)/libgloss && \
36859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36861 "RANLIB=$${RANLIB}" \
36862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36863 info) \
36864 || exit 1
36866 @endif target-libgloss
36868 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36869 maybe-dvi-target-libgloss:
36870 @if target-libgloss
36871 maybe-dvi-target-libgloss: dvi-target-libgloss
36873 dvi-target-libgloss: \
36874 configure-target-libgloss
36875 @: $(MAKE); $(unstage)
36876 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36877 r=`${PWD_COMMAND}`; export r; \
36878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36879 $(NORMAL_TARGET_EXPORTS) \
36880 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36881 for flag in $(EXTRA_TARGET_FLAGS); do \
36882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36883 done; \
36884 (cd $(TARGET_SUBDIR)/libgloss && \
36885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36887 "RANLIB=$${RANLIB}" \
36888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36889 dvi) \
36890 || exit 1
36892 @endif target-libgloss
36894 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36895 maybe-pdf-target-libgloss:
36896 @if target-libgloss
36897 maybe-pdf-target-libgloss: pdf-target-libgloss
36899 pdf-target-libgloss: \
36900 configure-target-libgloss
36901 @: $(MAKE); $(unstage)
36902 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36903 r=`${PWD_COMMAND}`; export r; \
36904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36905 $(NORMAL_TARGET_EXPORTS) \
36906 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36907 for flag in $(EXTRA_TARGET_FLAGS); do \
36908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36909 done; \
36910 (cd $(TARGET_SUBDIR)/libgloss && \
36911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36913 "RANLIB=$${RANLIB}" \
36914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36915 pdf) \
36916 || exit 1
36918 @endif target-libgloss
36920 .PHONY: maybe-html-target-libgloss html-target-libgloss
36921 maybe-html-target-libgloss:
36922 @if target-libgloss
36923 maybe-html-target-libgloss: html-target-libgloss
36925 html-target-libgloss: \
36926 configure-target-libgloss
36927 @: $(MAKE); $(unstage)
36928 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36929 r=`${PWD_COMMAND}`; export r; \
36930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36931 $(NORMAL_TARGET_EXPORTS) \
36932 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36933 for flag in $(EXTRA_TARGET_FLAGS); do \
36934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36935 done; \
36936 (cd $(TARGET_SUBDIR)/libgloss && \
36937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36939 "RANLIB=$${RANLIB}" \
36940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36941 html) \
36942 || exit 1
36944 @endif target-libgloss
36946 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36947 maybe-TAGS-target-libgloss:
36948 @if target-libgloss
36949 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36951 TAGS-target-libgloss: \
36952 configure-target-libgloss
36953 @: $(MAKE); $(unstage)
36954 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36955 r=`${PWD_COMMAND}`; export r; \
36956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36957 $(NORMAL_TARGET_EXPORTS) \
36958 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36959 for flag in $(EXTRA_TARGET_FLAGS); do \
36960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36961 done; \
36962 (cd $(TARGET_SUBDIR)/libgloss && \
36963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36965 "RANLIB=$${RANLIB}" \
36966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36967 TAGS) \
36968 || exit 1
36970 @endif target-libgloss
36972 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36973 maybe-install-info-target-libgloss:
36974 @if target-libgloss
36975 maybe-install-info-target-libgloss: install-info-target-libgloss
36977 install-info-target-libgloss: \
36978 configure-target-libgloss \
36979 info-target-libgloss
36980 @: $(MAKE); $(unstage)
36981 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36982 r=`${PWD_COMMAND}`; export r; \
36983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36984 $(NORMAL_TARGET_EXPORTS) \
36985 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36986 for flag in $(EXTRA_TARGET_FLAGS); do \
36987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36988 done; \
36989 (cd $(TARGET_SUBDIR)/libgloss && \
36990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36992 "RANLIB=$${RANLIB}" \
36993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36994 install-info) \
36995 || exit 1
36997 @endif target-libgloss
36999 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37000 maybe-install-html-target-libgloss:
37001 @if target-libgloss
37002 maybe-install-html-target-libgloss: install-html-target-libgloss
37004 install-html-target-libgloss: \
37005 configure-target-libgloss \
37006 html-target-libgloss
37007 @: $(MAKE); $(unstage)
37008 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37009 r=`${PWD_COMMAND}`; export r; \
37010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37011 $(NORMAL_TARGET_EXPORTS) \
37012 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37013 for flag in $(EXTRA_TARGET_FLAGS); do \
37014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37015 done; \
37016 (cd $(TARGET_SUBDIR)/libgloss && \
37017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37019 "RANLIB=$${RANLIB}" \
37020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37021 install-html) \
37022 || exit 1
37024 @endif target-libgloss
37026 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37027 maybe-installcheck-target-libgloss:
37028 @if target-libgloss
37029 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37031 installcheck-target-libgloss: \
37032 configure-target-libgloss
37033 @: $(MAKE); $(unstage)
37034 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37035 r=`${PWD_COMMAND}`; export r; \
37036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37037 $(NORMAL_TARGET_EXPORTS) \
37038 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37039 for flag in $(EXTRA_TARGET_FLAGS); do \
37040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37041 done; \
37042 (cd $(TARGET_SUBDIR)/libgloss && \
37043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37045 "RANLIB=$${RANLIB}" \
37046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37047 installcheck) \
37048 || exit 1
37050 @endif target-libgloss
37052 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37053 maybe-mostlyclean-target-libgloss:
37054 @if target-libgloss
37055 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37057 mostlyclean-target-libgloss:
37058 @: $(MAKE); $(unstage)
37059 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37060 r=`${PWD_COMMAND}`; export r; \
37061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37062 $(NORMAL_TARGET_EXPORTS) \
37063 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37064 for flag in $(EXTRA_TARGET_FLAGS); do \
37065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37066 done; \
37067 (cd $(TARGET_SUBDIR)/libgloss && \
37068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37070 "RANLIB=$${RANLIB}" \
37071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37072 mostlyclean) \
37073 || exit 1
37075 @endif target-libgloss
37077 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37078 maybe-clean-target-libgloss:
37079 @if target-libgloss
37080 maybe-clean-target-libgloss: clean-target-libgloss
37082 clean-target-libgloss:
37083 @: $(MAKE); $(unstage)
37084 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37085 r=`${PWD_COMMAND}`; export r; \
37086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37087 $(NORMAL_TARGET_EXPORTS) \
37088 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37089 for flag in $(EXTRA_TARGET_FLAGS); do \
37090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37091 done; \
37092 (cd $(TARGET_SUBDIR)/libgloss && \
37093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37095 "RANLIB=$${RANLIB}" \
37096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37097 clean) \
37098 || exit 1
37100 @endif target-libgloss
37102 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37103 maybe-distclean-target-libgloss:
37104 @if target-libgloss
37105 maybe-distclean-target-libgloss: distclean-target-libgloss
37107 distclean-target-libgloss:
37108 @: $(MAKE); $(unstage)
37109 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37110 r=`${PWD_COMMAND}`; export r; \
37111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37112 $(NORMAL_TARGET_EXPORTS) \
37113 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37114 for flag in $(EXTRA_TARGET_FLAGS); do \
37115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37116 done; \
37117 (cd $(TARGET_SUBDIR)/libgloss && \
37118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37120 "RANLIB=$${RANLIB}" \
37121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37122 distclean) \
37123 || exit 1
37125 @endif target-libgloss
37127 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37128 maybe-maintainer-clean-target-libgloss:
37129 @if target-libgloss
37130 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37132 maintainer-clean-target-libgloss:
37133 @: $(MAKE); $(unstage)
37134 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37135 r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(NORMAL_TARGET_EXPORTS) \
37138 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37139 for flag in $(EXTRA_TARGET_FLAGS); do \
37140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37141 done; \
37142 (cd $(TARGET_SUBDIR)/libgloss && \
37143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37145 "RANLIB=$${RANLIB}" \
37146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37147 maintainer-clean) \
37148 || exit 1
37150 @endif target-libgloss
37156 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
37157 maybe-configure-target-libiberty:
37158 @if gcc-bootstrap
37159 configure-target-libiberty: stage_current
37160 @endif gcc-bootstrap
37161 @if target-libiberty
37162 maybe-configure-target-libiberty: configure-target-libiberty
37163 configure-target-libiberty:
37164 @: $(MAKE); $(unstage)
37165 @r=`${PWD_COMMAND}`; export r; \
37166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37167 echo "Checking multilib configuration for libiberty..."; \
37168 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37169 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
37170 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37171 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37172 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
37173 else \
37174 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
37175 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37176 fi; \
37177 else \
37178 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37179 fi; \
37180 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
37181 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37182 $(NORMAL_TARGET_EXPORTS) \
37183 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
37184 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
37185 case $(srcdir) in \
37186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37187 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
37188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37189 esac; \
37190 srcdiroption="--srcdir=$${topdir}/libiberty"; \
37191 libsrcdir="$$s/libiberty"; \
37192 rm -f no-such-file || : ; \
37193 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37194 $(TARGET_CONFIGARGS) $${srcdiroption} \
37195 || exit 1
37196 @endif target-libiberty
37202 .PHONY: all-target-libiberty maybe-all-target-libiberty
37203 maybe-all-target-libiberty:
37204 @if gcc-bootstrap
37205 all-target-libiberty: stage_current
37206 @endif gcc-bootstrap
37207 @if target-libiberty
37208 TARGET-target-libiberty=all
37209 maybe-all-target-libiberty: all-target-libiberty
37210 all-target-libiberty: configure-target-libiberty
37211 @: $(MAKE); $(unstage)
37212 @r=`${PWD_COMMAND}`; export r; \
37213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37214 $(NORMAL_TARGET_EXPORTS) \
37215 (cd $(TARGET_SUBDIR)/libiberty && \
37216 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
37217 @endif target-libiberty
37223 .PHONY: check-target-libiberty maybe-check-target-libiberty
37224 maybe-check-target-libiberty:
37225 @if target-libiberty
37226 maybe-check-target-libiberty: check-target-libiberty
37228 check-target-libiberty:
37229 @: $(MAKE); $(unstage)
37230 @r=`${PWD_COMMAND}`; export r; \
37231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37232 $(NORMAL_TARGET_EXPORTS) \
37233 (cd $(TARGET_SUBDIR)/libiberty && \
37234 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37236 @endif target-libiberty
37238 .PHONY: install-target-libiberty maybe-install-target-libiberty
37239 maybe-install-target-libiberty:
37240 @if target-libiberty
37241 maybe-install-target-libiberty: install-target-libiberty
37243 install-target-libiberty: installdirs
37244 @: $(MAKE); $(unstage)
37245 @r=`${PWD_COMMAND}`; export r; \
37246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37247 $(NORMAL_TARGET_EXPORTS) \
37248 (cd $(TARGET_SUBDIR)/libiberty && \
37249 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37251 @endif target-libiberty
37253 # Other targets (info, dvi, pdf, etc.)
37255 .PHONY: maybe-info-target-libiberty info-target-libiberty
37256 maybe-info-target-libiberty:
37257 @if target-libiberty
37258 maybe-info-target-libiberty: info-target-libiberty
37260 info-target-libiberty: \
37261 configure-target-libiberty
37262 @: $(MAKE); $(unstage)
37263 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37264 r=`${PWD_COMMAND}`; export r; \
37265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37266 $(NORMAL_TARGET_EXPORTS) \
37267 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
37268 for flag in $(EXTRA_TARGET_FLAGS); do \
37269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37270 done; \
37271 (cd $(TARGET_SUBDIR)/libiberty && \
37272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37274 "RANLIB=$${RANLIB}" \
37275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37276 info) \
37277 || exit 1
37279 @endif target-libiberty
37281 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
37282 maybe-dvi-target-libiberty:
37283 @if target-libiberty
37284 maybe-dvi-target-libiberty: dvi-target-libiberty
37286 dvi-target-libiberty: \
37287 configure-target-libiberty
37288 @: $(MAKE); $(unstage)
37289 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37290 r=`${PWD_COMMAND}`; export r; \
37291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37292 $(NORMAL_TARGET_EXPORTS) \
37293 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
37294 for flag in $(EXTRA_TARGET_FLAGS); do \
37295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37296 done; \
37297 (cd $(TARGET_SUBDIR)/libiberty && \
37298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37300 "RANLIB=$${RANLIB}" \
37301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37302 dvi) \
37303 || exit 1
37305 @endif target-libiberty
37307 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
37308 maybe-pdf-target-libiberty:
37309 @if target-libiberty
37310 maybe-pdf-target-libiberty: pdf-target-libiberty
37312 pdf-target-libiberty: \
37313 configure-target-libiberty
37314 @: $(MAKE); $(unstage)
37315 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37316 r=`${PWD_COMMAND}`; export r; \
37317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37318 $(NORMAL_TARGET_EXPORTS) \
37319 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
37320 for flag in $(EXTRA_TARGET_FLAGS); do \
37321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37322 done; \
37323 (cd $(TARGET_SUBDIR)/libiberty && \
37324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37326 "RANLIB=$${RANLIB}" \
37327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37328 pdf) \
37329 || exit 1
37331 @endif target-libiberty
37333 .PHONY: maybe-html-target-libiberty html-target-libiberty
37334 maybe-html-target-libiberty:
37335 @if target-libiberty
37336 maybe-html-target-libiberty: html-target-libiberty
37338 html-target-libiberty: \
37339 configure-target-libiberty
37340 @: $(MAKE); $(unstage)
37341 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37342 r=`${PWD_COMMAND}`; export r; \
37343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37344 $(NORMAL_TARGET_EXPORTS) \
37345 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
37346 for flag in $(EXTRA_TARGET_FLAGS); do \
37347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37348 done; \
37349 (cd $(TARGET_SUBDIR)/libiberty && \
37350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37352 "RANLIB=$${RANLIB}" \
37353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37354 html) \
37355 || exit 1
37357 @endif target-libiberty
37359 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
37360 maybe-TAGS-target-libiberty:
37361 @if target-libiberty
37362 maybe-TAGS-target-libiberty: TAGS-target-libiberty
37364 TAGS-target-libiberty: \
37365 configure-target-libiberty
37366 @: $(MAKE); $(unstage)
37367 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37368 r=`${PWD_COMMAND}`; export r; \
37369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37370 $(NORMAL_TARGET_EXPORTS) \
37371 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
37372 for flag in $(EXTRA_TARGET_FLAGS); do \
37373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37374 done; \
37375 (cd $(TARGET_SUBDIR)/libiberty && \
37376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37378 "RANLIB=$${RANLIB}" \
37379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37380 TAGS) \
37381 || exit 1
37383 @endif target-libiberty
37385 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
37386 maybe-install-info-target-libiberty:
37387 @if target-libiberty
37388 maybe-install-info-target-libiberty: install-info-target-libiberty
37390 install-info-target-libiberty: \
37391 configure-target-libiberty \
37392 info-target-libiberty
37393 @: $(MAKE); $(unstage)
37394 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37395 r=`${PWD_COMMAND}`; export r; \
37396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37397 $(NORMAL_TARGET_EXPORTS) \
37398 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
37399 for flag in $(EXTRA_TARGET_FLAGS); do \
37400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37401 done; \
37402 (cd $(TARGET_SUBDIR)/libiberty && \
37403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37405 "RANLIB=$${RANLIB}" \
37406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37407 install-info) \
37408 || exit 1
37410 @endif target-libiberty
37412 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
37413 maybe-install-html-target-libiberty:
37414 @if target-libiberty
37415 maybe-install-html-target-libiberty: install-html-target-libiberty
37417 install-html-target-libiberty: \
37418 configure-target-libiberty \
37419 html-target-libiberty
37420 @: $(MAKE); $(unstage)
37421 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37422 r=`${PWD_COMMAND}`; export r; \
37423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37424 $(NORMAL_TARGET_EXPORTS) \
37425 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
37426 for flag in $(EXTRA_TARGET_FLAGS); do \
37427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37428 done; \
37429 (cd $(TARGET_SUBDIR)/libiberty && \
37430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37432 "RANLIB=$${RANLIB}" \
37433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37434 install-html) \
37435 || exit 1
37437 @endif target-libiberty
37439 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
37440 maybe-installcheck-target-libiberty:
37441 @if target-libiberty
37442 maybe-installcheck-target-libiberty: installcheck-target-libiberty
37444 installcheck-target-libiberty: \
37445 configure-target-libiberty
37446 @: $(MAKE); $(unstage)
37447 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37448 r=`${PWD_COMMAND}`; export r; \
37449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37450 $(NORMAL_TARGET_EXPORTS) \
37451 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
37452 for flag in $(EXTRA_TARGET_FLAGS); do \
37453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37454 done; \
37455 (cd $(TARGET_SUBDIR)/libiberty && \
37456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37458 "RANLIB=$${RANLIB}" \
37459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37460 installcheck) \
37461 || exit 1
37463 @endif target-libiberty
37465 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
37466 maybe-mostlyclean-target-libiberty:
37467 @if target-libiberty
37468 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
37470 mostlyclean-target-libiberty:
37471 @: $(MAKE); $(unstage)
37472 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37473 r=`${PWD_COMMAND}`; export r; \
37474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37475 $(NORMAL_TARGET_EXPORTS) \
37476 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
37477 for flag in $(EXTRA_TARGET_FLAGS); do \
37478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37479 done; \
37480 (cd $(TARGET_SUBDIR)/libiberty && \
37481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37483 "RANLIB=$${RANLIB}" \
37484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37485 mostlyclean) \
37486 || exit 1
37488 @endif target-libiberty
37490 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
37491 maybe-clean-target-libiberty:
37492 @if target-libiberty
37493 maybe-clean-target-libiberty: clean-target-libiberty
37495 clean-target-libiberty:
37496 @: $(MAKE); $(unstage)
37497 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37498 r=`${PWD_COMMAND}`; export r; \
37499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37500 $(NORMAL_TARGET_EXPORTS) \
37501 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
37502 for flag in $(EXTRA_TARGET_FLAGS); do \
37503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37504 done; \
37505 (cd $(TARGET_SUBDIR)/libiberty && \
37506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37508 "RANLIB=$${RANLIB}" \
37509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37510 clean) \
37511 || exit 1
37513 @endif target-libiberty
37515 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
37516 maybe-distclean-target-libiberty:
37517 @if target-libiberty
37518 maybe-distclean-target-libiberty: distclean-target-libiberty
37520 distclean-target-libiberty:
37521 @: $(MAKE); $(unstage)
37522 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37523 r=`${PWD_COMMAND}`; export r; \
37524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37525 $(NORMAL_TARGET_EXPORTS) \
37526 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
37527 for flag in $(EXTRA_TARGET_FLAGS); do \
37528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37529 done; \
37530 (cd $(TARGET_SUBDIR)/libiberty && \
37531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37533 "RANLIB=$${RANLIB}" \
37534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37535 distclean) \
37536 || exit 1
37538 @endif target-libiberty
37540 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
37541 maybe-maintainer-clean-target-libiberty:
37542 @if target-libiberty
37543 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
37545 maintainer-clean-target-libiberty:
37546 @: $(MAKE); $(unstage)
37547 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37548 r=`${PWD_COMMAND}`; export r; \
37549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37550 $(NORMAL_TARGET_EXPORTS) \
37551 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
37552 for flag in $(EXTRA_TARGET_FLAGS); do \
37553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37554 done; \
37555 (cd $(TARGET_SUBDIR)/libiberty && \
37556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37558 "RANLIB=$${RANLIB}" \
37559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37560 maintainer-clean) \
37561 || exit 1
37563 @endif target-libiberty
37569 .PHONY: configure-target-gperf maybe-configure-target-gperf
37570 maybe-configure-target-gperf:
37571 @if gcc-bootstrap
37572 configure-target-gperf: stage_current
37573 @endif gcc-bootstrap
37574 @if target-gperf
37575 maybe-configure-target-gperf: configure-target-gperf
37576 configure-target-gperf:
37577 @: $(MAKE); $(unstage)
37578 @r=`${PWD_COMMAND}`; export r; \
37579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37580 echo "Checking multilib configuration for gperf..."; \
37581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37582 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
37583 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
37584 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
37585 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
37586 else \
37587 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
37588 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37589 fi; \
37590 else \
37591 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37592 fi; \
37593 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
37594 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37595 $(NORMAL_TARGET_EXPORTS) \
37596 echo Configuring in $(TARGET_SUBDIR)/gperf; \
37597 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
37598 case $(srcdir) in \
37599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37600 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
37601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37602 esac; \
37603 srcdiroption="--srcdir=$${topdir}/gperf"; \
37604 libsrcdir="$$s/gperf"; \
37605 rm -f no-such-file || : ; \
37606 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37607 $(TARGET_CONFIGARGS) $${srcdiroption} \
37608 || exit 1
37609 @endif target-gperf
37615 .PHONY: all-target-gperf maybe-all-target-gperf
37616 maybe-all-target-gperf:
37617 @if gcc-bootstrap
37618 all-target-gperf: stage_current
37619 @endif gcc-bootstrap
37620 @if target-gperf
37621 TARGET-target-gperf=all
37622 maybe-all-target-gperf: all-target-gperf
37623 all-target-gperf: configure-target-gperf
37624 @: $(MAKE); $(unstage)
37625 @r=`${PWD_COMMAND}`; export r; \
37626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37627 $(NORMAL_TARGET_EXPORTS) \
37628 (cd $(TARGET_SUBDIR)/gperf && \
37629 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
37630 @endif target-gperf
37636 .PHONY: check-target-gperf maybe-check-target-gperf
37637 maybe-check-target-gperf:
37638 @if target-gperf
37639 maybe-check-target-gperf: check-target-gperf
37641 check-target-gperf:
37642 @: $(MAKE); $(unstage)
37643 @r=`${PWD_COMMAND}`; export r; \
37644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37645 $(NORMAL_TARGET_EXPORTS) \
37646 (cd $(TARGET_SUBDIR)/gperf && \
37647 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37649 @endif target-gperf
37651 .PHONY: install-target-gperf maybe-install-target-gperf
37652 maybe-install-target-gperf:
37653 @if target-gperf
37654 maybe-install-target-gperf: install-target-gperf
37656 install-target-gperf: installdirs
37657 @: $(MAKE); $(unstage)
37658 @r=`${PWD_COMMAND}`; export r; \
37659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37660 $(NORMAL_TARGET_EXPORTS) \
37661 (cd $(TARGET_SUBDIR)/gperf && \
37662 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37664 @endif target-gperf
37666 # Other targets (info, dvi, pdf, etc.)
37668 .PHONY: maybe-info-target-gperf info-target-gperf
37669 maybe-info-target-gperf:
37670 @if target-gperf
37671 maybe-info-target-gperf: info-target-gperf
37673 info-target-gperf: \
37674 configure-target-gperf
37675 @: $(MAKE); $(unstage)
37676 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37677 r=`${PWD_COMMAND}`; export r; \
37678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37679 $(NORMAL_TARGET_EXPORTS) \
37680 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
37681 for flag in $(EXTRA_TARGET_FLAGS); do \
37682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37683 done; \
37684 (cd $(TARGET_SUBDIR)/gperf && \
37685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37687 "RANLIB=$${RANLIB}" \
37688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37689 info) \
37690 || exit 1
37692 @endif target-gperf
37694 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
37695 maybe-dvi-target-gperf:
37696 @if target-gperf
37697 maybe-dvi-target-gperf: dvi-target-gperf
37699 dvi-target-gperf: \
37700 configure-target-gperf
37701 @: $(MAKE); $(unstage)
37702 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37703 r=`${PWD_COMMAND}`; export r; \
37704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37705 $(NORMAL_TARGET_EXPORTS) \
37706 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
37707 for flag in $(EXTRA_TARGET_FLAGS); do \
37708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37709 done; \
37710 (cd $(TARGET_SUBDIR)/gperf && \
37711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37713 "RANLIB=$${RANLIB}" \
37714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37715 dvi) \
37716 || exit 1
37718 @endif target-gperf
37720 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
37721 maybe-pdf-target-gperf:
37722 @if target-gperf
37723 maybe-pdf-target-gperf: pdf-target-gperf
37725 pdf-target-gperf: \
37726 configure-target-gperf
37727 @: $(MAKE); $(unstage)
37728 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37729 r=`${PWD_COMMAND}`; export r; \
37730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37731 $(NORMAL_TARGET_EXPORTS) \
37732 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
37733 for flag in $(EXTRA_TARGET_FLAGS); do \
37734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37735 done; \
37736 (cd $(TARGET_SUBDIR)/gperf && \
37737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37739 "RANLIB=$${RANLIB}" \
37740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37741 pdf) \
37742 || exit 1
37744 @endif target-gperf
37746 .PHONY: maybe-html-target-gperf html-target-gperf
37747 maybe-html-target-gperf:
37748 @if target-gperf
37749 maybe-html-target-gperf: html-target-gperf
37751 html-target-gperf: \
37752 configure-target-gperf
37753 @: $(MAKE); $(unstage)
37754 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37755 r=`${PWD_COMMAND}`; export r; \
37756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37757 $(NORMAL_TARGET_EXPORTS) \
37758 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
37759 for flag in $(EXTRA_TARGET_FLAGS); do \
37760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37761 done; \
37762 (cd $(TARGET_SUBDIR)/gperf && \
37763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37765 "RANLIB=$${RANLIB}" \
37766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37767 html) \
37768 || exit 1
37770 @endif target-gperf
37772 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
37773 maybe-TAGS-target-gperf:
37774 @if target-gperf
37775 maybe-TAGS-target-gperf: TAGS-target-gperf
37777 TAGS-target-gperf: \
37778 configure-target-gperf
37779 @: $(MAKE); $(unstage)
37780 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37781 r=`${PWD_COMMAND}`; export r; \
37782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37783 $(NORMAL_TARGET_EXPORTS) \
37784 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
37785 for flag in $(EXTRA_TARGET_FLAGS); do \
37786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37787 done; \
37788 (cd $(TARGET_SUBDIR)/gperf && \
37789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37791 "RANLIB=$${RANLIB}" \
37792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37793 TAGS) \
37794 || exit 1
37796 @endif target-gperf
37798 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
37799 maybe-install-info-target-gperf:
37800 @if target-gperf
37801 maybe-install-info-target-gperf: install-info-target-gperf
37803 install-info-target-gperf: \
37804 configure-target-gperf \
37805 info-target-gperf
37806 @: $(MAKE); $(unstage)
37807 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37808 r=`${PWD_COMMAND}`; export r; \
37809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37810 $(NORMAL_TARGET_EXPORTS) \
37811 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
37812 for flag in $(EXTRA_TARGET_FLAGS); do \
37813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37814 done; \
37815 (cd $(TARGET_SUBDIR)/gperf && \
37816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37818 "RANLIB=$${RANLIB}" \
37819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37820 install-info) \
37821 || exit 1
37823 @endif target-gperf
37825 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
37826 maybe-install-html-target-gperf:
37827 @if target-gperf
37828 maybe-install-html-target-gperf: install-html-target-gperf
37830 install-html-target-gperf: \
37831 configure-target-gperf \
37832 html-target-gperf
37833 @: $(MAKE); $(unstage)
37834 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37835 r=`${PWD_COMMAND}`; export r; \
37836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37837 $(NORMAL_TARGET_EXPORTS) \
37838 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
37839 for flag in $(EXTRA_TARGET_FLAGS); do \
37840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37841 done; \
37842 (cd $(TARGET_SUBDIR)/gperf && \
37843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37845 "RANLIB=$${RANLIB}" \
37846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37847 install-html) \
37848 || exit 1
37850 @endif target-gperf
37852 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
37853 maybe-installcheck-target-gperf:
37854 @if target-gperf
37855 maybe-installcheck-target-gperf: installcheck-target-gperf
37857 installcheck-target-gperf: \
37858 configure-target-gperf
37859 @: $(MAKE); $(unstage)
37860 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37861 r=`${PWD_COMMAND}`; export r; \
37862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37863 $(NORMAL_TARGET_EXPORTS) \
37864 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
37865 for flag in $(EXTRA_TARGET_FLAGS); do \
37866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37867 done; \
37868 (cd $(TARGET_SUBDIR)/gperf && \
37869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37871 "RANLIB=$${RANLIB}" \
37872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37873 installcheck) \
37874 || exit 1
37876 @endif target-gperf
37878 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
37879 maybe-mostlyclean-target-gperf:
37880 @if target-gperf
37881 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
37883 mostlyclean-target-gperf:
37884 @: $(MAKE); $(unstage)
37885 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37886 r=`${PWD_COMMAND}`; export r; \
37887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37888 $(NORMAL_TARGET_EXPORTS) \
37889 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
37890 for flag in $(EXTRA_TARGET_FLAGS); do \
37891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37892 done; \
37893 (cd $(TARGET_SUBDIR)/gperf && \
37894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37896 "RANLIB=$${RANLIB}" \
37897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37898 mostlyclean) \
37899 || exit 1
37901 @endif target-gperf
37903 .PHONY: maybe-clean-target-gperf clean-target-gperf
37904 maybe-clean-target-gperf:
37905 @if target-gperf
37906 maybe-clean-target-gperf: clean-target-gperf
37908 clean-target-gperf:
37909 @: $(MAKE); $(unstage)
37910 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37911 r=`${PWD_COMMAND}`; export r; \
37912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37913 $(NORMAL_TARGET_EXPORTS) \
37914 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
37915 for flag in $(EXTRA_TARGET_FLAGS); do \
37916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37917 done; \
37918 (cd $(TARGET_SUBDIR)/gperf && \
37919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37921 "RANLIB=$${RANLIB}" \
37922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37923 clean) \
37924 || exit 1
37926 @endif target-gperf
37928 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
37929 maybe-distclean-target-gperf:
37930 @if target-gperf
37931 maybe-distclean-target-gperf: distclean-target-gperf
37933 distclean-target-gperf:
37934 @: $(MAKE); $(unstage)
37935 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37936 r=`${PWD_COMMAND}`; export r; \
37937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37938 $(NORMAL_TARGET_EXPORTS) \
37939 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
37940 for flag in $(EXTRA_TARGET_FLAGS); do \
37941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37942 done; \
37943 (cd $(TARGET_SUBDIR)/gperf && \
37944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37946 "RANLIB=$${RANLIB}" \
37947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37948 distclean) \
37949 || exit 1
37951 @endif target-gperf
37953 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
37954 maybe-maintainer-clean-target-gperf:
37955 @if target-gperf
37956 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
37958 maintainer-clean-target-gperf:
37959 @: $(MAKE); $(unstage)
37960 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37961 r=`${PWD_COMMAND}`; export r; \
37962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37963 $(NORMAL_TARGET_EXPORTS) \
37964 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
37965 for flag in $(EXTRA_TARGET_FLAGS); do \
37966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37967 done; \
37968 (cd $(TARGET_SUBDIR)/gperf && \
37969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37971 "RANLIB=$${RANLIB}" \
37972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37973 maintainer-clean) \
37974 || exit 1
37976 @endif target-gperf
37982 .PHONY: configure-target-examples maybe-configure-target-examples
37983 maybe-configure-target-examples:
37984 @if gcc-bootstrap
37985 configure-target-examples: stage_current
37986 @endif gcc-bootstrap
37987 @if target-examples
37988 maybe-configure-target-examples: configure-target-examples
37989 configure-target-examples:
37990 @: $(MAKE); $(unstage)
37991 @r=`${PWD_COMMAND}`; export r; \
37992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37993 echo "Checking multilib configuration for examples..."; \
37994 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
37995 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
37996 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
37997 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
37998 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
37999 else \
38000 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
38001 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38002 fi; \
38003 else \
38004 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38005 fi; \
38006 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
38007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38008 $(NORMAL_TARGET_EXPORTS) \
38009 echo Configuring in $(TARGET_SUBDIR)/examples; \
38010 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
38011 case $(srcdir) in \
38012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38013 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
38014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38015 esac; \
38016 srcdiroption="--srcdir=$${topdir}/examples"; \
38017 libsrcdir="$$s/examples"; \
38018 rm -f no-such-file || : ; \
38019 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38020 $(TARGET_CONFIGARGS) $${srcdiroption} \
38021 || exit 1
38022 @endif target-examples
38028 .PHONY: all-target-examples maybe-all-target-examples
38029 maybe-all-target-examples:
38030 @if gcc-bootstrap
38031 all-target-examples: stage_current
38032 @endif gcc-bootstrap
38033 @if target-examples
38034 TARGET-target-examples=all
38035 maybe-all-target-examples: all-target-examples
38036 all-target-examples: configure-target-examples
38037 @: $(MAKE); $(unstage)
38038 @r=`${PWD_COMMAND}`; export r; \
38039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38040 $(NORMAL_TARGET_EXPORTS) \
38041 (cd $(TARGET_SUBDIR)/examples && \
38042 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
38043 @endif target-examples
38049 .PHONY: check-target-examples maybe-check-target-examples
38050 maybe-check-target-examples:
38051 @if target-examples
38052 maybe-check-target-examples: check-target-examples
38054 # Dummy target for uncheckable module.
38055 check-target-examples:
38057 @endif target-examples
38059 .PHONY: install-target-examples maybe-install-target-examples
38060 maybe-install-target-examples:
38061 @if target-examples
38062 maybe-install-target-examples: install-target-examples
38064 # Dummy target for uninstallable.
38065 install-target-examples:
38067 @endif target-examples
38069 # Other targets (info, dvi, pdf, etc.)
38071 .PHONY: maybe-info-target-examples info-target-examples
38072 maybe-info-target-examples:
38073 @if target-examples
38074 maybe-info-target-examples: info-target-examples
38076 info-target-examples: \
38077 configure-target-examples
38078 @: $(MAKE); $(unstage)
38079 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38080 r=`${PWD_COMMAND}`; export r; \
38081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38082 $(NORMAL_TARGET_EXPORTS) \
38083 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
38084 for flag in $(EXTRA_TARGET_FLAGS); do \
38085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38086 done; \
38087 (cd $(TARGET_SUBDIR)/examples && \
38088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38090 "RANLIB=$${RANLIB}" \
38091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38092 info) \
38093 || exit 1
38095 @endif target-examples
38097 .PHONY: maybe-dvi-target-examples dvi-target-examples
38098 maybe-dvi-target-examples:
38099 @if target-examples
38100 maybe-dvi-target-examples: dvi-target-examples
38102 dvi-target-examples: \
38103 configure-target-examples
38104 @: $(MAKE); $(unstage)
38105 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38106 r=`${PWD_COMMAND}`; export r; \
38107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38108 $(NORMAL_TARGET_EXPORTS) \
38109 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
38110 for flag in $(EXTRA_TARGET_FLAGS); do \
38111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38112 done; \
38113 (cd $(TARGET_SUBDIR)/examples && \
38114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38116 "RANLIB=$${RANLIB}" \
38117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38118 dvi) \
38119 || exit 1
38121 @endif target-examples
38123 .PHONY: maybe-pdf-target-examples pdf-target-examples
38124 maybe-pdf-target-examples:
38125 @if target-examples
38126 maybe-pdf-target-examples: pdf-target-examples
38128 pdf-target-examples: \
38129 configure-target-examples
38130 @: $(MAKE); $(unstage)
38131 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38132 r=`${PWD_COMMAND}`; export r; \
38133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38134 $(NORMAL_TARGET_EXPORTS) \
38135 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
38136 for flag in $(EXTRA_TARGET_FLAGS); do \
38137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38138 done; \
38139 (cd $(TARGET_SUBDIR)/examples && \
38140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38142 "RANLIB=$${RANLIB}" \
38143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38144 pdf) \
38145 || exit 1
38147 @endif target-examples
38149 .PHONY: maybe-html-target-examples html-target-examples
38150 maybe-html-target-examples:
38151 @if target-examples
38152 maybe-html-target-examples: html-target-examples
38154 html-target-examples: \
38155 configure-target-examples
38156 @: $(MAKE); $(unstage)
38157 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38158 r=`${PWD_COMMAND}`; export r; \
38159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38160 $(NORMAL_TARGET_EXPORTS) \
38161 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
38162 for flag in $(EXTRA_TARGET_FLAGS); do \
38163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38164 done; \
38165 (cd $(TARGET_SUBDIR)/examples && \
38166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38168 "RANLIB=$${RANLIB}" \
38169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38170 html) \
38171 || exit 1
38173 @endif target-examples
38175 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
38176 maybe-TAGS-target-examples:
38177 @if target-examples
38178 maybe-TAGS-target-examples: TAGS-target-examples
38180 TAGS-target-examples: \
38181 configure-target-examples
38182 @: $(MAKE); $(unstage)
38183 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38184 r=`${PWD_COMMAND}`; export r; \
38185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38186 $(NORMAL_TARGET_EXPORTS) \
38187 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
38188 for flag in $(EXTRA_TARGET_FLAGS); do \
38189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38190 done; \
38191 (cd $(TARGET_SUBDIR)/examples && \
38192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38194 "RANLIB=$${RANLIB}" \
38195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38196 TAGS) \
38197 || exit 1
38199 @endif target-examples
38201 .PHONY: maybe-install-info-target-examples install-info-target-examples
38202 maybe-install-info-target-examples:
38203 @if target-examples
38204 maybe-install-info-target-examples: install-info-target-examples
38206 install-info-target-examples: \
38207 configure-target-examples \
38208 info-target-examples
38209 @: $(MAKE); $(unstage)
38210 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38211 r=`${PWD_COMMAND}`; export r; \
38212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38213 $(NORMAL_TARGET_EXPORTS) \
38214 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
38215 for flag in $(EXTRA_TARGET_FLAGS); do \
38216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38217 done; \
38218 (cd $(TARGET_SUBDIR)/examples && \
38219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38221 "RANLIB=$${RANLIB}" \
38222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38223 install-info) \
38224 || exit 1
38226 @endif target-examples
38228 .PHONY: maybe-install-html-target-examples install-html-target-examples
38229 maybe-install-html-target-examples:
38230 @if target-examples
38231 maybe-install-html-target-examples: install-html-target-examples
38233 install-html-target-examples: \
38234 configure-target-examples \
38235 html-target-examples
38236 @: $(MAKE); $(unstage)
38237 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38238 r=`${PWD_COMMAND}`; export r; \
38239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38240 $(NORMAL_TARGET_EXPORTS) \
38241 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
38242 for flag in $(EXTRA_TARGET_FLAGS); do \
38243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38244 done; \
38245 (cd $(TARGET_SUBDIR)/examples && \
38246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38248 "RANLIB=$${RANLIB}" \
38249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38250 install-html) \
38251 || exit 1
38253 @endif target-examples
38255 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
38256 maybe-installcheck-target-examples:
38257 @if target-examples
38258 maybe-installcheck-target-examples: installcheck-target-examples
38260 installcheck-target-examples: \
38261 configure-target-examples
38262 @: $(MAKE); $(unstage)
38263 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38264 r=`${PWD_COMMAND}`; export r; \
38265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38266 $(NORMAL_TARGET_EXPORTS) \
38267 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
38268 for flag in $(EXTRA_TARGET_FLAGS); do \
38269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38270 done; \
38271 (cd $(TARGET_SUBDIR)/examples && \
38272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38274 "RANLIB=$${RANLIB}" \
38275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38276 installcheck) \
38277 || exit 1
38279 @endif target-examples
38281 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
38282 maybe-mostlyclean-target-examples:
38283 @if target-examples
38284 maybe-mostlyclean-target-examples: mostlyclean-target-examples
38286 mostlyclean-target-examples:
38287 @: $(MAKE); $(unstage)
38288 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38289 r=`${PWD_COMMAND}`; export r; \
38290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38291 $(NORMAL_TARGET_EXPORTS) \
38292 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
38293 for flag in $(EXTRA_TARGET_FLAGS); do \
38294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38295 done; \
38296 (cd $(TARGET_SUBDIR)/examples && \
38297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38299 "RANLIB=$${RANLIB}" \
38300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38301 mostlyclean) \
38302 || exit 1
38304 @endif target-examples
38306 .PHONY: maybe-clean-target-examples clean-target-examples
38307 maybe-clean-target-examples:
38308 @if target-examples
38309 maybe-clean-target-examples: clean-target-examples
38311 clean-target-examples:
38312 @: $(MAKE); $(unstage)
38313 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38314 r=`${PWD_COMMAND}`; export r; \
38315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38316 $(NORMAL_TARGET_EXPORTS) \
38317 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
38318 for flag in $(EXTRA_TARGET_FLAGS); do \
38319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38320 done; \
38321 (cd $(TARGET_SUBDIR)/examples && \
38322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38324 "RANLIB=$${RANLIB}" \
38325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38326 clean) \
38327 || exit 1
38329 @endif target-examples
38331 .PHONY: maybe-distclean-target-examples distclean-target-examples
38332 maybe-distclean-target-examples:
38333 @if target-examples
38334 maybe-distclean-target-examples: distclean-target-examples
38336 distclean-target-examples:
38337 @: $(MAKE); $(unstage)
38338 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38339 r=`${PWD_COMMAND}`; export r; \
38340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38341 $(NORMAL_TARGET_EXPORTS) \
38342 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
38343 for flag in $(EXTRA_TARGET_FLAGS); do \
38344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38345 done; \
38346 (cd $(TARGET_SUBDIR)/examples && \
38347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38349 "RANLIB=$${RANLIB}" \
38350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38351 distclean) \
38352 || exit 1
38354 @endif target-examples
38356 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
38357 maybe-maintainer-clean-target-examples:
38358 @if target-examples
38359 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
38361 maintainer-clean-target-examples:
38362 @: $(MAKE); $(unstage)
38363 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38364 r=`${PWD_COMMAND}`; export r; \
38365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38366 $(NORMAL_TARGET_EXPORTS) \
38367 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
38368 for flag in $(EXTRA_TARGET_FLAGS); do \
38369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38370 done; \
38371 (cd $(TARGET_SUBDIR)/examples && \
38372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38374 "RANLIB=$${RANLIB}" \
38375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38376 maintainer-clean) \
38377 || exit 1
38379 @endif target-examples
38385 .PHONY: configure-target-libffi maybe-configure-target-libffi
38386 maybe-configure-target-libffi:
38387 @if gcc-bootstrap
38388 configure-target-libffi: stage_current
38389 @endif gcc-bootstrap
38390 @if target-libffi
38391 maybe-configure-target-libffi: configure-target-libffi
38392 configure-target-libffi:
38393 @: $(MAKE); $(unstage)
38394 @r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 echo "Checking multilib configuration for libffi..."; \
38397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38398 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38399 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38400 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38401 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38402 else \
38403 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38404 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38405 fi; \
38406 else \
38407 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38408 fi; \
38409 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38410 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38411 $(NORMAL_TARGET_EXPORTS) \
38412 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38413 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38414 case $(srcdir) in \
38415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38416 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38418 esac; \
38419 srcdiroption="--srcdir=$${topdir}/libffi"; \
38420 libsrcdir="$$s/libffi"; \
38421 rm -f no-such-file || : ; \
38422 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38423 $(TARGET_CONFIGARGS) $${srcdiroption} \
38424 || exit 1
38425 @endif target-libffi
38431 .PHONY: all-target-libffi maybe-all-target-libffi
38432 maybe-all-target-libffi:
38433 @if gcc-bootstrap
38434 all-target-libffi: stage_current
38435 @endif gcc-bootstrap
38436 @if target-libffi
38437 TARGET-target-libffi=all
38438 maybe-all-target-libffi: all-target-libffi
38439 all-target-libffi: configure-target-libffi
38440 @: $(MAKE); $(unstage)
38441 @r=`${PWD_COMMAND}`; export r; \
38442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38443 $(NORMAL_TARGET_EXPORTS) \
38444 (cd $(TARGET_SUBDIR)/libffi && \
38445 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
38446 @endif target-libffi
38452 .PHONY: check-target-libffi maybe-check-target-libffi
38453 maybe-check-target-libffi:
38454 @if target-libffi
38455 maybe-check-target-libffi: check-target-libffi
38457 check-target-libffi:
38458 @: $(MAKE); $(unstage)
38459 @r=`${PWD_COMMAND}`; export r; \
38460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38461 $(NORMAL_TARGET_EXPORTS) \
38462 (cd $(TARGET_SUBDIR)/libffi && \
38463 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38465 @endif target-libffi
38467 .PHONY: install-target-libffi maybe-install-target-libffi
38468 maybe-install-target-libffi:
38469 @if target-libffi
38470 maybe-install-target-libffi: install-target-libffi
38472 install-target-libffi: installdirs
38473 @: $(MAKE); $(unstage)
38474 @r=`${PWD_COMMAND}`; export r; \
38475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38476 $(NORMAL_TARGET_EXPORTS) \
38477 (cd $(TARGET_SUBDIR)/libffi && \
38478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38480 @endif target-libffi
38482 # Other targets (info, dvi, pdf, etc.)
38484 .PHONY: maybe-info-target-libffi info-target-libffi
38485 maybe-info-target-libffi:
38486 @if target-libffi
38487 maybe-info-target-libffi: info-target-libffi
38489 info-target-libffi: \
38490 configure-target-libffi
38491 @: $(MAKE); $(unstage)
38492 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38493 r=`${PWD_COMMAND}`; export r; \
38494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38495 $(NORMAL_TARGET_EXPORTS) \
38496 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38497 for flag in $(EXTRA_TARGET_FLAGS); do \
38498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38499 done; \
38500 (cd $(TARGET_SUBDIR)/libffi && \
38501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38503 "RANLIB=$${RANLIB}" \
38504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38505 info) \
38506 || exit 1
38508 @endif target-libffi
38510 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38511 maybe-dvi-target-libffi:
38512 @if target-libffi
38513 maybe-dvi-target-libffi: dvi-target-libffi
38515 dvi-target-libffi: \
38516 configure-target-libffi
38517 @: $(MAKE); $(unstage)
38518 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38519 r=`${PWD_COMMAND}`; export r; \
38520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38521 $(NORMAL_TARGET_EXPORTS) \
38522 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38523 for flag in $(EXTRA_TARGET_FLAGS); do \
38524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38525 done; \
38526 (cd $(TARGET_SUBDIR)/libffi && \
38527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38529 "RANLIB=$${RANLIB}" \
38530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38531 dvi) \
38532 || exit 1
38534 @endif target-libffi
38536 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38537 maybe-pdf-target-libffi:
38538 @if target-libffi
38539 maybe-pdf-target-libffi: pdf-target-libffi
38541 pdf-target-libffi: \
38542 configure-target-libffi
38543 @: $(MAKE); $(unstage)
38544 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38545 r=`${PWD_COMMAND}`; export r; \
38546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38547 $(NORMAL_TARGET_EXPORTS) \
38548 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38549 for flag in $(EXTRA_TARGET_FLAGS); do \
38550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38551 done; \
38552 (cd $(TARGET_SUBDIR)/libffi && \
38553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38555 "RANLIB=$${RANLIB}" \
38556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38557 pdf) \
38558 || exit 1
38560 @endif target-libffi
38562 .PHONY: maybe-html-target-libffi html-target-libffi
38563 maybe-html-target-libffi:
38564 @if target-libffi
38565 maybe-html-target-libffi: html-target-libffi
38567 html-target-libffi: \
38568 configure-target-libffi
38569 @: $(MAKE); $(unstage)
38570 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38571 r=`${PWD_COMMAND}`; export r; \
38572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38573 $(NORMAL_TARGET_EXPORTS) \
38574 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38575 for flag in $(EXTRA_TARGET_FLAGS); do \
38576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38577 done; \
38578 (cd $(TARGET_SUBDIR)/libffi && \
38579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38581 "RANLIB=$${RANLIB}" \
38582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38583 html) \
38584 || exit 1
38586 @endif target-libffi
38588 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38589 maybe-TAGS-target-libffi:
38590 @if target-libffi
38591 maybe-TAGS-target-libffi: TAGS-target-libffi
38593 TAGS-target-libffi: \
38594 configure-target-libffi
38595 @: $(MAKE); $(unstage)
38596 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38597 r=`${PWD_COMMAND}`; export r; \
38598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38599 $(NORMAL_TARGET_EXPORTS) \
38600 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38601 for flag in $(EXTRA_TARGET_FLAGS); do \
38602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38603 done; \
38604 (cd $(TARGET_SUBDIR)/libffi && \
38605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38607 "RANLIB=$${RANLIB}" \
38608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38609 TAGS) \
38610 || exit 1
38612 @endif target-libffi
38614 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38615 maybe-install-info-target-libffi:
38616 @if target-libffi
38617 maybe-install-info-target-libffi: install-info-target-libffi
38619 install-info-target-libffi: \
38620 configure-target-libffi \
38621 info-target-libffi
38622 @: $(MAKE); $(unstage)
38623 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38624 r=`${PWD_COMMAND}`; export r; \
38625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38626 $(NORMAL_TARGET_EXPORTS) \
38627 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38628 for flag in $(EXTRA_TARGET_FLAGS); do \
38629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38630 done; \
38631 (cd $(TARGET_SUBDIR)/libffi && \
38632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38634 "RANLIB=$${RANLIB}" \
38635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38636 install-info) \
38637 || exit 1
38639 @endif target-libffi
38641 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38642 maybe-install-html-target-libffi:
38643 @if target-libffi
38644 maybe-install-html-target-libffi: install-html-target-libffi
38646 install-html-target-libffi: \
38647 configure-target-libffi \
38648 html-target-libffi
38649 @: $(MAKE); $(unstage)
38650 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38651 r=`${PWD_COMMAND}`; export r; \
38652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38653 $(NORMAL_TARGET_EXPORTS) \
38654 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38655 for flag in $(EXTRA_TARGET_FLAGS); do \
38656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38657 done; \
38658 (cd $(TARGET_SUBDIR)/libffi && \
38659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38661 "RANLIB=$${RANLIB}" \
38662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38663 install-html) \
38664 || exit 1
38666 @endif target-libffi
38668 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38669 maybe-installcheck-target-libffi:
38670 @if target-libffi
38671 maybe-installcheck-target-libffi: installcheck-target-libffi
38673 installcheck-target-libffi: \
38674 configure-target-libffi
38675 @: $(MAKE); $(unstage)
38676 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38677 r=`${PWD_COMMAND}`; export r; \
38678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38679 $(NORMAL_TARGET_EXPORTS) \
38680 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38681 for flag in $(EXTRA_TARGET_FLAGS); do \
38682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38683 done; \
38684 (cd $(TARGET_SUBDIR)/libffi && \
38685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38687 "RANLIB=$${RANLIB}" \
38688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38689 installcheck) \
38690 || exit 1
38692 @endif target-libffi
38694 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38695 maybe-mostlyclean-target-libffi:
38696 @if target-libffi
38697 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38699 mostlyclean-target-libffi:
38700 @: $(MAKE); $(unstage)
38701 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38702 r=`${PWD_COMMAND}`; export r; \
38703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38704 $(NORMAL_TARGET_EXPORTS) \
38705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38706 for flag in $(EXTRA_TARGET_FLAGS); do \
38707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38708 done; \
38709 (cd $(TARGET_SUBDIR)/libffi && \
38710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38712 "RANLIB=$${RANLIB}" \
38713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38714 mostlyclean) \
38715 || exit 1
38717 @endif target-libffi
38719 .PHONY: maybe-clean-target-libffi clean-target-libffi
38720 maybe-clean-target-libffi:
38721 @if target-libffi
38722 maybe-clean-target-libffi: clean-target-libffi
38724 clean-target-libffi:
38725 @: $(MAKE); $(unstage)
38726 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38727 r=`${PWD_COMMAND}`; export r; \
38728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38729 $(NORMAL_TARGET_EXPORTS) \
38730 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38731 for flag in $(EXTRA_TARGET_FLAGS); do \
38732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38733 done; \
38734 (cd $(TARGET_SUBDIR)/libffi && \
38735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38737 "RANLIB=$${RANLIB}" \
38738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38739 clean) \
38740 || exit 1
38742 @endif target-libffi
38744 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38745 maybe-distclean-target-libffi:
38746 @if target-libffi
38747 maybe-distclean-target-libffi: distclean-target-libffi
38749 distclean-target-libffi:
38750 @: $(MAKE); $(unstage)
38751 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38752 r=`${PWD_COMMAND}`; export r; \
38753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38754 $(NORMAL_TARGET_EXPORTS) \
38755 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38756 for flag in $(EXTRA_TARGET_FLAGS); do \
38757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38758 done; \
38759 (cd $(TARGET_SUBDIR)/libffi && \
38760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38762 "RANLIB=$${RANLIB}" \
38763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38764 distclean) \
38765 || exit 1
38767 @endif target-libffi
38769 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38770 maybe-maintainer-clean-target-libffi:
38771 @if target-libffi
38772 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38774 maintainer-clean-target-libffi:
38775 @: $(MAKE); $(unstage)
38776 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38777 r=`${PWD_COMMAND}`; export r; \
38778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38779 $(NORMAL_TARGET_EXPORTS) \
38780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38781 for flag in $(EXTRA_TARGET_FLAGS); do \
38782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38783 done; \
38784 (cd $(TARGET_SUBDIR)/libffi && \
38785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38787 "RANLIB=$${RANLIB}" \
38788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38789 maintainer-clean) \
38790 || exit 1
38792 @endif target-libffi
38798 .PHONY: configure-target-libjava maybe-configure-target-libjava
38799 maybe-configure-target-libjava:
38800 @if gcc-bootstrap
38801 configure-target-libjava: stage_current
38802 @endif gcc-bootstrap
38803 @if target-libjava
38804 maybe-configure-target-libjava: configure-target-libjava
38805 configure-target-libjava:
38806 @: $(MAKE); $(unstage)
38807 @r=`${PWD_COMMAND}`; export r; \
38808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38809 echo "Checking multilib configuration for libjava..."; \
38810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38811 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38812 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38813 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38814 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38815 else \
38816 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38817 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38818 fi; \
38819 else \
38820 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38821 fi; \
38822 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38823 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38824 $(RAW_CXX_TARGET_EXPORTS) \
38825 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38826 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38827 case $(srcdir) in \
38828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38829 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38831 esac; \
38832 srcdiroption="--srcdir=$${topdir}/libjava"; \
38833 libsrcdir="$$s/libjava"; \
38834 rm -f no-such-file || : ; \
38835 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38836 $(TARGET_CONFIGARGS) $${srcdiroption} \
38837 || exit 1
38838 @endif target-libjava
38844 .PHONY: all-target-libjava maybe-all-target-libjava
38845 maybe-all-target-libjava:
38846 @if gcc-bootstrap
38847 all-target-libjava: stage_current
38848 @endif gcc-bootstrap
38849 @if target-libjava
38850 TARGET-target-libjava=all
38851 maybe-all-target-libjava: all-target-libjava
38852 all-target-libjava: configure-target-libjava
38853 @: $(MAKE); $(unstage)
38854 @r=`${PWD_COMMAND}`; export r; \
38855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38856 $(RAW_CXX_TARGET_EXPORTS) \
38857 (cd $(TARGET_SUBDIR)/libjava && \
38858 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
38859 @endif target-libjava
38865 .PHONY: check-target-libjava maybe-check-target-libjava
38866 maybe-check-target-libjava:
38867 @if target-libjava
38868 maybe-check-target-libjava: check-target-libjava
38870 check-target-libjava:
38871 @: $(MAKE); $(unstage)
38872 @r=`${PWD_COMMAND}`; export r; \
38873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38874 $(RAW_CXX_TARGET_EXPORTS) \
38875 (cd $(TARGET_SUBDIR)/libjava && \
38876 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38878 @endif target-libjava
38880 .PHONY: install-target-libjava maybe-install-target-libjava
38881 maybe-install-target-libjava:
38882 @if target-libjava
38883 maybe-install-target-libjava: install-target-libjava
38885 install-target-libjava: installdirs
38886 @: $(MAKE); $(unstage)
38887 @r=`${PWD_COMMAND}`; export r; \
38888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38889 $(RAW_CXX_TARGET_EXPORTS) \
38890 (cd $(TARGET_SUBDIR)/libjava && \
38891 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38893 @endif target-libjava
38895 # Other targets (info, dvi, pdf, etc.)
38897 .PHONY: maybe-info-target-libjava info-target-libjava
38898 maybe-info-target-libjava:
38899 @if target-libjava
38900 maybe-info-target-libjava: info-target-libjava
38902 info-target-libjava: \
38903 configure-target-libjava
38904 @: $(MAKE); $(unstage)
38905 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38906 r=`${PWD_COMMAND}`; export r; \
38907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38908 $(RAW_CXX_TARGET_EXPORTS) \
38909 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38910 for flag in $(EXTRA_TARGET_FLAGS); do \
38911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38912 done; \
38913 (cd $(TARGET_SUBDIR)/libjava && \
38914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38916 "RANLIB=$${RANLIB}" \
38917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38918 info) \
38919 || exit 1
38921 @endif target-libjava
38923 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38924 maybe-dvi-target-libjava:
38925 @if target-libjava
38926 maybe-dvi-target-libjava: dvi-target-libjava
38928 dvi-target-libjava: \
38929 configure-target-libjava
38930 @: $(MAKE); $(unstage)
38931 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38932 r=`${PWD_COMMAND}`; export r; \
38933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38934 $(RAW_CXX_TARGET_EXPORTS) \
38935 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38936 for flag in $(EXTRA_TARGET_FLAGS); do \
38937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38938 done; \
38939 (cd $(TARGET_SUBDIR)/libjava && \
38940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38942 "RANLIB=$${RANLIB}" \
38943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38944 dvi) \
38945 || exit 1
38947 @endif target-libjava
38949 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38950 maybe-pdf-target-libjava:
38951 @if target-libjava
38952 maybe-pdf-target-libjava: pdf-target-libjava
38954 pdf-target-libjava: \
38955 configure-target-libjava
38956 @: $(MAKE); $(unstage)
38957 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38958 r=`${PWD_COMMAND}`; export r; \
38959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38960 $(RAW_CXX_TARGET_EXPORTS) \
38961 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38962 for flag in $(EXTRA_TARGET_FLAGS); do \
38963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38964 done; \
38965 (cd $(TARGET_SUBDIR)/libjava && \
38966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38968 "RANLIB=$${RANLIB}" \
38969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38970 pdf) \
38971 || exit 1
38973 @endif target-libjava
38975 .PHONY: maybe-html-target-libjava html-target-libjava
38976 maybe-html-target-libjava:
38977 @if target-libjava
38978 maybe-html-target-libjava: html-target-libjava
38980 html-target-libjava: \
38981 configure-target-libjava
38982 @: $(MAKE); $(unstage)
38983 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38984 r=`${PWD_COMMAND}`; export r; \
38985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38986 $(RAW_CXX_TARGET_EXPORTS) \
38987 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
38988 for flag in $(EXTRA_TARGET_FLAGS); do \
38989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38990 done; \
38991 (cd $(TARGET_SUBDIR)/libjava && \
38992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38994 "RANLIB=$${RANLIB}" \
38995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38996 html) \
38997 || exit 1
38999 @endif target-libjava
39001 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39002 maybe-TAGS-target-libjava:
39003 @if target-libjava
39004 maybe-TAGS-target-libjava: TAGS-target-libjava
39006 TAGS-target-libjava: \
39007 configure-target-libjava
39008 @: $(MAKE); $(unstage)
39009 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39010 r=`${PWD_COMMAND}`; export r; \
39011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39012 $(RAW_CXX_TARGET_EXPORTS) \
39013 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39014 for flag in $(EXTRA_TARGET_FLAGS); do \
39015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39016 done; \
39017 (cd $(TARGET_SUBDIR)/libjava && \
39018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39020 "RANLIB=$${RANLIB}" \
39021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39022 TAGS) \
39023 || exit 1
39025 @endif target-libjava
39027 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39028 maybe-install-info-target-libjava:
39029 @if target-libjava
39030 maybe-install-info-target-libjava: install-info-target-libjava
39032 install-info-target-libjava: \
39033 configure-target-libjava \
39034 info-target-libjava
39035 @: $(MAKE); $(unstage)
39036 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39037 r=`${PWD_COMMAND}`; export r; \
39038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39039 $(RAW_CXX_TARGET_EXPORTS) \
39040 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39041 for flag in $(EXTRA_TARGET_FLAGS); do \
39042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39043 done; \
39044 (cd $(TARGET_SUBDIR)/libjava && \
39045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39047 "RANLIB=$${RANLIB}" \
39048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39049 install-info) \
39050 || exit 1
39052 @endif target-libjava
39054 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39055 maybe-install-html-target-libjava:
39056 @if target-libjava
39057 maybe-install-html-target-libjava: install-html-target-libjava
39059 install-html-target-libjava: \
39060 configure-target-libjava \
39061 html-target-libjava
39062 @: $(MAKE); $(unstage)
39063 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39064 r=`${PWD_COMMAND}`; export r; \
39065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39066 $(RAW_CXX_TARGET_EXPORTS) \
39067 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39068 for flag in $(EXTRA_TARGET_FLAGS); do \
39069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39070 done; \
39071 (cd $(TARGET_SUBDIR)/libjava && \
39072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39074 "RANLIB=$${RANLIB}" \
39075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39076 install-html) \
39077 || exit 1
39079 @endif target-libjava
39081 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39082 maybe-installcheck-target-libjava:
39083 @if target-libjava
39084 maybe-installcheck-target-libjava: installcheck-target-libjava
39086 installcheck-target-libjava: \
39087 configure-target-libjava
39088 @: $(MAKE); $(unstage)
39089 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39090 r=`${PWD_COMMAND}`; export r; \
39091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39092 $(RAW_CXX_TARGET_EXPORTS) \
39093 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39094 for flag in $(EXTRA_TARGET_FLAGS); do \
39095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39096 done; \
39097 (cd $(TARGET_SUBDIR)/libjava && \
39098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39100 "RANLIB=$${RANLIB}" \
39101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39102 installcheck) \
39103 || exit 1
39105 @endif target-libjava
39107 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39108 maybe-mostlyclean-target-libjava:
39109 @if target-libjava
39110 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39112 mostlyclean-target-libjava:
39113 @: $(MAKE); $(unstage)
39114 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39115 r=`${PWD_COMMAND}`; export r; \
39116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39117 $(RAW_CXX_TARGET_EXPORTS) \
39118 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39119 for flag in $(EXTRA_TARGET_FLAGS); do \
39120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39121 done; \
39122 (cd $(TARGET_SUBDIR)/libjava && \
39123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39125 "RANLIB=$${RANLIB}" \
39126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39127 mostlyclean) \
39128 || exit 1
39130 @endif target-libjava
39132 .PHONY: maybe-clean-target-libjava clean-target-libjava
39133 maybe-clean-target-libjava:
39134 @if target-libjava
39135 maybe-clean-target-libjava: clean-target-libjava
39137 clean-target-libjava:
39138 @: $(MAKE); $(unstage)
39139 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39140 r=`${PWD_COMMAND}`; export r; \
39141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39142 $(RAW_CXX_TARGET_EXPORTS) \
39143 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39144 for flag in $(EXTRA_TARGET_FLAGS); do \
39145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39146 done; \
39147 (cd $(TARGET_SUBDIR)/libjava && \
39148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39150 "RANLIB=$${RANLIB}" \
39151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39152 clean) \
39153 || exit 1
39155 @endif target-libjava
39157 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39158 maybe-distclean-target-libjava:
39159 @if target-libjava
39160 maybe-distclean-target-libjava: distclean-target-libjava
39162 distclean-target-libjava:
39163 @: $(MAKE); $(unstage)
39164 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39165 r=`${PWD_COMMAND}`; export r; \
39166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39167 $(RAW_CXX_TARGET_EXPORTS) \
39168 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39169 for flag in $(EXTRA_TARGET_FLAGS); do \
39170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39171 done; \
39172 (cd $(TARGET_SUBDIR)/libjava && \
39173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39175 "RANLIB=$${RANLIB}" \
39176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39177 distclean) \
39178 || exit 1
39180 @endif target-libjava
39182 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39183 maybe-maintainer-clean-target-libjava:
39184 @if target-libjava
39185 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39187 maintainer-clean-target-libjava:
39188 @: $(MAKE); $(unstage)
39189 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39190 r=`${PWD_COMMAND}`; export r; \
39191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39192 $(RAW_CXX_TARGET_EXPORTS) \
39193 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39194 for flag in $(EXTRA_TARGET_FLAGS); do \
39195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39196 done; \
39197 (cd $(TARGET_SUBDIR)/libjava && \
39198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39200 "RANLIB=$${RANLIB}" \
39201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39202 maintainer-clean) \
39203 || exit 1
39205 @endif target-libjava
39211 .PHONY: configure-target-zlib maybe-configure-target-zlib
39212 maybe-configure-target-zlib:
39213 @if gcc-bootstrap
39214 configure-target-zlib: stage_current
39215 @endif gcc-bootstrap
39216 @if target-zlib
39217 maybe-configure-target-zlib: configure-target-zlib
39218 configure-target-zlib:
39219 @: $(MAKE); $(unstage)
39220 @r=`${PWD_COMMAND}`; export r; \
39221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39222 echo "Checking multilib configuration for zlib..."; \
39223 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39224 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39225 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39226 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39227 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39228 else \
39229 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39230 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39231 fi; \
39232 else \
39233 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39234 fi; \
39235 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39236 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39237 $(NORMAL_TARGET_EXPORTS) \
39238 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39239 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39240 case $(srcdir) in \
39241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39242 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39244 esac; \
39245 srcdiroption="--srcdir=$${topdir}/zlib"; \
39246 libsrcdir="$$s/zlib"; \
39247 rm -f no-such-file || : ; \
39248 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39249 $(TARGET_CONFIGARGS) $${srcdiroption} \
39250 || exit 1
39251 @endif target-zlib
39257 .PHONY: all-target-zlib maybe-all-target-zlib
39258 maybe-all-target-zlib:
39259 @if gcc-bootstrap
39260 all-target-zlib: stage_current
39261 @endif gcc-bootstrap
39262 @if target-zlib
39263 TARGET-target-zlib=all
39264 maybe-all-target-zlib: all-target-zlib
39265 all-target-zlib: configure-target-zlib
39266 @: $(MAKE); $(unstage)
39267 @r=`${PWD_COMMAND}`; export r; \
39268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39269 $(NORMAL_TARGET_EXPORTS) \
39270 (cd $(TARGET_SUBDIR)/zlib && \
39271 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
39272 @endif target-zlib
39278 .PHONY: check-target-zlib maybe-check-target-zlib
39279 maybe-check-target-zlib:
39280 @if target-zlib
39281 maybe-check-target-zlib: check-target-zlib
39283 check-target-zlib:
39284 @: $(MAKE); $(unstage)
39285 @r=`${PWD_COMMAND}`; export r; \
39286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39287 $(NORMAL_TARGET_EXPORTS) \
39288 (cd $(TARGET_SUBDIR)/zlib && \
39289 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39291 @endif target-zlib
39293 .PHONY: install-target-zlib maybe-install-target-zlib
39294 maybe-install-target-zlib:
39295 @if target-zlib
39296 maybe-install-target-zlib: install-target-zlib
39298 install-target-zlib: installdirs
39299 @: $(MAKE); $(unstage)
39300 @r=`${PWD_COMMAND}`; export r; \
39301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39302 $(NORMAL_TARGET_EXPORTS) \
39303 (cd $(TARGET_SUBDIR)/zlib && \
39304 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39306 @endif target-zlib
39308 # Other targets (info, dvi, pdf, etc.)
39310 .PHONY: maybe-info-target-zlib info-target-zlib
39311 maybe-info-target-zlib:
39312 @if target-zlib
39313 maybe-info-target-zlib: info-target-zlib
39315 info-target-zlib: \
39316 configure-target-zlib
39317 @: $(MAKE); $(unstage)
39318 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39319 r=`${PWD_COMMAND}`; export r; \
39320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39321 $(NORMAL_TARGET_EXPORTS) \
39322 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39323 for flag in $(EXTRA_TARGET_FLAGS); do \
39324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39325 done; \
39326 (cd $(TARGET_SUBDIR)/zlib && \
39327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39329 "RANLIB=$${RANLIB}" \
39330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39331 info) \
39332 || exit 1
39334 @endif target-zlib
39336 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39337 maybe-dvi-target-zlib:
39338 @if target-zlib
39339 maybe-dvi-target-zlib: dvi-target-zlib
39341 dvi-target-zlib: \
39342 configure-target-zlib
39343 @: $(MAKE); $(unstage)
39344 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39345 r=`${PWD_COMMAND}`; export r; \
39346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39347 $(NORMAL_TARGET_EXPORTS) \
39348 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39349 for flag in $(EXTRA_TARGET_FLAGS); do \
39350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39351 done; \
39352 (cd $(TARGET_SUBDIR)/zlib && \
39353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39355 "RANLIB=$${RANLIB}" \
39356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39357 dvi) \
39358 || exit 1
39360 @endif target-zlib
39362 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39363 maybe-pdf-target-zlib:
39364 @if target-zlib
39365 maybe-pdf-target-zlib: pdf-target-zlib
39367 pdf-target-zlib: \
39368 configure-target-zlib
39369 @: $(MAKE); $(unstage)
39370 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39371 r=`${PWD_COMMAND}`; export r; \
39372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39373 $(NORMAL_TARGET_EXPORTS) \
39374 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39375 for flag in $(EXTRA_TARGET_FLAGS); do \
39376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39377 done; \
39378 (cd $(TARGET_SUBDIR)/zlib && \
39379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39381 "RANLIB=$${RANLIB}" \
39382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39383 pdf) \
39384 || exit 1
39386 @endif target-zlib
39388 .PHONY: maybe-html-target-zlib html-target-zlib
39389 maybe-html-target-zlib:
39390 @if target-zlib
39391 maybe-html-target-zlib: html-target-zlib
39393 html-target-zlib: \
39394 configure-target-zlib
39395 @: $(MAKE); $(unstage)
39396 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39397 r=`${PWD_COMMAND}`; export r; \
39398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39399 $(NORMAL_TARGET_EXPORTS) \
39400 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39401 for flag in $(EXTRA_TARGET_FLAGS); do \
39402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39403 done; \
39404 (cd $(TARGET_SUBDIR)/zlib && \
39405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39407 "RANLIB=$${RANLIB}" \
39408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39409 html) \
39410 || exit 1
39412 @endif target-zlib
39414 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39415 maybe-TAGS-target-zlib:
39416 @if target-zlib
39417 maybe-TAGS-target-zlib: TAGS-target-zlib
39419 TAGS-target-zlib: \
39420 configure-target-zlib
39421 @: $(MAKE); $(unstage)
39422 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39423 r=`${PWD_COMMAND}`; export r; \
39424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39425 $(NORMAL_TARGET_EXPORTS) \
39426 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39427 for flag in $(EXTRA_TARGET_FLAGS); do \
39428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39429 done; \
39430 (cd $(TARGET_SUBDIR)/zlib && \
39431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39433 "RANLIB=$${RANLIB}" \
39434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39435 TAGS) \
39436 || exit 1
39438 @endif target-zlib
39440 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39441 maybe-install-info-target-zlib:
39442 @if target-zlib
39443 maybe-install-info-target-zlib: install-info-target-zlib
39445 install-info-target-zlib: \
39446 configure-target-zlib \
39447 info-target-zlib
39448 @: $(MAKE); $(unstage)
39449 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39450 r=`${PWD_COMMAND}`; export r; \
39451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39452 $(NORMAL_TARGET_EXPORTS) \
39453 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39454 for flag in $(EXTRA_TARGET_FLAGS); do \
39455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39456 done; \
39457 (cd $(TARGET_SUBDIR)/zlib && \
39458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39460 "RANLIB=$${RANLIB}" \
39461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39462 install-info) \
39463 || exit 1
39465 @endif target-zlib
39467 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39468 maybe-install-html-target-zlib:
39469 @if target-zlib
39470 maybe-install-html-target-zlib: install-html-target-zlib
39472 install-html-target-zlib: \
39473 configure-target-zlib \
39474 html-target-zlib
39475 @: $(MAKE); $(unstage)
39476 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39477 r=`${PWD_COMMAND}`; export r; \
39478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39479 $(NORMAL_TARGET_EXPORTS) \
39480 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39481 for flag in $(EXTRA_TARGET_FLAGS); do \
39482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39483 done; \
39484 (cd $(TARGET_SUBDIR)/zlib && \
39485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39487 "RANLIB=$${RANLIB}" \
39488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39489 install-html) \
39490 || exit 1
39492 @endif target-zlib
39494 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39495 maybe-installcheck-target-zlib:
39496 @if target-zlib
39497 maybe-installcheck-target-zlib: installcheck-target-zlib
39499 installcheck-target-zlib: \
39500 configure-target-zlib
39501 @: $(MAKE); $(unstage)
39502 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39503 r=`${PWD_COMMAND}`; export r; \
39504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39505 $(NORMAL_TARGET_EXPORTS) \
39506 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39507 for flag in $(EXTRA_TARGET_FLAGS); do \
39508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39509 done; \
39510 (cd $(TARGET_SUBDIR)/zlib && \
39511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39513 "RANLIB=$${RANLIB}" \
39514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39515 installcheck) \
39516 || exit 1
39518 @endif target-zlib
39520 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39521 maybe-mostlyclean-target-zlib:
39522 @if target-zlib
39523 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39525 mostlyclean-target-zlib:
39526 @: $(MAKE); $(unstage)
39527 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39528 r=`${PWD_COMMAND}`; export r; \
39529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39530 $(NORMAL_TARGET_EXPORTS) \
39531 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39532 for flag in $(EXTRA_TARGET_FLAGS); do \
39533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39534 done; \
39535 (cd $(TARGET_SUBDIR)/zlib && \
39536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39538 "RANLIB=$${RANLIB}" \
39539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39540 mostlyclean) \
39541 || exit 1
39543 @endif target-zlib
39545 .PHONY: maybe-clean-target-zlib clean-target-zlib
39546 maybe-clean-target-zlib:
39547 @if target-zlib
39548 maybe-clean-target-zlib: clean-target-zlib
39550 clean-target-zlib:
39551 @: $(MAKE); $(unstage)
39552 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39553 r=`${PWD_COMMAND}`; export r; \
39554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39555 $(NORMAL_TARGET_EXPORTS) \
39556 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39557 for flag in $(EXTRA_TARGET_FLAGS); do \
39558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39559 done; \
39560 (cd $(TARGET_SUBDIR)/zlib && \
39561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39563 "RANLIB=$${RANLIB}" \
39564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39565 clean) \
39566 || exit 1
39568 @endif target-zlib
39570 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39571 maybe-distclean-target-zlib:
39572 @if target-zlib
39573 maybe-distclean-target-zlib: distclean-target-zlib
39575 distclean-target-zlib:
39576 @: $(MAKE); $(unstage)
39577 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39578 r=`${PWD_COMMAND}`; export r; \
39579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39580 $(NORMAL_TARGET_EXPORTS) \
39581 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39582 for flag in $(EXTRA_TARGET_FLAGS); do \
39583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39584 done; \
39585 (cd $(TARGET_SUBDIR)/zlib && \
39586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39588 "RANLIB=$${RANLIB}" \
39589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39590 distclean) \
39591 || exit 1
39593 @endif target-zlib
39595 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39596 maybe-maintainer-clean-target-zlib:
39597 @if target-zlib
39598 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39600 maintainer-clean-target-zlib:
39601 @: $(MAKE); $(unstage)
39602 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39603 r=`${PWD_COMMAND}`; export r; \
39604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39605 $(NORMAL_TARGET_EXPORTS) \
39606 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39607 for flag in $(EXTRA_TARGET_FLAGS); do \
39608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39609 done; \
39610 (cd $(TARGET_SUBDIR)/zlib && \
39611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39613 "RANLIB=$${RANLIB}" \
39614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39615 maintainer-clean) \
39616 || exit 1
39618 @endif target-zlib
39624 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39625 maybe-configure-target-boehm-gc:
39626 @if gcc-bootstrap
39627 configure-target-boehm-gc: stage_current
39628 @endif gcc-bootstrap
39629 @if target-boehm-gc
39630 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39631 configure-target-boehm-gc:
39632 @: $(MAKE); $(unstage)
39633 @r=`${PWD_COMMAND}`; export r; \
39634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39635 echo "Checking multilib configuration for boehm-gc..."; \
39636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39637 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39638 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39639 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39640 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39641 else \
39642 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39643 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39644 fi; \
39645 else \
39646 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39647 fi; \
39648 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39649 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39650 $(NORMAL_TARGET_EXPORTS) \
39651 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39652 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39653 case $(srcdir) in \
39654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39655 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39657 esac; \
39658 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39659 libsrcdir="$$s/boehm-gc"; \
39660 rm -f no-such-file || : ; \
39661 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39662 $(TARGET_CONFIGARGS) $${srcdiroption} \
39663 || exit 1
39664 @endif target-boehm-gc
39670 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39671 maybe-all-target-boehm-gc:
39672 @if gcc-bootstrap
39673 all-target-boehm-gc: stage_current
39674 @endif gcc-bootstrap
39675 @if target-boehm-gc
39676 TARGET-target-boehm-gc=all
39677 maybe-all-target-boehm-gc: all-target-boehm-gc
39678 all-target-boehm-gc: configure-target-boehm-gc
39679 @: $(MAKE); $(unstage)
39680 @r=`${PWD_COMMAND}`; export r; \
39681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39682 $(NORMAL_TARGET_EXPORTS) \
39683 (cd $(TARGET_SUBDIR)/boehm-gc && \
39684 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
39685 @endif target-boehm-gc
39691 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39692 maybe-check-target-boehm-gc:
39693 @if target-boehm-gc
39694 maybe-check-target-boehm-gc: check-target-boehm-gc
39696 check-target-boehm-gc:
39697 @: $(MAKE); $(unstage)
39698 @r=`${PWD_COMMAND}`; export r; \
39699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39700 $(NORMAL_TARGET_EXPORTS) \
39701 (cd $(TARGET_SUBDIR)/boehm-gc && \
39702 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39704 @endif target-boehm-gc
39706 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39707 maybe-install-target-boehm-gc:
39708 @if target-boehm-gc
39709 maybe-install-target-boehm-gc: install-target-boehm-gc
39711 install-target-boehm-gc: installdirs
39712 @: $(MAKE); $(unstage)
39713 @r=`${PWD_COMMAND}`; export r; \
39714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39715 $(NORMAL_TARGET_EXPORTS) \
39716 (cd $(TARGET_SUBDIR)/boehm-gc && \
39717 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39719 @endif target-boehm-gc
39721 # Other targets (info, dvi, pdf, etc.)
39723 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39724 maybe-info-target-boehm-gc:
39725 @if target-boehm-gc
39726 maybe-info-target-boehm-gc: info-target-boehm-gc
39728 info-target-boehm-gc: \
39729 configure-target-boehm-gc
39730 @: $(MAKE); $(unstage)
39731 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39732 r=`${PWD_COMMAND}`; export r; \
39733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39734 $(NORMAL_TARGET_EXPORTS) \
39735 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39736 for flag in $(EXTRA_TARGET_FLAGS); do \
39737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39738 done; \
39739 (cd $(TARGET_SUBDIR)/boehm-gc && \
39740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39742 "RANLIB=$${RANLIB}" \
39743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39744 info) \
39745 || exit 1
39747 @endif target-boehm-gc
39749 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39750 maybe-dvi-target-boehm-gc:
39751 @if target-boehm-gc
39752 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39754 dvi-target-boehm-gc: \
39755 configure-target-boehm-gc
39756 @: $(MAKE); $(unstage)
39757 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39758 r=`${PWD_COMMAND}`; export r; \
39759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39760 $(NORMAL_TARGET_EXPORTS) \
39761 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39762 for flag in $(EXTRA_TARGET_FLAGS); do \
39763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39764 done; \
39765 (cd $(TARGET_SUBDIR)/boehm-gc && \
39766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39768 "RANLIB=$${RANLIB}" \
39769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39770 dvi) \
39771 || exit 1
39773 @endif target-boehm-gc
39775 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39776 maybe-pdf-target-boehm-gc:
39777 @if target-boehm-gc
39778 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39780 pdf-target-boehm-gc: \
39781 configure-target-boehm-gc
39782 @: $(MAKE); $(unstage)
39783 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39784 r=`${PWD_COMMAND}`; export r; \
39785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39786 $(NORMAL_TARGET_EXPORTS) \
39787 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39788 for flag in $(EXTRA_TARGET_FLAGS); do \
39789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39790 done; \
39791 (cd $(TARGET_SUBDIR)/boehm-gc && \
39792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39794 "RANLIB=$${RANLIB}" \
39795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39796 pdf) \
39797 || exit 1
39799 @endif target-boehm-gc
39801 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39802 maybe-html-target-boehm-gc:
39803 @if target-boehm-gc
39804 maybe-html-target-boehm-gc: html-target-boehm-gc
39806 html-target-boehm-gc: \
39807 configure-target-boehm-gc
39808 @: $(MAKE); $(unstage)
39809 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39810 r=`${PWD_COMMAND}`; export r; \
39811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39812 $(NORMAL_TARGET_EXPORTS) \
39813 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39814 for flag in $(EXTRA_TARGET_FLAGS); do \
39815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39816 done; \
39817 (cd $(TARGET_SUBDIR)/boehm-gc && \
39818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39820 "RANLIB=$${RANLIB}" \
39821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39822 html) \
39823 || exit 1
39825 @endif target-boehm-gc
39827 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39828 maybe-TAGS-target-boehm-gc:
39829 @if target-boehm-gc
39830 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39832 TAGS-target-boehm-gc: \
39833 configure-target-boehm-gc
39834 @: $(MAKE); $(unstage)
39835 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39836 r=`${PWD_COMMAND}`; export r; \
39837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39838 $(NORMAL_TARGET_EXPORTS) \
39839 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39840 for flag in $(EXTRA_TARGET_FLAGS); do \
39841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39842 done; \
39843 (cd $(TARGET_SUBDIR)/boehm-gc && \
39844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39846 "RANLIB=$${RANLIB}" \
39847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39848 TAGS) \
39849 || exit 1
39851 @endif target-boehm-gc
39853 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39854 maybe-install-info-target-boehm-gc:
39855 @if target-boehm-gc
39856 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39858 install-info-target-boehm-gc: \
39859 configure-target-boehm-gc \
39860 info-target-boehm-gc
39861 @: $(MAKE); $(unstage)
39862 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39863 r=`${PWD_COMMAND}`; export r; \
39864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39865 $(NORMAL_TARGET_EXPORTS) \
39866 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39867 for flag in $(EXTRA_TARGET_FLAGS); do \
39868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39869 done; \
39870 (cd $(TARGET_SUBDIR)/boehm-gc && \
39871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39873 "RANLIB=$${RANLIB}" \
39874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39875 install-info) \
39876 || exit 1
39878 @endif target-boehm-gc
39880 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39881 maybe-install-html-target-boehm-gc:
39882 @if target-boehm-gc
39883 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39885 install-html-target-boehm-gc: \
39886 configure-target-boehm-gc \
39887 html-target-boehm-gc
39888 @: $(MAKE); $(unstage)
39889 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39890 r=`${PWD_COMMAND}`; export r; \
39891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39892 $(NORMAL_TARGET_EXPORTS) \
39893 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39894 for flag in $(EXTRA_TARGET_FLAGS); do \
39895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39896 done; \
39897 (cd $(TARGET_SUBDIR)/boehm-gc && \
39898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39900 "RANLIB=$${RANLIB}" \
39901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39902 install-html) \
39903 || exit 1
39905 @endif target-boehm-gc
39907 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39908 maybe-installcheck-target-boehm-gc:
39909 @if target-boehm-gc
39910 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39912 installcheck-target-boehm-gc: \
39913 configure-target-boehm-gc
39914 @: $(MAKE); $(unstage)
39915 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39916 r=`${PWD_COMMAND}`; export r; \
39917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39918 $(NORMAL_TARGET_EXPORTS) \
39919 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39920 for flag in $(EXTRA_TARGET_FLAGS); do \
39921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39922 done; \
39923 (cd $(TARGET_SUBDIR)/boehm-gc && \
39924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39926 "RANLIB=$${RANLIB}" \
39927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39928 installcheck) \
39929 || exit 1
39931 @endif target-boehm-gc
39933 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39934 maybe-mostlyclean-target-boehm-gc:
39935 @if target-boehm-gc
39936 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39938 mostlyclean-target-boehm-gc:
39939 @: $(MAKE); $(unstage)
39940 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39941 r=`${PWD_COMMAND}`; export r; \
39942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39943 $(NORMAL_TARGET_EXPORTS) \
39944 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39945 for flag in $(EXTRA_TARGET_FLAGS); do \
39946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39947 done; \
39948 (cd $(TARGET_SUBDIR)/boehm-gc && \
39949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39951 "RANLIB=$${RANLIB}" \
39952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39953 mostlyclean) \
39954 || exit 1
39956 @endif target-boehm-gc
39958 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39959 maybe-clean-target-boehm-gc:
39960 @if target-boehm-gc
39961 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39963 clean-target-boehm-gc:
39964 @: $(MAKE); $(unstage)
39965 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39966 r=`${PWD_COMMAND}`; export r; \
39967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39968 $(NORMAL_TARGET_EXPORTS) \
39969 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39970 for flag in $(EXTRA_TARGET_FLAGS); do \
39971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39972 done; \
39973 (cd $(TARGET_SUBDIR)/boehm-gc && \
39974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39976 "RANLIB=$${RANLIB}" \
39977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39978 clean) \
39979 || exit 1
39981 @endif target-boehm-gc
39983 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
39984 maybe-distclean-target-boehm-gc:
39985 @if target-boehm-gc
39986 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
39988 distclean-target-boehm-gc:
39989 @: $(MAKE); $(unstage)
39990 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39991 r=`${PWD_COMMAND}`; export r; \
39992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39993 $(NORMAL_TARGET_EXPORTS) \
39994 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39995 for flag in $(EXTRA_TARGET_FLAGS); do \
39996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39997 done; \
39998 (cd $(TARGET_SUBDIR)/boehm-gc && \
39999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40001 "RANLIB=$${RANLIB}" \
40002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40003 distclean) \
40004 || exit 1
40006 @endif target-boehm-gc
40008 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40009 maybe-maintainer-clean-target-boehm-gc:
40010 @if target-boehm-gc
40011 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40013 maintainer-clean-target-boehm-gc:
40014 @: $(MAKE); $(unstage)
40015 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40016 r=`${PWD_COMMAND}`; export r; \
40017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40018 $(NORMAL_TARGET_EXPORTS) \
40019 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40020 for flag in $(EXTRA_TARGET_FLAGS); do \
40021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40022 done; \
40023 (cd $(TARGET_SUBDIR)/boehm-gc && \
40024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40026 "RANLIB=$${RANLIB}" \
40027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40028 maintainer-clean) \
40029 || exit 1
40031 @endif target-boehm-gc
40037 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
40038 maybe-configure-target-qthreads:
40039 @if gcc-bootstrap
40040 configure-target-qthreads: stage_current
40041 @endif gcc-bootstrap
40042 @if target-qthreads
40043 maybe-configure-target-qthreads: configure-target-qthreads
40044 configure-target-qthreads:
40045 @: $(MAKE); $(unstage)
40046 @r=`${PWD_COMMAND}`; export r; \
40047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40048 echo "Checking multilib configuration for qthreads..."; \
40049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40050 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
40051 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40052 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40053 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
40054 else \
40055 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
40056 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40057 fi; \
40058 else \
40059 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40060 fi; \
40061 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
40062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40063 $(NORMAL_TARGET_EXPORTS) \
40064 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
40065 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
40066 case $(srcdir) in \
40067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40068 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
40069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40070 esac; \
40071 srcdiroption="--srcdir=$${topdir}/qthreads"; \
40072 libsrcdir="$$s/qthreads"; \
40073 rm -f no-such-file || : ; \
40074 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40075 $(TARGET_CONFIGARGS) $${srcdiroption} \
40076 || exit 1
40077 @endif target-qthreads
40083 .PHONY: all-target-qthreads maybe-all-target-qthreads
40084 maybe-all-target-qthreads:
40085 @if gcc-bootstrap
40086 all-target-qthreads: stage_current
40087 @endif gcc-bootstrap
40088 @if target-qthreads
40089 TARGET-target-qthreads=all
40090 maybe-all-target-qthreads: all-target-qthreads
40091 all-target-qthreads: configure-target-qthreads
40092 @: $(MAKE); $(unstage)
40093 @r=`${PWD_COMMAND}`; export r; \
40094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40095 $(NORMAL_TARGET_EXPORTS) \
40096 (cd $(TARGET_SUBDIR)/qthreads && \
40097 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
40098 @endif target-qthreads
40104 .PHONY: check-target-qthreads maybe-check-target-qthreads
40105 maybe-check-target-qthreads:
40106 @if target-qthreads
40107 maybe-check-target-qthreads: check-target-qthreads
40109 check-target-qthreads:
40110 @: $(MAKE); $(unstage)
40111 @r=`${PWD_COMMAND}`; export r; \
40112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40113 $(NORMAL_TARGET_EXPORTS) \
40114 (cd $(TARGET_SUBDIR)/qthreads && \
40115 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40117 @endif target-qthreads
40119 .PHONY: install-target-qthreads maybe-install-target-qthreads
40120 maybe-install-target-qthreads:
40121 @if target-qthreads
40122 maybe-install-target-qthreads: install-target-qthreads
40124 install-target-qthreads: installdirs
40125 @: $(MAKE); $(unstage)
40126 @r=`${PWD_COMMAND}`; export r; \
40127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40128 $(NORMAL_TARGET_EXPORTS) \
40129 (cd $(TARGET_SUBDIR)/qthreads && \
40130 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40132 @endif target-qthreads
40134 # Other targets (info, dvi, pdf, etc.)
40136 .PHONY: maybe-info-target-qthreads info-target-qthreads
40137 maybe-info-target-qthreads:
40138 @if target-qthreads
40139 maybe-info-target-qthreads: info-target-qthreads
40141 info-target-qthreads: \
40142 configure-target-qthreads
40143 @: $(MAKE); $(unstage)
40144 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40145 r=`${PWD_COMMAND}`; export r; \
40146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40147 $(NORMAL_TARGET_EXPORTS) \
40148 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
40149 for flag in $(EXTRA_TARGET_FLAGS); do \
40150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40151 done; \
40152 (cd $(TARGET_SUBDIR)/qthreads && \
40153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40155 "RANLIB=$${RANLIB}" \
40156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40157 info) \
40158 || exit 1
40160 @endif target-qthreads
40162 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
40163 maybe-dvi-target-qthreads:
40164 @if target-qthreads
40165 maybe-dvi-target-qthreads: dvi-target-qthreads
40167 dvi-target-qthreads: \
40168 configure-target-qthreads
40169 @: $(MAKE); $(unstage)
40170 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40171 r=`${PWD_COMMAND}`; export r; \
40172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40173 $(NORMAL_TARGET_EXPORTS) \
40174 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
40175 for flag in $(EXTRA_TARGET_FLAGS); do \
40176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40177 done; \
40178 (cd $(TARGET_SUBDIR)/qthreads && \
40179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40181 "RANLIB=$${RANLIB}" \
40182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40183 dvi) \
40184 || exit 1
40186 @endif target-qthreads
40188 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
40189 maybe-pdf-target-qthreads:
40190 @if target-qthreads
40191 maybe-pdf-target-qthreads: pdf-target-qthreads
40193 pdf-target-qthreads: \
40194 configure-target-qthreads
40195 @: $(MAKE); $(unstage)
40196 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40197 r=`${PWD_COMMAND}`; export r; \
40198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40199 $(NORMAL_TARGET_EXPORTS) \
40200 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
40201 for flag in $(EXTRA_TARGET_FLAGS); do \
40202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40203 done; \
40204 (cd $(TARGET_SUBDIR)/qthreads && \
40205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40207 "RANLIB=$${RANLIB}" \
40208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40209 pdf) \
40210 || exit 1
40212 @endif target-qthreads
40214 .PHONY: maybe-html-target-qthreads html-target-qthreads
40215 maybe-html-target-qthreads:
40216 @if target-qthreads
40217 maybe-html-target-qthreads: html-target-qthreads
40219 html-target-qthreads: \
40220 configure-target-qthreads
40221 @: $(MAKE); $(unstage)
40222 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40223 r=`${PWD_COMMAND}`; export r; \
40224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40225 $(NORMAL_TARGET_EXPORTS) \
40226 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
40227 for flag in $(EXTRA_TARGET_FLAGS); do \
40228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40229 done; \
40230 (cd $(TARGET_SUBDIR)/qthreads && \
40231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40233 "RANLIB=$${RANLIB}" \
40234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40235 html) \
40236 || exit 1
40238 @endif target-qthreads
40240 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
40241 maybe-TAGS-target-qthreads:
40242 @if target-qthreads
40243 maybe-TAGS-target-qthreads: TAGS-target-qthreads
40245 TAGS-target-qthreads: \
40246 configure-target-qthreads
40247 @: $(MAKE); $(unstage)
40248 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40249 r=`${PWD_COMMAND}`; export r; \
40250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40251 $(NORMAL_TARGET_EXPORTS) \
40252 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
40253 for flag in $(EXTRA_TARGET_FLAGS); do \
40254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40255 done; \
40256 (cd $(TARGET_SUBDIR)/qthreads && \
40257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40259 "RANLIB=$${RANLIB}" \
40260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40261 TAGS) \
40262 || exit 1
40264 @endif target-qthreads
40266 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
40267 maybe-install-info-target-qthreads:
40268 @if target-qthreads
40269 maybe-install-info-target-qthreads: install-info-target-qthreads
40271 install-info-target-qthreads: \
40272 configure-target-qthreads \
40273 info-target-qthreads
40274 @: $(MAKE); $(unstage)
40275 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40276 r=`${PWD_COMMAND}`; export r; \
40277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40278 $(NORMAL_TARGET_EXPORTS) \
40279 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
40280 for flag in $(EXTRA_TARGET_FLAGS); do \
40281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40282 done; \
40283 (cd $(TARGET_SUBDIR)/qthreads && \
40284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40286 "RANLIB=$${RANLIB}" \
40287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40288 install-info) \
40289 || exit 1
40291 @endif target-qthreads
40293 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
40294 maybe-install-html-target-qthreads:
40295 @if target-qthreads
40296 maybe-install-html-target-qthreads: install-html-target-qthreads
40298 install-html-target-qthreads: \
40299 configure-target-qthreads \
40300 html-target-qthreads
40301 @: $(MAKE); $(unstage)
40302 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40303 r=`${PWD_COMMAND}`; export r; \
40304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40305 $(NORMAL_TARGET_EXPORTS) \
40306 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
40307 for flag in $(EXTRA_TARGET_FLAGS); do \
40308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40309 done; \
40310 (cd $(TARGET_SUBDIR)/qthreads && \
40311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40313 "RANLIB=$${RANLIB}" \
40314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40315 install-html) \
40316 || exit 1
40318 @endif target-qthreads
40320 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
40321 maybe-installcheck-target-qthreads:
40322 @if target-qthreads
40323 maybe-installcheck-target-qthreads: installcheck-target-qthreads
40325 installcheck-target-qthreads: \
40326 configure-target-qthreads
40327 @: $(MAKE); $(unstage)
40328 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40329 r=`${PWD_COMMAND}`; export r; \
40330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40331 $(NORMAL_TARGET_EXPORTS) \
40332 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
40333 for flag in $(EXTRA_TARGET_FLAGS); do \
40334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40335 done; \
40336 (cd $(TARGET_SUBDIR)/qthreads && \
40337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40339 "RANLIB=$${RANLIB}" \
40340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40341 installcheck) \
40342 || exit 1
40344 @endif target-qthreads
40346 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
40347 maybe-mostlyclean-target-qthreads:
40348 @if target-qthreads
40349 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
40351 mostlyclean-target-qthreads:
40352 @: $(MAKE); $(unstage)
40353 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40354 r=`${PWD_COMMAND}`; export r; \
40355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40356 $(NORMAL_TARGET_EXPORTS) \
40357 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
40358 for flag in $(EXTRA_TARGET_FLAGS); do \
40359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40360 done; \
40361 (cd $(TARGET_SUBDIR)/qthreads && \
40362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40364 "RANLIB=$${RANLIB}" \
40365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40366 mostlyclean) \
40367 || exit 1
40369 @endif target-qthreads
40371 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
40372 maybe-clean-target-qthreads:
40373 @if target-qthreads
40374 maybe-clean-target-qthreads: clean-target-qthreads
40376 clean-target-qthreads:
40377 @: $(MAKE); $(unstage)
40378 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(NORMAL_TARGET_EXPORTS) \
40382 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
40383 for flag in $(EXTRA_TARGET_FLAGS); do \
40384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40385 done; \
40386 (cd $(TARGET_SUBDIR)/qthreads && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40391 clean) \
40392 || exit 1
40394 @endif target-qthreads
40396 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
40397 maybe-distclean-target-qthreads:
40398 @if target-qthreads
40399 maybe-distclean-target-qthreads: distclean-target-qthreads
40401 distclean-target-qthreads:
40402 @: $(MAKE); $(unstage)
40403 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40404 r=`${PWD_COMMAND}`; export r; \
40405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40406 $(NORMAL_TARGET_EXPORTS) \
40407 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
40408 for flag in $(EXTRA_TARGET_FLAGS); do \
40409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40410 done; \
40411 (cd $(TARGET_SUBDIR)/qthreads && \
40412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40414 "RANLIB=$${RANLIB}" \
40415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40416 distclean) \
40417 || exit 1
40419 @endif target-qthreads
40421 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
40422 maybe-maintainer-clean-target-qthreads:
40423 @if target-qthreads
40424 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
40426 maintainer-clean-target-qthreads:
40427 @: $(MAKE); $(unstage)
40428 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40429 r=`${PWD_COMMAND}`; export r; \
40430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40431 $(NORMAL_TARGET_EXPORTS) \
40432 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
40433 for flag in $(EXTRA_TARGET_FLAGS); do \
40434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40435 done; \
40436 (cd $(TARGET_SUBDIR)/qthreads && \
40437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40439 "RANLIB=$${RANLIB}" \
40440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40441 maintainer-clean) \
40442 || exit 1
40444 @endif target-qthreads
40450 .PHONY: configure-target-rda maybe-configure-target-rda
40451 maybe-configure-target-rda:
40452 @if gcc-bootstrap
40453 configure-target-rda: stage_current
40454 @endif gcc-bootstrap
40455 @if target-rda
40456 maybe-configure-target-rda: configure-target-rda
40457 configure-target-rda:
40458 @: $(MAKE); $(unstage)
40459 @r=`${PWD_COMMAND}`; export r; \
40460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40461 echo "Checking multilib configuration for rda..."; \
40462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40464 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40465 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40466 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40467 else \
40468 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40469 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40470 fi; \
40471 else \
40472 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40473 fi; \
40474 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40475 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40476 $(NORMAL_TARGET_EXPORTS) \
40477 echo Configuring in $(TARGET_SUBDIR)/rda; \
40478 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40479 case $(srcdir) in \
40480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40481 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40483 esac; \
40484 srcdiroption="--srcdir=$${topdir}/rda"; \
40485 libsrcdir="$$s/rda"; \
40486 rm -f no-such-file || : ; \
40487 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40488 $(TARGET_CONFIGARGS) $${srcdiroption} \
40489 || exit 1
40490 @endif target-rda
40496 .PHONY: all-target-rda maybe-all-target-rda
40497 maybe-all-target-rda:
40498 @if gcc-bootstrap
40499 all-target-rda: stage_current
40500 @endif gcc-bootstrap
40501 @if target-rda
40502 TARGET-target-rda=all
40503 maybe-all-target-rda: all-target-rda
40504 all-target-rda: configure-target-rda
40505 @: $(MAKE); $(unstage)
40506 @r=`${PWD_COMMAND}`; export r; \
40507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40508 $(NORMAL_TARGET_EXPORTS) \
40509 (cd $(TARGET_SUBDIR)/rda && \
40510 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
40511 @endif target-rda
40517 .PHONY: check-target-rda maybe-check-target-rda
40518 maybe-check-target-rda:
40519 @if target-rda
40520 maybe-check-target-rda: check-target-rda
40522 check-target-rda:
40523 @: $(MAKE); $(unstage)
40524 @r=`${PWD_COMMAND}`; export r; \
40525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40526 $(NORMAL_TARGET_EXPORTS) \
40527 (cd $(TARGET_SUBDIR)/rda && \
40528 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40530 @endif target-rda
40532 .PHONY: install-target-rda maybe-install-target-rda
40533 maybe-install-target-rda:
40534 @if target-rda
40535 maybe-install-target-rda: install-target-rda
40537 install-target-rda: installdirs
40538 @: $(MAKE); $(unstage)
40539 @r=`${PWD_COMMAND}`; export r; \
40540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40541 $(NORMAL_TARGET_EXPORTS) \
40542 (cd $(TARGET_SUBDIR)/rda && \
40543 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40545 @endif target-rda
40547 # Other targets (info, dvi, pdf, etc.)
40549 .PHONY: maybe-info-target-rda info-target-rda
40550 maybe-info-target-rda:
40551 @if target-rda
40552 maybe-info-target-rda: info-target-rda
40554 info-target-rda: \
40555 configure-target-rda
40556 @: $(MAKE); $(unstage)
40557 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40558 r=`${PWD_COMMAND}`; export r; \
40559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40560 $(NORMAL_TARGET_EXPORTS) \
40561 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40562 for flag in $(EXTRA_TARGET_FLAGS); do \
40563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40564 done; \
40565 (cd $(TARGET_SUBDIR)/rda && \
40566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40568 "RANLIB=$${RANLIB}" \
40569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40570 info) \
40571 || exit 1
40573 @endif target-rda
40575 .PHONY: maybe-dvi-target-rda dvi-target-rda
40576 maybe-dvi-target-rda:
40577 @if target-rda
40578 maybe-dvi-target-rda: dvi-target-rda
40580 dvi-target-rda: \
40581 configure-target-rda
40582 @: $(MAKE); $(unstage)
40583 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40584 r=`${PWD_COMMAND}`; export r; \
40585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40586 $(NORMAL_TARGET_EXPORTS) \
40587 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40588 for flag in $(EXTRA_TARGET_FLAGS); do \
40589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40590 done; \
40591 (cd $(TARGET_SUBDIR)/rda && \
40592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40594 "RANLIB=$${RANLIB}" \
40595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40596 dvi) \
40597 || exit 1
40599 @endif target-rda
40601 .PHONY: maybe-pdf-target-rda pdf-target-rda
40602 maybe-pdf-target-rda:
40603 @if target-rda
40604 maybe-pdf-target-rda: pdf-target-rda
40606 pdf-target-rda: \
40607 configure-target-rda
40608 @: $(MAKE); $(unstage)
40609 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40610 r=`${PWD_COMMAND}`; export r; \
40611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40612 $(NORMAL_TARGET_EXPORTS) \
40613 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40614 for flag in $(EXTRA_TARGET_FLAGS); do \
40615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40616 done; \
40617 (cd $(TARGET_SUBDIR)/rda && \
40618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40620 "RANLIB=$${RANLIB}" \
40621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40622 pdf) \
40623 || exit 1
40625 @endif target-rda
40627 .PHONY: maybe-html-target-rda html-target-rda
40628 maybe-html-target-rda:
40629 @if target-rda
40630 maybe-html-target-rda: html-target-rda
40632 html-target-rda: \
40633 configure-target-rda
40634 @: $(MAKE); $(unstage)
40635 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40636 r=`${PWD_COMMAND}`; export r; \
40637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40638 $(NORMAL_TARGET_EXPORTS) \
40639 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40640 for flag in $(EXTRA_TARGET_FLAGS); do \
40641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40642 done; \
40643 (cd $(TARGET_SUBDIR)/rda && \
40644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40646 "RANLIB=$${RANLIB}" \
40647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40648 html) \
40649 || exit 1
40651 @endif target-rda
40653 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40654 maybe-TAGS-target-rda:
40655 @if target-rda
40656 maybe-TAGS-target-rda: TAGS-target-rda
40658 TAGS-target-rda: \
40659 configure-target-rda
40660 @: $(MAKE); $(unstage)
40661 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40662 r=`${PWD_COMMAND}`; export r; \
40663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40664 $(NORMAL_TARGET_EXPORTS) \
40665 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40666 for flag in $(EXTRA_TARGET_FLAGS); do \
40667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40668 done; \
40669 (cd $(TARGET_SUBDIR)/rda && \
40670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40672 "RANLIB=$${RANLIB}" \
40673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40674 TAGS) \
40675 || exit 1
40677 @endif target-rda
40679 .PHONY: maybe-install-info-target-rda install-info-target-rda
40680 maybe-install-info-target-rda:
40681 @if target-rda
40682 maybe-install-info-target-rda: install-info-target-rda
40684 install-info-target-rda: \
40685 configure-target-rda \
40686 info-target-rda
40687 @: $(MAKE); $(unstage)
40688 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40689 r=`${PWD_COMMAND}`; export r; \
40690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40691 $(NORMAL_TARGET_EXPORTS) \
40692 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40693 for flag in $(EXTRA_TARGET_FLAGS); do \
40694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40695 done; \
40696 (cd $(TARGET_SUBDIR)/rda && \
40697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40699 "RANLIB=$${RANLIB}" \
40700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40701 install-info) \
40702 || exit 1
40704 @endif target-rda
40706 .PHONY: maybe-install-html-target-rda install-html-target-rda
40707 maybe-install-html-target-rda:
40708 @if target-rda
40709 maybe-install-html-target-rda: install-html-target-rda
40711 install-html-target-rda: \
40712 configure-target-rda \
40713 html-target-rda
40714 @: $(MAKE); $(unstage)
40715 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40716 r=`${PWD_COMMAND}`; export r; \
40717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40718 $(NORMAL_TARGET_EXPORTS) \
40719 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40720 for flag in $(EXTRA_TARGET_FLAGS); do \
40721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40722 done; \
40723 (cd $(TARGET_SUBDIR)/rda && \
40724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40726 "RANLIB=$${RANLIB}" \
40727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40728 install-html) \
40729 || exit 1
40731 @endif target-rda
40733 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40734 maybe-installcheck-target-rda:
40735 @if target-rda
40736 maybe-installcheck-target-rda: installcheck-target-rda
40738 installcheck-target-rda: \
40739 configure-target-rda
40740 @: $(MAKE); $(unstage)
40741 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40742 r=`${PWD_COMMAND}`; export r; \
40743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40744 $(NORMAL_TARGET_EXPORTS) \
40745 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40746 for flag in $(EXTRA_TARGET_FLAGS); do \
40747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40748 done; \
40749 (cd $(TARGET_SUBDIR)/rda && \
40750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40752 "RANLIB=$${RANLIB}" \
40753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40754 installcheck) \
40755 || exit 1
40757 @endif target-rda
40759 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40760 maybe-mostlyclean-target-rda:
40761 @if target-rda
40762 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40764 mostlyclean-target-rda:
40765 @: $(MAKE); $(unstage)
40766 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40767 r=`${PWD_COMMAND}`; export r; \
40768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40769 $(NORMAL_TARGET_EXPORTS) \
40770 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40771 for flag in $(EXTRA_TARGET_FLAGS); do \
40772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40773 done; \
40774 (cd $(TARGET_SUBDIR)/rda && \
40775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40777 "RANLIB=$${RANLIB}" \
40778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40779 mostlyclean) \
40780 || exit 1
40782 @endif target-rda
40784 .PHONY: maybe-clean-target-rda clean-target-rda
40785 maybe-clean-target-rda:
40786 @if target-rda
40787 maybe-clean-target-rda: clean-target-rda
40789 clean-target-rda:
40790 @: $(MAKE); $(unstage)
40791 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40792 r=`${PWD_COMMAND}`; export r; \
40793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40794 $(NORMAL_TARGET_EXPORTS) \
40795 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40796 for flag in $(EXTRA_TARGET_FLAGS); do \
40797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40798 done; \
40799 (cd $(TARGET_SUBDIR)/rda && \
40800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40802 "RANLIB=$${RANLIB}" \
40803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40804 clean) \
40805 || exit 1
40807 @endif target-rda
40809 .PHONY: maybe-distclean-target-rda distclean-target-rda
40810 maybe-distclean-target-rda:
40811 @if target-rda
40812 maybe-distclean-target-rda: distclean-target-rda
40814 distclean-target-rda:
40815 @: $(MAKE); $(unstage)
40816 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40817 r=`${PWD_COMMAND}`; export r; \
40818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40819 $(NORMAL_TARGET_EXPORTS) \
40820 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40821 for flag in $(EXTRA_TARGET_FLAGS); do \
40822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40823 done; \
40824 (cd $(TARGET_SUBDIR)/rda && \
40825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40827 "RANLIB=$${RANLIB}" \
40828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40829 distclean) \
40830 || exit 1
40832 @endif target-rda
40834 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40835 maybe-maintainer-clean-target-rda:
40836 @if target-rda
40837 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40839 maintainer-clean-target-rda:
40840 @: $(MAKE); $(unstage)
40841 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40842 r=`${PWD_COMMAND}`; export r; \
40843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40844 $(NORMAL_TARGET_EXPORTS) \
40845 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40846 for flag in $(EXTRA_TARGET_FLAGS); do \
40847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40848 done; \
40849 (cd $(TARGET_SUBDIR)/rda && \
40850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40852 "RANLIB=$${RANLIB}" \
40853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40854 maintainer-clean) \
40855 || exit 1
40857 @endif target-rda
40863 .PHONY: configure-target-libada maybe-configure-target-libada
40864 maybe-configure-target-libada:
40865 @if gcc-bootstrap
40866 configure-target-libada: stage_current
40867 @endif gcc-bootstrap
40868 @if target-libada
40869 maybe-configure-target-libada: configure-target-libada
40870 configure-target-libada:
40871 @: $(MAKE); $(unstage)
40872 @r=`${PWD_COMMAND}`; export r; \
40873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40874 echo "Checking multilib configuration for libada..."; \
40875 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40876 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40877 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40878 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40879 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40880 else \
40881 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40882 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40883 fi; \
40884 else \
40885 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40886 fi; \
40887 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40888 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40889 $(NORMAL_TARGET_EXPORTS) \
40890 echo Configuring in $(TARGET_SUBDIR)/libada; \
40891 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40892 case $(srcdir) in \
40893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40894 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40896 esac; \
40897 srcdiroption="--srcdir=$${topdir}/libada"; \
40898 libsrcdir="$$s/libada"; \
40899 rm -f no-such-file || : ; \
40900 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40901 $(TARGET_CONFIGARGS) $${srcdiroption} \
40902 || exit 1
40903 @endif target-libada
40909 .PHONY: all-target-libada maybe-all-target-libada
40910 maybe-all-target-libada:
40911 @if gcc-bootstrap
40912 all-target-libada: stage_current
40913 @endif gcc-bootstrap
40914 @if target-libada
40915 TARGET-target-libada=all
40916 maybe-all-target-libada: all-target-libada
40917 all-target-libada: configure-target-libada
40918 @: $(MAKE); $(unstage)
40919 @r=`${PWD_COMMAND}`; export r; \
40920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40921 $(NORMAL_TARGET_EXPORTS) \
40922 (cd $(TARGET_SUBDIR)/libada && \
40923 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
40924 @endif target-libada
40930 .PHONY: check-target-libada maybe-check-target-libada
40931 maybe-check-target-libada:
40932 @if target-libada
40933 maybe-check-target-libada: check-target-libada
40935 check-target-libada:
40936 @: $(MAKE); $(unstage)
40937 @r=`${PWD_COMMAND}`; export r; \
40938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40939 $(NORMAL_TARGET_EXPORTS) \
40940 (cd $(TARGET_SUBDIR)/libada && \
40941 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40943 @endif target-libada
40945 .PHONY: install-target-libada maybe-install-target-libada
40946 maybe-install-target-libada:
40947 @if target-libada
40948 maybe-install-target-libada: install-target-libada
40950 install-target-libada: installdirs
40951 @: $(MAKE); $(unstage)
40952 @r=`${PWD_COMMAND}`; export r; \
40953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40954 $(NORMAL_TARGET_EXPORTS) \
40955 (cd $(TARGET_SUBDIR)/libada && \
40956 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40958 @endif target-libada
40960 # Other targets (info, dvi, pdf, etc.)
40962 .PHONY: maybe-info-target-libada info-target-libada
40963 maybe-info-target-libada:
40964 @if target-libada
40965 maybe-info-target-libada: info-target-libada
40967 info-target-libada: \
40968 configure-target-libada
40969 @: $(MAKE); $(unstage)
40970 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40971 r=`${PWD_COMMAND}`; export r; \
40972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40973 $(NORMAL_TARGET_EXPORTS) \
40974 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40975 for flag in $(EXTRA_TARGET_FLAGS); do \
40976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40977 done; \
40978 (cd $(TARGET_SUBDIR)/libada && \
40979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40981 "RANLIB=$${RANLIB}" \
40982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40983 info) \
40984 || exit 1
40986 @endif target-libada
40988 .PHONY: maybe-dvi-target-libada dvi-target-libada
40989 maybe-dvi-target-libada:
40990 @if target-libada
40991 maybe-dvi-target-libada: dvi-target-libada
40993 dvi-target-libada: \
40994 configure-target-libada
40995 @: $(MAKE); $(unstage)
40996 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40997 r=`${PWD_COMMAND}`; export r; \
40998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40999 $(NORMAL_TARGET_EXPORTS) \
41000 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41001 for flag in $(EXTRA_TARGET_FLAGS); do \
41002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41003 done; \
41004 (cd $(TARGET_SUBDIR)/libada && \
41005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41007 "RANLIB=$${RANLIB}" \
41008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41009 dvi) \
41010 || exit 1
41012 @endif target-libada
41014 .PHONY: maybe-pdf-target-libada pdf-target-libada
41015 maybe-pdf-target-libada:
41016 @if target-libada
41017 maybe-pdf-target-libada: pdf-target-libada
41019 pdf-target-libada: \
41020 configure-target-libada
41021 @: $(MAKE); $(unstage)
41022 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41023 r=`${PWD_COMMAND}`; export r; \
41024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41025 $(NORMAL_TARGET_EXPORTS) \
41026 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41027 for flag in $(EXTRA_TARGET_FLAGS); do \
41028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41029 done; \
41030 (cd $(TARGET_SUBDIR)/libada && \
41031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41033 "RANLIB=$${RANLIB}" \
41034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41035 pdf) \
41036 || exit 1
41038 @endif target-libada
41040 .PHONY: maybe-html-target-libada html-target-libada
41041 maybe-html-target-libada:
41042 @if target-libada
41043 maybe-html-target-libada: html-target-libada
41045 html-target-libada: \
41046 configure-target-libada
41047 @: $(MAKE); $(unstage)
41048 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41049 r=`${PWD_COMMAND}`; export r; \
41050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41051 $(NORMAL_TARGET_EXPORTS) \
41052 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41053 for flag in $(EXTRA_TARGET_FLAGS); do \
41054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41055 done; \
41056 (cd $(TARGET_SUBDIR)/libada && \
41057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41059 "RANLIB=$${RANLIB}" \
41060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41061 html) \
41062 || exit 1
41064 @endif target-libada
41066 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41067 maybe-TAGS-target-libada:
41068 @if target-libada
41069 maybe-TAGS-target-libada: TAGS-target-libada
41071 TAGS-target-libada: \
41072 configure-target-libada
41073 @: $(MAKE); $(unstage)
41074 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41075 r=`${PWD_COMMAND}`; export r; \
41076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41077 $(NORMAL_TARGET_EXPORTS) \
41078 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41079 for flag in $(EXTRA_TARGET_FLAGS); do \
41080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41081 done; \
41082 (cd $(TARGET_SUBDIR)/libada && \
41083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41085 "RANLIB=$${RANLIB}" \
41086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41087 TAGS) \
41088 || exit 1
41090 @endif target-libada
41092 .PHONY: maybe-install-info-target-libada install-info-target-libada
41093 maybe-install-info-target-libada:
41094 @if target-libada
41095 maybe-install-info-target-libada: install-info-target-libada
41097 install-info-target-libada: \
41098 configure-target-libada \
41099 info-target-libada
41100 @: $(MAKE); $(unstage)
41101 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41102 r=`${PWD_COMMAND}`; export r; \
41103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41104 $(NORMAL_TARGET_EXPORTS) \
41105 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41106 for flag in $(EXTRA_TARGET_FLAGS); do \
41107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41108 done; \
41109 (cd $(TARGET_SUBDIR)/libada && \
41110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41112 "RANLIB=$${RANLIB}" \
41113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41114 install-info) \
41115 || exit 1
41117 @endif target-libada
41119 .PHONY: maybe-install-html-target-libada install-html-target-libada
41120 maybe-install-html-target-libada:
41121 @if target-libada
41122 maybe-install-html-target-libada: install-html-target-libada
41124 install-html-target-libada: \
41125 configure-target-libada \
41126 html-target-libada
41127 @: $(MAKE); $(unstage)
41128 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41129 r=`${PWD_COMMAND}`; export r; \
41130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41131 $(NORMAL_TARGET_EXPORTS) \
41132 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41133 for flag in $(EXTRA_TARGET_FLAGS); do \
41134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41135 done; \
41136 (cd $(TARGET_SUBDIR)/libada && \
41137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41139 "RANLIB=$${RANLIB}" \
41140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41141 install-html) \
41142 || exit 1
41144 @endif target-libada
41146 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41147 maybe-installcheck-target-libada:
41148 @if target-libada
41149 maybe-installcheck-target-libada: installcheck-target-libada
41151 installcheck-target-libada: \
41152 configure-target-libada
41153 @: $(MAKE); $(unstage)
41154 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41155 r=`${PWD_COMMAND}`; export r; \
41156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41157 $(NORMAL_TARGET_EXPORTS) \
41158 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41159 for flag in $(EXTRA_TARGET_FLAGS); do \
41160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41161 done; \
41162 (cd $(TARGET_SUBDIR)/libada && \
41163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41165 "RANLIB=$${RANLIB}" \
41166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41167 installcheck) \
41168 || exit 1
41170 @endif target-libada
41172 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41173 maybe-mostlyclean-target-libada:
41174 @if target-libada
41175 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41177 mostlyclean-target-libada:
41178 @: $(MAKE); $(unstage)
41179 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41180 r=`${PWD_COMMAND}`; export r; \
41181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41182 $(NORMAL_TARGET_EXPORTS) \
41183 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41184 for flag in $(EXTRA_TARGET_FLAGS); do \
41185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41186 done; \
41187 (cd $(TARGET_SUBDIR)/libada && \
41188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41190 "RANLIB=$${RANLIB}" \
41191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41192 mostlyclean) \
41193 || exit 1
41195 @endif target-libada
41197 .PHONY: maybe-clean-target-libada clean-target-libada
41198 maybe-clean-target-libada:
41199 @if target-libada
41200 maybe-clean-target-libada: clean-target-libada
41202 clean-target-libada:
41203 @: $(MAKE); $(unstage)
41204 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41205 r=`${PWD_COMMAND}`; export r; \
41206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41207 $(NORMAL_TARGET_EXPORTS) \
41208 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41209 for flag in $(EXTRA_TARGET_FLAGS); do \
41210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41211 done; \
41212 (cd $(TARGET_SUBDIR)/libada && \
41213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41215 "RANLIB=$${RANLIB}" \
41216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41217 clean) \
41218 || exit 1
41220 @endif target-libada
41222 .PHONY: maybe-distclean-target-libada distclean-target-libada
41223 maybe-distclean-target-libada:
41224 @if target-libada
41225 maybe-distclean-target-libada: distclean-target-libada
41227 distclean-target-libada:
41228 @: $(MAKE); $(unstage)
41229 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41230 r=`${PWD_COMMAND}`; export r; \
41231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41232 $(NORMAL_TARGET_EXPORTS) \
41233 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41234 for flag in $(EXTRA_TARGET_FLAGS); do \
41235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41236 done; \
41237 (cd $(TARGET_SUBDIR)/libada && \
41238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41240 "RANLIB=$${RANLIB}" \
41241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41242 distclean) \
41243 || exit 1
41245 @endif target-libada
41247 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41248 maybe-maintainer-clean-target-libada:
41249 @if target-libada
41250 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41252 maintainer-clean-target-libada:
41253 @: $(MAKE); $(unstage)
41254 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41255 r=`${PWD_COMMAND}`; export r; \
41256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41257 $(NORMAL_TARGET_EXPORTS) \
41258 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41259 for flag in $(EXTRA_TARGET_FLAGS); do \
41260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41261 done; \
41262 (cd $(TARGET_SUBDIR)/libada && \
41263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41265 "RANLIB=$${RANLIB}" \
41266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41267 maintainer-clean) \
41268 || exit 1
41270 @endif target-libada
41276 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41277 maybe-configure-target-libgomp:
41278 @if gcc-bootstrap
41279 configure-target-libgomp: stage_current
41280 @endif gcc-bootstrap
41281 @if target-libgomp
41282 maybe-configure-target-libgomp: configure-target-libgomp
41283 configure-target-libgomp:
41284 @: $(MAKE); $(unstage)
41285 @r=`${PWD_COMMAND}`; export r; \
41286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41287 echo "Checking multilib configuration for libgomp..."; \
41288 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41289 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41290 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41291 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41292 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41293 else \
41294 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41295 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41296 fi; \
41297 else \
41298 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41299 fi; \
41300 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41302 $(NORMAL_TARGET_EXPORTS) \
41303 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41304 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41305 case $(srcdir) in \
41306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41307 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41309 esac; \
41310 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41311 libsrcdir="$$s/libgomp"; \
41312 rm -f no-such-file || : ; \
41313 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41314 $(TARGET_CONFIGARGS) $${srcdiroption} \
41315 || exit 1
41316 @endif target-libgomp
41322 .PHONY: all-target-libgomp maybe-all-target-libgomp
41323 maybe-all-target-libgomp:
41324 @if gcc-bootstrap
41325 all-target-libgomp: stage_current
41326 @endif gcc-bootstrap
41327 @if target-libgomp
41328 TARGET-target-libgomp=all
41329 maybe-all-target-libgomp: all-target-libgomp
41330 all-target-libgomp: configure-target-libgomp
41331 @: $(MAKE); $(unstage)
41332 @r=`${PWD_COMMAND}`; export r; \
41333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41334 $(NORMAL_TARGET_EXPORTS) \
41335 (cd $(TARGET_SUBDIR)/libgomp && \
41336 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
41337 @endif target-libgomp
41343 .PHONY: check-target-libgomp maybe-check-target-libgomp
41344 maybe-check-target-libgomp:
41345 @if target-libgomp
41346 maybe-check-target-libgomp: check-target-libgomp
41348 check-target-libgomp:
41349 @: $(MAKE); $(unstage)
41350 @r=`${PWD_COMMAND}`; export r; \
41351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41352 $(NORMAL_TARGET_EXPORTS) \
41353 (cd $(TARGET_SUBDIR)/libgomp && \
41354 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41356 @endif target-libgomp
41358 .PHONY: install-target-libgomp maybe-install-target-libgomp
41359 maybe-install-target-libgomp:
41360 @if target-libgomp
41361 maybe-install-target-libgomp: install-target-libgomp
41363 install-target-libgomp: installdirs
41364 @: $(MAKE); $(unstage)
41365 @r=`${PWD_COMMAND}`; export r; \
41366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41367 $(NORMAL_TARGET_EXPORTS) \
41368 (cd $(TARGET_SUBDIR)/libgomp && \
41369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41371 @endif target-libgomp
41373 # Other targets (info, dvi, pdf, etc.)
41375 .PHONY: maybe-info-target-libgomp info-target-libgomp
41376 maybe-info-target-libgomp:
41377 @if target-libgomp
41378 maybe-info-target-libgomp: info-target-libgomp
41380 info-target-libgomp: \
41381 configure-target-libgomp
41382 @: $(MAKE); $(unstage)
41383 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41384 r=`${PWD_COMMAND}`; export r; \
41385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41386 $(NORMAL_TARGET_EXPORTS) \
41387 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41388 for flag in $(EXTRA_TARGET_FLAGS); do \
41389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41390 done; \
41391 (cd $(TARGET_SUBDIR)/libgomp && \
41392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41394 "RANLIB=$${RANLIB}" \
41395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41396 info) \
41397 || exit 1
41399 @endif target-libgomp
41401 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41402 maybe-dvi-target-libgomp:
41403 @if target-libgomp
41404 maybe-dvi-target-libgomp: dvi-target-libgomp
41406 dvi-target-libgomp: \
41407 configure-target-libgomp
41408 @: $(MAKE); $(unstage)
41409 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41410 r=`${PWD_COMMAND}`; export r; \
41411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41412 $(NORMAL_TARGET_EXPORTS) \
41413 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41414 for flag in $(EXTRA_TARGET_FLAGS); do \
41415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41416 done; \
41417 (cd $(TARGET_SUBDIR)/libgomp && \
41418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41420 "RANLIB=$${RANLIB}" \
41421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41422 dvi) \
41423 || exit 1
41425 @endif target-libgomp
41427 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41428 maybe-pdf-target-libgomp:
41429 @if target-libgomp
41430 maybe-pdf-target-libgomp: pdf-target-libgomp
41432 pdf-target-libgomp: \
41433 configure-target-libgomp
41434 @: $(MAKE); $(unstage)
41435 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41436 r=`${PWD_COMMAND}`; export r; \
41437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41438 $(NORMAL_TARGET_EXPORTS) \
41439 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41440 for flag in $(EXTRA_TARGET_FLAGS); do \
41441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41442 done; \
41443 (cd $(TARGET_SUBDIR)/libgomp && \
41444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41446 "RANLIB=$${RANLIB}" \
41447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41448 pdf) \
41449 || exit 1
41451 @endif target-libgomp
41453 .PHONY: maybe-html-target-libgomp html-target-libgomp
41454 maybe-html-target-libgomp:
41455 @if target-libgomp
41456 maybe-html-target-libgomp: html-target-libgomp
41458 html-target-libgomp: \
41459 configure-target-libgomp
41460 @: $(MAKE); $(unstage)
41461 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41462 r=`${PWD_COMMAND}`; export r; \
41463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41464 $(NORMAL_TARGET_EXPORTS) \
41465 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41466 for flag in $(EXTRA_TARGET_FLAGS); do \
41467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41468 done; \
41469 (cd $(TARGET_SUBDIR)/libgomp && \
41470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41472 "RANLIB=$${RANLIB}" \
41473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41474 html) \
41475 || exit 1
41477 @endif target-libgomp
41479 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41480 maybe-TAGS-target-libgomp:
41481 @if target-libgomp
41482 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41484 TAGS-target-libgomp: \
41485 configure-target-libgomp
41486 @: $(MAKE); $(unstage)
41487 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41488 r=`${PWD_COMMAND}`; export r; \
41489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41490 $(NORMAL_TARGET_EXPORTS) \
41491 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41492 for flag in $(EXTRA_TARGET_FLAGS); do \
41493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41494 done; \
41495 (cd $(TARGET_SUBDIR)/libgomp && \
41496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41498 "RANLIB=$${RANLIB}" \
41499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41500 TAGS) \
41501 || exit 1
41503 @endif target-libgomp
41505 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41506 maybe-install-info-target-libgomp:
41507 @if target-libgomp
41508 maybe-install-info-target-libgomp: install-info-target-libgomp
41510 install-info-target-libgomp: \
41511 configure-target-libgomp \
41512 info-target-libgomp
41513 @: $(MAKE); $(unstage)
41514 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41515 r=`${PWD_COMMAND}`; export r; \
41516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41517 $(NORMAL_TARGET_EXPORTS) \
41518 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41519 for flag in $(EXTRA_TARGET_FLAGS); do \
41520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41521 done; \
41522 (cd $(TARGET_SUBDIR)/libgomp && \
41523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41525 "RANLIB=$${RANLIB}" \
41526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41527 install-info) \
41528 || exit 1
41530 @endif target-libgomp
41532 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41533 maybe-install-html-target-libgomp:
41534 @if target-libgomp
41535 maybe-install-html-target-libgomp: install-html-target-libgomp
41537 install-html-target-libgomp: \
41538 configure-target-libgomp \
41539 html-target-libgomp
41540 @: $(MAKE); $(unstage)
41541 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41542 r=`${PWD_COMMAND}`; export r; \
41543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41544 $(NORMAL_TARGET_EXPORTS) \
41545 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41546 for flag in $(EXTRA_TARGET_FLAGS); do \
41547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41548 done; \
41549 (cd $(TARGET_SUBDIR)/libgomp && \
41550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41552 "RANLIB=$${RANLIB}" \
41553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41554 install-html) \
41555 || exit 1
41557 @endif target-libgomp
41559 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41560 maybe-installcheck-target-libgomp:
41561 @if target-libgomp
41562 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41564 installcheck-target-libgomp: \
41565 configure-target-libgomp
41566 @: $(MAKE); $(unstage)
41567 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41568 r=`${PWD_COMMAND}`; export r; \
41569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41570 $(NORMAL_TARGET_EXPORTS) \
41571 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41572 for flag in $(EXTRA_TARGET_FLAGS); do \
41573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41574 done; \
41575 (cd $(TARGET_SUBDIR)/libgomp && \
41576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41578 "RANLIB=$${RANLIB}" \
41579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41580 installcheck) \
41581 || exit 1
41583 @endif target-libgomp
41585 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41586 maybe-mostlyclean-target-libgomp:
41587 @if target-libgomp
41588 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41590 mostlyclean-target-libgomp:
41591 @: $(MAKE); $(unstage)
41592 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41593 r=`${PWD_COMMAND}`; export r; \
41594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41595 $(NORMAL_TARGET_EXPORTS) \
41596 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41597 for flag in $(EXTRA_TARGET_FLAGS); do \
41598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41599 done; \
41600 (cd $(TARGET_SUBDIR)/libgomp && \
41601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41603 "RANLIB=$${RANLIB}" \
41604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41605 mostlyclean) \
41606 || exit 1
41608 @endif target-libgomp
41610 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41611 maybe-clean-target-libgomp:
41612 @if target-libgomp
41613 maybe-clean-target-libgomp: clean-target-libgomp
41615 clean-target-libgomp:
41616 @: $(MAKE); $(unstage)
41617 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41618 r=`${PWD_COMMAND}`; export r; \
41619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41620 $(NORMAL_TARGET_EXPORTS) \
41621 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41622 for flag in $(EXTRA_TARGET_FLAGS); do \
41623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41624 done; \
41625 (cd $(TARGET_SUBDIR)/libgomp && \
41626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41628 "RANLIB=$${RANLIB}" \
41629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41630 clean) \
41631 || exit 1
41633 @endif target-libgomp
41635 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41636 maybe-distclean-target-libgomp:
41637 @if target-libgomp
41638 maybe-distclean-target-libgomp: distclean-target-libgomp
41640 distclean-target-libgomp:
41641 @: $(MAKE); $(unstage)
41642 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41643 r=`${PWD_COMMAND}`; export r; \
41644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41645 $(NORMAL_TARGET_EXPORTS) \
41646 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41647 for flag in $(EXTRA_TARGET_FLAGS); do \
41648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41649 done; \
41650 (cd $(TARGET_SUBDIR)/libgomp && \
41651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41653 "RANLIB=$${RANLIB}" \
41654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41655 distclean) \
41656 || exit 1
41658 @endif target-libgomp
41660 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41661 maybe-maintainer-clean-target-libgomp:
41662 @if target-libgomp
41663 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41665 maintainer-clean-target-libgomp:
41666 @: $(MAKE); $(unstage)
41667 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41668 r=`${PWD_COMMAND}`; export r; \
41669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41670 $(NORMAL_TARGET_EXPORTS) \
41671 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41672 for flag in $(EXTRA_TARGET_FLAGS); do \
41673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41674 done; \
41675 (cd $(TARGET_SUBDIR)/libgomp && \
41676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41678 "RANLIB=$${RANLIB}" \
41679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41680 maintainer-clean) \
41681 || exit 1
41683 @endif target-libgomp
41687 # ----------
41688 # GCC module
41689 # ----------
41691 @if gcc-no-bootstrap
41692 # GCC has some more recursive targets, which trigger the old
41693 # (but still current, until the toplevel bootstrap project
41694 # is finished) compiler bootstrapping rules.
41696 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
41697 .PHONY: $(GCC_STRAP_TARGETS)
41698 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
41699 @r=`${PWD_COMMAND}`; export r; \
41700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41701 $(HOST_EXPORTS) \
41702 echo "Bootstrapping the compiler"; \
41703 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41704 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
41705 @r=`${PWD_COMMAND}`; export r; \
41706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41707 case "$@" in \
41708 *bootstrap4-lean ) \
41709 msg="Comparing stage3 and stage4 of the compiler"; \
41710 compare=compare3-lean ;; \
41711 *bootstrap4 ) \
41712 msg="Comparing stage3 and stage4 of the compiler"; \
41713 compare=compare3 ;; \
41714 *-lean ) \
41715 msg="Comparing stage2 and stage3 of the compiler"; \
41716 compare=compare-lean ;; \
41717 * ) \
41718 msg="Comparing stage2 and stage3 of the compiler"; \
41719 compare=compare ;; \
41720 esac; \
41721 $(HOST_EXPORTS) \
41722 echo "$$msg"; \
41723 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
41724 @r=`${PWD_COMMAND}`; export r; \
41725 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41726 echo "Building runtime libraries"; \
41727 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41729 profiledbootstrap: all-prebootstrap configure-gcc
41730 @r=`${PWD_COMMAND}`; export r; \
41731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41732 $(HOST_EXPORTS) \
41733 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41734 echo "Bootstrapping training compiler"; \
41735 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
41736 @r=`${PWD_COMMAND}`; export r; \
41737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41738 $(HOST_EXPORTS) \
41739 echo "Building feedback based compiler"; \
41740 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
41741 @r=`${PWD_COMMAND}`; export r; \
41742 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41743 echo "Building runtime libraries"; \
41744 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41746 .PHONY: cross
41747 cross: all-build all-gas all-ld
41748 @r=`${PWD_COMMAND}`; export r; \
41749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41750 $(HOST_EXPORTS) \
41751 echo "Building the C and C++ compiler"; \
41752 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41753 @r=`${PWD_COMMAND}`; export r; \
41754 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41755 echo "Building runtime libraries"; \
41756 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41757 @endif gcc-no-bootstrap
41759 @if gcc
41760 .PHONY: check-gcc-c++
41761 check-gcc-c++:
41762 @if [ -f ./gcc/Makefile ] ; then \
41763 r=`${PWD_COMMAND}`; export r; \
41764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41765 $(HOST_EXPORTS) \
41766 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
41767 else \
41768 true; \
41771 .PHONY: check-c++
41772 check-c++: check-target-libstdc++-v3 check-gcc-c++
41774 # Install the gcc headers files, but not the fixed include files,
41775 # which Cygnus is not allowed to distribute. This rule is very
41776 # dependent on the workings of the gcc Makefile.in.
41777 .PHONY: gcc-no-fixedincludes
41778 gcc-no-fixedincludes:
41779 @if [ -f ./gcc/Makefile ]; then \
41780 rm -rf gcc/tmp-include; \
41781 mv gcc/include gcc/tmp-include 2>/dev/null; \
41782 mkdir gcc/include; \
41783 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
41784 touch gcc/stmp-fixinc gcc/include/fixed; \
41785 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
41786 r=`${PWD_COMMAND}`; export r; \
41787 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41788 $(HOST_EXPORTS) \
41789 (cd ./gcc && \
41790 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
41791 rm -rf gcc/include; \
41792 mv gcc/tmp-include gcc/include 2>/dev/null; \
41793 else true; fi
41794 @endif gcc
41796 # ---------------------
41797 # GCC bootstrap support
41798 # ---------------------
41800 # We track the current stage (the one in 'gcc') in the stage_current file.
41801 # stage_last instead tracks the stage that was built last. These targets
41802 # are dummy when toplevel bootstrap is not active.
41804 # While making host and target tools, symlinks to the final stage must be
41805 # there, so $(unstage) should be run at various points. To avoid excessive
41806 # recursive invocations of make, we "inline" them using a variable. These
41807 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41808 # to avoid warnings from the GNU Make job server.
41810 unstage = :
41811 stage = :
41812 current_stage = ""
41814 @if gcc-bootstrap
41815 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41816 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41817 current_stage = "`cat stage_current 2> /dev/null`"
41818 @endif gcc-bootstrap
41820 .PHONY: unstage stage
41821 unstage:
41822 @: $(MAKE); $(unstage)
41823 stage:
41824 @: $(MAKE); $(stage)
41826 # Disable commands for lean bootstrap.
41827 LEAN = false
41829 # We name the build directories for the various stages "stage1-gcc",
41830 # "stage2-gcc","stage3-gcc", etc.
41832 # Since the 'compare' process will fail (on debugging information) if any
41833 # directory names are different, we need to link the gcc directory for
41834 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41835 # the build directories constant as well. For the latter, we use naked names
41836 # like 'gcc', because the scripts in that directory assume it. We use
41837 # mv on platforms where symlinks to directories do not work or are not
41838 # reliable.
41840 # 'touch' doesn't work right on some platforms.
41841 STAMP = echo timestamp >
41843 # Only build the C compiler for stage1, because that is the only one that
41844 # we can guarantee will build with the native compiler, and also it is the
41845 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
41846 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
41847 # overrideable (for a bootstrap build stage1 also builds gcc.info).
41849 STAGE1_CFLAGS=@stage1_cflags@
41850 STAGE1_LANGUAGES=@stage1_languages@
41852 # We only want to compare .o files, so set this!
41853 objext = .o
41855 # Flags to pass to stage2 and later makes.
41856 POSTSTAGE1_FLAGS_TO_PASS = \
41857 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
41858 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
41859 CFLAGS="$(BOOT_CFLAGS)" \
41860 LIBCFLAGS="$(BOOT_CFLAGS)" \
41861 LDFLAGS="$(BOOT_LDFLAGS)" \
41862 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
41864 # For stage 1:
41865 # * We force-disable intermodule optimizations, even if
41866 # --enable-intermodule was passed, since the installed compiler probably
41867 # can't handle them. Luckily, autoconf always respects
41868 # the last argument when conflicting --enable arguments are passed.
41869 # * Likewise, we force-disable coverage flags, since the installed compiler
41870 # probably has never heard of them.
41871 # * We build only C (and possibly Ada).
41874 .PHONY: stage1-start stage1-end
41876 stage1-start::
41877 @: $(MAKE); $(stage); \
41878 echo stage1 > stage_current ; \
41879 echo stage1 > stage_last; \
41880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41881 @if bfd
41882 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41883 mkdir stage1-bfd; \
41884 mv stage1-bfd bfd
41885 @endif bfd
41886 @if opcodes
41887 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41888 mkdir stage1-opcodes; \
41889 mv stage1-opcodes opcodes
41890 @endif opcodes
41891 @if binutils
41892 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41893 mkdir stage1-binutils; \
41894 mv stage1-binutils binutils
41895 @endif binutils
41896 @if gas
41897 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41898 mkdir stage1-gas; \
41899 mv stage1-gas gas
41900 @endif gas
41901 @if gcc
41902 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41903 mkdir stage1-gcc; \
41904 mv stage1-gcc gcc
41905 @endif gcc
41906 @if intl
41907 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41908 mkdir stage1-intl; \
41909 mv stage1-intl intl
41910 @endif intl
41911 @if ld
41912 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41913 mkdir stage1-ld; \
41914 mv stage1-ld ld
41915 @endif ld
41916 @if libcpp
41917 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41918 mkdir stage1-libcpp; \
41919 mv stage1-libcpp libcpp
41920 @endif libcpp
41921 @if libdecnumber
41922 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41923 mkdir stage1-libdecnumber; \
41924 mv stage1-libdecnumber libdecnumber
41925 @endif libdecnumber
41926 @if libiberty
41927 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41928 mkdir stage1-libiberty; \
41929 mv stage1-libiberty libiberty
41930 @endif libiberty
41931 @if zlib
41932 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41933 mkdir stage1-zlib; \
41934 mv stage1-zlib zlib
41935 @endif zlib
41936 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41937 mkdir stage1-$(TARGET_SUBDIR); \
41938 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41940 stage1-end::
41941 @if bfd
41942 @if test -d $(HOST_SUBDIR)/bfd ; then \
41943 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41945 @endif bfd
41946 @if opcodes
41947 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41948 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41950 @endif opcodes
41951 @if binutils
41952 @if test -d $(HOST_SUBDIR)/binutils ; then \
41953 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41955 @endif binutils
41956 @if gas
41957 @if test -d $(HOST_SUBDIR)/gas ; then \
41958 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41960 @endif gas
41961 @if gcc
41962 @if test -d $(HOST_SUBDIR)/gcc ; then \
41963 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41965 @endif gcc
41966 @if intl
41967 @if test -d $(HOST_SUBDIR)/intl ; then \
41968 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41970 @endif intl
41971 @if ld
41972 @if test -d $(HOST_SUBDIR)/ld ; then \
41973 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41975 @endif ld
41976 @if libcpp
41977 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41978 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41980 @endif libcpp
41981 @if libdecnumber
41982 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41983 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41985 @endif libdecnumber
41986 @if libiberty
41987 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41988 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41990 @endif libiberty
41991 @if zlib
41992 @if test -d $(HOST_SUBDIR)/zlib ; then \
41993 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41995 @endif zlib
41996 @if test -d $(TARGET_SUBDIR) ; then \
41997 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41999 rm -f stage_current
42001 # Bubble a bugfix through all the stages up to stage 1. They are
42002 # remade, but not reconfigured. The next stage (if any) will not be
42003 # reconfigured as well.
42004 .PHONY: stage1-bubble
42005 stage1-bubble::
42006 @r=`${PWD_COMMAND}`; export r; \
42007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42008 if test -f stage1-lean ; then \
42009 echo Skipping rebuild of stage1 ; \
42010 else \
42011 $(MAKE) stage1-start; \
42012 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
42015 .PHONY: all-stage1 clean-stage1
42016 do-clean: clean-stage1
42018 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42019 # only possibility, but now it conflicts with no-bootstrap rules
42020 @if gcc-bootstrap
42025 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42027 .PHONY: distclean-stage1
42028 distclean-stage1::
42029 @: $(MAKE); $(stage)
42030 rm -rf stage1-*
42033 @endif gcc-bootstrap
42036 .PHONY: stage2-start stage2-end
42038 stage2-start::
42039 @: $(MAKE); $(stage); \
42040 echo stage2 > stage_current ; \
42041 echo stage2 > stage_last; \
42042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42043 @if bfd
42044 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
42045 mkdir stage2-bfd; \
42046 mv stage2-bfd bfd ; \
42047 mv stage1-bfd prev-bfd || test -f stage1-lean
42048 @endif bfd
42049 @if opcodes
42050 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
42051 mkdir stage2-opcodes; \
42052 mv stage2-opcodes opcodes ; \
42053 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42054 @endif opcodes
42055 @if binutils
42056 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42057 mkdir stage2-binutils; \
42058 mv stage2-binutils binutils ; \
42059 mv stage1-binutils prev-binutils || test -f stage1-lean
42060 @endif binutils
42061 @if gas
42062 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42063 mkdir stage2-gas; \
42064 mv stage2-gas gas ; \
42065 mv stage1-gas prev-gas || test -f stage1-lean
42066 @endif gas
42067 @if gcc
42068 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42069 mkdir stage2-gcc; \
42070 mv stage2-gcc gcc ; \
42071 mv stage1-gcc prev-gcc || test -f stage1-lean
42072 @endif gcc
42073 @if intl
42074 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42075 mkdir stage2-intl; \
42076 mv stage2-intl intl ; \
42077 mv stage1-intl prev-intl || test -f stage1-lean
42078 @endif intl
42079 @if ld
42080 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42081 mkdir stage2-ld; \
42082 mv stage2-ld ld ; \
42083 mv stage1-ld prev-ld || test -f stage1-lean
42084 @endif ld
42085 @if libcpp
42086 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42087 mkdir stage2-libcpp; \
42088 mv stage2-libcpp libcpp ; \
42089 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42090 @endif libcpp
42091 @if libdecnumber
42092 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42093 mkdir stage2-libdecnumber; \
42094 mv stage2-libdecnumber libdecnumber ; \
42095 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42096 @endif libdecnumber
42097 @if libiberty
42098 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42099 mkdir stage2-libiberty; \
42100 mv stage2-libiberty libiberty ; \
42101 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42102 @endif libiberty
42103 @if zlib
42104 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42105 mkdir stage2-zlib; \
42106 mv stage2-zlib zlib ; \
42107 mv stage1-zlib prev-zlib || test -f stage1-lean
42108 @endif zlib
42109 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42110 mkdir stage2-$(TARGET_SUBDIR); \
42111 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42112 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42114 stage2-end::
42115 @if bfd
42116 @if test -d $(HOST_SUBDIR)/bfd ; then \
42117 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42118 mv prev-bfd stage1-bfd ; : ; \
42120 @endif bfd
42121 @if opcodes
42122 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42123 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42124 mv prev-opcodes stage1-opcodes ; : ; \
42126 @endif opcodes
42127 @if binutils
42128 @if test -d $(HOST_SUBDIR)/binutils ; then \
42129 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42130 mv prev-binutils stage1-binutils ; : ; \
42132 @endif binutils
42133 @if gas
42134 @if test -d $(HOST_SUBDIR)/gas ; then \
42135 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42136 mv prev-gas stage1-gas ; : ; \
42138 @endif gas
42139 @if gcc
42140 @if test -d $(HOST_SUBDIR)/gcc ; then \
42141 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42142 mv prev-gcc stage1-gcc ; : ; \
42144 @endif gcc
42145 @if intl
42146 @if test -d $(HOST_SUBDIR)/intl ; then \
42147 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42148 mv prev-intl stage1-intl ; : ; \
42150 @endif intl
42151 @if ld
42152 @if test -d $(HOST_SUBDIR)/ld ; then \
42153 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42154 mv prev-ld stage1-ld ; : ; \
42156 @endif ld
42157 @if libcpp
42158 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42159 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42160 mv prev-libcpp stage1-libcpp ; : ; \
42162 @endif libcpp
42163 @if libdecnumber
42164 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42165 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42166 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42168 @endif libdecnumber
42169 @if libiberty
42170 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42171 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42172 mv prev-libiberty stage1-libiberty ; : ; \
42174 @endif libiberty
42175 @if zlib
42176 @if test -d $(HOST_SUBDIR)/zlib ; then \
42177 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42178 mv prev-zlib stage1-zlib ; : ; \
42180 @endif zlib
42181 @if test -d $(TARGET_SUBDIR) ; then \
42182 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42183 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42185 rm -f stage_current
42187 # Bubble a bugfix through all the stages up to stage 2. They are
42188 # remade, but not reconfigured. The next stage (if any) will not be
42189 # reconfigured as well.
42190 .PHONY: stage2-bubble
42191 stage2-bubble:: stage1-bubble
42192 @r=`${PWD_COMMAND}`; export r; \
42193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42194 if test -f stage2-lean || test -f stage1-lean ; then \
42195 echo Skipping rebuild of stage2 ; \
42196 else \
42197 $(MAKE) stage2-start; \
42198 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42201 .PHONY: all-stage2 clean-stage2
42202 do-clean: clean-stage2
42204 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42205 # only possibility, but now it conflicts with no-bootstrap rules
42206 @if gcc-bootstrap
42210 .PHONY: bootstrap2 bootstrap2-lean
42211 bootstrap2:
42212 echo stage2 > stage_final
42213 @r=`${PWD_COMMAND}`; export r; \
42214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42215 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42216 @: $(MAKE); $(unstage)
42217 @r=`${PWD_COMMAND}`; export r; \
42218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42219 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42221 bootstrap2-lean:
42222 echo stage2 > stage_final
42223 @r=`${PWD_COMMAND}`; export r; \
42224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42225 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42226 @: $(MAKE); $(unstage)
42227 @r=`${PWD_COMMAND}`; export r; \
42228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42229 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42232 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42233 distclean-stage1:: distclean-stage2
42234 .PHONY: distclean-stage2
42235 distclean-stage2::
42236 @: $(MAKE); $(stage)
42237 rm -rf stage2-*
42240 @endif gcc-bootstrap
42243 .PHONY: stage3-start stage3-end
42245 stage3-start::
42246 @: $(MAKE); $(stage); \
42247 echo stage3 > stage_current ; \
42248 echo stage3 > stage_last; \
42249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42250 @if bfd
42251 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42252 mkdir stage3-bfd; \
42253 mv stage3-bfd bfd ; \
42254 mv stage2-bfd prev-bfd || test -f stage2-lean
42255 @endif bfd
42256 @if opcodes
42257 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42258 mkdir stage3-opcodes; \
42259 mv stage3-opcodes opcodes ; \
42260 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42261 @endif opcodes
42262 @if binutils
42263 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42264 mkdir stage3-binutils; \
42265 mv stage3-binutils binutils ; \
42266 mv stage2-binutils prev-binutils || test -f stage2-lean
42267 @endif binutils
42268 @if gas
42269 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42270 mkdir stage3-gas; \
42271 mv stage3-gas gas ; \
42272 mv stage2-gas prev-gas || test -f stage2-lean
42273 @endif gas
42274 @if gcc
42275 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42276 mkdir stage3-gcc; \
42277 mv stage3-gcc gcc ; \
42278 mv stage2-gcc prev-gcc || test -f stage2-lean
42279 @endif gcc
42280 @if intl
42281 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42282 mkdir stage3-intl; \
42283 mv stage3-intl intl ; \
42284 mv stage2-intl prev-intl || test -f stage2-lean
42285 @endif intl
42286 @if ld
42287 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42288 mkdir stage3-ld; \
42289 mv stage3-ld ld ; \
42290 mv stage2-ld prev-ld || test -f stage2-lean
42291 @endif ld
42292 @if libcpp
42293 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42294 mkdir stage3-libcpp; \
42295 mv stage3-libcpp libcpp ; \
42296 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42297 @endif libcpp
42298 @if libdecnumber
42299 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42300 mkdir stage3-libdecnumber; \
42301 mv stage3-libdecnumber libdecnumber ; \
42302 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42303 @endif libdecnumber
42304 @if libiberty
42305 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42306 mkdir stage3-libiberty; \
42307 mv stage3-libiberty libiberty ; \
42308 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42309 @endif libiberty
42310 @if zlib
42311 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42312 mkdir stage3-zlib; \
42313 mv stage3-zlib zlib ; \
42314 mv stage2-zlib prev-zlib || test -f stage2-lean
42315 @endif zlib
42316 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42317 mkdir stage3-$(TARGET_SUBDIR); \
42318 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42319 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42321 stage3-end::
42322 @if bfd
42323 @if test -d $(HOST_SUBDIR)/bfd ; then \
42324 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42325 mv prev-bfd stage2-bfd ; : ; \
42327 @endif bfd
42328 @if opcodes
42329 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42330 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42331 mv prev-opcodes stage2-opcodes ; : ; \
42333 @endif opcodes
42334 @if binutils
42335 @if test -d $(HOST_SUBDIR)/binutils ; then \
42336 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42337 mv prev-binutils stage2-binutils ; : ; \
42339 @endif binutils
42340 @if gas
42341 @if test -d $(HOST_SUBDIR)/gas ; then \
42342 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42343 mv prev-gas stage2-gas ; : ; \
42345 @endif gas
42346 @if gcc
42347 @if test -d $(HOST_SUBDIR)/gcc ; then \
42348 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42349 mv prev-gcc stage2-gcc ; : ; \
42351 @endif gcc
42352 @if intl
42353 @if test -d $(HOST_SUBDIR)/intl ; then \
42354 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42355 mv prev-intl stage2-intl ; : ; \
42357 @endif intl
42358 @if ld
42359 @if test -d $(HOST_SUBDIR)/ld ; then \
42360 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42361 mv prev-ld stage2-ld ; : ; \
42363 @endif ld
42364 @if libcpp
42365 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42366 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42367 mv prev-libcpp stage2-libcpp ; : ; \
42369 @endif libcpp
42370 @if libdecnumber
42371 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42372 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42373 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42375 @endif libdecnumber
42376 @if libiberty
42377 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42378 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42379 mv prev-libiberty stage2-libiberty ; : ; \
42381 @endif libiberty
42382 @if zlib
42383 @if test -d $(HOST_SUBDIR)/zlib ; then \
42384 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42385 mv prev-zlib stage2-zlib ; : ; \
42387 @endif zlib
42388 @if test -d $(TARGET_SUBDIR) ; then \
42389 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42390 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42392 rm -f stage_current
42394 # Bubble a bugfix through all the stages up to stage 3. They are
42395 # remade, but not reconfigured. The next stage (if any) will not be
42396 # reconfigured as well.
42397 .PHONY: stage3-bubble
42398 stage3-bubble:: stage2-bubble
42399 @r=`${PWD_COMMAND}`; export r; \
42400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42401 if test -f stage3-lean || test -f stage2-lean ; then \
42402 echo Skipping rebuild of stage3 ; \
42403 else \
42404 $(MAKE) stage3-start; \
42405 if $(LEAN); then \
42406 rm -rf stage1-* ; \
42407 $(STAMP) stage1-lean ; \
42408 fi; \
42409 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42411 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42413 .PHONY: all-stage3 clean-stage3
42414 do-clean: clean-stage3
42416 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42417 # only possibility, but now it conflicts with no-bootstrap rules
42418 @if gcc-bootstrap
42420 compare:
42421 @r=`${PWD_COMMAND}`; export r; \
42422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42423 if test -f stage2-lean; then \
42424 echo Cannot compare object files as stage 2 was deleted. ; \
42425 exit 0 ; \
42426 fi; \
42427 : $(MAKE); $(stage); \
42428 rm -f .bad_compare ; \
42429 echo Comparing stages 2 and 3 ; \
42430 cd stage3-gcc; \
42431 files=`find . -name "*$(objext)" -print` ; \
42432 cd .. ; \
42433 for file in $${files} ; do \
42434 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
42435 @do_compare@ > /dev/null 2>&1; \
42436 if test $$? -eq 1; then \
42437 case $$file in \
42438 ./cc*-checksum$(objext) | ./libgcc/* ) \
42439 echo warning: $$file differs ;; \
42440 *) \
42441 echo $$file differs >> .bad_compare ;; \
42442 esac ; \
42443 fi ; \
42444 done ; \
42445 if [ -f .bad_compare ]; then \
42446 echo "Bootstrap comparison failure!"; \
42447 cat .bad_compare; \
42448 exit 1; \
42449 else \
42450 echo Comparison successful.; \
42451 fi ; \
42452 $(STAMP) compare
42453 if $(LEAN); then \
42454 rm -rf stage2-*; \
42455 $(STAMP) stage2-lean; \
42460 .PHONY: bootstrap bootstrap-lean
42461 bootstrap:
42462 echo stage3 > stage_final
42463 @r=`${PWD_COMMAND}`; export r; \
42464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42465 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42466 @: $(MAKE); $(unstage)
42467 @r=`${PWD_COMMAND}`; export r; \
42468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42469 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42471 bootstrap-lean:
42472 echo stage3 > stage_final
42473 @r=`${PWD_COMMAND}`; export r; \
42474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42475 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42476 @: $(MAKE); $(unstage)
42477 @r=`${PWD_COMMAND}`; export r; \
42478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42479 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42482 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42483 distclean-stage2:: distclean-stage3
42484 .PHONY: distclean-stage3
42485 distclean-stage3::
42486 @: $(MAKE); $(stage)
42487 rm -rf stage3-* compare
42490 .PHONY: cleanstrap
42491 cleanstrap: distclean bootstrap
42493 @endif gcc-bootstrap
42496 .PHONY: stage4-start stage4-end
42498 stage4-start::
42499 @: $(MAKE); $(stage); \
42500 echo stage4 > stage_current ; \
42501 echo stage4 > stage_last; \
42502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42503 @if bfd
42504 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42505 mkdir stage4-bfd; \
42506 mv stage4-bfd bfd ; \
42507 mv stage3-bfd prev-bfd || test -f stage3-lean
42508 @endif bfd
42509 @if opcodes
42510 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42511 mkdir stage4-opcodes; \
42512 mv stage4-opcodes opcodes ; \
42513 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42514 @endif opcodes
42515 @if binutils
42516 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42517 mkdir stage4-binutils; \
42518 mv stage4-binutils binutils ; \
42519 mv stage3-binutils prev-binutils || test -f stage3-lean
42520 @endif binutils
42521 @if gas
42522 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42523 mkdir stage4-gas; \
42524 mv stage4-gas gas ; \
42525 mv stage3-gas prev-gas || test -f stage3-lean
42526 @endif gas
42527 @if gcc
42528 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42529 mkdir stage4-gcc; \
42530 mv stage4-gcc gcc ; \
42531 mv stage3-gcc prev-gcc || test -f stage3-lean
42532 @endif gcc
42533 @if intl
42534 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42535 mkdir stage4-intl; \
42536 mv stage4-intl intl ; \
42537 mv stage3-intl prev-intl || test -f stage3-lean
42538 @endif intl
42539 @if ld
42540 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42541 mkdir stage4-ld; \
42542 mv stage4-ld ld ; \
42543 mv stage3-ld prev-ld || test -f stage3-lean
42544 @endif ld
42545 @if libcpp
42546 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42547 mkdir stage4-libcpp; \
42548 mv stage4-libcpp libcpp ; \
42549 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42550 @endif libcpp
42551 @if libdecnumber
42552 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42553 mkdir stage4-libdecnumber; \
42554 mv stage4-libdecnumber libdecnumber ; \
42555 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42556 @endif libdecnumber
42557 @if libiberty
42558 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42559 mkdir stage4-libiberty; \
42560 mv stage4-libiberty libiberty ; \
42561 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42562 @endif libiberty
42563 @if zlib
42564 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42565 mkdir stage4-zlib; \
42566 mv stage4-zlib zlib ; \
42567 mv stage3-zlib prev-zlib || test -f stage3-lean
42568 @endif zlib
42569 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42570 mkdir stage4-$(TARGET_SUBDIR); \
42571 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42572 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42574 stage4-end::
42575 @if bfd
42576 @if test -d $(HOST_SUBDIR)/bfd ; then \
42577 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42578 mv prev-bfd stage3-bfd ; : ; \
42580 @endif bfd
42581 @if opcodes
42582 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42583 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42584 mv prev-opcodes stage3-opcodes ; : ; \
42586 @endif opcodes
42587 @if binutils
42588 @if test -d $(HOST_SUBDIR)/binutils ; then \
42589 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42590 mv prev-binutils stage3-binutils ; : ; \
42592 @endif binutils
42593 @if gas
42594 @if test -d $(HOST_SUBDIR)/gas ; then \
42595 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42596 mv prev-gas stage3-gas ; : ; \
42598 @endif gas
42599 @if gcc
42600 @if test -d $(HOST_SUBDIR)/gcc ; then \
42601 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42602 mv prev-gcc stage3-gcc ; : ; \
42604 @endif gcc
42605 @if intl
42606 @if test -d $(HOST_SUBDIR)/intl ; then \
42607 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42608 mv prev-intl stage3-intl ; : ; \
42610 @endif intl
42611 @if ld
42612 @if test -d $(HOST_SUBDIR)/ld ; then \
42613 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42614 mv prev-ld stage3-ld ; : ; \
42616 @endif ld
42617 @if libcpp
42618 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42619 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42620 mv prev-libcpp stage3-libcpp ; : ; \
42622 @endif libcpp
42623 @if libdecnumber
42624 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42625 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42626 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42628 @endif libdecnumber
42629 @if libiberty
42630 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42631 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42632 mv prev-libiberty stage3-libiberty ; : ; \
42634 @endif libiberty
42635 @if zlib
42636 @if test -d $(HOST_SUBDIR)/zlib ; then \
42637 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42638 mv prev-zlib stage3-zlib ; : ; \
42640 @endif zlib
42641 @if test -d $(TARGET_SUBDIR) ; then \
42642 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42643 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42645 rm -f stage_current
42647 # Bubble a bugfix through all the stages up to stage 4. They are
42648 # remade, but not reconfigured. The next stage (if any) will not be
42649 # reconfigured as well.
42650 .PHONY: stage4-bubble
42651 stage4-bubble:: stage3-bubble
42652 @r=`${PWD_COMMAND}`; export r; \
42653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42654 if test -f stage4-lean || test -f stage3-lean ; then \
42655 echo Skipping rebuild of stage4 ; \
42656 else \
42657 $(MAKE) stage4-start; \
42658 if $(LEAN); then \
42659 rm -rf stage2-* ; \
42660 $(STAMP) stage2-lean ; \
42661 fi; \
42662 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42664 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42666 .PHONY: all-stage4 clean-stage4
42667 do-clean: clean-stage4
42669 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42670 # only possibility, but now it conflicts with no-bootstrap rules
42671 @if gcc-bootstrap
42673 compare3:
42674 @r=`${PWD_COMMAND}`; export r; \
42675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42676 if test -f stage3-lean; then \
42677 echo Cannot compare object files as stage 3 was deleted. ; \
42678 exit 0 ; \
42679 fi; \
42680 : $(MAKE); $(stage); \
42681 rm -f .bad_compare ; \
42682 echo Comparing stages 3 and 4 ; \
42683 cd stage4-gcc; \
42684 files=`find . -name "*$(objext)" -print` ; \
42685 cd .. ; \
42686 for file in $${files} ; do \
42687 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
42688 @do_compare@ > /dev/null 2>&1; \
42689 if test $$? -eq 1; then \
42690 case $$file in \
42691 ./cc*-checksum$(objext) | ./libgcc/* ) \
42692 echo warning: $$file differs ;; \
42693 *) \
42694 echo $$file differs >> .bad_compare ;; \
42695 esac ; \
42696 fi ; \
42697 done ; \
42698 if [ -f .bad_compare ]; then \
42699 echo "Bootstrap comparison failure!"; \
42700 cat .bad_compare; \
42701 exit 1; \
42702 else \
42703 echo Comparison successful.; \
42704 fi ; \
42705 $(STAMP) compare3
42706 if $(LEAN); then \
42707 rm -rf stage3-*; \
42708 $(STAMP) stage3-lean; \
42713 .PHONY: bootstrap4 bootstrap4-lean
42714 bootstrap4:
42715 echo stage4 > stage_final
42716 @r=`${PWD_COMMAND}`; export r; \
42717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42718 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42719 @: $(MAKE); $(unstage)
42720 @r=`${PWD_COMMAND}`; export r; \
42721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42722 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42724 bootstrap4-lean:
42725 echo stage4 > stage_final
42726 @r=`${PWD_COMMAND}`; export r; \
42727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42728 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42729 @: $(MAKE); $(unstage)
42730 @r=`${PWD_COMMAND}`; export r; \
42731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42732 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42735 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42736 distclean-stage3:: distclean-stage4
42737 .PHONY: distclean-stage4
42738 distclean-stage4::
42739 @: $(MAKE); $(stage)
42740 rm -rf stage4-* compare3
42743 @endif gcc-bootstrap
42746 .PHONY: stageprofile-start stageprofile-end
42748 stageprofile-start::
42749 @: $(MAKE); $(stage); \
42750 echo stageprofile > stage_current ; \
42751 echo stageprofile > stage_last; \
42752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42753 @if bfd
42754 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42755 mkdir stageprofile-bfd; \
42756 mv stageprofile-bfd bfd ; \
42757 mv stage1-bfd prev-bfd || test -f stage1-lean
42758 @endif bfd
42759 @if opcodes
42760 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42761 mkdir stageprofile-opcodes; \
42762 mv stageprofile-opcodes opcodes ; \
42763 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42764 @endif opcodes
42765 @if binutils
42766 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42767 mkdir stageprofile-binutils; \
42768 mv stageprofile-binutils binutils ; \
42769 mv stage1-binutils prev-binutils || test -f stage1-lean
42770 @endif binutils
42771 @if gas
42772 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42773 mkdir stageprofile-gas; \
42774 mv stageprofile-gas gas ; \
42775 mv stage1-gas prev-gas || test -f stage1-lean
42776 @endif gas
42777 @if gcc
42778 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42779 mkdir stageprofile-gcc; \
42780 mv stageprofile-gcc gcc ; \
42781 mv stage1-gcc prev-gcc || test -f stage1-lean
42782 @endif gcc
42783 @if intl
42784 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42785 mkdir stageprofile-intl; \
42786 mv stageprofile-intl intl ; \
42787 mv stage1-intl prev-intl || test -f stage1-lean
42788 @endif intl
42789 @if ld
42790 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42791 mkdir stageprofile-ld; \
42792 mv stageprofile-ld ld ; \
42793 mv stage1-ld prev-ld || test -f stage1-lean
42794 @endif ld
42795 @if libcpp
42796 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42797 mkdir stageprofile-libcpp; \
42798 mv stageprofile-libcpp libcpp ; \
42799 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42800 @endif libcpp
42801 @if libdecnumber
42802 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42803 mkdir stageprofile-libdecnumber; \
42804 mv stageprofile-libdecnumber libdecnumber ; \
42805 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42806 @endif libdecnumber
42807 @if libiberty
42808 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42809 mkdir stageprofile-libiberty; \
42810 mv stageprofile-libiberty libiberty ; \
42811 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42812 @endif libiberty
42813 @if zlib
42814 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42815 mkdir stageprofile-zlib; \
42816 mv stageprofile-zlib zlib ; \
42817 mv stage1-zlib prev-zlib || test -f stage1-lean
42818 @endif zlib
42819 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42820 mkdir stageprofile-$(TARGET_SUBDIR); \
42821 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42822 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42824 stageprofile-end::
42825 @if bfd
42826 @if test -d $(HOST_SUBDIR)/bfd ; then \
42827 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42828 mv prev-bfd stage1-bfd ; : ; \
42830 @endif bfd
42831 @if opcodes
42832 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42833 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42834 mv prev-opcodes stage1-opcodes ; : ; \
42836 @endif opcodes
42837 @if binutils
42838 @if test -d $(HOST_SUBDIR)/binutils ; then \
42839 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42840 mv prev-binutils stage1-binutils ; : ; \
42842 @endif binutils
42843 @if gas
42844 @if test -d $(HOST_SUBDIR)/gas ; then \
42845 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42846 mv prev-gas stage1-gas ; : ; \
42848 @endif gas
42849 @if gcc
42850 @if test -d $(HOST_SUBDIR)/gcc ; then \
42851 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42852 mv prev-gcc stage1-gcc ; : ; \
42854 @endif gcc
42855 @if intl
42856 @if test -d $(HOST_SUBDIR)/intl ; then \
42857 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42858 mv prev-intl stage1-intl ; : ; \
42860 @endif intl
42861 @if ld
42862 @if test -d $(HOST_SUBDIR)/ld ; then \
42863 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42864 mv prev-ld stage1-ld ; : ; \
42866 @endif ld
42867 @if libcpp
42868 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42869 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42870 mv prev-libcpp stage1-libcpp ; : ; \
42872 @endif libcpp
42873 @if libdecnumber
42874 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42875 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42876 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42878 @endif libdecnumber
42879 @if libiberty
42880 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42881 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42882 mv prev-libiberty stage1-libiberty ; : ; \
42884 @endif libiberty
42885 @if zlib
42886 @if test -d $(HOST_SUBDIR)/zlib ; then \
42887 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42888 mv prev-zlib stage1-zlib ; : ; \
42890 @endif zlib
42891 @if test -d $(TARGET_SUBDIR) ; then \
42892 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42893 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42895 rm -f stage_current
42897 # Bubble a bugfix through all the stages up to stage profile. They are
42898 # remade, but not reconfigured. The next stage (if any) will not be
42899 # reconfigured as well.
42900 .PHONY: stageprofile-bubble
42901 stageprofile-bubble:: stage1-bubble
42902 @r=`${PWD_COMMAND}`; export r; \
42903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42904 if test -f stageprofile-lean || test -f stage1-lean ; then \
42905 echo Skipping rebuild of stageprofile ; \
42906 else \
42907 $(MAKE) stageprofile-start; \
42908 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42911 .PHONY: all-stageprofile clean-stageprofile
42912 do-clean: clean-stageprofile
42914 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42915 # only possibility, but now it conflicts with no-bootstrap rules
42916 @if gcc-bootstrap
42921 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42922 distclean-stage1:: distclean-stageprofile
42923 .PHONY: distclean-stageprofile
42924 distclean-stageprofile::
42925 @: $(MAKE); $(stage)
42926 rm -rf stageprofile-*
42929 @endif gcc-bootstrap
42932 .PHONY: stagefeedback-start stagefeedback-end
42934 stagefeedback-start::
42935 @: $(MAKE); $(stage); \
42936 echo stagefeedback > stage_current ; \
42937 echo stagefeedback > stage_last; \
42938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42939 @if bfd
42940 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42941 mkdir stagefeedback-bfd; \
42942 mv stagefeedback-bfd bfd ; \
42943 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42944 @endif bfd
42945 @if opcodes
42946 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42947 mkdir stagefeedback-opcodes; \
42948 mv stagefeedback-opcodes opcodes ; \
42949 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42950 @endif opcodes
42951 @if binutils
42952 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42953 mkdir stagefeedback-binutils; \
42954 mv stagefeedback-binutils binutils ; \
42955 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42956 @endif binutils
42957 @if gas
42958 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42959 mkdir stagefeedback-gas; \
42960 mv stagefeedback-gas gas ; \
42961 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42962 @endif gas
42963 @if gcc
42964 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42965 mkdir stagefeedback-gcc; \
42966 mv stagefeedback-gcc gcc ; \
42967 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42968 @endif gcc
42969 @if intl
42970 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42971 mkdir stagefeedback-intl; \
42972 mv stagefeedback-intl intl ; \
42973 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42974 @endif intl
42975 @if ld
42976 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42977 mkdir stagefeedback-ld; \
42978 mv stagefeedback-ld ld ; \
42979 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42980 @endif ld
42981 @if libcpp
42982 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42983 mkdir stagefeedback-libcpp; \
42984 mv stagefeedback-libcpp libcpp ; \
42985 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42986 @endif libcpp
42987 @if libdecnumber
42988 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42989 mkdir stagefeedback-libdecnumber; \
42990 mv stagefeedback-libdecnumber libdecnumber ; \
42991 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42992 @endif libdecnumber
42993 @if libiberty
42994 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42995 mkdir stagefeedback-libiberty; \
42996 mv stagefeedback-libiberty libiberty ; \
42997 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42998 @endif libiberty
42999 @if zlib
43000 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
43001 mkdir stagefeedback-zlib; \
43002 mv stagefeedback-zlib zlib ; \
43003 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
43004 @endif zlib
43005 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
43006 mkdir stagefeedback-$(TARGET_SUBDIR); \
43007 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43008 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
43010 stagefeedback-end::
43011 @if bfd
43012 @if test -d $(HOST_SUBDIR)/bfd ; then \
43013 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
43014 mv prev-bfd stageprofile-bfd ; : ; \
43016 @endif bfd
43017 @if opcodes
43018 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43019 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
43020 mv prev-opcodes stageprofile-opcodes ; : ; \
43022 @endif opcodes
43023 @if binutils
43024 @if test -d $(HOST_SUBDIR)/binutils ; then \
43025 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
43026 mv prev-binutils stageprofile-binutils ; : ; \
43028 @endif binutils
43029 @if gas
43030 @if test -d $(HOST_SUBDIR)/gas ; then \
43031 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
43032 mv prev-gas stageprofile-gas ; : ; \
43034 @endif gas
43035 @if gcc
43036 @if test -d $(HOST_SUBDIR)/gcc ; then \
43037 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
43038 mv prev-gcc stageprofile-gcc ; : ; \
43040 @endif gcc
43041 @if intl
43042 @if test -d $(HOST_SUBDIR)/intl ; then \
43043 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43044 mv prev-intl stageprofile-intl ; : ; \
43046 @endif intl
43047 @if ld
43048 @if test -d $(HOST_SUBDIR)/ld ; then \
43049 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43050 mv prev-ld stageprofile-ld ; : ; \
43052 @endif ld
43053 @if libcpp
43054 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43055 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43056 mv prev-libcpp stageprofile-libcpp ; : ; \
43058 @endif libcpp
43059 @if libdecnumber
43060 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43061 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43062 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43064 @endif libdecnumber
43065 @if libiberty
43066 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43067 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43068 mv prev-libiberty stageprofile-libiberty ; : ; \
43070 @endif libiberty
43071 @if zlib
43072 @if test -d $(HOST_SUBDIR)/zlib ; then \
43073 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43074 mv prev-zlib stageprofile-zlib ; : ; \
43076 @endif zlib
43077 @if test -d $(TARGET_SUBDIR) ; then \
43078 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43079 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43081 rm -f stage_current
43083 # Bubble a bugfix through all the stages up to stage feedback. They are
43084 # remade, but not reconfigured. The next stage (if any) will not be
43085 # reconfigured as well.
43086 .PHONY: stagefeedback-bubble
43087 stagefeedback-bubble:: stageprofile-bubble
43088 @r=`${PWD_COMMAND}`; export r; \
43089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43090 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43091 echo Skipping rebuild of stagefeedback ; \
43092 else \
43093 $(MAKE) stagefeedback-start; \
43094 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43097 .PHONY: all-stagefeedback clean-stagefeedback
43098 do-clean: clean-stagefeedback
43100 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43101 # only possibility, but now it conflicts with no-bootstrap rules
43102 @if gcc-bootstrap
43106 .PHONY: profiledbootstrap profiledbootstrap-lean
43107 profiledbootstrap:
43108 echo stagefeedback > stage_final
43109 @r=`${PWD_COMMAND}`; export r; \
43110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43111 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43112 @: $(MAKE); $(unstage)
43113 @r=`${PWD_COMMAND}`; export r; \
43114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43115 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43117 profiledbootstrap-lean:
43118 echo stagefeedback > stage_final
43119 @r=`${PWD_COMMAND}`; export r; \
43120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43121 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43122 @: $(MAKE); $(unstage)
43123 @r=`${PWD_COMMAND}`; export r; \
43124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43125 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43128 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43129 distclean-stageprofile:: distclean-stagefeedback
43130 .PHONY: distclean-stagefeedback
43131 distclean-stagefeedback::
43132 @: $(MAKE); $(stage)
43133 rm -rf stagefeedback-*
43136 @endif gcc-bootstrap
43140 stageprofile-end::
43141 $(MAKE) distclean-stagefeedback
43143 stagefeedback-start::
43144 @r=`${PWD_COMMAND}`; export r; \
43145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43146 for i in prev-*; do \
43147 j=`echo $$i | sed s/^prev-//` ; \
43148 cd $$r/$$i && \
43149 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43150 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43151 done
43153 @if gcc-bootstrap
43154 do-distclean: distclean-stage1
43156 # Provide a GCC build when we're building target libraries. This does
43157 # not work as a dependency, just as the minimum necessary to avoid errors.
43158 stage_last:
43159 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43161 # Same as unstage, but not phony and defaulting to stage1-start. We place
43162 # it in the dependency so that for example `make -j3 all-gcc' works.
43163 stage_current:
43164 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43166 .PHONY: restrap
43167 restrap:
43168 @: $(MAKE); $(stage)
43169 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43170 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
43171 @endif gcc-bootstrap
43173 # --------------------------------------
43174 # Dependencies between different modules
43175 # --------------------------------------
43177 # Generic dependencies for target modules on host stuff, especially gcc
43178 @if gcc-bootstrap
43179 configure-target-libstdc++-v3: stage_last
43180 configure-target-libmudflap: stage_last
43181 configure-target-libssp: stage_last
43182 configure-target-newlib: stage_last
43183 configure-target-libgfortran: stage_last
43184 configure-target-libobjc: stage_last
43185 configure-target-libtermcap: stage_last
43186 configure-target-winsup: stage_last
43187 configure-target-libgloss: stage_last
43188 configure-target-libiberty: stage_last
43189 configure-target-gperf: stage_last
43190 configure-target-examples: stage_last
43191 configure-target-libffi: stage_last
43192 configure-target-libjava: stage_last
43193 configure-target-zlib: stage_last
43194 configure-target-boehm-gc: stage_last
43195 configure-target-qthreads: stage_last
43196 configure-target-rda: stage_last
43197 configure-target-libada: stage_last
43198 configure-target-libgomp: stage_last
43199 @endif gcc-bootstrap
43201 @if gcc-no-bootstrap
43202 configure-target-libstdc++-v3: maybe-all-gcc
43203 configure-target-libmudflap: maybe-all-gcc
43204 configure-target-libssp: maybe-all-gcc
43205 configure-target-newlib: maybe-all-gcc
43206 configure-target-libgfortran: maybe-all-gcc
43207 configure-target-libobjc: maybe-all-gcc
43208 configure-target-libtermcap: maybe-all-gcc
43209 configure-target-winsup: maybe-all-gcc
43210 configure-target-libgloss: maybe-all-gcc
43211 configure-target-libiberty: maybe-all-gcc
43212 configure-target-gperf: maybe-all-gcc
43213 configure-target-examples: maybe-all-gcc
43214 configure-target-libffi: maybe-all-gcc
43215 configure-target-libjava: maybe-all-gcc
43216 configure-target-zlib: maybe-all-gcc
43217 configure-target-boehm-gc: maybe-all-gcc
43218 configure-target-qthreads: maybe-all-gcc
43219 configure-target-rda: maybe-all-gcc
43220 configure-target-libada: maybe-all-gcc
43221 configure-target-libgomp: maybe-all-gcc
43222 @endif gcc-no-bootstrap
43226 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43228 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
43229 configure-target-gperf: maybe-all-target-libstdc++-v3
43231 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43233 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43235 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43237 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43238 configure-target-libjava: maybe-all-target-libstdc++-v3
43240 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43242 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43244 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43246 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43248 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43250 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
43252 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43254 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43256 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43258 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
43261 # There are two types of dependencies here: 'hard' dependencies, where one
43262 # module simply won't build without the other; and 'soft' dependencies, where
43263 # if the depended-on module is missing, the depending module will do without
43264 # or find a substitute somewhere (perhaps installed). Soft dependencies
43265 # are made here to depend on a 'maybe-' target. If you're not sure,
43266 # it's safer to use a soft dependency.
43273 # With all the machinery above in place, it is pretty easy to generate
43274 # dependencies. Host dependencies are a bit more complex because we have
43275 # to check for bootstrap/prebootstrap dependencies. To resolve
43276 # prebootstrap dependencies, prebootstrap modules are gathered in
43277 # a hash table.
43278 all-build-bison: maybe-all-build-texinfo
43279 all-build-byacc: maybe-all-build-texinfo
43280 all-build-flex: maybe-all-build-texinfo
43281 all-build-flex: maybe-all-build-bison
43282 all-build-flex: maybe-all-build-byacc
43283 all-build-flex: maybe-all-build-m4
43284 all-build-libiberty: maybe-all-build-texinfo
43285 all-build-m4: maybe-all-build-texinfo
43286 all-build-fixincludes: maybe-all-build-libiberty
43287 configure-gcc: maybe-configure-intl
43289 configure-stage1-gcc: maybe-configure-stage1-intl
43290 configure-stage2-gcc: maybe-configure-stage2-intl
43291 configure-stage3-gcc: maybe-configure-stage3-intl
43292 configure-stage4-gcc: maybe-configure-stage4-intl
43293 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43294 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43295 configure-gcc: maybe-all-binutils
43297 configure-stage1-gcc: maybe-all-stage1-binutils
43298 configure-stage2-gcc: maybe-all-stage2-binutils
43299 configure-stage3-gcc: maybe-all-stage3-binutils
43300 configure-stage4-gcc: maybe-all-stage4-binutils
43301 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43302 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43303 configure-gcc: maybe-all-gas
43305 configure-stage1-gcc: maybe-all-stage1-gas
43306 configure-stage2-gcc: maybe-all-stage2-gas
43307 configure-stage3-gcc: maybe-all-stage3-gas
43308 configure-stage4-gcc: maybe-all-stage4-gas
43309 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43310 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43311 configure-gcc: maybe-all-ld
43313 configure-stage1-gcc: maybe-all-stage1-ld
43314 configure-stage2-gcc: maybe-all-stage2-ld
43315 configure-stage3-gcc: maybe-all-stage3-ld
43316 configure-stage4-gcc: maybe-all-stage4-ld
43317 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43318 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43319 all-gcc: all-libiberty
43321 all-stage1-gcc: all-stage1-libiberty
43322 all-stage2-gcc: all-stage2-libiberty
43323 all-stage3-gcc: all-stage3-libiberty
43324 all-stage4-gcc: all-stage4-libiberty
43325 all-stageprofile-gcc: all-stageprofile-libiberty
43326 all-stagefeedback-gcc: all-stagefeedback-libiberty
43327 all-gcc: maybe-all-intl
43329 all-stage1-gcc: maybe-all-stage1-intl
43330 all-stage2-gcc: maybe-all-stage2-intl
43331 all-stage3-gcc: maybe-all-stage3-intl
43332 all-stage4-gcc: maybe-all-stage4-intl
43333 all-stageprofile-gcc: maybe-all-stageprofile-intl
43334 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43335 all-gcc: maybe-all-build-texinfo
43337 all-stage1-gcc: maybe-all-build-texinfo
43338 all-stage2-gcc: maybe-all-build-texinfo
43339 all-stage3-gcc: maybe-all-build-texinfo
43340 all-stage4-gcc: maybe-all-build-texinfo
43341 all-stageprofile-gcc: maybe-all-build-texinfo
43342 all-stagefeedback-gcc: maybe-all-build-texinfo
43343 all-prebootstrap: maybe-all-build-texinfo
43344 all-gcc: maybe-all-build-bison
43346 all-stage1-gcc: maybe-all-build-bison
43347 all-stage2-gcc: maybe-all-build-bison
43348 all-stage3-gcc: maybe-all-build-bison
43349 all-stage4-gcc: maybe-all-build-bison
43350 all-stageprofile-gcc: maybe-all-build-bison
43351 all-stagefeedback-gcc: maybe-all-build-bison
43352 all-prebootstrap: maybe-all-build-bison
43353 all-gcc: maybe-all-build-byacc
43355 all-stage1-gcc: maybe-all-build-byacc
43356 all-stage2-gcc: maybe-all-build-byacc
43357 all-stage3-gcc: maybe-all-build-byacc
43358 all-stage4-gcc: maybe-all-build-byacc
43359 all-stageprofile-gcc: maybe-all-build-byacc
43360 all-stagefeedback-gcc: maybe-all-build-byacc
43361 all-prebootstrap: maybe-all-build-byacc
43362 all-gcc: maybe-all-build-flex
43364 all-stage1-gcc: maybe-all-build-flex
43365 all-stage2-gcc: maybe-all-build-flex
43366 all-stage3-gcc: maybe-all-build-flex
43367 all-stage4-gcc: maybe-all-build-flex
43368 all-stageprofile-gcc: maybe-all-build-flex
43369 all-stagefeedback-gcc: maybe-all-build-flex
43370 all-prebootstrap: maybe-all-build-flex
43371 all-gcc: maybe-all-build-libiberty
43373 all-stage1-gcc: maybe-all-build-libiberty
43374 all-stage2-gcc: maybe-all-build-libiberty
43375 all-stage3-gcc: maybe-all-build-libiberty
43376 all-stage4-gcc: maybe-all-build-libiberty
43377 all-stageprofile-gcc: maybe-all-build-libiberty
43378 all-stagefeedback-gcc: maybe-all-build-libiberty
43379 all-prebootstrap: maybe-all-build-libiberty
43380 all-gcc: maybe-all-build-fixincludes
43382 all-stage1-gcc: maybe-all-build-fixincludes
43383 all-stage2-gcc: maybe-all-build-fixincludes
43384 all-stage3-gcc: maybe-all-build-fixincludes
43385 all-stage4-gcc: maybe-all-build-fixincludes
43386 all-stageprofile-gcc: maybe-all-build-fixincludes
43387 all-stagefeedback-gcc: maybe-all-build-fixincludes
43388 all-prebootstrap: maybe-all-build-fixincludes
43389 all-gcc: maybe-all-zlib
43391 all-stage1-gcc: maybe-all-stage1-zlib
43392 all-stage2-gcc: maybe-all-stage2-zlib
43393 all-stage3-gcc: maybe-all-stage3-zlib
43394 all-stage4-gcc: maybe-all-stage4-zlib
43395 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43396 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43397 all-gcc: all-libcpp
43399 all-stage1-gcc: all-stage1-libcpp
43400 all-stage2-gcc: all-stage2-libcpp
43401 all-stage3-gcc: all-stage3-libcpp
43402 all-stage4-gcc: all-stage4-libcpp
43403 all-stageprofile-gcc: all-stageprofile-libcpp
43404 all-stagefeedback-gcc: all-stagefeedback-libcpp
43405 all-gcc: all-libdecnumber
43407 all-stage1-gcc: all-stage1-libdecnumber
43408 all-stage2-gcc: all-stage2-libdecnumber
43409 all-stage3-gcc: all-stage3-libdecnumber
43410 all-stage4-gcc: all-stage4-libdecnumber
43411 all-stageprofile-gcc: all-stageprofile-libdecnumber
43412 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43413 all-gcc: maybe-all-libiberty
43415 all-stage1-gcc: maybe-all-stage1-libiberty
43416 all-stage2-gcc: maybe-all-stage2-libiberty
43417 all-stage3-gcc: maybe-all-stage3-libiberty
43418 all-stage4-gcc: maybe-all-stage4-libiberty
43419 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43420 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43421 all-gcc: maybe-all-fixincludes
43422 install-gcc: maybe-install-fixincludes
43423 configure-libcpp: configure-libiberty
43425 configure-stage1-libcpp: configure-stage1-libiberty
43426 configure-stage2-libcpp: configure-stage2-libiberty
43427 configure-stage3-libcpp: configure-stage3-libiberty
43428 configure-stage4-libcpp: configure-stage4-libiberty
43429 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43430 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43431 configure-libcpp: maybe-configure-intl
43433 configure-stage1-libcpp: maybe-configure-stage1-intl
43434 configure-stage2-libcpp: maybe-configure-stage2-intl
43435 configure-stage3-libcpp: maybe-configure-stage3-intl
43436 configure-stage4-libcpp: maybe-configure-stage4-intl
43437 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43438 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43439 all-libcpp: all-libiberty
43441 all-stage1-libcpp: all-stage1-libiberty
43442 all-stage2-libcpp: all-stage2-libiberty
43443 all-stage3-libcpp: all-stage3-libiberty
43444 all-stage4-libcpp: all-stage4-libiberty
43445 all-stageprofile-libcpp: all-stageprofile-libiberty
43446 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43447 all-libcpp: maybe-all-intl
43449 all-stage1-libcpp: maybe-all-stage1-intl
43450 all-stage2-libcpp: maybe-all-stage2-intl
43451 all-stage3-libcpp: maybe-all-stage3-intl
43452 all-stage4-libcpp: maybe-all-stage4-intl
43453 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43454 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43455 all-fixincludes: maybe-all-libiberty
43456 all-gnattools: maybe-all-target-libada
43457 configure-gdb: maybe-configure-intl
43458 configure-gdb: maybe-configure-sim
43459 all-gdb: maybe-all-intl
43460 all-gdb: maybe-all-libiberty
43461 all-gdb: maybe-all-opcodes
43462 all-gdb: maybe-all-bfd
43463 all-gdb: maybe-all-readline
43464 all-gdb: maybe-all-build-bison
43465 all-gdb: maybe-all-build-byacc
43466 all-gdb: maybe-all-sim
43467 configure-libgui: maybe-configure-tcl
43468 configure-libgui: maybe-configure-tk
43469 all-libgui: maybe-all-tcl
43470 all-libgui: maybe-all-tk
43471 all-libgui: maybe-all-itcl
43472 configure-bfd: configure-libiberty
43474 configure-stage1-bfd: configure-stage1-libiberty
43475 configure-stage2-bfd: configure-stage2-libiberty
43476 configure-stage3-bfd: configure-stage3-libiberty
43477 configure-stage4-bfd: configure-stage4-libiberty
43478 configure-stageprofile-bfd: configure-stageprofile-libiberty
43479 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43480 configure-bfd: maybe-configure-intl
43482 configure-stage1-bfd: maybe-configure-stage1-intl
43483 configure-stage2-bfd: maybe-configure-stage2-intl
43484 configure-stage3-bfd: maybe-configure-stage3-intl
43485 configure-stage4-bfd: maybe-configure-stage4-intl
43486 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43487 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43488 all-bfd: maybe-all-libiberty
43490 all-stage1-bfd: maybe-all-stage1-libiberty
43491 all-stage2-bfd: maybe-all-stage2-libiberty
43492 all-stage3-bfd: maybe-all-stage3-libiberty
43493 all-stage4-bfd: maybe-all-stage4-libiberty
43494 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43495 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43496 all-bfd: maybe-all-intl
43498 all-stage1-bfd: maybe-all-stage1-intl
43499 all-stage2-bfd: maybe-all-stage2-intl
43500 all-stage3-bfd: maybe-all-stage3-intl
43501 all-stage4-bfd: maybe-all-stage4-intl
43502 all-stageprofile-bfd: maybe-all-stageprofile-intl
43503 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43504 configure-binutils: maybe-configure-intl
43506 configure-stage1-binutils: maybe-configure-stage1-intl
43507 configure-stage2-binutils: maybe-configure-stage2-intl
43508 configure-stage3-binutils: maybe-configure-stage3-intl
43509 configure-stage4-binutils: maybe-configure-stage4-intl
43510 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43511 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43512 all-binutils: maybe-all-libiberty
43514 all-stage1-binutils: maybe-all-stage1-libiberty
43515 all-stage2-binutils: maybe-all-stage2-libiberty
43516 all-stage3-binutils: maybe-all-stage3-libiberty
43517 all-stage4-binutils: maybe-all-stage4-libiberty
43518 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43519 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43520 all-binutils: maybe-all-opcodes
43522 all-stage1-binutils: maybe-all-stage1-opcodes
43523 all-stage2-binutils: maybe-all-stage2-opcodes
43524 all-stage3-binutils: maybe-all-stage3-opcodes
43525 all-stage4-binutils: maybe-all-stage4-opcodes
43526 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43527 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43528 all-binutils: maybe-all-bfd
43530 all-stage1-binutils: maybe-all-stage1-bfd
43531 all-stage2-binutils: maybe-all-stage2-bfd
43532 all-stage3-binutils: maybe-all-stage3-bfd
43533 all-stage4-binutils: maybe-all-stage4-bfd
43534 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43535 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43536 all-binutils: maybe-all-build-flex
43538 all-stage1-binutils: maybe-all-build-flex
43539 all-stage2-binutils: maybe-all-build-flex
43540 all-stage3-binutils: maybe-all-build-flex
43541 all-stage4-binutils: maybe-all-build-flex
43542 all-stageprofile-binutils: maybe-all-build-flex
43543 all-stagefeedback-binutils: maybe-all-build-flex
43544 all-prebootstrap: maybe-all-build-flex
43545 all-binutils: maybe-all-build-bison
43547 all-stage1-binutils: maybe-all-build-bison
43548 all-stage2-binutils: maybe-all-build-bison
43549 all-stage3-binutils: maybe-all-build-bison
43550 all-stage4-binutils: maybe-all-build-bison
43551 all-stageprofile-binutils: maybe-all-build-bison
43552 all-stagefeedback-binutils: maybe-all-build-bison
43553 all-prebootstrap: maybe-all-build-bison
43554 all-binutils: maybe-all-build-byacc
43556 all-stage1-binutils: maybe-all-build-byacc
43557 all-stage2-binutils: maybe-all-build-byacc
43558 all-stage3-binutils: maybe-all-build-byacc
43559 all-stage4-binutils: maybe-all-build-byacc
43560 all-stageprofile-binutils: maybe-all-build-byacc
43561 all-stagefeedback-binutils: maybe-all-build-byacc
43562 all-prebootstrap: maybe-all-build-byacc
43563 all-binutils: maybe-all-intl
43565 all-stage1-binutils: maybe-all-stage1-intl
43566 all-stage2-binutils: maybe-all-stage2-intl
43567 all-stage3-binutils: maybe-all-stage3-intl
43568 all-stage4-binutils: maybe-all-stage4-intl
43569 all-stageprofile-binutils: maybe-all-stageprofile-intl
43570 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43571 install-binutils: maybe-install-opcodes
43572 install-opcodes: maybe-install-bfd
43573 configure-gas: maybe-configure-intl
43575 configure-stage1-gas: maybe-configure-stage1-intl
43576 configure-stage2-gas: maybe-configure-stage2-intl
43577 configure-stage3-gas: maybe-configure-stage3-intl
43578 configure-stage4-gas: maybe-configure-stage4-intl
43579 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43580 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43581 all-gas: maybe-all-libiberty
43583 all-stage1-gas: maybe-all-stage1-libiberty
43584 all-stage2-gas: maybe-all-stage2-libiberty
43585 all-stage3-gas: maybe-all-stage3-libiberty
43586 all-stage4-gas: maybe-all-stage4-libiberty
43587 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43588 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43589 all-gas: maybe-all-opcodes
43591 all-stage1-gas: maybe-all-stage1-opcodes
43592 all-stage2-gas: maybe-all-stage2-opcodes
43593 all-stage3-gas: maybe-all-stage3-opcodes
43594 all-stage4-gas: maybe-all-stage4-opcodes
43595 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43596 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43597 all-gas: maybe-all-bfd
43599 all-stage1-gas: maybe-all-stage1-bfd
43600 all-stage2-gas: maybe-all-stage2-bfd
43601 all-stage3-gas: maybe-all-stage3-bfd
43602 all-stage4-gas: maybe-all-stage4-bfd
43603 all-stageprofile-gas: maybe-all-stageprofile-bfd
43604 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43605 all-gas: maybe-all-intl
43607 all-stage1-gas: maybe-all-stage1-intl
43608 all-stage2-gas: maybe-all-stage2-intl
43609 all-stage3-gas: maybe-all-stage3-intl
43610 all-stage4-gas: maybe-all-stage4-intl
43611 all-stageprofile-gas: maybe-all-stageprofile-intl
43612 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43613 configure-gprof: maybe-configure-intl
43614 all-gprof: maybe-all-libiberty
43615 all-gprof: maybe-all-bfd
43616 all-gprof: maybe-all-opcodes
43617 all-gprof: maybe-all-intl
43618 configure-ld: maybe-configure-intl
43620 configure-stage1-ld: maybe-configure-stage1-intl
43621 configure-stage2-ld: maybe-configure-stage2-intl
43622 configure-stage3-ld: maybe-configure-stage3-intl
43623 configure-stage4-ld: maybe-configure-stage4-intl
43624 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43625 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43626 all-ld: maybe-all-libiberty
43628 all-stage1-ld: maybe-all-stage1-libiberty
43629 all-stage2-ld: maybe-all-stage2-libiberty
43630 all-stage3-ld: maybe-all-stage3-libiberty
43631 all-stage4-ld: maybe-all-stage4-libiberty
43632 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43633 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43634 all-ld: maybe-all-bfd
43636 all-stage1-ld: maybe-all-stage1-bfd
43637 all-stage2-ld: maybe-all-stage2-bfd
43638 all-stage3-ld: maybe-all-stage3-bfd
43639 all-stage4-ld: maybe-all-stage4-bfd
43640 all-stageprofile-ld: maybe-all-stageprofile-bfd
43641 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43642 all-ld: maybe-all-opcodes
43644 all-stage1-ld: maybe-all-stage1-opcodes
43645 all-stage2-ld: maybe-all-stage2-opcodes
43646 all-stage3-ld: maybe-all-stage3-opcodes
43647 all-stage4-ld: maybe-all-stage4-opcodes
43648 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43649 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43650 all-ld: maybe-all-build-bison
43652 all-stage1-ld: maybe-all-build-bison
43653 all-stage2-ld: maybe-all-build-bison
43654 all-stage3-ld: maybe-all-build-bison
43655 all-stage4-ld: maybe-all-build-bison
43656 all-stageprofile-ld: maybe-all-build-bison
43657 all-stagefeedback-ld: maybe-all-build-bison
43658 all-prebootstrap: maybe-all-build-bison
43659 all-ld: maybe-all-build-byacc
43661 all-stage1-ld: maybe-all-build-byacc
43662 all-stage2-ld: maybe-all-build-byacc
43663 all-stage3-ld: maybe-all-build-byacc
43664 all-stage4-ld: maybe-all-build-byacc
43665 all-stageprofile-ld: maybe-all-build-byacc
43666 all-stagefeedback-ld: maybe-all-build-byacc
43667 all-prebootstrap: maybe-all-build-byacc
43668 all-ld: maybe-all-build-flex
43670 all-stage1-ld: maybe-all-build-flex
43671 all-stage2-ld: maybe-all-build-flex
43672 all-stage3-ld: maybe-all-build-flex
43673 all-stage4-ld: maybe-all-build-flex
43674 all-stageprofile-ld: maybe-all-build-flex
43675 all-stagefeedback-ld: maybe-all-build-flex
43676 all-prebootstrap: maybe-all-build-flex
43677 all-ld: maybe-all-intl
43679 all-stage1-ld: maybe-all-stage1-intl
43680 all-stage2-ld: maybe-all-stage2-intl
43681 all-stage3-ld: maybe-all-stage3-intl
43682 all-stage4-ld: maybe-all-stage4-intl
43683 all-stageprofile-ld: maybe-all-stageprofile-intl
43684 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43685 configure-opcodes: maybe-configure-intl
43687 configure-stage1-opcodes: maybe-configure-stage1-intl
43688 configure-stage2-opcodes: maybe-configure-stage2-intl
43689 configure-stage3-opcodes: maybe-configure-stage3-intl
43690 configure-stage4-opcodes: maybe-configure-stage4-intl
43691 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43692 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43693 all-opcodes: maybe-all-bfd
43695 all-stage1-opcodes: maybe-all-stage1-bfd
43696 all-stage2-opcodes: maybe-all-stage2-bfd
43697 all-stage3-opcodes: maybe-all-stage3-bfd
43698 all-stage4-opcodes: maybe-all-stage4-bfd
43699 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43700 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43701 all-opcodes: maybe-all-libiberty
43703 all-stage1-opcodes: maybe-all-stage1-libiberty
43704 all-stage2-opcodes: maybe-all-stage2-libiberty
43705 all-stage3-opcodes: maybe-all-stage3-libiberty
43706 all-stage4-opcodes: maybe-all-stage4-libiberty
43707 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43708 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43709 all-opcodes: maybe-all-intl
43711 all-stage1-opcodes: maybe-all-stage1-intl
43712 all-stage2-opcodes: maybe-all-stage2-intl
43713 all-stage3-opcodes: maybe-all-stage3-intl
43714 all-stage4-opcodes: maybe-all-stage4-intl
43715 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43716 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43717 all-dejagnu: maybe-all-tcl
43718 all-dejagnu: maybe-all-expect
43719 all-dejagnu: maybe-all-tk
43720 configure-expect: maybe-configure-tcl
43721 configure-expect: maybe-configure-tk
43722 all-expect: maybe-all-tcl
43723 all-expect: maybe-all-tk
43724 configure-itcl: maybe-configure-tcl
43725 configure-itcl: maybe-configure-tk
43726 all-itcl: maybe-all-tcl
43727 all-itcl: maybe-all-tk
43728 install-itcl: maybe-install-tcl
43729 configure-tk: maybe-configure-tcl
43730 all-tk: maybe-all-tcl
43731 all-sid: maybe-all-libiberty
43732 all-sid: maybe-all-bfd
43733 all-sid: maybe-all-opcodes
43734 all-sid: maybe-all-tcl
43735 all-sid: maybe-all-tk
43736 install-sid: maybe-install-tcl
43737 install-sid: maybe-install-tk
43738 configure-sim: maybe-configure-intl
43739 all-sim: maybe-all-intl
43740 all-sim: maybe-all-libiberty
43741 all-sim: maybe-all-bfd
43742 all-sim: maybe-all-opcodes
43743 all-sim: maybe-all-readline
43744 all-sim: maybe-configure-gdb
43745 all-fastjar: maybe-all-zlib
43746 all-fastjar: maybe-all-build-texinfo
43747 all-fastjar: maybe-all-libiberty
43748 all-autoconf: maybe-all-m4
43749 all-autoconf: maybe-all-build-texinfo
43750 all-automake: maybe-all-m4
43751 all-automake: maybe-all-build-texinfo
43752 all-automake: maybe-all-autoconf
43753 all-bison: maybe-all-intl
43754 all-bison: maybe-all-build-texinfo
43755 all-diff: maybe-all-intl
43756 all-diff: maybe-all-build-texinfo
43757 all-fileutils: maybe-all-intl
43758 all-fileutils: maybe-all-build-texinfo
43759 all-flex: maybe-all-build-bison
43760 all-flex: maybe-all-build-byacc
43761 all-flex: maybe-all-intl
43762 all-flex: maybe-all-m4
43763 all-flex: maybe-all-build-texinfo
43764 all-gzip: maybe-all-intl
43765 all-gzip: maybe-all-zlib
43766 all-gzip: maybe-all-build-texinfo
43767 all-hello: maybe-all-intl
43768 all-hello: maybe-all-build-texinfo
43769 all-m4: maybe-all-intl
43770 all-m4: maybe-all-build-texinfo
43771 all-make: maybe-all-intl
43772 all-make: maybe-all-build-texinfo
43773 all-patch: maybe-all-build-texinfo
43774 all-make: maybe-all-build-texinfo
43775 all-prms: maybe-all-libiberty
43776 all-recode: maybe-all-build-texinfo
43777 all-sed: maybe-all-build-texinfo
43778 all-send-pr: maybe-all-prms
43779 all-tar: maybe-all-build-texinfo
43780 all-uudecode: maybe-all-build-texinfo
43781 configure-target-boehm-gc: maybe-configure-target-qthreads
43782 configure-target-fastjar: maybe-configure-target-zlib
43783 all-target-fastjar: maybe-all-target-zlib
43784 all-target-fastjar: maybe-all-target-libiberty
43785 configure-target-libjava: maybe-configure-target-zlib
43786 configure-target-libjava: maybe-configure-target-boehm-gc
43787 configure-target-libjava: maybe-configure-target-qthreads
43788 configure-target-libjava: maybe-configure-target-libffi
43789 all-target-libjava: maybe-all-fastjar
43790 all-target-libjava: maybe-all-target-zlib
43791 all-target-libjava: maybe-all-target-boehm-gc
43792 all-target-libjava: maybe-all-target-qthreads
43793 all-target-libjava: maybe-all-target-libffi
43794 configure-target-libobjc: maybe-configure-target-boehm-gc
43795 all-target-libobjc: maybe-all-target-libiberty
43796 all-target-libobjc: maybe-all-target-boehm-gc
43797 all-target-libstdc++-v3: maybe-all-target-libiberty
43798 all-target-libgloss: maybe-configure-target-newlib
43799 all-target-winsup: maybe-all-target-libiberty
43800 all-target-winsup: maybe-all-target-libtermcap
43803 # Non-toplevel bootstrap rules must depend on several packages, to be built
43804 # before gcc. Another wart that will go away, hopefully soon.
43805 @if gcc-no-bootstrap
43807 all-prebootstrap: maybe-all-bfd
43808 all-prebootstrap: maybe-all-opcodes
43809 all-prebootstrap: maybe-all-binutils
43810 all-prebootstrap: maybe-all-gas
43811 all-prebootstrap: maybe-all-intl
43812 all-prebootstrap: maybe-all-ld
43813 all-prebootstrap: maybe-all-libcpp
43814 all-prebootstrap: maybe-all-libdecnumber
43815 all-prebootstrap: maybe-all-libiberty
43816 all-prebootstrap: maybe-all-zlib
43817 @endif gcc-no-bootstrap
43819 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43820 GDB_TK = @GDB_TK@
43821 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43822 configure-gdb: $(CONFIGURE_GDB_TK)
43823 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43824 install-gdb: $(INSTALL_GDB_TK)
43826 # Serialization dependencies. Host configures don't work well in parallel to
43827 # each other, due to contention over config.cache. Target configures and
43828 # build configures are similar.
43829 @serialization_dependencies@
43831 # --------------------------------
43832 # Regenerating top level configury
43833 # --------------------------------
43835 # Rebuilding Makefile.in, using autogen.
43836 AUTOGEN = autogen
43837 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43838 cd $(srcdir) && $(AUTOGEN) Makefile.def
43840 # Rebuilding Makefile.
43841 Makefile: $(srcdir)/Makefile.in config.status
43842 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43844 config.status: configure
43845 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43847 # Rebuilding configure.
43848 AUTOCONF = autoconf
43849 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
43850 cd $(srcdir) && $(AUTOCONF)
43852 # ------------------------------
43853 # Special directives to GNU Make
43854 # ------------------------------
43856 # Don't pass command-line variables to submakes.
43857 .NOEXPORT:
43858 MAKEOVERRIDES=
43860 # end of Makefile.in