* gfortran.texi (GNU Fortran and GCC): Rewrite
[official-gcc.git] / Makefile.in
blobd51580adf51e3d7098a6a4efe3369dd0f3c4a293
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
73 MAINT = @MAINT@
74 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
75 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
77 # -------------------------------------------------
78 # Miscellaneous non-standard autoconf-set variables
79 # -------------------------------------------------
81 # The gcc driver likes to know the arguments it was configured with.
82 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
84 tooldir = @tooldir@
85 build_tooldir = @build_tooldir@
87 GDB_NLM_DEPS =
89 # This is the name of the environment variable used for the path to
90 # the libraries.
91 RPATH_ENVVAR = @RPATH_ENVVAR@
93 # Build programs are put under this directory.
94 BUILD_SUBDIR = @build_subdir@
95 # This is set by the configure script to the arguments to use when configuring
96 # directories built for the build system.
97 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
99 # This is the list of variables to export in the environment when
100 # configuring any subdirectory. It must also be exported whenever
101 # recursing into a build directory in case that directory's Makefile
102 # re-runs configure.
103 BASE_EXPORTS = \
104 FLEX="$(FLEX)"; export FLEX; \
105 LEX="$(LEX)"; export LEX; \
106 BISON="$(BISON)"; export BISON; \
107 YACC="$(YACC)"; export YACC; \
108 M4="$(M4)"; export M4; \
109 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
111 # This is the list of variables to export in the environment when
112 # configuring subdirectories for the build system.
113 BUILD_EXPORTS = \
114 $(BASE_EXPORTS) \
115 AR="$(AR_FOR_BUILD)"; export AR; \
116 AS="$(AS_FOR_BUILD)"; export AS; \
117 CC="$(CC_FOR_BUILD)"; export CC; \
118 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
119 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
120 CXX="$(CXX_FOR_BUILD)"; export CXX; \
121 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
122 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
123 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
124 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
125 LD="$(LD_FOR_BUILD)"; export LD; \
126 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
127 NM="$(NM_FOR_BUILD)"; export NM; \
128 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
129 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
131 # This is the list of directories to built for the host system.
132 SUBDIRS = @configdirs@
133 # This is set by the configure script to the arguments to use when configuring
134 # directories built for the host system.
135 HOST_CONFIGARGS = @host_configargs@
136 # Host programs are put under this directory, which is . except if building
137 # with srcdir=..
138 HOST_SUBDIR = @host_subdir@
139 # This is the list of variables to export in the environment when
140 # configuring subdirectories for the host system. We need to pass
141 # some to the GCC configure because of its hybrid host/target nature.
142 HOST_EXPORTS = \
143 $(BASE_EXPORTS) \
144 CC="$(CC)"; export CC; \
145 CFLAGS="$(CFLAGS)"; export CFLAGS; \
146 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
147 CXX="$(CXX)"; export CXX; \
148 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
149 AR="$(AR)"; export AR; \
150 AS="$(AS)"; export AS; \
151 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
152 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
153 LD="$(LD)"; export LD; \
154 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
155 NM="$(NM)"; export NM; \
156 RANLIB="$(RANLIB)"; export RANLIB; \
157 WINDRES="$(WINDRES)"; export WINDRES; \
158 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
159 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
160 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
161 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
162 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
163 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
164 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
165 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
166 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
167 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
168 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
169 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
170 @if gcc-bootstrap
171 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
172 @endif gcc-bootstrap
173 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
175 # Similar, for later GCC stages.
176 POSTSTAGE1_HOST_EXPORTS = \
177 $(HOST_EXPORTS) \
178 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
180 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
181 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
182 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
183 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
184 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
185 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
195 $(BASE_EXPORTS) \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
209 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
210 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
211 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
212 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
213 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
214 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
216 RAW_CXX_TARGET_EXPORTS = \
217 $(BASE_TARGET_EXPORTS) \
218 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
219 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
221 NORMAL_TARGET_EXPORTS = \
222 $(BASE_TARGET_EXPORTS) \
223 CXX="$(CXX_FOR_TARGET)"; export CXX;
225 # Where to find GMP
226 HOST_GMPLIBS = @gmplibs@
227 HOST_GMPINC = @gmpinc@
229 # ----------------------------------------------
230 # Programs producing files for the BUILD machine
231 # ----------------------------------------------
233 SHELL = @config_shell@
235 # pwd command to use. Allow user to override default by setting PWDCMD in
236 # the environment to account for automounters. The make variable must not
237 # be called PWDCMD, otherwise the value set here is passed to make
238 # subprocesses and overrides the setting from the user's environment.
239 # Don't use PWD since it is a common shell environment variable and we
240 # don't want to corrupt it.
241 PWD_COMMAND = $${PWDCMD-pwd}
243 # compilers to use to create programs which must be run in the build
244 # environment.
245 CC_FOR_BUILD = @CC_FOR_BUILD@
246 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
248 CXX_FOR_BUILD = $(CXX)
250 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
251 # here so that they can be overridden by Makefile fragments.
252 BUILD_PREFIX = @BUILD_PREFIX@
253 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
255 # Flags to pass to stage2 and later makes. They are defined
256 # here so that they can be overridden by Makefile fragments.
257 BOOT_CFLAGS= -g -O2
258 BOOT_LDFLAGS=
260 BISON = @BISON@
261 YACC = @YACC@
262 FLEX = @FLEX@
263 LEX = @LEX@
264 M4 = @M4@
265 MAKEINFO = @MAKEINFO@
266 EXPECT = @EXPECT@
267 RUNTEST = @RUNTEST@
269 # This just becomes part of the MAKEINFO definition passed down to
270 # sub-makes. It lets flags be given on the command line while still
271 # using the makeinfo from the object tree.
272 # (Default to avoid splitting info files by setting the threshold high.)
273 MAKEINFOFLAGS = --split-size=5000000
275 # ---------------------------------------------
276 # Programs producing files for the HOST machine
277 # ---------------------------------------------
279 AS = @AS@
280 AR = @AR@
281 AR_FLAGS = rc
282 CC = @CC@
283 CXX = @CXX@
284 DLLTOOL = @DLLTOOL@
285 LD = @LD@
286 LIPO = @LIPO@
287 NM = @NM@
288 OBJDUMP = @OBJDUMP@
289 RANLIB = @RANLIB@
290 STRIP = @STRIP@
291 WINDRES = @WINDRES@
293 CFLAGS = @CFLAGS@
294 LDFLAGS =
295 LIBCFLAGS = $(CFLAGS)
296 CXXFLAGS = @CXXFLAGS@
297 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
298 PICFLAG =
300 # Only build the C compiler for stage1, because that is the only one that
301 # we can guarantee will build with the native compiler, and also it is the
302 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
303 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
304 # overrideable (for a bootstrap build stage1 also builds gcc.info).
306 STAGE1_CFLAGS=@stage1_cflags@
307 STAGE1_CHECKING=@stage1_checking@
308 STAGE1_LANGUAGES=@stage1_languages@
310 # -----------------------------------------------
311 # Programs producing files for the TARGET machine
312 # -----------------------------------------------
314 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
316 AR_FOR_TARGET=@AR_FOR_TARGET@
317 AS_FOR_TARGET=@AS_FOR_TARGET@
318 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
320 # If GCC_FOR_TARGET is not overriden on the command line, then this
321 # variable is passed down to the gcc Makefile, where it is used to
322 # build libgcc2.a. We define it here so that it can itself be
323 # overridden on the command line.
324 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
325 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
326 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
327 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
328 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
329 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
330 LD_FOR_TARGET=@LD_FOR_TARGET@
332 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
333 NM_FOR_TARGET=@NM_FOR_TARGET@
334 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
335 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
336 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
337 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
339 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
340 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
341 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
343 # During gcc bootstrap, if we use some random cc for stage1 then
344 # CFLAGS will be just -g. We want to ensure that TARGET libraries
345 # (which we know are built with gcc) are built with optimizations so
346 # prepend -O2 when setting CFLAGS_FOR_TARGET.
347 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
348 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
349 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
350 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
351 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
352 LDFLAGS_FOR_TARGET =
353 PICFLAG_FOR_TARGET =
355 # ------------------------------------
356 # Miscellaneous targets and flag lists
357 # ------------------------------------
359 # The first rule in the file had better be this one. Don't put any above it.
360 # This lives here to allow makefile fragments to contain dependencies.
361 all:
363 #### host and target specific makefile fragments come in here.
364 @target_makefile_frag@
365 @alphaieee_frag@
366 @ospace_frag@
367 @host_makefile_frag@
370 # This is the list of directories that may be needed in RPATH_ENVVAR
371 # so that prorgams built for the target machine work.
372 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
374 @if target-libstdc++-v3
375 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
376 @endif target-libstdc++-v3
378 @if target-libmudflap
379 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
380 @endif target-libmudflap
382 @if target-libssp
383 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
384 @endif target-libssp
386 @if target-libgomp
387 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
388 @endif target-libgomp
392 # This is the list of directories that may be needed in RPATH_ENVVAR
393 # so that programs built for the host machine work.
394 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
396 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
397 @if gcc
398 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
399 @endif gcc
402 @if bfd
403 HOST_LIB_PATH_bfd = \
404 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
405 @endif bfd
407 @if opcodes
408 HOST_LIB_PATH_opcodes = \
409 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
410 @endif opcodes
413 # Flags to pass down to all sub-makes.
414 BASE_FLAGS_TO_PASS = \
415 "DESTDIR=$(DESTDIR)" \
416 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
417 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
418 "bindir=$(bindir)" \
419 "datadir=$(datadir)" \
420 "exec_prefix=$(exec_prefix)" \
421 "includedir=$(includedir)" \
422 "datarootdir=$(datarootdir)" \
423 "docdir=$(docdir)" \
424 "infodir=$(infodir)" \
425 "htmldir=$(htmldir)" \
426 "libdir=$(libdir)" \
427 "libexecdir=$(libexecdir)" \
428 "lispdir=$(lispdir)" \
429 "localstatedir=$(localstatedir)" \
430 "mandir=$(mandir)" \
431 "oldincludedir=$(oldincludedir)" \
432 "prefix=$(prefix)" \
433 "sbindir=$(sbindir)" \
434 "sharedstatedir=$(sharedstatedir)" \
435 "sysconfdir=$(sysconfdir)" \
436 "tooldir=$(tooldir)" \
437 "build_tooldir=$(build_tooldir)" \
438 "target_alias=$(target_alias)" \
439 "BISON=$(BISON)" \
440 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
441 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
442 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
443 "EXPECT=$(EXPECT)" \
444 "FLEX=$(FLEX)" \
445 "INSTALL=$(INSTALL)" \
446 "INSTALL_DATA=$(INSTALL_DATA)" \
447 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
448 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
449 "LEX=$(LEX)" \
450 "M4=$(M4)" \
451 "MAKE=$(MAKE)" \
452 "RUNTEST=$(RUNTEST)" \
453 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
454 "SHELL=$(SHELL)" \
455 "YACC=$(YACC)" \
456 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
457 "AR_FLAGS=$(AR_FLAGS)" \
458 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
459 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
460 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
461 "CFLAGS=$(CFLAGS)" \
462 "CXXFLAGS=$(CXXFLAGS)" \
463 "LDFLAGS=$(LDFLAGS)" \
464 "LIBCFLAGS=$(LIBCFLAGS)" \
465 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
466 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
467 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
468 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
469 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
470 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
471 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
472 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
473 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
474 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
475 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
476 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
477 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
478 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
479 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
480 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
481 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
482 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
483 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
484 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
485 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
486 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
487 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
488 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
489 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
490 "LEAN=$(LEAN)" \
491 "CONFIG_SHELL=$(SHELL)" \
492 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
494 # We leave this in just in case, but it is not needed anymore.
495 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
497 # Flags to pass down to most sub-makes, in which we're building with
498 # the host environment.
499 EXTRA_HOST_FLAGS = \
500 'AR=$(AR)' \
501 'AS=$(AS)' \
502 'CC=$(CC)' \
503 'CXX=$(CXX)' \
504 'DLLTOOL=$(DLLTOOL)' \
505 'LD=$(LD)' \
506 'LIPO=$(LIPO)' \
507 'NM=$(NM)' \
508 'OBJDUMP=$(OBJDUMP)' \
509 'RANLIB=$(RANLIB)' \
510 'STRIP=$(STRIP)' \
511 'WINDRES=$(WINDRES)'
513 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
515 # Flags that are concerned with the location of the X11 include files
516 # and library files
518 # NOTE: until the top-level is getting the values via autoconf, it only
519 # causes problems to have this top-level Makefile overriding the autoconf-set
520 # values in child directories. Only variables that don't conflict with
521 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
523 X11_FLAGS_TO_PASS = \
524 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
525 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
527 # Flags to pass to stage2 and later makes.
529 POSTSTAGE1_FLAGS_TO_PASS = \
530 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
531 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
532 CFLAGS="$(BOOT_CFLAGS)" \
533 LIBCFLAGS="$(BOOT_CFLAGS)" \
534 LDFLAGS="$(BOOT_LDFLAGS)" \
535 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
537 # Flags to pass down to makes which are built with the target environment.
538 # The double $ decreases the length of the command line; those variables
539 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
540 # COMPILER_ prefixed variables are not passed down so we expand them here.
541 EXTRA_TARGET_FLAGS = \
542 'AR=$$(AR_FOR_TARGET)' \
543 'AS=$(COMPILER_AS_FOR_TARGET)' \
544 'CC=$$(CC_FOR_TARGET)' \
545 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
546 'CXX=$$(CXX_FOR_TARGET)' \
547 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
548 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
549 'LD=$(COMPILER_LD_FOR_TARGET)' \
550 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
551 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
552 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
553 'NM=$(COMPILER_NM_FOR_TARGET)' \
554 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
555 'RANLIB=$$(RANLIB_FOR_TARGET)' \
556 'WINDRES=$$(WINDRES_FOR_TARGET)'
558 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
560 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
561 # unfortunately needs the native compiler and the target ar and
562 # ranlib.
563 # If any variables are added here, they must be added to do-*, below.
564 # The BUILD_* variables are a special case, which are used for the gcc
565 # cross-building scheme.
566 EXTRA_GCC_FLAGS = \
567 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
568 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
569 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
570 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
571 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
572 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
574 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
576 .PHONY: configure-host
577 configure-host: \
578 maybe-configure-ash \
579 maybe-configure-autoconf \
580 maybe-configure-automake \
581 maybe-configure-bash \
582 maybe-configure-bfd \
583 maybe-configure-opcodes \
584 maybe-configure-binutils \
585 maybe-configure-bison \
586 maybe-configure-byacc \
587 maybe-configure-bzip2 \
588 maybe-configure-dejagnu \
589 maybe-configure-diff \
590 maybe-configure-dosutils \
591 maybe-configure-etc \
592 maybe-configure-fastjar \
593 maybe-configure-fileutils \
594 maybe-configure-findutils \
595 maybe-configure-find \
596 maybe-configure-fixincludes \
597 maybe-configure-flex \
598 maybe-configure-gas \
599 maybe-configure-gcc \
600 maybe-configure-gawk \
601 maybe-configure-gettext \
602 maybe-configure-gnuserv \
603 maybe-configure-gprof \
604 maybe-configure-gzip \
605 maybe-configure-hello \
606 maybe-configure-indent \
607 maybe-configure-intl \
608 maybe-configure-tcl \
609 maybe-configure-itcl \
610 maybe-configure-ld \
611 maybe-configure-libcpp \
612 maybe-configure-libdecnumber \
613 maybe-configure-libgui \
614 maybe-configure-libiberty \
615 maybe-configure-libtool \
616 maybe-configure-m4 \
617 maybe-configure-make \
618 maybe-configure-mmalloc \
619 maybe-configure-patch \
620 maybe-configure-perl \
621 maybe-configure-prms \
622 maybe-configure-rcs \
623 maybe-configure-readline \
624 maybe-configure-release \
625 maybe-configure-recode \
626 maybe-configure-sed \
627 maybe-configure-send-pr \
628 maybe-configure-shellutils \
629 maybe-configure-sid \
630 maybe-configure-sim \
631 maybe-configure-tar \
632 maybe-configure-texinfo \
633 maybe-configure-textutils \
634 maybe-configure-time \
635 maybe-configure-uudecode \
636 maybe-configure-wdiff \
637 maybe-configure-zip \
638 maybe-configure-zlib \
639 maybe-configure-gdb \
640 maybe-configure-expect \
641 maybe-configure-guile \
642 maybe-configure-tk \
643 maybe-configure-libtermcap \
644 maybe-configure-utils \
645 maybe-configure-gnattools
646 .PHONY: configure-target
647 configure-target: \
648 maybe-configure-target-libstdc++-v3 \
649 maybe-configure-target-libmudflap \
650 maybe-configure-target-libssp \
651 maybe-configure-target-newlib \
652 maybe-configure-target-libgfortran \
653 maybe-configure-target-libobjc \
654 maybe-configure-target-libtermcap \
655 maybe-configure-target-winsup \
656 maybe-configure-target-libgloss \
657 maybe-configure-target-libiberty \
658 maybe-configure-target-gperf \
659 maybe-configure-target-examples \
660 maybe-configure-target-libffi \
661 maybe-configure-target-libjava \
662 maybe-configure-target-zlib \
663 maybe-configure-target-boehm-gc \
664 maybe-configure-target-qthreads \
665 maybe-configure-target-rda \
666 maybe-configure-target-libada \
667 maybe-configure-target-libgomp
669 # The target built for a native non-bootstrap build.
670 .PHONY: all
671 all:
672 @if gcc-bootstrap
673 [ -f stage_final ] || echo stage3 > stage_final
674 @r=`${PWD_COMMAND}`; export r; \
675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
676 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
677 @endif gcc-bootstrap
678 @: $(MAKE); $(unstage)
679 @r=`${PWD_COMMAND}`; export r; \
680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
681 if [ -f stage_last ]; then \
682 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
683 else \
684 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
687 .PHONY: all-build
689 all-build: maybe-all-build-libiberty
690 all-build: maybe-all-build-bison
691 all-build: maybe-all-build-byacc
692 all-build: maybe-all-build-flex
693 all-build: maybe-all-build-m4
694 all-build: maybe-all-build-texinfo
695 all-build: maybe-all-build-fixincludes
697 .PHONY: all-host
699 all-host: maybe-all-ash
700 all-host: maybe-all-autoconf
701 all-host: maybe-all-automake
702 all-host: maybe-all-bash
703 @if bfd-no-bootstrap
704 all-host: maybe-all-bfd
705 @endif bfd-no-bootstrap
706 @if opcodes-no-bootstrap
707 all-host: maybe-all-opcodes
708 @endif opcodes-no-bootstrap
709 @if binutils-no-bootstrap
710 all-host: maybe-all-binutils
711 @endif binutils-no-bootstrap
712 all-host: maybe-all-bison
713 all-host: maybe-all-byacc
714 all-host: maybe-all-bzip2
715 all-host: maybe-all-dejagnu
716 all-host: maybe-all-diff
717 all-host: maybe-all-dosutils
718 all-host: maybe-all-etc
719 all-host: maybe-all-fastjar
720 all-host: maybe-all-fileutils
721 all-host: maybe-all-findutils
722 all-host: maybe-all-find
723 all-host: maybe-all-fixincludes
724 all-host: maybe-all-flex
725 @if gas-no-bootstrap
726 all-host: maybe-all-gas
727 @endif gas-no-bootstrap
728 @if gcc-no-bootstrap
729 all-host: maybe-all-gcc
730 @endif gcc-no-bootstrap
731 all-host: maybe-all-gawk
732 all-host: maybe-all-gettext
733 all-host: maybe-all-gnuserv
734 all-host: maybe-all-gprof
735 all-host: maybe-all-gzip
736 all-host: maybe-all-hello
737 all-host: maybe-all-indent
738 @if intl-no-bootstrap
739 all-host: maybe-all-intl
740 @endif intl-no-bootstrap
741 all-host: maybe-all-tcl
742 all-host: maybe-all-itcl
743 @if ld-no-bootstrap
744 all-host: maybe-all-ld
745 @endif ld-no-bootstrap
746 @if libcpp-no-bootstrap
747 all-host: maybe-all-libcpp
748 @endif libcpp-no-bootstrap
749 @if libdecnumber-no-bootstrap
750 all-host: maybe-all-libdecnumber
751 @endif libdecnumber-no-bootstrap
752 all-host: maybe-all-libgui
753 @if libiberty-no-bootstrap
754 all-host: maybe-all-libiberty
755 @endif libiberty-no-bootstrap
756 all-host: maybe-all-libtool
757 all-host: maybe-all-m4
758 all-host: maybe-all-make
759 all-host: maybe-all-mmalloc
760 all-host: maybe-all-patch
761 all-host: maybe-all-perl
762 all-host: maybe-all-prms
763 all-host: maybe-all-rcs
764 all-host: maybe-all-readline
765 all-host: maybe-all-release
766 all-host: maybe-all-recode
767 all-host: maybe-all-sed
768 all-host: maybe-all-send-pr
769 all-host: maybe-all-shellutils
770 all-host: maybe-all-sid
771 all-host: maybe-all-sim
772 all-host: maybe-all-tar
773 all-host: maybe-all-texinfo
774 all-host: maybe-all-textutils
775 all-host: maybe-all-time
776 all-host: maybe-all-uudecode
777 all-host: maybe-all-wdiff
778 all-host: maybe-all-zip
779 @if zlib-no-bootstrap
780 all-host: maybe-all-zlib
781 @endif zlib-no-bootstrap
782 all-host: maybe-all-gdb
783 all-host: maybe-all-expect
784 all-host: maybe-all-guile
785 all-host: maybe-all-tk
786 all-host: maybe-all-libtermcap
787 all-host: maybe-all-utils
788 all-host: maybe-all-gnattools
790 .PHONY: all-target
792 all-target: maybe-all-target-libstdc++-v3
793 all-target: maybe-all-target-libmudflap
794 all-target: maybe-all-target-libssp
795 all-target: maybe-all-target-newlib
796 all-target: maybe-all-target-libgfortran
797 all-target: maybe-all-target-libobjc
798 all-target: maybe-all-target-libtermcap
799 all-target: maybe-all-target-winsup
800 all-target: maybe-all-target-libgloss
801 all-target: maybe-all-target-libiberty
802 all-target: maybe-all-target-gperf
803 all-target: maybe-all-target-examples
804 all-target: maybe-all-target-libffi
805 all-target: maybe-all-target-libjava
806 all-target: maybe-all-target-zlib
807 all-target: maybe-all-target-boehm-gc
808 all-target: maybe-all-target-qthreads
809 all-target: maybe-all-target-rda
810 all-target: maybe-all-target-libada
811 all-target: maybe-all-target-libgomp
813 # Do a target for all the subdirectories. A ``make do-X'' will do a
814 # ``make X'' in all subdirectories (because, in general, there is a
815 # dependency (below) of X upon do-X, a ``make X'' will also do this,
816 # but it may do additional work as well).
818 .PHONY: do-info
819 do-info:
820 @: $(MAKE); $(unstage)
821 @r=`${PWD_COMMAND}`; export r; \
822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
823 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
824 info-target
827 .PHONY: info-host
829 info-host: maybe-info-ash
830 info-host: maybe-info-autoconf
831 info-host: maybe-info-automake
832 info-host: maybe-info-bash
833 info-host: maybe-info-bfd
834 info-host: maybe-info-opcodes
835 info-host: maybe-info-binutils
836 info-host: maybe-info-bison
837 info-host: maybe-info-byacc
838 info-host: maybe-info-bzip2
839 info-host: maybe-info-dejagnu
840 info-host: maybe-info-diff
841 info-host: maybe-info-dosutils
842 info-host: maybe-info-etc
843 info-host: maybe-info-fastjar
844 info-host: maybe-info-fileutils
845 info-host: maybe-info-findutils
846 info-host: maybe-info-find
847 info-host: maybe-info-fixincludes
848 info-host: maybe-info-flex
849 info-host: maybe-info-gas
850 info-host: maybe-info-gcc
851 info-host: maybe-info-gawk
852 info-host: maybe-info-gettext
853 info-host: maybe-info-gnuserv
854 info-host: maybe-info-gprof
855 info-host: maybe-info-gzip
856 info-host: maybe-info-hello
857 info-host: maybe-info-indent
858 info-host: maybe-info-intl
859 info-host: maybe-info-tcl
860 info-host: maybe-info-itcl
861 info-host: maybe-info-ld
862 info-host: maybe-info-libcpp
863 info-host: maybe-info-libdecnumber
864 info-host: maybe-info-libgui
865 info-host: maybe-info-libiberty
866 info-host: maybe-info-libtool
867 info-host: maybe-info-m4
868 info-host: maybe-info-make
869 info-host: maybe-info-mmalloc
870 info-host: maybe-info-patch
871 info-host: maybe-info-perl
872 info-host: maybe-info-prms
873 info-host: maybe-info-rcs
874 info-host: maybe-info-readline
875 info-host: maybe-info-release
876 info-host: maybe-info-recode
877 info-host: maybe-info-sed
878 info-host: maybe-info-send-pr
879 info-host: maybe-info-shellutils
880 info-host: maybe-info-sid
881 info-host: maybe-info-sim
882 info-host: maybe-info-tar
883 info-host: maybe-info-texinfo
884 info-host: maybe-info-textutils
885 info-host: maybe-info-time
886 info-host: maybe-info-uudecode
887 info-host: maybe-info-wdiff
888 info-host: maybe-info-zip
889 info-host: maybe-info-zlib
890 info-host: maybe-info-gdb
891 info-host: maybe-info-expect
892 info-host: maybe-info-guile
893 info-host: maybe-info-tk
894 info-host: maybe-info-libtermcap
895 info-host: maybe-info-utils
896 info-host: maybe-info-gnattools
898 .PHONY: info-target
900 info-target: maybe-info-target-libstdc++-v3
901 info-target: maybe-info-target-libmudflap
902 info-target: maybe-info-target-libssp
903 info-target: maybe-info-target-newlib
904 info-target: maybe-info-target-libgfortran
905 info-target: maybe-info-target-libobjc
906 info-target: maybe-info-target-libtermcap
907 info-target: maybe-info-target-winsup
908 info-target: maybe-info-target-libgloss
909 info-target: maybe-info-target-libiberty
910 info-target: maybe-info-target-gperf
911 info-target: maybe-info-target-examples
912 info-target: maybe-info-target-libffi
913 info-target: maybe-info-target-libjava
914 info-target: maybe-info-target-zlib
915 info-target: maybe-info-target-boehm-gc
916 info-target: maybe-info-target-qthreads
917 info-target: maybe-info-target-rda
918 info-target: maybe-info-target-libada
919 info-target: maybe-info-target-libgomp
921 .PHONY: do-dvi
922 do-dvi:
923 @: $(MAKE); $(unstage)
924 @r=`${PWD_COMMAND}`; export r; \
925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
926 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
927 dvi-target
930 .PHONY: dvi-host
932 dvi-host: maybe-dvi-ash
933 dvi-host: maybe-dvi-autoconf
934 dvi-host: maybe-dvi-automake
935 dvi-host: maybe-dvi-bash
936 dvi-host: maybe-dvi-bfd
937 dvi-host: maybe-dvi-opcodes
938 dvi-host: maybe-dvi-binutils
939 dvi-host: maybe-dvi-bison
940 dvi-host: maybe-dvi-byacc
941 dvi-host: maybe-dvi-bzip2
942 dvi-host: maybe-dvi-dejagnu
943 dvi-host: maybe-dvi-diff
944 dvi-host: maybe-dvi-dosutils
945 dvi-host: maybe-dvi-etc
946 dvi-host: maybe-dvi-fastjar
947 dvi-host: maybe-dvi-fileutils
948 dvi-host: maybe-dvi-findutils
949 dvi-host: maybe-dvi-find
950 dvi-host: maybe-dvi-fixincludes
951 dvi-host: maybe-dvi-flex
952 dvi-host: maybe-dvi-gas
953 dvi-host: maybe-dvi-gcc
954 dvi-host: maybe-dvi-gawk
955 dvi-host: maybe-dvi-gettext
956 dvi-host: maybe-dvi-gnuserv
957 dvi-host: maybe-dvi-gprof
958 dvi-host: maybe-dvi-gzip
959 dvi-host: maybe-dvi-hello
960 dvi-host: maybe-dvi-indent
961 dvi-host: maybe-dvi-intl
962 dvi-host: maybe-dvi-tcl
963 dvi-host: maybe-dvi-itcl
964 dvi-host: maybe-dvi-ld
965 dvi-host: maybe-dvi-libcpp
966 dvi-host: maybe-dvi-libdecnumber
967 dvi-host: maybe-dvi-libgui
968 dvi-host: maybe-dvi-libiberty
969 dvi-host: maybe-dvi-libtool
970 dvi-host: maybe-dvi-m4
971 dvi-host: maybe-dvi-make
972 dvi-host: maybe-dvi-mmalloc
973 dvi-host: maybe-dvi-patch
974 dvi-host: maybe-dvi-perl
975 dvi-host: maybe-dvi-prms
976 dvi-host: maybe-dvi-rcs
977 dvi-host: maybe-dvi-readline
978 dvi-host: maybe-dvi-release
979 dvi-host: maybe-dvi-recode
980 dvi-host: maybe-dvi-sed
981 dvi-host: maybe-dvi-send-pr
982 dvi-host: maybe-dvi-shellutils
983 dvi-host: maybe-dvi-sid
984 dvi-host: maybe-dvi-sim
985 dvi-host: maybe-dvi-tar
986 dvi-host: maybe-dvi-texinfo
987 dvi-host: maybe-dvi-textutils
988 dvi-host: maybe-dvi-time
989 dvi-host: maybe-dvi-uudecode
990 dvi-host: maybe-dvi-wdiff
991 dvi-host: maybe-dvi-zip
992 dvi-host: maybe-dvi-zlib
993 dvi-host: maybe-dvi-gdb
994 dvi-host: maybe-dvi-expect
995 dvi-host: maybe-dvi-guile
996 dvi-host: maybe-dvi-tk
997 dvi-host: maybe-dvi-libtermcap
998 dvi-host: maybe-dvi-utils
999 dvi-host: maybe-dvi-gnattools
1001 .PHONY: dvi-target
1003 dvi-target: maybe-dvi-target-libstdc++-v3
1004 dvi-target: maybe-dvi-target-libmudflap
1005 dvi-target: maybe-dvi-target-libssp
1006 dvi-target: maybe-dvi-target-newlib
1007 dvi-target: maybe-dvi-target-libgfortran
1008 dvi-target: maybe-dvi-target-libobjc
1009 dvi-target: maybe-dvi-target-libtermcap
1010 dvi-target: maybe-dvi-target-winsup
1011 dvi-target: maybe-dvi-target-libgloss
1012 dvi-target: maybe-dvi-target-libiberty
1013 dvi-target: maybe-dvi-target-gperf
1014 dvi-target: maybe-dvi-target-examples
1015 dvi-target: maybe-dvi-target-libffi
1016 dvi-target: maybe-dvi-target-libjava
1017 dvi-target: maybe-dvi-target-zlib
1018 dvi-target: maybe-dvi-target-boehm-gc
1019 dvi-target: maybe-dvi-target-qthreads
1020 dvi-target: maybe-dvi-target-rda
1021 dvi-target: maybe-dvi-target-libada
1022 dvi-target: maybe-dvi-target-libgomp
1024 .PHONY: do-pdf
1025 do-pdf:
1026 @: $(MAKE); $(unstage)
1027 @r=`${PWD_COMMAND}`; export r; \
1028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1029 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1030 pdf-target
1033 .PHONY: pdf-host
1035 pdf-host: maybe-pdf-ash
1036 pdf-host: maybe-pdf-autoconf
1037 pdf-host: maybe-pdf-automake
1038 pdf-host: maybe-pdf-bash
1039 pdf-host: maybe-pdf-bfd
1040 pdf-host: maybe-pdf-opcodes
1041 pdf-host: maybe-pdf-binutils
1042 pdf-host: maybe-pdf-bison
1043 pdf-host: maybe-pdf-byacc
1044 pdf-host: maybe-pdf-bzip2
1045 pdf-host: maybe-pdf-dejagnu
1046 pdf-host: maybe-pdf-diff
1047 pdf-host: maybe-pdf-dosutils
1048 pdf-host: maybe-pdf-etc
1049 pdf-host: maybe-pdf-fastjar
1050 pdf-host: maybe-pdf-fileutils
1051 pdf-host: maybe-pdf-findutils
1052 pdf-host: maybe-pdf-find
1053 pdf-host: maybe-pdf-fixincludes
1054 pdf-host: maybe-pdf-flex
1055 pdf-host: maybe-pdf-gas
1056 pdf-host: maybe-pdf-gcc
1057 pdf-host: maybe-pdf-gawk
1058 pdf-host: maybe-pdf-gettext
1059 pdf-host: maybe-pdf-gnuserv
1060 pdf-host: maybe-pdf-gprof
1061 pdf-host: maybe-pdf-gzip
1062 pdf-host: maybe-pdf-hello
1063 pdf-host: maybe-pdf-indent
1064 pdf-host: maybe-pdf-intl
1065 pdf-host: maybe-pdf-tcl
1066 pdf-host: maybe-pdf-itcl
1067 pdf-host: maybe-pdf-ld
1068 pdf-host: maybe-pdf-libcpp
1069 pdf-host: maybe-pdf-libdecnumber
1070 pdf-host: maybe-pdf-libgui
1071 pdf-host: maybe-pdf-libiberty
1072 pdf-host: maybe-pdf-libtool
1073 pdf-host: maybe-pdf-m4
1074 pdf-host: maybe-pdf-make
1075 pdf-host: maybe-pdf-mmalloc
1076 pdf-host: maybe-pdf-patch
1077 pdf-host: maybe-pdf-perl
1078 pdf-host: maybe-pdf-prms
1079 pdf-host: maybe-pdf-rcs
1080 pdf-host: maybe-pdf-readline
1081 pdf-host: maybe-pdf-release
1082 pdf-host: maybe-pdf-recode
1083 pdf-host: maybe-pdf-sed
1084 pdf-host: maybe-pdf-send-pr
1085 pdf-host: maybe-pdf-shellutils
1086 pdf-host: maybe-pdf-sid
1087 pdf-host: maybe-pdf-sim
1088 pdf-host: maybe-pdf-tar
1089 pdf-host: maybe-pdf-texinfo
1090 pdf-host: maybe-pdf-textutils
1091 pdf-host: maybe-pdf-time
1092 pdf-host: maybe-pdf-uudecode
1093 pdf-host: maybe-pdf-wdiff
1094 pdf-host: maybe-pdf-zip
1095 pdf-host: maybe-pdf-zlib
1096 pdf-host: maybe-pdf-gdb
1097 pdf-host: maybe-pdf-expect
1098 pdf-host: maybe-pdf-guile
1099 pdf-host: maybe-pdf-tk
1100 pdf-host: maybe-pdf-libtermcap
1101 pdf-host: maybe-pdf-utils
1102 pdf-host: maybe-pdf-gnattools
1104 .PHONY: pdf-target
1106 pdf-target: maybe-pdf-target-libstdc++-v3
1107 pdf-target: maybe-pdf-target-libmudflap
1108 pdf-target: maybe-pdf-target-libssp
1109 pdf-target: maybe-pdf-target-newlib
1110 pdf-target: maybe-pdf-target-libgfortran
1111 pdf-target: maybe-pdf-target-libobjc
1112 pdf-target: maybe-pdf-target-libtermcap
1113 pdf-target: maybe-pdf-target-winsup
1114 pdf-target: maybe-pdf-target-libgloss
1115 pdf-target: maybe-pdf-target-libiberty
1116 pdf-target: maybe-pdf-target-gperf
1117 pdf-target: maybe-pdf-target-examples
1118 pdf-target: maybe-pdf-target-libffi
1119 pdf-target: maybe-pdf-target-libjava
1120 pdf-target: maybe-pdf-target-zlib
1121 pdf-target: maybe-pdf-target-boehm-gc
1122 pdf-target: maybe-pdf-target-qthreads
1123 pdf-target: maybe-pdf-target-rda
1124 pdf-target: maybe-pdf-target-libada
1125 pdf-target: maybe-pdf-target-libgomp
1127 .PHONY: do-html
1128 do-html:
1129 @: $(MAKE); $(unstage)
1130 @r=`${PWD_COMMAND}`; export r; \
1131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1132 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1133 html-target
1136 .PHONY: html-host
1138 html-host: maybe-html-ash
1139 html-host: maybe-html-autoconf
1140 html-host: maybe-html-automake
1141 html-host: maybe-html-bash
1142 html-host: maybe-html-bfd
1143 html-host: maybe-html-opcodes
1144 html-host: maybe-html-binutils
1145 html-host: maybe-html-bison
1146 html-host: maybe-html-byacc
1147 html-host: maybe-html-bzip2
1148 html-host: maybe-html-dejagnu
1149 html-host: maybe-html-diff
1150 html-host: maybe-html-dosutils
1151 html-host: maybe-html-etc
1152 html-host: maybe-html-fastjar
1153 html-host: maybe-html-fileutils
1154 html-host: maybe-html-findutils
1155 html-host: maybe-html-find
1156 html-host: maybe-html-fixincludes
1157 html-host: maybe-html-flex
1158 html-host: maybe-html-gas
1159 html-host: maybe-html-gcc
1160 html-host: maybe-html-gawk
1161 html-host: maybe-html-gettext
1162 html-host: maybe-html-gnuserv
1163 html-host: maybe-html-gprof
1164 html-host: maybe-html-gzip
1165 html-host: maybe-html-hello
1166 html-host: maybe-html-indent
1167 html-host: maybe-html-intl
1168 html-host: maybe-html-tcl
1169 html-host: maybe-html-itcl
1170 html-host: maybe-html-ld
1171 html-host: maybe-html-libcpp
1172 html-host: maybe-html-libdecnumber
1173 html-host: maybe-html-libgui
1174 html-host: maybe-html-libiberty
1175 html-host: maybe-html-libtool
1176 html-host: maybe-html-m4
1177 html-host: maybe-html-make
1178 html-host: maybe-html-mmalloc
1179 html-host: maybe-html-patch
1180 html-host: maybe-html-perl
1181 html-host: maybe-html-prms
1182 html-host: maybe-html-rcs
1183 html-host: maybe-html-readline
1184 html-host: maybe-html-release
1185 html-host: maybe-html-recode
1186 html-host: maybe-html-sed
1187 html-host: maybe-html-send-pr
1188 html-host: maybe-html-shellutils
1189 html-host: maybe-html-sid
1190 html-host: maybe-html-sim
1191 html-host: maybe-html-tar
1192 html-host: maybe-html-texinfo
1193 html-host: maybe-html-textutils
1194 html-host: maybe-html-time
1195 html-host: maybe-html-uudecode
1196 html-host: maybe-html-wdiff
1197 html-host: maybe-html-zip
1198 html-host: maybe-html-zlib
1199 html-host: maybe-html-gdb
1200 html-host: maybe-html-expect
1201 html-host: maybe-html-guile
1202 html-host: maybe-html-tk
1203 html-host: maybe-html-libtermcap
1204 html-host: maybe-html-utils
1205 html-host: maybe-html-gnattools
1207 .PHONY: html-target
1209 html-target: maybe-html-target-libstdc++-v3
1210 html-target: maybe-html-target-libmudflap
1211 html-target: maybe-html-target-libssp
1212 html-target: maybe-html-target-newlib
1213 html-target: maybe-html-target-libgfortran
1214 html-target: maybe-html-target-libobjc
1215 html-target: maybe-html-target-libtermcap
1216 html-target: maybe-html-target-winsup
1217 html-target: maybe-html-target-libgloss
1218 html-target: maybe-html-target-libiberty
1219 html-target: maybe-html-target-gperf
1220 html-target: maybe-html-target-examples
1221 html-target: maybe-html-target-libffi
1222 html-target: maybe-html-target-libjava
1223 html-target: maybe-html-target-zlib
1224 html-target: maybe-html-target-boehm-gc
1225 html-target: maybe-html-target-qthreads
1226 html-target: maybe-html-target-rda
1227 html-target: maybe-html-target-libada
1228 html-target: maybe-html-target-libgomp
1230 .PHONY: do-TAGS
1231 do-TAGS:
1232 @: $(MAKE); $(unstage)
1233 @r=`${PWD_COMMAND}`; export r; \
1234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1235 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1236 TAGS-target
1239 .PHONY: TAGS-host
1241 TAGS-host: maybe-TAGS-ash
1242 TAGS-host: maybe-TAGS-autoconf
1243 TAGS-host: maybe-TAGS-automake
1244 TAGS-host: maybe-TAGS-bash
1245 TAGS-host: maybe-TAGS-bfd
1246 TAGS-host: maybe-TAGS-opcodes
1247 TAGS-host: maybe-TAGS-binutils
1248 TAGS-host: maybe-TAGS-bison
1249 TAGS-host: maybe-TAGS-byacc
1250 TAGS-host: maybe-TAGS-bzip2
1251 TAGS-host: maybe-TAGS-dejagnu
1252 TAGS-host: maybe-TAGS-diff
1253 TAGS-host: maybe-TAGS-dosutils
1254 TAGS-host: maybe-TAGS-etc
1255 TAGS-host: maybe-TAGS-fastjar
1256 TAGS-host: maybe-TAGS-fileutils
1257 TAGS-host: maybe-TAGS-findutils
1258 TAGS-host: maybe-TAGS-find
1259 TAGS-host: maybe-TAGS-fixincludes
1260 TAGS-host: maybe-TAGS-flex
1261 TAGS-host: maybe-TAGS-gas
1262 TAGS-host: maybe-TAGS-gcc
1263 TAGS-host: maybe-TAGS-gawk
1264 TAGS-host: maybe-TAGS-gettext
1265 TAGS-host: maybe-TAGS-gnuserv
1266 TAGS-host: maybe-TAGS-gprof
1267 TAGS-host: maybe-TAGS-gzip
1268 TAGS-host: maybe-TAGS-hello
1269 TAGS-host: maybe-TAGS-indent
1270 TAGS-host: maybe-TAGS-intl
1271 TAGS-host: maybe-TAGS-tcl
1272 TAGS-host: maybe-TAGS-itcl
1273 TAGS-host: maybe-TAGS-ld
1274 TAGS-host: maybe-TAGS-libcpp
1275 TAGS-host: maybe-TAGS-libdecnumber
1276 TAGS-host: maybe-TAGS-libgui
1277 TAGS-host: maybe-TAGS-libiberty
1278 TAGS-host: maybe-TAGS-libtool
1279 TAGS-host: maybe-TAGS-m4
1280 TAGS-host: maybe-TAGS-make
1281 TAGS-host: maybe-TAGS-mmalloc
1282 TAGS-host: maybe-TAGS-patch
1283 TAGS-host: maybe-TAGS-perl
1284 TAGS-host: maybe-TAGS-prms
1285 TAGS-host: maybe-TAGS-rcs
1286 TAGS-host: maybe-TAGS-readline
1287 TAGS-host: maybe-TAGS-release
1288 TAGS-host: maybe-TAGS-recode
1289 TAGS-host: maybe-TAGS-sed
1290 TAGS-host: maybe-TAGS-send-pr
1291 TAGS-host: maybe-TAGS-shellutils
1292 TAGS-host: maybe-TAGS-sid
1293 TAGS-host: maybe-TAGS-sim
1294 TAGS-host: maybe-TAGS-tar
1295 TAGS-host: maybe-TAGS-texinfo
1296 TAGS-host: maybe-TAGS-textutils
1297 TAGS-host: maybe-TAGS-time
1298 TAGS-host: maybe-TAGS-uudecode
1299 TAGS-host: maybe-TAGS-wdiff
1300 TAGS-host: maybe-TAGS-zip
1301 TAGS-host: maybe-TAGS-zlib
1302 TAGS-host: maybe-TAGS-gdb
1303 TAGS-host: maybe-TAGS-expect
1304 TAGS-host: maybe-TAGS-guile
1305 TAGS-host: maybe-TAGS-tk
1306 TAGS-host: maybe-TAGS-libtermcap
1307 TAGS-host: maybe-TAGS-utils
1308 TAGS-host: maybe-TAGS-gnattools
1310 .PHONY: TAGS-target
1312 TAGS-target: maybe-TAGS-target-libstdc++-v3
1313 TAGS-target: maybe-TAGS-target-libmudflap
1314 TAGS-target: maybe-TAGS-target-libssp
1315 TAGS-target: maybe-TAGS-target-newlib
1316 TAGS-target: maybe-TAGS-target-libgfortran
1317 TAGS-target: maybe-TAGS-target-libobjc
1318 TAGS-target: maybe-TAGS-target-libtermcap
1319 TAGS-target: maybe-TAGS-target-winsup
1320 TAGS-target: maybe-TAGS-target-libgloss
1321 TAGS-target: maybe-TAGS-target-libiberty
1322 TAGS-target: maybe-TAGS-target-gperf
1323 TAGS-target: maybe-TAGS-target-examples
1324 TAGS-target: maybe-TAGS-target-libffi
1325 TAGS-target: maybe-TAGS-target-libjava
1326 TAGS-target: maybe-TAGS-target-zlib
1327 TAGS-target: maybe-TAGS-target-boehm-gc
1328 TAGS-target: maybe-TAGS-target-qthreads
1329 TAGS-target: maybe-TAGS-target-rda
1330 TAGS-target: maybe-TAGS-target-libada
1331 TAGS-target: maybe-TAGS-target-libgomp
1333 .PHONY: do-install-info
1334 do-install-info:
1335 @: $(MAKE); $(unstage)
1336 @r=`${PWD_COMMAND}`; export r; \
1337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1338 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1339 install-info-target
1342 .PHONY: install-info-host
1344 install-info-host: maybe-install-info-ash
1345 install-info-host: maybe-install-info-autoconf
1346 install-info-host: maybe-install-info-automake
1347 install-info-host: maybe-install-info-bash
1348 install-info-host: maybe-install-info-bfd
1349 install-info-host: maybe-install-info-opcodes
1350 install-info-host: maybe-install-info-binutils
1351 install-info-host: maybe-install-info-bison
1352 install-info-host: maybe-install-info-byacc
1353 install-info-host: maybe-install-info-bzip2
1354 install-info-host: maybe-install-info-dejagnu
1355 install-info-host: maybe-install-info-diff
1356 install-info-host: maybe-install-info-dosutils
1357 install-info-host: maybe-install-info-etc
1358 install-info-host: maybe-install-info-fastjar
1359 install-info-host: maybe-install-info-fileutils
1360 install-info-host: maybe-install-info-findutils
1361 install-info-host: maybe-install-info-find
1362 install-info-host: maybe-install-info-fixincludes
1363 install-info-host: maybe-install-info-flex
1364 install-info-host: maybe-install-info-gas
1365 install-info-host: maybe-install-info-gcc
1366 install-info-host: maybe-install-info-gawk
1367 install-info-host: maybe-install-info-gettext
1368 install-info-host: maybe-install-info-gnuserv
1369 install-info-host: maybe-install-info-gprof
1370 install-info-host: maybe-install-info-gzip
1371 install-info-host: maybe-install-info-hello
1372 install-info-host: maybe-install-info-indent
1373 install-info-host: maybe-install-info-intl
1374 install-info-host: maybe-install-info-tcl
1375 install-info-host: maybe-install-info-itcl
1376 install-info-host: maybe-install-info-ld
1377 install-info-host: maybe-install-info-libcpp
1378 install-info-host: maybe-install-info-libdecnumber
1379 install-info-host: maybe-install-info-libgui
1380 install-info-host: maybe-install-info-libiberty
1381 install-info-host: maybe-install-info-libtool
1382 install-info-host: maybe-install-info-m4
1383 install-info-host: maybe-install-info-make
1384 install-info-host: maybe-install-info-mmalloc
1385 install-info-host: maybe-install-info-patch
1386 install-info-host: maybe-install-info-perl
1387 install-info-host: maybe-install-info-prms
1388 install-info-host: maybe-install-info-rcs
1389 install-info-host: maybe-install-info-readline
1390 install-info-host: maybe-install-info-release
1391 install-info-host: maybe-install-info-recode
1392 install-info-host: maybe-install-info-sed
1393 install-info-host: maybe-install-info-send-pr
1394 install-info-host: maybe-install-info-shellutils
1395 install-info-host: maybe-install-info-sid
1396 install-info-host: maybe-install-info-sim
1397 install-info-host: maybe-install-info-tar
1398 install-info-host: maybe-install-info-texinfo
1399 install-info-host: maybe-install-info-textutils
1400 install-info-host: maybe-install-info-time
1401 install-info-host: maybe-install-info-uudecode
1402 install-info-host: maybe-install-info-wdiff
1403 install-info-host: maybe-install-info-zip
1404 install-info-host: maybe-install-info-zlib
1405 install-info-host: maybe-install-info-gdb
1406 install-info-host: maybe-install-info-expect
1407 install-info-host: maybe-install-info-guile
1408 install-info-host: maybe-install-info-tk
1409 install-info-host: maybe-install-info-libtermcap
1410 install-info-host: maybe-install-info-utils
1411 install-info-host: maybe-install-info-gnattools
1413 .PHONY: install-info-target
1415 install-info-target: maybe-install-info-target-libstdc++-v3
1416 install-info-target: maybe-install-info-target-libmudflap
1417 install-info-target: maybe-install-info-target-libssp
1418 install-info-target: maybe-install-info-target-newlib
1419 install-info-target: maybe-install-info-target-libgfortran
1420 install-info-target: maybe-install-info-target-libobjc
1421 install-info-target: maybe-install-info-target-libtermcap
1422 install-info-target: maybe-install-info-target-winsup
1423 install-info-target: maybe-install-info-target-libgloss
1424 install-info-target: maybe-install-info-target-libiberty
1425 install-info-target: maybe-install-info-target-gperf
1426 install-info-target: maybe-install-info-target-examples
1427 install-info-target: maybe-install-info-target-libffi
1428 install-info-target: maybe-install-info-target-libjava
1429 install-info-target: maybe-install-info-target-zlib
1430 install-info-target: maybe-install-info-target-boehm-gc
1431 install-info-target: maybe-install-info-target-qthreads
1432 install-info-target: maybe-install-info-target-rda
1433 install-info-target: maybe-install-info-target-libada
1434 install-info-target: maybe-install-info-target-libgomp
1436 .PHONY: do-install-html
1437 do-install-html:
1438 @: $(MAKE); $(unstage)
1439 @r=`${PWD_COMMAND}`; export r; \
1440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1441 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1442 install-html-target
1445 .PHONY: install-html-host
1447 install-html-host: maybe-install-html-ash
1448 install-html-host: maybe-install-html-autoconf
1449 install-html-host: maybe-install-html-automake
1450 install-html-host: maybe-install-html-bash
1451 install-html-host: maybe-install-html-bfd
1452 install-html-host: maybe-install-html-opcodes
1453 install-html-host: maybe-install-html-binutils
1454 install-html-host: maybe-install-html-bison
1455 install-html-host: maybe-install-html-byacc
1456 install-html-host: maybe-install-html-bzip2
1457 install-html-host: maybe-install-html-dejagnu
1458 install-html-host: maybe-install-html-diff
1459 install-html-host: maybe-install-html-dosutils
1460 install-html-host: maybe-install-html-etc
1461 install-html-host: maybe-install-html-fastjar
1462 install-html-host: maybe-install-html-fileutils
1463 install-html-host: maybe-install-html-findutils
1464 install-html-host: maybe-install-html-find
1465 install-html-host: maybe-install-html-fixincludes
1466 install-html-host: maybe-install-html-flex
1467 install-html-host: maybe-install-html-gas
1468 install-html-host: maybe-install-html-gcc
1469 install-html-host: maybe-install-html-gawk
1470 install-html-host: maybe-install-html-gettext
1471 install-html-host: maybe-install-html-gnuserv
1472 install-html-host: maybe-install-html-gprof
1473 install-html-host: maybe-install-html-gzip
1474 install-html-host: maybe-install-html-hello
1475 install-html-host: maybe-install-html-indent
1476 install-html-host: maybe-install-html-intl
1477 install-html-host: maybe-install-html-tcl
1478 install-html-host: maybe-install-html-itcl
1479 install-html-host: maybe-install-html-ld
1480 install-html-host: maybe-install-html-libcpp
1481 install-html-host: maybe-install-html-libdecnumber
1482 install-html-host: maybe-install-html-libgui
1483 install-html-host: maybe-install-html-libiberty
1484 install-html-host: maybe-install-html-libtool
1485 install-html-host: maybe-install-html-m4
1486 install-html-host: maybe-install-html-make
1487 install-html-host: maybe-install-html-mmalloc
1488 install-html-host: maybe-install-html-patch
1489 install-html-host: maybe-install-html-perl
1490 install-html-host: maybe-install-html-prms
1491 install-html-host: maybe-install-html-rcs
1492 install-html-host: maybe-install-html-readline
1493 install-html-host: maybe-install-html-release
1494 install-html-host: maybe-install-html-recode
1495 install-html-host: maybe-install-html-sed
1496 install-html-host: maybe-install-html-send-pr
1497 install-html-host: maybe-install-html-shellutils
1498 install-html-host: maybe-install-html-sid
1499 install-html-host: maybe-install-html-sim
1500 install-html-host: maybe-install-html-tar
1501 install-html-host: maybe-install-html-texinfo
1502 install-html-host: maybe-install-html-textutils
1503 install-html-host: maybe-install-html-time
1504 install-html-host: maybe-install-html-uudecode
1505 install-html-host: maybe-install-html-wdiff
1506 install-html-host: maybe-install-html-zip
1507 install-html-host: maybe-install-html-zlib
1508 install-html-host: maybe-install-html-gdb
1509 install-html-host: maybe-install-html-expect
1510 install-html-host: maybe-install-html-guile
1511 install-html-host: maybe-install-html-tk
1512 install-html-host: maybe-install-html-libtermcap
1513 install-html-host: maybe-install-html-utils
1514 install-html-host: maybe-install-html-gnattools
1516 .PHONY: install-html-target
1518 install-html-target: maybe-install-html-target-libstdc++-v3
1519 install-html-target: maybe-install-html-target-libmudflap
1520 install-html-target: maybe-install-html-target-libssp
1521 install-html-target: maybe-install-html-target-newlib
1522 install-html-target: maybe-install-html-target-libgfortran
1523 install-html-target: maybe-install-html-target-libobjc
1524 install-html-target: maybe-install-html-target-libtermcap
1525 install-html-target: maybe-install-html-target-winsup
1526 install-html-target: maybe-install-html-target-libgloss
1527 install-html-target: maybe-install-html-target-libiberty
1528 install-html-target: maybe-install-html-target-gperf
1529 install-html-target: maybe-install-html-target-examples
1530 install-html-target: maybe-install-html-target-libffi
1531 install-html-target: maybe-install-html-target-libjava
1532 install-html-target: maybe-install-html-target-zlib
1533 install-html-target: maybe-install-html-target-boehm-gc
1534 install-html-target: maybe-install-html-target-qthreads
1535 install-html-target: maybe-install-html-target-rda
1536 install-html-target: maybe-install-html-target-libada
1537 install-html-target: maybe-install-html-target-libgomp
1539 .PHONY: do-installcheck
1540 do-installcheck:
1541 @: $(MAKE); $(unstage)
1542 @r=`${PWD_COMMAND}`; export r; \
1543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1544 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1545 installcheck-target
1548 .PHONY: installcheck-host
1550 installcheck-host: maybe-installcheck-ash
1551 installcheck-host: maybe-installcheck-autoconf
1552 installcheck-host: maybe-installcheck-automake
1553 installcheck-host: maybe-installcheck-bash
1554 installcheck-host: maybe-installcheck-bfd
1555 installcheck-host: maybe-installcheck-opcodes
1556 installcheck-host: maybe-installcheck-binutils
1557 installcheck-host: maybe-installcheck-bison
1558 installcheck-host: maybe-installcheck-byacc
1559 installcheck-host: maybe-installcheck-bzip2
1560 installcheck-host: maybe-installcheck-dejagnu
1561 installcheck-host: maybe-installcheck-diff
1562 installcheck-host: maybe-installcheck-dosutils
1563 installcheck-host: maybe-installcheck-etc
1564 installcheck-host: maybe-installcheck-fastjar
1565 installcheck-host: maybe-installcheck-fileutils
1566 installcheck-host: maybe-installcheck-findutils
1567 installcheck-host: maybe-installcheck-find
1568 installcheck-host: maybe-installcheck-fixincludes
1569 installcheck-host: maybe-installcheck-flex
1570 installcheck-host: maybe-installcheck-gas
1571 installcheck-host: maybe-installcheck-gcc
1572 installcheck-host: maybe-installcheck-gawk
1573 installcheck-host: maybe-installcheck-gettext
1574 installcheck-host: maybe-installcheck-gnuserv
1575 installcheck-host: maybe-installcheck-gprof
1576 installcheck-host: maybe-installcheck-gzip
1577 installcheck-host: maybe-installcheck-hello
1578 installcheck-host: maybe-installcheck-indent
1579 installcheck-host: maybe-installcheck-intl
1580 installcheck-host: maybe-installcheck-tcl
1581 installcheck-host: maybe-installcheck-itcl
1582 installcheck-host: maybe-installcheck-ld
1583 installcheck-host: maybe-installcheck-libcpp
1584 installcheck-host: maybe-installcheck-libdecnumber
1585 installcheck-host: maybe-installcheck-libgui
1586 installcheck-host: maybe-installcheck-libiberty
1587 installcheck-host: maybe-installcheck-libtool
1588 installcheck-host: maybe-installcheck-m4
1589 installcheck-host: maybe-installcheck-make
1590 installcheck-host: maybe-installcheck-mmalloc
1591 installcheck-host: maybe-installcheck-patch
1592 installcheck-host: maybe-installcheck-perl
1593 installcheck-host: maybe-installcheck-prms
1594 installcheck-host: maybe-installcheck-rcs
1595 installcheck-host: maybe-installcheck-readline
1596 installcheck-host: maybe-installcheck-release
1597 installcheck-host: maybe-installcheck-recode
1598 installcheck-host: maybe-installcheck-sed
1599 installcheck-host: maybe-installcheck-send-pr
1600 installcheck-host: maybe-installcheck-shellutils
1601 installcheck-host: maybe-installcheck-sid
1602 installcheck-host: maybe-installcheck-sim
1603 installcheck-host: maybe-installcheck-tar
1604 installcheck-host: maybe-installcheck-texinfo
1605 installcheck-host: maybe-installcheck-textutils
1606 installcheck-host: maybe-installcheck-time
1607 installcheck-host: maybe-installcheck-uudecode
1608 installcheck-host: maybe-installcheck-wdiff
1609 installcheck-host: maybe-installcheck-zip
1610 installcheck-host: maybe-installcheck-zlib
1611 installcheck-host: maybe-installcheck-gdb
1612 installcheck-host: maybe-installcheck-expect
1613 installcheck-host: maybe-installcheck-guile
1614 installcheck-host: maybe-installcheck-tk
1615 installcheck-host: maybe-installcheck-libtermcap
1616 installcheck-host: maybe-installcheck-utils
1617 installcheck-host: maybe-installcheck-gnattools
1619 .PHONY: installcheck-target
1621 installcheck-target: maybe-installcheck-target-libstdc++-v3
1622 installcheck-target: maybe-installcheck-target-libmudflap
1623 installcheck-target: maybe-installcheck-target-libssp
1624 installcheck-target: maybe-installcheck-target-newlib
1625 installcheck-target: maybe-installcheck-target-libgfortran
1626 installcheck-target: maybe-installcheck-target-libobjc
1627 installcheck-target: maybe-installcheck-target-libtermcap
1628 installcheck-target: maybe-installcheck-target-winsup
1629 installcheck-target: maybe-installcheck-target-libgloss
1630 installcheck-target: maybe-installcheck-target-libiberty
1631 installcheck-target: maybe-installcheck-target-gperf
1632 installcheck-target: maybe-installcheck-target-examples
1633 installcheck-target: maybe-installcheck-target-libffi
1634 installcheck-target: maybe-installcheck-target-libjava
1635 installcheck-target: maybe-installcheck-target-zlib
1636 installcheck-target: maybe-installcheck-target-boehm-gc
1637 installcheck-target: maybe-installcheck-target-qthreads
1638 installcheck-target: maybe-installcheck-target-rda
1639 installcheck-target: maybe-installcheck-target-libada
1640 installcheck-target: maybe-installcheck-target-libgomp
1642 .PHONY: do-mostlyclean
1643 do-mostlyclean:
1644 @: $(MAKE); $(unstage)
1645 @r=`${PWD_COMMAND}`; export r; \
1646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1647 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1648 mostlyclean-target
1651 .PHONY: mostlyclean-host
1653 mostlyclean-host: maybe-mostlyclean-ash
1654 mostlyclean-host: maybe-mostlyclean-autoconf
1655 mostlyclean-host: maybe-mostlyclean-automake
1656 mostlyclean-host: maybe-mostlyclean-bash
1657 mostlyclean-host: maybe-mostlyclean-bfd
1658 mostlyclean-host: maybe-mostlyclean-opcodes
1659 mostlyclean-host: maybe-mostlyclean-binutils
1660 mostlyclean-host: maybe-mostlyclean-bison
1661 mostlyclean-host: maybe-mostlyclean-byacc
1662 mostlyclean-host: maybe-mostlyclean-bzip2
1663 mostlyclean-host: maybe-mostlyclean-dejagnu
1664 mostlyclean-host: maybe-mostlyclean-diff
1665 mostlyclean-host: maybe-mostlyclean-dosutils
1666 mostlyclean-host: maybe-mostlyclean-etc
1667 mostlyclean-host: maybe-mostlyclean-fastjar
1668 mostlyclean-host: maybe-mostlyclean-fileutils
1669 mostlyclean-host: maybe-mostlyclean-findutils
1670 mostlyclean-host: maybe-mostlyclean-find
1671 mostlyclean-host: maybe-mostlyclean-fixincludes
1672 mostlyclean-host: maybe-mostlyclean-flex
1673 mostlyclean-host: maybe-mostlyclean-gas
1674 mostlyclean-host: maybe-mostlyclean-gcc
1675 mostlyclean-host: maybe-mostlyclean-gawk
1676 mostlyclean-host: maybe-mostlyclean-gettext
1677 mostlyclean-host: maybe-mostlyclean-gnuserv
1678 mostlyclean-host: maybe-mostlyclean-gprof
1679 mostlyclean-host: maybe-mostlyclean-gzip
1680 mostlyclean-host: maybe-mostlyclean-hello
1681 mostlyclean-host: maybe-mostlyclean-indent
1682 mostlyclean-host: maybe-mostlyclean-intl
1683 mostlyclean-host: maybe-mostlyclean-tcl
1684 mostlyclean-host: maybe-mostlyclean-itcl
1685 mostlyclean-host: maybe-mostlyclean-ld
1686 mostlyclean-host: maybe-mostlyclean-libcpp
1687 mostlyclean-host: maybe-mostlyclean-libdecnumber
1688 mostlyclean-host: maybe-mostlyclean-libgui
1689 mostlyclean-host: maybe-mostlyclean-libiberty
1690 mostlyclean-host: maybe-mostlyclean-libtool
1691 mostlyclean-host: maybe-mostlyclean-m4
1692 mostlyclean-host: maybe-mostlyclean-make
1693 mostlyclean-host: maybe-mostlyclean-mmalloc
1694 mostlyclean-host: maybe-mostlyclean-patch
1695 mostlyclean-host: maybe-mostlyclean-perl
1696 mostlyclean-host: maybe-mostlyclean-prms
1697 mostlyclean-host: maybe-mostlyclean-rcs
1698 mostlyclean-host: maybe-mostlyclean-readline
1699 mostlyclean-host: maybe-mostlyclean-release
1700 mostlyclean-host: maybe-mostlyclean-recode
1701 mostlyclean-host: maybe-mostlyclean-sed
1702 mostlyclean-host: maybe-mostlyclean-send-pr
1703 mostlyclean-host: maybe-mostlyclean-shellutils
1704 mostlyclean-host: maybe-mostlyclean-sid
1705 mostlyclean-host: maybe-mostlyclean-sim
1706 mostlyclean-host: maybe-mostlyclean-tar
1707 mostlyclean-host: maybe-mostlyclean-texinfo
1708 mostlyclean-host: maybe-mostlyclean-textutils
1709 mostlyclean-host: maybe-mostlyclean-time
1710 mostlyclean-host: maybe-mostlyclean-uudecode
1711 mostlyclean-host: maybe-mostlyclean-wdiff
1712 mostlyclean-host: maybe-mostlyclean-zip
1713 mostlyclean-host: maybe-mostlyclean-zlib
1714 mostlyclean-host: maybe-mostlyclean-gdb
1715 mostlyclean-host: maybe-mostlyclean-expect
1716 mostlyclean-host: maybe-mostlyclean-guile
1717 mostlyclean-host: maybe-mostlyclean-tk
1718 mostlyclean-host: maybe-mostlyclean-libtermcap
1719 mostlyclean-host: maybe-mostlyclean-utils
1720 mostlyclean-host: maybe-mostlyclean-gnattools
1722 .PHONY: mostlyclean-target
1724 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1725 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1726 mostlyclean-target: maybe-mostlyclean-target-libssp
1727 mostlyclean-target: maybe-mostlyclean-target-newlib
1728 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1729 mostlyclean-target: maybe-mostlyclean-target-libobjc
1730 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1731 mostlyclean-target: maybe-mostlyclean-target-winsup
1732 mostlyclean-target: maybe-mostlyclean-target-libgloss
1733 mostlyclean-target: maybe-mostlyclean-target-libiberty
1734 mostlyclean-target: maybe-mostlyclean-target-gperf
1735 mostlyclean-target: maybe-mostlyclean-target-examples
1736 mostlyclean-target: maybe-mostlyclean-target-libffi
1737 mostlyclean-target: maybe-mostlyclean-target-libjava
1738 mostlyclean-target: maybe-mostlyclean-target-zlib
1739 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1740 mostlyclean-target: maybe-mostlyclean-target-qthreads
1741 mostlyclean-target: maybe-mostlyclean-target-rda
1742 mostlyclean-target: maybe-mostlyclean-target-libada
1743 mostlyclean-target: maybe-mostlyclean-target-libgomp
1745 .PHONY: do-clean
1746 do-clean:
1747 @: $(MAKE); $(unstage)
1748 @r=`${PWD_COMMAND}`; export r; \
1749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1750 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1751 clean-target
1754 .PHONY: clean-host
1756 clean-host: maybe-clean-ash
1757 clean-host: maybe-clean-autoconf
1758 clean-host: maybe-clean-automake
1759 clean-host: maybe-clean-bash
1760 clean-host: maybe-clean-bfd
1761 clean-host: maybe-clean-opcodes
1762 clean-host: maybe-clean-binutils
1763 clean-host: maybe-clean-bison
1764 clean-host: maybe-clean-byacc
1765 clean-host: maybe-clean-bzip2
1766 clean-host: maybe-clean-dejagnu
1767 clean-host: maybe-clean-diff
1768 clean-host: maybe-clean-dosutils
1769 clean-host: maybe-clean-etc
1770 clean-host: maybe-clean-fastjar
1771 clean-host: maybe-clean-fileutils
1772 clean-host: maybe-clean-findutils
1773 clean-host: maybe-clean-find
1774 clean-host: maybe-clean-fixincludes
1775 clean-host: maybe-clean-flex
1776 clean-host: maybe-clean-gas
1777 clean-host: maybe-clean-gcc
1778 clean-host: maybe-clean-gawk
1779 clean-host: maybe-clean-gettext
1780 clean-host: maybe-clean-gnuserv
1781 clean-host: maybe-clean-gprof
1782 clean-host: maybe-clean-gzip
1783 clean-host: maybe-clean-hello
1784 clean-host: maybe-clean-indent
1785 clean-host: maybe-clean-intl
1786 clean-host: maybe-clean-tcl
1787 clean-host: maybe-clean-itcl
1788 clean-host: maybe-clean-ld
1789 clean-host: maybe-clean-libcpp
1790 clean-host: maybe-clean-libdecnumber
1791 clean-host: maybe-clean-libgui
1792 clean-host: maybe-clean-libiberty
1793 clean-host: maybe-clean-libtool
1794 clean-host: maybe-clean-m4
1795 clean-host: maybe-clean-make
1796 clean-host: maybe-clean-mmalloc
1797 clean-host: maybe-clean-patch
1798 clean-host: maybe-clean-perl
1799 clean-host: maybe-clean-prms
1800 clean-host: maybe-clean-rcs
1801 clean-host: maybe-clean-readline
1802 clean-host: maybe-clean-release
1803 clean-host: maybe-clean-recode
1804 clean-host: maybe-clean-sed
1805 clean-host: maybe-clean-send-pr
1806 clean-host: maybe-clean-shellutils
1807 clean-host: maybe-clean-sid
1808 clean-host: maybe-clean-sim
1809 clean-host: maybe-clean-tar
1810 clean-host: maybe-clean-texinfo
1811 clean-host: maybe-clean-textutils
1812 clean-host: maybe-clean-time
1813 clean-host: maybe-clean-uudecode
1814 clean-host: maybe-clean-wdiff
1815 clean-host: maybe-clean-zip
1816 clean-host: maybe-clean-zlib
1817 clean-host: maybe-clean-gdb
1818 clean-host: maybe-clean-expect
1819 clean-host: maybe-clean-guile
1820 clean-host: maybe-clean-tk
1821 clean-host: maybe-clean-libtermcap
1822 clean-host: maybe-clean-utils
1823 clean-host: maybe-clean-gnattools
1825 .PHONY: clean-target
1827 clean-target: maybe-clean-target-libstdc++-v3
1828 clean-target: maybe-clean-target-libmudflap
1829 clean-target: maybe-clean-target-libssp
1830 clean-target: maybe-clean-target-newlib
1831 clean-target: maybe-clean-target-libgfortran
1832 clean-target: maybe-clean-target-libobjc
1833 clean-target: maybe-clean-target-libtermcap
1834 clean-target: maybe-clean-target-winsup
1835 clean-target: maybe-clean-target-libgloss
1836 clean-target: maybe-clean-target-libiberty
1837 clean-target: maybe-clean-target-gperf
1838 clean-target: maybe-clean-target-examples
1839 clean-target: maybe-clean-target-libffi
1840 clean-target: maybe-clean-target-libjava
1841 clean-target: maybe-clean-target-zlib
1842 clean-target: maybe-clean-target-boehm-gc
1843 clean-target: maybe-clean-target-qthreads
1844 clean-target: maybe-clean-target-rda
1845 clean-target: maybe-clean-target-libada
1846 clean-target: maybe-clean-target-libgomp
1848 .PHONY: do-distclean
1849 do-distclean:
1850 @: $(MAKE); $(unstage)
1851 @r=`${PWD_COMMAND}`; export r; \
1852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1853 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1854 distclean-target
1857 .PHONY: distclean-host
1859 distclean-host: maybe-distclean-ash
1860 distclean-host: maybe-distclean-autoconf
1861 distclean-host: maybe-distclean-automake
1862 distclean-host: maybe-distclean-bash
1863 distclean-host: maybe-distclean-bfd
1864 distclean-host: maybe-distclean-opcodes
1865 distclean-host: maybe-distclean-binutils
1866 distclean-host: maybe-distclean-bison
1867 distclean-host: maybe-distclean-byacc
1868 distclean-host: maybe-distclean-bzip2
1869 distclean-host: maybe-distclean-dejagnu
1870 distclean-host: maybe-distclean-diff
1871 distclean-host: maybe-distclean-dosutils
1872 distclean-host: maybe-distclean-etc
1873 distclean-host: maybe-distclean-fastjar
1874 distclean-host: maybe-distclean-fileutils
1875 distclean-host: maybe-distclean-findutils
1876 distclean-host: maybe-distclean-find
1877 distclean-host: maybe-distclean-fixincludes
1878 distclean-host: maybe-distclean-flex
1879 distclean-host: maybe-distclean-gas
1880 distclean-host: maybe-distclean-gcc
1881 distclean-host: maybe-distclean-gawk
1882 distclean-host: maybe-distclean-gettext
1883 distclean-host: maybe-distclean-gnuserv
1884 distclean-host: maybe-distclean-gprof
1885 distclean-host: maybe-distclean-gzip
1886 distclean-host: maybe-distclean-hello
1887 distclean-host: maybe-distclean-indent
1888 distclean-host: maybe-distclean-intl
1889 distclean-host: maybe-distclean-tcl
1890 distclean-host: maybe-distclean-itcl
1891 distclean-host: maybe-distclean-ld
1892 distclean-host: maybe-distclean-libcpp
1893 distclean-host: maybe-distclean-libdecnumber
1894 distclean-host: maybe-distclean-libgui
1895 distclean-host: maybe-distclean-libiberty
1896 distclean-host: maybe-distclean-libtool
1897 distclean-host: maybe-distclean-m4
1898 distclean-host: maybe-distclean-make
1899 distclean-host: maybe-distclean-mmalloc
1900 distclean-host: maybe-distclean-patch
1901 distclean-host: maybe-distclean-perl
1902 distclean-host: maybe-distclean-prms
1903 distclean-host: maybe-distclean-rcs
1904 distclean-host: maybe-distclean-readline
1905 distclean-host: maybe-distclean-release
1906 distclean-host: maybe-distclean-recode
1907 distclean-host: maybe-distclean-sed
1908 distclean-host: maybe-distclean-send-pr
1909 distclean-host: maybe-distclean-shellutils
1910 distclean-host: maybe-distclean-sid
1911 distclean-host: maybe-distclean-sim
1912 distclean-host: maybe-distclean-tar
1913 distclean-host: maybe-distclean-texinfo
1914 distclean-host: maybe-distclean-textutils
1915 distclean-host: maybe-distclean-time
1916 distclean-host: maybe-distclean-uudecode
1917 distclean-host: maybe-distclean-wdiff
1918 distclean-host: maybe-distclean-zip
1919 distclean-host: maybe-distclean-zlib
1920 distclean-host: maybe-distclean-gdb
1921 distclean-host: maybe-distclean-expect
1922 distclean-host: maybe-distclean-guile
1923 distclean-host: maybe-distclean-tk
1924 distclean-host: maybe-distclean-libtermcap
1925 distclean-host: maybe-distclean-utils
1926 distclean-host: maybe-distclean-gnattools
1928 .PHONY: distclean-target
1930 distclean-target: maybe-distclean-target-libstdc++-v3
1931 distclean-target: maybe-distclean-target-libmudflap
1932 distclean-target: maybe-distclean-target-libssp
1933 distclean-target: maybe-distclean-target-newlib
1934 distclean-target: maybe-distclean-target-libgfortran
1935 distclean-target: maybe-distclean-target-libobjc
1936 distclean-target: maybe-distclean-target-libtermcap
1937 distclean-target: maybe-distclean-target-winsup
1938 distclean-target: maybe-distclean-target-libgloss
1939 distclean-target: maybe-distclean-target-libiberty
1940 distclean-target: maybe-distclean-target-gperf
1941 distclean-target: maybe-distclean-target-examples
1942 distclean-target: maybe-distclean-target-libffi
1943 distclean-target: maybe-distclean-target-libjava
1944 distclean-target: maybe-distclean-target-zlib
1945 distclean-target: maybe-distclean-target-boehm-gc
1946 distclean-target: maybe-distclean-target-qthreads
1947 distclean-target: maybe-distclean-target-rda
1948 distclean-target: maybe-distclean-target-libada
1949 distclean-target: maybe-distclean-target-libgomp
1951 .PHONY: do-maintainer-clean
1952 do-maintainer-clean:
1953 @: $(MAKE); $(unstage)
1954 @r=`${PWD_COMMAND}`; export r; \
1955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1957 maintainer-clean-target
1960 .PHONY: maintainer-clean-host
1962 maintainer-clean-host: maybe-maintainer-clean-ash
1963 maintainer-clean-host: maybe-maintainer-clean-autoconf
1964 maintainer-clean-host: maybe-maintainer-clean-automake
1965 maintainer-clean-host: maybe-maintainer-clean-bash
1966 maintainer-clean-host: maybe-maintainer-clean-bfd
1967 maintainer-clean-host: maybe-maintainer-clean-opcodes
1968 maintainer-clean-host: maybe-maintainer-clean-binutils
1969 maintainer-clean-host: maybe-maintainer-clean-bison
1970 maintainer-clean-host: maybe-maintainer-clean-byacc
1971 maintainer-clean-host: maybe-maintainer-clean-bzip2
1972 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1973 maintainer-clean-host: maybe-maintainer-clean-diff
1974 maintainer-clean-host: maybe-maintainer-clean-dosutils
1975 maintainer-clean-host: maybe-maintainer-clean-etc
1976 maintainer-clean-host: maybe-maintainer-clean-fastjar
1977 maintainer-clean-host: maybe-maintainer-clean-fileutils
1978 maintainer-clean-host: maybe-maintainer-clean-findutils
1979 maintainer-clean-host: maybe-maintainer-clean-find
1980 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1981 maintainer-clean-host: maybe-maintainer-clean-flex
1982 maintainer-clean-host: maybe-maintainer-clean-gas
1983 maintainer-clean-host: maybe-maintainer-clean-gcc
1984 maintainer-clean-host: maybe-maintainer-clean-gawk
1985 maintainer-clean-host: maybe-maintainer-clean-gettext
1986 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1987 maintainer-clean-host: maybe-maintainer-clean-gprof
1988 maintainer-clean-host: maybe-maintainer-clean-gzip
1989 maintainer-clean-host: maybe-maintainer-clean-hello
1990 maintainer-clean-host: maybe-maintainer-clean-indent
1991 maintainer-clean-host: maybe-maintainer-clean-intl
1992 maintainer-clean-host: maybe-maintainer-clean-tcl
1993 maintainer-clean-host: maybe-maintainer-clean-itcl
1994 maintainer-clean-host: maybe-maintainer-clean-ld
1995 maintainer-clean-host: maybe-maintainer-clean-libcpp
1996 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1997 maintainer-clean-host: maybe-maintainer-clean-libgui
1998 maintainer-clean-host: maybe-maintainer-clean-libiberty
1999 maintainer-clean-host: maybe-maintainer-clean-libtool
2000 maintainer-clean-host: maybe-maintainer-clean-m4
2001 maintainer-clean-host: maybe-maintainer-clean-make
2002 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2003 maintainer-clean-host: maybe-maintainer-clean-patch
2004 maintainer-clean-host: maybe-maintainer-clean-perl
2005 maintainer-clean-host: maybe-maintainer-clean-prms
2006 maintainer-clean-host: maybe-maintainer-clean-rcs
2007 maintainer-clean-host: maybe-maintainer-clean-readline
2008 maintainer-clean-host: maybe-maintainer-clean-release
2009 maintainer-clean-host: maybe-maintainer-clean-recode
2010 maintainer-clean-host: maybe-maintainer-clean-sed
2011 maintainer-clean-host: maybe-maintainer-clean-send-pr
2012 maintainer-clean-host: maybe-maintainer-clean-shellutils
2013 maintainer-clean-host: maybe-maintainer-clean-sid
2014 maintainer-clean-host: maybe-maintainer-clean-sim
2015 maintainer-clean-host: maybe-maintainer-clean-tar
2016 maintainer-clean-host: maybe-maintainer-clean-texinfo
2017 maintainer-clean-host: maybe-maintainer-clean-textutils
2018 maintainer-clean-host: maybe-maintainer-clean-time
2019 maintainer-clean-host: maybe-maintainer-clean-uudecode
2020 maintainer-clean-host: maybe-maintainer-clean-wdiff
2021 maintainer-clean-host: maybe-maintainer-clean-zip
2022 maintainer-clean-host: maybe-maintainer-clean-zlib
2023 maintainer-clean-host: maybe-maintainer-clean-gdb
2024 maintainer-clean-host: maybe-maintainer-clean-expect
2025 maintainer-clean-host: maybe-maintainer-clean-guile
2026 maintainer-clean-host: maybe-maintainer-clean-tk
2027 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2028 maintainer-clean-host: maybe-maintainer-clean-utils
2029 maintainer-clean-host: maybe-maintainer-clean-gnattools
2031 .PHONY: maintainer-clean-target
2033 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2034 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2035 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2036 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2037 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2038 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2039 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2040 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2041 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2042 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2043 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2044 maintainer-clean-target: maybe-maintainer-clean-target-examples
2045 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2046 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2047 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2048 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2049 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2050 maintainer-clean-target: maybe-maintainer-clean-target-rda
2051 maintainer-clean-target: maybe-maintainer-clean-target-libada
2052 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2055 # Here are the targets which correspond to the do-X targets.
2057 .PHONY: info installcheck dvi pdf html install-info install-html
2058 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2059 .PHONY: local-clean local-distclean local-maintainer-clean
2060 info: do-info
2061 installcheck: do-installcheck
2062 dvi: do-dvi
2063 pdf: do-pdf
2064 html: do-html
2066 # Make sure makeinfo is built before we do a `make info', if we're
2067 # in fact building texinfo.
2068 do-info: maybe-all-texinfo
2070 install-info: do-install-info dir.info
2071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2072 if [ -f dir.info ] ; then \
2073 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2074 else true ; fi
2076 install-html: do-install-html
2078 local-clean:
2079 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2081 local-distclean:
2082 -rm -f Makefile config.status config.cache mh-frag mt-frag
2083 -rm -f maybedep.tmp serdep.tmp
2084 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2085 rm -rf $(TARGET_SUBDIR); \
2086 else true; fi
2087 -rm -rf $(BUILD_SUBDIR)
2088 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2089 rm -rf $(HOST_SUBDIR); \
2090 else true; fi
2091 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2092 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2093 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2094 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2095 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2097 local-maintainer-clean:
2098 @echo "This command is intended for maintainers to use;"
2099 @echo "it deletes files that may require special tools to rebuild."
2101 clean: do-clean local-clean
2102 mostlyclean: do-mostlyclean local-clean
2103 distclean: do-distclean local-clean local-distclean
2104 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2105 maintainer-clean: local-distclean
2106 realclean: maintainer-clean
2108 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2109 clean-target: clean-target-libgcc
2110 clean-target-libgcc:
2111 if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
2113 # Check target.
2115 .PHONY: check do-check
2116 check: do-check
2118 # Only include modules actually being configured and built.
2119 .PHONY: check-host
2120 check-host: \
2121 maybe-check-ash \
2122 maybe-check-autoconf \
2123 maybe-check-automake \
2124 maybe-check-bash \
2125 maybe-check-bfd \
2126 maybe-check-opcodes \
2127 maybe-check-binutils \
2128 maybe-check-bison \
2129 maybe-check-byacc \
2130 maybe-check-bzip2 \
2131 maybe-check-dejagnu \
2132 maybe-check-diff \
2133 maybe-check-dosutils \
2134 maybe-check-etc \
2135 maybe-check-fastjar \
2136 maybe-check-fileutils \
2137 maybe-check-findutils \
2138 maybe-check-find \
2139 maybe-check-fixincludes \
2140 maybe-check-flex \
2141 maybe-check-gas \
2142 maybe-check-gcc \
2143 maybe-check-gawk \
2144 maybe-check-gettext \
2145 maybe-check-gnuserv \
2146 maybe-check-gprof \
2147 maybe-check-gzip \
2148 maybe-check-hello \
2149 maybe-check-indent \
2150 maybe-check-intl \
2151 maybe-check-tcl \
2152 maybe-check-itcl \
2153 maybe-check-ld \
2154 maybe-check-libcpp \
2155 maybe-check-libdecnumber \
2156 maybe-check-libgui \
2157 maybe-check-libiberty \
2158 maybe-check-libtool \
2159 maybe-check-m4 \
2160 maybe-check-make \
2161 maybe-check-mmalloc \
2162 maybe-check-patch \
2163 maybe-check-perl \
2164 maybe-check-prms \
2165 maybe-check-rcs \
2166 maybe-check-readline \
2167 maybe-check-release \
2168 maybe-check-recode \
2169 maybe-check-sed \
2170 maybe-check-send-pr \
2171 maybe-check-shellutils \
2172 maybe-check-sid \
2173 maybe-check-sim \
2174 maybe-check-tar \
2175 maybe-check-texinfo \
2176 maybe-check-textutils \
2177 maybe-check-time \
2178 maybe-check-uudecode \
2179 maybe-check-wdiff \
2180 maybe-check-zip \
2181 maybe-check-zlib \
2182 maybe-check-gdb \
2183 maybe-check-expect \
2184 maybe-check-guile \
2185 maybe-check-tk \
2186 maybe-check-libtermcap \
2187 maybe-check-utils \
2188 maybe-check-gnattools
2190 .PHONY: check-target
2191 check-target: \
2192 maybe-check-target-libstdc++-v3 \
2193 maybe-check-target-libmudflap \
2194 maybe-check-target-libssp \
2195 maybe-check-target-newlib \
2196 maybe-check-target-libgfortran \
2197 maybe-check-target-libobjc \
2198 maybe-check-target-libtermcap \
2199 maybe-check-target-winsup \
2200 maybe-check-target-libgloss \
2201 maybe-check-target-libiberty \
2202 maybe-check-target-gperf \
2203 maybe-check-target-examples \
2204 maybe-check-target-libffi \
2205 maybe-check-target-libjava \
2206 maybe-check-target-zlib \
2207 maybe-check-target-boehm-gc \
2208 maybe-check-target-qthreads \
2209 maybe-check-target-rda \
2210 maybe-check-target-libada \
2211 maybe-check-target-libgomp
2213 do-check:
2214 @: $(MAKE); $(unstage)
2215 @r=`${PWD_COMMAND}`; export r; \
2216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2217 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2219 # Automated reporting of test results.
2221 warning.log: build.log
2222 $(srcdir)/contrib/warn_summary build.log > $@
2224 mail-report.log:
2225 if test x'$(BOOT_CFLAGS)' != x''; then \
2226 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2227 fi; \
2228 $(srcdir)/contrib/test_summary -t >$@
2229 chmod +x $@
2230 echo If you really want to send e-mail, run ./$@ now
2232 mail-report-with-warnings.log: warning.log
2233 if test x'$(BOOT_CFLAGS)' != x''; then \
2234 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2235 fi; \
2236 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2237 chmod +x $@
2238 echo If you really want to send e-mail, run ./$@ now
2240 # Installation targets.
2242 .PHONY: install uninstall
2243 install:
2244 @: $(MAKE); $(unstage)
2245 @r=`${PWD_COMMAND}`; export r; \
2246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2247 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2249 .PHONY: install-host-nogcc
2250 install-host-nogcc: \
2251 maybe-install-ash \
2252 maybe-install-autoconf \
2253 maybe-install-automake \
2254 maybe-install-bash \
2255 maybe-install-bfd \
2256 maybe-install-opcodes \
2257 maybe-install-binutils \
2258 maybe-install-bison \
2259 maybe-install-byacc \
2260 maybe-install-bzip2 \
2261 maybe-install-dejagnu \
2262 maybe-install-diff \
2263 maybe-install-dosutils \
2264 maybe-install-etc \
2265 maybe-install-fastjar \
2266 maybe-install-fileutils \
2267 maybe-install-findutils \
2268 maybe-install-find \
2269 maybe-install-fixincludes \
2270 maybe-install-flex \
2271 maybe-install-gas \
2272 maybe-install-gawk \
2273 maybe-install-gettext \
2274 maybe-install-gnuserv \
2275 maybe-install-gprof \
2276 maybe-install-gzip \
2277 maybe-install-hello \
2278 maybe-install-indent \
2279 maybe-install-intl \
2280 maybe-install-tcl \
2281 maybe-install-itcl \
2282 maybe-install-ld \
2283 maybe-install-libcpp \
2284 maybe-install-libdecnumber \
2285 maybe-install-libgui \
2286 maybe-install-libiberty \
2287 maybe-install-libtool \
2288 maybe-install-m4 \
2289 maybe-install-make \
2290 maybe-install-mmalloc \
2291 maybe-install-patch \
2292 maybe-install-perl \
2293 maybe-install-prms \
2294 maybe-install-rcs \
2295 maybe-install-readline \
2296 maybe-install-release \
2297 maybe-install-recode \
2298 maybe-install-sed \
2299 maybe-install-send-pr \
2300 maybe-install-shellutils \
2301 maybe-install-sid \
2302 maybe-install-sim \
2303 maybe-install-tar \
2304 maybe-install-texinfo \
2305 maybe-install-textutils \
2306 maybe-install-time \
2307 maybe-install-uudecode \
2308 maybe-install-wdiff \
2309 maybe-install-zip \
2310 maybe-install-zlib \
2311 maybe-install-gdb \
2312 maybe-install-expect \
2313 maybe-install-guile \
2314 maybe-install-tk \
2315 maybe-install-libtermcap \
2316 maybe-install-utils \
2317 maybe-install-gnattools
2319 .PHONY: install-host
2320 install-host: \
2321 maybe-install-ash \
2322 maybe-install-autoconf \
2323 maybe-install-automake \
2324 maybe-install-bash \
2325 maybe-install-bfd \
2326 maybe-install-opcodes \
2327 maybe-install-binutils \
2328 maybe-install-bison \
2329 maybe-install-byacc \
2330 maybe-install-bzip2 \
2331 maybe-install-dejagnu \
2332 maybe-install-diff \
2333 maybe-install-dosutils \
2334 maybe-install-etc \
2335 maybe-install-fastjar \
2336 maybe-install-fileutils \
2337 maybe-install-findutils \
2338 maybe-install-find \
2339 maybe-install-fixincludes \
2340 maybe-install-flex \
2341 maybe-install-gas \
2342 maybe-install-gcc \
2343 maybe-install-gawk \
2344 maybe-install-gettext \
2345 maybe-install-gnuserv \
2346 maybe-install-gprof \
2347 maybe-install-gzip \
2348 maybe-install-hello \
2349 maybe-install-indent \
2350 maybe-install-intl \
2351 maybe-install-tcl \
2352 maybe-install-itcl \
2353 maybe-install-ld \
2354 maybe-install-libcpp \
2355 maybe-install-libdecnumber \
2356 maybe-install-libgui \
2357 maybe-install-libiberty \
2358 maybe-install-libtool \
2359 maybe-install-m4 \
2360 maybe-install-make \
2361 maybe-install-mmalloc \
2362 maybe-install-patch \
2363 maybe-install-perl \
2364 maybe-install-prms \
2365 maybe-install-rcs \
2366 maybe-install-readline \
2367 maybe-install-release \
2368 maybe-install-recode \
2369 maybe-install-sed \
2370 maybe-install-send-pr \
2371 maybe-install-shellutils \
2372 maybe-install-sid \
2373 maybe-install-sim \
2374 maybe-install-tar \
2375 maybe-install-texinfo \
2376 maybe-install-textutils \
2377 maybe-install-time \
2378 maybe-install-uudecode \
2379 maybe-install-wdiff \
2380 maybe-install-zip \
2381 maybe-install-zlib \
2382 maybe-install-gdb \
2383 maybe-install-expect \
2384 maybe-install-guile \
2385 maybe-install-tk \
2386 maybe-install-libtermcap \
2387 maybe-install-utils \
2388 maybe-install-gnattools
2390 .PHONY: install-target
2391 install-target: \
2392 maybe-install-target-libstdc++-v3 \
2393 maybe-install-target-libmudflap \
2394 maybe-install-target-libssp \
2395 maybe-install-target-newlib \
2396 maybe-install-target-libgfortran \
2397 maybe-install-target-libobjc \
2398 maybe-install-target-libtermcap \
2399 maybe-install-target-winsup \
2400 maybe-install-target-libgloss \
2401 maybe-install-target-libiberty \
2402 maybe-install-target-gperf \
2403 maybe-install-target-examples \
2404 maybe-install-target-libffi \
2405 maybe-install-target-libjava \
2406 maybe-install-target-zlib \
2407 maybe-install-target-boehm-gc \
2408 maybe-install-target-qthreads \
2409 maybe-install-target-rda \
2410 maybe-install-target-libada \
2411 maybe-install-target-libgomp
2413 uninstall:
2414 @echo "the uninstall target is not supported in this tree"
2416 .PHONY: install.all
2417 install.all: install-no-fixedincludes
2418 @if [ -f ./gcc/Makefile ] ; then \
2419 r=`${PWD_COMMAND}` ; export r ; \
2420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2421 $(HOST_EXPORTS) \
2422 (cd ./gcc && \
2423 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2424 else \
2425 true ; \
2428 # install-no-fixedincludes is used because Cygnus can not distribute
2429 # the fixed header files.
2430 .PHONY: install-no-fixedincludes
2431 install-no-fixedincludes: installdirs install-host-nogcc \
2432 install-target gcc-no-fixedincludes
2434 ### other supporting targets
2436 MAKEDIRS= \
2437 $(DESTDIR)$(prefix) \
2438 $(DESTDIR)$(exec_prefix)
2439 .PHONY: installdirs
2440 installdirs: mkinstalldirs
2441 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2443 dir.info: do-install-info
2444 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2445 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2446 mv -f dir.info.new dir.info ; \
2447 else true ; \
2450 dist:
2451 @echo "Building a full distribution of this tree isn't done"
2452 @echo "via 'make dist'. Check out the etc/ subdirectory"
2454 etags tags: TAGS
2456 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2457 # ability to use several tags files at once, so there is probably no need
2458 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2459 # (if we felt like it) have this Makefile write a piece of elisp which
2460 # the user could load to tell emacs19 where all the TAGS files we just
2461 # built are.
2462 TAGS: do-TAGS
2464 # ------------------------------------
2465 # Macros for configure and all targets
2466 # ------------------------------------
2472 # --------------------------------------
2473 # Modules which run on the build machine
2474 # --------------------------------------
2477 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2478 maybe-configure-build-libiberty:
2479 @if gcc-bootstrap
2480 configure-build-libiberty: stage_current
2481 @endif gcc-bootstrap
2482 @if build-libiberty
2483 maybe-configure-build-libiberty: configure-build-libiberty
2484 configure-build-libiberty:
2485 @: $(MAKE); $(unstage)
2486 @r=`${PWD_COMMAND}`; export r; \
2487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2488 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2489 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2490 $(BUILD_EXPORTS) \
2491 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2492 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2493 case $(srcdir) in \
2494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2495 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2497 esac; \
2498 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2499 libsrcdir="$$s/libiberty"; \
2500 rm -f no-such-file || : ; \
2501 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2502 $(BUILD_CONFIGARGS) $${srcdiroption} \
2503 || exit 1
2504 @endif build-libiberty
2510 .PHONY: all-build-libiberty maybe-all-build-libiberty
2511 maybe-all-build-libiberty:
2512 @if gcc-bootstrap
2513 all-build-libiberty: stage_current
2514 @endif gcc-bootstrap
2515 @if build-libiberty
2516 TARGET-build-libiberty=all
2517 maybe-all-build-libiberty: all-build-libiberty
2518 all-build-libiberty: configure-build-libiberty
2519 @: $(MAKE); $(unstage)
2520 @r=`${PWD_COMMAND}`; export r; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 $(BUILD_EXPORTS) \
2523 (cd $(BUILD_SUBDIR)/libiberty && \
2524 $(MAKE) $(TARGET-build-libiberty))
2525 @endif build-libiberty
2531 .PHONY: configure-build-bison maybe-configure-build-bison
2532 maybe-configure-build-bison:
2533 @if gcc-bootstrap
2534 configure-build-bison: stage_current
2535 @endif gcc-bootstrap
2536 @if build-bison
2537 maybe-configure-build-bison: configure-build-bison
2538 configure-build-bison:
2539 @: $(MAKE); $(unstage)
2540 @r=`${PWD_COMMAND}`; export r; \
2541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2542 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2543 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2544 $(BUILD_EXPORTS) \
2545 echo Configuring in $(BUILD_SUBDIR)/bison; \
2546 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2547 case $(srcdir) in \
2548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2549 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2551 esac; \
2552 srcdiroption="--srcdir=$${topdir}/bison"; \
2553 libsrcdir="$$s/bison"; \
2554 rm -f no-such-file || : ; \
2555 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2556 $(BUILD_CONFIGARGS) $${srcdiroption} \
2557 || exit 1
2558 @endif build-bison
2564 .PHONY: all-build-bison maybe-all-build-bison
2565 maybe-all-build-bison:
2566 @if gcc-bootstrap
2567 all-build-bison: stage_current
2568 @endif gcc-bootstrap
2569 @if build-bison
2570 TARGET-build-bison=all
2571 maybe-all-build-bison: all-build-bison
2572 all-build-bison: configure-build-bison
2573 @: $(MAKE); $(unstage)
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 $(BUILD_EXPORTS) \
2577 (cd $(BUILD_SUBDIR)/bison && \
2578 $(MAKE) $(TARGET-build-bison))
2579 @endif build-bison
2585 .PHONY: configure-build-byacc maybe-configure-build-byacc
2586 maybe-configure-build-byacc:
2587 @if gcc-bootstrap
2588 configure-build-byacc: stage_current
2589 @endif gcc-bootstrap
2590 @if build-byacc
2591 maybe-configure-build-byacc: configure-build-byacc
2592 configure-build-byacc:
2593 @: $(MAKE); $(unstage)
2594 @r=`${PWD_COMMAND}`; export r; \
2595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2596 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2597 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2598 $(BUILD_EXPORTS) \
2599 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2600 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2601 case $(srcdir) in \
2602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2603 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2605 esac; \
2606 srcdiroption="--srcdir=$${topdir}/byacc"; \
2607 libsrcdir="$$s/byacc"; \
2608 rm -f no-such-file || : ; \
2609 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2610 $(BUILD_CONFIGARGS) $${srcdiroption} \
2611 || exit 1
2612 @endif build-byacc
2618 .PHONY: all-build-byacc maybe-all-build-byacc
2619 maybe-all-build-byacc:
2620 @if gcc-bootstrap
2621 all-build-byacc: stage_current
2622 @endif gcc-bootstrap
2623 @if build-byacc
2624 TARGET-build-byacc=all
2625 maybe-all-build-byacc: all-build-byacc
2626 all-build-byacc: configure-build-byacc
2627 @: $(MAKE); $(unstage)
2628 @r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(BUILD_EXPORTS) \
2631 (cd $(BUILD_SUBDIR)/byacc && \
2632 $(MAKE) $(TARGET-build-byacc))
2633 @endif build-byacc
2639 .PHONY: configure-build-flex maybe-configure-build-flex
2640 maybe-configure-build-flex:
2641 @if gcc-bootstrap
2642 configure-build-flex: stage_current
2643 @endif gcc-bootstrap
2644 @if build-flex
2645 maybe-configure-build-flex: configure-build-flex
2646 configure-build-flex:
2647 @: $(MAKE); $(unstage)
2648 @r=`${PWD_COMMAND}`; export r; \
2649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2650 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2651 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2652 $(BUILD_EXPORTS) \
2653 echo Configuring in $(BUILD_SUBDIR)/flex; \
2654 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2655 case $(srcdir) in \
2656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2657 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2659 esac; \
2660 srcdiroption="--srcdir=$${topdir}/flex"; \
2661 libsrcdir="$$s/flex"; \
2662 rm -f no-such-file || : ; \
2663 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2664 $(BUILD_CONFIGARGS) $${srcdiroption} \
2665 || exit 1
2666 @endif build-flex
2672 .PHONY: all-build-flex maybe-all-build-flex
2673 maybe-all-build-flex:
2674 @if gcc-bootstrap
2675 all-build-flex: stage_current
2676 @endif gcc-bootstrap
2677 @if build-flex
2678 TARGET-build-flex=all
2679 maybe-all-build-flex: all-build-flex
2680 all-build-flex: configure-build-flex
2681 @: $(MAKE); $(unstage)
2682 @r=`${PWD_COMMAND}`; export r; \
2683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2684 $(BUILD_EXPORTS) \
2685 (cd $(BUILD_SUBDIR)/flex && \
2686 $(MAKE) $(TARGET-build-flex))
2687 @endif build-flex
2693 .PHONY: configure-build-m4 maybe-configure-build-m4
2694 maybe-configure-build-m4:
2695 @if gcc-bootstrap
2696 configure-build-m4: stage_current
2697 @endif gcc-bootstrap
2698 @if build-m4
2699 maybe-configure-build-m4: configure-build-m4
2700 configure-build-m4:
2701 @: $(MAKE); $(unstage)
2702 @r=`${PWD_COMMAND}`; export r; \
2703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2704 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2705 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2706 $(BUILD_EXPORTS) \
2707 echo Configuring in $(BUILD_SUBDIR)/m4; \
2708 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2709 case $(srcdir) in \
2710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2711 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2713 esac; \
2714 srcdiroption="--srcdir=$${topdir}/m4"; \
2715 libsrcdir="$$s/m4"; \
2716 rm -f no-such-file || : ; \
2717 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2718 $(BUILD_CONFIGARGS) $${srcdiroption} \
2719 || exit 1
2720 @endif build-m4
2726 .PHONY: all-build-m4 maybe-all-build-m4
2727 maybe-all-build-m4:
2728 @if gcc-bootstrap
2729 all-build-m4: stage_current
2730 @endif gcc-bootstrap
2731 @if build-m4
2732 TARGET-build-m4=all
2733 maybe-all-build-m4: all-build-m4
2734 all-build-m4: configure-build-m4
2735 @: $(MAKE); $(unstage)
2736 @r=`${PWD_COMMAND}`; export r; \
2737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2738 $(BUILD_EXPORTS) \
2739 (cd $(BUILD_SUBDIR)/m4 && \
2740 $(MAKE) $(TARGET-build-m4))
2741 @endif build-m4
2747 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2748 maybe-configure-build-texinfo:
2749 @if gcc-bootstrap
2750 configure-build-texinfo: stage_current
2751 @endif gcc-bootstrap
2752 @if build-texinfo
2753 maybe-configure-build-texinfo: configure-build-texinfo
2754 configure-build-texinfo:
2755 @: $(MAKE); $(unstage)
2756 @r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2759 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2760 $(BUILD_EXPORTS) \
2761 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2762 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2763 case $(srcdir) in \
2764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2765 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2767 esac; \
2768 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2769 libsrcdir="$$s/texinfo"; \
2770 rm -f no-such-file || : ; \
2771 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2772 $(BUILD_CONFIGARGS) $${srcdiroption} \
2773 || exit 1
2774 @endif build-texinfo
2780 .PHONY: all-build-texinfo maybe-all-build-texinfo
2781 maybe-all-build-texinfo:
2782 @if gcc-bootstrap
2783 all-build-texinfo: stage_current
2784 @endif gcc-bootstrap
2785 @if build-texinfo
2786 TARGET-build-texinfo=all
2787 maybe-all-build-texinfo: all-build-texinfo
2788 all-build-texinfo: configure-build-texinfo
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 $(BUILD_EXPORTS) \
2793 (cd $(BUILD_SUBDIR)/texinfo && \
2794 $(MAKE) $(TARGET-build-texinfo))
2795 @endif build-texinfo
2801 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2802 maybe-configure-build-fixincludes:
2803 @if gcc-bootstrap
2804 configure-build-fixincludes: stage_current
2805 @endif gcc-bootstrap
2806 @if build-fixincludes
2807 maybe-configure-build-fixincludes: configure-build-fixincludes
2808 configure-build-fixincludes:
2809 @: $(MAKE); $(unstage)
2810 @r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2812 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2813 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2814 $(BUILD_EXPORTS) \
2815 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2816 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2817 case $(srcdir) in \
2818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2819 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2821 esac; \
2822 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2823 libsrcdir="$$s/fixincludes"; \
2824 rm -f no-such-file || : ; \
2825 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2826 $(BUILD_CONFIGARGS) $${srcdiroption} \
2827 || exit 1
2828 @endif build-fixincludes
2834 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2835 maybe-all-build-fixincludes:
2836 @if gcc-bootstrap
2837 all-build-fixincludes: stage_current
2838 @endif gcc-bootstrap
2839 @if build-fixincludes
2840 TARGET-build-fixincludes=all
2841 maybe-all-build-fixincludes: all-build-fixincludes
2842 all-build-fixincludes: configure-build-fixincludes
2843 @: $(MAKE); $(unstage)
2844 @r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 $(BUILD_EXPORTS) \
2847 (cd $(BUILD_SUBDIR)/fixincludes && \
2848 $(MAKE) $(TARGET-build-fixincludes))
2849 @endif build-fixincludes
2855 # --------------------------------------
2856 # Modules which run on the host machine
2857 # --------------------------------------
2860 .PHONY: configure-ash maybe-configure-ash
2861 maybe-configure-ash:
2862 @if gcc-bootstrap
2863 configure-ash: stage_current
2864 @endif gcc-bootstrap
2865 @if ash
2866 maybe-configure-ash: configure-ash
2867 configure-ash:
2868 @: $(MAKE); $(unstage)
2869 @r=`${PWD_COMMAND}`; export r; \
2870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2871 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2873 $(HOST_EXPORTS) \
2874 echo Configuring in $(HOST_SUBDIR)/ash; \
2875 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2876 case $(srcdir) in \
2877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2878 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2880 esac; \
2881 srcdiroption="--srcdir=$${topdir}/ash"; \
2882 libsrcdir="$$s/ash"; \
2883 $(SHELL) $${libsrcdir}/configure \
2884 $(HOST_CONFIGARGS) $${srcdiroption} \
2885 || exit 1
2886 @endif ash
2892 .PHONY: all-ash maybe-all-ash
2893 maybe-all-ash:
2894 @if gcc-bootstrap
2895 all-ash: stage_current
2896 @endif gcc-bootstrap
2897 @if ash
2898 TARGET-ash=all
2899 maybe-all-ash: all-ash
2900 all-ash: configure-ash
2901 @: $(MAKE); $(unstage)
2902 @r=`${PWD_COMMAND}`; export r; \
2903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2904 $(HOST_EXPORTS) \
2905 (cd $(HOST_SUBDIR)/ash && \
2906 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2907 @endif ash
2912 .PHONY: check-ash maybe-check-ash
2913 maybe-check-ash:
2914 @if ash
2915 maybe-check-ash: check-ash
2917 check-ash:
2918 @: $(MAKE); $(unstage)
2919 @r=`${PWD_COMMAND}`; export r; \
2920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2921 $(HOST_EXPORTS) \
2922 (cd $(HOST_SUBDIR)/ash && \
2923 $(MAKE) $(FLAGS_TO_PASS) check)
2925 @endif ash
2927 .PHONY: install-ash maybe-install-ash
2928 maybe-install-ash:
2929 @if ash
2930 maybe-install-ash: install-ash
2932 install-ash: installdirs
2933 @: $(MAKE); $(unstage)
2934 @r=`${PWD_COMMAND}`; export r; \
2935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2936 $(HOST_EXPORTS) \
2937 (cd $(HOST_SUBDIR)/ash && \
2938 $(MAKE) $(FLAGS_TO_PASS) install)
2940 @endif ash
2942 # Other targets (info, dvi, pdf, etc.)
2944 .PHONY: maybe-info-ash info-ash
2945 maybe-info-ash:
2946 @if ash
2947 maybe-info-ash: info-ash
2949 info-ash: \
2950 configure-ash
2951 @: $(MAKE); $(unstage)
2952 @[ -f ./ash/Makefile ] || exit 0; \
2953 r=`${PWD_COMMAND}`; export r; \
2954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2955 $(HOST_EXPORTS) \
2956 for flag in $(EXTRA_HOST_FLAGS) ; do \
2957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2958 done; \
2959 echo "Doing info in ash" ; \
2960 (cd $(HOST_SUBDIR)/ash && \
2961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2963 "RANLIB=$${RANLIB}" \
2964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2965 info) \
2966 || exit 1
2968 @endif ash
2970 .PHONY: maybe-dvi-ash dvi-ash
2971 maybe-dvi-ash:
2972 @if ash
2973 maybe-dvi-ash: dvi-ash
2975 dvi-ash: \
2976 configure-ash
2977 @: $(MAKE); $(unstage)
2978 @[ -f ./ash/Makefile ] || exit 0; \
2979 r=`${PWD_COMMAND}`; export r; \
2980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2981 $(HOST_EXPORTS) \
2982 for flag in $(EXTRA_HOST_FLAGS) ; do \
2983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2984 done; \
2985 echo "Doing dvi in ash" ; \
2986 (cd $(HOST_SUBDIR)/ash && \
2987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2989 "RANLIB=$${RANLIB}" \
2990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2991 dvi) \
2992 || exit 1
2994 @endif ash
2996 .PHONY: maybe-pdf-ash pdf-ash
2997 maybe-pdf-ash:
2998 @if ash
2999 maybe-pdf-ash: pdf-ash
3001 pdf-ash: \
3002 configure-ash
3003 @: $(MAKE); $(unstage)
3004 @[ -f ./ash/Makefile ] || exit 0; \
3005 r=`${PWD_COMMAND}`; export r; \
3006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3007 $(HOST_EXPORTS) \
3008 for flag in $(EXTRA_HOST_FLAGS) ; do \
3009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3010 done; \
3011 echo "Doing pdf in ash" ; \
3012 (cd $(HOST_SUBDIR)/ash && \
3013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3015 "RANLIB=$${RANLIB}" \
3016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3017 pdf) \
3018 || exit 1
3020 @endif ash
3022 .PHONY: maybe-html-ash html-ash
3023 maybe-html-ash:
3024 @if ash
3025 maybe-html-ash: html-ash
3027 html-ash: \
3028 configure-ash
3029 @: $(MAKE); $(unstage)
3030 @[ -f ./ash/Makefile ] || exit 0; \
3031 r=`${PWD_COMMAND}`; export r; \
3032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3033 $(HOST_EXPORTS) \
3034 for flag in $(EXTRA_HOST_FLAGS) ; do \
3035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3036 done; \
3037 echo "Doing html in ash" ; \
3038 (cd $(HOST_SUBDIR)/ash && \
3039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3041 "RANLIB=$${RANLIB}" \
3042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3043 html) \
3044 || exit 1
3046 @endif ash
3048 .PHONY: maybe-TAGS-ash TAGS-ash
3049 maybe-TAGS-ash:
3050 @if ash
3051 maybe-TAGS-ash: TAGS-ash
3053 TAGS-ash: \
3054 configure-ash
3055 @: $(MAKE); $(unstage)
3056 @[ -f ./ash/Makefile ] || exit 0; \
3057 r=`${PWD_COMMAND}`; export r; \
3058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3059 $(HOST_EXPORTS) \
3060 for flag in $(EXTRA_HOST_FLAGS) ; do \
3061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3062 done; \
3063 echo "Doing TAGS in ash" ; \
3064 (cd $(HOST_SUBDIR)/ash && \
3065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3067 "RANLIB=$${RANLIB}" \
3068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3069 TAGS) \
3070 || exit 1
3072 @endif ash
3074 .PHONY: maybe-install-info-ash install-info-ash
3075 maybe-install-info-ash:
3076 @if ash
3077 maybe-install-info-ash: install-info-ash
3079 install-info-ash: \
3080 configure-ash \
3081 info-ash
3082 @: $(MAKE); $(unstage)
3083 @[ -f ./ash/Makefile ] || exit 0; \
3084 r=`${PWD_COMMAND}`; export r; \
3085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3086 $(HOST_EXPORTS) \
3087 for flag in $(EXTRA_HOST_FLAGS) ; do \
3088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3089 done; \
3090 echo "Doing install-info in ash" ; \
3091 (cd $(HOST_SUBDIR)/ash && \
3092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3094 "RANLIB=$${RANLIB}" \
3095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3096 install-info) \
3097 || exit 1
3099 @endif ash
3101 .PHONY: maybe-install-html-ash install-html-ash
3102 maybe-install-html-ash:
3103 @if ash
3104 maybe-install-html-ash: install-html-ash
3106 install-html-ash: \
3107 configure-ash \
3108 html-ash
3109 @: $(MAKE); $(unstage)
3110 @[ -f ./ash/Makefile ] || exit 0; \
3111 r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 $(HOST_EXPORTS) \
3114 for flag in $(EXTRA_HOST_FLAGS) ; do \
3115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3116 done; \
3117 echo "Doing install-html in ash" ; \
3118 (cd $(HOST_SUBDIR)/ash && \
3119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3121 "RANLIB=$${RANLIB}" \
3122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3123 install-html) \
3124 || exit 1
3126 @endif ash
3128 .PHONY: maybe-installcheck-ash installcheck-ash
3129 maybe-installcheck-ash:
3130 @if ash
3131 maybe-installcheck-ash: installcheck-ash
3133 installcheck-ash: \
3134 configure-ash
3135 @: $(MAKE); $(unstage)
3136 @[ -f ./ash/Makefile ] || exit 0; \
3137 r=`${PWD_COMMAND}`; export r; \
3138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3139 $(HOST_EXPORTS) \
3140 for flag in $(EXTRA_HOST_FLAGS) ; do \
3141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3142 done; \
3143 echo "Doing installcheck in ash" ; \
3144 (cd $(HOST_SUBDIR)/ash && \
3145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3147 "RANLIB=$${RANLIB}" \
3148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3149 installcheck) \
3150 || exit 1
3152 @endif ash
3154 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3155 maybe-mostlyclean-ash:
3156 @if ash
3157 maybe-mostlyclean-ash: mostlyclean-ash
3159 mostlyclean-ash:
3160 @: $(MAKE); $(unstage)
3161 @[ -f ./ash/Makefile ] || exit 0; \
3162 r=`${PWD_COMMAND}`; export r; \
3163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3164 $(HOST_EXPORTS) \
3165 for flag in $(EXTRA_HOST_FLAGS) ; do \
3166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3167 done; \
3168 echo "Doing mostlyclean in ash" ; \
3169 (cd $(HOST_SUBDIR)/ash && \
3170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3172 "RANLIB=$${RANLIB}" \
3173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3174 mostlyclean) \
3175 || exit 1
3177 @endif ash
3179 .PHONY: maybe-clean-ash clean-ash
3180 maybe-clean-ash:
3181 @if ash
3182 maybe-clean-ash: clean-ash
3184 clean-ash:
3185 @: $(MAKE); $(unstage)
3186 @[ -f ./ash/Makefile ] || exit 0; \
3187 r=`${PWD_COMMAND}`; export r; \
3188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3189 $(HOST_EXPORTS) \
3190 for flag in $(EXTRA_HOST_FLAGS) ; do \
3191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3192 done; \
3193 echo "Doing clean in ash" ; \
3194 (cd $(HOST_SUBDIR)/ash && \
3195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3197 "RANLIB=$${RANLIB}" \
3198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3199 clean) \
3200 || exit 1
3202 @endif ash
3204 .PHONY: maybe-distclean-ash distclean-ash
3205 maybe-distclean-ash:
3206 @if ash
3207 maybe-distclean-ash: distclean-ash
3209 distclean-ash:
3210 @: $(MAKE); $(unstage)
3211 @[ -f ./ash/Makefile ] || exit 0; \
3212 r=`${PWD_COMMAND}`; export r; \
3213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3214 $(HOST_EXPORTS) \
3215 for flag in $(EXTRA_HOST_FLAGS) ; do \
3216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3217 done; \
3218 echo "Doing distclean in ash" ; \
3219 (cd $(HOST_SUBDIR)/ash && \
3220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3222 "RANLIB=$${RANLIB}" \
3223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3224 distclean) \
3225 || exit 1
3227 @endif ash
3229 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3230 maybe-maintainer-clean-ash:
3231 @if ash
3232 maybe-maintainer-clean-ash: maintainer-clean-ash
3234 maintainer-clean-ash:
3235 @: $(MAKE); $(unstage)
3236 @[ -f ./ash/Makefile ] || exit 0; \
3237 r=`${PWD_COMMAND}`; export r; \
3238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3239 $(HOST_EXPORTS) \
3240 for flag in $(EXTRA_HOST_FLAGS) ; do \
3241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3242 done; \
3243 echo "Doing maintainer-clean in ash" ; \
3244 (cd $(HOST_SUBDIR)/ash && \
3245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3247 "RANLIB=$${RANLIB}" \
3248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3249 maintainer-clean) \
3250 || exit 1
3252 @endif ash
3256 .PHONY: configure-autoconf maybe-configure-autoconf
3257 maybe-configure-autoconf:
3258 @if gcc-bootstrap
3259 configure-autoconf: stage_current
3260 @endif gcc-bootstrap
3261 @if autoconf
3262 maybe-configure-autoconf: configure-autoconf
3263 configure-autoconf:
3264 @: $(MAKE); $(unstage)
3265 @r=`${PWD_COMMAND}`; export r; \
3266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3269 $(HOST_EXPORTS) \
3270 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3271 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3272 case $(srcdir) in \
3273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3274 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3276 esac; \
3277 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3278 libsrcdir="$$s/autoconf"; \
3279 $(SHELL) $${libsrcdir}/configure \
3280 $(HOST_CONFIGARGS) $${srcdiroption} \
3281 || exit 1
3282 @endif autoconf
3288 .PHONY: all-autoconf maybe-all-autoconf
3289 maybe-all-autoconf:
3290 @if gcc-bootstrap
3291 all-autoconf: stage_current
3292 @endif gcc-bootstrap
3293 @if autoconf
3294 TARGET-autoconf=all
3295 maybe-all-autoconf: all-autoconf
3296 all-autoconf: configure-autoconf
3297 @: $(MAKE); $(unstage)
3298 @r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 $(HOST_EXPORTS) \
3301 (cd $(HOST_SUBDIR)/autoconf && \
3302 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3303 @endif autoconf
3308 .PHONY: check-autoconf maybe-check-autoconf
3309 maybe-check-autoconf:
3310 @if autoconf
3311 maybe-check-autoconf: check-autoconf
3313 check-autoconf:
3314 @: $(MAKE); $(unstage)
3315 @r=`${PWD_COMMAND}`; export r; \
3316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3317 $(HOST_EXPORTS) \
3318 (cd $(HOST_SUBDIR)/autoconf && \
3319 $(MAKE) $(FLAGS_TO_PASS) check)
3321 @endif autoconf
3323 .PHONY: install-autoconf maybe-install-autoconf
3324 maybe-install-autoconf:
3325 @if autoconf
3326 maybe-install-autoconf: install-autoconf
3328 install-autoconf: installdirs
3329 @: $(MAKE); $(unstage)
3330 @r=`${PWD_COMMAND}`; export r; \
3331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3332 $(HOST_EXPORTS) \
3333 (cd $(HOST_SUBDIR)/autoconf && \
3334 $(MAKE) $(FLAGS_TO_PASS) install)
3336 @endif autoconf
3338 # Other targets (info, dvi, pdf, etc.)
3340 .PHONY: maybe-info-autoconf info-autoconf
3341 maybe-info-autoconf:
3342 @if autoconf
3343 maybe-info-autoconf: info-autoconf
3345 info-autoconf: \
3346 configure-autoconf
3347 @: $(MAKE); $(unstage)
3348 @[ -f ./autoconf/Makefile ] || exit 0; \
3349 r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 $(HOST_EXPORTS) \
3352 for flag in $(EXTRA_HOST_FLAGS) ; do \
3353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3354 done; \
3355 echo "Doing info in autoconf" ; \
3356 (cd $(HOST_SUBDIR)/autoconf && \
3357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3359 "RANLIB=$${RANLIB}" \
3360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3361 info) \
3362 || exit 1
3364 @endif autoconf
3366 .PHONY: maybe-dvi-autoconf dvi-autoconf
3367 maybe-dvi-autoconf:
3368 @if autoconf
3369 maybe-dvi-autoconf: dvi-autoconf
3371 dvi-autoconf: \
3372 configure-autoconf
3373 @: $(MAKE); $(unstage)
3374 @[ -f ./autoconf/Makefile ] || exit 0; \
3375 r=`${PWD_COMMAND}`; export r; \
3376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3377 $(HOST_EXPORTS) \
3378 for flag in $(EXTRA_HOST_FLAGS) ; do \
3379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3380 done; \
3381 echo "Doing dvi in autoconf" ; \
3382 (cd $(HOST_SUBDIR)/autoconf && \
3383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3385 "RANLIB=$${RANLIB}" \
3386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3387 dvi) \
3388 || exit 1
3390 @endif autoconf
3392 .PHONY: maybe-pdf-autoconf pdf-autoconf
3393 maybe-pdf-autoconf:
3394 @if autoconf
3395 maybe-pdf-autoconf: pdf-autoconf
3397 pdf-autoconf: \
3398 configure-autoconf
3399 @: $(MAKE); $(unstage)
3400 @[ -f ./autoconf/Makefile ] || exit 0; \
3401 r=`${PWD_COMMAND}`; export r; \
3402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3403 $(HOST_EXPORTS) \
3404 for flag in $(EXTRA_HOST_FLAGS) ; do \
3405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3406 done; \
3407 echo "Doing pdf in autoconf" ; \
3408 (cd $(HOST_SUBDIR)/autoconf && \
3409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3411 "RANLIB=$${RANLIB}" \
3412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3413 pdf) \
3414 || exit 1
3416 @endif autoconf
3418 .PHONY: maybe-html-autoconf html-autoconf
3419 maybe-html-autoconf:
3420 @if autoconf
3421 maybe-html-autoconf: html-autoconf
3423 html-autoconf: \
3424 configure-autoconf
3425 @: $(MAKE); $(unstage)
3426 @[ -f ./autoconf/Makefile ] || exit 0; \
3427 r=`${PWD_COMMAND}`; export r; \
3428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3429 $(HOST_EXPORTS) \
3430 for flag in $(EXTRA_HOST_FLAGS) ; do \
3431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3432 done; \
3433 echo "Doing html in autoconf" ; \
3434 (cd $(HOST_SUBDIR)/autoconf && \
3435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3437 "RANLIB=$${RANLIB}" \
3438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3439 html) \
3440 || exit 1
3442 @endif autoconf
3444 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3445 maybe-TAGS-autoconf:
3446 @if autoconf
3447 maybe-TAGS-autoconf: TAGS-autoconf
3449 TAGS-autoconf: \
3450 configure-autoconf
3451 @: $(MAKE); $(unstage)
3452 @[ -f ./autoconf/Makefile ] || exit 0; \
3453 r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455 $(HOST_EXPORTS) \
3456 for flag in $(EXTRA_HOST_FLAGS) ; do \
3457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3458 done; \
3459 echo "Doing TAGS in autoconf" ; \
3460 (cd $(HOST_SUBDIR)/autoconf && \
3461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3463 "RANLIB=$${RANLIB}" \
3464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3465 TAGS) \
3466 || exit 1
3468 @endif autoconf
3470 .PHONY: maybe-install-info-autoconf install-info-autoconf
3471 maybe-install-info-autoconf:
3472 @if autoconf
3473 maybe-install-info-autoconf: install-info-autoconf
3475 install-info-autoconf: \
3476 configure-autoconf \
3477 info-autoconf
3478 @: $(MAKE); $(unstage)
3479 @[ -f ./autoconf/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS) ; do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing install-info in autoconf" ; \
3487 (cd $(HOST_SUBDIR)/autoconf && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3492 install-info) \
3493 || exit 1
3495 @endif autoconf
3497 .PHONY: maybe-install-html-autoconf install-html-autoconf
3498 maybe-install-html-autoconf:
3499 @if autoconf
3500 maybe-install-html-autoconf: install-html-autoconf
3502 install-html-autoconf: \
3503 configure-autoconf \
3504 html-autoconf
3505 @: $(MAKE); $(unstage)
3506 @[ -f ./autoconf/Makefile ] || exit 0; \
3507 r=`${PWD_COMMAND}`; export r; \
3508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3509 $(HOST_EXPORTS) \
3510 for flag in $(EXTRA_HOST_FLAGS) ; do \
3511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3512 done; \
3513 echo "Doing install-html in autoconf" ; \
3514 (cd $(HOST_SUBDIR)/autoconf && \
3515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517 "RANLIB=$${RANLIB}" \
3518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3519 install-html) \
3520 || exit 1
3522 @endif autoconf
3524 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3525 maybe-installcheck-autoconf:
3526 @if autoconf
3527 maybe-installcheck-autoconf: installcheck-autoconf
3529 installcheck-autoconf: \
3530 configure-autoconf
3531 @: $(MAKE); $(unstage)
3532 @[ -f ./autoconf/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 $(HOST_EXPORTS) \
3536 for flag in $(EXTRA_HOST_FLAGS) ; do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 done; \
3539 echo "Doing installcheck in autoconf" ; \
3540 (cd $(HOST_SUBDIR)/autoconf && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3545 installcheck) \
3546 || exit 1
3548 @endif autoconf
3550 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3551 maybe-mostlyclean-autoconf:
3552 @if autoconf
3553 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3555 mostlyclean-autoconf:
3556 @: $(MAKE); $(unstage)
3557 @[ -f ./autoconf/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(HOST_EXPORTS) \
3561 for flag in $(EXTRA_HOST_FLAGS) ; do \
3562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3563 done; \
3564 echo "Doing mostlyclean in autoconf" ; \
3565 (cd $(HOST_SUBDIR)/autoconf && \
3566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3568 "RANLIB=$${RANLIB}" \
3569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3570 mostlyclean) \
3571 || exit 1
3573 @endif autoconf
3575 .PHONY: maybe-clean-autoconf clean-autoconf
3576 maybe-clean-autoconf:
3577 @if autoconf
3578 maybe-clean-autoconf: clean-autoconf
3580 clean-autoconf:
3581 @: $(MAKE); $(unstage)
3582 @[ -f ./autoconf/Makefile ] || exit 0; \
3583 r=`${PWD_COMMAND}`; export r; \
3584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3585 $(HOST_EXPORTS) \
3586 for flag in $(EXTRA_HOST_FLAGS) ; do \
3587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3588 done; \
3589 echo "Doing clean in autoconf" ; \
3590 (cd $(HOST_SUBDIR)/autoconf && \
3591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3593 "RANLIB=$${RANLIB}" \
3594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3595 clean) \
3596 || exit 1
3598 @endif autoconf
3600 .PHONY: maybe-distclean-autoconf distclean-autoconf
3601 maybe-distclean-autoconf:
3602 @if autoconf
3603 maybe-distclean-autoconf: distclean-autoconf
3605 distclean-autoconf:
3606 @: $(MAKE); $(unstage)
3607 @[ -f ./autoconf/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610 $(HOST_EXPORTS) \
3611 for flag in $(EXTRA_HOST_FLAGS) ; do \
3612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3613 done; \
3614 echo "Doing distclean in autoconf" ; \
3615 (cd $(HOST_SUBDIR)/autoconf && \
3616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618 "RANLIB=$${RANLIB}" \
3619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3620 distclean) \
3621 || exit 1
3623 @endif autoconf
3625 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3626 maybe-maintainer-clean-autoconf:
3627 @if autoconf
3628 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3630 maintainer-clean-autoconf:
3631 @: $(MAKE); $(unstage)
3632 @[ -f ./autoconf/Makefile ] || exit 0; \
3633 r=`${PWD_COMMAND}`; export r; \
3634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3635 $(HOST_EXPORTS) \
3636 for flag in $(EXTRA_HOST_FLAGS) ; do \
3637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3638 done; \
3639 echo "Doing maintainer-clean in autoconf" ; \
3640 (cd $(HOST_SUBDIR)/autoconf && \
3641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3643 "RANLIB=$${RANLIB}" \
3644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3645 maintainer-clean) \
3646 || exit 1
3648 @endif autoconf
3652 .PHONY: configure-automake maybe-configure-automake
3653 maybe-configure-automake:
3654 @if gcc-bootstrap
3655 configure-automake: stage_current
3656 @endif gcc-bootstrap
3657 @if automake
3658 maybe-configure-automake: configure-automake
3659 configure-automake:
3660 @: $(MAKE); $(unstage)
3661 @r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3665 $(HOST_EXPORTS) \
3666 echo Configuring in $(HOST_SUBDIR)/automake; \
3667 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3668 case $(srcdir) in \
3669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3670 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3672 esac; \
3673 srcdiroption="--srcdir=$${topdir}/automake"; \
3674 libsrcdir="$$s/automake"; \
3675 $(SHELL) $${libsrcdir}/configure \
3676 $(HOST_CONFIGARGS) $${srcdiroption} \
3677 || exit 1
3678 @endif automake
3684 .PHONY: all-automake maybe-all-automake
3685 maybe-all-automake:
3686 @if gcc-bootstrap
3687 all-automake: stage_current
3688 @endif gcc-bootstrap
3689 @if automake
3690 TARGET-automake=all
3691 maybe-all-automake: all-automake
3692 all-automake: configure-automake
3693 @: $(MAKE); $(unstage)
3694 @r=`${PWD_COMMAND}`; export r; \
3695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3696 $(HOST_EXPORTS) \
3697 (cd $(HOST_SUBDIR)/automake && \
3698 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3699 @endif automake
3704 .PHONY: check-automake maybe-check-automake
3705 maybe-check-automake:
3706 @if automake
3707 maybe-check-automake: check-automake
3709 check-automake:
3710 @: $(MAKE); $(unstage)
3711 @r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(HOST_EXPORTS) \
3714 (cd $(HOST_SUBDIR)/automake && \
3715 $(MAKE) $(FLAGS_TO_PASS) check)
3717 @endif automake
3719 .PHONY: install-automake maybe-install-automake
3720 maybe-install-automake:
3721 @if automake
3722 maybe-install-automake: install-automake
3724 install-automake: installdirs
3725 @: $(MAKE); $(unstage)
3726 @r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 (cd $(HOST_SUBDIR)/automake && \
3730 $(MAKE) $(FLAGS_TO_PASS) install)
3732 @endif automake
3734 # Other targets (info, dvi, pdf, etc.)
3736 .PHONY: maybe-info-automake info-automake
3737 maybe-info-automake:
3738 @if automake
3739 maybe-info-automake: info-automake
3741 info-automake: \
3742 configure-automake
3743 @: $(MAKE); $(unstage)
3744 @[ -f ./automake/Makefile ] || exit 0; \
3745 r=`${PWD_COMMAND}`; export r; \
3746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3747 $(HOST_EXPORTS) \
3748 for flag in $(EXTRA_HOST_FLAGS) ; do \
3749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3750 done; \
3751 echo "Doing info in automake" ; \
3752 (cd $(HOST_SUBDIR)/automake && \
3753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3755 "RANLIB=$${RANLIB}" \
3756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3757 info) \
3758 || exit 1
3760 @endif automake
3762 .PHONY: maybe-dvi-automake dvi-automake
3763 maybe-dvi-automake:
3764 @if automake
3765 maybe-dvi-automake: dvi-automake
3767 dvi-automake: \
3768 configure-automake
3769 @: $(MAKE); $(unstage)
3770 @[ -f ./automake/Makefile ] || exit 0; \
3771 r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(HOST_EXPORTS) \
3774 for flag in $(EXTRA_HOST_FLAGS) ; do \
3775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3776 done; \
3777 echo "Doing dvi in automake" ; \
3778 (cd $(HOST_SUBDIR)/automake && \
3779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3781 "RANLIB=$${RANLIB}" \
3782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3783 dvi) \
3784 || exit 1
3786 @endif automake
3788 .PHONY: maybe-pdf-automake pdf-automake
3789 maybe-pdf-automake:
3790 @if automake
3791 maybe-pdf-automake: pdf-automake
3793 pdf-automake: \
3794 configure-automake
3795 @: $(MAKE); $(unstage)
3796 @[ -f ./automake/Makefile ] || exit 0; \
3797 r=`${PWD_COMMAND}`; export r; \
3798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3799 $(HOST_EXPORTS) \
3800 for flag in $(EXTRA_HOST_FLAGS) ; do \
3801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3802 done; \
3803 echo "Doing pdf in automake" ; \
3804 (cd $(HOST_SUBDIR)/automake && \
3805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3807 "RANLIB=$${RANLIB}" \
3808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3809 pdf) \
3810 || exit 1
3812 @endif automake
3814 .PHONY: maybe-html-automake html-automake
3815 maybe-html-automake:
3816 @if automake
3817 maybe-html-automake: html-automake
3819 html-automake: \
3820 configure-automake
3821 @: $(MAKE); $(unstage)
3822 @[ -f ./automake/Makefile ] || exit 0; \
3823 r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 $(HOST_EXPORTS) \
3826 for flag in $(EXTRA_HOST_FLAGS) ; do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 done; \
3829 echo "Doing html in automake" ; \
3830 (cd $(HOST_SUBDIR)/automake && \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3835 html) \
3836 || exit 1
3838 @endif automake
3840 .PHONY: maybe-TAGS-automake TAGS-automake
3841 maybe-TAGS-automake:
3842 @if automake
3843 maybe-TAGS-automake: TAGS-automake
3845 TAGS-automake: \
3846 configure-automake
3847 @: $(MAKE); $(unstage)
3848 @[ -f ./automake/Makefile ] || exit 0; \
3849 r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 $(HOST_EXPORTS) \
3852 for flag in $(EXTRA_HOST_FLAGS) ; do \
3853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3854 done; \
3855 echo "Doing TAGS in automake" ; \
3856 (cd $(HOST_SUBDIR)/automake && \
3857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3859 "RANLIB=$${RANLIB}" \
3860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3861 TAGS) \
3862 || exit 1
3864 @endif automake
3866 .PHONY: maybe-install-info-automake install-info-automake
3867 maybe-install-info-automake:
3868 @if automake
3869 maybe-install-info-automake: install-info-automake
3871 install-info-automake: \
3872 configure-automake \
3873 info-automake
3874 @: $(MAKE); $(unstage)
3875 @[ -f ./automake/Makefile ] || exit 0; \
3876 r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 $(HOST_EXPORTS) \
3879 for flag in $(EXTRA_HOST_FLAGS) ; do \
3880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3881 done; \
3882 echo "Doing install-info in automake" ; \
3883 (cd $(HOST_SUBDIR)/automake && \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3886 "RANLIB=$${RANLIB}" \
3887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3888 install-info) \
3889 || exit 1
3891 @endif automake
3893 .PHONY: maybe-install-html-automake install-html-automake
3894 maybe-install-html-automake:
3895 @if automake
3896 maybe-install-html-automake: install-html-automake
3898 install-html-automake: \
3899 configure-automake \
3900 html-automake
3901 @: $(MAKE); $(unstage)
3902 @[ -f ./automake/Makefile ] || exit 0; \
3903 r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 $(HOST_EXPORTS) \
3906 for flag in $(EXTRA_HOST_FLAGS) ; do \
3907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3908 done; \
3909 echo "Doing install-html in automake" ; \
3910 (cd $(HOST_SUBDIR)/automake && \
3911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3913 "RANLIB=$${RANLIB}" \
3914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3915 install-html) \
3916 || exit 1
3918 @endif automake
3920 .PHONY: maybe-installcheck-automake installcheck-automake
3921 maybe-installcheck-automake:
3922 @if automake
3923 maybe-installcheck-automake: installcheck-automake
3925 installcheck-automake: \
3926 configure-automake
3927 @: $(MAKE); $(unstage)
3928 @[ -f ./automake/Makefile ] || exit 0; \
3929 r=`${PWD_COMMAND}`; export r; \
3930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3931 $(HOST_EXPORTS) \
3932 for flag in $(EXTRA_HOST_FLAGS) ; do \
3933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3934 done; \
3935 echo "Doing installcheck in automake" ; \
3936 (cd $(HOST_SUBDIR)/automake && \
3937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939 "RANLIB=$${RANLIB}" \
3940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3941 installcheck) \
3942 || exit 1
3944 @endif automake
3946 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3947 maybe-mostlyclean-automake:
3948 @if automake
3949 maybe-mostlyclean-automake: mostlyclean-automake
3951 mostlyclean-automake:
3952 @: $(MAKE); $(unstage)
3953 @[ -f ./automake/Makefile ] || exit 0; \
3954 r=`${PWD_COMMAND}`; export r; \
3955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3956 $(HOST_EXPORTS) \
3957 for flag in $(EXTRA_HOST_FLAGS) ; do \
3958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3959 done; \
3960 echo "Doing mostlyclean in automake" ; \
3961 (cd $(HOST_SUBDIR)/automake && \
3962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3964 "RANLIB=$${RANLIB}" \
3965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3966 mostlyclean) \
3967 || exit 1
3969 @endif automake
3971 .PHONY: maybe-clean-automake clean-automake
3972 maybe-clean-automake:
3973 @if automake
3974 maybe-clean-automake: clean-automake
3976 clean-automake:
3977 @: $(MAKE); $(unstage)
3978 @[ -f ./automake/Makefile ] || exit 0; \
3979 r=`${PWD_COMMAND}`; export r; \
3980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3981 $(HOST_EXPORTS) \
3982 for flag in $(EXTRA_HOST_FLAGS) ; do \
3983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3984 done; \
3985 echo "Doing clean in automake" ; \
3986 (cd $(HOST_SUBDIR)/automake && \
3987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3989 "RANLIB=$${RANLIB}" \
3990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3991 clean) \
3992 || exit 1
3994 @endif automake
3996 .PHONY: maybe-distclean-automake distclean-automake
3997 maybe-distclean-automake:
3998 @if automake
3999 maybe-distclean-automake: distclean-automake
4001 distclean-automake:
4002 @: $(MAKE); $(unstage)
4003 @[ -f ./automake/Makefile ] || exit 0; \
4004 r=`${PWD_COMMAND}`; export r; \
4005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4006 $(HOST_EXPORTS) \
4007 for flag in $(EXTRA_HOST_FLAGS) ; do \
4008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4009 done; \
4010 echo "Doing distclean in automake" ; \
4011 (cd $(HOST_SUBDIR)/automake && \
4012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4014 "RANLIB=$${RANLIB}" \
4015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4016 distclean) \
4017 || exit 1
4019 @endif automake
4021 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4022 maybe-maintainer-clean-automake:
4023 @if automake
4024 maybe-maintainer-clean-automake: maintainer-clean-automake
4026 maintainer-clean-automake:
4027 @: $(MAKE); $(unstage)
4028 @[ -f ./automake/Makefile ] || exit 0; \
4029 r=`${PWD_COMMAND}`; export r; \
4030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4031 $(HOST_EXPORTS) \
4032 for flag in $(EXTRA_HOST_FLAGS) ; do \
4033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4034 done; \
4035 echo "Doing maintainer-clean in automake" ; \
4036 (cd $(HOST_SUBDIR)/automake && \
4037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4039 "RANLIB=$${RANLIB}" \
4040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4041 maintainer-clean) \
4042 || exit 1
4044 @endif automake
4048 .PHONY: configure-bash maybe-configure-bash
4049 maybe-configure-bash:
4050 @if gcc-bootstrap
4051 configure-bash: stage_current
4052 @endif gcc-bootstrap
4053 @if bash
4054 maybe-configure-bash: configure-bash
4055 configure-bash:
4056 @: $(MAKE); $(unstage)
4057 @r=`${PWD_COMMAND}`; export r; \
4058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4059 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4061 $(HOST_EXPORTS) \
4062 echo Configuring in $(HOST_SUBDIR)/bash; \
4063 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4064 case $(srcdir) in \
4065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4066 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4068 esac; \
4069 srcdiroption="--srcdir=$${topdir}/bash"; \
4070 libsrcdir="$$s/bash"; \
4071 $(SHELL) $${libsrcdir}/configure \
4072 $(HOST_CONFIGARGS) $${srcdiroption} \
4073 || exit 1
4074 @endif bash
4080 .PHONY: all-bash maybe-all-bash
4081 maybe-all-bash:
4082 @if gcc-bootstrap
4083 all-bash: stage_current
4084 @endif gcc-bootstrap
4085 @if bash
4086 TARGET-bash=all
4087 maybe-all-bash: all-bash
4088 all-bash: configure-bash
4089 @: $(MAKE); $(unstage)
4090 @r=`${PWD_COMMAND}`; export r; \
4091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4092 $(HOST_EXPORTS) \
4093 (cd $(HOST_SUBDIR)/bash && \
4094 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4095 @endif bash
4100 .PHONY: check-bash maybe-check-bash
4101 maybe-check-bash:
4102 @if bash
4103 maybe-check-bash: check-bash
4105 check-bash:
4106 @: $(MAKE); $(unstage)
4107 @r=`${PWD_COMMAND}`; export r; \
4108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4109 $(HOST_EXPORTS) \
4110 (cd $(HOST_SUBDIR)/bash && \
4111 $(MAKE) $(FLAGS_TO_PASS) check)
4113 @endif bash
4115 .PHONY: install-bash maybe-install-bash
4116 maybe-install-bash:
4117 @if bash
4118 maybe-install-bash: install-bash
4120 install-bash: installdirs
4121 @: $(MAKE); $(unstage)
4122 @r=`${PWD_COMMAND}`; export r; \
4123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4124 $(HOST_EXPORTS) \
4125 (cd $(HOST_SUBDIR)/bash && \
4126 $(MAKE) $(FLAGS_TO_PASS) install)
4128 @endif bash
4130 # Other targets (info, dvi, pdf, etc.)
4132 .PHONY: maybe-info-bash info-bash
4133 maybe-info-bash:
4134 @if bash
4135 maybe-info-bash: info-bash
4137 info-bash: \
4138 configure-bash
4139 @: $(MAKE); $(unstage)
4140 @[ -f ./bash/Makefile ] || exit 0; \
4141 r=`${PWD_COMMAND}`; export r; \
4142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4143 $(HOST_EXPORTS) \
4144 for flag in $(EXTRA_HOST_FLAGS) ; do \
4145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4146 done; \
4147 echo "Doing info in bash" ; \
4148 (cd $(HOST_SUBDIR)/bash && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4151 "RANLIB=$${RANLIB}" \
4152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4153 info) \
4154 || exit 1
4156 @endif bash
4158 .PHONY: maybe-dvi-bash dvi-bash
4159 maybe-dvi-bash:
4160 @if bash
4161 maybe-dvi-bash: dvi-bash
4163 dvi-bash: \
4164 configure-bash
4165 @: $(MAKE); $(unstage)
4166 @[ -f ./bash/Makefile ] || exit 0; \
4167 r=`${PWD_COMMAND}`; export r; \
4168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4169 $(HOST_EXPORTS) \
4170 for flag in $(EXTRA_HOST_FLAGS) ; do \
4171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4172 done; \
4173 echo "Doing dvi in bash" ; \
4174 (cd $(HOST_SUBDIR)/bash && \
4175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4177 "RANLIB=$${RANLIB}" \
4178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4179 dvi) \
4180 || exit 1
4182 @endif bash
4184 .PHONY: maybe-pdf-bash pdf-bash
4185 maybe-pdf-bash:
4186 @if bash
4187 maybe-pdf-bash: pdf-bash
4189 pdf-bash: \
4190 configure-bash
4191 @: $(MAKE); $(unstage)
4192 @[ -f ./bash/Makefile ] || exit 0; \
4193 r=`${PWD_COMMAND}`; export r; \
4194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4195 $(HOST_EXPORTS) \
4196 for flag in $(EXTRA_HOST_FLAGS) ; do \
4197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4198 done; \
4199 echo "Doing pdf in bash" ; \
4200 (cd $(HOST_SUBDIR)/bash && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4203 "RANLIB=$${RANLIB}" \
4204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4205 pdf) \
4206 || exit 1
4208 @endif bash
4210 .PHONY: maybe-html-bash html-bash
4211 maybe-html-bash:
4212 @if bash
4213 maybe-html-bash: html-bash
4215 html-bash: \
4216 configure-bash
4217 @: $(MAKE); $(unstage)
4218 @[ -f ./bash/Makefile ] || exit 0; \
4219 r=`${PWD_COMMAND}`; export r; \
4220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4221 $(HOST_EXPORTS) \
4222 for flag in $(EXTRA_HOST_FLAGS) ; do \
4223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4224 done; \
4225 echo "Doing html in bash" ; \
4226 (cd $(HOST_SUBDIR)/bash && \
4227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4229 "RANLIB=$${RANLIB}" \
4230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4231 html) \
4232 || exit 1
4234 @endif bash
4236 .PHONY: maybe-TAGS-bash TAGS-bash
4237 maybe-TAGS-bash:
4238 @if bash
4239 maybe-TAGS-bash: TAGS-bash
4241 TAGS-bash: \
4242 configure-bash
4243 @: $(MAKE); $(unstage)
4244 @[ -f ./bash/Makefile ] || exit 0; \
4245 r=`${PWD_COMMAND}`; export r; \
4246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4247 $(HOST_EXPORTS) \
4248 for flag in $(EXTRA_HOST_FLAGS) ; do \
4249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4250 done; \
4251 echo "Doing TAGS in bash" ; \
4252 (cd $(HOST_SUBDIR)/bash && \
4253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4255 "RANLIB=$${RANLIB}" \
4256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4257 TAGS) \
4258 || exit 1
4260 @endif bash
4262 .PHONY: maybe-install-info-bash install-info-bash
4263 maybe-install-info-bash:
4264 @if bash
4265 maybe-install-info-bash: install-info-bash
4267 install-info-bash: \
4268 configure-bash \
4269 info-bash
4270 @: $(MAKE); $(unstage)
4271 @[ -f ./bash/Makefile ] || exit 0; \
4272 r=`${PWD_COMMAND}`; export r; \
4273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4274 $(HOST_EXPORTS) \
4275 for flag in $(EXTRA_HOST_FLAGS) ; do \
4276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4277 done; \
4278 echo "Doing install-info in bash" ; \
4279 (cd $(HOST_SUBDIR)/bash && \
4280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4282 "RANLIB=$${RANLIB}" \
4283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4284 install-info) \
4285 || exit 1
4287 @endif bash
4289 .PHONY: maybe-install-html-bash install-html-bash
4290 maybe-install-html-bash:
4291 @if bash
4292 maybe-install-html-bash: install-html-bash
4294 install-html-bash: \
4295 configure-bash \
4296 html-bash
4297 @: $(MAKE); $(unstage)
4298 @[ -f ./bash/Makefile ] || exit 0; \
4299 r=`${PWD_COMMAND}`; export r; \
4300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301 $(HOST_EXPORTS) \
4302 for flag in $(EXTRA_HOST_FLAGS) ; do \
4303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4304 done; \
4305 echo "Doing install-html in bash" ; \
4306 (cd $(HOST_SUBDIR)/bash && \
4307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4309 "RANLIB=$${RANLIB}" \
4310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4311 install-html) \
4312 || exit 1
4314 @endif bash
4316 .PHONY: maybe-installcheck-bash installcheck-bash
4317 maybe-installcheck-bash:
4318 @if bash
4319 maybe-installcheck-bash: installcheck-bash
4321 installcheck-bash: \
4322 configure-bash
4323 @: $(MAKE); $(unstage)
4324 @[ -f ./bash/Makefile ] || exit 0; \
4325 r=`${PWD_COMMAND}`; export r; \
4326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4327 $(HOST_EXPORTS) \
4328 for flag in $(EXTRA_HOST_FLAGS) ; do \
4329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4330 done; \
4331 echo "Doing installcheck in bash" ; \
4332 (cd $(HOST_SUBDIR)/bash && \
4333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4335 "RANLIB=$${RANLIB}" \
4336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4337 installcheck) \
4338 || exit 1
4340 @endif bash
4342 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4343 maybe-mostlyclean-bash:
4344 @if bash
4345 maybe-mostlyclean-bash: mostlyclean-bash
4347 mostlyclean-bash:
4348 @: $(MAKE); $(unstage)
4349 @[ -f ./bash/Makefile ] || exit 0; \
4350 r=`${PWD_COMMAND}`; export r; \
4351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4352 $(HOST_EXPORTS) \
4353 for flag in $(EXTRA_HOST_FLAGS) ; do \
4354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4355 done; \
4356 echo "Doing mostlyclean in bash" ; \
4357 (cd $(HOST_SUBDIR)/bash && \
4358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4360 "RANLIB=$${RANLIB}" \
4361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4362 mostlyclean) \
4363 || exit 1
4365 @endif bash
4367 .PHONY: maybe-clean-bash clean-bash
4368 maybe-clean-bash:
4369 @if bash
4370 maybe-clean-bash: clean-bash
4372 clean-bash:
4373 @: $(MAKE); $(unstage)
4374 @[ -f ./bash/Makefile ] || exit 0; \
4375 r=`${PWD_COMMAND}`; export r; \
4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 $(HOST_EXPORTS) \
4378 for flag in $(EXTRA_HOST_FLAGS) ; do \
4379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4380 done; \
4381 echo "Doing clean in bash" ; \
4382 (cd $(HOST_SUBDIR)/bash && \
4383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4385 "RANLIB=$${RANLIB}" \
4386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4387 clean) \
4388 || exit 1
4390 @endif bash
4392 .PHONY: maybe-distclean-bash distclean-bash
4393 maybe-distclean-bash:
4394 @if bash
4395 maybe-distclean-bash: distclean-bash
4397 distclean-bash:
4398 @: $(MAKE); $(unstage)
4399 @[ -f ./bash/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4402 $(HOST_EXPORTS) \
4403 for flag in $(EXTRA_HOST_FLAGS) ; do \
4404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4405 done; \
4406 echo "Doing distclean in bash" ; \
4407 (cd $(HOST_SUBDIR)/bash && \
4408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4410 "RANLIB=$${RANLIB}" \
4411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4412 distclean) \
4413 || exit 1
4415 @endif bash
4417 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4418 maybe-maintainer-clean-bash:
4419 @if bash
4420 maybe-maintainer-clean-bash: maintainer-clean-bash
4422 maintainer-clean-bash:
4423 @: $(MAKE); $(unstage)
4424 @[ -f ./bash/Makefile ] || exit 0; \
4425 r=`${PWD_COMMAND}`; export r; \
4426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4427 $(HOST_EXPORTS) \
4428 for flag in $(EXTRA_HOST_FLAGS) ; do \
4429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4430 done; \
4431 echo "Doing maintainer-clean in bash" ; \
4432 (cd $(HOST_SUBDIR)/bash && \
4433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4435 "RANLIB=$${RANLIB}" \
4436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4437 maintainer-clean) \
4438 || exit 1
4440 @endif bash
4444 .PHONY: configure-bfd maybe-configure-bfd
4445 maybe-configure-bfd:
4446 @if gcc-bootstrap
4447 configure-bfd: stage_current
4448 @endif gcc-bootstrap
4449 @if bfd
4450 maybe-configure-bfd: configure-bfd
4451 configure-bfd:
4452 @r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4454 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4456 $(HOST_EXPORTS) \
4457 echo Configuring in $(HOST_SUBDIR)/bfd; \
4458 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4459 case $(srcdir) in \
4460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4461 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4463 esac; \
4464 srcdiroption="--srcdir=$${topdir}/bfd"; \
4465 libsrcdir="$$s/bfd"; \
4466 $(SHELL) $${libsrcdir}/configure \
4467 $(HOST_CONFIGARGS) $${srcdiroption} \
4468 || exit 1
4469 @endif bfd
4473 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4474 maybe-configure-stage1-bfd:
4475 @if bfd-bootstrap
4476 maybe-configure-stage1-bfd: configure-stage1-bfd
4477 configure-stage1-bfd:
4478 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4480 @r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4482 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4483 $(HOST_EXPORTS) \
4484 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4486 cd $(HOST_SUBDIR)/bfd || exit 1; \
4487 case $(srcdir) in \
4488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4489 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4491 esac; \
4492 srcdiroption="--srcdir=$${topdir}/bfd"; \
4493 libsrcdir="$$s/bfd"; \
4494 $(SHELL) $${libsrcdir}/configure \
4495 $(HOST_CONFIGARGS) $${srcdiroption} \
4497 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4498 @endif bfd-bootstrap
4500 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4501 maybe-configure-stage2-bfd:
4502 @if bfd-bootstrap
4503 maybe-configure-stage2-bfd: configure-stage2-bfd
4504 configure-stage2-bfd:
4505 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4507 @r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4510 $(HOST_EXPORTS) \
4511 $(POSTSTAGE1_HOST_EXPORTS) \
4512 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4514 cd $(HOST_SUBDIR)/bfd || exit 1; \
4515 case $(srcdir) in \
4516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4517 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4519 esac; \
4520 srcdiroption="--srcdir=$${topdir}/bfd"; \
4521 libsrcdir="$$s/bfd"; \
4522 $(SHELL) $${libsrcdir}/configure \
4523 $(HOST_CONFIGARGS) $${srcdiroption} \
4524 --with-build-libsubdir=$(HOST_SUBDIR) \
4525 @stage2_werror_flag@
4526 @endif bfd-bootstrap
4528 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4529 maybe-configure-stage3-bfd:
4530 @if bfd-bootstrap
4531 maybe-configure-stage3-bfd: configure-stage3-bfd
4532 configure-stage3-bfd:
4533 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4534 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4535 @r=`${PWD_COMMAND}`; export r; \
4536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4537 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4538 $(HOST_EXPORTS) \
4539 $(POSTSTAGE1_HOST_EXPORTS) \
4540 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4542 cd $(HOST_SUBDIR)/bfd || exit 1; \
4543 case $(srcdir) in \
4544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4545 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4547 esac; \
4548 srcdiroption="--srcdir=$${topdir}/bfd"; \
4549 libsrcdir="$$s/bfd"; \
4550 $(SHELL) $${libsrcdir}/configure \
4551 $(HOST_CONFIGARGS) $${srcdiroption} \
4552 --with-build-libsubdir=$(HOST_SUBDIR) \
4553 @stage2_werror_flag@
4554 @endif bfd-bootstrap
4556 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4557 maybe-configure-stage4-bfd:
4558 @if bfd-bootstrap
4559 maybe-configure-stage4-bfd: configure-stage4-bfd
4560 configure-stage4-bfd:
4561 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4562 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4563 @r=`${PWD_COMMAND}`; export r; \
4564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4565 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4566 $(HOST_EXPORTS) \
4567 $(POSTSTAGE1_HOST_EXPORTS) \
4568 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4570 cd $(HOST_SUBDIR)/bfd || exit 1; \
4571 case $(srcdir) in \
4572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4573 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4575 esac; \
4576 srcdiroption="--srcdir=$${topdir}/bfd"; \
4577 libsrcdir="$$s/bfd"; \
4578 $(SHELL) $${libsrcdir}/configure \
4579 $(HOST_CONFIGARGS) $${srcdiroption} \
4580 --with-build-libsubdir=$(HOST_SUBDIR) \
4581 @stage2_werror_flag@
4582 @endif bfd-bootstrap
4584 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4585 maybe-configure-stageprofile-bfd:
4586 @if bfd-bootstrap
4587 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4588 configure-stageprofile-bfd:
4589 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4591 @r=`${PWD_COMMAND}`; export r; \
4592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4594 $(HOST_EXPORTS) \
4595 $(POSTSTAGE1_HOST_EXPORTS) \
4596 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4598 cd $(HOST_SUBDIR)/bfd || exit 1; \
4599 case $(srcdir) in \
4600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4601 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4603 esac; \
4604 srcdiroption="--srcdir=$${topdir}/bfd"; \
4605 libsrcdir="$$s/bfd"; \
4606 $(SHELL) $${libsrcdir}/configure \
4607 $(HOST_CONFIGARGS) $${srcdiroption} \
4608 --with-build-libsubdir=$(HOST_SUBDIR) \
4609 @stage2_werror_flag@
4610 @endif bfd-bootstrap
4612 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4613 maybe-configure-stagefeedback-bfd:
4614 @if bfd-bootstrap
4615 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4616 configure-stagefeedback-bfd:
4617 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4619 @r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4621 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4622 $(HOST_EXPORTS) \
4623 $(POSTSTAGE1_HOST_EXPORTS) \
4624 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4626 cd $(HOST_SUBDIR)/bfd || exit 1; \
4627 case $(srcdir) in \
4628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4629 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4631 esac; \
4632 srcdiroption="--srcdir=$${topdir}/bfd"; \
4633 libsrcdir="$$s/bfd"; \
4634 $(SHELL) $${libsrcdir}/configure \
4635 $(HOST_CONFIGARGS) $${srcdiroption} \
4636 --with-build-libsubdir=$(HOST_SUBDIR) \
4637 @stage2_werror_flag@
4638 @endif bfd-bootstrap
4644 .PHONY: all-bfd maybe-all-bfd
4645 maybe-all-bfd:
4646 @if gcc-bootstrap
4647 all-bfd: stage_current
4648 @endif gcc-bootstrap
4649 @if bfd
4650 TARGET-bfd=all
4651 maybe-all-bfd: all-bfd
4652 all-bfd: configure-bfd
4653 @r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 $(HOST_EXPORTS) \
4656 (cd $(HOST_SUBDIR)/bfd && \
4657 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4658 @endif bfd
4662 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4663 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4664 maybe-all-stage1-bfd:
4665 maybe-clean-stage1-bfd:
4666 @if bfd-bootstrap
4667 maybe-all-stage1-bfd: all-stage1-bfd
4668 all-stage1: all-stage1-bfd
4669 TARGET-stage1-bfd = $(TARGET-bfd)
4670 all-stage1-bfd: configure-stage1-bfd
4671 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4672 @r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4674 $(HOST_EXPORTS) \
4675 cd $(HOST_SUBDIR)/bfd && \
4676 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4677 $(TARGET-stage1-bfd)
4679 maybe-clean-stage1-bfd: clean-stage1-bfd
4680 clean-stage1: clean-stage1-bfd
4681 clean-stage1-bfd:
4682 @if [ $(current_stage) = stage1 ]; then \
4683 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4684 else \
4685 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4686 $(MAKE) stage1-start; \
4687 fi; \
4688 cd $(HOST_SUBDIR)/bfd && \
4689 $(MAKE) $(FLAGS_TO_PASS) \
4690 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4691 @endif bfd-bootstrap
4694 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4695 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4696 maybe-all-stage2-bfd:
4697 maybe-clean-stage2-bfd:
4698 @if bfd-bootstrap
4699 maybe-all-stage2-bfd: all-stage2-bfd
4700 all-stage2: all-stage2-bfd
4701 TARGET-stage2-bfd = $(TARGET-bfd)
4702 all-stage2-bfd: configure-stage2-bfd
4703 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4704 @r=`${PWD_COMMAND}`; export r; \
4705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4706 $(HOST_EXPORTS) \
4707 $(POSTSTAGE1_HOST_EXPORTS) \
4708 cd $(HOST_SUBDIR)/bfd && \
4709 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4710 $(TARGET-stage2-bfd)
4712 maybe-clean-stage2-bfd: clean-stage2-bfd
4713 clean-stage2: clean-stage2-bfd
4714 clean-stage2-bfd:
4715 @if [ $(current_stage) = stage2 ]; then \
4716 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4717 else \
4718 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4719 $(MAKE) stage2-start; \
4720 fi; \
4721 cd $(HOST_SUBDIR)/bfd && \
4722 $(MAKE) $(FLAGS_TO_PASS) \
4723 $(POSTSTAGE1_FLAGS_TO_PASS) \
4724 clean
4725 @endif bfd-bootstrap
4728 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4729 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4730 maybe-all-stage3-bfd:
4731 maybe-clean-stage3-bfd:
4732 @if bfd-bootstrap
4733 maybe-all-stage3-bfd: all-stage3-bfd
4734 all-stage3: all-stage3-bfd
4735 TARGET-stage3-bfd = $(TARGET-bfd)
4736 all-stage3-bfd: configure-stage3-bfd
4737 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4738 @r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 $(HOST_EXPORTS) \
4741 $(POSTSTAGE1_HOST_EXPORTS) \
4742 cd $(HOST_SUBDIR)/bfd && \
4743 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4744 $(TARGET-stage3-bfd)
4746 maybe-clean-stage3-bfd: clean-stage3-bfd
4747 clean-stage3: clean-stage3-bfd
4748 clean-stage3-bfd:
4749 @if [ $(current_stage) = stage3 ]; then \
4750 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4751 else \
4752 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4753 $(MAKE) stage3-start; \
4754 fi; \
4755 cd $(HOST_SUBDIR)/bfd && \
4756 $(MAKE) $(FLAGS_TO_PASS) \
4757 $(POSTSTAGE1_FLAGS_TO_PASS) \
4758 clean
4759 @endif bfd-bootstrap
4762 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4763 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4764 maybe-all-stage4-bfd:
4765 maybe-clean-stage4-bfd:
4766 @if bfd-bootstrap
4767 maybe-all-stage4-bfd: all-stage4-bfd
4768 all-stage4: all-stage4-bfd
4769 TARGET-stage4-bfd = $(TARGET-bfd)
4770 all-stage4-bfd: configure-stage4-bfd
4771 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4772 @r=`${PWD_COMMAND}`; export r; \
4773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4774 $(HOST_EXPORTS) \
4775 $(POSTSTAGE1_HOST_EXPORTS) \
4776 cd $(HOST_SUBDIR)/bfd && \
4777 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4778 $(TARGET-stage4-bfd)
4780 maybe-clean-stage4-bfd: clean-stage4-bfd
4781 clean-stage4: clean-stage4-bfd
4782 clean-stage4-bfd:
4783 @if [ $(current_stage) = stage4 ]; then \
4784 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4785 else \
4786 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4787 $(MAKE) stage4-start; \
4788 fi; \
4789 cd $(HOST_SUBDIR)/bfd && \
4790 $(MAKE) $(FLAGS_TO_PASS) \
4791 $(POSTSTAGE1_FLAGS_TO_PASS) \
4792 clean
4793 @endif bfd-bootstrap
4796 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4797 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4798 maybe-all-stageprofile-bfd:
4799 maybe-clean-stageprofile-bfd:
4800 @if bfd-bootstrap
4801 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4802 all-stageprofile: all-stageprofile-bfd
4803 TARGET-stageprofile-bfd = $(TARGET-bfd)
4804 all-stageprofile-bfd: configure-stageprofile-bfd
4805 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4806 @r=`${PWD_COMMAND}`; export r; \
4807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 $(HOST_EXPORTS) \
4809 $(POSTSTAGE1_HOST_EXPORTS) \
4810 cd $(HOST_SUBDIR)/bfd && \
4811 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4812 $(TARGET-stageprofile-bfd)
4814 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4815 clean-stageprofile: clean-stageprofile-bfd
4816 clean-stageprofile-bfd:
4817 @if [ $(current_stage) = stageprofile ]; then \
4818 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4819 else \
4820 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4821 $(MAKE) stageprofile-start; \
4822 fi; \
4823 cd $(HOST_SUBDIR)/bfd && \
4824 $(MAKE) $(FLAGS_TO_PASS) \
4825 $(POSTSTAGE1_FLAGS_TO_PASS) \
4826 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4827 @endif bfd-bootstrap
4830 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4831 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4832 maybe-all-stagefeedback-bfd:
4833 maybe-clean-stagefeedback-bfd:
4834 @if bfd-bootstrap
4835 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4836 all-stagefeedback: all-stagefeedback-bfd
4837 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4838 all-stagefeedback-bfd: configure-stagefeedback-bfd
4839 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4840 @r=`${PWD_COMMAND}`; export r; \
4841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4842 $(HOST_EXPORTS) \
4843 $(POSTSTAGE1_HOST_EXPORTS) \
4844 cd $(HOST_SUBDIR)/bfd && \
4845 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4846 $(TARGET-stagefeedback-bfd)
4848 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4849 clean-stagefeedback: clean-stagefeedback-bfd
4850 clean-stagefeedback-bfd:
4851 @if [ $(current_stage) = stagefeedback ]; then \
4852 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4853 else \
4854 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4855 $(MAKE) stagefeedback-start; \
4856 fi; \
4857 cd $(HOST_SUBDIR)/bfd && \
4858 $(MAKE) $(FLAGS_TO_PASS) \
4859 $(POSTSTAGE1_FLAGS_TO_PASS) \
4860 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4861 @endif bfd-bootstrap
4867 .PHONY: check-bfd maybe-check-bfd
4868 maybe-check-bfd:
4869 @if bfd
4870 maybe-check-bfd: check-bfd
4872 check-bfd:
4873 @: $(MAKE); $(unstage)
4874 @r=`${PWD_COMMAND}`; export r; \
4875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4876 $(HOST_EXPORTS) \
4877 (cd $(HOST_SUBDIR)/bfd && \
4878 $(MAKE) $(FLAGS_TO_PASS) check)
4880 @endif bfd
4882 .PHONY: install-bfd maybe-install-bfd
4883 maybe-install-bfd:
4884 @if bfd
4885 maybe-install-bfd: install-bfd
4887 install-bfd: installdirs
4888 @: $(MAKE); $(unstage)
4889 @r=`${PWD_COMMAND}`; export r; \
4890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4891 $(HOST_EXPORTS) \
4892 (cd $(HOST_SUBDIR)/bfd && \
4893 $(MAKE) $(FLAGS_TO_PASS) install)
4895 @endif bfd
4897 # Other targets (info, dvi, pdf, etc.)
4899 .PHONY: maybe-info-bfd info-bfd
4900 maybe-info-bfd:
4901 @if bfd
4902 maybe-info-bfd: info-bfd
4904 info-bfd: \
4905 configure-bfd
4906 @[ -f ./bfd/Makefile ] || exit 0; \
4907 r=`${PWD_COMMAND}`; export r; \
4908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4909 $(HOST_EXPORTS) \
4910 for flag in $(EXTRA_HOST_FLAGS) ; do \
4911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4912 done; \
4913 echo "Doing info in bfd" ; \
4914 (cd $(HOST_SUBDIR)/bfd && \
4915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4917 "RANLIB=$${RANLIB}" \
4918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4919 info) \
4920 || exit 1
4922 @endif bfd
4924 .PHONY: maybe-dvi-bfd dvi-bfd
4925 maybe-dvi-bfd:
4926 @if bfd
4927 maybe-dvi-bfd: dvi-bfd
4929 dvi-bfd: \
4930 configure-bfd
4931 @[ -f ./bfd/Makefile ] || exit 0; \
4932 r=`${PWD_COMMAND}`; export r; \
4933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4934 $(HOST_EXPORTS) \
4935 for flag in $(EXTRA_HOST_FLAGS) ; do \
4936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4937 done; \
4938 echo "Doing dvi in bfd" ; \
4939 (cd $(HOST_SUBDIR)/bfd && \
4940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4942 "RANLIB=$${RANLIB}" \
4943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4944 dvi) \
4945 || exit 1
4947 @endif bfd
4949 .PHONY: maybe-pdf-bfd pdf-bfd
4950 maybe-pdf-bfd:
4951 @if bfd
4952 maybe-pdf-bfd: pdf-bfd
4954 pdf-bfd: \
4955 configure-bfd
4956 @[ -f ./bfd/Makefile ] || exit 0; \
4957 r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959 $(HOST_EXPORTS) \
4960 for flag in $(EXTRA_HOST_FLAGS) ; do \
4961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4962 done; \
4963 echo "Doing pdf in bfd" ; \
4964 (cd $(HOST_SUBDIR)/bfd && \
4965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4967 "RANLIB=$${RANLIB}" \
4968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4969 pdf) \
4970 || exit 1
4972 @endif bfd
4974 .PHONY: maybe-html-bfd html-bfd
4975 maybe-html-bfd:
4976 @if bfd
4977 maybe-html-bfd: html-bfd
4979 html-bfd: \
4980 configure-bfd
4981 @[ -f ./bfd/Makefile ] || exit 0; \
4982 r=`${PWD_COMMAND}`; export r; \
4983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4984 $(HOST_EXPORTS) \
4985 for flag in $(EXTRA_HOST_FLAGS) ; do \
4986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4987 done; \
4988 echo "Doing html in bfd" ; \
4989 (cd $(HOST_SUBDIR)/bfd && \
4990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4992 "RANLIB=$${RANLIB}" \
4993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4994 html) \
4995 || exit 1
4997 @endif bfd
4999 .PHONY: maybe-TAGS-bfd TAGS-bfd
5000 maybe-TAGS-bfd:
5001 @if bfd
5002 maybe-TAGS-bfd: TAGS-bfd
5004 TAGS-bfd: \
5005 configure-bfd
5006 @[ -f ./bfd/Makefile ] || exit 0; \
5007 r=`${PWD_COMMAND}`; export r; \
5008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5009 $(HOST_EXPORTS) \
5010 for flag in $(EXTRA_HOST_FLAGS) ; do \
5011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5012 done; \
5013 echo "Doing TAGS in bfd" ; \
5014 (cd $(HOST_SUBDIR)/bfd && \
5015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5017 "RANLIB=$${RANLIB}" \
5018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5019 TAGS) \
5020 || exit 1
5022 @endif bfd
5024 .PHONY: maybe-install-info-bfd install-info-bfd
5025 maybe-install-info-bfd:
5026 @if bfd
5027 maybe-install-info-bfd: install-info-bfd
5029 install-info-bfd: \
5030 configure-bfd \
5031 info-bfd
5032 @[ -f ./bfd/Makefile ] || exit 0; \
5033 r=`${PWD_COMMAND}`; export r; \
5034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5035 $(HOST_EXPORTS) \
5036 for flag in $(EXTRA_HOST_FLAGS) ; do \
5037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5038 done; \
5039 echo "Doing install-info in bfd" ; \
5040 (cd $(HOST_SUBDIR)/bfd && \
5041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5043 "RANLIB=$${RANLIB}" \
5044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5045 install-info) \
5046 || exit 1
5048 @endif bfd
5050 .PHONY: maybe-install-html-bfd install-html-bfd
5051 maybe-install-html-bfd:
5052 @if bfd
5053 maybe-install-html-bfd: install-html-bfd
5055 install-html-bfd: \
5056 configure-bfd \
5057 html-bfd
5058 @[ -f ./bfd/Makefile ] || exit 0; \
5059 r=`${PWD_COMMAND}`; export r; \
5060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5061 $(HOST_EXPORTS) \
5062 for flag in $(EXTRA_HOST_FLAGS) ; do \
5063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5064 done; \
5065 echo "Doing install-html in bfd" ; \
5066 (cd $(HOST_SUBDIR)/bfd && \
5067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5069 "RANLIB=$${RANLIB}" \
5070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5071 install-html) \
5072 || exit 1
5074 @endif bfd
5076 .PHONY: maybe-installcheck-bfd installcheck-bfd
5077 maybe-installcheck-bfd:
5078 @if bfd
5079 maybe-installcheck-bfd: installcheck-bfd
5081 installcheck-bfd: \
5082 configure-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 installcheck 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 installcheck) \
5097 || exit 1
5099 @endif bfd
5101 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5102 maybe-mostlyclean-bfd:
5103 @if bfd
5104 maybe-mostlyclean-bfd: mostlyclean-bfd
5106 mostlyclean-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 mostlyclean 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 mostlyclean) \
5121 || exit 1
5123 @endif bfd
5125 .PHONY: maybe-clean-bfd clean-bfd
5126 maybe-clean-bfd:
5127 @if bfd
5128 maybe-clean-bfd: clean-bfd
5130 clean-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 clean 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 clean) \
5145 || exit 1
5147 @endif bfd
5149 .PHONY: maybe-distclean-bfd distclean-bfd
5150 maybe-distclean-bfd:
5151 @if bfd
5152 maybe-distclean-bfd: distclean-bfd
5154 distclean-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 distclean 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 distclean) \
5169 || exit 1
5171 @endif bfd
5173 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5174 maybe-maintainer-clean-bfd:
5175 @if bfd
5176 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5178 maintainer-clean-bfd:
5179 @[ -f ./bfd/Makefile ] || exit 0; \
5180 r=`${PWD_COMMAND}`; export r; \
5181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5182 $(HOST_EXPORTS) \
5183 for flag in $(EXTRA_HOST_FLAGS) ; do \
5184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5185 done; \
5186 echo "Doing maintainer-clean in bfd" ; \
5187 (cd $(HOST_SUBDIR)/bfd && \
5188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5190 "RANLIB=$${RANLIB}" \
5191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5192 maintainer-clean) \
5193 || exit 1
5195 @endif bfd
5199 .PHONY: configure-opcodes maybe-configure-opcodes
5200 maybe-configure-opcodes:
5201 @if gcc-bootstrap
5202 configure-opcodes: stage_current
5203 @endif gcc-bootstrap
5204 @if opcodes
5205 maybe-configure-opcodes: configure-opcodes
5206 configure-opcodes:
5207 @r=`${PWD_COMMAND}`; export r; \
5208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5209 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5211 $(HOST_EXPORTS) \
5212 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5213 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5214 case $(srcdir) in \
5215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5216 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5218 esac; \
5219 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5220 libsrcdir="$$s/opcodes"; \
5221 $(SHELL) $${libsrcdir}/configure \
5222 $(HOST_CONFIGARGS) $${srcdiroption} \
5223 || exit 1
5224 @endif opcodes
5228 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5229 maybe-configure-stage1-opcodes:
5230 @if opcodes-bootstrap
5231 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5232 configure-stage1-opcodes:
5233 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5235 @r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5238 $(HOST_EXPORTS) \
5239 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5241 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5242 case $(srcdir) in \
5243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5244 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5246 esac; \
5247 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5248 libsrcdir="$$s/opcodes"; \
5249 $(SHELL) $${libsrcdir}/configure \
5250 $(HOST_CONFIGARGS) $${srcdiroption} \
5252 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5253 @endif opcodes-bootstrap
5255 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5256 maybe-configure-stage2-opcodes:
5257 @if opcodes-bootstrap
5258 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5259 configure-stage2-opcodes:
5260 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5262 @r=`${PWD_COMMAND}`; export r; \
5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5265 $(HOST_EXPORTS) \
5266 $(POSTSTAGE1_HOST_EXPORTS) \
5267 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5269 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5270 case $(srcdir) in \
5271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5272 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5274 esac; \
5275 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5276 libsrcdir="$$s/opcodes"; \
5277 $(SHELL) $${libsrcdir}/configure \
5278 $(HOST_CONFIGARGS) $${srcdiroption} \
5279 --with-build-libsubdir=$(HOST_SUBDIR) \
5280 @stage2_werror_flag@
5281 @endif opcodes-bootstrap
5283 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5284 maybe-configure-stage3-opcodes:
5285 @if opcodes-bootstrap
5286 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5287 configure-stage3-opcodes:
5288 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5290 @r=`${PWD_COMMAND}`; export r; \
5291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5292 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5293 $(HOST_EXPORTS) \
5294 $(POSTSTAGE1_HOST_EXPORTS) \
5295 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5297 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5298 case $(srcdir) in \
5299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5300 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5302 esac; \
5303 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5304 libsrcdir="$$s/opcodes"; \
5305 $(SHELL) $${libsrcdir}/configure \
5306 $(HOST_CONFIGARGS) $${srcdiroption} \
5307 --with-build-libsubdir=$(HOST_SUBDIR) \
5308 @stage2_werror_flag@
5309 @endif opcodes-bootstrap
5311 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5312 maybe-configure-stage4-opcodes:
5313 @if opcodes-bootstrap
5314 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5315 configure-stage4-opcodes:
5316 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5318 @r=`${PWD_COMMAND}`; export r; \
5319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5321 $(HOST_EXPORTS) \
5322 $(POSTSTAGE1_HOST_EXPORTS) \
5323 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5325 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5326 case $(srcdir) in \
5327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5328 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5330 esac; \
5331 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5332 libsrcdir="$$s/opcodes"; \
5333 $(SHELL) $${libsrcdir}/configure \
5334 $(HOST_CONFIGARGS) $${srcdiroption} \
5335 --with-build-libsubdir=$(HOST_SUBDIR) \
5336 @stage2_werror_flag@
5337 @endif opcodes-bootstrap
5339 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5340 maybe-configure-stageprofile-opcodes:
5341 @if opcodes-bootstrap
5342 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5343 configure-stageprofile-opcodes:
5344 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5345 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5346 @r=`${PWD_COMMAND}`; export r; \
5347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5349 $(HOST_EXPORTS) \
5350 $(POSTSTAGE1_HOST_EXPORTS) \
5351 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5353 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5354 case $(srcdir) in \
5355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5356 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5358 esac; \
5359 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5360 libsrcdir="$$s/opcodes"; \
5361 $(SHELL) $${libsrcdir}/configure \
5362 $(HOST_CONFIGARGS) $${srcdiroption} \
5363 --with-build-libsubdir=$(HOST_SUBDIR) \
5364 @stage2_werror_flag@
5365 @endif opcodes-bootstrap
5367 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5368 maybe-configure-stagefeedback-opcodes:
5369 @if opcodes-bootstrap
5370 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5371 configure-stagefeedback-opcodes:
5372 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5374 @r=`${PWD_COMMAND}`; export r; \
5375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5376 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5377 $(HOST_EXPORTS) \
5378 $(POSTSTAGE1_HOST_EXPORTS) \
5379 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5381 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5382 case $(srcdir) in \
5383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5384 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5386 esac; \
5387 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5388 libsrcdir="$$s/opcodes"; \
5389 $(SHELL) $${libsrcdir}/configure \
5390 $(HOST_CONFIGARGS) $${srcdiroption} \
5391 --with-build-libsubdir=$(HOST_SUBDIR) \
5392 @stage2_werror_flag@
5393 @endif opcodes-bootstrap
5399 .PHONY: all-opcodes maybe-all-opcodes
5400 maybe-all-opcodes:
5401 @if gcc-bootstrap
5402 all-opcodes: stage_current
5403 @endif gcc-bootstrap
5404 @if opcodes
5405 TARGET-opcodes=all
5406 maybe-all-opcodes: all-opcodes
5407 all-opcodes: configure-opcodes
5408 @r=`${PWD_COMMAND}`; export r; \
5409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5410 $(HOST_EXPORTS) \
5411 (cd $(HOST_SUBDIR)/opcodes && \
5412 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5413 @endif opcodes
5417 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5418 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5419 maybe-all-stage1-opcodes:
5420 maybe-clean-stage1-opcodes:
5421 @if opcodes-bootstrap
5422 maybe-all-stage1-opcodes: all-stage1-opcodes
5423 all-stage1: all-stage1-opcodes
5424 TARGET-stage1-opcodes = $(TARGET-opcodes)
5425 all-stage1-opcodes: configure-stage1-opcodes
5426 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5427 @r=`${PWD_COMMAND}`; export r; \
5428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5429 $(HOST_EXPORTS) \
5430 cd $(HOST_SUBDIR)/opcodes && \
5431 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5432 $(TARGET-stage1-opcodes)
5434 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5435 clean-stage1: clean-stage1-opcodes
5436 clean-stage1-opcodes:
5437 @if [ $(current_stage) = stage1 ]; then \
5438 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5439 else \
5440 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5441 $(MAKE) stage1-start; \
5442 fi; \
5443 cd $(HOST_SUBDIR)/opcodes && \
5444 $(MAKE) $(FLAGS_TO_PASS) \
5445 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5446 @endif opcodes-bootstrap
5449 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5450 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5451 maybe-all-stage2-opcodes:
5452 maybe-clean-stage2-opcodes:
5453 @if opcodes-bootstrap
5454 maybe-all-stage2-opcodes: all-stage2-opcodes
5455 all-stage2: all-stage2-opcodes
5456 TARGET-stage2-opcodes = $(TARGET-opcodes)
5457 all-stage2-opcodes: configure-stage2-opcodes
5458 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5459 @r=`${PWD_COMMAND}`; export r; \
5460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5461 $(HOST_EXPORTS) \
5462 $(POSTSTAGE1_HOST_EXPORTS) \
5463 cd $(HOST_SUBDIR)/opcodes && \
5464 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5465 $(TARGET-stage2-opcodes)
5467 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5468 clean-stage2: clean-stage2-opcodes
5469 clean-stage2-opcodes:
5470 @if [ $(current_stage) = stage2 ]; then \
5471 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5472 else \
5473 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5474 $(MAKE) stage2-start; \
5475 fi; \
5476 cd $(HOST_SUBDIR)/opcodes && \
5477 $(MAKE) $(FLAGS_TO_PASS) \
5478 $(POSTSTAGE1_FLAGS_TO_PASS) \
5479 clean
5480 @endif opcodes-bootstrap
5483 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5484 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5485 maybe-all-stage3-opcodes:
5486 maybe-clean-stage3-opcodes:
5487 @if opcodes-bootstrap
5488 maybe-all-stage3-opcodes: all-stage3-opcodes
5489 all-stage3: all-stage3-opcodes
5490 TARGET-stage3-opcodes = $(TARGET-opcodes)
5491 all-stage3-opcodes: configure-stage3-opcodes
5492 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5493 @r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 $(HOST_EXPORTS) \
5496 $(POSTSTAGE1_HOST_EXPORTS) \
5497 cd $(HOST_SUBDIR)/opcodes && \
5498 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5499 $(TARGET-stage3-opcodes)
5501 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5502 clean-stage3: clean-stage3-opcodes
5503 clean-stage3-opcodes:
5504 @if [ $(current_stage) = stage3 ]; then \
5505 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5506 else \
5507 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5508 $(MAKE) stage3-start; \
5509 fi; \
5510 cd $(HOST_SUBDIR)/opcodes && \
5511 $(MAKE) $(FLAGS_TO_PASS) \
5512 $(POSTSTAGE1_FLAGS_TO_PASS) \
5513 clean
5514 @endif opcodes-bootstrap
5517 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5518 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5519 maybe-all-stage4-opcodes:
5520 maybe-clean-stage4-opcodes:
5521 @if opcodes-bootstrap
5522 maybe-all-stage4-opcodes: all-stage4-opcodes
5523 all-stage4: all-stage4-opcodes
5524 TARGET-stage4-opcodes = $(TARGET-opcodes)
5525 all-stage4-opcodes: configure-stage4-opcodes
5526 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5527 @r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5529 $(HOST_EXPORTS) \
5530 $(POSTSTAGE1_HOST_EXPORTS) \
5531 cd $(HOST_SUBDIR)/opcodes && \
5532 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5533 $(TARGET-stage4-opcodes)
5535 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5536 clean-stage4: clean-stage4-opcodes
5537 clean-stage4-opcodes:
5538 @if [ $(current_stage) = stage4 ]; then \
5539 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5540 else \
5541 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5542 $(MAKE) stage4-start; \
5543 fi; \
5544 cd $(HOST_SUBDIR)/opcodes && \
5545 $(MAKE) $(FLAGS_TO_PASS) \
5546 $(POSTSTAGE1_FLAGS_TO_PASS) \
5547 clean
5548 @endif opcodes-bootstrap
5551 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5552 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5553 maybe-all-stageprofile-opcodes:
5554 maybe-clean-stageprofile-opcodes:
5555 @if opcodes-bootstrap
5556 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5557 all-stageprofile: all-stageprofile-opcodes
5558 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5559 all-stageprofile-opcodes: configure-stageprofile-opcodes
5560 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5561 @r=`${PWD_COMMAND}`; export r; \
5562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5563 $(HOST_EXPORTS) \
5564 $(POSTSTAGE1_HOST_EXPORTS) \
5565 cd $(HOST_SUBDIR)/opcodes && \
5566 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5567 $(TARGET-stageprofile-opcodes)
5569 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5570 clean-stageprofile: clean-stageprofile-opcodes
5571 clean-stageprofile-opcodes:
5572 @if [ $(current_stage) = stageprofile ]; then \
5573 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5574 else \
5575 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5576 $(MAKE) stageprofile-start; \
5577 fi; \
5578 cd $(HOST_SUBDIR)/opcodes && \
5579 $(MAKE) $(FLAGS_TO_PASS) \
5580 $(POSTSTAGE1_FLAGS_TO_PASS) \
5581 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5582 @endif opcodes-bootstrap
5585 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5586 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5587 maybe-all-stagefeedback-opcodes:
5588 maybe-clean-stagefeedback-opcodes:
5589 @if opcodes-bootstrap
5590 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5591 all-stagefeedback: all-stagefeedback-opcodes
5592 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5593 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5594 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5595 @r=`${PWD_COMMAND}`; export r; \
5596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5597 $(HOST_EXPORTS) \
5598 $(POSTSTAGE1_HOST_EXPORTS) \
5599 cd $(HOST_SUBDIR)/opcodes && \
5600 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5601 $(TARGET-stagefeedback-opcodes)
5603 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5604 clean-stagefeedback: clean-stagefeedback-opcodes
5605 clean-stagefeedback-opcodes:
5606 @if [ $(current_stage) = stagefeedback ]; then \
5607 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5608 else \
5609 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5610 $(MAKE) stagefeedback-start; \
5611 fi; \
5612 cd $(HOST_SUBDIR)/opcodes && \
5613 $(MAKE) $(FLAGS_TO_PASS) \
5614 $(POSTSTAGE1_FLAGS_TO_PASS) \
5615 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5616 @endif opcodes-bootstrap
5622 .PHONY: check-opcodes maybe-check-opcodes
5623 maybe-check-opcodes:
5624 @if opcodes
5625 maybe-check-opcodes: check-opcodes
5627 check-opcodes:
5628 @: $(MAKE); $(unstage)
5629 @r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(HOST_EXPORTS) \
5632 (cd $(HOST_SUBDIR)/opcodes && \
5633 $(MAKE) $(FLAGS_TO_PASS) check)
5635 @endif opcodes
5637 .PHONY: install-opcodes maybe-install-opcodes
5638 maybe-install-opcodes:
5639 @if opcodes
5640 maybe-install-opcodes: install-opcodes
5642 install-opcodes: installdirs
5643 @: $(MAKE); $(unstage)
5644 @r=`${PWD_COMMAND}`; export r; \
5645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5646 $(HOST_EXPORTS) \
5647 (cd $(HOST_SUBDIR)/opcodes && \
5648 $(MAKE) $(FLAGS_TO_PASS) install)
5650 @endif opcodes
5652 # Other targets (info, dvi, pdf, etc.)
5654 .PHONY: maybe-info-opcodes info-opcodes
5655 maybe-info-opcodes:
5656 @if opcodes
5657 maybe-info-opcodes: info-opcodes
5659 info-opcodes: \
5660 configure-opcodes
5661 @[ -f ./opcodes/Makefile ] || exit 0; \
5662 r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664 $(HOST_EXPORTS) \
5665 for flag in $(EXTRA_HOST_FLAGS) ; do \
5666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5667 done; \
5668 echo "Doing info in opcodes" ; \
5669 (cd $(HOST_SUBDIR)/opcodes && \
5670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672 "RANLIB=$${RANLIB}" \
5673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5674 info) \
5675 || exit 1
5677 @endif opcodes
5679 .PHONY: maybe-dvi-opcodes dvi-opcodes
5680 maybe-dvi-opcodes:
5681 @if opcodes
5682 maybe-dvi-opcodes: dvi-opcodes
5684 dvi-opcodes: \
5685 configure-opcodes
5686 @[ -f ./opcodes/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 $(HOST_EXPORTS) \
5690 for flag in $(EXTRA_HOST_FLAGS) ; do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692 done; \
5693 echo "Doing dvi in opcodes" ; \
5694 (cd $(HOST_SUBDIR)/opcodes && \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699 dvi) \
5700 || exit 1
5702 @endif opcodes
5704 .PHONY: maybe-pdf-opcodes pdf-opcodes
5705 maybe-pdf-opcodes:
5706 @if opcodes
5707 maybe-pdf-opcodes: pdf-opcodes
5709 pdf-opcodes: \
5710 configure-opcodes
5711 @[ -f ./opcodes/Makefile ] || exit 0; \
5712 r=`${PWD_COMMAND}`; export r; \
5713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5714 $(HOST_EXPORTS) \
5715 for flag in $(EXTRA_HOST_FLAGS) ; do \
5716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5717 done; \
5718 echo "Doing pdf in opcodes" ; \
5719 (cd $(HOST_SUBDIR)/opcodes && \
5720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5722 "RANLIB=$${RANLIB}" \
5723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5724 pdf) \
5725 || exit 1
5727 @endif opcodes
5729 .PHONY: maybe-html-opcodes html-opcodes
5730 maybe-html-opcodes:
5731 @if opcodes
5732 maybe-html-opcodes: html-opcodes
5734 html-opcodes: \
5735 configure-opcodes
5736 @[ -f ./opcodes/Makefile ] || exit 0; \
5737 r=`${PWD_COMMAND}`; export r; \
5738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5739 $(HOST_EXPORTS) \
5740 for flag in $(EXTRA_HOST_FLAGS) ; do \
5741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5742 done; \
5743 echo "Doing html in opcodes" ; \
5744 (cd $(HOST_SUBDIR)/opcodes && \
5745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5747 "RANLIB=$${RANLIB}" \
5748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5749 html) \
5750 || exit 1
5752 @endif opcodes
5754 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5755 maybe-TAGS-opcodes:
5756 @if opcodes
5757 maybe-TAGS-opcodes: TAGS-opcodes
5759 TAGS-opcodes: \
5760 configure-opcodes
5761 @[ -f ./opcodes/Makefile ] || exit 0; \
5762 r=`${PWD_COMMAND}`; export r; \
5763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5764 $(HOST_EXPORTS) \
5765 for flag in $(EXTRA_HOST_FLAGS) ; do \
5766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5767 done; \
5768 echo "Doing TAGS in opcodes" ; \
5769 (cd $(HOST_SUBDIR)/opcodes && \
5770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5772 "RANLIB=$${RANLIB}" \
5773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5774 TAGS) \
5775 || exit 1
5777 @endif opcodes
5779 .PHONY: maybe-install-info-opcodes install-info-opcodes
5780 maybe-install-info-opcodes:
5781 @if opcodes
5782 maybe-install-info-opcodes: install-info-opcodes
5784 install-info-opcodes: \
5785 configure-opcodes \
5786 info-opcodes
5787 @[ -f ./opcodes/Makefile ] || exit 0; \
5788 r=`${PWD_COMMAND}`; export r; \
5789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5790 $(HOST_EXPORTS) \
5791 for flag in $(EXTRA_HOST_FLAGS) ; do \
5792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5793 done; \
5794 echo "Doing install-info in opcodes" ; \
5795 (cd $(HOST_SUBDIR)/opcodes && \
5796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5798 "RANLIB=$${RANLIB}" \
5799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5800 install-info) \
5801 || exit 1
5803 @endif opcodes
5805 .PHONY: maybe-install-html-opcodes install-html-opcodes
5806 maybe-install-html-opcodes:
5807 @if opcodes
5808 maybe-install-html-opcodes: install-html-opcodes
5810 install-html-opcodes: \
5811 configure-opcodes \
5812 html-opcodes
5813 @[ -f ./opcodes/Makefile ] || exit 0; \
5814 r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5816 $(HOST_EXPORTS) \
5817 for flag in $(EXTRA_HOST_FLAGS) ; do \
5818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5819 done; \
5820 echo "Doing install-html in opcodes" ; \
5821 (cd $(HOST_SUBDIR)/opcodes && \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5824 "RANLIB=$${RANLIB}" \
5825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5826 install-html) \
5827 || exit 1
5829 @endif opcodes
5831 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5832 maybe-installcheck-opcodes:
5833 @if opcodes
5834 maybe-installcheck-opcodes: installcheck-opcodes
5836 installcheck-opcodes: \
5837 configure-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 installcheck 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 installcheck) \
5852 || exit 1
5854 @endif opcodes
5856 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5857 maybe-mostlyclean-opcodes:
5858 @if opcodes
5859 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5861 mostlyclean-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 mostlyclean 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 mostlyclean) \
5876 || exit 1
5878 @endif opcodes
5880 .PHONY: maybe-clean-opcodes clean-opcodes
5881 maybe-clean-opcodes:
5882 @if opcodes
5883 maybe-clean-opcodes: clean-opcodes
5885 clean-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 clean 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 clean) \
5900 || exit 1
5902 @endif opcodes
5904 .PHONY: maybe-distclean-opcodes distclean-opcodes
5905 maybe-distclean-opcodes:
5906 @if opcodes
5907 maybe-distclean-opcodes: distclean-opcodes
5909 distclean-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 distclean 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 distclean) \
5924 || exit 1
5926 @endif opcodes
5928 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5929 maybe-maintainer-clean-opcodes:
5930 @if opcodes
5931 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5933 maintainer-clean-opcodes:
5934 @[ -f ./opcodes/Makefile ] || exit 0; \
5935 r=`${PWD_COMMAND}`; export r; \
5936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5937 $(HOST_EXPORTS) \
5938 for flag in $(EXTRA_HOST_FLAGS) ; do \
5939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5940 done; \
5941 echo "Doing maintainer-clean in opcodes" ; \
5942 (cd $(HOST_SUBDIR)/opcodes && \
5943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5945 "RANLIB=$${RANLIB}" \
5946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5947 maintainer-clean) \
5948 || exit 1
5950 @endif opcodes
5954 .PHONY: configure-binutils maybe-configure-binutils
5955 maybe-configure-binutils:
5956 @if gcc-bootstrap
5957 configure-binutils: stage_current
5958 @endif gcc-bootstrap
5959 @if binutils
5960 maybe-configure-binutils: configure-binutils
5961 configure-binutils:
5962 @r=`${PWD_COMMAND}`; export r; \
5963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5964 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5966 $(HOST_EXPORTS) \
5967 echo Configuring in $(HOST_SUBDIR)/binutils; \
5968 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5969 case $(srcdir) in \
5970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5971 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5973 esac; \
5974 srcdiroption="--srcdir=$${topdir}/binutils"; \
5975 libsrcdir="$$s/binutils"; \
5976 $(SHELL) $${libsrcdir}/configure \
5977 $(HOST_CONFIGARGS) $${srcdiroption} \
5978 || exit 1
5979 @endif binutils
5983 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5984 maybe-configure-stage1-binutils:
5985 @if binutils-bootstrap
5986 maybe-configure-stage1-binutils: configure-stage1-binutils
5987 configure-stage1-binutils:
5988 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5990 @r=`${PWD_COMMAND}`; export r; \
5991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5992 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5993 $(HOST_EXPORTS) \
5994 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5996 cd $(HOST_SUBDIR)/binutils || exit 1; \
5997 case $(srcdir) in \
5998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5999 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6001 esac; \
6002 srcdiroption="--srcdir=$${topdir}/binutils"; \
6003 libsrcdir="$$s/binutils"; \
6004 $(SHELL) $${libsrcdir}/configure \
6005 $(HOST_CONFIGARGS) $${srcdiroption} \
6007 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6008 @endif binutils-bootstrap
6010 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6011 maybe-configure-stage2-binutils:
6012 @if binutils-bootstrap
6013 maybe-configure-stage2-binutils: configure-stage2-binutils
6014 configure-stage2-binutils:
6015 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6017 @r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6019 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6020 $(HOST_EXPORTS) \
6021 $(POSTSTAGE1_HOST_EXPORTS) \
6022 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6024 cd $(HOST_SUBDIR)/binutils || exit 1; \
6025 case $(srcdir) in \
6026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6027 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6029 esac; \
6030 srcdiroption="--srcdir=$${topdir}/binutils"; \
6031 libsrcdir="$$s/binutils"; \
6032 $(SHELL) $${libsrcdir}/configure \
6033 $(HOST_CONFIGARGS) $${srcdiroption} \
6034 --with-build-libsubdir=$(HOST_SUBDIR) \
6035 @stage2_werror_flag@
6036 @endif binutils-bootstrap
6038 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6039 maybe-configure-stage3-binutils:
6040 @if binutils-bootstrap
6041 maybe-configure-stage3-binutils: configure-stage3-binutils
6042 configure-stage3-binutils:
6043 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6045 @r=`${PWD_COMMAND}`; export r; \
6046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6047 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6048 $(HOST_EXPORTS) \
6049 $(POSTSTAGE1_HOST_EXPORTS) \
6050 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6052 cd $(HOST_SUBDIR)/binutils || exit 1; \
6053 case $(srcdir) in \
6054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6055 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6057 esac; \
6058 srcdiroption="--srcdir=$${topdir}/binutils"; \
6059 libsrcdir="$$s/binutils"; \
6060 $(SHELL) $${libsrcdir}/configure \
6061 $(HOST_CONFIGARGS) $${srcdiroption} \
6062 --with-build-libsubdir=$(HOST_SUBDIR) \
6063 @stage2_werror_flag@
6064 @endif binutils-bootstrap
6066 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6067 maybe-configure-stage4-binutils:
6068 @if binutils-bootstrap
6069 maybe-configure-stage4-binutils: configure-stage4-binutils
6070 configure-stage4-binutils:
6071 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6073 @r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6076 $(HOST_EXPORTS) \
6077 $(POSTSTAGE1_HOST_EXPORTS) \
6078 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6080 cd $(HOST_SUBDIR)/binutils || exit 1; \
6081 case $(srcdir) in \
6082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6083 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6085 esac; \
6086 srcdiroption="--srcdir=$${topdir}/binutils"; \
6087 libsrcdir="$$s/binutils"; \
6088 $(SHELL) $${libsrcdir}/configure \
6089 $(HOST_CONFIGARGS) $${srcdiroption} \
6090 --with-build-libsubdir=$(HOST_SUBDIR) \
6091 @stage2_werror_flag@
6092 @endif binutils-bootstrap
6094 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6095 maybe-configure-stageprofile-binutils:
6096 @if binutils-bootstrap
6097 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6098 configure-stageprofile-binutils:
6099 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6101 @r=`${PWD_COMMAND}`; export r; \
6102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6103 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6104 $(HOST_EXPORTS) \
6105 $(POSTSTAGE1_HOST_EXPORTS) \
6106 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6108 cd $(HOST_SUBDIR)/binutils || exit 1; \
6109 case $(srcdir) in \
6110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6111 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6113 esac; \
6114 srcdiroption="--srcdir=$${topdir}/binutils"; \
6115 libsrcdir="$$s/binutils"; \
6116 $(SHELL) $${libsrcdir}/configure \
6117 $(HOST_CONFIGARGS) $${srcdiroption} \
6118 --with-build-libsubdir=$(HOST_SUBDIR) \
6119 @stage2_werror_flag@
6120 @endif binutils-bootstrap
6122 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6123 maybe-configure-stagefeedback-binutils:
6124 @if binutils-bootstrap
6125 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6126 configure-stagefeedback-binutils:
6127 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6128 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6129 @r=`${PWD_COMMAND}`; export r; \
6130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6131 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6132 $(HOST_EXPORTS) \
6133 $(POSTSTAGE1_HOST_EXPORTS) \
6134 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6136 cd $(HOST_SUBDIR)/binutils || exit 1; \
6137 case $(srcdir) in \
6138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6139 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6141 esac; \
6142 srcdiroption="--srcdir=$${topdir}/binutils"; \
6143 libsrcdir="$$s/binutils"; \
6144 $(SHELL) $${libsrcdir}/configure \
6145 $(HOST_CONFIGARGS) $${srcdiroption} \
6146 --with-build-libsubdir=$(HOST_SUBDIR) \
6147 @stage2_werror_flag@
6148 @endif binutils-bootstrap
6154 .PHONY: all-binutils maybe-all-binutils
6155 maybe-all-binutils:
6156 @if gcc-bootstrap
6157 all-binutils: stage_current
6158 @endif gcc-bootstrap
6159 @if binutils
6160 TARGET-binutils=all
6161 maybe-all-binutils: all-binutils
6162 all-binutils: configure-binutils
6163 @r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6165 $(HOST_EXPORTS) \
6166 (cd $(HOST_SUBDIR)/binutils && \
6167 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6168 @endif binutils
6172 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6173 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6174 maybe-all-stage1-binutils:
6175 maybe-clean-stage1-binutils:
6176 @if binutils-bootstrap
6177 maybe-all-stage1-binutils: all-stage1-binutils
6178 all-stage1: all-stage1-binutils
6179 TARGET-stage1-binutils = $(TARGET-binutils)
6180 all-stage1-binutils: configure-stage1-binutils
6181 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6182 @r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 $(HOST_EXPORTS) \
6185 cd $(HOST_SUBDIR)/binutils && \
6186 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6187 $(TARGET-stage1-binutils)
6189 maybe-clean-stage1-binutils: clean-stage1-binutils
6190 clean-stage1: clean-stage1-binutils
6191 clean-stage1-binutils:
6192 @if [ $(current_stage) = stage1 ]; then \
6193 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6194 else \
6195 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6196 $(MAKE) stage1-start; \
6197 fi; \
6198 cd $(HOST_SUBDIR)/binutils && \
6199 $(MAKE) $(FLAGS_TO_PASS) \
6200 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6201 @endif binutils-bootstrap
6204 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6205 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6206 maybe-all-stage2-binutils:
6207 maybe-clean-stage2-binutils:
6208 @if binutils-bootstrap
6209 maybe-all-stage2-binutils: all-stage2-binutils
6210 all-stage2: all-stage2-binutils
6211 TARGET-stage2-binutils = $(TARGET-binutils)
6212 all-stage2-binutils: configure-stage2-binutils
6213 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6214 @r=`${PWD_COMMAND}`; export r; \
6215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6216 $(HOST_EXPORTS) \
6217 $(POSTSTAGE1_HOST_EXPORTS) \
6218 cd $(HOST_SUBDIR)/binutils && \
6219 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6220 $(TARGET-stage2-binutils)
6222 maybe-clean-stage2-binutils: clean-stage2-binutils
6223 clean-stage2: clean-stage2-binutils
6224 clean-stage2-binutils:
6225 @if [ $(current_stage) = stage2 ]; then \
6226 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6227 else \
6228 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6229 $(MAKE) stage2-start; \
6230 fi; \
6231 cd $(HOST_SUBDIR)/binutils && \
6232 $(MAKE) $(FLAGS_TO_PASS) \
6233 $(POSTSTAGE1_FLAGS_TO_PASS) \
6234 clean
6235 @endif binutils-bootstrap
6238 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6239 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6240 maybe-all-stage3-binutils:
6241 maybe-clean-stage3-binutils:
6242 @if binutils-bootstrap
6243 maybe-all-stage3-binutils: all-stage3-binutils
6244 all-stage3: all-stage3-binutils
6245 TARGET-stage3-binutils = $(TARGET-binutils)
6246 all-stage3-binutils: configure-stage3-binutils
6247 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6248 @r=`${PWD_COMMAND}`; export r; \
6249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6250 $(HOST_EXPORTS) \
6251 $(POSTSTAGE1_HOST_EXPORTS) \
6252 cd $(HOST_SUBDIR)/binutils && \
6253 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6254 $(TARGET-stage3-binutils)
6256 maybe-clean-stage3-binutils: clean-stage3-binutils
6257 clean-stage3: clean-stage3-binutils
6258 clean-stage3-binutils:
6259 @if [ $(current_stage) = stage3 ]; then \
6260 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6261 else \
6262 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6263 $(MAKE) stage3-start; \
6264 fi; \
6265 cd $(HOST_SUBDIR)/binutils && \
6266 $(MAKE) $(FLAGS_TO_PASS) \
6267 $(POSTSTAGE1_FLAGS_TO_PASS) \
6268 clean
6269 @endif binutils-bootstrap
6272 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6273 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6274 maybe-all-stage4-binutils:
6275 maybe-clean-stage4-binutils:
6276 @if binutils-bootstrap
6277 maybe-all-stage4-binutils: all-stage4-binutils
6278 all-stage4: all-stage4-binutils
6279 TARGET-stage4-binutils = $(TARGET-binutils)
6280 all-stage4-binutils: configure-stage4-binutils
6281 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6282 @r=`${PWD_COMMAND}`; export r; \
6283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6284 $(HOST_EXPORTS) \
6285 $(POSTSTAGE1_HOST_EXPORTS) \
6286 cd $(HOST_SUBDIR)/binutils && \
6287 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6288 $(TARGET-stage4-binutils)
6290 maybe-clean-stage4-binutils: clean-stage4-binutils
6291 clean-stage4: clean-stage4-binutils
6292 clean-stage4-binutils:
6293 @if [ $(current_stage) = stage4 ]; then \
6294 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6295 else \
6296 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6297 $(MAKE) stage4-start; \
6298 fi; \
6299 cd $(HOST_SUBDIR)/binutils && \
6300 $(MAKE) $(FLAGS_TO_PASS) \
6301 $(POSTSTAGE1_FLAGS_TO_PASS) \
6302 clean
6303 @endif binutils-bootstrap
6306 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6307 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6308 maybe-all-stageprofile-binutils:
6309 maybe-clean-stageprofile-binutils:
6310 @if binutils-bootstrap
6311 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6312 all-stageprofile: all-stageprofile-binutils
6313 TARGET-stageprofile-binutils = $(TARGET-binutils)
6314 all-stageprofile-binutils: configure-stageprofile-binutils
6315 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6316 @r=`${PWD_COMMAND}`; export r; \
6317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6318 $(HOST_EXPORTS) \
6319 $(POSTSTAGE1_HOST_EXPORTS) \
6320 cd $(HOST_SUBDIR)/binutils && \
6321 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6322 $(TARGET-stageprofile-binutils)
6324 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6325 clean-stageprofile: clean-stageprofile-binutils
6326 clean-stageprofile-binutils:
6327 @if [ $(current_stage) = stageprofile ]; then \
6328 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6329 else \
6330 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6331 $(MAKE) stageprofile-start; \
6332 fi; \
6333 cd $(HOST_SUBDIR)/binutils && \
6334 $(MAKE) $(FLAGS_TO_PASS) \
6335 $(POSTSTAGE1_FLAGS_TO_PASS) \
6336 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6337 @endif binutils-bootstrap
6340 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6341 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6342 maybe-all-stagefeedback-binutils:
6343 maybe-clean-stagefeedback-binutils:
6344 @if binutils-bootstrap
6345 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6346 all-stagefeedback: all-stagefeedback-binutils
6347 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6348 all-stagefeedback-binutils: configure-stagefeedback-binutils
6349 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6350 @r=`${PWD_COMMAND}`; export r; \
6351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6352 $(HOST_EXPORTS) \
6353 $(POSTSTAGE1_HOST_EXPORTS) \
6354 cd $(HOST_SUBDIR)/binutils && \
6355 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6356 $(TARGET-stagefeedback-binutils)
6358 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6359 clean-stagefeedback: clean-stagefeedback-binutils
6360 clean-stagefeedback-binutils:
6361 @if [ $(current_stage) = stagefeedback ]; then \
6362 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6363 else \
6364 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6365 $(MAKE) stagefeedback-start; \
6366 fi; \
6367 cd $(HOST_SUBDIR)/binutils && \
6368 $(MAKE) $(FLAGS_TO_PASS) \
6369 $(POSTSTAGE1_FLAGS_TO_PASS) \
6370 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6371 @endif binutils-bootstrap
6377 .PHONY: check-binutils maybe-check-binutils
6378 maybe-check-binutils:
6379 @if binutils
6380 maybe-check-binutils: check-binutils
6382 check-binutils:
6383 @: $(MAKE); $(unstage)
6384 @r=`${PWD_COMMAND}`; export r; \
6385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6386 $(HOST_EXPORTS) \
6387 (cd $(HOST_SUBDIR)/binutils && \
6388 $(MAKE) $(FLAGS_TO_PASS) check)
6390 @endif binutils
6392 .PHONY: install-binutils maybe-install-binutils
6393 maybe-install-binutils:
6394 @if binutils
6395 maybe-install-binutils: install-binutils
6397 install-binutils: installdirs
6398 @: $(MAKE); $(unstage)
6399 @r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(HOST_EXPORTS) \
6402 (cd $(HOST_SUBDIR)/binutils && \
6403 $(MAKE) $(FLAGS_TO_PASS) install)
6405 @endif binutils
6407 # Other targets (info, dvi, pdf, etc.)
6409 .PHONY: maybe-info-binutils info-binutils
6410 maybe-info-binutils:
6411 @if binutils
6412 maybe-info-binutils: info-binutils
6414 info-binutils: \
6415 configure-binutils
6416 @[ -f ./binutils/Makefile ] || exit 0; \
6417 r=`${PWD_COMMAND}`; export r; \
6418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6419 $(HOST_EXPORTS) \
6420 for flag in $(EXTRA_HOST_FLAGS) ; do \
6421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6422 done; \
6423 echo "Doing info in binutils" ; \
6424 (cd $(HOST_SUBDIR)/binutils && \
6425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6427 "RANLIB=$${RANLIB}" \
6428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6429 info) \
6430 || exit 1
6432 @endif binutils
6434 .PHONY: maybe-dvi-binutils dvi-binutils
6435 maybe-dvi-binutils:
6436 @if binutils
6437 maybe-dvi-binutils: dvi-binutils
6439 dvi-binutils: \
6440 configure-binutils
6441 @[ -f ./binutils/Makefile ] || exit 0; \
6442 r=`${PWD_COMMAND}`; export r; \
6443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6444 $(HOST_EXPORTS) \
6445 for flag in $(EXTRA_HOST_FLAGS) ; do \
6446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6447 done; \
6448 echo "Doing dvi in binutils" ; \
6449 (cd $(HOST_SUBDIR)/binutils && \
6450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6452 "RANLIB=$${RANLIB}" \
6453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6454 dvi) \
6455 || exit 1
6457 @endif binutils
6459 .PHONY: maybe-pdf-binutils pdf-binutils
6460 maybe-pdf-binutils:
6461 @if binutils
6462 maybe-pdf-binutils: pdf-binutils
6464 pdf-binutils: \
6465 configure-binutils
6466 @[ -f ./binutils/Makefile ] || exit 0; \
6467 r=`${PWD_COMMAND}`; export r; \
6468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6469 $(HOST_EXPORTS) \
6470 for flag in $(EXTRA_HOST_FLAGS) ; do \
6471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6472 done; \
6473 echo "Doing pdf in binutils" ; \
6474 (cd $(HOST_SUBDIR)/binutils && \
6475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6477 "RANLIB=$${RANLIB}" \
6478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6479 pdf) \
6480 || exit 1
6482 @endif binutils
6484 .PHONY: maybe-html-binutils html-binutils
6485 maybe-html-binutils:
6486 @if binutils
6487 maybe-html-binutils: html-binutils
6489 html-binutils: \
6490 configure-binutils
6491 @[ -f ./binutils/Makefile ] || exit 0; \
6492 r=`${PWD_COMMAND}`; export r; \
6493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6494 $(HOST_EXPORTS) \
6495 for flag in $(EXTRA_HOST_FLAGS) ; do \
6496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6497 done; \
6498 echo "Doing html in binutils" ; \
6499 (cd $(HOST_SUBDIR)/binutils && \
6500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6502 "RANLIB=$${RANLIB}" \
6503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6504 html) \
6505 || exit 1
6507 @endif binutils
6509 .PHONY: maybe-TAGS-binutils TAGS-binutils
6510 maybe-TAGS-binutils:
6511 @if binutils
6512 maybe-TAGS-binutils: TAGS-binutils
6514 TAGS-binutils: \
6515 configure-binutils
6516 @[ -f ./binutils/Makefile ] || exit 0; \
6517 r=`${PWD_COMMAND}`; export r; \
6518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6519 $(HOST_EXPORTS) \
6520 for flag in $(EXTRA_HOST_FLAGS) ; do \
6521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6522 done; \
6523 echo "Doing TAGS in binutils" ; \
6524 (cd $(HOST_SUBDIR)/binutils && \
6525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6527 "RANLIB=$${RANLIB}" \
6528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6529 TAGS) \
6530 || exit 1
6532 @endif binutils
6534 .PHONY: maybe-install-info-binutils install-info-binutils
6535 maybe-install-info-binutils:
6536 @if binutils
6537 maybe-install-info-binutils: install-info-binutils
6539 install-info-binutils: \
6540 configure-binutils \
6541 info-binutils
6542 @[ -f ./binutils/Makefile ] || exit 0; \
6543 r=`${PWD_COMMAND}`; export r; \
6544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6545 $(HOST_EXPORTS) \
6546 for flag in $(EXTRA_HOST_FLAGS) ; do \
6547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6548 done; \
6549 echo "Doing install-info in binutils" ; \
6550 (cd $(HOST_SUBDIR)/binutils && \
6551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6553 "RANLIB=$${RANLIB}" \
6554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6555 install-info) \
6556 || exit 1
6558 @endif binutils
6560 .PHONY: maybe-install-html-binutils install-html-binutils
6561 maybe-install-html-binutils:
6562 @if binutils
6563 maybe-install-html-binutils: install-html-binutils
6565 install-html-binutils: \
6566 configure-binutils \
6567 html-binutils
6568 @[ -f ./binutils/Makefile ] || exit 0; \
6569 r=`${PWD_COMMAND}`; export r; \
6570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6571 $(HOST_EXPORTS) \
6572 for flag in $(EXTRA_HOST_FLAGS) ; do \
6573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6574 done; \
6575 echo "Doing install-html in binutils" ; \
6576 (cd $(HOST_SUBDIR)/binutils && \
6577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6579 "RANLIB=$${RANLIB}" \
6580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6581 install-html) \
6582 || exit 1
6584 @endif binutils
6586 .PHONY: maybe-installcheck-binutils installcheck-binutils
6587 maybe-installcheck-binutils:
6588 @if binutils
6589 maybe-installcheck-binutils: installcheck-binutils
6591 installcheck-binutils: \
6592 configure-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 installcheck 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 installcheck) \
6607 || exit 1
6609 @endif binutils
6611 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6612 maybe-mostlyclean-binutils:
6613 @if binutils
6614 maybe-mostlyclean-binutils: mostlyclean-binutils
6616 mostlyclean-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 mostlyclean 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 mostlyclean) \
6631 || exit 1
6633 @endif binutils
6635 .PHONY: maybe-clean-binutils clean-binutils
6636 maybe-clean-binutils:
6637 @if binutils
6638 maybe-clean-binutils: clean-binutils
6640 clean-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 clean 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 clean) \
6655 || exit 1
6657 @endif binutils
6659 .PHONY: maybe-distclean-binutils distclean-binutils
6660 maybe-distclean-binutils:
6661 @if binutils
6662 maybe-distclean-binutils: distclean-binutils
6664 distclean-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 distclean 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 distclean) \
6679 || exit 1
6681 @endif binutils
6683 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6684 maybe-maintainer-clean-binutils:
6685 @if binutils
6686 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6688 maintainer-clean-binutils:
6689 @[ -f ./binutils/Makefile ] || exit 0; \
6690 r=`${PWD_COMMAND}`; export r; \
6691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6692 $(HOST_EXPORTS) \
6693 for flag in $(EXTRA_HOST_FLAGS) ; do \
6694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6695 done; \
6696 echo "Doing maintainer-clean in binutils" ; \
6697 (cd $(HOST_SUBDIR)/binutils && \
6698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6700 "RANLIB=$${RANLIB}" \
6701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6702 maintainer-clean) \
6703 || exit 1
6705 @endif binutils
6709 .PHONY: configure-bison maybe-configure-bison
6710 maybe-configure-bison:
6711 @if gcc-bootstrap
6712 configure-bison: stage_current
6713 @endif gcc-bootstrap
6714 @if bison
6715 maybe-configure-bison: configure-bison
6716 configure-bison:
6717 @: $(MAKE); $(unstage)
6718 @r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6722 $(HOST_EXPORTS) \
6723 echo Configuring in $(HOST_SUBDIR)/bison; \
6724 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6725 case $(srcdir) in \
6726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6727 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6729 esac; \
6730 srcdiroption="--srcdir=$${topdir}/bison"; \
6731 libsrcdir="$$s/bison"; \
6732 $(SHELL) $${libsrcdir}/configure \
6733 $(HOST_CONFIGARGS) $${srcdiroption} \
6734 || exit 1
6735 @endif bison
6741 .PHONY: all-bison maybe-all-bison
6742 maybe-all-bison:
6743 @if gcc-bootstrap
6744 all-bison: stage_current
6745 @endif gcc-bootstrap
6746 @if bison
6747 TARGET-bison=all
6748 maybe-all-bison: all-bison
6749 all-bison: configure-bison
6750 @: $(MAKE); $(unstage)
6751 @r=`${PWD_COMMAND}`; export r; \
6752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6753 $(HOST_EXPORTS) \
6754 (cd $(HOST_SUBDIR)/bison && \
6755 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6756 @endif bison
6761 .PHONY: check-bison maybe-check-bison
6762 maybe-check-bison:
6763 @if bison
6764 maybe-check-bison: check-bison
6766 # This module is only tested in a native toolchain.
6767 check-bison:
6768 @: $(MAKE); $(unstage)
6769 @if [ '$(host)' = '$(target)' ] ; then \
6770 r=`${PWD_COMMAND}`; export r; \
6771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6772 $(HOST_EXPORTS) \
6773 (cd $(HOST_SUBDIR)/bison && \
6774 $(MAKE) $(FLAGS_TO_PASS) check); \
6777 @endif bison
6779 .PHONY: install-bison maybe-install-bison
6780 maybe-install-bison:
6781 @if bison
6782 maybe-install-bison: install-bison
6784 install-bison: installdirs
6785 @: $(MAKE); $(unstage)
6786 @r=`${PWD_COMMAND}`; export r; \
6787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 $(HOST_EXPORTS) \
6789 (cd $(HOST_SUBDIR)/bison && \
6790 $(MAKE) $(FLAGS_TO_PASS) install)
6792 @endif bison
6794 # Other targets (info, dvi, pdf, etc.)
6796 .PHONY: maybe-info-bison info-bison
6797 maybe-info-bison:
6798 @if bison
6799 maybe-info-bison: info-bison
6801 info-bison: \
6802 configure-bison
6803 @: $(MAKE); $(unstage)
6804 @[ -f ./bison/Makefile ] || exit 0; \
6805 r=`${PWD_COMMAND}`; export r; \
6806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 $(HOST_EXPORTS) \
6808 for flag in $(EXTRA_HOST_FLAGS) ; do \
6809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6810 done; \
6811 echo "Doing info in bison" ; \
6812 (cd $(HOST_SUBDIR)/bison && \
6813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6815 "RANLIB=$${RANLIB}" \
6816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6817 info) \
6818 || exit 1
6820 @endif bison
6822 .PHONY: maybe-dvi-bison dvi-bison
6823 maybe-dvi-bison:
6824 @if bison
6825 maybe-dvi-bison: dvi-bison
6827 dvi-bison: \
6828 configure-bison
6829 @: $(MAKE); $(unstage)
6830 @[ -f ./bison/Makefile ] || exit 0; \
6831 r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(HOST_EXPORTS) \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6836 done; \
6837 echo "Doing dvi in bison" ; \
6838 (cd $(HOST_SUBDIR)/bison && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6843 dvi) \
6844 || exit 1
6846 @endif bison
6848 .PHONY: maybe-pdf-bison pdf-bison
6849 maybe-pdf-bison:
6850 @if bison
6851 maybe-pdf-bison: pdf-bison
6853 pdf-bison: \
6854 configure-bison
6855 @: $(MAKE); $(unstage)
6856 @[ -f ./bison/Makefile ] || exit 0; \
6857 r=`${PWD_COMMAND}`; export r; \
6858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6859 $(HOST_EXPORTS) \
6860 for flag in $(EXTRA_HOST_FLAGS) ; do \
6861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6862 done; \
6863 echo "Doing pdf in bison" ; \
6864 (cd $(HOST_SUBDIR)/bison && \
6865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6867 "RANLIB=$${RANLIB}" \
6868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6869 pdf) \
6870 || exit 1
6872 @endif bison
6874 .PHONY: maybe-html-bison html-bison
6875 maybe-html-bison:
6876 @if bison
6877 maybe-html-bison: html-bison
6879 html-bison: \
6880 configure-bison
6881 @: $(MAKE); $(unstage)
6882 @[ -f ./bison/Makefile ] || exit 0; \
6883 r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(HOST_EXPORTS) \
6886 for flag in $(EXTRA_HOST_FLAGS) ; do \
6887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6888 done; \
6889 echo "Doing html in bison" ; \
6890 (cd $(HOST_SUBDIR)/bison && \
6891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6893 "RANLIB=$${RANLIB}" \
6894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6895 html) \
6896 || exit 1
6898 @endif bison
6900 .PHONY: maybe-TAGS-bison TAGS-bison
6901 maybe-TAGS-bison:
6902 @if bison
6903 maybe-TAGS-bison: TAGS-bison
6905 TAGS-bison: \
6906 configure-bison
6907 @: $(MAKE); $(unstage)
6908 @[ -f ./bison/Makefile ] || exit 0; \
6909 r=`${PWD_COMMAND}`; export r; \
6910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6911 $(HOST_EXPORTS) \
6912 for flag in $(EXTRA_HOST_FLAGS) ; do \
6913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6914 done; \
6915 echo "Doing TAGS in bison" ; \
6916 (cd $(HOST_SUBDIR)/bison && \
6917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6919 "RANLIB=$${RANLIB}" \
6920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6921 TAGS) \
6922 || exit 1
6924 @endif bison
6926 .PHONY: maybe-install-info-bison install-info-bison
6927 maybe-install-info-bison:
6928 @if bison
6929 maybe-install-info-bison: install-info-bison
6931 install-info-bison: \
6932 configure-bison \
6933 info-bison
6934 @: $(MAKE); $(unstage)
6935 @[ -f ./bison/Makefile ] || exit 0; \
6936 r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 $(HOST_EXPORTS) \
6939 for flag in $(EXTRA_HOST_FLAGS) ; do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6941 done; \
6942 echo "Doing install-info in bison" ; \
6943 (cd $(HOST_SUBDIR)/bison && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6948 install-info) \
6949 || exit 1
6951 @endif bison
6953 .PHONY: maybe-install-html-bison install-html-bison
6954 maybe-install-html-bison:
6955 @if bison
6956 maybe-install-html-bison: install-html-bison
6958 install-html-bison: \
6959 configure-bison \
6960 html-bison
6961 @: $(MAKE); $(unstage)
6962 @[ -f ./bison/Makefile ] || exit 0; \
6963 r=`${PWD_COMMAND}`; export r; \
6964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965 $(HOST_EXPORTS) \
6966 for flag in $(EXTRA_HOST_FLAGS) ; do \
6967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6968 done; \
6969 echo "Doing install-html in bison" ; \
6970 (cd $(HOST_SUBDIR)/bison && \
6971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6973 "RANLIB=$${RANLIB}" \
6974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6975 install-html) \
6976 || exit 1
6978 @endif bison
6980 .PHONY: maybe-installcheck-bison installcheck-bison
6981 maybe-installcheck-bison:
6982 @if bison
6983 maybe-installcheck-bison: installcheck-bison
6985 installcheck-bison: \
6986 configure-bison
6987 @: $(MAKE); $(unstage)
6988 @[ -f ./bison/Makefile ] || exit 0; \
6989 r=`${PWD_COMMAND}`; export r; \
6990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6991 $(HOST_EXPORTS) \
6992 for flag in $(EXTRA_HOST_FLAGS) ; do \
6993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6994 done; \
6995 echo "Doing installcheck in bison" ; \
6996 (cd $(HOST_SUBDIR)/bison && \
6997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6999 "RANLIB=$${RANLIB}" \
7000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7001 installcheck) \
7002 || exit 1
7004 @endif bison
7006 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7007 maybe-mostlyclean-bison:
7008 @if bison
7009 maybe-mostlyclean-bison: mostlyclean-bison
7011 mostlyclean-bison:
7012 @: $(MAKE); $(unstage)
7013 @[ -f ./bison/Makefile ] || exit 0; \
7014 r=`${PWD_COMMAND}`; export r; \
7015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7016 $(HOST_EXPORTS) \
7017 for flag in $(EXTRA_HOST_FLAGS) ; do \
7018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7019 done; \
7020 echo "Doing mostlyclean in bison" ; \
7021 (cd $(HOST_SUBDIR)/bison && \
7022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7024 "RANLIB=$${RANLIB}" \
7025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7026 mostlyclean) \
7027 || exit 1
7029 @endif bison
7031 .PHONY: maybe-clean-bison clean-bison
7032 maybe-clean-bison:
7033 @if bison
7034 maybe-clean-bison: clean-bison
7036 clean-bison:
7037 @: $(MAKE); $(unstage)
7038 @[ -f ./bison/Makefile ] || exit 0; \
7039 r=`${PWD_COMMAND}`; export r; \
7040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7041 $(HOST_EXPORTS) \
7042 for flag in $(EXTRA_HOST_FLAGS) ; do \
7043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7044 done; \
7045 echo "Doing clean in bison" ; \
7046 (cd $(HOST_SUBDIR)/bison && \
7047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7049 "RANLIB=$${RANLIB}" \
7050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7051 clean) \
7052 || exit 1
7054 @endif bison
7056 .PHONY: maybe-distclean-bison distclean-bison
7057 maybe-distclean-bison:
7058 @if bison
7059 maybe-distclean-bison: distclean-bison
7061 distclean-bison:
7062 @: $(MAKE); $(unstage)
7063 @[ -f ./bison/Makefile ] || exit 0; \
7064 r=`${PWD_COMMAND}`; export r; \
7065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7066 $(HOST_EXPORTS) \
7067 for flag in $(EXTRA_HOST_FLAGS) ; do \
7068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7069 done; \
7070 echo "Doing distclean in bison" ; \
7071 (cd $(HOST_SUBDIR)/bison && \
7072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7074 "RANLIB=$${RANLIB}" \
7075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7076 distclean) \
7077 || exit 1
7079 @endif bison
7081 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7082 maybe-maintainer-clean-bison:
7083 @if bison
7084 maybe-maintainer-clean-bison: maintainer-clean-bison
7086 maintainer-clean-bison:
7087 @: $(MAKE); $(unstage)
7088 @[ -f ./bison/Makefile ] || exit 0; \
7089 r=`${PWD_COMMAND}`; export r; \
7090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7091 $(HOST_EXPORTS) \
7092 for flag in $(EXTRA_HOST_FLAGS) ; do \
7093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7094 done; \
7095 echo "Doing maintainer-clean in bison" ; \
7096 (cd $(HOST_SUBDIR)/bison && \
7097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7099 "RANLIB=$${RANLIB}" \
7100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7101 maintainer-clean) \
7102 || exit 1
7104 @endif bison
7108 .PHONY: configure-byacc maybe-configure-byacc
7109 maybe-configure-byacc:
7110 @if gcc-bootstrap
7111 configure-byacc: stage_current
7112 @endif gcc-bootstrap
7113 @if byacc
7114 maybe-configure-byacc: configure-byacc
7115 configure-byacc:
7116 @: $(MAKE); $(unstage)
7117 @r=`${PWD_COMMAND}`; export r; \
7118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7119 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7121 $(HOST_EXPORTS) \
7122 echo Configuring in $(HOST_SUBDIR)/byacc; \
7123 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7124 case $(srcdir) in \
7125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7126 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7128 esac; \
7129 srcdiroption="--srcdir=$${topdir}/byacc"; \
7130 libsrcdir="$$s/byacc"; \
7131 $(SHELL) $${libsrcdir}/configure \
7132 $(HOST_CONFIGARGS) $${srcdiroption} \
7133 || exit 1
7134 @endif byacc
7140 .PHONY: all-byacc maybe-all-byacc
7141 maybe-all-byacc:
7142 @if gcc-bootstrap
7143 all-byacc: stage_current
7144 @endif gcc-bootstrap
7145 @if byacc
7146 TARGET-byacc=all
7147 maybe-all-byacc: all-byacc
7148 all-byacc: configure-byacc
7149 @: $(MAKE); $(unstage)
7150 @r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 (cd $(HOST_SUBDIR)/byacc && \
7154 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7155 @endif byacc
7160 .PHONY: check-byacc maybe-check-byacc
7161 maybe-check-byacc:
7162 @if byacc
7163 maybe-check-byacc: check-byacc
7165 # This module is only tested in a native toolchain.
7166 check-byacc:
7167 @: $(MAKE); $(unstage)
7168 @if [ '$(host)' = '$(target)' ] ; then \
7169 r=`${PWD_COMMAND}`; export r; \
7170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7171 $(HOST_EXPORTS) \
7172 (cd $(HOST_SUBDIR)/byacc && \
7173 $(MAKE) $(FLAGS_TO_PASS) check); \
7176 @endif byacc
7178 .PHONY: install-byacc maybe-install-byacc
7179 maybe-install-byacc:
7180 @if byacc
7181 maybe-install-byacc: install-byacc
7183 install-byacc: installdirs
7184 @: $(MAKE); $(unstage)
7185 @r=`${PWD_COMMAND}`; export r; \
7186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7187 $(HOST_EXPORTS) \
7188 (cd $(HOST_SUBDIR)/byacc && \
7189 $(MAKE) $(FLAGS_TO_PASS) install)
7191 @endif byacc
7193 # Other targets (info, dvi, pdf, etc.)
7195 .PHONY: maybe-info-byacc info-byacc
7196 maybe-info-byacc:
7197 @if byacc
7198 maybe-info-byacc: info-byacc
7200 info-byacc: \
7201 configure-byacc
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./byacc/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing info in byacc" ; \
7211 (cd $(HOST_SUBDIR)/byacc && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7216 info) \
7217 || exit 1
7219 @endif byacc
7221 .PHONY: maybe-dvi-byacc dvi-byacc
7222 maybe-dvi-byacc:
7223 @if byacc
7224 maybe-dvi-byacc: dvi-byacc
7226 dvi-byacc: \
7227 configure-byacc
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./byacc/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing dvi in byacc" ; \
7237 (cd $(HOST_SUBDIR)/byacc && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7242 dvi) \
7243 || exit 1
7245 @endif byacc
7247 .PHONY: maybe-pdf-byacc pdf-byacc
7248 maybe-pdf-byacc:
7249 @if byacc
7250 maybe-pdf-byacc: pdf-byacc
7252 pdf-byacc: \
7253 configure-byacc
7254 @: $(MAKE); $(unstage)
7255 @[ -f ./byacc/Makefile ] || exit 0; \
7256 r=`${PWD_COMMAND}`; export r; \
7257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7258 $(HOST_EXPORTS) \
7259 for flag in $(EXTRA_HOST_FLAGS) ; do \
7260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7261 done; \
7262 echo "Doing pdf in byacc" ; \
7263 (cd $(HOST_SUBDIR)/byacc && \
7264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7266 "RANLIB=$${RANLIB}" \
7267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7268 pdf) \
7269 || exit 1
7271 @endif byacc
7273 .PHONY: maybe-html-byacc html-byacc
7274 maybe-html-byacc:
7275 @if byacc
7276 maybe-html-byacc: html-byacc
7278 html-byacc: \
7279 configure-byacc
7280 @: $(MAKE); $(unstage)
7281 @[ -f ./byacc/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7284 $(HOST_EXPORTS) \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7287 done; \
7288 echo "Doing html in byacc" ; \
7289 (cd $(HOST_SUBDIR)/byacc && \
7290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7292 "RANLIB=$${RANLIB}" \
7293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7294 html) \
7295 || exit 1
7297 @endif byacc
7299 .PHONY: maybe-TAGS-byacc TAGS-byacc
7300 maybe-TAGS-byacc:
7301 @if byacc
7302 maybe-TAGS-byacc: TAGS-byacc
7304 TAGS-byacc: \
7305 configure-byacc
7306 @: $(MAKE); $(unstage)
7307 @[ -f ./byacc/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7313 done; \
7314 echo "Doing TAGS in byacc" ; \
7315 (cd $(HOST_SUBDIR)/byacc && \
7316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7318 "RANLIB=$${RANLIB}" \
7319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7320 TAGS) \
7321 || exit 1
7323 @endif byacc
7325 .PHONY: maybe-install-info-byacc install-info-byacc
7326 maybe-install-info-byacc:
7327 @if byacc
7328 maybe-install-info-byacc: install-info-byacc
7330 install-info-byacc: \
7331 configure-byacc \
7332 info-byacc
7333 @: $(MAKE); $(unstage)
7334 @[ -f ./byacc/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing install-info in byacc" ; \
7342 (cd $(HOST_SUBDIR)/byacc && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 install-info) \
7348 || exit 1
7350 @endif byacc
7352 .PHONY: maybe-install-html-byacc install-html-byacc
7353 maybe-install-html-byacc:
7354 @if byacc
7355 maybe-install-html-byacc: install-html-byacc
7357 install-html-byacc: \
7358 configure-byacc \
7359 html-byacc
7360 @: $(MAKE); $(unstage)
7361 @[ -f ./byacc/Makefile ] || exit 0; \
7362 r=`${PWD_COMMAND}`; export r; \
7363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7364 $(HOST_EXPORTS) \
7365 for flag in $(EXTRA_HOST_FLAGS) ; do \
7366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7367 done; \
7368 echo "Doing install-html in byacc" ; \
7369 (cd $(HOST_SUBDIR)/byacc && \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7372 "RANLIB=$${RANLIB}" \
7373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7374 install-html) \
7375 || exit 1
7377 @endif byacc
7379 .PHONY: maybe-installcheck-byacc installcheck-byacc
7380 maybe-installcheck-byacc:
7381 @if byacc
7382 maybe-installcheck-byacc: installcheck-byacc
7384 installcheck-byacc: \
7385 configure-byacc
7386 @: $(MAKE); $(unstage)
7387 @[ -f ./byacc/Makefile ] || exit 0; \
7388 r=`${PWD_COMMAND}`; export r; \
7389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7390 $(HOST_EXPORTS) \
7391 for flag in $(EXTRA_HOST_FLAGS) ; do \
7392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7393 done; \
7394 echo "Doing installcheck in byacc" ; \
7395 (cd $(HOST_SUBDIR)/byacc && \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7398 "RANLIB=$${RANLIB}" \
7399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7400 installcheck) \
7401 || exit 1
7403 @endif byacc
7405 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7406 maybe-mostlyclean-byacc:
7407 @if byacc
7408 maybe-mostlyclean-byacc: mostlyclean-byacc
7410 mostlyclean-byacc:
7411 @: $(MAKE); $(unstage)
7412 @[ -f ./byacc/Makefile ] || exit 0; \
7413 r=`${PWD_COMMAND}`; export r; \
7414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7415 $(HOST_EXPORTS) \
7416 for flag in $(EXTRA_HOST_FLAGS) ; do \
7417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7418 done; \
7419 echo "Doing mostlyclean in byacc" ; \
7420 (cd $(HOST_SUBDIR)/byacc && \
7421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7423 "RANLIB=$${RANLIB}" \
7424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7425 mostlyclean) \
7426 || exit 1
7428 @endif byacc
7430 .PHONY: maybe-clean-byacc clean-byacc
7431 maybe-clean-byacc:
7432 @if byacc
7433 maybe-clean-byacc: clean-byacc
7435 clean-byacc:
7436 @: $(MAKE); $(unstage)
7437 @[ -f ./byacc/Makefile ] || exit 0; \
7438 r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 $(HOST_EXPORTS) \
7441 for flag in $(EXTRA_HOST_FLAGS) ; do \
7442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7443 done; \
7444 echo "Doing clean in byacc" ; \
7445 (cd $(HOST_SUBDIR)/byacc && \
7446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7448 "RANLIB=$${RANLIB}" \
7449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7450 clean) \
7451 || exit 1
7453 @endif byacc
7455 .PHONY: maybe-distclean-byacc distclean-byacc
7456 maybe-distclean-byacc:
7457 @if byacc
7458 maybe-distclean-byacc: distclean-byacc
7460 distclean-byacc:
7461 @: $(MAKE); $(unstage)
7462 @[ -f ./byacc/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(HOST_EXPORTS) \
7466 for flag in $(EXTRA_HOST_FLAGS) ; do \
7467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7468 done; \
7469 echo "Doing distclean in byacc" ; \
7470 (cd $(HOST_SUBDIR)/byacc && \
7471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7473 "RANLIB=$${RANLIB}" \
7474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7475 distclean) \
7476 || exit 1
7478 @endif byacc
7480 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7481 maybe-maintainer-clean-byacc:
7482 @if byacc
7483 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7485 maintainer-clean-byacc:
7486 @: $(MAKE); $(unstage)
7487 @[ -f ./byacc/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing maintainer-clean in byacc" ; \
7495 (cd $(HOST_SUBDIR)/byacc && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7500 maintainer-clean) \
7501 || exit 1
7503 @endif byacc
7507 .PHONY: configure-bzip2 maybe-configure-bzip2
7508 maybe-configure-bzip2:
7509 @if gcc-bootstrap
7510 configure-bzip2: stage_current
7511 @endif gcc-bootstrap
7512 @if bzip2
7513 maybe-configure-bzip2: configure-bzip2
7514 configure-bzip2:
7515 @: $(MAKE); $(unstage)
7516 @r=`${PWD_COMMAND}`; export r; \
7517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7518 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7520 $(HOST_EXPORTS) \
7521 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7522 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7523 case $(srcdir) in \
7524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7525 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7527 esac; \
7528 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7529 libsrcdir="$$s/bzip2"; \
7530 $(SHELL) $${libsrcdir}/configure \
7531 $(HOST_CONFIGARGS) $${srcdiroption} \
7532 || exit 1
7533 @endif bzip2
7539 .PHONY: all-bzip2 maybe-all-bzip2
7540 maybe-all-bzip2:
7541 @if gcc-bootstrap
7542 all-bzip2: stage_current
7543 @endif gcc-bootstrap
7544 @if bzip2
7545 TARGET-bzip2=all
7546 maybe-all-bzip2: all-bzip2
7547 all-bzip2: configure-bzip2
7548 @: $(MAKE); $(unstage)
7549 @r=`${PWD_COMMAND}`; export r; \
7550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7551 $(HOST_EXPORTS) \
7552 (cd $(HOST_SUBDIR)/bzip2 && \
7553 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7554 @endif bzip2
7559 .PHONY: check-bzip2 maybe-check-bzip2
7560 maybe-check-bzip2:
7561 @if bzip2
7562 maybe-check-bzip2: check-bzip2
7564 check-bzip2:
7565 @: $(MAKE); $(unstage)
7566 @r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7568 $(HOST_EXPORTS) \
7569 (cd $(HOST_SUBDIR)/bzip2 && \
7570 $(MAKE) $(FLAGS_TO_PASS) check)
7572 @endif bzip2
7574 .PHONY: install-bzip2 maybe-install-bzip2
7575 maybe-install-bzip2:
7576 @if bzip2
7577 maybe-install-bzip2: install-bzip2
7579 install-bzip2: installdirs
7580 @: $(MAKE); $(unstage)
7581 @r=`${PWD_COMMAND}`; export r; \
7582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7583 $(HOST_EXPORTS) \
7584 (cd $(HOST_SUBDIR)/bzip2 && \
7585 $(MAKE) $(FLAGS_TO_PASS) install)
7587 @endif bzip2
7589 # Other targets (info, dvi, pdf, etc.)
7591 .PHONY: maybe-info-bzip2 info-bzip2
7592 maybe-info-bzip2:
7593 @if bzip2
7594 maybe-info-bzip2: info-bzip2
7596 info-bzip2: \
7597 configure-bzip2
7598 @: $(MAKE); $(unstage)
7599 @[ -f ./bzip2/Makefile ] || exit 0; \
7600 r=`${PWD_COMMAND}`; export r; \
7601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602 $(HOST_EXPORTS) \
7603 for flag in $(EXTRA_HOST_FLAGS) ; do \
7604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7605 done; \
7606 echo "Doing info in bzip2" ; \
7607 (cd $(HOST_SUBDIR)/bzip2 && \
7608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610 "RANLIB=$${RANLIB}" \
7611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612 info) \
7613 || exit 1
7615 @endif bzip2
7617 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7618 maybe-dvi-bzip2:
7619 @if bzip2
7620 maybe-dvi-bzip2: dvi-bzip2
7622 dvi-bzip2: \
7623 configure-bzip2
7624 @: $(MAKE); $(unstage)
7625 @[ -f ./bzip2/Makefile ] || exit 0; \
7626 r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(HOST_EXPORTS) \
7629 for flag in $(EXTRA_HOST_FLAGS) ; do \
7630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631 done; \
7632 echo "Doing dvi in bzip2" ; \
7633 (cd $(HOST_SUBDIR)/bzip2 && \
7634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7636 "RANLIB=$${RANLIB}" \
7637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7638 dvi) \
7639 || exit 1
7641 @endif bzip2
7643 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7644 maybe-pdf-bzip2:
7645 @if bzip2
7646 maybe-pdf-bzip2: pdf-bzip2
7648 pdf-bzip2: \
7649 configure-bzip2
7650 @: $(MAKE); $(unstage)
7651 @[ -f ./bzip2/Makefile ] || exit 0; \
7652 r=`${PWD_COMMAND}`; export r; \
7653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7654 $(HOST_EXPORTS) \
7655 for flag in $(EXTRA_HOST_FLAGS) ; do \
7656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7657 done; \
7658 echo "Doing pdf in bzip2" ; \
7659 (cd $(HOST_SUBDIR)/bzip2 && \
7660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7662 "RANLIB=$${RANLIB}" \
7663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7664 pdf) \
7665 || exit 1
7667 @endif bzip2
7669 .PHONY: maybe-html-bzip2 html-bzip2
7670 maybe-html-bzip2:
7671 @if bzip2
7672 maybe-html-bzip2: html-bzip2
7674 html-bzip2: \
7675 configure-bzip2
7676 @: $(MAKE); $(unstage)
7677 @[ -f ./bzip2/Makefile ] || exit 0; \
7678 r=`${PWD_COMMAND}`; export r; \
7679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7680 $(HOST_EXPORTS) \
7681 for flag in $(EXTRA_HOST_FLAGS) ; do \
7682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7683 done; \
7684 echo "Doing html in bzip2" ; \
7685 (cd $(HOST_SUBDIR)/bzip2 && \
7686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7688 "RANLIB=$${RANLIB}" \
7689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7690 html) \
7691 || exit 1
7693 @endif bzip2
7695 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7696 maybe-TAGS-bzip2:
7697 @if bzip2
7698 maybe-TAGS-bzip2: TAGS-bzip2
7700 TAGS-bzip2: \
7701 configure-bzip2
7702 @: $(MAKE); $(unstage)
7703 @[ -f ./bzip2/Makefile ] || exit 0; \
7704 r=`${PWD_COMMAND}`; export r; \
7705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7706 $(HOST_EXPORTS) \
7707 for flag in $(EXTRA_HOST_FLAGS) ; do \
7708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7709 done; \
7710 echo "Doing TAGS in bzip2" ; \
7711 (cd $(HOST_SUBDIR)/bzip2 && \
7712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7714 "RANLIB=$${RANLIB}" \
7715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7716 TAGS) \
7717 || exit 1
7719 @endif bzip2
7721 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7722 maybe-install-info-bzip2:
7723 @if bzip2
7724 maybe-install-info-bzip2: install-info-bzip2
7726 install-info-bzip2: \
7727 configure-bzip2 \
7728 info-bzip2
7729 @: $(MAKE); $(unstage)
7730 @[ -f ./bzip2/Makefile ] || exit 0; \
7731 r=`${PWD_COMMAND}`; export r; \
7732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7733 $(HOST_EXPORTS) \
7734 for flag in $(EXTRA_HOST_FLAGS) ; do \
7735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7736 done; \
7737 echo "Doing install-info in bzip2" ; \
7738 (cd $(HOST_SUBDIR)/bzip2 && \
7739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7741 "RANLIB=$${RANLIB}" \
7742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7743 install-info) \
7744 || exit 1
7746 @endif bzip2
7748 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7749 maybe-install-html-bzip2:
7750 @if bzip2
7751 maybe-install-html-bzip2: install-html-bzip2
7753 install-html-bzip2: \
7754 configure-bzip2 \
7755 html-bzip2
7756 @: $(MAKE); $(unstage)
7757 @[ -f ./bzip2/Makefile ] || exit 0; \
7758 r=`${PWD_COMMAND}`; export r; \
7759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760 $(HOST_EXPORTS) \
7761 for flag in $(EXTRA_HOST_FLAGS) ; do \
7762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7763 done; \
7764 echo "Doing install-html in bzip2" ; \
7765 (cd $(HOST_SUBDIR)/bzip2 && \
7766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7768 "RANLIB=$${RANLIB}" \
7769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7770 install-html) \
7771 || exit 1
7773 @endif bzip2
7775 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7776 maybe-installcheck-bzip2:
7777 @if bzip2
7778 maybe-installcheck-bzip2: installcheck-bzip2
7780 installcheck-bzip2: \
7781 configure-bzip2
7782 @: $(MAKE); $(unstage)
7783 @[ -f ./bzip2/Makefile ] || exit 0; \
7784 r=`${PWD_COMMAND}`; export r; \
7785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7786 $(HOST_EXPORTS) \
7787 for flag in $(EXTRA_HOST_FLAGS) ; do \
7788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7789 done; \
7790 echo "Doing installcheck in bzip2" ; \
7791 (cd $(HOST_SUBDIR)/bzip2 && \
7792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7794 "RANLIB=$${RANLIB}" \
7795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7796 installcheck) \
7797 || exit 1
7799 @endif bzip2
7801 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7802 maybe-mostlyclean-bzip2:
7803 @if bzip2
7804 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7806 mostlyclean-bzip2:
7807 @: $(MAKE); $(unstage)
7808 @[ -f ./bzip2/Makefile ] || exit 0; \
7809 r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811 $(HOST_EXPORTS) \
7812 for flag in $(EXTRA_HOST_FLAGS) ; do \
7813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7814 done; \
7815 echo "Doing mostlyclean in bzip2" ; \
7816 (cd $(HOST_SUBDIR)/bzip2 && \
7817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7819 "RANLIB=$${RANLIB}" \
7820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7821 mostlyclean) \
7822 || exit 1
7824 @endif bzip2
7826 .PHONY: maybe-clean-bzip2 clean-bzip2
7827 maybe-clean-bzip2:
7828 @if bzip2
7829 maybe-clean-bzip2: clean-bzip2
7831 clean-bzip2:
7832 @: $(MAKE); $(unstage)
7833 @[ -f ./bzip2/Makefile ] || exit 0; \
7834 r=`${PWD_COMMAND}`; export r; \
7835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 $(HOST_EXPORTS) \
7837 for flag in $(EXTRA_HOST_FLAGS) ; do \
7838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7839 done; \
7840 echo "Doing clean in bzip2" ; \
7841 (cd $(HOST_SUBDIR)/bzip2 && \
7842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7844 "RANLIB=$${RANLIB}" \
7845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7846 clean) \
7847 || exit 1
7849 @endif bzip2
7851 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7852 maybe-distclean-bzip2:
7853 @if bzip2
7854 maybe-distclean-bzip2: distclean-bzip2
7856 distclean-bzip2:
7857 @: $(MAKE); $(unstage)
7858 @[ -f ./bzip2/Makefile ] || exit 0; \
7859 r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 for flag in $(EXTRA_HOST_FLAGS) ; do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing distclean in bzip2" ; \
7866 (cd $(HOST_SUBDIR)/bzip2 && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7871 distclean) \
7872 || exit 1
7874 @endif bzip2
7876 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7877 maybe-maintainer-clean-bzip2:
7878 @if bzip2
7879 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7881 maintainer-clean-bzip2:
7882 @: $(MAKE); $(unstage)
7883 @[ -f ./bzip2/Makefile ] || exit 0; \
7884 r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 $(HOST_EXPORTS) \
7887 for flag in $(EXTRA_HOST_FLAGS) ; do \
7888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7889 done; \
7890 echo "Doing maintainer-clean in bzip2" ; \
7891 (cd $(HOST_SUBDIR)/bzip2 && \
7892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7894 "RANLIB=$${RANLIB}" \
7895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7896 maintainer-clean) \
7897 || exit 1
7899 @endif bzip2
7903 .PHONY: configure-dejagnu maybe-configure-dejagnu
7904 maybe-configure-dejagnu:
7905 @if gcc-bootstrap
7906 configure-dejagnu: stage_current
7907 @endif gcc-bootstrap
7908 @if dejagnu
7909 maybe-configure-dejagnu: configure-dejagnu
7910 configure-dejagnu:
7911 @: $(MAKE); $(unstage)
7912 @r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7916 $(HOST_EXPORTS) \
7917 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7918 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7919 case $(srcdir) in \
7920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7921 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7923 esac; \
7924 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7925 libsrcdir="$$s/dejagnu"; \
7926 $(SHELL) $${libsrcdir}/configure \
7927 $(HOST_CONFIGARGS) $${srcdiroption} \
7928 || exit 1
7929 @endif dejagnu
7935 .PHONY: all-dejagnu maybe-all-dejagnu
7936 maybe-all-dejagnu:
7937 @if gcc-bootstrap
7938 all-dejagnu: stage_current
7939 @endif gcc-bootstrap
7940 @if dejagnu
7941 TARGET-dejagnu=all
7942 maybe-all-dejagnu: all-dejagnu
7943 all-dejagnu: configure-dejagnu
7944 @: $(MAKE); $(unstage)
7945 @r=`${PWD_COMMAND}`; export r; \
7946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7947 $(HOST_EXPORTS) \
7948 (cd $(HOST_SUBDIR)/dejagnu && \
7949 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7950 @endif dejagnu
7955 .PHONY: check-dejagnu maybe-check-dejagnu
7956 maybe-check-dejagnu:
7957 @if dejagnu
7958 maybe-check-dejagnu: check-dejagnu
7960 check-dejagnu:
7961 @: $(MAKE); $(unstage)
7962 @r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 (cd $(HOST_SUBDIR)/dejagnu && \
7966 $(MAKE) $(FLAGS_TO_PASS) check)
7968 @endif dejagnu
7970 .PHONY: install-dejagnu maybe-install-dejagnu
7971 maybe-install-dejagnu:
7972 @if dejagnu
7973 maybe-install-dejagnu: install-dejagnu
7975 install-dejagnu: installdirs
7976 @: $(MAKE); $(unstage)
7977 @r=`${PWD_COMMAND}`; export r; \
7978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7979 $(HOST_EXPORTS) \
7980 (cd $(HOST_SUBDIR)/dejagnu && \
7981 $(MAKE) $(FLAGS_TO_PASS) install)
7983 @endif dejagnu
7985 # Other targets (info, dvi, pdf, etc.)
7987 .PHONY: maybe-info-dejagnu info-dejagnu
7988 maybe-info-dejagnu:
7989 @if dejagnu
7990 maybe-info-dejagnu: info-dejagnu
7992 info-dejagnu: \
7993 configure-dejagnu
7994 @: $(MAKE); $(unstage)
7995 @[ -f ./dejagnu/Makefile ] || exit 0; \
7996 r=`${PWD_COMMAND}`; export r; \
7997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7998 $(HOST_EXPORTS) \
7999 for flag in $(EXTRA_HOST_FLAGS) ; do \
8000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8001 done; \
8002 echo "Doing info in dejagnu" ; \
8003 (cd $(HOST_SUBDIR)/dejagnu && \
8004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8006 "RANLIB=$${RANLIB}" \
8007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8008 info) \
8009 || exit 1
8011 @endif dejagnu
8013 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8014 maybe-dvi-dejagnu:
8015 @if dejagnu
8016 maybe-dvi-dejagnu: dvi-dejagnu
8018 dvi-dejagnu: \
8019 configure-dejagnu
8020 @: $(MAKE); $(unstage)
8021 @[ -f ./dejagnu/Makefile ] || exit 0; \
8022 r=`${PWD_COMMAND}`; export r; \
8023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8024 $(HOST_EXPORTS) \
8025 for flag in $(EXTRA_HOST_FLAGS) ; do \
8026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8027 done; \
8028 echo "Doing dvi in dejagnu" ; \
8029 (cd $(HOST_SUBDIR)/dejagnu && \
8030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8032 "RANLIB=$${RANLIB}" \
8033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8034 dvi) \
8035 || exit 1
8037 @endif dejagnu
8039 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8040 maybe-pdf-dejagnu:
8041 @if dejagnu
8042 maybe-pdf-dejagnu: pdf-dejagnu
8044 pdf-dejagnu: \
8045 configure-dejagnu
8046 @: $(MAKE); $(unstage)
8047 @[ -f ./dejagnu/Makefile ] || exit 0; \
8048 r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 $(HOST_EXPORTS) \
8051 for flag in $(EXTRA_HOST_FLAGS) ; do \
8052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8053 done; \
8054 echo "Doing pdf in dejagnu" ; \
8055 (cd $(HOST_SUBDIR)/dejagnu && \
8056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8058 "RANLIB=$${RANLIB}" \
8059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8060 pdf) \
8061 || exit 1
8063 @endif dejagnu
8065 .PHONY: maybe-html-dejagnu html-dejagnu
8066 maybe-html-dejagnu:
8067 @if dejagnu
8068 maybe-html-dejagnu: html-dejagnu
8070 html-dejagnu: \
8071 configure-dejagnu
8072 @: $(MAKE); $(unstage)
8073 @[ -f ./dejagnu/Makefile ] || exit 0; \
8074 r=`${PWD_COMMAND}`; export r; \
8075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8076 $(HOST_EXPORTS) \
8077 for flag in $(EXTRA_HOST_FLAGS) ; do \
8078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8079 done; \
8080 echo "Doing html in dejagnu" ; \
8081 (cd $(HOST_SUBDIR)/dejagnu && \
8082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8084 "RANLIB=$${RANLIB}" \
8085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8086 html) \
8087 || exit 1
8089 @endif dejagnu
8091 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8092 maybe-TAGS-dejagnu:
8093 @if dejagnu
8094 maybe-TAGS-dejagnu: TAGS-dejagnu
8096 TAGS-dejagnu: \
8097 configure-dejagnu
8098 @: $(MAKE); $(unstage)
8099 @[ -f ./dejagnu/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing TAGS in dejagnu" ; \
8107 (cd $(HOST_SUBDIR)/dejagnu && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8112 TAGS) \
8113 || exit 1
8115 @endif dejagnu
8117 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8118 maybe-install-info-dejagnu:
8119 @if dejagnu
8120 maybe-install-info-dejagnu: install-info-dejagnu
8122 install-info-dejagnu: \
8123 configure-dejagnu \
8124 info-dejagnu
8125 @: $(MAKE); $(unstage)
8126 @[ -f ./dejagnu/Makefile ] || exit 0; \
8127 r=`${PWD_COMMAND}`; export r; \
8128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8129 $(HOST_EXPORTS) \
8130 for flag in $(EXTRA_HOST_FLAGS) ; do \
8131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8132 done; \
8133 echo "Doing install-info in dejagnu" ; \
8134 (cd $(HOST_SUBDIR)/dejagnu && \
8135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8137 "RANLIB=$${RANLIB}" \
8138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8139 install-info) \
8140 || exit 1
8142 @endif dejagnu
8144 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8145 maybe-install-html-dejagnu:
8146 @if dejagnu
8147 maybe-install-html-dejagnu: install-html-dejagnu
8149 install-html-dejagnu: \
8150 configure-dejagnu \
8151 html-dejagnu
8152 @: $(MAKE); $(unstage)
8153 @[ -f ./dejagnu/Makefile ] || exit 0; \
8154 r=`${PWD_COMMAND}`; export r; \
8155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8156 $(HOST_EXPORTS) \
8157 for flag in $(EXTRA_HOST_FLAGS) ; do \
8158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8159 done; \
8160 echo "Doing install-html in dejagnu" ; \
8161 (cd $(HOST_SUBDIR)/dejagnu && \
8162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8164 "RANLIB=$${RANLIB}" \
8165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8166 install-html) \
8167 || exit 1
8169 @endif dejagnu
8171 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8172 maybe-installcheck-dejagnu:
8173 @if dejagnu
8174 maybe-installcheck-dejagnu: installcheck-dejagnu
8176 installcheck-dejagnu: \
8177 configure-dejagnu
8178 @: $(MAKE); $(unstage)
8179 @[ -f ./dejagnu/Makefile ] || exit 0; \
8180 r=`${PWD_COMMAND}`; export r; \
8181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8182 $(HOST_EXPORTS) \
8183 for flag in $(EXTRA_HOST_FLAGS) ; do \
8184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8185 done; \
8186 echo "Doing installcheck in dejagnu" ; \
8187 (cd $(HOST_SUBDIR)/dejagnu && \
8188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8190 "RANLIB=$${RANLIB}" \
8191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8192 installcheck) \
8193 || exit 1
8195 @endif dejagnu
8197 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8198 maybe-mostlyclean-dejagnu:
8199 @if dejagnu
8200 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8202 mostlyclean-dejagnu:
8203 @: $(MAKE); $(unstage)
8204 @[ -f ./dejagnu/Makefile ] || exit 0; \
8205 r=`${PWD_COMMAND}`; export r; \
8206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8207 $(HOST_EXPORTS) \
8208 for flag in $(EXTRA_HOST_FLAGS) ; do \
8209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8210 done; \
8211 echo "Doing mostlyclean in dejagnu" ; \
8212 (cd $(HOST_SUBDIR)/dejagnu && \
8213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8215 "RANLIB=$${RANLIB}" \
8216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8217 mostlyclean) \
8218 || exit 1
8220 @endif dejagnu
8222 .PHONY: maybe-clean-dejagnu clean-dejagnu
8223 maybe-clean-dejagnu:
8224 @if dejagnu
8225 maybe-clean-dejagnu: clean-dejagnu
8227 clean-dejagnu:
8228 @: $(MAKE); $(unstage)
8229 @[ -f ./dejagnu/Makefile ] || exit 0; \
8230 r=`${PWD_COMMAND}`; export r; \
8231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8232 $(HOST_EXPORTS) \
8233 for flag in $(EXTRA_HOST_FLAGS) ; do \
8234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8235 done; \
8236 echo "Doing clean in dejagnu" ; \
8237 (cd $(HOST_SUBDIR)/dejagnu && \
8238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8240 "RANLIB=$${RANLIB}" \
8241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8242 clean) \
8243 || exit 1
8245 @endif dejagnu
8247 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8248 maybe-distclean-dejagnu:
8249 @if dejagnu
8250 maybe-distclean-dejagnu: distclean-dejagnu
8252 distclean-dejagnu:
8253 @: $(MAKE); $(unstage)
8254 @[ -f ./dejagnu/Makefile ] || exit 0; \
8255 r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8257 $(HOST_EXPORTS) \
8258 for flag in $(EXTRA_HOST_FLAGS) ; do \
8259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8260 done; \
8261 echo "Doing distclean in dejagnu" ; \
8262 (cd $(HOST_SUBDIR)/dejagnu && \
8263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8265 "RANLIB=$${RANLIB}" \
8266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8267 distclean) \
8268 || exit 1
8270 @endif dejagnu
8272 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8273 maybe-maintainer-clean-dejagnu:
8274 @if dejagnu
8275 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8277 maintainer-clean-dejagnu:
8278 @: $(MAKE); $(unstage)
8279 @[ -f ./dejagnu/Makefile ] || exit 0; \
8280 r=`${PWD_COMMAND}`; export r; \
8281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 $(HOST_EXPORTS) \
8283 for flag in $(EXTRA_HOST_FLAGS) ; do \
8284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8285 done; \
8286 echo "Doing maintainer-clean in dejagnu" ; \
8287 (cd $(HOST_SUBDIR)/dejagnu && \
8288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8290 "RANLIB=$${RANLIB}" \
8291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8292 maintainer-clean) \
8293 || exit 1
8295 @endif dejagnu
8299 .PHONY: configure-diff maybe-configure-diff
8300 maybe-configure-diff:
8301 @if gcc-bootstrap
8302 configure-diff: stage_current
8303 @endif gcc-bootstrap
8304 @if diff
8305 maybe-configure-diff: configure-diff
8306 configure-diff:
8307 @: $(MAKE); $(unstage)
8308 @r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8312 $(HOST_EXPORTS) \
8313 echo Configuring in $(HOST_SUBDIR)/diff; \
8314 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8315 case $(srcdir) in \
8316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8317 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8319 esac; \
8320 srcdiroption="--srcdir=$${topdir}/diff"; \
8321 libsrcdir="$$s/diff"; \
8322 $(SHELL) $${libsrcdir}/configure \
8323 $(HOST_CONFIGARGS) $${srcdiroption} \
8324 || exit 1
8325 @endif diff
8331 .PHONY: all-diff maybe-all-diff
8332 maybe-all-diff:
8333 @if gcc-bootstrap
8334 all-diff: stage_current
8335 @endif gcc-bootstrap
8336 @if diff
8337 TARGET-diff=all
8338 maybe-all-diff: all-diff
8339 all-diff: configure-diff
8340 @: $(MAKE); $(unstage)
8341 @r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8343 $(HOST_EXPORTS) \
8344 (cd $(HOST_SUBDIR)/diff && \
8345 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8346 @endif diff
8351 .PHONY: check-diff maybe-check-diff
8352 maybe-check-diff:
8353 @if diff
8354 maybe-check-diff: check-diff
8356 check-diff:
8357 @: $(MAKE); $(unstage)
8358 @r=`${PWD_COMMAND}`; export r; \
8359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8360 $(HOST_EXPORTS) \
8361 (cd $(HOST_SUBDIR)/diff && \
8362 $(MAKE) $(FLAGS_TO_PASS) check)
8364 @endif diff
8366 .PHONY: install-diff maybe-install-diff
8367 maybe-install-diff:
8368 @if diff
8369 maybe-install-diff: install-diff
8371 install-diff: installdirs
8372 @: $(MAKE); $(unstage)
8373 @r=`${PWD_COMMAND}`; export r; \
8374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8375 $(HOST_EXPORTS) \
8376 (cd $(HOST_SUBDIR)/diff && \
8377 $(MAKE) $(FLAGS_TO_PASS) install)
8379 @endif diff
8381 # Other targets (info, dvi, pdf, etc.)
8383 .PHONY: maybe-info-diff info-diff
8384 maybe-info-diff:
8385 @if diff
8386 maybe-info-diff: info-diff
8388 info-diff: \
8389 configure-diff
8390 @: $(MAKE); $(unstage)
8391 @[ -f ./diff/Makefile ] || exit 0; \
8392 r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(HOST_EXPORTS) \
8395 for flag in $(EXTRA_HOST_FLAGS) ; do \
8396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8397 done; \
8398 echo "Doing info in diff" ; \
8399 (cd $(HOST_SUBDIR)/diff && \
8400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8402 "RANLIB=$${RANLIB}" \
8403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8404 info) \
8405 || exit 1
8407 @endif diff
8409 .PHONY: maybe-dvi-diff dvi-diff
8410 maybe-dvi-diff:
8411 @if diff
8412 maybe-dvi-diff: dvi-diff
8414 dvi-diff: \
8415 configure-diff
8416 @: $(MAKE); $(unstage)
8417 @[ -f ./diff/Makefile ] || exit 0; \
8418 r=`${PWD_COMMAND}`; export r; \
8419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 $(HOST_EXPORTS) \
8421 for flag in $(EXTRA_HOST_FLAGS) ; do \
8422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8423 done; \
8424 echo "Doing dvi in diff" ; \
8425 (cd $(HOST_SUBDIR)/diff && \
8426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8428 "RANLIB=$${RANLIB}" \
8429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8430 dvi) \
8431 || exit 1
8433 @endif diff
8435 .PHONY: maybe-pdf-diff pdf-diff
8436 maybe-pdf-diff:
8437 @if diff
8438 maybe-pdf-diff: pdf-diff
8440 pdf-diff: \
8441 configure-diff
8442 @: $(MAKE); $(unstage)
8443 @[ -f ./diff/Makefile ] || exit 0; \
8444 r=`${PWD_COMMAND}`; export r; \
8445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8446 $(HOST_EXPORTS) \
8447 for flag in $(EXTRA_HOST_FLAGS) ; do \
8448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8449 done; \
8450 echo "Doing pdf in diff" ; \
8451 (cd $(HOST_SUBDIR)/diff && \
8452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8454 "RANLIB=$${RANLIB}" \
8455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8456 pdf) \
8457 || exit 1
8459 @endif diff
8461 .PHONY: maybe-html-diff html-diff
8462 maybe-html-diff:
8463 @if diff
8464 maybe-html-diff: html-diff
8466 html-diff: \
8467 configure-diff
8468 @: $(MAKE); $(unstage)
8469 @[ -f ./diff/Makefile ] || exit 0; \
8470 r=`${PWD_COMMAND}`; export r; \
8471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8472 $(HOST_EXPORTS) \
8473 for flag in $(EXTRA_HOST_FLAGS) ; do \
8474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8475 done; \
8476 echo "Doing html in diff" ; \
8477 (cd $(HOST_SUBDIR)/diff && \
8478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8480 "RANLIB=$${RANLIB}" \
8481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8482 html) \
8483 || exit 1
8485 @endif diff
8487 .PHONY: maybe-TAGS-diff TAGS-diff
8488 maybe-TAGS-diff:
8489 @if diff
8490 maybe-TAGS-diff: TAGS-diff
8492 TAGS-diff: \
8493 configure-diff
8494 @: $(MAKE); $(unstage)
8495 @[ -f ./diff/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(HOST_EXPORTS) \
8499 for flag in $(EXTRA_HOST_FLAGS) ; do \
8500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8501 done; \
8502 echo "Doing TAGS in diff" ; \
8503 (cd $(HOST_SUBDIR)/diff && \
8504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8506 "RANLIB=$${RANLIB}" \
8507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8508 TAGS) \
8509 || exit 1
8511 @endif diff
8513 .PHONY: maybe-install-info-diff install-info-diff
8514 maybe-install-info-diff:
8515 @if diff
8516 maybe-install-info-diff: install-info-diff
8518 install-info-diff: \
8519 configure-diff \
8520 info-diff
8521 @: $(MAKE); $(unstage)
8522 @[ -f ./diff/Makefile ] || exit 0; \
8523 r=`${PWD_COMMAND}`; export r; \
8524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8525 $(HOST_EXPORTS) \
8526 for flag in $(EXTRA_HOST_FLAGS) ; do \
8527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8528 done; \
8529 echo "Doing install-info in diff" ; \
8530 (cd $(HOST_SUBDIR)/diff && \
8531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8533 "RANLIB=$${RANLIB}" \
8534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8535 install-info) \
8536 || exit 1
8538 @endif diff
8540 .PHONY: maybe-install-html-diff install-html-diff
8541 maybe-install-html-diff:
8542 @if diff
8543 maybe-install-html-diff: install-html-diff
8545 install-html-diff: \
8546 configure-diff \
8547 html-diff
8548 @: $(MAKE); $(unstage)
8549 @[ -f ./diff/Makefile ] || exit 0; \
8550 r=`${PWD_COMMAND}`; export r; \
8551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8552 $(HOST_EXPORTS) \
8553 for flag in $(EXTRA_HOST_FLAGS) ; do \
8554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8555 done; \
8556 echo "Doing install-html in diff" ; \
8557 (cd $(HOST_SUBDIR)/diff && \
8558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8560 "RANLIB=$${RANLIB}" \
8561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8562 install-html) \
8563 || exit 1
8565 @endif diff
8567 .PHONY: maybe-installcheck-diff installcheck-diff
8568 maybe-installcheck-diff:
8569 @if diff
8570 maybe-installcheck-diff: installcheck-diff
8572 installcheck-diff: \
8573 configure-diff
8574 @: $(MAKE); $(unstage)
8575 @[ -f ./diff/Makefile ] || exit 0; \
8576 r=`${PWD_COMMAND}`; export r; \
8577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 $(HOST_EXPORTS) \
8579 for flag in $(EXTRA_HOST_FLAGS) ; do \
8580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8581 done; \
8582 echo "Doing installcheck in diff" ; \
8583 (cd $(HOST_SUBDIR)/diff && \
8584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8586 "RANLIB=$${RANLIB}" \
8587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8588 installcheck) \
8589 || exit 1
8591 @endif diff
8593 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8594 maybe-mostlyclean-diff:
8595 @if diff
8596 maybe-mostlyclean-diff: mostlyclean-diff
8598 mostlyclean-diff:
8599 @: $(MAKE); $(unstage)
8600 @[ -f ./diff/Makefile ] || exit 0; \
8601 r=`${PWD_COMMAND}`; export r; \
8602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 $(HOST_EXPORTS) \
8604 for flag in $(EXTRA_HOST_FLAGS) ; do \
8605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8606 done; \
8607 echo "Doing mostlyclean in diff" ; \
8608 (cd $(HOST_SUBDIR)/diff && \
8609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8611 "RANLIB=$${RANLIB}" \
8612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8613 mostlyclean) \
8614 || exit 1
8616 @endif diff
8618 .PHONY: maybe-clean-diff clean-diff
8619 maybe-clean-diff:
8620 @if diff
8621 maybe-clean-diff: clean-diff
8623 clean-diff:
8624 @: $(MAKE); $(unstage)
8625 @[ -f ./diff/Makefile ] || exit 0; \
8626 r=`${PWD_COMMAND}`; export r; \
8627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8628 $(HOST_EXPORTS) \
8629 for flag in $(EXTRA_HOST_FLAGS) ; do \
8630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8631 done; \
8632 echo "Doing clean in diff" ; \
8633 (cd $(HOST_SUBDIR)/diff && \
8634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8636 "RANLIB=$${RANLIB}" \
8637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8638 clean) \
8639 || exit 1
8641 @endif diff
8643 .PHONY: maybe-distclean-diff distclean-diff
8644 maybe-distclean-diff:
8645 @if diff
8646 maybe-distclean-diff: distclean-diff
8648 distclean-diff:
8649 @: $(MAKE); $(unstage)
8650 @[ -f ./diff/Makefile ] || exit 0; \
8651 r=`${PWD_COMMAND}`; export r; \
8652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8653 $(HOST_EXPORTS) \
8654 for flag in $(EXTRA_HOST_FLAGS) ; do \
8655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8656 done; \
8657 echo "Doing distclean in diff" ; \
8658 (cd $(HOST_SUBDIR)/diff && \
8659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8661 "RANLIB=$${RANLIB}" \
8662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8663 distclean) \
8664 || exit 1
8666 @endif diff
8668 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8669 maybe-maintainer-clean-diff:
8670 @if diff
8671 maybe-maintainer-clean-diff: maintainer-clean-diff
8673 maintainer-clean-diff:
8674 @: $(MAKE); $(unstage)
8675 @[ -f ./diff/Makefile ] || exit 0; \
8676 r=`${PWD_COMMAND}`; export r; \
8677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8678 $(HOST_EXPORTS) \
8679 for flag in $(EXTRA_HOST_FLAGS) ; do \
8680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 done; \
8682 echo "Doing maintainer-clean in diff" ; \
8683 (cd $(HOST_SUBDIR)/diff && \
8684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8686 "RANLIB=$${RANLIB}" \
8687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8688 maintainer-clean) \
8689 || exit 1
8691 @endif diff
8695 .PHONY: configure-dosutils maybe-configure-dosutils
8696 maybe-configure-dosutils:
8697 @if gcc-bootstrap
8698 configure-dosutils: stage_current
8699 @endif gcc-bootstrap
8700 @if dosutils
8701 maybe-configure-dosutils: configure-dosutils
8702 configure-dosutils:
8703 @: $(MAKE); $(unstage)
8704 @r=`${PWD_COMMAND}`; export r; \
8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8706 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8708 $(HOST_EXPORTS) \
8709 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8710 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8711 case $(srcdir) in \
8712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8713 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8715 esac; \
8716 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8717 libsrcdir="$$s/dosutils"; \
8718 $(SHELL) $${libsrcdir}/configure \
8719 $(HOST_CONFIGARGS) $${srcdiroption} \
8720 || exit 1
8721 @endif dosutils
8727 .PHONY: all-dosutils maybe-all-dosutils
8728 maybe-all-dosutils:
8729 @if gcc-bootstrap
8730 all-dosutils: stage_current
8731 @endif gcc-bootstrap
8732 @if dosutils
8733 TARGET-dosutils=all
8734 maybe-all-dosutils: all-dosutils
8735 all-dosutils: configure-dosutils
8736 @: $(MAKE); $(unstage)
8737 @r=`${PWD_COMMAND}`; export r; \
8738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 $(HOST_EXPORTS) \
8740 (cd $(HOST_SUBDIR)/dosutils && \
8741 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8742 @endif dosutils
8747 .PHONY: check-dosutils maybe-check-dosutils
8748 maybe-check-dosutils:
8749 @if dosutils
8750 maybe-check-dosutils: check-dosutils
8752 check-dosutils:
8754 @endif dosutils
8756 .PHONY: install-dosutils maybe-install-dosutils
8757 maybe-install-dosutils:
8758 @if dosutils
8759 maybe-install-dosutils: install-dosutils
8761 install-dosutils: installdirs
8762 @: $(MAKE); $(unstage)
8763 @r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(HOST_EXPORTS) \
8766 (cd $(HOST_SUBDIR)/dosutils && \
8767 $(MAKE) $(FLAGS_TO_PASS) install)
8769 @endif dosutils
8771 # Other targets (info, dvi, pdf, etc.)
8773 .PHONY: maybe-info-dosutils info-dosutils
8774 maybe-info-dosutils:
8775 @if dosutils
8776 maybe-info-dosutils: info-dosutils
8778 info-dosutils: \
8779 configure-dosutils
8780 @: $(MAKE); $(unstage)
8781 @[ -f ./dosutils/Makefile ] || exit 0; \
8782 r=`${PWD_COMMAND}`; export r; \
8783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8784 $(HOST_EXPORTS) \
8785 for flag in $(EXTRA_HOST_FLAGS) ; do \
8786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8787 done; \
8788 echo "Doing info in dosutils" ; \
8789 (cd $(HOST_SUBDIR)/dosutils && \
8790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8792 "RANLIB=$${RANLIB}" \
8793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8794 info) \
8795 || exit 1
8797 @endif dosutils
8799 .PHONY: maybe-dvi-dosutils dvi-dosutils
8800 maybe-dvi-dosutils:
8801 @if dosutils
8802 maybe-dvi-dosutils: dvi-dosutils
8804 dvi-dosutils: \
8805 configure-dosutils
8806 @: $(MAKE); $(unstage)
8807 @[ -f ./dosutils/Makefile ] || exit 0; \
8808 r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 $(HOST_EXPORTS) \
8811 for flag in $(EXTRA_HOST_FLAGS) ; do \
8812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8813 done; \
8814 echo "Doing dvi in dosutils" ; \
8815 (cd $(HOST_SUBDIR)/dosutils && \
8816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8818 "RANLIB=$${RANLIB}" \
8819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8820 dvi) \
8821 || exit 1
8823 @endif dosutils
8825 .PHONY: maybe-pdf-dosutils pdf-dosutils
8826 maybe-pdf-dosutils:
8827 @if dosutils
8828 maybe-pdf-dosutils: pdf-dosutils
8830 pdf-dosutils: \
8831 configure-dosutils
8832 @: $(MAKE); $(unstage)
8833 @[ -f ./dosutils/Makefile ] || exit 0; \
8834 r=`${PWD_COMMAND}`; export r; \
8835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8836 $(HOST_EXPORTS) \
8837 for flag in $(EXTRA_HOST_FLAGS) ; do \
8838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8839 done; \
8840 echo "Doing pdf in dosutils" ; \
8841 (cd $(HOST_SUBDIR)/dosutils && \
8842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8844 "RANLIB=$${RANLIB}" \
8845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8846 pdf) \
8847 || exit 1
8849 @endif dosutils
8851 .PHONY: maybe-html-dosutils html-dosutils
8852 maybe-html-dosutils:
8853 @if dosutils
8854 maybe-html-dosutils: html-dosutils
8856 html-dosutils: \
8857 configure-dosutils
8858 @: $(MAKE); $(unstage)
8859 @[ -f ./dosutils/Makefile ] || exit 0; \
8860 r=`${PWD_COMMAND}`; export r; \
8861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8862 $(HOST_EXPORTS) \
8863 for flag in $(EXTRA_HOST_FLAGS) ; do \
8864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8865 done; \
8866 echo "Doing html in dosutils" ; \
8867 (cd $(HOST_SUBDIR)/dosutils && \
8868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8870 "RANLIB=$${RANLIB}" \
8871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8872 html) \
8873 || exit 1
8875 @endif dosutils
8877 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8878 maybe-TAGS-dosutils:
8879 @if dosutils
8880 maybe-TAGS-dosutils: TAGS-dosutils
8882 TAGS-dosutils: \
8883 configure-dosutils
8884 @: $(MAKE); $(unstage)
8885 @[ -f ./dosutils/Makefile ] || exit 0; \
8886 r=`${PWD_COMMAND}`; export r; \
8887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 $(HOST_EXPORTS) \
8889 for flag in $(EXTRA_HOST_FLAGS) ; do \
8890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8891 done; \
8892 echo "Doing TAGS in dosutils" ; \
8893 (cd $(HOST_SUBDIR)/dosutils && \
8894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8896 "RANLIB=$${RANLIB}" \
8897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8898 TAGS) \
8899 || exit 1
8901 @endif dosutils
8903 .PHONY: maybe-install-info-dosutils install-info-dosutils
8904 maybe-install-info-dosutils:
8905 @if dosutils
8906 maybe-install-info-dosutils: install-info-dosutils
8908 install-info-dosutils: \
8909 configure-dosutils \
8910 info-dosutils
8911 @: $(MAKE); $(unstage)
8912 @[ -f ./dosutils/Makefile ] || exit 0; \
8913 r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 $(HOST_EXPORTS) \
8916 for flag in $(EXTRA_HOST_FLAGS) ; do \
8917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8918 done; \
8919 echo "Doing install-info in dosutils" ; \
8920 (cd $(HOST_SUBDIR)/dosutils && \
8921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8923 "RANLIB=$${RANLIB}" \
8924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8925 install-info) \
8926 || exit 1
8928 @endif dosutils
8930 .PHONY: maybe-install-html-dosutils install-html-dosutils
8931 maybe-install-html-dosutils:
8932 @if dosutils
8933 maybe-install-html-dosutils: install-html-dosutils
8935 install-html-dosutils: \
8936 configure-dosutils \
8937 html-dosutils
8938 @: $(MAKE); $(unstage)
8939 @[ -f ./dosutils/Makefile ] || exit 0; \
8940 r=`${PWD_COMMAND}`; export r; \
8941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8942 $(HOST_EXPORTS) \
8943 for flag in $(EXTRA_HOST_FLAGS) ; do \
8944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8945 done; \
8946 echo "Doing install-html in dosutils" ; \
8947 (cd $(HOST_SUBDIR)/dosutils && \
8948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8950 "RANLIB=$${RANLIB}" \
8951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8952 install-html) \
8953 || exit 1
8955 @endif dosutils
8957 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8958 maybe-installcheck-dosutils:
8959 @if dosutils
8960 maybe-installcheck-dosutils: installcheck-dosutils
8962 installcheck-dosutils: \
8963 configure-dosutils
8964 @: $(MAKE); $(unstage)
8965 @[ -f ./dosutils/Makefile ] || exit 0; \
8966 r=`${PWD_COMMAND}`; export r; \
8967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8968 $(HOST_EXPORTS) \
8969 for flag in $(EXTRA_HOST_FLAGS) ; do \
8970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8971 done; \
8972 echo "Doing installcheck in dosutils" ; \
8973 (cd $(HOST_SUBDIR)/dosutils && \
8974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8976 "RANLIB=$${RANLIB}" \
8977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8978 installcheck) \
8979 || exit 1
8981 @endif dosutils
8983 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8984 maybe-mostlyclean-dosutils:
8985 @if dosutils
8986 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8988 mostlyclean-dosutils:
8989 @: $(MAKE); $(unstage)
8990 @[ -f ./dosutils/Makefile ] || exit 0; \
8991 r=`${PWD_COMMAND}`; export r; \
8992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8993 $(HOST_EXPORTS) \
8994 for flag in $(EXTRA_HOST_FLAGS) ; do \
8995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8996 done; \
8997 echo "Doing mostlyclean in dosutils" ; \
8998 (cd $(HOST_SUBDIR)/dosutils && \
8999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9001 "RANLIB=$${RANLIB}" \
9002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9003 mostlyclean) \
9004 || exit 1
9006 @endif dosutils
9008 .PHONY: maybe-clean-dosutils clean-dosutils
9009 maybe-clean-dosutils:
9010 @if dosutils
9011 maybe-clean-dosutils: clean-dosutils
9013 clean-dosutils:
9014 @: $(MAKE); $(unstage)
9015 @[ -f ./dosutils/Makefile ] || exit 0; \
9016 r=`${PWD_COMMAND}`; export r; \
9017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9018 $(HOST_EXPORTS) \
9019 for flag in $(EXTRA_HOST_FLAGS) ; do \
9020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9021 done; \
9022 echo "Doing clean in dosutils" ; \
9023 (cd $(HOST_SUBDIR)/dosutils && \
9024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9026 "RANLIB=$${RANLIB}" \
9027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9028 clean) \
9029 || exit 1
9031 @endif dosutils
9033 .PHONY: maybe-distclean-dosutils distclean-dosutils
9034 maybe-distclean-dosutils:
9035 @if dosutils
9036 maybe-distclean-dosutils: distclean-dosutils
9038 distclean-dosutils:
9039 @: $(MAKE); $(unstage)
9040 @[ -f ./dosutils/Makefile ] || exit 0; \
9041 r=`${PWD_COMMAND}`; export r; \
9042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 $(HOST_EXPORTS) \
9044 for flag in $(EXTRA_HOST_FLAGS) ; do \
9045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9046 done; \
9047 echo "Doing distclean in dosutils" ; \
9048 (cd $(HOST_SUBDIR)/dosutils && \
9049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9051 "RANLIB=$${RANLIB}" \
9052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9053 distclean) \
9054 || exit 1
9056 @endif dosutils
9058 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9059 maybe-maintainer-clean-dosutils:
9060 @if dosutils
9061 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9063 maintainer-clean-dosutils:
9064 @: $(MAKE); $(unstage)
9065 @[ -f ./dosutils/Makefile ] || exit 0; \
9066 r=`${PWD_COMMAND}`; export r; \
9067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9068 $(HOST_EXPORTS) \
9069 for flag in $(EXTRA_HOST_FLAGS) ; do \
9070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9071 done; \
9072 echo "Doing maintainer-clean in dosutils" ; \
9073 (cd $(HOST_SUBDIR)/dosutils && \
9074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9076 "RANLIB=$${RANLIB}" \
9077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9078 maintainer-clean) \
9079 || exit 1
9081 @endif dosutils
9085 .PHONY: configure-etc maybe-configure-etc
9086 maybe-configure-etc:
9087 @if gcc-bootstrap
9088 configure-etc: stage_current
9089 @endif gcc-bootstrap
9090 @if etc
9091 maybe-configure-etc: configure-etc
9092 configure-etc:
9093 @: $(MAKE); $(unstage)
9094 @r=`${PWD_COMMAND}`; export r; \
9095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9096 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9098 $(HOST_EXPORTS) \
9099 echo Configuring in $(HOST_SUBDIR)/etc; \
9100 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9101 case $(srcdir) in \
9102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9103 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9105 esac; \
9106 srcdiroption="--srcdir=$${topdir}/etc"; \
9107 libsrcdir="$$s/etc"; \
9108 $(SHELL) $${libsrcdir}/configure \
9109 $(HOST_CONFIGARGS) $${srcdiroption} \
9110 || exit 1
9111 @endif etc
9117 .PHONY: all-etc maybe-all-etc
9118 maybe-all-etc:
9119 @if gcc-bootstrap
9120 all-etc: stage_current
9121 @endif gcc-bootstrap
9122 @if etc
9123 TARGET-etc=all
9124 maybe-all-etc: all-etc
9125 all-etc: configure-etc
9126 @: $(MAKE); $(unstage)
9127 @r=`${PWD_COMMAND}`; export r; \
9128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 $(HOST_EXPORTS) \
9130 (cd $(HOST_SUBDIR)/etc && \
9131 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9132 @endif etc
9137 .PHONY: check-etc maybe-check-etc
9138 maybe-check-etc:
9139 @if etc
9140 maybe-check-etc: check-etc
9142 check-etc:
9143 @: $(MAKE); $(unstage)
9144 @r=`${PWD_COMMAND}`; export r; \
9145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9146 $(HOST_EXPORTS) \
9147 (cd $(HOST_SUBDIR)/etc && \
9148 $(MAKE) $(FLAGS_TO_PASS) check)
9150 @endif etc
9152 .PHONY: install-etc maybe-install-etc
9153 maybe-install-etc:
9154 @if etc
9155 maybe-install-etc: install-etc
9157 install-etc: installdirs
9158 @: $(MAKE); $(unstage)
9159 @r=`${PWD_COMMAND}`; export r; \
9160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9161 $(HOST_EXPORTS) \
9162 (cd $(HOST_SUBDIR)/etc && \
9163 $(MAKE) $(FLAGS_TO_PASS) install)
9165 @endif etc
9167 # Other targets (info, dvi, pdf, etc.)
9169 .PHONY: maybe-info-etc info-etc
9170 maybe-info-etc:
9171 @if etc
9172 maybe-info-etc: info-etc
9174 info-etc: \
9175 configure-etc
9176 @: $(MAKE); $(unstage)
9177 @[ -f ./etc/Makefile ] || exit 0; \
9178 r=`${PWD_COMMAND}`; export r; \
9179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 $(HOST_EXPORTS) \
9181 for flag in $(EXTRA_HOST_FLAGS) ; do \
9182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9183 done; \
9184 echo "Doing info in etc" ; \
9185 (cd $(HOST_SUBDIR)/etc && \
9186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9188 "RANLIB=$${RANLIB}" \
9189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9190 info) \
9191 || exit 1
9193 @endif etc
9195 .PHONY: maybe-dvi-etc dvi-etc
9196 maybe-dvi-etc:
9197 @if etc
9198 maybe-dvi-etc: dvi-etc
9200 dvi-etc: \
9201 configure-etc
9202 @: $(MAKE); $(unstage)
9203 @[ -f ./etc/Makefile ] || exit 0; \
9204 r=`${PWD_COMMAND}`; export r; \
9205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9206 $(HOST_EXPORTS) \
9207 for flag in $(EXTRA_HOST_FLAGS) ; do \
9208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9209 done; \
9210 echo "Doing dvi in etc" ; \
9211 (cd $(HOST_SUBDIR)/etc && \
9212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9214 "RANLIB=$${RANLIB}" \
9215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9216 dvi) \
9217 || exit 1
9219 @endif etc
9221 .PHONY: maybe-pdf-etc pdf-etc
9222 maybe-pdf-etc:
9223 @if etc
9224 maybe-pdf-etc: pdf-etc
9226 pdf-etc: \
9227 configure-etc
9228 @: $(MAKE); $(unstage)
9229 @[ -f ./etc/Makefile ] || exit 0; \
9230 r=`${PWD_COMMAND}`; export r; \
9231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9232 $(HOST_EXPORTS) \
9233 for flag in $(EXTRA_HOST_FLAGS) ; do \
9234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9235 done; \
9236 echo "Doing pdf in etc" ; \
9237 (cd $(HOST_SUBDIR)/etc && \
9238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9240 "RANLIB=$${RANLIB}" \
9241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9242 pdf) \
9243 || exit 1
9245 @endif etc
9247 .PHONY: maybe-html-etc html-etc
9248 maybe-html-etc:
9249 @if etc
9250 maybe-html-etc: html-etc
9252 html-etc: \
9253 configure-etc
9254 @: $(MAKE); $(unstage)
9255 @[ -f ./etc/Makefile ] || exit 0; \
9256 r=`${PWD_COMMAND}`; export r; \
9257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9258 $(HOST_EXPORTS) \
9259 for flag in $(EXTRA_HOST_FLAGS) ; do \
9260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9261 done; \
9262 echo "Doing html in etc" ; \
9263 (cd $(HOST_SUBDIR)/etc && \
9264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9266 "RANLIB=$${RANLIB}" \
9267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9268 html) \
9269 || exit 1
9271 @endif etc
9273 .PHONY: maybe-TAGS-etc TAGS-etc
9274 maybe-TAGS-etc:
9275 @if etc
9276 maybe-TAGS-etc: TAGS-etc
9278 TAGS-etc: \
9279 configure-etc
9280 @: $(MAKE); $(unstage)
9281 @[ -f ./etc/Makefile ] || exit 0; \
9282 r=`${PWD_COMMAND}`; export r; \
9283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9284 $(HOST_EXPORTS) \
9285 for flag in $(EXTRA_HOST_FLAGS) ; do \
9286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9287 done; \
9288 echo "Doing TAGS in etc" ; \
9289 (cd $(HOST_SUBDIR)/etc && \
9290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9292 "RANLIB=$${RANLIB}" \
9293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9294 TAGS) \
9295 || exit 1
9297 @endif etc
9299 .PHONY: maybe-install-info-etc install-info-etc
9300 maybe-install-info-etc:
9301 @if etc
9302 maybe-install-info-etc: install-info-etc
9304 install-info-etc: \
9305 configure-etc \
9306 info-etc
9307 @: $(MAKE); $(unstage)
9308 @[ -f ./etc/Makefile ] || exit 0; \
9309 r=`${PWD_COMMAND}`; export r; \
9310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9311 $(HOST_EXPORTS) \
9312 for flag in $(EXTRA_HOST_FLAGS) ; do \
9313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9314 done; \
9315 echo "Doing install-info in etc" ; \
9316 (cd $(HOST_SUBDIR)/etc && \
9317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9319 "RANLIB=$${RANLIB}" \
9320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9321 install-info) \
9322 || exit 1
9324 @endif etc
9326 .PHONY: maybe-install-html-etc install-html-etc
9327 maybe-install-html-etc:
9328 @if etc
9329 maybe-install-html-etc: install-html-etc
9331 install-html-etc: \
9332 configure-etc \
9333 html-etc
9334 @: $(MAKE); $(unstage)
9335 @[ -f ./etc/Makefile ] || exit 0; \
9336 r=`${PWD_COMMAND}`; export r; \
9337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9338 $(HOST_EXPORTS) \
9339 for flag in $(EXTRA_HOST_FLAGS) ; do \
9340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9341 done; \
9342 echo "Doing install-html in etc" ; \
9343 (cd $(HOST_SUBDIR)/etc && \
9344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9346 "RANLIB=$${RANLIB}" \
9347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9348 install-html) \
9349 || exit 1
9351 @endif etc
9353 .PHONY: maybe-installcheck-etc installcheck-etc
9354 maybe-installcheck-etc:
9355 @if etc
9356 maybe-installcheck-etc: installcheck-etc
9358 installcheck-etc: \
9359 configure-etc
9360 @: $(MAKE); $(unstage)
9361 @[ -f ./etc/Makefile ] || exit 0; \
9362 r=`${PWD_COMMAND}`; export r; \
9363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9364 $(HOST_EXPORTS) \
9365 for flag in $(EXTRA_HOST_FLAGS) ; do \
9366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9367 done; \
9368 echo "Doing installcheck in etc" ; \
9369 (cd $(HOST_SUBDIR)/etc && \
9370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9372 "RANLIB=$${RANLIB}" \
9373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9374 installcheck) \
9375 || exit 1
9377 @endif etc
9379 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9380 maybe-mostlyclean-etc:
9381 @if etc
9382 maybe-mostlyclean-etc: mostlyclean-etc
9384 mostlyclean-etc:
9385 @: $(MAKE); $(unstage)
9386 @[ -f ./etc/Makefile ] || exit 0; \
9387 r=`${PWD_COMMAND}`; export r; \
9388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9389 $(HOST_EXPORTS) \
9390 for flag in $(EXTRA_HOST_FLAGS) ; do \
9391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9392 done; \
9393 echo "Doing mostlyclean in etc" ; \
9394 (cd $(HOST_SUBDIR)/etc && \
9395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9397 "RANLIB=$${RANLIB}" \
9398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9399 mostlyclean) \
9400 || exit 1
9402 @endif etc
9404 .PHONY: maybe-clean-etc clean-etc
9405 maybe-clean-etc:
9406 @if etc
9407 maybe-clean-etc: clean-etc
9409 clean-etc:
9410 @: $(MAKE); $(unstage)
9411 @[ -f ./etc/Makefile ] || exit 0; \
9412 r=`${PWD_COMMAND}`; export r; \
9413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9414 $(HOST_EXPORTS) \
9415 for flag in $(EXTRA_HOST_FLAGS) ; do \
9416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9417 done; \
9418 echo "Doing clean in etc" ; \
9419 (cd $(HOST_SUBDIR)/etc && \
9420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9422 "RANLIB=$${RANLIB}" \
9423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9424 clean) \
9425 || exit 1
9427 @endif etc
9429 .PHONY: maybe-distclean-etc distclean-etc
9430 maybe-distclean-etc:
9431 @if etc
9432 maybe-distclean-etc: distclean-etc
9434 distclean-etc:
9435 @: $(MAKE); $(unstage)
9436 @[ -f ./etc/Makefile ] || exit 0; \
9437 r=`${PWD_COMMAND}`; export r; \
9438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9439 $(HOST_EXPORTS) \
9440 for flag in $(EXTRA_HOST_FLAGS) ; do \
9441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9442 done; \
9443 echo "Doing distclean in etc" ; \
9444 (cd $(HOST_SUBDIR)/etc && \
9445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9447 "RANLIB=$${RANLIB}" \
9448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9449 distclean) \
9450 || exit 1
9452 @endif etc
9454 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9455 maybe-maintainer-clean-etc:
9456 @if etc
9457 maybe-maintainer-clean-etc: maintainer-clean-etc
9459 maintainer-clean-etc:
9460 @: $(MAKE); $(unstage)
9461 @[ -f ./etc/Makefile ] || exit 0; \
9462 r=`${PWD_COMMAND}`; export r; \
9463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9464 $(HOST_EXPORTS) \
9465 for flag in $(EXTRA_HOST_FLAGS) ; do \
9466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9467 done; \
9468 echo "Doing maintainer-clean in etc" ; \
9469 (cd $(HOST_SUBDIR)/etc && \
9470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9472 "RANLIB=$${RANLIB}" \
9473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9474 maintainer-clean) \
9475 || exit 1
9477 @endif etc
9481 .PHONY: configure-fastjar maybe-configure-fastjar
9482 maybe-configure-fastjar:
9483 @if gcc-bootstrap
9484 configure-fastjar: stage_current
9485 @endif gcc-bootstrap
9486 @if fastjar
9487 maybe-configure-fastjar: configure-fastjar
9488 configure-fastjar:
9489 @: $(MAKE); $(unstage)
9490 @r=`${PWD_COMMAND}`; export r; \
9491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9492 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9494 $(HOST_EXPORTS) \
9495 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9496 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9497 case $(srcdir) in \
9498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9499 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9501 esac; \
9502 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9503 libsrcdir="$$s/fastjar"; \
9504 $(SHELL) $${libsrcdir}/configure \
9505 $(HOST_CONFIGARGS) $${srcdiroption} \
9506 || exit 1
9507 @endif fastjar
9513 .PHONY: all-fastjar maybe-all-fastjar
9514 maybe-all-fastjar:
9515 @if gcc-bootstrap
9516 all-fastjar: stage_current
9517 @endif gcc-bootstrap
9518 @if fastjar
9519 TARGET-fastjar=all
9520 maybe-all-fastjar: all-fastjar
9521 all-fastjar: configure-fastjar
9522 @: $(MAKE); $(unstage)
9523 @r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525 $(HOST_EXPORTS) \
9526 (cd $(HOST_SUBDIR)/fastjar && \
9527 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9528 @endif fastjar
9533 .PHONY: check-fastjar maybe-check-fastjar
9534 maybe-check-fastjar:
9535 @if fastjar
9536 maybe-check-fastjar: check-fastjar
9538 # This module is only tested in a native toolchain.
9539 check-fastjar:
9540 @: $(MAKE); $(unstage)
9541 @if [ '$(host)' = '$(target)' ] ; then \
9542 r=`${PWD_COMMAND}`; export r; \
9543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9544 $(HOST_EXPORTS) \
9545 (cd $(HOST_SUBDIR)/fastjar && \
9546 $(MAKE) $(FLAGS_TO_PASS) check); \
9549 @endif fastjar
9551 .PHONY: install-fastjar maybe-install-fastjar
9552 maybe-install-fastjar:
9553 @if fastjar
9554 maybe-install-fastjar: install-fastjar
9556 install-fastjar: installdirs
9557 @: $(MAKE); $(unstage)
9558 @r=`${PWD_COMMAND}`; export r; \
9559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9560 $(HOST_EXPORTS) \
9561 (cd $(HOST_SUBDIR)/fastjar && \
9562 $(MAKE) $(FLAGS_TO_PASS) install)
9564 @endif fastjar
9566 # Other targets (info, dvi, pdf, etc.)
9568 .PHONY: maybe-info-fastjar info-fastjar
9569 maybe-info-fastjar:
9570 @if fastjar
9571 maybe-info-fastjar: info-fastjar
9573 info-fastjar: \
9574 configure-fastjar
9575 @: $(MAKE); $(unstage)
9576 @[ -f ./fastjar/Makefile ] || exit 0; \
9577 r=`${PWD_COMMAND}`; export r; \
9578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9579 $(HOST_EXPORTS) \
9580 for flag in $(EXTRA_HOST_FLAGS) ; do \
9581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9582 done; \
9583 echo "Doing info in fastjar" ; \
9584 (cd $(HOST_SUBDIR)/fastjar && \
9585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9587 "RANLIB=$${RANLIB}" \
9588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9589 info) \
9590 || exit 1
9592 @endif fastjar
9594 .PHONY: maybe-dvi-fastjar dvi-fastjar
9595 maybe-dvi-fastjar:
9596 @if fastjar
9597 maybe-dvi-fastjar: dvi-fastjar
9599 dvi-fastjar: \
9600 configure-fastjar
9601 @: $(MAKE); $(unstage)
9602 @[ -f ./fastjar/Makefile ] || exit 0; \
9603 r=`${PWD_COMMAND}`; export r; \
9604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9605 $(HOST_EXPORTS) \
9606 for flag in $(EXTRA_HOST_FLAGS) ; do \
9607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9608 done; \
9609 echo "Doing dvi in fastjar" ; \
9610 (cd $(HOST_SUBDIR)/fastjar && \
9611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9613 "RANLIB=$${RANLIB}" \
9614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9615 dvi) \
9616 || exit 1
9618 @endif fastjar
9620 .PHONY: maybe-pdf-fastjar pdf-fastjar
9621 maybe-pdf-fastjar:
9622 @if fastjar
9623 maybe-pdf-fastjar: pdf-fastjar
9625 pdf-fastjar: \
9626 configure-fastjar
9627 @: $(MAKE); $(unstage)
9628 @[ -f ./fastjar/Makefile ] || exit 0; \
9629 r=`${PWD_COMMAND}`; export r; \
9630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9631 $(HOST_EXPORTS) \
9632 for flag in $(EXTRA_HOST_FLAGS) ; do \
9633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9634 done; \
9635 echo "Doing pdf in fastjar" ; \
9636 (cd $(HOST_SUBDIR)/fastjar && \
9637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9639 "RANLIB=$${RANLIB}" \
9640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9641 pdf) \
9642 || exit 1
9644 @endif fastjar
9646 .PHONY: maybe-html-fastjar html-fastjar
9647 maybe-html-fastjar:
9648 @if fastjar
9649 maybe-html-fastjar: html-fastjar
9651 html-fastjar: \
9652 configure-fastjar
9653 @: $(MAKE); $(unstage)
9654 @[ -f ./fastjar/Makefile ] || exit 0; \
9655 r=`${PWD_COMMAND}`; export r; \
9656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9657 $(HOST_EXPORTS) \
9658 for flag in $(EXTRA_HOST_FLAGS) ; do \
9659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9660 done; \
9661 echo "Doing html in fastjar" ; \
9662 (cd $(HOST_SUBDIR)/fastjar && \
9663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9665 "RANLIB=$${RANLIB}" \
9666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9667 html) \
9668 || exit 1
9670 @endif fastjar
9672 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9673 maybe-TAGS-fastjar:
9674 @if fastjar
9675 maybe-TAGS-fastjar: TAGS-fastjar
9677 TAGS-fastjar: \
9678 configure-fastjar
9679 @: $(MAKE); $(unstage)
9680 @[ -f ./fastjar/Makefile ] || exit 0; \
9681 r=`${PWD_COMMAND}`; export r; \
9682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9683 $(HOST_EXPORTS) \
9684 for flag in $(EXTRA_HOST_FLAGS) ; do \
9685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9686 done; \
9687 echo "Doing TAGS in fastjar" ; \
9688 (cd $(HOST_SUBDIR)/fastjar && \
9689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9691 "RANLIB=$${RANLIB}" \
9692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9693 TAGS) \
9694 || exit 1
9696 @endif fastjar
9698 .PHONY: maybe-install-info-fastjar install-info-fastjar
9699 maybe-install-info-fastjar:
9700 @if fastjar
9701 maybe-install-info-fastjar: install-info-fastjar
9703 install-info-fastjar: \
9704 configure-fastjar \
9705 info-fastjar
9706 @: $(MAKE); $(unstage)
9707 @[ -f ./fastjar/Makefile ] || exit 0; \
9708 r=`${PWD_COMMAND}`; export r; \
9709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9710 $(HOST_EXPORTS) \
9711 for flag in $(EXTRA_HOST_FLAGS) ; do \
9712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9713 done; \
9714 echo "Doing install-info in fastjar" ; \
9715 (cd $(HOST_SUBDIR)/fastjar && \
9716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9718 "RANLIB=$${RANLIB}" \
9719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9720 install-info) \
9721 || exit 1
9723 @endif fastjar
9725 .PHONY: maybe-install-html-fastjar install-html-fastjar
9726 maybe-install-html-fastjar:
9727 @if fastjar
9728 maybe-install-html-fastjar: install-html-fastjar
9730 install-html-fastjar: \
9731 configure-fastjar \
9732 html-fastjar
9733 @: $(MAKE); $(unstage)
9734 @[ -f ./fastjar/Makefile ] || exit 0; \
9735 r=`${PWD_COMMAND}`; export r; \
9736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9737 $(HOST_EXPORTS) \
9738 for flag in $(EXTRA_HOST_FLAGS) ; do \
9739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9740 done; \
9741 echo "Doing install-html in fastjar" ; \
9742 (cd $(HOST_SUBDIR)/fastjar && \
9743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9745 "RANLIB=$${RANLIB}" \
9746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9747 install-html) \
9748 || exit 1
9750 @endif fastjar
9752 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9753 maybe-installcheck-fastjar:
9754 @if fastjar
9755 maybe-installcheck-fastjar: installcheck-fastjar
9757 installcheck-fastjar: \
9758 configure-fastjar
9759 @: $(MAKE); $(unstage)
9760 @[ -f ./fastjar/Makefile ] || exit 0; \
9761 r=`${PWD_COMMAND}`; export r; \
9762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9763 $(HOST_EXPORTS) \
9764 for flag in $(EXTRA_HOST_FLAGS) ; do \
9765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9766 done; \
9767 echo "Doing installcheck in fastjar" ; \
9768 (cd $(HOST_SUBDIR)/fastjar && \
9769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9771 "RANLIB=$${RANLIB}" \
9772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9773 installcheck) \
9774 || exit 1
9776 @endif fastjar
9778 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9779 maybe-mostlyclean-fastjar:
9780 @if fastjar
9781 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9783 mostlyclean-fastjar:
9784 @: $(MAKE); $(unstage)
9785 @[ -f ./fastjar/Makefile ] || exit 0; \
9786 r=`${PWD_COMMAND}`; export r; \
9787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9788 $(HOST_EXPORTS) \
9789 for flag in $(EXTRA_HOST_FLAGS) ; do \
9790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9791 done; \
9792 echo "Doing mostlyclean in fastjar" ; \
9793 (cd $(HOST_SUBDIR)/fastjar && \
9794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9796 "RANLIB=$${RANLIB}" \
9797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9798 mostlyclean) \
9799 || exit 1
9801 @endif fastjar
9803 .PHONY: maybe-clean-fastjar clean-fastjar
9804 maybe-clean-fastjar:
9805 @if fastjar
9806 maybe-clean-fastjar: clean-fastjar
9808 clean-fastjar:
9809 @: $(MAKE); $(unstage)
9810 @[ -f ./fastjar/Makefile ] || exit 0; \
9811 r=`${PWD_COMMAND}`; export r; \
9812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9813 $(HOST_EXPORTS) \
9814 for flag in $(EXTRA_HOST_FLAGS) ; do \
9815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9816 done; \
9817 echo "Doing clean in fastjar" ; \
9818 (cd $(HOST_SUBDIR)/fastjar && \
9819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9821 "RANLIB=$${RANLIB}" \
9822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9823 clean) \
9824 || exit 1
9826 @endif fastjar
9828 .PHONY: maybe-distclean-fastjar distclean-fastjar
9829 maybe-distclean-fastjar:
9830 @if fastjar
9831 maybe-distclean-fastjar: distclean-fastjar
9833 distclean-fastjar:
9834 @: $(MAKE); $(unstage)
9835 @[ -f ./fastjar/Makefile ] || exit 0; \
9836 r=`${PWD_COMMAND}`; export r; \
9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838 $(HOST_EXPORTS) \
9839 for flag in $(EXTRA_HOST_FLAGS) ; do \
9840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9841 done; \
9842 echo "Doing distclean in fastjar" ; \
9843 (cd $(HOST_SUBDIR)/fastjar && \
9844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9846 "RANLIB=$${RANLIB}" \
9847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9848 distclean) \
9849 || exit 1
9851 @endif fastjar
9853 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9854 maybe-maintainer-clean-fastjar:
9855 @if fastjar
9856 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9858 maintainer-clean-fastjar:
9859 @: $(MAKE); $(unstage)
9860 @[ -f ./fastjar/Makefile ] || exit 0; \
9861 r=`${PWD_COMMAND}`; export r; \
9862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9863 $(HOST_EXPORTS) \
9864 for flag in $(EXTRA_HOST_FLAGS) ; do \
9865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9866 done; \
9867 echo "Doing maintainer-clean in fastjar" ; \
9868 (cd $(HOST_SUBDIR)/fastjar && \
9869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9871 "RANLIB=$${RANLIB}" \
9872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9873 maintainer-clean) \
9874 || exit 1
9876 @endif fastjar
9880 .PHONY: configure-fileutils maybe-configure-fileutils
9881 maybe-configure-fileutils:
9882 @if gcc-bootstrap
9883 configure-fileutils: stage_current
9884 @endif gcc-bootstrap
9885 @if fileutils
9886 maybe-configure-fileutils: configure-fileutils
9887 configure-fileutils:
9888 @: $(MAKE); $(unstage)
9889 @r=`${PWD_COMMAND}`; export r; \
9890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9891 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9893 $(HOST_EXPORTS) \
9894 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9895 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9896 case $(srcdir) in \
9897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9898 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9900 esac; \
9901 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9902 libsrcdir="$$s/fileutils"; \
9903 $(SHELL) $${libsrcdir}/configure \
9904 $(HOST_CONFIGARGS) $${srcdiroption} \
9905 || exit 1
9906 @endif fileutils
9912 .PHONY: all-fileutils maybe-all-fileutils
9913 maybe-all-fileutils:
9914 @if gcc-bootstrap
9915 all-fileutils: stage_current
9916 @endif gcc-bootstrap
9917 @if fileutils
9918 TARGET-fileutils=all
9919 maybe-all-fileutils: all-fileutils
9920 all-fileutils: configure-fileutils
9921 @: $(MAKE); $(unstage)
9922 @r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9924 $(HOST_EXPORTS) \
9925 (cd $(HOST_SUBDIR)/fileutils && \
9926 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9927 @endif fileutils
9932 .PHONY: check-fileutils maybe-check-fileutils
9933 maybe-check-fileutils:
9934 @if fileutils
9935 maybe-check-fileutils: check-fileutils
9937 check-fileutils:
9938 @: $(MAKE); $(unstage)
9939 @r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 $(HOST_EXPORTS) \
9942 (cd $(HOST_SUBDIR)/fileutils && \
9943 $(MAKE) $(FLAGS_TO_PASS) check)
9945 @endif fileutils
9947 .PHONY: install-fileutils maybe-install-fileutils
9948 maybe-install-fileutils:
9949 @if fileutils
9950 maybe-install-fileutils: install-fileutils
9952 install-fileutils: installdirs
9953 @: $(MAKE); $(unstage)
9954 @r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 $(HOST_EXPORTS) \
9957 (cd $(HOST_SUBDIR)/fileutils && \
9958 $(MAKE) $(FLAGS_TO_PASS) install)
9960 @endif fileutils
9962 # Other targets (info, dvi, pdf, etc.)
9964 .PHONY: maybe-info-fileutils info-fileutils
9965 maybe-info-fileutils:
9966 @if fileutils
9967 maybe-info-fileutils: info-fileutils
9969 info-fileutils: \
9970 configure-fileutils
9971 @: $(MAKE); $(unstage)
9972 @[ -f ./fileutils/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(HOST_EXPORTS) \
9976 for flag in $(EXTRA_HOST_FLAGS) ; do \
9977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9978 done; \
9979 echo "Doing info in fileutils" ; \
9980 (cd $(HOST_SUBDIR)/fileutils && \
9981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9983 "RANLIB=$${RANLIB}" \
9984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9985 info) \
9986 || exit 1
9988 @endif fileutils
9990 .PHONY: maybe-dvi-fileutils dvi-fileutils
9991 maybe-dvi-fileutils:
9992 @if fileutils
9993 maybe-dvi-fileutils: dvi-fileutils
9995 dvi-fileutils: \
9996 configure-fileutils
9997 @: $(MAKE); $(unstage)
9998 @[ -f ./fileutils/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing dvi in fileutils" ; \
10006 (cd $(HOST_SUBDIR)/fileutils && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 dvi) \
10012 || exit 1
10014 @endif fileutils
10016 .PHONY: maybe-pdf-fileutils pdf-fileutils
10017 maybe-pdf-fileutils:
10018 @if fileutils
10019 maybe-pdf-fileutils: pdf-fileutils
10021 pdf-fileutils: \
10022 configure-fileutils
10023 @: $(MAKE); $(unstage)
10024 @[ -f ./fileutils/Makefile ] || exit 0; \
10025 r=`${PWD_COMMAND}`; export r; \
10026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10027 $(HOST_EXPORTS) \
10028 for flag in $(EXTRA_HOST_FLAGS) ; do \
10029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10030 done; \
10031 echo "Doing pdf in fileutils" ; \
10032 (cd $(HOST_SUBDIR)/fileutils && \
10033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10035 "RANLIB=$${RANLIB}" \
10036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10037 pdf) \
10038 || exit 1
10040 @endif fileutils
10042 .PHONY: maybe-html-fileutils html-fileutils
10043 maybe-html-fileutils:
10044 @if fileutils
10045 maybe-html-fileutils: html-fileutils
10047 html-fileutils: \
10048 configure-fileutils
10049 @: $(MAKE); $(unstage)
10050 @[ -f ./fileutils/Makefile ] || exit 0; \
10051 r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10053 $(HOST_EXPORTS) \
10054 for flag in $(EXTRA_HOST_FLAGS) ; do \
10055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10056 done; \
10057 echo "Doing html in fileutils" ; \
10058 (cd $(HOST_SUBDIR)/fileutils && \
10059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10061 "RANLIB=$${RANLIB}" \
10062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10063 html) \
10064 || exit 1
10066 @endif fileutils
10068 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10069 maybe-TAGS-fileutils:
10070 @if fileutils
10071 maybe-TAGS-fileutils: TAGS-fileutils
10073 TAGS-fileutils: \
10074 configure-fileutils
10075 @: $(MAKE); $(unstage)
10076 @[ -f ./fileutils/Makefile ] || exit 0; \
10077 r=`${PWD_COMMAND}`; export r; \
10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10079 $(HOST_EXPORTS) \
10080 for flag in $(EXTRA_HOST_FLAGS) ; do \
10081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10082 done; \
10083 echo "Doing TAGS in fileutils" ; \
10084 (cd $(HOST_SUBDIR)/fileutils && \
10085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10087 "RANLIB=$${RANLIB}" \
10088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10089 TAGS) \
10090 || exit 1
10092 @endif fileutils
10094 .PHONY: maybe-install-info-fileutils install-info-fileutils
10095 maybe-install-info-fileutils:
10096 @if fileutils
10097 maybe-install-info-fileutils: install-info-fileutils
10099 install-info-fileutils: \
10100 configure-fileutils \
10101 info-fileutils
10102 @: $(MAKE); $(unstage)
10103 @[ -f ./fileutils/Makefile ] || exit 0; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(HOST_EXPORTS) \
10107 for flag in $(EXTRA_HOST_FLAGS) ; do \
10108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10109 done; \
10110 echo "Doing install-info in fileutils" ; \
10111 (cd $(HOST_SUBDIR)/fileutils && \
10112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10114 "RANLIB=$${RANLIB}" \
10115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10116 install-info) \
10117 || exit 1
10119 @endif fileutils
10121 .PHONY: maybe-install-html-fileutils install-html-fileutils
10122 maybe-install-html-fileutils:
10123 @if fileutils
10124 maybe-install-html-fileutils: install-html-fileutils
10126 install-html-fileutils: \
10127 configure-fileutils \
10128 html-fileutils
10129 @: $(MAKE); $(unstage)
10130 @[ -f ./fileutils/Makefile ] || exit 0; \
10131 r=`${PWD_COMMAND}`; export r; \
10132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10133 $(HOST_EXPORTS) \
10134 for flag in $(EXTRA_HOST_FLAGS) ; do \
10135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10136 done; \
10137 echo "Doing install-html in fileutils" ; \
10138 (cd $(HOST_SUBDIR)/fileutils && \
10139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10141 "RANLIB=$${RANLIB}" \
10142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10143 install-html) \
10144 || exit 1
10146 @endif fileutils
10148 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10149 maybe-installcheck-fileutils:
10150 @if fileutils
10151 maybe-installcheck-fileutils: installcheck-fileutils
10153 installcheck-fileutils: \
10154 configure-fileutils
10155 @: $(MAKE); $(unstage)
10156 @[ -f ./fileutils/Makefile ] || exit 0; \
10157 r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 $(HOST_EXPORTS) \
10160 for flag in $(EXTRA_HOST_FLAGS) ; do \
10161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10162 done; \
10163 echo "Doing installcheck in fileutils" ; \
10164 (cd $(HOST_SUBDIR)/fileutils && \
10165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10167 "RANLIB=$${RANLIB}" \
10168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10169 installcheck) \
10170 || exit 1
10172 @endif fileutils
10174 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10175 maybe-mostlyclean-fileutils:
10176 @if fileutils
10177 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10179 mostlyclean-fileutils:
10180 @: $(MAKE); $(unstage)
10181 @[ -f ./fileutils/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 $(HOST_EXPORTS) \
10185 for flag in $(EXTRA_HOST_FLAGS) ; do \
10186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10187 done; \
10188 echo "Doing mostlyclean in fileutils" ; \
10189 (cd $(HOST_SUBDIR)/fileutils && \
10190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192 "RANLIB=$${RANLIB}" \
10193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10194 mostlyclean) \
10195 || exit 1
10197 @endif fileutils
10199 .PHONY: maybe-clean-fileutils clean-fileutils
10200 maybe-clean-fileutils:
10201 @if fileutils
10202 maybe-clean-fileutils: clean-fileutils
10204 clean-fileutils:
10205 @: $(MAKE); $(unstage)
10206 @[ -f ./fileutils/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 $(HOST_EXPORTS) \
10210 for flag in $(EXTRA_HOST_FLAGS) ; do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10212 done; \
10213 echo "Doing clean in fileutils" ; \
10214 (cd $(HOST_SUBDIR)/fileutils && \
10215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10217 "RANLIB=$${RANLIB}" \
10218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10219 clean) \
10220 || exit 1
10222 @endif fileutils
10224 .PHONY: maybe-distclean-fileutils distclean-fileutils
10225 maybe-distclean-fileutils:
10226 @if fileutils
10227 maybe-distclean-fileutils: distclean-fileutils
10229 distclean-fileutils:
10230 @: $(MAKE); $(unstage)
10231 @[ -f ./fileutils/Makefile ] || exit 0; \
10232 r=`${PWD_COMMAND}`; export r; \
10233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 $(HOST_EXPORTS) \
10235 for flag in $(EXTRA_HOST_FLAGS) ; do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 done; \
10238 echo "Doing distclean in fileutils" ; \
10239 (cd $(HOST_SUBDIR)/fileutils && \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10244 distclean) \
10245 || exit 1
10247 @endif fileutils
10249 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10250 maybe-maintainer-clean-fileutils:
10251 @if fileutils
10252 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10254 maintainer-clean-fileutils:
10255 @: $(MAKE); $(unstage)
10256 @[ -f ./fileutils/Makefile ] || exit 0; \
10257 r=`${PWD_COMMAND}`; export r; \
10258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10259 $(HOST_EXPORTS) \
10260 for flag in $(EXTRA_HOST_FLAGS) ; do \
10261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10262 done; \
10263 echo "Doing maintainer-clean in fileutils" ; \
10264 (cd $(HOST_SUBDIR)/fileutils && \
10265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10267 "RANLIB=$${RANLIB}" \
10268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10269 maintainer-clean) \
10270 || exit 1
10272 @endif fileutils
10276 .PHONY: configure-findutils maybe-configure-findutils
10277 maybe-configure-findutils:
10278 @if gcc-bootstrap
10279 configure-findutils: stage_current
10280 @endif gcc-bootstrap
10281 @if findutils
10282 maybe-configure-findutils: configure-findutils
10283 configure-findutils:
10284 @: $(MAKE); $(unstage)
10285 @r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10289 $(HOST_EXPORTS) \
10290 echo Configuring in $(HOST_SUBDIR)/findutils; \
10291 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10292 case $(srcdir) in \
10293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10294 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10296 esac; \
10297 srcdiroption="--srcdir=$${topdir}/findutils"; \
10298 libsrcdir="$$s/findutils"; \
10299 $(SHELL) $${libsrcdir}/configure \
10300 $(HOST_CONFIGARGS) $${srcdiroption} \
10301 || exit 1
10302 @endif findutils
10308 .PHONY: all-findutils maybe-all-findutils
10309 maybe-all-findutils:
10310 @if gcc-bootstrap
10311 all-findutils: stage_current
10312 @endif gcc-bootstrap
10313 @if findutils
10314 TARGET-findutils=all
10315 maybe-all-findutils: all-findutils
10316 all-findutils: configure-findutils
10317 @: $(MAKE); $(unstage)
10318 @r=`${PWD_COMMAND}`; export r; \
10319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10320 $(HOST_EXPORTS) \
10321 (cd $(HOST_SUBDIR)/findutils && \
10322 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10323 @endif findutils
10328 .PHONY: check-findutils maybe-check-findutils
10329 maybe-check-findutils:
10330 @if findutils
10331 maybe-check-findutils: check-findutils
10333 check-findutils:
10334 @: $(MAKE); $(unstage)
10335 @r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 (cd $(HOST_SUBDIR)/findutils && \
10339 $(MAKE) $(FLAGS_TO_PASS) check)
10341 @endif findutils
10343 .PHONY: install-findutils maybe-install-findutils
10344 maybe-install-findutils:
10345 @if findutils
10346 maybe-install-findutils: install-findutils
10348 install-findutils: installdirs
10349 @: $(MAKE); $(unstage)
10350 @r=`${PWD_COMMAND}`; export r; \
10351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10352 $(HOST_EXPORTS) \
10353 (cd $(HOST_SUBDIR)/findutils && \
10354 $(MAKE) $(FLAGS_TO_PASS) install)
10356 @endif findutils
10358 # Other targets (info, dvi, pdf, etc.)
10360 .PHONY: maybe-info-findutils info-findutils
10361 maybe-info-findutils:
10362 @if findutils
10363 maybe-info-findutils: info-findutils
10365 info-findutils: \
10366 configure-findutils
10367 @: $(MAKE); $(unstage)
10368 @[ -f ./findutils/Makefile ] || exit 0; \
10369 r=`${PWD_COMMAND}`; export r; \
10370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10371 $(HOST_EXPORTS) \
10372 for flag in $(EXTRA_HOST_FLAGS) ; do \
10373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10374 done; \
10375 echo "Doing info in findutils" ; \
10376 (cd $(HOST_SUBDIR)/findutils && \
10377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10379 "RANLIB=$${RANLIB}" \
10380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10381 info) \
10382 || exit 1
10384 @endif findutils
10386 .PHONY: maybe-dvi-findutils dvi-findutils
10387 maybe-dvi-findutils:
10388 @if findutils
10389 maybe-dvi-findutils: dvi-findutils
10391 dvi-findutils: \
10392 configure-findutils
10393 @: $(MAKE); $(unstage)
10394 @[ -f ./findutils/Makefile ] || exit 0; \
10395 r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 $(HOST_EXPORTS) \
10398 for flag in $(EXTRA_HOST_FLAGS) ; do \
10399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10400 done; \
10401 echo "Doing dvi in findutils" ; \
10402 (cd $(HOST_SUBDIR)/findutils && \
10403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10405 "RANLIB=$${RANLIB}" \
10406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10407 dvi) \
10408 || exit 1
10410 @endif findutils
10412 .PHONY: maybe-pdf-findutils pdf-findutils
10413 maybe-pdf-findutils:
10414 @if findutils
10415 maybe-pdf-findutils: pdf-findutils
10417 pdf-findutils: \
10418 configure-findutils
10419 @: $(MAKE); $(unstage)
10420 @[ -f ./findutils/Makefile ] || exit 0; \
10421 r=`${PWD_COMMAND}`; export r; \
10422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10423 $(HOST_EXPORTS) \
10424 for flag in $(EXTRA_HOST_FLAGS) ; do \
10425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10426 done; \
10427 echo "Doing pdf in findutils" ; \
10428 (cd $(HOST_SUBDIR)/findutils && \
10429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10431 "RANLIB=$${RANLIB}" \
10432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10433 pdf) \
10434 || exit 1
10436 @endif findutils
10438 .PHONY: maybe-html-findutils html-findutils
10439 maybe-html-findutils:
10440 @if findutils
10441 maybe-html-findutils: html-findutils
10443 html-findutils: \
10444 configure-findutils
10445 @: $(MAKE); $(unstage)
10446 @[ -f ./findutils/Makefile ] || exit 0; \
10447 r=`${PWD_COMMAND}`; export r; \
10448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10449 $(HOST_EXPORTS) \
10450 for flag in $(EXTRA_HOST_FLAGS) ; do \
10451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10452 done; \
10453 echo "Doing html in findutils" ; \
10454 (cd $(HOST_SUBDIR)/findutils && \
10455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10457 "RANLIB=$${RANLIB}" \
10458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10459 html) \
10460 || exit 1
10462 @endif findutils
10464 .PHONY: maybe-TAGS-findutils TAGS-findutils
10465 maybe-TAGS-findutils:
10466 @if findutils
10467 maybe-TAGS-findutils: TAGS-findutils
10469 TAGS-findutils: \
10470 configure-findutils
10471 @: $(MAKE); $(unstage)
10472 @[ -f ./findutils/Makefile ] || exit 0; \
10473 r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10475 $(HOST_EXPORTS) \
10476 for flag in $(EXTRA_HOST_FLAGS) ; do \
10477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10478 done; \
10479 echo "Doing TAGS in findutils" ; \
10480 (cd $(HOST_SUBDIR)/findutils && \
10481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10483 "RANLIB=$${RANLIB}" \
10484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10485 TAGS) \
10486 || exit 1
10488 @endif findutils
10490 .PHONY: maybe-install-info-findutils install-info-findutils
10491 maybe-install-info-findutils:
10492 @if findutils
10493 maybe-install-info-findutils: install-info-findutils
10495 install-info-findutils: \
10496 configure-findutils \
10497 info-findutils
10498 @: $(MAKE); $(unstage)
10499 @[ -f ./findutils/Makefile ] || exit 0; \
10500 r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 $(HOST_EXPORTS) \
10503 for flag in $(EXTRA_HOST_FLAGS) ; do \
10504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10505 done; \
10506 echo "Doing install-info in findutils" ; \
10507 (cd $(HOST_SUBDIR)/findutils && \
10508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10510 "RANLIB=$${RANLIB}" \
10511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10512 install-info) \
10513 || exit 1
10515 @endif findutils
10517 .PHONY: maybe-install-html-findutils install-html-findutils
10518 maybe-install-html-findutils:
10519 @if findutils
10520 maybe-install-html-findutils: install-html-findutils
10522 install-html-findutils: \
10523 configure-findutils \
10524 html-findutils
10525 @: $(MAKE); $(unstage)
10526 @[ -f ./findutils/Makefile ] || exit 0; \
10527 r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 $(HOST_EXPORTS) \
10530 for flag in $(EXTRA_HOST_FLAGS) ; do \
10531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10532 done; \
10533 echo "Doing install-html in findutils" ; \
10534 (cd $(HOST_SUBDIR)/findutils && \
10535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10537 "RANLIB=$${RANLIB}" \
10538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10539 install-html) \
10540 || exit 1
10542 @endif findutils
10544 .PHONY: maybe-installcheck-findutils installcheck-findutils
10545 maybe-installcheck-findutils:
10546 @if findutils
10547 maybe-installcheck-findutils: installcheck-findutils
10549 installcheck-findutils: \
10550 configure-findutils
10551 @: $(MAKE); $(unstage)
10552 @[ -f ./findutils/Makefile ] || exit 0; \
10553 r=`${PWD_COMMAND}`; export r; \
10554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10555 $(HOST_EXPORTS) \
10556 for flag in $(EXTRA_HOST_FLAGS) ; do \
10557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10558 done; \
10559 echo "Doing installcheck in findutils" ; \
10560 (cd $(HOST_SUBDIR)/findutils && \
10561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10563 "RANLIB=$${RANLIB}" \
10564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10565 installcheck) \
10566 || exit 1
10568 @endif findutils
10570 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10571 maybe-mostlyclean-findutils:
10572 @if findutils
10573 maybe-mostlyclean-findutils: mostlyclean-findutils
10575 mostlyclean-findutils:
10576 @: $(MAKE); $(unstage)
10577 @[ -f ./findutils/Makefile ] || exit 0; \
10578 r=`${PWD_COMMAND}`; export r; \
10579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10580 $(HOST_EXPORTS) \
10581 for flag in $(EXTRA_HOST_FLAGS) ; do \
10582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10583 done; \
10584 echo "Doing mostlyclean in findutils" ; \
10585 (cd $(HOST_SUBDIR)/findutils && \
10586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588 "RANLIB=$${RANLIB}" \
10589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10590 mostlyclean) \
10591 || exit 1
10593 @endif findutils
10595 .PHONY: maybe-clean-findutils clean-findutils
10596 maybe-clean-findutils:
10597 @if findutils
10598 maybe-clean-findutils: clean-findutils
10600 clean-findutils:
10601 @: $(MAKE); $(unstage)
10602 @[ -f ./findutils/Makefile ] || exit 0; \
10603 r=`${PWD_COMMAND}`; export r; \
10604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10605 $(HOST_EXPORTS) \
10606 for flag in $(EXTRA_HOST_FLAGS) ; do \
10607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10608 done; \
10609 echo "Doing clean in findutils" ; \
10610 (cd $(HOST_SUBDIR)/findutils && \
10611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10613 "RANLIB=$${RANLIB}" \
10614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10615 clean) \
10616 || exit 1
10618 @endif findutils
10620 .PHONY: maybe-distclean-findutils distclean-findutils
10621 maybe-distclean-findutils:
10622 @if findutils
10623 maybe-distclean-findutils: distclean-findutils
10625 distclean-findutils:
10626 @: $(MAKE); $(unstage)
10627 @[ -f ./findutils/Makefile ] || exit 0; \
10628 r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 $(HOST_EXPORTS) \
10631 for flag in $(EXTRA_HOST_FLAGS) ; do \
10632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10633 done; \
10634 echo "Doing distclean in findutils" ; \
10635 (cd $(HOST_SUBDIR)/findutils && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10638 "RANLIB=$${RANLIB}" \
10639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10640 distclean) \
10641 || exit 1
10643 @endif findutils
10645 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10646 maybe-maintainer-clean-findutils:
10647 @if findutils
10648 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10650 maintainer-clean-findutils:
10651 @: $(MAKE); $(unstage)
10652 @[ -f ./findutils/Makefile ] || exit 0; \
10653 r=`${PWD_COMMAND}`; export r; \
10654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10655 $(HOST_EXPORTS) \
10656 for flag in $(EXTRA_HOST_FLAGS) ; do \
10657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10658 done; \
10659 echo "Doing maintainer-clean in findutils" ; \
10660 (cd $(HOST_SUBDIR)/findutils && \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10663 "RANLIB=$${RANLIB}" \
10664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10665 maintainer-clean) \
10666 || exit 1
10668 @endif findutils
10672 .PHONY: configure-find maybe-configure-find
10673 maybe-configure-find:
10674 @if gcc-bootstrap
10675 configure-find: stage_current
10676 @endif gcc-bootstrap
10677 @if find
10678 maybe-configure-find: configure-find
10679 configure-find:
10680 @: $(MAKE); $(unstage)
10681 @r=`${PWD_COMMAND}`; export r; \
10682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10683 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10685 $(HOST_EXPORTS) \
10686 echo Configuring in $(HOST_SUBDIR)/find; \
10687 cd "$(HOST_SUBDIR)/find" || exit 1; \
10688 case $(srcdir) in \
10689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10690 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10692 esac; \
10693 srcdiroption="--srcdir=$${topdir}/find"; \
10694 libsrcdir="$$s/find"; \
10695 $(SHELL) $${libsrcdir}/configure \
10696 $(HOST_CONFIGARGS) $${srcdiroption} \
10697 || exit 1
10698 @endif find
10704 .PHONY: all-find maybe-all-find
10705 maybe-all-find:
10706 @if gcc-bootstrap
10707 all-find: stage_current
10708 @endif gcc-bootstrap
10709 @if find
10710 TARGET-find=all
10711 maybe-all-find: all-find
10712 all-find: configure-find
10713 @: $(MAKE); $(unstage)
10714 @r=`${PWD_COMMAND}`; export r; \
10715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10716 $(HOST_EXPORTS) \
10717 (cd $(HOST_SUBDIR)/find && \
10718 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10719 @endif find
10724 .PHONY: check-find maybe-check-find
10725 maybe-check-find:
10726 @if find
10727 maybe-check-find: check-find
10729 check-find:
10730 @: $(MAKE); $(unstage)
10731 @r=`${PWD_COMMAND}`; export r; \
10732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10733 $(HOST_EXPORTS) \
10734 (cd $(HOST_SUBDIR)/find && \
10735 $(MAKE) $(FLAGS_TO_PASS) check)
10737 @endif find
10739 .PHONY: install-find maybe-install-find
10740 maybe-install-find:
10741 @if find
10742 maybe-install-find: install-find
10744 install-find: installdirs
10745 @: $(MAKE); $(unstage)
10746 @r=`${PWD_COMMAND}`; export r; \
10747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10748 $(HOST_EXPORTS) \
10749 (cd $(HOST_SUBDIR)/find && \
10750 $(MAKE) $(FLAGS_TO_PASS) install)
10752 @endif find
10754 # Other targets (info, dvi, pdf, etc.)
10756 .PHONY: maybe-info-find info-find
10757 maybe-info-find:
10758 @if find
10759 maybe-info-find: info-find
10761 info-find: \
10762 configure-find
10763 @: $(MAKE); $(unstage)
10764 @[ -f ./find/Makefile ] || exit 0; \
10765 r=`${PWD_COMMAND}`; export r; \
10766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10767 $(HOST_EXPORTS) \
10768 for flag in $(EXTRA_HOST_FLAGS) ; do \
10769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10770 done; \
10771 echo "Doing info in find" ; \
10772 (cd $(HOST_SUBDIR)/find && \
10773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10775 "RANLIB=$${RANLIB}" \
10776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10777 info) \
10778 || exit 1
10780 @endif find
10782 .PHONY: maybe-dvi-find dvi-find
10783 maybe-dvi-find:
10784 @if find
10785 maybe-dvi-find: dvi-find
10787 dvi-find: \
10788 configure-find
10789 @: $(MAKE); $(unstage)
10790 @[ -f ./find/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(HOST_EXPORTS) \
10794 for flag in $(EXTRA_HOST_FLAGS) ; do \
10795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10796 done; \
10797 echo "Doing dvi in find" ; \
10798 (cd $(HOST_SUBDIR)/find && \
10799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10801 "RANLIB=$${RANLIB}" \
10802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10803 dvi) \
10804 || exit 1
10806 @endif find
10808 .PHONY: maybe-pdf-find pdf-find
10809 maybe-pdf-find:
10810 @if find
10811 maybe-pdf-find: pdf-find
10813 pdf-find: \
10814 configure-find
10815 @: $(MAKE); $(unstage)
10816 @[ -f ./find/Makefile ] || exit 0; \
10817 r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 $(HOST_EXPORTS) \
10820 for flag in $(EXTRA_HOST_FLAGS) ; do \
10821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10822 done; \
10823 echo "Doing pdf in find" ; \
10824 (cd $(HOST_SUBDIR)/find && \
10825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10827 "RANLIB=$${RANLIB}" \
10828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10829 pdf) \
10830 || exit 1
10832 @endif find
10834 .PHONY: maybe-html-find html-find
10835 maybe-html-find:
10836 @if find
10837 maybe-html-find: html-find
10839 html-find: \
10840 configure-find
10841 @: $(MAKE); $(unstage)
10842 @[ -f ./find/Makefile ] || exit 0; \
10843 r=`${PWD_COMMAND}`; export r; \
10844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10845 $(HOST_EXPORTS) \
10846 for flag in $(EXTRA_HOST_FLAGS) ; do \
10847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10848 done; \
10849 echo "Doing html in find" ; \
10850 (cd $(HOST_SUBDIR)/find && \
10851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10853 "RANLIB=$${RANLIB}" \
10854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10855 html) \
10856 || exit 1
10858 @endif find
10860 .PHONY: maybe-TAGS-find TAGS-find
10861 maybe-TAGS-find:
10862 @if find
10863 maybe-TAGS-find: TAGS-find
10865 TAGS-find: \
10866 configure-find
10867 @: $(MAKE); $(unstage)
10868 @[ -f ./find/Makefile ] || exit 0; \
10869 r=`${PWD_COMMAND}`; export r; \
10870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10871 $(HOST_EXPORTS) \
10872 for flag in $(EXTRA_HOST_FLAGS) ; do \
10873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10874 done; \
10875 echo "Doing TAGS in find" ; \
10876 (cd $(HOST_SUBDIR)/find && \
10877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10879 "RANLIB=$${RANLIB}" \
10880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10881 TAGS) \
10882 || exit 1
10884 @endif find
10886 .PHONY: maybe-install-info-find install-info-find
10887 maybe-install-info-find:
10888 @if find
10889 maybe-install-info-find: install-info-find
10891 install-info-find: \
10892 configure-find \
10893 info-find
10894 @: $(MAKE); $(unstage)
10895 @[ -f ./find/Makefile ] || exit 0; \
10896 r=`${PWD_COMMAND}`; export r; \
10897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10898 $(HOST_EXPORTS) \
10899 for flag in $(EXTRA_HOST_FLAGS) ; do \
10900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10901 done; \
10902 echo "Doing install-info in find" ; \
10903 (cd $(HOST_SUBDIR)/find && \
10904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10906 "RANLIB=$${RANLIB}" \
10907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10908 install-info) \
10909 || exit 1
10911 @endif find
10913 .PHONY: maybe-install-html-find install-html-find
10914 maybe-install-html-find:
10915 @if find
10916 maybe-install-html-find: install-html-find
10918 install-html-find: \
10919 configure-find \
10920 html-find
10921 @: $(MAKE); $(unstage)
10922 @[ -f ./find/Makefile ] || exit 0; \
10923 r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925 $(HOST_EXPORTS) \
10926 for flag in $(EXTRA_HOST_FLAGS) ; do \
10927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10928 done; \
10929 echo "Doing install-html in find" ; \
10930 (cd $(HOST_SUBDIR)/find && \
10931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10933 "RANLIB=$${RANLIB}" \
10934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10935 install-html) \
10936 || exit 1
10938 @endif find
10940 .PHONY: maybe-installcheck-find installcheck-find
10941 maybe-installcheck-find:
10942 @if find
10943 maybe-installcheck-find: installcheck-find
10945 installcheck-find: \
10946 configure-find
10947 @: $(MAKE); $(unstage)
10948 @[ -f ./find/Makefile ] || exit 0; \
10949 r=`${PWD_COMMAND}`; export r; \
10950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10951 $(HOST_EXPORTS) \
10952 for flag in $(EXTRA_HOST_FLAGS) ; do \
10953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10954 done; \
10955 echo "Doing installcheck in find" ; \
10956 (cd $(HOST_SUBDIR)/find && \
10957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10959 "RANLIB=$${RANLIB}" \
10960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10961 installcheck) \
10962 || exit 1
10964 @endif find
10966 .PHONY: maybe-mostlyclean-find mostlyclean-find
10967 maybe-mostlyclean-find:
10968 @if find
10969 maybe-mostlyclean-find: mostlyclean-find
10971 mostlyclean-find:
10972 @: $(MAKE); $(unstage)
10973 @[ -f ./find/Makefile ] || exit 0; \
10974 r=`${PWD_COMMAND}`; export r; \
10975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10976 $(HOST_EXPORTS) \
10977 for flag in $(EXTRA_HOST_FLAGS) ; do \
10978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10979 done; \
10980 echo "Doing mostlyclean in find" ; \
10981 (cd $(HOST_SUBDIR)/find && \
10982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10984 "RANLIB=$${RANLIB}" \
10985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10986 mostlyclean) \
10987 || exit 1
10989 @endif find
10991 .PHONY: maybe-clean-find clean-find
10992 maybe-clean-find:
10993 @if find
10994 maybe-clean-find: clean-find
10996 clean-find:
10997 @: $(MAKE); $(unstage)
10998 @[ -f ./find/Makefile ] || exit 0; \
10999 r=`${PWD_COMMAND}`; export r; \
11000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11001 $(HOST_EXPORTS) \
11002 for flag in $(EXTRA_HOST_FLAGS) ; do \
11003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11004 done; \
11005 echo "Doing clean in find" ; \
11006 (cd $(HOST_SUBDIR)/find && \
11007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11009 "RANLIB=$${RANLIB}" \
11010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11011 clean) \
11012 || exit 1
11014 @endif find
11016 .PHONY: maybe-distclean-find distclean-find
11017 maybe-distclean-find:
11018 @if find
11019 maybe-distclean-find: distclean-find
11021 distclean-find:
11022 @: $(MAKE); $(unstage)
11023 @[ -f ./find/Makefile ] || exit 0; \
11024 r=`${PWD_COMMAND}`; export r; \
11025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11026 $(HOST_EXPORTS) \
11027 for flag in $(EXTRA_HOST_FLAGS) ; do \
11028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11029 done; \
11030 echo "Doing distclean in find" ; \
11031 (cd $(HOST_SUBDIR)/find && \
11032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11034 "RANLIB=$${RANLIB}" \
11035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11036 distclean) \
11037 || exit 1
11039 @endif find
11041 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11042 maybe-maintainer-clean-find:
11043 @if find
11044 maybe-maintainer-clean-find: maintainer-clean-find
11046 maintainer-clean-find:
11047 @: $(MAKE); $(unstage)
11048 @[ -f ./find/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 for flag in $(EXTRA_HOST_FLAGS) ; do \
11053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 done; \
11055 echo "Doing maintainer-clean in find" ; \
11056 (cd $(HOST_SUBDIR)/find && \
11057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11059 "RANLIB=$${RANLIB}" \
11060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11061 maintainer-clean) \
11062 || exit 1
11064 @endif find
11068 .PHONY: configure-fixincludes maybe-configure-fixincludes
11069 maybe-configure-fixincludes:
11070 @if gcc-bootstrap
11071 configure-fixincludes: stage_current
11072 @endif gcc-bootstrap
11073 @if fixincludes
11074 maybe-configure-fixincludes: configure-fixincludes
11075 configure-fixincludes:
11076 @: $(MAKE); $(unstage)
11077 @r=`${PWD_COMMAND}`; export r; \
11078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11079 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11081 $(HOST_EXPORTS) \
11082 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11083 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11084 case $(srcdir) in \
11085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11086 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11088 esac; \
11089 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11090 libsrcdir="$$s/fixincludes"; \
11091 $(SHELL) $${libsrcdir}/configure \
11092 $(HOST_CONFIGARGS) $${srcdiroption} \
11093 || exit 1
11094 @endif fixincludes
11100 .PHONY: all-fixincludes maybe-all-fixincludes
11101 maybe-all-fixincludes:
11102 @if gcc-bootstrap
11103 all-fixincludes: stage_current
11104 @endif gcc-bootstrap
11105 @if fixincludes
11106 TARGET-fixincludes=all
11107 maybe-all-fixincludes: all-fixincludes
11108 all-fixincludes: configure-fixincludes
11109 @: $(MAKE); $(unstage)
11110 @r=`${PWD_COMMAND}`; export r; \
11111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11112 $(HOST_EXPORTS) \
11113 (cd $(HOST_SUBDIR)/fixincludes && \
11114 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11115 @endif fixincludes
11120 .PHONY: check-fixincludes maybe-check-fixincludes
11121 maybe-check-fixincludes:
11122 @if fixincludes
11123 maybe-check-fixincludes: check-fixincludes
11125 check-fixincludes:
11126 @: $(MAKE); $(unstage)
11127 @r=`${PWD_COMMAND}`; export r; \
11128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 $(HOST_EXPORTS) \
11130 (cd $(HOST_SUBDIR)/fixincludes && \
11131 $(MAKE) $(FLAGS_TO_PASS) check)
11133 @endif fixincludes
11135 .PHONY: install-fixincludes maybe-install-fixincludes
11136 maybe-install-fixincludes:
11137 @if fixincludes
11138 maybe-install-fixincludes: install-fixincludes
11140 install-fixincludes: installdirs
11141 @: $(MAKE); $(unstage)
11142 @r=`${PWD_COMMAND}`; export r; \
11143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11144 $(HOST_EXPORTS) \
11145 (cd $(HOST_SUBDIR)/fixincludes && \
11146 $(MAKE) $(FLAGS_TO_PASS) install)
11148 @endif fixincludes
11150 # Other targets (info, dvi, pdf, etc.)
11152 .PHONY: maybe-info-fixincludes info-fixincludes
11153 maybe-info-fixincludes:
11154 @if fixincludes
11155 maybe-info-fixincludes: info-fixincludes
11157 # fixincludes doesn't support info.
11158 info-fixincludes:
11160 @endif fixincludes
11162 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11163 maybe-dvi-fixincludes:
11164 @if fixincludes
11165 maybe-dvi-fixincludes: dvi-fixincludes
11167 # fixincludes doesn't support dvi.
11168 dvi-fixincludes:
11170 @endif fixincludes
11172 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11173 maybe-pdf-fixincludes:
11174 @if fixincludes
11175 maybe-pdf-fixincludes: pdf-fixincludes
11177 # fixincludes doesn't support pdf.
11178 pdf-fixincludes:
11180 @endif fixincludes
11182 .PHONY: maybe-html-fixincludes html-fixincludes
11183 maybe-html-fixincludes:
11184 @if fixincludes
11185 maybe-html-fixincludes: html-fixincludes
11187 html-fixincludes: \
11188 configure-fixincludes
11189 @: $(MAKE); $(unstage)
11190 @[ -f ./fixincludes/Makefile ] || exit 0; \
11191 r=`${PWD_COMMAND}`; export r; \
11192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11193 $(HOST_EXPORTS) \
11194 for flag in $(EXTRA_HOST_FLAGS) ; do \
11195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11196 done; \
11197 echo "Doing html in fixincludes" ; \
11198 (cd $(HOST_SUBDIR)/fixincludes && \
11199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11201 "RANLIB=$${RANLIB}" \
11202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11203 html) \
11204 || exit 1
11206 @endif fixincludes
11208 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11209 maybe-TAGS-fixincludes:
11210 @if fixincludes
11211 maybe-TAGS-fixincludes: TAGS-fixincludes
11213 # fixincludes doesn't support TAGS.
11214 TAGS-fixincludes:
11216 @endif fixincludes
11218 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11219 maybe-install-info-fixincludes:
11220 @if fixincludes
11221 maybe-install-info-fixincludes: install-info-fixincludes
11223 # fixincludes doesn't support install-info.
11224 install-info-fixincludes:
11226 @endif fixincludes
11228 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11229 maybe-install-html-fixincludes:
11230 @if fixincludes
11231 maybe-install-html-fixincludes: install-html-fixincludes
11233 install-html-fixincludes: \
11234 configure-fixincludes \
11235 html-fixincludes
11236 @: $(MAKE); $(unstage)
11237 @[ -f ./fixincludes/Makefile ] || exit 0; \
11238 r=`${PWD_COMMAND}`; export r; \
11239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11240 $(HOST_EXPORTS) \
11241 for flag in $(EXTRA_HOST_FLAGS) ; do \
11242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11243 done; \
11244 echo "Doing install-html in fixincludes" ; \
11245 (cd $(HOST_SUBDIR)/fixincludes && \
11246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11248 "RANLIB=$${RANLIB}" \
11249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11250 install-html) \
11251 || exit 1
11253 @endif fixincludes
11255 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11256 maybe-installcheck-fixincludes:
11257 @if fixincludes
11258 maybe-installcheck-fixincludes: installcheck-fixincludes
11260 # fixincludes doesn't support installcheck.
11261 installcheck-fixincludes:
11263 @endif fixincludes
11265 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11266 maybe-mostlyclean-fixincludes:
11267 @if fixincludes
11268 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11270 mostlyclean-fixincludes:
11271 @: $(MAKE); $(unstage)
11272 @[ -f ./fixincludes/Makefile ] || exit 0; \
11273 r=`${PWD_COMMAND}`; export r; \
11274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11275 $(HOST_EXPORTS) \
11276 for flag in $(EXTRA_HOST_FLAGS) ; do \
11277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11278 done; \
11279 echo "Doing mostlyclean in fixincludes" ; \
11280 (cd $(HOST_SUBDIR)/fixincludes && \
11281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11283 "RANLIB=$${RANLIB}" \
11284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11285 mostlyclean) \
11286 || exit 1
11288 @endif fixincludes
11290 .PHONY: maybe-clean-fixincludes clean-fixincludes
11291 maybe-clean-fixincludes:
11292 @if fixincludes
11293 maybe-clean-fixincludes: clean-fixincludes
11295 clean-fixincludes:
11296 @: $(MAKE); $(unstage)
11297 @[ -f ./fixincludes/Makefile ] || exit 0; \
11298 r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 $(HOST_EXPORTS) \
11301 for flag in $(EXTRA_HOST_FLAGS) ; do \
11302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11303 done; \
11304 echo "Doing clean in fixincludes" ; \
11305 (cd $(HOST_SUBDIR)/fixincludes && \
11306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11308 "RANLIB=$${RANLIB}" \
11309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11310 clean) \
11311 || exit 1
11313 @endif fixincludes
11315 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11316 maybe-distclean-fixincludes:
11317 @if fixincludes
11318 maybe-distclean-fixincludes: distclean-fixincludes
11320 distclean-fixincludes:
11321 @: $(MAKE); $(unstage)
11322 @[ -f ./fixincludes/Makefile ] || exit 0; \
11323 r=`${PWD_COMMAND}`; export r; \
11324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11325 $(HOST_EXPORTS) \
11326 for flag in $(EXTRA_HOST_FLAGS) ; do \
11327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11328 done; \
11329 echo "Doing distclean in fixincludes" ; \
11330 (cd $(HOST_SUBDIR)/fixincludes && \
11331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11333 "RANLIB=$${RANLIB}" \
11334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11335 distclean) \
11336 || exit 1
11338 @endif fixincludes
11340 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11341 maybe-maintainer-clean-fixincludes:
11342 @if fixincludes
11343 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11345 maintainer-clean-fixincludes:
11346 @: $(MAKE); $(unstage)
11347 @[ -f ./fixincludes/Makefile ] || exit 0; \
11348 r=`${PWD_COMMAND}`; export r; \
11349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11350 $(HOST_EXPORTS) \
11351 for flag in $(EXTRA_HOST_FLAGS) ; do \
11352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11353 done; \
11354 echo "Doing maintainer-clean in fixincludes" ; \
11355 (cd $(HOST_SUBDIR)/fixincludes && \
11356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11358 "RANLIB=$${RANLIB}" \
11359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11360 maintainer-clean) \
11361 || exit 1
11363 @endif fixincludes
11367 .PHONY: configure-flex maybe-configure-flex
11368 maybe-configure-flex:
11369 @if gcc-bootstrap
11370 configure-flex: stage_current
11371 @endif gcc-bootstrap
11372 @if flex
11373 maybe-configure-flex: configure-flex
11374 configure-flex:
11375 @: $(MAKE); $(unstage)
11376 @r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11378 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11380 $(HOST_EXPORTS) \
11381 echo Configuring in $(HOST_SUBDIR)/flex; \
11382 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11383 case $(srcdir) in \
11384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11385 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11387 esac; \
11388 srcdiroption="--srcdir=$${topdir}/flex"; \
11389 libsrcdir="$$s/flex"; \
11390 $(SHELL) $${libsrcdir}/configure \
11391 $(HOST_CONFIGARGS) $${srcdiroption} \
11392 || exit 1
11393 @endif flex
11399 .PHONY: all-flex maybe-all-flex
11400 maybe-all-flex:
11401 @if gcc-bootstrap
11402 all-flex: stage_current
11403 @endif gcc-bootstrap
11404 @if flex
11405 TARGET-flex=all
11406 maybe-all-flex: all-flex
11407 all-flex: configure-flex
11408 @: $(MAKE); $(unstage)
11409 @r=`${PWD_COMMAND}`; export r; \
11410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11411 $(HOST_EXPORTS) \
11412 (cd $(HOST_SUBDIR)/flex && \
11413 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11414 @endif flex
11419 .PHONY: check-flex maybe-check-flex
11420 maybe-check-flex:
11421 @if flex
11422 maybe-check-flex: check-flex
11424 # This module is only tested in a native toolchain.
11425 check-flex:
11426 @: $(MAKE); $(unstage)
11427 @if [ '$(host)' = '$(target)' ] ; then \
11428 r=`${PWD_COMMAND}`; export r; \
11429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 $(HOST_EXPORTS) \
11431 (cd $(HOST_SUBDIR)/flex && \
11432 $(MAKE) $(FLAGS_TO_PASS) check); \
11435 @endif flex
11437 .PHONY: install-flex maybe-install-flex
11438 maybe-install-flex:
11439 @if flex
11440 maybe-install-flex: install-flex
11442 install-flex: installdirs
11443 @: $(MAKE); $(unstage)
11444 @r=`${PWD_COMMAND}`; export r; \
11445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11446 $(HOST_EXPORTS) \
11447 (cd $(HOST_SUBDIR)/flex && \
11448 $(MAKE) $(FLAGS_TO_PASS) install)
11450 @endif flex
11452 # Other targets (info, dvi, pdf, etc.)
11454 .PHONY: maybe-info-flex info-flex
11455 maybe-info-flex:
11456 @if flex
11457 maybe-info-flex: info-flex
11459 info-flex: \
11460 configure-flex
11461 @: $(MAKE); $(unstage)
11462 @[ -f ./flex/Makefile ] || exit 0; \
11463 r=`${PWD_COMMAND}`; export r; \
11464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11465 $(HOST_EXPORTS) \
11466 for flag in $(EXTRA_HOST_FLAGS) ; do \
11467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11468 done; \
11469 echo "Doing info in flex" ; \
11470 (cd $(HOST_SUBDIR)/flex && \
11471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11473 "RANLIB=$${RANLIB}" \
11474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11475 info) \
11476 || exit 1
11478 @endif flex
11480 .PHONY: maybe-dvi-flex dvi-flex
11481 maybe-dvi-flex:
11482 @if flex
11483 maybe-dvi-flex: dvi-flex
11485 dvi-flex: \
11486 configure-flex
11487 @: $(MAKE); $(unstage)
11488 @[ -f ./flex/Makefile ] || exit 0; \
11489 r=`${PWD_COMMAND}`; export r; \
11490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11491 $(HOST_EXPORTS) \
11492 for flag in $(EXTRA_HOST_FLAGS) ; do \
11493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11494 done; \
11495 echo "Doing dvi in flex" ; \
11496 (cd $(HOST_SUBDIR)/flex && \
11497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11499 "RANLIB=$${RANLIB}" \
11500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11501 dvi) \
11502 || exit 1
11504 @endif flex
11506 .PHONY: maybe-pdf-flex pdf-flex
11507 maybe-pdf-flex:
11508 @if flex
11509 maybe-pdf-flex: pdf-flex
11511 pdf-flex: \
11512 configure-flex
11513 @: $(MAKE); $(unstage)
11514 @[ -f ./flex/Makefile ] || exit 0; \
11515 r=`${PWD_COMMAND}`; export r; \
11516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11517 $(HOST_EXPORTS) \
11518 for flag in $(EXTRA_HOST_FLAGS) ; do \
11519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11520 done; \
11521 echo "Doing pdf in flex" ; \
11522 (cd $(HOST_SUBDIR)/flex && \
11523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11525 "RANLIB=$${RANLIB}" \
11526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11527 pdf) \
11528 || exit 1
11530 @endif flex
11532 .PHONY: maybe-html-flex html-flex
11533 maybe-html-flex:
11534 @if flex
11535 maybe-html-flex: html-flex
11537 html-flex: \
11538 configure-flex
11539 @: $(MAKE); $(unstage)
11540 @[ -f ./flex/Makefile ] || exit 0; \
11541 r=`${PWD_COMMAND}`; export r; \
11542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11543 $(HOST_EXPORTS) \
11544 for flag in $(EXTRA_HOST_FLAGS) ; do \
11545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11546 done; \
11547 echo "Doing html in flex" ; \
11548 (cd $(HOST_SUBDIR)/flex && \
11549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11551 "RANLIB=$${RANLIB}" \
11552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11553 html) \
11554 || exit 1
11556 @endif flex
11558 .PHONY: maybe-TAGS-flex TAGS-flex
11559 maybe-TAGS-flex:
11560 @if flex
11561 maybe-TAGS-flex: TAGS-flex
11563 TAGS-flex: \
11564 configure-flex
11565 @: $(MAKE); $(unstage)
11566 @[ -f ./flex/Makefile ] || exit 0; \
11567 r=`${PWD_COMMAND}`; export r; \
11568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11569 $(HOST_EXPORTS) \
11570 for flag in $(EXTRA_HOST_FLAGS) ; do \
11571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11572 done; \
11573 echo "Doing TAGS in flex" ; \
11574 (cd $(HOST_SUBDIR)/flex && \
11575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11577 "RANLIB=$${RANLIB}" \
11578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11579 TAGS) \
11580 || exit 1
11582 @endif flex
11584 .PHONY: maybe-install-info-flex install-info-flex
11585 maybe-install-info-flex:
11586 @if flex
11587 maybe-install-info-flex: install-info-flex
11589 install-info-flex: \
11590 configure-flex \
11591 info-flex
11592 @: $(MAKE); $(unstage)
11593 @[ -f ./flex/Makefile ] || exit 0; \
11594 r=`${PWD_COMMAND}`; export r; \
11595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11596 $(HOST_EXPORTS) \
11597 for flag in $(EXTRA_HOST_FLAGS) ; do \
11598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11599 done; \
11600 echo "Doing install-info in flex" ; \
11601 (cd $(HOST_SUBDIR)/flex && \
11602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11604 "RANLIB=$${RANLIB}" \
11605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11606 install-info) \
11607 || exit 1
11609 @endif flex
11611 .PHONY: maybe-install-html-flex install-html-flex
11612 maybe-install-html-flex:
11613 @if flex
11614 maybe-install-html-flex: install-html-flex
11616 install-html-flex: \
11617 configure-flex \
11618 html-flex
11619 @: $(MAKE); $(unstage)
11620 @[ -f ./flex/Makefile ] || exit 0; \
11621 r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 $(HOST_EXPORTS) \
11624 for flag in $(EXTRA_HOST_FLAGS) ; do \
11625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11626 done; \
11627 echo "Doing install-html in flex" ; \
11628 (cd $(HOST_SUBDIR)/flex && \
11629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11631 "RANLIB=$${RANLIB}" \
11632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11633 install-html) \
11634 || exit 1
11636 @endif flex
11638 .PHONY: maybe-installcheck-flex installcheck-flex
11639 maybe-installcheck-flex:
11640 @if flex
11641 maybe-installcheck-flex: installcheck-flex
11643 installcheck-flex: \
11644 configure-flex
11645 @: $(MAKE); $(unstage)
11646 @[ -f ./flex/Makefile ] || exit 0; \
11647 r=`${PWD_COMMAND}`; export r; \
11648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11649 $(HOST_EXPORTS) \
11650 for flag in $(EXTRA_HOST_FLAGS) ; do \
11651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11652 done; \
11653 echo "Doing installcheck in flex" ; \
11654 (cd $(HOST_SUBDIR)/flex && \
11655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11657 "RANLIB=$${RANLIB}" \
11658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11659 installcheck) \
11660 || exit 1
11662 @endif flex
11664 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11665 maybe-mostlyclean-flex:
11666 @if flex
11667 maybe-mostlyclean-flex: mostlyclean-flex
11669 mostlyclean-flex:
11670 @: $(MAKE); $(unstage)
11671 @[ -f ./flex/Makefile ] || exit 0; \
11672 r=`${PWD_COMMAND}`; export r; \
11673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11674 $(HOST_EXPORTS) \
11675 for flag in $(EXTRA_HOST_FLAGS) ; do \
11676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11677 done; \
11678 echo "Doing mostlyclean in flex" ; \
11679 (cd $(HOST_SUBDIR)/flex && \
11680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11682 "RANLIB=$${RANLIB}" \
11683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11684 mostlyclean) \
11685 || exit 1
11687 @endif flex
11689 .PHONY: maybe-clean-flex clean-flex
11690 maybe-clean-flex:
11691 @if flex
11692 maybe-clean-flex: clean-flex
11694 clean-flex:
11695 @: $(MAKE); $(unstage)
11696 @[ -f ./flex/Makefile ] || exit 0; \
11697 r=`${PWD_COMMAND}`; export r; \
11698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11699 $(HOST_EXPORTS) \
11700 for flag in $(EXTRA_HOST_FLAGS) ; do \
11701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11702 done; \
11703 echo "Doing clean in flex" ; \
11704 (cd $(HOST_SUBDIR)/flex && \
11705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11707 "RANLIB=$${RANLIB}" \
11708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11709 clean) \
11710 || exit 1
11712 @endif flex
11714 .PHONY: maybe-distclean-flex distclean-flex
11715 maybe-distclean-flex:
11716 @if flex
11717 maybe-distclean-flex: distclean-flex
11719 distclean-flex:
11720 @: $(MAKE); $(unstage)
11721 @[ -f ./flex/Makefile ] || exit 0; \
11722 r=`${PWD_COMMAND}`; export r; \
11723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11724 $(HOST_EXPORTS) \
11725 for flag in $(EXTRA_HOST_FLAGS) ; do \
11726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11727 done; \
11728 echo "Doing distclean in flex" ; \
11729 (cd $(HOST_SUBDIR)/flex && \
11730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11732 "RANLIB=$${RANLIB}" \
11733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11734 distclean) \
11735 || exit 1
11737 @endif flex
11739 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11740 maybe-maintainer-clean-flex:
11741 @if flex
11742 maybe-maintainer-clean-flex: maintainer-clean-flex
11744 maintainer-clean-flex:
11745 @: $(MAKE); $(unstage)
11746 @[ -f ./flex/Makefile ] || exit 0; \
11747 r=`${PWD_COMMAND}`; export r; \
11748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11749 $(HOST_EXPORTS) \
11750 for flag in $(EXTRA_HOST_FLAGS) ; do \
11751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11752 done; \
11753 echo "Doing maintainer-clean in flex" ; \
11754 (cd $(HOST_SUBDIR)/flex && \
11755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11757 "RANLIB=$${RANLIB}" \
11758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11759 maintainer-clean) \
11760 || exit 1
11762 @endif flex
11766 .PHONY: configure-gas maybe-configure-gas
11767 maybe-configure-gas:
11768 @if gcc-bootstrap
11769 configure-gas: stage_current
11770 @endif gcc-bootstrap
11771 @if gas
11772 maybe-configure-gas: configure-gas
11773 configure-gas:
11774 @r=`${PWD_COMMAND}`; export r; \
11775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11776 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11778 $(HOST_EXPORTS) \
11779 echo Configuring in $(HOST_SUBDIR)/gas; \
11780 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11781 case $(srcdir) in \
11782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11783 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11785 esac; \
11786 srcdiroption="--srcdir=$${topdir}/gas"; \
11787 libsrcdir="$$s/gas"; \
11788 $(SHELL) $${libsrcdir}/configure \
11789 $(HOST_CONFIGARGS) $${srcdiroption} \
11790 || exit 1
11791 @endif gas
11795 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11796 maybe-configure-stage1-gas:
11797 @if gas-bootstrap
11798 maybe-configure-stage1-gas: configure-stage1-gas
11799 configure-stage1-gas:
11800 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11802 @r=`${PWD_COMMAND}`; export r; \
11803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11804 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11805 $(HOST_EXPORTS) \
11806 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11808 cd $(HOST_SUBDIR)/gas || exit 1; \
11809 case $(srcdir) in \
11810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11811 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11813 esac; \
11814 srcdiroption="--srcdir=$${topdir}/gas"; \
11815 libsrcdir="$$s/gas"; \
11816 $(SHELL) $${libsrcdir}/configure \
11817 $(HOST_CONFIGARGS) $${srcdiroption} \
11819 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11820 @endif gas-bootstrap
11822 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11823 maybe-configure-stage2-gas:
11824 @if gas-bootstrap
11825 maybe-configure-stage2-gas: configure-stage2-gas
11826 configure-stage2-gas:
11827 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11829 @r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11832 $(HOST_EXPORTS) \
11833 $(POSTSTAGE1_HOST_EXPORTS) \
11834 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11836 cd $(HOST_SUBDIR)/gas || exit 1; \
11837 case $(srcdir) in \
11838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11839 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11841 esac; \
11842 srcdiroption="--srcdir=$${topdir}/gas"; \
11843 libsrcdir="$$s/gas"; \
11844 $(SHELL) $${libsrcdir}/configure \
11845 $(HOST_CONFIGARGS) $${srcdiroption} \
11846 --with-build-libsubdir=$(HOST_SUBDIR) \
11847 @stage2_werror_flag@
11848 @endif gas-bootstrap
11850 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11851 maybe-configure-stage3-gas:
11852 @if gas-bootstrap
11853 maybe-configure-stage3-gas: configure-stage3-gas
11854 configure-stage3-gas:
11855 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11857 @r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11860 $(HOST_EXPORTS) \
11861 $(POSTSTAGE1_HOST_EXPORTS) \
11862 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11864 cd $(HOST_SUBDIR)/gas || exit 1; \
11865 case $(srcdir) in \
11866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11867 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11869 esac; \
11870 srcdiroption="--srcdir=$${topdir}/gas"; \
11871 libsrcdir="$$s/gas"; \
11872 $(SHELL) $${libsrcdir}/configure \
11873 $(HOST_CONFIGARGS) $${srcdiroption} \
11874 --with-build-libsubdir=$(HOST_SUBDIR) \
11875 @stage2_werror_flag@
11876 @endif gas-bootstrap
11878 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11879 maybe-configure-stage4-gas:
11880 @if gas-bootstrap
11881 maybe-configure-stage4-gas: configure-stage4-gas
11882 configure-stage4-gas:
11883 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11885 @r=`${PWD_COMMAND}`; export r; \
11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11887 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11888 $(HOST_EXPORTS) \
11889 $(POSTSTAGE1_HOST_EXPORTS) \
11890 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11892 cd $(HOST_SUBDIR)/gas || exit 1; \
11893 case $(srcdir) in \
11894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11895 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11897 esac; \
11898 srcdiroption="--srcdir=$${topdir}/gas"; \
11899 libsrcdir="$$s/gas"; \
11900 $(SHELL) $${libsrcdir}/configure \
11901 $(HOST_CONFIGARGS) $${srcdiroption} \
11902 --with-build-libsubdir=$(HOST_SUBDIR) \
11903 @stage2_werror_flag@
11904 @endif gas-bootstrap
11906 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11907 maybe-configure-stageprofile-gas:
11908 @if gas-bootstrap
11909 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11910 configure-stageprofile-gas:
11911 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11913 @r=`${PWD_COMMAND}`; export r; \
11914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11915 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11916 $(HOST_EXPORTS) \
11917 $(POSTSTAGE1_HOST_EXPORTS) \
11918 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11920 cd $(HOST_SUBDIR)/gas || exit 1; \
11921 case $(srcdir) in \
11922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11923 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11925 esac; \
11926 srcdiroption="--srcdir=$${topdir}/gas"; \
11927 libsrcdir="$$s/gas"; \
11928 $(SHELL) $${libsrcdir}/configure \
11929 $(HOST_CONFIGARGS) $${srcdiroption} \
11930 --with-build-libsubdir=$(HOST_SUBDIR) \
11931 @stage2_werror_flag@
11932 @endif gas-bootstrap
11934 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11935 maybe-configure-stagefeedback-gas:
11936 @if gas-bootstrap
11937 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11938 configure-stagefeedback-gas:
11939 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11941 @r=`${PWD_COMMAND}`; export r; \
11942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11943 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11944 $(HOST_EXPORTS) \
11945 $(POSTSTAGE1_HOST_EXPORTS) \
11946 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11948 cd $(HOST_SUBDIR)/gas || exit 1; \
11949 case $(srcdir) in \
11950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11951 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11953 esac; \
11954 srcdiroption="--srcdir=$${topdir}/gas"; \
11955 libsrcdir="$$s/gas"; \
11956 $(SHELL) $${libsrcdir}/configure \
11957 $(HOST_CONFIGARGS) $${srcdiroption} \
11958 --with-build-libsubdir=$(HOST_SUBDIR) \
11959 @stage2_werror_flag@
11960 @endif gas-bootstrap
11966 .PHONY: all-gas maybe-all-gas
11967 maybe-all-gas:
11968 @if gcc-bootstrap
11969 all-gas: stage_current
11970 @endif gcc-bootstrap
11971 @if gas
11972 TARGET-gas=all
11973 maybe-all-gas: all-gas
11974 all-gas: configure-gas
11975 @r=`${PWD_COMMAND}`; export r; \
11976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11977 $(HOST_EXPORTS) \
11978 (cd $(HOST_SUBDIR)/gas && \
11979 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11980 @endif gas
11984 .PHONY: all-stage1-gas maybe-all-stage1-gas
11985 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11986 maybe-all-stage1-gas:
11987 maybe-clean-stage1-gas:
11988 @if gas-bootstrap
11989 maybe-all-stage1-gas: all-stage1-gas
11990 all-stage1: all-stage1-gas
11991 TARGET-stage1-gas = $(TARGET-gas)
11992 all-stage1-gas: configure-stage1-gas
11993 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11994 @r=`${PWD_COMMAND}`; export r; \
11995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11996 $(HOST_EXPORTS) \
11997 cd $(HOST_SUBDIR)/gas && \
11998 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11999 $(TARGET-stage1-gas)
12001 maybe-clean-stage1-gas: clean-stage1-gas
12002 clean-stage1: clean-stage1-gas
12003 clean-stage1-gas:
12004 @if [ $(current_stage) = stage1 ]; then \
12005 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12006 else \
12007 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12008 $(MAKE) stage1-start; \
12009 fi; \
12010 cd $(HOST_SUBDIR)/gas && \
12011 $(MAKE) $(FLAGS_TO_PASS) \
12012 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12013 @endif gas-bootstrap
12016 .PHONY: all-stage2-gas maybe-all-stage2-gas
12017 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12018 maybe-all-stage2-gas:
12019 maybe-clean-stage2-gas:
12020 @if gas-bootstrap
12021 maybe-all-stage2-gas: all-stage2-gas
12022 all-stage2: all-stage2-gas
12023 TARGET-stage2-gas = $(TARGET-gas)
12024 all-stage2-gas: configure-stage2-gas
12025 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12026 @r=`${PWD_COMMAND}`; export r; \
12027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12028 $(HOST_EXPORTS) \
12029 $(POSTSTAGE1_HOST_EXPORTS) \
12030 cd $(HOST_SUBDIR)/gas && \
12031 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12032 $(TARGET-stage2-gas)
12034 maybe-clean-stage2-gas: clean-stage2-gas
12035 clean-stage2: clean-stage2-gas
12036 clean-stage2-gas:
12037 @if [ $(current_stage) = stage2 ]; then \
12038 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12039 else \
12040 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12041 $(MAKE) stage2-start; \
12042 fi; \
12043 cd $(HOST_SUBDIR)/gas && \
12044 $(MAKE) $(FLAGS_TO_PASS) \
12045 $(POSTSTAGE1_FLAGS_TO_PASS) \
12046 clean
12047 @endif gas-bootstrap
12050 .PHONY: all-stage3-gas maybe-all-stage3-gas
12051 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12052 maybe-all-stage3-gas:
12053 maybe-clean-stage3-gas:
12054 @if gas-bootstrap
12055 maybe-all-stage3-gas: all-stage3-gas
12056 all-stage3: all-stage3-gas
12057 TARGET-stage3-gas = $(TARGET-gas)
12058 all-stage3-gas: configure-stage3-gas
12059 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12060 @r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 $(HOST_EXPORTS) \
12063 $(POSTSTAGE1_HOST_EXPORTS) \
12064 cd $(HOST_SUBDIR)/gas && \
12065 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12066 $(TARGET-stage3-gas)
12068 maybe-clean-stage3-gas: clean-stage3-gas
12069 clean-stage3: clean-stage3-gas
12070 clean-stage3-gas:
12071 @if [ $(current_stage) = stage3 ]; then \
12072 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12073 else \
12074 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12075 $(MAKE) stage3-start; \
12076 fi; \
12077 cd $(HOST_SUBDIR)/gas && \
12078 $(MAKE) $(FLAGS_TO_PASS) \
12079 $(POSTSTAGE1_FLAGS_TO_PASS) \
12080 clean
12081 @endif gas-bootstrap
12084 .PHONY: all-stage4-gas maybe-all-stage4-gas
12085 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12086 maybe-all-stage4-gas:
12087 maybe-clean-stage4-gas:
12088 @if gas-bootstrap
12089 maybe-all-stage4-gas: all-stage4-gas
12090 all-stage4: all-stage4-gas
12091 TARGET-stage4-gas = $(TARGET-gas)
12092 all-stage4-gas: configure-stage4-gas
12093 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12094 @r=`${PWD_COMMAND}`; export r; \
12095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096 $(HOST_EXPORTS) \
12097 $(POSTSTAGE1_HOST_EXPORTS) \
12098 cd $(HOST_SUBDIR)/gas && \
12099 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12100 $(TARGET-stage4-gas)
12102 maybe-clean-stage4-gas: clean-stage4-gas
12103 clean-stage4: clean-stage4-gas
12104 clean-stage4-gas:
12105 @if [ $(current_stage) = stage4 ]; then \
12106 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12107 else \
12108 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12109 $(MAKE) stage4-start; \
12110 fi; \
12111 cd $(HOST_SUBDIR)/gas && \
12112 $(MAKE) $(FLAGS_TO_PASS) \
12113 $(POSTSTAGE1_FLAGS_TO_PASS) \
12114 clean
12115 @endif gas-bootstrap
12118 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12119 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12120 maybe-all-stageprofile-gas:
12121 maybe-clean-stageprofile-gas:
12122 @if gas-bootstrap
12123 maybe-all-stageprofile-gas: all-stageprofile-gas
12124 all-stageprofile: all-stageprofile-gas
12125 TARGET-stageprofile-gas = $(TARGET-gas)
12126 all-stageprofile-gas: configure-stageprofile-gas
12127 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12128 @r=`${PWD_COMMAND}`; export r; \
12129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12130 $(HOST_EXPORTS) \
12131 $(POSTSTAGE1_HOST_EXPORTS) \
12132 cd $(HOST_SUBDIR)/gas && \
12133 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12134 $(TARGET-stageprofile-gas)
12136 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12137 clean-stageprofile: clean-stageprofile-gas
12138 clean-stageprofile-gas:
12139 @if [ $(current_stage) = stageprofile ]; then \
12140 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12141 else \
12142 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12143 $(MAKE) stageprofile-start; \
12144 fi; \
12145 cd $(HOST_SUBDIR)/gas && \
12146 $(MAKE) $(FLAGS_TO_PASS) \
12147 $(POSTSTAGE1_FLAGS_TO_PASS) \
12148 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12149 @endif gas-bootstrap
12152 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12153 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12154 maybe-all-stagefeedback-gas:
12155 maybe-clean-stagefeedback-gas:
12156 @if gas-bootstrap
12157 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12158 all-stagefeedback: all-stagefeedback-gas
12159 TARGET-stagefeedback-gas = $(TARGET-gas)
12160 all-stagefeedback-gas: configure-stagefeedback-gas
12161 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12162 @r=`${PWD_COMMAND}`; export r; \
12163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12164 $(HOST_EXPORTS) \
12165 $(POSTSTAGE1_HOST_EXPORTS) \
12166 cd $(HOST_SUBDIR)/gas && \
12167 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12168 $(TARGET-stagefeedback-gas)
12170 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12171 clean-stagefeedback: clean-stagefeedback-gas
12172 clean-stagefeedback-gas:
12173 @if [ $(current_stage) = stagefeedback ]; then \
12174 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12175 else \
12176 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12177 $(MAKE) stagefeedback-start; \
12178 fi; \
12179 cd $(HOST_SUBDIR)/gas && \
12180 $(MAKE) $(FLAGS_TO_PASS) \
12181 $(POSTSTAGE1_FLAGS_TO_PASS) \
12182 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12183 @endif gas-bootstrap
12189 .PHONY: check-gas maybe-check-gas
12190 maybe-check-gas:
12191 @if gas
12192 maybe-check-gas: check-gas
12194 check-gas:
12195 @: $(MAKE); $(unstage)
12196 @r=`${PWD_COMMAND}`; export r; \
12197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12198 $(HOST_EXPORTS) \
12199 (cd $(HOST_SUBDIR)/gas && \
12200 $(MAKE) $(FLAGS_TO_PASS) check)
12202 @endif gas
12204 .PHONY: install-gas maybe-install-gas
12205 maybe-install-gas:
12206 @if gas
12207 maybe-install-gas: install-gas
12209 install-gas: installdirs
12210 @: $(MAKE); $(unstage)
12211 @r=`${PWD_COMMAND}`; export r; \
12212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12213 $(HOST_EXPORTS) \
12214 (cd $(HOST_SUBDIR)/gas && \
12215 $(MAKE) $(FLAGS_TO_PASS) install)
12217 @endif gas
12219 # Other targets (info, dvi, pdf, etc.)
12221 .PHONY: maybe-info-gas info-gas
12222 maybe-info-gas:
12223 @if gas
12224 maybe-info-gas: info-gas
12226 info-gas: \
12227 configure-gas
12228 @[ -f ./gas/Makefile ] || exit 0; \
12229 r=`${PWD_COMMAND}`; export r; \
12230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12231 $(HOST_EXPORTS) \
12232 for flag in $(EXTRA_HOST_FLAGS) ; do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing info in gas" ; \
12236 (cd $(HOST_SUBDIR)/gas && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 info) \
12242 || exit 1
12244 @endif gas
12246 .PHONY: maybe-dvi-gas dvi-gas
12247 maybe-dvi-gas:
12248 @if gas
12249 maybe-dvi-gas: dvi-gas
12251 dvi-gas: \
12252 configure-gas
12253 @[ -f ./gas/Makefile ] || exit 0; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) \
12257 for flag in $(EXTRA_HOST_FLAGS) ; do \
12258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12259 done; \
12260 echo "Doing dvi in gas" ; \
12261 (cd $(HOST_SUBDIR)/gas && \
12262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12264 "RANLIB=$${RANLIB}" \
12265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12266 dvi) \
12267 || exit 1
12269 @endif gas
12271 .PHONY: maybe-pdf-gas pdf-gas
12272 maybe-pdf-gas:
12273 @if gas
12274 maybe-pdf-gas: pdf-gas
12276 pdf-gas: \
12277 configure-gas
12278 @[ -f ./gas/Makefile ] || exit 0; \
12279 r=`${PWD_COMMAND}`; export r; \
12280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12281 $(HOST_EXPORTS) \
12282 for flag in $(EXTRA_HOST_FLAGS) ; do \
12283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12284 done; \
12285 echo "Doing pdf in gas" ; \
12286 (cd $(HOST_SUBDIR)/gas && \
12287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12289 "RANLIB=$${RANLIB}" \
12290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12291 pdf) \
12292 || exit 1
12294 @endif gas
12296 .PHONY: maybe-html-gas html-gas
12297 maybe-html-gas:
12298 @if gas
12299 maybe-html-gas: html-gas
12301 html-gas: \
12302 configure-gas
12303 @[ -f ./gas/Makefile ] || exit 0; \
12304 r=`${PWD_COMMAND}`; export r; \
12305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12306 $(HOST_EXPORTS) \
12307 for flag in $(EXTRA_HOST_FLAGS) ; do \
12308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12309 done; \
12310 echo "Doing html in gas" ; \
12311 (cd $(HOST_SUBDIR)/gas && \
12312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12314 "RANLIB=$${RANLIB}" \
12315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12316 html) \
12317 || exit 1
12319 @endif gas
12321 .PHONY: maybe-TAGS-gas TAGS-gas
12322 maybe-TAGS-gas:
12323 @if gas
12324 maybe-TAGS-gas: TAGS-gas
12326 TAGS-gas: \
12327 configure-gas
12328 @[ -f ./gas/Makefile ] || exit 0; \
12329 r=`${PWD_COMMAND}`; export r; \
12330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12331 $(HOST_EXPORTS) \
12332 for flag in $(EXTRA_HOST_FLAGS) ; do \
12333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12334 done; \
12335 echo "Doing TAGS in gas" ; \
12336 (cd $(HOST_SUBDIR)/gas && \
12337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12339 "RANLIB=$${RANLIB}" \
12340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12341 TAGS) \
12342 || exit 1
12344 @endif gas
12346 .PHONY: maybe-install-info-gas install-info-gas
12347 maybe-install-info-gas:
12348 @if gas
12349 maybe-install-info-gas: install-info-gas
12351 install-info-gas: \
12352 configure-gas \
12353 info-gas
12354 @[ -f ./gas/Makefile ] || exit 0; \
12355 r=`${PWD_COMMAND}`; export r; \
12356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12357 $(HOST_EXPORTS) \
12358 for flag in $(EXTRA_HOST_FLAGS) ; do \
12359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12360 done; \
12361 echo "Doing install-info in gas" ; \
12362 (cd $(HOST_SUBDIR)/gas && \
12363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12365 "RANLIB=$${RANLIB}" \
12366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12367 install-info) \
12368 || exit 1
12370 @endif gas
12372 .PHONY: maybe-install-html-gas install-html-gas
12373 maybe-install-html-gas:
12374 @if gas
12375 maybe-install-html-gas: install-html-gas
12377 install-html-gas: \
12378 configure-gas \
12379 html-gas
12380 @[ -f ./gas/Makefile ] || exit 0; \
12381 r=`${PWD_COMMAND}`; export r; \
12382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12383 $(HOST_EXPORTS) \
12384 for flag in $(EXTRA_HOST_FLAGS) ; do \
12385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12386 done; \
12387 echo "Doing install-html in gas" ; \
12388 (cd $(HOST_SUBDIR)/gas && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12391 "RANLIB=$${RANLIB}" \
12392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12393 install-html) \
12394 || exit 1
12396 @endif gas
12398 .PHONY: maybe-installcheck-gas installcheck-gas
12399 maybe-installcheck-gas:
12400 @if gas
12401 maybe-installcheck-gas: installcheck-gas
12403 installcheck-gas: \
12404 configure-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 installcheck 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 installcheck) \
12419 || exit 1
12421 @endif gas
12423 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12424 maybe-mostlyclean-gas:
12425 @if gas
12426 maybe-mostlyclean-gas: mostlyclean-gas
12428 mostlyclean-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 mostlyclean 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 mostlyclean) \
12443 || exit 1
12445 @endif gas
12447 .PHONY: maybe-clean-gas clean-gas
12448 maybe-clean-gas:
12449 @if gas
12450 maybe-clean-gas: clean-gas
12452 clean-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 clean 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 clean) \
12467 || exit 1
12469 @endif gas
12471 .PHONY: maybe-distclean-gas distclean-gas
12472 maybe-distclean-gas:
12473 @if gas
12474 maybe-distclean-gas: distclean-gas
12476 distclean-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 distclean 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 distclean) \
12491 || exit 1
12493 @endif gas
12495 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12496 maybe-maintainer-clean-gas:
12497 @if gas
12498 maybe-maintainer-clean-gas: maintainer-clean-gas
12500 maintainer-clean-gas:
12501 @[ -f ./gas/Makefile ] || exit 0; \
12502 r=`${PWD_COMMAND}`; export r; \
12503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12504 $(HOST_EXPORTS) \
12505 for flag in $(EXTRA_HOST_FLAGS) ; do \
12506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12507 done; \
12508 echo "Doing maintainer-clean in gas" ; \
12509 (cd $(HOST_SUBDIR)/gas && \
12510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12512 "RANLIB=$${RANLIB}" \
12513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12514 maintainer-clean) \
12515 || exit 1
12517 @endif gas
12521 .PHONY: configure-gcc maybe-configure-gcc
12522 maybe-configure-gcc:
12523 @if gcc-bootstrap
12524 configure-gcc: stage_current
12525 @endif gcc-bootstrap
12526 @if gcc
12527 maybe-configure-gcc: configure-gcc
12528 configure-gcc:
12529 @r=`${PWD_COMMAND}`; export r; \
12530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12531 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12533 $(HOST_EXPORTS) \
12534 echo Configuring in $(HOST_SUBDIR)/gcc; \
12535 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12536 case $(srcdir) in \
12537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12538 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12540 esac; \
12541 srcdiroption="--srcdir=$${topdir}/gcc"; \
12542 libsrcdir="$$s/gcc"; \
12543 $(SHELL) $${libsrcdir}/configure \
12544 $(HOST_CONFIGARGS) $${srcdiroption} \
12545 || exit 1
12546 @endif gcc
12550 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12551 maybe-configure-stage1-gcc:
12552 @if gcc-bootstrap
12553 maybe-configure-stage1-gcc: configure-stage1-gcc
12554 configure-stage1-gcc:
12555 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12557 @r=`${PWD_COMMAND}`; export r; \
12558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12559 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12560 $(HOST_EXPORTS) \
12561 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12563 cd $(HOST_SUBDIR)/gcc || exit 1; \
12564 case $(srcdir) in \
12565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12566 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12568 esac; \
12569 srcdiroption="--srcdir=$${topdir}/gcc"; \
12570 libsrcdir="$$s/gcc"; \
12571 $(SHELL) $${libsrcdir}/configure \
12572 $(HOST_CONFIGARGS) $${srcdiroption} \
12574 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12575 @endif gcc-bootstrap
12577 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12578 maybe-configure-stage2-gcc:
12579 @if gcc-bootstrap
12580 maybe-configure-stage2-gcc: configure-stage2-gcc
12581 configure-stage2-gcc:
12582 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12584 @r=`${PWD_COMMAND}`; export r; \
12585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12586 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12587 $(HOST_EXPORTS) \
12588 $(POSTSTAGE1_HOST_EXPORTS) \
12589 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12591 cd $(HOST_SUBDIR)/gcc || exit 1; \
12592 case $(srcdir) in \
12593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12594 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12596 esac; \
12597 srcdiroption="--srcdir=$${topdir}/gcc"; \
12598 libsrcdir="$$s/gcc"; \
12599 $(SHELL) $${libsrcdir}/configure \
12600 $(HOST_CONFIGARGS) $${srcdiroption} \
12601 --with-build-libsubdir=$(HOST_SUBDIR) \
12602 @stage2_werror_flag@
12603 @endif gcc-bootstrap
12605 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12606 maybe-configure-stage3-gcc:
12607 @if gcc-bootstrap
12608 maybe-configure-stage3-gcc: configure-stage3-gcc
12609 configure-stage3-gcc:
12610 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12612 @r=`${PWD_COMMAND}`; export r; \
12613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12614 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12615 $(HOST_EXPORTS) \
12616 $(POSTSTAGE1_HOST_EXPORTS) \
12617 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12619 cd $(HOST_SUBDIR)/gcc || exit 1; \
12620 case $(srcdir) in \
12621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12622 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12624 esac; \
12625 srcdiroption="--srcdir=$${topdir}/gcc"; \
12626 libsrcdir="$$s/gcc"; \
12627 $(SHELL) $${libsrcdir}/configure \
12628 $(HOST_CONFIGARGS) $${srcdiroption} \
12629 --with-build-libsubdir=$(HOST_SUBDIR) \
12630 @stage2_werror_flag@
12631 @endif gcc-bootstrap
12633 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12634 maybe-configure-stage4-gcc:
12635 @if gcc-bootstrap
12636 maybe-configure-stage4-gcc: configure-stage4-gcc
12637 configure-stage4-gcc:
12638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12640 @r=`${PWD_COMMAND}`; export r; \
12641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12642 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12643 $(HOST_EXPORTS) \
12644 $(POSTSTAGE1_HOST_EXPORTS) \
12645 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12647 cd $(HOST_SUBDIR)/gcc || exit 1; \
12648 case $(srcdir) in \
12649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12650 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12652 esac; \
12653 srcdiroption="--srcdir=$${topdir}/gcc"; \
12654 libsrcdir="$$s/gcc"; \
12655 $(SHELL) $${libsrcdir}/configure \
12656 $(HOST_CONFIGARGS) $${srcdiroption} \
12657 --with-build-libsubdir=$(HOST_SUBDIR) \
12658 @stage2_werror_flag@
12659 @endif gcc-bootstrap
12661 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12662 maybe-configure-stageprofile-gcc:
12663 @if gcc-bootstrap
12664 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12665 configure-stageprofile-gcc:
12666 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12668 @r=`${PWD_COMMAND}`; export r; \
12669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12670 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12671 $(HOST_EXPORTS) \
12672 $(POSTSTAGE1_HOST_EXPORTS) \
12673 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12675 cd $(HOST_SUBDIR)/gcc || exit 1; \
12676 case $(srcdir) in \
12677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12678 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12680 esac; \
12681 srcdiroption="--srcdir=$${topdir}/gcc"; \
12682 libsrcdir="$$s/gcc"; \
12683 $(SHELL) $${libsrcdir}/configure \
12684 $(HOST_CONFIGARGS) $${srcdiroption} \
12685 --with-build-libsubdir=$(HOST_SUBDIR) \
12686 @stage2_werror_flag@
12687 @endif gcc-bootstrap
12689 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12690 maybe-configure-stagefeedback-gcc:
12691 @if gcc-bootstrap
12692 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12693 configure-stagefeedback-gcc:
12694 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12696 @r=`${PWD_COMMAND}`; export r; \
12697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12698 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12699 $(HOST_EXPORTS) \
12700 $(POSTSTAGE1_HOST_EXPORTS) \
12701 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12703 cd $(HOST_SUBDIR)/gcc || exit 1; \
12704 case $(srcdir) in \
12705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12706 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12708 esac; \
12709 srcdiroption="--srcdir=$${topdir}/gcc"; \
12710 libsrcdir="$$s/gcc"; \
12711 $(SHELL) $${libsrcdir}/configure \
12712 $(HOST_CONFIGARGS) $${srcdiroption} \
12713 --with-build-libsubdir=$(HOST_SUBDIR) \
12714 @stage2_werror_flag@
12715 @endif gcc-bootstrap
12721 .PHONY: all-gcc maybe-all-gcc
12722 maybe-all-gcc:
12723 @if gcc-bootstrap
12724 all-gcc: stage_current
12725 @endif gcc-bootstrap
12726 @if gcc
12727 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12728 maybe-all-gcc: all-gcc
12729 all-gcc: configure-gcc
12730 @r=`${PWD_COMMAND}`; export r; \
12731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12732 $(HOST_EXPORTS) \
12733 (cd $(HOST_SUBDIR)/gcc && \
12734 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12735 @endif gcc
12739 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12740 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12741 maybe-all-stage1-gcc:
12742 maybe-clean-stage1-gcc:
12743 @if gcc-bootstrap
12744 maybe-all-stage1-gcc: all-stage1-gcc
12745 all-stage1: all-stage1-gcc
12746 TARGET-stage1-gcc = $(TARGET-gcc)
12747 all-stage1-gcc: configure-stage1-gcc
12748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12749 @r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(HOST_EXPORTS) \
12752 cd $(HOST_SUBDIR)/gcc && \
12753 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12754 $(TARGET-stage1-gcc)
12756 maybe-clean-stage1-gcc: clean-stage1-gcc
12757 clean-stage1: clean-stage1-gcc
12758 clean-stage1-gcc:
12759 @if [ $(current_stage) = stage1 ]; then \
12760 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12761 else \
12762 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12763 $(MAKE) stage1-start; \
12764 fi; \
12765 cd $(HOST_SUBDIR)/gcc && \
12766 $(MAKE) $(FLAGS_TO_PASS) \
12767 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12768 @endif gcc-bootstrap
12771 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12772 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12773 maybe-all-stage2-gcc:
12774 maybe-clean-stage2-gcc:
12775 @if gcc-bootstrap
12776 maybe-all-stage2-gcc: all-stage2-gcc
12777 all-stage2: all-stage2-gcc
12778 TARGET-stage2-gcc = $(TARGET-gcc)
12779 all-stage2-gcc: configure-stage2-gcc
12780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12781 @r=`${PWD_COMMAND}`; export r; \
12782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12783 $(HOST_EXPORTS) \
12784 $(POSTSTAGE1_HOST_EXPORTS) \
12785 cd $(HOST_SUBDIR)/gcc && \
12786 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12787 $(TARGET-stage2-gcc)
12789 maybe-clean-stage2-gcc: clean-stage2-gcc
12790 clean-stage2: clean-stage2-gcc
12791 clean-stage2-gcc:
12792 @if [ $(current_stage) = stage2 ]; then \
12793 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12794 else \
12795 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12796 $(MAKE) stage2-start; \
12797 fi; \
12798 cd $(HOST_SUBDIR)/gcc && \
12799 $(MAKE) $(FLAGS_TO_PASS) \
12800 $(POSTSTAGE1_FLAGS_TO_PASS) \
12801 $(EXTRA_GCC_FLAGS) clean
12802 @endif gcc-bootstrap
12805 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12806 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12807 maybe-all-stage3-gcc:
12808 maybe-clean-stage3-gcc:
12809 @if gcc-bootstrap
12810 maybe-all-stage3-gcc: all-stage3-gcc
12811 all-stage3: all-stage3-gcc
12812 TARGET-stage3-gcc = $(TARGET-gcc)
12813 all-stage3-gcc: configure-stage3-gcc
12814 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12815 @r=`${PWD_COMMAND}`; export r; \
12816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12817 $(HOST_EXPORTS) \
12818 $(POSTSTAGE1_HOST_EXPORTS) \
12819 cd $(HOST_SUBDIR)/gcc && \
12820 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12821 $(TARGET-stage3-gcc)
12823 maybe-clean-stage3-gcc: clean-stage3-gcc
12824 clean-stage3: clean-stage3-gcc
12825 clean-stage3-gcc:
12826 @if [ $(current_stage) = stage3 ]; then \
12827 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12828 else \
12829 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12830 $(MAKE) stage3-start; \
12831 fi; \
12832 cd $(HOST_SUBDIR)/gcc && \
12833 $(MAKE) $(FLAGS_TO_PASS) \
12834 $(POSTSTAGE1_FLAGS_TO_PASS) \
12835 $(EXTRA_GCC_FLAGS) clean
12836 @endif gcc-bootstrap
12839 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12840 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12841 maybe-all-stage4-gcc:
12842 maybe-clean-stage4-gcc:
12843 @if gcc-bootstrap
12844 maybe-all-stage4-gcc: all-stage4-gcc
12845 all-stage4: all-stage4-gcc
12846 TARGET-stage4-gcc = $(TARGET-gcc)
12847 all-stage4-gcc: configure-stage4-gcc
12848 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12849 @r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(HOST_EXPORTS) \
12852 $(POSTSTAGE1_HOST_EXPORTS) \
12853 cd $(HOST_SUBDIR)/gcc && \
12854 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12855 $(TARGET-stage4-gcc)
12857 maybe-clean-stage4-gcc: clean-stage4-gcc
12858 clean-stage4: clean-stage4-gcc
12859 clean-stage4-gcc:
12860 @if [ $(current_stage) = stage4 ]; then \
12861 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12862 else \
12863 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12864 $(MAKE) stage4-start; \
12865 fi; \
12866 cd $(HOST_SUBDIR)/gcc && \
12867 $(MAKE) $(FLAGS_TO_PASS) \
12868 $(POSTSTAGE1_FLAGS_TO_PASS) \
12869 $(EXTRA_GCC_FLAGS) clean
12870 @endif gcc-bootstrap
12873 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12874 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12875 maybe-all-stageprofile-gcc:
12876 maybe-clean-stageprofile-gcc:
12877 @if gcc-bootstrap
12878 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12879 all-stageprofile: all-stageprofile-gcc
12880 TARGET-stageprofile-gcc = $(TARGET-gcc)
12881 all-stageprofile-gcc: configure-stageprofile-gcc
12882 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12883 @r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 $(HOST_EXPORTS) \
12886 $(POSTSTAGE1_HOST_EXPORTS) \
12887 cd $(HOST_SUBDIR)/gcc && \
12888 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12889 $(TARGET-stageprofile-gcc)
12891 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12892 clean-stageprofile: clean-stageprofile-gcc
12893 clean-stageprofile-gcc:
12894 @if [ $(current_stage) = stageprofile ]; then \
12895 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12896 else \
12897 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12898 $(MAKE) stageprofile-start; \
12899 fi; \
12900 cd $(HOST_SUBDIR)/gcc && \
12901 $(MAKE) $(FLAGS_TO_PASS) \
12902 $(POSTSTAGE1_FLAGS_TO_PASS) \
12903 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12904 @endif gcc-bootstrap
12907 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12908 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12909 maybe-all-stagefeedback-gcc:
12910 maybe-clean-stagefeedback-gcc:
12911 @if gcc-bootstrap
12912 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12913 all-stagefeedback: all-stagefeedback-gcc
12914 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12915 all-stagefeedback-gcc: configure-stagefeedback-gcc
12916 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12917 @r=`${PWD_COMMAND}`; export r; \
12918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12919 $(HOST_EXPORTS) \
12920 $(POSTSTAGE1_HOST_EXPORTS) \
12921 cd $(HOST_SUBDIR)/gcc && \
12922 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12923 $(TARGET-stagefeedback-gcc)
12925 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12926 clean-stagefeedback: clean-stagefeedback-gcc
12927 clean-stagefeedback-gcc:
12928 @if [ $(current_stage) = stagefeedback ]; then \
12929 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12930 else \
12931 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12932 $(MAKE) stagefeedback-start; \
12933 fi; \
12934 cd $(HOST_SUBDIR)/gcc && \
12935 $(MAKE) $(FLAGS_TO_PASS) \
12936 $(POSTSTAGE1_FLAGS_TO_PASS) \
12937 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12938 @endif gcc-bootstrap
12944 .PHONY: check-gcc maybe-check-gcc
12945 maybe-check-gcc:
12946 @if gcc
12947 maybe-check-gcc: check-gcc
12949 check-gcc:
12950 @: $(MAKE); $(unstage)
12951 @r=`${PWD_COMMAND}`; export r; \
12952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12953 $(HOST_EXPORTS) \
12954 (cd $(HOST_SUBDIR)/gcc && \
12955 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12957 @endif gcc
12959 .PHONY: install-gcc maybe-install-gcc
12960 maybe-install-gcc:
12961 @if gcc
12962 maybe-install-gcc: install-gcc
12964 install-gcc: installdirs
12965 @: $(MAKE); $(unstage)
12966 @r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12968 $(HOST_EXPORTS) \
12969 (cd $(HOST_SUBDIR)/gcc && \
12970 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12972 @endif gcc
12974 # Other targets (info, dvi, pdf, etc.)
12976 .PHONY: maybe-info-gcc info-gcc
12977 maybe-info-gcc:
12978 @if gcc
12979 maybe-info-gcc: info-gcc
12981 info-gcc: \
12982 configure-gcc
12983 @[ -f ./gcc/Makefile ] || exit 0; \
12984 r=`${PWD_COMMAND}`; export r; \
12985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12986 $(HOST_EXPORTS) \
12987 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12989 done; \
12990 echo "Doing info in gcc" ; \
12991 (cd $(HOST_SUBDIR)/gcc && \
12992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12994 "RANLIB=$${RANLIB}" \
12995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12996 info) \
12997 || exit 1
12999 @endif gcc
13001 .PHONY: maybe-dvi-gcc dvi-gcc
13002 maybe-dvi-gcc:
13003 @if gcc
13004 maybe-dvi-gcc: dvi-gcc
13006 dvi-gcc: \
13007 configure-gcc
13008 @[ -f ./gcc/Makefile ] || exit 0; \
13009 r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 $(HOST_EXPORTS) \
13012 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13014 done; \
13015 echo "Doing dvi in gcc" ; \
13016 (cd $(HOST_SUBDIR)/gcc && \
13017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13019 "RANLIB=$${RANLIB}" \
13020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13021 dvi) \
13022 || exit 1
13024 @endif gcc
13026 .PHONY: maybe-pdf-gcc pdf-gcc
13027 maybe-pdf-gcc:
13028 @if gcc
13029 maybe-pdf-gcc: pdf-gcc
13031 pdf-gcc: \
13032 configure-gcc
13033 @[ -f ./gcc/Makefile ] || exit 0; \
13034 r=`${PWD_COMMAND}`; export r; \
13035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13036 $(HOST_EXPORTS) \
13037 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13039 done; \
13040 echo "Doing pdf in gcc" ; \
13041 (cd $(HOST_SUBDIR)/gcc && \
13042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13044 "RANLIB=$${RANLIB}" \
13045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13046 pdf) \
13047 || exit 1
13049 @endif gcc
13051 .PHONY: maybe-html-gcc html-gcc
13052 maybe-html-gcc:
13053 @if gcc
13054 maybe-html-gcc: html-gcc
13056 html-gcc: \
13057 configure-gcc
13058 @[ -f ./gcc/Makefile ] || exit 0; \
13059 r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 $(HOST_EXPORTS) \
13062 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13064 done; \
13065 echo "Doing html in gcc" ; \
13066 (cd $(HOST_SUBDIR)/gcc && \
13067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13069 "RANLIB=$${RANLIB}" \
13070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13071 html) \
13072 || exit 1
13074 @endif gcc
13076 .PHONY: maybe-TAGS-gcc TAGS-gcc
13077 maybe-TAGS-gcc:
13078 @if gcc
13079 maybe-TAGS-gcc: TAGS-gcc
13081 TAGS-gcc: \
13082 configure-gcc
13083 @[ -f ./gcc/Makefile ] || exit 0; \
13084 r=`${PWD_COMMAND}`; export r; \
13085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13086 $(HOST_EXPORTS) \
13087 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13089 done; \
13090 echo "Doing TAGS in gcc" ; \
13091 (cd $(HOST_SUBDIR)/gcc && \
13092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13094 "RANLIB=$${RANLIB}" \
13095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13096 TAGS) \
13097 || exit 1
13099 @endif gcc
13101 .PHONY: maybe-install-info-gcc install-info-gcc
13102 maybe-install-info-gcc:
13103 @if gcc
13104 maybe-install-info-gcc: install-info-gcc
13106 install-info-gcc: \
13107 configure-gcc \
13108 info-gcc
13109 @[ -f ./gcc/Makefile ] || exit 0; \
13110 r=`${PWD_COMMAND}`; export r; \
13111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13112 $(HOST_EXPORTS) \
13113 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13115 done; \
13116 echo "Doing install-info in gcc" ; \
13117 (cd $(HOST_SUBDIR)/gcc && \
13118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13120 "RANLIB=$${RANLIB}" \
13121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13122 install-info) \
13123 || exit 1
13125 @endif gcc
13127 .PHONY: maybe-install-html-gcc install-html-gcc
13128 maybe-install-html-gcc:
13129 @if gcc
13130 maybe-install-html-gcc: install-html-gcc
13132 install-html-gcc: \
13133 configure-gcc \
13134 html-gcc
13135 @[ -f ./gcc/Makefile ] || exit 0; \
13136 r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 $(HOST_EXPORTS) \
13139 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13141 done; \
13142 echo "Doing install-html in gcc" ; \
13143 (cd $(HOST_SUBDIR)/gcc && \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13146 "RANLIB=$${RANLIB}" \
13147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13148 install-html) \
13149 || exit 1
13151 @endif gcc
13153 .PHONY: maybe-installcheck-gcc installcheck-gcc
13154 maybe-installcheck-gcc:
13155 @if gcc
13156 maybe-installcheck-gcc: installcheck-gcc
13158 installcheck-gcc: \
13159 configure-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 installcheck 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 installcheck) \
13174 || exit 1
13176 @endif gcc
13178 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13179 maybe-mostlyclean-gcc:
13180 @if gcc
13181 maybe-mostlyclean-gcc: mostlyclean-gcc
13183 mostlyclean-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 mostlyclean 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 mostlyclean) \
13198 || exit 1
13200 @endif gcc
13202 .PHONY: maybe-clean-gcc clean-gcc
13203 maybe-clean-gcc:
13204 @if gcc
13205 maybe-clean-gcc: clean-gcc
13207 clean-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 clean 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 clean) \
13222 || exit 1
13224 @endif gcc
13226 .PHONY: maybe-distclean-gcc distclean-gcc
13227 maybe-distclean-gcc:
13228 @if gcc
13229 maybe-distclean-gcc: distclean-gcc
13231 distclean-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 distclean 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 distclean) \
13246 || exit 1
13248 @endif gcc
13250 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13251 maybe-maintainer-clean-gcc:
13252 @if gcc
13253 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13255 maintainer-clean-gcc:
13256 @[ -f ./gcc/Makefile ] || exit 0; \
13257 r=`${PWD_COMMAND}`; export r; \
13258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13259 $(HOST_EXPORTS) \
13260 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13262 done; \
13263 echo "Doing maintainer-clean in gcc" ; \
13264 (cd $(HOST_SUBDIR)/gcc && \
13265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13267 "RANLIB=$${RANLIB}" \
13268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13269 maintainer-clean) \
13270 || exit 1
13272 @endif gcc
13276 .PHONY: configure-gawk maybe-configure-gawk
13277 maybe-configure-gawk:
13278 @if gcc-bootstrap
13279 configure-gawk: stage_current
13280 @endif gcc-bootstrap
13281 @if gawk
13282 maybe-configure-gawk: configure-gawk
13283 configure-gawk:
13284 @: $(MAKE); $(unstage)
13285 @r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13289 $(HOST_EXPORTS) \
13290 echo Configuring in $(HOST_SUBDIR)/gawk; \
13291 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13292 case $(srcdir) in \
13293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13294 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13296 esac; \
13297 srcdiroption="--srcdir=$${topdir}/gawk"; \
13298 libsrcdir="$$s/gawk"; \
13299 $(SHELL) $${libsrcdir}/configure \
13300 $(HOST_CONFIGARGS) $${srcdiroption} \
13301 || exit 1
13302 @endif gawk
13308 .PHONY: all-gawk maybe-all-gawk
13309 maybe-all-gawk:
13310 @if gcc-bootstrap
13311 all-gawk: stage_current
13312 @endif gcc-bootstrap
13313 @if gawk
13314 TARGET-gawk=all
13315 maybe-all-gawk: all-gawk
13316 all-gawk: configure-gawk
13317 @: $(MAKE); $(unstage)
13318 @r=`${PWD_COMMAND}`; export r; \
13319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13320 $(HOST_EXPORTS) \
13321 (cd $(HOST_SUBDIR)/gawk && \
13322 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13323 @endif gawk
13328 .PHONY: check-gawk maybe-check-gawk
13329 maybe-check-gawk:
13330 @if gawk
13331 maybe-check-gawk: check-gawk
13333 check-gawk:
13334 @: $(MAKE); $(unstage)
13335 @r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(HOST_EXPORTS) \
13338 (cd $(HOST_SUBDIR)/gawk && \
13339 $(MAKE) $(FLAGS_TO_PASS) check)
13341 @endif gawk
13343 .PHONY: install-gawk maybe-install-gawk
13344 maybe-install-gawk:
13345 @if gawk
13346 maybe-install-gawk: install-gawk
13348 install-gawk: installdirs
13349 @: $(MAKE); $(unstage)
13350 @r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352 $(HOST_EXPORTS) \
13353 (cd $(HOST_SUBDIR)/gawk && \
13354 $(MAKE) $(FLAGS_TO_PASS) install)
13356 @endif gawk
13358 # Other targets (info, dvi, pdf, etc.)
13360 .PHONY: maybe-info-gawk info-gawk
13361 maybe-info-gawk:
13362 @if gawk
13363 maybe-info-gawk: info-gawk
13365 info-gawk: \
13366 configure-gawk
13367 @: $(MAKE); $(unstage)
13368 @[ -f ./gawk/Makefile ] || exit 0; \
13369 r=`${PWD_COMMAND}`; export r; \
13370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13371 $(HOST_EXPORTS) \
13372 for flag in $(EXTRA_HOST_FLAGS) ; do \
13373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13374 done; \
13375 echo "Doing info in gawk" ; \
13376 (cd $(HOST_SUBDIR)/gawk && \
13377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13379 "RANLIB=$${RANLIB}" \
13380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13381 info) \
13382 || exit 1
13384 @endif gawk
13386 .PHONY: maybe-dvi-gawk dvi-gawk
13387 maybe-dvi-gawk:
13388 @if gawk
13389 maybe-dvi-gawk: dvi-gawk
13391 dvi-gawk: \
13392 configure-gawk
13393 @: $(MAKE); $(unstage)
13394 @[ -f ./gawk/Makefile ] || exit 0; \
13395 r=`${PWD_COMMAND}`; export r; \
13396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13397 $(HOST_EXPORTS) \
13398 for flag in $(EXTRA_HOST_FLAGS) ; do \
13399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13400 done; \
13401 echo "Doing dvi in gawk" ; \
13402 (cd $(HOST_SUBDIR)/gawk && \
13403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13405 "RANLIB=$${RANLIB}" \
13406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13407 dvi) \
13408 || exit 1
13410 @endif gawk
13412 .PHONY: maybe-pdf-gawk pdf-gawk
13413 maybe-pdf-gawk:
13414 @if gawk
13415 maybe-pdf-gawk: pdf-gawk
13417 pdf-gawk: \
13418 configure-gawk
13419 @: $(MAKE); $(unstage)
13420 @[ -f ./gawk/Makefile ] || exit 0; \
13421 r=`${PWD_COMMAND}`; export r; \
13422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13423 $(HOST_EXPORTS) \
13424 for flag in $(EXTRA_HOST_FLAGS) ; do \
13425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13426 done; \
13427 echo "Doing pdf in gawk" ; \
13428 (cd $(HOST_SUBDIR)/gawk && \
13429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13431 "RANLIB=$${RANLIB}" \
13432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13433 pdf) \
13434 || exit 1
13436 @endif gawk
13438 .PHONY: maybe-html-gawk html-gawk
13439 maybe-html-gawk:
13440 @if gawk
13441 maybe-html-gawk: html-gawk
13443 html-gawk: \
13444 configure-gawk
13445 @: $(MAKE); $(unstage)
13446 @[ -f ./gawk/Makefile ] || exit 0; \
13447 r=`${PWD_COMMAND}`; export r; \
13448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13449 $(HOST_EXPORTS) \
13450 for flag in $(EXTRA_HOST_FLAGS) ; do \
13451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13452 done; \
13453 echo "Doing html in gawk" ; \
13454 (cd $(HOST_SUBDIR)/gawk && \
13455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13457 "RANLIB=$${RANLIB}" \
13458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13459 html) \
13460 || exit 1
13462 @endif gawk
13464 .PHONY: maybe-TAGS-gawk TAGS-gawk
13465 maybe-TAGS-gawk:
13466 @if gawk
13467 maybe-TAGS-gawk: TAGS-gawk
13469 TAGS-gawk: \
13470 configure-gawk
13471 @: $(MAKE); $(unstage)
13472 @[ -f ./gawk/Makefile ] || exit 0; \
13473 r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13475 $(HOST_EXPORTS) \
13476 for flag in $(EXTRA_HOST_FLAGS) ; do \
13477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13478 done; \
13479 echo "Doing TAGS in gawk" ; \
13480 (cd $(HOST_SUBDIR)/gawk && \
13481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13483 "RANLIB=$${RANLIB}" \
13484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13485 TAGS) \
13486 || exit 1
13488 @endif gawk
13490 .PHONY: maybe-install-info-gawk install-info-gawk
13491 maybe-install-info-gawk:
13492 @if gawk
13493 maybe-install-info-gawk: install-info-gawk
13495 install-info-gawk: \
13496 configure-gawk \
13497 info-gawk
13498 @: $(MAKE); $(unstage)
13499 @[ -f ./gawk/Makefile ] || exit 0; \
13500 r=`${PWD_COMMAND}`; export r; \
13501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13502 $(HOST_EXPORTS) \
13503 for flag in $(EXTRA_HOST_FLAGS) ; do \
13504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13505 done; \
13506 echo "Doing install-info in gawk" ; \
13507 (cd $(HOST_SUBDIR)/gawk && \
13508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13510 "RANLIB=$${RANLIB}" \
13511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13512 install-info) \
13513 || exit 1
13515 @endif gawk
13517 .PHONY: maybe-install-html-gawk install-html-gawk
13518 maybe-install-html-gawk:
13519 @if gawk
13520 maybe-install-html-gawk: install-html-gawk
13522 install-html-gawk: \
13523 configure-gawk \
13524 html-gawk
13525 @: $(MAKE); $(unstage)
13526 @[ -f ./gawk/Makefile ] || exit 0; \
13527 r=`${PWD_COMMAND}`; export r; \
13528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13529 $(HOST_EXPORTS) \
13530 for flag in $(EXTRA_HOST_FLAGS) ; do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13532 done; \
13533 echo "Doing install-html in gawk" ; \
13534 (cd $(HOST_SUBDIR)/gawk && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13539 install-html) \
13540 || exit 1
13542 @endif gawk
13544 .PHONY: maybe-installcheck-gawk installcheck-gawk
13545 maybe-installcheck-gawk:
13546 @if gawk
13547 maybe-installcheck-gawk: installcheck-gawk
13549 installcheck-gawk: \
13550 configure-gawk
13551 @: $(MAKE); $(unstage)
13552 @[ -f ./gawk/Makefile ] || exit 0; \
13553 r=`${PWD_COMMAND}`; export r; \
13554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13555 $(HOST_EXPORTS) \
13556 for flag in $(EXTRA_HOST_FLAGS) ; do \
13557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13558 done; \
13559 echo "Doing installcheck in gawk" ; \
13560 (cd $(HOST_SUBDIR)/gawk && \
13561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13563 "RANLIB=$${RANLIB}" \
13564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13565 installcheck) \
13566 || exit 1
13568 @endif gawk
13570 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13571 maybe-mostlyclean-gawk:
13572 @if gawk
13573 maybe-mostlyclean-gawk: mostlyclean-gawk
13575 mostlyclean-gawk:
13576 @: $(MAKE); $(unstage)
13577 @[ -f ./gawk/Makefile ] || exit 0; \
13578 r=`${PWD_COMMAND}`; export r; \
13579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13580 $(HOST_EXPORTS) \
13581 for flag in $(EXTRA_HOST_FLAGS) ; do \
13582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13583 done; \
13584 echo "Doing mostlyclean in gawk" ; \
13585 (cd $(HOST_SUBDIR)/gawk && \
13586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13588 "RANLIB=$${RANLIB}" \
13589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13590 mostlyclean) \
13591 || exit 1
13593 @endif gawk
13595 .PHONY: maybe-clean-gawk clean-gawk
13596 maybe-clean-gawk:
13597 @if gawk
13598 maybe-clean-gawk: clean-gawk
13600 clean-gawk:
13601 @: $(MAKE); $(unstage)
13602 @[ -f ./gawk/Makefile ] || exit 0; \
13603 r=`${PWD_COMMAND}`; export r; \
13604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13605 $(HOST_EXPORTS) \
13606 for flag in $(EXTRA_HOST_FLAGS) ; do \
13607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13608 done; \
13609 echo "Doing clean in gawk" ; \
13610 (cd $(HOST_SUBDIR)/gawk && \
13611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13613 "RANLIB=$${RANLIB}" \
13614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13615 clean) \
13616 || exit 1
13618 @endif gawk
13620 .PHONY: maybe-distclean-gawk distclean-gawk
13621 maybe-distclean-gawk:
13622 @if gawk
13623 maybe-distclean-gawk: distclean-gawk
13625 distclean-gawk:
13626 @: $(MAKE); $(unstage)
13627 @[ -f ./gawk/Makefile ] || exit 0; \
13628 r=`${PWD_COMMAND}`; export r; \
13629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13630 $(HOST_EXPORTS) \
13631 for flag in $(EXTRA_HOST_FLAGS) ; do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633 done; \
13634 echo "Doing distclean in gawk" ; \
13635 (cd $(HOST_SUBDIR)/gawk && \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13640 distclean) \
13641 || exit 1
13643 @endif gawk
13645 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13646 maybe-maintainer-clean-gawk:
13647 @if gawk
13648 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13650 maintainer-clean-gawk:
13651 @: $(MAKE); $(unstage)
13652 @[ -f ./gawk/Makefile ] || exit 0; \
13653 r=`${PWD_COMMAND}`; export r; \
13654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13655 $(HOST_EXPORTS) \
13656 for flag in $(EXTRA_HOST_FLAGS) ; do \
13657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13658 done; \
13659 echo "Doing maintainer-clean in gawk" ; \
13660 (cd $(HOST_SUBDIR)/gawk && \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13665 maintainer-clean) \
13666 || exit 1
13668 @endif gawk
13672 .PHONY: configure-gettext maybe-configure-gettext
13673 maybe-configure-gettext:
13674 @if gcc-bootstrap
13675 configure-gettext: stage_current
13676 @endif gcc-bootstrap
13677 @if gettext
13678 maybe-configure-gettext: configure-gettext
13679 configure-gettext:
13680 @: $(MAKE); $(unstage)
13681 @r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13685 $(HOST_EXPORTS) \
13686 echo Configuring in $(HOST_SUBDIR)/gettext; \
13687 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13688 case $(srcdir) in \
13689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13690 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13692 esac; \
13693 srcdiroption="--srcdir=$${topdir}/gettext"; \
13694 libsrcdir="$$s/gettext"; \
13695 $(SHELL) $${libsrcdir}/configure \
13696 $(HOST_CONFIGARGS) $${srcdiroption} \
13697 || exit 1
13698 @endif gettext
13704 .PHONY: all-gettext maybe-all-gettext
13705 maybe-all-gettext:
13706 @if gcc-bootstrap
13707 all-gettext: stage_current
13708 @endif gcc-bootstrap
13709 @if gettext
13710 TARGET-gettext=all
13711 maybe-all-gettext: all-gettext
13712 all-gettext: configure-gettext
13713 @: $(MAKE); $(unstage)
13714 @r=`${PWD_COMMAND}`; export r; \
13715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13716 $(HOST_EXPORTS) \
13717 (cd $(HOST_SUBDIR)/gettext && \
13718 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13719 @endif gettext
13724 .PHONY: check-gettext maybe-check-gettext
13725 maybe-check-gettext:
13726 @if gettext
13727 maybe-check-gettext: check-gettext
13729 check-gettext:
13730 @: $(MAKE); $(unstage)
13731 @r=`${PWD_COMMAND}`; export r; \
13732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13733 $(HOST_EXPORTS) \
13734 (cd $(HOST_SUBDIR)/gettext && \
13735 $(MAKE) $(FLAGS_TO_PASS) check)
13737 @endif gettext
13739 .PHONY: install-gettext maybe-install-gettext
13740 maybe-install-gettext:
13741 @if gettext
13742 maybe-install-gettext: install-gettext
13744 install-gettext: installdirs
13745 @: $(MAKE); $(unstage)
13746 @r=`${PWD_COMMAND}`; export r; \
13747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13748 $(HOST_EXPORTS) \
13749 (cd $(HOST_SUBDIR)/gettext && \
13750 $(MAKE) $(FLAGS_TO_PASS) install)
13752 @endif gettext
13754 # Other targets (info, dvi, pdf, etc.)
13756 .PHONY: maybe-info-gettext info-gettext
13757 maybe-info-gettext:
13758 @if gettext
13759 maybe-info-gettext: info-gettext
13761 info-gettext: \
13762 configure-gettext
13763 @: $(MAKE); $(unstage)
13764 @[ -f ./gettext/Makefile ] || exit 0; \
13765 r=`${PWD_COMMAND}`; export r; \
13766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13767 $(HOST_EXPORTS) \
13768 for flag in $(EXTRA_HOST_FLAGS) ; do \
13769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13770 done; \
13771 echo "Doing info in gettext" ; \
13772 (cd $(HOST_SUBDIR)/gettext && \
13773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13775 "RANLIB=$${RANLIB}" \
13776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13777 info) \
13778 || exit 1
13780 @endif gettext
13782 .PHONY: maybe-dvi-gettext dvi-gettext
13783 maybe-dvi-gettext:
13784 @if gettext
13785 maybe-dvi-gettext: dvi-gettext
13787 dvi-gettext: \
13788 configure-gettext
13789 @: $(MAKE); $(unstage)
13790 @[ -f ./gettext/Makefile ] || exit 0; \
13791 r=`${PWD_COMMAND}`; export r; \
13792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13793 $(HOST_EXPORTS) \
13794 for flag in $(EXTRA_HOST_FLAGS) ; do \
13795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13796 done; \
13797 echo "Doing dvi in gettext" ; \
13798 (cd $(HOST_SUBDIR)/gettext && \
13799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13801 "RANLIB=$${RANLIB}" \
13802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13803 dvi) \
13804 || exit 1
13806 @endif gettext
13808 .PHONY: maybe-pdf-gettext pdf-gettext
13809 maybe-pdf-gettext:
13810 @if gettext
13811 maybe-pdf-gettext: pdf-gettext
13813 pdf-gettext: \
13814 configure-gettext
13815 @: $(MAKE); $(unstage)
13816 @[ -f ./gettext/Makefile ] || exit 0; \
13817 r=`${PWD_COMMAND}`; export r; \
13818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13819 $(HOST_EXPORTS) \
13820 for flag in $(EXTRA_HOST_FLAGS) ; do \
13821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13822 done; \
13823 echo "Doing pdf in gettext" ; \
13824 (cd $(HOST_SUBDIR)/gettext && \
13825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13827 "RANLIB=$${RANLIB}" \
13828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13829 pdf) \
13830 || exit 1
13832 @endif gettext
13834 .PHONY: maybe-html-gettext html-gettext
13835 maybe-html-gettext:
13836 @if gettext
13837 maybe-html-gettext: html-gettext
13839 html-gettext: \
13840 configure-gettext
13841 @: $(MAKE); $(unstage)
13842 @[ -f ./gettext/Makefile ] || exit 0; \
13843 r=`${PWD_COMMAND}`; export r; \
13844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13845 $(HOST_EXPORTS) \
13846 for flag in $(EXTRA_HOST_FLAGS) ; do \
13847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13848 done; \
13849 echo "Doing html in gettext" ; \
13850 (cd $(HOST_SUBDIR)/gettext && \
13851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13853 "RANLIB=$${RANLIB}" \
13854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13855 html) \
13856 || exit 1
13858 @endif gettext
13860 .PHONY: maybe-TAGS-gettext TAGS-gettext
13861 maybe-TAGS-gettext:
13862 @if gettext
13863 maybe-TAGS-gettext: TAGS-gettext
13865 TAGS-gettext: \
13866 configure-gettext
13867 @: $(MAKE); $(unstage)
13868 @[ -f ./gettext/Makefile ] || exit 0; \
13869 r=`${PWD_COMMAND}`; export r; \
13870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13871 $(HOST_EXPORTS) \
13872 for flag in $(EXTRA_HOST_FLAGS) ; do \
13873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13874 done; \
13875 echo "Doing TAGS in gettext" ; \
13876 (cd $(HOST_SUBDIR)/gettext && \
13877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13879 "RANLIB=$${RANLIB}" \
13880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13881 TAGS) \
13882 || exit 1
13884 @endif gettext
13886 .PHONY: maybe-install-info-gettext install-info-gettext
13887 maybe-install-info-gettext:
13888 @if gettext
13889 maybe-install-info-gettext: install-info-gettext
13891 install-info-gettext: \
13892 configure-gettext \
13893 info-gettext
13894 @: $(MAKE); $(unstage)
13895 @[ -f ./gettext/Makefile ] || exit 0; \
13896 r=`${PWD_COMMAND}`; export r; \
13897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13898 $(HOST_EXPORTS) \
13899 for flag in $(EXTRA_HOST_FLAGS) ; do \
13900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13901 done; \
13902 echo "Doing install-info in gettext" ; \
13903 (cd $(HOST_SUBDIR)/gettext && \
13904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13906 "RANLIB=$${RANLIB}" \
13907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13908 install-info) \
13909 || exit 1
13911 @endif gettext
13913 .PHONY: maybe-install-html-gettext install-html-gettext
13914 maybe-install-html-gettext:
13915 @if gettext
13916 maybe-install-html-gettext: install-html-gettext
13918 install-html-gettext: \
13919 configure-gettext \
13920 html-gettext
13921 @: $(MAKE); $(unstage)
13922 @[ -f ./gettext/Makefile ] || exit 0; \
13923 r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13925 $(HOST_EXPORTS) \
13926 for flag in $(EXTRA_HOST_FLAGS) ; do \
13927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13928 done; \
13929 echo "Doing install-html in gettext" ; \
13930 (cd $(HOST_SUBDIR)/gettext && \
13931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13933 "RANLIB=$${RANLIB}" \
13934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13935 install-html) \
13936 || exit 1
13938 @endif gettext
13940 .PHONY: maybe-installcheck-gettext installcheck-gettext
13941 maybe-installcheck-gettext:
13942 @if gettext
13943 maybe-installcheck-gettext: installcheck-gettext
13945 installcheck-gettext: \
13946 configure-gettext
13947 @: $(MAKE); $(unstage)
13948 @[ -f ./gettext/Makefile ] || exit 0; \
13949 r=`${PWD_COMMAND}`; export r; \
13950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13951 $(HOST_EXPORTS) \
13952 for flag in $(EXTRA_HOST_FLAGS) ; do \
13953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13954 done; \
13955 echo "Doing installcheck in gettext" ; \
13956 (cd $(HOST_SUBDIR)/gettext && \
13957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13959 "RANLIB=$${RANLIB}" \
13960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13961 installcheck) \
13962 || exit 1
13964 @endif gettext
13966 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13967 maybe-mostlyclean-gettext:
13968 @if gettext
13969 maybe-mostlyclean-gettext: mostlyclean-gettext
13971 mostlyclean-gettext:
13972 @: $(MAKE); $(unstage)
13973 @[ -f ./gettext/Makefile ] || exit 0; \
13974 r=`${PWD_COMMAND}`; export r; \
13975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13976 $(HOST_EXPORTS) \
13977 for flag in $(EXTRA_HOST_FLAGS) ; do \
13978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13979 done; \
13980 echo "Doing mostlyclean in gettext" ; \
13981 (cd $(HOST_SUBDIR)/gettext && \
13982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13984 "RANLIB=$${RANLIB}" \
13985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13986 mostlyclean) \
13987 || exit 1
13989 @endif gettext
13991 .PHONY: maybe-clean-gettext clean-gettext
13992 maybe-clean-gettext:
13993 @if gettext
13994 maybe-clean-gettext: clean-gettext
13996 clean-gettext:
13997 @: $(MAKE); $(unstage)
13998 @[ -f ./gettext/Makefile ] || exit 0; \
13999 r=`${PWD_COMMAND}`; export r; \
14000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 $(HOST_EXPORTS) \
14002 for flag in $(EXTRA_HOST_FLAGS) ; do \
14003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14004 done; \
14005 echo "Doing clean in gettext" ; \
14006 (cd $(HOST_SUBDIR)/gettext && \
14007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14009 "RANLIB=$${RANLIB}" \
14010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14011 clean) \
14012 || exit 1
14014 @endif gettext
14016 .PHONY: maybe-distclean-gettext distclean-gettext
14017 maybe-distclean-gettext:
14018 @if gettext
14019 maybe-distclean-gettext: distclean-gettext
14021 distclean-gettext:
14022 @: $(MAKE); $(unstage)
14023 @[ -f ./gettext/Makefile ] || exit 0; \
14024 r=`${PWD_COMMAND}`; export r; \
14025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14026 $(HOST_EXPORTS) \
14027 for flag in $(EXTRA_HOST_FLAGS) ; do \
14028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14029 done; \
14030 echo "Doing distclean in gettext" ; \
14031 (cd $(HOST_SUBDIR)/gettext && \
14032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14034 "RANLIB=$${RANLIB}" \
14035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14036 distclean) \
14037 || exit 1
14039 @endif gettext
14041 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14042 maybe-maintainer-clean-gettext:
14043 @if gettext
14044 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14046 maintainer-clean-gettext:
14047 @: $(MAKE); $(unstage)
14048 @[ -f ./gettext/Makefile ] || exit 0; \
14049 r=`${PWD_COMMAND}`; export r; \
14050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14051 $(HOST_EXPORTS) \
14052 for flag in $(EXTRA_HOST_FLAGS) ; do \
14053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 done; \
14055 echo "Doing maintainer-clean in gettext" ; \
14056 (cd $(HOST_SUBDIR)/gettext && \
14057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14059 "RANLIB=$${RANLIB}" \
14060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14061 maintainer-clean) \
14062 || exit 1
14064 @endif gettext
14068 .PHONY: configure-gnuserv maybe-configure-gnuserv
14069 maybe-configure-gnuserv:
14070 @if gcc-bootstrap
14071 configure-gnuserv: stage_current
14072 @endif gcc-bootstrap
14073 @if gnuserv
14074 maybe-configure-gnuserv: configure-gnuserv
14075 configure-gnuserv:
14076 @: $(MAKE); $(unstage)
14077 @r=`${PWD_COMMAND}`; export r; \
14078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14079 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
14080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
14081 $(HOST_EXPORTS) \
14082 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
14083 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
14084 case $(srcdir) in \
14085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14086 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
14087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14088 esac; \
14089 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
14090 libsrcdir="$$s/gnuserv"; \
14091 $(SHELL) $${libsrcdir}/configure \
14092 $(HOST_CONFIGARGS) $${srcdiroption} \
14093 || exit 1
14094 @endif gnuserv
14100 .PHONY: all-gnuserv maybe-all-gnuserv
14101 maybe-all-gnuserv:
14102 @if gcc-bootstrap
14103 all-gnuserv: stage_current
14104 @endif gcc-bootstrap
14105 @if gnuserv
14106 TARGET-gnuserv=all
14107 maybe-all-gnuserv: all-gnuserv
14108 all-gnuserv: configure-gnuserv
14109 @: $(MAKE); $(unstage)
14110 @r=`${PWD_COMMAND}`; export r; \
14111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14112 $(HOST_EXPORTS) \
14113 (cd $(HOST_SUBDIR)/gnuserv && \
14114 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14115 @endif gnuserv
14120 .PHONY: check-gnuserv maybe-check-gnuserv
14121 maybe-check-gnuserv:
14122 @if gnuserv
14123 maybe-check-gnuserv: check-gnuserv
14125 check-gnuserv:
14126 @: $(MAKE); $(unstage)
14127 @r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(HOST_EXPORTS) \
14130 (cd $(HOST_SUBDIR)/gnuserv && \
14131 $(MAKE) $(FLAGS_TO_PASS) check)
14133 @endif gnuserv
14135 .PHONY: install-gnuserv maybe-install-gnuserv
14136 maybe-install-gnuserv:
14137 @if gnuserv
14138 maybe-install-gnuserv: install-gnuserv
14140 install-gnuserv: installdirs
14141 @: $(MAKE); $(unstage)
14142 @r=`${PWD_COMMAND}`; export r; \
14143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14144 $(HOST_EXPORTS) \
14145 (cd $(HOST_SUBDIR)/gnuserv && \
14146 $(MAKE) $(FLAGS_TO_PASS) install)
14148 @endif gnuserv
14150 # Other targets (info, dvi, pdf, etc.)
14152 .PHONY: maybe-info-gnuserv info-gnuserv
14153 maybe-info-gnuserv:
14154 @if gnuserv
14155 maybe-info-gnuserv: info-gnuserv
14157 info-gnuserv: \
14158 configure-gnuserv
14159 @: $(MAKE); $(unstage)
14160 @[ -f ./gnuserv/Makefile ] || exit 0; \
14161 r=`${PWD_COMMAND}`; export r; \
14162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 $(HOST_EXPORTS) \
14164 for flag in $(EXTRA_HOST_FLAGS) ; do \
14165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 done; \
14167 echo "Doing info in gnuserv" ; \
14168 (cd $(HOST_SUBDIR)/gnuserv && \
14169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14171 "RANLIB=$${RANLIB}" \
14172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14173 info) \
14174 || exit 1
14176 @endif gnuserv
14178 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14179 maybe-dvi-gnuserv:
14180 @if gnuserv
14181 maybe-dvi-gnuserv: dvi-gnuserv
14183 dvi-gnuserv: \
14184 configure-gnuserv
14185 @: $(MAKE); $(unstage)
14186 @[ -f ./gnuserv/Makefile ] || exit 0; \
14187 r=`${PWD_COMMAND}`; export r; \
14188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14189 $(HOST_EXPORTS) \
14190 for flag in $(EXTRA_HOST_FLAGS) ; do \
14191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14192 done; \
14193 echo "Doing dvi in gnuserv" ; \
14194 (cd $(HOST_SUBDIR)/gnuserv && \
14195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14197 "RANLIB=$${RANLIB}" \
14198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14199 dvi) \
14200 || exit 1
14202 @endif gnuserv
14204 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14205 maybe-pdf-gnuserv:
14206 @if gnuserv
14207 maybe-pdf-gnuserv: pdf-gnuserv
14209 pdf-gnuserv: \
14210 configure-gnuserv
14211 @: $(MAKE); $(unstage)
14212 @[ -f ./gnuserv/Makefile ] || exit 0; \
14213 r=`${PWD_COMMAND}`; export r; \
14214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14215 $(HOST_EXPORTS) \
14216 for flag in $(EXTRA_HOST_FLAGS) ; do \
14217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14218 done; \
14219 echo "Doing pdf in gnuserv" ; \
14220 (cd $(HOST_SUBDIR)/gnuserv && \
14221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14223 "RANLIB=$${RANLIB}" \
14224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14225 pdf) \
14226 || exit 1
14228 @endif gnuserv
14230 .PHONY: maybe-html-gnuserv html-gnuserv
14231 maybe-html-gnuserv:
14232 @if gnuserv
14233 maybe-html-gnuserv: html-gnuserv
14235 html-gnuserv: \
14236 configure-gnuserv
14237 @: $(MAKE); $(unstage)
14238 @[ -f ./gnuserv/Makefile ] || exit 0; \
14239 r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241 $(HOST_EXPORTS) \
14242 for flag in $(EXTRA_HOST_FLAGS) ; do \
14243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14244 done; \
14245 echo "Doing html in gnuserv" ; \
14246 (cd $(HOST_SUBDIR)/gnuserv && \
14247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14249 "RANLIB=$${RANLIB}" \
14250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14251 html) \
14252 || exit 1
14254 @endif gnuserv
14256 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14257 maybe-TAGS-gnuserv:
14258 @if gnuserv
14259 maybe-TAGS-gnuserv: TAGS-gnuserv
14261 TAGS-gnuserv: \
14262 configure-gnuserv
14263 @: $(MAKE); $(unstage)
14264 @[ -f ./gnuserv/Makefile ] || exit 0; \
14265 r=`${PWD_COMMAND}`; export r; \
14266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14267 $(HOST_EXPORTS) \
14268 for flag in $(EXTRA_HOST_FLAGS) ; do \
14269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14270 done; \
14271 echo "Doing TAGS in gnuserv" ; \
14272 (cd $(HOST_SUBDIR)/gnuserv && \
14273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14275 "RANLIB=$${RANLIB}" \
14276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14277 TAGS) \
14278 || exit 1
14280 @endif gnuserv
14282 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14283 maybe-install-info-gnuserv:
14284 @if gnuserv
14285 maybe-install-info-gnuserv: install-info-gnuserv
14287 install-info-gnuserv: \
14288 configure-gnuserv \
14289 info-gnuserv
14290 @: $(MAKE); $(unstage)
14291 @[ -f ./gnuserv/Makefile ] || exit 0; \
14292 r=`${PWD_COMMAND}`; export r; \
14293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14294 $(HOST_EXPORTS) \
14295 for flag in $(EXTRA_HOST_FLAGS) ; do \
14296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14297 done; \
14298 echo "Doing install-info in gnuserv" ; \
14299 (cd $(HOST_SUBDIR)/gnuserv && \
14300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14302 "RANLIB=$${RANLIB}" \
14303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14304 install-info) \
14305 || exit 1
14307 @endif gnuserv
14309 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14310 maybe-install-html-gnuserv:
14311 @if gnuserv
14312 maybe-install-html-gnuserv: install-html-gnuserv
14314 install-html-gnuserv: \
14315 configure-gnuserv \
14316 html-gnuserv
14317 @: $(MAKE); $(unstage)
14318 @[ -f ./gnuserv/Makefile ] || exit 0; \
14319 r=`${PWD_COMMAND}`; export r; \
14320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14321 $(HOST_EXPORTS) \
14322 for flag in $(EXTRA_HOST_FLAGS) ; do \
14323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14324 done; \
14325 echo "Doing install-html in gnuserv" ; \
14326 (cd $(HOST_SUBDIR)/gnuserv && \
14327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14329 "RANLIB=$${RANLIB}" \
14330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14331 install-html) \
14332 || exit 1
14334 @endif gnuserv
14336 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14337 maybe-installcheck-gnuserv:
14338 @if gnuserv
14339 maybe-installcheck-gnuserv: installcheck-gnuserv
14341 installcheck-gnuserv: \
14342 configure-gnuserv
14343 @: $(MAKE); $(unstage)
14344 @[ -f ./gnuserv/Makefile ] || exit 0; \
14345 r=`${PWD_COMMAND}`; export r; \
14346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14347 $(HOST_EXPORTS) \
14348 for flag in $(EXTRA_HOST_FLAGS) ; do \
14349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14350 done; \
14351 echo "Doing installcheck in gnuserv" ; \
14352 (cd $(HOST_SUBDIR)/gnuserv && \
14353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14355 "RANLIB=$${RANLIB}" \
14356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14357 installcheck) \
14358 || exit 1
14360 @endif gnuserv
14362 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14363 maybe-mostlyclean-gnuserv:
14364 @if gnuserv
14365 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14367 mostlyclean-gnuserv:
14368 @: $(MAKE); $(unstage)
14369 @[ -f ./gnuserv/Makefile ] || exit 0; \
14370 r=`${PWD_COMMAND}`; export r; \
14371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14372 $(HOST_EXPORTS) \
14373 for flag in $(EXTRA_HOST_FLAGS) ; do \
14374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14375 done; \
14376 echo "Doing mostlyclean in gnuserv" ; \
14377 (cd $(HOST_SUBDIR)/gnuserv && \
14378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14380 "RANLIB=$${RANLIB}" \
14381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14382 mostlyclean) \
14383 || exit 1
14385 @endif gnuserv
14387 .PHONY: maybe-clean-gnuserv clean-gnuserv
14388 maybe-clean-gnuserv:
14389 @if gnuserv
14390 maybe-clean-gnuserv: clean-gnuserv
14392 clean-gnuserv:
14393 @: $(MAKE); $(unstage)
14394 @[ -f ./gnuserv/Makefile ] || exit 0; \
14395 r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 for flag in $(EXTRA_HOST_FLAGS) ; do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing clean in gnuserv" ; \
14402 (cd $(HOST_SUBDIR)/gnuserv && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14407 clean) \
14408 || exit 1
14410 @endif gnuserv
14412 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14413 maybe-distclean-gnuserv:
14414 @if gnuserv
14415 maybe-distclean-gnuserv: distclean-gnuserv
14417 distclean-gnuserv:
14418 @: $(MAKE); $(unstage)
14419 @[ -f ./gnuserv/Makefile ] || exit 0; \
14420 r=`${PWD_COMMAND}`; export r; \
14421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14422 $(HOST_EXPORTS) \
14423 for flag in $(EXTRA_HOST_FLAGS) ; do \
14424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14425 done; \
14426 echo "Doing distclean in gnuserv" ; \
14427 (cd $(HOST_SUBDIR)/gnuserv && \
14428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14430 "RANLIB=$${RANLIB}" \
14431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14432 distclean) \
14433 || exit 1
14435 @endif gnuserv
14437 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14438 maybe-maintainer-clean-gnuserv:
14439 @if gnuserv
14440 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14442 maintainer-clean-gnuserv:
14443 @: $(MAKE); $(unstage)
14444 @[ -f ./gnuserv/Makefile ] || exit 0; \
14445 r=`${PWD_COMMAND}`; export r; \
14446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14447 $(HOST_EXPORTS) \
14448 for flag in $(EXTRA_HOST_FLAGS) ; do \
14449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14450 done; \
14451 echo "Doing maintainer-clean in gnuserv" ; \
14452 (cd $(HOST_SUBDIR)/gnuserv && \
14453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14455 "RANLIB=$${RANLIB}" \
14456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14457 maintainer-clean) \
14458 || exit 1
14460 @endif gnuserv
14464 .PHONY: configure-gprof maybe-configure-gprof
14465 maybe-configure-gprof:
14466 @if gcc-bootstrap
14467 configure-gprof: stage_current
14468 @endif gcc-bootstrap
14469 @if gprof
14470 maybe-configure-gprof: configure-gprof
14471 configure-gprof:
14472 @: $(MAKE); $(unstage)
14473 @r=`${PWD_COMMAND}`; export r; \
14474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14475 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14477 $(HOST_EXPORTS) \
14478 echo Configuring in $(HOST_SUBDIR)/gprof; \
14479 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14480 case $(srcdir) in \
14481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14482 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14484 esac; \
14485 srcdiroption="--srcdir=$${topdir}/gprof"; \
14486 libsrcdir="$$s/gprof"; \
14487 $(SHELL) $${libsrcdir}/configure \
14488 $(HOST_CONFIGARGS) $${srcdiroption} \
14489 || exit 1
14490 @endif gprof
14496 .PHONY: all-gprof maybe-all-gprof
14497 maybe-all-gprof:
14498 @if gcc-bootstrap
14499 all-gprof: stage_current
14500 @endif gcc-bootstrap
14501 @if gprof
14502 TARGET-gprof=all
14503 maybe-all-gprof: all-gprof
14504 all-gprof: configure-gprof
14505 @: $(MAKE); $(unstage)
14506 @r=`${PWD_COMMAND}`; export r; \
14507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14508 $(HOST_EXPORTS) \
14509 (cd $(HOST_SUBDIR)/gprof && \
14510 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14511 @endif gprof
14516 .PHONY: check-gprof maybe-check-gprof
14517 maybe-check-gprof:
14518 @if gprof
14519 maybe-check-gprof: check-gprof
14521 check-gprof:
14522 @: $(MAKE); $(unstage)
14523 @r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 $(HOST_EXPORTS) \
14526 (cd $(HOST_SUBDIR)/gprof && \
14527 $(MAKE) $(FLAGS_TO_PASS) check)
14529 @endif gprof
14531 .PHONY: install-gprof maybe-install-gprof
14532 maybe-install-gprof:
14533 @if gprof
14534 maybe-install-gprof: install-gprof
14536 install-gprof: installdirs
14537 @: $(MAKE); $(unstage)
14538 @r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 $(HOST_EXPORTS) \
14541 (cd $(HOST_SUBDIR)/gprof && \
14542 $(MAKE) $(FLAGS_TO_PASS) install)
14544 @endif gprof
14546 # Other targets (info, dvi, pdf, etc.)
14548 .PHONY: maybe-info-gprof info-gprof
14549 maybe-info-gprof:
14550 @if gprof
14551 maybe-info-gprof: info-gprof
14553 info-gprof: \
14554 configure-gprof
14555 @: $(MAKE); $(unstage)
14556 @[ -f ./gprof/Makefile ] || exit 0; \
14557 r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 $(HOST_EXPORTS) \
14560 for flag in $(EXTRA_HOST_FLAGS) ; do \
14561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14562 done; \
14563 echo "Doing info in gprof" ; \
14564 (cd $(HOST_SUBDIR)/gprof && \
14565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14567 "RANLIB=$${RANLIB}" \
14568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14569 info) \
14570 || exit 1
14572 @endif gprof
14574 .PHONY: maybe-dvi-gprof dvi-gprof
14575 maybe-dvi-gprof:
14576 @if gprof
14577 maybe-dvi-gprof: dvi-gprof
14579 dvi-gprof: \
14580 configure-gprof
14581 @: $(MAKE); $(unstage)
14582 @[ -f ./gprof/Makefile ] || exit 0; \
14583 r=`${PWD_COMMAND}`; export r; \
14584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14585 $(HOST_EXPORTS) \
14586 for flag in $(EXTRA_HOST_FLAGS) ; do \
14587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14588 done; \
14589 echo "Doing dvi in gprof" ; \
14590 (cd $(HOST_SUBDIR)/gprof && \
14591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14593 "RANLIB=$${RANLIB}" \
14594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14595 dvi) \
14596 || exit 1
14598 @endif gprof
14600 .PHONY: maybe-pdf-gprof pdf-gprof
14601 maybe-pdf-gprof:
14602 @if gprof
14603 maybe-pdf-gprof: pdf-gprof
14605 pdf-gprof: \
14606 configure-gprof
14607 @: $(MAKE); $(unstage)
14608 @[ -f ./gprof/Makefile ] || exit 0; \
14609 r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 $(HOST_EXPORTS) \
14612 for flag in $(EXTRA_HOST_FLAGS) ; do \
14613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14614 done; \
14615 echo "Doing pdf in gprof" ; \
14616 (cd $(HOST_SUBDIR)/gprof && \
14617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14619 "RANLIB=$${RANLIB}" \
14620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14621 pdf) \
14622 || exit 1
14624 @endif gprof
14626 .PHONY: maybe-html-gprof html-gprof
14627 maybe-html-gprof:
14628 @if gprof
14629 maybe-html-gprof: html-gprof
14631 html-gprof: \
14632 configure-gprof
14633 @: $(MAKE); $(unstage)
14634 @[ -f ./gprof/Makefile ] || exit 0; \
14635 r=`${PWD_COMMAND}`; export r; \
14636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14637 $(HOST_EXPORTS) \
14638 for flag in $(EXTRA_HOST_FLAGS) ; do \
14639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14640 done; \
14641 echo "Doing html in gprof" ; \
14642 (cd $(HOST_SUBDIR)/gprof && \
14643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14645 "RANLIB=$${RANLIB}" \
14646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14647 html) \
14648 || exit 1
14650 @endif gprof
14652 .PHONY: maybe-TAGS-gprof TAGS-gprof
14653 maybe-TAGS-gprof:
14654 @if gprof
14655 maybe-TAGS-gprof: TAGS-gprof
14657 TAGS-gprof: \
14658 configure-gprof
14659 @: $(MAKE); $(unstage)
14660 @[ -f ./gprof/Makefile ] || exit 0; \
14661 r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 $(HOST_EXPORTS) \
14664 for flag in $(EXTRA_HOST_FLAGS) ; do \
14665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14666 done; \
14667 echo "Doing TAGS in gprof" ; \
14668 (cd $(HOST_SUBDIR)/gprof && \
14669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14671 "RANLIB=$${RANLIB}" \
14672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14673 TAGS) \
14674 || exit 1
14676 @endif gprof
14678 .PHONY: maybe-install-info-gprof install-info-gprof
14679 maybe-install-info-gprof:
14680 @if gprof
14681 maybe-install-info-gprof: install-info-gprof
14683 install-info-gprof: \
14684 configure-gprof \
14685 info-gprof
14686 @: $(MAKE); $(unstage)
14687 @[ -f ./gprof/Makefile ] || exit 0; \
14688 r=`${PWD_COMMAND}`; export r; \
14689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 $(HOST_EXPORTS) \
14691 for flag in $(EXTRA_HOST_FLAGS) ; do \
14692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14693 done; \
14694 echo "Doing install-info in gprof" ; \
14695 (cd $(HOST_SUBDIR)/gprof && \
14696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14698 "RANLIB=$${RANLIB}" \
14699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14700 install-info) \
14701 || exit 1
14703 @endif gprof
14705 .PHONY: maybe-install-html-gprof install-html-gprof
14706 maybe-install-html-gprof:
14707 @if gprof
14708 maybe-install-html-gprof: install-html-gprof
14710 install-html-gprof: \
14711 configure-gprof \
14712 html-gprof
14713 @: $(MAKE); $(unstage)
14714 @[ -f ./gprof/Makefile ] || exit 0; \
14715 r=`${PWD_COMMAND}`; export r; \
14716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14717 $(HOST_EXPORTS) \
14718 for flag in $(EXTRA_HOST_FLAGS) ; do \
14719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14720 done; \
14721 echo "Doing install-html in gprof" ; \
14722 (cd $(HOST_SUBDIR)/gprof && \
14723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14725 "RANLIB=$${RANLIB}" \
14726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14727 install-html) \
14728 || exit 1
14730 @endif gprof
14732 .PHONY: maybe-installcheck-gprof installcheck-gprof
14733 maybe-installcheck-gprof:
14734 @if gprof
14735 maybe-installcheck-gprof: installcheck-gprof
14737 installcheck-gprof: \
14738 configure-gprof
14739 @: $(MAKE); $(unstage)
14740 @[ -f ./gprof/Makefile ] || exit 0; \
14741 r=`${PWD_COMMAND}`; export r; \
14742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14743 $(HOST_EXPORTS) \
14744 for flag in $(EXTRA_HOST_FLAGS) ; do \
14745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14746 done; \
14747 echo "Doing installcheck in gprof" ; \
14748 (cd $(HOST_SUBDIR)/gprof && \
14749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14751 "RANLIB=$${RANLIB}" \
14752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14753 installcheck) \
14754 || exit 1
14756 @endif gprof
14758 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14759 maybe-mostlyclean-gprof:
14760 @if gprof
14761 maybe-mostlyclean-gprof: mostlyclean-gprof
14763 mostlyclean-gprof:
14764 @: $(MAKE); $(unstage)
14765 @[ -f ./gprof/Makefile ] || exit 0; \
14766 r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14768 $(HOST_EXPORTS) \
14769 for flag in $(EXTRA_HOST_FLAGS) ; do \
14770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14771 done; \
14772 echo "Doing mostlyclean in gprof" ; \
14773 (cd $(HOST_SUBDIR)/gprof && \
14774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14776 "RANLIB=$${RANLIB}" \
14777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14778 mostlyclean) \
14779 || exit 1
14781 @endif gprof
14783 .PHONY: maybe-clean-gprof clean-gprof
14784 maybe-clean-gprof:
14785 @if gprof
14786 maybe-clean-gprof: clean-gprof
14788 clean-gprof:
14789 @: $(MAKE); $(unstage)
14790 @[ -f ./gprof/Makefile ] || exit 0; \
14791 r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 $(HOST_EXPORTS) \
14794 for flag in $(EXTRA_HOST_FLAGS) ; do \
14795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14796 done; \
14797 echo "Doing clean in gprof" ; \
14798 (cd $(HOST_SUBDIR)/gprof && \
14799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14801 "RANLIB=$${RANLIB}" \
14802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14803 clean) \
14804 || exit 1
14806 @endif gprof
14808 .PHONY: maybe-distclean-gprof distclean-gprof
14809 maybe-distclean-gprof:
14810 @if gprof
14811 maybe-distclean-gprof: distclean-gprof
14813 distclean-gprof:
14814 @: $(MAKE); $(unstage)
14815 @[ -f ./gprof/Makefile ] || exit 0; \
14816 r=`${PWD_COMMAND}`; export r; \
14817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14818 $(HOST_EXPORTS) \
14819 for flag in $(EXTRA_HOST_FLAGS) ; do \
14820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14821 done; \
14822 echo "Doing distclean in gprof" ; \
14823 (cd $(HOST_SUBDIR)/gprof && \
14824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14826 "RANLIB=$${RANLIB}" \
14827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14828 distclean) \
14829 || exit 1
14831 @endif gprof
14833 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14834 maybe-maintainer-clean-gprof:
14835 @if gprof
14836 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14838 maintainer-clean-gprof:
14839 @: $(MAKE); $(unstage)
14840 @[ -f ./gprof/Makefile ] || exit 0; \
14841 r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 $(HOST_EXPORTS) \
14844 for flag in $(EXTRA_HOST_FLAGS) ; do \
14845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14846 done; \
14847 echo "Doing maintainer-clean in gprof" ; \
14848 (cd $(HOST_SUBDIR)/gprof && \
14849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14851 "RANLIB=$${RANLIB}" \
14852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14853 maintainer-clean) \
14854 || exit 1
14856 @endif gprof
14860 .PHONY: configure-gzip maybe-configure-gzip
14861 maybe-configure-gzip:
14862 @if gcc-bootstrap
14863 configure-gzip: stage_current
14864 @endif gcc-bootstrap
14865 @if gzip
14866 maybe-configure-gzip: configure-gzip
14867 configure-gzip:
14868 @: $(MAKE); $(unstage)
14869 @r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14873 $(HOST_EXPORTS) \
14874 echo Configuring in $(HOST_SUBDIR)/gzip; \
14875 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14876 case $(srcdir) in \
14877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14878 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14880 esac; \
14881 srcdiroption="--srcdir=$${topdir}/gzip"; \
14882 libsrcdir="$$s/gzip"; \
14883 $(SHELL) $${libsrcdir}/configure \
14884 $(HOST_CONFIGARGS) $${srcdiroption} \
14885 || exit 1
14886 @endif gzip
14892 .PHONY: all-gzip maybe-all-gzip
14893 maybe-all-gzip:
14894 @if gcc-bootstrap
14895 all-gzip: stage_current
14896 @endif gcc-bootstrap
14897 @if gzip
14898 TARGET-gzip=all
14899 maybe-all-gzip: all-gzip
14900 all-gzip: configure-gzip
14901 @: $(MAKE); $(unstage)
14902 @r=`${PWD_COMMAND}`; export r; \
14903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14904 $(HOST_EXPORTS) \
14905 (cd $(HOST_SUBDIR)/gzip && \
14906 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14907 @endif gzip
14912 .PHONY: check-gzip maybe-check-gzip
14913 maybe-check-gzip:
14914 @if gzip
14915 maybe-check-gzip: check-gzip
14917 check-gzip:
14918 @: $(MAKE); $(unstage)
14919 @r=`${PWD_COMMAND}`; export r; \
14920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14921 $(HOST_EXPORTS) \
14922 (cd $(HOST_SUBDIR)/gzip && \
14923 $(MAKE) $(FLAGS_TO_PASS) check)
14925 @endif gzip
14927 .PHONY: install-gzip maybe-install-gzip
14928 maybe-install-gzip:
14929 @if gzip
14930 maybe-install-gzip: install-gzip
14932 install-gzip: installdirs
14933 @: $(MAKE); $(unstage)
14934 @r=`${PWD_COMMAND}`; export r; \
14935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14936 $(HOST_EXPORTS) \
14937 (cd $(HOST_SUBDIR)/gzip && \
14938 $(MAKE) $(FLAGS_TO_PASS) install)
14940 @endif gzip
14942 # Other targets (info, dvi, pdf, etc.)
14944 .PHONY: maybe-info-gzip info-gzip
14945 maybe-info-gzip:
14946 @if gzip
14947 maybe-info-gzip: info-gzip
14949 info-gzip: \
14950 configure-gzip
14951 @: $(MAKE); $(unstage)
14952 @[ -f ./gzip/Makefile ] || exit 0; \
14953 r=`${PWD_COMMAND}`; export r; \
14954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14955 $(HOST_EXPORTS) \
14956 for flag in $(EXTRA_HOST_FLAGS) ; do \
14957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14958 done; \
14959 echo "Doing info in gzip" ; \
14960 (cd $(HOST_SUBDIR)/gzip && \
14961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14963 "RANLIB=$${RANLIB}" \
14964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14965 info) \
14966 || exit 1
14968 @endif gzip
14970 .PHONY: maybe-dvi-gzip dvi-gzip
14971 maybe-dvi-gzip:
14972 @if gzip
14973 maybe-dvi-gzip: dvi-gzip
14975 dvi-gzip: \
14976 configure-gzip
14977 @: $(MAKE); $(unstage)
14978 @[ -f ./gzip/Makefile ] || exit 0; \
14979 r=`${PWD_COMMAND}`; export r; \
14980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14981 $(HOST_EXPORTS) \
14982 for flag in $(EXTRA_HOST_FLAGS) ; do \
14983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14984 done; \
14985 echo "Doing dvi in gzip" ; \
14986 (cd $(HOST_SUBDIR)/gzip && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989 "RANLIB=$${RANLIB}" \
14990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14991 dvi) \
14992 || exit 1
14994 @endif gzip
14996 .PHONY: maybe-pdf-gzip pdf-gzip
14997 maybe-pdf-gzip:
14998 @if gzip
14999 maybe-pdf-gzip: pdf-gzip
15001 pdf-gzip: \
15002 configure-gzip
15003 @: $(MAKE); $(unstage)
15004 @[ -f ./gzip/Makefile ] || exit 0; \
15005 r=`${PWD_COMMAND}`; export r; \
15006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15007 $(HOST_EXPORTS) \
15008 for flag in $(EXTRA_HOST_FLAGS) ; do \
15009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15010 done; \
15011 echo "Doing pdf in gzip" ; \
15012 (cd $(HOST_SUBDIR)/gzip && \
15013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15015 "RANLIB=$${RANLIB}" \
15016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15017 pdf) \
15018 || exit 1
15020 @endif gzip
15022 .PHONY: maybe-html-gzip html-gzip
15023 maybe-html-gzip:
15024 @if gzip
15025 maybe-html-gzip: html-gzip
15027 html-gzip: \
15028 configure-gzip
15029 @: $(MAKE); $(unstage)
15030 @[ -f ./gzip/Makefile ] || exit 0; \
15031 r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15033 $(HOST_EXPORTS) \
15034 for flag in $(EXTRA_HOST_FLAGS) ; do \
15035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15036 done; \
15037 echo "Doing html in gzip" ; \
15038 (cd $(HOST_SUBDIR)/gzip && \
15039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15041 "RANLIB=$${RANLIB}" \
15042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15043 html) \
15044 || exit 1
15046 @endif gzip
15048 .PHONY: maybe-TAGS-gzip TAGS-gzip
15049 maybe-TAGS-gzip:
15050 @if gzip
15051 maybe-TAGS-gzip: TAGS-gzip
15053 TAGS-gzip: \
15054 configure-gzip
15055 @: $(MAKE); $(unstage)
15056 @[ -f ./gzip/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 $(HOST_EXPORTS) \
15060 for flag in $(EXTRA_HOST_FLAGS) ; do \
15061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15062 done; \
15063 echo "Doing TAGS in gzip" ; \
15064 (cd $(HOST_SUBDIR)/gzip && \
15065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15067 "RANLIB=$${RANLIB}" \
15068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15069 TAGS) \
15070 || exit 1
15072 @endif gzip
15074 .PHONY: maybe-install-info-gzip install-info-gzip
15075 maybe-install-info-gzip:
15076 @if gzip
15077 maybe-install-info-gzip: install-info-gzip
15079 install-info-gzip: \
15080 configure-gzip \
15081 info-gzip
15082 @: $(MAKE); $(unstage)
15083 @[ -f ./gzip/Makefile ] || exit 0; \
15084 r=`${PWD_COMMAND}`; export r; \
15085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15086 $(HOST_EXPORTS) \
15087 for flag in $(EXTRA_HOST_FLAGS) ; do \
15088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15089 done; \
15090 echo "Doing install-info in gzip" ; \
15091 (cd $(HOST_SUBDIR)/gzip && \
15092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15094 "RANLIB=$${RANLIB}" \
15095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15096 install-info) \
15097 || exit 1
15099 @endif gzip
15101 .PHONY: maybe-install-html-gzip install-html-gzip
15102 maybe-install-html-gzip:
15103 @if gzip
15104 maybe-install-html-gzip: install-html-gzip
15106 install-html-gzip: \
15107 configure-gzip \
15108 html-gzip
15109 @: $(MAKE); $(unstage)
15110 @[ -f ./gzip/Makefile ] || exit 0; \
15111 r=`${PWD_COMMAND}`; export r; \
15112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15113 $(HOST_EXPORTS) \
15114 for flag in $(EXTRA_HOST_FLAGS) ; do \
15115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15116 done; \
15117 echo "Doing install-html in gzip" ; \
15118 (cd $(HOST_SUBDIR)/gzip && \
15119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15121 "RANLIB=$${RANLIB}" \
15122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15123 install-html) \
15124 || exit 1
15126 @endif gzip
15128 .PHONY: maybe-installcheck-gzip installcheck-gzip
15129 maybe-installcheck-gzip:
15130 @if gzip
15131 maybe-installcheck-gzip: installcheck-gzip
15133 installcheck-gzip: \
15134 configure-gzip
15135 @: $(MAKE); $(unstage)
15136 @[ -f ./gzip/Makefile ] || exit 0; \
15137 r=`${PWD_COMMAND}`; export r; \
15138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15139 $(HOST_EXPORTS) \
15140 for flag in $(EXTRA_HOST_FLAGS) ; do \
15141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15142 done; \
15143 echo "Doing installcheck in gzip" ; \
15144 (cd $(HOST_SUBDIR)/gzip && \
15145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15147 "RANLIB=$${RANLIB}" \
15148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15149 installcheck) \
15150 || exit 1
15152 @endif gzip
15154 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15155 maybe-mostlyclean-gzip:
15156 @if gzip
15157 maybe-mostlyclean-gzip: mostlyclean-gzip
15159 mostlyclean-gzip:
15160 @: $(MAKE); $(unstage)
15161 @[ -f ./gzip/Makefile ] || exit 0; \
15162 r=`${PWD_COMMAND}`; export r; \
15163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15164 $(HOST_EXPORTS) \
15165 for flag in $(EXTRA_HOST_FLAGS) ; do \
15166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15167 done; \
15168 echo "Doing mostlyclean in gzip" ; \
15169 (cd $(HOST_SUBDIR)/gzip && \
15170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15172 "RANLIB=$${RANLIB}" \
15173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15174 mostlyclean) \
15175 || exit 1
15177 @endif gzip
15179 .PHONY: maybe-clean-gzip clean-gzip
15180 maybe-clean-gzip:
15181 @if gzip
15182 maybe-clean-gzip: clean-gzip
15184 clean-gzip:
15185 @: $(MAKE); $(unstage)
15186 @[ -f ./gzip/Makefile ] || exit 0; \
15187 r=`${PWD_COMMAND}`; export r; \
15188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15189 $(HOST_EXPORTS) \
15190 for flag in $(EXTRA_HOST_FLAGS) ; do \
15191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15192 done; \
15193 echo "Doing clean in gzip" ; \
15194 (cd $(HOST_SUBDIR)/gzip && \
15195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15197 "RANLIB=$${RANLIB}" \
15198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15199 clean) \
15200 || exit 1
15202 @endif gzip
15204 .PHONY: maybe-distclean-gzip distclean-gzip
15205 maybe-distclean-gzip:
15206 @if gzip
15207 maybe-distclean-gzip: distclean-gzip
15209 distclean-gzip:
15210 @: $(MAKE); $(unstage)
15211 @[ -f ./gzip/Makefile ] || exit 0; \
15212 r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 $(HOST_EXPORTS) \
15215 for flag in $(EXTRA_HOST_FLAGS) ; do \
15216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15217 done; \
15218 echo "Doing distclean in gzip" ; \
15219 (cd $(HOST_SUBDIR)/gzip && \
15220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15222 "RANLIB=$${RANLIB}" \
15223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15224 distclean) \
15225 || exit 1
15227 @endif gzip
15229 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15230 maybe-maintainer-clean-gzip:
15231 @if gzip
15232 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15234 maintainer-clean-gzip:
15235 @: $(MAKE); $(unstage)
15236 @[ -f ./gzip/Makefile ] || exit 0; \
15237 r=`${PWD_COMMAND}`; export r; \
15238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15239 $(HOST_EXPORTS) \
15240 for flag in $(EXTRA_HOST_FLAGS) ; do \
15241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15242 done; \
15243 echo "Doing maintainer-clean in gzip" ; \
15244 (cd $(HOST_SUBDIR)/gzip && \
15245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15247 "RANLIB=$${RANLIB}" \
15248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15249 maintainer-clean) \
15250 || exit 1
15252 @endif gzip
15256 .PHONY: configure-hello maybe-configure-hello
15257 maybe-configure-hello:
15258 @if gcc-bootstrap
15259 configure-hello: stage_current
15260 @endif gcc-bootstrap
15261 @if hello
15262 maybe-configure-hello: configure-hello
15263 configure-hello:
15264 @: $(MAKE); $(unstage)
15265 @r=`${PWD_COMMAND}`; export r; \
15266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15267 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15269 $(HOST_EXPORTS) \
15270 echo Configuring in $(HOST_SUBDIR)/hello; \
15271 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15272 case $(srcdir) in \
15273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15274 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15276 esac; \
15277 srcdiroption="--srcdir=$${topdir}/hello"; \
15278 libsrcdir="$$s/hello"; \
15279 $(SHELL) $${libsrcdir}/configure \
15280 $(HOST_CONFIGARGS) $${srcdiroption} \
15281 || exit 1
15282 @endif hello
15288 .PHONY: all-hello maybe-all-hello
15289 maybe-all-hello:
15290 @if gcc-bootstrap
15291 all-hello: stage_current
15292 @endif gcc-bootstrap
15293 @if hello
15294 TARGET-hello=all
15295 maybe-all-hello: all-hello
15296 all-hello: configure-hello
15297 @: $(MAKE); $(unstage)
15298 @r=`${PWD_COMMAND}`; export r; \
15299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15300 $(HOST_EXPORTS) \
15301 (cd $(HOST_SUBDIR)/hello && \
15302 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15303 @endif hello
15308 .PHONY: check-hello maybe-check-hello
15309 maybe-check-hello:
15310 @if hello
15311 maybe-check-hello: check-hello
15313 check-hello:
15314 @: $(MAKE); $(unstage)
15315 @r=`${PWD_COMMAND}`; export r; \
15316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15317 $(HOST_EXPORTS) \
15318 (cd $(HOST_SUBDIR)/hello && \
15319 $(MAKE) $(FLAGS_TO_PASS) check)
15321 @endif hello
15323 .PHONY: install-hello maybe-install-hello
15324 maybe-install-hello:
15325 @if hello
15326 maybe-install-hello: install-hello
15328 install-hello: installdirs
15329 @: $(MAKE); $(unstage)
15330 @r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 $(HOST_EXPORTS) \
15333 (cd $(HOST_SUBDIR)/hello && \
15334 $(MAKE) $(FLAGS_TO_PASS) install)
15336 @endif hello
15338 # Other targets (info, dvi, pdf, etc.)
15340 .PHONY: maybe-info-hello info-hello
15341 maybe-info-hello:
15342 @if hello
15343 maybe-info-hello: info-hello
15345 info-hello: \
15346 configure-hello
15347 @: $(MAKE); $(unstage)
15348 @[ -f ./hello/Makefile ] || exit 0; \
15349 r=`${PWD_COMMAND}`; export r; \
15350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15351 $(HOST_EXPORTS) \
15352 for flag in $(EXTRA_HOST_FLAGS) ; do \
15353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15354 done; \
15355 echo "Doing info in hello" ; \
15356 (cd $(HOST_SUBDIR)/hello && \
15357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15359 "RANLIB=$${RANLIB}" \
15360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15361 info) \
15362 || exit 1
15364 @endif hello
15366 .PHONY: maybe-dvi-hello dvi-hello
15367 maybe-dvi-hello:
15368 @if hello
15369 maybe-dvi-hello: dvi-hello
15371 dvi-hello: \
15372 configure-hello
15373 @: $(MAKE); $(unstage)
15374 @[ -f ./hello/Makefile ] || exit 0; \
15375 r=`${PWD_COMMAND}`; export r; \
15376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15377 $(HOST_EXPORTS) \
15378 for flag in $(EXTRA_HOST_FLAGS) ; do \
15379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15380 done; \
15381 echo "Doing dvi in hello" ; \
15382 (cd $(HOST_SUBDIR)/hello && \
15383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15385 "RANLIB=$${RANLIB}" \
15386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15387 dvi) \
15388 || exit 1
15390 @endif hello
15392 .PHONY: maybe-pdf-hello pdf-hello
15393 maybe-pdf-hello:
15394 @if hello
15395 maybe-pdf-hello: pdf-hello
15397 pdf-hello: \
15398 configure-hello
15399 @: $(MAKE); $(unstage)
15400 @[ -f ./hello/Makefile ] || exit 0; \
15401 r=`${PWD_COMMAND}`; export r; \
15402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15403 $(HOST_EXPORTS) \
15404 for flag in $(EXTRA_HOST_FLAGS) ; do \
15405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15406 done; \
15407 echo "Doing pdf in hello" ; \
15408 (cd $(HOST_SUBDIR)/hello && \
15409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15411 "RANLIB=$${RANLIB}" \
15412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15413 pdf) \
15414 || exit 1
15416 @endif hello
15418 .PHONY: maybe-html-hello html-hello
15419 maybe-html-hello:
15420 @if hello
15421 maybe-html-hello: html-hello
15423 html-hello: \
15424 configure-hello
15425 @: $(MAKE); $(unstage)
15426 @[ -f ./hello/Makefile ] || exit 0; \
15427 r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 $(HOST_EXPORTS) \
15430 for flag in $(EXTRA_HOST_FLAGS) ; do \
15431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15432 done; \
15433 echo "Doing html in hello" ; \
15434 (cd $(HOST_SUBDIR)/hello && \
15435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15437 "RANLIB=$${RANLIB}" \
15438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15439 html) \
15440 || exit 1
15442 @endif hello
15444 .PHONY: maybe-TAGS-hello TAGS-hello
15445 maybe-TAGS-hello:
15446 @if hello
15447 maybe-TAGS-hello: TAGS-hello
15449 TAGS-hello: \
15450 configure-hello
15451 @: $(MAKE); $(unstage)
15452 @[ -f ./hello/Makefile ] || exit 0; \
15453 r=`${PWD_COMMAND}`; export r; \
15454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15455 $(HOST_EXPORTS) \
15456 for flag in $(EXTRA_HOST_FLAGS) ; do \
15457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15458 done; \
15459 echo "Doing TAGS in hello" ; \
15460 (cd $(HOST_SUBDIR)/hello && \
15461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15463 "RANLIB=$${RANLIB}" \
15464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15465 TAGS) \
15466 || exit 1
15468 @endif hello
15470 .PHONY: maybe-install-info-hello install-info-hello
15471 maybe-install-info-hello:
15472 @if hello
15473 maybe-install-info-hello: install-info-hello
15475 install-info-hello: \
15476 configure-hello \
15477 info-hello
15478 @: $(MAKE); $(unstage)
15479 @[ -f ./hello/Makefile ] || exit 0; \
15480 r=`${PWD_COMMAND}`; export r; \
15481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15482 $(HOST_EXPORTS) \
15483 for flag in $(EXTRA_HOST_FLAGS) ; do \
15484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15485 done; \
15486 echo "Doing install-info in hello" ; \
15487 (cd $(HOST_SUBDIR)/hello && \
15488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15490 "RANLIB=$${RANLIB}" \
15491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15492 install-info) \
15493 || exit 1
15495 @endif hello
15497 .PHONY: maybe-install-html-hello install-html-hello
15498 maybe-install-html-hello:
15499 @if hello
15500 maybe-install-html-hello: install-html-hello
15502 install-html-hello: \
15503 configure-hello \
15504 html-hello
15505 @: $(MAKE); $(unstage)
15506 @[ -f ./hello/Makefile ] || exit 0; \
15507 r=`${PWD_COMMAND}`; export r; \
15508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15509 $(HOST_EXPORTS) \
15510 for flag in $(EXTRA_HOST_FLAGS) ; do \
15511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15512 done; \
15513 echo "Doing install-html in hello" ; \
15514 (cd $(HOST_SUBDIR)/hello && \
15515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517 "RANLIB=$${RANLIB}" \
15518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15519 install-html) \
15520 || exit 1
15522 @endif hello
15524 .PHONY: maybe-installcheck-hello installcheck-hello
15525 maybe-installcheck-hello:
15526 @if hello
15527 maybe-installcheck-hello: installcheck-hello
15529 installcheck-hello: \
15530 configure-hello
15531 @: $(MAKE); $(unstage)
15532 @[ -f ./hello/Makefile ] || exit 0; \
15533 r=`${PWD_COMMAND}`; export r; \
15534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15535 $(HOST_EXPORTS) \
15536 for flag in $(EXTRA_HOST_FLAGS) ; do \
15537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15538 done; \
15539 echo "Doing installcheck in hello" ; \
15540 (cd $(HOST_SUBDIR)/hello && \
15541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15543 "RANLIB=$${RANLIB}" \
15544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15545 installcheck) \
15546 || exit 1
15548 @endif hello
15550 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15551 maybe-mostlyclean-hello:
15552 @if hello
15553 maybe-mostlyclean-hello: mostlyclean-hello
15555 mostlyclean-hello:
15556 @: $(MAKE); $(unstage)
15557 @[ -f ./hello/Makefile ] || exit 0; \
15558 r=`${PWD_COMMAND}`; export r; \
15559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15560 $(HOST_EXPORTS) \
15561 for flag in $(EXTRA_HOST_FLAGS) ; do \
15562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15563 done; \
15564 echo "Doing mostlyclean in hello" ; \
15565 (cd $(HOST_SUBDIR)/hello && \
15566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15568 "RANLIB=$${RANLIB}" \
15569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15570 mostlyclean) \
15571 || exit 1
15573 @endif hello
15575 .PHONY: maybe-clean-hello clean-hello
15576 maybe-clean-hello:
15577 @if hello
15578 maybe-clean-hello: clean-hello
15580 clean-hello:
15581 @: $(MAKE); $(unstage)
15582 @[ -f ./hello/Makefile ] || exit 0; \
15583 r=`${PWD_COMMAND}`; export r; \
15584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15585 $(HOST_EXPORTS) \
15586 for flag in $(EXTRA_HOST_FLAGS) ; do \
15587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15588 done; \
15589 echo "Doing clean in hello" ; \
15590 (cd $(HOST_SUBDIR)/hello && \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15593 "RANLIB=$${RANLIB}" \
15594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15595 clean) \
15596 || exit 1
15598 @endif hello
15600 .PHONY: maybe-distclean-hello distclean-hello
15601 maybe-distclean-hello:
15602 @if hello
15603 maybe-distclean-hello: distclean-hello
15605 distclean-hello:
15606 @: $(MAKE); $(unstage)
15607 @[ -f ./hello/Makefile ] || exit 0; \
15608 r=`${PWD_COMMAND}`; export r; \
15609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15610 $(HOST_EXPORTS) \
15611 for flag in $(EXTRA_HOST_FLAGS) ; do \
15612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15613 done; \
15614 echo "Doing distclean in hello" ; \
15615 (cd $(HOST_SUBDIR)/hello && \
15616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15618 "RANLIB=$${RANLIB}" \
15619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15620 distclean) \
15621 || exit 1
15623 @endif hello
15625 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15626 maybe-maintainer-clean-hello:
15627 @if hello
15628 maybe-maintainer-clean-hello: maintainer-clean-hello
15630 maintainer-clean-hello:
15631 @: $(MAKE); $(unstage)
15632 @[ -f ./hello/Makefile ] || exit 0; \
15633 r=`${PWD_COMMAND}`; export r; \
15634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15635 $(HOST_EXPORTS) \
15636 for flag in $(EXTRA_HOST_FLAGS) ; do \
15637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15638 done; \
15639 echo "Doing maintainer-clean in hello" ; \
15640 (cd $(HOST_SUBDIR)/hello && \
15641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15643 "RANLIB=$${RANLIB}" \
15644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15645 maintainer-clean) \
15646 || exit 1
15648 @endif hello
15652 .PHONY: configure-indent maybe-configure-indent
15653 maybe-configure-indent:
15654 @if gcc-bootstrap
15655 configure-indent: stage_current
15656 @endif gcc-bootstrap
15657 @if indent
15658 maybe-configure-indent: configure-indent
15659 configure-indent:
15660 @: $(MAKE); $(unstage)
15661 @r=`${PWD_COMMAND}`; export r; \
15662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15665 $(HOST_EXPORTS) \
15666 echo Configuring in $(HOST_SUBDIR)/indent; \
15667 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15668 case $(srcdir) in \
15669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15670 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15672 esac; \
15673 srcdiroption="--srcdir=$${topdir}/indent"; \
15674 libsrcdir="$$s/indent"; \
15675 $(SHELL) $${libsrcdir}/configure \
15676 $(HOST_CONFIGARGS) $${srcdiroption} \
15677 || exit 1
15678 @endif indent
15684 .PHONY: all-indent maybe-all-indent
15685 maybe-all-indent:
15686 @if gcc-bootstrap
15687 all-indent: stage_current
15688 @endif gcc-bootstrap
15689 @if indent
15690 TARGET-indent=all
15691 maybe-all-indent: all-indent
15692 all-indent: configure-indent
15693 @: $(MAKE); $(unstage)
15694 @r=`${PWD_COMMAND}`; export r; \
15695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15696 $(HOST_EXPORTS) \
15697 (cd $(HOST_SUBDIR)/indent && \
15698 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15699 @endif indent
15704 .PHONY: check-indent maybe-check-indent
15705 maybe-check-indent:
15706 @if indent
15707 maybe-check-indent: check-indent
15709 check-indent:
15710 @: $(MAKE); $(unstage)
15711 @r=`${PWD_COMMAND}`; export r; \
15712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15713 $(HOST_EXPORTS) \
15714 (cd $(HOST_SUBDIR)/indent && \
15715 $(MAKE) $(FLAGS_TO_PASS) check)
15717 @endif indent
15719 .PHONY: install-indent maybe-install-indent
15720 maybe-install-indent:
15721 @if indent
15722 maybe-install-indent: install-indent
15724 install-indent: installdirs
15725 @: $(MAKE); $(unstage)
15726 @r=`${PWD_COMMAND}`; export r; \
15727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15728 $(HOST_EXPORTS) \
15729 (cd $(HOST_SUBDIR)/indent && \
15730 $(MAKE) $(FLAGS_TO_PASS) install)
15732 @endif indent
15734 # Other targets (info, dvi, pdf, etc.)
15736 .PHONY: maybe-info-indent info-indent
15737 maybe-info-indent:
15738 @if indent
15739 maybe-info-indent: info-indent
15741 info-indent: \
15742 configure-indent
15743 @: $(MAKE); $(unstage)
15744 @[ -f ./indent/Makefile ] || exit 0; \
15745 r=`${PWD_COMMAND}`; export r; \
15746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15747 $(HOST_EXPORTS) \
15748 for flag in $(EXTRA_HOST_FLAGS) ; do \
15749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15750 done; \
15751 echo "Doing info in indent" ; \
15752 (cd $(HOST_SUBDIR)/indent && \
15753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15755 "RANLIB=$${RANLIB}" \
15756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15757 info) \
15758 || exit 1
15760 @endif indent
15762 .PHONY: maybe-dvi-indent dvi-indent
15763 maybe-dvi-indent:
15764 @if indent
15765 maybe-dvi-indent: dvi-indent
15767 dvi-indent: \
15768 configure-indent
15769 @: $(MAKE); $(unstage)
15770 @[ -f ./indent/Makefile ] || exit 0; \
15771 r=`${PWD_COMMAND}`; export r; \
15772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15773 $(HOST_EXPORTS) \
15774 for flag in $(EXTRA_HOST_FLAGS) ; do \
15775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15776 done; \
15777 echo "Doing dvi in indent" ; \
15778 (cd $(HOST_SUBDIR)/indent && \
15779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15781 "RANLIB=$${RANLIB}" \
15782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15783 dvi) \
15784 || exit 1
15786 @endif indent
15788 .PHONY: maybe-pdf-indent pdf-indent
15789 maybe-pdf-indent:
15790 @if indent
15791 maybe-pdf-indent: pdf-indent
15793 pdf-indent: \
15794 configure-indent
15795 @: $(MAKE); $(unstage)
15796 @[ -f ./indent/Makefile ] || exit 0; \
15797 r=`${PWD_COMMAND}`; export r; \
15798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15799 $(HOST_EXPORTS) \
15800 for flag in $(EXTRA_HOST_FLAGS) ; do \
15801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15802 done; \
15803 echo "Doing pdf in indent" ; \
15804 (cd $(HOST_SUBDIR)/indent && \
15805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15807 "RANLIB=$${RANLIB}" \
15808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15809 pdf) \
15810 || exit 1
15812 @endif indent
15814 .PHONY: maybe-html-indent html-indent
15815 maybe-html-indent:
15816 @if indent
15817 maybe-html-indent: html-indent
15819 html-indent: \
15820 configure-indent
15821 @: $(MAKE); $(unstage)
15822 @[ -f ./indent/Makefile ] || exit 0; \
15823 r=`${PWD_COMMAND}`; export r; \
15824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15825 $(HOST_EXPORTS) \
15826 for flag in $(EXTRA_HOST_FLAGS) ; do \
15827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15828 done; \
15829 echo "Doing html in indent" ; \
15830 (cd $(HOST_SUBDIR)/indent && \
15831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15833 "RANLIB=$${RANLIB}" \
15834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15835 html) \
15836 || exit 1
15838 @endif indent
15840 .PHONY: maybe-TAGS-indent TAGS-indent
15841 maybe-TAGS-indent:
15842 @if indent
15843 maybe-TAGS-indent: TAGS-indent
15845 TAGS-indent: \
15846 configure-indent
15847 @: $(MAKE); $(unstage)
15848 @[ -f ./indent/Makefile ] || exit 0; \
15849 r=`${PWD_COMMAND}`; export r; \
15850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15851 $(HOST_EXPORTS) \
15852 for flag in $(EXTRA_HOST_FLAGS) ; do \
15853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15854 done; \
15855 echo "Doing TAGS in indent" ; \
15856 (cd $(HOST_SUBDIR)/indent && \
15857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15859 "RANLIB=$${RANLIB}" \
15860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15861 TAGS) \
15862 || exit 1
15864 @endif indent
15866 .PHONY: maybe-install-info-indent install-info-indent
15867 maybe-install-info-indent:
15868 @if indent
15869 maybe-install-info-indent: install-info-indent
15871 install-info-indent: \
15872 configure-indent \
15873 info-indent
15874 @: $(MAKE); $(unstage)
15875 @[ -f ./indent/Makefile ] || exit 0; \
15876 r=`${PWD_COMMAND}`; export r; \
15877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15878 $(HOST_EXPORTS) \
15879 for flag in $(EXTRA_HOST_FLAGS) ; do \
15880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15881 done; \
15882 echo "Doing install-info in indent" ; \
15883 (cd $(HOST_SUBDIR)/indent && \
15884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15886 "RANLIB=$${RANLIB}" \
15887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15888 install-info) \
15889 || exit 1
15891 @endif indent
15893 .PHONY: maybe-install-html-indent install-html-indent
15894 maybe-install-html-indent:
15895 @if indent
15896 maybe-install-html-indent: install-html-indent
15898 install-html-indent: \
15899 configure-indent \
15900 html-indent
15901 @: $(MAKE); $(unstage)
15902 @[ -f ./indent/Makefile ] || exit 0; \
15903 r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905 $(HOST_EXPORTS) \
15906 for flag in $(EXTRA_HOST_FLAGS) ; do \
15907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15908 done; \
15909 echo "Doing install-html in indent" ; \
15910 (cd $(HOST_SUBDIR)/indent && \
15911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15913 "RANLIB=$${RANLIB}" \
15914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15915 install-html) \
15916 || exit 1
15918 @endif indent
15920 .PHONY: maybe-installcheck-indent installcheck-indent
15921 maybe-installcheck-indent:
15922 @if indent
15923 maybe-installcheck-indent: installcheck-indent
15925 installcheck-indent: \
15926 configure-indent
15927 @: $(MAKE); $(unstage)
15928 @[ -f ./indent/Makefile ] || exit 0; \
15929 r=`${PWD_COMMAND}`; export r; \
15930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15931 $(HOST_EXPORTS) \
15932 for flag in $(EXTRA_HOST_FLAGS) ; do \
15933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15934 done; \
15935 echo "Doing installcheck in indent" ; \
15936 (cd $(HOST_SUBDIR)/indent && \
15937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15939 "RANLIB=$${RANLIB}" \
15940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15941 installcheck) \
15942 || exit 1
15944 @endif indent
15946 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15947 maybe-mostlyclean-indent:
15948 @if indent
15949 maybe-mostlyclean-indent: mostlyclean-indent
15951 mostlyclean-indent:
15952 @: $(MAKE); $(unstage)
15953 @[ -f ./indent/Makefile ] || exit 0; \
15954 r=`${PWD_COMMAND}`; export r; \
15955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15956 $(HOST_EXPORTS) \
15957 for flag in $(EXTRA_HOST_FLAGS) ; do \
15958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15959 done; \
15960 echo "Doing mostlyclean in indent" ; \
15961 (cd $(HOST_SUBDIR)/indent && \
15962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15964 "RANLIB=$${RANLIB}" \
15965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15966 mostlyclean) \
15967 || exit 1
15969 @endif indent
15971 .PHONY: maybe-clean-indent clean-indent
15972 maybe-clean-indent:
15973 @if indent
15974 maybe-clean-indent: clean-indent
15976 clean-indent:
15977 @: $(MAKE); $(unstage)
15978 @[ -f ./indent/Makefile ] || exit 0; \
15979 r=`${PWD_COMMAND}`; export r; \
15980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15981 $(HOST_EXPORTS) \
15982 for flag in $(EXTRA_HOST_FLAGS) ; do \
15983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15984 done; \
15985 echo "Doing clean in indent" ; \
15986 (cd $(HOST_SUBDIR)/indent && \
15987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15989 "RANLIB=$${RANLIB}" \
15990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15991 clean) \
15992 || exit 1
15994 @endif indent
15996 .PHONY: maybe-distclean-indent distclean-indent
15997 maybe-distclean-indent:
15998 @if indent
15999 maybe-distclean-indent: distclean-indent
16001 distclean-indent:
16002 @: $(MAKE); $(unstage)
16003 @[ -f ./indent/Makefile ] || exit 0; \
16004 r=`${PWD_COMMAND}`; export r; \
16005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16006 $(HOST_EXPORTS) \
16007 for flag in $(EXTRA_HOST_FLAGS) ; do \
16008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16009 done; \
16010 echo "Doing distclean in indent" ; \
16011 (cd $(HOST_SUBDIR)/indent && \
16012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16014 "RANLIB=$${RANLIB}" \
16015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16016 distclean) \
16017 || exit 1
16019 @endif indent
16021 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16022 maybe-maintainer-clean-indent:
16023 @if indent
16024 maybe-maintainer-clean-indent: maintainer-clean-indent
16026 maintainer-clean-indent:
16027 @: $(MAKE); $(unstage)
16028 @[ -f ./indent/Makefile ] || exit 0; \
16029 r=`${PWD_COMMAND}`; export r; \
16030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16031 $(HOST_EXPORTS) \
16032 for flag in $(EXTRA_HOST_FLAGS) ; do \
16033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16034 done; \
16035 echo "Doing maintainer-clean in indent" ; \
16036 (cd $(HOST_SUBDIR)/indent && \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16039 "RANLIB=$${RANLIB}" \
16040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16041 maintainer-clean) \
16042 || exit 1
16044 @endif indent
16048 .PHONY: configure-intl maybe-configure-intl
16049 maybe-configure-intl:
16050 @if gcc-bootstrap
16051 configure-intl: stage_current
16052 @endif gcc-bootstrap
16053 @if intl
16054 maybe-configure-intl: configure-intl
16055 configure-intl:
16056 @r=`${PWD_COMMAND}`; export r; \
16057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16058 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16060 $(HOST_EXPORTS) \
16061 echo Configuring in $(HOST_SUBDIR)/intl; \
16062 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16063 case $(srcdir) in \
16064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16065 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16067 esac; \
16068 srcdiroption="--srcdir=$${topdir}/intl"; \
16069 libsrcdir="$$s/intl"; \
16070 $(SHELL) $${libsrcdir}/configure \
16071 $(HOST_CONFIGARGS) $${srcdiroption} \
16072 || exit 1
16073 @endif intl
16077 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16078 maybe-configure-stage1-intl:
16079 @if intl-bootstrap
16080 maybe-configure-stage1-intl: configure-stage1-intl
16081 configure-stage1-intl:
16082 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16084 @r=`${PWD_COMMAND}`; export r; \
16085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16086 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16087 $(HOST_EXPORTS) \
16088 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16090 cd $(HOST_SUBDIR)/intl || exit 1; \
16091 case $(srcdir) in \
16092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16093 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16095 esac; \
16096 srcdiroption="--srcdir=$${topdir}/intl"; \
16097 libsrcdir="$$s/intl"; \
16098 $(SHELL) $${libsrcdir}/configure \
16099 $(HOST_CONFIGARGS) $${srcdiroption} \
16101 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16102 @endif intl-bootstrap
16104 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16105 maybe-configure-stage2-intl:
16106 @if intl-bootstrap
16107 maybe-configure-stage2-intl: configure-stage2-intl
16108 configure-stage2-intl:
16109 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16111 @r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16114 $(HOST_EXPORTS) \
16115 $(POSTSTAGE1_HOST_EXPORTS) \
16116 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16118 cd $(HOST_SUBDIR)/intl || exit 1; \
16119 case $(srcdir) in \
16120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16121 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16123 esac; \
16124 srcdiroption="--srcdir=$${topdir}/intl"; \
16125 libsrcdir="$$s/intl"; \
16126 $(SHELL) $${libsrcdir}/configure \
16127 $(HOST_CONFIGARGS) $${srcdiroption} \
16128 --with-build-libsubdir=$(HOST_SUBDIR) \
16129 @stage2_werror_flag@
16130 @endif intl-bootstrap
16132 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16133 maybe-configure-stage3-intl:
16134 @if intl-bootstrap
16135 maybe-configure-stage3-intl: configure-stage3-intl
16136 configure-stage3-intl:
16137 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16139 @r=`${PWD_COMMAND}`; export r; \
16140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16142 $(HOST_EXPORTS) \
16143 $(POSTSTAGE1_HOST_EXPORTS) \
16144 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16146 cd $(HOST_SUBDIR)/intl || exit 1; \
16147 case $(srcdir) in \
16148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16149 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16151 esac; \
16152 srcdiroption="--srcdir=$${topdir}/intl"; \
16153 libsrcdir="$$s/intl"; \
16154 $(SHELL) $${libsrcdir}/configure \
16155 $(HOST_CONFIGARGS) $${srcdiroption} \
16156 --with-build-libsubdir=$(HOST_SUBDIR) \
16157 @stage2_werror_flag@
16158 @endif intl-bootstrap
16160 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16161 maybe-configure-stage4-intl:
16162 @if intl-bootstrap
16163 maybe-configure-stage4-intl: configure-stage4-intl
16164 configure-stage4-intl:
16165 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16167 @r=`${PWD_COMMAND}`; export r; \
16168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16169 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16170 $(HOST_EXPORTS) \
16171 $(POSTSTAGE1_HOST_EXPORTS) \
16172 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16174 cd $(HOST_SUBDIR)/intl || exit 1; \
16175 case $(srcdir) in \
16176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16177 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16179 esac; \
16180 srcdiroption="--srcdir=$${topdir}/intl"; \
16181 libsrcdir="$$s/intl"; \
16182 $(SHELL) $${libsrcdir}/configure \
16183 $(HOST_CONFIGARGS) $${srcdiroption} \
16184 --with-build-libsubdir=$(HOST_SUBDIR) \
16185 @stage2_werror_flag@
16186 @endif intl-bootstrap
16188 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16189 maybe-configure-stageprofile-intl:
16190 @if intl-bootstrap
16191 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16192 configure-stageprofile-intl:
16193 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16194 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16195 @r=`${PWD_COMMAND}`; export r; \
16196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16197 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16198 $(HOST_EXPORTS) \
16199 $(POSTSTAGE1_HOST_EXPORTS) \
16200 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16202 cd $(HOST_SUBDIR)/intl || exit 1; \
16203 case $(srcdir) in \
16204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16205 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16207 esac; \
16208 srcdiroption="--srcdir=$${topdir}/intl"; \
16209 libsrcdir="$$s/intl"; \
16210 $(SHELL) $${libsrcdir}/configure \
16211 $(HOST_CONFIGARGS) $${srcdiroption} \
16212 --with-build-libsubdir=$(HOST_SUBDIR) \
16213 @stage2_werror_flag@
16214 @endif intl-bootstrap
16216 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16217 maybe-configure-stagefeedback-intl:
16218 @if intl-bootstrap
16219 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16220 configure-stagefeedback-intl:
16221 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16223 @r=`${PWD_COMMAND}`; export r; \
16224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16225 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16226 $(HOST_EXPORTS) \
16227 $(POSTSTAGE1_HOST_EXPORTS) \
16228 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16230 cd $(HOST_SUBDIR)/intl || exit 1; \
16231 case $(srcdir) in \
16232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16233 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16235 esac; \
16236 srcdiroption="--srcdir=$${topdir}/intl"; \
16237 libsrcdir="$$s/intl"; \
16238 $(SHELL) $${libsrcdir}/configure \
16239 $(HOST_CONFIGARGS) $${srcdiroption} \
16240 --with-build-libsubdir=$(HOST_SUBDIR) \
16241 @stage2_werror_flag@
16242 @endif intl-bootstrap
16248 .PHONY: all-intl maybe-all-intl
16249 maybe-all-intl:
16250 @if gcc-bootstrap
16251 all-intl: stage_current
16252 @endif gcc-bootstrap
16253 @if intl
16254 TARGET-intl=all
16255 maybe-all-intl: all-intl
16256 all-intl: configure-intl
16257 @r=`${PWD_COMMAND}`; export r; \
16258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16259 $(HOST_EXPORTS) \
16260 (cd $(HOST_SUBDIR)/intl && \
16261 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16262 @endif intl
16266 .PHONY: all-stage1-intl maybe-all-stage1-intl
16267 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16268 maybe-all-stage1-intl:
16269 maybe-clean-stage1-intl:
16270 @if intl-bootstrap
16271 maybe-all-stage1-intl: all-stage1-intl
16272 all-stage1: all-stage1-intl
16273 TARGET-stage1-intl = $(TARGET-intl)
16274 all-stage1-intl: configure-stage1-intl
16275 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16276 @r=`${PWD_COMMAND}`; export r; \
16277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16278 $(HOST_EXPORTS) \
16279 cd $(HOST_SUBDIR)/intl && \
16280 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16281 $(TARGET-stage1-intl)
16283 maybe-clean-stage1-intl: clean-stage1-intl
16284 clean-stage1: clean-stage1-intl
16285 clean-stage1-intl:
16286 @if [ $(current_stage) = stage1 ]; then \
16287 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16288 else \
16289 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16290 $(MAKE) stage1-start; \
16291 fi; \
16292 cd $(HOST_SUBDIR)/intl && \
16293 $(MAKE) $(FLAGS_TO_PASS) \
16294 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16295 @endif intl-bootstrap
16298 .PHONY: all-stage2-intl maybe-all-stage2-intl
16299 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16300 maybe-all-stage2-intl:
16301 maybe-clean-stage2-intl:
16302 @if intl-bootstrap
16303 maybe-all-stage2-intl: all-stage2-intl
16304 all-stage2: all-stage2-intl
16305 TARGET-stage2-intl = $(TARGET-intl)
16306 all-stage2-intl: configure-stage2-intl
16307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16308 @r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 $(HOST_EXPORTS) \
16311 $(POSTSTAGE1_HOST_EXPORTS) \
16312 cd $(HOST_SUBDIR)/intl && \
16313 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16314 $(TARGET-stage2-intl)
16316 maybe-clean-stage2-intl: clean-stage2-intl
16317 clean-stage2: clean-stage2-intl
16318 clean-stage2-intl:
16319 @if [ $(current_stage) = stage2 ]; then \
16320 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16321 else \
16322 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16323 $(MAKE) stage2-start; \
16324 fi; \
16325 cd $(HOST_SUBDIR)/intl && \
16326 $(MAKE) $(FLAGS_TO_PASS) \
16327 $(POSTSTAGE1_FLAGS_TO_PASS) \
16328 clean
16329 @endif intl-bootstrap
16332 .PHONY: all-stage3-intl maybe-all-stage3-intl
16333 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16334 maybe-all-stage3-intl:
16335 maybe-clean-stage3-intl:
16336 @if intl-bootstrap
16337 maybe-all-stage3-intl: all-stage3-intl
16338 all-stage3: all-stage3-intl
16339 TARGET-stage3-intl = $(TARGET-intl)
16340 all-stage3-intl: configure-stage3-intl
16341 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16342 @r=`${PWD_COMMAND}`; export r; \
16343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16344 $(HOST_EXPORTS) \
16345 $(POSTSTAGE1_HOST_EXPORTS) \
16346 cd $(HOST_SUBDIR)/intl && \
16347 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16348 $(TARGET-stage3-intl)
16350 maybe-clean-stage3-intl: clean-stage3-intl
16351 clean-stage3: clean-stage3-intl
16352 clean-stage3-intl:
16353 @if [ $(current_stage) = stage3 ]; then \
16354 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16355 else \
16356 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16357 $(MAKE) stage3-start; \
16358 fi; \
16359 cd $(HOST_SUBDIR)/intl && \
16360 $(MAKE) $(FLAGS_TO_PASS) \
16361 $(POSTSTAGE1_FLAGS_TO_PASS) \
16362 clean
16363 @endif intl-bootstrap
16366 .PHONY: all-stage4-intl maybe-all-stage4-intl
16367 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16368 maybe-all-stage4-intl:
16369 maybe-clean-stage4-intl:
16370 @if intl-bootstrap
16371 maybe-all-stage4-intl: all-stage4-intl
16372 all-stage4: all-stage4-intl
16373 TARGET-stage4-intl = $(TARGET-intl)
16374 all-stage4-intl: configure-stage4-intl
16375 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16376 @r=`${PWD_COMMAND}`; export r; \
16377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16378 $(HOST_EXPORTS) \
16379 $(POSTSTAGE1_HOST_EXPORTS) \
16380 cd $(HOST_SUBDIR)/intl && \
16381 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16382 $(TARGET-stage4-intl)
16384 maybe-clean-stage4-intl: clean-stage4-intl
16385 clean-stage4: clean-stage4-intl
16386 clean-stage4-intl:
16387 @if [ $(current_stage) = stage4 ]; then \
16388 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16389 else \
16390 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
16391 $(MAKE) stage4-start; \
16392 fi; \
16393 cd $(HOST_SUBDIR)/intl && \
16394 $(MAKE) $(FLAGS_TO_PASS) \
16395 $(POSTSTAGE1_FLAGS_TO_PASS) \
16396 clean
16397 @endif intl-bootstrap
16400 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16401 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16402 maybe-all-stageprofile-intl:
16403 maybe-clean-stageprofile-intl:
16404 @if intl-bootstrap
16405 maybe-all-stageprofile-intl: all-stageprofile-intl
16406 all-stageprofile: all-stageprofile-intl
16407 TARGET-stageprofile-intl = $(TARGET-intl)
16408 all-stageprofile-intl: configure-stageprofile-intl
16409 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16410 @r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16412 $(HOST_EXPORTS) \
16413 $(POSTSTAGE1_HOST_EXPORTS) \
16414 cd $(HOST_SUBDIR)/intl && \
16415 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16416 $(TARGET-stageprofile-intl)
16418 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16419 clean-stageprofile: clean-stageprofile-intl
16420 clean-stageprofile-intl:
16421 @if [ $(current_stage) = stageprofile ]; then \
16422 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16423 else \
16424 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
16425 $(MAKE) stageprofile-start; \
16426 fi; \
16427 cd $(HOST_SUBDIR)/intl && \
16428 $(MAKE) $(FLAGS_TO_PASS) \
16429 $(POSTSTAGE1_FLAGS_TO_PASS) \
16430 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16431 @endif intl-bootstrap
16434 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16435 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16436 maybe-all-stagefeedback-intl:
16437 maybe-clean-stagefeedback-intl:
16438 @if intl-bootstrap
16439 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16440 all-stagefeedback: all-stagefeedback-intl
16441 TARGET-stagefeedback-intl = $(TARGET-intl)
16442 all-stagefeedback-intl: configure-stagefeedback-intl
16443 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16444 @r=`${PWD_COMMAND}`; export r; \
16445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16446 $(HOST_EXPORTS) \
16447 $(POSTSTAGE1_HOST_EXPORTS) \
16448 cd $(HOST_SUBDIR)/intl && \
16449 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16450 $(TARGET-stagefeedback-intl)
16452 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16453 clean-stagefeedback: clean-stagefeedback-intl
16454 clean-stagefeedback-intl:
16455 @if [ $(current_stage) = stagefeedback ]; then \
16456 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16457 else \
16458 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
16459 $(MAKE) stagefeedback-start; \
16460 fi; \
16461 cd $(HOST_SUBDIR)/intl && \
16462 $(MAKE) $(FLAGS_TO_PASS) \
16463 $(POSTSTAGE1_FLAGS_TO_PASS) \
16464 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16465 @endif intl-bootstrap
16471 .PHONY: check-intl maybe-check-intl
16472 maybe-check-intl:
16473 @if intl
16474 maybe-check-intl: check-intl
16476 check-intl:
16477 @: $(MAKE); $(unstage)
16478 @r=`${PWD_COMMAND}`; export r; \
16479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16480 $(HOST_EXPORTS) \
16481 (cd $(HOST_SUBDIR)/intl && \
16482 $(MAKE) $(FLAGS_TO_PASS) check)
16484 @endif intl
16486 .PHONY: install-intl maybe-install-intl
16487 maybe-install-intl:
16488 @if intl
16489 maybe-install-intl: install-intl
16491 install-intl: installdirs
16492 @: $(MAKE); $(unstage)
16493 @r=`${PWD_COMMAND}`; export r; \
16494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16495 $(HOST_EXPORTS) \
16496 (cd $(HOST_SUBDIR)/intl && \
16497 $(MAKE) $(FLAGS_TO_PASS) install)
16499 @endif intl
16501 # Other targets (info, dvi, pdf, etc.)
16503 .PHONY: maybe-info-intl info-intl
16504 maybe-info-intl:
16505 @if intl
16506 maybe-info-intl: info-intl
16508 info-intl: \
16509 configure-intl
16510 @[ -f ./intl/Makefile ] || exit 0; \
16511 r=`${PWD_COMMAND}`; export r; \
16512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16513 $(HOST_EXPORTS) \
16514 for flag in $(EXTRA_HOST_FLAGS) ; do \
16515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16516 done; \
16517 echo "Doing info in intl" ; \
16518 (cd $(HOST_SUBDIR)/intl && \
16519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16521 "RANLIB=$${RANLIB}" \
16522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16523 info) \
16524 || exit 1
16526 @endif intl
16528 .PHONY: maybe-dvi-intl dvi-intl
16529 maybe-dvi-intl:
16530 @if intl
16531 maybe-dvi-intl: dvi-intl
16533 dvi-intl: \
16534 configure-intl
16535 @[ -f ./intl/Makefile ] || exit 0; \
16536 r=`${PWD_COMMAND}`; export r; \
16537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16538 $(HOST_EXPORTS) \
16539 for flag in $(EXTRA_HOST_FLAGS) ; do \
16540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16541 done; \
16542 echo "Doing dvi in intl" ; \
16543 (cd $(HOST_SUBDIR)/intl && \
16544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16546 "RANLIB=$${RANLIB}" \
16547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16548 dvi) \
16549 || exit 1
16551 @endif intl
16553 .PHONY: maybe-pdf-intl pdf-intl
16554 maybe-pdf-intl:
16555 @if intl
16556 maybe-pdf-intl: pdf-intl
16558 pdf-intl: \
16559 configure-intl
16560 @[ -f ./intl/Makefile ] || exit 0; \
16561 r=`${PWD_COMMAND}`; export r; \
16562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16563 $(HOST_EXPORTS) \
16564 for flag in $(EXTRA_HOST_FLAGS) ; do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16566 done; \
16567 echo "Doing pdf in intl" ; \
16568 (cd $(HOST_SUBDIR)/intl && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16573 pdf) \
16574 || exit 1
16576 @endif intl
16578 .PHONY: maybe-html-intl html-intl
16579 maybe-html-intl:
16580 @if intl
16581 maybe-html-intl: html-intl
16583 html-intl: \
16584 configure-intl
16585 @[ -f ./intl/Makefile ] || exit 0; \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 $(HOST_EXPORTS) \
16589 for flag in $(EXTRA_HOST_FLAGS) ; do \
16590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16591 done; \
16592 echo "Doing html in intl" ; \
16593 (cd $(HOST_SUBDIR)/intl && \
16594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16596 "RANLIB=$${RANLIB}" \
16597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16598 html) \
16599 || exit 1
16601 @endif intl
16603 .PHONY: maybe-TAGS-intl TAGS-intl
16604 maybe-TAGS-intl:
16605 @if intl
16606 maybe-TAGS-intl: TAGS-intl
16608 TAGS-intl: \
16609 configure-intl
16610 @[ -f ./intl/Makefile ] || exit 0; \
16611 r=`${PWD_COMMAND}`; export r; \
16612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16613 $(HOST_EXPORTS) \
16614 for flag in $(EXTRA_HOST_FLAGS) ; do \
16615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16616 done; \
16617 echo "Doing TAGS in intl" ; \
16618 (cd $(HOST_SUBDIR)/intl && \
16619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16621 "RANLIB=$${RANLIB}" \
16622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16623 TAGS) \
16624 || exit 1
16626 @endif intl
16628 .PHONY: maybe-install-info-intl install-info-intl
16629 maybe-install-info-intl:
16630 @if intl
16631 maybe-install-info-intl: install-info-intl
16633 install-info-intl: \
16634 configure-intl \
16635 info-intl
16636 @[ -f ./intl/Makefile ] || exit 0; \
16637 r=`${PWD_COMMAND}`; export r; \
16638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16639 $(HOST_EXPORTS) \
16640 for flag in $(EXTRA_HOST_FLAGS) ; do \
16641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16642 done; \
16643 echo "Doing install-info in intl" ; \
16644 (cd $(HOST_SUBDIR)/intl && \
16645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16647 "RANLIB=$${RANLIB}" \
16648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16649 install-info) \
16650 || exit 1
16652 @endif intl
16654 .PHONY: maybe-install-html-intl install-html-intl
16655 maybe-install-html-intl:
16656 @if intl
16657 maybe-install-html-intl: install-html-intl
16659 install-html-intl: \
16660 configure-intl \
16661 html-intl
16662 @[ -f ./intl/Makefile ] || exit 0; \
16663 r=`${PWD_COMMAND}`; export r; \
16664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16665 $(HOST_EXPORTS) \
16666 for flag in $(EXTRA_HOST_FLAGS) ; do \
16667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16668 done; \
16669 echo "Doing install-html in intl" ; \
16670 (cd $(HOST_SUBDIR)/intl && \
16671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16673 "RANLIB=$${RANLIB}" \
16674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16675 install-html) \
16676 || exit 1
16678 @endif intl
16680 .PHONY: maybe-installcheck-intl installcheck-intl
16681 maybe-installcheck-intl:
16682 @if intl
16683 maybe-installcheck-intl: installcheck-intl
16685 installcheck-intl: \
16686 configure-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 installcheck 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 installcheck) \
16701 || exit 1
16703 @endif intl
16705 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16706 maybe-mostlyclean-intl:
16707 @if intl
16708 maybe-mostlyclean-intl: mostlyclean-intl
16710 mostlyclean-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 mostlyclean 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 mostlyclean) \
16725 || exit 1
16727 @endif intl
16729 .PHONY: maybe-clean-intl clean-intl
16730 maybe-clean-intl:
16731 @if intl
16732 maybe-clean-intl: clean-intl
16734 clean-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 clean 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 clean) \
16749 || exit 1
16751 @endif intl
16753 .PHONY: maybe-distclean-intl distclean-intl
16754 maybe-distclean-intl:
16755 @if intl
16756 maybe-distclean-intl: distclean-intl
16758 distclean-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 distclean 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 distclean) \
16773 || exit 1
16775 @endif intl
16777 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16778 maybe-maintainer-clean-intl:
16779 @if intl
16780 maybe-maintainer-clean-intl: maintainer-clean-intl
16782 maintainer-clean-intl:
16783 @[ -f ./intl/Makefile ] || exit 0; \
16784 r=`${PWD_COMMAND}`; export r; \
16785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16786 $(HOST_EXPORTS) \
16787 for flag in $(EXTRA_HOST_FLAGS) ; do \
16788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16789 done; \
16790 echo "Doing maintainer-clean in intl" ; \
16791 (cd $(HOST_SUBDIR)/intl && \
16792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16794 "RANLIB=$${RANLIB}" \
16795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16796 maintainer-clean) \
16797 || exit 1
16799 @endif intl
16803 .PHONY: configure-tcl maybe-configure-tcl
16804 maybe-configure-tcl:
16805 @if gcc-bootstrap
16806 configure-tcl: stage_current
16807 @endif gcc-bootstrap
16808 @if tcl
16809 maybe-configure-tcl: configure-tcl
16810 configure-tcl:
16811 @: $(MAKE); $(unstage)
16812 @r=`${PWD_COMMAND}`; export r; \
16813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16814 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16816 $(HOST_EXPORTS) \
16817 echo Configuring in $(HOST_SUBDIR)/tcl; \
16818 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16819 case $(srcdir) in \
16820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16821 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16823 esac; \
16824 srcdiroption="--srcdir=$${topdir}/tcl"; \
16825 libsrcdir="$$s/tcl"; \
16826 $(SHELL) $${libsrcdir}/configure \
16827 $(HOST_CONFIGARGS) $${srcdiroption} \
16828 || exit 1
16829 @endif tcl
16835 .PHONY: all-tcl maybe-all-tcl
16836 maybe-all-tcl:
16837 @if gcc-bootstrap
16838 all-tcl: stage_current
16839 @endif gcc-bootstrap
16840 @if tcl
16841 TARGET-tcl=all
16842 maybe-all-tcl: all-tcl
16843 all-tcl: configure-tcl
16844 @: $(MAKE); $(unstage)
16845 @r=`${PWD_COMMAND}`; export r; \
16846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16847 $(HOST_EXPORTS) \
16848 (cd $(HOST_SUBDIR)/tcl && \
16849 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16850 @endif tcl
16855 .PHONY: check-tcl maybe-check-tcl
16856 maybe-check-tcl:
16857 @if tcl
16858 maybe-check-tcl: check-tcl
16860 check-tcl:
16861 @: $(MAKE); $(unstage)
16862 @r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 $(HOST_EXPORTS) \
16865 (cd $(HOST_SUBDIR)/tcl && \
16866 $(MAKE) $(FLAGS_TO_PASS) check)
16868 @endif tcl
16870 .PHONY: install-tcl maybe-install-tcl
16871 maybe-install-tcl:
16872 @if tcl
16873 maybe-install-tcl: install-tcl
16875 install-tcl: installdirs
16876 @: $(MAKE); $(unstage)
16877 @r=`${PWD_COMMAND}`; export r; \
16878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16879 $(HOST_EXPORTS) \
16880 (cd $(HOST_SUBDIR)/tcl && \
16881 $(MAKE) $(FLAGS_TO_PASS) install)
16883 @endif tcl
16885 # Other targets (info, dvi, pdf, etc.)
16887 .PHONY: maybe-info-tcl info-tcl
16888 maybe-info-tcl:
16889 @if tcl
16890 maybe-info-tcl: info-tcl
16892 info-tcl: \
16893 configure-tcl
16894 @: $(MAKE); $(unstage)
16895 @[ -f ./tcl/Makefile ] || exit 0; \
16896 r=`${PWD_COMMAND}`; export r; \
16897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16898 $(HOST_EXPORTS) \
16899 for flag in $(EXTRA_HOST_FLAGS) ; do \
16900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16901 done; \
16902 echo "Doing info in tcl" ; \
16903 (cd $(HOST_SUBDIR)/tcl && \
16904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16906 "RANLIB=$${RANLIB}" \
16907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16908 info) \
16909 || exit 1
16911 @endif tcl
16913 .PHONY: maybe-dvi-tcl dvi-tcl
16914 maybe-dvi-tcl:
16915 @if tcl
16916 maybe-dvi-tcl: dvi-tcl
16918 dvi-tcl: \
16919 configure-tcl
16920 @: $(MAKE); $(unstage)
16921 @[ -f ./tcl/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(HOST_EXPORTS) \
16925 for flag in $(EXTRA_HOST_FLAGS) ; do \
16926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16927 done; \
16928 echo "Doing dvi in tcl" ; \
16929 (cd $(HOST_SUBDIR)/tcl && \
16930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16932 "RANLIB=$${RANLIB}" \
16933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16934 dvi) \
16935 || exit 1
16937 @endif tcl
16939 .PHONY: maybe-pdf-tcl pdf-tcl
16940 maybe-pdf-tcl:
16941 @if tcl
16942 maybe-pdf-tcl: pdf-tcl
16944 pdf-tcl: \
16945 configure-tcl
16946 @: $(MAKE); $(unstage)
16947 @[ -f ./tcl/Makefile ] || exit 0; \
16948 r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 for flag in $(EXTRA_HOST_FLAGS) ; do \
16952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16953 done; \
16954 echo "Doing pdf in tcl" ; \
16955 (cd $(HOST_SUBDIR)/tcl && \
16956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16958 "RANLIB=$${RANLIB}" \
16959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16960 pdf) \
16961 || exit 1
16963 @endif tcl
16965 .PHONY: maybe-html-tcl html-tcl
16966 maybe-html-tcl:
16967 @if tcl
16968 maybe-html-tcl: html-tcl
16970 html-tcl: \
16971 configure-tcl
16972 @: $(MAKE); $(unstage)
16973 @[ -f ./tcl/Makefile ] || exit 0; \
16974 r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 $(HOST_EXPORTS) \
16977 for flag in $(EXTRA_HOST_FLAGS) ; do \
16978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16979 done; \
16980 echo "Doing html in tcl" ; \
16981 (cd $(HOST_SUBDIR)/tcl && \
16982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16984 "RANLIB=$${RANLIB}" \
16985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16986 html) \
16987 || exit 1
16989 @endif tcl
16991 .PHONY: maybe-TAGS-tcl TAGS-tcl
16992 maybe-TAGS-tcl:
16993 @if tcl
16994 maybe-TAGS-tcl: TAGS-tcl
16996 TAGS-tcl: \
16997 configure-tcl
16998 @: $(MAKE); $(unstage)
16999 @[ -f ./tcl/Makefile ] || exit 0; \
17000 r=`${PWD_COMMAND}`; export r; \
17001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17002 $(HOST_EXPORTS) \
17003 for flag in $(EXTRA_HOST_FLAGS) ; do \
17004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17005 done; \
17006 echo "Doing TAGS in tcl" ; \
17007 (cd $(HOST_SUBDIR)/tcl && \
17008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17010 "RANLIB=$${RANLIB}" \
17011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17012 TAGS) \
17013 || exit 1
17015 @endif tcl
17017 .PHONY: maybe-install-info-tcl install-info-tcl
17018 maybe-install-info-tcl:
17019 @if tcl
17020 maybe-install-info-tcl: install-info-tcl
17022 install-info-tcl: \
17023 configure-tcl \
17024 info-tcl
17025 @: $(MAKE); $(unstage)
17026 @[ -f ./tcl/Makefile ] || exit 0; \
17027 r=`${PWD_COMMAND}`; export r; \
17028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17029 $(HOST_EXPORTS) \
17030 for flag in $(EXTRA_HOST_FLAGS) ; do \
17031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17032 done; \
17033 echo "Doing install-info in tcl" ; \
17034 (cd $(HOST_SUBDIR)/tcl && \
17035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17037 "RANLIB=$${RANLIB}" \
17038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17039 install-info) \
17040 || exit 1
17042 @endif tcl
17044 .PHONY: maybe-install-html-tcl install-html-tcl
17045 maybe-install-html-tcl:
17046 @if tcl
17047 maybe-install-html-tcl: install-html-tcl
17049 install-html-tcl: \
17050 configure-tcl \
17051 html-tcl
17052 @: $(MAKE); $(unstage)
17053 @[ -f ./tcl/Makefile ] || exit 0; \
17054 r=`${PWD_COMMAND}`; export r; \
17055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17056 $(HOST_EXPORTS) \
17057 for flag in $(EXTRA_HOST_FLAGS) ; do \
17058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17059 done; \
17060 echo "Doing install-html in tcl" ; \
17061 (cd $(HOST_SUBDIR)/tcl && \
17062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17064 "RANLIB=$${RANLIB}" \
17065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17066 install-html) \
17067 || exit 1
17069 @endif tcl
17071 .PHONY: maybe-installcheck-tcl installcheck-tcl
17072 maybe-installcheck-tcl:
17073 @if tcl
17074 maybe-installcheck-tcl: installcheck-tcl
17076 installcheck-tcl: \
17077 configure-tcl
17078 @: $(MAKE); $(unstage)
17079 @[ -f ./tcl/Makefile ] || exit 0; \
17080 r=`${PWD_COMMAND}`; export r; \
17081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17082 $(HOST_EXPORTS) \
17083 for flag in $(EXTRA_HOST_FLAGS) ; do \
17084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17085 done; \
17086 echo "Doing installcheck in tcl" ; \
17087 (cd $(HOST_SUBDIR)/tcl && \
17088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17090 "RANLIB=$${RANLIB}" \
17091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17092 installcheck) \
17093 || exit 1
17095 @endif tcl
17097 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17098 maybe-mostlyclean-tcl:
17099 @if tcl
17100 maybe-mostlyclean-tcl: mostlyclean-tcl
17102 # tcl doesn't support mostlyclean.
17103 mostlyclean-tcl:
17105 @endif tcl
17107 .PHONY: maybe-clean-tcl clean-tcl
17108 maybe-clean-tcl:
17109 @if tcl
17110 maybe-clean-tcl: clean-tcl
17112 clean-tcl:
17113 @: $(MAKE); $(unstage)
17114 @[ -f ./tcl/Makefile ] || exit 0; \
17115 r=`${PWD_COMMAND}`; export r; \
17116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17117 $(HOST_EXPORTS) \
17118 for flag in $(EXTRA_HOST_FLAGS) ; do \
17119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17120 done; \
17121 echo "Doing clean in tcl" ; \
17122 (cd $(HOST_SUBDIR)/tcl && \
17123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17125 "RANLIB=$${RANLIB}" \
17126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17127 clean) \
17128 || exit 1
17130 @endif tcl
17132 .PHONY: maybe-distclean-tcl distclean-tcl
17133 maybe-distclean-tcl:
17134 @if tcl
17135 maybe-distclean-tcl: distclean-tcl
17137 distclean-tcl:
17138 @: $(MAKE); $(unstage)
17139 @[ -f ./tcl/Makefile ] || exit 0; \
17140 r=`${PWD_COMMAND}`; export r; \
17141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17142 $(HOST_EXPORTS) \
17143 for flag in $(EXTRA_HOST_FLAGS) ; do \
17144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17145 done; \
17146 echo "Doing distclean in tcl" ; \
17147 (cd $(HOST_SUBDIR)/tcl && \
17148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17150 "RANLIB=$${RANLIB}" \
17151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17152 distclean) \
17153 || exit 1
17155 @endif tcl
17157 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17158 maybe-maintainer-clean-tcl:
17159 @if tcl
17160 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17162 maintainer-clean-tcl:
17163 @: $(MAKE); $(unstage)
17164 @[ -f ./tcl/Makefile ] || exit 0; \
17165 r=`${PWD_COMMAND}`; export r; \
17166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17167 $(HOST_EXPORTS) \
17168 for flag in $(EXTRA_HOST_FLAGS) ; do \
17169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17170 done; \
17171 echo "Doing maintainer-clean in tcl" ; \
17172 (cd $(HOST_SUBDIR)/tcl && \
17173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17175 "RANLIB=$${RANLIB}" \
17176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17177 maintainer-clean) \
17178 || exit 1
17180 @endif tcl
17184 .PHONY: configure-itcl maybe-configure-itcl
17185 maybe-configure-itcl:
17186 @if gcc-bootstrap
17187 configure-itcl: stage_current
17188 @endif gcc-bootstrap
17189 @if itcl
17190 maybe-configure-itcl: configure-itcl
17191 configure-itcl:
17192 @: $(MAKE); $(unstage)
17193 @r=`${PWD_COMMAND}`; export r; \
17194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17195 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17197 $(HOST_EXPORTS) \
17198 echo Configuring in $(HOST_SUBDIR)/itcl; \
17199 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17200 case $(srcdir) in \
17201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17202 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17204 esac; \
17205 srcdiroption="--srcdir=$${topdir}/itcl"; \
17206 libsrcdir="$$s/itcl"; \
17207 $(SHELL) $${libsrcdir}/configure \
17208 $(HOST_CONFIGARGS) $${srcdiroption} \
17209 || exit 1
17210 @endif itcl
17216 .PHONY: all-itcl maybe-all-itcl
17217 maybe-all-itcl:
17218 @if gcc-bootstrap
17219 all-itcl: stage_current
17220 @endif gcc-bootstrap
17221 @if itcl
17222 TARGET-itcl=all
17223 maybe-all-itcl: all-itcl
17224 all-itcl: configure-itcl
17225 @: $(MAKE); $(unstage)
17226 @r=`${PWD_COMMAND}`; export r; \
17227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17228 $(HOST_EXPORTS) \
17229 (cd $(HOST_SUBDIR)/itcl && \
17230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17231 @endif itcl
17236 .PHONY: check-itcl maybe-check-itcl
17237 maybe-check-itcl:
17238 @if itcl
17239 maybe-check-itcl: check-itcl
17241 check-itcl:
17242 @: $(MAKE); $(unstage)
17243 @r=`${PWD_COMMAND}`; export r; \
17244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17245 $(HOST_EXPORTS) \
17246 (cd $(HOST_SUBDIR)/itcl && \
17247 $(MAKE) $(FLAGS_TO_PASS) check)
17249 @endif itcl
17251 .PHONY: install-itcl maybe-install-itcl
17252 maybe-install-itcl:
17253 @if itcl
17254 maybe-install-itcl: install-itcl
17256 install-itcl: installdirs
17257 @: $(MAKE); $(unstage)
17258 @r=`${PWD_COMMAND}`; export r; \
17259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260 $(HOST_EXPORTS) \
17261 (cd $(HOST_SUBDIR)/itcl && \
17262 $(MAKE) $(FLAGS_TO_PASS) install)
17264 @endif itcl
17266 # Other targets (info, dvi, pdf, etc.)
17268 .PHONY: maybe-info-itcl info-itcl
17269 maybe-info-itcl:
17270 @if itcl
17271 maybe-info-itcl: info-itcl
17273 info-itcl: \
17274 configure-itcl
17275 @: $(MAKE); $(unstage)
17276 @[ -f ./itcl/Makefile ] || exit 0; \
17277 r=`${PWD_COMMAND}`; export r; \
17278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 $(HOST_EXPORTS) \
17280 for flag in $(EXTRA_HOST_FLAGS) ; do \
17281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17282 done; \
17283 echo "Doing info in itcl" ; \
17284 (cd $(HOST_SUBDIR)/itcl && \
17285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17287 "RANLIB=$${RANLIB}" \
17288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17289 info) \
17290 || exit 1
17292 @endif itcl
17294 .PHONY: maybe-dvi-itcl dvi-itcl
17295 maybe-dvi-itcl:
17296 @if itcl
17297 maybe-dvi-itcl: dvi-itcl
17299 dvi-itcl: \
17300 configure-itcl
17301 @: $(MAKE); $(unstage)
17302 @[ -f ./itcl/Makefile ] || exit 0; \
17303 r=`${PWD_COMMAND}`; export r; \
17304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17305 $(HOST_EXPORTS) \
17306 for flag in $(EXTRA_HOST_FLAGS) ; do \
17307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17308 done; \
17309 echo "Doing dvi in itcl" ; \
17310 (cd $(HOST_SUBDIR)/itcl && \
17311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17313 "RANLIB=$${RANLIB}" \
17314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17315 dvi) \
17316 || exit 1
17318 @endif itcl
17320 .PHONY: maybe-pdf-itcl pdf-itcl
17321 maybe-pdf-itcl:
17322 @if itcl
17323 maybe-pdf-itcl: pdf-itcl
17325 pdf-itcl: \
17326 configure-itcl
17327 @: $(MAKE); $(unstage)
17328 @[ -f ./itcl/Makefile ] || exit 0; \
17329 r=`${PWD_COMMAND}`; export r; \
17330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17331 $(HOST_EXPORTS) \
17332 for flag in $(EXTRA_HOST_FLAGS) ; do \
17333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17334 done; \
17335 echo "Doing pdf in itcl" ; \
17336 (cd $(HOST_SUBDIR)/itcl && \
17337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17339 "RANLIB=$${RANLIB}" \
17340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17341 pdf) \
17342 || exit 1
17344 @endif itcl
17346 .PHONY: maybe-html-itcl html-itcl
17347 maybe-html-itcl:
17348 @if itcl
17349 maybe-html-itcl: html-itcl
17351 html-itcl: \
17352 configure-itcl
17353 @: $(MAKE); $(unstage)
17354 @[ -f ./itcl/Makefile ] || exit 0; \
17355 r=`${PWD_COMMAND}`; export r; \
17356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17357 $(HOST_EXPORTS) \
17358 for flag in $(EXTRA_HOST_FLAGS) ; do \
17359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17360 done; \
17361 echo "Doing html in itcl" ; \
17362 (cd $(HOST_SUBDIR)/itcl && \
17363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17365 "RANLIB=$${RANLIB}" \
17366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17367 html) \
17368 || exit 1
17370 @endif itcl
17372 .PHONY: maybe-TAGS-itcl TAGS-itcl
17373 maybe-TAGS-itcl:
17374 @if itcl
17375 maybe-TAGS-itcl: TAGS-itcl
17377 TAGS-itcl: \
17378 configure-itcl
17379 @: $(MAKE); $(unstage)
17380 @[ -f ./itcl/Makefile ] || exit 0; \
17381 r=`${PWD_COMMAND}`; export r; \
17382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17383 $(HOST_EXPORTS) \
17384 for flag in $(EXTRA_HOST_FLAGS) ; do \
17385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17386 done; \
17387 echo "Doing TAGS in itcl" ; \
17388 (cd $(HOST_SUBDIR)/itcl && \
17389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17391 "RANLIB=$${RANLIB}" \
17392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17393 TAGS) \
17394 || exit 1
17396 @endif itcl
17398 .PHONY: maybe-install-info-itcl install-info-itcl
17399 maybe-install-info-itcl:
17400 @if itcl
17401 maybe-install-info-itcl: install-info-itcl
17403 install-info-itcl: \
17404 configure-itcl \
17405 info-itcl
17406 @: $(MAKE); $(unstage)
17407 @[ -f ./itcl/Makefile ] || exit 0; \
17408 r=`${PWD_COMMAND}`; export r; \
17409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17410 $(HOST_EXPORTS) \
17411 for flag in $(EXTRA_HOST_FLAGS) ; do \
17412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17413 done; \
17414 echo "Doing install-info in itcl" ; \
17415 (cd $(HOST_SUBDIR)/itcl && \
17416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17418 "RANLIB=$${RANLIB}" \
17419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17420 install-info) \
17421 || exit 1
17423 @endif itcl
17425 .PHONY: maybe-install-html-itcl install-html-itcl
17426 maybe-install-html-itcl:
17427 @if itcl
17428 maybe-install-html-itcl: install-html-itcl
17430 install-html-itcl: \
17431 configure-itcl \
17432 html-itcl
17433 @: $(MAKE); $(unstage)
17434 @[ -f ./itcl/Makefile ] || exit 0; \
17435 r=`${PWD_COMMAND}`; export r; \
17436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17437 $(HOST_EXPORTS) \
17438 for flag in $(EXTRA_HOST_FLAGS) ; do \
17439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17440 done; \
17441 echo "Doing install-html in itcl" ; \
17442 (cd $(HOST_SUBDIR)/itcl && \
17443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17445 "RANLIB=$${RANLIB}" \
17446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17447 install-html) \
17448 || exit 1
17450 @endif itcl
17452 .PHONY: maybe-installcheck-itcl installcheck-itcl
17453 maybe-installcheck-itcl:
17454 @if itcl
17455 maybe-installcheck-itcl: installcheck-itcl
17457 installcheck-itcl: \
17458 configure-itcl
17459 @: $(MAKE); $(unstage)
17460 @[ -f ./itcl/Makefile ] || exit 0; \
17461 r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17463 $(HOST_EXPORTS) \
17464 for flag in $(EXTRA_HOST_FLAGS) ; do \
17465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17466 done; \
17467 echo "Doing installcheck in itcl" ; \
17468 (cd $(HOST_SUBDIR)/itcl && \
17469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17471 "RANLIB=$${RANLIB}" \
17472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17473 installcheck) \
17474 || exit 1
17476 @endif itcl
17478 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17479 maybe-mostlyclean-itcl:
17480 @if itcl
17481 maybe-mostlyclean-itcl: mostlyclean-itcl
17483 mostlyclean-itcl:
17484 @: $(MAKE); $(unstage)
17485 @[ -f ./itcl/Makefile ] || exit 0; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 $(HOST_EXPORTS) \
17489 for flag in $(EXTRA_HOST_FLAGS) ; do \
17490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17491 done; \
17492 echo "Doing mostlyclean in itcl" ; \
17493 (cd $(HOST_SUBDIR)/itcl && \
17494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17496 "RANLIB=$${RANLIB}" \
17497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17498 mostlyclean) \
17499 || exit 1
17501 @endif itcl
17503 .PHONY: maybe-clean-itcl clean-itcl
17504 maybe-clean-itcl:
17505 @if itcl
17506 maybe-clean-itcl: clean-itcl
17508 clean-itcl:
17509 @: $(MAKE); $(unstage)
17510 @[ -f ./itcl/Makefile ] || exit 0; \
17511 r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 $(HOST_EXPORTS) \
17514 for flag in $(EXTRA_HOST_FLAGS) ; do \
17515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17516 done; \
17517 echo "Doing clean in itcl" ; \
17518 (cd $(HOST_SUBDIR)/itcl && \
17519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17521 "RANLIB=$${RANLIB}" \
17522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17523 clean) \
17524 || exit 1
17526 @endif itcl
17528 .PHONY: maybe-distclean-itcl distclean-itcl
17529 maybe-distclean-itcl:
17530 @if itcl
17531 maybe-distclean-itcl: distclean-itcl
17533 distclean-itcl:
17534 @: $(MAKE); $(unstage)
17535 @[ -f ./itcl/Makefile ] || exit 0; \
17536 r=`${PWD_COMMAND}`; export r; \
17537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17538 $(HOST_EXPORTS) \
17539 for flag in $(EXTRA_HOST_FLAGS) ; do \
17540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17541 done; \
17542 echo "Doing distclean in itcl" ; \
17543 (cd $(HOST_SUBDIR)/itcl && \
17544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17546 "RANLIB=$${RANLIB}" \
17547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17548 distclean) \
17549 || exit 1
17551 @endif itcl
17553 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17554 maybe-maintainer-clean-itcl:
17555 @if itcl
17556 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17558 maintainer-clean-itcl:
17559 @: $(MAKE); $(unstage)
17560 @[ -f ./itcl/Makefile ] || exit 0; \
17561 r=`${PWD_COMMAND}`; export r; \
17562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17563 $(HOST_EXPORTS) \
17564 for flag in $(EXTRA_HOST_FLAGS) ; do \
17565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17566 done; \
17567 echo "Doing maintainer-clean in itcl" ; \
17568 (cd $(HOST_SUBDIR)/itcl && \
17569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17571 "RANLIB=$${RANLIB}" \
17572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17573 maintainer-clean) \
17574 || exit 1
17576 @endif itcl
17580 .PHONY: configure-ld maybe-configure-ld
17581 maybe-configure-ld:
17582 @if gcc-bootstrap
17583 configure-ld: stage_current
17584 @endif gcc-bootstrap
17585 @if ld
17586 maybe-configure-ld: configure-ld
17587 configure-ld:
17588 @r=`${PWD_COMMAND}`; export r; \
17589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17592 $(HOST_EXPORTS) \
17593 echo Configuring in $(HOST_SUBDIR)/ld; \
17594 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17595 case $(srcdir) in \
17596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17597 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17599 esac; \
17600 srcdiroption="--srcdir=$${topdir}/ld"; \
17601 libsrcdir="$$s/ld"; \
17602 $(SHELL) $${libsrcdir}/configure \
17603 $(HOST_CONFIGARGS) $${srcdiroption} \
17604 || exit 1
17605 @endif ld
17609 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17610 maybe-configure-stage1-ld:
17611 @if ld-bootstrap
17612 maybe-configure-stage1-ld: configure-stage1-ld
17613 configure-stage1-ld:
17614 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17616 @r=`${PWD_COMMAND}`; export r; \
17617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17618 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17619 $(HOST_EXPORTS) \
17620 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17622 cd $(HOST_SUBDIR)/ld || exit 1; \
17623 case $(srcdir) in \
17624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17625 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17627 esac; \
17628 srcdiroption="--srcdir=$${topdir}/ld"; \
17629 libsrcdir="$$s/ld"; \
17630 $(SHELL) $${libsrcdir}/configure \
17631 $(HOST_CONFIGARGS) $${srcdiroption} \
17633 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17634 @endif ld-bootstrap
17636 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17637 maybe-configure-stage2-ld:
17638 @if ld-bootstrap
17639 maybe-configure-stage2-ld: configure-stage2-ld
17640 configure-stage2-ld:
17641 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17642 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17643 @r=`${PWD_COMMAND}`; export r; \
17644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17645 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17646 $(HOST_EXPORTS) \
17647 $(POSTSTAGE1_HOST_EXPORTS) \
17648 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17650 cd $(HOST_SUBDIR)/ld || exit 1; \
17651 case $(srcdir) in \
17652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17653 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17655 esac; \
17656 srcdiroption="--srcdir=$${topdir}/ld"; \
17657 libsrcdir="$$s/ld"; \
17658 $(SHELL) $${libsrcdir}/configure \
17659 $(HOST_CONFIGARGS) $${srcdiroption} \
17660 --with-build-libsubdir=$(HOST_SUBDIR) \
17661 @stage2_werror_flag@
17662 @endif ld-bootstrap
17664 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17665 maybe-configure-stage3-ld:
17666 @if ld-bootstrap
17667 maybe-configure-stage3-ld: configure-stage3-ld
17668 configure-stage3-ld:
17669 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17671 @r=`${PWD_COMMAND}`; export r; \
17672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17673 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17674 $(HOST_EXPORTS) \
17675 $(POSTSTAGE1_HOST_EXPORTS) \
17676 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17678 cd $(HOST_SUBDIR)/ld || exit 1; \
17679 case $(srcdir) in \
17680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17681 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17683 esac; \
17684 srcdiroption="--srcdir=$${topdir}/ld"; \
17685 libsrcdir="$$s/ld"; \
17686 $(SHELL) $${libsrcdir}/configure \
17687 $(HOST_CONFIGARGS) $${srcdiroption} \
17688 --with-build-libsubdir=$(HOST_SUBDIR) \
17689 @stage2_werror_flag@
17690 @endif ld-bootstrap
17692 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17693 maybe-configure-stage4-ld:
17694 @if ld-bootstrap
17695 maybe-configure-stage4-ld: configure-stage4-ld
17696 configure-stage4-ld:
17697 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17698 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17699 @r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17702 $(HOST_EXPORTS) \
17703 $(POSTSTAGE1_HOST_EXPORTS) \
17704 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17706 cd $(HOST_SUBDIR)/ld || exit 1; \
17707 case $(srcdir) in \
17708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17709 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17711 esac; \
17712 srcdiroption="--srcdir=$${topdir}/ld"; \
17713 libsrcdir="$$s/ld"; \
17714 $(SHELL) $${libsrcdir}/configure \
17715 $(HOST_CONFIGARGS) $${srcdiroption} \
17716 --with-build-libsubdir=$(HOST_SUBDIR) \
17717 @stage2_werror_flag@
17718 @endif ld-bootstrap
17720 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17721 maybe-configure-stageprofile-ld:
17722 @if ld-bootstrap
17723 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17724 configure-stageprofile-ld:
17725 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17727 @r=`${PWD_COMMAND}`; export r; \
17728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17729 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17730 $(HOST_EXPORTS) \
17731 $(POSTSTAGE1_HOST_EXPORTS) \
17732 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17734 cd $(HOST_SUBDIR)/ld || exit 1; \
17735 case $(srcdir) in \
17736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17737 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17739 esac; \
17740 srcdiroption="--srcdir=$${topdir}/ld"; \
17741 libsrcdir="$$s/ld"; \
17742 $(SHELL) $${libsrcdir}/configure \
17743 $(HOST_CONFIGARGS) $${srcdiroption} \
17744 --with-build-libsubdir=$(HOST_SUBDIR) \
17745 @stage2_werror_flag@
17746 @endif ld-bootstrap
17748 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17749 maybe-configure-stagefeedback-ld:
17750 @if ld-bootstrap
17751 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17752 configure-stagefeedback-ld:
17753 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17755 @r=`${PWD_COMMAND}`; export r; \
17756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17757 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17758 $(HOST_EXPORTS) \
17759 $(POSTSTAGE1_HOST_EXPORTS) \
17760 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17762 cd $(HOST_SUBDIR)/ld || exit 1; \
17763 case $(srcdir) in \
17764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17765 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17767 esac; \
17768 srcdiroption="--srcdir=$${topdir}/ld"; \
17769 libsrcdir="$$s/ld"; \
17770 $(SHELL) $${libsrcdir}/configure \
17771 $(HOST_CONFIGARGS) $${srcdiroption} \
17772 --with-build-libsubdir=$(HOST_SUBDIR) \
17773 @stage2_werror_flag@
17774 @endif ld-bootstrap
17780 .PHONY: all-ld maybe-all-ld
17781 maybe-all-ld:
17782 @if gcc-bootstrap
17783 all-ld: stage_current
17784 @endif gcc-bootstrap
17785 @if ld
17786 TARGET-ld=all
17787 maybe-all-ld: all-ld
17788 all-ld: configure-ld
17789 @r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 $(HOST_EXPORTS) \
17792 (cd $(HOST_SUBDIR)/ld && \
17793 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17794 @endif ld
17798 .PHONY: all-stage1-ld maybe-all-stage1-ld
17799 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17800 maybe-all-stage1-ld:
17801 maybe-clean-stage1-ld:
17802 @if ld-bootstrap
17803 maybe-all-stage1-ld: all-stage1-ld
17804 all-stage1: all-stage1-ld
17805 TARGET-stage1-ld = $(TARGET-ld)
17806 all-stage1-ld: configure-stage1-ld
17807 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17808 @r=`${PWD_COMMAND}`; export r; \
17809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17810 $(HOST_EXPORTS) \
17811 cd $(HOST_SUBDIR)/ld && \
17812 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17813 $(TARGET-stage1-ld)
17815 maybe-clean-stage1-ld: clean-stage1-ld
17816 clean-stage1: clean-stage1-ld
17817 clean-stage1-ld:
17818 @if [ $(current_stage) = stage1 ]; then \
17819 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17820 else \
17821 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
17822 $(MAKE) stage1-start; \
17823 fi; \
17824 cd $(HOST_SUBDIR)/ld && \
17825 $(MAKE) $(FLAGS_TO_PASS) \
17826 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17827 @endif ld-bootstrap
17830 .PHONY: all-stage2-ld maybe-all-stage2-ld
17831 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17832 maybe-all-stage2-ld:
17833 maybe-clean-stage2-ld:
17834 @if ld-bootstrap
17835 maybe-all-stage2-ld: all-stage2-ld
17836 all-stage2: all-stage2-ld
17837 TARGET-stage2-ld = $(TARGET-ld)
17838 all-stage2-ld: configure-stage2-ld
17839 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17840 @r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17842 $(HOST_EXPORTS) \
17843 $(POSTSTAGE1_HOST_EXPORTS) \
17844 cd $(HOST_SUBDIR)/ld && \
17845 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17846 $(TARGET-stage2-ld)
17848 maybe-clean-stage2-ld: clean-stage2-ld
17849 clean-stage2: clean-stage2-ld
17850 clean-stage2-ld:
17851 @if [ $(current_stage) = stage2 ]; then \
17852 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17853 else \
17854 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
17855 $(MAKE) stage2-start; \
17856 fi; \
17857 cd $(HOST_SUBDIR)/ld && \
17858 $(MAKE) $(FLAGS_TO_PASS) \
17859 $(POSTSTAGE1_FLAGS_TO_PASS) \
17860 clean
17861 @endif ld-bootstrap
17864 .PHONY: all-stage3-ld maybe-all-stage3-ld
17865 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17866 maybe-all-stage3-ld:
17867 maybe-clean-stage3-ld:
17868 @if ld-bootstrap
17869 maybe-all-stage3-ld: all-stage3-ld
17870 all-stage3: all-stage3-ld
17871 TARGET-stage3-ld = $(TARGET-ld)
17872 all-stage3-ld: configure-stage3-ld
17873 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17874 @r=`${PWD_COMMAND}`; export r; \
17875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17876 $(HOST_EXPORTS) \
17877 $(POSTSTAGE1_HOST_EXPORTS) \
17878 cd $(HOST_SUBDIR)/ld && \
17879 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17880 $(TARGET-stage3-ld)
17882 maybe-clean-stage3-ld: clean-stage3-ld
17883 clean-stage3: clean-stage3-ld
17884 clean-stage3-ld:
17885 @if [ $(current_stage) = stage3 ]; then \
17886 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17887 else \
17888 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
17889 $(MAKE) stage3-start; \
17890 fi; \
17891 cd $(HOST_SUBDIR)/ld && \
17892 $(MAKE) $(FLAGS_TO_PASS) \
17893 $(POSTSTAGE1_FLAGS_TO_PASS) \
17894 clean
17895 @endif ld-bootstrap
17898 .PHONY: all-stage4-ld maybe-all-stage4-ld
17899 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17900 maybe-all-stage4-ld:
17901 maybe-clean-stage4-ld:
17902 @if ld-bootstrap
17903 maybe-all-stage4-ld: all-stage4-ld
17904 all-stage4: all-stage4-ld
17905 TARGET-stage4-ld = $(TARGET-ld)
17906 all-stage4-ld: configure-stage4-ld
17907 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17908 @r=`${PWD_COMMAND}`; export r; \
17909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17910 $(HOST_EXPORTS) \
17911 $(POSTSTAGE1_HOST_EXPORTS) \
17912 cd $(HOST_SUBDIR)/ld && \
17913 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17914 $(TARGET-stage4-ld)
17916 maybe-clean-stage4-ld: clean-stage4-ld
17917 clean-stage4: clean-stage4-ld
17918 clean-stage4-ld:
17919 @if [ $(current_stage) = stage4 ]; then \
17920 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17921 else \
17922 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
17923 $(MAKE) stage4-start; \
17924 fi; \
17925 cd $(HOST_SUBDIR)/ld && \
17926 $(MAKE) $(FLAGS_TO_PASS) \
17927 $(POSTSTAGE1_FLAGS_TO_PASS) \
17928 clean
17929 @endif ld-bootstrap
17932 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17933 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17934 maybe-all-stageprofile-ld:
17935 maybe-clean-stageprofile-ld:
17936 @if ld-bootstrap
17937 maybe-all-stageprofile-ld: all-stageprofile-ld
17938 all-stageprofile: all-stageprofile-ld
17939 TARGET-stageprofile-ld = $(TARGET-ld)
17940 all-stageprofile-ld: configure-stageprofile-ld
17941 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17942 @r=`${PWD_COMMAND}`; export r; \
17943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17944 $(HOST_EXPORTS) \
17945 $(POSTSTAGE1_HOST_EXPORTS) \
17946 cd $(HOST_SUBDIR)/ld && \
17947 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17948 $(TARGET-stageprofile-ld)
17950 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17951 clean-stageprofile: clean-stageprofile-ld
17952 clean-stageprofile-ld:
17953 @if [ $(current_stage) = stageprofile ]; then \
17954 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17955 else \
17956 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
17957 $(MAKE) stageprofile-start; \
17958 fi; \
17959 cd $(HOST_SUBDIR)/ld && \
17960 $(MAKE) $(FLAGS_TO_PASS) \
17961 $(POSTSTAGE1_FLAGS_TO_PASS) \
17962 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17963 @endif ld-bootstrap
17966 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17967 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17968 maybe-all-stagefeedback-ld:
17969 maybe-clean-stagefeedback-ld:
17970 @if ld-bootstrap
17971 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17972 all-stagefeedback: all-stagefeedback-ld
17973 TARGET-stagefeedback-ld = $(TARGET-ld)
17974 all-stagefeedback-ld: configure-stagefeedback-ld
17975 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17976 @r=`${PWD_COMMAND}`; export r; \
17977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17978 $(HOST_EXPORTS) \
17979 $(POSTSTAGE1_HOST_EXPORTS) \
17980 cd $(HOST_SUBDIR)/ld && \
17981 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17982 $(TARGET-stagefeedback-ld)
17984 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17985 clean-stagefeedback: clean-stagefeedback-ld
17986 clean-stagefeedback-ld:
17987 @if [ $(current_stage) = stagefeedback ]; then \
17988 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17989 else \
17990 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
17991 $(MAKE) stagefeedback-start; \
17992 fi; \
17993 cd $(HOST_SUBDIR)/ld && \
17994 $(MAKE) $(FLAGS_TO_PASS) \
17995 $(POSTSTAGE1_FLAGS_TO_PASS) \
17996 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17997 @endif ld-bootstrap
18003 .PHONY: check-ld maybe-check-ld
18004 maybe-check-ld:
18005 @if ld
18006 maybe-check-ld: check-ld
18008 check-ld:
18009 @: $(MAKE); $(unstage)
18010 @r=`${PWD_COMMAND}`; export r; \
18011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18012 $(HOST_EXPORTS) \
18013 (cd $(HOST_SUBDIR)/ld && \
18014 $(MAKE) $(FLAGS_TO_PASS) check)
18016 @endif ld
18018 .PHONY: install-ld maybe-install-ld
18019 maybe-install-ld:
18020 @if ld
18021 maybe-install-ld: install-ld
18023 install-ld: installdirs
18024 @: $(MAKE); $(unstage)
18025 @r=`${PWD_COMMAND}`; export r; \
18026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18027 $(HOST_EXPORTS) \
18028 (cd $(HOST_SUBDIR)/ld && \
18029 $(MAKE) $(FLAGS_TO_PASS) install)
18031 @endif ld
18033 # Other targets (info, dvi, pdf, etc.)
18035 .PHONY: maybe-info-ld info-ld
18036 maybe-info-ld:
18037 @if ld
18038 maybe-info-ld: info-ld
18040 info-ld: \
18041 configure-ld
18042 @[ -f ./ld/Makefile ] || exit 0; \
18043 r=`${PWD_COMMAND}`; export r; \
18044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18045 $(HOST_EXPORTS) \
18046 for flag in $(EXTRA_HOST_FLAGS) ; do \
18047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18048 done; \
18049 echo "Doing info in ld" ; \
18050 (cd $(HOST_SUBDIR)/ld && \
18051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18053 "RANLIB=$${RANLIB}" \
18054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18055 info) \
18056 || exit 1
18058 @endif ld
18060 .PHONY: maybe-dvi-ld dvi-ld
18061 maybe-dvi-ld:
18062 @if ld
18063 maybe-dvi-ld: dvi-ld
18065 dvi-ld: \
18066 configure-ld
18067 @[ -f ./ld/Makefile ] || exit 0; \
18068 r=`${PWD_COMMAND}`; export r; \
18069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18070 $(HOST_EXPORTS) \
18071 for flag in $(EXTRA_HOST_FLAGS) ; do \
18072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18073 done; \
18074 echo "Doing dvi in ld" ; \
18075 (cd $(HOST_SUBDIR)/ld && \
18076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18078 "RANLIB=$${RANLIB}" \
18079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18080 dvi) \
18081 || exit 1
18083 @endif ld
18085 .PHONY: maybe-pdf-ld pdf-ld
18086 maybe-pdf-ld:
18087 @if ld
18088 maybe-pdf-ld: pdf-ld
18090 pdf-ld: \
18091 configure-ld
18092 @[ -f ./ld/Makefile ] || exit 0; \
18093 r=`${PWD_COMMAND}`; export r; \
18094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 $(HOST_EXPORTS) \
18096 for flag in $(EXTRA_HOST_FLAGS) ; do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 done; \
18099 echo "Doing pdf in ld" ; \
18100 (cd $(HOST_SUBDIR)/ld && \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18105 pdf) \
18106 || exit 1
18108 @endif ld
18110 .PHONY: maybe-html-ld html-ld
18111 maybe-html-ld:
18112 @if ld
18113 maybe-html-ld: html-ld
18115 html-ld: \
18116 configure-ld
18117 @[ -f ./ld/Makefile ] || exit 0; \
18118 r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 $(HOST_EXPORTS) \
18121 for flag in $(EXTRA_HOST_FLAGS) ; do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 done; \
18124 echo "Doing html in ld" ; \
18125 (cd $(HOST_SUBDIR)/ld && \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18130 html) \
18131 || exit 1
18133 @endif ld
18135 .PHONY: maybe-TAGS-ld TAGS-ld
18136 maybe-TAGS-ld:
18137 @if ld
18138 maybe-TAGS-ld: TAGS-ld
18140 TAGS-ld: \
18141 configure-ld
18142 @[ -f ./ld/Makefile ] || exit 0; \
18143 r=`${PWD_COMMAND}`; export r; \
18144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18145 $(HOST_EXPORTS) \
18146 for flag in $(EXTRA_HOST_FLAGS) ; do \
18147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18148 done; \
18149 echo "Doing TAGS in ld" ; \
18150 (cd $(HOST_SUBDIR)/ld && \
18151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18153 "RANLIB=$${RANLIB}" \
18154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18155 TAGS) \
18156 || exit 1
18158 @endif ld
18160 .PHONY: maybe-install-info-ld install-info-ld
18161 maybe-install-info-ld:
18162 @if ld
18163 maybe-install-info-ld: install-info-ld
18165 install-info-ld: \
18166 configure-ld \
18167 info-ld
18168 @[ -f ./ld/Makefile ] || exit 0; \
18169 r=`${PWD_COMMAND}`; export r; \
18170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18171 $(HOST_EXPORTS) \
18172 for flag in $(EXTRA_HOST_FLAGS) ; do \
18173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18174 done; \
18175 echo "Doing install-info in ld" ; \
18176 (cd $(HOST_SUBDIR)/ld && \
18177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18179 "RANLIB=$${RANLIB}" \
18180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18181 install-info) \
18182 || exit 1
18184 @endif ld
18186 .PHONY: maybe-install-html-ld install-html-ld
18187 maybe-install-html-ld:
18188 @if ld
18189 maybe-install-html-ld: install-html-ld
18191 install-html-ld: \
18192 configure-ld \
18193 html-ld
18194 @[ -f ./ld/Makefile ] || exit 0; \
18195 r=`${PWD_COMMAND}`; export r; \
18196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18197 $(HOST_EXPORTS) \
18198 for flag in $(EXTRA_HOST_FLAGS) ; do \
18199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18200 done; \
18201 echo "Doing install-html in ld" ; \
18202 (cd $(HOST_SUBDIR)/ld && \
18203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18205 "RANLIB=$${RANLIB}" \
18206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18207 install-html) \
18208 || exit 1
18210 @endif ld
18212 .PHONY: maybe-installcheck-ld installcheck-ld
18213 maybe-installcheck-ld:
18214 @if ld
18215 maybe-installcheck-ld: installcheck-ld
18217 installcheck-ld: \
18218 configure-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 installcheck 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 installcheck) \
18233 || exit 1
18235 @endif ld
18237 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18238 maybe-mostlyclean-ld:
18239 @if ld
18240 maybe-mostlyclean-ld: mostlyclean-ld
18242 mostlyclean-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 mostlyclean 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 mostlyclean) \
18257 || exit 1
18259 @endif ld
18261 .PHONY: maybe-clean-ld clean-ld
18262 maybe-clean-ld:
18263 @if ld
18264 maybe-clean-ld: clean-ld
18266 clean-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 clean 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 clean) \
18281 || exit 1
18283 @endif ld
18285 .PHONY: maybe-distclean-ld distclean-ld
18286 maybe-distclean-ld:
18287 @if ld
18288 maybe-distclean-ld: distclean-ld
18290 distclean-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 distclean 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 distclean) \
18305 || exit 1
18307 @endif ld
18309 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18310 maybe-maintainer-clean-ld:
18311 @if ld
18312 maybe-maintainer-clean-ld: maintainer-clean-ld
18314 maintainer-clean-ld:
18315 @[ -f ./ld/Makefile ] || exit 0; \
18316 r=`${PWD_COMMAND}`; export r; \
18317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18318 $(HOST_EXPORTS) \
18319 for flag in $(EXTRA_HOST_FLAGS) ; do \
18320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18321 done; \
18322 echo "Doing maintainer-clean in ld" ; \
18323 (cd $(HOST_SUBDIR)/ld && \
18324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18326 "RANLIB=$${RANLIB}" \
18327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18328 maintainer-clean) \
18329 || exit 1
18331 @endif ld
18335 .PHONY: configure-libcpp maybe-configure-libcpp
18336 maybe-configure-libcpp:
18337 @if gcc-bootstrap
18338 configure-libcpp: stage_current
18339 @endif gcc-bootstrap
18340 @if libcpp
18341 maybe-configure-libcpp: configure-libcpp
18342 configure-libcpp:
18343 @r=`${PWD_COMMAND}`; export r; \
18344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18345 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18347 $(HOST_EXPORTS) \
18348 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18349 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18350 case $(srcdir) in \
18351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18352 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18354 esac; \
18355 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18356 libsrcdir="$$s/libcpp"; \
18357 $(SHELL) $${libsrcdir}/configure \
18358 $(HOST_CONFIGARGS) $${srcdiroption} \
18359 || exit 1
18360 @endif libcpp
18364 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18365 maybe-configure-stage1-libcpp:
18366 @if libcpp-bootstrap
18367 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18368 configure-stage1-libcpp:
18369 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18371 @r=`${PWD_COMMAND}`; export r; \
18372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18373 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18374 $(HOST_EXPORTS) \
18375 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18377 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18378 case $(srcdir) in \
18379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18380 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18382 esac; \
18383 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18384 libsrcdir="$$s/libcpp"; \
18385 $(SHELL) $${libsrcdir}/configure \
18386 $(HOST_CONFIGARGS) $${srcdiroption} \
18388 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18389 @endif libcpp-bootstrap
18391 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18392 maybe-configure-stage2-libcpp:
18393 @if libcpp-bootstrap
18394 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18395 configure-stage2-libcpp:
18396 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18398 @r=`${PWD_COMMAND}`; export r; \
18399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18400 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18401 $(HOST_EXPORTS) \
18402 $(POSTSTAGE1_HOST_EXPORTS) \
18403 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18405 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18406 case $(srcdir) in \
18407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18408 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18410 esac; \
18411 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18412 libsrcdir="$$s/libcpp"; \
18413 $(SHELL) $${libsrcdir}/configure \
18414 $(HOST_CONFIGARGS) $${srcdiroption} \
18415 --with-build-libsubdir=$(HOST_SUBDIR) \
18416 @stage2_werror_flag@
18417 @endif libcpp-bootstrap
18419 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18420 maybe-configure-stage3-libcpp:
18421 @if libcpp-bootstrap
18422 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18423 configure-stage3-libcpp:
18424 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18426 @r=`${PWD_COMMAND}`; export r; \
18427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18428 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18429 $(HOST_EXPORTS) \
18430 $(POSTSTAGE1_HOST_EXPORTS) \
18431 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18433 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18434 case $(srcdir) in \
18435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18436 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18438 esac; \
18439 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18440 libsrcdir="$$s/libcpp"; \
18441 $(SHELL) $${libsrcdir}/configure \
18442 $(HOST_CONFIGARGS) $${srcdiroption} \
18443 --with-build-libsubdir=$(HOST_SUBDIR) \
18444 @stage2_werror_flag@
18445 @endif libcpp-bootstrap
18447 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18448 maybe-configure-stage4-libcpp:
18449 @if libcpp-bootstrap
18450 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18451 configure-stage4-libcpp:
18452 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18453 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18454 @r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18456 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18457 $(HOST_EXPORTS) \
18458 $(POSTSTAGE1_HOST_EXPORTS) \
18459 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18461 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18462 case $(srcdir) in \
18463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18464 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18466 esac; \
18467 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18468 libsrcdir="$$s/libcpp"; \
18469 $(SHELL) $${libsrcdir}/configure \
18470 $(HOST_CONFIGARGS) $${srcdiroption} \
18471 --with-build-libsubdir=$(HOST_SUBDIR) \
18472 @stage2_werror_flag@
18473 @endif libcpp-bootstrap
18475 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18476 maybe-configure-stageprofile-libcpp:
18477 @if libcpp-bootstrap
18478 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18479 configure-stageprofile-libcpp:
18480 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18482 @r=`${PWD_COMMAND}`; export r; \
18483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18484 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18485 $(HOST_EXPORTS) \
18486 $(POSTSTAGE1_HOST_EXPORTS) \
18487 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18489 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18490 case $(srcdir) in \
18491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18492 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18494 esac; \
18495 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18496 libsrcdir="$$s/libcpp"; \
18497 $(SHELL) $${libsrcdir}/configure \
18498 $(HOST_CONFIGARGS) $${srcdiroption} \
18499 --with-build-libsubdir=$(HOST_SUBDIR) \
18500 @stage2_werror_flag@
18501 @endif libcpp-bootstrap
18503 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18504 maybe-configure-stagefeedback-libcpp:
18505 @if libcpp-bootstrap
18506 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18507 configure-stagefeedback-libcpp:
18508 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18510 @r=`${PWD_COMMAND}`; export r; \
18511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18512 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18513 $(HOST_EXPORTS) \
18514 $(POSTSTAGE1_HOST_EXPORTS) \
18515 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18517 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18518 case $(srcdir) in \
18519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18520 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18522 esac; \
18523 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18524 libsrcdir="$$s/libcpp"; \
18525 $(SHELL) $${libsrcdir}/configure \
18526 $(HOST_CONFIGARGS) $${srcdiroption} \
18527 --with-build-libsubdir=$(HOST_SUBDIR) \
18528 @stage2_werror_flag@
18529 @endif libcpp-bootstrap
18535 .PHONY: all-libcpp maybe-all-libcpp
18536 maybe-all-libcpp:
18537 @if gcc-bootstrap
18538 all-libcpp: stage_current
18539 @endif gcc-bootstrap
18540 @if libcpp
18541 TARGET-libcpp=all
18542 maybe-all-libcpp: all-libcpp
18543 all-libcpp: configure-libcpp
18544 @r=`${PWD_COMMAND}`; export r; \
18545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18546 $(HOST_EXPORTS) \
18547 (cd $(HOST_SUBDIR)/libcpp && \
18548 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18549 @endif libcpp
18553 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18554 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18555 maybe-all-stage1-libcpp:
18556 maybe-clean-stage1-libcpp:
18557 @if libcpp-bootstrap
18558 maybe-all-stage1-libcpp: all-stage1-libcpp
18559 all-stage1: all-stage1-libcpp
18560 TARGET-stage1-libcpp = $(TARGET-libcpp)
18561 all-stage1-libcpp: configure-stage1-libcpp
18562 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18563 @r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18565 $(HOST_EXPORTS) \
18566 cd $(HOST_SUBDIR)/libcpp && \
18567 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18568 $(TARGET-stage1-libcpp)
18570 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18571 clean-stage1: clean-stage1-libcpp
18572 clean-stage1-libcpp:
18573 @if [ $(current_stage) = stage1 ]; then \
18574 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18575 else \
18576 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
18577 $(MAKE) stage1-start; \
18578 fi; \
18579 cd $(HOST_SUBDIR)/libcpp && \
18580 $(MAKE) $(FLAGS_TO_PASS) \
18581 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18582 @endif libcpp-bootstrap
18585 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18586 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18587 maybe-all-stage2-libcpp:
18588 maybe-clean-stage2-libcpp:
18589 @if libcpp-bootstrap
18590 maybe-all-stage2-libcpp: all-stage2-libcpp
18591 all-stage2: all-stage2-libcpp
18592 TARGET-stage2-libcpp = $(TARGET-libcpp)
18593 all-stage2-libcpp: configure-stage2-libcpp
18594 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18595 @r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 $(HOST_EXPORTS) \
18598 $(POSTSTAGE1_HOST_EXPORTS) \
18599 cd $(HOST_SUBDIR)/libcpp && \
18600 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18601 $(TARGET-stage2-libcpp)
18603 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18604 clean-stage2: clean-stage2-libcpp
18605 clean-stage2-libcpp:
18606 @if [ $(current_stage) = stage2 ]; then \
18607 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18608 else \
18609 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
18610 $(MAKE) stage2-start; \
18611 fi; \
18612 cd $(HOST_SUBDIR)/libcpp && \
18613 $(MAKE) $(FLAGS_TO_PASS) \
18614 $(POSTSTAGE1_FLAGS_TO_PASS) \
18615 clean
18616 @endif libcpp-bootstrap
18619 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18620 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18621 maybe-all-stage3-libcpp:
18622 maybe-clean-stage3-libcpp:
18623 @if libcpp-bootstrap
18624 maybe-all-stage3-libcpp: all-stage3-libcpp
18625 all-stage3: all-stage3-libcpp
18626 TARGET-stage3-libcpp = $(TARGET-libcpp)
18627 all-stage3-libcpp: configure-stage3-libcpp
18628 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18629 @r=`${PWD_COMMAND}`; export r; \
18630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18631 $(HOST_EXPORTS) \
18632 $(POSTSTAGE1_HOST_EXPORTS) \
18633 cd $(HOST_SUBDIR)/libcpp && \
18634 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18635 $(TARGET-stage3-libcpp)
18637 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18638 clean-stage3: clean-stage3-libcpp
18639 clean-stage3-libcpp:
18640 @if [ $(current_stage) = stage3 ]; then \
18641 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18642 else \
18643 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
18644 $(MAKE) stage3-start; \
18645 fi; \
18646 cd $(HOST_SUBDIR)/libcpp && \
18647 $(MAKE) $(FLAGS_TO_PASS) \
18648 $(POSTSTAGE1_FLAGS_TO_PASS) \
18649 clean
18650 @endif libcpp-bootstrap
18653 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18654 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18655 maybe-all-stage4-libcpp:
18656 maybe-clean-stage4-libcpp:
18657 @if libcpp-bootstrap
18658 maybe-all-stage4-libcpp: all-stage4-libcpp
18659 all-stage4: all-stage4-libcpp
18660 TARGET-stage4-libcpp = $(TARGET-libcpp)
18661 all-stage4-libcpp: configure-stage4-libcpp
18662 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18663 @r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 $(HOST_EXPORTS) \
18666 $(POSTSTAGE1_HOST_EXPORTS) \
18667 cd $(HOST_SUBDIR)/libcpp && \
18668 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18669 $(TARGET-stage4-libcpp)
18671 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18672 clean-stage4: clean-stage4-libcpp
18673 clean-stage4-libcpp:
18674 @if [ $(current_stage) = stage4 ]; then \
18675 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18676 else \
18677 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
18678 $(MAKE) stage4-start; \
18679 fi; \
18680 cd $(HOST_SUBDIR)/libcpp && \
18681 $(MAKE) $(FLAGS_TO_PASS) \
18682 $(POSTSTAGE1_FLAGS_TO_PASS) \
18683 clean
18684 @endif libcpp-bootstrap
18687 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18688 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18689 maybe-all-stageprofile-libcpp:
18690 maybe-clean-stageprofile-libcpp:
18691 @if libcpp-bootstrap
18692 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18693 all-stageprofile: all-stageprofile-libcpp
18694 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18695 all-stageprofile-libcpp: configure-stageprofile-libcpp
18696 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18697 @r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18699 $(HOST_EXPORTS) \
18700 $(POSTSTAGE1_HOST_EXPORTS) \
18701 cd $(HOST_SUBDIR)/libcpp && \
18702 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18703 $(TARGET-stageprofile-libcpp)
18705 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18706 clean-stageprofile: clean-stageprofile-libcpp
18707 clean-stageprofile-libcpp:
18708 @if [ $(current_stage) = stageprofile ]; then \
18709 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18710 else \
18711 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
18712 $(MAKE) stageprofile-start; \
18713 fi; \
18714 cd $(HOST_SUBDIR)/libcpp && \
18715 $(MAKE) $(FLAGS_TO_PASS) \
18716 $(POSTSTAGE1_FLAGS_TO_PASS) \
18717 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18718 @endif libcpp-bootstrap
18721 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18722 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18723 maybe-all-stagefeedback-libcpp:
18724 maybe-clean-stagefeedback-libcpp:
18725 @if libcpp-bootstrap
18726 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18727 all-stagefeedback: all-stagefeedback-libcpp
18728 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18729 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18730 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18731 @r=`${PWD_COMMAND}`; export r; \
18732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18733 $(HOST_EXPORTS) \
18734 $(POSTSTAGE1_HOST_EXPORTS) \
18735 cd $(HOST_SUBDIR)/libcpp && \
18736 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18737 $(TARGET-stagefeedback-libcpp)
18739 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18740 clean-stagefeedback: clean-stagefeedback-libcpp
18741 clean-stagefeedback-libcpp:
18742 @if [ $(current_stage) = stagefeedback ]; then \
18743 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18744 else \
18745 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
18746 $(MAKE) stagefeedback-start; \
18747 fi; \
18748 cd $(HOST_SUBDIR)/libcpp && \
18749 $(MAKE) $(FLAGS_TO_PASS) \
18750 $(POSTSTAGE1_FLAGS_TO_PASS) \
18751 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18752 @endif libcpp-bootstrap
18758 .PHONY: check-libcpp maybe-check-libcpp
18759 maybe-check-libcpp:
18760 @if libcpp
18761 maybe-check-libcpp: check-libcpp
18763 check-libcpp:
18764 @: $(MAKE); $(unstage)
18765 @r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767 $(HOST_EXPORTS) \
18768 (cd $(HOST_SUBDIR)/libcpp && \
18769 $(MAKE) $(FLAGS_TO_PASS) check)
18771 @endif libcpp
18773 .PHONY: install-libcpp maybe-install-libcpp
18774 maybe-install-libcpp:
18775 @if libcpp
18776 maybe-install-libcpp: install-libcpp
18778 install-libcpp: installdirs
18779 @: $(MAKE); $(unstage)
18780 @r=`${PWD_COMMAND}`; export r; \
18781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18782 $(HOST_EXPORTS) \
18783 (cd $(HOST_SUBDIR)/libcpp && \
18784 $(MAKE) $(FLAGS_TO_PASS) install)
18786 @endif libcpp
18788 # Other targets (info, dvi, pdf, etc.)
18790 .PHONY: maybe-info-libcpp info-libcpp
18791 maybe-info-libcpp:
18792 @if libcpp
18793 maybe-info-libcpp: info-libcpp
18795 info-libcpp: \
18796 configure-libcpp
18797 @[ -f ./libcpp/Makefile ] || exit 0; \
18798 r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 $(HOST_EXPORTS) \
18801 for flag in $(EXTRA_HOST_FLAGS) ; do \
18802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18803 done; \
18804 echo "Doing info in libcpp" ; \
18805 (cd $(HOST_SUBDIR)/libcpp && \
18806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18808 "RANLIB=$${RANLIB}" \
18809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18810 info) \
18811 || exit 1
18813 @endif libcpp
18815 .PHONY: maybe-dvi-libcpp dvi-libcpp
18816 maybe-dvi-libcpp:
18817 @if libcpp
18818 maybe-dvi-libcpp: dvi-libcpp
18820 dvi-libcpp: \
18821 configure-libcpp
18822 @[ -f ./libcpp/Makefile ] || exit 0; \
18823 r=`${PWD_COMMAND}`; export r; \
18824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18825 $(HOST_EXPORTS) \
18826 for flag in $(EXTRA_HOST_FLAGS) ; do \
18827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18828 done; \
18829 echo "Doing dvi in libcpp" ; \
18830 (cd $(HOST_SUBDIR)/libcpp && \
18831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18833 "RANLIB=$${RANLIB}" \
18834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18835 dvi) \
18836 || exit 1
18838 @endif libcpp
18840 .PHONY: maybe-pdf-libcpp pdf-libcpp
18841 maybe-pdf-libcpp:
18842 @if libcpp
18843 maybe-pdf-libcpp: pdf-libcpp
18845 pdf-libcpp: \
18846 configure-libcpp
18847 @[ -f ./libcpp/Makefile ] || exit 0; \
18848 r=`${PWD_COMMAND}`; export r; \
18849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18850 $(HOST_EXPORTS) \
18851 for flag in $(EXTRA_HOST_FLAGS) ; do \
18852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18853 done; \
18854 echo "Doing pdf in libcpp" ; \
18855 (cd $(HOST_SUBDIR)/libcpp && \
18856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18858 "RANLIB=$${RANLIB}" \
18859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18860 pdf) \
18861 || exit 1
18863 @endif libcpp
18865 .PHONY: maybe-html-libcpp html-libcpp
18866 maybe-html-libcpp:
18867 @if libcpp
18868 maybe-html-libcpp: html-libcpp
18870 html-libcpp: \
18871 configure-libcpp
18872 @[ -f ./libcpp/Makefile ] || exit 0; \
18873 r=`${PWD_COMMAND}`; export r; \
18874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18875 $(HOST_EXPORTS) \
18876 for flag in $(EXTRA_HOST_FLAGS) ; do \
18877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18878 done; \
18879 echo "Doing html in libcpp" ; \
18880 (cd $(HOST_SUBDIR)/libcpp && \
18881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18883 "RANLIB=$${RANLIB}" \
18884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18885 html) \
18886 || exit 1
18888 @endif libcpp
18890 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18891 maybe-TAGS-libcpp:
18892 @if libcpp
18893 maybe-TAGS-libcpp: TAGS-libcpp
18895 TAGS-libcpp: \
18896 configure-libcpp
18897 @[ -f ./libcpp/Makefile ] || exit 0; \
18898 r=`${PWD_COMMAND}`; export r; \
18899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18900 $(HOST_EXPORTS) \
18901 for flag in $(EXTRA_HOST_FLAGS) ; do \
18902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18903 done; \
18904 echo "Doing TAGS in libcpp" ; \
18905 (cd $(HOST_SUBDIR)/libcpp && \
18906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18908 "RANLIB=$${RANLIB}" \
18909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18910 TAGS) \
18911 || exit 1
18913 @endif libcpp
18915 .PHONY: maybe-install-info-libcpp install-info-libcpp
18916 maybe-install-info-libcpp:
18917 @if libcpp
18918 maybe-install-info-libcpp: install-info-libcpp
18920 install-info-libcpp: \
18921 configure-libcpp \
18922 info-libcpp
18923 @[ -f ./libcpp/Makefile ] || exit 0; \
18924 r=`${PWD_COMMAND}`; export r; \
18925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18926 $(HOST_EXPORTS) \
18927 for flag in $(EXTRA_HOST_FLAGS) ; do \
18928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18929 done; \
18930 echo "Doing install-info in libcpp" ; \
18931 (cd $(HOST_SUBDIR)/libcpp && \
18932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18934 "RANLIB=$${RANLIB}" \
18935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18936 install-info) \
18937 || exit 1
18939 @endif libcpp
18941 .PHONY: maybe-install-html-libcpp install-html-libcpp
18942 maybe-install-html-libcpp:
18943 @if libcpp
18944 maybe-install-html-libcpp: install-html-libcpp
18946 install-html-libcpp: \
18947 configure-libcpp \
18948 html-libcpp
18949 @[ -f ./libcpp/Makefile ] || exit 0; \
18950 r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952 $(HOST_EXPORTS) \
18953 for flag in $(EXTRA_HOST_FLAGS) ; do \
18954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18955 done; \
18956 echo "Doing install-html in libcpp" ; \
18957 (cd $(HOST_SUBDIR)/libcpp && \
18958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18960 "RANLIB=$${RANLIB}" \
18961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18962 install-html) \
18963 || exit 1
18965 @endif libcpp
18967 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18968 maybe-installcheck-libcpp:
18969 @if libcpp
18970 maybe-installcheck-libcpp: installcheck-libcpp
18972 installcheck-libcpp: \
18973 configure-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 installcheck 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 installcheck) \
18988 || exit 1
18990 @endif libcpp
18992 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
18993 maybe-mostlyclean-libcpp:
18994 @if libcpp
18995 maybe-mostlyclean-libcpp: mostlyclean-libcpp
18997 mostlyclean-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 mostlyclean 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 mostlyclean) \
19012 || exit 1
19014 @endif libcpp
19016 .PHONY: maybe-clean-libcpp clean-libcpp
19017 maybe-clean-libcpp:
19018 @if libcpp
19019 maybe-clean-libcpp: clean-libcpp
19021 clean-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 clean 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 clean) \
19036 || exit 1
19038 @endif libcpp
19040 .PHONY: maybe-distclean-libcpp distclean-libcpp
19041 maybe-distclean-libcpp:
19042 @if libcpp
19043 maybe-distclean-libcpp: distclean-libcpp
19045 distclean-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 distclean 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 distclean) \
19060 || exit 1
19062 @endif libcpp
19064 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
19065 maybe-maintainer-clean-libcpp:
19066 @if libcpp
19067 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
19069 maintainer-clean-libcpp:
19070 @[ -f ./libcpp/Makefile ] || exit 0; \
19071 r=`${PWD_COMMAND}`; export r; \
19072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19073 $(HOST_EXPORTS) \
19074 for flag in $(EXTRA_HOST_FLAGS) ; do \
19075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19076 done; \
19077 echo "Doing maintainer-clean in libcpp" ; \
19078 (cd $(HOST_SUBDIR)/libcpp && \
19079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19081 "RANLIB=$${RANLIB}" \
19082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19083 maintainer-clean) \
19084 || exit 1
19086 @endif libcpp
19090 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
19091 maybe-configure-libdecnumber:
19092 @if gcc-bootstrap
19093 configure-libdecnumber: stage_current
19094 @endif gcc-bootstrap
19095 @if libdecnumber
19096 maybe-configure-libdecnumber: configure-libdecnumber
19097 configure-libdecnumber:
19098 @r=`${PWD_COMMAND}`; export r; \
19099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19100 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19102 $(HOST_EXPORTS) \
19103 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
19104 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
19105 case $(srcdir) in \
19106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19107 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19109 esac; \
19110 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19111 libsrcdir="$$s/libdecnumber"; \
19112 $(SHELL) $${libsrcdir}/configure \
19113 $(HOST_CONFIGARGS) $${srcdiroption} \
19114 || exit 1
19115 @endif libdecnumber
19119 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
19120 maybe-configure-stage1-libdecnumber:
19121 @if libdecnumber-bootstrap
19122 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
19123 configure-stage1-libdecnumber:
19124 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19126 @r=`${PWD_COMMAND}`; export r; \
19127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19128 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19129 $(HOST_EXPORTS) \
19130 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
19131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19132 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19133 case $(srcdir) in \
19134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19135 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19137 esac; \
19138 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19139 libsrcdir="$$s/libdecnumber"; \
19140 $(SHELL) $${libsrcdir}/configure \
19141 $(HOST_CONFIGARGS) $${srcdiroption} \
19143 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19144 @endif libdecnumber-bootstrap
19146 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
19147 maybe-configure-stage2-libdecnumber:
19148 @if libdecnumber-bootstrap
19149 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
19150 configure-stage2-libdecnumber:
19151 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19156 $(HOST_EXPORTS) \
19157 $(POSTSTAGE1_HOST_EXPORTS) \
19158 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
19159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19160 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19161 case $(srcdir) in \
19162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19163 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19165 esac; \
19166 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19167 libsrcdir="$$s/libdecnumber"; \
19168 $(SHELL) $${libsrcdir}/configure \
19169 $(HOST_CONFIGARGS) $${srcdiroption} \
19170 --with-build-libsubdir=$(HOST_SUBDIR) \
19171 @stage2_werror_flag@
19172 @endif libdecnumber-bootstrap
19174 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19175 maybe-configure-stage3-libdecnumber:
19176 @if libdecnumber-bootstrap
19177 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19178 configure-stage3-libdecnumber:
19179 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19181 @r=`${PWD_COMMAND}`; export r; \
19182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19183 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19184 $(HOST_EXPORTS) \
19185 $(POSTSTAGE1_HOST_EXPORTS) \
19186 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19188 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19189 case $(srcdir) in \
19190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19191 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19193 esac; \
19194 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19195 libsrcdir="$$s/libdecnumber"; \
19196 $(SHELL) $${libsrcdir}/configure \
19197 $(HOST_CONFIGARGS) $${srcdiroption} \
19198 --with-build-libsubdir=$(HOST_SUBDIR) \
19199 @stage2_werror_flag@
19200 @endif libdecnumber-bootstrap
19202 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19203 maybe-configure-stage4-libdecnumber:
19204 @if libdecnumber-bootstrap
19205 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19206 configure-stage4-libdecnumber:
19207 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19209 @r=`${PWD_COMMAND}`; export r; \
19210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19211 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19212 $(HOST_EXPORTS) \
19213 $(POSTSTAGE1_HOST_EXPORTS) \
19214 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19216 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19217 case $(srcdir) in \
19218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19219 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19221 esac; \
19222 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19223 libsrcdir="$$s/libdecnumber"; \
19224 $(SHELL) $${libsrcdir}/configure \
19225 $(HOST_CONFIGARGS) $${srcdiroption} \
19226 --with-build-libsubdir=$(HOST_SUBDIR) \
19227 @stage2_werror_flag@
19228 @endif libdecnumber-bootstrap
19230 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19231 maybe-configure-stageprofile-libdecnumber:
19232 @if libdecnumber-bootstrap
19233 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19234 configure-stageprofile-libdecnumber:
19235 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19237 @r=`${PWD_COMMAND}`; export r; \
19238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19239 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19240 $(HOST_EXPORTS) \
19241 $(POSTSTAGE1_HOST_EXPORTS) \
19242 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19244 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19245 case $(srcdir) in \
19246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19247 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19249 esac; \
19250 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19251 libsrcdir="$$s/libdecnumber"; \
19252 $(SHELL) $${libsrcdir}/configure \
19253 $(HOST_CONFIGARGS) $${srcdiroption} \
19254 --with-build-libsubdir=$(HOST_SUBDIR) \
19255 @stage2_werror_flag@
19256 @endif libdecnumber-bootstrap
19258 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19259 maybe-configure-stagefeedback-libdecnumber:
19260 @if libdecnumber-bootstrap
19261 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19262 configure-stagefeedback-libdecnumber:
19263 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19264 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19265 @r=`${PWD_COMMAND}`; export r; \
19266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19267 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19268 $(HOST_EXPORTS) \
19269 $(POSTSTAGE1_HOST_EXPORTS) \
19270 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19272 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19273 case $(srcdir) in \
19274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19275 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19277 esac; \
19278 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19279 libsrcdir="$$s/libdecnumber"; \
19280 $(SHELL) $${libsrcdir}/configure \
19281 $(HOST_CONFIGARGS) $${srcdiroption} \
19282 --with-build-libsubdir=$(HOST_SUBDIR) \
19283 @stage2_werror_flag@
19284 @endif libdecnumber-bootstrap
19290 .PHONY: all-libdecnumber maybe-all-libdecnumber
19291 maybe-all-libdecnumber:
19292 @if gcc-bootstrap
19293 all-libdecnumber: stage_current
19294 @endif gcc-bootstrap
19295 @if libdecnumber
19296 TARGET-libdecnumber=all
19297 maybe-all-libdecnumber: all-libdecnumber
19298 all-libdecnumber: configure-libdecnumber
19299 @r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19301 $(HOST_EXPORTS) \
19302 (cd $(HOST_SUBDIR)/libdecnumber && \
19303 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19304 @endif libdecnumber
19308 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19309 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19310 maybe-all-stage1-libdecnumber:
19311 maybe-clean-stage1-libdecnumber:
19312 @if libdecnumber-bootstrap
19313 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19314 all-stage1: all-stage1-libdecnumber
19315 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19316 all-stage1-libdecnumber: configure-stage1-libdecnumber
19317 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19318 @r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(HOST_EXPORTS) \
19321 cd $(HOST_SUBDIR)/libdecnumber && \
19322 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19323 $(TARGET-stage1-libdecnumber)
19325 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19326 clean-stage1: clean-stage1-libdecnumber
19327 clean-stage1-libdecnumber:
19328 @if [ $(current_stage) = stage1 ]; then \
19329 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19330 else \
19331 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
19332 $(MAKE) stage1-start; \
19333 fi; \
19334 cd $(HOST_SUBDIR)/libdecnumber && \
19335 $(MAKE) $(FLAGS_TO_PASS) \
19336 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19337 @endif libdecnumber-bootstrap
19340 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19341 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19342 maybe-all-stage2-libdecnumber:
19343 maybe-clean-stage2-libdecnumber:
19344 @if libdecnumber-bootstrap
19345 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19346 all-stage2: all-stage2-libdecnumber
19347 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19348 all-stage2-libdecnumber: configure-stage2-libdecnumber
19349 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19350 @r=`${PWD_COMMAND}`; export r; \
19351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19352 $(HOST_EXPORTS) \
19353 $(POSTSTAGE1_HOST_EXPORTS) \
19354 cd $(HOST_SUBDIR)/libdecnumber && \
19355 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19356 $(TARGET-stage2-libdecnumber)
19358 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19359 clean-stage2: clean-stage2-libdecnumber
19360 clean-stage2-libdecnumber:
19361 @if [ $(current_stage) = stage2 ]; then \
19362 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19363 else \
19364 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
19365 $(MAKE) stage2-start; \
19366 fi; \
19367 cd $(HOST_SUBDIR)/libdecnumber && \
19368 $(MAKE) $(FLAGS_TO_PASS) \
19369 $(POSTSTAGE1_FLAGS_TO_PASS) \
19370 clean
19371 @endif libdecnumber-bootstrap
19374 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19375 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19376 maybe-all-stage3-libdecnumber:
19377 maybe-clean-stage3-libdecnumber:
19378 @if libdecnumber-bootstrap
19379 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19380 all-stage3: all-stage3-libdecnumber
19381 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19382 all-stage3-libdecnumber: configure-stage3-libdecnumber
19383 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19384 @r=`${PWD_COMMAND}`; export r; \
19385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19386 $(HOST_EXPORTS) \
19387 $(POSTSTAGE1_HOST_EXPORTS) \
19388 cd $(HOST_SUBDIR)/libdecnumber && \
19389 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19390 $(TARGET-stage3-libdecnumber)
19392 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19393 clean-stage3: clean-stage3-libdecnumber
19394 clean-stage3-libdecnumber:
19395 @if [ $(current_stage) = stage3 ]; then \
19396 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19397 else \
19398 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
19399 $(MAKE) stage3-start; \
19400 fi; \
19401 cd $(HOST_SUBDIR)/libdecnumber && \
19402 $(MAKE) $(FLAGS_TO_PASS) \
19403 $(POSTSTAGE1_FLAGS_TO_PASS) \
19404 clean
19405 @endif libdecnumber-bootstrap
19408 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19409 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19410 maybe-all-stage4-libdecnumber:
19411 maybe-clean-stage4-libdecnumber:
19412 @if libdecnumber-bootstrap
19413 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19414 all-stage4: all-stage4-libdecnumber
19415 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19416 all-stage4-libdecnumber: configure-stage4-libdecnumber
19417 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19418 @r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 $(HOST_EXPORTS) \
19421 $(POSTSTAGE1_HOST_EXPORTS) \
19422 cd $(HOST_SUBDIR)/libdecnumber && \
19423 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19424 $(TARGET-stage4-libdecnumber)
19426 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19427 clean-stage4: clean-stage4-libdecnumber
19428 clean-stage4-libdecnumber:
19429 @if [ $(current_stage) = stage4 ]; then \
19430 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19431 else \
19432 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
19433 $(MAKE) stage4-start; \
19434 fi; \
19435 cd $(HOST_SUBDIR)/libdecnumber && \
19436 $(MAKE) $(FLAGS_TO_PASS) \
19437 $(POSTSTAGE1_FLAGS_TO_PASS) \
19438 clean
19439 @endif libdecnumber-bootstrap
19442 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19443 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19444 maybe-all-stageprofile-libdecnumber:
19445 maybe-clean-stageprofile-libdecnumber:
19446 @if libdecnumber-bootstrap
19447 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19448 all-stageprofile: all-stageprofile-libdecnumber
19449 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19450 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19451 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19452 @r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454 $(HOST_EXPORTS) \
19455 $(POSTSTAGE1_HOST_EXPORTS) \
19456 cd $(HOST_SUBDIR)/libdecnumber && \
19457 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19458 $(TARGET-stageprofile-libdecnumber)
19460 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19461 clean-stageprofile: clean-stageprofile-libdecnumber
19462 clean-stageprofile-libdecnumber:
19463 @if [ $(current_stage) = stageprofile ]; then \
19464 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19465 else \
19466 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
19467 $(MAKE) stageprofile-start; \
19468 fi; \
19469 cd $(HOST_SUBDIR)/libdecnumber && \
19470 $(MAKE) $(FLAGS_TO_PASS) \
19471 $(POSTSTAGE1_FLAGS_TO_PASS) \
19472 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19473 @endif libdecnumber-bootstrap
19476 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19477 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19478 maybe-all-stagefeedback-libdecnumber:
19479 maybe-clean-stagefeedback-libdecnumber:
19480 @if libdecnumber-bootstrap
19481 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19482 all-stagefeedback: all-stagefeedback-libdecnumber
19483 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19484 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19485 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19486 @r=`${PWD_COMMAND}`; export r; \
19487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19488 $(HOST_EXPORTS) \
19489 $(POSTSTAGE1_HOST_EXPORTS) \
19490 cd $(HOST_SUBDIR)/libdecnumber && \
19491 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19492 $(TARGET-stagefeedback-libdecnumber)
19494 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19495 clean-stagefeedback: clean-stagefeedback-libdecnumber
19496 clean-stagefeedback-libdecnumber:
19497 @if [ $(current_stage) = stagefeedback ]; then \
19498 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19499 else \
19500 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
19501 $(MAKE) stagefeedback-start; \
19502 fi; \
19503 cd $(HOST_SUBDIR)/libdecnumber && \
19504 $(MAKE) $(FLAGS_TO_PASS) \
19505 $(POSTSTAGE1_FLAGS_TO_PASS) \
19506 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19507 @endif libdecnumber-bootstrap
19513 .PHONY: check-libdecnumber maybe-check-libdecnumber
19514 maybe-check-libdecnumber:
19515 @if libdecnumber
19516 maybe-check-libdecnumber: check-libdecnumber
19518 check-libdecnumber:
19519 @: $(MAKE); $(unstage)
19520 @r=`${PWD_COMMAND}`; export r; \
19521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19522 $(HOST_EXPORTS) \
19523 (cd $(HOST_SUBDIR)/libdecnumber && \
19524 $(MAKE) $(FLAGS_TO_PASS) check)
19526 @endif libdecnumber
19528 .PHONY: install-libdecnumber maybe-install-libdecnumber
19529 maybe-install-libdecnumber:
19530 @if libdecnumber
19531 maybe-install-libdecnumber: install-libdecnumber
19533 install-libdecnumber: installdirs
19534 @: $(MAKE); $(unstage)
19535 @r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 $(HOST_EXPORTS) \
19538 (cd $(HOST_SUBDIR)/libdecnumber && \
19539 $(MAKE) $(FLAGS_TO_PASS) install)
19541 @endif libdecnumber
19543 # Other targets (info, dvi, pdf, etc.)
19545 .PHONY: maybe-info-libdecnumber info-libdecnumber
19546 maybe-info-libdecnumber:
19547 @if libdecnumber
19548 maybe-info-libdecnumber: info-libdecnumber
19550 info-libdecnumber: \
19551 configure-libdecnumber
19552 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19553 r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19555 $(HOST_EXPORTS) \
19556 for flag in $(EXTRA_HOST_FLAGS) ; do \
19557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19558 done; \
19559 echo "Doing info in libdecnumber" ; \
19560 (cd $(HOST_SUBDIR)/libdecnumber && \
19561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19563 "RANLIB=$${RANLIB}" \
19564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19565 info) \
19566 || exit 1
19568 @endif libdecnumber
19570 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19571 maybe-dvi-libdecnumber:
19572 @if libdecnumber
19573 maybe-dvi-libdecnumber: dvi-libdecnumber
19575 dvi-libdecnumber: \
19576 configure-libdecnumber
19577 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19578 r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 $(HOST_EXPORTS) \
19581 for flag in $(EXTRA_HOST_FLAGS) ; do \
19582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19583 done; \
19584 echo "Doing dvi in libdecnumber" ; \
19585 (cd $(HOST_SUBDIR)/libdecnumber && \
19586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19588 "RANLIB=$${RANLIB}" \
19589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19590 dvi) \
19591 || exit 1
19593 @endif libdecnumber
19595 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19596 maybe-pdf-libdecnumber:
19597 @if libdecnumber
19598 maybe-pdf-libdecnumber: pdf-libdecnumber
19600 pdf-libdecnumber: \
19601 configure-libdecnumber
19602 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19603 r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 $(HOST_EXPORTS) \
19606 for flag in $(EXTRA_HOST_FLAGS) ; do \
19607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19608 done; \
19609 echo "Doing pdf in libdecnumber" ; \
19610 (cd $(HOST_SUBDIR)/libdecnumber && \
19611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19613 "RANLIB=$${RANLIB}" \
19614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19615 pdf) \
19616 || exit 1
19618 @endif libdecnumber
19620 .PHONY: maybe-html-libdecnumber html-libdecnumber
19621 maybe-html-libdecnumber:
19622 @if libdecnumber
19623 maybe-html-libdecnumber: html-libdecnumber
19625 html-libdecnumber: \
19626 configure-libdecnumber
19627 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19628 r=`${PWD_COMMAND}`; export r; \
19629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19630 $(HOST_EXPORTS) \
19631 for flag in $(EXTRA_HOST_FLAGS) ; do \
19632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19633 done; \
19634 echo "Doing html in libdecnumber" ; \
19635 (cd $(HOST_SUBDIR)/libdecnumber && \
19636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19638 "RANLIB=$${RANLIB}" \
19639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19640 html) \
19641 || exit 1
19643 @endif libdecnumber
19645 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19646 maybe-TAGS-libdecnumber:
19647 @if libdecnumber
19648 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19650 TAGS-libdecnumber: \
19651 configure-libdecnumber
19652 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19653 r=`${PWD_COMMAND}`; export r; \
19654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655 $(HOST_EXPORTS) \
19656 for flag in $(EXTRA_HOST_FLAGS) ; do \
19657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19658 done; \
19659 echo "Doing TAGS in libdecnumber" ; \
19660 (cd $(HOST_SUBDIR)/libdecnumber && \
19661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19663 "RANLIB=$${RANLIB}" \
19664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19665 TAGS) \
19666 || exit 1
19668 @endif libdecnumber
19670 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19671 maybe-install-info-libdecnumber:
19672 @if libdecnumber
19673 maybe-install-info-libdecnumber: install-info-libdecnumber
19675 install-info-libdecnumber: \
19676 configure-libdecnumber \
19677 info-libdecnumber
19678 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19679 r=`${PWD_COMMAND}`; export r; \
19680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19681 $(HOST_EXPORTS) \
19682 for flag in $(EXTRA_HOST_FLAGS) ; do \
19683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19684 done; \
19685 echo "Doing install-info in libdecnumber" ; \
19686 (cd $(HOST_SUBDIR)/libdecnumber && \
19687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19689 "RANLIB=$${RANLIB}" \
19690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19691 install-info) \
19692 || exit 1
19694 @endif libdecnumber
19696 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19697 maybe-install-html-libdecnumber:
19698 @if libdecnumber
19699 maybe-install-html-libdecnumber: install-html-libdecnumber
19701 install-html-libdecnumber: \
19702 configure-libdecnumber \
19703 html-libdecnumber
19704 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19705 r=`${PWD_COMMAND}`; export r; \
19706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19707 $(HOST_EXPORTS) \
19708 for flag in $(EXTRA_HOST_FLAGS) ; do \
19709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19710 done; \
19711 echo "Doing install-html in libdecnumber" ; \
19712 (cd $(HOST_SUBDIR)/libdecnumber && \
19713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19715 "RANLIB=$${RANLIB}" \
19716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19717 install-html) \
19718 || exit 1
19720 @endif libdecnumber
19722 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19723 maybe-installcheck-libdecnumber:
19724 @if libdecnumber
19725 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19727 installcheck-libdecnumber: \
19728 configure-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 installcheck 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 installcheck) \
19743 || exit 1
19745 @endif libdecnumber
19747 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19748 maybe-mostlyclean-libdecnumber:
19749 @if libdecnumber
19750 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19752 mostlyclean-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 mostlyclean 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 mostlyclean) \
19767 || exit 1
19769 @endif libdecnumber
19771 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19772 maybe-clean-libdecnumber:
19773 @if libdecnumber
19774 maybe-clean-libdecnumber: clean-libdecnumber
19776 clean-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 clean 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 clean) \
19791 || exit 1
19793 @endif libdecnumber
19795 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19796 maybe-distclean-libdecnumber:
19797 @if libdecnumber
19798 maybe-distclean-libdecnumber: distclean-libdecnumber
19800 distclean-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 distclean 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 distclean) \
19815 || exit 1
19817 @endif libdecnumber
19819 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19820 maybe-maintainer-clean-libdecnumber:
19821 @if libdecnumber
19822 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19824 maintainer-clean-libdecnumber:
19825 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19826 r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828 $(HOST_EXPORTS) \
19829 for flag in $(EXTRA_HOST_FLAGS) ; do \
19830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19831 done; \
19832 echo "Doing maintainer-clean in libdecnumber" ; \
19833 (cd $(HOST_SUBDIR)/libdecnumber && \
19834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19836 "RANLIB=$${RANLIB}" \
19837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19838 maintainer-clean) \
19839 || exit 1
19841 @endif libdecnumber
19845 .PHONY: configure-libgui maybe-configure-libgui
19846 maybe-configure-libgui:
19847 @if gcc-bootstrap
19848 configure-libgui: stage_current
19849 @endif gcc-bootstrap
19850 @if libgui
19851 maybe-configure-libgui: configure-libgui
19852 configure-libgui:
19853 @: $(MAKE); $(unstage)
19854 @r=`${PWD_COMMAND}`; export r; \
19855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19856 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19858 $(HOST_EXPORTS) \
19859 echo Configuring in $(HOST_SUBDIR)/libgui; \
19860 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19861 case $(srcdir) in \
19862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19863 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19865 esac; \
19866 srcdiroption="--srcdir=$${topdir}/libgui"; \
19867 libsrcdir="$$s/libgui"; \
19868 $(SHELL) $${libsrcdir}/configure \
19869 $(HOST_CONFIGARGS) $${srcdiroption} \
19870 || exit 1
19871 @endif libgui
19877 .PHONY: all-libgui maybe-all-libgui
19878 maybe-all-libgui:
19879 @if gcc-bootstrap
19880 all-libgui: stage_current
19881 @endif gcc-bootstrap
19882 @if libgui
19883 TARGET-libgui=all
19884 maybe-all-libgui: all-libgui
19885 all-libgui: configure-libgui
19886 @: $(MAKE); $(unstage)
19887 @r=`${PWD_COMMAND}`; export r; \
19888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19889 $(HOST_EXPORTS) \
19890 (cd $(HOST_SUBDIR)/libgui && \
19891 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19892 @endif libgui
19897 .PHONY: check-libgui maybe-check-libgui
19898 maybe-check-libgui:
19899 @if libgui
19900 maybe-check-libgui: check-libgui
19902 check-libgui:
19903 @: $(MAKE); $(unstage)
19904 @r=`${PWD_COMMAND}`; export r; \
19905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19906 $(HOST_EXPORTS) \
19907 (cd $(HOST_SUBDIR)/libgui && \
19908 $(MAKE) $(FLAGS_TO_PASS) check)
19910 @endif libgui
19912 .PHONY: install-libgui maybe-install-libgui
19913 maybe-install-libgui:
19914 @if libgui
19915 maybe-install-libgui: install-libgui
19917 install-libgui: installdirs
19918 @: $(MAKE); $(unstage)
19919 @r=`${PWD_COMMAND}`; export r; \
19920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19921 $(HOST_EXPORTS) \
19922 (cd $(HOST_SUBDIR)/libgui && \
19923 $(MAKE) $(FLAGS_TO_PASS) install)
19925 @endif libgui
19927 # Other targets (info, dvi, pdf, etc.)
19929 .PHONY: maybe-info-libgui info-libgui
19930 maybe-info-libgui:
19931 @if libgui
19932 maybe-info-libgui: info-libgui
19934 info-libgui: \
19935 configure-libgui
19936 @: $(MAKE); $(unstage)
19937 @[ -f ./libgui/Makefile ] || exit 0; \
19938 r=`${PWD_COMMAND}`; export r; \
19939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19940 $(HOST_EXPORTS) \
19941 for flag in $(EXTRA_HOST_FLAGS) ; do \
19942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19943 done; \
19944 echo "Doing info in libgui" ; \
19945 (cd $(HOST_SUBDIR)/libgui && \
19946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19948 "RANLIB=$${RANLIB}" \
19949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19950 info) \
19951 || exit 1
19953 @endif libgui
19955 .PHONY: maybe-dvi-libgui dvi-libgui
19956 maybe-dvi-libgui:
19957 @if libgui
19958 maybe-dvi-libgui: dvi-libgui
19960 dvi-libgui: \
19961 configure-libgui
19962 @: $(MAKE); $(unstage)
19963 @[ -f ./libgui/Makefile ] || exit 0; \
19964 r=`${PWD_COMMAND}`; export r; \
19965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19966 $(HOST_EXPORTS) \
19967 for flag in $(EXTRA_HOST_FLAGS) ; do \
19968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19969 done; \
19970 echo "Doing dvi in libgui" ; \
19971 (cd $(HOST_SUBDIR)/libgui && \
19972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19974 "RANLIB=$${RANLIB}" \
19975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19976 dvi) \
19977 || exit 1
19979 @endif libgui
19981 .PHONY: maybe-pdf-libgui pdf-libgui
19982 maybe-pdf-libgui:
19983 @if libgui
19984 maybe-pdf-libgui: pdf-libgui
19986 pdf-libgui: \
19987 configure-libgui
19988 @: $(MAKE); $(unstage)
19989 @[ -f ./libgui/Makefile ] || exit 0; \
19990 r=`${PWD_COMMAND}`; export r; \
19991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19992 $(HOST_EXPORTS) \
19993 for flag in $(EXTRA_HOST_FLAGS) ; do \
19994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19995 done; \
19996 echo "Doing pdf in libgui" ; \
19997 (cd $(HOST_SUBDIR)/libgui && \
19998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20000 "RANLIB=$${RANLIB}" \
20001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20002 pdf) \
20003 || exit 1
20005 @endif libgui
20007 .PHONY: maybe-html-libgui html-libgui
20008 maybe-html-libgui:
20009 @if libgui
20010 maybe-html-libgui: html-libgui
20012 html-libgui: \
20013 configure-libgui
20014 @: $(MAKE); $(unstage)
20015 @[ -f ./libgui/Makefile ] || exit 0; \
20016 r=`${PWD_COMMAND}`; export r; \
20017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20018 $(HOST_EXPORTS) \
20019 for flag in $(EXTRA_HOST_FLAGS) ; do \
20020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20021 done; \
20022 echo "Doing html in libgui" ; \
20023 (cd $(HOST_SUBDIR)/libgui && \
20024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20026 "RANLIB=$${RANLIB}" \
20027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20028 html) \
20029 || exit 1
20031 @endif libgui
20033 .PHONY: maybe-TAGS-libgui TAGS-libgui
20034 maybe-TAGS-libgui:
20035 @if libgui
20036 maybe-TAGS-libgui: TAGS-libgui
20038 TAGS-libgui: \
20039 configure-libgui
20040 @: $(MAKE); $(unstage)
20041 @[ -f ./libgui/Makefile ] || exit 0; \
20042 r=`${PWD_COMMAND}`; export r; \
20043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20044 $(HOST_EXPORTS) \
20045 for flag in $(EXTRA_HOST_FLAGS) ; do \
20046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20047 done; \
20048 echo "Doing TAGS in libgui" ; \
20049 (cd $(HOST_SUBDIR)/libgui && \
20050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20052 "RANLIB=$${RANLIB}" \
20053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20054 TAGS) \
20055 || exit 1
20057 @endif libgui
20059 .PHONY: maybe-install-info-libgui install-info-libgui
20060 maybe-install-info-libgui:
20061 @if libgui
20062 maybe-install-info-libgui: install-info-libgui
20064 install-info-libgui: \
20065 configure-libgui \
20066 info-libgui
20067 @: $(MAKE); $(unstage)
20068 @[ -f ./libgui/Makefile ] || exit 0; \
20069 r=`${PWD_COMMAND}`; export r; \
20070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20071 $(HOST_EXPORTS) \
20072 for flag in $(EXTRA_HOST_FLAGS) ; do \
20073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20074 done; \
20075 echo "Doing install-info in libgui" ; \
20076 (cd $(HOST_SUBDIR)/libgui && \
20077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20079 "RANLIB=$${RANLIB}" \
20080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20081 install-info) \
20082 || exit 1
20084 @endif libgui
20086 .PHONY: maybe-install-html-libgui install-html-libgui
20087 maybe-install-html-libgui:
20088 @if libgui
20089 maybe-install-html-libgui: install-html-libgui
20091 install-html-libgui: \
20092 configure-libgui \
20093 html-libgui
20094 @: $(MAKE); $(unstage)
20095 @[ -f ./libgui/Makefile ] || exit 0; \
20096 r=`${PWD_COMMAND}`; export r; \
20097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098 $(HOST_EXPORTS) \
20099 for flag in $(EXTRA_HOST_FLAGS) ; do \
20100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20101 done; \
20102 echo "Doing install-html in libgui" ; \
20103 (cd $(HOST_SUBDIR)/libgui && \
20104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20106 "RANLIB=$${RANLIB}" \
20107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20108 install-html) \
20109 || exit 1
20111 @endif libgui
20113 .PHONY: maybe-installcheck-libgui installcheck-libgui
20114 maybe-installcheck-libgui:
20115 @if libgui
20116 maybe-installcheck-libgui: installcheck-libgui
20118 installcheck-libgui: \
20119 configure-libgui
20120 @: $(MAKE); $(unstage)
20121 @[ -f ./libgui/Makefile ] || exit 0; \
20122 r=`${PWD_COMMAND}`; export r; \
20123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20124 $(HOST_EXPORTS) \
20125 for flag in $(EXTRA_HOST_FLAGS) ; do \
20126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20127 done; \
20128 echo "Doing installcheck in libgui" ; \
20129 (cd $(HOST_SUBDIR)/libgui && \
20130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20132 "RANLIB=$${RANLIB}" \
20133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20134 installcheck) \
20135 || exit 1
20137 @endif libgui
20139 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
20140 maybe-mostlyclean-libgui:
20141 @if libgui
20142 maybe-mostlyclean-libgui: mostlyclean-libgui
20144 mostlyclean-libgui:
20145 @: $(MAKE); $(unstage)
20146 @[ -f ./libgui/Makefile ] || exit 0; \
20147 r=`${PWD_COMMAND}`; export r; \
20148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20149 $(HOST_EXPORTS) \
20150 for flag in $(EXTRA_HOST_FLAGS) ; do \
20151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20152 done; \
20153 echo "Doing mostlyclean in libgui" ; \
20154 (cd $(HOST_SUBDIR)/libgui && \
20155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20157 "RANLIB=$${RANLIB}" \
20158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20159 mostlyclean) \
20160 || exit 1
20162 @endif libgui
20164 .PHONY: maybe-clean-libgui clean-libgui
20165 maybe-clean-libgui:
20166 @if libgui
20167 maybe-clean-libgui: clean-libgui
20169 clean-libgui:
20170 @: $(MAKE); $(unstage)
20171 @[ -f ./libgui/Makefile ] || exit 0; \
20172 r=`${PWD_COMMAND}`; export r; \
20173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20174 $(HOST_EXPORTS) \
20175 for flag in $(EXTRA_HOST_FLAGS) ; do \
20176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20177 done; \
20178 echo "Doing clean in libgui" ; \
20179 (cd $(HOST_SUBDIR)/libgui && \
20180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20182 "RANLIB=$${RANLIB}" \
20183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20184 clean) \
20185 || exit 1
20187 @endif libgui
20189 .PHONY: maybe-distclean-libgui distclean-libgui
20190 maybe-distclean-libgui:
20191 @if libgui
20192 maybe-distclean-libgui: distclean-libgui
20194 distclean-libgui:
20195 @: $(MAKE); $(unstage)
20196 @[ -f ./libgui/Makefile ] || exit 0; \
20197 r=`${PWD_COMMAND}`; export r; \
20198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20199 $(HOST_EXPORTS) \
20200 for flag in $(EXTRA_HOST_FLAGS) ; do \
20201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20202 done; \
20203 echo "Doing distclean in libgui" ; \
20204 (cd $(HOST_SUBDIR)/libgui && \
20205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20207 "RANLIB=$${RANLIB}" \
20208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20209 distclean) \
20210 || exit 1
20212 @endif libgui
20214 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20215 maybe-maintainer-clean-libgui:
20216 @if libgui
20217 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20219 maintainer-clean-libgui:
20220 @: $(MAKE); $(unstage)
20221 @[ -f ./libgui/Makefile ] || exit 0; \
20222 r=`${PWD_COMMAND}`; export r; \
20223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20224 $(HOST_EXPORTS) \
20225 for flag in $(EXTRA_HOST_FLAGS) ; do \
20226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20227 done; \
20228 echo "Doing maintainer-clean in libgui" ; \
20229 (cd $(HOST_SUBDIR)/libgui && \
20230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20232 "RANLIB=$${RANLIB}" \
20233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20234 maintainer-clean) \
20235 || exit 1
20237 @endif libgui
20241 .PHONY: configure-libiberty maybe-configure-libiberty
20242 maybe-configure-libiberty:
20243 @if gcc-bootstrap
20244 configure-libiberty: stage_current
20245 @endif gcc-bootstrap
20246 @if libiberty
20247 maybe-configure-libiberty: configure-libiberty
20248 configure-libiberty:
20249 @r=`${PWD_COMMAND}`; export r; \
20250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20251 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20253 $(HOST_EXPORTS) \
20254 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20255 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20256 case $(srcdir) in \
20257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20258 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20260 esac; \
20261 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20262 libsrcdir="$$s/libiberty"; \
20263 $(SHELL) $${libsrcdir}/configure \
20264 $(HOST_CONFIGARGS) $${srcdiroption} \
20265 || exit 1
20266 @endif libiberty
20270 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20271 maybe-configure-stage1-libiberty:
20272 @if libiberty-bootstrap
20273 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20274 configure-stage1-libiberty:
20275 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20277 @r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20280 $(HOST_EXPORTS) \
20281 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20283 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20284 case $(srcdir) in \
20285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20286 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20288 esac; \
20289 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20290 libsrcdir="$$s/libiberty"; \
20291 $(SHELL) $${libsrcdir}/configure \
20292 $(HOST_CONFIGARGS) $${srcdiroption} \
20294 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20295 @endif libiberty-bootstrap
20297 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20298 maybe-configure-stage2-libiberty:
20299 @if libiberty-bootstrap
20300 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20301 configure-stage2-libiberty:
20302 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20304 @r=`${PWD_COMMAND}`; export r; \
20305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20306 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20307 $(HOST_EXPORTS) \
20308 $(POSTSTAGE1_HOST_EXPORTS) \
20309 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20311 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20312 case $(srcdir) in \
20313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20314 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20316 esac; \
20317 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20318 libsrcdir="$$s/libiberty"; \
20319 $(SHELL) $${libsrcdir}/configure \
20320 $(HOST_CONFIGARGS) $${srcdiroption} \
20321 --with-build-libsubdir=$(HOST_SUBDIR) \
20322 @stage2_werror_flag@
20323 @endif libiberty-bootstrap
20325 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20326 maybe-configure-stage3-libiberty:
20327 @if libiberty-bootstrap
20328 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20329 configure-stage3-libiberty:
20330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20332 @r=`${PWD_COMMAND}`; export r; \
20333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20334 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20335 $(HOST_EXPORTS) \
20336 $(POSTSTAGE1_HOST_EXPORTS) \
20337 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20339 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20340 case $(srcdir) in \
20341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20342 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20344 esac; \
20345 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20346 libsrcdir="$$s/libiberty"; \
20347 $(SHELL) $${libsrcdir}/configure \
20348 $(HOST_CONFIGARGS) $${srcdiroption} \
20349 --with-build-libsubdir=$(HOST_SUBDIR) \
20350 @stage2_werror_flag@
20351 @endif libiberty-bootstrap
20353 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20354 maybe-configure-stage4-libiberty:
20355 @if libiberty-bootstrap
20356 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20357 configure-stage4-libiberty:
20358 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20360 @r=`${PWD_COMMAND}`; export r; \
20361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20362 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20363 $(HOST_EXPORTS) \
20364 $(POSTSTAGE1_HOST_EXPORTS) \
20365 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20367 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20368 case $(srcdir) in \
20369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20370 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20372 esac; \
20373 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20374 libsrcdir="$$s/libiberty"; \
20375 $(SHELL) $${libsrcdir}/configure \
20376 $(HOST_CONFIGARGS) $${srcdiroption} \
20377 --with-build-libsubdir=$(HOST_SUBDIR) \
20378 @stage2_werror_flag@
20379 @endif libiberty-bootstrap
20381 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20382 maybe-configure-stageprofile-libiberty:
20383 @if libiberty-bootstrap
20384 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20385 configure-stageprofile-libiberty:
20386 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20387 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20388 @r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20391 $(HOST_EXPORTS) \
20392 $(POSTSTAGE1_HOST_EXPORTS) \
20393 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20395 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20396 case $(srcdir) in \
20397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20398 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20400 esac; \
20401 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20402 libsrcdir="$$s/libiberty"; \
20403 $(SHELL) $${libsrcdir}/configure \
20404 $(HOST_CONFIGARGS) $${srcdiroption} \
20405 --with-build-libsubdir=$(HOST_SUBDIR) \
20406 @stage2_werror_flag@
20407 @endif libiberty-bootstrap
20409 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20410 maybe-configure-stagefeedback-libiberty:
20411 @if libiberty-bootstrap
20412 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20413 configure-stagefeedback-libiberty:
20414 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20416 @r=`${PWD_COMMAND}`; export r; \
20417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20419 $(HOST_EXPORTS) \
20420 $(POSTSTAGE1_HOST_EXPORTS) \
20421 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20423 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20424 case $(srcdir) in \
20425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20426 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20428 esac; \
20429 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20430 libsrcdir="$$s/libiberty"; \
20431 $(SHELL) $${libsrcdir}/configure \
20432 $(HOST_CONFIGARGS) $${srcdiroption} \
20433 --with-build-libsubdir=$(HOST_SUBDIR) \
20434 @stage2_werror_flag@
20435 @endif libiberty-bootstrap
20441 .PHONY: all-libiberty maybe-all-libiberty
20442 maybe-all-libiberty:
20443 @if gcc-bootstrap
20444 all-libiberty: stage_current
20445 @endif gcc-bootstrap
20446 @if libiberty
20447 TARGET-libiberty=all
20448 maybe-all-libiberty: all-libiberty
20449 all-libiberty: configure-libiberty
20450 @r=`${PWD_COMMAND}`; export r; \
20451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20452 $(HOST_EXPORTS) \
20453 (cd $(HOST_SUBDIR)/libiberty && \
20454 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20455 @endif libiberty
20459 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20460 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20461 maybe-all-stage1-libiberty:
20462 maybe-clean-stage1-libiberty:
20463 @if libiberty-bootstrap
20464 maybe-all-stage1-libiberty: all-stage1-libiberty
20465 all-stage1: all-stage1-libiberty
20466 TARGET-stage1-libiberty = $(TARGET-libiberty)
20467 all-stage1-libiberty: configure-stage1-libiberty
20468 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20469 @r=`${PWD_COMMAND}`; export r; \
20470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20471 $(HOST_EXPORTS) \
20472 cd $(HOST_SUBDIR)/libiberty && \
20473 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20474 $(TARGET-stage1-libiberty)
20476 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20477 clean-stage1: clean-stage1-libiberty
20478 clean-stage1-libiberty:
20479 @if [ $(current_stage) = stage1 ]; then \
20480 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20481 else \
20482 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
20483 $(MAKE) stage1-start; \
20484 fi; \
20485 cd $(HOST_SUBDIR)/libiberty && \
20486 $(MAKE) $(FLAGS_TO_PASS) \
20487 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20488 @endif libiberty-bootstrap
20491 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20492 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20493 maybe-all-stage2-libiberty:
20494 maybe-clean-stage2-libiberty:
20495 @if libiberty-bootstrap
20496 maybe-all-stage2-libiberty: all-stage2-libiberty
20497 all-stage2: all-stage2-libiberty
20498 TARGET-stage2-libiberty = $(TARGET-libiberty)
20499 all-stage2-libiberty: configure-stage2-libiberty
20500 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 $(HOST_EXPORTS) \
20504 $(POSTSTAGE1_HOST_EXPORTS) \
20505 cd $(HOST_SUBDIR)/libiberty && \
20506 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20507 $(TARGET-stage2-libiberty)
20509 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20510 clean-stage2: clean-stage2-libiberty
20511 clean-stage2-libiberty:
20512 @if [ $(current_stage) = stage2 ]; then \
20513 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20514 else \
20515 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
20516 $(MAKE) stage2-start; \
20517 fi; \
20518 cd $(HOST_SUBDIR)/libiberty && \
20519 $(MAKE) $(FLAGS_TO_PASS) \
20520 $(POSTSTAGE1_FLAGS_TO_PASS) \
20521 clean
20522 @endif libiberty-bootstrap
20525 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20526 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20527 maybe-all-stage3-libiberty:
20528 maybe-clean-stage3-libiberty:
20529 @if libiberty-bootstrap
20530 maybe-all-stage3-libiberty: all-stage3-libiberty
20531 all-stage3: all-stage3-libiberty
20532 TARGET-stage3-libiberty = $(TARGET-libiberty)
20533 all-stage3-libiberty: configure-stage3-libiberty
20534 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20535 @r=`${PWD_COMMAND}`; export r; \
20536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20537 $(HOST_EXPORTS) \
20538 $(POSTSTAGE1_HOST_EXPORTS) \
20539 cd $(HOST_SUBDIR)/libiberty && \
20540 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20541 $(TARGET-stage3-libiberty)
20543 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20544 clean-stage3: clean-stage3-libiberty
20545 clean-stage3-libiberty:
20546 @if [ $(current_stage) = stage3 ]; then \
20547 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20548 else \
20549 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
20550 $(MAKE) stage3-start; \
20551 fi; \
20552 cd $(HOST_SUBDIR)/libiberty && \
20553 $(MAKE) $(FLAGS_TO_PASS) \
20554 $(POSTSTAGE1_FLAGS_TO_PASS) \
20555 clean
20556 @endif libiberty-bootstrap
20559 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20560 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20561 maybe-all-stage4-libiberty:
20562 maybe-clean-stage4-libiberty:
20563 @if libiberty-bootstrap
20564 maybe-all-stage4-libiberty: all-stage4-libiberty
20565 all-stage4: all-stage4-libiberty
20566 TARGET-stage4-libiberty = $(TARGET-libiberty)
20567 all-stage4-libiberty: configure-stage4-libiberty
20568 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20569 @r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20571 $(HOST_EXPORTS) \
20572 $(POSTSTAGE1_HOST_EXPORTS) \
20573 cd $(HOST_SUBDIR)/libiberty && \
20574 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20575 $(TARGET-stage4-libiberty)
20577 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20578 clean-stage4: clean-stage4-libiberty
20579 clean-stage4-libiberty:
20580 @if [ $(current_stage) = stage4 ]; then \
20581 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20582 else \
20583 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
20584 $(MAKE) stage4-start; \
20585 fi; \
20586 cd $(HOST_SUBDIR)/libiberty && \
20587 $(MAKE) $(FLAGS_TO_PASS) \
20588 $(POSTSTAGE1_FLAGS_TO_PASS) \
20589 clean
20590 @endif libiberty-bootstrap
20593 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20594 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20595 maybe-all-stageprofile-libiberty:
20596 maybe-clean-stageprofile-libiberty:
20597 @if libiberty-bootstrap
20598 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20599 all-stageprofile: all-stageprofile-libiberty
20600 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20601 all-stageprofile-libiberty: configure-stageprofile-libiberty
20602 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20603 @r=`${PWD_COMMAND}`; export r; \
20604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20605 $(HOST_EXPORTS) \
20606 $(POSTSTAGE1_HOST_EXPORTS) \
20607 cd $(HOST_SUBDIR)/libiberty && \
20608 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20609 $(TARGET-stageprofile-libiberty)
20611 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20612 clean-stageprofile: clean-stageprofile-libiberty
20613 clean-stageprofile-libiberty:
20614 @if [ $(current_stage) = stageprofile ]; then \
20615 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20616 else \
20617 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
20618 $(MAKE) stageprofile-start; \
20619 fi; \
20620 cd $(HOST_SUBDIR)/libiberty && \
20621 $(MAKE) $(FLAGS_TO_PASS) \
20622 $(POSTSTAGE1_FLAGS_TO_PASS) \
20623 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20624 @endif libiberty-bootstrap
20627 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20628 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20629 maybe-all-stagefeedback-libiberty:
20630 maybe-clean-stagefeedback-libiberty:
20631 @if libiberty-bootstrap
20632 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20633 all-stagefeedback: all-stagefeedback-libiberty
20634 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20635 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20636 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20637 @r=`${PWD_COMMAND}`; export r; \
20638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 $(HOST_EXPORTS) \
20640 $(POSTSTAGE1_HOST_EXPORTS) \
20641 cd $(HOST_SUBDIR)/libiberty && \
20642 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20643 $(TARGET-stagefeedback-libiberty)
20645 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20646 clean-stagefeedback: clean-stagefeedback-libiberty
20647 clean-stagefeedback-libiberty:
20648 @if [ $(current_stage) = stagefeedback ]; then \
20649 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20650 else \
20651 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
20652 $(MAKE) stagefeedback-start; \
20653 fi; \
20654 cd $(HOST_SUBDIR)/libiberty && \
20655 $(MAKE) $(FLAGS_TO_PASS) \
20656 $(POSTSTAGE1_FLAGS_TO_PASS) \
20657 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20658 @endif libiberty-bootstrap
20664 .PHONY: check-libiberty maybe-check-libiberty
20665 maybe-check-libiberty:
20666 @if libiberty
20667 maybe-check-libiberty: check-libiberty
20669 check-libiberty:
20670 @: $(MAKE); $(unstage)
20671 @r=`${PWD_COMMAND}`; export r; \
20672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20673 $(HOST_EXPORTS) \
20674 (cd $(HOST_SUBDIR)/libiberty && \
20675 $(MAKE) $(FLAGS_TO_PASS) check)
20677 @endif libiberty
20679 .PHONY: install-libiberty maybe-install-libiberty
20680 maybe-install-libiberty:
20681 @if libiberty
20682 maybe-install-libiberty: install-libiberty
20684 install-libiberty: installdirs
20685 @: $(MAKE); $(unstage)
20686 @r=`${PWD_COMMAND}`; export r; \
20687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 $(HOST_EXPORTS) \
20689 (cd $(HOST_SUBDIR)/libiberty && \
20690 $(MAKE) $(FLAGS_TO_PASS) install)
20692 @endif libiberty
20694 # Other targets (info, dvi, pdf, etc.)
20696 .PHONY: maybe-info-libiberty info-libiberty
20697 maybe-info-libiberty:
20698 @if libiberty
20699 maybe-info-libiberty: info-libiberty
20701 info-libiberty: \
20702 configure-libiberty
20703 @[ -f ./libiberty/Makefile ] || exit 0; \
20704 r=`${PWD_COMMAND}`; export r; \
20705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20706 $(HOST_EXPORTS) \
20707 for flag in $(EXTRA_HOST_FLAGS) ; do \
20708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20709 done; \
20710 echo "Doing info in libiberty" ; \
20711 (cd $(HOST_SUBDIR)/libiberty && \
20712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20714 "RANLIB=$${RANLIB}" \
20715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20716 info) \
20717 || exit 1
20719 @endif libiberty
20721 .PHONY: maybe-dvi-libiberty dvi-libiberty
20722 maybe-dvi-libiberty:
20723 @if libiberty
20724 maybe-dvi-libiberty: dvi-libiberty
20726 dvi-libiberty: \
20727 configure-libiberty
20728 @[ -f ./libiberty/Makefile ] || exit 0; \
20729 r=`${PWD_COMMAND}`; export r; \
20730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20731 $(HOST_EXPORTS) \
20732 for flag in $(EXTRA_HOST_FLAGS) ; do \
20733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20734 done; \
20735 echo "Doing dvi in libiberty" ; \
20736 (cd $(HOST_SUBDIR)/libiberty && \
20737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20739 "RANLIB=$${RANLIB}" \
20740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20741 dvi) \
20742 || exit 1
20744 @endif libiberty
20746 .PHONY: maybe-pdf-libiberty pdf-libiberty
20747 maybe-pdf-libiberty:
20748 @if libiberty
20749 maybe-pdf-libiberty: pdf-libiberty
20751 pdf-libiberty: \
20752 configure-libiberty
20753 @[ -f ./libiberty/Makefile ] || exit 0; \
20754 r=`${PWD_COMMAND}`; export r; \
20755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20756 $(HOST_EXPORTS) \
20757 for flag in $(EXTRA_HOST_FLAGS) ; do \
20758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20759 done; \
20760 echo "Doing pdf in libiberty" ; \
20761 (cd $(HOST_SUBDIR)/libiberty && \
20762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20764 "RANLIB=$${RANLIB}" \
20765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20766 pdf) \
20767 || exit 1
20769 @endif libiberty
20771 .PHONY: maybe-html-libiberty html-libiberty
20772 maybe-html-libiberty:
20773 @if libiberty
20774 maybe-html-libiberty: html-libiberty
20776 html-libiberty: \
20777 configure-libiberty
20778 @[ -f ./libiberty/Makefile ] || exit 0; \
20779 r=`${PWD_COMMAND}`; export r; \
20780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20781 $(HOST_EXPORTS) \
20782 for flag in $(EXTRA_HOST_FLAGS) ; do \
20783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20784 done; \
20785 echo "Doing html in libiberty" ; \
20786 (cd $(HOST_SUBDIR)/libiberty && \
20787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20789 "RANLIB=$${RANLIB}" \
20790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20791 html) \
20792 || exit 1
20794 @endif libiberty
20796 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20797 maybe-TAGS-libiberty:
20798 @if libiberty
20799 maybe-TAGS-libiberty: TAGS-libiberty
20801 TAGS-libiberty: \
20802 configure-libiberty
20803 @[ -f ./libiberty/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(HOST_EXPORTS) \
20807 for flag in $(EXTRA_HOST_FLAGS) ; do \
20808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20809 done; \
20810 echo "Doing TAGS in libiberty" ; \
20811 (cd $(HOST_SUBDIR)/libiberty && \
20812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20814 "RANLIB=$${RANLIB}" \
20815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20816 TAGS) \
20817 || exit 1
20819 @endif libiberty
20821 .PHONY: maybe-install-info-libiberty install-info-libiberty
20822 maybe-install-info-libiberty:
20823 @if libiberty
20824 maybe-install-info-libiberty: install-info-libiberty
20826 install-info-libiberty: \
20827 configure-libiberty \
20828 info-libiberty
20829 @[ -f ./libiberty/Makefile ] || exit 0; \
20830 r=`${PWD_COMMAND}`; export r; \
20831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20832 $(HOST_EXPORTS) \
20833 for flag in $(EXTRA_HOST_FLAGS) ; do \
20834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20835 done; \
20836 echo "Doing install-info in libiberty" ; \
20837 (cd $(HOST_SUBDIR)/libiberty && \
20838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20840 "RANLIB=$${RANLIB}" \
20841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20842 install-info) \
20843 || exit 1
20845 @endif libiberty
20847 .PHONY: maybe-install-html-libiberty install-html-libiberty
20848 maybe-install-html-libiberty:
20849 @if libiberty
20850 maybe-install-html-libiberty: install-html-libiberty
20852 install-html-libiberty: \
20853 configure-libiberty \
20854 html-libiberty
20855 @[ -f ./libiberty/Makefile ] || exit 0; \
20856 r=`${PWD_COMMAND}`; export r; \
20857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20858 $(HOST_EXPORTS) \
20859 for flag in $(EXTRA_HOST_FLAGS) ; do \
20860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20861 done; \
20862 echo "Doing install-html in libiberty" ; \
20863 (cd $(HOST_SUBDIR)/libiberty && \
20864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20866 "RANLIB=$${RANLIB}" \
20867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20868 install-html) \
20869 || exit 1
20871 @endif libiberty
20873 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20874 maybe-installcheck-libiberty:
20875 @if libiberty
20876 maybe-installcheck-libiberty: installcheck-libiberty
20878 installcheck-libiberty: \
20879 configure-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 installcheck 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 installcheck) \
20894 || exit 1
20896 @endif libiberty
20898 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20899 maybe-mostlyclean-libiberty:
20900 @if libiberty
20901 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20903 mostlyclean-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 mostlyclean 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 mostlyclean) \
20918 || exit 1
20920 @endif libiberty
20922 .PHONY: maybe-clean-libiberty clean-libiberty
20923 maybe-clean-libiberty:
20924 @if libiberty
20925 maybe-clean-libiberty: clean-libiberty
20927 clean-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 clean 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 clean) \
20942 || exit 1
20944 @endif libiberty
20946 .PHONY: maybe-distclean-libiberty distclean-libiberty
20947 maybe-distclean-libiberty:
20948 @if libiberty
20949 maybe-distclean-libiberty: distclean-libiberty
20951 distclean-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 distclean 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 distclean) \
20966 || exit 1
20968 @endif libiberty
20970 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20971 maybe-maintainer-clean-libiberty:
20972 @if libiberty
20973 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20975 maintainer-clean-libiberty:
20976 @[ -f ./libiberty/Makefile ] || exit 0; \
20977 r=`${PWD_COMMAND}`; export r; \
20978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 $(HOST_EXPORTS) \
20980 for flag in $(EXTRA_HOST_FLAGS) ; do \
20981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20982 done; \
20983 echo "Doing maintainer-clean in libiberty" ; \
20984 (cd $(HOST_SUBDIR)/libiberty && \
20985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20987 "RANLIB=$${RANLIB}" \
20988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20989 maintainer-clean) \
20990 || exit 1
20992 @endif libiberty
20996 .PHONY: configure-libtool maybe-configure-libtool
20997 maybe-configure-libtool:
20998 @if gcc-bootstrap
20999 configure-libtool: stage_current
21000 @endif gcc-bootstrap
21001 @if libtool
21002 maybe-configure-libtool: configure-libtool
21003 configure-libtool:
21004 @: $(MAKE); $(unstage)
21005 @r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21007 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
21008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
21009 $(HOST_EXPORTS) \
21010 echo Configuring in $(HOST_SUBDIR)/libtool; \
21011 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
21012 case $(srcdir) in \
21013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21014 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
21015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21016 esac; \
21017 srcdiroption="--srcdir=$${topdir}/libtool"; \
21018 libsrcdir="$$s/libtool"; \
21019 $(SHELL) $${libsrcdir}/configure \
21020 $(HOST_CONFIGARGS) $${srcdiroption} \
21021 || exit 1
21022 @endif libtool
21028 .PHONY: all-libtool maybe-all-libtool
21029 maybe-all-libtool:
21030 @if gcc-bootstrap
21031 all-libtool: stage_current
21032 @endif gcc-bootstrap
21033 @if libtool
21034 TARGET-libtool=all
21035 maybe-all-libtool: all-libtool
21036 all-libtool: configure-libtool
21037 @: $(MAKE); $(unstage)
21038 @r=`${PWD_COMMAND}`; export r; \
21039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21040 $(HOST_EXPORTS) \
21041 (cd $(HOST_SUBDIR)/libtool && \
21042 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
21043 @endif libtool
21048 .PHONY: check-libtool maybe-check-libtool
21049 maybe-check-libtool:
21050 @if libtool
21051 maybe-check-libtool: check-libtool
21053 check-libtool:
21054 @: $(MAKE); $(unstage)
21055 @r=`${PWD_COMMAND}`; export r; \
21056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 $(HOST_EXPORTS) \
21058 (cd $(HOST_SUBDIR)/libtool && \
21059 $(MAKE) $(FLAGS_TO_PASS) check)
21061 @endif libtool
21063 .PHONY: install-libtool maybe-install-libtool
21064 maybe-install-libtool:
21065 @if libtool
21066 maybe-install-libtool: install-libtool
21068 install-libtool: installdirs
21069 @: $(MAKE); $(unstage)
21070 @r=`${PWD_COMMAND}`; export r; \
21071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21072 $(HOST_EXPORTS) \
21073 (cd $(HOST_SUBDIR)/libtool && \
21074 $(MAKE) $(FLAGS_TO_PASS) install)
21076 @endif libtool
21078 # Other targets (info, dvi, pdf, etc.)
21080 .PHONY: maybe-info-libtool info-libtool
21081 maybe-info-libtool:
21082 @if libtool
21083 maybe-info-libtool: info-libtool
21085 info-libtool: \
21086 configure-libtool
21087 @: $(MAKE); $(unstage)
21088 @[ -f ./libtool/Makefile ] || exit 0; \
21089 r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21091 $(HOST_EXPORTS) \
21092 for flag in $(EXTRA_HOST_FLAGS) ; do \
21093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21094 done; \
21095 echo "Doing info in libtool" ; \
21096 (cd $(HOST_SUBDIR)/libtool && \
21097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21099 "RANLIB=$${RANLIB}" \
21100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21101 info) \
21102 || exit 1
21104 @endif libtool
21106 .PHONY: maybe-dvi-libtool dvi-libtool
21107 maybe-dvi-libtool:
21108 @if libtool
21109 maybe-dvi-libtool: dvi-libtool
21111 dvi-libtool: \
21112 configure-libtool
21113 @: $(MAKE); $(unstage)
21114 @[ -f ./libtool/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 $(HOST_EXPORTS) \
21118 for flag in $(EXTRA_HOST_FLAGS) ; do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21120 done; \
21121 echo "Doing dvi in libtool" ; \
21122 (cd $(HOST_SUBDIR)/libtool && \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21127 dvi) \
21128 || exit 1
21130 @endif libtool
21132 .PHONY: maybe-pdf-libtool pdf-libtool
21133 maybe-pdf-libtool:
21134 @if libtool
21135 maybe-pdf-libtool: pdf-libtool
21137 pdf-libtool: \
21138 configure-libtool
21139 @: $(MAKE); $(unstage)
21140 @[ -f ./libtool/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143 $(HOST_EXPORTS) \
21144 for flag in $(EXTRA_HOST_FLAGS) ; do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21146 done; \
21147 echo "Doing pdf in libtool" ; \
21148 (cd $(HOST_SUBDIR)/libtool && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21153 pdf) \
21154 || exit 1
21156 @endif libtool
21158 .PHONY: maybe-html-libtool html-libtool
21159 maybe-html-libtool:
21160 @if libtool
21161 maybe-html-libtool: html-libtool
21163 html-libtool: \
21164 configure-libtool
21165 @: $(MAKE); $(unstage)
21166 @[ -f ./libtool/Makefile ] || exit 0; \
21167 r=`${PWD_COMMAND}`; export r; \
21168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 $(HOST_EXPORTS) \
21170 for flag in $(EXTRA_HOST_FLAGS) ; do \
21171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21172 done; \
21173 echo "Doing html in libtool" ; \
21174 (cd $(HOST_SUBDIR)/libtool && \
21175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21177 "RANLIB=$${RANLIB}" \
21178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21179 html) \
21180 || exit 1
21182 @endif libtool
21184 .PHONY: maybe-TAGS-libtool TAGS-libtool
21185 maybe-TAGS-libtool:
21186 @if libtool
21187 maybe-TAGS-libtool: TAGS-libtool
21189 TAGS-libtool: \
21190 configure-libtool
21191 @: $(MAKE); $(unstage)
21192 @[ -f ./libtool/Makefile ] || exit 0; \
21193 r=`${PWD_COMMAND}`; export r; \
21194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21195 $(HOST_EXPORTS) \
21196 for flag in $(EXTRA_HOST_FLAGS) ; do \
21197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21198 done; \
21199 echo "Doing TAGS in libtool" ; \
21200 (cd $(HOST_SUBDIR)/libtool && \
21201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21203 "RANLIB=$${RANLIB}" \
21204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21205 TAGS) \
21206 || exit 1
21208 @endif libtool
21210 .PHONY: maybe-install-info-libtool install-info-libtool
21211 maybe-install-info-libtool:
21212 @if libtool
21213 maybe-install-info-libtool: install-info-libtool
21215 install-info-libtool: \
21216 configure-libtool \
21217 info-libtool
21218 @: $(MAKE); $(unstage)
21219 @[ -f ./libtool/Makefile ] || exit 0; \
21220 r=`${PWD_COMMAND}`; export r; \
21221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21222 $(HOST_EXPORTS) \
21223 for flag in $(EXTRA_HOST_FLAGS) ; do \
21224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21225 done; \
21226 echo "Doing install-info in libtool" ; \
21227 (cd $(HOST_SUBDIR)/libtool && \
21228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21230 "RANLIB=$${RANLIB}" \
21231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21232 install-info) \
21233 || exit 1
21235 @endif libtool
21237 .PHONY: maybe-install-html-libtool install-html-libtool
21238 maybe-install-html-libtool:
21239 @if libtool
21240 maybe-install-html-libtool: install-html-libtool
21242 install-html-libtool: \
21243 configure-libtool \
21244 html-libtool
21245 @: $(MAKE); $(unstage)
21246 @[ -f ./libtool/Makefile ] || exit 0; \
21247 r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21249 $(HOST_EXPORTS) \
21250 for flag in $(EXTRA_HOST_FLAGS) ; do \
21251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21252 done; \
21253 echo "Doing install-html in libtool" ; \
21254 (cd $(HOST_SUBDIR)/libtool && \
21255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21257 "RANLIB=$${RANLIB}" \
21258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21259 install-html) \
21260 || exit 1
21262 @endif libtool
21264 .PHONY: maybe-installcheck-libtool installcheck-libtool
21265 maybe-installcheck-libtool:
21266 @if libtool
21267 maybe-installcheck-libtool: installcheck-libtool
21269 installcheck-libtool: \
21270 configure-libtool
21271 @: $(MAKE); $(unstage)
21272 @[ -f ./libtool/Makefile ] || exit 0; \
21273 r=`${PWD_COMMAND}`; export r; \
21274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21275 $(HOST_EXPORTS) \
21276 for flag in $(EXTRA_HOST_FLAGS) ; do \
21277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21278 done; \
21279 echo "Doing installcheck in libtool" ; \
21280 (cd $(HOST_SUBDIR)/libtool && \
21281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21283 "RANLIB=$${RANLIB}" \
21284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21285 installcheck) \
21286 || exit 1
21288 @endif libtool
21290 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21291 maybe-mostlyclean-libtool:
21292 @if libtool
21293 maybe-mostlyclean-libtool: mostlyclean-libtool
21295 mostlyclean-libtool:
21296 @: $(MAKE); $(unstage)
21297 @[ -f ./libtool/Makefile ] || exit 0; \
21298 r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21300 $(HOST_EXPORTS) \
21301 for flag in $(EXTRA_HOST_FLAGS) ; do \
21302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21303 done; \
21304 echo "Doing mostlyclean in libtool" ; \
21305 (cd $(HOST_SUBDIR)/libtool && \
21306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21308 "RANLIB=$${RANLIB}" \
21309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21310 mostlyclean) \
21311 || exit 1
21313 @endif libtool
21315 .PHONY: maybe-clean-libtool clean-libtool
21316 maybe-clean-libtool:
21317 @if libtool
21318 maybe-clean-libtool: clean-libtool
21320 clean-libtool:
21321 @: $(MAKE); $(unstage)
21322 @[ -f ./libtool/Makefile ] || exit 0; \
21323 r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(HOST_EXPORTS) \
21326 for flag in $(EXTRA_HOST_FLAGS) ; do \
21327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21328 done; \
21329 echo "Doing clean in libtool" ; \
21330 (cd $(HOST_SUBDIR)/libtool && \
21331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21333 "RANLIB=$${RANLIB}" \
21334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21335 clean) \
21336 || exit 1
21338 @endif libtool
21340 .PHONY: maybe-distclean-libtool distclean-libtool
21341 maybe-distclean-libtool:
21342 @if libtool
21343 maybe-distclean-libtool: distclean-libtool
21345 distclean-libtool:
21346 @: $(MAKE); $(unstage)
21347 @[ -f ./libtool/Makefile ] || exit 0; \
21348 r=`${PWD_COMMAND}`; export r; \
21349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21350 $(HOST_EXPORTS) \
21351 for flag in $(EXTRA_HOST_FLAGS) ; do \
21352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21353 done; \
21354 echo "Doing distclean in libtool" ; \
21355 (cd $(HOST_SUBDIR)/libtool && \
21356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21358 "RANLIB=$${RANLIB}" \
21359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21360 distclean) \
21361 || exit 1
21363 @endif libtool
21365 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21366 maybe-maintainer-clean-libtool:
21367 @if libtool
21368 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21370 maintainer-clean-libtool:
21371 @: $(MAKE); $(unstage)
21372 @[ -f ./libtool/Makefile ] || exit 0; \
21373 r=`${PWD_COMMAND}`; export r; \
21374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21375 $(HOST_EXPORTS) \
21376 for flag in $(EXTRA_HOST_FLAGS) ; do \
21377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21378 done; \
21379 echo "Doing maintainer-clean in libtool" ; \
21380 (cd $(HOST_SUBDIR)/libtool && \
21381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21383 "RANLIB=$${RANLIB}" \
21384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21385 maintainer-clean) \
21386 || exit 1
21388 @endif libtool
21392 .PHONY: configure-m4 maybe-configure-m4
21393 maybe-configure-m4:
21394 @if gcc-bootstrap
21395 configure-m4: stage_current
21396 @endif gcc-bootstrap
21397 @if m4
21398 maybe-configure-m4: configure-m4
21399 configure-m4:
21400 @: $(MAKE); $(unstage)
21401 @r=`${PWD_COMMAND}`; export r; \
21402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21403 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21405 $(HOST_EXPORTS) \
21406 echo Configuring in $(HOST_SUBDIR)/m4; \
21407 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21408 case $(srcdir) in \
21409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21410 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21412 esac; \
21413 srcdiroption="--srcdir=$${topdir}/m4"; \
21414 libsrcdir="$$s/m4"; \
21415 $(SHELL) $${libsrcdir}/configure \
21416 $(HOST_CONFIGARGS) $${srcdiroption} \
21417 || exit 1
21418 @endif m4
21424 .PHONY: all-m4 maybe-all-m4
21425 maybe-all-m4:
21426 @if gcc-bootstrap
21427 all-m4: stage_current
21428 @endif gcc-bootstrap
21429 @if m4
21430 TARGET-m4=all
21431 maybe-all-m4: all-m4
21432 all-m4: configure-m4
21433 @: $(MAKE); $(unstage)
21434 @r=`${PWD_COMMAND}`; export r; \
21435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21436 $(HOST_EXPORTS) \
21437 (cd $(HOST_SUBDIR)/m4 && \
21438 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21439 @endif m4
21444 .PHONY: check-m4 maybe-check-m4
21445 maybe-check-m4:
21446 @if m4
21447 maybe-check-m4: check-m4
21449 check-m4:
21450 @: $(MAKE); $(unstage)
21451 @r=`${PWD_COMMAND}`; export r; \
21452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21453 $(HOST_EXPORTS) \
21454 (cd $(HOST_SUBDIR)/m4 && \
21455 $(MAKE) $(FLAGS_TO_PASS) check)
21457 @endif m4
21459 .PHONY: install-m4 maybe-install-m4
21460 maybe-install-m4:
21461 @if m4
21462 maybe-install-m4: install-m4
21464 install-m4: installdirs
21465 @: $(MAKE); $(unstage)
21466 @r=`${PWD_COMMAND}`; export r; \
21467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21468 $(HOST_EXPORTS) \
21469 (cd $(HOST_SUBDIR)/m4 && \
21470 $(MAKE) $(FLAGS_TO_PASS) install)
21472 @endif m4
21474 # Other targets (info, dvi, pdf, etc.)
21476 .PHONY: maybe-info-m4 info-m4
21477 maybe-info-m4:
21478 @if m4
21479 maybe-info-m4: info-m4
21481 info-m4: \
21482 configure-m4
21483 @: $(MAKE); $(unstage)
21484 @[ -f ./m4/Makefile ] || exit 0; \
21485 r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 $(HOST_EXPORTS) \
21488 for flag in $(EXTRA_HOST_FLAGS) ; do \
21489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21490 done; \
21491 echo "Doing info in m4" ; \
21492 (cd $(HOST_SUBDIR)/m4 && \
21493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21495 "RANLIB=$${RANLIB}" \
21496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21497 info) \
21498 || exit 1
21500 @endif m4
21502 .PHONY: maybe-dvi-m4 dvi-m4
21503 maybe-dvi-m4:
21504 @if m4
21505 maybe-dvi-m4: dvi-m4
21507 dvi-m4: \
21508 configure-m4
21509 @: $(MAKE); $(unstage)
21510 @[ -f ./m4/Makefile ] || exit 0; \
21511 r=`${PWD_COMMAND}`; export r; \
21512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21513 $(HOST_EXPORTS) \
21514 for flag in $(EXTRA_HOST_FLAGS) ; do \
21515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21516 done; \
21517 echo "Doing dvi in m4" ; \
21518 (cd $(HOST_SUBDIR)/m4 && \
21519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21521 "RANLIB=$${RANLIB}" \
21522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21523 dvi) \
21524 || exit 1
21526 @endif m4
21528 .PHONY: maybe-pdf-m4 pdf-m4
21529 maybe-pdf-m4:
21530 @if m4
21531 maybe-pdf-m4: pdf-m4
21533 pdf-m4: \
21534 configure-m4
21535 @: $(MAKE); $(unstage)
21536 @[ -f ./m4/Makefile ] || exit 0; \
21537 r=`${PWD_COMMAND}`; export r; \
21538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21539 $(HOST_EXPORTS) \
21540 for flag in $(EXTRA_HOST_FLAGS) ; do \
21541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21542 done; \
21543 echo "Doing pdf in m4" ; \
21544 (cd $(HOST_SUBDIR)/m4 && \
21545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21547 "RANLIB=$${RANLIB}" \
21548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21549 pdf) \
21550 || exit 1
21552 @endif m4
21554 .PHONY: maybe-html-m4 html-m4
21555 maybe-html-m4:
21556 @if m4
21557 maybe-html-m4: html-m4
21559 html-m4: \
21560 configure-m4
21561 @: $(MAKE); $(unstage)
21562 @[ -f ./m4/Makefile ] || exit 0; \
21563 r=`${PWD_COMMAND}`; export r; \
21564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21565 $(HOST_EXPORTS) \
21566 for flag in $(EXTRA_HOST_FLAGS) ; do \
21567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21568 done; \
21569 echo "Doing html in m4" ; \
21570 (cd $(HOST_SUBDIR)/m4 && \
21571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21573 "RANLIB=$${RANLIB}" \
21574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21575 html) \
21576 || exit 1
21578 @endif m4
21580 .PHONY: maybe-TAGS-m4 TAGS-m4
21581 maybe-TAGS-m4:
21582 @if m4
21583 maybe-TAGS-m4: TAGS-m4
21585 TAGS-m4: \
21586 configure-m4
21587 @: $(MAKE); $(unstage)
21588 @[ -f ./m4/Makefile ] || exit 0; \
21589 r=`${PWD_COMMAND}`; export r; \
21590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21591 $(HOST_EXPORTS) \
21592 for flag in $(EXTRA_HOST_FLAGS) ; do \
21593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21594 done; \
21595 echo "Doing TAGS in m4" ; \
21596 (cd $(HOST_SUBDIR)/m4 && \
21597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21599 "RANLIB=$${RANLIB}" \
21600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21601 TAGS) \
21602 || exit 1
21604 @endif m4
21606 .PHONY: maybe-install-info-m4 install-info-m4
21607 maybe-install-info-m4:
21608 @if m4
21609 maybe-install-info-m4: install-info-m4
21611 install-info-m4: \
21612 configure-m4 \
21613 info-m4
21614 @: $(MAKE); $(unstage)
21615 @[ -f ./m4/Makefile ] || exit 0; \
21616 r=`${PWD_COMMAND}`; export r; \
21617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21618 $(HOST_EXPORTS) \
21619 for flag in $(EXTRA_HOST_FLAGS) ; do \
21620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21621 done; \
21622 echo "Doing install-info in m4" ; \
21623 (cd $(HOST_SUBDIR)/m4 && \
21624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21626 "RANLIB=$${RANLIB}" \
21627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21628 install-info) \
21629 || exit 1
21631 @endif m4
21633 .PHONY: maybe-install-html-m4 install-html-m4
21634 maybe-install-html-m4:
21635 @if m4
21636 maybe-install-html-m4: install-html-m4
21638 install-html-m4: \
21639 configure-m4 \
21640 html-m4
21641 @: $(MAKE); $(unstage)
21642 @[ -f ./m4/Makefile ] || exit 0; \
21643 r=`${PWD_COMMAND}`; export r; \
21644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21645 $(HOST_EXPORTS) \
21646 for flag in $(EXTRA_HOST_FLAGS) ; do \
21647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21648 done; \
21649 echo "Doing install-html in m4" ; \
21650 (cd $(HOST_SUBDIR)/m4 && \
21651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21653 "RANLIB=$${RANLIB}" \
21654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21655 install-html) \
21656 || exit 1
21658 @endif m4
21660 .PHONY: maybe-installcheck-m4 installcheck-m4
21661 maybe-installcheck-m4:
21662 @if m4
21663 maybe-installcheck-m4: installcheck-m4
21665 installcheck-m4: \
21666 configure-m4
21667 @: $(MAKE); $(unstage)
21668 @[ -f ./m4/Makefile ] || exit 0; \
21669 r=`${PWD_COMMAND}`; export r; \
21670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21671 $(HOST_EXPORTS) \
21672 for flag in $(EXTRA_HOST_FLAGS) ; do \
21673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21674 done; \
21675 echo "Doing installcheck in m4" ; \
21676 (cd $(HOST_SUBDIR)/m4 && \
21677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21679 "RANLIB=$${RANLIB}" \
21680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21681 installcheck) \
21682 || exit 1
21684 @endif m4
21686 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21687 maybe-mostlyclean-m4:
21688 @if m4
21689 maybe-mostlyclean-m4: mostlyclean-m4
21691 mostlyclean-m4:
21692 @: $(MAKE); $(unstage)
21693 @[ -f ./m4/Makefile ] || exit 0; \
21694 r=`${PWD_COMMAND}`; export r; \
21695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21696 $(HOST_EXPORTS) \
21697 for flag in $(EXTRA_HOST_FLAGS) ; do \
21698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21699 done; \
21700 echo "Doing mostlyclean in m4" ; \
21701 (cd $(HOST_SUBDIR)/m4 && \
21702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21704 "RANLIB=$${RANLIB}" \
21705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21706 mostlyclean) \
21707 || exit 1
21709 @endif m4
21711 .PHONY: maybe-clean-m4 clean-m4
21712 maybe-clean-m4:
21713 @if m4
21714 maybe-clean-m4: clean-m4
21716 clean-m4:
21717 @: $(MAKE); $(unstage)
21718 @[ -f ./m4/Makefile ] || exit 0; \
21719 r=`${PWD_COMMAND}`; export r; \
21720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21721 $(HOST_EXPORTS) \
21722 for flag in $(EXTRA_HOST_FLAGS) ; do \
21723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21724 done; \
21725 echo "Doing clean in m4" ; \
21726 (cd $(HOST_SUBDIR)/m4 && \
21727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21729 "RANLIB=$${RANLIB}" \
21730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21731 clean) \
21732 || exit 1
21734 @endif m4
21736 .PHONY: maybe-distclean-m4 distclean-m4
21737 maybe-distclean-m4:
21738 @if m4
21739 maybe-distclean-m4: distclean-m4
21741 distclean-m4:
21742 @: $(MAKE); $(unstage)
21743 @[ -f ./m4/Makefile ] || exit 0; \
21744 r=`${PWD_COMMAND}`; export r; \
21745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21746 $(HOST_EXPORTS) \
21747 for flag in $(EXTRA_HOST_FLAGS) ; do \
21748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21749 done; \
21750 echo "Doing distclean in m4" ; \
21751 (cd $(HOST_SUBDIR)/m4 && \
21752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21754 "RANLIB=$${RANLIB}" \
21755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21756 distclean) \
21757 || exit 1
21759 @endif m4
21761 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21762 maybe-maintainer-clean-m4:
21763 @if m4
21764 maybe-maintainer-clean-m4: maintainer-clean-m4
21766 maintainer-clean-m4:
21767 @: $(MAKE); $(unstage)
21768 @[ -f ./m4/Makefile ] || exit 0; \
21769 r=`${PWD_COMMAND}`; export r; \
21770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21771 $(HOST_EXPORTS) \
21772 for flag in $(EXTRA_HOST_FLAGS) ; do \
21773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21774 done; \
21775 echo "Doing maintainer-clean in m4" ; \
21776 (cd $(HOST_SUBDIR)/m4 && \
21777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21779 "RANLIB=$${RANLIB}" \
21780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21781 maintainer-clean) \
21782 || exit 1
21784 @endif m4
21788 .PHONY: configure-make maybe-configure-make
21789 maybe-configure-make:
21790 @if gcc-bootstrap
21791 configure-make: stage_current
21792 @endif gcc-bootstrap
21793 @if make
21794 maybe-configure-make: configure-make
21795 configure-make:
21796 @: $(MAKE); $(unstage)
21797 @r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21801 $(HOST_EXPORTS) \
21802 echo Configuring in $(HOST_SUBDIR)/make; \
21803 cd "$(HOST_SUBDIR)/make" || exit 1; \
21804 case $(srcdir) in \
21805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21806 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21808 esac; \
21809 srcdiroption="--srcdir=$${topdir}/make"; \
21810 libsrcdir="$$s/make"; \
21811 $(SHELL) $${libsrcdir}/configure \
21812 $(HOST_CONFIGARGS) $${srcdiroption} \
21813 || exit 1
21814 @endif make
21820 .PHONY: all-make maybe-all-make
21821 maybe-all-make:
21822 @if gcc-bootstrap
21823 all-make: stage_current
21824 @endif gcc-bootstrap
21825 @if make
21826 TARGET-make=all
21827 maybe-all-make: all-make
21828 all-make: configure-make
21829 @: $(MAKE); $(unstage)
21830 @r=`${PWD_COMMAND}`; export r; \
21831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21832 $(HOST_EXPORTS) \
21833 (cd $(HOST_SUBDIR)/make && \
21834 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21835 @endif make
21840 .PHONY: check-make maybe-check-make
21841 maybe-check-make:
21842 @if make
21843 maybe-check-make: check-make
21845 check-make:
21846 @: $(MAKE); $(unstage)
21847 @r=`${PWD_COMMAND}`; export r; \
21848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21849 $(HOST_EXPORTS) \
21850 (cd $(HOST_SUBDIR)/make && \
21851 $(MAKE) $(FLAGS_TO_PASS) check)
21853 @endif make
21855 .PHONY: install-make maybe-install-make
21856 maybe-install-make:
21857 @if make
21858 maybe-install-make: install-make
21860 install-make: installdirs
21861 @: $(MAKE); $(unstage)
21862 @r=`${PWD_COMMAND}`; export r; \
21863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21864 $(HOST_EXPORTS) \
21865 (cd $(HOST_SUBDIR)/make && \
21866 $(MAKE) $(FLAGS_TO_PASS) install)
21868 @endif make
21870 # Other targets (info, dvi, pdf, etc.)
21872 .PHONY: maybe-info-make info-make
21873 maybe-info-make:
21874 @if make
21875 maybe-info-make: info-make
21877 info-make: \
21878 configure-make
21879 @: $(MAKE); $(unstage)
21880 @[ -f ./make/Makefile ] || exit 0; \
21881 r=`${PWD_COMMAND}`; export r; \
21882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21883 $(HOST_EXPORTS) \
21884 for flag in $(EXTRA_HOST_FLAGS) ; do \
21885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21886 done; \
21887 echo "Doing info in make" ; \
21888 (cd $(HOST_SUBDIR)/make && \
21889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21891 "RANLIB=$${RANLIB}" \
21892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21893 info) \
21894 || exit 1
21896 @endif make
21898 .PHONY: maybe-dvi-make dvi-make
21899 maybe-dvi-make:
21900 @if make
21901 maybe-dvi-make: dvi-make
21903 dvi-make: \
21904 configure-make
21905 @: $(MAKE); $(unstage)
21906 @[ -f ./make/Makefile ] || exit 0; \
21907 r=`${PWD_COMMAND}`; export r; \
21908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21909 $(HOST_EXPORTS) \
21910 for flag in $(EXTRA_HOST_FLAGS) ; do \
21911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21912 done; \
21913 echo "Doing dvi in make" ; \
21914 (cd $(HOST_SUBDIR)/make && \
21915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21917 "RANLIB=$${RANLIB}" \
21918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21919 dvi) \
21920 || exit 1
21922 @endif make
21924 .PHONY: maybe-pdf-make pdf-make
21925 maybe-pdf-make:
21926 @if make
21927 maybe-pdf-make: pdf-make
21929 pdf-make: \
21930 configure-make
21931 @: $(MAKE); $(unstage)
21932 @[ -f ./make/Makefile ] || exit 0; \
21933 r=`${PWD_COMMAND}`; export r; \
21934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21935 $(HOST_EXPORTS) \
21936 for flag in $(EXTRA_HOST_FLAGS) ; do \
21937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21938 done; \
21939 echo "Doing pdf in make" ; \
21940 (cd $(HOST_SUBDIR)/make && \
21941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21943 "RANLIB=$${RANLIB}" \
21944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21945 pdf) \
21946 || exit 1
21948 @endif make
21950 .PHONY: maybe-html-make html-make
21951 maybe-html-make:
21952 @if make
21953 maybe-html-make: html-make
21955 html-make: \
21956 configure-make
21957 @: $(MAKE); $(unstage)
21958 @[ -f ./make/Makefile ] || exit 0; \
21959 r=`${PWD_COMMAND}`; export r; \
21960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21961 $(HOST_EXPORTS) \
21962 for flag in $(EXTRA_HOST_FLAGS) ; do \
21963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21964 done; \
21965 echo "Doing html in make" ; \
21966 (cd $(HOST_SUBDIR)/make && \
21967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21969 "RANLIB=$${RANLIB}" \
21970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21971 html) \
21972 || exit 1
21974 @endif make
21976 .PHONY: maybe-TAGS-make TAGS-make
21977 maybe-TAGS-make:
21978 @if make
21979 maybe-TAGS-make: TAGS-make
21981 TAGS-make: \
21982 configure-make
21983 @: $(MAKE); $(unstage)
21984 @[ -f ./make/Makefile ] || exit 0; \
21985 r=`${PWD_COMMAND}`; export r; \
21986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21987 $(HOST_EXPORTS) \
21988 for flag in $(EXTRA_HOST_FLAGS) ; do \
21989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21990 done; \
21991 echo "Doing TAGS in make" ; \
21992 (cd $(HOST_SUBDIR)/make && \
21993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21995 "RANLIB=$${RANLIB}" \
21996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21997 TAGS) \
21998 || exit 1
22000 @endif make
22002 .PHONY: maybe-install-info-make install-info-make
22003 maybe-install-info-make:
22004 @if make
22005 maybe-install-info-make: install-info-make
22007 install-info-make: \
22008 configure-make \
22009 info-make
22010 @: $(MAKE); $(unstage)
22011 @[ -f ./make/Makefile ] || exit 0; \
22012 r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 $(HOST_EXPORTS) \
22015 for flag in $(EXTRA_HOST_FLAGS) ; do \
22016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22017 done; \
22018 echo "Doing install-info in make" ; \
22019 (cd $(HOST_SUBDIR)/make && \
22020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22022 "RANLIB=$${RANLIB}" \
22023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22024 install-info) \
22025 || exit 1
22027 @endif make
22029 .PHONY: maybe-install-html-make install-html-make
22030 maybe-install-html-make:
22031 @if make
22032 maybe-install-html-make: install-html-make
22034 install-html-make: \
22035 configure-make \
22036 html-make
22037 @: $(MAKE); $(unstage)
22038 @[ -f ./make/Makefile ] || exit 0; \
22039 r=`${PWD_COMMAND}`; export r; \
22040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22041 $(HOST_EXPORTS) \
22042 for flag in $(EXTRA_HOST_FLAGS) ; do \
22043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22044 done; \
22045 echo "Doing install-html in make" ; \
22046 (cd $(HOST_SUBDIR)/make && \
22047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22049 "RANLIB=$${RANLIB}" \
22050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22051 install-html) \
22052 || exit 1
22054 @endif make
22056 .PHONY: maybe-installcheck-make installcheck-make
22057 maybe-installcheck-make:
22058 @if make
22059 maybe-installcheck-make: installcheck-make
22061 installcheck-make: \
22062 configure-make
22063 @: $(MAKE); $(unstage)
22064 @[ -f ./make/Makefile ] || exit 0; \
22065 r=`${PWD_COMMAND}`; export r; \
22066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22067 $(HOST_EXPORTS) \
22068 for flag in $(EXTRA_HOST_FLAGS) ; do \
22069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22070 done; \
22071 echo "Doing installcheck in make" ; \
22072 (cd $(HOST_SUBDIR)/make && \
22073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22075 "RANLIB=$${RANLIB}" \
22076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22077 installcheck) \
22078 || exit 1
22080 @endif make
22082 .PHONY: maybe-mostlyclean-make mostlyclean-make
22083 maybe-mostlyclean-make:
22084 @if make
22085 maybe-mostlyclean-make: mostlyclean-make
22087 mostlyclean-make:
22088 @: $(MAKE); $(unstage)
22089 @[ -f ./make/Makefile ] || exit 0; \
22090 r=`${PWD_COMMAND}`; export r; \
22091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22092 $(HOST_EXPORTS) \
22093 for flag in $(EXTRA_HOST_FLAGS) ; do \
22094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22095 done; \
22096 echo "Doing mostlyclean in make" ; \
22097 (cd $(HOST_SUBDIR)/make && \
22098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22100 "RANLIB=$${RANLIB}" \
22101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22102 mostlyclean) \
22103 || exit 1
22105 @endif make
22107 .PHONY: maybe-clean-make clean-make
22108 maybe-clean-make:
22109 @if make
22110 maybe-clean-make: clean-make
22112 clean-make:
22113 @: $(MAKE); $(unstage)
22114 @[ -f ./make/Makefile ] || exit 0; \
22115 r=`${PWD_COMMAND}`; export r; \
22116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22117 $(HOST_EXPORTS) \
22118 for flag in $(EXTRA_HOST_FLAGS) ; do \
22119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22120 done; \
22121 echo "Doing clean in make" ; \
22122 (cd $(HOST_SUBDIR)/make && \
22123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22125 "RANLIB=$${RANLIB}" \
22126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22127 clean) \
22128 || exit 1
22130 @endif make
22132 .PHONY: maybe-distclean-make distclean-make
22133 maybe-distclean-make:
22134 @if make
22135 maybe-distclean-make: distclean-make
22137 distclean-make:
22138 @: $(MAKE); $(unstage)
22139 @[ -f ./make/Makefile ] || exit 0; \
22140 r=`${PWD_COMMAND}`; export r; \
22141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22142 $(HOST_EXPORTS) \
22143 for flag in $(EXTRA_HOST_FLAGS) ; do \
22144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22145 done; \
22146 echo "Doing distclean in make" ; \
22147 (cd $(HOST_SUBDIR)/make && \
22148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22150 "RANLIB=$${RANLIB}" \
22151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22152 distclean) \
22153 || exit 1
22155 @endif make
22157 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
22158 maybe-maintainer-clean-make:
22159 @if make
22160 maybe-maintainer-clean-make: maintainer-clean-make
22162 maintainer-clean-make:
22163 @: $(MAKE); $(unstage)
22164 @[ -f ./make/Makefile ] || exit 0; \
22165 r=`${PWD_COMMAND}`; export r; \
22166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 $(HOST_EXPORTS) \
22168 for flag in $(EXTRA_HOST_FLAGS) ; do \
22169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22170 done; \
22171 echo "Doing maintainer-clean in make" ; \
22172 (cd $(HOST_SUBDIR)/make && \
22173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22175 "RANLIB=$${RANLIB}" \
22176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22177 maintainer-clean) \
22178 || exit 1
22180 @endif make
22184 .PHONY: configure-mmalloc maybe-configure-mmalloc
22185 maybe-configure-mmalloc:
22186 @if gcc-bootstrap
22187 configure-mmalloc: stage_current
22188 @endif gcc-bootstrap
22189 @if mmalloc
22190 maybe-configure-mmalloc: configure-mmalloc
22191 configure-mmalloc:
22192 @: $(MAKE); $(unstage)
22193 @r=`${PWD_COMMAND}`; export r; \
22194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22195 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
22196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
22197 $(HOST_EXPORTS) \
22198 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
22199 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
22200 case $(srcdir) in \
22201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22202 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
22203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22204 esac; \
22205 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22206 libsrcdir="$$s/mmalloc"; \
22207 $(SHELL) $${libsrcdir}/configure \
22208 $(HOST_CONFIGARGS) $${srcdiroption} \
22209 || exit 1
22210 @endif mmalloc
22216 .PHONY: all-mmalloc maybe-all-mmalloc
22217 maybe-all-mmalloc:
22218 @if gcc-bootstrap
22219 all-mmalloc: stage_current
22220 @endif gcc-bootstrap
22221 @if mmalloc
22222 TARGET-mmalloc=all
22223 maybe-all-mmalloc: all-mmalloc
22224 all-mmalloc: configure-mmalloc
22225 @: $(MAKE); $(unstage)
22226 @r=`${PWD_COMMAND}`; export r; \
22227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22228 $(HOST_EXPORTS) \
22229 (cd $(HOST_SUBDIR)/mmalloc && \
22230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22231 @endif mmalloc
22236 .PHONY: check-mmalloc maybe-check-mmalloc
22237 maybe-check-mmalloc:
22238 @if mmalloc
22239 maybe-check-mmalloc: check-mmalloc
22241 check-mmalloc:
22243 @endif mmalloc
22245 .PHONY: install-mmalloc maybe-install-mmalloc
22246 maybe-install-mmalloc:
22247 @if mmalloc
22248 maybe-install-mmalloc: install-mmalloc
22250 install-mmalloc: installdirs
22251 @: $(MAKE); $(unstage)
22252 @r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 $(HOST_EXPORTS) \
22255 (cd $(HOST_SUBDIR)/mmalloc && \
22256 $(MAKE) $(FLAGS_TO_PASS) install)
22258 @endif mmalloc
22260 # Other targets (info, dvi, pdf, etc.)
22262 .PHONY: maybe-info-mmalloc info-mmalloc
22263 maybe-info-mmalloc:
22264 @if mmalloc
22265 maybe-info-mmalloc: info-mmalloc
22267 info-mmalloc: \
22268 configure-mmalloc
22269 @: $(MAKE); $(unstage)
22270 @[ -f ./mmalloc/Makefile ] || exit 0; \
22271 r=`${PWD_COMMAND}`; export r; \
22272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22273 $(HOST_EXPORTS) \
22274 for flag in $(EXTRA_HOST_FLAGS) ; do \
22275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22276 done; \
22277 echo "Doing info in mmalloc" ; \
22278 (cd $(HOST_SUBDIR)/mmalloc && \
22279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22281 "RANLIB=$${RANLIB}" \
22282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22283 info) \
22284 || exit 1
22286 @endif mmalloc
22288 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22289 maybe-dvi-mmalloc:
22290 @if mmalloc
22291 maybe-dvi-mmalloc: dvi-mmalloc
22293 dvi-mmalloc: \
22294 configure-mmalloc
22295 @: $(MAKE); $(unstage)
22296 @[ -f ./mmalloc/Makefile ] || exit 0; \
22297 r=`${PWD_COMMAND}`; export r; \
22298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22299 $(HOST_EXPORTS) \
22300 for flag in $(EXTRA_HOST_FLAGS) ; do \
22301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22302 done; \
22303 echo "Doing dvi in mmalloc" ; \
22304 (cd $(HOST_SUBDIR)/mmalloc && \
22305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22307 "RANLIB=$${RANLIB}" \
22308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22309 dvi) \
22310 || exit 1
22312 @endif mmalloc
22314 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22315 maybe-pdf-mmalloc:
22316 @if mmalloc
22317 maybe-pdf-mmalloc: pdf-mmalloc
22319 pdf-mmalloc: \
22320 configure-mmalloc
22321 @: $(MAKE); $(unstage)
22322 @[ -f ./mmalloc/Makefile ] || exit 0; \
22323 r=`${PWD_COMMAND}`; export r; \
22324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22325 $(HOST_EXPORTS) \
22326 for flag in $(EXTRA_HOST_FLAGS) ; do \
22327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22328 done; \
22329 echo "Doing pdf in mmalloc" ; \
22330 (cd $(HOST_SUBDIR)/mmalloc && \
22331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22333 "RANLIB=$${RANLIB}" \
22334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22335 pdf) \
22336 || exit 1
22338 @endif mmalloc
22340 .PHONY: maybe-html-mmalloc html-mmalloc
22341 maybe-html-mmalloc:
22342 @if mmalloc
22343 maybe-html-mmalloc: html-mmalloc
22345 html-mmalloc: \
22346 configure-mmalloc
22347 @: $(MAKE); $(unstage)
22348 @[ -f ./mmalloc/Makefile ] || exit 0; \
22349 r=`${PWD_COMMAND}`; export r; \
22350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22351 $(HOST_EXPORTS) \
22352 for flag in $(EXTRA_HOST_FLAGS) ; do \
22353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22354 done; \
22355 echo "Doing html in mmalloc" ; \
22356 (cd $(HOST_SUBDIR)/mmalloc && \
22357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22359 "RANLIB=$${RANLIB}" \
22360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22361 html) \
22362 || exit 1
22364 @endif mmalloc
22366 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22367 maybe-TAGS-mmalloc:
22368 @if mmalloc
22369 maybe-TAGS-mmalloc: TAGS-mmalloc
22371 TAGS-mmalloc: \
22372 configure-mmalloc
22373 @: $(MAKE); $(unstage)
22374 @[ -f ./mmalloc/Makefile ] || exit 0; \
22375 r=`${PWD_COMMAND}`; export r; \
22376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22377 $(HOST_EXPORTS) \
22378 for flag in $(EXTRA_HOST_FLAGS) ; do \
22379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22380 done; \
22381 echo "Doing TAGS in mmalloc" ; \
22382 (cd $(HOST_SUBDIR)/mmalloc && \
22383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22385 "RANLIB=$${RANLIB}" \
22386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22387 TAGS) \
22388 || exit 1
22390 @endif mmalloc
22392 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22393 maybe-install-info-mmalloc:
22394 @if mmalloc
22395 maybe-install-info-mmalloc: install-info-mmalloc
22397 install-info-mmalloc: \
22398 configure-mmalloc \
22399 info-mmalloc
22400 @: $(MAKE); $(unstage)
22401 @[ -f ./mmalloc/Makefile ] || exit 0; \
22402 r=`${PWD_COMMAND}`; export r; \
22403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22404 $(HOST_EXPORTS) \
22405 for flag in $(EXTRA_HOST_FLAGS) ; do \
22406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22407 done; \
22408 echo "Doing install-info in mmalloc" ; \
22409 (cd $(HOST_SUBDIR)/mmalloc && \
22410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22412 "RANLIB=$${RANLIB}" \
22413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22414 install-info) \
22415 || exit 1
22417 @endif mmalloc
22419 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22420 maybe-install-html-mmalloc:
22421 @if mmalloc
22422 maybe-install-html-mmalloc: install-html-mmalloc
22424 install-html-mmalloc: \
22425 configure-mmalloc \
22426 html-mmalloc
22427 @: $(MAKE); $(unstage)
22428 @[ -f ./mmalloc/Makefile ] || exit 0; \
22429 r=`${PWD_COMMAND}`; export r; \
22430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22431 $(HOST_EXPORTS) \
22432 for flag in $(EXTRA_HOST_FLAGS) ; do \
22433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22434 done; \
22435 echo "Doing install-html in mmalloc" ; \
22436 (cd $(HOST_SUBDIR)/mmalloc && \
22437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22439 "RANLIB=$${RANLIB}" \
22440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22441 install-html) \
22442 || exit 1
22444 @endif mmalloc
22446 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22447 maybe-installcheck-mmalloc:
22448 @if mmalloc
22449 maybe-installcheck-mmalloc: installcheck-mmalloc
22451 installcheck-mmalloc: \
22452 configure-mmalloc
22453 @: $(MAKE); $(unstage)
22454 @[ -f ./mmalloc/Makefile ] || exit 0; \
22455 r=`${PWD_COMMAND}`; export r; \
22456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22457 $(HOST_EXPORTS) \
22458 for flag in $(EXTRA_HOST_FLAGS) ; do \
22459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22460 done; \
22461 echo "Doing installcheck in mmalloc" ; \
22462 (cd $(HOST_SUBDIR)/mmalloc && \
22463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22465 "RANLIB=$${RANLIB}" \
22466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22467 installcheck) \
22468 || exit 1
22470 @endif mmalloc
22472 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22473 maybe-mostlyclean-mmalloc:
22474 @if mmalloc
22475 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22477 mostlyclean-mmalloc:
22478 @: $(MAKE); $(unstage)
22479 @[ -f ./mmalloc/Makefile ] || exit 0; \
22480 r=`${PWD_COMMAND}`; export r; \
22481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22482 $(HOST_EXPORTS) \
22483 for flag in $(EXTRA_HOST_FLAGS) ; do \
22484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22485 done; \
22486 echo "Doing mostlyclean in mmalloc" ; \
22487 (cd $(HOST_SUBDIR)/mmalloc && \
22488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22490 "RANLIB=$${RANLIB}" \
22491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22492 mostlyclean) \
22493 || exit 1
22495 @endif mmalloc
22497 .PHONY: maybe-clean-mmalloc clean-mmalloc
22498 maybe-clean-mmalloc:
22499 @if mmalloc
22500 maybe-clean-mmalloc: clean-mmalloc
22502 clean-mmalloc:
22503 @: $(MAKE); $(unstage)
22504 @[ -f ./mmalloc/Makefile ] || exit 0; \
22505 r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 $(HOST_EXPORTS) \
22508 for flag in $(EXTRA_HOST_FLAGS) ; do \
22509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22510 done; \
22511 echo "Doing clean in mmalloc" ; \
22512 (cd $(HOST_SUBDIR)/mmalloc && \
22513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22515 "RANLIB=$${RANLIB}" \
22516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22517 clean) \
22518 || exit 1
22520 @endif mmalloc
22522 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22523 maybe-distclean-mmalloc:
22524 @if mmalloc
22525 maybe-distclean-mmalloc: distclean-mmalloc
22527 distclean-mmalloc:
22528 @: $(MAKE); $(unstage)
22529 @[ -f ./mmalloc/Makefile ] || exit 0; \
22530 r=`${PWD_COMMAND}`; export r; \
22531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22532 $(HOST_EXPORTS) \
22533 for flag in $(EXTRA_HOST_FLAGS) ; do \
22534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22535 done; \
22536 echo "Doing distclean in mmalloc" ; \
22537 (cd $(HOST_SUBDIR)/mmalloc && \
22538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22540 "RANLIB=$${RANLIB}" \
22541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22542 distclean) \
22543 || exit 1
22545 @endif mmalloc
22547 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22548 maybe-maintainer-clean-mmalloc:
22549 @if mmalloc
22550 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22552 maintainer-clean-mmalloc:
22553 @: $(MAKE); $(unstage)
22554 @[ -f ./mmalloc/Makefile ] || exit 0; \
22555 r=`${PWD_COMMAND}`; export r; \
22556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22557 $(HOST_EXPORTS) \
22558 for flag in $(EXTRA_HOST_FLAGS) ; do \
22559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22560 done; \
22561 echo "Doing maintainer-clean in mmalloc" ; \
22562 (cd $(HOST_SUBDIR)/mmalloc && \
22563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22565 "RANLIB=$${RANLIB}" \
22566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22567 maintainer-clean) \
22568 || exit 1
22570 @endif mmalloc
22574 .PHONY: configure-patch maybe-configure-patch
22575 maybe-configure-patch:
22576 @if gcc-bootstrap
22577 configure-patch: stage_current
22578 @endif gcc-bootstrap
22579 @if patch
22580 maybe-configure-patch: configure-patch
22581 configure-patch:
22582 @: $(MAKE); $(unstage)
22583 @r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22587 $(HOST_EXPORTS) \
22588 echo Configuring in $(HOST_SUBDIR)/patch; \
22589 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22590 case $(srcdir) in \
22591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22592 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22594 esac; \
22595 srcdiroption="--srcdir=$${topdir}/patch"; \
22596 libsrcdir="$$s/patch"; \
22597 $(SHELL) $${libsrcdir}/configure \
22598 $(HOST_CONFIGARGS) $${srcdiroption} \
22599 || exit 1
22600 @endif patch
22606 .PHONY: all-patch maybe-all-patch
22607 maybe-all-patch:
22608 @if gcc-bootstrap
22609 all-patch: stage_current
22610 @endif gcc-bootstrap
22611 @if patch
22612 TARGET-patch=all
22613 maybe-all-patch: all-patch
22614 all-patch: configure-patch
22615 @: $(MAKE); $(unstage)
22616 @r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 $(HOST_EXPORTS) \
22619 (cd $(HOST_SUBDIR)/patch && \
22620 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22621 @endif patch
22626 .PHONY: check-patch maybe-check-patch
22627 maybe-check-patch:
22628 @if patch
22629 maybe-check-patch: check-patch
22631 check-patch:
22632 @: $(MAKE); $(unstage)
22633 @r=`${PWD_COMMAND}`; export r; \
22634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22635 $(HOST_EXPORTS) \
22636 (cd $(HOST_SUBDIR)/patch && \
22637 $(MAKE) $(FLAGS_TO_PASS) check)
22639 @endif patch
22641 .PHONY: install-patch maybe-install-patch
22642 maybe-install-patch:
22643 @if patch
22644 maybe-install-patch: install-patch
22646 install-patch: installdirs
22647 @: $(MAKE); $(unstage)
22648 @r=`${PWD_COMMAND}`; export r; \
22649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22650 $(HOST_EXPORTS) \
22651 (cd $(HOST_SUBDIR)/patch && \
22652 $(MAKE) $(FLAGS_TO_PASS) install)
22654 @endif patch
22656 # Other targets (info, dvi, pdf, etc.)
22658 .PHONY: maybe-info-patch info-patch
22659 maybe-info-patch:
22660 @if patch
22661 maybe-info-patch: info-patch
22663 info-patch: \
22664 configure-patch
22665 @: $(MAKE); $(unstage)
22666 @[ -f ./patch/Makefile ] || exit 0; \
22667 r=`${PWD_COMMAND}`; export r; \
22668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22669 $(HOST_EXPORTS) \
22670 for flag in $(EXTRA_HOST_FLAGS) ; do \
22671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22672 done; \
22673 echo "Doing info in patch" ; \
22674 (cd $(HOST_SUBDIR)/patch && \
22675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22677 "RANLIB=$${RANLIB}" \
22678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22679 info) \
22680 || exit 1
22682 @endif patch
22684 .PHONY: maybe-dvi-patch dvi-patch
22685 maybe-dvi-patch:
22686 @if patch
22687 maybe-dvi-patch: dvi-patch
22689 dvi-patch: \
22690 configure-patch
22691 @: $(MAKE); $(unstage)
22692 @[ -f ./patch/Makefile ] || exit 0; \
22693 r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 $(HOST_EXPORTS) \
22696 for flag in $(EXTRA_HOST_FLAGS) ; do \
22697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22698 done; \
22699 echo "Doing dvi in patch" ; \
22700 (cd $(HOST_SUBDIR)/patch && \
22701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22703 "RANLIB=$${RANLIB}" \
22704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22705 dvi) \
22706 || exit 1
22708 @endif patch
22710 .PHONY: maybe-pdf-patch pdf-patch
22711 maybe-pdf-patch:
22712 @if patch
22713 maybe-pdf-patch: pdf-patch
22715 pdf-patch: \
22716 configure-patch
22717 @: $(MAKE); $(unstage)
22718 @[ -f ./patch/Makefile ] || exit 0; \
22719 r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(HOST_EXPORTS) \
22722 for flag in $(EXTRA_HOST_FLAGS) ; do \
22723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22724 done; \
22725 echo "Doing pdf in patch" ; \
22726 (cd $(HOST_SUBDIR)/patch && \
22727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22729 "RANLIB=$${RANLIB}" \
22730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22731 pdf) \
22732 || exit 1
22734 @endif patch
22736 .PHONY: maybe-html-patch html-patch
22737 maybe-html-patch:
22738 @if patch
22739 maybe-html-patch: html-patch
22741 html-patch: \
22742 configure-patch
22743 @: $(MAKE); $(unstage)
22744 @[ -f ./patch/Makefile ] || exit 0; \
22745 r=`${PWD_COMMAND}`; export r; \
22746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 $(HOST_EXPORTS) \
22748 for flag in $(EXTRA_HOST_FLAGS) ; do \
22749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22750 done; \
22751 echo "Doing html in patch" ; \
22752 (cd $(HOST_SUBDIR)/patch && \
22753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22755 "RANLIB=$${RANLIB}" \
22756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22757 html) \
22758 || exit 1
22760 @endif patch
22762 .PHONY: maybe-TAGS-patch TAGS-patch
22763 maybe-TAGS-patch:
22764 @if patch
22765 maybe-TAGS-patch: TAGS-patch
22767 TAGS-patch: \
22768 configure-patch
22769 @: $(MAKE); $(unstage)
22770 @[ -f ./patch/Makefile ] || exit 0; \
22771 r=`${PWD_COMMAND}`; export r; \
22772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22773 $(HOST_EXPORTS) \
22774 for flag in $(EXTRA_HOST_FLAGS) ; do \
22775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22776 done; \
22777 echo "Doing TAGS in patch" ; \
22778 (cd $(HOST_SUBDIR)/patch && \
22779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22781 "RANLIB=$${RANLIB}" \
22782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22783 TAGS) \
22784 || exit 1
22786 @endif patch
22788 .PHONY: maybe-install-info-patch install-info-patch
22789 maybe-install-info-patch:
22790 @if patch
22791 maybe-install-info-patch: install-info-patch
22793 install-info-patch: \
22794 configure-patch \
22795 info-patch
22796 @: $(MAKE); $(unstage)
22797 @[ -f ./patch/Makefile ] || exit 0; \
22798 r=`${PWD_COMMAND}`; export r; \
22799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22800 $(HOST_EXPORTS) \
22801 for flag in $(EXTRA_HOST_FLAGS) ; do \
22802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22803 done; \
22804 echo "Doing install-info in patch" ; \
22805 (cd $(HOST_SUBDIR)/patch && \
22806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22808 "RANLIB=$${RANLIB}" \
22809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22810 install-info) \
22811 || exit 1
22813 @endif patch
22815 .PHONY: maybe-install-html-patch install-html-patch
22816 maybe-install-html-patch:
22817 @if patch
22818 maybe-install-html-patch: install-html-patch
22820 install-html-patch: \
22821 configure-patch \
22822 html-patch
22823 @: $(MAKE); $(unstage)
22824 @[ -f ./patch/Makefile ] || exit 0; \
22825 r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 $(HOST_EXPORTS) \
22828 for flag in $(EXTRA_HOST_FLAGS) ; do \
22829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22830 done; \
22831 echo "Doing install-html in patch" ; \
22832 (cd $(HOST_SUBDIR)/patch && \
22833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22835 "RANLIB=$${RANLIB}" \
22836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22837 install-html) \
22838 || exit 1
22840 @endif patch
22842 .PHONY: maybe-installcheck-patch installcheck-patch
22843 maybe-installcheck-patch:
22844 @if patch
22845 maybe-installcheck-patch: installcheck-patch
22847 installcheck-patch: \
22848 configure-patch
22849 @: $(MAKE); $(unstage)
22850 @[ -f ./patch/Makefile ] || exit 0; \
22851 r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 for flag in $(EXTRA_HOST_FLAGS) ; do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 echo "Doing installcheck in patch" ; \
22858 (cd $(HOST_SUBDIR)/patch && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 installcheck) \
22864 || exit 1
22866 @endif patch
22868 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22869 maybe-mostlyclean-patch:
22870 @if patch
22871 maybe-mostlyclean-patch: mostlyclean-patch
22873 mostlyclean-patch:
22874 @: $(MAKE); $(unstage)
22875 @[ -f ./patch/Makefile ] || exit 0; \
22876 r=`${PWD_COMMAND}`; export r; \
22877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22878 $(HOST_EXPORTS) \
22879 for flag in $(EXTRA_HOST_FLAGS) ; do \
22880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22881 done; \
22882 echo "Doing mostlyclean in patch" ; \
22883 (cd $(HOST_SUBDIR)/patch && \
22884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22886 "RANLIB=$${RANLIB}" \
22887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22888 mostlyclean) \
22889 || exit 1
22891 @endif patch
22893 .PHONY: maybe-clean-patch clean-patch
22894 maybe-clean-patch:
22895 @if patch
22896 maybe-clean-patch: clean-patch
22898 clean-patch:
22899 @: $(MAKE); $(unstage)
22900 @[ -f ./patch/Makefile ] || exit 0; \
22901 r=`${PWD_COMMAND}`; export r; \
22902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22903 $(HOST_EXPORTS) \
22904 for flag in $(EXTRA_HOST_FLAGS) ; do \
22905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22906 done; \
22907 echo "Doing clean in patch" ; \
22908 (cd $(HOST_SUBDIR)/patch && \
22909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22911 "RANLIB=$${RANLIB}" \
22912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22913 clean) \
22914 || exit 1
22916 @endif patch
22918 .PHONY: maybe-distclean-patch distclean-patch
22919 maybe-distclean-patch:
22920 @if patch
22921 maybe-distclean-patch: distclean-patch
22923 distclean-patch:
22924 @: $(MAKE); $(unstage)
22925 @[ -f ./patch/Makefile ] || exit 0; \
22926 r=`${PWD_COMMAND}`; export r; \
22927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22928 $(HOST_EXPORTS) \
22929 for flag in $(EXTRA_HOST_FLAGS) ; do \
22930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22931 done; \
22932 echo "Doing distclean in patch" ; \
22933 (cd $(HOST_SUBDIR)/patch && \
22934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22936 "RANLIB=$${RANLIB}" \
22937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22938 distclean) \
22939 || exit 1
22941 @endif patch
22943 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22944 maybe-maintainer-clean-patch:
22945 @if patch
22946 maybe-maintainer-clean-patch: maintainer-clean-patch
22948 maintainer-clean-patch:
22949 @: $(MAKE); $(unstage)
22950 @[ -f ./patch/Makefile ] || exit 0; \
22951 r=`${PWD_COMMAND}`; export r; \
22952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22953 $(HOST_EXPORTS) \
22954 for flag in $(EXTRA_HOST_FLAGS) ; do \
22955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22956 done; \
22957 echo "Doing maintainer-clean in patch" ; \
22958 (cd $(HOST_SUBDIR)/patch && \
22959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22961 "RANLIB=$${RANLIB}" \
22962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22963 maintainer-clean) \
22964 || exit 1
22966 @endif patch
22970 .PHONY: configure-perl maybe-configure-perl
22971 maybe-configure-perl:
22972 @if gcc-bootstrap
22973 configure-perl: stage_current
22974 @endif gcc-bootstrap
22975 @if perl
22976 maybe-configure-perl: configure-perl
22977 configure-perl:
22978 @: $(MAKE); $(unstage)
22979 @r=`${PWD_COMMAND}`; export r; \
22980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22981 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22983 $(HOST_EXPORTS) \
22984 echo Configuring in $(HOST_SUBDIR)/perl; \
22985 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22986 case $(srcdir) in \
22987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22988 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
22989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22990 esac; \
22991 srcdiroption="--srcdir=$${topdir}/perl"; \
22992 libsrcdir="$$s/perl"; \
22993 $(SHELL) $${libsrcdir}/configure \
22994 $(HOST_CONFIGARGS) $${srcdiroption} \
22995 || exit 1
22996 @endif perl
23002 .PHONY: all-perl maybe-all-perl
23003 maybe-all-perl:
23004 @if gcc-bootstrap
23005 all-perl: stage_current
23006 @endif gcc-bootstrap
23007 @if perl
23008 TARGET-perl=all
23009 maybe-all-perl: all-perl
23010 all-perl: configure-perl
23011 @: $(MAKE); $(unstage)
23012 @r=`${PWD_COMMAND}`; export r; \
23013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23014 $(HOST_EXPORTS) \
23015 (cd $(HOST_SUBDIR)/perl && \
23016 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
23017 @endif perl
23022 .PHONY: check-perl maybe-check-perl
23023 maybe-check-perl:
23024 @if perl
23025 maybe-check-perl: check-perl
23027 check-perl:
23028 @: $(MAKE); $(unstage)
23029 @r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 $(HOST_EXPORTS) \
23032 (cd $(HOST_SUBDIR)/perl && \
23033 $(MAKE) $(FLAGS_TO_PASS) check)
23035 @endif perl
23037 .PHONY: install-perl maybe-install-perl
23038 maybe-install-perl:
23039 @if perl
23040 maybe-install-perl: install-perl
23042 install-perl: installdirs
23043 @: $(MAKE); $(unstage)
23044 @r=`${PWD_COMMAND}`; export r; \
23045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23046 $(HOST_EXPORTS) \
23047 (cd $(HOST_SUBDIR)/perl && \
23048 $(MAKE) $(FLAGS_TO_PASS) install)
23050 @endif perl
23052 # Other targets (info, dvi, pdf, etc.)
23054 .PHONY: maybe-info-perl info-perl
23055 maybe-info-perl:
23056 @if perl
23057 maybe-info-perl: info-perl
23059 info-perl: \
23060 configure-perl
23061 @: $(MAKE); $(unstage)
23062 @[ -f ./perl/Makefile ] || exit 0; \
23063 r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 $(HOST_EXPORTS) \
23066 for flag in $(EXTRA_HOST_FLAGS) ; do \
23067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23068 done; \
23069 echo "Doing info in perl" ; \
23070 (cd $(HOST_SUBDIR)/perl && \
23071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23073 "RANLIB=$${RANLIB}" \
23074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23075 info) \
23076 || exit 1
23078 @endif perl
23080 .PHONY: maybe-dvi-perl dvi-perl
23081 maybe-dvi-perl:
23082 @if perl
23083 maybe-dvi-perl: dvi-perl
23085 dvi-perl: \
23086 configure-perl
23087 @: $(MAKE); $(unstage)
23088 @[ -f ./perl/Makefile ] || exit 0; \
23089 r=`${PWD_COMMAND}`; export r; \
23090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23091 $(HOST_EXPORTS) \
23092 for flag in $(EXTRA_HOST_FLAGS) ; do \
23093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23094 done; \
23095 echo "Doing dvi in perl" ; \
23096 (cd $(HOST_SUBDIR)/perl && \
23097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23099 "RANLIB=$${RANLIB}" \
23100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23101 dvi) \
23102 || exit 1
23104 @endif perl
23106 .PHONY: maybe-pdf-perl pdf-perl
23107 maybe-pdf-perl:
23108 @if perl
23109 maybe-pdf-perl: pdf-perl
23111 pdf-perl: \
23112 configure-perl
23113 @: $(MAKE); $(unstage)
23114 @[ -f ./perl/Makefile ] || exit 0; \
23115 r=`${PWD_COMMAND}`; export r; \
23116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23117 $(HOST_EXPORTS) \
23118 for flag in $(EXTRA_HOST_FLAGS) ; do \
23119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23120 done; \
23121 echo "Doing pdf in perl" ; \
23122 (cd $(HOST_SUBDIR)/perl && \
23123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23125 "RANLIB=$${RANLIB}" \
23126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23127 pdf) \
23128 || exit 1
23130 @endif perl
23132 .PHONY: maybe-html-perl html-perl
23133 maybe-html-perl:
23134 @if perl
23135 maybe-html-perl: html-perl
23137 html-perl: \
23138 configure-perl
23139 @: $(MAKE); $(unstage)
23140 @[ -f ./perl/Makefile ] || exit 0; \
23141 r=`${PWD_COMMAND}`; export r; \
23142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23143 $(HOST_EXPORTS) \
23144 for flag in $(EXTRA_HOST_FLAGS) ; do \
23145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23146 done; \
23147 echo "Doing html in perl" ; \
23148 (cd $(HOST_SUBDIR)/perl && \
23149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23151 "RANLIB=$${RANLIB}" \
23152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23153 html) \
23154 || exit 1
23156 @endif perl
23158 .PHONY: maybe-TAGS-perl TAGS-perl
23159 maybe-TAGS-perl:
23160 @if perl
23161 maybe-TAGS-perl: TAGS-perl
23163 TAGS-perl: \
23164 configure-perl
23165 @: $(MAKE); $(unstage)
23166 @[ -f ./perl/Makefile ] || exit 0; \
23167 r=`${PWD_COMMAND}`; export r; \
23168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23169 $(HOST_EXPORTS) \
23170 for flag in $(EXTRA_HOST_FLAGS) ; do \
23171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23172 done; \
23173 echo "Doing TAGS in perl" ; \
23174 (cd $(HOST_SUBDIR)/perl && \
23175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23177 "RANLIB=$${RANLIB}" \
23178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23179 TAGS) \
23180 || exit 1
23182 @endif perl
23184 .PHONY: maybe-install-info-perl install-info-perl
23185 maybe-install-info-perl:
23186 @if perl
23187 maybe-install-info-perl: install-info-perl
23189 install-info-perl: \
23190 configure-perl \
23191 info-perl
23192 @: $(MAKE); $(unstage)
23193 @[ -f ./perl/Makefile ] || exit 0; \
23194 r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196 $(HOST_EXPORTS) \
23197 for flag in $(EXTRA_HOST_FLAGS) ; do \
23198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23199 done; \
23200 echo "Doing install-info in perl" ; \
23201 (cd $(HOST_SUBDIR)/perl && \
23202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23204 "RANLIB=$${RANLIB}" \
23205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23206 install-info) \
23207 || exit 1
23209 @endif perl
23211 .PHONY: maybe-install-html-perl install-html-perl
23212 maybe-install-html-perl:
23213 @if perl
23214 maybe-install-html-perl: install-html-perl
23216 install-html-perl: \
23217 configure-perl \
23218 html-perl
23219 @: $(MAKE); $(unstage)
23220 @[ -f ./perl/Makefile ] || exit 0; \
23221 r=`${PWD_COMMAND}`; export r; \
23222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23223 $(HOST_EXPORTS) \
23224 for flag in $(EXTRA_HOST_FLAGS) ; do \
23225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23226 done; \
23227 echo "Doing install-html in perl" ; \
23228 (cd $(HOST_SUBDIR)/perl && \
23229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23231 "RANLIB=$${RANLIB}" \
23232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23233 install-html) \
23234 || exit 1
23236 @endif perl
23238 .PHONY: maybe-installcheck-perl installcheck-perl
23239 maybe-installcheck-perl:
23240 @if perl
23241 maybe-installcheck-perl: installcheck-perl
23243 installcheck-perl: \
23244 configure-perl
23245 @: $(MAKE); $(unstage)
23246 @[ -f ./perl/Makefile ] || exit 0; \
23247 r=`${PWD_COMMAND}`; export r; \
23248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 $(HOST_EXPORTS) \
23250 for flag in $(EXTRA_HOST_FLAGS) ; do \
23251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23252 done; \
23253 echo "Doing installcheck in perl" ; \
23254 (cd $(HOST_SUBDIR)/perl && \
23255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23257 "RANLIB=$${RANLIB}" \
23258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23259 installcheck) \
23260 || exit 1
23262 @endif perl
23264 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23265 maybe-mostlyclean-perl:
23266 @if perl
23267 maybe-mostlyclean-perl: mostlyclean-perl
23269 mostlyclean-perl:
23270 @: $(MAKE); $(unstage)
23271 @[ -f ./perl/Makefile ] || exit 0; \
23272 r=`${PWD_COMMAND}`; export r; \
23273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23274 $(HOST_EXPORTS) \
23275 for flag in $(EXTRA_HOST_FLAGS) ; do \
23276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23277 done; \
23278 echo "Doing mostlyclean in perl" ; \
23279 (cd $(HOST_SUBDIR)/perl && \
23280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23282 "RANLIB=$${RANLIB}" \
23283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23284 mostlyclean) \
23285 || exit 1
23287 @endif perl
23289 .PHONY: maybe-clean-perl clean-perl
23290 maybe-clean-perl:
23291 @if perl
23292 maybe-clean-perl: clean-perl
23294 clean-perl:
23295 @: $(MAKE); $(unstage)
23296 @[ -f ./perl/Makefile ] || exit 0; \
23297 r=`${PWD_COMMAND}`; export r; \
23298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23299 $(HOST_EXPORTS) \
23300 for flag in $(EXTRA_HOST_FLAGS) ; do \
23301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23302 done; \
23303 echo "Doing clean in perl" ; \
23304 (cd $(HOST_SUBDIR)/perl && \
23305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23307 "RANLIB=$${RANLIB}" \
23308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23309 clean) \
23310 || exit 1
23312 @endif perl
23314 .PHONY: maybe-distclean-perl distclean-perl
23315 maybe-distclean-perl:
23316 @if perl
23317 maybe-distclean-perl: distclean-perl
23319 distclean-perl:
23320 @: $(MAKE); $(unstage)
23321 @[ -f ./perl/Makefile ] || exit 0; \
23322 r=`${PWD_COMMAND}`; export r; \
23323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23324 $(HOST_EXPORTS) \
23325 for flag in $(EXTRA_HOST_FLAGS) ; do \
23326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23327 done; \
23328 echo "Doing distclean in perl" ; \
23329 (cd $(HOST_SUBDIR)/perl && \
23330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23332 "RANLIB=$${RANLIB}" \
23333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23334 distclean) \
23335 || exit 1
23337 @endif perl
23339 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23340 maybe-maintainer-clean-perl:
23341 @if perl
23342 maybe-maintainer-clean-perl: maintainer-clean-perl
23344 maintainer-clean-perl:
23345 @: $(MAKE); $(unstage)
23346 @[ -f ./perl/Makefile ] || exit 0; \
23347 r=`${PWD_COMMAND}`; export r; \
23348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23349 $(HOST_EXPORTS) \
23350 for flag in $(EXTRA_HOST_FLAGS) ; do \
23351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23352 done; \
23353 echo "Doing maintainer-clean in perl" ; \
23354 (cd $(HOST_SUBDIR)/perl && \
23355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23357 "RANLIB=$${RANLIB}" \
23358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23359 maintainer-clean) \
23360 || exit 1
23362 @endif perl
23366 .PHONY: configure-prms maybe-configure-prms
23367 maybe-configure-prms:
23368 @if gcc-bootstrap
23369 configure-prms: stage_current
23370 @endif gcc-bootstrap
23371 @if prms
23372 maybe-configure-prms: configure-prms
23373 configure-prms:
23374 @: $(MAKE); $(unstage)
23375 @r=`${PWD_COMMAND}`; export r; \
23376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23377 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23379 $(HOST_EXPORTS) \
23380 echo Configuring in $(HOST_SUBDIR)/prms; \
23381 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23382 case $(srcdir) in \
23383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23384 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23386 esac; \
23387 srcdiroption="--srcdir=$${topdir}/prms"; \
23388 libsrcdir="$$s/prms"; \
23389 $(SHELL) $${libsrcdir}/configure \
23390 $(HOST_CONFIGARGS) $${srcdiroption} \
23391 || exit 1
23392 @endif prms
23398 .PHONY: all-prms maybe-all-prms
23399 maybe-all-prms:
23400 @if gcc-bootstrap
23401 all-prms: stage_current
23402 @endif gcc-bootstrap
23403 @if prms
23404 TARGET-prms=all
23405 maybe-all-prms: all-prms
23406 all-prms: configure-prms
23407 @: $(MAKE); $(unstage)
23408 @r=`${PWD_COMMAND}`; export r; \
23409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23410 $(HOST_EXPORTS) \
23411 (cd $(HOST_SUBDIR)/prms && \
23412 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23413 @endif prms
23418 .PHONY: check-prms maybe-check-prms
23419 maybe-check-prms:
23420 @if prms
23421 maybe-check-prms: check-prms
23423 check-prms:
23424 @: $(MAKE); $(unstage)
23425 @r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 $(HOST_EXPORTS) \
23428 (cd $(HOST_SUBDIR)/prms && \
23429 $(MAKE) $(FLAGS_TO_PASS) check)
23431 @endif prms
23433 .PHONY: install-prms maybe-install-prms
23434 maybe-install-prms:
23435 @if prms
23436 maybe-install-prms: install-prms
23438 install-prms: installdirs
23439 @: $(MAKE); $(unstage)
23440 @r=`${PWD_COMMAND}`; export r; \
23441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23442 $(HOST_EXPORTS) \
23443 (cd $(HOST_SUBDIR)/prms && \
23444 $(MAKE) $(FLAGS_TO_PASS) install)
23446 @endif prms
23448 # Other targets (info, dvi, pdf, etc.)
23450 .PHONY: maybe-info-prms info-prms
23451 maybe-info-prms:
23452 @if prms
23453 maybe-info-prms: info-prms
23455 info-prms: \
23456 configure-prms
23457 @: $(MAKE); $(unstage)
23458 @[ -f ./prms/Makefile ] || exit 0; \
23459 r=`${PWD_COMMAND}`; export r; \
23460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23461 $(HOST_EXPORTS) \
23462 for flag in $(EXTRA_HOST_FLAGS) ; do \
23463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23464 done; \
23465 echo "Doing info in prms" ; \
23466 (cd $(HOST_SUBDIR)/prms && \
23467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23469 "RANLIB=$${RANLIB}" \
23470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23471 info) \
23472 || exit 1
23474 @endif prms
23476 .PHONY: maybe-dvi-prms dvi-prms
23477 maybe-dvi-prms:
23478 @if prms
23479 maybe-dvi-prms: dvi-prms
23481 dvi-prms: \
23482 configure-prms
23483 @: $(MAKE); $(unstage)
23484 @[ -f ./prms/Makefile ] || exit 0; \
23485 r=`${PWD_COMMAND}`; export r; \
23486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23487 $(HOST_EXPORTS) \
23488 for flag in $(EXTRA_HOST_FLAGS) ; do \
23489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23490 done; \
23491 echo "Doing dvi in prms" ; \
23492 (cd $(HOST_SUBDIR)/prms && \
23493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23495 "RANLIB=$${RANLIB}" \
23496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23497 dvi) \
23498 || exit 1
23500 @endif prms
23502 .PHONY: maybe-pdf-prms pdf-prms
23503 maybe-pdf-prms:
23504 @if prms
23505 maybe-pdf-prms: pdf-prms
23507 pdf-prms: \
23508 configure-prms
23509 @: $(MAKE); $(unstage)
23510 @[ -f ./prms/Makefile ] || exit 0; \
23511 r=`${PWD_COMMAND}`; export r; \
23512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23513 $(HOST_EXPORTS) \
23514 for flag in $(EXTRA_HOST_FLAGS) ; do \
23515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23516 done; \
23517 echo "Doing pdf in prms" ; \
23518 (cd $(HOST_SUBDIR)/prms && \
23519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23521 "RANLIB=$${RANLIB}" \
23522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23523 pdf) \
23524 || exit 1
23526 @endif prms
23528 .PHONY: maybe-html-prms html-prms
23529 maybe-html-prms:
23530 @if prms
23531 maybe-html-prms: html-prms
23533 html-prms: \
23534 configure-prms
23535 @: $(MAKE); $(unstage)
23536 @[ -f ./prms/Makefile ] || exit 0; \
23537 r=`${PWD_COMMAND}`; export r; \
23538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 $(HOST_EXPORTS) \
23540 for flag in $(EXTRA_HOST_FLAGS) ; do \
23541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23542 done; \
23543 echo "Doing html in prms" ; \
23544 (cd $(HOST_SUBDIR)/prms && \
23545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23547 "RANLIB=$${RANLIB}" \
23548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23549 html) \
23550 || exit 1
23552 @endif prms
23554 .PHONY: maybe-TAGS-prms TAGS-prms
23555 maybe-TAGS-prms:
23556 @if prms
23557 maybe-TAGS-prms: TAGS-prms
23559 TAGS-prms: \
23560 configure-prms
23561 @: $(MAKE); $(unstage)
23562 @[ -f ./prms/Makefile ] || exit 0; \
23563 r=`${PWD_COMMAND}`; export r; \
23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 $(HOST_EXPORTS) \
23566 for flag in $(EXTRA_HOST_FLAGS) ; do \
23567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 done; \
23569 echo "Doing TAGS in prms" ; \
23570 (cd $(HOST_SUBDIR)/prms && \
23571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23573 "RANLIB=$${RANLIB}" \
23574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23575 TAGS) \
23576 || exit 1
23578 @endif prms
23580 .PHONY: maybe-install-info-prms install-info-prms
23581 maybe-install-info-prms:
23582 @if prms
23583 maybe-install-info-prms: install-info-prms
23585 install-info-prms: \
23586 configure-prms \
23587 info-prms
23588 @: $(MAKE); $(unstage)
23589 @[ -f ./prms/Makefile ] || exit 0; \
23590 r=`${PWD_COMMAND}`; export r; \
23591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23592 $(HOST_EXPORTS) \
23593 for flag in $(EXTRA_HOST_FLAGS) ; do \
23594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23595 done; \
23596 echo "Doing install-info in prms" ; \
23597 (cd $(HOST_SUBDIR)/prms && \
23598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23600 "RANLIB=$${RANLIB}" \
23601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23602 install-info) \
23603 || exit 1
23605 @endif prms
23607 .PHONY: maybe-install-html-prms install-html-prms
23608 maybe-install-html-prms:
23609 @if prms
23610 maybe-install-html-prms: install-html-prms
23612 install-html-prms: \
23613 configure-prms \
23614 html-prms
23615 @: $(MAKE); $(unstage)
23616 @[ -f ./prms/Makefile ] || exit 0; \
23617 r=`${PWD_COMMAND}`; export r; \
23618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 $(HOST_EXPORTS) \
23620 for flag in $(EXTRA_HOST_FLAGS) ; do \
23621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23622 done; \
23623 echo "Doing install-html in prms" ; \
23624 (cd $(HOST_SUBDIR)/prms && \
23625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23627 "RANLIB=$${RANLIB}" \
23628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23629 install-html) \
23630 || exit 1
23632 @endif prms
23634 .PHONY: maybe-installcheck-prms installcheck-prms
23635 maybe-installcheck-prms:
23636 @if prms
23637 maybe-installcheck-prms: installcheck-prms
23639 installcheck-prms: \
23640 configure-prms
23641 @: $(MAKE); $(unstage)
23642 @[ -f ./prms/Makefile ] || exit 0; \
23643 r=`${PWD_COMMAND}`; export r; \
23644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23645 $(HOST_EXPORTS) \
23646 for flag in $(EXTRA_HOST_FLAGS) ; do \
23647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23648 done; \
23649 echo "Doing installcheck in prms" ; \
23650 (cd $(HOST_SUBDIR)/prms && \
23651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23653 "RANLIB=$${RANLIB}" \
23654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23655 installcheck) \
23656 || exit 1
23658 @endif prms
23660 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23661 maybe-mostlyclean-prms:
23662 @if prms
23663 maybe-mostlyclean-prms: mostlyclean-prms
23665 mostlyclean-prms:
23666 @: $(MAKE); $(unstage)
23667 @[ -f ./prms/Makefile ] || exit 0; \
23668 r=`${PWD_COMMAND}`; export r; \
23669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23670 $(HOST_EXPORTS) \
23671 for flag in $(EXTRA_HOST_FLAGS) ; do \
23672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23673 done; \
23674 echo "Doing mostlyclean in prms" ; \
23675 (cd $(HOST_SUBDIR)/prms && \
23676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23678 "RANLIB=$${RANLIB}" \
23679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23680 mostlyclean) \
23681 || exit 1
23683 @endif prms
23685 .PHONY: maybe-clean-prms clean-prms
23686 maybe-clean-prms:
23687 @if prms
23688 maybe-clean-prms: clean-prms
23690 clean-prms:
23691 @: $(MAKE); $(unstage)
23692 @[ -f ./prms/Makefile ] || exit 0; \
23693 r=`${PWD_COMMAND}`; export r; \
23694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23695 $(HOST_EXPORTS) \
23696 for flag in $(EXTRA_HOST_FLAGS) ; do \
23697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23698 done; \
23699 echo "Doing clean in prms" ; \
23700 (cd $(HOST_SUBDIR)/prms && \
23701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23703 "RANLIB=$${RANLIB}" \
23704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23705 clean) \
23706 || exit 1
23708 @endif prms
23710 .PHONY: maybe-distclean-prms distclean-prms
23711 maybe-distclean-prms:
23712 @if prms
23713 maybe-distclean-prms: distclean-prms
23715 distclean-prms:
23716 @: $(MAKE); $(unstage)
23717 @[ -f ./prms/Makefile ] || exit 0; \
23718 r=`${PWD_COMMAND}`; export r; \
23719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23720 $(HOST_EXPORTS) \
23721 for flag in $(EXTRA_HOST_FLAGS) ; do \
23722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23723 done; \
23724 echo "Doing distclean in prms" ; \
23725 (cd $(HOST_SUBDIR)/prms && \
23726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23728 "RANLIB=$${RANLIB}" \
23729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23730 distclean) \
23731 || exit 1
23733 @endif prms
23735 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23736 maybe-maintainer-clean-prms:
23737 @if prms
23738 maybe-maintainer-clean-prms: maintainer-clean-prms
23740 maintainer-clean-prms:
23741 @: $(MAKE); $(unstage)
23742 @[ -f ./prms/Makefile ] || exit 0; \
23743 r=`${PWD_COMMAND}`; export r; \
23744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23745 $(HOST_EXPORTS) \
23746 for flag in $(EXTRA_HOST_FLAGS) ; do \
23747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23748 done; \
23749 echo "Doing maintainer-clean in prms" ; \
23750 (cd $(HOST_SUBDIR)/prms && \
23751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23753 "RANLIB=$${RANLIB}" \
23754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23755 maintainer-clean) \
23756 || exit 1
23758 @endif prms
23762 .PHONY: configure-rcs maybe-configure-rcs
23763 maybe-configure-rcs:
23764 @if gcc-bootstrap
23765 configure-rcs: stage_current
23766 @endif gcc-bootstrap
23767 @if rcs
23768 maybe-configure-rcs: configure-rcs
23769 configure-rcs:
23770 @: $(MAKE); $(unstage)
23771 @r=`${PWD_COMMAND}`; export r; \
23772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23773 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23775 $(HOST_EXPORTS) \
23776 echo Configuring in $(HOST_SUBDIR)/rcs; \
23777 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23778 case $(srcdir) in \
23779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23780 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23782 esac; \
23783 srcdiroption="--srcdir=$${topdir}/rcs"; \
23784 libsrcdir="$$s/rcs"; \
23785 $(SHELL) $${libsrcdir}/configure \
23786 $(HOST_CONFIGARGS) $${srcdiroption} \
23787 || exit 1
23788 @endif rcs
23794 .PHONY: all-rcs maybe-all-rcs
23795 maybe-all-rcs:
23796 @if gcc-bootstrap
23797 all-rcs: stage_current
23798 @endif gcc-bootstrap
23799 @if rcs
23800 TARGET-rcs=all
23801 maybe-all-rcs: all-rcs
23802 all-rcs: configure-rcs
23803 @: $(MAKE); $(unstage)
23804 @r=`${PWD_COMMAND}`; export r; \
23805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 $(HOST_EXPORTS) \
23807 (cd $(HOST_SUBDIR)/rcs && \
23808 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23809 @endif rcs
23814 .PHONY: check-rcs maybe-check-rcs
23815 maybe-check-rcs:
23816 @if rcs
23817 maybe-check-rcs: check-rcs
23819 check-rcs:
23820 @: $(MAKE); $(unstage)
23821 @r=`${PWD_COMMAND}`; export r; \
23822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23823 $(HOST_EXPORTS) \
23824 (cd $(HOST_SUBDIR)/rcs && \
23825 $(MAKE) $(FLAGS_TO_PASS) check)
23827 @endif rcs
23829 .PHONY: install-rcs maybe-install-rcs
23830 maybe-install-rcs:
23831 @if rcs
23832 maybe-install-rcs: install-rcs
23834 install-rcs: installdirs
23835 @: $(MAKE); $(unstage)
23836 @r=`${PWD_COMMAND}`; export r; \
23837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23838 $(HOST_EXPORTS) \
23839 (cd $(HOST_SUBDIR)/rcs && \
23840 $(MAKE) $(FLAGS_TO_PASS) install)
23842 @endif rcs
23844 # Other targets (info, dvi, pdf, etc.)
23846 .PHONY: maybe-info-rcs info-rcs
23847 maybe-info-rcs:
23848 @if rcs
23849 maybe-info-rcs: info-rcs
23851 info-rcs: \
23852 configure-rcs
23853 @: $(MAKE); $(unstage)
23854 @[ -f ./rcs/Makefile ] || exit 0; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 $(HOST_EXPORTS) \
23858 for flag in $(EXTRA_HOST_FLAGS) ; do \
23859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23860 done; \
23861 echo "Doing info in rcs" ; \
23862 (cd $(HOST_SUBDIR)/rcs && \
23863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865 "RANLIB=$${RANLIB}" \
23866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23867 info) \
23868 || exit 1
23870 @endif rcs
23872 .PHONY: maybe-dvi-rcs dvi-rcs
23873 maybe-dvi-rcs:
23874 @if rcs
23875 maybe-dvi-rcs: dvi-rcs
23877 dvi-rcs: \
23878 configure-rcs
23879 @: $(MAKE); $(unstage)
23880 @[ -f ./rcs/Makefile ] || exit 0; \
23881 r=`${PWD_COMMAND}`; export r; \
23882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23883 $(HOST_EXPORTS) \
23884 for flag in $(EXTRA_HOST_FLAGS) ; do \
23885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23886 done; \
23887 echo "Doing dvi in rcs" ; \
23888 (cd $(HOST_SUBDIR)/rcs && \
23889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23891 "RANLIB=$${RANLIB}" \
23892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23893 dvi) \
23894 || exit 1
23896 @endif rcs
23898 .PHONY: maybe-pdf-rcs pdf-rcs
23899 maybe-pdf-rcs:
23900 @if rcs
23901 maybe-pdf-rcs: pdf-rcs
23903 pdf-rcs: \
23904 configure-rcs
23905 @: $(MAKE); $(unstage)
23906 @[ -f ./rcs/Makefile ] || exit 0; \
23907 r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 for flag in $(EXTRA_HOST_FLAGS) ; do \
23911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23912 done; \
23913 echo "Doing pdf in rcs" ; \
23914 (cd $(HOST_SUBDIR)/rcs && \
23915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917 "RANLIB=$${RANLIB}" \
23918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23919 pdf) \
23920 || exit 1
23922 @endif rcs
23924 .PHONY: maybe-html-rcs html-rcs
23925 maybe-html-rcs:
23926 @if rcs
23927 maybe-html-rcs: html-rcs
23929 html-rcs: \
23930 configure-rcs
23931 @: $(MAKE); $(unstage)
23932 @[ -f ./rcs/Makefile ] || exit 0; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(HOST_EXPORTS) \
23936 for flag in $(EXTRA_HOST_FLAGS) ; do \
23937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23938 done; \
23939 echo "Doing html in rcs" ; \
23940 (cd $(HOST_SUBDIR)/rcs && \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23945 html) \
23946 || exit 1
23948 @endif rcs
23950 .PHONY: maybe-TAGS-rcs TAGS-rcs
23951 maybe-TAGS-rcs:
23952 @if rcs
23953 maybe-TAGS-rcs: TAGS-rcs
23955 TAGS-rcs: \
23956 configure-rcs
23957 @: $(MAKE); $(unstage)
23958 @[ -f ./rcs/Makefile ] || exit 0; \
23959 r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(HOST_EXPORTS) \
23962 for flag in $(EXTRA_HOST_FLAGS) ; do \
23963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23964 done; \
23965 echo "Doing TAGS in rcs" ; \
23966 (cd $(HOST_SUBDIR)/rcs && \
23967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23969 "RANLIB=$${RANLIB}" \
23970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23971 TAGS) \
23972 || exit 1
23974 @endif rcs
23976 .PHONY: maybe-install-info-rcs install-info-rcs
23977 maybe-install-info-rcs:
23978 @if rcs
23979 maybe-install-info-rcs: install-info-rcs
23981 install-info-rcs: \
23982 configure-rcs \
23983 info-rcs
23984 @: $(MAKE); $(unstage)
23985 @[ -f ./rcs/Makefile ] || exit 0; \
23986 r=`${PWD_COMMAND}`; export r; \
23987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23988 $(HOST_EXPORTS) \
23989 for flag in $(EXTRA_HOST_FLAGS) ; do \
23990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23991 done; \
23992 echo "Doing install-info in rcs" ; \
23993 (cd $(HOST_SUBDIR)/rcs && \
23994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23996 "RANLIB=$${RANLIB}" \
23997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23998 install-info) \
23999 || exit 1
24001 @endif rcs
24003 .PHONY: maybe-install-html-rcs install-html-rcs
24004 maybe-install-html-rcs:
24005 @if rcs
24006 maybe-install-html-rcs: install-html-rcs
24008 install-html-rcs: \
24009 configure-rcs \
24010 html-rcs
24011 @: $(MAKE); $(unstage)
24012 @[ -f ./rcs/Makefile ] || exit 0; \
24013 r=`${PWD_COMMAND}`; export r; \
24014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24015 $(HOST_EXPORTS) \
24016 for flag in $(EXTRA_HOST_FLAGS) ; do \
24017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24018 done; \
24019 echo "Doing install-html in rcs" ; \
24020 (cd $(HOST_SUBDIR)/rcs && \
24021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24023 "RANLIB=$${RANLIB}" \
24024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24025 install-html) \
24026 || exit 1
24028 @endif rcs
24030 .PHONY: maybe-installcheck-rcs installcheck-rcs
24031 maybe-installcheck-rcs:
24032 @if rcs
24033 maybe-installcheck-rcs: installcheck-rcs
24035 installcheck-rcs: \
24036 configure-rcs
24037 @: $(MAKE); $(unstage)
24038 @[ -f ./rcs/Makefile ] || exit 0; \
24039 r=`${PWD_COMMAND}`; export r; \
24040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24041 $(HOST_EXPORTS) \
24042 for flag in $(EXTRA_HOST_FLAGS) ; do \
24043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24044 done; \
24045 echo "Doing installcheck in rcs" ; \
24046 (cd $(HOST_SUBDIR)/rcs && \
24047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24049 "RANLIB=$${RANLIB}" \
24050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24051 installcheck) \
24052 || exit 1
24054 @endif rcs
24056 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
24057 maybe-mostlyclean-rcs:
24058 @if rcs
24059 maybe-mostlyclean-rcs: mostlyclean-rcs
24061 mostlyclean-rcs:
24062 @: $(MAKE); $(unstage)
24063 @[ -f ./rcs/Makefile ] || exit 0; \
24064 r=`${PWD_COMMAND}`; export r; \
24065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24066 $(HOST_EXPORTS) \
24067 for flag in $(EXTRA_HOST_FLAGS) ; do \
24068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24069 done; \
24070 echo "Doing mostlyclean in rcs" ; \
24071 (cd $(HOST_SUBDIR)/rcs && \
24072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24074 "RANLIB=$${RANLIB}" \
24075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24076 mostlyclean) \
24077 || exit 1
24079 @endif rcs
24081 .PHONY: maybe-clean-rcs clean-rcs
24082 maybe-clean-rcs:
24083 @if rcs
24084 maybe-clean-rcs: clean-rcs
24086 clean-rcs:
24087 @: $(MAKE); $(unstage)
24088 @[ -f ./rcs/Makefile ] || exit 0; \
24089 r=`${PWD_COMMAND}`; export r; \
24090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24091 $(HOST_EXPORTS) \
24092 for flag in $(EXTRA_HOST_FLAGS) ; do \
24093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24094 done; \
24095 echo "Doing clean in rcs" ; \
24096 (cd $(HOST_SUBDIR)/rcs && \
24097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24099 "RANLIB=$${RANLIB}" \
24100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24101 clean) \
24102 || exit 1
24104 @endif rcs
24106 .PHONY: maybe-distclean-rcs distclean-rcs
24107 maybe-distclean-rcs:
24108 @if rcs
24109 maybe-distclean-rcs: distclean-rcs
24111 distclean-rcs:
24112 @: $(MAKE); $(unstage)
24113 @[ -f ./rcs/Makefile ] || exit 0; \
24114 r=`${PWD_COMMAND}`; export r; \
24115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24116 $(HOST_EXPORTS) \
24117 for flag in $(EXTRA_HOST_FLAGS) ; do \
24118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24119 done; \
24120 echo "Doing distclean in rcs" ; \
24121 (cd $(HOST_SUBDIR)/rcs && \
24122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24124 "RANLIB=$${RANLIB}" \
24125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24126 distclean) \
24127 || exit 1
24129 @endif rcs
24131 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
24132 maybe-maintainer-clean-rcs:
24133 @if rcs
24134 maybe-maintainer-clean-rcs: maintainer-clean-rcs
24136 maintainer-clean-rcs:
24137 @: $(MAKE); $(unstage)
24138 @[ -f ./rcs/Makefile ] || exit 0; \
24139 r=`${PWD_COMMAND}`; export r; \
24140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24141 $(HOST_EXPORTS) \
24142 for flag in $(EXTRA_HOST_FLAGS) ; do \
24143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24144 done; \
24145 echo "Doing maintainer-clean in rcs" ; \
24146 (cd $(HOST_SUBDIR)/rcs && \
24147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24149 "RANLIB=$${RANLIB}" \
24150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24151 maintainer-clean) \
24152 || exit 1
24154 @endif rcs
24158 .PHONY: configure-readline maybe-configure-readline
24159 maybe-configure-readline:
24160 @if gcc-bootstrap
24161 configure-readline: stage_current
24162 @endif gcc-bootstrap
24163 @if readline
24164 maybe-configure-readline: configure-readline
24165 configure-readline:
24166 @: $(MAKE); $(unstage)
24167 @r=`${PWD_COMMAND}`; export r; \
24168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24169 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24171 $(HOST_EXPORTS) \
24172 echo Configuring in $(HOST_SUBDIR)/readline; \
24173 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24174 case $(srcdir) in \
24175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24176 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24178 esac; \
24179 srcdiroption="--srcdir=$${topdir}/readline"; \
24180 libsrcdir="$$s/readline"; \
24181 $(SHELL) $${libsrcdir}/configure \
24182 $(HOST_CONFIGARGS) $${srcdiroption} \
24183 || exit 1
24184 @endif readline
24190 .PHONY: all-readline maybe-all-readline
24191 maybe-all-readline:
24192 @if gcc-bootstrap
24193 all-readline: stage_current
24194 @endif gcc-bootstrap
24195 @if readline
24196 TARGET-readline=all
24197 maybe-all-readline: all-readline
24198 all-readline: configure-readline
24199 @: $(MAKE); $(unstage)
24200 @r=`${PWD_COMMAND}`; export r; \
24201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24202 $(HOST_EXPORTS) \
24203 (cd $(HOST_SUBDIR)/readline && \
24204 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24205 @endif readline
24210 .PHONY: check-readline maybe-check-readline
24211 maybe-check-readline:
24212 @if readline
24213 maybe-check-readline: check-readline
24215 check-readline:
24216 @: $(MAKE); $(unstage)
24217 @r=`${PWD_COMMAND}`; export r; \
24218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24219 $(HOST_EXPORTS) \
24220 (cd $(HOST_SUBDIR)/readline && \
24221 $(MAKE) $(FLAGS_TO_PASS) check)
24223 @endif readline
24225 .PHONY: install-readline maybe-install-readline
24226 maybe-install-readline:
24227 @if readline
24228 maybe-install-readline: install-readline
24230 install-readline: installdirs
24231 @: $(MAKE); $(unstage)
24232 @r=`${PWD_COMMAND}`; export r; \
24233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24234 $(HOST_EXPORTS) \
24235 (cd $(HOST_SUBDIR)/readline && \
24236 $(MAKE) $(FLAGS_TO_PASS) install)
24238 @endif readline
24240 # Other targets (info, dvi, pdf, etc.)
24242 .PHONY: maybe-info-readline info-readline
24243 maybe-info-readline:
24244 @if readline
24245 maybe-info-readline: info-readline
24247 info-readline: \
24248 configure-readline
24249 @: $(MAKE); $(unstage)
24250 @[ -f ./readline/Makefile ] || exit 0; \
24251 r=`${PWD_COMMAND}`; export r; \
24252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24253 $(HOST_EXPORTS) \
24254 for flag in $(EXTRA_HOST_FLAGS) ; do \
24255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24256 done; \
24257 echo "Doing info in readline" ; \
24258 (cd $(HOST_SUBDIR)/readline && \
24259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24261 "RANLIB=$${RANLIB}" \
24262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24263 info) \
24264 || exit 1
24266 @endif readline
24268 .PHONY: maybe-dvi-readline dvi-readline
24269 maybe-dvi-readline:
24270 @if readline
24271 maybe-dvi-readline: dvi-readline
24273 dvi-readline: \
24274 configure-readline
24275 @: $(MAKE); $(unstage)
24276 @[ -f ./readline/Makefile ] || exit 0; \
24277 r=`${PWD_COMMAND}`; export r; \
24278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24279 $(HOST_EXPORTS) \
24280 for flag in $(EXTRA_HOST_FLAGS) ; do \
24281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24282 done; \
24283 echo "Doing dvi in readline" ; \
24284 (cd $(HOST_SUBDIR)/readline && \
24285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24287 "RANLIB=$${RANLIB}" \
24288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24289 dvi) \
24290 || exit 1
24292 @endif readline
24294 .PHONY: maybe-pdf-readline pdf-readline
24295 maybe-pdf-readline:
24296 @if readline
24297 maybe-pdf-readline: pdf-readline
24299 pdf-readline: \
24300 configure-readline
24301 @: $(MAKE); $(unstage)
24302 @[ -f ./readline/Makefile ] || exit 0; \
24303 r=`${PWD_COMMAND}`; export r; \
24304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(HOST_EXPORTS) \
24306 for flag in $(EXTRA_HOST_FLAGS) ; do \
24307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24308 done; \
24309 echo "Doing pdf in readline" ; \
24310 (cd $(HOST_SUBDIR)/readline && \
24311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24313 "RANLIB=$${RANLIB}" \
24314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24315 pdf) \
24316 || exit 1
24318 @endif readline
24320 .PHONY: maybe-html-readline html-readline
24321 maybe-html-readline:
24322 @if readline
24323 maybe-html-readline: html-readline
24325 html-readline: \
24326 configure-readline
24327 @: $(MAKE); $(unstage)
24328 @[ -f ./readline/Makefile ] || exit 0; \
24329 r=`${PWD_COMMAND}`; export r; \
24330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24331 $(HOST_EXPORTS) \
24332 for flag in $(EXTRA_HOST_FLAGS) ; do \
24333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24334 done; \
24335 echo "Doing html in readline" ; \
24336 (cd $(HOST_SUBDIR)/readline && \
24337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24339 "RANLIB=$${RANLIB}" \
24340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24341 html) \
24342 || exit 1
24344 @endif readline
24346 .PHONY: maybe-TAGS-readline TAGS-readline
24347 maybe-TAGS-readline:
24348 @if readline
24349 maybe-TAGS-readline: TAGS-readline
24351 TAGS-readline: \
24352 configure-readline
24353 @: $(MAKE); $(unstage)
24354 @[ -f ./readline/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing TAGS in readline" ; \
24362 (cd $(HOST_SUBDIR)/readline && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24367 TAGS) \
24368 || exit 1
24370 @endif readline
24372 .PHONY: maybe-install-info-readline install-info-readline
24373 maybe-install-info-readline:
24374 @if readline
24375 maybe-install-info-readline: install-info-readline
24377 install-info-readline: \
24378 configure-readline \
24379 info-readline
24380 @: $(MAKE); $(unstage)
24381 @[ -f ./readline/Makefile ] || exit 0; \
24382 r=`${PWD_COMMAND}`; export r; \
24383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24384 $(HOST_EXPORTS) \
24385 for flag in $(EXTRA_HOST_FLAGS) ; do \
24386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24387 done; \
24388 echo "Doing install-info in readline" ; \
24389 (cd $(HOST_SUBDIR)/readline && \
24390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24392 "RANLIB=$${RANLIB}" \
24393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24394 install-info) \
24395 || exit 1
24397 @endif readline
24399 .PHONY: maybe-install-html-readline install-html-readline
24400 maybe-install-html-readline:
24401 @if readline
24402 maybe-install-html-readline: install-html-readline
24404 install-html-readline: \
24405 configure-readline \
24406 html-readline
24407 @: $(MAKE); $(unstage)
24408 @[ -f ./readline/Makefile ] || exit 0; \
24409 r=`${PWD_COMMAND}`; export r; \
24410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24411 $(HOST_EXPORTS) \
24412 for flag in $(EXTRA_HOST_FLAGS) ; do \
24413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24414 done; \
24415 echo "Doing install-html in readline" ; \
24416 (cd $(HOST_SUBDIR)/readline && \
24417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24419 "RANLIB=$${RANLIB}" \
24420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24421 install-html) \
24422 || exit 1
24424 @endif readline
24426 .PHONY: maybe-installcheck-readline installcheck-readline
24427 maybe-installcheck-readline:
24428 @if readline
24429 maybe-installcheck-readline: installcheck-readline
24431 installcheck-readline: \
24432 configure-readline
24433 @: $(MAKE); $(unstage)
24434 @[ -f ./readline/Makefile ] || exit 0; \
24435 r=`${PWD_COMMAND}`; export r; \
24436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24437 $(HOST_EXPORTS) \
24438 for flag in $(EXTRA_HOST_FLAGS) ; do \
24439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24440 done; \
24441 echo "Doing installcheck in readline" ; \
24442 (cd $(HOST_SUBDIR)/readline && \
24443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24445 "RANLIB=$${RANLIB}" \
24446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24447 installcheck) \
24448 || exit 1
24450 @endif readline
24452 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24453 maybe-mostlyclean-readline:
24454 @if readline
24455 maybe-mostlyclean-readline: mostlyclean-readline
24457 mostlyclean-readline:
24458 @: $(MAKE); $(unstage)
24459 @[ -f ./readline/Makefile ] || exit 0; \
24460 r=`${PWD_COMMAND}`; export r; \
24461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24462 $(HOST_EXPORTS) \
24463 for flag in $(EXTRA_HOST_FLAGS) ; do \
24464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24465 done; \
24466 echo "Doing mostlyclean in readline" ; \
24467 (cd $(HOST_SUBDIR)/readline && \
24468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24470 "RANLIB=$${RANLIB}" \
24471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24472 mostlyclean) \
24473 || exit 1
24475 @endif readline
24477 .PHONY: maybe-clean-readline clean-readline
24478 maybe-clean-readline:
24479 @if readline
24480 maybe-clean-readline: clean-readline
24482 clean-readline:
24483 @: $(MAKE); $(unstage)
24484 @[ -f ./readline/Makefile ] || exit 0; \
24485 r=`${PWD_COMMAND}`; export r; \
24486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24487 $(HOST_EXPORTS) \
24488 for flag in $(EXTRA_HOST_FLAGS) ; do \
24489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24490 done; \
24491 echo "Doing clean in readline" ; \
24492 (cd $(HOST_SUBDIR)/readline && \
24493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24495 "RANLIB=$${RANLIB}" \
24496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24497 clean) \
24498 || exit 1
24500 @endif readline
24502 .PHONY: maybe-distclean-readline distclean-readline
24503 maybe-distclean-readline:
24504 @if readline
24505 maybe-distclean-readline: distclean-readline
24507 distclean-readline:
24508 @: $(MAKE); $(unstage)
24509 @[ -f ./readline/Makefile ] || exit 0; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(HOST_EXPORTS) \
24513 for flag in $(EXTRA_HOST_FLAGS) ; do \
24514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24515 done; \
24516 echo "Doing distclean in readline" ; \
24517 (cd $(HOST_SUBDIR)/readline && \
24518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24520 "RANLIB=$${RANLIB}" \
24521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24522 distclean) \
24523 || exit 1
24525 @endif readline
24527 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24528 maybe-maintainer-clean-readline:
24529 @if readline
24530 maybe-maintainer-clean-readline: maintainer-clean-readline
24532 maintainer-clean-readline:
24533 @: $(MAKE); $(unstage)
24534 @[ -f ./readline/Makefile ] || exit 0; \
24535 r=`${PWD_COMMAND}`; export r; \
24536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24537 $(HOST_EXPORTS) \
24538 for flag in $(EXTRA_HOST_FLAGS) ; do \
24539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24540 done; \
24541 echo "Doing maintainer-clean in readline" ; \
24542 (cd $(HOST_SUBDIR)/readline && \
24543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24545 "RANLIB=$${RANLIB}" \
24546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24547 maintainer-clean) \
24548 || exit 1
24550 @endif readline
24554 .PHONY: configure-release maybe-configure-release
24555 maybe-configure-release:
24556 @if gcc-bootstrap
24557 configure-release: stage_current
24558 @endif gcc-bootstrap
24559 @if release
24560 maybe-configure-release: configure-release
24561 configure-release:
24562 @: $(MAKE); $(unstage)
24563 @r=`${PWD_COMMAND}`; export r; \
24564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24565 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24567 $(HOST_EXPORTS) \
24568 echo Configuring in $(HOST_SUBDIR)/release; \
24569 cd "$(HOST_SUBDIR)/release" || exit 1; \
24570 case $(srcdir) in \
24571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24572 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24574 esac; \
24575 srcdiroption="--srcdir=$${topdir}/release"; \
24576 libsrcdir="$$s/release"; \
24577 $(SHELL) $${libsrcdir}/configure \
24578 $(HOST_CONFIGARGS) $${srcdiroption} \
24579 || exit 1
24580 @endif release
24586 .PHONY: all-release maybe-all-release
24587 maybe-all-release:
24588 @if gcc-bootstrap
24589 all-release: stage_current
24590 @endif gcc-bootstrap
24591 @if release
24592 TARGET-release=all
24593 maybe-all-release: all-release
24594 all-release: configure-release
24595 @: $(MAKE); $(unstage)
24596 @r=`${PWD_COMMAND}`; export r; \
24597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24598 $(HOST_EXPORTS) \
24599 (cd $(HOST_SUBDIR)/release && \
24600 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24601 @endif release
24606 .PHONY: check-release maybe-check-release
24607 maybe-check-release:
24608 @if release
24609 maybe-check-release: check-release
24611 check-release:
24613 @endif release
24615 .PHONY: install-release maybe-install-release
24616 maybe-install-release:
24617 @if release
24618 maybe-install-release: install-release
24620 install-release:
24622 @endif release
24624 # Other targets (info, dvi, pdf, etc.)
24626 .PHONY: maybe-info-release info-release
24627 maybe-info-release:
24628 @if release
24629 maybe-info-release: info-release
24631 info-release: \
24632 configure-release
24633 @: $(MAKE); $(unstage)
24634 @[ -f ./release/Makefile ] || exit 0; \
24635 r=`${PWD_COMMAND}`; export r; \
24636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24637 $(HOST_EXPORTS) \
24638 for flag in $(EXTRA_HOST_FLAGS) ; do \
24639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24640 done; \
24641 echo "Doing info in release" ; \
24642 (cd $(HOST_SUBDIR)/release && \
24643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24645 "RANLIB=$${RANLIB}" \
24646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24647 info) \
24648 || exit 1
24650 @endif release
24652 .PHONY: maybe-dvi-release dvi-release
24653 maybe-dvi-release:
24654 @if release
24655 maybe-dvi-release: dvi-release
24657 dvi-release: \
24658 configure-release
24659 @: $(MAKE); $(unstage)
24660 @[ -f ./release/Makefile ] || exit 0; \
24661 r=`${PWD_COMMAND}`; export r; \
24662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24663 $(HOST_EXPORTS) \
24664 for flag in $(EXTRA_HOST_FLAGS) ; do \
24665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24666 done; \
24667 echo "Doing dvi in release" ; \
24668 (cd $(HOST_SUBDIR)/release && \
24669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24671 "RANLIB=$${RANLIB}" \
24672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24673 dvi) \
24674 || exit 1
24676 @endif release
24678 .PHONY: maybe-pdf-release pdf-release
24679 maybe-pdf-release:
24680 @if release
24681 maybe-pdf-release: pdf-release
24683 pdf-release: \
24684 configure-release
24685 @: $(MAKE); $(unstage)
24686 @[ -f ./release/Makefile ] || exit 0; \
24687 r=`${PWD_COMMAND}`; export r; \
24688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24689 $(HOST_EXPORTS) \
24690 for flag in $(EXTRA_HOST_FLAGS) ; do \
24691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24692 done; \
24693 echo "Doing pdf in release" ; \
24694 (cd $(HOST_SUBDIR)/release && \
24695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24697 "RANLIB=$${RANLIB}" \
24698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24699 pdf) \
24700 || exit 1
24702 @endif release
24704 .PHONY: maybe-html-release html-release
24705 maybe-html-release:
24706 @if release
24707 maybe-html-release: html-release
24709 html-release: \
24710 configure-release
24711 @: $(MAKE); $(unstage)
24712 @[ -f ./release/Makefile ] || exit 0; \
24713 r=`${PWD_COMMAND}`; export r; \
24714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24715 $(HOST_EXPORTS) \
24716 for flag in $(EXTRA_HOST_FLAGS) ; do \
24717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24718 done; \
24719 echo "Doing html in release" ; \
24720 (cd $(HOST_SUBDIR)/release && \
24721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723 "RANLIB=$${RANLIB}" \
24724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24725 html) \
24726 || exit 1
24728 @endif release
24730 .PHONY: maybe-TAGS-release TAGS-release
24731 maybe-TAGS-release:
24732 @if release
24733 maybe-TAGS-release: TAGS-release
24735 TAGS-release: \
24736 configure-release
24737 @: $(MAKE); $(unstage)
24738 @[ -f ./release/Makefile ] || exit 0; \
24739 r=`${PWD_COMMAND}`; export r; \
24740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24741 $(HOST_EXPORTS) \
24742 for flag in $(EXTRA_HOST_FLAGS) ; do \
24743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24744 done; \
24745 echo "Doing TAGS in release" ; \
24746 (cd $(HOST_SUBDIR)/release && \
24747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24749 "RANLIB=$${RANLIB}" \
24750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24751 TAGS) \
24752 || exit 1
24754 @endif release
24756 .PHONY: maybe-install-info-release install-info-release
24757 maybe-install-info-release:
24758 @if release
24759 maybe-install-info-release: install-info-release
24761 install-info-release: \
24762 configure-release \
24763 info-release
24764 @: $(MAKE); $(unstage)
24765 @[ -f ./release/Makefile ] || exit 0; \
24766 r=`${PWD_COMMAND}`; export r; \
24767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24768 $(HOST_EXPORTS) \
24769 for flag in $(EXTRA_HOST_FLAGS) ; do \
24770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24771 done; \
24772 echo "Doing install-info in release" ; \
24773 (cd $(HOST_SUBDIR)/release && \
24774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24776 "RANLIB=$${RANLIB}" \
24777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24778 install-info) \
24779 || exit 1
24781 @endif release
24783 .PHONY: maybe-install-html-release install-html-release
24784 maybe-install-html-release:
24785 @if release
24786 maybe-install-html-release: install-html-release
24788 install-html-release: \
24789 configure-release \
24790 html-release
24791 @: $(MAKE); $(unstage)
24792 @[ -f ./release/Makefile ] || exit 0; \
24793 r=`${PWD_COMMAND}`; export r; \
24794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24795 $(HOST_EXPORTS) \
24796 for flag in $(EXTRA_HOST_FLAGS) ; do \
24797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24798 done; \
24799 echo "Doing install-html in release" ; \
24800 (cd $(HOST_SUBDIR)/release && \
24801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24803 "RANLIB=$${RANLIB}" \
24804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24805 install-html) \
24806 || exit 1
24808 @endif release
24810 .PHONY: maybe-installcheck-release installcheck-release
24811 maybe-installcheck-release:
24812 @if release
24813 maybe-installcheck-release: installcheck-release
24815 installcheck-release: \
24816 configure-release
24817 @: $(MAKE); $(unstage)
24818 @[ -f ./release/Makefile ] || exit 0; \
24819 r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24821 $(HOST_EXPORTS) \
24822 for flag in $(EXTRA_HOST_FLAGS) ; do \
24823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24824 done; \
24825 echo "Doing installcheck in release" ; \
24826 (cd $(HOST_SUBDIR)/release && \
24827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24829 "RANLIB=$${RANLIB}" \
24830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24831 installcheck) \
24832 || exit 1
24834 @endif release
24836 .PHONY: maybe-mostlyclean-release mostlyclean-release
24837 maybe-mostlyclean-release:
24838 @if release
24839 maybe-mostlyclean-release: mostlyclean-release
24841 mostlyclean-release:
24842 @: $(MAKE); $(unstage)
24843 @[ -f ./release/Makefile ] || exit 0; \
24844 r=`${PWD_COMMAND}`; export r; \
24845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24846 $(HOST_EXPORTS) \
24847 for flag in $(EXTRA_HOST_FLAGS) ; do \
24848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24849 done; \
24850 echo "Doing mostlyclean in release" ; \
24851 (cd $(HOST_SUBDIR)/release && \
24852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24854 "RANLIB=$${RANLIB}" \
24855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24856 mostlyclean) \
24857 || exit 1
24859 @endif release
24861 .PHONY: maybe-clean-release clean-release
24862 maybe-clean-release:
24863 @if release
24864 maybe-clean-release: clean-release
24866 clean-release:
24867 @: $(MAKE); $(unstage)
24868 @[ -f ./release/Makefile ] || exit 0; \
24869 r=`${PWD_COMMAND}`; export r; \
24870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24871 $(HOST_EXPORTS) \
24872 for flag in $(EXTRA_HOST_FLAGS) ; do \
24873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24874 done; \
24875 echo "Doing clean in release" ; \
24876 (cd $(HOST_SUBDIR)/release && \
24877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24879 "RANLIB=$${RANLIB}" \
24880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24881 clean) \
24882 || exit 1
24884 @endif release
24886 .PHONY: maybe-distclean-release distclean-release
24887 maybe-distclean-release:
24888 @if release
24889 maybe-distclean-release: distclean-release
24891 distclean-release:
24892 @: $(MAKE); $(unstage)
24893 @[ -f ./release/Makefile ] || exit 0; \
24894 r=`${PWD_COMMAND}`; export r; \
24895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24896 $(HOST_EXPORTS) \
24897 for flag in $(EXTRA_HOST_FLAGS) ; do \
24898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24899 done; \
24900 echo "Doing distclean in release" ; \
24901 (cd $(HOST_SUBDIR)/release && \
24902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24904 "RANLIB=$${RANLIB}" \
24905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24906 distclean) \
24907 || exit 1
24909 @endif release
24911 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24912 maybe-maintainer-clean-release:
24913 @if release
24914 maybe-maintainer-clean-release: maintainer-clean-release
24916 maintainer-clean-release:
24917 @: $(MAKE); $(unstage)
24918 @[ -f ./release/Makefile ] || exit 0; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(HOST_EXPORTS) \
24922 for flag in $(EXTRA_HOST_FLAGS) ; do \
24923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24924 done; \
24925 echo "Doing maintainer-clean in release" ; \
24926 (cd $(HOST_SUBDIR)/release && \
24927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24929 "RANLIB=$${RANLIB}" \
24930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24931 maintainer-clean) \
24932 || exit 1
24934 @endif release
24938 .PHONY: configure-recode maybe-configure-recode
24939 maybe-configure-recode:
24940 @if gcc-bootstrap
24941 configure-recode: stage_current
24942 @endif gcc-bootstrap
24943 @if recode
24944 maybe-configure-recode: configure-recode
24945 configure-recode:
24946 @: $(MAKE); $(unstage)
24947 @r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24951 $(HOST_EXPORTS) \
24952 echo Configuring in $(HOST_SUBDIR)/recode; \
24953 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24954 case $(srcdir) in \
24955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24956 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24958 esac; \
24959 srcdiroption="--srcdir=$${topdir}/recode"; \
24960 libsrcdir="$$s/recode"; \
24961 $(SHELL) $${libsrcdir}/configure \
24962 $(HOST_CONFIGARGS) $${srcdiroption} \
24963 || exit 1
24964 @endif recode
24970 .PHONY: all-recode maybe-all-recode
24971 maybe-all-recode:
24972 @if gcc-bootstrap
24973 all-recode: stage_current
24974 @endif gcc-bootstrap
24975 @if recode
24976 TARGET-recode=all
24977 maybe-all-recode: all-recode
24978 all-recode: configure-recode
24979 @: $(MAKE); $(unstage)
24980 @r=`${PWD_COMMAND}`; export r; \
24981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24982 $(HOST_EXPORTS) \
24983 (cd $(HOST_SUBDIR)/recode && \
24984 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24985 @endif recode
24990 .PHONY: check-recode maybe-check-recode
24991 maybe-check-recode:
24992 @if recode
24993 maybe-check-recode: check-recode
24995 check-recode:
24996 @: $(MAKE); $(unstage)
24997 @r=`${PWD_COMMAND}`; export r; \
24998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24999 $(HOST_EXPORTS) \
25000 (cd $(HOST_SUBDIR)/recode && \
25001 $(MAKE) $(FLAGS_TO_PASS) check)
25003 @endif recode
25005 .PHONY: install-recode maybe-install-recode
25006 maybe-install-recode:
25007 @if recode
25008 maybe-install-recode: install-recode
25010 install-recode: installdirs
25011 @: $(MAKE); $(unstage)
25012 @r=`${PWD_COMMAND}`; export r; \
25013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25014 $(HOST_EXPORTS) \
25015 (cd $(HOST_SUBDIR)/recode && \
25016 $(MAKE) $(FLAGS_TO_PASS) install)
25018 @endif recode
25020 # Other targets (info, dvi, pdf, etc.)
25022 .PHONY: maybe-info-recode info-recode
25023 maybe-info-recode:
25024 @if recode
25025 maybe-info-recode: info-recode
25027 info-recode: \
25028 configure-recode
25029 @: $(MAKE); $(unstage)
25030 @[ -f ./recode/Makefile ] || exit 0; \
25031 r=`${PWD_COMMAND}`; export r; \
25032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25033 $(HOST_EXPORTS) \
25034 for flag in $(EXTRA_HOST_FLAGS) ; do \
25035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25036 done; \
25037 echo "Doing info in recode" ; \
25038 (cd $(HOST_SUBDIR)/recode && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25043 info) \
25044 || exit 1
25046 @endif recode
25048 .PHONY: maybe-dvi-recode dvi-recode
25049 maybe-dvi-recode:
25050 @if recode
25051 maybe-dvi-recode: dvi-recode
25053 dvi-recode: \
25054 configure-recode
25055 @: $(MAKE); $(unstage)
25056 @[ -f ./recode/Makefile ] || exit 0; \
25057 r=`${PWD_COMMAND}`; export r; \
25058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25059 $(HOST_EXPORTS) \
25060 for flag in $(EXTRA_HOST_FLAGS) ; do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 done; \
25063 echo "Doing dvi in recode" ; \
25064 (cd $(HOST_SUBDIR)/recode && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25069 dvi) \
25070 || exit 1
25072 @endif recode
25074 .PHONY: maybe-pdf-recode pdf-recode
25075 maybe-pdf-recode:
25076 @if recode
25077 maybe-pdf-recode: pdf-recode
25079 pdf-recode: \
25080 configure-recode
25081 @: $(MAKE); $(unstage)
25082 @[ -f ./recode/Makefile ] || exit 0; \
25083 r=`${PWD_COMMAND}`; export r; \
25084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085 $(HOST_EXPORTS) \
25086 for flag in $(EXTRA_HOST_FLAGS) ; do \
25087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25088 done; \
25089 echo "Doing pdf in recode" ; \
25090 (cd $(HOST_SUBDIR)/recode && \
25091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25093 "RANLIB=$${RANLIB}" \
25094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25095 pdf) \
25096 || exit 1
25098 @endif recode
25100 .PHONY: maybe-html-recode html-recode
25101 maybe-html-recode:
25102 @if recode
25103 maybe-html-recode: html-recode
25105 html-recode: \
25106 configure-recode
25107 @: $(MAKE); $(unstage)
25108 @[ -f ./recode/Makefile ] || exit 0; \
25109 r=`${PWD_COMMAND}`; export r; \
25110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25111 $(HOST_EXPORTS) \
25112 for flag in $(EXTRA_HOST_FLAGS) ; do \
25113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25114 done; \
25115 echo "Doing html in recode" ; \
25116 (cd $(HOST_SUBDIR)/recode && \
25117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25119 "RANLIB=$${RANLIB}" \
25120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25121 html) \
25122 || exit 1
25124 @endif recode
25126 .PHONY: maybe-TAGS-recode TAGS-recode
25127 maybe-TAGS-recode:
25128 @if recode
25129 maybe-TAGS-recode: TAGS-recode
25131 TAGS-recode: \
25132 configure-recode
25133 @: $(MAKE); $(unstage)
25134 @[ -f ./recode/Makefile ] || exit 0; \
25135 r=`${PWD_COMMAND}`; export r; \
25136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25137 $(HOST_EXPORTS) \
25138 for flag in $(EXTRA_HOST_FLAGS) ; do \
25139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25140 done; \
25141 echo "Doing TAGS in recode" ; \
25142 (cd $(HOST_SUBDIR)/recode && \
25143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25145 "RANLIB=$${RANLIB}" \
25146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25147 TAGS) \
25148 || exit 1
25150 @endif recode
25152 .PHONY: maybe-install-info-recode install-info-recode
25153 maybe-install-info-recode:
25154 @if recode
25155 maybe-install-info-recode: install-info-recode
25157 install-info-recode: \
25158 configure-recode \
25159 info-recode
25160 @: $(MAKE); $(unstage)
25161 @[ -f ./recode/Makefile ] || exit 0; \
25162 r=`${PWD_COMMAND}`; export r; \
25163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25164 $(HOST_EXPORTS) \
25165 for flag in $(EXTRA_HOST_FLAGS) ; do \
25166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25167 done; \
25168 echo "Doing install-info in recode" ; \
25169 (cd $(HOST_SUBDIR)/recode && \
25170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25172 "RANLIB=$${RANLIB}" \
25173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25174 install-info) \
25175 || exit 1
25177 @endif recode
25179 .PHONY: maybe-install-html-recode install-html-recode
25180 maybe-install-html-recode:
25181 @if recode
25182 maybe-install-html-recode: install-html-recode
25184 install-html-recode: \
25185 configure-recode \
25186 html-recode
25187 @: $(MAKE); $(unstage)
25188 @[ -f ./recode/Makefile ] || exit 0; \
25189 r=`${PWD_COMMAND}`; export r; \
25190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 $(HOST_EXPORTS) \
25192 for flag in $(EXTRA_HOST_FLAGS) ; do \
25193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25194 done; \
25195 echo "Doing install-html in recode" ; \
25196 (cd $(HOST_SUBDIR)/recode && \
25197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25199 "RANLIB=$${RANLIB}" \
25200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25201 install-html) \
25202 || exit 1
25204 @endif recode
25206 .PHONY: maybe-installcheck-recode installcheck-recode
25207 maybe-installcheck-recode:
25208 @if recode
25209 maybe-installcheck-recode: installcheck-recode
25211 installcheck-recode: \
25212 configure-recode
25213 @: $(MAKE); $(unstage)
25214 @[ -f ./recode/Makefile ] || exit 0; \
25215 r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25217 $(HOST_EXPORTS) \
25218 for flag in $(EXTRA_HOST_FLAGS) ; do \
25219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25220 done; \
25221 echo "Doing installcheck in recode" ; \
25222 (cd $(HOST_SUBDIR)/recode && \
25223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25225 "RANLIB=$${RANLIB}" \
25226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25227 installcheck) \
25228 || exit 1
25230 @endif recode
25232 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25233 maybe-mostlyclean-recode:
25234 @if recode
25235 maybe-mostlyclean-recode: mostlyclean-recode
25237 mostlyclean-recode:
25238 @: $(MAKE); $(unstage)
25239 @[ -f ./recode/Makefile ] || exit 0; \
25240 r=`${PWD_COMMAND}`; export r; \
25241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25242 $(HOST_EXPORTS) \
25243 for flag in $(EXTRA_HOST_FLAGS) ; do \
25244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25245 done; \
25246 echo "Doing mostlyclean in recode" ; \
25247 (cd $(HOST_SUBDIR)/recode && \
25248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25250 "RANLIB=$${RANLIB}" \
25251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25252 mostlyclean) \
25253 || exit 1
25255 @endif recode
25257 .PHONY: maybe-clean-recode clean-recode
25258 maybe-clean-recode:
25259 @if recode
25260 maybe-clean-recode: clean-recode
25262 clean-recode:
25263 @: $(MAKE); $(unstage)
25264 @[ -f ./recode/Makefile ] || exit 0; \
25265 r=`${PWD_COMMAND}`; export r; \
25266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25267 $(HOST_EXPORTS) \
25268 for flag in $(EXTRA_HOST_FLAGS) ; do \
25269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25270 done; \
25271 echo "Doing clean in recode" ; \
25272 (cd $(HOST_SUBDIR)/recode && \
25273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25275 "RANLIB=$${RANLIB}" \
25276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25277 clean) \
25278 || exit 1
25280 @endif recode
25282 .PHONY: maybe-distclean-recode distclean-recode
25283 maybe-distclean-recode:
25284 @if recode
25285 maybe-distclean-recode: distclean-recode
25287 distclean-recode:
25288 @: $(MAKE); $(unstage)
25289 @[ -f ./recode/Makefile ] || exit 0; \
25290 r=`${PWD_COMMAND}`; export r; \
25291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25292 $(HOST_EXPORTS) \
25293 for flag in $(EXTRA_HOST_FLAGS) ; do \
25294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25295 done; \
25296 echo "Doing distclean in recode" ; \
25297 (cd $(HOST_SUBDIR)/recode && \
25298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25300 "RANLIB=$${RANLIB}" \
25301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25302 distclean) \
25303 || exit 1
25305 @endif recode
25307 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25308 maybe-maintainer-clean-recode:
25309 @if recode
25310 maybe-maintainer-clean-recode: maintainer-clean-recode
25312 maintainer-clean-recode:
25313 @: $(MAKE); $(unstage)
25314 @[ -f ./recode/Makefile ] || exit 0; \
25315 r=`${PWD_COMMAND}`; export r; \
25316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25317 $(HOST_EXPORTS) \
25318 for flag in $(EXTRA_HOST_FLAGS) ; do \
25319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25320 done; \
25321 echo "Doing maintainer-clean in recode" ; \
25322 (cd $(HOST_SUBDIR)/recode && \
25323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25325 "RANLIB=$${RANLIB}" \
25326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25327 maintainer-clean) \
25328 || exit 1
25330 @endif recode
25334 .PHONY: configure-sed maybe-configure-sed
25335 maybe-configure-sed:
25336 @if gcc-bootstrap
25337 configure-sed: stage_current
25338 @endif gcc-bootstrap
25339 @if sed
25340 maybe-configure-sed: configure-sed
25341 configure-sed:
25342 @: $(MAKE); $(unstage)
25343 @r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25347 $(HOST_EXPORTS) \
25348 echo Configuring in $(HOST_SUBDIR)/sed; \
25349 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25350 case $(srcdir) in \
25351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25352 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25354 esac; \
25355 srcdiroption="--srcdir=$${topdir}/sed"; \
25356 libsrcdir="$$s/sed"; \
25357 $(SHELL) $${libsrcdir}/configure \
25358 $(HOST_CONFIGARGS) $${srcdiroption} \
25359 || exit 1
25360 @endif sed
25366 .PHONY: all-sed maybe-all-sed
25367 maybe-all-sed:
25368 @if gcc-bootstrap
25369 all-sed: stage_current
25370 @endif gcc-bootstrap
25371 @if sed
25372 TARGET-sed=all
25373 maybe-all-sed: all-sed
25374 all-sed: configure-sed
25375 @: $(MAKE); $(unstage)
25376 @r=`${PWD_COMMAND}`; export r; \
25377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25378 $(HOST_EXPORTS) \
25379 (cd $(HOST_SUBDIR)/sed && \
25380 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25381 @endif sed
25386 .PHONY: check-sed maybe-check-sed
25387 maybe-check-sed:
25388 @if sed
25389 maybe-check-sed: check-sed
25391 check-sed:
25392 @: $(MAKE); $(unstage)
25393 @r=`${PWD_COMMAND}`; export r; \
25394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25395 $(HOST_EXPORTS) \
25396 (cd $(HOST_SUBDIR)/sed && \
25397 $(MAKE) $(FLAGS_TO_PASS) check)
25399 @endif sed
25401 .PHONY: install-sed maybe-install-sed
25402 maybe-install-sed:
25403 @if sed
25404 maybe-install-sed: install-sed
25406 install-sed: installdirs
25407 @: $(MAKE); $(unstage)
25408 @r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410 $(HOST_EXPORTS) \
25411 (cd $(HOST_SUBDIR)/sed && \
25412 $(MAKE) $(FLAGS_TO_PASS) install)
25414 @endif sed
25416 # Other targets (info, dvi, pdf, etc.)
25418 .PHONY: maybe-info-sed info-sed
25419 maybe-info-sed:
25420 @if sed
25421 maybe-info-sed: info-sed
25423 info-sed: \
25424 configure-sed
25425 @: $(MAKE); $(unstage)
25426 @[ -f ./sed/Makefile ] || exit 0; \
25427 r=`${PWD_COMMAND}`; export r; \
25428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25429 $(HOST_EXPORTS) \
25430 for flag in $(EXTRA_HOST_FLAGS) ; do \
25431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25432 done; \
25433 echo "Doing info in sed" ; \
25434 (cd $(HOST_SUBDIR)/sed && \
25435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25437 "RANLIB=$${RANLIB}" \
25438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25439 info) \
25440 || exit 1
25442 @endif sed
25444 .PHONY: maybe-dvi-sed dvi-sed
25445 maybe-dvi-sed:
25446 @if sed
25447 maybe-dvi-sed: dvi-sed
25449 dvi-sed: \
25450 configure-sed
25451 @: $(MAKE); $(unstage)
25452 @[ -f ./sed/Makefile ] || exit 0; \
25453 r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25455 $(HOST_EXPORTS) \
25456 for flag in $(EXTRA_HOST_FLAGS) ; do \
25457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25458 done; \
25459 echo "Doing dvi in sed" ; \
25460 (cd $(HOST_SUBDIR)/sed && \
25461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25463 "RANLIB=$${RANLIB}" \
25464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25465 dvi) \
25466 || exit 1
25468 @endif sed
25470 .PHONY: maybe-pdf-sed pdf-sed
25471 maybe-pdf-sed:
25472 @if sed
25473 maybe-pdf-sed: pdf-sed
25475 pdf-sed: \
25476 configure-sed
25477 @: $(MAKE); $(unstage)
25478 @[ -f ./sed/Makefile ] || exit 0; \
25479 r=`${PWD_COMMAND}`; export r; \
25480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25481 $(HOST_EXPORTS) \
25482 for flag in $(EXTRA_HOST_FLAGS) ; do \
25483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25484 done; \
25485 echo "Doing pdf in sed" ; \
25486 (cd $(HOST_SUBDIR)/sed && \
25487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25489 "RANLIB=$${RANLIB}" \
25490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25491 pdf) \
25492 || exit 1
25494 @endif sed
25496 .PHONY: maybe-html-sed html-sed
25497 maybe-html-sed:
25498 @if sed
25499 maybe-html-sed: html-sed
25501 html-sed: \
25502 configure-sed
25503 @: $(MAKE); $(unstage)
25504 @[ -f ./sed/Makefile ] || exit 0; \
25505 r=`${PWD_COMMAND}`; export r; \
25506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25507 $(HOST_EXPORTS) \
25508 for flag in $(EXTRA_HOST_FLAGS) ; do \
25509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25510 done; \
25511 echo "Doing html in sed" ; \
25512 (cd $(HOST_SUBDIR)/sed && \
25513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25515 "RANLIB=$${RANLIB}" \
25516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25517 html) \
25518 || exit 1
25520 @endif sed
25522 .PHONY: maybe-TAGS-sed TAGS-sed
25523 maybe-TAGS-sed:
25524 @if sed
25525 maybe-TAGS-sed: TAGS-sed
25527 TAGS-sed: \
25528 configure-sed
25529 @: $(MAKE); $(unstage)
25530 @[ -f ./sed/Makefile ] || exit 0; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) \
25534 for flag in $(EXTRA_HOST_FLAGS) ; do \
25535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25536 done; \
25537 echo "Doing TAGS in sed" ; \
25538 (cd $(HOST_SUBDIR)/sed && \
25539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25541 "RANLIB=$${RANLIB}" \
25542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25543 TAGS) \
25544 || exit 1
25546 @endif sed
25548 .PHONY: maybe-install-info-sed install-info-sed
25549 maybe-install-info-sed:
25550 @if sed
25551 maybe-install-info-sed: install-info-sed
25553 install-info-sed: \
25554 configure-sed \
25555 info-sed
25556 @: $(MAKE); $(unstage)
25557 @[ -f ./sed/Makefile ] || exit 0; \
25558 r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 $(HOST_EXPORTS) \
25561 for flag in $(EXTRA_HOST_FLAGS) ; do \
25562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25563 done; \
25564 echo "Doing install-info in sed" ; \
25565 (cd $(HOST_SUBDIR)/sed && \
25566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25568 "RANLIB=$${RANLIB}" \
25569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25570 install-info) \
25571 || exit 1
25573 @endif sed
25575 .PHONY: maybe-install-html-sed install-html-sed
25576 maybe-install-html-sed:
25577 @if sed
25578 maybe-install-html-sed: install-html-sed
25580 install-html-sed: \
25581 configure-sed \
25582 html-sed
25583 @: $(MAKE); $(unstage)
25584 @[ -f ./sed/Makefile ] || exit 0; \
25585 r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(HOST_EXPORTS) \
25588 for flag in $(EXTRA_HOST_FLAGS) ; do \
25589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25590 done; \
25591 echo "Doing install-html in sed" ; \
25592 (cd $(HOST_SUBDIR)/sed && \
25593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25595 "RANLIB=$${RANLIB}" \
25596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25597 install-html) \
25598 || exit 1
25600 @endif sed
25602 .PHONY: maybe-installcheck-sed installcheck-sed
25603 maybe-installcheck-sed:
25604 @if sed
25605 maybe-installcheck-sed: installcheck-sed
25607 installcheck-sed: \
25608 configure-sed
25609 @: $(MAKE); $(unstage)
25610 @[ -f ./sed/Makefile ] || exit 0; \
25611 r=`${PWD_COMMAND}`; export r; \
25612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25613 $(HOST_EXPORTS) \
25614 for flag in $(EXTRA_HOST_FLAGS) ; do \
25615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25616 done; \
25617 echo "Doing installcheck in sed" ; \
25618 (cd $(HOST_SUBDIR)/sed && \
25619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25621 "RANLIB=$${RANLIB}" \
25622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25623 installcheck) \
25624 || exit 1
25626 @endif sed
25628 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25629 maybe-mostlyclean-sed:
25630 @if sed
25631 maybe-mostlyclean-sed: mostlyclean-sed
25633 mostlyclean-sed:
25634 @: $(MAKE); $(unstage)
25635 @[ -f ./sed/Makefile ] || exit 0; \
25636 r=`${PWD_COMMAND}`; export r; \
25637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25638 $(HOST_EXPORTS) \
25639 for flag in $(EXTRA_HOST_FLAGS) ; do \
25640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25641 done; \
25642 echo "Doing mostlyclean in sed" ; \
25643 (cd $(HOST_SUBDIR)/sed && \
25644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25646 "RANLIB=$${RANLIB}" \
25647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25648 mostlyclean) \
25649 || exit 1
25651 @endif sed
25653 .PHONY: maybe-clean-sed clean-sed
25654 maybe-clean-sed:
25655 @if sed
25656 maybe-clean-sed: clean-sed
25658 clean-sed:
25659 @: $(MAKE); $(unstage)
25660 @[ -f ./sed/Makefile ] || exit 0; \
25661 r=`${PWD_COMMAND}`; export r; \
25662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25663 $(HOST_EXPORTS) \
25664 for flag in $(EXTRA_HOST_FLAGS) ; do \
25665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25666 done; \
25667 echo "Doing clean in sed" ; \
25668 (cd $(HOST_SUBDIR)/sed && \
25669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25671 "RANLIB=$${RANLIB}" \
25672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25673 clean) \
25674 || exit 1
25676 @endif sed
25678 .PHONY: maybe-distclean-sed distclean-sed
25679 maybe-distclean-sed:
25680 @if sed
25681 maybe-distclean-sed: distclean-sed
25683 distclean-sed:
25684 @: $(MAKE); $(unstage)
25685 @[ -f ./sed/Makefile ] || exit 0; \
25686 r=`${PWD_COMMAND}`; export r; \
25687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688 $(HOST_EXPORTS) \
25689 for flag in $(EXTRA_HOST_FLAGS) ; do \
25690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25691 done; \
25692 echo "Doing distclean in sed" ; \
25693 (cd $(HOST_SUBDIR)/sed && \
25694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25696 "RANLIB=$${RANLIB}" \
25697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25698 distclean) \
25699 || exit 1
25701 @endif sed
25703 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25704 maybe-maintainer-clean-sed:
25705 @if sed
25706 maybe-maintainer-clean-sed: maintainer-clean-sed
25708 maintainer-clean-sed:
25709 @: $(MAKE); $(unstage)
25710 @[ -f ./sed/Makefile ] || exit 0; \
25711 r=`${PWD_COMMAND}`; export r; \
25712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25713 $(HOST_EXPORTS) \
25714 for flag in $(EXTRA_HOST_FLAGS) ; do \
25715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25716 done; \
25717 echo "Doing maintainer-clean in sed" ; \
25718 (cd $(HOST_SUBDIR)/sed && \
25719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25721 "RANLIB=$${RANLIB}" \
25722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25723 maintainer-clean) \
25724 || exit 1
25726 @endif sed
25730 .PHONY: configure-send-pr maybe-configure-send-pr
25731 maybe-configure-send-pr:
25732 @if gcc-bootstrap
25733 configure-send-pr: stage_current
25734 @endif gcc-bootstrap
25735 @if send-pr
25736 maybe-configure-send-pr: configure-send-pr
25737 configure-send-pr:
25738 @: $(MAKE); $(unstage)
25739 @r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25743 $(HOST_EXPORTS) \
25744 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25745 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25746 case $(srcdir) in \
25747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25748 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25750 esac; \
25751 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25752 libsrcdir="$$s/send-pr"; \
25753 $(SHELL) $${libsrcdir}/configure \
25754 $(HOST_CONFIGARGS) $${srcdiroption} \
25755 || exit 1
25756 @endif send-pr
25762 .PHONY: all-send-pr maybe-all-send-pr
25763 maybe-all-send-pr:
25764 @if gcc-bootstrap
25765 all-send-pr: stage_current
25766 @endif gcc-bootstrap
25767 @if send-pr
25768 TARGET-send-pr=all
25769 maybe-all-send-pr: all-send-pr
25770 all-send-pr: configure-send-pr
25771 @: $(MAKE); $(unstage)
25772 @r=`${PWD_COMMAND}`; export r; \
25773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25774 $(HOST_EXPORTS) \
25775 (cd $(HOST_SUBDIR)/send-pr && \
25776 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25777 @endif send-pr
25782 .PHONY: check-send-pr maybe-check-send-pr
25783 maybe-check-send-pr:
25784 @if send-pr
25785 maybe-check-send-pr: check-send-pr
25787 check-send-pr:
25788 @: $(MAKE); $(unstage)
25789 @r=`${PWD_COMMAND}`; export r; \
25790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25791 $(HOST_EXPORTS) \
25792 (cd $(HOST_SUBDIR)/send-pr && \
25793 $(MAKE) $(FLAGS_TO_PASS) check)
25795 @endif send-pr
25797 .PHONY: install-send-pr maybe-install-send-pr
25798 maybe-install-send-pr:
25799 @if send-pr
25800 maybe-install-send-pr: install-send-pr
25802 install-send-pr: installdirs
25803 @: $(MAKE); $(unstage)
25804 @r=`${PWD_COMMAND}`; export r; \
25805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25806 $(HOST_EXPORTS) \
25807 (cd $(HOST_SUBDIR)/send-pr && \
25808 $(MAKE) $(FLAGS_TO_PASS) install)
25810 @endif send-pr
25812 # Other targets (info, dvi, pdf, etc.)
25814 .PHONY: maybe-info-send-pr info-send-pr
25815 maybe-info-send-pr:
25816 @if send-pr
25817 maybe-info-send-pr: info-send-pr
25819 info-send-pr: \
25820 configure-send-pr
25821 @: $(MAKE); $(unstage)
25822 @[ -f ./send-pr/Makefile ] || exit 0; \
25823 r=`${PWD_COMMAND}`; export r; \
25824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25825 $(HOST_EXPORTS) \
25826 for flag in $(EXTRA_HOST_FLAGS) ; do \
25827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25828 done; \
25829 echo "Doing info in send-pr" ; \
25830 (cd $(HOST_SUBDIR)/send-pr && \
25831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25833 "RANLIB=$${RANLIB}" \
25834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25835 info) \
25836 || exit 1
25838 @endif send-pr
25840 .PHONY: maybe-dvi-send-pr dvi-send-pr
25841 maybe-dvi-send-pr:
25842 @if send-pr
25843 maybe-dvi-send-pr: dvi-send-pr
25845 dvi-send-pr: \
25846 configure-send-pr
25847 @: $(MAKE); $(unstage)
25848 @[ -f ./send-pr/Makefile ] || exit 0; \
25849 r=`${PWD_COMMAND}`; export r; \
25850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25851 $(HOST_EXPORTS) \
25852 for flag in $(EXTRA_HOST_FLAGS) ; do \
25853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25854 done; \
25855 echo "Doing dvi in send-pr" ; \
25856 (cd $(HOST_SUBDIR)/send-pr && \
25857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25859 "RANLIB=$${RANLIB}" \
25860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25861 dvi) \
25862 || exit 1
25864 @endif send-pr
25866 .PHONY: maybe-pdf-send-pr pdf-send-pr
25867 maybe-pdf-send-pr:
25868 @if send-pr
25869 maybe-pdf-send-pr: pdf-send-pr
25871 pdf-send-pr: \
25872 configure-send-pr
25873 @: $(MAKE); $(unstage)
25874 @[ -f ./send-pr/Makefile ] || exit 0; \
25875 r=`${PWD_COMMAND}`; export r; \
25876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25877 $(HOST_EXPORTS) \
25878 for flag in $(EXTRA_HOST_FLAGS) ; do \
25879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25880 done; \
25881 echo "Doing pdf in send-pr" ; \
25882 (cd $(HOST_SUBDIR)/send-pr && \
25883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25885 "RANLIB=$${RANLIB}" \
25886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25887 pdf) \
25888 || exit 1
25890 @endif send-pr
25892 .PHONY: maybe-html-send-pr html-send-pr
25893 maybe-html-send-pr:
25894 @if send-pr
25895 maybe-html-send-pr: html-send-pr
25897 html-send-pr: \
25898 configure-send-pr
25899 @: $(MAKE); $(unstage)
25900 @[ -f ./send-pr/Makefile ] || exit 0; \
25901 r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 $(HOST_EXPORTS) \
25904 for flag in $(EXTRA_HOST_FLAGS) ; do \
25905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25906 done; \
25907 echo "Doing html in send-pr" ; \
25908 (cd $(HOST_SUBDIR)/send-pr && \
25909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25911 "RANLIB=$${RANLIB}" \
25912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25913 html) \
25914 || exit 1
25916 @endif send-pr
25918 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25919 maybe-TAGS-send-pr:
25920 @if send-pr
25921 maybe-TAGS-send-pr: TAGS-send-pr
25923 TAGS-send-pr: \
25924 configure-send-pr
25925 @: $(MAKE); $(unstage)
25926 @[ -f ./send-pr/Makefile ] || exit 0; \
25927 r=`${PWD_COMMAND}`; export r; \
25928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25929 $(HOST_EXPORTS) \
25930 for flag in $(EXTRA_HOST_FLAGS) ; do \
25931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25932 done; \
25933 echo "Doing TAGS in send-pr" ; \
25934 (cd $(HOST_SUBDIR)/send-pr && \
25935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25937 "RANLIB=$${RANLIB}" \
25938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25939 TAGS) \
25940 || exit 1
25942 @endif send-pr
25944 .PHONY: maybe-install-info-send-pr install-info-send-pr
25945 maybe-install-info-send-pr:
25946 @if send-pr
25947 maybe-install-info-send-pr: install-info-send-pr
25949 install-info-send-pr: \
25950 configure-send-pr \
25951 info-send-pr
25952 @: $(MAKE); $(unstage)
25953 @[ -f ./send-pr/Makefile ] || exit 0; \
25954 r=`${PWD_COMMAND}`; export r; \
25955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25956 $(HOST_EXPORTS) \
25957 for flag in $(EXTRA_HOST_FLAGS) ; do \
25958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25959 done; \
25960 echo "Doing install-info in send-pr" ; \
25961 (cd $(HOST_SUBDIR)/send-pr && \
25962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25964 "RANLIB=$${RANLIB}" \
25965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25966 install-info) \
25967 || exit 1
25969 @endif send-pr
25971 .PHONY: maybe-install-html-send-pr install-html-send-pr
25972 maybe-install-html-send-pr:
25973 @if send-pr
25974 maybe-install-html-send-pr: install-html-send-pr
25976 install-html-send-pr: \
25977 configure-send-pr \
25978 html-send-pr
25979 @: $(MAKE); $(unstage)
25980 @[ -f ./send-pr/Makefile ] || exit 0; \
25981 r=`${PWD_COMMAND}`; export r; \
25982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25983 $(HOST_EXPORTS) \
25984 for flag in $(EXTRA_HOST_FLAGS) ; do \
25985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25986 done; \
25987 echo "Doing install-html in send-pr" ; \
25988 (cd $(HOST_SUBDIR)/send-pr && \
25989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25991 "RANLIB=$${RANLIB}" \
25992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25993 install-html) \
25994 || exit 1
25996 @endif send-pr
25998 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
25999 maybe-installcheck-send-pr:
26000 @if send-pr
26001 maybe-installcheck-send-pr: installcheck-send-pr
26003 installcheck-send-pr: \
26004 configure-send-pr
26005 @: $(MAKE); $(unstage)
26006 @[ -f ./send-pr/Makefile ] || exit 0; \
26007 r=`${PWD_COMMAND}`; export r; \
26008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26009 $(HOST_EXPORTS) \
26010 for flag in $(EXTRA_HOST_FLAGS) ; do \
26011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26012 done; \
26013 echo "Doing installcheck in send-pr" ; \
26014 (cd $(HOST_SUBDIR)/send-pr && \
26015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26017 "RANLIB=$${RANLIB}" \
26018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26019 installcheck) \
26020 || exit 1
26022 @endif send-pr
26024 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
26025 maybe-mostlyclean-send-pr:
26026 @if send-pr
26027 maybe-mostlyclean-send-pr: mostlyclean-send-pr
26029 mostlyclean-send-pr:
26030 @: $(MAKE); $(unstage)
26031 @[ -f ./send-pr/Makefile ] || exit 0; \
26032 r=`${PWD_COMMAND}`; export r; \
26033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26034 $(HOST_EXPORTS) \
26035 for flag in $(EXTRA_HOST_FLAGS) ; do \
26036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26037 done; \
26038 echo "Doing mostlyclean in send-pr" ; \
26039 (cd $(HOST_SUBDIR)/send-pr && \
26040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26042 "RANLIB=$${RANLIB}" \
26043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26044 mostlyclean) \
26045 || exit 1
26047 @endif send-pr
26049 .PHONY: maybe-clean-send-pr clean-send-pr
26050 maybe-clean-send-pr:
26051 @if send-pr
26052 maybe-clean-send-pr: clean-send-pr
26054 clean-send-pr:
26055 @: $(MAKE); $(unstage)
26056 @[ -f ./send-pr/Makefile ] || exit 0; \
26057 r=`${PWD_COMMAND}`; export r; \
26058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26059 $(HOST_EXPORTS) \
26060 for flag in $(EXTRA_HOST_FLAGS) ; do \
26061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26062 done; \
26063 echo "Doing clean in send-pr" ; \
26064 (cd $(HOST_SUBDIR)/send-pr && \
26065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26067 "RANLIB=$${RANLIB}" \
26068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26069 clean) \
26070 || exit 1
26072 @endif send-pr
26074 .PHONY: maybe-distclean-send-pr distclean-send-pr
26075 maybe-distclean-send-pr:
26076 @if send-pr
26077 maybe-distclean-send-pr: distclean-send-pr
26079 distclean-send-pr:
26080 @: $(MAKE); $(unstage)
26081 @[ -f ./send-pr/Makefile ] || exit 0; \
26082 r=`${PWD_COMMAND}`; export r; \
26083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26084 $(HOST_EXPORTS) \
26085 for flag in $(EXTRA_HOST_FLAGS) ; do \
26086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26087 done; \
26088 echo "Doing distclean in send-pr" ; \
26089 (cd $(HOST_SUBDIR)/send-pr && \
26090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26092 "RANLIB=$${RANLIB}" \
26093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26094 distclean) \
26095 || exit 1
26097 @endif send-pr
26099 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
26100 maybe-maintainer-clean-send-pr:
26101 @if send-pr
26102 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
26104 maintainer-clean-send-pr:
26105 @: $(MAKE); $(unstage)
26106 @[ -f ./send-pr/Makefile ] || exit 0; \
26107 r=`${PWD_COMMAND}`; export r; \
26108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26109 $(HOST_EXPORTS) \
26110 for flag in $(EXTRA_HOST_FLAGS) ; do \
26111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26112 done; \
26113 echo "Doing maintainer-clean in send-pr" ; \
26114 (cd $(HOST_SUBDIR)/send-pr && \
26115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26117 "RANLIB=$${RANLIB}" \
26118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26119 maintainer-clean) \
26120 || exit 1
26122 @endif send-pr
26126 .PHONY: configure-shellutils maybe-configure-shellutils
26127 maybe-configure-shellutils:
26128 @if gcc-bootstrap
26129 configure-shellutils: stage_current
26130 @endif gcc-bootstrap
26131 @if shellutils
26132 maybe-configure-shellutils: configure-shellutils
26133 configure-shellutils:
26134 @: $(MAKE); $(unstage)
26135 @r=`${PWD_COMMAND}`; export r; \
26136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26137 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
26138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
26139 $(HOST_EXPORTS) \
26140 echo Configuring in $(HOST_SUBDIR)/shellutils; \
26141 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
26142 case $(srcdir) in \
26143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26144 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
26145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26146 esac; \
26147 srcdiroption="--srcdir=$${topdir}/shellutils"; \
26148 libsrcdir="$$s/shellutils"; \
26149 $(SHELL) $${libsrcdir}/configure \
26150 $(HOST_CONFIGARGS) $${srcdiroption} \
26151 || exit 1
26152 @endif shellutils
26158 .PHONY: all-shellutils maybe-all-shellutils
26159 maybe-all-shellutils:
26160 @if gcc-bootstrap
26161 all-shellutils: stage_current
26162 @endif gcc-bootstrap
26163 @if shellutils
26164 TARGET-shellutils=all
26165 maybe-all-shellutils: all-shellutils
26166 all-shellutils: configure-shellutils
26167 @: $(MAKE); $(unstage)
26168 @r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 $(HOST_EXPORTS) \
26171 (cd $(HOST_SUBDIR)/shellutils && \
26172 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
26173 @endif shellutils
26178 .PHONY: check-shellutils maybe-check-shellutils
26179 maybe-check-shellutils:
26180 @if shellutils
26181 maybe-check-shellutils: check-shellutils
26183 check-shellutils:
26184 @: $(MAKE); $(unstage)
26185 @r=`${PWD_COMMAND}`; export r; \
26186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187 $(HOST_EXPORTS) \
26188 (cd $(HOST_SUBDIR)/shellutils && \
26189 $(MAKE) $(FLAGS_TO_PASS) check)
26191 @endif shellutils
26193 .PHONY: install-shellutils maybe-install-shellutils
26194 maybe-install-shellutils:
26195 @if shellutils
26196 maybe-install-shellutils: install-shellutils
26198 install-shellutils: installdirs
26199 @: $(MAKE); $(unstage)
26200 @r=`${PWD_COMMAND}`; export r; \
26201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26202 $(HOST_EXPORTS) \
26203 (cd $(HOST_SUBDIR)/shellutils && \
26204 $(MAKE) $(FLAGS_TO_PASS) install)
26206 @endif shellutils
26208 # Other targets (info, dvi, pdf, etc.)
26210 .PHONY: maybe-info-shellutils info-shellutils
26211 maybe-info-shellutils:
26212 @if shellutils
26213 maybe-info-shellutils: info-shellutils
26215 info-shellutils: \
26216 configure-shellutils
26217 @: $(MAKE); $(unstage)
26218 @[ -f ./shellutils/Makefile ] || exit 0; \
26219 r=`${PWD_COMMAND}`; export r; \
26220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26221 $(HOST_EXPORTS) \
26222 for flag in $(EXTRA_HOST_FLAGS) ; do \
26223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26224 done; \
26225 echo "Doing info in shellutils" ; \
26226 (cd $(HOST_SUBDIR)/shellutils && \
26227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26229 "RANLIB=$${RANLIB}" \
26230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26231 info) \
26232 || exit 1
26234 @endif shellutils
26236 .PHONY: maybe-dvi-shellutils dvi-shellutils
26237 maybe-dvi-shellutils:
26238 @if shellutils
26239 maybe-dvi-shellutils: dvi-shellutils
26241 dvi-shellutils: \
26242 configure-shellutils
26243 @: $(MAKE); $(unstage)
26244 @[ -f ./shellutils/Makefile ] || exit 0; \
26245 r=`${PWD_COMMAND}`; export r; \
26246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26247 $(HOST_EXPORTS) \
26248 for flag in $(EXTRA_HOST_FLAGS) ; do \
26249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26250 done; \
26251 echo "Doing dvi in shellutils" ; \
26252 (cd $(HOST_SUBDIR)/shellutils && \
26253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26255 "RANLIB=$${RANLIB}" \
26256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26257 dvi) \
26258 || exit 1
26260 @endif shellutils
26262 .PHONY: maybe-pdf-shellutils pdf-shellutils
26263 maybe-pdf-shellutils:
26264 @if shellutils
26265 maybe-pdf-shellutils: pdf-shellutils
26267 pdf-shellutils: \
26268 configure-shellutils
26269 @: $(MAKE); $(unstage)
26270 @[ -f ./shellutils/Makefile ] || exit 0; \
26271 r=`${PWD_COMMAND}`; export r; \
26272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26273 $(HOST_EXPORTS) \
26274 for flag in $(EXTRA_HOST_FLAGS) ; do \
26275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26276 done; \
26277 echo "Doing pdf in shellutils" ; \
26278 (cd $(HOST_SUBDIR)/shellutils && \
26279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26281 "RANLIB=$${RANLIB}" \
26282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26283 pdf) \
26284 || exit 1
26286 @endif shellutils
26288 .PHONY: maybe-html-shellutils html-shellutils
26289 maybe-html-shellutils:
26290 @if shellutils
26291 maybe-html-shellutils: html-shellutils
26293 html-shellutils: \
26294 configure-shellutils
26295 @: $(MAKE); $(unstage)
26296 @[ -f ./shellutils/Makefile ] || exit 0; \
26297 r=`${PWD_COMMAND}`; export r; \
26298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26299 $(HOST_EXPORTS) \
26300 for flag in $(EXTRA_HOST_FLAGS) ; do \
26301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26302 done; \
26303 echo "Doing html in shellutils" ; \
26304 (cd $(HOST_SUBDIR)/shellutils && \
26305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26307 "RANLIB=$${RANLIB}" \
26308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26309 html) \
26310 || exit 1
26312 @endif shellutils
26314 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26315 maybe-TAGS-shellutils:
26316 @if shellutils
26317 maybe-TAGS-shellutils: TAGS-shellutils
26319 TAGS-shellutils: \
26320 configure-shellutils
26321 @: $(MAKE); $(unstage)
26322 @[ -f ./shellutils/Makefile ] || exit 0; \
26323 r=`${PWD_COMMAND}`; export r; \
26324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26325 $(HOST_EXPORTS) \
26326 for flag in $(EXTRA_HOST_FLAGS) ; do \
26327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26328 done; \
26329 echo "Doing TAGS in shellutils" ; \
26330 (cd $(HOST_SUBDIR)/shellutils && \
26331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26333 "RANLIB=$${RANLIB}" \
26334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26335 TAGS) \
26336 || exit 1
26338 @endif shellutils
26340 .PHONY: maybe-install-info-shellutils install-info-shellutils
26341 maybe-install-info-shellutils:
26342 @if shellutils
26343 maybe-install-info-shellutils: install-info-shellutils
26345 install-info-shellutils: \
26346 configure-shellutils \
26347 info-shellutils
26348 @: $(MAKE); $(unstage)
26349 @[ -f ./shellutils/Makefile ] || exit 0; \
26350 r=`${PWD_COMMAND}`; export r; \
26351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26352 $(HOST_EXPORTS) \
26353 for flag in $(EXTRA_HOST_FLAGS) ; do \
26354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26355 done; \
26356 echo "Doing install-info in shellutils" ; \
26357 (cd $(HOST_SUBDIR)/shellutils && \
26358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26360 "RANLIB=$${RANLIB}" \
26361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26362 install-info) \
26363 || exit 1
26365 @endif shellutils
26367 .PHONY: maybe-install-html-shellutils install-html-shellutils
26368 maybe-install-html-shellutils:
26369 @if shellutils
26370 maybe-install-html-shellutils: install-html-shellutils
26372 install-html-shellutils: \
26373 configure-shellutils \
26374 html-shellutils
26375 @: $(MAKE); $(unstage)
26376 @[ -f ./shellutils/Makefile ] || exit 0; \
26377 r=`${PWD_COMMAND}`; export r; \
26378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26379 $(HOST_EXPORTS) \
26380 for flag in $(EXTRA_HOST_FLAGS) ; do \
26381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26382 done; \
26383 echo "Doing install-html in shellutils" ; \
26384 (cd $(HOST_SUBDIR)/shellutils && \
26385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26387 "RANLIB=$${RANLIB}" \
26388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26389 install-html) \
26390 || exit 1
26392 @endif shellutils
26394 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26395 maybe-installcheck-shellutils:
26396 @if shellutils
26397 maybe-installcheck-shellutils: installcheck-shellutils
26399 installcheck-shellutils: \
26400 configure-shellutils
26401 @: $(MAKE); $(unstage)
26402 @[ -f ./shellutils/Makefile ] || exit 0; \
26403 r=`${PWD_COMMAND}`; export r; \
26404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26405 $(HOST_EXPORTS) \
26406 for flag in $(EXTRA_HOST_FLAGS) ; do \
26407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26408 done; \
26409 echo "Doing installcheck in shellutils" ; \
26410 (cd $(HOST_SUBDIR)/shellutils && \
26411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26413 "RANLIB=$${RANLIB}" \
26414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26415 installcheck) \
26416 || exit 1
26418 @endif shellutils
26420 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26421 maybe-mostlyclean-shellutils:
26422 @if shellutils
26423 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26425 mostlyclean-shellutils:
26426 @: $(MAKE); $(unstage)
26427 @[ -f ./shellutils/Makefile ] || exit 0; \
26428 r=`${PWD_COMMAND}`; export r; \
26429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26430 $(HOST_EXPORTS) \
26431 for flag in $(EXTRA_HOST_FLAGS) ; do \
26432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26433 done; \
26434 echo "Doing mostlyclean in shellutils" ; \
26435 (cd $(HOST_SUBDIR)/shellutils && \
26436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26438 "RANLIB=$${RANLIB}" \
26439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26440 mostlyclean) \
26441 || exit 1
26443 @endif shellutils
26445 .PHONY: maybe-clean-shellutils clean-shellutils
26446 maybe-clean-shellutils:
26447 @if shellutils
26448 maybe-clean-shellutils: clean-shellutils
26450 clean-shellutils:
26451 @: $(MAKE); $(unstage)
26452 @[ -f ./shellutils/Makefile ] || exit 0; \
26453 r=`${PWD_COMMAND}`; export r; \
26454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26455 $(HOST_EXPORTS) \
26456 for flag in $(EXTRA_HOST_FLAGS) ; do \
26457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26458 done; \
26459 echo "Doing clean in shellutils" ; \
26460 (cd $(HOST_SUBDIR)/shellutils && \
26461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26463 "RANLIB=$${RANLIB}" \
26464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26465 clean) \
26466 || exit 1
26468 @endif shellutils
26470 .PHONY: maybe-distclean-shellutils distclean-shellutils
26471 maybe-distclean-shellutils:
26472 @if shellutils
26473 maybe-distclean-shellutils: distclean-shellutils
26475 distclean-shellutils:
26476 @: $(MAKE); $(unstage)
26477 @[ -f ./shellutils/Makefile ] || exit 0; \
26478 r=`${PWD_COMMAND}`; export r; \
26479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26480 $(HOST_EXPORTS) \
26481 for flag in $(EXTRA_HOST_FLAGS) ; do \
26482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26483 done; \
26484 echo "Doing distclean in shellutils" ; \
26485 (cd $(HOST_SUBDIR)/shellutils && \
26486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26488 "RANLIB=$${RANLIB}" \
26489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26490 distclean) \
26491 || exit 1
26493 @endif shellutils
26495 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26496 maybe-maintainer-clean-shellutils:
26497 @if shellutils
26498 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26500 maintainer-clean-shellutils:
26501 @: $(MAKE); $(unstage)
26502 @[ -f ./shellutils/Makefile ] || exit 0; \
26503 r=`${PWD_COMMAND}`; export r; \
26504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26505 $(HOST_EXPORTS) \
26506 for flag in $(EXTRA_HOST_FLAGS) ; do \
26507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26508 done; \
26509 echo "Doing maintainer-clean in shellutils" ; \
26510 (cd $(HOST_SUBDIR)/shellutils && \
26511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26513 "RANLIB=$${RANLIB}" \
26514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26515 maintainer-clean) \
26516 || exit 1
26518 @endif shellutils
26522 .PHONY: configure-sid maybe-configure-sid
26523 maybe-configure-sid:
26524 @if gcc-bootstrap
26525 configure-sid: stage_current
26526 @endif gcc-bootstrap
26527 @if sid
26528 maybe-configure-sid: configure-sid
26529 configure-sid:
26530 @: $(MAKE); $(unstage)
26531 @r=`${PWD_COMMAND}`; export r; \
26532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26533 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26535 $(HOST_EXPORTS) \
26536 echo Configuring in $(HOST_SUBDIR)/sid; \
26537 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26538 case $(srcdir) in \
26539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26540 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26542 esac; \
26543 srcdiroption="--srcdir=$${topdir}/sid"; \
26544 libsrcdir="$$s/sid"; \
26545 $(SHELL) $${libsrcdir}/configure \
26546 $(HOST_CONFIGARGS) $${srcdiroption} \
26547 || exit 1
26548 @endif sid
26554 .PHONY: all-sid maybe-all-sid
26555 maybe-all-sid:
26556 @if gcc-bootstrap
26557 all-sid: stage_current
26558 @endif gcc-bootstrap
26559 @if sid
26560 TARGET-sid=all
26561 maybe-all-sid: all-sid
26562 all-sid: configure-sid
26563 @: $(MAKE); $(unstage)
26564 @r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 $(HOST_EXPORTS) \
26567 (cd $(HOST_SUBDIR)/sid && \
26568 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26569 @endif sid
26574 .PHONY: check-sid maybe-check-sid
26575 maybe-check-sid:
26576 @if sid
26577 maybe-check-sid: check-sid
26579 check-sid:
26580 @: $(MAKE); $(unstage)
26581 @r=`${PWD_COMMAND}`; export r; \
26582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26583 $(HOST_EXPORTS) \
26584 (cd $(HOST_SUBDIR)/sid && \
26585 $(MAKE) $(FLAGS_TO_PASS) check)
26587 @endif sid
26589 .PHONY: install-sid maybe-install-sid
26590 maybe-install-sid:
26591 @if sid
26592 maybe-install-sid: install-sid
26594 install-sid: installdirs
26595 @: $(MAKE); $(unstage)
26596 @r=`${PWD_COMMAND}`; export r; \
26597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26598 $(HOST_EXPORTS) \
26599 (cd $(HOST_SUBDIR)/sid && \
26600 $(MAKE) $(FLAGS_TO_PASS) install)
26602 @endif sid
26604 # Other targets (info, dvi, pdf, etc.)
26606 .PHONY: maybe-info-sid info-sid
26607 maybe-info-sid:
26608 @if sid
26609 maybe-info-sid: info-sid
26611 info-sid: \
26612 configure-sid
26613 @: $(MAKE); $(unstage)
26614 @[ -f ./sid/Makefile ] || exit 0; \
26615 r=`${PWD_COMMAND}`; export r; \
26616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26617 $(HOST_EXPORTS) \
26618 for flag in $(EXTRA_HOST_FLAGS) ; do \
26619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26620 done; \
26621 echo "Doing info in sid" ; \
26622 (cd $(HOST_SUBDIR)/sid && \
26623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26625 "RANLIB=$${RANLIB}" \
26626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26627 info) \
26628 || exit 1
26630 @endif sid
26632 .PHONY: maybe-dvi-sid dvi-sid
26633 maybe-dvi-sid:
26634 @if sid
26635 maybe-dvi-sid: dvi-sid
26637 dvi-sid: \
26638 configure-sid
26639 @: $(MAKE); $(unstage)
26640 @[ -f ./sid/Makefile ] || exit 0; \
26641 r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26643 $(HOST_EXPORTS) \
26644 for flag in $(EXTRA_HOST_FLAGS) ; do \
26645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26646 done; \
26647 echo "Doing dvi in sid" ; \
26648 (cd $(HOST_SUBDIR)/sid && \
26649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26651 "RANLIB=$${RANLIB}" \
26652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26653 dvi) \
26654 || exit 1
26656 @endif sid
26658 .PHONY: maybe-pdf-sid pdf-sid
26659 maybe-pdf-sid:
26660 @if sid
26661 maybe-pdf-sid: pdf-sid
26663 pdf-sid: \
26664 configure-sid
26665 @: $(MAKE); $(unstage)
26666 @[ -f ./sid/Makefile ] || exit 0; \
26667 r=`${PWD_COMMAND}`; export r; \
26668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26669 $(HOST_EXPORTS) \
26670 for flag in $(EXTRA_HOST_FLAGS) ; do \
26671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26672 done; \
26673 echo "Doing pdf in sid" ; \
26674 (cd $(HOST_SUBDIR)/sid && \
26675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26677 "RANLIB=$${RANLIB}" \
26678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26679 pdf) \
26680 || exit 1
26682 @endif sid
26684 .PHONY: maybe-html-sid html-sid
26685 maybe-html-sid:
26686 @if sid
26687 maybe-html-sid: html-sid
26689 html-sid: \
26690 configure-sid
26691 @: $(MAKE); $(unstage)
26692 @[ -f ./sid/Makefile ] || exit 0; \
26693 r=`${PWD_COMMAND}`; export r; \
26694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26695 $(HOST_EXPORTS) \
26696 for flag in $(EXTRA_HOST_FLAGS) ; do \
26697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26698 done; \
26699 echo "Doing html in sid" ; \
26700 (cd $(HOST_SUBDIR)/sid && \
26701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26703 "RANLIB=$${RANLIB}" \
26704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26705 html) \
26706 || exit 1
26708 @endif sid
26710 .PHONY: maybe-TAGS-sid TAGS-sid
26711 maybe-TAGS-sid:
26712 @if sid
26713 maybe-TAGS-sid: TAGS-sid
26715 TAGS-sid: \
26716 configure-sid
26717 @: $(MAKE); $(unstage)
26718 @[ -f ./sid/Makefile ] || exit 0; \
26719 r=`${PWD_COMMAND}`; export r; \
26720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26721 $(HOST_EXPORTS) \
26722 for flag in $(EXTRA_HOST_FLAGS) ; do \
26723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26724 done; \
26725 echo "Doing TAGS in sid" ; \
26726 (cd $(HOST_SUBDIR)/sid && \
26727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26729 "RANLIB=$${RANLIB}" \
26730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26731 TAGS) \
26732 || exit 1
26734 @endif sid
26736 .PHONY: maybe-install-info-sid install-info-sid
26737 maybe-install-info-sid:
26738 @if sid
26739 maybe-install-info-sid: install-info-sid
26741 install-info-sid: \
26742 configure-sid \
26743 info-sid
26744 @: $(MAKE); $(unstage)
26745 @[ -f ./sid/Makefile ] || exit 0; \
26746 r=`${PWD_COMMAND}`; export r; \
26747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26748 $(HOST_EXPORTS) \
26749 for flag in $(EXTRA_HOST_FLAGS) ; do \
26750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26751 done; \
26752 echo "Doing install-info in sid" ; \
26753 (cd $(HOST_SUBDIR)/sid && \
26754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26756 "RANLIB=$${RANLIB}" \
26757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26758 install-info) \
26759 || exit 1
26761 @endif sid
26763 .PHONY: maybe-install-html-sid install-html-sid
26764 maybe-install-html-sid:
26765 @if sid
26766 maybe-install-html-sid: install-html-sid
26768 install-html-sid: \
26769 configure-sid \
26770 html-sid
26771 @: $(MAKE); $(unstage)
26772 @[ -f ./sid/Makefile ] || exit 0; \
26773 r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 $(HOST_EXPORTS) \
26776 for flag in $(EXTRA_HOST_FLAGS) ; do \
26777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26778 done; \
26779 echo "Doing install-html in sid" ; \
26780 (cd $(HOST_SUBDIR)/sid && \
26781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26783 "RANLIB=$${RANLIB}" \
26784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26785 install-html) \
26786 || exit 1
26788 @endif sid
26790 .PHONY: maybe-installcheck-sid installcheck-sid
26791 maybe-installcheck-sid:
26792 @if sid
26793 maybe-installcheck-sid: installcheck-sid
26795 installcheck-sid: \
26796 configure-sid
26797 @: $(MAKE); $(unstage)
26798 @[ -f ./sid/Makefile ] || exit 0; \
26799 r=`${PWD_COMMAND}`; export r; \
26800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26801 $(HOST_EXPORTS) \
26802 for flag in $(EXTRA_HOST_FLAGS) ; do \
26803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26804 done; \
26805 echo "Doing installcheck in sid" ; \
26806 (cd $(HOST_SUBDIR)/sid && \
26807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26809 "RANLIB=$${RANLIB}" \
26810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26811 installcheck) \
26812 || exit 1
26814 @endif sid
26816 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26817 maybe-mostlyclean-sid:
26818 @if sid
26819 maybe-mostlyclean-sid: mostlyclean-sid
26821 mostlyclean-sid:
26822 @: $(MAKE); $(unstage)
26823 @[ -f ./sid/Makefile ] || exit 0; \
26824 r=`${PWD_COMMAND}`; export r; \
26825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26826 $(HOST_EXPORTS) \
26827 for flag in $(EXTRA_HOST_FLAGS) ; do \
26828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26829 done; \
26830 echo "Doing mostlyclean in sid" ; \
26831 (cd $(HOST_SUBDIR)/sid && \
26832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26834 "RANLIB=$${RANLIB}" \
26835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26836 mostlyclean) \
26837 || exit 1
26839 @endif sid
26841 .PHONY: maybe-clean-sid clean-sid
26842 maybe-clean-sid:
26843 @if sid
26844 maybe-clean-sid: clean-sid
26846 clean-sid:
26847 @: $(MAKE); $(unstage)
26848 @[ -f ./sid/Makefile ] || exit 0; \
26849 r=`${PWD_COMMAND}`; export r; \
26850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26851 $(HOST_EXPORTS) \
26852 for flag in $(EXTRA_HOST_FLAGS) ; do \
26853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26854 done; \
26855 echo "Doing clean in sid" ; \
26856 (cd $(HOST_SUBDIR)/sid && \
26857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26859 "RANLIB=$${RANLIB}" \
26860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26861 clean) \
26862 || exit 1
26864 @endif sid
26866 .PHONY: maybe-distclean-sid distclean-sid
26867 maybe-distclean-sid:
26868 @if sid
26869 maybe-distclean-sid: distclean-sid
26871 distclean-sid:
26872 @: $(MAKE); $(unstage)
26873 @[ -f ./sid/Makefile ] || exit 0; \
26874 r=`${PWD_COMMAND}`; export r; \
26875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26876 $(HOST_EXPORTS) \
26877 for flag in $(EXTRA_HOST_FLAGS) ; do \
26878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26879 done; \
26880 echo "Doing distclean in sid" ; \
26881 (cd $(HOST_SUBDIR)/sid && \
26882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26884 "RANLIB=$${RANLIB}" \
26885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26886 distclean) \
26887 || exit 1
26889 @endif sid
26891 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26892 maybe-maintainer-clean-sid:
26893 @if sid
26894 maybe-maintainer-clean-sid: maintainer-clean-sid
26896 maintainer-clean-sid:
26897 @: $(MAKE); $(unstage)
26898 @[ -f ./sid/Makefile ] || exit 0; \
26899 r=`${PWD_COMMAND}`; export r; \
26900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26901 $(HOST_EXPORTS) \
26902 for flag in $(EXTRA_HOST_FLAGS) ; do \
26903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26904 done; \
26905 echo "Doing maintainer-clean in sid" ; \
26906 (cd $(HOST_SUBDIR)/sid && \
26907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26909 "RANLIB=$${RANLIB}" \
26910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26911 maintainer-clean) \
26912 || exit 1
26914 @endif sid
26918 .PHONY: configure-sim maybe-configure-sim
26919 maybe-configure-sim:
26920 @if gcc-bootstrap
26921 configure-sim: stage_current
26922 @endif gcc-bootstrap
26923 @if sim
26924 maybe-configure-sim: configure-sim
26925 configure-sim:
26926 @: $(MAKE); $(unstage)
26927 @r=`${PWD_COMMAND}`; export r; \
26928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26929 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26931 $(HOST_EXPORTS) \
26932 echo Configuring in $(HOST_SUBDIR)/sim; \
26933 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26934 case $(srcdir) in \
26935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26936 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26938 esac; \
26939 srcdiroption="--srcdir=$${topdir}/sim"; \
26940 libsrcdir="$$s/sim"; \
26941 $(SHELL) $${libsrcdir}/configure \
26942 $(HOST_CONFIGARGS) $${srcdiroption} \
26943 || exit 1
26944 @endif sim
26950 .PHONY: all-sim maybe-all-sim
26951 maybe-all-sim:
26952 @if gcc-bootstrap
26953 all-sim: stage_current
26954 @endif gcc-bootstrap
26955 @if sim
26956 TARGET-sim=all
26957 maybe-all-sim: all-sim
26958 all-sim: configure-sim
26959 @: $(MAKE); $(unstage)
26960 @r=`${PWD_COMMAND}`; export r; \
26961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26962 $(HOST_EXPORTS) \
26963 (cd $(HOST_SUBDIR)/sim && \
26964 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26965 @endif sim
26970 .PHONY: check-sim maybe-check-sim
26971 maybe-check-sim:
26972 @if sim
26973 maybe-check-sim: check-sim
26975 check-sim:
26976 @: $(MAKE); $(unstage)
26977 @r=`${PWD_COMMAND}`; export r; \
26978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26979 $(HOST_EXPORTS) \
26980 (cd $(HOST_SUBDIR)/sim && \
26981 $(MAKE) $(FLAGS_TO_PASS) check)
26983 @endif sim
26985 .PHONY: install-sim maybe-install-sim
26986 maybe-install-sim:
26987 @if sim
26988 maybe-install-sim: install-sim
26990 install-sim: installdirs
26991 @: $(MAKE); $(unstage)
26992 @r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(HOST_EXPORTS) \
26995 (cd $(HOST_SUBDIR)/sim && \
26996 $(MAKE) $(FLAGS_TO_PASS) install)
26998 @endif sim
27000 # Other targets (info, dvi, pdf, etc.)
27002 .PHONY: maybe-info-sim info-sim
27003 maybe-info-sim:
27004 @if sim
27005 maybe-info-sim: info-sim
27007 info-sim: \
27008 configure-sim
27009 @: $(MAKE); $(unstage)
27010 @[ -f ./sim/Makefile ] || exit 0; \
27011 r=`${PWD_COMMAND}`; export r; \
27012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27013 $(HOST_EXPORTS) \
27014 for flag in $(EXTRA_HOST_FLAGS) ; do \
27015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27016 done; \
27017 echo "Doing info in sim" ; \
27018 (cd $(HOST_SUBDIR)/sim && \
27019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27021 "RANLIB=$${RANLIB}" \
27022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27023 info) \
27024 || exit 1
27026 @endif sim
27028 .PHONY: maybe-dvi-sim dvi-sim
27029 maybe-dvi-sim:
27030 @if sim
27031 maybe-dvi-sim: dvi-sim
27033 dvi-sim: \
27034 configure-sim
27035 @: $(MAKE); $(unstage)
27036 @[ -f ./sim/Makefile ] || exit 0; \
27037 r=`${PWD_COMMAND}`; export r; \
27038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27039 $(HOST_EXPORTS) \
27040 for flag in $(EXTRA_HOST_FLAGS) ; do \
27041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27042 done; \
27043 echo "Doing dvi in sim" ; \
27044 (cd $(HOST_SUBDIR)/sim && \
27045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27047 "RANLIB=$${RANLIB}" \
27048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27049 dvi) \
27050 || exit 1
27052 @endif sim
27054 .PHONY: maybe-pdf-sim pdf-sim
27055 maybe-pdf-sim:
27056 @if sim
27057 maybe-pdf-sim: pdf-sim
27059 pdf-sim: \
27060 configure-sim
27061 @: $(MAKE); $(unstage)
27062 @[ -f ./sim/Makefile ] || exit 0; \
27063 r=`${PWD_COMMAND}`; export r; \
27064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27065 $(HOST_EXPORTS) \
27066 for flag in $(EXTRA_HOST_FLAGS) ; do \
27067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27068 done; \
27069 echo "Doing pdf in sim" ; \
27070 (cd $(HOST_SUBDIR)/sim && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073 "RANLIB=$${RANLIB}" \
27074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27075 pdf) \
27076 || exit 1
27078 @endif sim
27080 .PHONY: maybe-html-sim html-sim
27081 maybe-html-sim:
27082 @if sim
27083 maybe-html-sim: html-sim
27085 html-sim: \
27086 configure-sim
27087 @: $(MAKE); $(unstage)
27088 @[ -f ./sim/Makefile ] || exit 0; \
27089 r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27091 $(HOST_EXPORTS) \
27092 for flag in $(EXTRA_HOST_FLAGS) ; do \
27093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27094 done; \
27095 echo "Doing html in sim" ; \
27096 (cd $(HOST_SUBDIR)/sim && \
27097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27099 "RANLIB=$${RANLIB}" \
27100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27101 html) \
27102 || exit 1
27104 @endif sim
27106 .PHONY: maybe-TAGS-sim TAGS-sim
27107 maybe-TAGS-sim:
27108 @if sim
27109 maybe-TAGS-sim: TAGS-sim
27111 TAGS-sim: \
27112 configure-sim
27113 @: $(MAKE); $(unstage)
27114 @[ -f ./sim/Makefile ] || exit 0; \
27115 r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27117 $(HOST_EXPORTS) \
27118 for flag in $(EXTRA_HOST_FLAGS) ; do \
27119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27120 done; \
27121 echo "Doing TAGS in sim" ; \
27122 (cd $(HOST_SUBDIR)/sim && \
27123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27125 "RANLIB=$${RANLIB}" \
27126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27127 TAGS) \
27128 || exit 1
27130 @endif sim
27132 .PHONY: maybe-install-info-sim install-info-sim
27133 maybe-install-info-sim:
27134 @if sim
27135 maybe-install-info-sim: install-info-sim
27137 install-info-sim: \
27138 configure-sim \
27139 info-sim
27140 @: $(MAKE); $(unstage)
27141 @[ -f ./sim/Makefile ] || exit 0; \
27142 r=`${PWD_COMMAND}`; export r; \
27143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27144 $(HOST_EXPORTS) \
27145 for flag in $(EXTRA_HOST_FLAGS) ; do \
27146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27147 done; \
27148 echo "Doing install-info in sim" ; \
27149 (cd $(HOST_SUBDIR)/sim && \
27150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27152 "RANLIB=$${RANLIB}" \
27153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27154 install-info) \
27155 || exit 1
27157 @endif sim
27159 .PHONY: maybe-install-html-sim install-html-sim
27160 maybe-install-html-sim:
27161 @if sim
27162 maybe-install-html-sim: install-html-sim
27164 install-html-sim: \
27165 configure-sim \
27166 html-sim
27167 @: $(MAKE); $(unstage)
27168 @[ -f ./sim/Makefile ] || exit 0; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(HOST_EXPORTS) \
27172 for flag in $(EXTRA_HOST_FLAGS) ; do \
27173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27174 done; \
27175 echo "Doing install-html in sim" ; \
27176 (cd $(HOST_SUBDIR)/sim && \
27177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27179 "RANLIB=$${RANLIB}" \
27180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27181 install-html) \
27182 || exit 1
27184 @endif sim
27186 .PHONY: maybe-installcheck-sim installcheck-sim
27187 maybe-installcheck-sim:
27188 @if sim
27189 maybe-installcheck-sim: installcheck-sim
27191 installcheck-sim: \
27192 configure-sim
27193 @: $(MAKE); $(unstage)
27194 @[ -f ./sim/Makefile ] || exit 0; \
27195 r=`${PWD_COMMAND}`; export r; \
27196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27197 $(HOST_EXPORTS) \
27198 for flag in $(EXTRA_HOST_FLAGS) ; do \
27199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27200 done; \
27201 echo "Doing installcheck in sim" ; \
27202 (cd $(HOST_SUBDIR)/sim && \
27203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27205 "RANLIB=$${RANLIB}" \
27206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27207 installcheck) \
27208 || exit 1
27210 @endif sim
27212 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27213 maybe-mostlyclean-sim:
27214 @if sim
27215 maybe-mostlyclean-sim: mostlyclean-sim
27217 mostlyclean-sim:
27218 @: $(MAKE); $(unstage)
27219 @[ -f ./sim/Makefile ] || exit 0; \
27220 r=`${PWD_COMMAND}`; export r; \
27221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27222 $(HOST_EXPORTS) \
27223 for flag in $(EXTRA_HOST_FLAGS) ; do \
27224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27225 done; \
27226 echo "Doing mostlyclean in sim" ; \
27227 (cd $(HOST_SUBDIR)/sim && \
27228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27230 "RANLIB=$${RANLIB}" \
27231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27232 mostlyclean) \
27233 || exit 1
27235 @endif sim
27237 .PHONY: maybe-clean-sim clean-sim
27238 maybe-clean-sim:
27239 @if sim
27240 maybe-clean-sim: clean-sim
27242 clean-sim:
27243 @: $(MAKE); $(unstage)
27244 @[ -f ./sim/Makefile ] || exit 0; \
27245 r=`${PWD_COMMAND}`; export r; \
27246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27247 $(HOST_EXPORTS) \
27248 for flag in $(EXTRA_HOST_FLAGS) ; do \
27249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27250 done; \
27251 echo "Doing clean in sim" ; \
27252 (cd $(HOST_SUBDIR)/sim && \
27253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27255 "RANLIB=$${RANLIB}" \
27256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27257 clean) \
27258 || exit 1
27260 @endif sim
27262 .PHONY: maybe-distclean-sim distclean-sim
27263 maybe-distclean-sim:
27264 @if sim
27265 maybe-distclean-sim: distclean-sim
27267 distclean-sim:
27268 @: $(MAKE); $(unstage)
27269 @[ -f ./sim/Makefile ] || exit 0; \
27270 r=`${PWD_COMMAND}`; export r; \
27271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27272 $(HOST_EXPORTS) \
27273 for flag in $(EXTRA_HOST_FLAGS) ; do \
27274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27275 done; \
27276 echo "Doing distclean in sim" ; \
27277 (cd $(HOST_SUBDIR)/sim && \
27278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27280 "RANLIB=$${RANLIB}" \
27281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27282 distclean) \
27283 || exit 1
27285 @endif sim
27287 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27288 maybe-maintainer-clean-sim:
27289 @if sim
27290 maybe-maintainer-clean-sim: maintainer-clean-sim
27292 maintainer-clean-sim:
27293 @: $(MAKE); $(unstage)
27294 @[ -f ./sim/Makefile ] || exit 0; \
27295 r=`${PWD_COMMAND}`; export r; \
27296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27297 $(HOST_EXPORTS) \
27298 for flag in $(EXTRA_HOST_FLAGS) ; do \
27299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27300 done; \
27301 echo "Doing maintainer-clean in sim" ; \
27302 (cd $(HOST_SUBDIR)/sim && \
27303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27305 "RANLIB=$${RANLIB}" \
27306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27307 maintainer-clean) \
27308 || exit 1
27310 @endif sim
27314 .PHONY: configure-tar maybe-configure-tar
27315 maybe-configure-tar:
27316 @if gcc-bootstrap
27317 configure-tar: stage_current
27318 @endif gcc-bootstrap
27319 @if tar
27320 maybe-configure-tar: configure-tar
27321 configure-tar:
27322 @: $(MAKE); $(unstage)
27323 @r=`${PWD_COMMAND}`; export r; \
27324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27325 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27327 $(HOST_EXPORTS) \
27328 echo Configuring in $(HOST_SUBDIR)/tar; \
27329 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27330 case $(srcdir) in \
27331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27332 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27334 esac; \
27335 srcdiroption="--srcdir=$${topdir}/tar"; \
27336 libsrcdir="$$s/tar"; \
27337 $(SHELL) $${libsrcdir}/configure \
27338 $(HOST_CONFIGARGS) $${srcdiroption} \
27339 || exit 1
27340 @endif tar
27346 .PHONY: all-tar maybe-all-tar
27347 maybe-all-tar:
27348 @if gcc-bootstrap
27349 all-tar: stage_current
27350 @endif gcc-bootstrap
27351 @if tar
27352 TARGET-tar=all
27353 maybe-all-tar: all-tar
27354 all-tar: configure-tar
27355 @: $(MAKE); $(unstage)
27356 @r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 (cd $(HOST_SUBDIR)/tar && \
27360 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27361 @endif tar
27366 .PHONY: check-tar maybe-check-tar
27367 maybe-check-tar:
27368 @if tar
27369 maybe-check-tar: check-tar
27371 check-tar:
27372 @: $(MAKE); $(unstage)
27373 @r=`${PWD_COMMAND}`; export r; \
27374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27375 $(HOST_EXPORTS) \
27376 (cd $(HOST_SUBDIR)/tar && \
27377 $(MAKE) $(FLAGS_TO_PASS) check)
27379 @endif tar
27381 .PHONY: install-tar maybe-install-tar
27382 maybe-install-tar:
27383 @if tar
27384 maybe-install-tar: install-tar
27386 install-tar: installdirs
27387 @: $(MAKE); $(unstage)
27388 @r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27390 $(HOST_EXPORTS) \
27391 (cd $(HOST_SUBDIR)/tar && \
27392 $(MAKE) $(FLAGS_TO_PASS) install)
27394 @endif tar
27396 # Other targets (info, dvi, pdf, etc.)
27398 .PHONY: maybe-info-tar info-tar
27399 maybe-info-tar:
27400 @if tar
27401 maybe-info-tar: info-tar
27403 info-tar: \
27404 configure-tar
27405 @: $(MAKE); $(unstage)
27406 @[ -f ./tar/Makefile ] || exit 0; \
27407 r=`${PWD_COMMAND}`; export r; \
27408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27409 $(HOST_EXPORTS) \
27410 for flag in $(EXTRA_HOST_FLAGS) ; do \
27411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27412 done; \
27413 echo "Doing info in tar" ; \
27414 (cd $(HOST_SUBDIR)/tar && \
27415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27417 "RANLIB=$${RANLIB}" \
27418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27419 info) \
27420 || exit 1
27422 @endif tar
27424 .PHONY: maybe-dvi-tar dvi-tar
27425 maybe-dvi-tar:
27426 @if tar
27427 maybe-dvi-tar: dvi-tar
27429 dvi-tar: \
27430 configure-tar
27431 @: $(MAKE); $(unstage)
27432 @[ -f ./tar/Makefile ] || exit 0; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(HOST_EXPORTS) \
27436 for flag in $(EXTRA_HOST_FLAGS) ; do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27438 done; \
27439 echo "Doing dvi in tar" ; \
27440 (cd $(HOST_SUBDIR)/tar && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27445 dvi) \
27446 || exit 1
27448 @endif tar
27450 .PHONY: maybe-pdf-tar pdf-tar
27451 maybe-pdf-tar:
27452 @if tar
27453 maybe-pdf-tar: pdf-tar
27455 pdf-tar: \
27456 configure-tar
27457 @: $(MAKE); $(unstage)
27458 @[ -f ./tar/Makefile ] || exit 0; \
27459 r=`${PWD_COMMAND}`; export r; \
27460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27461 $(HOST_EXPORTS) \
27462 for flag in $(EXTRA_HOST_FLAGS) ; do \
27463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27464 done; \
27465 echo "Doing pdf in tar" ; \
27466 (cd $(HOST_SUBDIR)/tar && \
27467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27469 "RANLIB=$${RANLIB}" \
27470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27471 pdf) \
27472 || exit 1
27474 @endif tar
27476 .PHONY: maybe-html-tar html-tar
27477 maybe-html-tar:
27478 @if tar
27479 maybe-html-tar: html-tar
27481 html-tar: \
27482 configure-tar
27483 @: $(MAKE); $(unstage)
27484 @[ -f ./tar/Makefile ] || exit 0; \
27485 r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 for flag in $(EXTRA_HOST_FLAGS) ; do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 echo "Doing html in tar" ; \
27492 (cd $(HOST_SUBDIR)/tar && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27497 html) \
27498 || exit 1
27500 @endif tar
27502 .PHONY: maybe-TAGS-tar TAGS-tar
27503 maybe-TAGS-tar:
27504 @if tar
27505 maybe-TAGS-tar: TAGS-tar
27507 TAGS-tar: \
27508 configure-tar
27509 @: $(MAKE); $(unstage)
27510 @[ -f ./tar/Makefile ] || exit 0; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 $(HOST_EXPORTS) \
27514 for flag in $(EXTRA_HOST_FLAGS) ; do \
27515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27516 done; \
27517 echo "Doing TAGS in tar" ; \
27518 (cd $(HOST_SUBDIR)/tar && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27523 TAGS) \
27524 || exit 1
27526 @endif tar
27528 .PHONY: maybe-install-info-tar install-info-tar
27529 maybe-install-info-tar:
27530 @if tar
27531 maybe-install-info-tar: install-info-tar
27533 install-info-tar: \
27534 configure-tar \
27535 info-tar
27536 @: $(MAKE); $(unstage)
27537 @[ -f ./tar/Makefile ] || exit 0; \
27538 r=`${PWD_COMMAND}`; export r; \
27539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27540 $(HOST_EXPORTS) \
27541 for flag in $(EXTRA_HOST_FLAGS) ; do \
27542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27543 done; \
27544 echo "Doing install-info in tar" ; \
27545 (cd $(HOST_SUBDIR)/tar && \
27546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27548 "RANLIB=$${RANLIB}" \
27549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27550 install-info) \
27551 || exit 1
27553 @endif tar
27555 .PHONY: maybe-install-html-tar install-html-tar
27556 maybe-install-html-tar:
27557 @if tar
27558 maybe-install-html-tar: install-html-tar
27560 install-html-tar: \
27561 configure-tar \
27562 html-tar
27563 @: $(MAKE); $(unstage)
27564 @[ -f ./tar/Makefile ] || exit 0; \
27565 r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 $(HOST_EXPORTS) \
27568 for flag in $(EXTRA_HOST_FLAGS) ; do \
27569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27570 done; \
27571 echo "Doing install-html in tar" ; \
27572 (cd $(HOST_SUBDIR)/tar && \
27573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27575 "RANLIB=$${RANLIB}" \
27576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27577 install-html) \
27578 || exit 1
27580 @endif tar
27582 .PHONY: maybe-installcheck-tar installcheck-tar
27583 maybe-installcheck-tar:
27584 @if tar
27585 maybe-installcheck-tar: installcheck-tar
27587 installcheck-tar: \
27588 configure-tar
27589 @: $(MAKE); $(unstage)
27590 @[ -f ./tar/Makefile ] || exit 0; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(HOST_EXPORTS) \
27594 for flag in $(EXTRA_HOST_FLAGS) ; do \
27595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27596 done; \
27597 echo "Doing installcheck in tar" ; \
27598 (cd $(HOST_SUBDIR)/tar && \
27599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27601 "RANLIB=$${RANLIB}" \
27602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27603 installcheck) \
27604 || exit 1
27606 @endif tar
27608 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27609 maybe-mostlyclean-tar:
27610 @if tar
27611 maybe-mostlyclean-tar: mostlyclean-tar
27613 mostlyclean-tar:
27614 @: $(MAKE); $(unstage)
27615 @[ -f ./tar/Makefile ] || exit 0; \
27616 r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 for flag in $(EXTRA_HOST_FLAGS) ; do \
27620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27621 done; \
27622 echo "Doing mostlyclean in tar" ; \
27623 (cd $(HOST_SUBDIR)/tar && \
27624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27626 "RANLIB=$${RANLIB}" \
27627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27628 mostlyclean) \
27629 || exit 1
27631 @endif tar
27633 .PHONY: maybe-clean-tar clean-tar
27634 maybe-clean-tar:
27635 @if tar
27636 maybe-clean-tar: clean-tar
27638 clean-tar:
27639 @: $(MAKE); $(unstage)
27640 @[ -f ./tar/Makefile ] || exit 0; \
27641 r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(HOST_EXPORTS) \
27644 for flag in $(EXTRA_HOST_FLAGS) ; do \
27645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27646 done; \
27647 echo "Doing clean in tar" ; \
27648 (cd $(HOST_SUBDIR)/tar && \
27649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27651 "RANLIB=$${RANLIB}" \
27652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27653 clean) \
27654 || exit 1
27656 @endif tar
27658 .PHONY: maybe-distclean-tar distclean-tar
27659 maybe-distclean-tar:
27660 @if tar
27661 maybe-distclean-tar: distclean-tar
27663 distclean-tar:
27664 @: $(MAKE); $(unstage)
27665 @[ -f ./tar/Makefile ] || exit 0; \
27666 r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(HOST_EXPORTS) \
27669 for flag in $(EXTRA_HOST_FLAGS) ; do \
27670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27671 done; \
27672 echo "Doing distclean in tar" ; \
27673 (cd $(HOST_SUBDIR)/tar && \
27674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27676 "RANLIB=$${RANLIB}" \
27677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27678 distclean) \
27679 || exit 1
27681 @endif tar
27683 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27684 maybe-maintainer-clean-tar:
27685 @if tar
27686 maybe-maintainer-clean-tar: maintainer-clean-tar
27688 maintainer-clean-tar:
27689 @: $(MAKE); $(unstage)
27690 @[ -f ./tar/Makefile ] || exit 0; \
27691 r=`${PWD_COMMAND}`; export r; \
27692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27693 $(HOST_EXPORTS) \
27694 for flag in $(EXTRA_HOST_FLAGS) ; do \
27695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27696 done; \
27697 echo "Doing maintainer-clean in tar" ; \
27698 (cd $(HOST_SUBDIR)/tar && \
27699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27701 "RANLIB=$${RANLIB}" \
27702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27703 maintainer-clean) \
27704 || exit 1
27706 @endif tar
27710 .PHONY: configure-texinfo maybe-configure-texinfo
27711 maybe-configure-texinfo:
27712 @if gcc-bootstrap
27713 configure-texinfo: stage_current
27714 @endif gcc-bootstrap
27715 @if texinfo
27716 maybe-configure-texinfo: configure-texinfo
27717 configure-texinfo:
27718 @: $(MAKE); $(unstage)
27719 @r=`${PWD_COMMAND}`; export r; \
27720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27721 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27723 $(HOST_EXPORTS) \
27724 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27725 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27726 case $(srcdir) in \
27727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27728 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27730 esac; \
27731 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27732 libsrcdir="$$s/texinfo"; \
27733 $(SHELL) $${libsrcdir}/configure \
27734 $(HOST_CONFIGARGS) $${srcdiroption} \
27735 || exit 1
27736 @endif texinfo
27742 .PHONY: all-texinfo maybe-all-texinfo
27743 maybe-all-texinfo:
27744 @if gcc-bootstrap
27745 all-texinfo: stage_current
27746 @endif gcc-bootstrap
27747 @if texinfo
27748 TARGET-texinfo=all
27749 maybe-all-texinfo: all-texinfo
27750 all-texinfo: configure-texinfo
27751 @: $(MAKE); $(unstage)
27752 @r=`${PWD_COMMAND}`; export r; \
27753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27754 $(HOST_EXPORTS) \
27755 (cd $(HOST_SUBDIR)/texinfo && \
27756 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27757 @endif texinfo
27762 .PHONY: check-texinfo maybe-check-texinfo
27763 maybe-check-texinfo:
27764 @if texinfo
27765 maybe-check-texinfo: check-texinfo
27767 check-texinfo:
27768 @: $(MAKE); $(unstage)
27769 @r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 $(HOST_EXPORTS) \
27772 (cd $(HOST_SUBDIR)/texinfo && \
27773 $(MAKE) $(FLAGS_TO_PASS) check)
27775 @endif texinfo
27777 .PHONY: install-texinfo maybe-install-texinfo
27778 maybe-install-texinfo:
27779 @if texinfo
27780 maybe-install-texinfo: install-texinfo
27782 install-texinfo:
27784 @endif texinfo
27786 # Other targets (info, dvi, pdf, etc.)
27788 .PHONY: maybe-info-texinfo info-texinfo
27789 maybe-info-texinfo:
27790 @if texinfo
27791 maybe-info-texinfo: info-texinfo
27793 info-texinfo: \
27794 configure-texinfo
27795 @: $(MAKE); $(unstage)
27796 @[ -f ./texinfo/Makefile ] || exit 0; \
27797 r=`${PWD_COMMAND}`; export r; \
27798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27799 $(HOST_EXPORTS) \
27800 for flag in $(EXTRA_HOST_FLAGS) ; do \
27801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27802 done; \
27803 echo "Doing info in texinfo" ; \
27804 (cd $(HOST_SUBDIR)/texinfo && \
27805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27807 "RANLIB=$${RANLIB}" \
27808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27809 info) \
27810 || exit 1
27812 @endif texinfo
27814 .PHONY: maybe-dvi-texinfo dvi-texinfo
27815 maybe-dvi-texinfo:
27816 @if texinfo
27817 maybe-dvi-texinfo: dvi-texinfo
27819 dvi-texinfo: \
27820 configure-texinfo
27821 @: $(MAKE); $(unstage)
27822 @[ -f ./texinfo/Makefile ] || exit 0; \
27823 r=`${PWD_COMMAND}`; export r; \
27824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27825 $(HOST_EXPORTS) \
27826 for flag in $(EXTRA_HOST_FLAGS) ; do \
27827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27828 done; \
27829 echo "Doing dvi in texinfo" ; \
27830 (cd $(HOST_SUBDIR)/texinfo && \
27831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27833 "RANLIB=$${RANLIB}" \
27834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27835 dvi) \
27836 || exit 1
27838 @endif texinfo
27840 .PHONY: maybe-pdf-texinfo pdf-texinfo
27841 maybe-pdf-texinfo:
27842 @if texinfo
27843 maybe-pdf-texinfo: pdf-texinfo
27845 pdf-texinfo: \
27846 configure-texinfo
27847 @: $(MAKE); $(unstage)
27848 @[ -f ./texinfo/Makefile ] || exit 0; \
27849 r=`${PWD_COMMAND}`; export r; \
27850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27851 $(HOST_EXPORTS) \
27852 for flag in $(EXTRA_HOST_FLAGS) ; do \
27853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27854 done; \
27855 echo "Doing pdf in texinfo" ; \
27856 (cd $(HOST_SUBDIR)/texinfo && \
27857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27859 "RANLIB=$${RANLIB}" \
27860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27861 pdf) \
27862 || exit 1
27864 @endif texinfo
27866 .PHONY: maybe-html-texinfo html-texinfo
27867 maybe-html-texinfo:
27868 @if texinfo
27869 maybe-html-texinfo: html-texinfo
27871 html-texinfo: \
27872 configure-texinfo
27873 @: $(MAKE); $(unstage)
27874 @[ -f ./texinfo/Makefile ] || exit 0; \
27875 r=`${PWD_COMMAND}`; export r; \
27876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27877 $(HOST_EXPORTS) \
27878 for flag in $(EXTRA_HOST_FLAGS) ; do \
27879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27880 done; \
27881 echo "Doing html in texinfo" ; \
27882 (cd $(HOST_SUBDIR)/texinfo && \
27883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27885 "RANLIB=$${RANLIB}" \
27886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27887 html) \
27888 || exit 1
27890 @endif texinfo
27892 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27893 maybe-TAGS-texinfo:
27894 @if texinfo
27895 maybe-TAGS-texinfo: TAGS-texinfo
27897 TAGS-texinfo: \
27898 configure-texinfo
27899 @: $(MAKE); $(unstage)
27900 @[ -f ./texinfo/Makefile ] || exit 0; \
27901 r=`${PWD_COMMAND}`; export r; \
27902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27903 $(HOST_EXPORTS) \
27904 for flag in $(EXTRA_HOST_FLAGS) ; do \
27905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27906 done; \
27907 echo "Doing TAGS in texinfo" ; \
27908 (cd $(HOST_SUBDIR)/texinfo && \
27909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27911 "RANLIB=$${RANLIB}" \
27912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27913 TAGS) \
27914 || exit 1
27916 @endif texinfo
27918 .PHONY: maybe-install-info-texinfo install-info-texinfo
27919 maybe-install-info-texinfo:
27920 @if texinfo
27921 maybe-install-info-texinfo: install-info-texinfo
27923 install-info-texinfo: \
27924 configure-texinfo \
27925 info-texinfo
27926 @: $(MAKE); $(unstage)
27927 @[ -f ./texinfo/Makefile ] || exit 0; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(HOST_EXPORTS) \
27931 for flag in $(EXTRA_HOST_FLAGS) ; do \
27932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27933 done; \
27934 echo "Doing install-info in texinfo" ; \
27935 (cd $(HOST_SUBDIR)/texinfo && \
27936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27938 "RANLIB=$${RANLIB}" \
27939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27940 install-info) \
27941 || exit 1
27943 @endif texinfo
27945 .PHONY: maybe-install-html-texinfo install-html-texinfo
27946 maybe-install-html-texinfo:
27947 @if texinfo
27948 maybe-install-html-texinfo: install-html-texinfo
27950 install-html-texinfo: \
27951 configure-texinfo \
27952 html-texinfo
27953 @: $(MAKE); $(unstage)
27954 @[ -f ./texinfo/Makefile ] || exit 0; \
27955 r=`${PWD_COMMAND}`; export r; \
27956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(HOST_EXPORTS) \
27958 for flag in $(EXTRA_HOST_FLAGS) ; do \
27959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27960 done; \
27961 echo "Doing install-html in texinfo" ; \
27962 (cd $(HOST_SUBDIR)/texinfo && \
27963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27965 "RANLIB=$${RANLIB}" \
27966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27967 install-html) \
27968 || exit 1
27970 @endif texinfo
27972 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27973 maybe-installcheck-texinfo:
27974 @if texinfo
27975 maybe-installcheck-texinfo: installcheck-texinfo
27977 installcheck-texinfo: \
27978 configure-texinfo
27979 @: $(MAKE); $(unstage)
27980 @[ -f ./texinfo/Makefile ] || exit 0; \
27981 r=`${PWD_COMMAND}`; export r; \
27982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27983 $(HOST_EXPORTS) \
27984 for flag in $(EXTRA_HOST_FLAGS) ; do \
27985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27986 done; \
27987 echo "Doing installcheck in texinfo" ; \
27988 (cd $(HOST_SUBDIR)/texinfo && \
27989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27991 "RANLIB=$${RANLIB}" \
27992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27993 installcheck) \
27994 || exit 1
27996 @endif texinfo
27998 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27999 maybe-mostlyclean-texinfo:
28000 @if texinfo
28001 maybe-mostlyclean-texinfo: mostlyclean-texinfo
28003 mostlyclean-texinfo:
28004 @: $(MAKE); $(unstage)
28005 @[ -f ./texinfo/Makefile ] || exit 0; \
28006 r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 $(HOST_EXPORTS) \
28009 for flag in $(EXTRA_HOST_FLAGS) ; do \
28010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28011 done; \
28012 echo "Doing mostlyclean in texinfo" ; \
28013 (cd $(HOST_SUBDIR)/texinfo && \
28014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28016 "RANLIB=$${RANLIB}" \
28017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28018 mostlyclean) \
28019 || exit 1
28021 @endif texinfo
28023 .PHONY: maybe-clean-texinfo clean-texinfo
28024 maybe-clean-texinfo:
28025 @if texinfo
28026 maybe-clean-texinfo: clean-texinfo
28028 clean-texinfo:
28029 @: $(MAKE); $(unstage)
28030 @[ -f ./texinfo/Makefile ] || exit 0; \
28031 r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28033 $(HOST_EXPORTS) \
28034 for flag in $(EXTRA_HOST_FLAGS) ; do \
28035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28036 done; \
28037 echo "Doing clean in texinfo" ; \
28038 (cd $(HOST_SUBDIR)/texinfo && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28041 "RANLIB=$${RANLIB}" \
28042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28043 clean) \
28044 || exit 1
28046 @endif texinfo
28048 .PHONY: maybe-distclean-texinfo distclean-texinfo
28049 maybe-distclean-texinfo:
28050 @if texinfo
28051 maybe-distclean-texinfo: distclean-texinfo
28053 distclean-texinfo:
28054 @: $(MAKE); $(unstage)
28055 @[ -f ./texinfo/Makefile ] || exit 0; \
28056 r=`${PWD_COMMAND}`; export r; \
28057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28058 $(HOST_EXPORTS) \
28059 for flag in $(EXTRA_HOST_FLAGS) ; do \
28060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28061 done; \
28062 echo "Doing distclean in texinfo" ; \
28063 (cd $(HOST_SUBDIR)/texinfo && \
28064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28066 "RANLIB=$${RANLIB}" \
28067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28068 distclean) \
28069 || exit 1
28071 @endif texinfo
28073 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
28074 maybe-maintainer-clean-texinfo:
28075 @if texinfo
28076 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
28078 maintainer-clean-texinfo:
28079 @: $(MAKE); $(unstage)
28080 @[ -f ./texinfo/Makefile ] || exit 0; \
28081 r=`${PWD_COMMAND}`; export r; \
28082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28083 $(HOST_EXPORTS) \
28084 for flag in $(EXTRA_HOST_FLAGS) ; do \
28085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28086 done; \
28087 echo "Doing maintainer-clean in texinfo" ; \
28088 (cd $(HOST_SUBDIR)/texinfo && \
28089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28091 "RANLIB=$${RANLIB}" \
28092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28093 maintainer-clean) \
28094 || exit 1
28096 @endif texinfo
28100 .PHONY: configure-textutils maybe-configure-textutils
28101 maybe-configure-textutils:
28102 @if gcc-bootstrap
28103 configure-textutils: stage_current
28104 @endif gcc-bootstrap
28105 @if textutils
28106 maybe-configure-textutils: configure-textutils
28107 configure-textutils:
28108 @: $(MAKE); $(unstage)
28109 @r=`${PWD_COMMAND}`; export r; \
28110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28111 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
28112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
28113 $(HOST_EXPORTS) \
28114 echo Configuring in $(HOST_SUBDIR)/textutils; \
28115 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
28116 case $(srcdir) in \
28117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28118 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
28119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28120 esac; \
28121 srcdiroption="--srcdir=$${topdir}/textutils"; \
28122 libsrcdir="$$s/textutils"; \
28123 $(SHELL) $${libsrcdir}/configure \
28124 $(HOST_CONFIGARGS) $${srcdiroption} \
28125 || exit 1
28126 @endif textutils
28132 .PHONY: all-textutils maybe-all-textutils
28133 maybe-all-textutils:
28134 @if gcc-bootstrap
28135 all-textutils: stage_current
28136 @endif gcc-bootstrap
28137 @if textutils
28138 TARGET-textutils=all
28139 maybe-all-textutils: all-textutils
28140 all-textutils: configure-textutils
28141 @: $(MAKE); $(unstage)
28142 @r=`${PWD_COMMAND}`; export r; \
28143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28144 $(HOST_EXPORTS) \
28145 (cd $(HOST_SUBDIR)/textutils && \
28146 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
28147 @endif textutils
28152 .PHONY: check-textutils maybe-check-textutils
28153 maybe-check-textutils:
28154 @if textutils
28155 maybe-check-textutils: check-textutils
28157 check-textutils:
28158 @: $(MAKE); $(unstage)
28159 @r=`${PWD_COMMAND}`; export r; \
28160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28161 $(HOST_EXPORTS) \
28162 (cd $(HOST_SUBDIR)/textutils && \
28163 $(MAKE) $(FLAGS_TO_PASS) check)
28165 @endif textutils
28167 .PHONY: install-textutils maybe-install-textutils
28168 maybe-install-textutils:
28169 @if textutils
28170 maybe-install-textutils: install-textutils
28172 install-textutils: installdirs
28173 @: $(MAKE); $(unstage)
28174 @r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28176 $(HOST_EXPORTS) \
28177 (cd $(HOST_SUBDIR)/textutils && \
28178 $(MAKE) $(FLAGS_TO_PASS) install)
28180 @endif textutils
28182 # Other targets (info, dvi, pdf, etc.)
28184 .PHONY: maybe-info-textutils info-textutils
28185 maybe-info-textutils:
28186 @if textutils
28187 maybe-info-textutils: info-textutils
28189 info-textutils: \
28190 configure-textutils
28191 @: $(MAKE); $(unstage)
28192 @[ -f ./textutils/Makefile ] || exit 0; \
28193 r=`${PWD_COMMAND}`; export r; \
28194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28195 $(HOST_EXPORTS) \
28196 for flag in $(EXTRA_HOST_FLAGS) ; do \
28197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28198 done; \
28199 echo "Doing info in textutils" ; \
28200 (cd $(HOST_SUBDIR)/textutils && \
28201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28203 "RANLIB=$${RANLIB}" \
28204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28205 info) \
28206 || exit 1
28208 @endif textutils
28210 .PHONY: maybe-dvi-textutils dvi-textutils
28211 maybe-dvi-textutils:
28212 @if textutils
28213 maybe-dvi-textutils: dvi-textutils
28215 dvi-textutils: \
28216 configure-textutils
28217 @: $(MAKE); $(unstage)
28218 @[ -f ./textutils/Makefile ] || exit 0; \
28219 r=`${PWD_COMMAND}`; export r; \
28220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28221 $(HOST_EXPORTS) \
28222 for flag in $(EXTRA_HOST_FLAGS) ; do \
28223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28224 done; \
28225 echo "Doing dvi in textutils" ; \
28226 (cd $(HOST_SUBDIR)/textutils && \
28227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28229 "RANLIB=$${RANLIB}" \
28230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28231 dvi) \
28232 || exit 1
28234 @endif textutils
28236 .PHONY: maybe-pdf-textutils pdf-textutils
28237 maybe-pdf-textutils:
28238 @if textutils
28239 maybe-pdf-textutils: pdf-textutils
28241 pdf-textutils: \
28242 configure-textutils
28243 @: $(MAKE); $(unstage)
28244 @[ -f ./textutils/Makefile ] || exit 0; \
28245 r=`${PWD_COMMAND}`; export r; \
28246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28247 $(HOST_EXPORTS) \
28248 for flag in $(EXTRA_HOST_FLAGS) ; do \
28249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28250 done; \
28251 echo "Doing pdf in textutils" ; \
28252 (cd $(HOST_SUBDIR)/textutils && \
28253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28255 "RANLIB=$${RANLIB}" \
28256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28257 pdf) \
28258 || exit 1
28260 @endif textutils
28262 .PHONY: maybe-html-textutils html-textutils
28263 maybe-html-textutils:
28264 @if textutils
28265 maybe-html-textutils: html-textutils
28267 html-textutils: \
28268 configure-textutils
28269 @: $(MAKE); $(unstage)
28270 @[ -f ./textutils/Makefile ] || exit 0; \
28271 r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(HOST_EXPORTS) \
28274 for flag in $(EXTRA_HOST_FLAGS) ; do \
28275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28276 done; \
28277 echo "Doing html in textutils" ; \
28278 (cd $(HOST_SUBDIR)/textutils && \
28279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28281 "RANLIB=$${RANLIB}" \
28282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28283 html) \
28284 || exit 1
28286 @endif textutils
28288 .PHONY: maybe-TAGS-textutils TAGS-textutils
28289 maybe-TAGS-textutils:
28290 @if textutils
28291 maybe-TAGS-textutils: TAGS-textutils
28293 TAGS-textutils: \
28294 configure-textutils
28295 @: $(MAKE); $(unstage)
28296 @[ -f ./textutils/Makefile ] || exit 0; \
28297 r=`${PWD_COMMAND}`; export r; \
28298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28299 $(HOST_EXPORTS) \
28300 for flag in $(EXTRA_HOST_FLAGS) ; do \
28301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28302 done; \
28303 echo "Doing TAGS in textutils" ; \
28304 (cd $(HOST_SUBDIR)/textutils && \
28305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28307 "RANLIB=$${RANLIB}" \
28308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28309 TAGS) \
28310 || exit 1
28312 @endif textutils
28314 .PHONY: maybe-install-info-textutils install-info-textutils
28315 maybe-install-info-textutils:
28316 @if textutils
28317 maybe-install-info-textutils: install-info-textutils
28319 install-info-textutils: \
28320 configure-textutils \
28321 info-textutils
28322 @: $(MAKE); $(unstage)
28323 @[ -f ./textutils/Makefile ] || exit 0; \
28324 r=`${PWD_COMMAND}`; export r; \
28325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28326 $(HOST_EXPORTS) \
28327 for flag in $(EXTRA_HOST_FLAGS) ; do \
28328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28329 done; \
28330 echo "Doing install-info in textutils" ; \
28331 (cd $(HOST_SUBDIR)/textutils && \
28332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28334 "RANLIB=$${RANLIB}" \
28335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28336 install-info) \
28337 || exit 1
28339 @endif textutils
28341 .PHONY: maybe-install-html-textutils install-html-textutils
28342 maybe-install-html-textutils:
28343 @if textutils
28344 maybe-install-html-textutils: install-html-textutils
28346 install-html-textutils: \
28347 configure-textutils \
28348 html-textutils
28349 @: $(MAKE); $(unstage)
28350 @[ -f ./textutils/Makefile ] || exit 0; \
28351 r=`${PWD_COMMAND}`; export r; \
28352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28353 $(HOST_EXPORTS) \
28354 for flag in $(EXTRA_HOST_FLAGS) ; do \
28355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28356 done; \
28357 echo "Doing install-html in textutils" ; \
28358 (cd $(HOST_SUBDIR)/textutils && \
28359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28361 "RANLIB=$${RANLIB}" \
28362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28363 install-html) \
28364 || exit 1
28366 @endif textutils
28368 .PHONY: maybe-installcheck-textutils installcheck-textutils
28369 maybe-installcheck-textutils:
28370 @if textutils
28371 maybe-installcheck-textutils: installcheck-textutils
28373 installcheck-textutils: \
28374 configure-textutils
28375 @: $(MAKE); $(unstage)
28376 @[ -f ./textutils/Makefile ] || exit 0; \
28377 r=`${PWD_COMMAND}`; export r; \
28378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28379 $(HOST_EXPORTS) \
28380 for flag in $(EXTRA_HOST_FLAGS) ; do \
28381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28382 done; \
28383 echo "Doing installcheck in textutils" ; \
28384 (cd $(HOST_SUBDIR)/textutils && \
28385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28387 "RANLIB=$${RANLIB}" \
28388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28389 installcheck) \
28390 || exit 1
28392 @endif textutils
28394 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28395 maybe-mostlyclean-textutils:
28396 @if textutils
28397 maybe-mostlyclean-textutils: mostlyclean-textutils
28399 mostlyclean-textutils:
28400 @: $(MAKE); $(unstage)
28401 @[ -f ./textutils/Makefile ] || exit 0; \
28402 r=`${PWD_COMMAND}`; export r; \
28403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28404 $(HOST_EXPORTS) \
28405 for flag in $(EXTRA_HOST_FLAGS) ; do \
28406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28407 done; \
28408 echo "Doing mostlyclean in textutils" ; \
28409 (cd $(HOST_SUBDIR)/textutils && \
28410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28412 "RANLIB=$${RANLIB}" \
28413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28414 mostlyclean) \
28415 || exit 1
28417 @endif textutils
28419 .PHONY: maybe-clean-textutils clean-textutils
28420 maybe-clean-textutils:
28421 @if textutils
28422 maybe-clean-textutils: clean-textutils
28424 clean-textutils:
28425 @: $(MAKE); $(unstage)
28426 @[ -f ./textutils/Makefile ] || exit 0; \
28427 r=`${PWD_COMMAND}`; export r; \
28428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28429 $(HOST_EXPORTS) \
28430 for flag in $(EXTRA_HOST_FLAGS) ; do \
28431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28432 done; \
28433 echo "Doing clean in textutils" ; \
28434 (cd $(HOST_SUBDIR)/textutils && \
28435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28437 "RANLIB=$${RANLIB}" \
28438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28439 clean) \
28440 || exit 1
28442 @endif textutils
28444 .PHONY: maybe-distclean-textutils distclean-textutils
28445 maybe-distclean-textutils:
28446 @if textutils
28447 maybe-distclean-textutils: distclean-textutils
28449 distclean-textutils:
28450 @: $(MAKE); $(unstage)
28451 @[ -f ./textutils/Makefile ] || exit 0; \
28452 r=`${PWD_COMMAND}`; export r; \
28453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28454 $(HOST_EXPORTS) \
28455 for flag in $(EXTRA_HOST_FLAGS) ; do \
28456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28457 done; \
28458 echo "Doing distclean in textutils" ; \
28459 (cd $(HOST_SUBDIR)/textutils && \
28460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28462 "RANLIB=$${RANLIB}" \
28463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28464 distclean) \
28465 || exit 1
28467 @endif textutils
28469 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28470 maybe-maintainer-clean-textutils:
28471 @if textutils
28472 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28474 maintainer-clean-textutils:
28475 @: $(MAKE); $(unstage)
28476 @[ -f ./textutils/Makefile ] || exit 0; \
28477 r=`${PWD_COMMAND}`; export r; \
28478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28479 $(HOST_EXPORTS) \
28480 for flag in $(EXTRA_HOST_FLAGS) ; do \
28481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28482 done; \
28483 echo "Doing maintainer-clean in textutils" ; \
28484 (cd $(HOST_SUBDIR)/textutils && \
28485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28487 "RANLIB=$${RANLIB}" \
28488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28489 maintainer-clean) \
28490 || exit 1
28492 @endif textutils
28496 .PHONY: configure-time maybe-configure-time
28497 maybe-configure-time:
28498 @if gcc-bootstrap
28499 configure-time: stage_current
28500 @endif gcc-bootstrap
28501 @if time
28502 maybe-configure-time: configure-time
28503 configure-time:
28504 @: $(MAKE); $(unstage)
28505 @r=`${PWD_COMMAND}`; export r; \
28506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28507 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28509 $(HOST_EXPORTS) \
28510 echo Configuring in $(HOST_SUBDIR)/time; \
28511 cd "$(HOST_SUBDIR)/time" || exit 1; \
28512 case $(srcdir) in \
28513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28514 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28516 esac; \
28517 srcdiroption="--srcdir=$${topdir}/time"; \
28518 libsrcdir="$$s/time"; \
28519 $(SHELL) $${libsrcdir}/configure \
28520 $(HOST_CONFIGARGS) $${srcdiroption} \
28521 || exit 1
28522 @endif time
28528 .PHONY: all-time maybe-all-time
28529 maybe-all-time:
28530 @if gcc-bootstrap
28531 all-time: stage_current
28532 @endif gcc-bootstrap
28533 @if time
28534 TARGET-time=all
28535 maybe-all-time: all-time
28536 all-time: configure-time
28537 @: $(MAKE); $(unstage)
28538 @r=`${PWD_COMMAND}`; export r; \
28539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28540 $(HOST_EXPORTS) \
28541 (cd $(HOST_SUBDIR)/time && \
28542 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28543 @endif time
28548 .PHONY: check-time maybe-check-time
28549 maybe-check-time:
28550 @if time
28551 maybe-check-time: check-time
28553 check-time:
28554 @: $(MAKE); $(unstage)
28555 @r=`${PWD_COMMAND}`; export r; \
28556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28557 $(HOST_EXPORTS) \
28558 (cd $(HOST_SUBDIR)/time && \
28559 $(MAKE) $(FLAGS_TO_PASS) check)
28561 @endif time
28563 .PHONY: install-time maybe-install-time
28564 maybe-install-time:
28565 @if time
28566 maybe-install-time: install-time
28568 install-time: installdirs
28569 @: $(MAKE); $(unstage)
28570 @r=`${PWD_COMMAND}`; export r; \
28571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28572 $(HOST_EXPORTS) \
28573 (cd $(HOST_SUBDIR)/time && \
28574 $(MAKE) $(FLAGS_TO_PASS) install)
28576 @endif time
28578 # Other targets (info, dvi, pdf, etc.)
28580 .PHONY: maybe-info-time info-time
28581 maybe-info-time:
28582 @if time
28583 maybe-info-time: info-time
28585 info-time: \
28586 configure-time
28587 @: $(MAKE); $(unstage)
28588 @[ -f ./time/Makefile ] || exit 0; \
28589 r=`${PWD_COMMAND}`; export r; \
28590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28591 $(HOST_EXPORTS) \
28592 for flag in $(EXTRA_HOST_FLAGS) ; do \
28593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28594 done; \
28595 echo "Doing info in time" ; \
28596 (cd $(HOST_SUBDIR)/time && \
28597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28599 "RANLIB=$${RANLIB}" \
28600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28601 info) \
28602 || exit 1
28604 @endif time
28606 .PHONY: maybe-dvi-time dvi-time
28607 maybe-dvi-time:
28608 @if time
28609 maybe-dvi-time: dvi-time
28611 dvi-time: \
28612 configure-time
28613 @: $(MAKE); $(unstage)
28614 @[ -f ./time/Makefile ] || exit 0; \
28615 r=`${PWD_COMMAND}`; export r; \
28616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28617 $(HOST_EXPORTS) \
28618 for flag in $(EXTRA_HOST_FLAGS) ; do \
28619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28620 done; \
28621 echo "Doing dvi in time" ; \
28622 (cd $(HOST_SUBDIR)/time && \
28623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28625 "RANLIB=$${RANLIB}" \
28626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28627 dvi) \
28628 || exit 1
28630 @endif time
28632 .PHONY: maybe-pdf-time pdf-time
28633 maybe-pdf-time:
28634 @if time
28635 maybe-pdf-time: pdf-time
28637 pdf-time: \
28638 configure-time
28639 @: $(MAKE); $(unstage)
28640 @[ -f ./time/Makefile ] || exit 0; \
28641 r=`${PWD_COMMAND}`; export r; \
28642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28643 $(HOST_EXPORTS) \
28644 for flag in $(EXTRA_HOST_FLAGS) ; do \
28645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28646 done; \
28647 echo "Doing pdf in time" ; \
28648 (cd $(HOST_SUBDIR)/time && \
28649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28651 "RANLIB=$${RANLIB}" \
28652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28653 pdf) \
28654 || exit 1
28656 @endif time
28658 .PHONY: maybe-html-time html-time
28659 maybe-html-time:
28660 @if time
28661 maybe-html-time: html-time
28663 html-time: \
28664 configure-time
28665 @: $(MAKE); $(unstage)
28666 @[ -f ./time/Makefile ] || exit 0; \
28667 r=`${PWD_COMMAND}`; export r; \
28668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28669 $(HOST_EXPORTS) \
28670 for flag in $(EXTRA_HOST_FLAGS) ; do \
28671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28672 done; \
28673 echo "Doing html in time" ; \
28674 (cd $(HOST_SUBDIR)/time && \
28675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28677 "RANLIB=$${RANLIB}" \
28678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28679 html) \
28680 || exit 1
28682 @endif time
28684 .PHONY: maybe-TAGS-time TAGS-time
28685 maybe-TAGS-time:
28686 @if time
28687 maybe-TAGS-time: TAGS-time
28689 TAGS-time: \
28690 configure-time
28691 @: $(MAKE); $(unstage)
28692 @[ -f ./time/Makefile ] || exit 0; \
28693 r=`${PWD_COMMAND}`; export r; \
28694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28695 $(HOST_EXPORTS) \
28696 for flag in $(EXTRA_HOST_FLAGS) ; do \
28697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28698 done; \
28699 echo "Doing TAGS in time" ; \
28700 (cd $(HOST_SUBDIR)/time && \
28701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28703 "RANLIB=$${RANLIB}" \
28704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28705 TAGS) \
28706 || exit 1
28708 @endif time
28710 .PHONY: maybe-install-info-time install-info-time
28711 maybe-install-info-time:
28712 @if time
28713 maybe-install-info-time: install-info-time
28715 install-info-time: \
28716 configure-time \
28717 info-time
28718 @: $(MAKE); $(unstage)
28719 @[ -f ./time/Makefile ] || exit 0; \
28720 r=`${PWD_COMMAND}`; export r; \
28721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28722 $(HOST_EXPORTS) \
28723 for flag in $(EXTRA_HOST_FLAGS) ; do \
28724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28725 done; \
28726 echo "Doing install-info in time" ; \
28727 (cd $(HOST_SUBDIR)/time && \
28728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28730 "RANLIB=$${RANLIB}" \
28731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28732 install-info) \
28733 || exit 1
28735 @endif time
28737 .PHONY: maybe-install-html-time install-html-time
28738 maybe-install-html-time:
28739 @if time
28740 maybe-install-html-time: install-html-time
28742 install-html-time: \
28743 configure-time \
28744 html-time
28745 @: $(MAKE); $(unstage)
28746 @[ -f ./time/Makefile ] || exit 0; \
28747 r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(HOST_EXPORTS) \
28750 for flag in $(EXTRA_HOST_FLAGS) ; do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752 done; \
28753 echo "Doing install-html in time" ; \
28754 (cd $(HOST_SUBDIR)/time && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28759 install-html) \
28760 || exit 1
28762 @endif time
28764 .PHONY: maybe-installcheck-time installcheck-time
28765 maybe-installcheck-time:
28766 @if time
28767 maybe-installcheck-time: installcheck-time
28769 installcheck-time: \
28770 configure-time
28771 @: $(MAKE); $(unstage)
28772 @[ -f ./time/Makefile ] || exit 0; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(HOST_EXPORTS) \
28776 for flag in $(EXTRA_HOST_FLAGS) ; do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28778 done; \
28779 echo "Doing installcheck in time" ; \
28780 (cd $(HOST_SUBDIR)/time && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28785 installcheck) \
28786 || exit 1
28788 @endif time
28790 .PHONY: maybe-mostlyclean-time mostlyclean-time
28791 maybe-mostlyclean-time:
28792 @if time
28793 maybe-mostlyclean-time: mostlyclean-time
28795 mostlyclean-time:
28796 @: $(MAKE); $(unstage)
28797 @[ -f ./time/Makefile ] || exit 0; \
28798 r=`${PWD_COMMAND}`; export r; \
28799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28800 $(HOST_EXPORTS) \
28801 for flag in $(EXTRA_HOST_FLAGS) ; do \
28802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28803 done; \
28804 echo "Doing mostlyclean in time" ; \
28805 (cd $(HOST_SUBDIR)/time && \
28806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28808 "RANLIB=$${RANLIB}" \
28809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28810 mostlyclean) \
28811 || exit 1
28813 @endif time
28815 .PHONY: maybe-clean-time clean-time
28816 maybe-clean-time:
28817 @if time
28818 maybe-clean-time: clean-time
28820 clean-time:
28821 @: $(MAKE); $(unstage)
28822 @[ -f ./time/Makefile ] || exit 0; \
28823 r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28825 $(HOST_EXPORTS) \
28826 for flag in $(EXTRA_HOST_FLAGS) ; do \
28827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28828 done; \
28829 echo "Doing clean in time" ; \
28830 (cd $(HOST_SUBDIR)/time && \
28831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28833 "RANLIB=$${RANLIB}" \
28834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28835 clean) \
28836 || exit 1
28838 @endif time
28840 .PHONY: maybe-distclean-time distclean-time
28841 maybe-distclean-time:
28842 @if time
28843 maybe-distclean-time: distclean-time
28845 distclean-time:
28846 @: $(MAKE); $(unstage)
28847 @[ -f ./time/Makefile ] || exit 0; \
28848 r=`${PWD_COMMAND}`; export r; \
28849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28850 $(HOST_EXPORTS) \
28851 for flag in $(EXTRA_HOST_FLAGS) ; do \
28852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28853 done; \
28854 echo "Doing distclean in time" ; \
28855 (cd $(HOST_SUBDIR)/time && \
28856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28858 "RANLIB=$${RANLIB}" \
28859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28860 distclean) \
28861 || exit 1
28863 @endif time
28865 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28866 maybe-maintainer-clean-time:
28867 @if time
28868 maybe-maintainer-clean-time: maintainer-clean-time
28870 maintainer-clean-time:
28871 @: $(MAKE); $(unstage)
28872 @[ -f ./time/Makefile ] || exit 0; \
28873 r=`${PWD_COMMAND}`; export r; \
28874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28875 $(HOST_EXPORTS) \
28876 for flag in $(EXTRA_HOST_FLAGS) ; do \
28877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28878 done; \
28879 echo "Doing maintainer-clean in time" ; \
28880 (cd $(HOST_SUBDIR)/time && \
28881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28883 "RANLIB=$${RANLIB}" \
28884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28885 maintainer-clean) \
28886 || exit 1
28888 @endif time
28892 .PHONY: configure-uudecode maybe-configure-uudecode
28893 maybe-configure-uudecode:
28894 @if gcc-bootstrap
28895 configure-uudecode: stage_current
28896 @endif gcc-bootstrap
28897 @if uudecode
28898 maybe-configure-uudecode: configure-uudecode
28899 configure-uudecode:
28900 @: $(MAKE); $(unstage)
28901 @r=`${PWD_COMMAND}`; export r; \
28902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28903 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28905 $(HOST_EXPORTS) \
28906 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28907 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28908 case $(srcdir) in \
28909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28910 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28912 esac; \
28913 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28914 libsrcdir="$$s/uudecode"; \
28915 $(SHELL) $${libsrcdir}/configure \
28916 $(HOST_CONFIGARGS) $${srcdiroption} \
28917 || exit 1
28918 @endif uudecode
28924 .PHONY: all-uudecode maybe-all-uudecode
28925 maybe-all-uudecode:
28926 @if gcc-bootstrap
28927 all-uudecode: stage_current
28928 @endif gcc-bootstrap
28929 @if uudecode
28930 TARGET-uudecode=all
28931 maybe-all-uudecode: all-uudecode
28932 all-uudecode: configure-uudecode
28933 @: $(MAKE); $(unstage)
28934 @r=`${PWD_COMMAND}`; export r; \
28935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28936 $(HOST_EXPORTS) \
28937 (cd $(HOST_SUBDIR)/uudecode && \
28938 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28939 @endif uudecode
28944 .PHONY: check-uudecode maybe-check-uudecode
28945 maybe-check-uudecode:
28946 @if uudecode
28947 maybe-check-uudecode: check-uudecode
28949 check-uudecode:
28950 @: $(MAKE); $(unstage)
28951 @r=`${PWD_COMMAND}`; export r; \
28952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28953 $(HOST_EXPORTS) \
28954 (cd $(HOST_SUBDIR)/uudecode && \
28955 $(MAKE) $(FLAGS_TO_PASS) check)
28957 @endif uudecode
28959 .PHONY: install-uudecode maybe-install-uudecode
28960 maybe-install-uudecode:
28961 @if uudecode
28962 maybe-install-uudecode: install-uudecode
28964 install-uudecode: installdirs
28965 @: $(MAKE); $(unstage)
28966 @r=`${PWD_COMMAND}`; export r; \
28967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28968 $(HOST_EXPORTS) \
28969 (cd $(HOST_SUBDIR)/uudecode && \
28970 $(MAKE) $(FLAGS_TO_PASS) install)
28972 @endif uudecode
28974 # Other targets (info, dvi, pdf, etc.)
28976 .PHONY: maybe-info-uudecode info-uudecode
28977 maybe-info-uudecode:
28978 @if uudecode
28979 maybe-info-uudecode: info-uudecode
28981 info-uudecode: \
28982 configure-uudecode
28983 @: $(MAKE); $(unstage)
28984 @[ -f ./uudecode/Makefile ] || exit 0; \
28985 r=`${PWD_COMMAND}`; export r; \
28986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28987 $(HOST_EXPORTS) \
28988 for flag in $(EXTRA_HOST_FLAGS) ; do \
28989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28990 done; \
28991 echo "Doing info in uudecode" ; \
28992 (cd $(HOST_SUBDIR)/uudecode && \
28993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28995 "RANLIB=$${RANLIB}" \
28996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28997 info) \
28998 || exit 1
29000 @endif uudecode
29002 .PHONY: maybe-dvi-uudecode dvi-uudecode
29003 maybe-dvi-uudecode:
29004 @if uudecode
29005 maybe-dvi-uudecode: dvi-uudecode
29007 dvi-uudecode: \
29008 configure-uudecode
29009 @: $(MAKE); $(unstage)
29010 @[ -f ./uudecode/Makefile ] || exit 0; \
29011 r=`${PWD_COMMAND}`; export r; \
29012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29013 $(HOST_EXPORTS) \
29014 for flag in $(EXTRA_HOST_FLAGS) ; do \
29015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29016 done; \
29017 echo "Doing dvi in uudecode" ; \
29018 (cd $(HOST_SUBDIR)/uudecode && \
29019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29021 "RANLIB=$${RANLIB}" \
29022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29023 dvi) \
29024 || exit 1
29026 @endif uudecode
29028 .PHONY: maybe-pdf-uudecode pdf-uudecode
29029 maybe-pdf-uudecode:
29030 @if uudecode
29031 maybe-pdf-uudecode: pdf-uudecode
29033 pdf-uudecode: \
29034 configure-uudecode
29035 @: $(MAKE); $(unstage)
29036 @[ -f ./uudecode/Makefile ] || exit 0; \
29037 r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(HOST_EXPORTS) \
29040 for flag in $(EXTRA_HOST_FLAGS) ; do \
29041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29042 done; \
29043 echo "Doing pdf in uudecode" ; \
29044 (cd $(HOST_SUBDIR)/uudecode && \
29045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29047 "RANLIB=$${RANLIB}" \
29048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29049 pdf) \
29050 || exit 1
29052 @endif uudecode
29054 .PHONY: maybe-html-uudecode html-uudecode
29055 maybe-html-uudecode:
29056 @if uudecode
29057 maybe-html-uudecode: html-uudecode
29059 html-uudecode: \
29060 configure-uudecode
29061 @: $(MAKE); $(unstage)
29062 @[ -f ./uudecode/Makefile ] || exit 0; \
29063 r=`${PWD_COMMAND}`; export r; \
29064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29065 $(HOST_EXPORTS) \
29066 for flag in $(EXTRA_HOST_FLAGS) ; do \
29067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29068 done; \
29069 echo "Doing html in uudecode" ; \
29070 (cd $(HOST_SUBDIR)/uudecode && \
29071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29073 "RANLIB=$${RANLIB}" \
29074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29075 html) \
29076 || exit 1
29078 @endif uudecode
29080 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
29081 maybe-TAGS-uudecode:
29082 @if uudecode
29083 maybe-TAGS-uudecode: TAGS-uudecode
29085 TAGS-uudecode: \
29086 configure-uudecode
29087 @: $(MAKE); $(unstage)
29088 @[ -f ./uudecode/Makefile ] || exit 0; \
29089 r=`${PWD_COMMAND}`; export r; \
29090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29091 $(HOST_EXPORTS) \
29092 for flag in $(EXTRA_HOST_FLAGS) ; do \
29093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29094 done; \
29095 echo "Doing TAGS in uudecode" ; \
29096 (cd $(HOST_SUBDIR)/uudecode && \
29097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29099 "RANLIB=$${RANLIB}" \
29100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29101 TAGS) \
29102 || exit 1
29104 @endif uudecode
29106 .PHONY: maybe-install-info-uudecode install-info-uudecode
29107 maybe-install-info-uudecode:
29108 @if uudecode
29109 maybe-install-info-uudecode: install-info-uudecode
29111 install-info-uudecode: \
29112 configure-uudecode \
29113 info-uudecode
29114 @: $(MAKE); $(unstage)
29115 @[ -f ./uudecode/Makefile ] || exit 0; \
29116 r=`${PWD_COMMAND}`; export r; \
29117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29118 $(HOST_EXPORTS) \
29119 for flag in $(EXTRA_HOST_FLAGS) ; do \
29120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29121 done; \
29122 echo "Doing install-info in uudecode" ; \
29123 (cd $(HOST_SUBDIR)/uudecode && \
29124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29126 "RANLIB=$${RANLIB}" \
29127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29128 install-info) \
29129 || exit 1
29131 @endif uudecode
29133 .PHONY: maybe-install-html-uudecode install-html-uudecode
29134 maybe-install-html-uudecode:
29135 @if uudecode
29136 maybe-install-html-uudecode: install-html-uudecode
29138 install-html-uudecode: \
29139 configure-uudecode \
29140 html-uudecode
29141 @: $(MAKE); $(unstage)
29142 @[ -f ./uudecode/Makefile ] || exit 0; \
29143 r=`${PWD_COMMAND}`; export r; \
29144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29145 $(HOST_EXPORTS) \
29146 for flag in $(EXTRA_HOST_FLAGS) ; do \
29147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29148 done; \
29149 echo "Doing install-html in uudecode" ; \
29150 (cd $(HOST_SUBDIR)/uudecode && \
29151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29153 "RANLIB=$${RANLIB}" \
29154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29155 install-html) \
29156 || exit 1
29158 @endif uudecode
29160 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
29161 maybe-installcheck-uudecode:
29162 @if uudecode
29163 maybe-installcheck-uudecode: installcheck-uudecode
29165 installcheck-uudecode: \
29166 configure-uudecode
29167 @: $(MAKE); $(unstage)
29168 @[ -f ./uudecode/Makefile ] || exit 0; \
29169 r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 $(HOST_EXPORTS) \
29172 for flag in $(EXTRA_HOST_FLAGS) ; do \
29173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29174 done; \
29175 echo "Doing installcheck in uudecode" ; \
29176 (cd $(HOST_SUBDIR)/uudecode && \
29177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29179 "RANLIB=$${RANLIB}" \
29180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29181 installcheck) \
29182 || exit 1
29184 @endif uudecode
29186 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
29187 maybe-mostlyclean-uudecode:
29188 @if uudecode
29189 maybe-mostlyclean-uudecode: mostlyclean-uudecode
29191 mostlyclean-uudecode:
29192 @: $(MAKE); $(unstage)
29193 @[ -f ./uudecode/Makefile ] || exit 0; \
29194 r=`${PWD_COMMAND}`; export r; \
29195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29196 $(HOST_EXPORTS) \
29197 for flag in $(EXTRA_HOST_FLAGS) ; do \
29198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29199 done; \
29200 echo "Doing mostlyclean in uudecode" ; \
29201 (cd $(HOST_SUBDIR)/uudecode && \
29202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29204 "RANLIB=$${RANLIB}" \
29205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29206 mostlyclean) \
29207 || exit 1
29209 @endif uudecode
29211 .PHONY: maybe-clean-uudecode clean-uudecode
29212 maybe-clean-uudecode:
29213 @if uudecode
29214 maybe-clean-uudecode: clean-uudecode
29216 clean-uudecode:
29217 @: $(MAKE); $(unstage)
29218 @[ -f ./uudecode/Makefile ] || exit 0; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(HOST_EXPORTS) \
29222 for flag in $(EXTRA_HOST_FLAGS) ; do \
29223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29224 done; \
29225 echo "Doing clean in uudecode" ; \
29226 (cd $(HOST_SUBDIR)/uudecode && \
29227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29229 "RANLIB=$${RANLIB}" \
29230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29231 clean) \
29232 || exit 1
29234 @endif uudecode
29236 .PHONY: maybe-distclean-uudecode distclean-uudecode
29237 maybe-distclean-uudecode:
29238 @if uudecode
29239 maybe-distclean-uudecode: distclean-uudecode
29241 distclean-uudecode:
29242 @: $(MAKE); $(unstage)
29243 @[ -f ./uudecode/Makefile ] || exit 0; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(HOST_EXPORTS) \
29247 for flag in $(EXTRA_HOST_FLAGS) ; do \
29248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29249 done; \
29250 echo "Doing distclean in uudecode" ; \
29251 (cd $(HOST_SUBDIR)/uudecode && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29256 distclean) \
29257 || exit 1
29259 @endif uudecode
29261 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29262 maybe-maintainer-clean-uudecode:
29263 @if uudecode
29264 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29266 maintainer-clean-uudecode:
29267 @: $(MAKE); $(unstage)
29268 @[ -f ./uudecode/Makefile ] || exit 0; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(HOST_EXPORTS) \
29272 for flag in $(EXTRA_HOST_FLAGS) ; do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 echo "Doing maintainer-clean in uudecode" ; \
29276 (cd $(HOST_SUBDIR)/uudecode && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29281 maintainer-clean) \
29282 || exit 1
29284 @endif uudecode
29288 .PHONY: configure-wdiff maybe-configure-wdiff
29289 maybe-configure-wdiff:
29290 @if gcc-bootstrap
29291 configure-wdiff: stage_current
29292 @endif gcc-bootstrap
29293 @if wdiff
29294 maybe-configure-wdiff: configure-wdiff
29295 configure-wdiff:
29296 @: $(MAKE); $(unstage)
29297 @r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29301 $(HOST_EXPORTS) \
29302 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29303 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29304 case $(srcdir) in \
29305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29306 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29308 esac; \
29309 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29310 libsrcdir="$$s/wdiff"; \
29311 $(SHELL) $${libsrcdir}/configure \
29312 $(HOST_CONFIGARGS) $${srcdiroption} \
29313 || exit 1
29314 @endif wdiff
29320 .PHONY: all-wdiff maybe-all-wdiff
29321 maybe-all-wdiff:
29322 @if gcc-bootstrap
29323 all-wdiff: stage_current
29324 @endif gcc-bootstrap
29325 @if wdiff
29326 TARGET-wdiff=all
29327 maybe-all-wdiff: all-wdiff
29328 all-wdiff: configure-wdiff
29329 @: $(MAKE); $(unstage)
29330 @r=`${PWD_COMMAND}`; export r; \
29331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29332 $(HOST_EXPORTS) \
29333 (cd $(HOST_SUBDIR)/wdiff && \
29334 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29335 @endif wdiff
29340 .PHONY: check-wdiff maybe-check-wdiff
29341 maybe-check-wdiff:
29342 @if wdiff
29343 maybe-check-wdiff: check-wdiff
29345 check-wdiff:
29346 @: $(MAKE); $(unstage)
29347 @r=`${PWD_COMMAND}`; export r; \
29348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29349 $(HOST_EXPORTS) \
29350 (cd $(HOST_SUBDIR)/wdiff && \
29351 $(MAKE) $(FLAGS_TO_PASS) check)
29353 @endif wdiff
29355 .PHONY: install-wdiff maybe-install-wdiff
29356 maybe-install-wdiff:
29357 @if wdiff
29358 maybe-install-wdiff: install-wdiff
29360 install-wdiff: installdirs
29361 @: $(MAKE); $(unstage)
29362 @r=`${PWD_COMMAND}`; export r; \
29363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29364 $(HOST_EXPORTS) \
29365 (cd $(HOST_SUBDIR)/wdiff && \
29366 $(MAKE) $(FLAGS_TO_PASS) install)
29368 @endif wdiff
29370 # Other targets (info, dvi, pdf, etc.)
29372 .PHONY: maybe-info-wdiff info-wdiff
29373 maybe-info-wdiff:
29374 @if wdiff
29375 maybe-info-wdiff: info-wdiff
29377 info-wdiff: \
29378 configure-wdiff
29379 @: $(MAKE); $(unstage)
29380 @[ -f ./wdiff/Makefile ] || exit 0; \
29381 r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29383 $(HOST_EXPORTS) \
29384 for flag in $(EXTRA_HOST_FLAGS) ; do \
29385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29386 done; \
29387 echo "Doing info in wdiff" ; \
29388 (cd $(HOST_SUBDIR)/wdiff && \
29389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29391 "RANLIB=$${RANLIB}" \
29392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29393 info) \
29394 || exit 1
29396 @endif wdiff
29398 .PHONY: maybe-dvi-wdiff dvi-wdiff
29399 maybe-dvi-wdiff:
29400 @if wdiff
29401 maybe-dvi-wdiff: dvi-wdiff
29403 dvi-wdiff: \
29404 configure-wdiff
29405 @: $(MAKE); $(unstage)
29406 @[ -f ./wdiff/Makefile ] || exit 0; \
29407 r=`${PWD_COMMAND}`; export r; \
29408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29409 $(HOST_EXPORTS) \
29410 for flag in $(EXTRA_HOST_FLAGS) ; do \
29411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29412 done; \
29413 echo "Doing dvi in wdiff" ; \
29414 (cd $(HOST_SUBDIR)/wdiff && \
29415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29417 "RANLIB=$${RANLIB}" \
29418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29419 dvi) \
29420 || exit 1
29422 @endif wdiff
29424 .PHONY: maybe-pdf-wdiff pdf-wdiff
29425 maybe-pdf-wdiff:
29426 @if wdiff
29427 maybe-pdf-wdiff: pdf-wdiff
29429 pdf-wdiff: \
29430 configure-wdiff
29431 @: $(MAKE); $(unstage)
29432 @[ -f ./wdiff/Makefile ] || exit 0; \
29433 r=`${PWD_COMMAND}`; export r; \
29434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29435 $(HOST_EXPORTS) \
29436 for flag in $(EXTRA_HOST_FLAGS) ; do \
29437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29438 done; \
29439 echo "Doing pdf in wdiff" ; \
29440 (cd $(HOST_SUBDIR)/wdiff && \
29441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29443 "RANLIB=$${RANLIB}" \
29444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29445 pdf) \
29446 || exit 1
29448 @endif wdiff
29450 .PHONY: maybe-html-wdiff html-wdiff
29451 maybe-html-wdiff:
29452 @if wdiff
29453 maybe-html-wdiff: html-wdiff
29455 html-wdiff: \
29456 configure-wdiff
29457 @: $(MAKE); $(unstage)
29458 @[ -f ./wdiff/Makefile ] || exit 0; \
29459 r=`${PWD_COMMAND}`; export r; \
29460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29461 $(HOST_EXPORTS) \
29462 for flag in $(EXTRA_HOST_FLAGS) ; do \
29463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29464 done; \
29465 echo "Doing html in wdiff" ; \
29466 (cd $(HOST_SUBDIR)/wdiff && \
29467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29469 "RANLIB=$${RANLIB}" \
29470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29471 html) \
29472 || exit 1
29474 @endif wdiff
29476 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29477 maybe-TAGS-wdiff:
29478 @if wdiff
29479 maybe-TAGS-wdiff: TAGS-wdiff
29481 TAGS-wdiff: \
29482 configure-wdiff
29483 @: $(MAKE); $(unstage)
29484 @[ -f ./wdiff/Makefile ] || exit 0; \
29485 r=`${PWD_COMMAND}`; export r; \
29486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29487 $(HOST_EXPORTS) \
29488 for flag in $(EXTRA_HOST_FLAGS) ; do \
29489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29490 done; \
29491 echo "Doing TAGS in wdiff" ; \
29492 (cd $(HOST_SUBDIR)/wdiff && \
29493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29495 "RANLIB=$${RANLIB}" \
29496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29497 TAGS) \
29498 || exit 1
29500 @endif wdiff
29502 .PHONY: maybe-install-info-wdiff install-info-wdiff
29503 maybe-install-info-wdiff:
29504 @if wdiff
29505 maybe-install-info-wdiff: install-info-wdiff
29507 install-info-wdiff: \
29508 configure-wdiff \
29509 info-wdiff
29510 @: $(MAKE); $(unstage)
29511 @[ -f ./wdiff/Makefile ] || exit 0; \
29512 r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 $(HOST_EXPORTS) \
29515 for flag in $(EXTRA_HOST_FLAGS) ; do \
29516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29517 done; \
29518 echo "Doing install-info in wdiff" ; \
29519 (cd $(HOST_SUBDIR)/wdiff && \
29520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29522 "RANLIB=$${RANLIB}" \
29523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29524 install-info) \
29525 || exit 1
29527 @endif wdiff
29529 .PHONY: maybe-install-html-wdiff install-html-wdiff
29530 maybe-install-html-wdiff:
29531 @if wdiff
29532 maybe-install-html-wdiff: install-html-wdiff
29534 install-html-wdiff: \
29535 configure-wdiff \
29536 html-wdiff
29537 @: $(MAKE); $(unstage)
29538 @[ -f ./wdiff/Makefile ] || exit 0; \
29539 r=`${PWD_COMMAND}`; export r; \
29540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29541 $(HOST_EXPORTS) \
29542 for flag in $(EXTRA_HOST_FLAGS) ; do \
29543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29544 done; \
29545 echo "Doing install-html in wdiff" ; \
29546 (cd $(HOST_SUBDIR)/wdiff && \
29547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29549 "RANLIB=$${RANLIB}" \
29550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29551 install-html) \
29552 || exit 1
29554 @endif wdiff
29556 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29557 maybe-installcheck-wdiff:
29558 @if wdiff
29559 maybe-installcheck-wdiff: installcheck-wdiff
29561 installcheck-wdiff: \
29562 configure-wdiff
29563 @: $(MAKE); $(unstage)
29564 @[ -f ./wdiff/Makefile ] || exit 0; \
29565 r=`${PWD_COMMAND}`; export r; \
29566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29567 $(HOST_EXPORTS) \
29568 for flag in $(EXTRA_HOST_FLAGS) ; do \
29569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29570 done; \
29571 echo "Doing installcheck in wdiff" ; \
29572 (cd $(HOST_SUBDIR)/wdiff && \
29573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29575 "RANLIB=$${RANLIB}" \
29576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29577 installcheck) \
29578 || exit 1
29580 @endif wdiff
29582 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29583 maybe-mostlyclean-wdiff:
29584 @if wdiff
29585 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29587 mostlyclean-wdiff:
29588 @: $(MAKE); $(unstage)
29589 @[ -f ./wdiff/Makefile ] || exit 0; \
29590 r=`${PWD_COMMAND}`; export r; \
29591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29592 $(HOST_EXPORTS) \
29593 for flag in $(EXTRA_HOST_FLAGS) ; do \
29594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29595 done; \
29596 echo "Doing mostlyclean in wdiff" ; \
29597 (cd $(HOST_SUBDIR)/wdiff && \
29598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29600 "RANLIB=$${RANLIB}" \
29601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29602 mostlyclean) \
29603 || exit 1
29605 @endif wdiff
29607 .PHONY: maybe-clean-wdiff clean-wdiff
29608 maybe-clean-wdiff:
29609 @if wdiff
29610 maybe-clean-wdiff: clean-wdiff
29612 clean-wdiff:
29613 @: $(MAKE); $(unstage)
29614 @[ -f ./wdiff/Makefile ] || exit 0; \
29615 r=`${PWD_COMMAND}`; export r; \
29616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29617 $(HOST_EXPORTS) \
29618 for flag in $(EXTRA_HOST_FLAGS) ; do \
29619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29620 done; \
29621 echo "Doing clean in wdiff" ; \
29622 (cd $(HOST_SUBDIR)/wdiff && \
29623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29625 "RANLIB=$${RANLIB}" \
29626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29627 clean) \
29628 || exit 1
29630 @endif wdiff
29632 .PHONY: maybe-distclean-wdiff distclean-wdiff
29633 maybe-distclean-wdiff:
29634 @if wdiff
29635 maybe-distclean-wdiff: distclean-wdiff
29637 distclean-wdiff:
29638 @: $(MAKE); $(unstage)
29639 @[ -f ./wdiff/Makefile ] || exit 0; \
29640 r=`${PWD_COMMAND}`; export r; \
29641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29642 $(HOST_EXPORTS) \
29643 for flag in $(EXTRA_HOST_FLAGS) ; do \
29644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29645 done; \
29646 echo "Doing distclean in wdiff" ; \
29647 (cd $(HOST_SUBDIR)/wdiff && \
29648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29650 "RANLIB=$${RANLIB}" \
29651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29652 distclean) \
29653 || exit 1
29655 @endif wdiff
29657 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29658 maybe-maintainer-clean-wdiff:
29659 @if wdiff
29660 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29662 maintainer-clean-wdiff:
29663 @: $(MAKE); $(unstage)
29664 @[ -f ./wdiff/Makefile ] || exit 0; \
29665 r=`${PWD_COMMAND}`; export r; \
29666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29667 $(HOST_EXPORTS) \
29668 for flag in $(EXTRA_HOST_FLAGS) ; do \
29669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29670 done; \
29671 echo "Doing maintainer-clean in wdiff" ; \
29672 (cd $(HOST_SUBDIR)/wdiff && \
29673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29675 "RANLIB=$${RANLIB}" \
29676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29677 maintainer-clean) \
29678 || exit 1
29680 @endif wdiff
29684 .PHONY: configure-zip maybe-configure-zip
29685 maybe-configure-zip:
29686 @if gcc-bootstrap
29687 configure-zip: stage_current
29688 @endif gcc-bootstrap
29689 @if zip
29690 maybe-configure-zip: configure-zip
29691 configure-zip:
29692 @: $(MAKE); $(unstage)
29693 @r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29695 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29697 $(HOST_EXPORTS) \
29698 echo Configuring in $(HOST_SUBDIR)/zip; \
29699 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29700 case $(srcdir) in \
29701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29702 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29704 esac; \
29705 srcdiroption="--srcdir=$${topdir}/zip"; \
29706 libsrcdir="$$s/zip"; \
29707 $(SHELL) $${libsrcdir}/configure \
29708 $(HOST_CONFIGARGS) $${srcdiroption} \
29709 || exit 1
29710 @endif zip
29716 .PHONY: all-zip maybe-all-zip
29717 maybe-all-zip:
29718 @if gcc-bootstrap
29719 all-zip: stage_current
29720 @endif gcc-bootstrap
29721 @if zip
29722 TARGET-zip=all
29723 maybe-all-zip: all-zip
29724 all-zip: configure-zip
29725 @: $(MAKE); $(unstage)
29726 @r=`${PWD_COMMAND}`; export r; \
29727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29728 $(HOST_EXPORTS) \
29729 (cd $(HOST_SUBDIR)/zip && \
29730 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29731 @endif zip
29736 .PHONY: check-zip maybe-check-zip
29737 maybe-check-zip:
29738 @if zip
29739 maybe-check-zip: check-zip
29741 # This module is only tested in a native toolchain.
29742 check-zip:
29743 @: $(MAKE); $(unstage)
29744 @if [ '$(host)' = '$(target)' ] ; then \
29745 r=`${PWD_COMMAND}`; export r; \
29746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29747 $(HOST_EXPORTS) \
29748 (cd $(HOST_SUBDIR)/zip && \
29749 $(MAKE) $(FLAGS_TO_PASS) check); \
29752 @endif zip
29754 .PHONY: install-zip maybe-install-zip
29755 maybe-install-zip:
29756 @if zip
29757 maybe-install-zip: install-zip
29759 install-zip: installdirs
29760 @: $(MAKE); $(unstage)
29761 @r=`${PWD_COMMAND}`; export r; \
29762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29763 $(HOST_EXPORTS) \
29764 (cd $(HOST_SUBDIR)/zip && \
29765 $(MAKE) $(FLAGS_TO_PASS) install)
29767 @endif zip
29769 # Other targets (info, dvi, pdf, etc.)
29771 .PHONY: maybe-info-zip info-zip
29772 maybe-info-zip:
29773 @if zip
29774 maybe-info-zip: info-zip
29776 info-zip: \
29777 configure-zip
29778 @: $(MAKE); $(unstage)
29779 @[ -f ./zip/Makefile ] || exit 0; \
29780 r=`${PWD_COMMAND}`; export r; \
29781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29782 $(HOST_EXPORTS) \
29783 for flag in $(EXTRA_HOST_FLAGS) ; do \
29784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29785 done; \
29786 echo "Doing info in zip" ; \
29787 (cd $(HOST_SUBDIR)/zip && \
29788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29790 "RANLIB=$${RANLIB}" \
29791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29792 info) \
29793 || exit 1
29795 @endif zip
29797 .PHONY: maybe-dvi-zip dvi-zip
29798 maybe-dvi-zip:
29799 @if zip
29800 maybe-dvi-zip: dvi-zip
29802 dvi-zip: \
29803 configure-zip
29804 @: $(MAKE); $(unstage)
29805 @[ -f ./zip/Makefile ] || exit 0; \
29806 r=`${PWD_COMMAND}`; export r; \
29807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29808 $(HOST_EXPORTS) \
29809 for flag in $(EXTRA_HOST_FLAGS) ; do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 echo "Doing dvi in zip" ; \
29813 (cd $(HOST_SUBDIR)/zip && \
29814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29816 "RANLIB=$${RANLIB}" \
29817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29818 dvi) \
29819 || exit 1
29821 @endif zip
29823 .PHONY: maybe-pdf-zip pdf-zip
29824 maybe-pdf-zip:
29825 @if zip
29826 maybe-pdf-zip: pdf-zip
29828 pdf-zip: \
29829 configure-zip
29830 @: $(MAKE); $(unstage)
29831 @[ -f ./zip/Makefile ] || exit 0; \
29832 r=`${PWD_COMMAND}`; export r; \
29833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29834 $(HOST_EXPORTS) \
29835 for flag in $(EXTRA_HOST_FLAGS) ; do \
29836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29837 done; \
29838 echo "Doing pdf in zip" ; \
29839 (cd $(HOST_SUBDIR)/zip && \
29840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29842 "RANLIB=$${RANLIB}" \
29843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29844 pdf) \
29845 || exit 1
29847 @endif zip
29849 .PHONY: maybe-html-zip html-zip
29850 maybe-html-zip:
29851 @if zip
29852 maybe-html-zip: html-zip
29854 html-zip: \
29855 configure-zip
29856 @: $(MAKE); $(unstage)
29857 @[ -f ./zip/Makefile ] || exit 0; \
29858 r=`${PWD_COMMAND}`; export r; \
29859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29860 $(HOST_EXPORTS) \
29861 for flag in $(EXTRA_HOST_FLAGS) ; do \
29862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29863 done; \
29864 echo "Doing html in zip" ; \
29865 (cd $(HOST_SUBDIR)/zip && \
29866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29868 "RANLIB=$${RANLIB}" \
29869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29870 html) \
29871 || exit 1
29873 @endif zip
29875 .PHONY: maybe-TAGS-zip TAGS-zip
29876 maybe-TAGS-zip:
29877 @if zip
29878 maybe-TAGS-zip: TAGS-zip
29880 TAGS-zip: \
29881 configure-zip
29882 @: $(MAKE); $(unstage)
29883 @[ -f ./zip/Makefile ] || exit 0; \
29884 r=`${PWD_COMMAND}`; export r; \
29885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29886 $(HOST_EXPORTS) \
29887 for flag in $(EXTRA_HOST_FLAGS) ; do \
29888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29889 done; \
29890 echo "Doing TAGS in zip" ; \
29891 (cd $(HOST_SUBDIR)/zip && \
29892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29894 "RANLIB=$${RANLIB}" \
29895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29896 TAGS) \
29897 || exit 1
29899 @endif zip
29901 .PHONY: maybe-install-info-zip install-info-zip
29902 maybe-install-info-zip:
29903 @if zip
29904 maybe-install-info-zip: install-info-zip
29906 install-info-zip: \
29907 configure-zip \
29908 info-zip
29909 @: $(MAKE); $(unstage)
29910 @[ -f ./zip/Makefile ] || exit 0; \
29911 r=`${PWD_COMMAND}`; export r; \
29912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29913 $(HOST_EXPORTS) \
29914 for flag in $(EXTRA_HOST_FLAGS) ; do \
29915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29916 done; \
29917 echo "Doing install-info in zip" ; \
29918 (cd $(HOST_SUBDIR)/zip && \
29919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29921 "RANLIB=$${RANLIB}" \
29922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29923 install-info) \
29924 || exit 1
29926 @endif zip
29928 .PHONY: maybe-install-html-zip install-html-zip
29929 maybe-install-html-zip:
29930 @if zip
29931 maybe-install-html-zip: install-html-zip
29933 install-html-zip: \
29934 configure-zip \
29935 html-zip
29936 @: $(MAKE); $(unstage)
29937 @[ -f ./zip/Makefile ] || exit 0; \
29938 r=`${PWD_COMMAND}`; export r; \
29939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29940 $(HOST_EXPORTS) \
29941 for flag in $(EXTRA_HOST_FLAGS) ; do \
29942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29943 done; \
29944 echo "Doing install-html in zip" ; \
29945 (cd $(HOST_SUBDIR)/zip && \
29946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29948 "RANLIB=$${RANLIB}" \
29949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29950 install-html) \
29951 || exit 1
29953 @endif zip
29955 .PHONY: maybe-installcheck-zip installcheck-zip
29956 maybe-installcheck-zip:
29957 @if zip
29958 maybe-installcheck-zip: installcheck-zip
29960 installcheck-zip: \
29961 configure-zip
29962 @: $(MAKE); $(unstage)
29963 @[ -f ./zip/Makefile ] || exit 0; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 for flag in $(EXTRA_HOST_FLAGS) ; do \
29968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29969 done; \
29970 echo "Doing installcheck in zip" ; \
29971 (cd $(HOST_SUBDIR)/zip && \
29972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29974 "RANLIB=$${RANLIB}" \
29975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29976 installcheck) \
29977 || exit 1
29979 @endif zip
29981 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29982 maybe-mostlyclean-zip:
29983 @if zip
29984 maybe-mostlyclean-zip: mostlyclean-zip
29986 mostlyclean-zip:
29987 @: $(MAKE); $(unstage)
29988 @[ -f ./zip/Makefile ] || exit 0; \
29989 r=`${PWD_COMMAND}`; export r; \
29990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29991 $(HOST_EXPORTS) \
29992 for flag in $(EXTRA_HOST_FLAGS) ; do \
29993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29994 done; \
29995 echo "Doing mostlyclean in zip" ; \
29996 (cd $(HOST_SUBDIR)/zip && \
29997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29999 "RANLIB=$${RANLIB}" \
30000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30001 mostlyclean) \
30002 || exit 1
30004 @endif zip
30006 .PHONY: maybe-clean-zip clean-zip
30007 maybe-clean-zip:
30008 @if zip
30009 maybe-clean-zip: clean-zip
30011 clean-zip:
30012 @: $(MAKE); $(unstage)
30013 @[ -f ./zip/Makefile ] || exit 0; \
30014 r=`${PWD_COMMAND}`; export r; \
30015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30016 $(HOST_EXPORTS) \
30017 for flag in $(EXTRA_HOST_FLAGS) ; do \
30018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30019 done; \
30020 echo "Doing clean in zip" ; \
30021 (cd $(HOST_SUBDIR)/zip && \
30022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30024 "RANLIB=$${RANLIB}" \
30025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30026 clean) \
30027 || exit 1
30029 @endif zip
30031 .PHONY: maybe-distclean-zip distclean-zip
30032 maybe-distclean-zip:
30033 @if zip
30034 maybe-distclean-zip: distclean-zip
30036 distclean-zip:
30037 @: $(MAKE); $(unstage)
30038 @[ -f ./zip/Makefile ] || exit 0; \
30039 r=`${PWD_COMMAND}`; export r; \
30040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30041 $(HOST_EXPORTS) \
30042 for flag in $(EXTRA_HOST_FLAGS) ; do \
30043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30044 done; \
30045 echo "Doing distclean in zip" ; \
30046 (cd $(HOST_SUBDIR)/zip && \
30047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30049 "RANLIB=$${RANLIB}" \
30050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30051 distclean) \
30052 || exit 1
30054 @endif zip
30056 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
30057 maybe-maintainer-clean-zip:
30058 @if zip
30059 maybe-maintainer-clean-zip: maintainer-clean-zip
30061 maintainer-clean-zip:
30062 @: $(MAKE); $(unstage)
30063 @[ -f ./zip/Makefile ] || exit 0; \
30064 r=`${PWD_COMMAND}`; export r; \
30065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30066 $(HOST_EXPORTS) \
30067 for flag in $(EXTRA_HOST_FLAGS) ; do \
30068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30069 done; \
30070 echo "Doing maintainer-clean in zip" ; \
30071 (cd $(HOST_SUBDIR)/zip && \
30072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30074 "RANLIB=$${RANLIB}" \
30075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30076 maintainer-clean) \
30077 || exit 1
30079 @endif zip
30083 .PHONY: configure-zlib maybe-configure-zlib
30084 maybe-configure-zlib:
30085 @if gcc-bootstrap
30086 configure-zlib: stage_current
30087 @endif gcc-bootstrap
30088 @if zlib
30089 maybe-configure-zlib: configure-zlib
30090 configure-zlib:
30091 @r=`${PWD_COMMAND}`; export r; \
30092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30093 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30095 $(HOST_EXPORTS) \
30096 echo Configuring in $(HOST_SUBDIR)/zlib; \
30097 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30098 case $(srcdir) in \
30099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30100 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30102 esac; \
30103 srcdiroption="--srcdir=$${topdir}/zlib"; \
30104 libsrcdir="$$s/zlib"; \
30105 $(SHELL) $${libsrcdir}/configure \
30106 $(HOST_CONFIGARGS) $${srcdiroption} \
30107 || exit 1
30108 @endif zlib
30112 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30113 maybe-configure-stage1-zlib:
30114 @if zlib-bootstrap
30115 maybe-configure-stage1-zlib: configure-stage1-zlib
30116 configure-stage1-zlib:
30117 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30119 @r=`${PWD_COMMAND}`; export r; \
30120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30121 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30122 $(HOST_EXPORTS) \
30123 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
30124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30125 cd $(HOST_SUBDIR)/zlib || exit 1; \
30126 case $(srcdir) in \
30127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30128 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30130 esac; \
30131 srcdiroption="--srcdir=$${topdir}/zlib"; \
30132 libsrcdir="$$s/zlib"; \
30133 $(SHELL) $${libsrcdir}/configure \
30134 $(HOST_CONFIGARGS) $${srcdiroption} \
30136 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30137 @endif zlib-bootstrap
30139 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30140 maybe-configure-stage2-zlib:
30141 @if zlib-bootstrap
30142 maybe-configure-stage2-zlib: configure-stage2-zlib
30143 configure-stage2-zlib:
30144 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30146 @r=`${PWD_COMMAND}`; export r; \
30147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30148 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30149 $(HOST_EXPORTS) \
30150 $(POSTSTAGE1_HOST_EXPORTS) \
30151 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
30152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30153 cd $(HOST_SUBDIR)/zlib || exit 1; \
30154 case $(srcdir) in \
30155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30156 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30158 esac; \
30159 srcdiroption="--srcdir=$${topdir}/zlib"; \
30160 libsrcdir="$$s/zlib"; \
30161 $(SHELL) $${libsrcdir}/configure \
30162 $(HOST_CONFIGARGS) $${srcdiroption} \
30163 --with-build-libsubdir=$(HOST_SUBDIR) \
30164 @stage2_werror_flag@
30165 @endif zlib-bootstrap
30167 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30168 maybe-configure-stage3-zlib:
30169 @if zlib-bootstrap
30170 maybe-configure-stage3-zlib: configure-stage3-zlib
30171 configure-stage3-zlib:
30172 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30174 @r=`${PWD_COMMAND}`; export r; \
30175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30176 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30177 $(HOST_EXPORTS) \
30178 $(POSTSTAGE1_HOST_EXPORTS) \
30179 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
30180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30181 cd $(HOST_SUBDIR)/zlib || exit 1; \
30182 case $(srcdir) in \
30183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30184 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30186 esac; \
30187 srcdiroption="--srcdir=$${topdir}/zlib"; \
30188 libsrcdir="$$s/zlib"; \
30189 $(SHELL) $${libsrcdir}/configure \
30190 $(HOST_CONFIGARGS) $${srcdiroption} \
30191 --with-build-libsubdir=$(HOST_SUBDIR) \
30192 @stage2_werror_flag@
30193 @endif zlib-bootstrap
30195 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30196 maybe-configure-stage4-zlib:
30197 @if zlib-bootstrap
30198 maybe-configure-stage4-zlib: configure-stage4-zlib
30199 configure-stage4-zlib:
30200 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30202 @r=`${PWD_COMMAND}`; export r; \
30203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30204 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30205 $(HOST_EXPORTS) \
30206 $(POSTSTAGE1_HOST_EXPORTS) \
30207 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30209 cd $(HOST_SUBDIR)/zlib || exit 1; \
30210 case $(srcdir) in \
30211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30212 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30214 esac; \
30215 srcdiroption="--srcdir=$${topdir}/zlib"; \
30216 libsrcdir="$$s/zlib"; \
30217 $(SHELL) $${libsrcdir}/configure \
30218 $(HOST_CONFIGARGS) $${srcdiroption} \
30219 --with-build-libsubdir=$(HOST_SUBDIR) \
30220 @stage2_werror_flag@
30221 @endif zlib-bootstrap
30223 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30224 maybe-configure-stageprofile-zlib:
30225 @if zlib-bootstrap
30226 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30227 configure-stageprofile-zlib:
30228 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30230 @r=`${PWD_COMMAND}`; export r; \
30231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30232 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30233 $(HOST_EXPORTS) \
30234 $(POSTSTAGE1_HOST_EXPORTS) \
30235 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30237 cd $(HOST_SUBDIR)/zlib || exit 1; \
30238 case $(srcdir) in \
30239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30240 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30242 esac; \
30243 srcdiroption="--srcdir=$${topdir}/zlib"; \
30244 libsrcdir="$$s/zlib"; \
30245 $(SHELL) $${libsrcdir}/configure \
30246 $(HOST_CONFIGARGS) $${srcdiroption} \
30247 --with-build-libsubdir=$(HOST_SUBDIR) \
30248 @stage2_werror_flag@
30249 @endif zlib-bootstrap
30251 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30252 maybe-configure-stagefeedback-zlib:
30253 @if zlib-bootstrap
30254 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30255 configure-stagefeedback-zlib:
30256 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30258 @r=`${PWD_COMMAND}`; export r; \
30259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30260 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30261 $(HOST_EXPORTS) \
30262 $(POSTSTAGE1_HOST_EXPORTS) \
30263 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30265 cd $(HOST_SUBDIR)/zlib || exit 1; \
30266 case $(srcdir) in \
30267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30268 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30270 esac; \
30271 srcdiroption="--srcdir=$${topdir}/zlib"; \
30272 libsrcdir="$$s/zlib"; \
30273 $(SHELL) $${libsrcdir}/configure \
30274 $(HOST_CONFIGARGS) $${srcdiroption} \
30275 --with-build-libsubdir=$(HOST_SUBDIR) \
30276 @stage2_werror_flag@
30277 @endif zlib-bootstrap
30283 .PHONY: all-zlib maybe-all-zlib
30284 maybe-all-zlib:
30285 @if gcc-bootstrap
30286 all-zlib: stage_current
30287 @endif gcc-bootstrap
30288 @if zlib
30289 TARGET-zlib=all
30290 maybe-all-zlib: all-zlib
30291 all-zlib: configure-zlib
30292 @r=`${PWD_COMMAND}`; export r; \
30293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30294 $(HOST_EXPORTS) \
30295 (cd $(HOST_SUBDIR)/zlib && \
30296 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30297 @endif zlib
30301 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30302 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30303 maybe-all-stage1-zlib:
30304 maybe-clean-stage1-zlib:
30305 @if zlib-bootstrap
30306 maybe-all-stage1-zlib: all-stage1-zlib
30307 all-stage1: all-stage1-zlib
30308 TARGET-stage1-zlib = $(TARGET-zlib)
30309 all-stage1-zlib: configure-stage1-zlib
30310 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30311 @r=`${PWD_COMMAND}`; export r; \
30312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30313 $(HOST_EXPORTS) \
30314 cd $(HOST_SUBDIR)/zlib && \
30315 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30316 $(TARGET-stage1-zlib)
30318 maybe-clean-stage1-zlib: clean-stage1-zlib
30319 clean-stage1: clean-stage1-zlib
30320 clean-stage1-zlib:
30321 @if [ $(current_stage) = stage1 ]; then \
30322 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30323 else \
30324 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30325 $(MAKE) stage1-start; \
30326 fi; \
30327 cd $(HOST_SUBDIR)/zlib && \
30328 $(MAKE) $(FLAGS_TO_PASS) \
30329 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30330 @endif zlib-bootstrap
30333 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30334 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30335 maybe-all-stage2-zlib:
30336 maybe-clean-stage2-zlib:
30337 @if zlib-bootstrap
30338 maybe-all-stage2-zlib: all-stage2-zlib
30339 all-stage2: all-stage2-zlib
30340 TARGET-stage2-zlib = $(TARGET-zlib)
30341 all-stage2-zlib: configure-stage2-zlib
30342 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30343 @r=`${PWD_COMMAND}`; export r; \
30344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30345 $(HOST_EXPORTS) \
30346 $(POSTSTAGE1_HOST_EXPORTS) \
30347 cd $(HOST_SUBDIR)/zlib && \
30348 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30349 $(TARGET-stage2-zlib)
30351 maybe-clean-stage2-zlib: clean-stage2-zlib
30352 clean-stage2: clean-stage2-zlib
30353 clean-stage2-zlib:
30354 @if [ $(current_stage) = stage2 ]; then \
30355 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30356 else \
30357 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30358 $(MAKE) stage2-start; \
30359 fi; \
30360 cd $(HOST_SUBDIR)/zlib && \
30361 $(MAKE) $(FLAGS_TO_PASS) \
30362 $(POSTSTAGE1_FLAGS_TO_PASS) \
30363 clean
30364 @endif zlib-bootstrap
30367 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30368 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30369 maybe-all-stage3-zlib:
30370 maybe-clean-stage3-zlib:
30371 @if zlib-bootstrap
30372 maybe-all-stage3-zlib: all-stage3-zlib
30373 all-stage3: all-stage3-zlib
30374 TARGET-stage3-zlib = $(TARGET-zlib)
30375 all-stage3-zlib: configure-stage3-zlib
30376 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30377 @r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30379 $(HOST_EXPORTS) \
30380 $(POSTSTAGE1_HOST_EXPORTS) \
30381 cd $(HOST_SUBDIR)/zlib && \
30382 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30383 $(TARGET-stage3-zlib)
30385 maybe-clean-stage3-zlib: clean-stage3-zlib
30386 clean-stage3: clean-stage3-zlib
30387 clean-stage3-zlib:
30388 @if [ $(current_stage) = stage3 ]; then \
30389 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30390 else \
30391 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30392 $(MAKE) stage3-start; \
30393 fi; \
30394 cd $(HOST_SUBDIR)/zlib && \
30395 $(MAKE) $(FLAGS_TO_PASS) \
30396 $(POSTSTAGE1_FLAGS_TO_PASS) \
30397 clean
30398 @endif zlib-bootstrap
30401 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30402 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30403 maybe-all-stage4-zlib:
30404 maybe-clean-stage4-zlib:
30405 @if zlib-bootstrap
30406 maybe-all-stage4-zlib: all-stage4-zlib
30407 all-stage4: all-stage4-zlib
30408 TARGET-stage4-zlib = $(TARGET-zlib)
30409 all-stage4-zlib: configure-stage4-zlib
30410 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30411 @r=`${PWD_COMMAND}`; export r; \
30412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30413 $(HOST_EXPORTS) \
30414 $(POSTSTAGE1_HOST_EXPORTS) \
30415 cd $(HOST_SUBDIR)/zlib && \
30416 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30417 $(TARGET-stage4-zlib)
30419 maybe-clean-stage4-zlib: clean-stage4-zlib
30420 clean-stage4: clean-stage4-zlib
30421 clean-stage4-zlib:
30422 @if [ $(current_stage) = stage4 ]; then \
30423 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30424 else \
30425 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30426 $(MAKE) stage4-start; \
30427 fi; \
30428 cd $(HOST_SUBDIR)/zlib && \
30429 $(MAKE) $(FLAGS_TO_PASS) \
30430 $(POSTSTAGE1_FLAGS_TO_PASS) \
30431 clean
30432 @endif zlib-bootstrap
30435 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30436 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30437 maybe-all-stageprofile-zlib:
30438 maybe-clean-stageprofile-zlib:
30439 @if zlib-bootstrap
30440 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30441 all-stageprofile: all-stageprofile-zlib
30442 TARGET-stageprofile-zlib = $(TARGET-zlib)
30443 all-stageprofile-zlib: configure-stageprofile-zlib
30444 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30445 @r=`${PWD_COMMAND}`; export r; \
30446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30447 $(HOST_EXPORTS) \
30448 $(POSTSTAGE1_HOST_EXPORTS) \
30449 cd $(HOST_SUBDIR)/zlib && \
30450 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30451 $(TARGET-stageprofile-zlib)
30453 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30454 clean-stageprofile: clean-stageprofile-zlib
30455 clean-stageprofile-zlib:
30456 @if [ $(current_stage) = stageprofile ]; then \
30457 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30458 else \
30459 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30460 $(MAKE) stageprofile-start; \
30461 fi; \
30462 cd $(HOST_SUBDIR)/zlib && \
30463 $(MAKE) $(FLAGS_TO_PASS) \
30464 $(POSTSTAGE1_FLAGS_TO_PASS) \
30465 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30466 @endif zlib-bootstrap
30469 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30470 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30471 maybe-all-stagefeedback-zlib:
30472 maybe-clean-stagefeedback-zlib:
30473 @if zlib-bootstrap
30474 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30475 all-stagefeedback: all-stagefeedback-zlib
30476 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30477 all-stagefeedback-zlib: configure-stagefeedback-zlib
30478 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30479 @r=`${PWD_COMMAND}`; export r; \
30480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30481 $(HOST_EXPORTS) \
30482 $(POSTSTAGE1_HOST_EXPORTS) \
30483 cd $(HOST_SUBDIR)/zlib && \
30484 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30485 $(TARGET-stagefeedback-zlib)
30487 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30488 clean-stagefeedback: clean-stagefeedback-zlib
30489 clean-stagefeedback-zlib:
30490 @if [ $(current_stage) = stagefeedback ]; then \
30491 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30492 else \
30493 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30494 $(MAKE) stagefeedback-start; \
30495 fi; \
30496 cd $(HOST_SUBDIR)/zlib && \
30497 $(MAKE) $(FLAGS_TO_PASS) \
30498 $(POSTSTAGE1_FLAGS_TO_PASS) \
30499 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30500 @endif zlib-bootstrap
30506 .PHONY: check-zlib maybe-check-zlib
30507 maybe-check-zlib:
30508 @if zlib
30509 maybe-check-zlib: check-zlib
30511 check-zlib:
30513 @endif zlib
30515 .PHONY: install-zlib maybe-install-zlib
30516 maybe-install-zlib:
30517 @if zlib
30518 maybe-install-zlib: install-zlib
30520 install-zlib:
30522 @endif zlib
30524 # Other targets (info, dvi, pdf, etc.)
30526 .PHONY: maybe-info-zlib info-zlib
30527 maybe-info-zlib:
30528 @if zlib
30529 maybe-info-zlib: info-zlib
30531 info-zlib: \
30532 configure-zlib
30533 @[ -f ./zlib/Makefile ] || exit 0; \
30534 r=`${PWD_COMMAND}`; export r; \
30535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30536 $(HOST_EXPORTS) \
30537 for flag in $(EXTRA_HOST_FLAGS) ; do \
30538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30539 done; \
30540 echo "Doing info in zlib" ; \
30541 (cd $(HOST_SUBDIR)/zlib && \
30542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30544 "RANLIB=$${RANLIB}" \
30545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30546 info) \
30547 || exit 1
30549 @endif zlib
30551 .PHONY: maybe-dvi-zlib dvi-zlib
30552 maybe-dvi-zlib:
30553 @if zlib
30554 maybe-dvi-zlib: dvi-zlib
30556 dvi-zlib: \
30557 configure-zlib
30558 @[ -f ./zlib/Makefile ] || exit 0; \
30559 r=`${PWD_COMMAND}`; export r; \
30560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30561 $(HOST_EXPORTS) \
30562 for flag in $(EXTRA_HOST_FLAGS) ; do \
30563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30564 done; \
30565 echo "Doing dvi in zlib" ; \
30566 (cd $(HOST_SUBDIR)/zlib && \
30567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30569 "RANLIB=$${RANLIB}" \
30570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30571 dvi) \
30572 || exit 1
30574 @endif zlib
30576 .PHONY: maybe-pdf-zlib pdf-zlib
30577 maybe-pdf-zlib:
30578 @if zlib
30579 maybe-pdf-zlib: pdf-zlib
30581 pdf-zlib: \
30582 configure-zlib
30583 @[ -f ./zlib/Makefile ] || exit 0; \
30584 r=`${PWD_COMMAND}`; export r; \
30585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30586 $(HOST_EXPORTS) \
30587 for flag in $(EXTRA_HOST_FLAGS) ; do \
30588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30589 done; \
30590 echo "Doing pdf in zlib" ; \
30591 (cd $(HOST_SUBDIR)/zlib && \
30592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30594 "RANLIB=$${RANLIB}" \
30595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30596 pdf) \
30597 || exit 1
30599 @endif zlib
30601 .PHONY: maybe-html-zlib html-zlib
30602 maybe-html-zlib:
30603 @if zlib
30604 maybe-html-zlib: html-zlib
30606 html-zlib: \
30607 configure-zlib
30608 @[ -f ./zlib/Makefile ] || exit 0; \
30609 r=`${PWD_COMMAND}`; export r; \
30610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30611 $(HOST_EXPORTS) \
30612 for flag in $(EXTRA_HOST_FLAGS) ; do \
30613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30614 done; \
30615 echo "Doing html in zlib" ; \
30616 (cd $(HOST_SUBDIR)/zlib && \
30617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30619 "RANLIB=$${RANLIB}" \
30620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30621 html) \
30622 || exit 1
30624 @endif zlib
30626 .PHONY: maybe-TAGS-zlib TAGS-zlib
30627 maybe-TAGS-zlib:
30628 @if zlib
30629 maybe-TAGS-zlib: TAGS-zlib
30631 TAGS-zlib: \
30632 configure-zlib
30633 @[ -f ./zlib/Makefile ] || exit 0; \
30634 r=`${PWD_COMMAND}`; export r; \
30635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30636 $(HOST_EXPORTS) \
30637 for flag in $(EXTRA_HOST_FLAGS) ; do \
30638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30639 done; \
30640 echo "Doing TAGS in zlib" ; \
30641 (cd $(HOST_SUBDIR)/zlib && \
30642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30644 "RANLIB=$${RANLIB}" \
30645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30646 TAGS) \
30647 || exit 1
30649 @endif zlib
30651 .PHONY: maybe-install-info-zlib install-info-zlib
30652 maybe-install-info-zlib:
30653 @if zlib
30654 maybe-install-info-zlib: install-info-zlib
30656 install-info-zlib: \
30657 configure-zlib \
30658 info-zlib
30659 @[ -f ./zlib/Makefile ] || exit 0; \
30660 r=`${PWD_COMMAND}`; export r; \
30661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30662 $(HOST_EXPORTS) \
30663 for flag in $(EXTRA_HOST_FLAGS) ; do \
30664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30665 done; \
30666 echo "Doing install-info in zlib" ; \
30667 (cd $(HOST_SUBDIR)/zlib && \
30668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30670 "RANLIB=$${RANLIB}" \
30671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30672 install-info) \
30673 || exit 1
30675 @endif zlib
30677 .PHONY: maybe-install-html-zlib install-html-zlib
30678 maybe-install-html-zlib:
30679 @if zlib
30680 maybe-install-html-zlib: install-html-zlib
30682 install-html-zlib: \
30683 configure-zlib \
30684 html-zlib
30685 @[ -f ./zlib/Makefile ] || exit 0; \
30686 r=`${PWD_COMMAND}`; export r; \
30687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30688 $(HOST_EXPORTS) \
30689 for flag in $(EXTRA_HOST_FLAGS) ; do \
30690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30691 done; \
30692 echo "Doing install-html in zlib" ; \
30693 (cd $(HOST_SUBDIR)/zlib && \
30694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30696 "RANLIB=$${RANLIB}" \
30697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30698 install-html) \
30699 || exit 1
30701 @endif zlib
30703 .PHONY: maybe-installcheck-zlib installcheck-zlib
30704 maybe-installcheck-zlib:
30705 @if zlib
30706 maybe-installcheck-zlib: installcheck-zlib
30708 installcheck-zlib: \
30709 configure-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 installcheck 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 installcheck) \
30724 || exit 1
30726 @endif zlib
30728 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30729 maybe-mostlyclean-zlib:
30730 @if zlib
30731 maybe-mostlyclean-zlib: mostlyclean-zlib
30733 mostlyclean-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 mostlyclean 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 mostlyclean) \
30748 || exit 1
30750 @endif zlib
30752 .PHONY: maybe-clean-zlib clean-zlib
30753 maybe-clean-zlib:
30754 @if zlib
30755 maybe-clean-zlib: clean-zlib
30757 clean-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 clean 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 clean) \
30772 || exit 1
30774 @endif zlib
30776 .PHONY: maybe-distclean-zlib distclean-zlib
30777 maybe-distclean-zlib:
30778 @if zlib
30779 maybe-distclean-zlib: distclean-zlib
30781 distclean-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 distclean 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 distclean) \
30796 || exit 1
30798 @endif zlib
30800 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30801 maybe-maintainer-clean-zlib:
30802 @if zlib
30803 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30805 maintainer-clean-zlib:
30806 @[ -f ./zlib/Makefile ] || exit 0; \
30807 r=`${PWD_COMMAND}`; export r; \
30808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30809 $(HOST_EXPORTS) \
30810 for flag in $(EXTRA_HOST_FLAGS) ; do \
30811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30812 done; \
30813 echo "Doing maintainer-clean in zlib" ; \
30814 (cd $(HOST_SUBDIR)/zlib && \
30815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30817 "RANLIB=$${RANLIB}" \
30818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30819 maintainer-clean) \
30820 || exit 1
30822 @endif zlib
30826 .PHONY: configure-gdb maybe-configure-gdb
30827 maybe-configure-gdb:
30828 @if gcc-bootstrap
30829 configure-gdb: stage_current
30830 @endif gcc-bootstrap
30831 @if gdb
30832 maybe-configure-gdb: configure-gdb
30833 configure-gdb:
30834 @: $(MAKE); $(unstage)
30835 @r=`${PWD_COMMAND}`; export r; \
30836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30837 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30839 $(HOST_EXPORTS) \
30840 echo Configuring in $(HOST_SUBDIR)/gdb; \
30841 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30842 case $(srcdir) in \
30843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30844 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30846 esac; \
30847 srcdiroption="--srcdir=$${topdir}/gdb"; \
30848 libsrcdir="$$s/gdb"; \
30849 $(SHELL) $${libsrcdir}/configure \
30850 $(HOST_CONFIGARGS) $${srcdiroption} \
30851 || exit 1
30852 @endif gdb
30858 .PHONY: all-gdb maybe-all-gdb
30859 maybe-all-gdb:
30860 @if gcc-bootstrap
30861 all-gdb: stage_current
30862 @endif gcc-bootstrap
30863 @if gdb
30864 TARGET-gdb=all
30865 maybe-all-gdb: all-gdb
30866 all-gdb: configure-gdb
30867 @: $(MAKE); $(unstage)
30868 @r=`${PWD_COMMAND}`; export r; \
30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30870 $(HOST_EXPORTS) \
30871 (cd $(HOST_SUBDIR)/gdb && \
30872 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30873 @endif gdb
30878 .PHONY: check-gdb maybe-check-gdb
30879 maybe-check-gdb:
30880 @if gdb
30881 maybe-check-gdb: check-gdb
30883 check-gdb:
30884 @: $(MAKE); $(unstage)
30885 @r=`${PWD_COMMAND}`; export r; \
30886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30887 $(HOST_EXPORTS) \
30888 (cd $(HOST_SUBDIR)/gdb && \
30889 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30891 @endif gdb
30893 .PHONY: install-gdb maybe-install-gdb
30894 maybe-install-gdb:
30895 @if gdb
30896 maybe-install-gdb: install-gdb
30898 install-gdb: installdirs
30899 @: $(MAKE); $(unstage)
30900 @r=`${PWD_COMMAND}`; export r; \
30901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30902 $(HOST_EXPORTS) \
30903 (cd $(HOST_SUBDIR)/gdb && \
30904 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30906 @endif gdb
30908 # Other targets (info, dvi, pdf, etc.)
30910 .PHONY: maybe-info-gdb info-gdb
30911 maybe-info-gdb:
30912 @if gdb
30913 maybe-info-gdb: info-gdb
30915 info-gdb: \
30916 configure-gdb
30917 @: $(MAKE); $(unstage)
30918 @[ -f ./gdb/Makefile ] || exit 0; \
30919 r=`${PWD_COMMAND}`; export r; \
30920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30921 $(HOST_EXPORTS) \
30922 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30924 done; \
30925 echo "Doing info in gdb" ; \
30926 (cd $(HOST_SUBDIR)/gdb && \
30927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30929 "RANLIB=$${RANLIB}" \
30930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30931 info) \
30932 || exit 1
30934 @endif gdb
30936 .PHONY: maybe-dvi-gdb dvi-gdb
30937 maybe-dvi-gdb:
30938 @if gdb
30939 maybe-dvi-gdb: dvi-gdb
30941 dvi-gdb: \
30942 configure-gdb
30943 @: $(MAKE); $(unstage)
30944 @[ -f ./gdb/Makefile ] || exit 0; \
30945 r=`${PWD_COMMAND}`; export r; \
30946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30947 $(HOST_EXPORTS) \
30948 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30950 done; \
30951 echo "Doing dvi in gdb" ; \
30952 (cd $(HOST_SUBDIR)/gdb && \
30953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30955 "RANLIB=$${RANLIB}" \
30956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30957 dvi) \
30958 || exit 1
30960 @endif gdb
30962 .PHONY: maybe-pdf-gdb pdf-gdb
30963 maybe-pdf-gdb:
30964 @if gdb
30965 maybe-pdf-gdb: pdf-gdb
30967 pdf-gdb: \
30968 configure-gdb
30969 @: $(MAKE); $(unstage)
30970 @[ -f ./gdb/Makefile ] || exit 0; \
30971 r=`${PWD_COMMAND}`; export r; \
30972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30973 $(HOST_EXPORTS) \
30974 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30976 done; \
30977 echo "Doing pdf in gdb" ; \
30978 (cd $(HOST_SUBDIR)/gdb && \
30979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30981 "RANLIB=$${RANLIB}" \
30982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30983 pdf) \
30984 || exit 1
30986 @endif gdb
30988 .PHONY: maybe-html-gdb html-gdb
30989 maybe-html-gdb:
30990 @if gdb
30991 maybe-html-gdb: html-gdb
30993 html-gdb: \
30994 configure-gdb
30995 @: $(MAKE); $(unstage)
30996 @[ -f ./gdb/Makefile ] || exit 0; \
30997 r=`${PWD_COMMAND}`; export r; \
30998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30999 $(HOST_EXPORTS) \
31000 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31002 done; \
31003 echo "Doing html in gdb" ; \
31004 (cd $(HOST_SUBDIR)/gdb && \
31005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31007 "RANLIB=$${RANLIB}" \
31008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31009 html) \
31010 || exit 1
31012 @endif gdb
31014 .PHONY: maybe-TAGS-gdb TAGS-gdb
31015 maybe-TAGS-gdb:
31016 @if gdb
31017 maybe-TAGS-gdb: TAGS-gdb
31019 TAGS-gdb: \
31020 configure-gdb
31021 @: $(MAKE); $(unstage)
31022 @[ -f ./gdb/Makefile ] || exit 0; \
31023 r=`${PWD_COMMAND}`; export r; \
31024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 $(HOST_EXPORTS) \
31026 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31028 done; \
31029 echo "Doing TAGS in gdb" ; \
31030 (cd $(HOST_SUBDIR)/gdb && \
31031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31033 "RANLIB=$${RANLIB}" \
31034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31035 TAGS) \
31036 || exit 1
31038 @endif gdb
31040 .PHONY: maybe-install-info-gdb install-info-gdb
31041 maybe-install-info-gdb:
31042 @if gdb
31043 maybe-install-info-gdb: install-info-gdb
31045 install-info-gdb: \
31046 configure-gdb \
31047 info-gdb
31048 @: $(MAKE); $(unstage)
31049 @[ -f ./gdb/Makefile ] || exit 0; \
31050 r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 $(HOST_EXPORTS) \
31053 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31055 done; \
31056 echo "Doing install-info in gdb" ; \
31057 (cd $(HOST_SUBDIR)/gdb && \
31058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31060 "RANLIB=$${RANLIB}" \
31061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31062 install-info) \
31063 || exit 1
31065 @endif gdb
31067 .PHONY: maybe-install-html-gdb install-html-gdb
31068 maybe-install-html-gdb:
31069 @if gdb
31070 maybe-install-html-gdb: install-html-gdb
31072 install-html-gdb: \
31073 configure-gdb \
31074 html-gdb
31075 @: $(MAKE); $(unstage)
31076 @[ -f ./gdb/Makefile ] || exit 0; \
31077 r=`${PWD_COMMAND}`; export r; \
31078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31079 $(HOST_EXPORTS) \
31080 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31082 done; \
31083 echo "Doing install-html in gdb" ; \
31084 (cd $(HOST_SUBDIR)/gdb && \
31085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31087 "RANLIB=$${RANLIB}" \
31088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31089 install-html) \
31090 || exit 1
31092 @endif gdb
31094 .PHONY: maybe-installcheck-gdb installcheck-gdb
31095 maybe-installcheck-gdb:
31096 @if gdb
31097 maybe-installcheck-gdb: installcheck-gdb
31099 installcheck-gdb: \
31100 configure-gdb
31101 @: $(MAKE); $(unstage)
31102 @[ -f ./gdb/Makefile ] || exit 0; \
31103 r=`${PWD_COMMAND}`; export r; \
31104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31105 $(HOST_EXPORTS) \
31106 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31108 done; \
31109 echo "Doing installcheck in gdb" ; \
31110 (cd $(HOST_SUBDIR)/gdb && \
31111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31113 "RANLIB=$${RANLIB}" \
31114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31115 installcheck) \
31116 || exit 1
31118 @endif gdb
31120 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31121 maybe-mostlyclean-gdb:
31122 @if gdb
31123 maybe-mostlyclean-gdb: mostlyclean-gdb
31125 mostlyclean-gdb:
31126 @: $(MAKE); $(unstage)
31127 @[ -f ./gdb/Makefile ] || exit 0; \
31128 r=`${PWD_COMMAND}`; export r; \
31129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31130 $(HOST_EXPORTS) \
31131 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31133 done; \
31134 echo "Doing mostlyclean in gdb" ; \
31135 (cd $(HOST_SUBDIR)/gdb && \
31136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31138 "RANLIB=$${RANLIB}" \
31139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31140 mostlyclean) \
31141 || exit 1
31143 @endif gdb
31145 .PHONY: maybe-clean-gdb clean-gdb
31146 maybe-clean-gdb:
31147 @if gdb
31148 maybe-clean-gdb: clean-gdb
31150 clean-gdb:
31151 @: $(MAKE); $(unstage)
31152 @[ -f ./gdb/Makefile ] || exit 0; \
31153 r=`${PWD_COMMAND}`; export r; \
31154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31155 $(HOST_EXPORTS) \
31156 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31158 done; \
31159 echo "Doing clean in gdb" ; \
31160 (cd $(HOST_SUBDIR)/gdb && \
31161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31163 "RANLIB=$${RANLIB}" \
31164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31165 clean) \
31166 || exit 1
31168 @endif gdb
31170 .PHONY: maybe-distclean-gdb distclean-gdb
31171 maybe-distclean-gdb:
31172 @if gdb
31173 maybe-distclean-gdb: distclean-gdb
31175 distclean-gdb:
31176 @: $(MAKE); $(unstage)
31177 @[ -f ./gdb/Makefile ] || exit 0; \
31178 r=`${PWD_COMMAND}`; export r; \
31179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31180 $(HOST_EXPORTS) \
31181 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31183 done; \
31184 echo "Doing distclean in gdb" ; \
31185 (cd $(HOST_SUBDIR)/gdb && \
31186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31188 "RANLIB=$${RANLIB}" \
31189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31190 distclean) \
31191 || exit 1
31193 @endif gdb
31195 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31196 maybe-maintainer-clean-gdb:
31197 @if gdb
31198 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31200 maintainer-clean-gdb:
31201 @: $(MAKE); $(unstage)
31202 @[ -f ./gdb/Makefile ] || exit 0; \
31203 r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(HOST_EXPORTS) \
31206 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31208 done; \
31209 echo "Doing maintainer-clean in gdb" ; \
31210 (cd $(HOST_SUBDIR)/gdb && \
31211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31213 "RANLIB=$${RANLIB}" \
31214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31215 maintainer-clean) \
31216 || exit 1
31218 @endif gdb
31222 .PHONY: configure-expect maybe-configure-expect
31223 maybe-configure-expect:
31224 @if gcc-bootstrap
31225 configure-expect: stage_current
31226 @endif gcc-bootstrap
31227 @if expect
31228 maybe-configure-expect: configure-expect
31229 configure-expect:
31230 @: $(MAKE); $(unstage)
31231 @r=`${PWD_COMMAND}`; export r; \
31232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31233 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31235 $(HOST_EXPORTS) \
31236 echo Configuring in $(HOST_SUBDIR)/expect; \
31237 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31238 case $(srcdir) in \
31239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31240 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31242 esac; \
31243 srcdiroption="--srcdir=$${topdir}/expect"; \
31244 libsrcdir="$$s/expect"; \
31245 $(SHELL) $${libsrcdir}/configure \
31246 $(HOST_CONFIGARGS) $${srcdiroption} \
31247 || exit 1
31248 @endif expect
31254 .PHONY: all-expect maybe-all-expect
31255 maybe-all-expect:
31256 @if gcc-bootstrap
31257 all-expect: stage_current
31258 @endif gcc-bootstrap
31259 @if expect
31260 TARGET-expect=all
31261 maybe-all-expect: all-expect
31262 all-expect: configure-expect
31263 @: $(MAKE); $(unstage)
31264 @r=`${PWD_COMMAND}`; export r; \
31265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31266 $(HOST_EXPORTS) \
31267 (cd $(HOST_SUBDIR)/expect && \
31268 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31269 @endif expect
31274 .PHONY: check-expect maybe-check-expect
31275 maybe-check-expect:
31276 @if expect
31277 maybe-check-expect: check-expect
31279 check-expect:
31280 @: $(MAKE); $(unstage)
31281 @r=`${PWD_COMMAND}`; export r; \
31282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31283 $(HOST_EXPORTS) \
31284 (cd $(HOST_SUBDIR)/expect && \
31285 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31287 @endif expect
31289 .PHONY: install-expect maybe-install-expect
31290 maybe-install-expect:
31291 @if expect
31292 maybe-install-expect: install-expect
31294 install-expect: installdirs
31295 @: $(MAKE); $(unstage)
31296 @r=`${PWD_COMMAND}`; export r; \
31297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31298 $(HOST_EXPORTS) \
31299 (cd $(HOST_SUBDIR)/expect && \
31300 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31302 @endif expect
31304 # Other targets (info, dvi, pdf, etc.)
31306 .PHONY: maybe-info-expect info-expect
31307 maybe-info-expect:
31308 @if expect
31309 maybe-info-expect: info-expect
31311 info-expect: \
31312 configure-expect
31313 @: $(MAKE); $(unstage)
31314 @[ -f ./expect/Makefile ] || exit 0; \
31315 r=`${PWD_COMMAND}`; export r; \
31316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31317 $(HOST_EXPORTS) \
31318 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31320 done; \
31321 echo "Doing info in expect" ; \
31322 (cd $(HOST_SUBDIR)/expect && \
31323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31325 "RANLIB=$${RANLIB}" \
31326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31327 info) \
31328 || exit 1
31330 @endif expect
31332 .PHONY: maybe-dvi-expect dvi-expect
31333 maybe-dvi-expect:
31334 @if expect
31335 maybe-dvi-expect: dvi-expect
31337 dvi-expect: \
31338 configure-expect
31339 @: $(MAKE); $(unstage)
31340 @[ -f ./expect/Makefile ] || exit 0; \
31341 r=`${PWD_COMMAND}`; export r; \
31342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31343 $(HOST_EXPORTS) \
31344 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31346 done; \
31347 echo "Doing dvi in expect" ; \
31348 (cd $(HOST_SUBDIR)/expect && \
31349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31351 "RANLIB=$${RANLIB}" \
31352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31353 dvi) \
31354 || exit 1
31356 @endif expect
31358 .PHONY: maybe-pdf-expect pdf-expect
31359 maybe-pdf-expect:
31360 @if expect
31361 maybe-pdf-expect: pdf-expect
31363 pdf-expect: \
31364 configure-expect
31365 @: $(MAKE); $(unstage)
31366 @[ -f ./expect/Makefile ] || exit 0; \
31367 r=`${PWD_COMMAND}`; export r; \
31368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31369 $(HOST_EXPORTS) \
31370 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31372 done; \
31373 echo "Doing pdf in expect" ; \
31374 (cd $(HOST_SUBDIR)/expect && \
31375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31377 "RANLIB=$${RANLIB}" \
31378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31379 pdf) \
31380 || exit 1
31382 @endif expect
31384 .PHONY: maybe-html-expect html-expect
31385 maybe-html-expect:
31386 @if expect
31387 maybe-html-expect: html-expect
31389 html-expect: \
31390 configure-expect
31391 @: $(MAKE); $(unstage)
31392 @[ -f ./expect/Makefile ] || exit 0; \
31393 r=`${PWD_COMMAND}`; export r; \
31394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31395 $(HOST_EXPORTS) \
31396 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31398 done; \
31399 echo "Doing html in expect" ; \
31400 (cd $(HOST_SUBDIR)/expect && \
31401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31403 "RANLIB=$${RANLIB}" \
31404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31405 html) \
31406 || exit 1
31408 @endif expect
31410 .PHONY: maybe-TAGS-expect TAGS-expect
31411 maybe-TAGS-expect:
31412 @if expect
31413 maybe-TAGS-expect: TAGS-expect
31415 TAGS-expect: \
31416 configure-expect
31417 @: $(MAKE); $(unstage)
31418 @[ -f ./expect/Makefile ] || exit 0; \
31419 r=`${PWD_COMMAND}`; export r; \
31420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31421 $(HOST_EXPORTS) \
31422 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 echo "Doing TAGS in expect" ; \
31426 (cd $(HOST_SUBDIR)/expect && \
31427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31429 "RANLIB=$${RANLIB}" \
31430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31431 TAGS) \
31432 || exit 1
31434 @endif expect
31436 .PHONY: maybe-install-info-expect install-info-expect
31437 maybe-install-info-expect:
31438 @if expect
31439 maybe-install-info-expect: install-info-expect
31441 install-info-expect: \
31442 configure-expect \
31443 info-expect
31444 @: $(MAKE); $(unstage)
31445 @[ -f ./expect/Makefile ] || exit 0; \
31446 r=`${PWD_COMMAND}`; export r; \
31447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31448 $(HOST_EXPORTS) \
31449 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31451 done; \
31452 echo "Doing install-info in expect" ; \
31453 (cd $(HOST_SUBDIR)/expect && \
31454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31456 "RANLIB=$${RANLIB}" \
31457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31458 install-info) \
31459 || exit 1
31461 @endif expect
31463 .PHONY: maybe-install-html-expect install-html-expect
31464 maybe-install-html-expect:
31465 @if expect
31466 maybe-install-html-expect: install-html-expect
31468 install-html-expect: \
31469 configure-expect \
31470 html-expect
31471 @: $(MAKE); $(unstage)
31472 @[ -f ./expect/Makefile ] || exit 0; \
31473 r=`${PWD_COMMAND}`; export r; \
31474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31475 $(HOST_EXPORTS) \
31476 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31478 done; \
31479 echo "Doing install-html in expect" ; \
31480 (cd $(HOST_SUBDIR)/expect && \
31481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31483 "RANLIB=$${RANLIB}" \
31484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31485 install-html) \
31486 || exit 1
31488 @endif expect
31490 .PHONY: maybe-installcheck-expect installcheck-expect
31491 maybe-installcheck-expect:
31492 @if expect
31493 maybe-installcheck-expect: installcheck-expect
31495 installcheck-expect: \
31496 configure-expect
31497 @: $(MAKE); $(unstage)
31498 @[ -f ./expect/Makefile ] || exit 0; \
31499 r=`${PWD_COMMAND}`; export r; \
31500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31501 $(HOST_EXPORTS) \
31502 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31504 done; \
31505 echo "Doing installcheck in expect" ; \
31506 (cd $(HOST_SUBDIR)/expect && \
31507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31509 "RANLIB=$${RANLIB}" \
31510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31511 installcheck) \
31512 || exit 1
31514 @endif expect
31516 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31517 maybe-mostlyclean-expect:
31518 @if expect
31519 maybe-mostlyclean-expect: mostlyclean-expect
31521 mostlyclean-expect:
31522 @: $(MAKE); $(unstage)
31523 @[ -f ./expect/Makefile ] || exit 0; \
31524 r=`${PWD_COMMAND}`; export r; \
31525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31526 $(HOST_EXPORTS) \
31527 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31529 done; \
31530 echo "Doing mostlyclean in expect" ; \
31531 (cd $(HOST_SUBDIR)/expect && \
31532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31534 "RANLIB=$${RANLIB}" \
31535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31536 mostlyclean) \
31537 || exit 1
31539 @endif expect
31541 .PHONY: maybe-clean-expect clean-expect
31542 maybe-clean-expect:
31543 @if expect
31544 maybe-clean-expect: clean-expect
31546 clean-expect:
31547 @: $(MAKE); $(unstage)
31548 @[ -f ./expect/Makefile ] || exit 0; \
31549 r=`${PWD_COMMAND}`; export r; \
31550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31551 $(HOST_EXPORTS) \
31552 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31554 done; \
31555 echo "Doing clean in expect" ; \
31556 (cd $(HOST_SUBDIR)/expect && \
31557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31559 "RANLIB=$${RANLIB}" \
31560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31561 clean) \
31562 || exit 1
31564 @endif expect
31566 .PHONY: maybe-distclean-expect distclean-expect
31567 maybe-distclean-expect:
31568 @if expect
31569 maybe-distclean-expect: distclean-expect
31571 distclean-expect:
31572 @: $(MAKE); $(unstage)
31573 @[ -f ./expect/Makefile ] || exit 0; \
31574 r=`${PWD_COMMAND}`; export r; \
31575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31576 $(HOST_EXPORTS) \
31577 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31579 done; \
31580 echo "Doing distclean in expect" ; \
31581 (cd $(HOST_SUBDIR)/expect && \
31582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31584 "RANLIB=$${RANLIB}" \
31585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31586 distclean) \
31587 || exit 1
31589 @endif expect
31591 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31592 maybe-maintainer-clean-expect:
31593 @if expect
31594 maybe-maintainer-clean-expect: maintainer-clean-expect
31596 maintainer-clean-expect:
31597 @: $(MAKE); $(unstage)
31598 @[ -f ./expect/Makefile ] || exit 0; \
31599 r=`${PWD_COMMAND}`; export r; \
31600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31601 $(HOST_EXPORTS) \
31602 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31604 done; \
31605 echo "Doing maintainer-clean in expect" ; \
31606 (cd $(HOST_SUBDIR)/expect && \
31607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31609 "RANLIB=$${RANLIB}" \
31610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31611 maintainer-clean) \
31612 || exit 1
31614 @endif expect
31618 .PHONY: configure-guile maybe-configure-guile
31619 maybe-configure-guile:
31620 @if gcc-bootstrap
31621 configure-guile: stage_current
31622 @endif gcc-bootstrap
31623 @if guile
31624 maybe-configure-guile: configure-guile
31625 configure-guile:
31626 @: $(MAKE); $(unstage)
31627 @r=`${PWD_COMMAND}`; export r; \
31628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31629 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31631 $(HOST_EXPORTS) \
31632 echo Configuring in $(HOST_SUBDIR)/guile; \
31633 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31634 case $(srcdir) in \
31635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31636 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31638 esac; \
31639 srcdiroption="--srcdir=$${topdir}/guile"; \
31640 libsrcdir="$$s/guile"; \
31641 $(SHELL) $${libsrcdir}/configure \
31642 $(HOST_CONFIGARGS) $${srcdiroption} \
31643 || exit 1
31644 @endif guile
31650 .PHONY: all-guile maybe-all-guile
31651 maybe-all-guile:
31652 @if gcc-bootstrap
31653 all-guile: stage_current
31654 @endif gcc-bootstrap
31655 @if guile
31656 TARGET-guile=all
31657 maybe-all-guile: all-guile
31658 all-guile: configure-guile
31659 @: $(MAKE); $(unstage)
31660 @r=`${PWD_COMMAND}`; export r; \
31661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31662 $(HOST_EXPORTS) \
31663 (cd $(HOST_SUBDIR)/guile && \
31664 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31665 @endif guile
31670 .PHONY: check-guile maybe-check-guile
31671 maybe-check-guile:
31672 @if guile
31673 maybe-check-guile: check-guile
31675 check-guile:
31676 @: $(MAKE); $(unstage)
31677 @r=`${PWD_COMMAND}`; export r; \
31678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31679 $(HOST_EXPORTS) \
31680 (cd $(HOST_SUBDIR)/guile && \
31681 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31683 @endif guile
31685 .PHONY: install-guile maybe-install-guile
31686 maybe-install-guile:
31687 @if guile
31688 maybe-install-guile: install-guile
31690 install-guile: installdirs
31691 @: $(MAKE); $(unstage)
31692 @r=`${PWD_COMMAND}`; export r; \
31693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31694 $(HOST_EXPORTS) \
31695 (cd $(HOST_SUBDIR)/guile && \
31696 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31698 @endif guile
31700 # Other targets (info, dvi, pdf, etc.)
31702 .PHONY: maybe-info-guile info-guile
31703 maybe-info-guile:
31704 @if guile
31705 maybe-info-guile: info-guile
31707 info-guile: \
31708 configure-guile
31709 @: $(MAKE); $(unstage)
31710 @[ -f ./guile/Makefile ] || exit 0; \
31711 r=`${PWD_COMMAND}`; export r; \
31712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31713 $(HOST_EXPORTS) \
31714 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31716 done; \
31717 echo "Doing info in guile" ; \
31718 (cd $(HOST_SUBDIR)/guile && \
31719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31721 "RANLIB=$${RANLIB}" \
31722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31723 info) \
31724 || exit 1
31726 @endif guile
31728 .PHONY: maybe-dvi-guile dvi-guile
31729 maybe-dvi-guile:
31730 @if guile
31731 maybe-dvi-guile: dvi-guile
31733 dvi-guile: \
31734 configure-guile
31735 @: $(MAKE); $(unstage)
31736 @[ -f ./guile/Makefile ] || exit 0; \
31737 r=`${PWD_COMMAND}`; export r; \
31738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31739 $(HOST_EXPORTS) \
31740 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31742 done; \
31743 echo "Doing dvi in guile" ; \
31744 (cd $(HOST_SUBDIR)/guile && \
31745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31747 "RANLIB=$${RANLIB}" \
31748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31749 dvi) \
31750 || exit 1
31752 @endif guile
31754 .PHONY: maybe-pdf-guile pdf-guile
31755 maybe-pdf-guile:
31756 @if guile
31757 maybe-pdf-guile: pdf-guile
31759 pdf-guile: \
31760 configure-guile
31761 @: $(MAKE); $(unstage)
31762 @[ -f ./guile/Makefile ] || exit 0; \
31763 r=`${PWD_COMMAND}`; export r; \
31764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31765 $(HOST_EXPORTS) \
31766 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31768 done; \
31769 echo "Doing pdf in guile" ; \
31770 (cd $(HOST_SUBDIR)/guile && \
31771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31773 "RANLIB=$${RANLIB}" \
31774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31775 pdf) \
31776 || exit 1
31778 @endif guile
31780 .PHONY: maybe-html-guile html-guile
31781 maybe-html-guile:
31782 @if guile
31783 maybe-html-guile: html-guile
31785 html-guile: \
31786 configure-guile
31787 @: $(MAKE); $(unstage)
31788 @[ -f ./guile/Makefile ] || exit 0; \
31789 r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(HOST_EXPORTS) \
31792 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31794 done; \
31795 echo "Doing html in guile" ; \
31796 (cd $(HOST_SUBDIR)/guile && \
31797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31799 "RANLIB=$${RANLIB}" \
31800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31801 html) \
31802 || exit 1
31804 @endif guile
31806 .PHONY: maybe-TAGS-guile TAGS-guile
31807 maybe-TAGS-guile:
31808 @if guile
31809 maybe-TAGS-guile: TAGS-guile
31811 TAGS-guile: \
31812 configure-guile
31813 @: $(MAKE); $(unstage)
31814 @[ -f ./guile/Makefile ] || exit 0; \
31815 r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 $(HOST_EXPORTS) \
31818 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31820 done; \
31821 echo "Doing TAGS in guile" ; \
31822 (cd $(HOST_SUBDIR)/guile && \
31823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31825 "RANLIB=$${RANLIB}" \
31826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31827 TAGS) \
31828 || exit 1
31830 @endif guile
31832 .PHONY: maybe-install-info-guile install-info-guile
31833 maybe-install-info-guile:
31834 @if guile
31835 maybe-install-info-guile: install-info-guile
31837 install-info-guile: \
31838 configure-guile \
31839 info-guile
31840 @: $(MAKE); $(unstage)
31841 @[ -f ./guile/Makefile ] || exit 0; \
31842 r=`${PWD_COMMAND}`; export r; \
31843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31844 $(HOST_EXPORTS) \
31845 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31847 done; \
31848 echo "Doing install-info in guile" ; \
31849 (cd $(HOST_SUBDIR)/guile && \
31850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31852 "RANLIB=$${RANLIB}" \
31853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31854 install-info) \
31855 || exit 1
31857 @endif guile
31859 .PHONY: maybe-install-html-guile install-html-guile
31860 maybe-install-html-guile:
31861 @if guile
31862 maybe-install-html-guile: install-html-guile
31864 install-html-guile: \
31865 configure-guile \
31866 html-guile
31867 @: $(MAKE); $(unstage)
31868 @[ -f ./guile/Makefile ] || exit 0; \
31869 r=`${PWD_COMMAND}`; export r; \
31870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31871 $(HOST_EXPORTS) \
31872 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31874 done; \
31875 echo "Doing install-html in guile" ; \
31876 (cd $(HOST_SUBDIR)/guile && \
31877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31879 "RANLIB=$${RANLIB}" \
31880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31881 install-html) \
31882 || exit 1
31884 @endif guile
31886 .PHONY: maybe-installcheck-guile installcheck-guile
31887 maybe-installcheck-guile:
31888 @if guile
31889 maybe-installcheck-guile: installcheck-guile
31891 installcheck-guile: \
31892 configure-guile
31893 @: $(MAKE); $(unstage)
31894 @[ -f ./guile/Makefile ] || exit 0; \
31895 r=`${PWD_COMMAND}`; export r; \
31896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31897 $(HOST_EXPORTS) \
31898 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31900 done; \
31901 echo "Doing installcheck in guile" ; \
31902 (cd $(HOST_SUBDIR)/guile && \
31903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31905 "RANLIB=$${RANLIB}" \
31906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31907 installcheck) \
31908 || exit 1
31910 @endif guile
31912 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31913 maybe-mostlyclean-guile:
31914 @if guile
31915 maybe-mostlyclean-guile: mostlyclean-guile
31917 mostlyclean-guile:
31918 @: $(MAKE); $(unstage)
31919 @[ -f ./guile/Makefile ] || exit 0; \
31920 r=`${PWD_COMMAND}`; export r; \
31921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31922 $(HOST_EXPORTS) \
31923 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31925 done; \
31926 echo "Doing mostlyclean in guile" ; \
31927 (cd $(HOST_SUBDIR)/guile && \
31928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31930 "RANLIB=$${RANLIB}" \
31931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31932 mostlyclean) \
31933 || exit 1
31935 @endif guile
31937 .PHONY: maybe-clean-guile clean-guile
31938 maybe-clean-guile:
31939 @if guile
31940 maybe-clean-guile: clean-guile
31942 clean-guile:
31943 @: $(MAKE); $(unstage)
31944 @[ -f ./guile/Makefile ] || exit 0; \
31945 r=`${PWD_COMMAND}`; export r; \
31946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31947 $(HOST_EXPORTS) \
31948 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31950 done; \
31951 echo "Doing clean in guile" ; \
31952 (cd $(HOST_SUBDIR)/guile && \
31953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31955 "RANLIB=$${RANLIB}" \
31956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31957 clean) \
31958 || exit 1
31960 @endif guile
31962 .PHONY: maybe-distclean-guile distclean-guile
31963 maybe-distclean-guile:
31964 @if guile
31965 maybe-distclean-guile: distclean-guile
31967 distclean-guile:
31968 @: $(MAKE); $(unstage)
31969 @[ -f ./guile/Makefile ] || exit 0; \
31970 r=`${PWD_COMMAND}`; export r; \
31971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31972 $(HOST_EXPORTS) \
31973 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31975 done; \
31976 echo "Doing distclean in guile" ; \
31977 (cd $(HOST_SUBDIR)/guile && \
31978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31980 "RANLIB=$${RANLIB}" \
31981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31982 distclean) \
31983 || exit 1
31985 @endif guile
31987 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
31988 maybe-maintainer-clean-guile:
31989 @if guile
31990 maybe-maintainer-clean-guile: maintainer-clean-guile
31992 maintainer-clean-guile:
31993 @: $(MAKE); $(unstage)
31994 @[ -f ./guile/Makefile ] || exit 0; \
31995 r=`${PWD_COMMAND}`; export r; \
31996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31997 $(HOST_EXPORTS) \
31998 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32000 done; \
32001 echo "Doing maintainer-clean in guile" ; \
32002 (cd $(HOST_SUBDIR)/guile && \
32003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32005 "RANLIB=$${RANLIB}" \
32006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32007 maintainer-clean) \
32008 || exit 1
32010 @endif guile
32014 .PHONY: configure-tk maybe-configure-tk
32015 maybe-configure-tk:
32016 @if gcc-bootstrap
32017 configure-tk: stage_current
32018 @endif gcc-bootstrap
32019 @if tk
32020 maybe-configure-tk: configure-tk
32021 configure-tk:
32022 @: $(MAKE); $(unstage)
32023 @r=`${PWD_COMMAND}`; export r; \
32024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32025 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
32027 $(HOST_EXPORTS) \
32028 echo Configuring in $(HOST_SUBDIR)/tk; \
32029 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32030 case $(srcdir) in \
32031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32032 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32034 esac; \
32035 srcdiroption="--srcdir=$${topdir}/tk"; \
32036 libsrcdir="$$s/tk"; \
32037 $(SHELL) $${libsrcdir}/configure \
32038 $(HOST_CONFIGARGS) $${srcdiroption} \
32039 || exit 1
32040 @endif tk
32046 .PHONY: all-tk maybe-all-tk
32047 maybe-all-tk:
32048 @if gcc-bootstrap
32049 all-tk: stage_current
32050 @endif gcc-bootstrap
32051 @if tk
32052 TARGET-tk=all
32053 maybe-all-tk: all-tk
32054 all-tk: configure-tk
32055 @: $(MAKE); $(unstage)
32056 @r=`${PWD_COMMAND}`; export r; \
32057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32058 $(HOST_EXPORTS) \
32059 (cd $(HOST_SUBDIR)/tk && \
32060 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
32061 @endif tk
32066 .PHONY: check-tk maybe-check-tk
32067 maybe-check-tk:
32068 @if tk
32069 maybe-check-tk: check-tk
32071 check-tk:
32072 @: $(MAKE); $(unstage)
32073 @r=`${PWD_COMMAND}`; export r; \
32074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32075 $(HOST_EXPORTS) \
32076 (cd $(HOST_SUBDIR)/tk && \
32077 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32079 @endif tk
32081 .PHONY: install-tk maybe-install-tk
32082 maybe-install-tk:
32083 @if tk
32084 maybe-install-tk: install-tk
32086 install-tk: installdirs
32087 @: $(MAKE); $(unstage)
32088 @r=`${PWD_COMMAND}`; export r; \
32089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32090 $(HOST_EXPORTS) \
32091 (cd $(HOST_SUBDIR)/tk && \
32092 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32094 @endif tk
32096 # Other targets (info, dvi, pdf, etc.)
32098 .PHONY: maybe-info-tk info-tk
32099 maybe-info-tk:
32100 @if tk
32101 maybe-info-tk: info-tk
32103 info-tk: \
32104 configure-tk
32105 @: $(MAKE); $(unstage)
32106 @[ -f ./tk/Makefile ] || exit 0; \
32107 r=`${PWD_COMMAND}`; export r; \
32108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32109 $(HOST_EXPORTS) \
32110 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32112 done; \
32113 echo "Doing info in tk" ; \
32114 (cd $(HOST_SUBDIR)/tk && \
32115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32117 "RANLIB=$${RANLIB}" \
32118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32119 info) \
32120 || exit 1
32122 @endif tk
32124 .PHONY: maybe-dvi-tk dvi-tk
32125 maybe-dvi-tk:
32126 @if tk
32127 maybe-dvi-tk: dvi-tk
32129 dvi-tk: \
32130 configure-tk
32131 @: $(MAKE); $(unstage)
32132 @[ -f ./tk/Makefile ] || exit 0; \
32133 r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(HOST_EXPORTS) \
32136 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32138 done; \
32139 echo "Doing dvi in tk" ; \
32140 (cd $(HOST_SUBDIR)/tk && \
32141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32143 "RANLIB=$${RANLIB}" \
32144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32145 dvi) \
32146 || exit 1
32148 @endif tk
32150 .PHONY: maybe-pdf-tk pdf-tk
32151 maybe-pdf-tk:
32152 @if tk
32153 maybe-pdf-tk: pdf-tk
32155 pdf-tk: \
32156 configure-tk
32157 @: $(MAKE); $(unstage)
32158 @[ -f ./tk/Makefile ] || exit 0; \
32159 r=`${PWD_COMMAND}`; export r; \
32160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32161 $(HOST_EXPORTS) \
32162 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32164 done; \
32165 echo "Doing pdf in tk" ; \
32166 (cd $(HOST_SUBDIR)/tk && \
32167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32169 "RANLIB=$${RANLIB}" \
32170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32171 pdf) \
32172 || exit 1
32174 @endif tk
32176 .PHONY: maybe-html-tk html-tk
32177 maybe-html-tk:
32178 @if tk
32179 maybe-html-tk: html-tk
32181 html-tk: \
32182 configure-tk
32183 @: $(MAKE); $(unstage)
32184 @[ -f ./tk/Makefile ] || exit 0; \
32185 r=`${PWD_COMMAND}`; export r; \
32186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32187 $(HOST_EXPORTS) \
32188 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32190 done; \
32191 echo "Doing html in tk" ; \
32192 (cd $(HOST_SUBDIR)/tk && \
32193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32195 "RANLIB=$${RANLIB}" \
32196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32197 html) \
32198 || exit 1
32200 @endif tk
32202 .PHONY: maybe-TAGS-tk TAGS-tk
32203 maybe-TAGS-tk:
32204 @if tk
32205 maybe-TAGS-tk: TAGS-tk
32207 TAGS-tk: \
32208 configure-tk
32209 @: $(MAKE); $(unstage)
32210 @[ -f ./tk/Makefile ] || exit 0; \
32211 r=`${PWD_COMMAND}`; export r; \
32212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32213 $(HOST_EXPORTS) \
32214 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32216 done; \
32217 echo "Doing TAGS in tk" ; \
32218 (cd $(HOST_SUBDIR)/tk && \
32219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32221 "RANLIB=$${RANLIB}" \
32222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32223 TAGS) \
32224 || exit 1
32226 @endif tk
32228 .PHONY: maybe-install-info-tk install-info-tk
32229 maybe-install-info-tk:
32230 @if tk
32231 maybe-install-info-tk: install-info-tk
32233 install-info-tk: \
32234 configure-tk \
32235 info-tk
32236 @: $(MAKE); $(unstage)
32237 @[ -f ./tk/Makefile ] || exit 0; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(HOST_EXPORTS) \
32241 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32243 done; \
32244 echo "Doing install-info in tk" ; \
32245 (cd $(HOST_SUBDIR)/tk && \
32246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32248 "RANLIB=$${RANLIB}" \
32249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32250 install-info) \
32251 || exit 1
32253 @endif tk
32255 .PHONY: maybe-install-html-tk install-html-tk
32256 maybe-install-html-tk:
32257 @if tk
32258 maybe-install-html-tk: install-html-tk
32260 install-html-tk: \
32261 configure-tk \
32262 html-tk
32263 @: $(MAKE); $(unstage)
32264 @[ -f ./tk/Makefile ] || exit 0; \
32265 r=`${PWD_COMMAND}`; export r; \
32266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32267 $(HOST_EXPORTS) \
32268 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32270 done; \
32271 echo "Doing install-html in tk" ; \
32272 (cd $(HOST_SUBDIR)/tk && \
32273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32275 "RANLIB=$${RANLIB}" \
32276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32277 install-html) \
32278 || exit 1
32280 @endif tk
32282 .PHONY: maybe-installcheck-tk installcheck-tk
32283 maybe-installcheck-tk:
32284 @if tk
32285 maybe-installcheck-tk: installcheck-tk
32287 installcheck-tk: \
32288 configure-tk
32289 @: $(MAKE); $(unstage)
32290 @[ -f ./tk/Makefile ] || exit 0; \
32291 r=`${PWD_COMMAND}`; export r; \
32292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32293 $(HOST_EXPORTS) \
32294 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32296 done; \
32297 echo "Doing installcheck in tk" ; \
32298 (cd $(HOST_SUBDIR)/tk && \
32299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32301 "RANLIB=$${RANLIB}" \
32302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32303 installcheck) \
32304 || exit 1
32306 @endif tk
32308 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32309 maybe-mostlyclean-tk:
32310 @if tk
32311 maybe-mostlyclean-tk: mostlyclean-tk
32313 mostlyclean-tk:
32314 @: $(MAKE); $(unstage)
32315 @[ -f ./tk/Makefile ] || exit 0; \
32316 r=`${PWD_COMMAND}`; export r; \
32317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32318 $(HOST_EXPORTS) \
32319 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32321 done; \
32322 echo "Doing mostlyclean in tk" ; \
32323 (cd $(HOST_SUBDIR)/tk && \
32324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32326 "RANLIB=$${RANLIB}" \
32327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32328 mostlyclean) \
32329 || exit 1
32331 @endif tk
32333 .PHONY: maybe-clean-tk clean-tk
32334 maybe-clean-tk:
32335 @if tk
32336 maybe-clean-tk: clean-tk
32338 clean-tk:
32339 @: $(MAKE); $(unstage)
32340 @[ -f ./tk/Makefile ] || exit 0; \
32341 r=`${PWD_COMMAND}`; export r; \
32342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32343 $(HOST_EXPORTS) \
32344 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32346 done; \
32347 echo "Doing clean in tk" ; \
32348 (cd $(HOST_SUBDIR)/tk && \
32349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32351 "RANLIB=$${RANLIB}" \
32352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32353 clean) \
32354 || exit 1
32356 @endif tk
32358 .PHONY: maybe-distclean-tk distclean-tk
32359 maybe-distclean-tk:
32360 @if tk
32361 maybe-distclean-tk: distclean-tk
32363 distclean-tk:
32364 @: $(MAKE); $(unstage)
32365 @[ -f ./tk/Makefile ] || exit 0; \
32366 r=`${PWD_COMMAND}`; export r; \
32367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32368 $(HOST_EXPORTS) \
32369 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32371 done; \
32372 echo "Doing distclean in tk" ; \
32373 (cd $(HOST_SUBDIR)/tk && \
32374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32376 "RANLIB=$${RANLIB}" \
32377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32378 distclean) \
32379 || exit 1
32381 @endif tk
32383 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32384 maybe-maintainer-clean-tk:
32385 @if tk
32386 maybe-maintainer-clean-tk: maintainer-clean-tk
32388 maintainer-clean-tk:
32389 @: $(MAKE); $(unstage)
32390 @[ -f ./tk/Makefile ] || exit 0; \
32391 r=`${PWD_COMMAND}`; export r; \
32392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32393 $(HOST_EXPORTS) \
32394 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32396 done; \
32397 echo "Doing maintainer-clean in tk" ; \
32398 (cd $(HOST_SUBDIR)/tk && \
32399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32401 "RANLIB=$${RANLIB}" \
32402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32403 maintainer-clean) \
32404 || exit 1
32406 @endif tk
32410 .PHONY: configure-libtermcap maybe-configure-libtermcap
32411 maybe-configure-libtermcap:
32412 @if gcc-bootstrap
32413 configure-libtermcap: stage_current
32414 @endif gcc-bootstrap
32415 @if libtermcap
32416 maybe-configure-libtermcap: configure-libtermcap
32417 configure-libtermcap:
32418 @: $(MAKE); $(unstage)
32419 @r=`${PWD_COMMAND}`; export r; \
32420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32421 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32423 $(HOST_EXPORTS) \
32424 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32425 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32426 case $(srcdir) in \
32427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32428 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32430 esac; \
32431 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32432 libsrcdir="$$s/libtermcap"; \
32433 $(SHELL) $${libsrcdir}/configure \
32434 $(HOST_CONFIGARGS) $${srcdiroption} \
32435 || exit 1
32436 @endif libtermcap
32442 .PHONY: all-libtermcap maybe-all-libtermcap
32443 maybe-all-libtermcap:
32444 @if gcc-bootstrap
32445 all-libtermcap: stage_current
32446 @endif gcc-bootstrap
32447 @if libtermcap
32448 TARGET-libtermcap=all
32449 maybe-all-libtermcap: all-libtermcap
32450 all-libtermcap: configure-libtermcap
32451 @: $(MAKE); $(unstage)
32452 @r=`${PWD_COMMAND}`; export r; \
32453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32454 $(HOST_EXPORTS) \
32455 (cd $(HOST_SUBDIR)/libtermcap && \
32456 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32457 @endif libtermcap
32462 .PHONY: check-libtermcap maybe-check-libtermcap
32463 maybe-check-libtermcap:
32464 @if libtermcap
32465 maybe-check-libtermcap: check-libtermcap
32467 check-libtermcap:
32469 @endif libtermcap
32471 .PHONY: install-libtermcap maybe-install-libtermcap
32472 maybe-install-libtermcap:
32473 @if libtermcap
32474 maybe-install-libtermcap: install-libtermcap
32476 install-libtermcap: installdirs
32477 @: $(MAKE); $(unstage)
32478 @r=`${PWD_COMMAND}`; export r; \
32479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32480 $(HOST_EXPORTS) \
32481 (cd $(HOST_SUBDIR)/libtermcap && \
32482 $(MAKE) $(FLAGS_TO_PASS) install)
32484 @endif libtermcap
32486 # Other targets (info, dvi, pdf, etc.)
32488 .PHONY: maybe-info-libtermcap info-libtermcap
32489 maybe-info-libtermcap:
32490 @if libtermcap
32491 maybe-info-libtermcap: info-libtermcap
32493 info-libtermcap: \
32494 configure-libtermcap
32495 @: $(MAKE); $(unstage)
32496 @[ -f ./libtermcap/Makefile ] || exit 0; \
32497 r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 $(HOST_EXPORTS) \
32500 for flag in $(EXTRA_HOST_FLAGS) ; do \
32501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32502 done; \
32503 echo "Doing info in libtermcap" ; \
32504 (cd $(HOST_SUBDIR)/libtermcap && \
32505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32507 "RANLIB=$${RANLIB}" \
32508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32509 info) \
32510 || exit 1
32512 @endif libtermcap
32514 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32515 maybe-dvi-libtermcap:
32516 @if libtermcap
32517 maybe-dvi-libtermcap: dvi-libtermcap
32519 dvi-libtermcap: \
32520 configure-libtermcap
32521 @: $(MAKE); $(unstage)
32522 @[ -f ./libtermcap/Makefile ] || exit 0; \
32523 r=`${PWD_COMMAND}`; export r; \
32524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32525 $(HOST_EXPORTS) \
32526 for flag in $(EXTRA_HOST_FLAGS) ; do \
32527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32528 done; \
32529 echo "Doing dvi in libtermcap" ; \
32530 (cd $(HOST_SUBDIR)/libtermcap && \
32531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32533 "RANLIB=$${RANLIB}" \
32534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32535 dvi) \
32536 || exit 1
32538 @endif libtermcap
32540 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32541 maybe-pdf-libtermcap:
32542 @if libtermcap
32543 maybe-pdf-libtermcap: pdf-libtermcap
32545 pdf-libtermcap: \
32546 configure-libtermcap
32547 @: $(MAKE); $(unstage)
32548 @[ -f ./libtermcap/Makefile ] || exit 0; \
32549 r=`${PWD_COMMAND}`; export r; \
32550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32551 $(HOST_EXPORTS) \
32552 for flag in $(EXTRA_HOST_FLAGS) ; do \
32553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32554 done; \
32555 echo "Doing pdf in libtermcap" ; \
32556 (cd $(HOST_SUBDIR)/libtermcap && \
32557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32559 "RANLIB=$${RANLIB}" \
32560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32561 pdf) \
32562 || exit 1
32564 @endif libtermcap
32566 .PHONY: maybe-html-libtermcap html-libtermcap
32567 maybe-html-libtermcap:
32568 @if libtermcap
32569 maybe-html-libtermcap: html-libtermcap
32571 html-libtermcap: \
32572 configure-libtermcap
32573 @: $(MAKE); $(unstage)
32574 @[ -f ./libtermcap/Makefile ] || exit 0; \
32575 r=`${PWD_COMMAND}`; export r; \
32576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32577 $(HOST_EXPORTS) \
32578 for flag in $(EXTRA_HOST_FLAGS) ; do \
32579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32580 done; \
32581 echo "Doing html in libtermcap" ; \
32582 (cd $(HOST_SUBDIR)/libtermcap && \
32583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32585 "RANLIB=$${RANLIB}" \
32586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32587 html) \
32588 || exit 1
32590 @endif libtermcap
32592 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32593 maybe-TAGS-libtermcap:
32594 @if libtermcap
32595 maybe-TAGS-libtermcap: TAGS-libtermcap
32597 TAGS-libtermcap: \
32598 configure-libtermcap
32599 @: $(MAKE); $(unstage)
32600 @[ -f ./libtermcap/Makefile ] || exit 0; \
32601 r=`${PWD_COMMAND}`; export r; \
32602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32603 $(HOST_EXPORTS) \
32604 for flag in $(EXTRA_HOST_FLAGS) ; do \
32605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32606 done; \
32607 echo "Doing TAGS in libtermcap" ; \
32608 (cd $(HOST_SUBDIR)/libtermcap && \
32609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32611 "RANLIB=$${RANLIB}" \
32612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32613 TAGS) \
32614 || exit 1
32616 @endif libtermcap
32618 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32619 maybe-install-info-libtermcap:
32620 @if libtermcap
32621 maybe-install-info-libtermcap: install-info-libtermcap
32623 install-info-libtermcap: \
32624 configure-libtermcap \
32625 info-libtermcap
32626 @: $(MAKE); $(unstage)
32627 @[ -f ./libtermcap/Makefile ] || exit 0; \
32628 r=`${PWD_COMMAND}`; export r; \
32629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32630 $(HOST_EXPORTS) \
32631 for flag in $(EXTRA_HOST_FLAGS) ; do \
32632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32633 done; \
32634 echo "Doing install-info in libtermcap" ; \
32635 (cd $(HOST_SUBDIR)/libtermcap && \
32636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32638 "RANLIB=$${RANLIB}" \
32639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32640 install-info) \
32641 || exit 1
32643 @endif libtermcap
32645 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32646 maybe-install-html-libtermcap:
32647 @if libtermcap
32648 maybe-install-html-libtermcap: install-html-libtermcap
32650 install-html-libtermcap: \
32651 configure-libtermcap \
32652 html-libtermcap
32653 @: $(MAKE); $(unstage)
32654 @[ -f ./libtermcap/Makefile ] || exit 0; \
32655 r=`${PWD_COMMAND}`; export r; \
32656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32657 $(HOST_EXPORTS) \
32658 for flag in $(EXTRA_HOST_FLAGS) ; do \
32659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32660 done; \
32661 echo "Doing install-html in libtermcap" ; \
32662 (cd $(HOST_SUBDIR)/libtermcap && \
32663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32665 "RANLIB=$${RANLIB}" \
32666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32667 install-html) \
32668 || exit 1
32670 @endif libtermcap
32672 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32673 maybe-installcheck-libtermcap:
32674 @if libtermcap
32675 maybe-installcheck-libtermcap: installcheck-libtermcap
32677 installcheck-libtermcap: \
32678 configure-libtermcap
32679 @: $(MAKE); $(unstage)
32680 @[ -f ./libtermcap/Makefile ] || exit 0; \
32681 r=`${PWD_COMMAND}`; export r; \
32682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32683 $(HOST_EXPORTS) \
32684 for flag in $(EXTRA_HOST_FLAGS) ; do \
32685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32686 done; \
32687 echo "Doing installcheck in libtermcap" ; \
32688 (cd $(HOST_SUBDIR)/libtermcap && \
32689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32691 "RANLIB=$${RANLIB}" \
32692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32693 installcheck) \
32694 || exit 1
32696 @endif libtermcap
32698 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32699 maybe-mostlyclean-libtermcap:
32700 @if libtermcap
32701 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32703 # libtermcap doesn't support mostlyclean.
32704 mostlyclean-libtermcap:
32706 @endif libtermcap
32708 .PHONY: maybe-clean-libtermcap clean-libtermcap
32709 maybe-clean-libtermcap:
32710 @if libtermcap
32711 maybe-clean-libtermcap: clean-libtermcap
32713 # libtermcap doesn't support clean.
32714 clean-libtermcap:
32716 @endif libtermcap
32718 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32719 maybe-distclean-libtermcap:
32720 @if libtermcap
32721 maybe-distclean-libtermcap: distclean-libtermcap
32723 # libtermcap doesn't support distclean.
32724 distclean-libtermcap:
32726 @endif libtermcap
32728 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32729 maybe-maintainer-clean-libtermcap:
32730 @if libtermcap
32731 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32733 # libtermcap doesn't support maintainer-clean.
32734 maintainer-clean-libtermcap:
32736 @endif libtermcap
32740 .PHONY: configure-utils maybe-configure-utils
32741 maybe-configure-utils:
32742 @if gcc-bootstrap
32743 configure-utils: stage_current
32744 @endif gcc-bootstrap
32745 @if utils
32746 maybe-configure-utils: configure-utils
32747 configure-utils:
32748 @: $(MAKE); $(unstage)
32749 @r=`${PWD_COMMAND}`; export r; \
32750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32751 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32753 $(HOST_EXPORTS) \
32754 echo Configuring in $(HOST_SUBDIR)/utils; \
32755 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32756 case $(srcdir) in \
32757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32758 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32760 esac; \
32761 srcdiroption="--srcdir=$${topdir}/utils"; \
32762 libsrcdir="$$s/utils"; \
32763 $(SHELL) $${libsrcdir}/configure \
32764 $(HOST_CONFIGARGS) $${srcdiroption} \
32765 || exit 1
32766 @endif utils
32772 .PHONY: all-utils maybe-all-utils
32773 maybe-all-utils:
32774 @if gcc-bootstrap
32775 all-utils: stage_current
32776 @endif gcc-bootstrap
32777 @if utils
32778 TARGET-utils=all
32779 maybe-all-utils: all-utils
32780 all-utils: configure-utils
32781 @: $(MAKE); $(unstage)
32782 @r=`${PWD_COMMAND}`; export r; \
32783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32784 $(HOST_EXPORTS) \
32785 (cd $(HOST_SUBDIR)/utils && \
32786 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32787 @endif utils
32792 .PHONY: check-utils maybe-check-utils
32793 maybe-check-utils:
32794 @if utils
32795 maybe-check-utils: check-utils
32797 check-utils:
32799 @endif utils
32801 .PHONY: install-utils maybe-install-utils
32802 maybe-install-utils:
32803 @if utils
32804 maybe-install-utils: install-utils
32806 install-utils: installdirs
32807 @: $(MAKE); $(unstage)
32808 @r=`${PWD_COMMAND}`; export r; \
32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32810 $(HOST_EXPORTS) \
32811 (cd $(HOST_SUBDIR)/utils && \
32812 $(MAKE) $(FLAGS_TO_PASS) install)
32814 @endif utils
32816 # Other targets (info, dvi, pdf, etc.)
32818 .PHONY: maybe-info-utils info-utils
32819 maybe-info-utils:
32820 @if utils
32821 maybe-info-utils: info-utils
32823 info-utils: \
32824 configure-utils
32825 @: $(MAKE); $(unstage)
32826 @[ -f ./utils/Makefile ] || exit 0; \
32827 r=`${PWD_COMMAND}`; export r; \
32828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32829 $(HOST_EXPORTS) \
32830 for flag in $(EXTRA_HOST_FLAGS) ; do \
32831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32832 done; \
32833 echo "Doing info in utils" ; \
32834 (cd $(HOST_SUBDIR)/utils && \
32835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32837 "RANLIB=$${RANLIB}" \
32838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32839 info) \
32840 || exit 1
32842 @endif utils
32844 .PHONY: maybe-dvi-utils dvi-utils
32845 maybe-dvi-utils:
32846 @if utils
32847 maybe-dvi-utils: dvi-utils
32849 dvi-utils: \
32850 configure-utils
32851 @: $(MAKE); $(unstage)
32852 @[ -f ./utils/Makefile ] || exit 0; \
32853 r=`${PWD_COMMAND}`; export r; \
32854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32855 $(HOST_EXPORTS) \
32856 for flag in $(EXTRA_HOST_FLAGS) ; do \
32857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32858 done; \
32859 echo "Doing dvi in utils" ; \
32860 (cd $(HOST_SUBDIR)/utils && \
32861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32863 "RANLIB=$${RANLIB}" \
32864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32865 dvi) \
32866 || exit 1
32868 @endif utils
32870 .PHONY: maybe-pdf-utils pdf-utils
32871 maybe-pdf-utils:
32872 @if utils
32873 maybe-pdf-utils: pdf-utils
32875 pdf-utils: \
32876 configure-utils
32877 @: $(MAKE); $(unstage)
32878 @[ -f ./utils/Makefile ] || exit 0; \
32879 r=`${PWD_COMMAND}`; export r; \
32880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32881 $(HOST_EXPORTS) \
32882 for flag in $(EXTRA_HOST_FLAGS) ; do \
32883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32884 done; \
32885 echo "Doing pdf in utils" ; \
32886 (cd $(HOST_SUBDIR)/utils && \
32887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32889 "RANLIB=$${RANLIB}" \
32890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32891 pdf) \
32892 || exit 1
32894 @endif utils
32896 .PHONY: maybe-html-utils html-utils
32897 maybe-html-utils:
32898 @if utils
32899 maybe-html-utils: html-utils
32901 html-utils: \
32902 configure-utils
32903 @: $(MAKE); $(unstage)
32904 @[ -f ./utils/Makefile ] || exit 0; \
32905 r=`${PWD_COMMAND}`; export r; \
32906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32907 $(HOST_EXPORTS) \
32908 for flag in $(EXTRA_HOST_FLAGS) ; do \
32909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32910 done; \
32911 echo "Doing html in utils" ; \
32912 (cd $(HOST_SUBDIR)/utils && \
32913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32915 "RANLIB=$${RANLIB}" \
32916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32917 html) \
32918 || exit 1
32920 @endif utils
32922 .PHONY: maybe-TAGS-utils TAGS-utils
32923 maybe-TAGS-utils:
32924 @if utils
32925 maybe-TAGS-utils: TAGS-utils
32927 TAGS-utils: \
32928 configure-utils
32929 @: $(MAKE); $(unstage)
32930 @[ -f ./utils/Makefile ] || exit 0; \
32931 r=`${PWD_COMMAND}`; export r; \
32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32933 $(HOST_EXPORTS) \
32934 for flag in $(EXTRA_HOST_FLAGS) ; do \
32935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32936 done; \
32937 echo "Doing TAGS in utils" ; \
32938 (cd $(HOST_SUBDIR)/utils && \
32939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32941 "RANLIB=$${RANLIB}" \
32942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32943 TAGS) \
32944 || exit 1
32946 @endif utils
32948 .PHONY: maybe-install-info-utils install-info-utils
32949 maybe-install-info-utils:
32950 @if utils
32951 maybe-install-info-utils: install-info-utils
32953 install-info-utils: \
32954 configure-utils \
32955 info-utils
32956 @: $(MAKE); $(unstage)
32957 @[ -f ./utils/Makefile ] || exit 0; \
32958 r=`${PWD_COMMAND}`; export r; \
32959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32960 $(HOST_EXPORTS) \
32961 for flag in $(EXTRA_HOST_FLAGS) ; do \
32962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32963 done; \
32964 echo "Doing install-info in utils" ; \
32965 (cd $(HOST_SUBDIR)/utils && \
32966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32968 "RANLIB=$${RANLIB}" \
32969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32970 install-info) \
32971 || exit 1
32973 @endif utils
32975 .PHONY: maybe-install-html-utils install-html-utils
32976 maybe-install-html-utils:
32977 @if utils
32978 maybe-install-html-utils: install-html-utils
32980 install-html-utils: \
32981 configure-utils \
32982 html-utils
32983 @: $(MAKE); $(unstage)
32984 @[ -f ./utils/Makefile ] || exit 0; \
32985 r=`${PWD_COMMAND}`; export r; \
32986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32987 $(HOST_EXPORTS) \
32988 for flag in $(EXTRA_HOST_FLAGS) ; do \
32989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32990 done; \
32991 echo "Doing install-html in utils" ; \
32992 (cd $(HOST_SUBDIR)/utils && \
32993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32995 "RANLIB=$${RANLIB}" \
32996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32997 install-html) \
32998 || exit 1
33000 @endif utils
33002 .PHONY: maybe-installcheck-utils installcheck-utils
33003 maybe-installcheck-utils:
33004 @if utils
33005 maybe-installcheck-utils: installcheck-utils
33007 installcheck-utils: \
33008 configure-utils
33009 @: $(MAKE); $(unstage)
33010 @[ -f ./utils/Makefile ] || exit 0; \
33011 r=`${PWD_COMMAND}`; export r; \
33012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33013 $(HOST_EXPORTS) \
33014 for flag in $(EXTRA_HOST_FLAGS) ; do \
33015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33016 done; \
33017 echo "Doing installcheck in utils" ; \
33018 (cd $(HOST_SUBDIR)/utils && \
33019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33021 "RANLIB=$${RANLIB}" \
33022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33023 installcheck) \
33024 || exit 1
33026 @endif utils
33028 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33029 maybe-mostlyclean-utils:
33030 @if utils
33031 maybe-mostlyclean-utils: mostlyclean-utils
33033 mostlyclean-utils:
33034 @: $(MAKE); $(unstage)
33035 @[ -f ./utils/Makefile ] || exit 0; \
33036 r=`${PWD_COMMAND}`; export r; \
33037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33038 $(HOST_EXPORTS) \
33039 for flag in $(EXTRA_HOST_FLAGS) ; do \
33040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33041 done; \
33042 echo "Doing mostlyclean in utils" ; \
33043 (cd $(HOST_SUBDIR)/utils && \
33044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33046 "RANLIB=$${RANLIB}" \
33047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33048 mostlyclean) \
33049 || exit 1
33051 @endif utils
33053 .PHONY: maybe-clean-utils clean-utils
33054 maybe-clean-utils:
33055 @if utils
33056 maybe-clean-utils: clean-utils
33058 clean-utils:
33059 @: $(MAKE); $(unstage)
33060 @[ -f ./utils/Makefile ] || exit 0; \
33061 r=`${PWD_COMMAND}`; export r; \
33062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33063 $(HOST_EXPORTS) \
33064 for flag in $(EXTRA_HOST_FLAGS) ; do \
33065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33066 done; \
33067 echo "Doing clean in utils" ; \
33068 (cd $(HOST_SUBDIR)/utils && \
33069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33071 "RANLIB=$${RANLIB}" \
33072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33073 clean) \
33074 || exit 1
33076 @endif utils
33078 .PHONY: maybe-distclean-utils distclean-utils
33079 maybe-distclean-utils:
33080 @if utils
33081 maybe-distclean-utils: distclean-utils
33083 distclean-utils:
33084 @: $(MAKE); $(unstage)
33085 @[ -f ./utils/Makefile ] || exit 0; \
33086 r=`${PWD_COMMAND}`; export r; \
33087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33088 $(HOST_EXPORTS) \
33089 for flag in $(EXTRA_HOST_FLAGS) ; do \
33090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33091 done; \
33092 echo "Doing distclean in utils" ; \
33093 (cd $(HOST_SUBDIR)/utils && \
33094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33096 "RANLIB=$${RANLIB}" \
33097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33098 distclean) \
33099 || exit 1
33101 @endif utils
33103 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33104 maybe-maintainer-clean-utils:
33105 @if utils
33106 maybe-maintainer-clean-utils: maintainer-clean-utils
33108 maintainer-clean-utils:
33109 @: $(MAKE); $(unstage)
33110 @[ -f ./utils/Makefile ] || exit 0; \
33111 r=`${PWD_COMMAND}`; export r; \
33112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33113 $(HOST_EXPORTS) \
33114 for flag in $(EXTRA_HOST_FLAGS) ; do \
33115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33116 done; \
33117 echo "Doing maintainer-clean in utils" ; \
33118 (cd $(HOST_SUBDIR)/utils && \
33119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33121 "RANLIB=$${RANLIB}" \
33122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33123 maintainer-clean) \
33124 || exit 1
33126 @endif utils
33130 .PHONY: configure-gnattools maybe-configure-gnattools
33131 maybe-configure-gnattools:
33132 @if gcc-bootstrap
33133 configure-gnattools: stage_current
33134 @endif gcc-bootstrap
33135 @if gnattools
33136 maybe-configure-gnattools: configure-gnattools
33137 configure-gnattools:
33138 @: $(MAKE); $(unstage)
33139 @r=`${PWD_COMMAND}`; export r; \
33140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33141 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
33143 $(HOST_EXPORTS) \
33144 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33145 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33146 case $(srcdir) in \
33147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33148 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33150 esac; \
33151 srcdiroption="--srcdir=$${topdir}/gnattools"; \
33152 libsrcdir="$$s/gnattools"; \
33153 $(SHELL) $${libsrcdir}/configure \
33154 $(HOST_CONFIGARGS) $${srcdiroption} \
33155 || exit 1
33156 @endif gnattools
33162 .PHONY: all-gnattools maybe-all-gnattools
33163 maybe-all-gnattools:
33164 @if gcc-bootstrap
33165 all-gnattools: stage_current
33166 @endif gcc-bootstrap
33167 @if gnattools
33168 TARGET-gnattools=all
33169 maybe-all-gnattools: all-gnattools
33170 all-gnattools: configure-gnattools
33171 @: $(MAKE); $(unstage)
33172 @r=`${PWD_COMMAND}`; export r; \
33173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33174 $(HOST_EXPORTS) \
33175 (cd $(HOST_SUBDIR)/gnattools && \
33176 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
33177 @endif gnattools
33182 .PHONY: check-gnattools maybe-check-gnattools
33183 maybe-check-gnattools:
33184 @if gnattools
33185 maybe-check-gnattools: check-gnattools
33187 check-gnattools:
33188 @: $(MAKE); $(unstage)
33189 @r=`${PWD_COMMAND}`; export r; \
33190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33191 $(HOST_EXPORTS) \
33192 (cd $(HOST_SUBDIR)/gnattools && \
33193 $(MAKE) $(FLAGS_TO_PASS) check)
33195 @endif gnattools
33197 .PHONY: install-gnattools maybe-install-gnattools
33198 maybe-install-gnattools:
33199 @if gnattools
33200 maybe-install-gnattools: install-gnattools
33202 install-gnattools: installdirs
33203 @: $(MAKE); $(unstage)
33204 @r=`${PWD_COMMAND}`; export r; \
33205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33206 $(HOST_EXPORTS) \
33207 (cd $(HOST_SUBDIR)/gnattools && \
33208 $(MAKE) $(FLAGS_TO_PASS) install)
33210 @endif gnattools
33212 # Other targets (info, dvi, pdf, etc.)
33214 .PHONY: maybe-info-gnattools info-gnattools
33215 maybe-info-gnattools:
33216 @if gnattools
33217 maybe-info-gnattools: info-gnattools
33219 info-gnattools: \
33220 configure-gnattools
33221 @: $(MAKE); $(unstage)
33222 @[ -f ./gnattools/Makefile ] || exit 0; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(HOST_EXPORTS) \
33226 for flag in $(EXTRA_HOST_FLAGS) ; do \
33227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33228 done; \
33229 echo "Doing info in gnattools" ; \
33230 (cd $(HOST_SUBDIR)/gnattools && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33235 info) \
33236 || exit 1
33238 @endif gnattools
33240 .PHONY: maybe-dvi-gnattools dvi-gnattools
33241 maybe-dvi-gnattools:
33242 @if gnattools
33243 maybe-dvi-gnattools: dvi-gnattools
33245 dvi-gnattools: \
33246 configure-gnattools
33247 @: $(MAKE); $(unstage)
33248 @[ -f ./gnattools/Makefile ] || exit 0; \
33249 r=`${PWD_COMMAND}`; export r; \
33250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33251 $(HOST_EXPORTS) \
33252 for flag in $(EXTRA_HOST_FLAGS) ; do \
33253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33254 done; \
33255 echo "Doing dvi in gnattools" ; \
33256 (cd $(HOST_SUBDIR)/gnattools && \
33257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33259 "RANLIB=$${RANLIB}" \
33260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33261 dvi) \
33262 || exit 1
33264 @endif gnattools
33266 .PHONY: maybe-pdf-gnattools pdf-gnattools
33267 maybe-pdf-gnattools:
33268 @if gnattools
33269 maybe-pdf-gnattools: pdf-gnattools
33271 pdf-gnattools: \
33272 configure-gnattools
33273 @: $(MAKE); $(unstage)
33274 @[ -f ./gnattools/Makefile ] || exit 0; \
33275 r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(HOST_EXPORTS) \
33278 for flag in $(EXTRA_HOST_FLAGS) ; do \
33279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33280 done; \
33281 echo "Doing pdf in gnattools" ; \
33282 (cd $(HOST_SUBDIR)/gnattools && \
33283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33285 "RANLIB=$${RANLIB}" \
33286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33287 pdf) \
33288 || exit 1
33290 @endif gnattools
33292 .PHONY: maybe-html-gnattools html-gnattools
33293 maybe-html-gnattools:
33294 @if gnattools
33295 maybe-html-gnattools: html-gnattools
33297 html-gnattools: \
33298 configure-gnattools
33299 @: $(MAKE); $(unstage)
33300 @[ -f ./gnattools/Makefile ] || exit 0; \
33301 r=`${PWD_COMMAND}`; export r; \
33302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33303 $(HOST_EXPORTS) \
33304 for flag in $(EXTRA_HOST_FLAGS) ; do \
33305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33306 done; \
33307 echo "Doing html in gnattools" ; \
33308 (cd $(HOST_SUBDIR)/gnattools && \
33309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33311 "RANLIB=$${RANLIB}" \
33312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33313 html) \
33314 || exit 1
33316 @endif gnattools
33318 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33319 maybe-TAGS-gnattools:
33320 @if gnattools
33321 maybe-TAGS-gnattools: TAGS-gnattools
33323 TAGS-gnattools: \
33324 configure-gnattools
33325 @: $(MAKE); $(unstage)
33326 @[ -f ./gnattools/Makefile ] || exit 0; \
33327 r=`${PWD_COMMAND}`; export r; \
33328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33329 $(HOST_EXPORTS) \
33330 for flag in $(EXTRA_HOST_FLAGS) ; do \
33331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33332 done; \
33333 echo "Doing TAGS in gnattools" ; \
33334 (cd $(HOST_SUBDIR)/gnattools && \
33335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33337 "RANLIB=$${RANLIB}" \
33338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33339 TAGS) \
33340 || exit 1
33342 @endif gnattools
33344 .PHONY: maybe-install-info-gnattools install-info-gnattools
33345 maybe-install-info-gnattools:
33346 @if gnattools
33347 maybe-install-info-gnattools: install-info-gnattools
33349 install-info-gnattools: \
33350 configure-gnattools \
33351 info-gnattools
33352 @: $(MAKE); $(unstage)
33353 @[ -f ./gnattools/Makefile ] || exit 0; \
33354 r=`${PWD_COMMAND}`; export r; \
33355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33356 $(HOST_EXPORTS) \
33357 for flag in $(EXTRA_HOST_FLAGS) ; do \
33358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33359 done; \
33360 echo "Doing install-info in gnattools" ; \
33361 (cd $(HOST_SUBDIR)/gnattools && \
33362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33364 "RANLIB=$${RANLIB}" \
33365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33366 install-info) \
33367 || exit 1
33369 @endif gnattools
33371 .PHONY: maybe-install-html-gnattools install-html-gnattools
33372 maybe-install-html-gnattools:
33373 @if gnattools
33374 maybe-install-html-gnattools: install-html-gnattools
33376 install-html-gnattools: \
33377 configure-gnattools \
33378 html-gnattools
33379 @: $(MAKE); $(unstage)
33380 @[ -f ./gnattools/Makefile ] || exit 0; \
33381 r=`${PWD_COMMAND}`; export r; \
33382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33383 $(HOST_EXPORTS) \
33384 for flag in $(EXTRA_HOST_FLAGS) ; do \
33385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33386 done; \
33387 echo "Doing install-html in gnattools" ; \
33388 (cd $(HOST_SUBDIR)/gnattools && \
33389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33391 "RANLIB=$${RANLIB}" \
33392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33393 install-html) \
33394 || exit 1
33396 @endif gnattools
33398 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33399 maybe-installcheck-gnattools:
33400 @if gnattools
33401 maybe-installcheck-gnattools: installcheck-gnattools
33403 installcheck-gnattools: \
33404 configure-gnattools
33405 @: $(MAKE); $(unstage)
33406 @[ -f ./gnattools/Makefile ] || exit 0; \
33407 r=`${PWD_COMMAND}`; export r; \
33408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33409 $(HOST_EXPORTS) \
33410 for flag in $(EXTRA_HOST_FLAGS) ; do \
33411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33412 done; \
33413 echo "Doing installcheck in gnattools" ; \
33414 (cd $(HOST_SUBDIR)/gnattools && \
33415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33417 "RANLIB=$${RANLIB}" \
33418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33419 installcheck) \
33420 || exit 1
33422 @endif gnattools
33424 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33425 maybe-mostlyclean-gnattools:
33426 @if gnattools
33427 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33429 mostlyclean-gnattools:
33430 @: $(MAKE); $(unstage)
33431 @[ -f ./gnattools/Makefile ] || exit 0; \
33432 r=`${PWD_COMMAND}`; export r; \
33433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33434 $(HOST_EXPORTS) \
33435 for flag in $(EXTRA_HOST_FLAGS) ; do \
33436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33437 done; \
33438 echo "Doing mostlyclean in gnattools" ; \
33439 (cd $(HOST_SUBDIR)/gnattools && \
33440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33442 "RANLIB=$${RANLIB}" \
33443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33444 mostlyclean) \
33445 || exit 1
33447 @endif gnattools
33449 .PHONY: maybe-clean-gnattools clean-gnattools
33450 maybe-clean-gnattools:
33451 @if gnattools
33452 maybe-clean-gnattools: clean-gnattools
33454 clean-gnattools:
33455 @: $(MAKE); $(unstage)
33456 @[ -f ./gnattools/Makefile ] || exit 0; \
33457 r=`${PWD_COMMAND}`; export r; \
33458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33459 $(HOST_EXPORTS) \
33460 for flag in $(EXTRA_HOST_FLAGS) ; do \
33461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33462 done; \
33463 echo "Doing clean in gnattools" ; \
33464 (cd $(HOST_SUBDIR)/gnattools && \
33465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33467 "RANLIB=$${RANLIB}" \
33468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33469 clean) \
33470 || exit 1
33472 @endif gnattools
33474 .PHONY: maybe-distclean-gnattools distclean-gnattools
33475 maybe-distclean-gnattools:
33476 @if gnattools
33477 maybe-distclean-gnattools: distclean-gnattools
33479 distclean-gnattools:
33480 @: $(MAKE); $(unstage)
33481 @[ -f ./gnattools/Makefile ] || exit 0; \
33482 r=`${PWD_COMMAND}`; export r; \
33483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33484 $(HOST_EXPORTS) \
33485 for flag in $(EXTRA_HOST_FLAGS) ; do \
33486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33487 done; \
33488 echo "Doing distclean in gnattools" ; \
33489 (cd $(HOST_SUBDIR)/gnattools && \
33490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33492 "RANLIB=$${RANLIB}" \
33493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33494 distclean) \
33495 || exit 1
33497 @endif gnattools
33499 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33500 maybe-maintainer-clean-gnattools:
33501 @if gnattools
33502 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33504 maintainer-clean-gnattools:
33505 @: $(MAKE); $(unstage)
33506 @[ -f ./gnattools/Makefile ] || exit 0; \
33507 r=`${PWD_COMMAND}`; export r; \
33508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33509 $(HOST_EXPORTS) \
33510 for flag in $(EXTRA_HOST_FLAGS) ; do \
33511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33512 done; \
33513 echo "Doing maintainer-clean in gnattools" ; \
33514 (cd $(HOST_SUBDIR)/gnattools && \
33515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33517 "RANLIB=$${RANLIB}" \
33518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33519 maintainer-clean) \
33520 || exit 1
33522 @endif gnattools
33526 # ---------------------------------------
33527 # Modules which run on the target machine
33528 # ---------------------------------------
33533 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33534 maybe-configure-target-libstdc++-v3:
33535 @if gcc-bootstrap
33536 configure-target-libstdc++-v3: stage_current
33537 @endif gcc-bootstrap
33538 @if target-libstdc++-v3
33539 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33540 configure-target-libstdc++-v3:
33541 @: $(MAKE); $(unstage)
33542 @r=`${PWD_COMMAND}`; export r; \
33543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33544 echo "Checking multilib configuration for libstdc++-v3..."; \
33545 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33546 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33547 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33548 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33549 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33550 else \
33551 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33552 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33553 fi; \
33554 else \
33555 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33556 fi; \
33557 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33559 $(RAW_CXX_TARGET_EXPORTS) \
33560 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33561 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33562 case $(srcdir) in \
33563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33564 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33566 esac; \
33567 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33568 libsrcdir="$$s/libstdc++-v3"; \
33569 rm -f no-such-file || : ; \
33570 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33571 $(TARGET_CONFIGARGS) $${srcdiroption} \
33572 || exit 1
33573 @endif target-libstdc++-v3
33579 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33580 maybe-all-target-libstdc++-v3:
33581 @if gcc-bootstrap
33582 all-target-libstdc++-v3: stage_current
33583 @endif gcc-bootstrap
33584 @if target-libstdc++-v3
33585 TARGET-target-libstdc++-v3=all
33586 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33587 all-target-libstdc++-v3: configure-target-libstdc++-v3
33588 @: $(MAKE); $(unstage)
33589 @r=`${PWD_COMMAND}`; export r; \
33590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33591 $(RAW_CXX_TARGET_EXPORTS) \
33592 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33593 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33594 @endif target-libstdc++-v3
33600 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33601 maybe-check-target-libstdc++-v3:
33602 @if target-libstdc++-v3
33603 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33605 check-target-libstdc++-v3:
33606 @: $(MAKE); $(unstage)
33607 @r=`${PWD_COMMAND}`; export r; \
33608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33609 $(RAW_CXX_TARGET_EXPORTS) \
33610 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33611 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33613 @endif target-libstdc++-v3
33615 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33616 maybe-install-target-libstdc++-v3:
33617 @if target-libstdc++-v3
33618 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33620 install-target-libstdc++-v3: installdirs
33621 @: $(MAKE); $(unstage)
33622 @r=`${PWD_COMMAND}`; export r; \
33623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33624 $(RAW_CXX_TARGET_EXPORTS) \
33625 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33626 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33628 @endif target-libstdc++-v3
33630 # Other targets (info, dvi, pdf, etc.)
33632 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33633 maybe-info-target-libstdc++-v3:
33634 @if target-libstdc++-v3
33635 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33637 info-target-libstdc++-v3: \
33638 configure-target-libstdc++-v3
33639 @: $(MAKE); $(unstage)
33640 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33641 r=`${PWD_COMMAND}`; export r; \
33642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33643 $(RAW_CXX_TARGET_EXPORTS) \
33644 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33645 for flag in $(EXTRA_TARGET_FLAGS); do \
33646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33647 done; \
33648 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33651 "RANLIB=$${RANLIB}" \
33652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33653 info) \
33654 || exit 1
33656 @endif target-libstdc++-v3
33658 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33659 maybe-dvi-target-libstdc++-v3:
33660 @if target-libstdc++-v3
33661 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33663 dvi-target-libstdc++-v3: \
33664 configure-target-libstdc++-v3
33665 @: $(MAKE); $(unstage)
33666 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33667 r=`${PWD_COMMAND}`; export r; \
33668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33669 $(RAW_CXX_TARGET_EXPORTS) \
33670 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33671 for flag in $(EXTRA_TARGET_FLAGS); do \
33672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33673 done; \
33674 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33677 "RANLIB=$${RANLIB}" \
33678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33679 dvi) \
33680 || exit 1
33682 @endif target-libstdc++-v3
33684 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33685 maybe-pdf-target-libstdc++-v3:
33686 @if target-libstdc++-v3
33687 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33689 pdf-target-libstdc++-v3: \
33690 configure-target-libstdc++-v3
33691 @: $(MAKE); $(unstage)
33692 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33693 r=`${PWD_COMMAND}`; export r; \
33694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33695 $(RAW_CXX_TARGET_EXPORTS) \
33696 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33697 for flag in $(EXTRA_TARGET_FLAGS); do \
33698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33699 done; \
33700 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33703 "RANLIB=$${RANLIB}" \
33704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33705 pdf) \
33706 || exit 1
33708 @endif target-libstdc++-v3
33710 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33711 maybe-html-target-libstdc++-v3:
33712 @if target-libstdc++-v3
33713 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33715 html-target-libstdc++-v3: \
33716 configure-target-libstdc++-v3
33717 @: $(MAKE); $(unstage)
33718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33719 r=`${PWD_COMMAND}`; export r; \
33720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33721 $(RAW_CXX_TARGET_EXPORTS) \
33722 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33723 for flag in $(EXTRA_TARGET_FLAGS); do \
33724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33725 done; \
33726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33729 "RANLIB=$${RANLIB}" \
33730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33731 html) \
33732 || exit 1
33734 @endif target-libstdc++-v3
33736 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33737 maybe-TAGS-target-libstdc++-v3:
33738 @if target-libstdc++-v3
33739 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33741 TAGS-target-libstdc++-v3: \
33742 configure-target-libstdc++-v3
33743 @: $(MAKE); $(unstage)
33744 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33745 r=`${PWD_COMMAND}`; export r; \
33746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33747 $(RAW_CXX_TARGET_EXPORTS) \
33748 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33749 for flag in $(EXTRA_TARGET_FLAGS); do \
33750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33751 done; \
33752 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33755 "RANLIB=$${RANLIB}" \
33756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33757 TAGS) \
33758 || exit 1
33760 @endif target-libstdc++-v3
33762 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33763 maybe-install-info-target-libstdc++-v3:
33764 @if target-libstdc++-v3
33765 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33767 install-info-target-libstdc++-v3: \
33768 configure-target-libstdc++-v3 \
33769 info-target-libstdc++-v3
33770 @: $(MAKE); $(unstage)
33771 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33772 r=`${PWD_COMMAND}`; export r; \
33773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33774 $(RAW_CXX_TARGET_EXPORTS) \
33775 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33776 for flag in $(EXTRA_TARGET_FLAGS); do \
33777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33778 done; \
33779 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33782 "RANLIB=$${RANLIB}" \
33783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33784 install-info) \
33785 || exit 1
33787 @endif target-libstdc++-v3
33789 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33790 maybe-install-html-target-libstdc++-v3:
33791 @if target-libstdc++-v3
33792 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33794 install-html-target-libstdc++-v3: \
33795 configure-target-libstdc++-v3 \
33796 html-target-libstdc++-v3
33797 @: $(MAKE); $(unstage)
33798 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33799 r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 $(RAW_CXX_TARGET_EXPORTS) \
33802 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33803 for flag in $(EXTRA_TARGET_FLAGS); do \
33804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33805 done; \
33806 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33809 "RANLIB=$${RANLIB}" \
33810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33811 install-html) \
33812 || exit 1
33814 @endif target-libstdc++-v3
33816 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33817 maybe-installcheck-target-libstdc++-v3:
33818 @if target-libstdc++-v3
33819 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33821 installcheck-target-libstdc++-v3: \
33822 configure-target-libstdc++-v3
33823 @: $(MAKE); $(unstage)
33824 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33825 r=`${PWD_COMMAND}`; export r; \
33826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33827 $(RAW_CXX_TARGET_EXPORTS) \
33828 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33829 for flag in $(EXTRA_TARGET_FLAGS); do \
33830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33831 done; \
33832 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33835 "RANLIB=$${RANLIB}" \
33836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33837 installcheck) \
33838 || exit 1
33840 @endif target-libstdc++-v3
33842 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33843 maybe-mostlyclean-target-libstdc++-v3:
33844 @if target-libstdc++-v3
33845 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33847 mostlyclean-target-libstdc++-v3:
33848 @: $(MAKE); $(unstage)
33849 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33850 r=`${PWD_COMMAND}`; export r; \
33851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33852 $(RAW_CXX_TARGET_EXPORTS) \
33853 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33854 for flag in $(EXTRA_TARGET_FLAGS); do \
33855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33856 done; \
33857 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33860 "RANLIB=$${RANLIB}" \
33861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33862 mostlyclean) \
33863 || exit 1
33865 @endif target-libstdc++-v3
33867 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33868 maybe-clean-target-libstdc++-v3:
33869 @if target-libstdc++-v3
33870 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33872 clean-target-libstdc++-v3:
33873 @: $(MAKE); $(unstage)
33874 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33875 r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(RAW_CXX_TARGET_EXPORTS) \
33878 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33879 for flag in $(EXTRA_TARGET_FLAGS); do \
33880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33881 done; \
33882 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33885 "RANLIB=$${RANLIB}" \
33886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33887 clean) \
33888 || exit 1
33890 @endif target-libstdc++-v3
33892 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33893 maybe-distclean-target-libstdc++-v3:
33894 @if target-libstdc++-v3
33895 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33897 distclean-target-libstdc++-v3:
33898 @: $(MAKE); $(unstage)
33899 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33900 r=`${PWD_COMMAND}`; export r; \
33901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33902 $(RAW_CXX_TARGET_EXPORTS) \
33903 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33904 for flag in $(EXTRA_TARGET_FLAGS); do \
33905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33906 done; \
33907 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33910 "RANLIB=$${RANLIB}" \
33911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33912 distclean) \
33913 || exit 1
33915 @endif target-libstdc++-v3
33917 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33918 maybe-maintainer-clean-target-libstdc++-v3:
33919 @if target-libstdc++-v3
33920 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33922 maintainer-clean-target-libstdc++-v3:
33923 @: $(MAKE); $(unstage)
33924 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33925 r=`${PWD_COMMAND}`; export r; \
33926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33927 $(RAW_CXX_TARGET_EXPORTS) \
33928 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33929 for flag in $(EXTRA_TARGET_FLAGS); do \
33930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33931 done; \
33932 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33935 "RANLIB=$${RANLIB}" \
33936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33937 maintainer-clean) \
33938 || exit 1
33940 @endif target-libstdc++-v3
33946 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33947 maybe-configure-target-libmudflap:
33948 @if gcc-bootstrap
33949 configure-target-libmudflap: stage_current
33950 @endif gcc-bootstrap
33951 @if target-libmudflap
33952 maybe-configure-target-libmudflap: configure-target-libmudflap
33953 configure-target-libmudflap:
33954 @: $(MAKE); $(unstage)
33955 @r=`${PWD_COMMAND}`; export r; \
33956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33957 echo "Checking multilib configuration for libmudflap..."; \
33958 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33959 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33960 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33961 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33962 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33963 else \
33964 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33965 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33966 fi; \
33967 else \
33968 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33969 fi; \
33970 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33972 $(NORMAL_TARGET_EXPORTS) \
33973 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33974 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33975 case $(srcdir) in \
33976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33977 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33979 esac; \
33980 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33981 libsrcdir="$$s/libmudflap"; \
33982 rm -f no-such-file || : ; \
33983 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33984 $(TARGET_CONFIGARGS) $${srcdiroption} \
33985 || exit 1
33986 @endif target-libmudflap
33992 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
33993 maybe-all-target-libmudflap:
33994 @if gcc-bootstrap
33995 all-target-libmudflap: stage_current
33996 @endif gcc-bootstrap
33997 @if target-libmudflap
33998 TARGET-target-libmudflap=all
33999 maybe-all-target-libmudflap: all-target-libmudflap
34000 all-target-libmudflap: configure-target-libmudflap
34001 @: $(MAKE); $(unstage)
34002 @r=`${PWD_COMMAND}`; export r; \
34003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34004 $(NORMAL_TARGET_EXPORTS) \
34005 (cd $(TARGET_SUBDIR)/libmudflap && \
34006 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
34007 @endif target-libmudflap
34013 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
34014 maybe-check-target-libmudflap:
34015 @if target-libmudflap
34016 maybe-check-target-libmudflap: check-target-libmudflap
34018 check-target-libmudflap:
34019 @: $(MAKE); $(unstage)
34020 @r=`${PWD_COMMAND}`; export r; \
34021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34022 $(NORMAL_TARGET_EXPORTS) \
34023 (cd $(TARGET_SUBDIR)/libmudflap && \
34024 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34026 @endif target-libmudflap
34028 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
34029 maybe-install-target-libmudflap:
34030 @if target-libmudflap
34031 maybe-install-target-libmudflap: install-target-libmudflap
34033 install-target-libmudflap: installdirs
34034 @: $(MAKE); $(unstage)
34035 @r=`${PWD_COMMAND}`; export r; \
34036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34037 $(NORMAL_TARGET_EXPORTS) \
34038 (cd $(TARGET_SUBDIR)/libmudflap && \
34039 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34041 @endif target-libmudflap
34043 # Other targets (info, dvi, pdf, etc.)
34045 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
34046 maybe-info-target-libmudflap:
34047 @if target-libmudflap
34048 maybe-info-target-libmudflap: info-target-libmudflap
34050 info-target-libmudflap: \
34051 configure-target-libmudflap
34052 @: $(MAKE); $(unstage)
34053 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34054 r=`${PWD_COMMAND}`; export r; \
34055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34056 $(NORMAL_TARGET_EXPORTS) \
34057 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
34058 for flag in $(EXTRA_TARGET_FLAGS); do \
34059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34060 done; \
34061 (cd $(TARGET_SUBDIR)/libmudflap && \
34062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34064 "RANLIB=$${RANLIB}" \
34065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34066 info) \
34067 || exit 1
34069 @endif target-libmudflap
34071 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
34072 maybe-dvi-target-libmudflap:
34073 @if target-libmudflap
34074 maybe-dvi-target-libmudflap: dvi-target-libmudflap
34076 dvi-target-libmudflap: \
34077 configure-target-libmudflap
34078 @: $(MAKE); $(unstage)
34079 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34080 r=`${PWD_COMMAND}`; export r; \
34081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34082 $(NORMAL_TARGET_EXPORTS) \
34083 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
34084 for flag in $(EXTRA_TARGET_FLAGS); do \
34085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34086 done; \
34087 (cd $(TARGET_SUBDIR)/libmudflap && \
34088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34090 "RANLIB=$${RANLIB}" \
34091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34092 dvi) \
34093 || exit 1
34095 @endif target-libmudflap
34097 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
34098 maybe-pdf-target-libmudflap:
34099 @if target-libmudflap
34100 maybe-pdf-target-libmudflap: pdf-target-libmudflap
34102 pdf-target-libmudflap: \
34103 configure-target-libmudflap
34104 @: $(MAKE); $(unstage)
34105 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34106 r=`${PWD_COMMAND}`; export r; \
34107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34108 $(NORMAL_TARGET_EXPORTS) \
34109 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
34110 for flag in $(EXTRA_TARGET_FLAGS); do \
34111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34112 done; \
34113 (cd $(TARGET_SUBDIR)/libmudflap && \
34114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34116 "RANLIB=$${RANLIB}" \
34117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34118 pdf) \
34119 || exit 1
34121 @endif target-libmudflap
34123 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
34124 maybe-html-target-libmudflap:
34125 @if target-libmudflap
34126 maybe-html-target-libmudflap: html-target-libmudflap
34128 html-target-libmudflap: \
34129 configure-target-libmudflap
34130 @: $(MAKE); $(unstage)
34131 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34132 r=`${PWD_COMMAND}`; export r; \
34133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34134 $(NORMAL_TARGET_EXPORTS) \
34135 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
34136 for flag in $(EXTRA_TARGET_FLAGS); do \
34137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34138 done; \
34139 (cd $(TARGET_SUBDIR)/libmudflap && \
34140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34142 "RANLIB=$${RANLIB}" \
34143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34144 html) \
34145 || exit 1
34147 @endif target-libmudflap
34149 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
34150 maybe-TAGS-target-libmudflap:
34151 @if target-libmudflap
34152 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
34154 TAGS-target-libmudflap: \
34155 configure-target-libmudflap
34156 @: $(MAKE); $(unstage)
34157 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34158 r=`${PWD_COMMAND}`; export r; \
34159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34160 $(NORMAL_TARGET_EXPORTS) \
34161 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
34162 for flag in $(EXTRA_TARGET_FLAGS); do \
34163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34164 done; \
34165 (cd $(TARGET_SUBDIR)/libmudflap && \
34166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34168 "RANLIB=$${RANLIB}" \
34169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34170 TAGS) \
34171 || exit 1
34173 @endif target-libmudflap
34175 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
34176 maybe-install-info-target-libmudflap:
34177 @if target-libmudflap
34178 maybe-install-info-target-libmudflap: install-info-target-libmudflap
34180 install-info-target-libmudflap: \
34181 configure-target-libmudflap \
34182 info-target-libmudflap
34183 @: $(MAKE); $(unstage)
34184 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34185 r=`${PWD_COMMAND}`; export r; \
34186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34187 $(NORMAL_TARGET_EXPORTS) \
34188 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
34189 for flag in $(EXTRA_TARGET_FLAGS); do \
34190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34191 done; \
34192 (cd $(TARGET_SUBDIR)/libmudflap && \
34193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34195 "RANLIB=$${RANLIB}" \
34196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34197 install-info) \
34198 || exit 1
34200 @endif target-libmudflap
34202 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
34203 maybe-install-html-target-libmudflap:
34204 @if target-libmudflap
34205 maybe-install-html-target-libmudflap: install-html-target-libmudflap
34207 install-html-target-libmudflap: \
34208 configure-target-libmudflap \
34209 html-target-libmudflap
34210 @: $(MAKE); $(unstage)
34211 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34212 r=`${PWD_COMMAND}`; export r; \
34213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34214 $(NORMAL_TARGET_EXPORTS) \
34215 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
34216 for flag in $(EXTRA_TARGET_FLAGS); do \
34217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34218 done; \
34219 (cd $(TARGET_SUBDIR)/libmudflap && \
34220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34222 "RANLIB=$${RANLIB}" \
34223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34224 install-html) \
34225 || exit 1
34227 @endif target-libmudflap
34229 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34230 maybe-installcheck-target-libmudflap:
34231 @if target-libmudflap
34232 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34234 installcheck-target-libmudflap: \
34235 configure-target-libmudflap
34236 @: $(MAKE); $(unstage)
34237 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34238 r=`${PWD_COMMAND}`; export r; \
34239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34240 $(NORMAL_TARGET_EXPORTS) \
34241 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34242 for flag in $(EXTRA_TARGET_FLAGS); do \
34243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34244 done; \
34245 (cd $(TARGET_SUBDIR)/libmudflap && \
34246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34248 "RANLIB=$${RANLIB}" \
34249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34250 installcheck) \
34251 || exit 1
34253 @endif target-libmudflap
34255 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34256 maybe-mostlyclean-target-libmudflap:
34257 @if target-libmudflap
34258 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34260 mostlyclean-target-libmudflap:
34261 @: $(MAKE); $(unstage)
34262 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34263 r=`${PWD_COMMAND}`; export r; \
34264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34265 $(NORMAL_TARGET_EXPORTS) \
34266 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34267 for flag in $(EXTRA_TARGET_FLAGS); do \
34268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34269 done; \
34270 (cd $(TARGET_SUBDIR)/libmudflap && \
34271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34273 "RANLIB=$${RANLIB}" \
34274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34275 mostlyclean) \
34276 || exit 1
34278 @endif target-libmudflap
34280 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34281 maybe-clean-target-libmudflap:
34282 @if target-libmudflap
34283 maybe-clean-target-libmudflap: clean-target-libmudflap
34285 clean-target-libmudflap:
34286 @: $(MAKE); $(unstage)
34287 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34288 r=`${PWD_COMMAND}`; export r; \
34289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34290 $(NORMAL_TARGET_EXPORTS) \
34291 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34292 for flag in $(EXTRA_TARGET_FLAGS); do \
34293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34294 done; \
34295 (cd $(TARGET_SUBDIR)/libmudflap && \
34296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34298 "RANLIB=$${RANLIB}" \
34299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34300 clean) \
34301 || exit 1
34303 @endif target-libmudflap
34305 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34306 maybe-distclean-target-libmudflap:
34307 @if target-libmudflap
34308 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34310 distclean-target-libmudflap:
34311 @: $(MAKE); $(unstage)
34312 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34313 r=`${PWD_COMMAND}`; export r; \
34314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34315 $(NORMAL_TARGET_EXPORTS) \
34316 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34317 for flag in $(EXTRA_TARGET_FLAGS); do \
34318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34319 done; \
34320 (cd $(TARGET_SUBDIR)/libmudflap && \
34321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34323 "RANLIB=$${RANLIB}" \
34324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34325 distclean) \
34326 || exit 1
34328 @endif target-libmudflap
34330 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34331 maybe-maintainer-clean-target-libmudflap:
34332 @if target-libmudflap
34333 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34335 maintainer-clean-target-libmudflap:
34336 @: $(MAKE); $(unstage)
34337 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34338 r=`${PWD_COMMAND}`; export r; \
34339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34340 $(NORMAL_TARGET_EXPORTS) \
34341 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34342 for flag in $(EXTRA_TARGET_FLAGS); do \
34343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34344 done; \
34345 (cd $(TARGET_SUBDIR)/libmudflap && \
34346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34348 "RANLIB=$${RANLIB}" \
34349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34350 maintainer-clean) \
34351 || exit 1
34353 @endif target-libmudflap
34359 .PHONY: configure-target-libssp maybe-configure-target-libssp
34360 maybe-configure-target-libssp:
34361 @if gcc-bootstrap
34362 configure-target-libssp: stage_current
34363 @endif gcc-bootstrap
34364 @if target-libssp
34365 maybe-configure-target-libssp: configure-target-libssp
34366 configure-target-libssp:
34367 @: $(MAKE); $(unstage)
34368 @r=`${PWD_COMMAND}`; export r; \
34369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34370 echo "Checking multilib configuration for libssp..."; \
34371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34372 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34373 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34374 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34375 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34376 else \
34377 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34378 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34379 fi; \
34380 else \
34381 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34382 fi; \
34383 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34385 $(NORMAL_TARGET_EXPORTS) \
34386 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34387 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34388 case $(srcdir) in \
34389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34390 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34392 esac; \
34393 srcdiroption="--srcdir=$${topdir}/libssp"; \
34394 libsrcdir="$$s/libssp"; \
34395 rm -f no-such-file || : ; \
34396 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34397 $(TARGET_CONFIGARGS) $${srcdiroption} \
34398 || exit 1
34399 @endif target-libssp
34405 .PHONY: all-target-libssp maybe-all-target-libssp
34406 maybe-all-target-libssp:
34407 @if gcc-bootstrap
34408 all-target-libssp: stage_current
34409 @endif gcc-bootstrap
34410 @if target-libssp
34411 TARGET-target-libssp=all
34412 maybe-all-target-libssp: all-target-libssp
34413 all-target-libssp: configure-target-libssp
34414 @: $(MAKE); $(unstage)
34415 @r=`${PWD_COMMAND}`; export r; \
34416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34417 $(NORMAL_TARGET_EXPORTS) \
34418 (cd $(TARGET_SUBDIR)/libssp && \
34419 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34420 @endif target-libssp
34426 .PHONY: check-target-libssp maybe-check-target-libssp
34427 maybe-check-target-libssp:
34428 @if target-libssp
34429 maybe-check-target-libssp: check-target-libssp
34431 check-target-libssp:
34432 @: $(MAKE); $(unstage)
34433 @r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(NORMAL_TARGET_EXPORTS) \
34436 (cd $(TARGET_SUBDIR)/libssp && \
34437 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34439 @endif target-libssp
34441 .PHONY: install-target-libssp maybe-install-target-libssp
34442 maybe-install-target-libssp:
34443 @if target-libssp
34444 maybe-install-target-libssp: install-target-libssp
34446 install-target-libssp: installdirs
34447 @: $(MAKE); $(unstage)
34448 @r=`${PWD_COMMAND}`; export r; \
34449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34450 $(NORMAL_TARGET_EXPORTS) \
34451 (cd $(TARGET_SUBDIR)/libssp && \
34452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34454 @endif target-libssp
34456 # Other targets (info, dvi, pdf, etc.)
34458 .PHONY: maybe-info-target-libssp info-target-libssp
34459 maybe-info-target-libssp:
34460 @if target-libssp
34461 maybe-info-target-libssp: info-target-libssp
34463 info-target-libssp: \
34464 configure-target-libssp
34465 @: $(MAKE); $(unstage)
34466 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34467 r=`${PWD_COMMAND}`; export r; \
34468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34469 $(NORMAL_TARGET_EXPORTS) \
34470 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34471 for flag in $(EXTRA_TARGET_FLAGS); do \
34472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34473 done; \
34474 (cd $(TARGET_SUBDIR)/libssp && \
34475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34477 "RANLIB=$${RANLIB}" \
34478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34479 info) \
34480 || exit 1
34482 @endif target-libssp
34484 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34485 maybe-dvi-target-libssp:
34486 @if target-libssp
34487 maybe-dvi-target-libssp: dvi-target-libssp
34489 dvi-target-libssp: \
34490 configure-target-libssp
34491 @: $(MAKE); $(unstage)
34492 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34493 r=`${PWD_COMMAND}`; export r; \
34494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34495 $(NORMAL_TARGET_EXPORTS) \
34496 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34497 for flag in $(EXTRA_TARGET_FLAGS); do \
34498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34499 done; \
34500 (cd $(TARGET_SUBDIR)/libssp && \
34501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34503 "RANLIB=$${RANLIB}" \
34504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34505 dvi) \
34506 || exit 1
34508 @endif target-libssp
34510 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34511 maybe-pdf-target-libssp:
34512 @if target-libssp
34513 maybe-pdf-target-libssp: pdf-target-libssp
34515 pdf-target-libssp: \
34516 configure-target-libssp
34517 @: $(MAKE); $(unstage)
34518 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34519 r=`${PWD_COMMAND}`; export r; \
34520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34521 $(NORMAL_TARGET_EXPORTS) \
34522 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34523 for flag in $(EXTRA_TARGET_FLAGS); do \
34524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34525 done; \
34526 (cd $(TARGET_SUBDIR)/libssp && \
34527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34529 "RANLIB=$${RANLIB}" \
34530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34531 pdf) \
34532 || exit 1
34534 @endif target-libssp
34536 .PHONY: maybe-html-target-libssp html-target-libssp
34537 maybe-html-target-libssp:
34538 @if target-libssp
34539 maybe-html-target-libssp: html-target-libssp
34541 html-target-libssp: \
34542 configure-target-libssp
34543 @: $(MAKE); $(unstage)
34544 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34545 r=`${PWD_COMMAND}`; export r; \
34546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34547 $(NORMAL_TARGET_EXPORTS) \
34548 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34549 for flag in $(EXTRA_TARGET_FLAGS); do \
34550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34551 done; \
34552 (cd $(TARGET_SUBDIR)/libssp && \
34553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34555 "RANLIB=$${RANLIB}" \
34556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34557 html) \
34558 || exit 1
34560 @endif target-libssp
34562 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34563 maybe-TAGS-target-libssp:
34564 @if target-libssp
34565 maybe-TAGS-target-libssp: TAGS-target-libssp
34567 TAGS-target-libssp: \
34568 configure-target-libssp
34569 @: $(MAKE); $(unstage)
34570 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34571 r=`${PWD_COMMAND}`; export r; \
34572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34573 $(NORMAL_TARGET_EXPORTS) \
34574 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34575 for flag in $(EXTRA_TARGET_FLAGS); do \
34576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34577 done; \
34578 (cd $(TARGET_SUBDIR)/libssp && \
34579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34581 "RANLIB=$${RANLIB}" \
34582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34583 TAGS) \
34584 || exit 1
34586 @endif target-libssp
34588 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34589 maybe-install-info-target-libssp:
34590 @if target-libssp
34591 maybe-install-info-target-libssp: install-info-target-libssp
34593 install-info-target-libssp: \
34594 configure-target-libssp \
34595 info-target-libssp
34596 @: $(MAKE); $(unstage)
34597 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34598 r=`${PWD_COMMAND}`; export r; \
34599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34600 $(NORMAL_TARGET_EXPORTS) \
34601 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34602 for flag in $(EXTRA_TARGET_FLAGS); do \
34603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34604 done; \
34605 (cd $(TARGET_SUBDIR)/libssp && \
34606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34608 "RANLIB=$${RANLIB}" \
34609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34610 install-info) \
34611 || exit 1
34613 @endif target-libssp
34615 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34616 maybe-install-html-target-libssp:
34617 @if target-libssp
34618 maybe-install-html-target-libssp: install-html-target-libssp
34620 install-html-target-libssp: \
34621 configure-target-libssp \
34622 html-target-libssp
34623 @: $(MAKE); $(unstage)
34624 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34625 r=`${PWD_COMMAND}`; export r; \
34626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34627 $(NORMAL_TARGET_EXPORTS) \
34628 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34629 for flag in $(EXTRA_TARGET_FLAGS); do \
34630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34631 done; \
34632 (cd $(TARGET_SUBDIR)/libssp && \
34633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34635 "RANLIB=$${RANLIB}" \
34636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34637 install-html) \
34638 || exit 1
34640 @endif target-libssp
34642 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34643 maybe-installcheck-target-libssp:
34644 @if target-libssp
34645 maybe-installcheck-target-libssp: installcheck-target-libssp
34647 installcheck-target-libssp: \
34648 configure-target-libssp
34649 @: $(MAKE); $(unstage)
34650 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34651 r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 $(NORMAL_TARGET_EXPORTS) \
34654 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34655 for flag in $(EXTRA_TARGET_FLAGS); do \
34656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34657 done; \
34658 (cd $(TARGET_SUBDIR)/libssp && \
34659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34661 "RANLIB=$${RANLIB}" \
34662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34663 installcheck) \
34664 || exit 1
34666 @endif target-libssp
34668 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34669 maybe-mostlyclean-target-libssp:
34670 @if target-libssp
34671 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34673 mostlyclean-target-libssp:
34674 @: $(MAKE); $(unstage)
34675 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34676 r=`${PWD_COMMAND}`; export r; \
34677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34678 $(NORMAL_TARGET_EXPORTS) \
34679 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34680 for flag in $(EXTRA_TARGET_FLAGS); do \
34681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34682 done; \
34683 (cd $(TARGET_SUBDIR)/libssp && \
34684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34686 "RANLIB=$${RANLIB}" \
34687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34688 mostlyclean) \
34689 || exit 1
34691 @endif target-libssp
34693 .PHONY: maybe-clean-target-libssp clean-target-libssp
34694 maybe-clean-target-libssp:
34695 @if target-libssp
34696 maybe-clean-target-libssp: clean-target-libssp
34698 clean-target-libssp:
34699 @: $(MAKE); $(unstage)
34700 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34701 r=`${PWD_COMMAND}`; export r; \
34702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34703 $(NORMAL_TARGET_EXPORTS) \
34704 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34705 for flag in $(EXTRA_TARGET_FLAGS); do \
34706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34707 done; \
34708 (cd $(TARGET_SUBDIR)/libssp && \
34709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34711 "RANLIB=$${RANLIB}" \
34712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34713 clean) \
34714 || exit 1
34716 @endif target-libssp
34718 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34719 maybe-distclean-target-libssp:
34720 @if target-libssp
34721 maybe-distclean-target-libssp: distclean-target-libssp
34723 distclean-target-libssp:
34724 @: $(MAKE); $(unstage)
34725 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34726 r=`${PWD_COMMAND}`; export r; \
34727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34728 $(NORMAL_TARGET_EXPORTS) \
34729 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34730 for flag in $(EXTRA_TARGET_FLAGS); do \
34731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34732 done; \
34733 (cd $(TARGET_SUBDIR)/libssp && \
34734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34736 "RANLIB=$${RANLIB}" \
34737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34738 distclean) \
34739 || exit 1
34741 @endif target-libssp
34743 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34744 maybe-maintainer-clean-target-libssp:
34745 @if target-libssp
34746 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34748 maintainer-clean-target-libssp:
34749 @: $(MAKE); $(unstage)
34750 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34751 r=`${PWD_COMMAND}`; export r; \
34752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34753 $(NORMAL_TARGET_EXPORTS) \
34754 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34755 for flag in $(EXTRA_TARGET_FLAGS); do \
34756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34757 done; \
34758 (cd $(TARGET_SUBDIR)/libssp && \
34759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34761 "RANLIB=$${RANLIB}" \
34762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34763 maintainer-clean) \
34764 || exit 1
34766 @endif target-libssp
34772 .PHONY: configure-target-newlib maybe-configure-target-newlib
34773 maybe-configure-target-newlib:
34774 @if gcc-bootstrap
34775 configure-target-newlib: stage_current
34776 @endif gcc-bootstrap
34777 @if target-newlib
34778 maybe-configure-target-newlib: configure-target-newlib
34779 configure-target-newlib:
34780 @: $(MAKE); $(unstage)
34781 @r=`${PWD_COMMAND}`; export r; \
34782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34783 echo "Checking multilib configuration for newlib..."; \
34784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34785 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34786 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34787 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34788 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34789 else \
34790 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34791 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34792 fi; \
34793 else \
34794 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34795 fi; \
34796 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34798 $(NORMAL_TARGET_EXPORTS) \
34799 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34800 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34801 case $(srcdir) in \
34802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34803 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34805 esac; \
34806 srcdiroption="--srcdir=$${topdir}/newlib"; \
34807 libsrcdir="$$s/newlib"; \
34808 rm -f no-such-file || : ; \
34809 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34810 $(TARGET_CONFIGARGS) $${srcdiroption} \
34811 || exit 1
34812 @endif target-newlib
34818 .PHONY: all-target-newlib maybe-all-target-newlib
34819 maybe-all-target-newlib:
34820 @if gcc-bootstrap
34821 all-target-newlib: stage_current
34822 @endif gcc-bootstrap
34823 @if target-newlib
34824 TARGET-target-newlib=all
34825 maybe-all-target-newlib: all-target-newlib
34826 all-target-newlib: configure-target-newlib
34827 @: $(MAKE); $(unstage)
34828 @r=`${PWD_COMMAND}`; export r; \
34829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34830 $(NORMAL_TARGET_EXPORTS) \
34831 (cd $(TARGET_SUBDIR)/newlib && \
34832 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34833 @endif target-newlib
34839 .PHONY: check-target-newlib maybe-check-target-newlib
34840 maybe-check-target-newlib:
34841 @if target-newlib
34842 maybe-check-target-newlib: check-target-newlib
34844 check-target-newlib:
34845 @: $(MAKE); $(unstage)
34846 @r=`${PWD_COMMAND}`; export r; \
34847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34848 $(NORMAL_TARGET_EXPORTS) \
34849 (cd $(TARGET_SUBDIR)/newlib && \
34850 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34852 @endif target-newlib
34854 .PHONY: install-target-newlib maybe-install-target-newlib
34855 maybe-install-target-newlib:
34856 @if target-newlib
34857 maybe-install-target-newlib: install-target-newlib
34859 install-target-newlib: installdirs
34860 @: $(MAKE); $(unstage)
34861 @r=`${PWD_COMMAND}`; export r; \
34862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34863 $(NORMAL_TARGET_EXPORTS) \
34864 (cd $(TARGET_SUBDIR)/newlib && \
34865 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34867 @endif target-newlib
34869 # Other targets (info, dvi, pdf, etc.)
34871 .PHONY: maybe-info-target-newlib info-target-newlib
34872 maybe-info-target-newlib:
34873 @if target-newlib
34874 maybe-info-target-newlib: info-target-newlib
34876 info-target-newlib: \
34877 configure-target-newlib
34878 @: $(MAKE); $(unstage)
34879 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34880 r=`${PWD_COMMAND}`; export r; \
34881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34882 $(NORMAL_TARGET_EXPORTS) \
34883 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34884 for flag in $(EXTRA_TARGET_FLAGS); do \
34885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34886 done; \
34887 (cd $(TARGET_SUBDIR)/newlib && \
34888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34890 "RANLIB=$${RANLIB}" \
34891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34892 info) \
34893 || exit 1
34895 @endif target-newlib
34897 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34898 maybe-dvi-target-newlib:
34899 @if target-newlib
34900 maybe-dvi-target-newlib: dvi-target-newlib
34902 dvi-target-newlib: \
34903 configure-target-newlib
34904 @: $(MAKE); $(unstage)
34905 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34906 r=`${PWD_COMMAND}`; export r; \
34907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34908 $(NORMAL_TARGET_EXPORTS) \
34909 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34910 for flag in $(EXTRA_TARGET_FLAGS); do \
34911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34912 done; \
34913 (cd $(TARGET_SUBDIR)/newlib && \
34914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34916 "RANLIB=$${RANLIB}" \
34917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34918 dvi) \
34919 || exit 1
34921 @endif target-newlib
34923 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34924 maybe-pdf-target-newlib:
34925 @if target-newlib
34926 maybe-pdf-target-newlib: pdf-target-newlib
34928 pdf-target-newlib: \
34929 configure-target-newlib
34930 @: $(MAKE); $(unstage)
34931 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34932 r=`${PWD_COMMAND}`; export r; \
34933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34934 $(NORMAL_TARGET_EXPORTS) \
34935 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34936 for flag in $(EXTRA_TARGET_FLAGS); do \
34937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34938 done; \
34939 (cd $(TARGET_SUBDIR)/newlib && \
34940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34942 "RANLIB=$${RANLIB}" \
34943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34944 pdf) \
34945 || exit 1
34947 @endif target-newlib
34949 .PHONY: maybe-html-target-newlib html-target-newlib
34950 maybe-html-target-newlib:
34951 @if target-newlib
34952 maybe-html-target-newlib: html-target-newlib
34954 html-target-newlib: \
34955 configure-target-newlib
34956 @: $(MAKE); $(unstage)
34957 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34958 r=`${PWD_COMMAND}`; export r; \
34959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34960 $(NORMAL_TARGET_EXPORTS) \
34961 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34962 for flag in $(EXTRA_TARGET_FLAGS); do \
34963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34964 done; \
34965 (cd $(TARGET_SUBDIR)/newlib && \
34966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34968 "RANLIB=$${RANLIB}" \
34969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34970 html) \
34971 || exit 1
34973 @endif target-newlib
34975 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34976 maybe-TAGS-target-newlib:
34977 @if target-newlib
34978 maybe-TAGS-target-newlib: TAGS-target-newlib
34980 TAGS-target-newlib: \
34981 configure-target-newlib
34982 @: $(MAKE); $(unstage)
34983 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34984 r=`${PWD_COMMAND}`; export r; \
34985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34986 $(NORMAL_TARGET_EXPORTS) \
34987 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34988 for flag in $(EXTRA_TARGET_FLAGS); do \
34989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34990 done; \
34991 (cd $(TARGET_SUBDIR)/newlib && \
34992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34994 "RANLIB=$${RANLIB}" \
34995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34996 TAGS) \
34997 || exit 1
34999 @endif target-newlib
35001 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
35002 maybe-install-info-target-newlib:
35003 @if target-newlib
35004 maybe-install-info-target-newlib: install-info-target-newlib
35006 install-info-target-newlib: \
35007 configure-target-newlib \
35008 info-target-newlib
35009 @: $(MAKE); $(unstage)
35010 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35011 r=`${PWD_COMMAND}`; export r; \
35012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35013 $(NORMAL_TARGET_EXPORTS) \
35014 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
35015 for flag in $(EXTRA_TARGET_FLAGS); do \
35016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35017 done; \
35018 (cd $(TARGET_SUBDIR)/newlib && \
35019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35021 "RANLIB=$${RANLIB}" \
35022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35023 install-info) \
35024 || exit 1
35026 @endif target-newlib
35028 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
35029 maybe-install-html-target-newlib:
35030 @if target-newlib
35031 maybe-install-html-target-newlib: install-html-target-newlib
35033 install-html-target-newlib: \
35034 configure-target-newlib \
35035 html-target-newlib
35036 @: $(MAKE); $(unstage)
35037 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35038 r=`${PWD_COMMAND}`; export r; \
35039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35040 $(NORMAL_TARGET_EXPORTS) \
35041 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
35042 for flag in $(EXTRA_TARGET_FLAGS); do \
35043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35044 done; \
35045 (cd $(TARGET_SUBDIR)/newlib && \
35046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35048 "RANLIB=$${RANLIB}" \
35049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35050 install-html) \
35051 || exit 1
35053 @endif target-newlib
35055 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
35056 maybe-installcheck-target-newlib:
35057 @if target-newlib
35058 maybe-installcheck-target-newlib: installcheck-target-newlib
35060 installcheck-target-newlib: \
35061 configure-target-newlib
35062 @: $(MAKE); $(unstage)
35063 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35064 r=`${PWD_COMMAND}`; export r; \
35065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35066 $(NORMAL_TARGET_EXPORTS) \
35067 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
35068 for flag in $(EXTRA_TARGET_FLAGS); do \
35069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35070 done; \
35071 (cd $(TARGET_SUBDIR)/newlib && \
35072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35074 "RANLIB=$${RANLIB}" \
35075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35076 installcheck) \
35077 || exit 1
35079 @endif target-newlib
35081 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
35082 maybe-mostlyclean-target-newlib:
35083 @if target-newlib
35084 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
35086 mostlyclean-target-newlib:
35087 @: $(MAKE); $(unstage)
35088 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35089 r=`${PWD_COMMAND}`; export r; \
35090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35091 $(NORMAL_TARGET_EXPORTS) \
35092 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
35093 for flag in $(EXTRA_TARGET_FLAGS); do \
35094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35095 done; \
35096 (cd $(TARGET_SUBDIR)/newlib && \
35097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35099 "RANLIB=$${RANLIB}" \
35100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35101 mostlyclean) \
35102 || exit 1
35104 @endif target-newlib
35106 .PHONY: maybe-clean-target-newlib clean-target-newlib
35107 maybe-clean-target-newlib:
35108 @if target-newlib
35109 maybe-clean-target-newlib: clean-target-newlib
35111 clean-target-newlib:
35112 @: $(MAKE); $(unstage)
35113 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35114 r=`${PWD_COMMAND}`; export r; \
35115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35116 $(NORMAL_TARGET_EXPORTS) \
35117 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35118 for flag in $(EXTRA_TARGET_FLAGS); do \
35119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35120 done; \
35121 (cd $(TARGET_SUBDIR)/newlib && \
35122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35124 "RANLIB=$${RANLIB}" \
35125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35126 clean) \
35127 || exit 1
35129 @endif target-newlib
35131 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35132 maybe-distclean-target-newlib:
35133 @if target-newlib
35134 maybe-distclean-target-newlib: distclean-target-newlib
35136 distclean-target-newlib:
35137 @: $(MAKE); $(unstage)
35138 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35139 r=`${PWD_COMMAND}`; export r; \
35140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35141 $(NORMAL_TARGET_EXPORTS) \
35142 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35143 for flag in $(EXTRA_TARGET_FLAGS); do \
35144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35145 done; \
35146 (cd $(TARGET_SUBDIR)/newlib && \
35147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35149 "RANLIB=$${RANLIB}" \
35150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35151 distclean) \
35152 || exit 1
35154 @endif target-newlib
35156 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35157 maybe-maintainer-clean-target-newlib:
35158 @if target-newlib
35159 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35161 maintainer-clean-target-newlib:
35162 @: $(MAKE); $(unstage)
35163 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35164 r=`${PWD_COMMAND}`; export r; \
35165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35166 $(NORMAL_TARGET_EXPORTS) \
35167 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35168 for flag in $(EXTRA_TARGET_FLAGS); do \
35169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35170 done; \
35171 (cd $(TARGET_SUBDIR)/newlib && \
35172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35174 "RANLIB=$${RANLIB}" \
35175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35176 maintainer-clean) \
35177 || exit 1
35179 @endif target-newlib
35185 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35186 maybe-configure-target-libgfortran:
35187 @if gcc-bootstrap
35188 configure-target-libgfortran: stage_current
35189 @endif gcc-bootstrap
35190 @if target-libgfortran
35191 maybe-configure-target-libgfortran: configure-target-libgfortran
35192 configure-target-libgfortran:
35193 @: $(MAKE); $(unstage)
35194 @r=`${PWD_COMMAND}`; export r; \
35195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35196 echo "Checking multilib configuration for libgfortran..."; \
35197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35198 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35199 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35200 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35201 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35202 else \
35203 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35204 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35205 fi; \
35206 else \
35207 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35208 fi; \
35209 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35211 $(NORMAL_TARGET_EXPORTS) \
35212 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35213 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35214 case $(srcdir) in \
35215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35216 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35218 esac; \
35219 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35220 libsrcdir="$$s/libgfortran"; \
35221 rm -f no-such-file || : ; \
35222 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35223 $(TARGET_CONFIGARGS) $${srcdiroption} \
35224 || exit 1
35225 @endif target-libgfortran
35231 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35232 maybe-all-target-libgfortran:
35233 @if gcc-bootstrap
35234 all-target-libgfortran: stage_current
35235 @endif gcc-bootstrap
35236 @if target-libgfortran
35237 TARGET-target-libgfortran=all
35238 maybe-all-target-libgfortran: all-target-libgfortran
35239 all-target-libgfortran: configure-target-libgfortran
35240 @: $(MAKE); $(unstage)
35241 @r=`${PWD_COMMAND}`; export r; \
35242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35243 $(NORMAL_TARGET_EXPORTS) \
35244 (cd $(TARGET_SUBDIR)/libgfortran && \
35245 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
35246 @endif target-libgfortran
35252 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35253 maybe-check-target-libgfortran:
35254 @if target-libgfortran
35255 maybe-check-target-libgfortran: check-target-libgfortran
35257 check-target-libgfortran:
35258 @: $(MAKE); $(unstage)
35259 @r=`${PWD_COMMAND}`; export r; \
35260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35261 $(NORMAL_TARGET_EXPORTS) \
35262 (cd $(TARGET_SUBDIR)/libgfortran && \
35263 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35265 @endif target-libgfortran
35267 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35268 maybe-install-target-libgfortran:
35269 @if target-libgfortran
35270 maybe-install-target-libgfortran: install-target-libgfortran
35272 install-target-libgfortran: installdirs
35273 @: $(MAKE); $(unstage)
35274 @r=`${PWD_COMMAND}`; export r; \
35275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35276 $(NORMAL_TARGET_EXPORTS) \
35277 (cd $(TARGET_SUBDIR)/libgfortran && \
35278 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35280 @endif target-libgfortran
35282 # Other targets (info, dvi, pdf, etc.)
35284 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35285 maybe-info-target-libgfortran:
35286 @if target-libgfortran
35287 maybe-info-target-libgfortran: info-target-libgfortran
35289 info-target-libgfortran: \
35290 configure-target-libgfortran
35291 @: $(MAKE); $(unstage)
35292 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35293 r=`${PWD_COMMAND}`; export r; \
35294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35295 $(NORMAL_TARGET_EXPORTS) \
35296 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35297 for flag in $(EXTRA_TARGET_FLAGS); do \
35298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35299 done; \
35300 (cd $(TARGET_SUBDIR)/libgfortran && \
35301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35303 "RANLIB=$${RANLIB}" \
35304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35305 info) \
35306 || exit 1
35308 @endif target-libgfortran
35310 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35311 maybe-dvi-target-libgfortran:
35312 @if target-libgfortran
35313 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35315 dvi-target-libgfortran: \
35316 configure-target-libgfortran
35317 @: $(MAKE); $(unstage)
35318 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35319 r=`${PWD_COMMAND}`; export r; \
35320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35321 $(NORMAL_TARGET_EXPORTS) \
35322 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35323 for flag in $(EXTRA_TARGET_FLAGS); do \
35324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35325 done; \
35326 (cd $(TARGET_SUBDIR)/libgfortran && \
35327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35329 "RANLIB=$${RANLIB}" \
35330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35331 dvi) \
35332 || exit 1
35334 @endif target-libgfortran
35336 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35337 maybe-pdf-target-libgfortran:
35338 @if target-libgfortran
35339 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35341 pdf-target-libgfortran: \
35342 configure-target-libgfortran
35343 @: $(MAKE); $(unstage)
35344 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35345 r=`${PWD_COMMAND}`; export r; \
35346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35347 $(NORMAL_TARGET_EXPORTS) \
35348 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35349 for flag in $(EXTRA_TARGET_FLAGS); do \
35350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35351 done; \
35352 (cd $(TARGET_SUBDIR)/libgfortran && \
35353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35355 "RANLIB=$${RANLIB}" \
35356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35357 pdf) \
35358 || exit 1
35360 @endif target-libgfortran
35362 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35363 maybe-html-target-libgfortran:
35364 @if target-libgfortran
35365 maybe-html-target-libgfortran: html-target-libgfortran
35367 html-target-libgfortran: \
35368 configure-target-libgfortran
35369 @: $(MAKE); $(unstage)
35370 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35371 r=`${PWD_COMMAND}`; export r; \
35372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35373 $(NORMAL_TARGET_EXPORTS) \
35374 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35375 for flag in $(EXTRA_TARGET_FLAGS); do \
35376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35377 done; \
35378 (cd $(TARGET_SUBDIR)/libgfortran && \
35379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35381 "RANLIB=$${RANLIB}" \
35382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35383 html) \
35384 || exit 1
35386 @endif target-libgfortran
35388 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35389 maybe-TAGS-target-libgfortran:
35390 @if target-libgfortran
35391 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35393 TAGS-target-libgfortran: \
35394 configure-target-libgfortran
35395 @: $(MAKE); $(unstage)
35396 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35397 r=`${PWD_COMMAND}`; export r; \
35398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35399 $(NORMAL_TARGET_EXPORTS) \
35400 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35401 for flag in $(EXTRA_TARGET_FLAGS); do \
35402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35403 done; \
35404 (cd $(TARGET_SUBDIR)/libgfortran && \
35405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35407 "RANLIB=$${RANLIB}" \
35408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35409 TAGS) \
35410 || exit 1
35412 @endif target-libgfortran
35414 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35415 maybe-install-info-target-libgfortran:
35416 @if target-libgfortran
35417 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35419 install-info-target-libgfortran: \
35420 configure-target-libgfortran \
35421 info-target-libgfortran
35422 @: $(MAKE); $(unstage)
35423 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35424 r=`${PWD_COMMAND}`; export r; \
35425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35426 $(NORMAL_TARGET_EXPORTS) \
35427 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35428 for flag in $(EXTRA_TARGET_FLAGS); do \
35429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35430 done; \
35431 (cd $(TARGET_SUBDIR)/libgfortran && \
35432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35434 "RANLIB=$${RANLIB}" \
35435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35436 install-info) \
35437 || exit 1
35439 @endif target-libgfortran
35441 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35442 maybe-install-html-target-libgfortran:
35443 @if target-libgfortran
35444 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35446 install-html-target-libgfortran: \
35447 configure-target-libgfortran \
35448 html-target-libgfortran
35449 @: $(MAKE); $(unstage)
35450 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35451 r=`${PWD_COMMAND}`; export r; \
35452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35453 $(NORMAL_TARGET_EXPORTS) \
35454 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35455 for flag in $(EXTRA_TARGET_FLAGS); do \
35456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35457 done; \
35458 (cd $(TARGET_SUBDIR)/libgfortran && \
35459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35461 "RANLIB=$${RANLIB}" \
35462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35463 install-html) \
35464 || exit 1
35466 @endif target-libgfortran
35468 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35469 maybe-installcheck-target-libgfortran:
35470 @if target-libgfortran
35471 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35473 installcheck-target-libgfortran: \
35474 configure-target-libgfortran
35475 @: $(MAKE); $(unstage)
35476 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35477 r=`${PWD_COMMAND}`; export r; \
35478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35479 $(NORMAL_TARGET_EXPORTS) \
35480 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35481 for flag in $(EXTRA_TARGET_FLAGS); do \
35482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35483 done; \
35484 (cd $(TARGET_SUBDIR)/libgfortran && \
35485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35487 "RANLIB=$${RANLIB}" \
35488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35489 installcheck) \
35490 || exit 1
35492 @endif target-libgfortran
35494 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35495 maybe-mostlyclean-target-libgfortran:
35496 @if target-libgfortran
35497 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35499 mostlyclean-target-libgfortran:
35500 @: $(MAKE); $(unstage)
35501 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35502 r=`${PWD_COMMAND}`; export r; \
35503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35504 $(NORMAL_TARGET_EXPORTS) \
35505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35506 for flag in $(EXTRA_TARGET_FLAGS); do \
35507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35508 done; \
35509 (cd $(TARGET_SUBDIR)/libgfortran && \
35510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35512 "RANLIB=$${RANLIB}" \
35513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35514 mostlyclean) \
35515 || exit 1
35517 @endif target-libgfortran
35519 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35520 maybe-clean-target-libgfortran:
35521 @if target-libgfortran
35522 maybe-clean-target-libgfortran: clean-target-libgfortran
35524 clean-target-libgfortran:
35525 @: $(MAKE); $(unstage)
35526 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35527 r=`${PWD_COMMAND}`; export r; \
35528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35529 $(NORMAL_TARGET_EXPORTS) \
35530 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35531 for flag in $(EXTRA_TARGET_FLAGS); do \
35532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35533 done; \
35534 (cd $(TARGET_SUBDIR)/libgfortran && \
35535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35537 "RANLIB=$${RANLIB}" \
35538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35539 clean) \
35540 || exit 1
35542 @endif target-libgfortran
35544 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35545 maybe-distclean-target-libgfortran:
35546 @if target-libgfortran
35547 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35549 distclean-target-libgfortran:
35550 @: $(MAKE); $(unstage)
35551 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35552 r=`${PWD_COMMAND}`; export r; \
35553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35554 $(NORMAL_TARGET_EXPORTS) \
35555 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35556 for flag in $(EXTRA_TARGET_FLAGS); do \
35557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35558 done; \
35559 (cd $(TARGET_SUBDIR)/libgfortran && \
35560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35562 "RANLIB=$${RANLIB}" \
35563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35564 distclean) \
35565 || exit 1
35567 @endif target-libgfortran
35569 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35570 maybe-maintainer-clean-target-libgfortran:
35571 @if target-libgfortran
35572 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35574 maintainer-clean-target-libgfortran:
35575 @: $(MAKE); $(unstage)
35576 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35577 r=`${PWD_COMMAND}`; export r; \
35578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35579 $(NORMAL_TARGET_EXPORTS) \
35580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35581 for flag in $(EXTRA_TARGET_FLAGS); do \
35582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35583 done; \
35584 (cd $(TARGET_SUBDIR)/libgfortran && \
35585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35587 "RANLIB=$${RANLIB}" \
35588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35589 maintainer-clean) \
35590 || exit 1
35592 @endif target-libgfortran
35598 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35599 maybe-configure-target-libobjc:
35600 @if gcc-bootstrap
35601 configure-target-libobjc: stage_current
35602 @endif gcc-bootstrap
35603 @if target-libobjc
35604 maybe-configure-target-libobjc: configure-target-libobjc
35605 configure-target-libobjc:
35606 @: $(MAKE); $(unstage)
35607 @r=`${PWD_COMMAND}`; export r; \
35608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35609 echo "Checking multilib configuration for libobjc..."; \
35610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35611 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35612 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35613 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35614 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35615 else \
35616 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35617 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35618 fi; \
35619 else \
35620 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35621 fi; \
35622 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35624 $(NORMAL_TARGET_EXPORTS) \
35625 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35626 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35627 case $(srcdir) in \
35628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35629 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35631 esac; \
35632 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35633 libsrcdir="$$s/libobjc"; \
35634 rm -f no-such-file || : ; \
35635 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35636 $(TARGET_CONFIGARGS) $${srcdiroption} \
35637 || exit 1
35638 @endif target-libobjc
35644 .PHONY: all-target-libobjc maybe-all-target-libobjc
35645 maybe-all-target-libobjc:
35646 @if gcc-bootstrap
35647 all-target-libobjc: stage_current
35648 @endif gcc-bootstrap
35649 @if target-libobjc
35650 TARGET-target-libobjc=all
35651 maybe-all-target-libobjc: all-target-libobjc
35652 all-target-libobjc: configure-target-libobjc
35653 @: $(MAKE); $(unstage)
35654 @r=`${PWD_COMMAND}`; export r; \
35655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35656 $(NORMAL_TARGET_EXPORTS) \
35657 (cd $(TARGET_SUBDIR)/libobjc && \
35658 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
35659 @endif target-libobjc
35665 .PHONY: check-target-libobjc maybe-check-target-libobjc
35666 maybe-check-target-libobjc:
35667 @if target-libobjc
35668 maybe-check-target-libobjc: check-target-libobjc
35670 check-target-libobjc:
35671 @: $(MAKE); $(unstage)
35672 @r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 (cd $(TARGET_SUBDIR)/libobjc && \
35676 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35678 @endif target-libobjc
35680 .PHONY: install-target-libobjc maybe-install-target-libobjc
35681 maybe-install-target-libobjc:
35682 @if target-libobjc
35683 maybe-install-target-libobjc: install-target-libobjc
35685 install-target-libobjc: installdirs
35686 @: $(MAKE); $(unstage)
35687 @r=`${PWD_COMMAND}`; export r; \
35688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35689 $(NORMAL_TARGET_EXPORTS) \
35690 (cd $(TARGET_SUBDIR)/libobjc && \
35691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35693 @endif target-libobjc
35695 # Other targets (info, dvi, pdf, etc.)
35697 .PHONY: maybe-info-target-libobjc info-target-libobjc
35698 maybe-info-target-libobjc:
35699 @if target-libobjc
35700 maybe-info-target-libobjc: info-target-libobjc
35702 info-target-libobjc: \
35703 configure-target-libobjc
35704 @: $(MAKE); $(unstage)
35705 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35706 r=`${PWD_COMMAND}`; export r; \
35707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35708 $(NORMAL_TARGET_EXPORTS) \
35709 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35710 for flag in $(EXTRA_TARGET_FLAGS); do \
35711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35712 done; \
35713 (cd $(TARGET_SUBDIR)/libobjc && \
35714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35716 "RANLIB=$${RANLIB}" \
35717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35718 info) \
35719 || exit 1
35721 @endif target-libobjc
35723 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35724 maybe-dvi-target-libobjc:
35725 @if target-libobjc
35726 maybe-dvi-target-libobjc: dvi-target-libobjc
35728 dvi-target-libobjc: \
35729 configure-target-libobjc
35730 @: $(MAKE); $(unstage)
35731 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35732 r=`${PWD_COMMAND}`; export r; \
35733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35734 $(NORMAL_TARGET_EXPORTS) \
35735 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35736 for flag in $(EXTRA_TARGET_FLAGS); do \
35737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35738 done; \
35739 (cd $(TARGET_SUBDIR)/libobjc && \
35740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35742 "RANLIB=$${RANLIB}" \
35743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35744 dvi) \
35745 || exit 1
35747 @endif target-libobjc
35749 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35750 maybe-pdf-target-libobjc:
35751 @if target-libobjc
35752 maybe-pdf-target-libobjc: pdf-target-libobjc
35754 pdf-target-libobjc: \
35755 configure-target-libobjc
35756 @: $(MAKE); $(unstage)
35757 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35758 r=`${PWD_COMMAND}`; export r; \
35759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35760 $(NORMAL_TARGET_EXPORTS) \
35761 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35762 for flag in $(EXTRA_TARGET_FLAGS); do \
35763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35764 done; \
35765 (cd $(TARGET_SUBDIR)/libobjc && \
35766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35768 "RANLIB=$${RANLIB}" \
35769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35770 pdf) \
35771 || exit 1
35773 @endif target-libobjc
35775 .PHONY: maybe-html-target-libobjc html-target-libobjc
35776 maybe-html-target-libobjc:
35777 @if target-libobjc
35778 maybe-html-target-libobjc: html-target-libobjc
35780 html-target-libobjc: \
35781 configure-target-libobjc
35782 @: $(MAKE); $(unstage)
35783 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35784 r=`${PWD_COMMAND}`; export r; \
35785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35786 $(NORMAL_TARGET_EXPORTS) \
35787 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35788 for flag in $(EXTRA_TARGET_FLAGS); do \
35789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35790 done; \
35791 (cd $(TARGET_SUBDIR)/libobjc && \
35792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35794 "RANLIB=$${RANLIB}" \
35795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35796 html) \
35797 || exit 1
35799 @endif target-libobjc
35801 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35802 maybe-TAGS-target-libobjc:
35803 @if target-libobjc
35804 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35806 TAGS-target-libobjc: \
35807 configure-target-libobjc
35808 @: $(MAKE); $(unstage)
35809 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35810 r=`${PWD_COMMAND}`; export r; \
35811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35812 $(NORMAL_TARGET_EXPORTS) \
35813 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35814 for flag in $(EXTRA_TARGET_FLAGS); do \
35815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35816 done; \
35817 (cd $(TARGET_SUBDIR)/libobjc && \
35818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35820 "RANLIB=$${RANLIB}" \
35821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35822 TAGS) \
35823 || exit 1
35825 @endif target-libobjc
35827 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35828 maybe-install-info-target-libobjc:
35829 @if target-libobjc
35830 maybe-install-info-target-libobjc: install-info-target-libobjc
35832 install-info-target-libobjc: \
35833 configure-target-libobjc \
35834 info-target-libobjc
35835 @: $(MAKE); $(unstage)
35836 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35837 r=`${PWD_COMMAND}`; export r; \
35838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35839 $(NORMAL_TARGET_EXPORTS) \
35840 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35841 for flag in $(EXTRA_TARGET_FLAGS); do \
35842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35843 done; \
35844 (cd $(TARGET_SUBDIR)/libobjc && \
35845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35847 "RANLIB=$${RANLIB}" \
35848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35849 install-info) \
35850 || exit 1
35852 @endif target-libobjc
35854 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35855 maybe-install-html-target-libobjc:
35856 @if target-libobjc
35857 maybe-install-html-target-libobjc: install-html-target-libobjc
35859 install-html-target-libobjc: \
35860 configure-target-libobjc \
35861 html-target-libobjc
35862 @: $(MAKE); $(unstage)
35863 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35864 r=`${PWD_COMMAND}`; export r; \
35865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35866 $(NORMAL_TARGET_EXPORTS) \
35867 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35868 for flag in $(EXTRA_TARGET_FLAGS); do \
35869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35870 done; \
35871 (cd $(TARGET_SUBDIR)/libobjc && \
35872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35874 "RANLIB=$${RANLIB}" \
35875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35876 install-html) \
35877 || exit 1
35879 @endif target-libobjc
35881 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35882 maybe-installcheck-target-libobjc:
35883 @if target-libobjc
35884 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35886 installcheck-target-libobjc: \
35887 configure-target-libobjc
35888 @: $(MAKE); $(unstage)
35889 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35890 r=`${PWD_COMMAND}`; export r; \
35891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35892 $(NORMAL_TARGET_EXPORTS) \
35893 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35894 for flag in $(EXTRA_TARGET_FLAGS); do \
35895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35896 done; \
35897 (cd $(TARGET_SUBDIR)/libobjc && \
35898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35900 "RANLIB=$${RANLIB}" \
35901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35902 installcheck) \
35903 || exit 1
35905 @endif target-libobjc
35907 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35908 maybe-mostlyclean-target-libobjc:
35909 @if target-libobjc
35910 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35912 mostlyclean-target-libobjc:
35913 @: $(MAKE); $(unstage)
35914 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35915 r=`${PWD_COMMAND}`; export r; \
35916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35917 $(NORMAL_TARGET_EXPORTS) \
35918 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35919 for flag in $(EXTRA_TARGET_FLAGS); do \
35920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35921 done; \
35922 (cd $(TARGET_SUBDIR)/libobjc && \
35923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35925 "RANLIB=$${RANLIB}" \
35926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35927 mostlyclean) \
35928 || exit 1
35930 @endif target-libobjc
35932 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35933 maybe-clean-target-libobjc:
35934 @if target-libobjc
35935 maybe-clean-target-libobjc: clean-target-libobjc
35937 clean-target-libobjc:
35938 @: $(MAKE); $(unstage)
35939 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35940 r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 $(NORMAL_TARGET_EXPORTS) \
35943 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35944 for flag in $(EXTRA_TARGET_FLAGS); do \
35945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35946 done; \
35947 (cd $(TARGET_SUBDIR)/libobjc && \
35948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35950 "RANLIB=$${RANLIB}" \
35951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35952 clean) \
35953 || exit 1
35955 @endif target-libobjc
35957 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35958 maybe-distclean-target-libobjc:
35959 @if target-libobjc
35960 maybe-distclean-target-libobjc: distclean-target-libobjc
35962 distclean-target-libobjc:
35963 @: $(MAKE); $(unstage)
35964 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35965 r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(NORMAL_TARGET_EXPORTS) \
35968 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35969 for flag in $(EXTRA_TARGET_FLAGS); do \
35970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35971 done; \
35972 (cd $(TARGET_SUBDIR)/libobjc && \
35973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35975 "RANLIB=$${RANLIB}" \
35976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35977 distclean) \
35978 || exit 1
35980 @endif target-libobjc
35982 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35983 maybe-maintainer-clean-target-libobjc:
35984 @if target-libobjc
35985 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35987 maintainer-clean-target-libobjc:
35988 @: $(MAKE); $(unstage)
35989 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35990 r=`${PWD_COMMAND}`; export r; \
35991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35992 $(NORMAL_TARGET_EXPORTS) \
35993 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35994 for flag in $(EXTRA_TARGET_FLAGS); do \
35995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35996 done; \
35997 (cd $(TARGET_SUBDIR)/libobjc && \
35998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36000 "RANLIB=$${RANLIB}" \
36001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36002 maintainer-clean) \
36003 || exit 1
36005 @endif target-libobjc
36011 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36012 maybe-configure-target-libtermcap:
36013 @if gcc-bootstrap
36014 configure-target-libtermcap: stage_current
36015 @endif gcc-bootstrap
36016 @if target-libtermcap
36017 maybe-configure-target-libtermcap: configure-target-libtermcap
36018 configure-target-libtermcap:
36019 @: $(MAKE); $(unstage)
36020 @r=`${PWD_COMMAND}`; export r; \
36021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36022 echo "Checking multilib configuration for libtermcap..."; \
36023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36024 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36025 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36026 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36027 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36028 else \
36029 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36030 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36031 fi; \
36032 else \
36033 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36034 fi; \
36035 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36036 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36037 $(NORMAL_TARGET_EXPORTS) \
36038 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36039 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36040 case $(srcdir) in \
36041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36042 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36044 esac; \
36045 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36046 libsrcdir="$$s/libtermcap"; \
36047 rm -f no-such-file || : ; \
36048 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36049 $(TARGET_CONFIGARGS) $${srcdiroption} \
36050 || exit 1
36051 @endif target-libtermcap
36057 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36058 maybe-all-target-libtermcap:
36059 @if gcc-bootstrap
36060 all-target-libtermcap: stage_current
36061 @endif gcc-bootstrap
36062 @if target-libtermcap
36063 TARGET-target-libtermcap=all
36064 maybe-all-target-libtermcap: all-target-libtermcap
36065 all-target-libtermcap: configure-target-libtermcap
36066 @: $(MAKE); $(unstage)
36067 @r=`${PWD_COMMAND}`; export r; \
36068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36069 $(NORMAL_TARGET_EXPORTS) \
36070 (cd $(TARGET_SUBDIR)/libtermcap && \
36071 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
36072 @endif target-libtermcap
36078 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36079 maybe-check-target-libtermcap:
36080 @if target-libtermcap
36081 maybe-check-target-libtermcap: check-target-libtermcap
36083 # Dummy target for uncheckable module.
36084 check-target-libtermcap:
36086 @endif target-libtermcap
36088 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36089 maybe-install-target-libtermcap:
36090 @if target-libtermcap
36091 maybe-install-target-libtermcap: install-target-libtermcap
36093 install-target-libtermcap: installdirs
36094 @: $(MAKE); $(unstage)
36095 @r=`${PWD_COMMAND}`; export r; \
36096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36097 $(NORMAL_TARGET_EXPORTS) \
36098 (cd $(TARGET_SUBDIR)/libtermcap && \
36099 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36101 @endif target-libtermcap
36103 # Other targets (info, dvi, pdf, etc.)
36105 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36106 maybe-info-target-libtermcap:
36107 @if target-libtermcap
36108 maybe-info-target-libtermcap: info-target-libtermcap
36110 info-target-libtermcap: \
36111 configure-target-libtermcap
36112 @: $(MAKE); $(unstage)
36113 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36114 r=`${PWD_COMMAND}`; export r; \
36115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36116 $(NORMAL_TARGET_EXPORTS) \
36117 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36118 for flag in $(EXTRA_TARGET_FLAGS); do \
36119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36120 done; \
36121 (cd $(TARGET_SUBDIR)/libtermcap && \
36122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36124 "RANLIB=$${RANLIB}" \
36125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36126 info) \
36127 || exit 1
36129 @endif target-libtermcap
36131 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36132 maybe-dvi-target-libtermcap:
36133 @if target-libtermcap
36134 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36136 dvi-target-libtermcap: \
36137 configure-target-libtermcap
36138 @: $(MAKE); $(unstage)
36139 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36140 r=`${PWD_COMMAND}`; export r; \
36141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36142 $(NORMAL_TARGET_EXPORTS) \
36143 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36144 for flag in $(EXTRA_TARGET_FLAGS); do \
36145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36146 done; \
36147 (cd $(TARGET_SUBDIR)/libtermcap && \
36148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36150 "RANLIB=$${RANLIB}" \
36151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36152 dvi) \
36153 || exit 1
36155 @endif target-libtermcap
36157 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36158 maybe-pdf-target-libtermcap:
36159 @if target-libtermcap
36160 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36162 pdf-target-libtermcap: \
36163 configure-target-libtermcap
36164 @: $(MAKE); $(unstage)
36165 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36166 r=`${PWD_COMMAND}`; export r; \
36167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36168 $(NORMAL_TARGET_EXPORTS) \
36169 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36170 for flag in $(EXTRA_TARGET_FLAGS); do \
36171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36172 done; \
36173 (cd $(TARGET_SUBDIR)/libtermcap && \
36174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36176 "RANLIB=$${RANLIB}" \
36177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36178 pdf) \
36179 || exit 1
36181 @endif target-libtermcap
36183 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36184 maybe-html-target-libtermcap:
36185 @if target-libtermcap
36186 maybe-html-target-libtermcap: html-target-libtermcap
36188 html-target-libtermcap: \
36189 configure-target-libtermcap
36190 @: $(MAKE); $(unstage)
36191 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36192 r=`${PWD_COMMAND}`; export r; \
36193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36194 $(NORMAL_TARGET_EXPORTS) \
36195 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36196 for flag in $(EXTRA_TARGET_FLAGS); do \
36197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36198 done; \
36199 (cd $(TARGET_SUBDIR)/libtermcap && \
36200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36202 "RANLIB=$${RANLIB}" \
36203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36204 html) \
36205 || exit 1
36207 @endif target-libtermcap
36209 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36210 maybe-TAGS-target-libtermcap:
36211 @if target-libtermcap
36212 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36214 TAGS-target-libtermcap: \
36215 configure-target-libtermcap
36216 @: $(MAKE); $(unstage)
36217 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36218 r=`${PWD_COMMAND}`; export r; \
36219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36220 $(NORMAL_TARGET_EXPORTS) \
36221 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36222 for flag in $(EXTRA_TARGET_FLAGS); do \
36223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36224 done; \
36225 (cd $(TARGET_SUBDIR)/libtermcap && \
36226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36228 "RANLIB=$${RANLIB}" \
36229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36230 TAGS) \
36231 || exit 1
36233 @endif target-libtermcap
36235 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36236 maybe-install-info-target-libtermcap:
36237 @if target-libtermcap
36238 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36240 install-info-target-libtermcap: \
36241 configure-target-libtermcap \
36242 info-target-libtermcap
36243 @: $(MAKE); $(unstage)
36244 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36245 r=`${PWD_COMMAND}`; export r; \
36246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36247 $(NORMAL_TARGET_EXPORTS) \
36248 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36249 for flag in $(EXTRA_TARGET_FLAGS); do \
36250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36251 done; \
36252 (cd $(TARGET_SUBDIR)/libtermcap && \
36253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36255 "RANLIB=$${RANLIB}" \
36256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36257 install-info) \
36258 || exit 1
36260 @endif target-libtermcap
36262 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36263 maybe-install-html-target-libtermcap:
36264 @if target-libtermcap
36265 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36267 install-html-target-libtermcap: \
36268 configure-target-libtermcap \
36269 html-target-libtermcap
36270 @: $(MAKE); $(unstage)
36271 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36272 r=`${PWD_COMMAND}`; export r; \
36273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36274 $(NORMAL_TARGET_EXPORTS) \
36275 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36276 for flag in $(EXTRA_TARGET_FLAGS); do \
36277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36278 done; \
36279 (cd $(TARGET_SUBDIR)/libtermcap && \
36280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36282 "RANLIB=$${RANLIB}" \
36283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36284 install-html) \
36285 || exit 1
36287 @endif target-libtermcap
36289 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36290 maybe-installcheck-target-libtermcap:
36291 @if target-libtermcap
36292 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36294 installcheck-target-libtermcap: \
36295 configure-target-libtermcap
36296 @: $(MAKE); $(unstage)
36297 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36298 r=`${PWD_COMMAND}`; export r; \
36299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36300 $(NORMAL_TARGET_EXPORTS) \
36301 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36302 for flag in $(EXTRA_TARGET_FLAGS); do \
36303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36304 done; \
36305 (cd $(TARGET_SUBDIR)/libtermcap && \
36306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36308 "RANLIB=$${RANLIB}" \
36309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36310 installcheck) \
36311 || exit 1
36313 @endif target-libtermcap
36315 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36316 maybe-mostlyclean-target-libtermcap:
36317 @if target-libtermcap
36318 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36320 # libtermcap doesn't support mostlyclean.
36321 mostlyclean-target-libtermcap:
36323 @endif target-libtermcap
36325 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36326 maybe-clean-target-libtermcap:
36327 @if target-libtermcap
36328 maybe-clean-target-libtermcap: clean-target-libtermcap
36330 # libtermcap doesn't support clean.
36331 clean-target-libtermcap:
36333 @endif target-libtermcap
36335 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36336 maybe-distclean-target-libtermcap:
36337 @if target-libtermcap
36338 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36340 # libtermcap doesn't support distclean.
36341 distclean-target-libtermcap:
36343 @endif target-libtermcap
36345 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36346 maybe-maintainer-clean-target-libtermcap:
36347 @if target-libtermcap
36348 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36350 # libtermcap doesn't support maintainer-clean.
36351 maintainer-clean-target-libtermcap:
36353 @endif target-libtermcap
36359 .PHONY: configure-target-winsup maybe-configure-target-winsup
36360 maybe-configure-target-winsup:
36361 @if gcc-bootstrap
36362 configure-target-winsup: stage_current
36363 @endif gcc-bootstrap
36364 @if target-winsup
36365 maybe-configure-target-winsup: configure-target-winsup
36366 configure-target-winsup:
36367 @: $(MAKE); $(unstage)
36368 @r=`${PWD_COMMAND}`; export r; \
36369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36370 echo "Checking multilib configuration for winsup..."; \
36371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36372 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36373 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36374 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36375 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36376 else \
36377 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36378 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36379 fi; \
36380 else \
36381 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36382 fi; \
36383 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36385 $(NORMAL_TARGET_EXPORTS) \
36386 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36387 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36388 case $(srcdir) in \
36389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36390 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36392 esac; \
36393 srcdiroption="--srcdir=$${topdir}/winsup"; \
36394 libsrcdir="$$s/winsup"; \
36395 rm -f no-such-file || : ; \
36396 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36397 $(TARGET_CONFIGARGS) $${srcdiroption} \
36398 || exit 1
36399 @endif target-winsup
36405 .PHONY: all-target-winsup maybe-all-target-winsup
36406 maybe-all-target-winsup:
36407 @if gcc-bootstrap
36408 all-target-winsup: stage_current
36409 @endif gcc-bootstrap
36410 @if target-winsup
36411 TARGET-target-winsup=all
36412 maybe-all-target-winsup: all-target-winsup
36413 all-target-winsup: configure-target-winsup
36414 @: $(MAKE); $(unstage)
36415 @r=`${PWD_COMMAND}`; export r; \
36416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36417 $(NORMAL_TARGET_EXPORTS) \
36418 (cd $(TARGET_SUBDIR)/winsup && \
36419 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
36420 @endif target-winsup
36426 .PHONY: check-target-winsup maybe-check-target-winsup
36427 maybe-check-target-winsup:
36428 @if target-winsup
36429 maybe-check-target-winsup: check-target-winsup
36431 check-target-winsup:
36432 @: $(MAKE); $(unstage)
36433 @r=`${PWD_COMMAND}`; export r; \
36434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36435 $(NORMAL_TARGET_EXPORTS) \
36436 (cd $(TARGET_SUBDIR)/winsup && \
36437 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36439 @endif target-winsup
36441 .PHONY: install-target-winsup maybe-install-target-winsup
36442 maybe-install-target-winsup:
36443 @if target-winsup
36444 maybe-install-target-winsup: install-target-winsup
36446 install-target-winsup: installdirs
36447 @: $(MAKE); $(unstage)
36448 @r=`${PWD_COMMAND}`; export r; \
36449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36450 $(NORMAL_TARGET_EXPORTS) \
36451 (cd $(TARGET_SUBDIR)/winsup && \
36452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36454 @endif target-winsup
36456 # Other targets (info, dvi, pdf, etc.)
36458 .PHONY: maybe-info-target-winsup info-target-winsup
36459 maybe-info-target-winsup:
36460 @if target-winsup
36461 maybe-info-target-winsup: info-target-winsup
36463 info-target-winsup: \
36464 configure-target-winsup
36465 @: $(MAKE); $(unstage)
36466 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36467 r=`${PWD_COMMAND}`; export r; \
36468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36469 $(NORMAL_TARGET_EXPORTS) \
36470 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36471 for flag in $(EXTRA_TARGET_FLAGS); do \
36472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36473 done; \
36474 (cd $(TARGET_SUBDIR)/winsup && \
36475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36477 "RANLIB=$${RANLIB}" \
36478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36479 info) \
36480 || exit 1
36482 @endif target-winsup
36484 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36485 maybe-dvi-target-winsup:
36486 @if target-winsup
36487 maybe-dvi-target-winsup: dvi-target-winsup
36489 dvi-target-winsup: \
36490 configure-target-winsup
36491 @: $(MAKE); $(unstage)
36492 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36493 r=`${PWD_COMMAND}`; export r; \
36494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36495 $(NORMAL_TARGET_EXPORTS) \
36496 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36497 for flag in $(EXTRA_TARGET_FLAGS); do \
36498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36499 done; \
36500 (cd $(TARGET_SUBDIR)/winsup && \
36501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36503 "RANLIB=$${RANLIB}" \
36504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36505 dvi) \
36506 || exit 1
36508 @endif target-winsup
36510 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36511 maybe-pdf-target-winsup:
36512 @if target-winsup
36513 maybe-pdf-target-winsup: pdf-target-winsup
36515 pdf-target-winsup: \
36516 configure-target-winsup
36517 @: $(MAKE); $(unstage)
36518 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36519 r=`${PWD_COMMAND}`; export r; \
36520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36521 $(NORMAL_TARGET_EXPORTS) \
36522 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36523 for flag in $(EXTRA_TARGET_FLAGS); do \
36524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36525 done; \
36526 (cd $(TARGET_SUBDIR)/winsup && \
36527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36529 "RANLIB=$${RANLIB}" \
36530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36531 pdf) \
36532 || exit 1
36534 @endif target-winsup
36536 .PHONY: maybe-html-target-winsup html-target-winsup
36537 maybe-html-target-winsup:
36538 @if target-winsup
36539 maybe-html-target-winsup: html-target-winsup
36541 html-target-winsup: \
36542 configure-target-winsup
36543 @: $(MAKE); $(unstage)
36544 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36545 r=`${PWD_COMMAND}`; export r; \
36546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36547 $(NORMAL_TARGET_EXPORTS) \
36548 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36549 for flag in $(EXTRA_TARGET_FLAGS); do \
36550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36551 done; \
36552 (cd $(TARGET_SUBDIR)/winsup && \
36553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36555 "RANLIB=$${RANLIB}" \
36556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36557 html) \
36558 || exit 1
36560 @endif target-winsup
36562 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36563 maybe-TAGS-target-winsup:
36564 @if target-winsup
36565 maybe-TAGS-target-winsup: TAGS-target-winsup
36567 TAGS-target-winsup: \
36568 configure-target-winsup
36569 @: $(MAKE); $(unstage)
36570 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36571 r=`${PWD_COMMAND}`; export r; \
36572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36573 $(NORMAL_TARGET_EXPORTS) \
36574 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36575 for flag in $(EXTRA_TARGET_FLAGS); do \
36576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36577 done; \
36578 (cd $(TARGET_SUBDIR)/winsup && \
36579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36581 "RANLIB=$${RANLIB}" \
36582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36583 TAGS) \
36584 || exit 1
36586 @endif target-winsup
36588 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36589 maybe-install-info-target-winsup:
36590 @if target-winsup
36591 maybe-install-info-target-winsup: install-info-target-winsup
36593 install-info-target-winsup: \
36594 configure-target-winsup \
36595 info-target-winsup
36596 @: $(MAKE); $(unstage)
36597 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36598 r=`${PWD_COMMAND}`; export r; \
36599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36600 $(NORMAL_TARGET_EXPORTS) \
36601 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36602 for flag in $(EXTRA_TARGET_FLAGS); do \
36603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36604 done; \
36605 (cd $(TARGET_SUBDIR)/winsup && \
36606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36608 "RANLIB=$${RANLIB}" \
36609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36610 install-info) \
36611 || exit 1
36613 @endif target-winsup
36615 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36616 maybe-install-html-target-winsup:
36617 @if target-winsup
36618 maybe-install-html-target-winsup: install-html-target-winsup
36620 install-html-target-winsup: \
36621 configure-target-winsup \
36622 html-target-winsup
36623 @: $(MAKE); $(unstage)
36624 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36625 r=`${PWD_COMMAND}`; export r; \
36626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36627 $(NORMAL_TARGET_EXPORTS) \
36628 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36629 for flag in $(EXTRA_TARGET_FLAGS); do \
36630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36631 done; \
36632 (cd $(TARGET_SUBDIR)/winsup && \
36633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36635 "RANLIB=$${RANLIB}" \
36636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36637 install-html) \
36638 || exit 1
36640 @endif target-winsup
36642 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36643 maybe-installcheck-target-winsup:
36644 @if target-winsup
36645 maybe-installcheck-target-winsup: installcheck-target-winsup
36647 installcheck-target-winsup: \
36648 configure-target-winsup
36649 @: $(MAKE); $(unstage)
36650 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36651 r=`${PWD_COMMAND}`; export r; \
36652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36653 $(NORMAL_TARGET_EXPORTS) \
36654 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36655 for flag in $(EXTRA_TARGET_FLAGS); do \
36656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36657 done; \
36658 (cd $(TARGET_SUBDIR)/winsup && \
36659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36661 "RANLIB=$${RANLIB}" \
36662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36663 installcheck) \
36664 || exit 1
36666 @endif target-winsup
36668 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36669 maybe-mostlyclean-target-winsup:
36670 @if target-winsup
36671 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36673 mostlyclean-target-winsup:
36674 @: $(MAKE); $(unstage)
36675 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36676 r=`${PWD_COMMAND}`; export r; \
36677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36678 $(NORMAL_TARGET_EXPORTS) \
36679 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36680 for flag in $(EXTRA_TARGET_FLAGS); do \
36681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36682 done; \
36683 (cd $(TARGET_SUBDIR)/winsup && \
36684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36686 "RANLIB=$${RANLIB}" \
36687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36688 mostlyclean) \
36689 || exit 1
36691 @endif target-winsup
36693 .PHONY: maybe-clean-target-winsup clean-target-winsup
36694 maybe-clean-target-winsup:
36695 @if target-winsup
36696 maybe-clean-target-winsup: clean-target-winsup
36698 clean-target-winsup:
36699 @: $(MAKE); $(unstage)
36700 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36701 r=`${PWD_COMMAND}`; export r; \
36702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36703 $(NORMAL_TARGET_EXPORTS) \
36704 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36705 for flag in $(EXTRA_TARGET_FLAGS); do \
36706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36707 done; \
36708 (cd $(TARGET_SUBDIR)/winsup && \
36709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36711 "RANLIB=$${RANLIB}" \
36712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36713 clean) \
36714 || exit 1
36716 @endif target-winsup
36718 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36719 maybe-distclean-target-winsup:
36720 @if target-winsup
36721 maybe-distclean-target-winsup: distclean-target-winsup
36723 distclean-target-winsup:
36724 @: $(MAKE); $(unstage)
36725 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36726 r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 $(NORMAL_TARGET_EXPORTS) \
36729 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36730 for flag in $(EXTRA_TARGET_FLAGS); do \
36731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36732 done; \
36733 (cd $(TARGET_SUBDIR)/winsup && \
36734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36736 "RANLIB=$${RANLIB}" \
36737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36738 distclean) \
36739 || exit 1
36741 @endif target-winsup
36743 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36744 maybe-maintainer-clean-target-winsup:
36745 @if target-winsup
36746 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36748 maintainer-clean-target-winsup:
36749 @: $(MAKE); $(unstage)
36750 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36751 r=`${PWD_COMMAND}`; export r; \
36752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36753 $(NORMAL_TARGET_EXPORTS) \
36754 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36755 for flag in $(EXTRA_TARGET_FLAGS); do \
36756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36757 done; \
36758 (cd $(TARGET_SUBDIR)/winsup && \
36759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36761 "RANLIB=$${RANLIB}" \
36762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36763 maintainer-clean) \
36764 || exit 1
36766 @endif target-winsup
36772 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36773 maybe-configure-target-libgloss:
36774 @if gcc-bootstrap
36775 configure-target-libgloss: stage_current
36776 @endif gcc-bootstrap
36777 @if target-libgloss
36778 maybe-configure-target-libgloss: configure-target-libgloss
36779 configure-target-libgloss:
36780 @: $(MAKE); $(unstage)
36781 @r=`${PWD_COMMAND}`; export r; \
36782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36783 echo "Checking multilib configuration for libgloss..."; \
36784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36785 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36786 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36787 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36788 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36789 else \
36790 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36791 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36792 fi; \
36793 else \
36794 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36795 fi; \
36796 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36798 $(NORMAL_TARGET_EXPORTS) \
36799 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36800 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36801 case $(srcdir) in \
36802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36803 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36805 esac; \
36806 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36807 libsrcdir="$$s/libgloss"; \
36808 rm -f no-such-file || : ; \
36809 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36810 $(TARGET_CONFIGARGS) $${srcdiroption} \
36811 || exit 1
36812 @endif target-libgloss
36818 .PHONY: all-target-libgloss maybe-all-target-libgloss
36819 maybe-all-target-libgloss:
36820 @if gcc-bootstrap
36821 all-target-libgloss: stage_current
36822 @endif gcc-bootstrap
36823 @if target-libgloss
36824 TARGET-target-libgloss=all
36825 maybe-all-target-libgloss: all-target-libgloss
36826 all-target-libgloss: configure-target-libgloss
36827 @: $(MAKE); $(unstage)
36828 @r=`${PWD_COMMAND}`; export r; \
36829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36830 $(NORMAL_TARGET_EXPORTS) \
36831 (cd $(TARGET_SUBDIR)/libgloss && \
36832 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
36833 @endif target-libgloss
36839 .PHONY: check-target-libgloss maybe-check-target-libgloss
36840 maybe-check-target-libgloss:
36841 @if target-libgloss
36842 maybe-check-target-libgloss: check-target-libgloss
36844 # Dummy target for uncheckable module.
36845 check-target-libgloss:
36847 @endif target-libgloss
36849 .PHONY: install-target-libgloss maybe-install-target-libgloss
36850 maybe-install-target-libgloss:
36851 @if target-libgloss
36852 maybe-install-target-libgloss: install-target-libgloss
36854 install-target-libgloss: installdirs
36855 @: $(MAKE); $(unstage)
36856 @r=`${PWD_COMMAND}`; export r; \
36857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36858 $(NORMAL_TARGET_EXPORTS) \
36859 (cd $(TARGET_SUBDIR)/libgloss && \
36860 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36862 @endif target-libgloss
36864 # Other targets (info, dvi, pdf, etc.)
36866 .PHONY: maybe-info-target-libgloss info-target-libgloss
36867 maybe-info-target-libgloss:
36868 @if target-libgloss
36869 maybe-info-target-libgloss: info-target-libgloss
36871 info-target-libgloss: \
36872 configure-target-libgloss
36873 @: $(MAKE); $(unstage)
36874 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36875 r=`${PWD_COMMAND}`; export r; \
36876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36877 $(NORMAL_TARGET_EXPORTS) \
36878 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36879 for flag in $(EXTRA_TARGET_FLAGS); do \
36880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36881 done; \
36882 (cd $(TARGET_SUBDIR)/libgloss && \
36883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36885 "RANLIB=$${RANLIB}" \
36886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36887 info) \
36888 || exit 1
36890 @endif target-libgloss
36892 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36893 maybe-dvi-target-libgloss:
36894 @if target-libgloss
36895 maybe-dvi-target-libgloss: dvi-target-libgloss
36897 dvi-target-libgloss: \
36898 configure-target-libgloss
36899 @: $(MAKE); $(unstage)
36900 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36901 r=`${PWD_COMMAND}`; export r; \
36902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36903 $(NORMAL_TARGET_EXPORTS) \
36904 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36905 for flag in $(EXTRA_TARGET_FLAGS); do \
36906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36907 done; \
36908 (cd $(TARGET_SUBDIR)/libgloss && \
36909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36911 "RANLIB=$${RANLIB}" \
36912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36913 dvi) \
36914 || exit 1
36916 @endif target-libgloss
36918 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36919 maybe-pdf-target-libgloss:
36920 @if target-libgloss
36921 maybe-pdf-target-libgloss: pdf-target-libgloss
36923 pdf-target-libgloss: \
36924 configure-target-libgloss
36925 @: $(MAKE); $(unstage)
36926 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36927 r=`${PWD_COMMAND}`; export r; \
36928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36929 $(NORMAL_TARGET_EXPORTS) \
36930 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36931 for flag in $(EXTRA_TARGET_FLAGS); do \
36932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36933 done; \
36934 (cd $(TARGET_SUBDIR)/libgloss && \
36935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36937 "RANLIB=$${RANLIB}" \
36938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36939 pdf) \
36940 || exit 1
36942 @endif target-libgloss
36944 .PHONY: maybe-html-target-libgloss html-target-libgloss
36945 maybe-html-target-libgloss:
36946 @if target-libgloss
36947 maybe-html-target-libgloss: html-target-libgloss
36949 html-target-libgloss: \
36950 configure-target-libgloss
36951 @: $(MAKE); $(unstage)
36952 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36953 r=`${PWD_COMMAND}`; export r; \
36954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36955 $(NORMAL_TARGET_EXPORTS) \
36956 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36957 for flag in $(EXTRA_TARGET_FLAGS); do \
36958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36959 done; \
36960 (cd $(TARGET_SUBDIR)/libgloss && \
36961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36963 "RANLIB=$${RANLIB}" \
36964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36965 html) \
36966 || exit 1
36968 @endif target-libgloss
36970 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36971 maybe-TAGS-target-libgloss:
36972 @if target-libgloss
36973 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36975 TAGS-target-libgloss: \
36976 configure-target-libgloss
36977 @: $(MAKE); $(unstage)
36978 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36979 r=`${PWD_COMMAND}`; export r; \
36980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36981 $(NORMAL_TARGET_EXPORTS) \
36982 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36983 for flag in $(EXTRA_TARGET_FLAGS); do \
36984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36985 done; \
36986 (cd $(TARGET_SUBDIR)/libgloss && \
36987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36989 "RANLIB=$${RANLIB}" \
36990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36991 TAGS) \
36992 || exit 1
36994 @endif target-libgloss
36996 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36997 maybe-install-info-target-libgloss:
36998 @if target-libgloss
36999 maybe-install-info-target-libgloss: install-info-target-libgloss
37001 install-info-target-libgloss: \
37002 configure-target-libgloss \
37003 info-target-libgloss
37004 @: $(MAKE); $(unstage)
37005 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37006 r=`${PWD_COMMAND}`; export r; \
37007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37008 $(NORMAL_TARGET_EXPORTS) \
37009 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37010 for flag in $(EXTRA_TARGET_FLAGS); do \
37011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37012 done; \
37013 (cd $(TARGET_SUBDIR)/libgloss && \
37014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37016 "RANLIB=$${RANLIB}" \
37017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37018 install-info) \
37019 || exit 1
37021 @endif target-libgloss
37023 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37024 maybe-install-html-target-libgloss:
37025 @if target-libgloss
37026 maybe-install-html-target-libgloss: install-html-target-libgloss
37028 install-html-target-libgloss: \
37029 configure-target-libgloss \
37030 html-target-libgloss
37031 @: $(MAKE); $(unstage)
37032 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37033 r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 $(NORMAL_TARGET_EXPORTS) \
37036 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37037 for flag in $(EXTRA_TARGET_FLAGS); do \
37038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37039 done; \
37040 (cd $(TARGET_SUBDIR)/libgloss && \
37041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37043 "RANLIB=$${RANLIB}" \
37044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37045 install-html) \
37046 || exit 1
37048 @endif target-libgloss
37050 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37051 maybe-installcheck-target-libgloss:
37052 @if target-libgloss
37053 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37055 installcheck-target-libgloss: \
37056 configure-target-libgloss
37057 @: $(MAKE); $(unstage)
37058 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37059 r=`${PWD_COMMAND}`; export r; \
37060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37061 $(NORMAL_TARGET_EXPORTS) \
37062 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37063 for flag in $(EXTRA_TARGET_FLAGS); do \
37064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37065 done; \
37066 (cd $(TARGET_SUBDIR)/libgloss && \
37067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37069 "RANLIB=$${RANLIB}" \
37070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37071 installcheck) \
37072 || exit 1
37074 @endif target-libgloss
37076 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37077 maybe-mostlyclean-target-libgloss:
37078 @if target-libgloss
37079 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37081 mostlyclean-target-libgloss:
37082 @: $(MAKE); $(unstage)
37083 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37084 r=`${PWD_COMMAND}`; export r; \
37085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37086 $(NORMAL_TARGET_EXPORTS) \
37087 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37088 for flag in $(EXTRA_TARGET_FLAGS); do \
37089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37090 done; \
37091 (cd $(TARGET_SUBDIR)/libgloss && \
37092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37094 "RANLIB=$${RANLIB}" \
37095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37096 mostlyclean) \
37097 || exit 1
37099 @endif target-libgloss
37101 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37102 maybe-clean-target-libgloss:
37103 @if target-libgloss
37104 maybe-clean-target-libgloss: clean-target-libgloss
37106 clean-target-libgloss:
37107 @: $(MAKE); $(unstage)
37108 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37109 r=`${PWD_COMMAND}`; export r; \
37110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37111 $(NORMAL_TARGET_EXPORTS) \
37112 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37113 for flag in $(EXTRA_TARGET_FLAGS); do \
37114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37115 done; \
37116 (cd $(TARGET_SUBDIR)/libgloss && \
37117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37119 "RANLIB=$${RANLIB}" \
37120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37121 clean) \
37122 || exit 1
37124 @endif target-libgloss
37126 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37127 maybe-distclean-target-libgloss:
37128 @if target-libgloss
37129 maybe-distclean-target-libgloss: distclean-target-libgloss
37131 distclean-target-libgloss:
37132 @: $(MAKE); $(unstage)
37133 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37134 r=`${PWD_COMMAND}`; export r; \
37135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37136 $(NORMAL_TARGET_EXPORTS) \
37137 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37138 for flag in $(EXTRA_TARGET_FLAGS); do \
37139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37140 done; \
37141 (cd $(TARGET_SUBDIR)/libgloss && \
37142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37144 "RANLIB=$${RANLIB}" \
37145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37146 distclean) \
37147 || exit 1
37149 @endif target-libgloss
37151 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37152 maybe-maintainer-clean-target-libgloss:
37153 @if target-libgloss
37154 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37156 maintainer-clean-target-libgloss:
37157 @: $(MAKE); $(unstage)
37158 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37159 r=`${PWD_COMMAND}`; export r; \
37160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37161 $(NORMAL_TARGET_EXPORTS) \
37162 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37163 for flag in $(EXTRA_TARGET_FLAGS); do \
37164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37165 done; \
37166 (cd $(TARGET_SUBDIR)/libgloss && \
37167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37169 "RANLIB=$${RANLIB}" \
37170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37171 maintainer-clean) \
37172 || exit 1
37174 @endif target-libgloss
37180 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
37181 maybe-configure-target-libiberty:
37182 @if gcc-bootstrap
37183 configure-target-libiberty: stage_current
37184 @endif gcc-bootstrap
37185 @if target-libiberty
37186 maybe-configure-target-libiberty: configure-target-libiberty
37187 configure-target-libiberty:
37188 @: $(MAKE); $(unstage)
37189 @r=`${PWD_COMMAND}`; export r; \
37190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37191 echo "Checking multilib configuration for libiberty..."; \
37192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
37194 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37195 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37196 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
37197 else \
37198 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
37199 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37200 fi; \
37201 else \
37202 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37203 fi; \
37204 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
37205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37206 $(NORMAL_TARGET_EXPORTS) \
37207 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
37208 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
37209 case $(srcdir) in \
37210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37211 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
37212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37213 esac; \
37214 srcdiroption="--srcdir=$${topdir}/libiberty"; \
37215 libsrcdir="$$s/libiberty"; \
37216 rm -f no-such-file || : ; \
37217 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37218 $(TARGET_CONFIGARGS) $${srcdiroption} \
37219 || exit 1
37220 @endif target-libiberty
37226 .PHONY: all-target-libiberty maybe-all-target-libiberty
37227 maybe-all-target-libiberty:
37228 @if gcc-bootstrap
37229 all-target-libiberty: stage_current
37230 @endif gcc-bootstrap
37231 @if target-libiberty
37232 TARGET-target-libiberty=all
37233 maybe-all-target-libiberty: all-target-libiberty
37234 all-target-libiberty: configure-target-libiberty
37235 @: $(MAKE); $(unstage)
37236 @r=`${PWD_COMMAND}`; export r; \
37237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37238 $(NORMAL_TARGET_EXPORTS) \
37239 (cd $(TARGET_SUBDIR)/libiberty && \
37240 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
37241 @endif target-libiberty
37247 .PHONY: check-target-libiberty maybe-check-target-libiberty
37248 maybe-check-target-libiberty:
37249 @if target-libiberty
37250 maybe-check-target-libiberty: check-target-libiberty
37252 check-target-libiberty:
37253 @: $(MAKE); $(unstage)
37254 @r=`${PWD_COMMAND}`; export r; \
37255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37256 $(NORMAL_TARGET_EXPORTS) \
37257 (cd $(TARGET_SUBDIR)/libiberty && \
37258 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37260 @endif target-libiberty
37262 .PHONY: install-target-libiberty maybe-install-target-libiberty
37263 maybe-install-target-libiberty:
37264 @if target-libiberty
37265 maybe-install-target-libiberty: install-target-libiberty
37267 install-target-libiberty: installdirs
37268 @: $(MAKE); $(unstage)
37269 @r=`${PWD_COMMAND}`; export r; \
37270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37271 $(NORMAL_TARGET_EXPORTS) \
37272 (cd $(TARGET_SUBDIR)/libiberty && \
37273 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37275 @endif target-libiberty
37277 # Other targets (info, dvi, pdf, etc.)
37279 .PHONY: maybe-info-target-libiberty info-target-libiberty
37280 maybe-info-target-libiberty:
37281 @if target-libiberty
37282 maybe-info-target-libiberty: info-target-libiberty
37284 info-target-libiberty: \
37285 configure-target-libiberty
37286 @: $(MAKE); $(unstage)
37287 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37288 r=`${PWD_COMMAND}`; export r; \
37289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37290 $(NORMAL_TARGET_EXPORTS) \
37291 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
37292 for flag in $(EXTRA_TARGET_FLAGS); do \
37293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37294 done; \
37295 (cd $(TARGET_SUBDIR)/libiberty && \
37296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37298 "RANLIB=$${RANLIB}" \
37299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37300 info) \
37301 || exit 1
37303 @endif target-libiberty
37305 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
37306 maybe-dvi-target-libiberty:
37307 @if target-libiberty
37308 maybe-dvi-target-libiberty: dvi-target-libiberty
37310 dvi-target-libiberty: \
37311 configure-target-libiberty
37312 @: $(MAKE); $(unstage)
37313 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37314 r=`${PWD_COMMAND}`; export r; \
37315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37316 $(NORMAL_TARGET_EXPORTS) \
37317 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
37318 for flag in $(EXTRA_TARGET_FLAGS); do \
37319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37320 done; \
37321 (cd $(TARGET_SUBDIR)/libiberty && \
37322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37324 "RANLIB=$${RANLIB}" \
37325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37326 dvi) \
37327 || exit 1
37329 @endif target-libiberty
37331 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
37332 maybe-pdf-target-libiberty:
37333 @if target-libiberty
37334 maybe-pdf-target-libiberty: pdf-target-libiberty
37336 pdf-target-libiberty: \
37337 configure-target-libiberty
37338 @: $(MAKE); $(unstage)
37339 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37340 r=`${PWD_COMMAND}`; export r; \
37341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37342 $(NORMAL_TARGET_EXPORTS) \
37343 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
37344 for flag in $(EXTRA_TARGET_FLAGS); do \
37345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37346 done; \
37347 (cd $(TARGET_SUBDIR)/libiberty && \
37348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37350 "RANLIB=$${RANLIB}" \
37351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37352 pdf) \
37353 || exit 1
37355 @endif target-libiberty
37357 .PHONY: maybe-html-target-libiberty html-target-libiberty
37358 maybe-html-target-libiberty:
37359 @if target-libiberty
37360 maybe-html-target-libiberty: html-target-libiberty
37362 html-target-libiberty: \
37363 configure-target-libiberty
37364 @: $(MAKE); $(unstage)
37365 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37366 r=`${PWD_COMMAND}`; export r; \
37367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37368 $(NORMAL_TARGET_EXPORTS) \
37369 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
37370 for flag in $(EXTRA_TARGET_FLAGS); do \
37371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37372 done; \
37373 (cd $(TARGET_SUBDIR)/libiberty && \
37374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37376 "RANLIB=$${RANLIB}" \
37377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37378 html) \
37379 || exit 1
37381 @endif target-libiberty
37383 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
37384 maybe-TAGS-target-libiberty:
37385 @if target-libiberty
37386 maybe-TAGS-target-libiberty: TAGS-target-libiberty
37388 TAGS-target-libiberty: \
37389 configure-target-libiberty
37390 @: $(MAKE); $(unstage)
37391 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37392 r=`${PWD_COMMAND}`; export r; \
37393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37394 $(NORMAL_TARGET_EXPORTS) \
37395 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
37396 for flag in $(EXTRA_TARGET_FLAGS); do \
37397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37398 done; \
37399 (cd $(TARGET_SUBDIR)/libiberty && \
37400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37402 "RANLIB=$${RANLIB}" \
37403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37404 TAGS) \
37405 || exit 1
37407 @endif target-libiberty
37409 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
37410 maybe-install-info-target-libiberty:
37411 @if target-libiberty
37412 maybe-install-info-target-libiberty: install-info-target-libiberty
37414 install-info-target-libiberty: \
37415 configure-target-libiberty \
37416 info-target-libiberty
37417 @: $(MAKE); $(unstage)
37418 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37419 r=`${PWD_COMMAND}`; export r; \
37420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37421 $(NORMAL_TARGET_EXPORTS) \
37422 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
37423 for flag in $(EXTRA_TARGET_FLAGS); do \
37424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37425 done; \
37426 (cd $(TARGET_SUBDIR)/libiberty && \
37427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37429 "RANLIB=$${RANLIB}" \
37430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37431 install-info) \
37432 || exit 1
37434 @endif target-libiberty
37436 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
37437 maybe-install-html-target-libiberty:
37438 @if target-libiberty
37439 maybe-install-html-target-libiberty: install-html-target-libiberty
37441 install-html-target-libiberty: \
37442 configure-target-libiberty \
37443 html-target-libiberty
37444 @: $(MAKE); $(unstage)
37445 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37446 r=`${PWD_COMMAND}`; export r; \
37447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37448 $(NORMAL_TARGET_EXPORTS) \
37449 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
37450 for flag in $(EXTRA_TARGET_FLAGS); do \
37451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37452 done; \
37453 (cd $(TARGET_SUBDIR)/libiberty && \
37454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37456 "RANLIB=$${RANLIB}" \
37457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37458 install-html) \
37459 || exit 1
37461 @endif target-libiberty
37463 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
37464 maybe-installcheck-target-libiberty:
37465 @if target-libiberty
37466 maybe-installcheck-target-libiberty: installcheck-target-libiberty
37468 installcheck-target-libiberty: \
37469 configure-target-libiberty
37470 @: $(MAKE); $(unstage)
37471 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37472 r=`${PWD_COMMAND}`; export r; \
37473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37474 $(NORMAL_TARGET_EXPORTS) \
37475 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
37476 for flag in $(EXTRA_TARGET_FLAGS); do \
37477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37478 done; \
37479 (cd $(TARGET_SUBDIR)/libiberty && \
37480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37482 "RANLIB=$${RANLIB}" \
37483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37484 installcheck) \
37485 || exit 1
37487 @endif target-libiberty
37489 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
37490 maybe-mostlyclean-target-libiberty:
37491 @if target-libiberty
37492 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
37494 mostlyclean-target-libiberty:
37495 @: $(MAKE); $(unstage)
37496 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37497 r=`${PWD_COMMAND}`; export r; \
37498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37499 $(NORMAL_TARGET_EXPORTS) \
37500 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
37501 for flag in $(EXTRA_TARGET_FLAGS); do \
37502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37503 done; \
37504 (cd $(TARGET_SUBDIR)/libiberty && \
37505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37507 "RANLIB=$${RANLIB}" \
37508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37509 mostlyclean) \
37510 || exit 1
37512 @endif target-libiberty
37514 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
37515 maybe-clean-target-libiberty:
37516 @if target-libiberty
37517 maybe-clean-target-libiberty: clean-target-libiberty
37519 clean-target-libiberty:
37520 @: $(MAKE); $(unstage)
37521 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37522 r=`${PWD_COMMAND}`; export r; \
37523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37524 $(NORMAL_TARGET_EXPORTS) \
37525 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
37526 for flag in $(EXTRA_TARGET_FLAGS); do \
37527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37528 done; \
37529 (cd $(TARGET_SUBDIR)/libiberty && \
37530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37532 "RANLIB=$${RANLIB}" \
37533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37534 clean) \
37535 || exit 1
37537 @endif target-libiberty
37539 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
37540 maybe-distclean-target-libiberty:
37541 @if target-libiberty
37542 maybe-distclean-target-libiberty: distclean-target-libiberty
37544 distclean-target-libiberty:
37545 @: $(MAKE); $(unstage)
37546 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37547 r=`${PWD_COMMAND}`; export r; \
37548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37549 $(NORMAL_TARGET_EXPORTS) \
37550 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
37551 for flag in $(EXTRA_TARGET_FLAGS); do \
37552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37553 done; \
37554 (cd $(TARGET_SUBDIR)/libiberty && \
37555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37557 "RANLIB=$${RANLIB}" \
37558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37559 distclean) \
37560 || exit 1
37562 @endif target-libiberty
37564 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
37565 maybe-maintainer-clean-target-libiberty:
37566 @if target-libiberty
37567 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
37569 maintainer-clean-target-libiberty:
37570 @: $(MAKE); $(unstage)
37571 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37572 r=`${PWD_COMMAND}`; export r; \
37573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37574 $(NORMAL_TARGET_EXPORTS) \
37575 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
37576 for flag in $(EXTRA_TARGET_FLAGS); do \
37577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37578 done; \
37579 (cd $(TARGET_SUBDIR)/libiberty && \
37580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37582 "RANLIB=$${RANLIB}" \
37583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37584 maintainer-clean) \
37585 || exit 1
37587 @endif target-libiberty
37593 .PHONY: configure-target-gperf maybe-configure-target-gperf
37594 maybe-configure-target-gperf:
37595 @if gcc-bootstrap
37596 configure-target-gperf: stage_current
37597 @endif gcc-bootstrap
37598 @if target-gperf
37599 maybe-configure-target-gperf: configure-target-gperf
37600 configure-target-gperf:
37601 @: $(MAKE); $(unstage)
37602 @r=`${PWD_COMMAND}`; export r; \
37603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37604 echo "Checking multilib configuration for gperf..."; \
37605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37606 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
37607 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
37608 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
37609 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
37610 else \
37611 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
37612 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37613 fi; \
37614 else \
37615 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37616 fi; \
37617 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
37618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37619 $(NORMAL_TARGET_EXPORTS) \
37620 echo Configuring in $(TARGET_SUBDIR)/gperf; \
37621 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
37622 case $(srcdir) in \
37623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37624 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
37625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37626 esac; \
37627 srcdiroption="--srcdir=$${topdir}/gperf"; \
37628 libsrcdir="$$s/gperf"; \
37629 rm -f no-such-file || : ; \
37630 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37631 $(TARGET_CONFIGARGS) $${srcdiroption} \
37632 || exit 1
37633 @endif target-gperf
37639 .PHONY: all-target-gperf maybe-all-target-gperf
37640 maybe-all-target-gperf:
37641 @if gcc-bootstrap
37642 all-target-gperf: stage_current
37643 @endif gcc-bootstrap
37644 @if target-gperf
37645 TARGET-target-gperf=all
37646 maybe-all-target-gperf: all-target-gperf
37647 all-target-gperf: configure-target-gperf
37648 @: $(MAKE); $(unstage)
37649 @r=`${PWD_COMMAND}`; export r; \
37650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37651 $(NORMAL_TARGET_EXPORTS) \
37652 (cd $(TARGET_SUBDIR)/gperf && \
37653 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
37654 @endif target-gperf
37660 .PHONY: check-target-gperf maybe-check-target-gperf
37661 maybe-check-target-gperf:
37662 @if target-gperf
37663 maybe-check-target-gperf: check-target-gperf
37665 check-target-gperf:
37666 @: $(MAKE); $(unstage)
37667 @r=`${PWD_COMMAND}`; export r; \
37668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37669 $(NORMAL_TARGET_EXPORTS) \
37670 (cd $(TARGET_SUBDIR)/gperf && \
37671 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37673 @endif target-gperf
37675 .PHONY: install-target-gperf maybe-install-target-gperf
37676 maybe-install-target-gperf:
37677 @if target-gperf
37678 maybe-install-target-gperf: install-target-gperf
37680 install-target-gperf: installdirs
37681 @: $(MAKE); $(unstage)
37682 @r=`${PWD_COMMAND}`; export r; \
37683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37684 $(NORMAL_TARGET_EXPORTS) \
37685 (cd $(TARGET_SUBDIR)/gperf && \
37686 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37688 @endif target-gperf
37690 # Other targets (info, dvi, pdf, etc.)
37692 .PHONY: maybe-info-target-gperf info-target-gperf
37693 maybe-info-target-gperf:
37694 @if target-gperf
37695 maybe-info-target-gperf: info-target-gperf
37697 info-target-gperf: \
37698 configure-target-gperf
37699 @: $(MAKE); $(unstage)
37700 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37701 r=`${PWD_COMMAND}`; export r; \
37702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37703 $(NORMAL_TARGET_EXPORTS) \
37704 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
37705 for flag in $(EXTRA_TARGET_FLAGS); do \
37706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37707 done; \
37708 (cd $(TARGET_SUBDIR)/gperf && \
37709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37711 "RANLIB=$${RANLIB}" \
37712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37713 info) \
37714 || exit 1
37716 @endif target-gperf
37718 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
37719 maybe-dvi-target-gperf:
37720 @if target-gperf
37721 maybe-dvi-target-gperf: dvi-target-gperf
37723 dvi-target-gperf: \
37724 configure-target-gperf
37725 @: $(MAKE); $(unstage)
37726 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37727 r=`${PWD_COMMAND}`; export r; \
37728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37729 $(NORMAL_TARGET_EXPORTS) \
37730 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
37731 for flag in $(EXTRA_TARGET_FLAGS); do \
37732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37733 done; \
37734 (cd $(TARGET_SUBDIR)/gperf && \
37735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37737 "RANLIB=$${RANLIB}" \
37738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37739 dvi) \
37740 || exit 1
37742 @endif target-gperf
37744 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
37745 maybe-pdf-target-gperf:
37746 @if target-gperf
37747 maybe-pdf-target-gperf: pdf-target-gperf
37749 pdf-target-gperf: \
37750 configure-target-gperf
37751 @: $(MAKE); $(unstage)
37752 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37753 r=`${PWD_COMMAND}`; export r; \
37754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37755 $(NORMAL_TARGET_EXPORTS) \
37756 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
37757 for flag in $(EXTRA_TARGET_FLAGS); do \
37758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37759 done; \
37760 (cd $(TARGET_SUBDIR)/gperf && \
37761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37763 "RANLIB=$${RANLIB}" \
37764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37765 pdf) \
37766 || exit 1
37768 @endif target-gperf
37770 .PHONY: maybe-html-target-gperf html-target-gperf
37771 maybe-html-target-gperf:
37772 @if target-gperf
37773 maybe-html-target-gperf: html-target-gperf
37775 html-target-gperf: \
37776 configure-target-gperf
37777 @: $(MAKE); $(unstage)
37778 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37779 r=`${PWD_COMMAND}`; export r; \
37780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37781 $(NORMAL_TARGET_EXPORTS) \
37782 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
37783 for flag in $(EXTRA_TARGET_FLAGS); do \
37784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37785 done; \
37786 (cd $(TARGET_SUBDIR)/gperf && \
37787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37789 "RANLIB=$${RANLIB}" \
37790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37791 html) \
37792 || exit 1
37794 @endif target-gperf
37796 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
37797 maybe-TAGS-target-gperf:
37798 @if target-gperf
37799 maybe-TAGS-target-gperf: TAGS-target-gperf
37801 TAGS-target-gperf: \
37802 configure-target-gperf
37803 @: $(MAKE); $(unstage)
37804 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37805 r=`${PWD_COMMAND}`; export r; \
37806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37807 $(NORMAL_TARGET_EXPORTS) \
37808 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
37809 for flag in $(EXTRA_TARGET_FLAGS); do \
37810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37811 done; \
37812 (cd $(TARGET_SUBDIR)/gperf && \
37813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37815 "RANLIB=$${RANLIB}" \
37816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37817 TAGS) \
37818 || exit 1
37820 @endif target-gperf
37822 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
37823 maybe-install-info-target-gperf:
37824 @if target-gperf
37825 maybe-install-info-target-gperf: install-info-target-gperf
37827 install-info-target-gperf: \
37828 configure-target-gperf \
37829 info-target-gperf
37830 @: $(MAKE); $(unstage)
37831 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37832 r=`${PWD_COMMAND}`; export r; \
37833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37834 $(NORMAL_TARGET_EXPORTS) \
37835 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
37836 for flag in $(EXTRA_TARGET_FLAGS); do \
37837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37838 done; \
37839 (cd $(TARGET_SUBDIR)/gperf && \
37840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37842 "RANLIB=$${RANLIB}" \
37843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37844 install-info) \
37845 || exit 1
37847 @endif target-gperf
37849 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
37850 maybe-install-html-target-gperf:
37851 @if target-gperf
37852 maybe-install-html-target-gperf: install-html-target-gperf
37854 install-html-target-gperf: \
37855 configure-target-gperf \
37856 html-target-gperf
37857 @: $(MAKE); $(unstage)
37858 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37859 r=`${PWD_COMMAND}`; export r; \
37860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37861 $(NORMAL_TARGET_EXPORTS) \
37862 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
37863 for flag in $(EXTRA_TARGET_FLAGS); do \
37864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37865 done; \
37866 (cd $(TARGET_SUBDIR)/gperf && \
37867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37869 "RANLIB=$${RANLIB}" \
37870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37871 install-html) \
37872 || exit 1
37874 @endif target-gperf
37876 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
37877 maybe-installcheck-target-gperf:
37878 @if target-gperf
37879 maybe-installcheck-target-gperf: installcheck-target-gperf
37881 installcheck-target-gperf: \
37882 configure-target-gperf
37883 @: $(MAKE); $(unstage)
37884 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37885 r=`${PWD_COMMAND}`; export r; \
37886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37887 $(NORMAL_TARGET_EXPORTS) \
37888 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
37889 for flag in $(EXTRA_TARGET_FLAGS); do \
37890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37891 done; \
37892 (cd $(TARGET_SUBDIR)/gperf && \
37893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37895 "RANLIB=$${RANLIB}" \
37896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37897 installcheck) \
37898 || exit 1
37900 @endif target-gperf
37902 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
37903 maybe-mostlyclean-target-gperf:
37904 @if target-gperf
37905 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
37907 mostlyclean-target-gperf:
37908 @: $(MAKE); $(unstage)
37909 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37910 r=`${PWD_COMMAND}`; export r; \
37911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37912 $(NORMAL_TARGET_EXPORTS) \
37913 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
37914 for flag in $(EXTRA_TARGET_FLAGS); do \
37915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37916 done; \
37917 (cd $(TARGET_SUBDIR)/gperf && \
37918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37920 "RANLIB=$${RANLIB}" \
37921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37922 mostlyclean) \
37923 || exit 1
37925 @endif target-gperf
37927 .PHONY: maybe-clean-target-gperf clean-target-gperf
37928 maybe-clean-target-gperf:
37929 @if target-gperf
37930 maybe-clean-target-gperf: clean-target-gperf
37932 clean-target-gperf:
37933 @: $(MAKE); $(unstage)
37934 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37935 r=`${PWD_COMMAND}`; export r; \
37936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37937 $(NORMAL_TARGET_EXPORTS) \
37938 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
37939 for flag in $(EXTRA_TARGET_FLAGS); do \
37940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37941 done; \
37942 (cd $(TARGET_SUBDIR)/gperf && \
37943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37945 "RANLIB=$${RANLIB}" \
37946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37947 clean) \
37948 || exit 1
37950 @endif target-gperf
37952 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
37953 maybe-distclean-target-gperf:
37954 @if target-gperf
37955 maybe-distclean-target-gperf: distclean-target-gperf
37957 distclean-target-gperf:
37958 @: $(MAKE); $(unstage)
37959 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37960 r=`${PWD_COMMAND}`; export r; \
37961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37962 $(NORMAL_TARGET_EXPORTS) \
37963 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
37964 for flag in $(EXTRA_TARGET_FLAGS); do \
37965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37966 done; \
37967 (cd $(TARGET_SUBDIR)/gperf && \
37968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37970 "RANLIB=$${RANLIB}" \
37971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37972 distclean) \
37973 || exit 1
37975 @endif target-gperf
37977 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
37978 maybe-maintainer-clean-target-gperf:
37979 @if target-gperf
37980 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
37982 maintainer-clean-target-gperf:
37983 @: $(MAKE); $(unstage)
37984 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37985 r=`${PWD_COMMAND}`; export r; \
37986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37987 $(NORMAL_TARGET_EXPORTS) \
37988 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
37989 for flag in $(EXTRA_TARGET_FLAGS); do \
37990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37991 done; \
37992 (cd $(TARGET_SUBDIR)/gperf && \
37993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37995 "RANLIB=$${RANLIB}" \
37996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37997 maintainer-clean) \
37998 || exit 1
38000 @endif target-gperf
38006 .PHONY: configure-target-examples maybe-configure-target-examples
38007 maybe-configure-target-examples:
38008 @if gcc-bootstrap
38009 configure-target-examples: stage_current
38010 @endif gcc-bootstrap
38011 @if target-examples
38012 maybe-configure-target-examples: configure-target-examples
38013 configure-target-examples:
38014 @: $(MAKE); $(unstage)
38015 @r=`${PWD_COMMAND}`; export r; \
38016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38017 echo "Checking multilib configuration for examples..."; \
38018 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38019 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
38020 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
38021 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
38022 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
38023 else \
38024 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
38025 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38026 fi; \
38027 else \
38028 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38029 fi; \
38030 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
38031 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38032 $(NORMAL_TARGET_EXPORTS) \
38033 echo Configuring in $(TARGET_SUBDIR)/examples; \
38034 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
38035 case $(srcdir) in \
38036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38037 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
38038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38039 esac; \
38040 srcdiroption="--srcdir=$${topdir}/examples"; \
38041 libsrcdir="$$s/examples"; \
38042 rm -f no-such-file || : ; \
38043 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38044 $(TARGET_CONFIGARGS) $${srcdiroption} \
38045 || exit 1
38046 @endif target-examples
38052 .PHONY: all-target-examples maybe-all-target-examples
38053 maybe-all-target-examples:
38054 @if gcc-bootstrap
38055 all-target-examples: stage_current
38056 @endif gcc-bootstrap
38057 @if target-examples
38058 TARGET-target-examples=all
38059 maybe-all-target-examples: all-target-examples
38060 all-target-examples: configure-target-examples
38061 @: $(MAKE); $(unstage)
38062 @r=`${PWD_COMMAND}`; export r; \
38063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38064 $(NORMAL_TARGET_EXPORTS) \
38065 (cd $(TARGET_SUBDIR)/examples && \
38066 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
38067 @endif target-examples
38073 .PHONY: check-target-examples maybe-check-target-examples
38074 maybe-check-target-examples:
38075 @if target-examples
38076 maybe-check-target-examples: check-target-examples
38078 # Dummy target for uncheckable module.
38079 check-target-examples:
38081 @endif target-examples
38083 .PHONY: install-target-examples maybe-install-target-examples
38084 maybe-install-target-examples:
38085 @if target-examples
38086 maybe-install-target-examples: install-target-examples
38088 # Dummy target for uninstallable.
38089 install-target-examples:
38091 @endif target-examples
38093 # Other targets (info, dvi, pdf, etc.)
38095 .PHONY: maybe-info-target-examples info-target-examples
38096 maybe-info-target-examples:
38097 @if target-examples
38098 maybe-info-target-examples: info-target-examples
38100 info-target-examples: \
38101 configure-target-examples
38102 @: $(MAKE); $(unstage)
38103 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38104 r=`${PWD_COMMAND}`; export r; \
38105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38106 $(NORMAL_TARGET_EXPORTS) \
38107 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
38108 for flag in $(EXTRA_TARGET_FLAGS); do \
38109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38110 done; \
38111 (cd $(TARGET_SUBDIR)/examples && \
38112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38114 "RANLIB=$${RANLIB}" \
38115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38116 info) \
38117 || exit 1
38119 @endif target-examples
38121 .PHONY: maybe-dvi-target-examples dvi-target-examples
38122 maybe-dvi-target-examples:
38123 @if target-examples
38124 maybe-dvi-target-examples: dvi-target-examples
38126 dvi-target-examples: \
38127 configure-target-examples
38128 @: $(MAKE); $(unstage)
38129 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38130 r=`${PWD_COMMAND}`; export r; \
38131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38132 $(NORMAL_TARGET_EXPORTS) \
38133 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
38134 for flag in $(EXTRA_TARGET_FLAGS); do \
38135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38136 done; \
38137 (cd $(TARGET_SUBDIR)/examples && \
38138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38140 "RANLIB=$${RANLIB}" \
38141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38142 dvi) \
38143 || exit 1
38145 @endif target-examples
38147 .PHONY: maybe-pdf-target-examples pdf-target-examples
38148 maybe-pdf-target-examples:
38149 @if target-examples
38150 maybe-pdf-target-examples: pdf-target-examples
38152 pdf-target-examples: \
38153 configure-target-examples
38154 @: $(MAKE); $(unstage)
38155 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38156 r=`${PWD_COMMAND}`; export r; \
38157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38158 $(NORMAL_TARGET_EXPORTS) \
38159 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
38160 for flag in $(EXTRA_TARGET_FLAGS); do \
38161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38162 done; \
38163 (cd $(TARGET_SUBDIR)/examples && \
38164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38166 "RANLIB=$${RANLIB}" \
38167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38168 pdf) \
38169 || exit 1
38171 @endif target-examples
38173 .PHONY: maybe-html-target-examples html-target-examples
38174 maybe-html-target-examples:
38175 @if target-examples
38176 maybe-html-target-examples: html-target-examples
38178 html-target-examples: \
38179 configure-target-examples
38180 @: $(MAKE); $(unstage)
38181 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38182 r=`${PWD_COMMAND}`; export r; \
38183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38184 $(NORMAL_TARGET_EXPORTS) \
38185 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
38186 for flag in $(EXTRA_TARGET_FLAGS); do \
38187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38188 done; \
38189 (cd $(TARGET_SUBDIR)/examples && \
38190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38192 "RANLIB=$${RANLIB}" \
38193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38194 html) \
38195 || exit 1
38197 @endif target-examples
38199 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
38200 maybe-TAGS-target-examples:
38201 @if target-examples
38202 maybe-TAGS-target-examples: TAGS-target-examples
38204 TAGS-target-examples: \
38205 configure-target-examples
38206 @: $(MAKE); $(unstage)
38207 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38208 r=`${PWD_COMMAND}`; export r; \
38209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38210 $(NORMAL_TARGET_EXPORTS) \
38211 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
38212 for flag in $(EXTRA_TARGET_FLAGS); do \
38213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38214 done; \
38215 (cd $(TARGET_SUBDIR)/examples && \
38216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38218 "RANLIB=$${RANLIB}" \
38219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38220 TAGS) \
38221 || exit 1
38223 @endif target-examples
38225 .PHONY: maybe-install-info-target-examples install-info-target-examples
38226 maybe-install-info-target-examples:
38227 @if target-examples
38228 maybe-install-info-target-examples: install-info-target-examples
38230 install-info-target-examples: \
38231 configure-target-examples \
38232 info-target-examples
38233 @: $(MAKE); $(unstage)
38234 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38235 r=`${PWD_COMMAND}`; export r; \
38236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38237 $(NORMAL_TARGET_EXPORTS) \
38238 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
38239 for flag in $(EXTRA_TARGET_FLAGS); do \
38240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38241 done; \
38242 (cd $(TARGET_SUBDIR)/examples && \
38243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38245 "RANLIB=$${RANLIB}" \
38246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38247 install-info) \
38248 || exit 1
38250 @endif target-examples
38252 .PHONY: maybe-install-html-target-examples install-html-target-examples
38253 maybe-install-html-target-examples:
38254 @if target-examples
38255 maybe-install-html-target-examples: install-html-target-examples
38257 install-html-target-examples: \
38258 configure-target-examples \
38259 html-target-examples
38260 @: $(MAKE); $(unstage)
38261 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38262 r=`${PWD_COMMAND}`; export r; \
38263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38264 $(NORMAL_TARGET_EXPORTS) \
38265 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
38266 for flag in $(EXTRA_TARGET_FLAGS); do \
38267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38268 done; \
38269 (cd $(TARGET_SUBDIR)/examples && \
38270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38272 "RANLIB=$${RANLIB}" \
38273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38274 install-html) \
38275 || exit 1
38277 @endif target-examples
38279 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
38280 maybe-installcheck-target-examples:
38281 @if target-examples
38282 maybe-installcheck-target-examples: installcheck-target-examples
38284 installcheck-target-examples: \
38285 configure-target-examples
38286 @: $(MAKE); $(unstage)
38287 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38288 r=`${PWD_COMMAND}`; export r; \
38289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38290 $(NORMAL_TARGET_EXPORTS) \
38291 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
38292 for flag in $(EXTRA_TARGET_FLAGS); do \
38293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38294 done; \
38295 (cd $(TARGET_SUBDIR)/examples && \
38296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38298 "RANLIB=$${RANLIB}" \
38299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38300 installcheck) \
38301 || exit 1
38303 @endif target-examples
38305 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
38306 maybe-mostlyclean-target-examples:
38307 @if target-examples
38308 maybe-mostlyclean-target-examples: mostlyclean-target-examples
38310 mostlyclean-target-examples:
38311 @: $(MAKE); $(unstage)
38312 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38313 r=`${PWD_COMMAND}`; export r; \
38314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38315 $(NORMAL_TARGET_EXPORTS) \
38316 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
38317 for flag in $(EXTRA_TARGET_FLAGS); do \
38318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38319 done; \
38320 (cd $(TARGET_SUBDIR)/examples && \
38321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38323 "RANLIB=$${RANLIB}" \
38324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38325 mostlyclean) \
38326 || exit 1
38328 @endif target-examples
38330 .PHONY: maybe-clean-target-examples clean-target-examples
38331 maybe-clean-target-examples:
38332 @if target-examples
38333 maybe-clean-target-examples: clean-target-examples
38335 clean-target-examples:
38336 @: $(MAKE); $(unstage)
38337 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38338 r=`${PWD_COMMAND}`; export r; \
38339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38340 $(NORMAL_TARGET_EXPORTS) \
38341 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
38342 for flag in $(EXTRA_TARGET_FLAGS); do \
38343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38344 done; \
38345 (cd $(TARGET_SUBDIR)/examples && \
38346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38348 "RANLIB=$${RANLIB}" \
38349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38350 clean) \
38351 || exit 1
38353 @endif target-examples
38355 .PHONY: maybe-distclean-target-examples distclean-target-examples
38356 maybe-distclean-target-examples:
38357 @if target-examples
38358 maybe-distclean-target-examples: distclean-target-examples
38360 distclean-target-examples:
38361 @: $(MAKE); $(unstage)
38362 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38363 r=`${PWD_COMMAND}`; export r; \
38364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38365 $(NORMAL_TARGET_EXPORTS) \
38366 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
38367 for flag in $(EXTRA_TARGET_FLAGS); do \
38368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38369 done; \
38370 (cd $(TARGET_SUBDIR)/examples && \
38371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38373 "RANLIB=$${RANLIB}" \
38374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38375 distclean) \
38376 || exit 1
38378 @endif target-examples
38380 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
38381 maybe-maintainer-clean-target-examples:
38382 @if target-examples
38383 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
38385 maintainer-clean-target-examples:
38386 @: $(MAKE); $(unstage)
38387 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38388 r=`${PWD_COMMAND}`; export r; \
38389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38390 $(NORMAL_TARGET_EXPORTS) \
38391 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
38392 for flag in $(EXTRA_TARGET_FLAGS); do \
38393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38394 done; \
38395 (cd $(TARGET_SUBDIR)/examples && \
38396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38398 "RANLIB=$${RANLIB}" \
38399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38400 maintainer-clean) \
38401 || exit 1
38403 @endif target-examples
38409 .PHONY: configure-target-libffi maybe-configure-target-libffi
38410 maybe-configure-target-libffi:
38411 @if gcc-bootstrap
38412 configure-target-libffi: stage_current
38413 @endif gcc-bootstrap
38414 @if target-libffi
38415 maybe-configure-target-libffi: configure-target-libffi
38416 configure-target-libffi:
38417 @: $(MAKE); $(unstage)
38418 @r=`${PWD_COMMAND}`; export r; \
38419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38420 echo "Checking multilib configuration for libffi..."; \
38421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38423 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38424 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38425 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38426 else \
38427 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38428 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38429 fi; \
38430 else \
38431 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38432 fi; \
38433 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38435 $(NORMAL_TARGET_EXPORTS) \
38436 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38437 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38438 case $(srcdir) in \
38439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38440 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38442 esac; \
38443 srcdiroption="--srcdir=$${topdir}/libffi"; \
38444 libsrcdir="$$s/libffi"; \
38445 rm -f no-such-file || : ; \
38446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38447 $(TARGET_CONFIGARGS) $${srcdiroption} \
38448 || exit 1
38449 @endif target-libffi
38455 .PHONY: all-target-libffi maybe-all-target-libffi
38456 maybe-all-target-libffi:
38457 @if gcc-bootstrap
38458 all-target-libffi: stage_current
38459 @endif gcc-bootstrap
38460 @if target-libffi
38461 TARGET-target-libffi=all
38462 maybe-all-target-libffi: all-target-libffi
38463 all-target-libffi: configure-target-libffi
38464 @: $(MAKE); $(unstage)
38465 @r=`${PWD_COMMAND}`; export r; \
38466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38467 $(NORMAL_TARGET_EXPORTS) \
38468 (cd $(TARGET_SUBDIR)/libffi && \
38469 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
38470 @endif target-libffi
38476 .PHONY: check-target-libffi maybe-check-target-libffi
38477 maybe-check-target-libffi:
38478 @if target-libffi
38479 maybe-check-target-libffi: check-target-libffi
38481 check-target-libffi:
38482 @: $(MAKE); $(unstage)
38483 @r=`${PWD_COMMAND}`; export r; \
38484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38485 $(NORMAL_TARGET_EXPORTS) \
38486 (cd $(TARGET_SUBDIR)/libffi && \
38487 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38489 @endif target-libffi
38491 .PHONY: install-target-libffi maybe-install-target-libffi
38492 maybe-install-target-libffi:
38493 @if target-libffi
38494 maybe-install-target-libffi: install-target-libffi
38496 install-target-libffi: installdirs
38497 @: $(MAKE); $(unstage)
38498 @r=`${PWD_COMMAND}`; export r; \
38499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38500 $(NORMAL_TARGET_EXPORTS) \
38501 (cd $(TARGET_SUBDIR)/libffi && \
38502 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38504 @endif target-libffi
38506 # Other targets (info, dvi, pdf, etc.)
38508 .PHONY: maybe-info-target-libffi info-target-libffi
38509 maybe-info-target-libffi:
38510 @if target-libffi
38511 maybe-info-target-libffi: info-target-libffi
38513 info-target-libffi: \
38514 configure-target-libffi
38515 @: $(MAKE); $(unstage)
38516 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38517 r=`${PWD_COMMAND}`; export r; \
38518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38519 $(NORMAL_TARGET_EXPORTS) \
38520 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38521 for flag in $(EXTRA_TARGET_FLAGS); do \
38522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38523 done; \
38524 (cd $(TARGET_SUBDIR)/libffi && \
38525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38527 "RANLIB=$${RANLIB}" \
38528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38529 info) \
38530 || exit 1
38532 @endif target-libffi
38534 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38535 maybe-dvi-target-libffi:
38536 @if target-libffi
38537 maybe-dvi-target-libffi: dvi-target-libffi
38539 dvi-target-libffi: \
38540 configure-target-libffi
38541 @: $(MAKE); $(unstage)
38542 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38543 r=`${PWD_COMMAND}`; export r; \
38544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38545 $(NORMAL_TARGET_EXPORTS) \
38546 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38547 for flag in $(EXTRA_TARGET_FLAGS); do \
38548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38549 done; \
38550 (cd $(TARGET_SUBDIR)/libffi && \
38551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38553 "RANLIB=$${RANLIB}" \
38554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38555 dvi) \
38556 || exit 1
38558 @endif target-libffi
38560 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38561 maybe-pdf-target-libffi:
38562 @if target-libffi
38563 maybe-pdf-target-libffi: pdf-target-libffi
38565 pdf-target-libffi: \
38566 configure-target-libffi
38567 @: $(MAKE); $(unstage)
38568 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38569 r=`${PWD_COMMAND}`; export r; \
38570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38571 $(NORMAL_TARGET_EXPORTS) \
38572 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38573 for flag in $(EXTRA_TARGET_FLAGS); do \
38574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38575 done; \
38576 (cd $(TARGET_SUBDIR)/libffi && \
38577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38579 "RANLIB=$${RANLIB}" \
38580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38581 pdf) \
38582 || exit 1
38584 @endif target-libffi
38586 .PHONY: maybe-html-target-libffi html-target-libffi
38587 maybe-html-target-libffi:
38588 @if target-libffi
38589 maybe-html-target-libffi: html-target-libffi
38591 html-target-libffi: \
38592 configure-target-libffi
38593 @: $(MAKE); $(unstage)
38594 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38595 r=`${PWD_COMMAND}`; export r; \
38596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38597 $(NORMAL_TARGET_EXPORTS) \
38598 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38599 for flag in $(EXTRA_TARGET_FLAGS); do \
38600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38601 done; \
38602 (cd $(TARGET_SUBDIR)/libffi && \
38603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38605 "RANLIB=$${RANLIB}" \
38606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38607 html) \
38608 || exit 1
38610 @endif target-libffi
38612 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38613 maybe-TAGS-target-libffi:
38614 @if target-libffi
38615 maybe-TAGS-target-libffi: TAGS-target-libffi
38617 TAGS-target-libffi: \
38618 configure-target-libffi
38619 @: $(MAKE); $(unstage)
38620 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38621 r=`${PWD_COMMAND}`; export r; \
38622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38623 $(NORMAL_TARGET_EXPORTS) \
38624 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38625 for flag in $(EXTRA_TARGET_FLAGS); do \
38626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38627 done; \
38628 (cd $(TARGET_SUBDIR)/libffi && \
38629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38631 "RANLIB=$${RANLIB}" \
38632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38633 TAGS) \
38634 || exit 1
38636 @endif target-libffi
38638 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38639 maybe-install-info-target-libffi:
38640 @if target-libffi
38641 maybe-install-info-target-libffi: install-info-target-libffi
38643 install-info-target-libffi: \
38644 configure-target-libffi \
38645 info-target-libffi
38646 @: $(MAKE); $(unstage)
38647 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38648 r=`${PWD_COMMAND}`; export r; \
38649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38650 $(NORMAL_TARGET_EXPORTS) \
38651 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38652 for flag in $(EXTRA_TARGET_FLAGS); do \
38653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38654 done; \
38655 (cd $(TARGET_SUBDIR)/libffi && \
38656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38658 "RANLIB=$${RANLIB}" \
38659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38660 install-info) \
38661 || exit 1
38663 @endif target-libffi
38665 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38666 maybe-install-html-target-libffi:
38667 @if target-libffi
38668 maybe-install-html-target-libffi: install-html-target-libffi
38670 install-html-target-libffi: \
38671 configure-target-libffi \
38672 html-target-libffi
38673 @: $(MAKE); $(unstage)
38674 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38675 r=`${PWD_COMMAND}`; export r; \
38676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38677 $(NORMAL_TARGET_EXPORTS) \
38678 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38679 for flag in $(EXTRA_TARGET_FLAGS); do \
38680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38681 done; \
38682 (cd $(TARGET_SUBDIR)/libffi && \
38683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38685 "RANLIB=$${RANLIB}" \
38686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38687 install-html) \
38688 || exit 1
38690 @endif target-libffi
38692 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38693 maybe-installcheck-target-libffi:
38694 @if target-libffi
38695 maybe-installcheck-target-libffi: installcheck-target-libffi
38697 installcheck-target-libffi: \
38698 configure-target-libffi
38699 @: $(MAKE); $(unstage)
38700 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38701 r=`${PWD_COMMAND}`; export r; \
38702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38703 $(NORMAL_TARGET_EXPORTS) \
38704 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38705 for flag in $(EXTRA_TARGET_FLAGS); do \
38706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38707 done; \
38708 (cd $(TARGET_SUBDIR)/libffi && \
38709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38711 "RANLIB=$${RANLIB}" \
38712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38713 installcheck) \
38714 || exit 1
38716 @endif target-libffi
38718 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38719 maybe-mostlyclean-target-libffi:
38720 @if target-libffi
38721 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38723 mostlyclean-target-libffi:
38724 @: $(MAKE); $(unstage)
38725 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38726 r=`${PWD_COMMAND}`; export r; \
38727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38728 $(NORMAL_TARGET_EXPORTS) \
38729 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38730 for flag in $(EXTRA_TARGET_FLAGS); do \
38731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38732 done; \
38733 (cd $(TARGET_SUBDIR)/libffi && \
38734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38736 "RANLIB=$${RANLIB}" \
38737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38738 mostlyclean) \
38739 || exit 1
38741 @endif target-libffi
38743 .PHONY: maybe-clean-target-libffi clean-target-libffi
38744 maybe-clean-target-libffi:
38745 @if target-libffi
38746 maybe-clean-target-libffi: clean-target-libffi
38748 clean-target-libffi:
38749 @: $(MAKE); $(unstage)
38750 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38751 r=`${PWD_COMMAND}`; export r; \
38752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38753 $(NORMAL_TARGET_EXPORTS) \
38754 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38755 for flag in $(EXTRA_TARGET_FLAGS); do \
38756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38757 done; \
38758 (cd $(TARGET_SUBDIR)/libffi && \
38759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38761 "RANLIB=$${RANLIB}" \
38762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38763 clean) \
38764 || exit 1
38766 @endif target-libffi
38768 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38769 maybe-distclean-target-libffi:
38770 @if target-libffi
38771 maybe-distclean-target-libffi: distclean-target-libffi
38773 distclean-target-libffi:
38774 @: $(MAKE); $(unstage)
38775 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38776 r=`${PWD_COMMAND}`; export r; \
38777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38778 $(NORMAL_TARGET_EXPORTS) \
38779 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38780 for flag in $(EXTRA_TARGET_FLAGS); do \
38781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38782 done; \
38783 (cd $(TARGET_SUBDIR)/libffi && \
38784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38786 "RANLIB=$${RANLIB}" \
38787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38788 distclean) \
38789 || exit 1
38791 @endif target-libffi
38793 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38794 maybe-maintainer-clean-target-libffi:
38795 @if target-libffi
38796 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38798 maintainer-clean-target-libffi:
38799 @: $(MAKE); $(unstage)
38800 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38801 r=`${PWD_COMMAND}`; export r; \
38802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38803 $(NORMAL_TARGET_EXPORTS) \
38804 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38805 for flag in $(EXTRA_TARGET_FLAGS); do \
38806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38807 done; \
38808 (cd $(TARGET_SUBDIR)/libffi && \
38809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38811 "RANLIB=$${RANLIB}" \
38812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38813 maintainer-clean) \
38814 || exit 1
38816 @endif target-libffi
38822 .PHONY: configure-target-libjava maybe-configure-target-libjava
38823 maybe-configure-target-libjava:
38824 @if gcc-bootstrap
38825 configure-target-libjava: stage_current
38826 @endif gcc-bootstrap
38827 @if target-libjava
38828 maybe-configure-target-libjava: configure-target-libjava
38829 configure-target-libjava:
38830 @: $(MAKE); $(unstage)
38831 @r=`${PWD_COMMAND}`; export r; \
38832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38833 echo "Checking multilib configuration for libjava..."; \
38834 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38835 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38836 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38837 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38838 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38839 else \
38840 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38841 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38842 fi; \
38843 else \
38844 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38845 fi; \
38846 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38848 $(RAW_CXX_TARGET_EXPORTS) \
38849 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38850 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38851 case $(srcdir) in \
38852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38853 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38855 esac; \
38856 srcdiroption="--srcdir=$${topdir}/libjava"; \
38857 libsrcdir="$$s/libjava"; \
38858 rm -f no-such-file || : ; \
38859 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38860 $(TARGET_CONFIGARGS) $${srcdiroption} \
38861 || exit 1
38862 @endif target-libjava
38868 .PHONY: all-target-libjava maybe-all-target-libjava
38869 maybe-all-target-libjava:
38870 @if gcc-bootstrap
38871 all-target-libjava: stage_current
38872 @endif gcc-bootstrap
38873 @if target-libjava
38874 TARGET-target-libjava=all
38875 maybe-all-target-libjava: all-target-libjava
38876 all-target-libjava: configure-target-libjava
38877 @: $(MAKE); $(unstage)
38878 @r=`${PWD_COMMAND}`; export r; \
38879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38880 $(RAW_CXX_TARGET_EXPORTS) \
38881 (cd $(TARGET_SUBDIR)/libjava && \
38882 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
38883 @endif target-libjava
38889 .PHONY: check-target-libjava maybe-check-target-libjava
38890 maybe-check-target-libjava:
38891 @if target-libjava
38892 maybe-check-target-libjava: check-target-libjava
38894 check-target-libjava:
38895 @: $(MAKE); $(unstage)
38896 @r=`${PWD_COMMAND}`; export r; \
38897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38898 $(RAW_CXX_TARGET_EXPORTS) \
38899 (cd $(TARGET_SUBDIR)/libjava && \
38900 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38902 @endif target-libjava
38904 .PHONY: install-target-libjava maybe-install-target-libjava
38905 maybe-install-target-libjava:
38906 @if target-libjava
38907 maybe-install-target-libjava: install-target-libjava
38909 install-target-libjava: installdirs
38910 @: $(MAKE); $(unstage)
38911 @r=`${PWD_COMMAND}`; export r; \
38912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38913 $(RAW_CXX_TARGET_EXPORTS) \
38914 (cd $(TARGET_SUBDIR)/libjava && \
38915 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38917 @endif target-libjava
38919 # Other targets (info, dvi, pdf, etc.)
38921 .PHONY: maybe-info-target-libjava info-target-libjava
38922 maybe-info-target-libjava:
38923 @if target-libjava
38924 maybe-info-target-libjava: info-target-libjava
38926 info-target-libjava: \
38927 configure-target-libjava
38928 @: $(MAKE); $(unstage)
38929 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38930 r=`${PWD_COMMAND}`; export r; \
38931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38932 $(RAW_CXX_TARGET_EXPORTS) \
38933 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38934 for flag in $(EXTRA_TARGET_FLAGS); do \
38935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38936 done; \
38937 (cd $(TARGET_SUBDIR)/libjava && \
38938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38940 "RANLIB=$${RANLIB}" \
38941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38942 info) \
38943 || exit 1
38945 @endif target-libjava
38947 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38948 maybe-dvi-target-libjava:
38949 @if target-libjava
38950 maybe-dvi-target-libjava: dvi-target-libjava
38952 dvi-target-libjava: \
38953 configure-target-libjava
38954 @: $(MAKE); $(unstage)
38955 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38956 r=`${PWD_COMMAND}`; export r; \
38957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38958 $(RAW_CXX_TARGET_EXPORTS) \
38959 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38960 for flag in $(EXTRA_TARGET_FLAGS); do \
38961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38962 done; \
38963 (cd $(TARGET_SUBDIR)/libjava && \
38964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38966 "RANLIB=$${RANLIB}" \
38967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38968 dvi) \
38969 || exit 1
38971 @endif target-libjava
38973 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38974 maybe-pdf-target-libjava:
38975 @if target-libjava
38976 maybe-pdf-target-libjava: pdf-target-libjava
38978 pdf-target-libjava: \
38979 configure-target-libjava
38980 @: $(MAKE); $(unstage)
38981 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38982 r=`${PWD_COMMAND}`; export r; \
38983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38984 $(RAW_CXX_TARGET_EXPORTS) \
38985 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38986 for flag in $(EXTRA_TARGET_FLAGS); do \
38987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38988 done; \
38989 (cd $(TARGET_SUBDIR)/libjava && \
38990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38992 "RANLIB=$${RANLIB}" \
38993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38994 pdf) \
38995 || exit 1
38997 @endif target-libjava
38999 .PHONY: maybe-html-target-libjava html-target-libjava
39000 maybe-html-target-libjava:
39001 @if target-libjava
39002 maybe-html-target-libjava: html-target-libjava
39004 html-target-libjava: \
39005 configure-target-libjava
39006 @: $(MAKE); $(unstage)
39007 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39008 r=`${PWD_COMMAND}`; export r; \
39009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39010 $(RAW_CXX_TARGET_EXPORTS) \
39011 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39012 for flag in $(EXTRA_TARGET_FLAGS); do \
39013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39014 done; \
39015 (cd $(TARGET_SUBDIR)/libjava && \
39016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39018 "RANLIB=$${RANLIB}" \
39019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39020 html) \
39021 || exit 1
39023 @endif target-libjava
39025 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39026 maybe-TAGS-target-libjava:
39027 @if target-libjava
39028 maybe-TAGS-target-libjava: TAGS-target-libjava
39030 TAGS-target-libjava: \
39031 configure-target-libjava
39032 @: $(MAKE); $(unstage)
39033 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39034 r=`${PWD_COMMAND}`; export r; \
39035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39036 $(RAW_CXX_TARGET_EXPORTS) \
39037 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39038 for flag in $(EXTRA_TARGET_FLAGS); do \
39039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39040 done; \
39041 (cd $(TARGET_SUBDIR)/libjava && \
39042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39044 "RANLIB=$${RANLIB}" \
39045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39046 TAGS) \
39047 || exit 1
39049 @endif target-libjava
39051 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39052 maybe-install-info-target-libjava:
39053 @if target-libjava
39054 maybe-install-info-target-libjava: install-info-target-libjava
39056 install-info-target-libjava: \
39057 configure-target-libjava \
39058 info-target-libjava
39059 @: $(MAKE); $(unstage)
39060 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39061 r=`${PWD_COMMAND}`; export r; \
39062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39063 $(RAW_CXX_TARGET_EXPORTS) \
39064 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39065 for flag in $(EXTRA_TARGET_FLAGS); do \
39066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39067 done; \
39068 (cd $(TARGET_SUBDIR)/libjava && \
39069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39071 "RANLIB=$${RANLIB}" \
39072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39073 install-info) \
39074 || exit 1
39076 @endif target-libjava
39078 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39079 maybe-install-html-target-libjava:
39080 @if target-libjava
39081 maybe-install-html-target-libjava: install-html-target-libjava
39083 install-html-target-libjava: \
39084 configure-target-libjava \
39085 html-target-libjava
39086 @: $(MAKE); $(unstage)
39087 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39088 r=`${PWD_COMMAND}`; export r; \
39089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39090 $(RAW_CXX_TARGET_EXPORTS) \
39091 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39092 for flag in $(EXTRA_TARGET_FLAGS); do \
39093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39094 done; \
39095 (cd $(TARGET_SUBDIR)/libjava && \
39096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39098 "RANLIB=$${RANLIB}" \
39099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39100 install-html) \
39101 || exit 1
39103 @endif target-libjava
39105 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39106 maybe-installcheck-target-libjava:
39107 @if target-libjava
39108 maybe-installcheck-target-libjava: installcheck-target-libjava
39110 installcheck-target-libjava: \
39111 configure-target-libjava
39112 @: $(MAKE); $(unstage)
39113 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39114 r=`${PWD_COMMAND}`; export r; \
39115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39116 $(RAW_CXX_TARGET_EXPORTS) \
39117 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39118 for flag in $(EXTRA_TARGET_FLAGS); do \
39119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39120 done; \
39121 (cd $(TARGET_SUBDIR)/libjava && \
39122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39124 "RANLIB=$${RANLIB}" \
39125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39126 installcheck) \
39127 || exit 1
39129 @endif target-libjava
39131 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39132 maybe-mostlyclean-target-libjava:
39133 @if target-libjava
39134 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39136 mostlyclean-target-libjava:
39137 @: $(MAKE); $(unstage)
39138 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39139 r=`${PWD_COMMAND}`; export r; \
39140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39141 $(RAW_CXX_TARGET_EXPORTS) \
39142 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39143 for flag in $(EXTRA_TARGET_FLAGS); do \
39144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39145 done; \
39146 (cd $(TARGET_SUBDIR)/libjava && \
39147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39149 "RANLIB=$${RANLIB}" \
39150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39151 mostlyclean) \
39152 || exit 1
39154 @endif target-libjava
39156 .PHONY: maybe-clean-target-libjava clean-target-libjava
39157 maybe-clean-target-libjava:
39158 @if target-libjava
39159 maybe-clean-target-libjava: clean-target-libjava
39161 clean-target-libjava:
39162 @: $(MAKE); $(unstage)
39163 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39164 r=`${PWD_COMMAND}`; export r; \
39165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39166 $(RAW_CXX_TARGET_EXPORTS) \
39167 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39168 for flag in $(EXTRA_TARGET_FLAGS); do \
39169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39170 done; \
39171 (cd $(TARGET_SUBDIR)/libjava && \
39172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39174 "RANLIB=$${RANLIB}" \
39175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39176 clean) \
39177 || exit 1
39179 @endif target-libjava
39181 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39182 maybe-distclean-target-libjava:
39183 @if target-libjava
39184 maybe-distclean-target-libjava: distclean-target-libjava
39186 distclean-target-libjava:
39187 @: $(MAKE); $(unstage)
39188 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39189 r=`${PWD_COMMAND}`; export r; \
39190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39191 $(RAW_CXX_TARGET_EXPORTS) \
39192 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39193 for flag in $(EXTRA_TARGET_FLAGS); do \
39194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39195 done; \
39196 (cd $(TARGET_SUBDIR)/libjava && \
39197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39199 "RANLIB=$${RANLIB}" \
39200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39201 distclean) \
39202 || exit 1
39204 @endif target-libjava
39206 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39207 maybe-maintainer-clean-target-libjava:
39208 @if target-libjava
39209 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39211 maintainer-clean-target-libjava:
39212 @: $(MAKE); $(unstage)
39213 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39214 r=`${PWD_COMMAND}`; export r; \
39215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39216 $(RAW_CXX_TARGET_EXPORTS) \
39217 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39218 for flag in $(EXTRA_TARGET_FLAGS); do \
39219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39220 done; \
39221 (cd $(TARGET_SUBDIR)/libjava && \
39222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39224 "RANLIB=$${RANLIB}" \
39225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39226 maintainer-clean) \
39227 || exit 1
39229 @endif target-libjava
39235 .PHONY: configure-target-zlib maybe-configure-target-zlib
39236 maybe-configure-target-zlib:
39237 @if gcc-bootstrap
39238 configure-target-zlib: stage_current
39239 @endif gcc-bootstrap
39240 @if target-zlib
39241 maybe-configure-target-zlib: configure-target-zlib
39242 configure-target-zlib:
39243 @: $(MAKE); $(unstage)
39244 @r=`${PWD_COMMAND}`; export r; \
39245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39246 echo "Checking multilib configuration for zlib..."; \
39247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39248 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39249 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39250 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39251 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39252 else \
39253 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39254 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39255 fi; \
39256 else \
39257 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39258 fi; \
39259 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39261 $(NORMAL_TARGET_EXPORTS) \
39262 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39263 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39264 case $(srcdir) in \
39265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39266 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39268 esac; \
39269 srcdiroption="--srcdir=$${topdir}/zlib"; \
39270 libsrcdir="$$s/zlib"; \
39271 rm -f no-such-file || : ; \
39272 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39273 $(TARGET_CONFIGARGS) $${srcdiroption} \
39274 || exit 1
39275 @endif target-zlib
39281 .PHONY: all-target-zlib maybe-all-target-zlib
39282 maybe-all-target-zlib:
39283 @if gcc-bootstrap
39284 all-target-zlib: stage_current
39285 @endif gcc-bootstrap
39286 @if target-zlib
39287 TARGET-target-zlib=all
39288 maybe-all-target-zlib: all-target-zlib
39289 all-target-zlib: configure-target-zlib
39290 @: $(MAKE); $(unstage)
39291 @r=`${PWD_COMMAND}`; export r; \
39292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39293 $(NORMAL_TARGET_EXPORTS) \
39294 (cd $(TARGET_SUBDIR)/zlib && \
39295 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
39296 @endif target-zlib
39302 .PHONY: check-target-zlib maybe-check-target-zlib
39303 maybe-check-target-zlib:
39304 @if target-zlib
39305 maybe-check-target-zlib: check-target-zlib
39307 check-target-zlib:
39308 @: $(MAKE); $(unstage)
39309 @r=`${PWD_COMMAND}`; export r; \
39310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39311 $(NORMAL_TARGET_EXPORTS) \
39312 (cd $(TARGET_SUBDIR)/zlib && \
39313 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39315 @endif target-zlib
39317 .PHONY: install-target-zlib maybe-install-target-zlib
39318 maybe-install-target-zlib:
39319 @if target-zlib
39320 maybe-install-target-zlib: install-target-zlib
39322 install-target-zlib: installdirs
39323 @: $(MAKE); $(unstage)
39324 @r=`${PWD_COMMAND}`; export r; \
39325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39326 $(NORMAL_TARGET_EXPORTS) \
39327 (cd $(TARGET_SUBDIR)/zlib && \
39328 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39330 @endif target-zlib
39332 # Other targets (info, dvi, pdf, etc.)
39334 .PHONY: maybe-info-target-zlib info-target-zlib
39335 maybe-info-target-zlib:
39336 @if target-zlib
39337 maybe-info-target-zlib: info-target-zlib
39339 info-target-zlib: \
39340 configure-target-zlib
39341 @: $(MAKE); $(unstage)
39342 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39343 r=`${PWD_COMMAND}`; export r; \
39344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39345 $(NORMAL_TARGET_EXPORTS) \
39346 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39347 for flag in $(EXTRA_TARGET_FLAGS); do \
39348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39349 done; \
39350 (cd $(TARGET_SUBDIR)/zlib && \
39351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39353 "RANLIB=$${RANLIB}" \
39354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39355 info) \
39356 || exit 1
39358 @endif target-zlib
39360 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39361 maybe-dvi-target-zlib:
39362 @if target-zlib
39363 maybe-dvi-target-zlib: dvi-target-zlib
39365 dvi-target-zlib: \
39366 configure-target-zlib
39367 @: $(MAKE); $(unstage)
39368 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39369 r=`${PWD_COMMAND}`; export r; \
39370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39371 $(NORMAL_TARGET_EXPORTS) \
39372 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39373 for flag in $(EXTRA_TARGET_FLAGS); do \
39374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39375 done; \
39376 (cd $(TARGET_SUBDIR)/zlib && \
39377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39379 "RANLIB=$${RANLIB}" \
39380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39381 dvi) \
39382 || exit 1
39384 @endif target-zlib
39386 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39387 maybe-pdf-target-zlib:
39388 @if target-zlib
39389 maybe-pdf-target-zlib: pdf-target-zlib
39391 pdf-target-zlib: \
39392 configure-target-zlib
39393 @: $(MAKE); $(unstage)
39394 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39395 r=`${PWD_COMMAND}`; export r; \
39396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39397 $(NORMAL_TARGET_EXPORTS) \
39398 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39399 for flag in $(EXTRA_TARGET_FLAGS); do \
39400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39401 done; \
39402 (cd $(TARGET_SUBDIR)/zlib && \
39403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39405 "RANLIB=$${RANLIB}" \
39406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39407 pdf) \
39408 || exit 1
39410 @endif target-zlib
39412 .PHONY: maybe-html-target-zlib html-target-zlib
39413 maybe-html-target-zlib:
39414 @if target-zlib
39415 maybe-html-target-zlib: html-target-zlib
39417 html-target-zlib: \
39418 configure-target-zlib
39419 @: $(MAKE); $(unstage)
39420 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39421 r=`${PWD_COMMAND}`; export r; \
39422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39423 $(NORMAL_TARGET_EXPORTS) \
39424 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39425 for flag in $(EXTRA_TARGET_FLAGS); do \
39426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39427 done; \
39428 (cd $(TARGET_SUBDIR)/zlib && \
39429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39431 "RANLIB=$${RANLIB}" \
39432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39433 html) \
39434 || exit 1
39436 @endif target-zlib
39438 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39439 maybe-TAGS-target-zlib:
39440 @if target-zlib
39441 maybe-TAGS-target-zlib: TAGS-target-zlib
39443 TAGS-target-zlib: \
39444 configure-target-zlib
39445 @: $(MAKE); $(unstage)
39446 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39447 r=`${PWD_COMMAND}`; export r; \
39448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39449 $(NORMAL_TARGET_EXPORTS) \
39450 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39451 for flag in $(EXTRA_TARGET_FLAGS); do \
39452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39453 done; \
39454 (cd $(TARGET_SUBDIR)/zlib && \
39455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39457 "RANLIB=$${RANLIB}" \
39458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39459 TAGS) \
39460 || exit 1
39462 @endif target-zlib
39464 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39465 maybe-install-info-target-zlib:
39466 @if target-zlib
39467 maybe-install-info-target-zlib: install-info-target-zlib
39469 install-info-target-zlib: \
39470 configure-target-zlib \
39471 info-target-zlib
39472 @: $(MAKE); $(unstage)
39473 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39474 r=`${PWD_COMMAND}`; export r; \
39475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39476 $(NORMAL_TARGET_EXPORTS) \
39477 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39478 for flag in $(EXTRA_TARGET_FLAGS); do \
39479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39480 done; \
39481 (cd $(TARGET_SUBDIR)/zlib && \
39482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39484 "RANLIB=$${RANLIB}" \
39485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39486 install-info) \
39487 || exit 1
39489 @endif target-zlib
39491 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39492 maybe-install-html-target-zlib:
39493 @if target-zlib
39494 maybe-install-html-target-zlib: install-html-target-zlib
39496 install-html-target-zlib: \
39497 configure-target-zlib \
39498 html-target-zlib
39499 @: $(MAKE); $(unstage)
39500 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39501 r=`${PWD_COMMAND}`; export r; \
39502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39503 $(NORMAL_TARGET_EXPORTS) \
39504 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39505 for flag in $(EXTRA_TARGET_FLAGS); do \
39506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39507 done; \
39508 (cd $(TARGET_SUBDIR)/zlib && \
39509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39511 "RANLIB=$${RANLIB}" \
39512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39513 install-html) \
39514 || exit 1
39516 @endif target-zlib
39518 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39519 maybe-installcheck-target-zlib:
39520 @if target-zlib
39521 maybe-installcheck-target-zlib: installcheck-target-zlib
39523 installcheck-target-zlib: \
39524 configure-target-zlib
39525 @: $(MAKE); $(unstage)
39526 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39527 r=`${PWD_COMMAND}`; export r; \
39528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39529 $(NORMAL_TARGET_EXPORTS) \
39530 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39531 for flag in $(EXTRA_TARGET_FLAGS); do \
39532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39533 done; \
39534 (cd $(TARGET_SUBDIR)/zlib && \
39535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39537 "RANLIB=$${RANLIB}" \
39538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39539 installcheck) \
39540 || exit 1
39542 @endif target-zlib
39544 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39545 maybe-mostlyclean-target-zlib:
39546 @if target-zlib
39547 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39549 mostlyclean-target-zlib:
39550 @: $(MAKE); $(unstage)
39551 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39552 r=`${PWD_COMMAND}`; export r; \
39553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39554 $(NORMAL_TARGET_EXPORTS) \
39555 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39556 for flag in $(EXTRA_TARGET_FLAGS); do \
39557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39558 done; \
39559 (cd $(TARGET_SUBDIR)/zlib && \
39560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39562 "RANLIB=$${RANLIB}" \
39563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39564 mostlyclean) \
39565 || exit 1
39567 @endif target-zlib
39569 .PHONY: maybe-clean-target-zlib clean-target-zlib
39570 maybe-clean-target-zlib:
39571 @if target-zlib
39572 maybe-clean-target-zlib: clean-target-zlib
39574 clean-target-zlib:
39575 @: $(MAKE); $(unstage)
39576 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39577 r=`${PWD_COMMAND}`; export r; \
39578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39579 $(NORMAL_TARGET_EXPORTS) \
39580 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39581 for flag in $(EXTRA_TARGET_FLAGS); do \
39582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39583 done; \
39584 (cd $(TARGET_SUBDIR)/zlib && \
39585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39587 "RANLIB=$${RANLIB}" \
39588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39589 clean) \
39590 || exit 1
39592 @endif target-zlib
39594 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39595 maybe-distclean-target-zlib:
39596 @if target-zlib
39597 maybe-distclean-target-zlib: distclean-target-zlib
39599 distclean-target-zlib:
39600 @: $(MAKE); $(unstage)
39601 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39602 r=`${PWD_COMMAND}`; export r; \
39603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39604 $(NORMAL_TARGET_EXPORTS) \
39605 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39606 for flag in $(EXTRA_TARGET_FLAGS); do \
39607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39608 done; \
39609 (cd $(TARGET_SUBDIR)/zlib && \
39610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39612 "RANLIB=$${RANLIB}" \
39613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39614 distclean) \
39615 || exit 1
39617 @endif target-zlib
39619 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39620 maybe-maintainer-clean-target-zlib:
39621 @if target-zlib
39622 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39624 maintainer-clean-target-zlib:
39625 @: $(MAKE); $(unstage)
39626 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39627 r=`${PWD_COMMAND}`; export r; \
39628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39629 $(NORMAL_TARGET_EXPORTS) \
39630 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39631 for flag in $(EXTRA_TARGET_FLAGS); do \
39632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39633 done; \
39634 (cd $(TARGET_SUBDIR)/zlib && \
39635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39637 "RANLIB=$${RANLIB}" \
39638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39639 maintainer-clean) \
39640 || exit 1
39642 @endif target-zlib
39648 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39649 maybe-configure-target-boehm-gc:
39650 @if gcc-bootstrap
39651 configure-target-boehm-gc: stage_current
39652 @endif gcc-bootstrap
39653 @if target-boehm-gc
39654 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39655 configure-target-boehm-gc:
39656 @: $(MAKE); $(unstage)
39657 @r=`${PWD_COMMAND}`; export r; \
39658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39659 echo "Checking multilib configuration for boehm-gc..."; \
39660 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39661 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39662 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39663 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39664 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39665 else \
39666 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39667 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39668 fi; \
39669 else \
39670 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39671 fi; \
39672 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39673 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39674 $(NORMAL_TARGET_EXPORTS) \
39675 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39676 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39677 case $(srcdir) in \
39678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39679 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39681 esac; \
39682 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39683 libsrcdir="$$s/boehm-gc"; \
39684 rm -f no-such-file || : ; \
39685 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39686 $(TARGET_CONFIGARGS) $${srcdiroption} \
39687 || exit 1
39688 @endif target-boehm-gc
39694 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39695 maybe-all-target-boehm-gc:
39696 @if gcc-bootstrap
39697 all-target-boehm-gc: stage_current
39698 @endif gcc-bootstrap
39699 @if target-boehm-gc
39700 TARGET-target-boehm-gc=all
39701 maybe-all-target-boehm-gc: all-target-boehm-gc
39702 all-target-boehm-gc: configure-target-boehm-gc
39703 @: $(MAKE); $(unstage)
39704 @r=`${PWD_COMMAND}`; export r; \
39705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39706 $(NORMAL_TARGET_EXPORTS) \
39707 (cd $(TARGET_SUBDIR)/boehm-gc && \
39708 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
39709 @endif target-boehm-gc
39715 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39716 maybe-check-target-boehm-gc:
39717 @if target-boehm-gc
39718 maybe-check-target-boehm-gc: check-target-boehm-gc
39720 check-target-boehm-gc:
39721 @: $(MAKE); $(unstage)
39722 @r=`${PWD_COMMAND}`; export r; \
39723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39724 $(NORMAL_TARGET_EXPORTS) \
39725 (cd $(TARGET_SUBDIR)/boehm-gc && \
39726 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39728 @endif target-boehm-gc
39730 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39731 maybe-install-target-boehm-gc:
39732 @if target-boehm-gc
39733 maybe-install-target-boehm-gc: install-target-boehm-gc
39735 install-target-boehm-gc: installdirs
39736 @: $(MAKE); $(unstage)
39737 @r=`${PWD_COMMAND}`; export r; \
39738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39739 $(NORMAL_TARGET_EXPORTS) \
39740 (cd $(TARGET_SUBDIR)/boehm-gc && \
39741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39743 @endif target-boehm-gc
39745 # Other targets (info, dvi, pdf, etc.)
39747 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39748 maybe-info-target-boehm-gc:
39749 @if target-boehm-gc
39750 maybe-info-target-boehm-gc: info-target-boehm-gc
39752 info-target-boehm-gc: \
39753 configure-target-boehm-gc
39754 @: $(MAKE); $(unstage)
39755 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39756 r=`${PWD_COMMAND}`; export r; \
39757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39758 $(NORMAL_TARGET_EXPORTS) \
39759 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39760 for flag in $(EXTRA_TARGET_FLAGS); do \
39761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39762 done; \
39763 (cd $(TARGET_SUBDIR)/boehm-gc && \
39764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39766 "RANLIB=$${RANLIB}" \
39767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39768 info) \
39769 || exit 1
39771 @endif target-boehm-gc
39773 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39774 maybe-dvi-target-boehm-gc:
39775 @if target-boehm-gc
39776 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39778 dvi-target-boehm-gc: \
39779 configure-target-boehm-gc
39780 @: $(MAKE); $(unstage)
39781 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39782 r=`${PWD_COMMAND}`; export r; \
39783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39784 $(NORMAL_TARGET_EXPORTS) \
39785 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39786 for flag in $(EXTRA_TARGET_FLAGS); do \
39787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39788 done; \
39789 (cd $(TARGET_SUBDIR)/boehm-gc && \
39790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39792 "RANLIB=$${RANLIB}" \
39793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39794 dvi) \
39795 || exit 1
39797 @endif target-boehm-gc
39799 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39800 maybe-pdf-target-boehm-gc:
39801 @if target-boehm-gc
39802 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39804 pdf-target-boehm-gc: \
39805 configure-target-boehm-gc
39806 @: $(MAKE); $(unstage)
39807 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39808 r=`${PWD_COMMAND}`; export r; \
39809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39810 $(NORMAL_TARGET_EXPORTS) \
39811 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39812 for flag in $(EXTRA_TARGET_FLAGS); do \
39813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39814 done; \
39815 (cd $(TARGET_SUBDIR)/boehm-gc && \
39816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39818 "RANLIB=$${RANLIB}" \
39819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39820 pdf) \
39821 || exit 1
39823 @endif target-boehm-gc
39825 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39826 maybe-html-target-boehm-gc:
39827 @if target-boehm-gc
39828 maybe-html-target-boehm-gc: html-target-boehm-gc
39830 html-target-boehm-gc: \
39831 configure-target-boehm-gc
39832 @: $(MAKE); $(unstage)
39833 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39834 r=`${PWD_COMMAND}`; export r; \
39835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39836 $(NORMAL_TARGET_EXPORTS) \
39837 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39838 for flag in $(EXTRA_TARGET_FLAGS); do \
39839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39840 done; \
39841 (cd $(TARGET_SUBDIR)/boehm-gc && \
39842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39844 "RANLIB=$${RANLIB}" \
39845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39846 html) \
39847 || exit 1
39849 @endif target-boehm-gc
39851 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39852 maybe-TAGS-target-boehm-gc:
39853 @if target-boehm-gc
39854 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39856 TAGS-target-boehm-gc: \
39857 configure-target-boehm-gc
39858 @: $(MAKE); $(unstage)
39859 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39860 r=`${PWD_COMMAND}`; export r; \
39861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39862 $(NORMAL_TARGET_EXPORTS) \
39863 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39864 for flag in $(EXTRA_TARGET_FLAGS); do \
39865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39866 done; \
39867 (cd $(TARGET_SUBDIR)/boehm-gc && \
39868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39870 "RANLIB=$${RANLIB}" \
39871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39872 TAGS) \
39873 || exit 1
39875 @endif target-boehm-gc
39877 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39878 maybe-install-info-target-boehm-gc:
39879 @if target-boehm-gc
39880 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39882 install-info-target-boehm-gc: \
39883 configure-target-boehm-gc \
39884 info-target-boehm-gc
39885 @: $(MAKE); $(unstage)
39886 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39887 r=`${PWD_COMMAND}`; export r; \
39888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39889 $(NORMAL_TARGET_EXPORTS) \
39890 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39891 for flag in $(EXTRA_TARGET_FLAGS); do \
39892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39893 done; \
39894 (cd $(TARGET_SUBDIR)/boehm-gc && \
39895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39897 "RANLIB=$${RANLIB}" \
39898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39899 install-info) \
39900 || exit 1
39902 @endif target-boehm-gc
39904 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39905 maybe-install-html-target-boehm-gc:
39906 @if target-boehm-gc
39907 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39909 install-html-target-boehm-gc: \
39910 configure-target-boehm-gc \
39911 html-target-boehm-gc
39912 @: $(MAKE); $(unstage)
39913 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39914 r=`${PWD_COMMAND}`; export r; \
39915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39916 $(NORMAL_TARGET_EXPORTS) \
39917 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39918 for flag in $(EXTRA_TARGET_FLAGS); do \
39919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39920 done; \
39921 (cd $(TARGET_SUBDIR)/boehm-gc && \
39922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39924 "RANLIB=$${RANLIB}" \
39925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39926 install-html) \
39927 || exit 1
39929 @endif target-boehm-gc
39931 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39932 maybe-installcheck-target-boehm-gc:
39933 @if target-boehm-gc
39934 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39936 installcheck-target-boehm-gc: \
39937 configure-target-boehm-gc
39938 @: $(MAKE); $(unstage)
39939 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39940 r=`${PWD_COMMAND}`; export r; \
39941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39942 $(NORMAL_TARGET_EXPORTS) \
39943 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39944 for flag in $(EXTRA_TARGET_FLAGS); do \
39945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39946 done; \
39947 (cd $(TARGET_SUBDIR)/boehm-gc && \
39948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39950 "RANLIB=$${RANLIB}" \
39951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39952 installcheck) \
39953 || exit 1
39955 @endif target-boehm-gc
39957 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39958 maybe-mostlyclean-target-boehm-gc:
39959 @if target-boehm-gc
39960 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39962 mostlyclean-target-boehm-gc:
39963 @: $(MAKE); $(unstage)
39964 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39965 r=`${PWD_COMMAND}`; export r; \
39966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39967 $(NORMAL_TARGET_EXPORTS) \
39968 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39969 for flag in $(EXTRA_TARGET_FLAGS); do \
39970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39971 done; \
39972 (cd $(TARGET_SUBDIR)/boehm-gc && \
39973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39975 "RANLIB=$${RANLIB}" \
39976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39977 mostlyclean) \
39978 || exit 1
39980 @endif target-boehm-gc
39982 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39983 maybe-clean-target-boehm-gc:
39984 @if target-boehm-gc
39985 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39987 clean-target-boehm-gc:
39988 @: $(MAKE); $(unstage)
39989 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39990 r=`${PWD_COMMAND}`; export r; \
39991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39992 $(NORMAL_TARGET_EXPORTS) \
39993 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39994 for flag in $(EXTRA_TARGET_FLAGS); do \
39995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39996 done; \
39997 (cd $(TARGET_SUBDIR)/boehm-gc && \
39998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40000 "RANLIB=$${RANLIB}" \
40001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40002 clean) \
40003 || exit 1
40005 @endif target-boehm-gc
40007 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40008 maybe-distclean-target-boehm-gc:
40009 @if target-boehm-gc
40010 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40012 distclean-target-boehm-gc:
40013 @: $(MAKE); $(unstage)
40014 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40015 r=`${PWD_COMMAND}`; export r; \
40016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40017 $(NORMAL_TARGET_EXPORTS) \
40018 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40019 for flag in $(EXTRA_TARGET_FLAGS); do \
40020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40021 done; \
40022 (cd $(TARGET_SUBDIR)/boehm-gc && \
40023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40025 "RANLIB=$${RANLIB}" \
40026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40027 distclean) \
40028 || exit 1
40030 @endif target-boehm-gc
40032 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40033 maybe-maintainer-clean-target-boehm-gc:
40034 @if target-boehm-gc
40035 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40037 maintainer-clean-target-boehm-gc:
40038 @: $(MAKE); $(unstage)
40039 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40040 r=`${PWD_COMMAND}`; export r; \
40041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40042 $(NORMAL_TARGET_EXPORTS) \
40043 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40044 for flag in $(EXTRA_TARGET_FLAGS); do \
40045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40046 done; \
40047 (cd $(TARGET_SUBDIR)/boehm-gc && \
40048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40050 "RANLIB=$${RANLIB}" \
40051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40052 maintainer-clean) \
40053 || exit 1
40055 @endif target-boehm-gc
40061 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
40062 maybe-configure-target-qthreads:
40063 @if gcc-bootstrap
40064 configure-target-qthreads: stage_current
40065 @endif gcc-bootstrap
40066 @if target-qthreads
40067 maybe-configure-target-qthreads: configure-target-qthreads
40068 configure-target-qthreads:
40069 @: $(MAKE); $(unstage)
40070 @r=`${PWD_COMMAND}`; export r; \
40071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40072 echo "Checking multilib configuration for qthreads..."; \
40073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40074 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
40075 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40076 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40077 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
40078 else \
40079 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
40080 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40081 fi; \
40082 else \
40083 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40084 fi; \
40085 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
40086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40087 $(NORMAL_TARGET_EXPORTS) \
40088 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
40089 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
40090 case $(srcdir) in \
40091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40092 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
40093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40094 esac; \
40095 srcdiroption="--srcdir=$${topdir}/qthreads"; \
40096 libsrcdir="$$s/qthreads"; \
40097 rm -f no-such-file || : ; \
40098 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40099 $(TARGET_CONFIGARGS) $${srcdiroption} \
40100 || exit 1
40101 @endif target-qthreads
40107 .PHONY: all-target-qthreads maybe-all-target-qthreads
40108 maybe-all-target-qthreads:
40109 @if gcc-bootstrap
40110 all-target-qthreads: stage_current
40111 @endif gcc-bootstrap
40112 @if target-qthreads
40113 TARGET-target-qthreads=all
40114 maybe-all-target-qthreads: all-target-qthreads
40115 all-target-qthreads: configure-target-qthreads
40116 @: $(MAKE); $(unstage)
40117 @r=`${PWD_COMMAND}`; export r; \
40118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40119 $(NORMAL_TARGET_EXPORTS) \
40120 (cd $(TARGET_SUBDIR)/qthreads && \
40121 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
40122 @endif target-qthreads
40128 .PHONY: check-target-qthreads maybe-check-target-qthreads
40129 maybe-check-target-qthreads:
40130 @if target-qthreads
40131 maybe-check-target-qthreads: check-target-qthreads
40133 check-target-qthreads:
40134 @: $(MAKE); $(unstage)
40135 @r=`${PWD_COMMAND}`; export r; \
40136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40137 $(NORMAL_TARGET_EXPORTS) \
40138 (cd $(TARGET_SUBDIR)/qthreads && \
40139 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40141 @endif target-qthreads
40143 .PHONY: install-target-qthreads maybe-install-target-qthreads
40144 maybe-install-target-qthreads:
40145 @if target-qthreads
40146 maybe-install-target-qthreads: install-target-qthreads
40148 install-target-qthreads: installdirs
40149 @: $(MAKE); $(unstage)
40150 @r=`${PWD_COMMAND}`; export r; \
40151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40152 $(NORMAL_TARGET_EXPORTS) \
40153 (cd $(TARGET_SUBDIR)/qthreads && \
40154 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40156 @endif target-qthreads
40158 # Other targets (info, dvi, pdf, etc.)
40160 .PHONY: maybe-info-target-qthreads info-target-qthreads
40161 maybe-info-target-qthreads:
40162 @if target-qthreads
40163 maybe-info-target-qthreads: info-target-qthreads
40165 info-target-qthreads: \
40166 configure-target-qthreads
40167 @: $(MAKE); $(unstage)
40168 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40169 r=`${PWD_COMMAND}`; export r; \
40170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40171 $(NORMAL_TARGET_EXPORTS) \
40172 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
40173 for flag in $(EXTRA_TARGET_FLAGS); do \
40174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40175 done; \
40176 (cd $(TARGET_SUBDIR)/qthreads && \
40177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40179 "RANLIB=$${RANLIB}" \
40180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40181 info) \
40182 || exit 1
40184 @endif target-qthreads
40186 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
40187 maybe-dvi-target-qthreads:
40188 @if target-qthreads
40189 maybe-dvi-target-qthreads: dvi-target-qthreads
40191 dvi-target-qthreads: \
40192 configure-target-qthreads
40193 @: $(MAKE); $(unstage)
40194 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40195 r=`${PWD_COMMAND}`; export r; \
40196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40197 $(NORMAL_TARGET_EXPORTS) \
40198 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
40199 for flag in $(EXTRA_TARGET_FLAGS); do \
40200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40201 done; \
40202 (cd $(TARGET_SUBDIR)/qthreads && \
40203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40205 "RANLIB=$${RANLIB}" \
40206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40207 dvi) \
40208 || exit 1
40210 @endif target-qthreads
40212 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
40213 maybe-pdf-target-qthreads:
40214 @if target-qthreads
40215 maybe-pdf-target-qthreads: pdf-target-qthreads
40217 pdf-target-qthreads: \
40218 configure-target-qthreads
40219 @: $(MAKE); $(unstage)
40220 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40221 r=`${PWD_COMMAND}`; export r; \
40222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40223 $(NORMAL_TARGET_EXPORTS) \
40224 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
40225 for flag in $(EXTRA_TARGET_FLAGS); do \
40226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40227 done; \
40228 (cd $(TARGET_SUBDIR)/qthreads && \
40229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40231 "RANLIB=$${RANLIB}" \
40232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40233 pdf) \
40234 || exit 1
40236 @endif target-qthreads
40238 .PHONY: maybe-html-target-qthreads html-target-qthreads
40239 maybe-html-target-qthreads:
40240 @if target-qthreads
40241 maybe-html-target-qthreads: html-target-qthreads
40243 html-target-qthreads: \
40244 configure-target-qthreads
40245 @: $(MAKE); $(unstage)
40246 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40247 r=`${PWD_COMMAND}`; export r; \
40248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40249 $(NORMAL_TARGET_EXPORTS) \
40250 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
40251 for flag in $(EXTRA_TARGET_FLAGS); do \
40252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40253 done; \
40254 (cd $(TARGET_SUBDIR)/qthreads && \
40255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40257 "RANLIB=$${RANLIB}" \
40258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40259 html) \
40260 || exit 1
40262 @endif target-qthreads
40264 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
40265 maybe-TAGS-target-qthreads:
40266 @if target-qthreads
40267 maybe-TAGS-target-qthreads: TAGS-target-qthreads
40269 TAGS-target-qthreads: \
40270 configure-target-qthreads
40271 @: $(MAKE); $(unstage)
40272 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40273 r=`${PWD_COMMAND}`; export r; \
40274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40275 $(NORMAL_TARGET_EXPORTS) \
40276 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
40277 for flag in $(EXTRA_TARGET_FLAGS); do \
40278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40279 done; \
40280 (cd $(TARGET_SUBDIR)/qthreads && \
40281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40283 "RANLIB=$${RANLIB}" \
40284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40285 TAGS) \
40286 || exit 1
40288 @endif target-qthreads
40290 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
40291 maybe-install-info-target-qthreads:
40292 @if target-qthreads
40293 maybe-install-info-target-qthreads: install-info-target-qthreads
40295 install-info-target-qthreads: \
40296 configure-target-qthreads \
40297 info-target-qthreads
40298 @: $(MAKE); $(unstage)
40299 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40300 r=`${PWD_COMMAND}`; export r; \
40301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40302 $(NORMAL_TARGET_EXPORTS) \
40303 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
40304 for flag in $(EXTRA_TARGET_FLAGS); do \
40305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40306 done; \
40307 (cd $(TARGET_SUBDIR)/qthreads && \
40308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40310 "RANLIB=$${RANLIB}" \
40311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40312 install-info) \
40313 || exit 1
40315 @endif target-qthreads
40317 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
40318 maybe-install-html-target-qthreads:
40319 @if target-qthreads
40320 maybe-install-html-target-qthreads: install-html-target-qthreads
40322 install-html-target-qthreads: \
40323 configure-target-qthreads \
40324 html-target-qthreads
40325 @: $(MAKE); $(unstage)
40326 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40327 r=`${PWD_COMMAND}`; export r; \
40328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40329 $(NORMAL_TARGET_EXPORTS) \
40330 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
40331 for flag in $(EXTRA_TARGET_FLAGS); do \
40332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40333 done; \
40334 (cd $(TARGET_SUBDIR)/qthreads && \
40335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40337 "RANLIB=$${RANLIB}" \
40338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40339 install-html) \
40340 || exit 1
40342 @endif target-qthreads
40344 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
40345 maybe-installcheck-target-qthreads:
40346 @if target-qthreads
40347 maybe-installcheck-target-qthreads: installcheck-target-qthreads
40349 installcheck-target-qthreads: \
40350 configure-target-qthreads
40351 @: $(MAKE); $(unstage)
40352 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40353 r=`${PWD_COMMAND}`; export r; \
40354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40355 $(NORMAL_TARGET_EXPORTS) \
40356 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
40357 for flag in $(EXTRA_TARGET_FLAGS); do \
40358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40359 done; \
40360 (cd $(TARGET_SUBDIR)/qthreads && \
40361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40363 "RANLIB=$${RANLIB}" \
40364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40365 installcheck) \
40366 || exit 1
40368 @endif target-qthreads
40370 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
40371 maybe-mostlyclean-target-qthreads:
40372 @if target-qthreads
40373 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
40375 mostlyclean-target-qthreads:
40376 @: $(MAKE); $(unstage)
40377 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40378 r=`${PWD_COMMAND}`; export r; \
40379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40380 $(NORMAL_TARGET_EXPORTS) \
40381 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
40382 for flag in $(EXTRA_TARGET_FLAGS); do \
40383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40384 done; \
40385 (cd $(TARGET_SUBDIR)/qthreads && \
40386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40388 "RANLIB=$${RANLIB}" \
40389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40390 mostlyclean) \
40391 || exit 1
40393 @endif target-qthreads
40395 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
40396 maybe-clean-target-qthreads:
40397 @if target-qthreads
40398 maybe-clean-target-qthreads: clean-target-qthreads
40400 clean-target-qthreads:
40401 @: $(MAKE); $(unstage)
40402 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40403 r=`${PWD_COMMAND}`; export r; \
40404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40405 $(NORMAL_TARGET_EXPORTS) \
40406 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
40407 for flag in $(EXTRA_TARGET_FLAGS); do \
40408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40409 done; \
40410 (cd $(TARGET_SUBDIR)/qthreads && \
40411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40413 "RANLIB=$${RANLIB}" \
40414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40415 clean) \
40416 || exit 1
40418 @endif target-qthreads
40420 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
40421 maybe-distclean-target-qthreads:
40422 @if target-qthreads
40423 maybe-distclean-target-qthreads: distclean-target-qthreads
40425 distclean-target-qthreads:
40426 @: $(MAKE); $(unstage)
40427 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40428 r=`${PWD_COMMAND}`; export r; \
40429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40430 $(NORMAL_TARGET_EXPORTS) \
40431 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
40432 for flag in $(EXTRA_TARGET_FLAGS); do \
40433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40434 done; \
40435 (cd $(TARGET_SUBDIR)/qthreads && \
40436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40438 "RANLIB=$${RANLIB}" \
40439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40440 distclean) \
40441 || exit 1
40443 @endif target-qthreads
40445 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
40446 maybe-maintainer-clean-target-qthreads:
40447 @if target-qthreads
40448 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
40450 maintainer-clean-target-qthreads:
40451 @: $(MAKE); $(unstage)
40452 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40453 r=`${PWD_COMMAND}`; export r; \
40454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40455 $(NORMAL_TARGET_EXPORTS) \
40456 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
40457 for flag in $(EXTRA_TARGET_FLAGS); do \
40458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40459 done; \
40460 (cd $(TARGET_SUBDIR)/qthreads && \
40461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40463 "RANLIB=$${RANLIB}" \
40464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40465 maintainer-clean) \
40466 || exit 1
40468 @endif target-qthreads
40474 .PHONY: configure-target-rda maybe-configure-target-rda
40475 maybe-configure-target-rda:
40476 @if gcc-bootstrap
40477 configure-target-rda: stage_current
40478 @endif gcc-bootstrap
40479 @if target-rda
40480 maybe-configure-target-rda: configure-target-rda
40481 configure-target-rda:
40482 @: $(MAKE); $(unstage)
40483 @r=`${PWD_COMMAND}`; export r; \
40484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40485 echo "Checking multilib configuration for rda..."; \
40486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40487 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40488 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40489 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40490 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40491 else \
40492 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40493 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40494 fi; \
40495 else \
40496 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40497 fi; \
40498 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40499 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40500 $(NORMAL_TARGET_EXPORTS) \
40501 echo Configuring in $(TARGET_SUBDIR)/rda; \
40502 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40503 case $(srcdir) in \
40504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40505 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40507 esac; \
40508 srcdiroption="--srcdir=$${topdir}/rda"; \
40509 libsrcdir="$$s/rda"; \
40510 rm -f no-such-file || : ; \
40511 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40512 $(TARGET_CONFIGARGS) $${srcdiroption} \
40513 || exit 1
40514 @endif target-rda
40520 .PHONY: all-target-rda maybe-all-target-rda
40521 maybe-all-target-rda:
40522 @if gcc-bootstrap
40523 all-target-rda: stage_current
40524 @endif gcc-bootstrap
40525 @if target-rda
40526 TARGET-target-rda=all
40527 maybe-all-target-rda: all-target-rda
40528 all-target-rda: configure-target-rda
40529 @: $(MAKE); $(unstage)
40530 @r=`${PWD_COMMAND}`; export r; \
40531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40532 $(NORMAL_TARGET_EXPORTS) \
40533 (cd $(TARGET_SUBDIR)/rda && \
40534 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
40535 @endif target-rda
40541 .PHONY: check-target-rda maybe-check-target-rda
40542 maybe-check-target-rda:
40543 @if target-rda
40544 maybe-check-target-rda: check-target-rda
40546 check-target-rda:
40547 @: $(MAKE); $(unstage)
40548 @r=`${PWD_COMMAND}`; export r; \
40549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40550 $(NORMAL_TARGET_EXPORTS) \
40551 (cd $(TARGET_SUBDIR)/rda && \
40552 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40554 @endif target-rda
40556 .PHONY: install-target-rda maybe-install-target-rda
40557 maybe-install-target-rda:
40558 @if target-rda
40559 maybe-install-target-rda: install-target-rda
40561 install-target-rda: installdirs
40562 @: $(MAKE); $(unstage)
40563 @r=`${PWD_COMMAND}`; export r; \
40564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40565 $(NORMAL_TARGET_EXPORTS) \
40566 (cd $(TARGET_SUBDIR)/rda && \
40567 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40569 @endif target-rda
40571 # Other targets (info, dvi, pdf, etc.)
40573 .PHONY: maybe-info-target-rda info-target-rda
40574 maybe-info-target-rda:
40575 @if target-rda
40576 maybe-info-target-rda: info-target-rda
40578 info-target-rda: \
40579 configure-target-rda
40580 @: $(MAKE); $(unstage)
40581 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40582 r=`${PWD_COMMAND}`; export r; \
40583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40584 $(NORMAL_TARGET_EXPORTS) \
40585 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40586 for flag in $(EXTRA_TARGET_FLAGS); do \
40587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40588 done; \
40589 (cd $(TARGET_SUBDIR)/rda && \
40590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40592 "RANLIB=$${RANLIB}" \
40593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40594 info) \
40595 || exit 1
40597 @endif target-rda
40599 .PHONY: maybe-dvi-target-rda dvi-target-rda
40600 maybe-dvi-target-rda:
40601 @if target-rda
40602 maybe-dvi-target-rda: dvi-target-rda
40604 dvi-target-rda: \
40605 configure-target-rda
40606 @: $(MAKE); $(unstage)
40607 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40608 r=`${PWD_COMMAND}`; export r; \
40609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40610 $(NORMAL_TARGET_EXPORTS) \
40611 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40612 for flag in $(EXTRA_TARGET_FLAGS); do \
40613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40614 done; \
40615 (cd $(TARGET_SUBDIR)/rda && \
40616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40618 "RANLIB=$${RANLIB}" \
40619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40620 dvi) \
40621 || exit 1
40623 @endif target-rda
40625 .PHONY: maybe-pdf-target-rda pdf-target-rda
40626 maybe-pdf-target-rda:
40627 @if target-rda
40628 maybe-pdf-target-rda: pdf-target-rda
40630 pdf-target-rda: \
40631 configure-target-rda
40632 @: $(MAKE); $(unstage)
40633 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40634 r=`${PWD_COMMAND}`; export r; \
40635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40636 $(NORMAL_TARGET_EXPORTS) \
40637 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40638 for flag in $(EXTRA_TARGET_FLAGS); do \
40639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40640 done; \
40641 (cd $(TARGET_SUBDIR)/rda && \
40642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40644 "RANLIB=$${RANLIB}" \
40645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40646 pdf) \
40647 || exit 1
40649 @endif target-rda
40651 .PHONY: maybe-html-target-rda html-target-rda
40652 maybe-html-target-rda:
40653 @if target-rda
40654 maybe-html-target-rda: html-target-rda
40656 html-target-rda: \
40657 configure-target-rda
40658 @: $(MAKE); $(unstage)
40659 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40660 r=`${PWD_COMMAND}`; export r; \
40661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40662 $(NORMAL_TARGET_EXPORTS) \
40663 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40664 for flag in $(EXTRA_TARGET_FLAGS); do \
40665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40666 done; \
40667 (cd $(TARGET_SUBDIR)/rda && \
40668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40670 "RANLIB=$${RANLIB}" \
40671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40672 html) \
40673 || exit 1
40675 @endif target-rda
40677 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40678 maybe-TAGS-target-rda:
40679 @if target-rda
40680 maybe-TAGS-target-rda: TAGS-target-rda
40682 TAGS-target-rda: \
40683 configure-target-rda
40684 @: $(MAKE); $(unstage)
40685 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40686 r=`${PWD_COMMAND}`; export r; \
40687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40688 $(NORMAL_TARGET_EXPORTS) \
40689 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40690 for flag in $(EXTRA_TARGET_FLAGS); do \
40691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40692 done; \
40693 (cd $(TARGET_SUBDIR)/rda && \
40694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40696 "RANLIB=$${RANLIB}" \
40697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40698 TAGS) \
40699 || exit 1
40701 @endif target-rda
40703 .PHONY: maybe-install-info-target-rda install-info-target-rda
40704 maybe-install-info-target-rda:
40705 @if target-rda
40706 maybe-install-info-target-rda: install-info-target-rda
40708 install-info-target-rda: \
40709 configure-target-rda \
40710 info-target-rda
40711 @: $(MAKE); $(unstage)
40712 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40713 r=`${PWD_COMMAND}`; export r; \
40714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40715 $(NORMAL_TARGET_EXPORTS) \
40716 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40717 for flag in $(EXTRA_TARGET_FLAGS); do \
40718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40719 done; \
40720 (cd $(TARGET_SUBDIR)/rda && \
40721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40723 "RANLIB=$${RANLIB}" \
40724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40725 install-info) \
40726 || exit 1
40728 @endif target-rda
40730 .PHONY: maybe-install-html-target-rda install-html-target-rda
40731 maybe-install-html-target-rda:
40732 @if target-rda
40733 maybe-install-html-target-rda: install-html-target-rda
40735 install-html-target-rda: \
40736 configure-target-rda \
40737 html-target-rda
40738 @: $(MAKE); $(unstage)
40739 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40740 r=`${PWD_COMMAND}`; export r; \
40741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40742 $(NORMAL_TARGET_EXPORTS) \
40743 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40744 for flag in $(EXTRA_TARGET_FLAGS); do \
40745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40746 done; \
40747 (cd $(TARGET_SUBDIR)/rda && \
40748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40750 "RANLIB=$${RANLIB}" \
40751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40752 install-html) \
40753 || exit 1
40755 @endif target-rda
40757 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40758 maybe-installcheck-target-rda:
40759 @if target-rda
40760 maybe-installcheck-target-rda: installcheck-target-rda
40762 installcheck-target-rda: \
40763 configure-target-rda
40764 @: $(MAKE); $(unstage)
40765 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40766 r=`${PWD_COMMAND}`; export r; \
40767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40768 $(NORMAL_TARGET_EXPORTS) \
40769 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40770 for flag in $(EXTRA_TARGET_FLAGS); do \
40771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40772 done; \
40773 (cd $(TARGET_SUBDIR)/rda && \
40774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40776 "RANLIB=$${RANLIB}" \
40777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40778 installcheck) \
40779 || exit 1
40781 @endif target-rda
40783 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40784 maybe-mostlyclean-target-rda:
40785 @if target-rda
40786 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40788 mostlyclean-target-rda:
40789 @: $(MAKE); $(unstage)
40790 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40791 r=`${PWD_COMMAND}`; export r; \
40792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40793 $(NORMAL_TARGET_EXPORTS) \
40794 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40795 for flag in $(EXTRA_TARGET_FLAGS); do \
40796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40797 done; \
40798 (cd $(TARGET_SUBDIR)/rda && \
40799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40801 "RANLIB=$${RANLIB}" \
40802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40803 mostlyclean) \
40804 || exit 1
40806 @endif target-rda
40808 .PHONY: maybe-clean-target-rda clean-target-rda
40809 maybe-clean-target-rda:
40810 @if target-rda
40811 maybe-clean-target-rda: clean-target-rda
40813 clean-target-rda:
40814 @: $(MAKE); $(unstage)
40815 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40816 r=`${PWD_COMMAND}`; export r; \
40817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40818 $(NORMAL_TARGET_EXPORTS) \
40819 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40820 for flag in $(EXTRA_TARGET_FLAGS); do \
40821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40822 done; \
40823 (cd $(TARGET_SUBDIR)/rda && \
40824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40826 "RANLIB=$${RANLIB}" \
40827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40828 clean) \
40829 || exit 1
40831 @endif target-rda
40833 .PHONY: maybe-distclean-target-rda distclean-target-rda
40834 maybe-distclean-target-rda:
40835 @if target-rda
40836 maybe-distclean-target-rda: distclean-target-rda
40838 distclean-target-rda:
40839 @: $(MAKE); $(unstage)
40840 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40841 r=`${PWD_COMMAND}`; export r; \
40842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40843 $(NORMAL_TARGET_EXPORTS) \
40844 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40845 for flag in $(EXTRA_TARGET_FLAGS); do \
40846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40847 done; \
40848 (cd $(TARGET_SUBDIR)/rda && \
40849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40851 "RANLIB=$${RANLIB}" \
40852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40853 distclean) \
40854 || exit 1
40856 @endif target-rda
40858 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40859 maybe-maintainer-clean-target-rda:
40860 @if target-rda
40861 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40863 maintainer-clean-target-rda:
40864 @: $(MAKE); $(unstage)
40865 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40866 r=`${PWD_COMMAND}`; export r; \
40867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40868 $(NORMAL_TARGET_EXPORTS) \
40869 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40870 for flag in $(EXTRA_TARGET_FLAGS); do \
40871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40872 done; \
40873 (cd $(TARGET_SUBDIR)/rda && \
40874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40876 "RANLIB=$${RANLIB}" \
40877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40878 maintainer-clean) \
40879 || exit 1
40881 @endif target-rda
40887 .PHONY: configure-target-libada maybe-configure-target-libada
40888 maybe-configure-target-libada:
40889 @if gcc-bootstrap
40890 configure-target-libada: stage_current
40891 @endif gcc-bootstrap
40892 @if target-libada
40893 maybe-configure-target-libada: configure-target-libada
40894 configure-target-libada:
40895 @: $(MAKE); $(unstage)
40896 @r=`${PWD_COMMAND}`; export r; \
40897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40898 echo "Checking multilib configuration for libada..."; \
40899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40900 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40901 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40902 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40903 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40904 else \
40905 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40906 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40907 fi; \
40908 else \
40909 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40910 fi; \
40911 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40913 $(NORMAL_TARGET_EXPORTS) \
40914 echo Configuring in $(TARGET_SUBDIR)/libada; \
40915 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40916 case $(srcdir) in \
40917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40918 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40920 esac; \
40921 srcdiroption="--srcdir=$${topdir}/libada"; \
40922 libsrcdir="$$s/libada"; \
40923 rm -f no-such-file || : ; \
40924 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40925 $(TARGET_CONFIGARGS) $${srcdiroption} \
40926 || exit 1
40927 @endif target-libada
40933 .PHONY: all-target-libada maybe-all-target-libada
40934 maybe-all-target-libada:
40935 @if gcc-bootstrap
40936 all-target-libada: stage_current
40937 @endif gcc-bootstrap
40938 @if target-libada
40939 TARGET-target-libada=all
40940 maybe-all-target-libada: all-target-libada
40941 all-target-libada: configure-target-libada
40942 @: $(MAKE); $(unstage)
40943 @r=`${PWD_COMMAND}`; export r; \
40944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40945 $(NORMAL_TARGET_EXPORTS) \
40946 (cd $(TARGET_SUBDIR)/libada && \
40947 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
40948 @endif target-libada
40954 .PHONY: check-target-libada maybe-check-target-libada
40955 maybe-check-target-libada:
40956 @if target-libada
40957 maybe-check-target-libada: check-target-libada
40959 check-target-libada:
40960 @: $(MAKE); $(unstage)
40961 @r=`${PWD_COMMAND}`; export r; \
40962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40963 $(NORMAL_TARGET_EXPORTS) \
40964 (cd $(TARGET_SUBDIR)/libada && \
40965 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40967 @endif target-libada
40969 .PHONY: install-target-libada maybe-install-target-libada
40970 maybe-install-target-libada:
40971 @if target-libada
40972 maybe-install-target-libada: install-target-libada
40974 install-target-libada: installdirs
40975 @: $(MAKE); $(unstage)
40976 @r=`${PWD_COMMAND}`; export r; \
40977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40978 $(NORMAL_TARGET_EXPORTS) \
40979 (cd $(TARGET_SUBDIR)/libada && \
40980 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40982 @endif target-libada
40984 # Other targets (info, dvi, pdf, etc.)
40986 .PHONY: maybe-info-target-libada info-target-libada
40987 maybe-info-target-libada:
40988 @if target-libada
40989 maybe-info-target-libada: info-target-libada
40991 info-target-libada: \
40992 configure-target-libada
40993 @: $(MAKE); $(unstage)
40994 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40995 r=`${PWD_COMMAND}`; export r; \
40996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40997 $(NORMAL_TARGET_EXPORTS) \
40998 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40999 for flag in $(EXTRA_TARGET_FLAGS); do \
41000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41001 done; \
41002 (cd $(TARGET_SUBDIR)/libada && \
41003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41005 "RANLIB=$${RANLIB}" \
41006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41007 info) \
41008 || exit 1
41010 @endif target-libada
41012 .PHONY: maybe-dvi-target-libada dvi-target-libada
41013 maybe-dvi-target-libada:
41014 @if target-libada
41015 maybe-dvi-target-libada: dvi-target-libada
41017 dvi-target-libada: \
41018 configure-target-libada
41019 @: $(MAKE); $(unstage)
41020 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41021 r=`${PWD_COMMAND}`; export r; \
41022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41023 $(NORMAL_TARGET_EXPORTS) \
41024 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41025 for flag in $(EXTRA_TARGET_FLAGS); do \
41026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41027 done; \
41028 (cd $(TARGET_SUBDIR)/libada && \
41029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41031 "RANLIB=$${RANLIB}" \
41032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41033 dvi) \
41034 || exit 1
41036 @endif target-libada
41038 .PHONY: maybe-pdf-target-libada pdf-target-libada
41039 maybe-pdf-target-libada:
41040 @if target-libada
41041 maybe-pdf-target-libada: pdf-target-libada
41043 pdf-target-libada: \
41044 configure-target-libada
41045 @: $(MAKE); $(unstage)
41046 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41047 r=`${PWD_COMMAND}`; export r; \
41048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41049 $(NORMAL_TARGET_EXPORTS) \
41050 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41051 for flag in $(EXTRA_TARGET_FLAGS); do \
41052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41053 done; \
41054 (cd $(TARGET_SUBDIR)/libada && \
41055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41057 "RANLIB=$${RANLIB}" \
41058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41059 pdf) \
41060 || exit 1
41062 @endif target-libada
41064 .PHONY: maybe-html-target-libada html-target-libada
41065 maybe-html-target-libada:
41066 @if target-libada
41067 maybe-html-target-libada: html-target-libada
41069 html-target-libada: \
41070 configure-target-libada
41071 @: $(MAKE); $(unstage)
41072 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41073 r=`${PWD_COMMAND}`; export r; \
41074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41075 $(NORMAL_TARGET_EXPORTS) \
41076 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41077 for flag in $(EXTRA_TARGET_FLAGS); do \
41078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41079 done; \
41080 (cd $(TARGET_SUBDIR)/libada && \
41081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41083 "RANLIB=$${RANLIB}" \
41084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41085 html) \
41086 || exit 1
41088 @endif target-libada
41090 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41091 maybe-TAGS-target-libada:
41092 @if target-libada
41093 maybe-TAGS-target-libada: TAGS-target-libada
41095 TAGS-target-libada: \
41096 configure-target-libada
41097 @: $(MAKE); $(unstage)
41098 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41099 r=`${PWD_COMMAND}`; export r; \
41100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41101 $(NORMAL_TARGET_EXPORTS) \
41102 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41103 for flag in $(EXTRA_TARGET_FLAGS); do \
41104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41105 done; \
41106 (cd $(TARGET_SUBDIR)/libada && \
41107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41109 "RANLIB=$${RANLIB}" \
41110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41111 TAGS) \
41112 || exit 1
41114 @endif target-libada
41116 .PHONY: maybe-install-info-target-libada install-info-target-libada
41117 maybe-install-info-target-libada:
41118 @if target-libada
41119 maybe-install-info-target-libada: install-info-target-libada
41121 install-info-target-libada: \
41122 configure-target-libada \
41123 info-target-libada
41124 @: $(MAKE); $(unstage)
41125 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41126 r=`${PWD_COMMAND}`; export r; \
41127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41128 $(NORMAL_TARGET_EXPORTS) \
41129 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41130 for flag in $(EXTRA_TARGET_FLAGS); do \
41131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41132 done; \
41133 (cd $(TARGET_SUBDIR)/libada && \
41134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41136 "RANLIB=$${RANLIB}" \
41137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41138 install-info) \
41139 || exit 1
41141 @endif target-libada
41143 .PHONY: maybe-install-html-target-libada install-html-target-libada
41144 maybe-install-html-target-libada:
41145 @if target-libada
41146 maybe-install-html-target-libada: install-html-target-libada
41148 install-html-target-libada: \
41149 configure-target-libada \
41150 html-target-libada
41151 @: $(MAKE); $(unstage)
41152 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41153 r=`${PWD_COMMAND}`; export r; \
41154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41155 $(NORMAL_TARGET_EXPORTS) \
41156 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41157 for flag in $(EXTRA_TARGET_FLAGS); do \
41158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41159 done; \
41160 (cd $(TARGET_SUBDIR)/libada && \
41161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41163 "RANLIB=$${RANLIB}" \
41164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41165 install-html) \
41166 || exit 1
41168 @endif target-libada
41170 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41171 maybe-installcheck-target-libada:
41172 @if target-libada
41173 maybe-installcheck-target-libada: installcheck-target-libada
41175 installcheck-target-libada: \
41176 configure-target-libada
41177 @: $(MAKE); $(unstage)
41178 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41179 r=`${PWD_COMMAND}`; export r; \
41180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41181 $(NORMAL_TARGET_EXPORTS) \
41182 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41183 for flag in $(EXTRA_TARGET_FLAGS); do \
41184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41185 done; \
41186 (cd $(TARGET_SUBDIR)/libada && \
41187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41189 "RANLIB=$${RANLIB}" \
41190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41191 installcheck) \
41192 || exit 1
41194 @endif target-libada
41196 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41197 maybe-mostlyclean-target-libada:
41198 @if target-libada
41199 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41201 mostlyclean-target-libada:
41202 @: $(MAKE); $(unstage)
41203 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41204 r=`${PWD_COMMAND}`; export r; \
41205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41206 $(NORMAL_TARGET_EXPORTS) \
41207 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41208 for flag in $(EXTRA_TARGET_FLAGS); do \
41209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41210 done; \
41211 (cd $(TARGET_SUBDIR)/libada && \
41212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41214 "RANLIB=$${RANLIB}" \
41215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41216 mostlyclean) \
41217 || exit 1
41219 @endif target-libada
41221 .PHONY: maybe-clean-target-libada clean-target-libada
41222 maybe-clean-target-libada:
41223 @if target-libada
41224 maybe-clean-target-libada: clean-target-libada
41226 clean-target-libada:
41227 @: $(MAKE); $(unstage)
41228 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41229 r=`${PWD_COMMAND}`; export r; \
41230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41231 $(NORMAL_TARGET_EXPORTS) \
41232 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41233 for flag in $(EXTRA_TARGET_FLAGS); do \
41234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41235 done; \
41236 (cd $(TARGET_SUBDIR)/libada && \
41237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41239 "RANLIB=$${RANLIB}" \
41240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41241 clean) \
41242 || exit 1
41244 @endif target-libada
41246 .PHONY: maybe-distclean-target-libada distclean-target-libada
41247 maybe-distclean-target-libada:
41248 @if target-libada
41249 maybe-distclean-target-libada: distclean-target-libada
41251 distclean-target-libada:
41252 @: $(MAKE); $(unstage)
41253 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41254 r=`${PWD_COMMAND}`; export r; \
41255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41256 $(NORMAL_TARGET_EXPORTS) \
41257 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41258 for flag in $(EXTRA_TARGET_FLAGS); do \
41259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41260 done; \
41261 (cd $(TARGET_SUBDIR)/libada && \
41262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41264 "RANLIB=$${RANLIB}" \
41265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41266 distclean) \
41267 || exit 1
41269 @endif target-libada
41271 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41272 maybe-maintainer-clean-target-libada:
41273 @if target-libada
41274 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41276 maintainer-clean-target-libada:
41277 @: $(MAKE); $(unstage)
41278 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41279 r=`${PWD_COMMAND}`; export r; \
41280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41281 $(NORMAL_TARGET_EXPORTS) \
41282 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41283 for flag in $(EXTRA_TARGET_FLAGS); do \
41284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41285 done; \
41286 (cd $(TARGET_SUBDIR)/libada && \
41287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41289 "RANLIB=$${RANLIB}" \
41290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41291 maintainer-clean) \
41292 || exit 1
41294 @endif target-libada
41300 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41301 maybe-configure-target-libgomp:
41302 @if gcc-bootstrap
41303 configure-target-libgomp: stage_current
41304 @endif gcc-bootstrap
41305 @if target-libgomp
41306 maybe-configure-target-libgomp: configure-target-libgomp
41307 configure-target-libgomp:
41308 @: $(MAKE); $(unstage)
41309 @r=`${PWD_COMMAND}`; export r; \
41310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41311 echo "Checking multilib configuration for libgomp..."; \
41312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41313 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41314 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41315 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41316 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41317 else \
41318 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41319 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41320 fi; \
41321 else \
41322 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41323 fi; \
41324 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41326 $(NORMAL_TARGET_EXPORTS) \
41327 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41328 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41329 case $(srcdir) in \
41330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41331 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41333 esac; \
41334 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41335 libsrcdir="$$s/libgomp"; \
41336 rm -f no-such-file || : ; \
41337 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41338 $(TARGET_CONFIGARGS) $${srcdiroption} \
41339 || exit 1
41340 @endif target-libgomp
41346 .PHONY: all-target-libgomp maybe-all-target-libgomp
41347 maybe-all-target-libgomp:
41348 @if gcc-bootstrap
41349 all-target-libgomp: stage_current
41350 @endif gcc-bootstrap
41351 @if target-libgomp
41352 TARGET-target-libgomp=all
41353 maybe-all-target-libgomp: all-target-libgomp
41354 all-target-libgomp: configure-target-libgomp
41355 @: $(MAKE); $(unstage)
41356 @r=`${PWD_COMMAND}`; export r; \
41357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41358 $(NORMAL_TARGET_EXPORTS) \
41359 (cd $(TARGET_SUBDIR)/libgomp && \
41360 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
41361 @endif target-libgomp
41367 .PHONY: check-target-libgomp maybe-check-target-libgomp
41368 maybe-check-target-libgomp:
41369 @if target-libgomp
41370 maybe-check-target-libgomp: check-target-libgomp
41372 check-target-libgomp:
41373 @: $(MAKE); $(unstage)
41374 @r=`${PWD_COMMAND}`; export r; \
41375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41376 $(NORMAL_TARGET_EXPORTS) \
41377 (cd $(TARGET_SUBDIR)/libgomp && \
41378 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41380 @endif target-libgomp
41382 .PHONY: install-target-libgomp maybe-install-target-libgomp
41383 maybe-install-target-libgomp:
41384 @if target-libgomp
41385 maybe-install-target-libgomp: install-target-libgomp
41387 install-target-libgomp: installdirs
41388 @: $(MAKE); $(unstage)
41389 @r=`${PWD_COMMAND}`; export r; \
41390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41391 $(NORMAL_TARGET_EXPORTS) \
41392 (cd $(TARGET_SUBDIR)/libgomp && \
41393 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41395 @endif target-libgomp
41397 # Other targets (info, dvi, pdf, etc.)
41399 .PHONY: maybe-info-target-libgomp info-target-libgomp
41400 maybe-info-target-libgomp:
41401 @if target-libgomp
41402 maybe-info-target-libgomp: info-target-libgomp
41404 info-target-libgomp: \
41405 configure-target-libgomp
41406 @: $(MAKE); $(unstage)
41407 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41408 r=`${PWD_COMMAND}`; export r; \
41409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41410 $(NORMAL_TARGET_EXPORTS) \
41411 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41412 for flag in $(EXTRA_TARGET_FLAGS); do \
41413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41414 done; \
41415 (cd $(TARGET_SUBDIR)/libgomp && \
41416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41418 "RANLIB=$${RANLIB}" \
41419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41420 info) \
41421 || exit 1
41423 @endif target-libgomp
41425 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41426 maybe-dvi-target-libgomp:
41427 @if target-libgomp
41428 maybe-dvi-target-libgomp: dvi-target-libgomp
41430 dvi-target-libgomp: \
41431 configure-target-libgomp
41432 @: $(MAKE); $(unstage)
41433 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41434 r=`${PWD_COMMAND}`; export r; \
41435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41436 $(NORMAL_TARGET_EXPORTS) \
41437 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41438 for flag in $(EXTRA_TARGET_FLAGS); do \
41439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41440 done; \
41441 (cd $(TARGET_SUBDIR)/libgomp && \
41442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41444 "RANLIB=$${RANLIB}" \
41445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41446 dvi) \
41447 || exit 1
41449 @endif target-libgomp
41451 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41452 maybe-pdf-target-libgomp:
41453 @if target-libgomp
41454 maybe-pdf-target-libgomp: pdf-target-libgomp
41456 pdf-target-libgomp: \
41457 configure-target-libgomp
41458 @: $(MAKE); $(unstage)
41459 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41460 r=`${PWD_COMMAND}`; export r; \
41461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41462 $(NORMAL_TARGET_EXPORTS) \
41463 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41464 for flag in $(EXTRA_TARGET_FLAGS); do \
41465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41466 done; \
41467 (cd $(TARGET_SUBDIR)/libgomp && \
41468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41470 "RANLIB=$${RANLIB}" \
41471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41472 pdf) \
41473 || exit 1
41475 @endif target-libgomp
41477 .PHONY: maybe-html-target-libgomp html-target-libgomp
41478 maybe-html-target-libgomp:
41479 @if target-libgomp
41480 maybe-html-target-libgomp: html-target-libgomp
41482 html-target-libgomp: \
41483 configure-target-libgomp
41484 @: $(MAKE); $(unstage)
41485 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41486 r=`${PWD_COMMAND}`; export r; \
41487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41488 $(NORMAL_TARGET_EXPORTS) \
41489 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41490 for flag in $(EXTRA_TARGET_FLAGS); do \
41491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41492 done; \
41493 (cd $(TARGET_SUBDIR)/libgomp && \
41494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41496 "RANLIB=$${RANLIB}" \
41497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41498 html) \
41499 || exit 1
41501 @endif target-libgomp
41503 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41504 maybe-TAGS-target-libgomp:
41505 @if target-libgomp
41506 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41508 TAGS-target-libgomp: \
41509 configure-target-libgomp
41510 @: $(MAKE); $(unstage)
41511 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41512 r=`${PWD_COMMAND}`; export r; \
41513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41514 $(NORMAL_TARGET_EXPORTS) \
41515 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41516 for flag in $(EXTRA_TARGET_FLAGS); do \
41517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41518 done; \
41519 (cd $(TARGET_SUBDIR)/libgomp && \
41520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41522 "RANLIB=$${RANLIB}" \
41523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41524 TAGS) \
41525 || exit 1
41527 @endif target-libgomp
41529 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41530 maybe-install-info-target-libgomp:
41531 @if target-libgomp
41532 maybe-install-info-target-libgomp: install-info-target-libgomp
41534 install-info-target-libgomp: \
41535 configure-target-libgomp \
41536 info-target-libgomp
41537 @: $(MAKE); $(unstage)
41538 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41539 r=`${PWD_COMMAND}`; export r; \
41540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41541 $(NORMAL_TARGET_EXPORTS) \
41542 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41543 for flag in $(EXTRA_TARGET_FLAGS); do \
41544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41545 done; \
41546 (cd $(TARGET_SUBDIR)/libgomp && \
41547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41549 "RANLIB=$${RANLIB}" \
41550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41551 install-info) \
41552 || exit 1
41554 @endif target-libgomp
41556 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41557 maybe-install-html-target-libgomp:
41558 @if target-libgomp
41559 maybe-install-html-target-libgomp: install-html-target-libgomp
41561 install-html-target-libgomp: \
41562 configure-target-libgomp \
41563 html-target-libgomp
41564 @: $(MAKE); $(unstage)
41565 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41566 r=`${PWD_COMMAND}`; export r; \
41567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41568 $(NORMAL_TARGET_EXPORTS) \
41569 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41570 for flag in $(EXTRA_TARGET_FLAGS); do \
41571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41572 done; \
41573 (cd $(TARGET_SUBDIR)/libgomp && \
41574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41576 "RANLIB=$${RANLIB}" \
41577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41578 install-html) \
41579 || exit 1
41581 @endif target-libgomp
41583 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41584 maybe-installcheck-target-libgomp:
41585 @if target-libgomp
41586 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41588 installcheck-target-libgomp: \
41589 configure-target-libgomp
41590 @: $(MAKE); $(unstage)
41591 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41592 r=`${PWD_COMMAND}`; export r; \
41593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41594 $(NORMAL_TARGET_EXPORTS) \
41595 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41596 for flag in $(EXTRA_TARGET_FLAGS); do \
41597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41598 done; \
41599 (cd $(TARGET_SUBDIR)/libgomp && \
41600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41602 "RANLIB=$${RANLIB}" \
41603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41604 installcheck) \
41605 || exit 1
41607 @endif target-libgomp
41609 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41610 maybe-mostlyclean-target-libgomp:
41611 @if target-libgomp
41612 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41614 mostlyclean-target-libgomp:
41615 @: $(MAKE); $(unstage)
41616 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41617 r=`${PWD_COMMAND}`; export r; \
41618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41619 $(NORMAL_TARGET_EXPORTS) \
41620 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41621 for flag in $(EXTRA_TARGET_FLAGS); do \
41622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41623 done; \
41624 (cd $(TARGET_SUBDIR)/libgomp && \
41625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41627 "RANLIB=$${RANLIB}" \
41628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41629 mostlyclean) \
41630 || exit 1
41632 @endif target-libgomp
41634 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41635 maybe-clean-target-libgomp:
41636 @if target-libgomp
41637 maybe-clean-target-libgomp: clean-target-libgomp
41639 clean-target-libgomp:
41640 @: $(MAKE); $(unstage)
41641 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41642 r=`${PWD_COMMAND}`; export r; \
41643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41644 $(NORMAL_TARGET_EXPORTS) \
41645 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41646 for flag in $(EXTRA_TARGET_FLAGS); do \
41647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41648 done; \
41649 (cd $(TARGET_SUBDIR)/libgomp && \
41650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41652 "RANLIB=$${RANLIB}" \
41653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41654 clean) \
41655 || exit 1
41657 @endif target-libgomp
41659 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41660 maybe-distclean-target-libgomp:
41661 @if target-libgomp
41662 maybe-distclean-target-libgomp: distclean-target-libgomp
41664 distclean-target-libgomp:
41665 @: $(MAKE); $(unstage)
41666 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41667 r=`${PWD_COMMAND}`; export r; \
41668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41669 $(NORMAL_TARGET_EXPORTS) \
41670 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41671 for flag in $(EXTRA_TARGET_FLAGS); do \
41672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41673 done; \
41674 (cd $(TARGET_SUBDIR)/libgomp && \
41675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41677 "RANLIB=$${RANLIB}" \
41678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41679 distclean) \
41680 || exit 1
41682 @endif target-libgomp
41684 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41685 maybe-maintainer-clean-target-libgomp:
41686 @if target-libgomp
41687 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41689 maintainer-clean-target-libgomp:
41690 @: $(MAKE); $(unstage)
41691 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41692 r=`${PWD_COMMAND}`; export r; \
41693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41694 $(NORMAL_TARGET_EXPORTS) \
41695 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41696 for flag in $(EXTRA_TARGET_FLAGS); do \
41697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41698 done; \
41699 (cd $(TARGET_SUBDIR)/libgomp && \
41700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41702 "RANLIB=$${RANLIB}" \
41703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41704 maintainer-clean) \
41705 || exit 1
41707 @endif target-libgomp
41711 # ----------
41712 # GCC module
41713 # ----------
41715 @if gcc-no-bootstrap
41716 .PHONY: cross
41717 cross: all-build all-gas all-ld
41718 @r=`${PWD_COMMAND}`; export r; \
41719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41720 $(HOST_EXPORTS) \
41721 echo "Building the C and C++ compiler"; \
41722 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41723 @r=`${PWD_COMMAND}`; export r; \
41724 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41725 echo "Building runtime libraries"; \
41726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41727 @endif gcc-no-bootstrap
41729 @if gcc
41730 .PHONY: check-gcc-c++
41731 check-gcc-c++:
41732 @if [ -f ./gcc/Makefile ] ; then \
41733 r=`${PWD_COMMAND}`; export r; \
41734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41735 $(HOST_EXPORTS) \
41736 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
41737 else \
41738 true; \
41741 .PHONY: check-c++
41742 check-c++: check-target-libstdc++-v3 check-gcc-c++
41744 # Install the gcc headers files, but not the fixed include files,
41745 # which Cygnus is not allowed to distribute. This rule is very
41746 # dependent on the workings of the gcc Makefile.in.
41747 .PHONY: gcc-no-fixedincludes
41748 gcc-no-fixedincludes:
41749 @if [ -f ./gcc/Makefile ]; then \
41750 rm -rf gcc/tmp-include; \
41751 mv gcc/include gcc/tmp-include 2>/dev/null; \
41752 mkdir gcc/include; \
41753 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
41754 touch gcc/stmp-fixinc gcc/include/fixed; \
41755 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
41756 r=`${PWD_COMMAND}`; export r; \
41757 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41758 $(HOST_EXPORTS) \
41759 (cd ./gcc && \
41760 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
41761 rm -rf gcc/include; \
41762 mv gcc/tmp-include gcc/include 2>/dev/null; \
41763 else true; fi
41764 @endif gcc
41766 # ---------------------
41767 # GCC bootstrap support
41768 # ---------------------
41770 # We track the current stage (the one in 'gcc') in the stage_current file.
41771 # stage_last instead tracks the stage that was built last. These targets
41772 # are dummy when toplevel bootstrap is not active.
41774 # While making host and target tools, symlinks to the final stage must be
41775 # there, so $(unstage) should be run at various points. To avoid excessive
41776 # recursive invocations of make, we "inline" them using a variable. These
41777 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41778 # to avoid warnings from the GNU Make job server.
41780 unstage = :
41781 stage = :
41782 current_stage = ""
41784 @if gcc-bootstrap
41785 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41786 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41787 current_stage = "`cat stage_current 2> /dev/null`"
41788 @endif gcc-bootstrap
41790 .PHONY: unstage stage
41791 unstage:
41792 @: $(MAKE); $(unstage)
41793 stage:
41794 @: $(MAKE); $(stage)
41796 # Disable commands for lean bootstrap.
41797 LEAN = false
41799 # We name the build directories for the various stages "stage1-gcc",
41800 # "stage2-gcc","stage3-gcc", etc.
41802 # Since the 'compare' process will fail (on debugging information) if any
41803 # directory names are different, we need to link the gcc directory for
41804 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41805 # the build directories constant as well. For the latter, we use naked names
41806 # like 'gcc', because the scripts in that directory assume it. We use
41807 # mv on platforms where symlinks to directories do not work or are not
41808 # reliable.
41810 # 'touch' doesn't work right on some platforms.
41811 STAMP = echo timestamp >
41813 # We only want to compare .o files, so set this!
41814 objext = .o
41817 .PHONY: stage1-start stage1-end
41819 stage1-start::
41820 @: $(MAKE); $(stage); \
41821 echo stage1 > stage_current ; \
41822 echo stage1 > stage_last; \
41823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41824 @if bfd
41825 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41826 mkdir stage1-bfd; \
41827 mv stage1-bfd bfd
41828 @endif bfd
41829 @if opcodes
41830 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41831 mkdir stage1-opcodes; \
41832 mv stage1-opcodes opcodes
41833 @endif opcodes
41834 @if binutils
41835 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41836 mkdir stage1-binutils; \
41837 mv stage1-binutils binutils
41838 @endif binutils
41839 @if gas
41840 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41841 mkdir stage1-gas; \
41842 mv stage1-gas gas
41843 @endif gas
41844 @if gcc
41845 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41846 mkdir stage1-gcc; \
41847 mv stage1-gcc gcc
41848 @endif gcc
41849 @if intl
41850 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41851 mkdir stage1-intl; \
41852 mv stage1-intl intl
41853 @endif intl
41854 @if ld
41855 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41856 mkdir stage1-ld; \
41857 mv stage1-ld ld
41858 @endif ld
41859 @if libcpp
41860 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41861 mkdir stage1-libcpp; \
41862 mv stage1-libcpp libcpp
41863 @endif libcpp
41864 @if libdecnumber
41865 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41866 mkdir stage1-libdecnumber; \
41867 mv stage1-libdecnumber libdecnumber
41868 @endif libdecnumber
41869 @if libiberty
41870 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41871 mkdir stage1-libiberty; \
41872 mv stage1-libiberty libiberty
41873 @endif libiberty
41874 @if zlib
41875 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41876 mkdir stage1-zlib; \
41877 mv stage1-zlib zlib
41878 @endif zlib
41879 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41880 mkdir stage1-$(TARGET_SUBDIR); \
41881 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41883 stage1-end::
41884 @if bfd
41885 @if test -d $(HOST_SUBDIR)/bfd ; then \
41886 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41888 @endif bfd
41889 @if opcodes
41890 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41891 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41893 @endif opcodes
41894 @if binutils
41895 @if test -d $(HOST_SUBDIR)/binutils ; then \
41896 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41898 @endif binutils
41899 @if gas
41900 @if test -d $(HOST_SUBDIR)/gas ; then \
41901 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41903 @endif gas
41904 @if gcc
41905 @if test -d $(HOST_SUBDIR)/gcc ; then \
41906 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41908 @endif gcc
41909 @if intl
41910 @if test -d $(HOST_SUBDIR)/intl ; then \
41911 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41913 @endif intl
41914 @if ld
41915 @if test -d $(HOST_SUBDIR)/ld ; then \
41916 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41918 @endif ld
41919 @if libcpp
41920 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41921 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41923 @endif libcpp
41924 @if libdecnumber
41925 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41926 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41928 @endif libdecnumber
41929 @if libiberty
41930 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41931 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41933 @endif libiberty
41934 @if zlib
41935 @if test -d $(HOST_SUBDIR)/zlib ; then \
41936 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41938 @endif zlib
41939 @if test -d $(TARGET_SUBDIR) ; then \
41940 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41942 rm -f stage_current
41944 # Bubble a bugfix through all the stages up to stage 1. They are
41945 # remade, but not reconfigured. The next stage (if any) will not be
41946 # reconfigured as well.
41947 .PHONY: stage1-bubble
41948 stage1-bubble::
41949 @r=`${PWD_COMMAND}`; export r; \
41950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41951 if test -f stage1-lean ; then \
41952 echo Skipping rebuild of stage1 ; \
41953 else \
41954 $(MAKE) stage1-start; \
41955 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41958 .PHONY: all-stage1 clean-stage1
41959 do-clean: clean-stage1
41961 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41962 # only possibility, but now it conflicts with no-bootstrap rules
41963 @if gcc-bootstrap
41968 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41970 .PHONY: distclean-stage1
41971 distclean-stage1::
41972 @: $(MAKE); $(stage)
41973 rm -rf stage1-*
41976 @endif gcc-bootstrap
41979 .PHONY: stage2-start stage2-end
41981 stage2-start::
41982 @: $(MAKE); $(stage); \
41983 echo stage2 > stage_current ; \
41984 echo stage2 > stage_last; \
41985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41986 @if bfd
41987 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41988 mkdir stage2-bfd; \
41989 mv stage2-bfd bfd ; \
41990 mv stage1-bfd prev-bfd || test -f stage1-lean
41991 @endif bfd
41992 @if opcodes
41993 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41994 mkdir stage2-opcodes; \
41995 mv stage2-opcodes opcodes ; \
41996 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41997 @endif opcodes
41998 @if binutils
41999 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42000 mkdir stage2-binutils; \
42001 mv stage2-binutils binutils ; \
42002 mv stage1-binutils prev-binutils || test -f stage1-lean
42003 @endif binutils
42004 @if gas
42005 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42006 mkdir stage2-gas; \
42007 mv stage2-gas gas ; \
42008 mv stage1-gas prev-gas || test -f stage1-lean
42009 @endif gas
42010 @if gcc
42011 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42012 mkdir stage2-gcc; \
42013 mv stage2-gcc gcc ; \
42014 mv stage1-gcc prev-gcc || test -f stage1-lean
42015 @endif gcc
42016 @if intl
42017 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42018 mkdir stage2-intl; \
42019 mv stage2-intl intl ; \
42020 mv stage1-intl prev-intl || test -f stage1-lean
42021 @endif intl
42022 @if ld
42023 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42024 mkdir stage2-ld; \
42025 mv stage2-ld ld ; \
42026 mv stage1-ld prev-ld || test -f stage1-lean
42027 @endif ld
42028 @if libcpp
42029 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42030 mkdir stage2-libcpp; \
42031 mv stage2-libcpp libcpp ; \
42032 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42033 @endif libcpp
42034 @if libdecnumber
42035 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42036 mkdir stage2-libdecnumber; \
42037 mv stage2-libdecnumber libdecnumber ; \
42038 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42039 @endif libdecnumber
42040 @if libiberty
42041 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42042 mkdir stage2-libiberty; \
42043 mv stage2-libiberty libiberty ; \
42044 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42045 @endif libiberty
42046 @if zlib
42047 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42048 mkdir stage2-zlib; \
42049 mv stage2-zlib zlib ; \
42050 mv stage1-zlib prev-zlib || test -f stage1-lean
42051 @endif zlib
42052 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42053 mkdir stage2-$(TARGET_SUBDIR); \
42054 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42055 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42057 stage2-end::
42058 @if bfd
42059 @if test -d $(HOST_SUBDIR)/bfd ; then \
42060 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42061 mv prev-bfd stage1-bfd ; : ; \
42063 @endif bfd
42064 @if opcodes
42065 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42066 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42067 mv prev-opcodes stage1-opcodes ; : ; \
42069 @endif opcodes
42070 @if binutils
42071 @if test -d $(HOST_SUBDIR)/binutils ; then \
42072 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42073 mv prev-binutils stage1-binutils ; : ; \
42075 @endif binutils
42076 @if gas
42077 @if test -d $(HOST_SUBDIR)/gas ; then \
42078 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42079 mv prev-gas stage1-gas ; : ; \
42081 @endif gas
42082 @if gcc
42083 @if test -d $(HOST_SUBDIR)/gcc ; then \
42084 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42085 mv prev-gcc stage1-gcc ; : ; \
42087 @endif gcc
42088 @if intl
42089 @if test -d $(HOST_SUBDIR)/intl ; then \
42090 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42091 mv prev-intl stage1-intl ; : ; \
42093 @endif intl
42094 @if ld
42095 @if test -d $(HOST_SUBDIR)/ld ; then \
42096 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42097 mv prev-ld stage1-ld ; : ; \
42099 @endif ld
42100 @if libcpp
42101 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42102 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42103 mv prev-libcpp stage1-libcpp ; : ; \
42105 @endif libcpp
42106 @if libdecnumber
42107 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42108 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42109 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42111 @endif libdecnumber
42112 @if libiberty
42113 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42114 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42115 mv prev-libiberty stage1-libiberty ; : ; \
42117 @endif libiberty
42118 @if zlib
42119 @if test -d $(HOST_SUBDIR)/zlib ; then \
42120 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42121 mv prev-zlib stage1-zlib ; : ; \
42123 @endif zlib
42124 @if test -d $(TARGET_SUBDIR) ; then \
42125 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42126 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42128 rm -f stage_current
42130 # Bubble a bugfix through all the stages up to stage 2. They are
42131 # remade, but not reconfigured. The next stage (if any) will not be
42132 # reconfigured as well.
42133 .PHONY: stage2-bubble
42134 stage2-bubble:: stage1-bubble
42135 @r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 if test -f stage2-lean || test -f stage1-lean ; then \
42138 echo Skipping rebuild of stage2 ; \
42139 else \
42140 $(MAKE) stage2-start; \
42141 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42144 .PHONY: all-stage2 clean-stage2
42145 do-clean: clean-stage2
42147 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42148 # only possibility, but now it conflicts with no-bootstrap rules
42149 @if gcc-bootstrap
42153 .PHONY: bootstrap2 bootstrap2-lean
42154 bootstrap2:
42155 echo stage2 > stage_final
42156 @r=`${PWD_COMMAND}`; export r; \
42157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42158 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42159 @: $(MAKE); $(unstage)
42160 @r=`${PWD_COMMAND}`; export r; \
42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42162 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42164 bootstrap2-lean:
42165 echo stage2 > stage_final
42166 @r=`${PWD_COMMAND}`; export r; \
42167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42168 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42169 @: $(MAKE); $(unstage)
42170 @r=`${PWD_COMMAND}`; export r; \
42171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42172 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42175 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42176 distclean-stage1:: distclean-stage2
42177 .PHONY: distclean-stage2
42178 distclean-stage2::
42179 @: $(MAKE); $(stage)
42180 rm -rf stage2-*
42183 @endif gcc-bootstrap
42186 .PHONY: stage3-start stage3-end
42188 stage3-start::
42189 @: $(MAKE); $(stage); \
42190 echo stage3 > stage_current ; \
42191 echo stage3 > stage_last; \
42192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42193 @if bfd
42194 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42195 mkdir stage3-bfd; \
42196 mv stage3-bfd bfd ; \
42197 mv stage2-bfd prev-bfd || test -f stage2-lean
42198 @endif bfd
42199 @if opcodes
42200 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42201 mkdir stage3-opcodes; \
42202 mv stage3-opcodes opcodes ; \
42203 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42204 @endif opcodes
42205 @if binutils
42206 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42207 mkdir stage3-binutils; \
42208 mv stage3-binutils binutils ; \
42209 mv stage2-binutils prev-binutils || test -f stage2-lean
42210 @endif binutils
42211 @if gas
42212 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42213 mkdir stage3-gas; \
42214 mv stage3-gas gas ; \
42215 mv stage2-gas prev-gas || test -f stage2-lean
42216 @endif gas
42217 @if gcc
42218 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42219 mkdir stage3-gcc; \
42220 mv stage3-gcc gcc ; \
42221 mv stage2-gcc prev-gcc || test -f stage2-lean
42222 @endif gcc
42223 @if intl
42224 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42225 mkdir stage3-intl; \
42226 mv stage3-intl intl ; \
42227 mv stage2-intl prev-intl || test -f stage2-lean
42228 @endif intl
42229 @if ld
42230 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42231 mkdir stage3-ld; \
42232 mv stage3-ld ld ; \
42233 mv stage2-ld prev-ld || test -f stage2-lean
42234 @endif ld
42235 @if libcpp
42236 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42237 mkdir stage3-libcpp; \
42238 mv stage3-libcpp libcpp ; \
42239 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42240 @endif libcpp
42241 @if libdecnumber
42242 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42243 mkdir stage3-libdecnumber; \
42244 mv stage3-libdecnumber libdecnumber ; \
42245 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42246 @endif libdecnumber
42247 @if libiberty
42248 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42249 mkdir stage3-libiberty; \
42250 mv stage3-libiberty libiberty ; \
42251 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42252 @endif libiberty
42253 @if zlib
42254 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42255 mkdir stage3-zlib; \
42256 mv stage3-zlib zlib ; \
42257 mv stage2-zlib prev-zlib || test -f stage2-lean
42258 @endif zlib
42259 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42260 mkdir stage3-$(TARGET_SUBDIR); \
42261 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42262 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42264 stage3-end::
42265 @if bfd
42266 @if test -d $(HOST_SUBDIR)/bfd ; then \
42267 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42268 mv prev-bfd stage2-bfd ; : ; \
42270 @endif bfd
42271 @if opcodes
42272 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42273 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42274 mv prev-opcodes stage2-opcodes ; : ; \
42276 @endif opcodes
42277 @if binutils
42278 @if test -d $(HOST_SUBDIR)/binutils ; then \
42279 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42280 mv prev-binutils stage2-binutils ; : ; \
42282 @endif binutils
42283 @if gas
42284 @if test -d $(HOST_SUBDIR)/gas ; then \
42285 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42286 mv prev-gas stage2-gas ; : ; \
42288 @endif gas
42289 @if gcc
42290 @if test -d $(HOST_SUBDIR)/gcc ; then \
42291 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42292 mv prev-gcc stage2-gcc ; : ; \
42294 @endif gcc
42295 @if intl
42296 @if test -d $(HOST_SUBDIR)/intl ; then \
42297 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42298 mv prev-intl stage2-intl ; : ; \
42300 @endif intl
42301 @if ld
42302 @if test -d $(HOST_SUBDIR)/ld ; then \
42303 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42304 mv prev-ld stage2-ld ; : ; \
42306 @endif ld
42307 @if libcpp
42308 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42309 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42310 mv prev-libcpp stage2-libcpp ; : ; \
42312 @endif libcpp
42313 @if libdecnumber
42314 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42315 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42316 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42318 @endif libdecnumber
42319 @if libiberty
42320 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42321 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42322 mv prev-libiberty stage2-libiberty ; : ; \
42324 @endif libiberty
42325 @if zlib
42326 @if test -d $(HOST_SUBDIR)/zlib ; then \
42327 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42328 mv prev-zlib stage2-zlib ; : ; \
42330 @endif zlib
42331 @if test -d $(TARGET_SUBDIR) ; then \
42332 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42333 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42335 rm -f stage_current
42337 # Bubble a bugfix through all the stages up to stage 3. They are
42338 # remade, but not reconfigured. The next stage (if any) will not be
42339 # reconfigured as well.
42340 .PHONY: stage3-bubble
42341 stage3-bubble:: stage2-bubble
42342 @r=`${PWD_COMMAND}`; export r; \
42343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42344 if test -f stage3-lean || test -f stage2-lean ; then \
42345 echo Skipping rebuild of stage3 ; \
42346 else \
42347 $(MAKE) stage3-start; \
42348 if $(LEAN); then \
42349 rm -rf stage1-* ; \
42350 $(STAMP) stage1-lean ; \
42351 fi; \
42352 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42354 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42356 .PHONY: all-stage3 clean-stage3
42357 do-clean: clean-stage3
42359 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42360 # only possibility, but now it conflicts with no-bootstrap rules
42361 @if gcc-bootstrap
42363 compare:
42364 @r=`${PWD_COMMAND}`; export r; \
42365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42366 if test -f stage2-lean; then \
42367 echo Cannot compare object files as stage 2 was deleted. ; \
42368 exit 0 ; \
42369 fi; \
42370 : $(MAKE); $(stage); \
42371 rm -f .bad_compare ; \
42372 echo Comparing stages 2 and 3 ; \
42373 cd stage3-gcc; \
42374 files=`find . -name "*$(objext)" -print` ; \
42375 cd .. ; \
42376 for file in $${files} ; do \
42377 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
42378 @do_compare@ > /dev/null 2>&1; \
42379 if test $$? -eq 1; then \
42380 case $$file in \
42381 ./cc*-checksum$(objext) | ./libgcc/* ) \
42382 echo warning: $$file differs ;; \
42383 *) \
42384 echo $$file differs >> .bad_compare ;; \
42385 esac ; \
42386 fi ; \
42387 done ; \
42388 if [ -f .bad_compare ]; then \
42389 echo "Bootstrap comparison failure!"; \
42390 cat .bad_compare; \
42391 exit 1; \
42392 else \
42393 echo Comparison successful.; \
42394 fi ; \
42395 $(STAMP) compare
42396 if $(LEAN); then \
42397 rm -rf stage2-*; \
42398 $(STAMP) stage2-lean; \
42403 .PHONY: bootstrap bootstrap-lean
42404 bootstrap:
42405 echo stage3 > stage_final
42406 @r=`${PWD_COMMAND}`; export r; \
42407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42408 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42409 @: $(MAKE); $(unstage)
42410 @r=`${PWD_COMMAND}`; export r; \
42411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42412 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42414 bootstrap-lean:
42415 echo stage3 > stage_final
42416 @r=`${PWD_COMMAND}`; export r; \
42417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42418 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42419 @: $(MAKE); $(unstage)
42420 @r=`${PWD_COMMAND}`; export r; \
42421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42422 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42425 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42426 distclean-stage2:: distclean-stage3
42427 .PHONY: distclean-stage3
42428 distclean-stage3::
42429 @: $(MAKE); $(stage)
42430 rm -rf stage3-* compare
42433 .PHONY: cleanstrap
42434 cleanstrap: distclean bootstrap
42436 @endif gcc-bootstrap
42439 .PHONY: stage4-start stage4-end
42441 stage4-start::
42442 @: $(MAKE); $(stage); \
42443 echo stage4 > stage_current ; \
42444 echo stage4 > stage_last; \
42445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42446 @if bfd
42447 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42448 mkdir stage4-bfd; \
42449 mv stage4-bfd bfd ; \
42450 mv stage3-bfd prev-bfd || test -f stage3-lean
42451 @endif bfd
42452 @if opcodes
42453 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42454 mkdir stage4-opcodes; \
42455 mv stage4-opcodes opcodes ; \
42456 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42457 @endif opcodes
42458 @if binutils
42459 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42460 mkdir stage4-binutils; \
42461 mv stage4-binutils binutils ; \
42462 mv stage3-binutils prev-binutils || test -f stage3-lean
42463 @endif binutils
42464 @if gas
42465 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42466 mkdir stage4-gas; \
42467 mv stage4-gas gas ; \
42468 mv stage3-gas prev-gas || test -f stage3-lean
42469 @endif gas
42470 @if gcc
42471 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42472 mkdir stage4-gcc; \
42473 mv stage4-gcc gcc ; \
42474 mv stage3-gcc prev-gcc || test -f stage3-lean
42475 @endif gcc
42476 @if intl
42477 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42478 mkdir stage4-intl; \
42479 mv stage4-intl intl ; \
42480 mv stage3-intl prev-intl || test -f stage3-lean
42481 @endif intl
42482 @if ld
42483 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42484 mkdir stage4-ld; \
42485 mv stage4-ld ld ; \
42486 mv stage3-ld prev-ld || test -f stage3-lean
42487 @endif ld
42488 @if libcpp
42489 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42490 mkdir stage4-libcpp; \
42491 mv stage4-libcpp libcpp ; \
42492 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42493 @endif libcpp
42494 @if libdecnumber
42495 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42496 mkdir stage4-libdecnumber; \
42497 mv stage4-libdecnumber libdecnumber ; \
42498 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42499 @endif libdecnumber
42500 @if libiberty
42501 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42502 mkdir stage4-libiberty; \
42503 mv stage4-libiberty libiberty ; \
42504 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42505 @endif libiberty
42506 @if zlib
42507 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42508 mkdir stage4-zlib; \
42509 mv stage4-zlib zlib ; \
42510 mv stage3-zlib prev-zlib || test -f stage3-lean
42511 @endif zlib
42512 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42513 mkdir stage4-$(TARGET_SUBDIR); \
42514 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42515 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42517 stage4-end::
42518 @if bfd
42519 @if test -d $(HOST_SUBDIR)/bfd ; then \
42520 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42521 mv prev-bfd stage3-bfd ; : ; \
42523 @endif bfd
42524 @if opcodes
42525 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42526 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42527 mv prev-opcodes stage3-opcodes ; : ; \
42529 @endif opcodes
42530 @if binutils
42531 @if test -d $(HOST_SUBDIR)/binutils ; then \
42532 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42533 mv prev-binutils stage3-binutils ; : ; \
42535 @endif binutils
42536 @if gas
42537 @if test -d $(HOST_SUBDIR)/gas ; then \
42538 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42539 mv prev-gas stage3-gas ; : ; \
42541 @endif gas
42542 @if gcc
42543 @if test -d $(HOST_SUBDIR)/gcc ; then \
42544 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42545 mv prev-gcc stage3-gcc ; : ; \
42547 @endif gcc
42548 @if intl
42549 @if test -d $(HOST_SUBDIR)/intl ; then \
42550 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42551 mv prev-intl stage3-intl ; : ; \
42553 @endif intl
42554 @if ld
42555 @if test -d $(HOST_SUBDIR)/ld ; then \
42556 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42557 mv prev-ld stage3-ld ; : ; \
42559 @endif ld
42560 @if libcpp
42561 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42562 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42563 mv prev-libcpp stage3-libcpp ; : ; \
42565 @endif libcpp
42566 @if libdecnumber
42567 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42568 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42569 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42571 @endif libdecnumber
42572 @if libiberty
42573 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42574 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42575 mv prev-libiberty stage3-libiberty ; : ; \
42577 @endif libiberty
42578 @if zlib
42579 @if test -d $(HOST_SUBDIR)/zlib ; then \
42580 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42581 mv prev-zlib stage3-zlib ; : ; \
42583 @endif zlib
42584 @if test -d $(TARGET_SUBDIR) ; then \
42585 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42586 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42588 rm -f stage_current
42590 # Bubble a bugfix through all the stages up to stage 4. They are
42591 # remade, but not reconfigured. The next stage (if any) will not be
42592 # reconfigured as well.
42593 .PHONY: stage4-bubble
42594 stage4-bubble:: stage3-bubble
42595 @r=`${PWD_COMMAND}`; export r; \
42596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42597 if test -f stage4-lean || test -f stage3-lean ; then \
42598 echo Skipping rebuild of stage4 ; \
42599 else \
42600 $(MAKE) stage4-start; \
42601 if $(LEAN); then \
42602 rm -rf stage2-* ; \
42603 $(STAMP) stage2-lean ; \
42604 fi; \
42605 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42607 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42609 .PHONY: all-stage4 clean-stage4
42610 do-clean: clean-stage4
42612 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42613 # only possibility, but now it conflicts with no-bootstrap rules
42614 @if gcc-bootstrap
42616 compare3:
42617 @r=`${PWD_COMMAND}`; export r; \
42618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42619 if test -f stage3-lean; then \
42620 echo Cannot compare object files as stage 3 was deleted. ; \
42621 exit 0 ; \
42622 fi; \
42623 : $(MAKE); $(stage); \
42624 rm -f .bad_compare ; \
42625 echo Comparing stages 3 and 4 ; \
42626 cd stage4-gcc; \
42627 files=`find . -name "*$(objext)" -print` ; \
42628 cd .. ; \
42629 for file in $${files} ; do \
42630 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
42631 @do_compare@ > /dev/null 2>&1; \
42632 if test $$? -eq 1; then \
42633 case $$file in \
42634 ./cc*-checksum$(objext) | ./libgcc/* ) \
42635 echo warning: $$file differs ;; \
42636 *) \
42637 echo $$file differs >> .bad_compare ;; \
42638 esac ; \
42639 fi ; \
42640 done ; \
42641 if [ -f .bad_compare ]; then \
42642 echo "Bootstrap comparison failure!"; \
42643 cat .bad_compare; \
42644 exit 1; \
42645 else \
42646 echo Comparison successful.; \
42647 fi ; \
42648 $(STAMP) compare3
42649 if $(LEAN); then \
42650 rm -rf stage3-*; \
42651 $(STAMP) stage3-lean; \
42656 .PHONY: bootstrap4 bootstrap4-lean
42657 bootstrap4:
42658 echo stage4 > stage_final
42659 @r=`${PWD_COMMAND}`; export r; \
42660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42661 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42662 @: $(MAKE); $(unstage)
42663 @r=`${PWD_COMMAND}`; export r; \
42664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42665 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42667 bootstrap4-lean:
42668 echo stage4 > stage_final
42669 @r=`${PWD_COMMAND}`; export r; \
42670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42671 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42672 @: $(MAKE); $(unstage)
42673 @r=`${PWD_COMMAND}`; export r; \
42674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42675 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42678 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42679 distclean-stage3:: distclean-stage4
42680 .PHONY: distclean-stage4
42681 distclean-stage4::
42682 @: $(MAKE); $(stage)
42683 rm -rf stage4-* compare3
42686 @endif gcc-bootstrap
42689 .PHONY: stageprofile-start stageprofile-end
42691 stageprofile-start::
42692 @: $(MAKE); $(stage); \
42693 echo stageprofile > stage_current ; \
42694 echo stageprofile > stage_last; \
42695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42696 @if bfd
42697 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42698 mkdir stageprofile-bfd; \
42699 mv stageprofile-bfd bfd ; \
42700 mv stage1-bfd prev-bfd || test -f stage1-lean
42701 @endif bfd
42702 @if opcodes
42703 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42704 mkdir stageprofile-opcodes; \
42705 mv stageprofile-opcodes opcodes ; \
42706 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42707 @endif opcodes
42708 @if binutils
42709 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42710 mkdir stageprofile-binutils; \
42711 mv stageprofile-binutils binutils ; \
42712 mv stage1-binutils prev-binutils || test -f stage1-lean
42713 @endif binutils
42714 @if gas
42715 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42716 mkdir stageprofile-gas; \
42717 mv stageprofile-gas gas ; \
42718 mv stage1-gas prev-gas || test -f stage1-lean
42719 @endif gas
42720 @if gcc
42721 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42722 mkdir stageprofile-gcc; \
42723 mv stageprofile-gcc gcc ; \
42724 mv stage1-gcc prev-gcc || test -f stage1-lean
42725 @endif gcc
42726 @if intl
42727 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42728 mkdir stageprofile-intl; \
42729 mv stageprofile-intl intl ; \
42730 mv stage1-intl prev-intl || test -f stage1-lean
42731 @endif intl
42732 @if ld
42733 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42734 mkdir stageprofile-ld; \
42735 mv stageprofile-ld ld ; \
42736 mv stage1-ld prev-ld || test -f stage1-lean
42737 @endif ld
42738 @if libcpp
42739 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42740 mkdir stageprofile-libcpp; \
42741 mv stageprofile-libcpp libcpp ; \
42742 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42743 @endif libcpp
42744 @if libdecnumber
42745 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42746 mkdir stageprofile-libdecnumber; \
42747 mv stageprofile-libdecnumber libdecnumber ; \
42748 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42749 @endif libdecnumber
42750 @if libiberty
42751 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42752 mkdir stageprofile-libiberty; \
42753 mv stageprofile-libiberty libiberty ; \
42754 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42755 @endif libiberty
42756 @if zlib
42757 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42758 mkdir stageprofile-zlib; \
42759 mv stageprofile-zlib zlib ; \
42760 mv stage1-zlib prev-zlib || test -f stage1-lean
42761 @endif zlib
42762 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42763 mkdir stageprofile-$(TARGET_SUBDIR); \
42764 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42765 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42767 stageprofile-end::
42768 @if bfd
42769 @if test -d $(HOST_SUBDIR)/bfd ; then \
42770 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42771 mv prev-bfd stage1-bfd ; : ; \
42773 @endif bfd
42774 @if opcodes
42775 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42776 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42777 mv prev-opcodes stage1-opcodes ; : ; \
42779 @endif opcodes
42780 @if binutils
42781 @if test -d $(HOST_SUBDIR)/binutils ; then \
42782 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42783 mv prev-binutils stage1-binutils ; : ; \
42785 @endif binutils
42786 @if gas
42787 @if test -d $(HOST_SUBDIR)/gas ; then \
42788 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42789 mv prev-gas stage1-gas ; : ; \
42791 @endif gas
42792 @if gcc
42793 @if test -d $(HOST_SUBDIR)/gcc ; then \
42794 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42795 mv prev-gcc stage1-gcc ; : ; \
42797 @endif gcc
42798 @if intl
42799 @if test -d $(HOST_SUBDIR)/intl ; then \
42800 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42801 mv prev-intl stage1-intl ; : ; \
42803 @endif intl
42804 @if ld
42805 @if test -d $(HOST_SUBDIR)/ld ; then \
42806 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42807 mv prev-ld stage1-ld ; : ; \
42809 @endif ld
42810 @if libcpp
42811 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42812 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42813 mv prev-libcpp stage1-libcpp ; : ; \
42815 @endif libcpp
42816 @if libdecnumber
42817 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42818 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42819 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42821 @endif libdecnumber
42822 @if libiberty
42823 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42824 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42825 mv prev-libiberty stage1-libiberty ; : ; \
42827 @endif libiberty
42828 @if zlib
42829 @if test -d $(HOST_SUBDIR)/zlib ; then \
42830 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42831 mv prev-zlib stage1-zlib ; : ; \
42833 @endif zlib
42834 @if test -d $(TARGET_SUBDIR) ; then \
42835 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42836 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42838 rm -f stage_current
42840 # Bubble a bugfix through all the stages up to stage profile. They are
42841 # remade, but not reconfigured. The next stage (if any) will not be
42842 # reconfigured as well.
42843 .PHONY: stageprofile-bubble
42844 stageprofile-bubble:: stage1-bubble
42845 @r=`${PWD_COMMAND}`; export r; \
42846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42847 if test -f stageprofile-lean || test -f stage1-lean ; then \
42848 echo Skipping rebuild of stageprofile ; \
42849 else \
42850 $(MAKE) stageprofile-start; \
42851 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42854 .PHONY: all-stageprofile clean-stageprofile
42855 do-clean: clean-stageprofile
42857 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42858 # only possibility, but now it conflicts with no-bootstrap rules
42859 @if gcc-bootstrap
42864 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42865 distclean-stage1:: distclean-stageprofile
42866 .PHONY: distclean-stageprofile
42867 distclean-stageprofile::
42868 @: $(MAKE); $(stage)
42869 rm -rf stageprofile-*
42872 @endif gcc-bootstrap
42875 .PHONY: stagefeedback-start stagefeedback-end
42877 stagefeedback-start::
42878 @: $(MAKE); $(stage); \
42879 echo stagefeedback > stage_current ; \
42880 echo stagefeedback > stage_last; \
42881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42882 @if bfd
42883 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42884 mkdir stagefeedback-bfd; \
42885 mv stagefeedback-bfd bfd ; \
42886 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42887 @endif bfd
42888 @if opcodes
42889 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42890 mkdir stagefeedback-opcodes; \
42891 mv stagefeedback-opcodes opcodes ; \
42892 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42893 @endif opcodes
42894 @if binutils
42895 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42896 mkdir stagefeedback-binutils; \
42897 mv stagefeedback-binutils binutils ; \
42898 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42899 @endif binutils
42900 @if gas
42901 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42902 mkdir stagefeedback-gas; \
42903 mv stagefeedback-gas gas ; \
42904 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42905 @endif gas
42906 @if gcc
42907 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42908 mkdir stagefeedback-gcc; \
42909 mv stagefeedback-gcc gcc ; \
42910 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42911 @endif gcc
42912 @if intl
42913 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42914 mkdir stagefeedback-intl; \
42915 mv stagefeedback-intl intl ; \
42916 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42917 @endif intl
42918 @if ld
42919 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42920 mkdir stagefeedback-ld; \
42921 mv stagefeedback-ld ld ; \
42922 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42923 @endif ld
42924 @if libcpp
42925 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42926 mkdir stagefeedback-libcpp; \
42927 mv stagefeedback-libcpp libcpp ; \
42928 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42929 @endif libcpp
42930 @if libdecnumber
42931 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42932 mkdir stagefeedback-libdecnumber; \
42933 mv stagefeedback-libdecnumber libdecnumber ; \
42934 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42935 @endif libdecnumber
42936 @if libiberty
42937 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42938 mkdir stagefeedback-libiberty; \
42939 mv stagefeedback-libiberty libiberty ; \
42940 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42941 @endif libiberty
42942 @if zlib
42943 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42944 mkdir stagefeedback-zlib; \
42945 mv stagefeedback-zlib zlib ; \
42946 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42947 @endif zlib
42948 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42949 mkdir stagefeedback-$(TARGET_SUBDIR); \
42950 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42951 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42953 stagefeedback-end::
42954 @if bfd
42955 @if test -d $(HOST_SUBDIR)/bfd ; then \
42956 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42957 mv prev-bfd stageprofile-bfd ; : ; \
42959 @endif bfd
42960 @if opcodes
42961 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42962 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42963 mv prev-opcodes stageprofile-opcodes ; : ; \
42965 @endif opcodes
42966 @if binutils
42967 @if test -d $(HOST_SUBDIR)/binutils ; then \
42968 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42969 mv prev-binutils stageprofile-binutils ; : ; \
42971 @endif binutils
42972 @if gas
42973 @if test -d $(HOST_SUBDIR)/gas ; then \
42974 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42975 mv prev-gas stageprofile-gas ; : ; \
42977 @endif gas
42978 @if gcc
42979 @if test -d $(HOST_SUBDIR)/gcc ; then \
42980 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42981 mv prev-gcc stageprofile-gcc ; : ; \
42983 @endif gcc
42984 @if intl
42985 @if test -d $(HOST_SUBDIR)/intl ; then \
42986 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42987 mv prev-intl stageprofile-intl ; : ; \
42989 @endif intl
42990 @if ld
42991 @if test -d $(HOST_SUBDIR)/ld ; then \
42992 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42993 mv prev-ld stageprofile-ld ; : ; \
42995 @endif ld
42996 @if libcpp
42997 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42998 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42999 mv prev-libcpp stageprofile-libcpp ; : ; \
43001 @endif libcpp
43002 @if libdecnumber
43003 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43004 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43005 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43007 @endif libdecnumber
43008 @if libiberty
43009 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43010 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43011 mv prev-libiberty stageprofile-libiberty ; : ; \
43013 @endif libiberty
43014 @if zlib
43015 @if test -d $(HOST_SUBDIR)/zlib ; then \
43016 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43017 mv prev-zlib stageprofile-zlib ; : ; \
43019 @endif zlib
43020 @if test -d $(TARGET_SUBDIR) ; then \
43021 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43022 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43024 rm -f stage_current
43026 # Bubble a bugfix through all the stages up to stage feedback. They are
43027 # remade, but not reconfigured. The next stage (if any) will not be
43028 # reconfigured as well.
43029 .PHONY: stagefeedback-bubble
43030 stagefeedback-bubble:: stageprofile-bubble
43031 @r=`${PWD_COMMAND}`; export r; \
43032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43033 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43034 echo Skipping rebuild of stagefeedback ; \
43035 else \
43036 $(MAKE) stagefeedback-start; \
43037 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43040 .PHONY: all-stagefeedback clean-stagefeedback
43041 do-clean: clean-stagefeedback
43043 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43044 # only possibility, but now it conflicts with no-bootstrap rules
43045 @if gcc-bootstrap
43049 .PHONY: profiledbootstrap profiledbootstrap-lean
43050 profiledbootstrap:
43051 echo stagefeedback > stage_final
43052 @r=`${PWD_COMMAND}`; export r; \
43053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43054 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43055 @: $(MAKE); $(unstage)
43056 @r=`${PWD_COMMAND}`; export r; \
43057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43058 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43060 profiledbootstrap-lean:
43061 echo stagefeedback > stage_final
43062 @r=`${PWD_COMMAND}`; export r; \
43063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43064 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43065 @: $(MAKE); $(unstage)
43066 @r=`${PWD_COMMAND}`; export r; \
43067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43068 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43071 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43072 distclean-stageprofile:: distclean-stagefeedback
43073 .PHONY: distclean-stagefeedback
43074 distclean-stagefeedback::
43075 @: $(MAKE); $(stage)
43076 rm -rf stagefeedback-*
43079 @endif gcc-bootstrap
43083 stageprofile-end::
43084 $(MAKE) distclean-stagefeedback
43086 stagefeedback-start::
43087 @r=`${PWD_COMMAND}`; export r; \
43088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43089 for i in prev-*; do \
43090 j=`echo $$i | sed s/^prev-//` ; \
43091 cd $$r/$$i && \
43092 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43093 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43094 done
43096 @if gcc-bootstrap
43097 do-distclean: distclean-stage1
43099 # Provide a GCC build when we're building target libraries. This does
43100 # not work as a dependency, just as the minimum necessary to avoid errors.
43101 stage_last:
43102 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43104 # Same as unstage, but not phony and defaulting to stage1-start. We place
43105 # it in the dependency so that for example `make -j3 all-gcc' works.
43106 stage_current:
43107 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43109 .PHONY: restrap
43110 restrap:
43111 @: $(MAKE); $(stage)
43112 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43113 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
43114 @endif gcc-bootstrap
43116 # --------------------------------------
43117 # Dependencies between different modules
43118 # --------------------------------------
43120 # Generic dependencies for target modules on host stuff, especially gcc
43121 @if gcc-bootstrap
43122 configure-target-libstdc++-v3: stage_last
43123 configure-target-libmudflap: stage_last
43124 configure-target-libssp: stage_last
43125 configure-target-newlib: stage_last
43126 configure-target-libgfortran: stage_last
43127 configure-target-libobjc: stage_last
43128 configure-target-libtermcap: stage_last
43129 configure-target-winsup: stage_last
43130 configure-target-libgloss: stage_last
43131 configure-target-libiberty: stage_last
43132 configure-target-gperf: stage_last
43133 configure-target-examples: stage_last
43134 configure-target-libffi: stage_last
43135 configure-target-libjava: stage_last
43136 configure-target-zlib: stage_last
43137 configure-target-boehm-gc: stage_last
43138 configure-target-qthreads: stage_last
43139 configure-target-rda: stage_last
43140 configure-target-libada: stage_last
43141 configure-target-libgomp: stage_last
43142 @endif gcc-bootstrap
43144 @if gcc-no-bootstrap
43145 configure-target-libstdc++-v3: maybe-all-gcc
43146 configure-target-libmudflap: maybe-all-gcc
43147 configure-target-libssp: maybe-all-gcc
43148 configure-target-newlib: maybe-all-gcc
43149 configure-target-libgfortran: maybe-all-gcc
43150 configure-target-libobjc: maybe-all-gcc
43151 configure-target-libtermcap: maybe-all-gcc
43152 configure-target-winsup: maybe-all-gcc
43153 configure-target-libgloss: maybe-all-gcc
43154 configure-target-libiberty: maybe-all-gcc
43155 configure-target-gperf: maybe-all-gcc
43156 configure-target-examples: maybe-all-gcc
43157 configure-target-libffi: maybe-all-gcc
43158 configure-target-libjava: maybe-all-gcc
43159 configure-target-zlib: maybe-all-gcc
43160 configure-target-boehm-gc: maybe-all-gcc
43161 configure-target-qthreads: maybe-all-gcc
43162 configure-target-rda: maybe-all-gcc
43163 configure-target-libada: maybe-all-gcc
43164 configure-target-libgomp: maybe-all-gcc
43165 @endif gcc-no-bootstrap
43169 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43171 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
43172 configure-target-gperf: maybe-all-target-libstdc++-v3
43174 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43176 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43178 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43180 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43181 configure-target-libjava: maybe-all-target-libstdc++-v3
43183 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43185 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43187 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43189 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43191 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43193 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
43195 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43197 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43199 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43201 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
43204 # There are two types of dependencies here: 'hard' dependencies, where one
43205 # module simply won't build without the other; and 'soft' dependencies, where
43206 # if the depended-on module is missing, the depending module will do without
43207 # or find a substitute somewhere (perhaps installed). Soft dependencies
43208 # are made here to depend on a 'maybe-' target. If you're not sure,
43209 # it's safer to use a soft dependency.
43216 # With all the machinery above in place, it is pretty easy to generate
43217 # dependencies. Host dependencies are a bit more complex because we have
43218 # to check for bootstrap/prebootstrap dependencies. To resolve
43219 # prebootstrap dependencies, prebootstrap modules are gathered in
43220 # a hash table.
43221 all-build-bison: maybe-all-build-texinfo
43222 all-build-byacc: maybe-all-build-texinfo
43223 all-build-flex: maybe-all-build-texinfo
43224 all-build-flex: maybe-all-build-bison
43225 all-build-flex: maybe-all-build-byacc
43226 all-build-flex: maybe-all-build-m4
43227 all-build-libiberty: maybe-all-build-texinfo
43228 all-build-m4: maybe-all-build-texinfo
43229 all-build-fixincludes: maybe-all-build-libiberty
43230 configure-gcc: maybe-configure-intl
43232 configure-stage1-gcc: maybe-configure-stage1-intl
43233 configure-stage2-gcc: maybe-configure-stage2-intl
43234 configure-stage3-gcc: maybe-configure-stage3-intl
43235 configure-stage4-gcc: maybe-configure-stage4-intl
43236 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43237 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43238 configure-gcc: maybe-all-binutils
43240 configure-stage1-gcc: maybe-all-stage1-binutils
43241 configure-stage2-gcc: maybe-all-stage2-binutils
43242 configure-stage3-gcc: maybe-all-stage3-binutils
43243 configure-stage4-gcc: maybe-all-stage4-binutils
43244 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43245 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43246 configure-gcc: maybe-all-gas
43248 configure-stage1-gcc: maybe-all-stage1-gas
43249 configure-stage2-gcc: maybe-all-stage2-gas
43250 configure-stage3-gcc: maybe-all-stage3-gas
43251 configure-stage4-gcc: maybe-all-stage4-gas
43252 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43253 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43254 configure-gcc: maybe-all-ld
43256 configure-stage1-gcc: maybe-all-stage1-ld
43257 configure-stage2-gcc: maybe-all-stage2-ld
43258 configure-stage3-gcc: maybe-all-stage3-ld
43259 configure-stage4-gcc: maybe-all-stage4-ld
43260 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43261 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43262 all-gcc: all-libiberty
43264 all-stage1-gcc: all-stage1-libiberty
43265 all-stage2-gcc: all-stage2-libiberty
43266 all-stage3-gcc: all-stage3-libiberty
43267 all-stage4-gcc: all-stage4-libiberty
43268 all-stageprofile-gcc: all-stageprofile-libiberty
43269 all-stagefeedback-gcc: all-stagefeedback-libiberty
43270 all-gcc: maybe-all-intl
43272 all-stage1-gcc: maybe-all-stage1-intl
43273 all-stage2-gcc: maybe-all-stage2-intl
43274 all-stage3-gcc: maybe-all-stage3-intl
43275 all-stage4-gcc: maybe-all-stage4-intl
43276 all-stageprofile-gcc: maybe-all-stageprofile-intl
43277 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43278 all-gcc: maybe-all-build-texinfo
43280 all-stage1-gcc: maybe-all-build-texinfo
43281 all-stage2-gcc: maybe-all-build-texinfo
43282 all-stage3-gcc: maybe-all-build-texinfo
43283 all-stage4-gcc: maybe-all-build-texinfo
43284 all-stageprofile-gcc: maybe-all-build-texinfo
43285 all-stagefeedback-gcc: maybe-all-build-texinfo
43286 all-gcc: maybe-all-build-bison
43288 all-stage1-gcc: maybe-all-build-bison
43289 all-stage2-gcc: maybe-all-build-bison
43290 all-stage3-gcc: maybe-all-build-bison
43291 all-stage4-gcc: maybe-all-build-bison
43292 all-stageprofile-gcc: maybe-all-build-bison
43293 all-stagefeedback-gcc: maybe-all-build-bison
43294 all-gcc: maybe-all-build-byacc
43296 all-stage1-gcc: maybe-all-build-byacc
43297 all-stage2-gcc: maybe-all-build-byacc
43298 all-stage3-gcc: maybe-all-build-byacc
43299 all-stage4-gcc: maybe-all-build-byacc
43300 all-stageprofile-gcc: maybe-all-build-byacc
43301 all-stagefeedback-gcc: maybe-all-build-byacc
43302 all-gcc: maybe-all-build-flex
43304 all-stage1-gcc: maybe-all-build-flex
43305 all-stage2-gcc: maybe-all-build-flex
43306 all-stage3-gcc: maybe-all-build-flex
43307 all-stage4-gcc: maybe-all-build-flex
43308 all-stageprofile-gcc: maybe-all-build-flex
43309 all-stagefeedback-gcc: maybe-all-build-flex
43310 all-gcc: maybe-all-build-libiberty
43312 all-stage1-gcc: maybe-all-build-libiberty
43313 all-stage2-gcc: maybe-all-build-libiberty
43314 all-stage3-gcc: maybe-all-build-libiberty
43315 all-stage4-gcc: maybe-all-build-libiberty
43316 all-stageprofile-gcc: maybe-all-build-libiberty
43317 all-stagefeedback-gcc: maybe-all-build-libiberty
43318 all-gcc: maybe-all-build-fixincludes
43320 all-stage1-gcc: maybe-all-build-fixincludes
43321 all-stage2-gcc: maybe-all-build-fixincludes
43322 all-stage3-gcc: maybe-all-build-fixincludes
43323 all-stage4-gcc: maybe-all-build-fixincludes
43324 all-stageprofile-gcc: maybe-all-build-fixincludes
43325 all-stagefeedback-gcc: maybe-all-build-fixincludes
43326 all-gcc: maybe-all-zlib
43328 all-stage1-gcc: maybe-all-stage1-zlib
43329 all-stage2-gcc: maybe-all-stage2-zlib
43330 all-stage3-gcc: maybe-all-stage3-zlib
43331 all-stage4-gcc: maybe-all-stage4-zlib
43332 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43333 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43334 all-gcc: all-libcpp
43336 all-stage1-gcc: all-stage1-libcpp
43337 all-stage2-gcc: all-stage2-libcpp
43338 all-stage3-gcc: all-stage3-libcpp
43339 all-stage4-gcc: all-stage4-libcpp
43340 all-stageprofile-gcc: all-stageprofile-libcpp
43341 all-stagefeedback-gcc: all-stagefeedback-libcpp
43342 all-gcc: all-libdecnumber
43344 all-stage1-gcc: all-stage1-libdecnumber
43345 all-stage2-gcc: all-stage2-libdecnumber
43346 all-stage3-gcc: all-stage3-libdecnumber
43347 all-stage4-gcc: all-stage4-libdecnumber
43348 all-stageprofile-gcc: all-stageprofile-libdecnumber
43349 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43350 all-gcc: maybe-all-libiberty
43352 all-stage1-gcc: maybe-all-stage1-libiberty
43353 all-stage2-gcc: maybe-all-stage2-libiberty
43354 all-stage3-gcc: maybe-all-stage3-libiberty
43355 all-stage4-gcc: maybe-all-stage4-libiberty
43356 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43357 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43358 all-gcc: maybe-all-fixincludes
43359 install-gcc: maybe-install-fixincludes
43360 configure-libcpp: configure-libiberty
43362 configure-stage1-libcpp: configure-stage1-libiberty
43363 configure-stage2-libcpp: configure-stage2-libiberty
43364 configure-stage3-libcpp: configure-stage3-libiberty
43365 configure-stage4-libcpp: configure-stage4-libiberty
43366 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43367 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43368 configure-libcpp: maybe-configure-intl
43370 configure-stage1-libcpp: maybe-configure-stage1-intl
43371 configure-stage2-libcpp: maybe-configure-stage2-intl
43372 configure-stage3-libcpp: maybe-configure-stage3-intl
43373 configure-stage4-libcpp: maybe-configure-stage4-intl
43374 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43375 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43376 all-libcpp: all-libiberty
43378 all-stage1-libcpp: all-stage1-libiberty
43379 all-stage2-libcpp: all-stage2-libiberty
43380 all-stage3-libcpp: all-stage3-libiberty
43381 all-stage4-libcpp: all-stage4-libiberty
43382 all-stageprofile-libcpp: all-stageprofile-libiberty
43383 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43384 all-libcpp: maybe-all-intl
43386 all-stage1-libcpp: maybe-all-stage1-intl
43387 all-stage2-libcpp: maybe-all-stage2-intl
43388 all-stage3-libcpp: maybe-all-stage3-intl
43389 all-stage4-libcpp: maybe-all-stage4-intl
43390 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43391 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43392 all-fixincludes: maybe-all-libiberty
43393 all-gnattools: maybe-all-target-libada
43394 configure-gdb: maybe-configure-intl
43395 configure-gdb: maybe-configure-sim
43396 all-gdb: maybe-all-intl
43397 all-gdb: maybe-all-libiberty
43398 all-gdb: maybe-all-opcodes
43399 all-gdb: maybe-all-bfd
43400 all-gdb: maybe-all-readline
43401 all-gdb: maybe-all-build-bison
43402 all-gdb: maybe-all-build-byacc
43403 all-gdb: maybe-all-sim
43404 configure-libgui: maybe-configure-tcl
43405 configure-libgui: maybe-configure-tk
43406 all-libgui: maybe-all-tcl
43407 all-libgui: maybe-all-tk
43408 all-libgui: maybe-all-itcl
43409 configure-bfd: configure-libiberty
43411 configure-stage1-bfd: configure-stage1-libiberty
43412 configure-stage2-bfd: configure-stage2-libiberty
43413 configure-stage3-bfd: configure-stage3-libiberty
43414 configure-stage4-bfd: configure-stage4-libiberty
43415 configure-stageprofile-bfd: configure-stageprofile-libiberty
43416 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43417 configure-bfd: maybe-configure-intl
43419 configure-stage1-bfd: maybe-configure-stage1-intl
43420 configure-stage2-bfd: maybe-configure-stage2-intl
43421 configure-stage3-bfd: maybe-configure-stage3-intl
43422 configure-stage4-bfd: maybe-configure-stage4-intl
43423 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43424 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43425 all-bfd: maybe-all-libiberty
43427 all-stage1-bfd: maybe-all-stage1-libiberty
43428 all-stage2-bfd: maybe-all-stage2-libiberty
43429 all-stage3-bfd: maybe-all-stage3-libiberty
43430 all-stage4-bfd: maybe-all-stage4-libiberty
43431 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43432 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43433 all-bfd: maybe-all-intl
43435 all-stage1-bfd: maybe-all-stage1-intl
43436 all-stage2-bfd: maybe-all-stage2-intl
43437 all-stage3-bfd: maybe-all-stage3-intl
43438 all-stage4-bfd: maybe-all-stage4-intl
43439 all-stageprofile-bfd: maybe-all-stageprofile-intl
43440 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43441 configure-binutils: maybe-configure-intl
43443 configure-stage1-binutils: maybe-configure-stage1-intl
43444 configure-stage2-binutils: maybe-configure-stage2-intl
43445 configure-stage3-binutils: maybe-configure-stage3-intl
43446 configure-stage4-binutils: maybe-configure-stage4-intl
43447 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43448 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43449 all-binutils: maybe-all-libiberty
43451 all-stage1-binutils: maybe-all-stage1-libiberty
43452 all-stage2-binutils: maybe-all-stage2-libiberty
43453 all-stage3-binutils: maybe-all-stage3-libiberty
43454 all-stage4-binutils: maybe-all-stage4-libiberty
43455 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43456 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43457 all-binutils: maybe-all-opcodes
43459 all-stage1-binutils: maybe-all-stage1-opcodes
43460 all-stage2-binutils: maybe-all-stage2-opcodes
43461 all-stage3-binutils: maybe-all-stage3-opcodes
43462 all-stage4-binutils: maybe-all-stage4-opcodes
43463 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43464 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43465 all-binutils: maybe-all-bfd
43467 all-stage1-binutils: maybe-all-stage1-bfd
43468 all-stage2-binutils: maybe-all-stage2-bfd
43469 all-stage3-binutils: maybe-all-stage3-bfd
43470 all-stage4-binutils: maybe-all-stage4-bfd
43471 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43472 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43473 all-binutils: maybe-all-build-flex
43475 all-stage1-binutils: maybe-all-build-flex
43476 all-stage2-binutils: maybe-all-build-flex
43477 all-stage3-binutils: maybe-all-build-flex
43478 all-stage4-binutils: maybe-all-build-flex
43479 all-stageprofile-binutils: maybe-all-build-flex
43480 all-stagefeedback-binutils: maybe-all-build-flex
43481 all-binutils: maybe-all-build-bison
43483 all-stage1-binutils: maybe-all-build-bison
43484 all-stage2-binutils: maybe-all-build-bison
43485 all-stage3-binutils: maybe-all-build-bison
43486 all-stage4-binutils: maybe-all-build-bison
43487 all-stageprofile-binutils: maybe-all-build-bison
43488 all-stagefeedback-binutils: maybe-all-build-bison
43489 all-binutils: maybe-all-build-byacc
43491 all-stage1-binutils: maybe-all-build-byacc
43492 all-stage2-binutils: maybe-all-build-byacc
43493 all-stage3-binutils: maybe-all-build-byacc
43494 all-stage4-binutils: maybe-all-build-byacc
43495 all-stageprofile-binutils: maybe-all-build-byacc
43496 all-stagefeedback-binutils: maybe-all-build-byacc
43497 all-binutils: maybe-all-intl
43499 all-stage1-binutils: maybe-all-stage1-intl
43500 all-stage2-binutils: maybe-all-stage2-intl
43501 all-stage3-binutils: maybe-all-stage3-intl
43502 all-stage4-binutils: maybe-all-stage4-intl
43503 all-stageprofile-binutils: maybe-all-stageprofile-intl
43504 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43505 install-binutils: maybe-install-opcodes
43506 install-opcodes: maybe-install-bfd
43507 configure-gas: maybe-configure-intl
43509 configure-stage1-gas: maybe-configure-stage1-intl
43510 configure-stage2-gas: maybe-configure-stage2-intl
43511 configure-stage3-gas: maybe-configure-stage3-intl
43512 configure-stage4-gas: maybe-configure-stage4-intl
43513 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43514 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43515 all-gas: maybe-all-libiberty
43517 all-stage1-gas: maybe-all-stage1-libiberty
43518 all-stage2-gas: maybe-all-stage2-libiberty
43519 all-stage3-gas: maybe-all-stage3-libiberty
43520 all-stage4-gas: maybe-all-stage4-libiberty
43521 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43522 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43523 all-gas: maybe-all-opcodes
43525 all-stage1-gas: maybe-all-stage1-opcodes
43526 all-stage2-gas: maybe-all-stage2-opcodes
43527 all-stage3-gas: maybe-all-stage3-opcodes
43528 all-stage4-gas: maybe-all-stage4-opcodes
43529 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43530 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43531 all-gas: maybe-all-bfd
43533 all-stage1-gas: maybe-all-stage1-bfd
43534 all-stage2-gas: maybe-all-stage2-bfd
43535 all-stage3-gas: maybe-all-stage3-bfd
43536 all-stage4-gas: maybe-all-stage4-bfd
43537 all-stageprofile-gas: maybe-all-stageprofile-bfd
43538 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43539 all-gas: maybe-all-intl
43541 all-stage1-gas: maybe-all-stage1-intl
43542 all-stage2-gas: maybe-all-stage2-intl
43543 all-stage3-gas: maybe-all-stage3-intl
43544 all-stage4-gas: maybe-all-stage4-intl
43545 all-stageprofile-gas: maybe-all-stageprofile-intl
43546 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43547 configure-gprof: maybe-configure-intl
43548 all-gprof: maybe-all-libiberty
43549 all-gprof: maybe-all-bfd
43550 all-gprof: maybe-all-opcodes
43551 all-gprof: maybe-all-intl
43552 configure-ld: maybe-configure-intl
43554 configure-stage1-ld: maybe-configure-stage1-intl
43555 configure-stage2-ld: maybe-configure-stage2-intl
43556 configure-stage3-ld: maybe-configure-stage3-intl
43557 configure-stage4-ld: maybe-configure-stage4-intl
43558 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43559 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43560 all-ld: maybe-all-libiberty
43562 all-stage1-ld: maybe-all-stage1-libiberty
43563 all-stage2-ld: maybe-all-stage2-libiberty
43564 all-stage3-ld: maybe-all-stage3-libiberty
43565 all-stage4-ld: maybe-all-stage4-libiberty
43566 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43567 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43568 all-ld: maybe-all-bfd
43570 all-stage1-ld: maybe-all-stage1-bfd
43571 all-stage2-ld: maybe-all-stage2-bfd
43572 all-stage3-ld: maybe-all-stage3-bfd
43573 all-stage4-ld: maybe-all-stage4-bfd
43574 all-stageprofile-ld: maybe-all-stageprofile-bfd
43575 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43576 all-ld: maybe-all-opcodes
43578 all-stage1-ld: maybe-all-stage1-opcodes
43579 all-stage2-ld: maybe-all-stage2-opcodes
43580 all-stage3-ld: maybe-all-stage3-opcodes
43581 all-stage4-ld: maybe-all-stage4-opcodes
43582 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43583 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43584 all-ld: maybe-all-build-bison
43586 all-stage1-ld: maybe-all-build-bison
43587 all-stage2-ld: maybe-all-build-bison
43588 all-stage3-ld: maybe-all-build-bison
43589 all-stage4-ld: maybe-all-build-bison
43590 all-stageprofile-ld: maybe-all-build-bison
43591 all-stagefeedback-ld: maybe-all-build-bison
43592 all-ld: maybe-all-build-byacc
43594 all-stage1-ld: maybe-all-build-byacc
43595 all-stage2-ld: maybe-all-build-byacc
43596 all-stage3-ld: maybe-all-build-byacc
43597 all-stage4-ld: maybe-all-build-byacc
43598 all-stageprofile-ld: maybe-all-build-byacc
43599 all-stagefeedback-ld: maybe-all-build-byacc
43600 all-ld: maybe-all-build-flex
43602 all-stage1-ld: maybe-all-build-flex
43603 all-stage2-ld: maybe-all-build-flex
43604 all-stage3-ld: maybe-all-build-flex
43605 all-stage4-ld: maybe-all-build-flex
43606 all-stageprofile-ld: maybe-all-build-flex
43607 all-stagefeedback-ld: maybe-all-build-flex
43608 all-ld: maybe-all-intl
43610 all-stage1-ld: maybe-all-stage1-intl
43611 all-stage2-ld: maybe-all-stage2-intl
43612 all-stage3-ld: maybe-all-stage3-intl
43613 all-stage4-ld: maybe-all-stage4-intl
43614 all-stageprofile-ld: maybe-all-stageprofile-intl
43615 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43616 configure-opcodes: maybe-configure-intl
43618 configure-stage1-opcodes: maybe-configure-stage1-intl
43619 configure-stage2-opcodes: maybe-configure-stage2-intl
43620 configure-stage3-opcodes: maybe-configure-stage3-intl
43621 configure-stage4-opcodes: maybe-configure-stage4-intl
43622 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43623 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43624 all-opcodes: maybe-all-bfd
43626 all-stage1-opcodes: maybe-all-stage1-bfd
43627 all-stage2-opcodes: maybe-all-stage2-bfd
43628 all-stage3-opcodes: maybe-all-stage3-bfd
43629 all-stage4-opcodes: maybe-all-stage4-bfd
43630 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43631 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43632 all-opcodes: maybe-all-libiberty
43634 all-stage1-opcodes: maybe-all-stage1-libiberty
43635 all-stage2-opcodes: maybe-all-stage2-libiberty
43636 all-stage3-opcodes: maybe-all-stage3-libiberty
43637 all-stage4-opcodes: maybe-all-stage4-libiberty
43638 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43639 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43640 all-opcodes: maybe-all-intl
43642 all-stage1-opcodes: maybe-all-stage1-intl
43643 all-stage2-opcodes: maybe-all-stage2-intl
43644 all-stage3-opcodes: maybe-all-stage3-intl
43645 all-stage4-opcodes: maybe-all-stage4-intl
43646 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43647 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43648 all-dejagnu: maybe-all-tcl
43649 all-dejagnu: maybe-all-expect
43650 all-dejagnu: maybe-all-tk
43651 configure-expect: maybe-configure-tcl
43652 configure-expect: maybe-configure-tk
43653 all-expect: maybe-all-tcl
43654 all-expect: maybe-all-tk
43655 configure-itcl: maybe-configure-tcl
43656 configure-itcl: maybe-configure-tk
43657 all-itcl: maybe-all-tcl
43658 all-itcl: maybe-all-tk
43659 install-itcl: maybe-install-tcl
43660 configure-tk: maybe-configure-tcl
43661 all-tk: maybe-all-tcl
43662 all-sid: maybe-all-libiberty
43663 all-sid: maybe-all-bfd
43664 all-sid: maybe-all-opcodes
43665 all-sid: maybe-all-tcl
43666 all-sid: maybe-all-tk
43667 install-sid: maybe-install-tcl
43668 install-sid: maybe-install-tk
43669 configure-sim: maybe-configure-intl
43670 all-sim: maybe-all-intl
43671 all-sim: maybe-all-libiberty
43672 all-sim: maybe-all-bfd
43673 all-sim: maybe-all-opcodes
43674 all-sim: maybe-all-readline
43675 all-sim: maybe-configure-gdb
43676 all-fastjar: maybe-all-zlib
43677 all-fastjar: maybe-all-build-texinfo
43678 all-fastjar: maybe-all-libiberty
43679 all-autoconf: maybe-all-m4
43680 all-autoconf: maybe-all-build-texinfo
43681 all-automake: maybe-all-m4
43682 all-automake: maybe-all-build-texinfo
43683 all-automake: maybe-all-autoconf
43684 all-bison: maybe-all-intl
43685 all-bison: maybe-all-build-texinfo
43686 all-diff: maybe-all-intl
43687 all-diff: maybe-all-build-texinfo
43688 all-fileutils: maybe-all-intl
43689 all-fileutils: maybe-all-build-texinfo
43690 all-flex: maybe-all-build-bison
43691 all-flex: maybe-all-build-byacc
43692 all-flex: maybe-all-intl
43693 all-flex: maybe-all-m4
43694 all-flex: maybe-all-build-texinfo
43695 all-gzip: maybe-all-intl
43696 all-gzip: maybe-all-zlib
43697 all-gzip: maybe-all-build-texinfo
43698 all-hello: maybe-all-intl
43699 all-hello: maybe-all-build-texinfo
43700 all-m4: maybe-all-intl
43701 all-m4: maybe-all-build-texinfo
43702 all-make: maybe-all-intl
43703 all-make: maybe-all-build-texinfo
43704 all-patch: maybe-all-build-texinfo
43705 all-make: maybe-all-build-texinfo
43706 all-prms: maybe-all-libiberty
43707 all-recode: maybe-all-build-texinfo
43708 all-sed: maybe-all-build-texinfo
43709 all-send-pr: maybe-all-prms
43710 all-tar: maybe-all-build-texinfo
43711 all-uudecode: maybe-all-build-texinfo
43712 configure-target-boehm-gc: maybe-configure-target-qthreads
43713 configure-target-fastjar: maybe-configure-target-zlib
43714 all-target-fastjar: maybe-all-target-zlib
43715 all-target-fastjar: maybe-all-target-libiberty
43716 configure-target-libjava: maybe-configure-target-zlib
43717 configure-target-libjava: maybe-configure-target-boehm-gc
43718 configure-target-libjava: maybe-configure-target-qthreads
43719 configure-target-libjava: maybe-configure-target-libffi
43720 all-target-libjava: maybe-all-fastjar
43721 all-target-libjava: maybe-all-target-zlib
43722 all-target-libjava: maybe-all-target-boehm-gc
43723 all-target-libjava: maybe-all-target-qthreads
43724 all-target-libjava: maybe-all-target-libffi
43725 configure-target-libobjc: maybe-configure-target-boehm-gc
43726 all-target-libobjc: maybe-all-target-libiberty
43727 all-target-libobjc: maybe-all-target-boehm-gc
43728 all-target-libstdc++-v3: maybe-all-target-libiberty
43729 install-target-libssp: maybe-install-gcc
43730 install-target-libgomp: maybe-install-gcc
43731 all-target-libgloss: maybe-configure-target-newlib
43732 all-target-winsup: maybe-all-target-libiberty
43733 all-target-winsup: maybe-all-target-libtermcap
43736 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43737 GDB_TK = @GDB_TK@
43738 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43739 configure-gdb: $(CONFIGURE_GDB_TK)
43740 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43741 install-gdb: $(INSTALL_GDB_TK)
43743 # Serialization dependencies. Host configures don't work well in parallel to
43744 # each other, due to contention over config.cache. Target configures and
43745 # build configures are similar.
43746 @serialization_dependencies@
43748 # --------------------------------
43749 # Regenerating top level configury
43750 # --------------------------------
43752 # Rebuilding Makefile.in, using autogen.
43753 AUTOGEN = autogen
43754 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43755 cd $(srcdir) && $(AUTOGEN) Makefile.def
43757 # Rebuilding Makefile.
43758 Makefile: $(srcdir)/Makefile.in config.status
43759 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43761 config.status: configure
43762 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43764 # Rebuilding configure.
43765 AUTOCONF = autoconf
43766 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
43767 cd $(srcdir) && $(AUTOCONF)
43769 # ------------------------------
43770 # Special directives to GNU Make
43771 # ------------------------------
43773 # Don't pass command-line variables to submakes.
43774 .NOEXPORT:
43775 MAKEOVERRIDES=
43777 # end of Makefile.in