PR c++/19564
[official-gcc.git] / Makefile.in
blob261d6cc3c24b7a19dfc2d942c7920be95f7f6e3b
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 # -----------------------------------------------
301 # Programs producing files for the TARGET machine
302 # -----------------------------------------------
304 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
306 AR_FOR_TARGET=@AR_FOR_TARGET@
307 AS_FOR_TARGET=@AS_FOR_TARGET@
308 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
310 # If GCC_FOR_TARGET is not overriden on the command line, then this
311 # variable is passed down to the gcc Makefile, where it is used to
312 # build libgcc2.a. We define it here so that it can itself be
313 # overridden on the command line.
314 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
317 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
318 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
319 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
320 LD_FOR_TARGET=@LD_FOR_TARGET@
322 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
323 NM_FOR_TARGET=@NM_FOR_TARGET@
324 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
325 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
326 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
327 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
329 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
330 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
331 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
333 # During gcc bootstrap, if we use some random cc for stage1 then
334 # CFLAGS will be just -g. We want to ensure that TARGET libraries
335 # (which we know are built with gcc) are built with optimizations so
336 # prepend -O2 when setting CFLAGS_FOR_TARGET.
337 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
338 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
339 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
340 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
341 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
342 LDFLAGS_FOR_TARGET =
343 PICFLAG_FOR_TARGET =
345 # ------------------------------------
346 # Miscellaneous targets and flag lists
347 # ------------------------------------
349 # The first rule in the file had better be this one. Don't put any above it.
350 # This lives here to allow makefile fragments to contain dependencies.
351 all:
353 #### host and target specific makefile fragments come in here.
354 @target_makefile_frag@
355 @alphaieee_frag@
356 @ospace_frag@
357 @host_makefile_frag@
360 # This is the list of directories that may be needed in RPATH_ENVVAR
361 # so that prorgams built for the target machine work.
362 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
364 @if target-libstdc++-v3
365 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
366 @endif target-libstdc++-v3
368 @if target-libmudflap
369 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
370 @endif target-libmudflap
372 @if target-libssp
373 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
374 @endif target-libssp
376 @if target-libgomp
377 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
378 @endif target-libgomp
382 # This is the list of directories that may be needed in RPATH_ENVVAR
383 # so that programs built for the host machine work.
384 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
386 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
387 @if gcc
388 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
389 @endif gcc
392 @if bfd
393 HOST_LIB_PATH_bfd = \
394 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
395 @endif bfd
397 @if opcodes
398 HOST_LIB_PATH_opcodes = \
399 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
400 @endif opcodes
403 # Flags to pass down to all sub-makes.
404 BASE_FLAGS_TO_PASS = \
405 "DESTDIR=$(DESTDIR)" \
406 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
407 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
408 "bindir=$(bindir)" \
409 "datadir=$(datadir)" \
410 "exec_prefix=$(exec_prefix)" \
411 "includedir=$(includedir)" \
412 "datarootdir=$(datarootdir)" \
413 "docdir=$(docdir)" \
414 "infodir=$(infodir)" \
415 "htmldir=$(htmldir)" \
416 "libdir=$(libdir)" \
417 "libexecdir=$(libexecdir)" \
418 "lispdir=$(lispdir)" \
419 "localstatedir=$(localstatedir)" \
420 "mandir=$(mandir)" \
421 "oldincludedir=$(oldincludedir)" \
422 "prefix=$(prefix)" \
423 "sbindir=$(sbindir)" \
424 "sharedstatedir=$(sharedstatedir)" \
425 "sysconfdir=$(sysconfdir)" \
426 "tooldir=$(tooldir)" \
427 "build_tooldir=$(build_tooldir)" \
428 "target_alias=$(target_alias)" \
429 "BISON=$(BISON)" \
430 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
431 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
432 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
433 "EXPECT=$(EXPECT)" \
434 "FLEX=$(FLEX)" \
435 "INSTALL=$(INSTALL)" \
436 "INSTALL_DATA=$(INSTALL_DATA)" \
437 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
438 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
439 "LEX=$(LEX)" \
440 "M4=$(M4)" \
441 "MAKE=$(MAKE)" \
442 "RUNTEST=$(RUNTEST)" \
443 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
444 "SHELL=$(SHELL)" \
445 "YACC=$(YACC)" \
446 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
447 "AR_FLAGS=$(AR_FLAGS)" \
448 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
449 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
450 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
451 "CFLAGS=$(CFLAGS)" \
452 "CXXFLAGS=$(CXXFLAGS)" \
453 "LDFLAGS=$(LDFLAGS)" \
454 "LIBCFLAGS=$(LIBCFLAGS)" \
455 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
456 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
457 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
458 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
459 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
460 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
461 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
462 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
463 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
464 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
465 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
466 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
467 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
468 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
469 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
470 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
471 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
472 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
473 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
474 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
475 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
476 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
477 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
478 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
479 "LEAN=$(LEAN)" \
480 "CONFIG_SHELL=$(SHELL)" \
481 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
483 # We leave this in just in case, but it is not needed anymore.
484 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
486 # Flags to pass down to most sub-makes, in which we're building with
487 # the host environment.
488 EXTRA_HOST_FLAGS = \
489 'AR=$(AR)' \
490 'AS=$(AS)' \
491 'CC=$(CC)' \
492 'CXX=$(CXX)' \
493 'DLLTOOL=$(DLLTOOL)' \
494 'LD=$(LD)' \
495 'LIPO=$(LIPO)' \
496 'NM=$(NM)' \
497 'OBJDUMP=$(OBJDUMP)' \
498 'RANLIB=$(RANLIB)' \
499 'STRIP=$(STRIP)' \
500 'WINDRES=$(WINDRES)'
502 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
504 # Flags that are concerned with the location of the X11 include files
505 # and library files
507 # NOTE: until the top-level is getting the values via autoconf, it only
508 # causes problems to have this top-level Makefile overriding the autoconf-set
509 # values in child directories. Only variables that don't conflict with
510 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
512 X11_FLAGS_TO_PASS = \
513 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
514 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
516 # Flags to pass down to makes which are built with the target environment.
517 # The double $ decreases the length of the command line; those variables
518 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
519 # COMPILER_ prefixed variables are not passed down so we expand them here.
520 EXTRA_TARGET_FLAGS = \
521 'AR=$$(AR_FOR_TARGET)' \
522 'AS=$(COMPILER_AS_FOR_TARGET)' \
523 'CC=$$(CC_FOR_TARGET)' \
524 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
525 'CXX=$$(CXX_FOR_TARGET)' \
526 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
527 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
528 'LD=$(COMPILER_LD_FOR_TARGET)' \
529 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
530 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
531 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
532 'NM=$(COMPILER_NM_FOR_TARGET)' \
533 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
534 'RANLIB=$$(RANLIB_FOR_TARGET)' \
535 'WINDRES=$$(WINDRES_FOR_TARGET)'
537 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
539 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
540 # unfortunately needs the native compiler and the target ar and
541 # ranlib.
542 # If any variables are added here, they must be added to do-*, below.
543 # The BUILD_* variables are a special case, which are used for the gcc
544 # cross-building scheme.
545 EXTRA_GCC_FLAGS = \
546 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
547 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
549 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
550 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
551 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
553 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
555 .PHONY: configure-host
556 configure-host: \
557 maybe-configure-ash \
558 maybe-configure-autoconf \
559 maybe-configure-automake \
560 maybe-configure-bash \
561 maybe-configure-bfd \
562 maybe-configure-opcodes \
563 maybe-configure-binutils \
564 maybe-configure-bison \
565 maybe-configure-byacc \
566 maybe-configure-bzip2 \
567 maybe-configure-dejagnu \
568 maybe-configure-diff \
569 maybe-configure-dosutils \
570 maybe-configure-etc \
571 maybe-configure-fastjar \
572 maybe-configure-fileutils \
573 maybe-configure-findutils \
574 maybe-configure-find \
575 maybe-configure-fixincludes \
576 maybe-configure-flex \
577 maybe-configure-gas \
578 maybe-configure-gcc \
579 maybe-configure-gawk \
580 maybe-configure-gettext \
581 maybe-configure-gnuserv \
582 maybe-configure-gprof \
583 maybe-configure-gzip \
584 maybe-configure-hello \
585 maybe-configure-indent \
586 maybe-configure-intl \
587 maybe-configure-tcl \
588 maybe-configure-itcl \
589 maybe-configure-ld \
590 maybe-configure-libcpp \
591 maybe-configure-libdecnumber \
592 maybe-configure-libgui \
593 maybe-configure-libiberty \
594 maybe-configure-libtool \
595 maybe-configure-m4 \
596 maybe-configure-make \
597 maybe-configure-mmalloc \
598 maybe-configure-patch \
599 maybe-configure-perl \
600 maybe-configure-prms \
601 maybe-configure-rcs \
602 maybe-configure-readline \
603 maybe-configure-release \
604 maybe-configure-recode \
605 maybe-configure-sed \
606 maybe-configure-send-pr \
607 maybe-configure-shellutils \
608 maybe-configure-sid \
609 maybe-configure-sim \
610 maybe-configure-tar \
611 maybe-configure-texinfo \
612 maybe-configure-textutils \
613 maybe-configure-time \
614 maybe-configure-uudecode \
615 maybe-configure-wdiff \
616 maybe-configure-zip \
617 maybe-configure-zlib \
618 maybe-configure-gdb \
619 maybe-configure-expect \
620 maybe-configure-guile \
621 maybe-configure-tk \
622 maybe-configure-libtermcap \
623 maybe-configure-utils \
624 maybe-configure-gnattools
625 .PHONY: configure-target
626 configure-target: \
627 maybe-configure-target-libstdc++-v3 \
628 maybe-configure-target-libmudflap \
629 maybe-configure-target-libssp \
630 maybe-configure-target-newlib \
631 maybe-configure-target-libgfortran \
632 maybe-configure-target-libobjc \
633 maybe-configure-target-libtermcap \
634 maybe-configure-target-winsup \
635 maybe-configure-target-libgloss \
636 maybe-configure-target-libiberty \
637 maybe-configure-target-gperf \
638 maybe-configure-target-examples \
639 maybe-configure-target-libffi \
640 maybe-configure-target-libjava \
641 maybe-configure-target-zlib \
642 maybe-configure-target-boehm-gc \
643 maybe-configure-target-qthreads \
644 maybe-configure-target-rda \
645 maybe-configure-target-libada \
646 maybe-configure-target-libgomp
648 # The target built for a native non-bootstrap build.
649 .PHONY: all
650 all:
651 @if gcc-bootstrap
652 [ -f stage_final ] || echo stage3 > stage_final
653 @r=`${PWD_COMMAND}`; export r; \
654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
655 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
656 @endif gcc-bootstrap
657 @: $(MAKE); $(unstage)
658 @r=`${PWD_COMMAND}`; export r; \
659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
660 if [ -f stage_last ]; then \
661 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
662 else \
663 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
666 .PHONY: all-build
668 all-build: maybe-all-build-libiberty
669 all-build: maybe-all-build-bison
670 all-build: maybe-all-build-byacc
671 all-build: maybe-all-build-flex
672 all-build: maybe-all-build-m4
673 all-build: maybe-all-build-texinfo
674 all-build: maybe-all-build-fixincludes
676 .PHONY: all-host
678 all-host: maybe-all-ash
679 all-host: maybe-all-autoconf
680 all-host: maybe-all-automake
681 all-host: maybe-all-bash
682 @if bfd-no-bootstrap
683 all-host: maybe-all-bfd
684 @endif bfd-no-bootstrap
685 @if opcodes-no-bootstrap
686 all-host: maybe-all-opcodes
687 @endif opcodes-no-bootstrap
688 @if binutils-no-bootstrap
689 all-host: maybe-all-binutils
690 @endif binutils-no-bootstrap
691 all-host: maybe-all-bison
692 all-host: maybe-all-byacc
693 all-host: maybe-all-bzip2
694 all-host: maybe-all-dejagnu
695 all-host: maybe-all-diff
696 all-host: maybe-all-dosutils
697 all-host: maybe-all-etc
698 all-host: maybe-all-fastjar
699 all-host: maybe-all-fileutils
700 all-host: maybe-all-findutils
701 all-host: maybe-all-find
702 all-host: maybe-all-fixincludes
703 all-host: maybe-all-flex
704 @if gas-no-bootstrap
705 all-host: maybe-all-gas
706 @endif gas-no-bootstrap
707 @if gcc-no-bootstrap
708 all-host: maybe-all-gcc
709 @endif gcc-no-bootstrap
710 all-host: maybe-all-gawk
711 all-host: maybe-all-gettext
712 all-host: maybe-all-gnuserv
713 all-host: maybe-all-gprof
714 all-host: maybe-all-gzip
715 all-host: maybe-all-hello
716 all-host: maybe-all-indent
717 @if intl-no-bootstrap
718 all-host: maybe-all-intl
719 @endif intl-no-bootstrap
720 all-host: maybe-all-tcl
721 all-host: maybe-all-itcl
722 @if ld-no-bootstrap
723 all-host: maybe-all-ld
724 @endif ld-no-bootstrap
725 @if libcpp-no-bootstrap
726 all-host: maybe-all-libcpp
727 @endif libcpp-no-bootstrap
728 @if libdecnumber-no-bootstrap
729 all-host: maybe-all-libdecnumber
730 @endif libdecnumber-no-bootstrap
731 all-host: maybe-all-libgui
732 @if libiberty-no-bootstrap
733 all-host: maybe-all-libiberty
734 @endif libiberty-no-bootstrap
735 all-host: maybe-all-libtool
736 all-host: maybe-all-m4
737 all-host: maybe-all-make
738 all-host: maybe-all-mmalloc
739 all-host: maybe-all-patch
740 all-host: maybe-all-perl
741 all-host: maybe-all-prms
742 all-host: maybe-all-rcs
743 all-host: maybe-all-readline
744 all-host: maybe-all-release
745 all-host: maybe-all-recode
746 all-host: maybe-all-sed
747 all-host: maybe-all-send-pr
748 all-host: maybe-all-shellutils
749 all-host: maybe-all-sid
750 all-host: maybe-all-sim
751 all-host: maybe-all-tar
752 all-host: maybe-all-texinfo
753 all-host: maybe-all-textutils
754 all-host: maybe-all-time
755 all-host: maybe-all-uudecode
756 all-host: maybe-all-wdiff
757 all-host: maybe-all-zip
758 @if zlib-no-bootstrap
759 all-host: maybe-all-zlib
760 @endif zlib-no-bootstrap
761 all-host: maybe-all-gdb
762 all-host: maybe-all-expect
763 all-host: maybe-all-guile
764 all-host: maybe-all-tk
765 all-host: maybe-all-libtermcap
766 all-host: maybe-all-utils
767 all-host: maybe-all-gnattools
769 .PHONY: all-target
771 all-target: maybe-all-target-libstdc++-v3
772 all-target: maybe-all-target-libmudflap
773 all-target: maybe-all-target-libssp
774 all-target: maybe-all-target-newlib
775 all-target: maybe-all-target-libgfortran
776 all-target: maybe-all-target-libobjc
777 all-target: maybe-all-target-libtermcap
778 all-target: maybe-all-target-winsup
779 all-target: maybe-all-target-libgloss
780 all-target: maybe-all-target-libiberty
781 all-target: maybe-all-target-gperf
782 all-target: maybe-all-target-examples
783 all-target: maybe-all-target-libffi
784 all-target: maybe-all-target-libjava
785 all-target: maybe-all-target-zlib
786 all-target: maybe-all-target-boehm-gc
787 all-target: maybe-all-target-qthreads
788 all-target: maybe-all-target-rda
789 all-target: maybe-all-target-libada
790 all-target: maybe-all-target-libgomp
792 # Do a target for all the subdirectories. A ``make do-X'' will do a
793 # ``make X'' in all subdirectories (because, in general, there is a
794 # dependency (below) of X upon do-X, a ``make X'' will also do this,
795 # but it may do additional work as well).
797 .PHONY: do-info
798 do-info:
799 @: $(MAKE); $(unstage)
800 @r=`${PWD_COMMAND}`; export r; \
801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
803 info-target
806 .PHONY: info-host
808 info-host: maybe-info-ash
809 info-host: maybe-info-autoconf
810 info-host: maybe-info-automake
811 info-host: maybe-info-bash
812 info-host: maybe-info-bfd
813 info-host: maybe-info-opcodes
814 info-host: maybe-info-binutils
815 info-host: maybe-info-bison
816 info-host: maybe-info-byacc
817 info-host: maybe-info-bzip2
818 info-host: maybe-info-dejagnu
819 info-host: maybe-info-diff
820 info-host: maybe-info-dosutils
821 info-host: maybe-info-etc
822 info-host: maybe-info-fastjar
823 info-host: maybe-info-fileutils
824 info-host: maybe-info-findutils
825 info-host: maybe-info-find
826 info-host: maybe-info-fixincludes
827 info-host: maybe-info-flex
828 info-host: maybe-info-gas
829 info-host: maybe-info-gcc
830 info-host: maybe-info-gawk
831 info-host: maybe-info-gettext
832 info-host: maybe-info-gnuserv
833 info-host: maybe-info-gprof
834 info-host: maybe-info-gzip
835 info-host: maybe-info-hello
836 info-host: maybe-info-indent
837 info-host: maybe-info-intl
838 info-host: maybe-info-tcl
839 info-host: maybe-info-itcl
840 info-host: maybe-info-ld
841 info-host: maybe-info-libcpp
842 info-host: maybe-info-libdecnumber
843 info-host: maybe-info-libgui
844 info-host: maybe-info-libiberty
845 info-host: maybe-info-libtool
846 info-host: maybe-info-m4
847 info-host: maybe-info-make
848 info-host: maybe-info-mmalloc
849 info-host: maybe-info-patch
850 info-host: maybe-info-perl
851 info-host: maybe-info-prms
852 info-host: maybe-info-rcs
853 info-host: maybe-info-readline
854 info-host: maybe-info-release
855 info-host: maybe-info-recode
856 info-host: maybe-info-sed
857 info-host: maybe-info-send-pr
858 info-host: maybe-info-shellutils
859 info-host: maybe-info-sid
860 info-host: maybe-info-sim
861 info-host: maybe-info-tar
862 info-host: maybe-info-texinfo
863 info-host: maybe-info-textutils
864 info-host: maybe-info-time
865 info-host: maybe-info-uudecode
866 info-host: maybe-info-wdiff
867 info-host: maybe-info-zip
868 info-host: maybe-info-zlib
869 info-host: maybe-info-gdb
870 info-host: maybe-info-expect
871 info-host: maybe-info-guile
872 info-host: maybe-info-tk
873 info-host: maybe-info-libtermcap
874 info-host: maybe-info-utils
875 info-host: maybe-info-gnattools
877 .PHONY: info-target
879 info-target: maybe-info-target-libstdc++-v3
880 info-target: maybe-info-target-libmudflap
881 info-target: maybe-info-target-libssp
882 info-target: maybe-info-target-newlib
883 info-target: maybe-info-target-libgfortran
884 info-target: maybe-info-target-libobjc
885 info-target: maybe-info-target-libtermcap
886 info-target: maybe-info-target-winsup
887 info-target: maybe-info-target-libgloss
888 info-target: maybe-info-target-libiberty
889 info-target: maybe-info-target-gperf
890 info-target: maybe-info-target-examples
891 info-target: maybe-info-target-libffi
892 info-target: maybe-info-target-libjava
893 info-target: maybe-info-target-zlib
894 info-target: maybe-info-target-boehm-gc
895 info-target: maybe-info-target-qthreads
896 info-target: maybe-info-target-rda
897 info-target: maybe-info-target-libada
898 info-target: maybe-info-target-libgomp
900 .PHONY: do-dvi
901 do-dvi:
902 @: $(MAKE); $(unstage)
903 @r=`${PWD_COMMAND}`; export r; \
904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
905 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
906 dvi-target
909 .PHONY: dvi-host
911 dvi-host: maybe-dvi-ash
912 dvi-host: maybe-dvi-autoconf
913 dvi-host: maybe-dvi-automake
914 dvi-host: maybe-dvi-bash
915 dvi-host: maybe-dvi-bfd
916 dvi-host: maybe-dvi-opcodes
917 dvi-host: maybe-dvi-binutils
918 dvi-host: maybe-dvi-bison
919 dvi-host: maybe-dvi-byacc
920 dvi-host: maybe-dvi-bzip2
921 dvi-host: maybe-dvi-dejagnu
922 dvi-host: maybe-dvi-diff
923 dvi-host: maybe-dvi-dosutils
924 dvi-host: maybe-dvi-etc
925 dvi-host: maybe-dvi-fastjar
926 dvi-host: maybe-dvi-fileutils
927 dvi-host: maybe-dvi-findutils
928 dvi-host: maybe-dvi-find
929 dvi-host: maybe-dvi-fixincludes
930 dvi-host: maybe-dvi-flex
931 dvi-host: maybe-dvi-gas
932 dvi-host: maybe-dvi-gcc
933 dvi-host: maybe-dvi-gawk
934 dvi-host: maybe-dvi-gettext
935 dvi-host: maybe-dvi-gnuserv
936 dvi-host: maybe-dvi-gprof
937 dvi-host: maybe-dvi-gzip
938 dvi-host: maybe-dvi-hello
939 dvi-host: maybe-dvi-indent
940 dvi-host: maybe-dvi-intl
941 dvi-host: maybe-dvi-tcl
942 dvi-host: maybe-dvi-itcl
943 dvi-host: maybe-dvi-ld
944 dvi-host: maybe-dvi-libcpp
945 dvi-host: maybe-dvi-libdecnumber
946 dvi-host: maybe-dvi-libgui
947 dvi-host: maybe-dvi-libiberty
948 dvi-host: maybe-dvi-libtool
949 dvi-host: maybe-dvi-m4
950 dvi-host: maybe-dvi-make
951 dvi-host: maybe-dvi-mmalloc
952 dvi-host: maybe-dvi-patch
953 dvi-host: maybe-dvi-perl
954 dvi-host: maybe-dvi-prms
955 dvi-host: maybe-dvi-rcs
956 dvi-host: maybe-dvi-readline
957 dvi-host: maybe-dvi-release
958 dvi-host: maybe-dvi-recode
959 dvi-host: maybe-dvi-sed
960 dvi-host: maybe-dvi-send-pr
961 dvi-host: maybe-dvi-shellutils
962 dvi-host: maybe-dvi-sid
963 dvi-host: maybe-dvi-sim
964 dvi-host: maybe-dvi-tar
965 dvi-host: maybe-dvi-texinfo
966 dvi-host: maybe-dvi-textutils
967 dvi-host: maybe-dvi-time
968 dvi-host: maybe-dvi-uudecode
969 dvi-host: maybe-dvi-wdiff
970 dvi-host: maybe-dvi-zip
971 dvi-host: maybe-dvi-zlib
972 dvi-host: maybe-dvi-gdb
973 dvi-host: maybe-dvi-expect
974 dvi-host: maybe-dvi-guile
975 dvi-host: maybe-dvi-tk
976 dvi-host: maybe-dvi-libtermcap
977 dvi-host: maybe-dvi-utils
978 dvi-host: maybe-dvi-gnattools
980 .PHONY: dvi-target
982 dvi-target: maybe-dvi-target-libstdc++-v3
983 dvi-target: maybe-dvi-target-libmudflap
984 dvi-target: maybe-dvi-target-libssp
985 dvi-target: maybe-dvi-target-newlib
986 dvi-target: maybe-dvi-target-libgfortran
987 dvi-target: maybe-dvi-target-libobjc
988 dvi-target: maybe-dvi-target-libtermcap
989 dvi-target: maybe-dvi-target-winsup
990 dvi-target: maybe-dvi-target-libgloss
991 dvi-target: maybe-dvi-target-libiberty
992 dvi-target: maybe-dvi-target-gperf
993 dvi-target: maybe-dvi-target-examples
994 dvi-target: maybe-dvi-target-libffi
995 dvi-target: maybe-dvi-target-libjava
996 dvi-target: maybe-dvi-target-zlib
997 dvi-target: maybe-dvi-target-boehm-gc
998 dvi-target: maybe-dvi-target-qthreads
999 dvi-target: maybe-dvi-target-rda
1000 dvi-target: maybe-dvi-target-libada
1001 dvi-target: maybe-dvi-target-libgomp
1003 .PHONY: do-pdf
1004 do-pdf:
1005 @: $(MAKE); $(unstage)
1006 @r=`${PWD_COMMAND}`; export r; \
1007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1008 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1009 pdf-target
1012 .PHONY: pdf-host
1014 pdf-host: maybe-pdf-ash
1015 pdf-host: maybe-pdf-autoconf
1016 pdf-host: maybe-pdf-automake
1017 pdf-host: maybe-pdf-bash
1018 pdf-host: maybe-pdf-bfd
1019 pdf-host: maybe-pdf-opcodes
1020 pdf-host: maybe-pdf-binutils
1021 pdf-host: maybe-pdf-bison
1022 pdf-host: maybe-pdf-byacc
1023 pdf-host: maybe-pdf-bzip2
1024 pdf-host: maybe-pdf-dejagnu
1025 pdf-host: maybe-pdf-diff
1026 pdf-host: maybe-pdf-dosutils
1027 pdf-host: maybe-pdf-etc
1028 pdf-host: maybe-pdf-fastjar
1029 pdf-host: maybe-pdf-fileutils
1030 pdf-host: maybe-pdf-findutils
1031 pdf-host: maybe-pdf-find
1032 pdf-host: maybe-pdf-fixincludes
1033 pdf-host: maybe-pdf-flex
1034 pdf-host: maybe-pdf-gas
1035 pdf-host: maybe-pdf-gcc
1036 pdf-host: maybe-pdf-gawk
1037 pdf-host: maybe-pdf-gettext
1038 pdf-host: maybe-pdf-gnuserv
1039 pdf-host: maybe-pdf-gprof
1040 pdf-host: maybe-pdf-gzip
1041 pdf-host: maybe-pdf-hello
1042 pdf-host: maybe-pdf-indent
1043 pdf-host: maybe-pdf-intl
1044 pdf-host: maybe-pdf-tcl
1045 pdf-host: maybe-pdf-itcl
1046 pdf-host: maybe-pdf-ld
1047 pdf-host: maybe-pdf-libcpp
1048 pdf-host: maybe-pdf-libdecnumber
1049 pdf-host: maybe-pdf-libgui
1050 pdf-host: maybe-pdf-libiberty
1051 pdf-host: maybe-pdf-libtool
1052 pdf-host: maybe-pdf-m4
1053 pdf-host: maybe-pdf-make
1054 pdf-host: maybe-pdf-mmalloc
1055 pdf-host: maybe-pdf-patch
1056 pdf-host: maybe-pdf-perl
1057 pdf-host: maybe-pdf-prms
1058 pdf-host: maybe-pdf-rcs
1059 pdf-host: maybe-pdf-readline
1060 pdf-host: maybe-pdf-release
1061 pdf-host: maybe-pdf-recode
1062 pdf-host: maybe-pdf-sed
1063 pdf-host: maybe-pdf-send-pr
1064 pdf-host: maybe-pdf-shellutils
1065 pdf-host: maybe-pdf-sid
1066 pdf-host: maybe-pdf-sim
1067 pdf-host: maybe-pdf-tar
1068 pdf-host: maybe-pdf-texinfo
1069 pdf-host: maybe-pdf-textutils
1070 pdf-host: maybe-pdf-time
1071 pdf-host: maybe-pdf-uudecode
1072 pdf-host: maybe-pdf-wdiff
1073 pdf-host: maybe-pdf-zip
1074 pdf-host: maybe-pdf-zlib
1075 pdf-host: maybe-pdf-gdb
1076 pdf-host: maybe-pdf-expect
1077 pdf-host: maybe-pdf-guile
1078 pdf-host: maybe-pdf-tk
1079 pdf-host: maybe-pdf-libtermcap
1080 pdf-host: maybe-pdf-utils
1081 pdf-host: maybe-pdf-gnattools
1083 .PHONY: pdf-target
1085 pdf-target: maybe-pdf-target-libstdc++-v3
1086 pdf-target: maybe-pdf-target-libmudflap
1087 pdf-target: maybe-pdf-target-libssp
1088 pdf-target: maybe-pdf-target-newlib
1089 pdf-target: maybe-pdf-target-libgfortran
1090 pdf-target: maybe-pdf-target-libobjc
1091 pdf-target: maybe-pdf-target-libtermcap
1092 pdf-target: maybe-pdf-target-winsup
1093 pdf-target: maybe-pdf-target-libgloss
1094 pdf-target: maybe-pdf-target-libiberty
1095 pdf-target: maybe-pdf-target-gperf
1096 pdf-target: maybe-pdf-target-examples
1097 pdf-target: maybe-pdf-target-libffi
1098 pdf-target: maybe-pdf-target-libjava
1099 pdf-target: maybe-pdf-target-zlib
1100 pdf-target: maybe-pdf-target-boehm-gc
1101 pdf-target: maybe-pdf-target-qthreads
1102 pdf-target: maybe-pdf-target-rda
1103 pdf-target: maybe-pdf-target-libada
1104 pdf-target: maybe-pdf-target-libgomp
1106 .PHONY: do-html
1107 do-html:
1108 @: $(MAKE); $(unstage)
1109 @r=`${PWD_COMMAND}`; export r; \
1110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1111 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1112 html-target
1115 .PHONY: html-host
1117 html-host: maybe-html-ash
1118 html-host: maybe-html-autoconf
1119 html-host: maybe-html-automake
1120 html-host: maybe-html-bash
1121 html-host: maybe-html-bfd
1122 html-host: maybe-html-opcodes
1123 html-host: maybe-html-binutils
1124 html-host: maybe-html-bison
1125 html-host: maybe-html-byacc
1126 html-host: maybe-html-bzip2
1127 html-host: maybe-html-dejagnu
1128 html-host: maybe-html-diff
1129 html-host: maybe-html-dosutils
1130 html-host: maybe-html-etc
1131 html-host: maybe-html-fastjar
1132 html-host: maybe-html-fileutils
1133 html-host: maybe-html-findutils
1134 html-host: maybe-html-find
1135 html-host: maybe-html-fixincludes
1136 html-host: maybe-html-flex
1137 html-host: maybe-html-gas
1138 html-host: maybe-html-gcc
1139 html-host: maybe-html-gawk
1140 html-host: maybe-html-gettext
1141 html-host: maybe-html-gnuserv
1142 html-host: maybe-html-gprof
1143 html-host: maybe-html-gzip
1144 html-host: maybe-html-hello
1145 html-host: maybe-html-indent
1146 html-host: maybe-html-intl
1147 html-host: maybe-html-tcl
1148 html-host: maybe-html-itcl
1149 html-host: maybe-html-ld
1150 html-host: maybe-html-libcpp
1151 html-host: maybe-html-libdecnumber
1152 html-host: maybe-html-libgui
1153 html-host: maybe-html-libiberty
1154 html-host: maybe-html-libtool
1155 html-host: maybe-html-m4
1156 html-host: maybe-html-make
1157 html-host: maybe-html-mmalloc
1158 html-host: maybe-html-patch
1159 html-host: maybe-html-perl
1160 html-host: maybe-html-prms
1161 html-host: maybe-html-rcs
1162 html-host: maybe-html-readline
1163 html-host: maybe-html-release
1164 html-host: maybe-html-recode
1165 html-host: maybe-html-sed
1166 html-host: maybe-html-send-pr
1167 html-host: maybe-html-shellutils
1168 html-host: maybe-html-sid
1169 html-host: maybe-html-sim
1170 html-host: maybe-html-tar
1171 html-host: maybe-html-texinfo
1172 html-host: maybe-html-textutils
1173 html-host: maybe-html-time
1174 html-host: maybe-html-uudecode
1175 html-host: maybe-html-wdiff
1176 html-host: maybe-html-zip
1177 html-host: maybe-html-zlib
1178 html-host: maybe-html-gdb
1179 html-host: maybe-html-expect
1180 html-host: maybe-html-guile
1181 html-host: maybe-html-tk
1182 html-host: maybe-html-libtermcap
1183 html-host: maybe-html-utils
1184 html-host: maybe-html-gnattools
1186 .PHONY: html-target
1188 html-target: maybe-html-target-libstdc++-v3
1189 html-target: maybe-html-target-libmudflap
1190 html-target: maybe-html-target-libssp
1191 html-target: maybe-html-target-newlib
1192 html-target: maybe-html-target-libgfortran
1193 html-target: maybe-html-target-libobjc
1194 html-target: maybe-html-target-libtermcap
1195 html-target: maybe-html-target-winsup
1196 html-target: maybe-html-target-libgloss
1197 html-target: maybe-html-target-libiberty
1198 html-target: maybe-html-target-gperf
1199 html-target: maybe-html-target-examples
1200 html-target: maybe-html-target-libffi
1201 html-target: maybe-html-target-libjava
1202 html-target: maybe-html-target-zlib
1203 html-target: maybe-html-target-boehm-gc
1204 html-target: maybe-html-target-qthreads
1205 html-target: maybe-html-target-rda
1206 html-target: maybe-html-target-libada
1207 html-target: maybe-html-target-libgomp
1209 .PHONY: do-TAGS
1210 do-TAGS:
1211 @: $(MAKE); $(unstage)
1212 @r=`${PWD_COMMAND}`; export r; \
1213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1215 TAGS-target
1218 .PHONY: TAGS-host
1220 TAGS-host: maybe-TAGS-ash
1221 TAGS-host: maybe-TAGS-autoconf
1222 TAGS-host: maybe-TAGS-automake
1223 TAGS-host: maybe-TAGS-bash
1224 TAGS-host: maybe-TAGS-bfd
1225 TAGS-host: maybe-TAGS-opcodes
1226 TAGS-host: maybe-TAGS-binutils
1227 TAGS-host: maybe-TAGS-bison
1228 TAGS-host: maybe-TAGS-byacc
1229 TAGS-host: maybe-TAGS-bzip2
1230 TAGS-host: maybe-TAGS-dejagnu
1231 TAGS-host: maybe-TAGS-diff
1232 TAGS-host: maybe-TAGS-dosutils
1233 TAGS-host: maybe-TAGS-etc
1234 TAGS-host: maybe-TAGS-fastjar
1235 TAGS-host: maybe-TAGS-fileutils
1236 TAGS-host: maybe-TAGS-findutils
1237 TAGS-host: maybe-TAGS-find
1238 TAGS-host: maybe-TAGS-fixincludes
1239 TAGS-host: maybe-TAGS-flex
1240 TAGS-host: maybe-TAGS-gas
1241 TAGS-host: maybe-TAGS-gcc
1242 TAGS-host: maybe-TAGS-gawk
1243 TAGS-host: maybe-TAGS-gettext
1244 TAGS-host: maybe-TAGS-gnuserv
1245 TAGS-host: maybe-TAGS-gprof
1246 TAGS-host: maybe-TAGS-gzip
1247 TAGS-host: maybe-TAGS-hello
1248 TAGS-host: maybe-TAGS-indent
1249 TAGS-host: maybe-TAGS-intl
1250 TAGS-host: maybe-TAGS-tcl
1251 TAGS-host: maybe-TAGS-itcl
1252 TAGS-host: maybe-TAGS-ld
1253 TAGS-host: maybe-TAGS-libcpp
1254 TAGS-host: maybe-TAGS-libdecnumber
1255 TAGS-host: maybe-TAGS-libgui
1256 TAGS-host: maybe-TAGS-libiberty
1257 TAGS-host: maybe-TAGS-libtool
1258 TAGS-host: maybe-TAGS-m4
1259 TAGS-host: maybe-TAGS-make
1260 TAGS-host: maybe-TAGS-mmalloc
1261 TAGS-host: maybe-TAGS-patch
1262 TAGS-host: maybe-TAGS-perl
1263 TAGS-host: maybe-TAGS-prms
1264 TAGS-host: maybe-TAGS-rcs
1265 TAGS-host: maybe-TAGS-readline
1266 TAGS-host: maybe-TAGS-release
1267 TAGS-host: maybe-TAGS-recode
1268 TAGS-host: maybe-TAGS-sed
1269 TAGS-host: maybe-TAGS-send-pr
1270 TAGS-host: maybe-TAGS-shellutils
1271 TAGS-host: maybe-TAGS-sid
1272 TAGS-host: maybe-TAGS-sim
1273 TAGS-host: maybe-TAGS-tar
1274 TAGS-host: maybe-TAGS-texinfo
1275 TAGS-host: maybe-TAGS-textutils
1276 TAGS-host: maybe-TAGS-time
1277 TAGS-host: maybe-TAGS-uudecode
1278 TAGS-host: maybe-TAGS-wdiff
1279 TAGS-host: maybe-TAGS-zip
1280 TAGS-host: maybe-TAGS-zlib
1281 TAGS-host: maybe-TAGS-gdb
1282 TAGS-host: maybe-TAGS-expect
1283 TAGS-host: maybe-TAGS-guile
1284 TAGS-host: maybe-TAGS-tk
1285 TAGS-host: maybe-TAGS-libtermcap
1286 TAGS-host: maybe-TAGS-utils
1287 TAGS-host: maybe-TAGS-gnattools
1289 .PHONY: TAGS-target
1291 TAGS-target: maybe-TAGS-target-libstdc++-v3
1292 TAGS-target: maybe-TAGS-target-libmudflap
1293 TAGS-target: maybe-TAGS-target-libssp
1294 TAGS-target: maybe-TAGS-target-newlib
1295 TAGS-target: maybe-TAGS-target-libgfortran
1296 TAGS-target: maybe-TAGS-target-libobjc
1297 TAGS-target: maybe-TAGS-target-libtermcap
1298 TAGS-target: maybe-TAGS-target-winsup
1299 TAGS-target: maybe-TAGS-target-libgloss
1300 TAGS-target: maybe-TAGS-target-libiberty
1301 TAGS-target: maybe-TAGS-target-gperf
1302 TAGS-target: maybe-TAGS-target-examples
1303 TAGS-target: maybe-TAGS-target-libffi
1304 TAGS-target: maybe-TAGS-target-libjava
1305 TAGS-target: maybe-TAGS-target-zlib
1306 TAGS-target: maybe-TAGS-target-boehm-gc
1307 TAGS-target: maybe-TAGS-target-qthreads
1308 TAGS-target: maybe-TAGS-target-rda
1309 TAGS-target: maybe-TAGS-target-libada
1310 TAGS-target: maybe-TAGS-target-libgomp
1312 .PHONY: do-install-info
1313 do-install-info:
1314 @: $(MAKE); $(unstage)
1315 @r=`${PWD_COMMAND}`; export r; \
1316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1317 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1318 install-info-target
1321 .PHONY: install-info-host
1323 install-info-host: maybe-install-info-ash
1324 install-info-host: maybe-install-info-autoconf
1325 install-info-host: maybe-install-info-automake
1326 install-info-host: maybe-install-info-bash
1327 install-info-host: maybe-install-info-bfd
1328 install-info-host: maybe-install-info-opcodes
1329 install-info-host: maybe-install-info-binutils
1330 install-info-host: maybe-install-info-bison
1331 install-info-host: maybe-install-info-byacc
1332 install-info-host: maybe-install-info-bzip2
1333 install-info-host: maybe-install-info-dejagnu
1334 install-info-host: maybe-install-info-diff
1335 install-info-host: maybe-install-info-dosutils
1336 install-info-host: maybe-install-info-etc
1337 install-info-host: maybe-install-info-fastjar
1338 install-info-host: maybe-install-info-fileutils
1339 install-info-host: maybe-install-info-findutils
1340 install-info-host: maybe-install-info-find
1341 install-info-host: maybe-install-info-fixincludes
1342 install-info-host: maybe-install-info-flex
1343 install-info-host: maybe-install-info-gas
1344 install-info-host: maybe-install-info-gcc
1345 install-info-host: maybe-install-info-gawk
1346 install-info-host: maybe-install-info-gettext
1347 install-info-host: maybe-install-info-gnuserv
1348 install-info-host: maybe-install-info-gprof
1349 install-info-host: maybe-install-info-gzip
1350 install-info-host: maybe-install-info-hello
1351 install-info-host: maybe-install-info-indent
1352 install-info-host: maybe-install-info-intl
1353 install-info-host: maybe-install-info-tcl
1354 install-info-host: maybe-install-info-itcl
1355 install-info-host: maybe-install-info-ld
1356 install-info-host: maybe-install-info-libcpp
1357 install-info-host: maybe-install-info-libdecnumber
1358 install-info-host: maybe-install-info-libgui
1359 install-info-host: maybe-install-info-libiberty
1360 install-info-host: maybe-install-info-libtool
1361 install-info-host: maybe-install-info-m4
1362 install-info-host: maybe-install-info-make
1363 install-info-host: maybe-install-info-mmalloc
1364 install-info-host: maybe-install-info-patch
1365 install-info-host: maybe-install-info-perl
1366 install-info-host: maybe-install-info-prms
1367 install-info-host: maybe-install-info-rcs
1368 install-info-host: maybe-install-info-readline
1369 install-info-host: maybe-install-info-release
1370 install-info-host: maybe-install-info-recode
1371 install-info-host: maybe-install-info-sed
1372 install-info-host: maybe-install-info-send-pr
1373 install-info-host: maybe-install-info-shellutils
1374 install-info-host: maybe-install-info-sid
1375 install-info-host: maybe-install-info-sim
1376 install-info-host: maybe-install-info-tar
1377 install-info-host: maybe-install-info-texinfo
1378 install-info-host: maybe-install-info-textutils
1379 install-info-host: maybe-install-info-time
1380 install-info-host: maybe-install-info-uudecode
1381 install-info-host: maybe-install-info-wdiff
1382 install-info-host: maybe-install-info-zip
1383 install-info-host: maybe-install-info-zlib
1384 install-info-host: maybe-install-info-gdb
1385 install-info-host: maybe-install-info-expect
1386 install-info-host: maybe-install-info-guile
1387 install-info-host: maybe-install-info-tk
1388 install-info-host: maybe-install-info-libtermcap
1389 install-info-host: maybe-install-info-utils
1390 install-info-host: maybe-install-info-gnattools
1392 .PHONY: install-info-target
1394 install-info-target: maybe-install-info-target-libstdc++-v3
1395 install-info-target: maybe-install-info-target-libmudflap
1396 install-info-target: maybe-install-info-target-libssp
1397 install-info-target: maybe-install-info-target-newlib
1398 install-info-target: maybe-install-info-target-libgfortran
1399 install-info-target: maybe-install-info-target-libobjc
1400 install-info-target: maybe-install-info-target-libtermcap
1401 install-info-target: maybe-install-info-target-winsup
1402 install-info-target: maybe-install-info-target-libgloss
1403 install-info-target: maybe-install-info-target-libiberty
1404 install-info-target: maybe-install-info-target-gperf
1405 install-info-target: maybe-install-info-target-examples
1406 install-info-target: maybe-install-info-target-libffi
1407 install-info-target: maybe-install-info-target-libjava
1408 install-info-target: maybe-install-info-target-zlib
1409 install-info-target: maybe-install-info-target-boehm-gc
1410 install-info-target: maybe-install-info-target-qthreads
1411 install-info-target: maybe-install-info-target-rda
1412 install-info-target: maybe-install-info-target-libada
1413 install-info-target: maybe-install-info-target-libgomp
1415 .PHONY: do-install-html
1416 do-install-html:
1417 @: $(MAKE); $(unstage)
1418 @r=`${PWD_COMMAND}`; export r; \
1419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1420 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1421 install-html-target
1424 .PHONY: install-html-host
1426 install-html-host: maybe-install-html-ash
1427 install-html-host: maybe-install-html-autoconf
1428 install-html-host: maybe-install-html-automake
1429 install-html-host: maybe-install-html-bash
1430 install-html-host: maybe-install-html-bfd
1431 install-html-host: maybe-install-html-opcodes
1432 install-html-host: maybe-install-html-binutils
1433 install-html-host: maybe-install-html-bison
1434 install-html-host: maybe-install-html-byacc
1435 install-html-host: maybe-install-html-bzip2
1436 install-html-host: maybe-install-html-dejagnu
1437 install-html-host: maybe-install-html-diff
1438 install-html-host: maybe-install-html-dosutils
1439 install-html-host: maybe-install-html-etc
1440 install-html-host: maybe-install-html-fastjar
1441 install-html-host: maybe-install-html-fileutils
1442 install-html-host: maybe-install-html-findutils
1443 install-html-host: maybe-install-html-find
1444 install-html-host: maybe-install-html-fixincludes
1445 install-html-host: maybe-install-html-flex
1446 install-html-host: maybe-install-html-gas
1447 install-html-host: maybe-install-html-gcc
1448 install-html-host: maybe-install-html-gawk
1449 install-html-host: maybe-install-html-gettext
1450 install-html-host: maybe-install-html-gnuserv
1451 install-html-host: maybe-install-html-gprof
1452 install-html-host: maybe-install-html-gzip
1453 install-html-host: maybe-install-html-hello
1454 install-html-host: maybe-install-html-indent
1455 install-html-host: maybe-install-html-intl
1456 install-html-host: maybe-install-html-tcl
1457 install-html-host: maybe-install-html-itcl
1458 install-html-host: maybe-install-html-ld
1459 install-html-host: maybe-install-html-libcpp
1460 install-html-host: maybe-install-html-libdecnumber
1461 install-html-host: maybe-install-html-libgui
1462 install-html-host: maybe-install-html-libiberty
1463 install-html-host: maybe-install-html-libtool
1464 install-html-host: maybe-install-html-m4
1465 install-html-host: maybe-install-html-make
1466 install-html-host: maybe-install-html-mmalloc
1467 install-html-host: maybe-install-html-patch
1468 install-html-host: maybe-install-html-perl
1469 install-html-host: maybe-install-html-prms
1470 install-html-host: maybe-install-html-rcs
1471 install-html-host: maybe-install-html-readline
1472 install-html-host: maybe-install-html-release
1473 install-html-host: maybe-install-html-recode
1474 install-html-host: maybe-install-html-sed
1475 install-html-host: maybe-install-html-send-pr
1476 install-html-host: maybe-install-html-shellutils
1477 install-html-host: maybe-install-html-sid
1478 install-html-host: maybe-install-html-sim
1479 install-html-host: maybe-install-html-tar
1480 install-html-host: maybe-install-html-texinfo
1481 install-html-host: maybe-install-html-textutils
1482 install-html-host: maybe-install-html-time
1483 install-html-host: maybe-install-html-uudecode
1484 install-html-host: maybe-install-html-wdiff
1485 install-html-host: maybe-install-html-zip
1486 install-html-host: maybe-install-html-zlib
1487 install-html-host: maybe-install-html-gdb
1488 install-html-host: maybe-install-html-expect
1489 install-html-host: maybe-install-html-guile
1490 install-html-host: maybe-install-html-tk
1491 install-html-host: maybe-install-html-libtermcap
1492 install-html-host: maybe-install-html-utils
1493 install-html-host: maybe-install-html-gnattools
1495 .PHONY: install-html-target
1497 install-html-target: maybe-install-html-target-libstdc++-v3
1498 install-html-target: maybe-install-html-target-libmudflap
1499 install-html-target: maybe-install-html-target-libssp
1500 install-html-target: maybe-install-html-target-newlib
1501 install-html-target: maybe-install-html-target-libgfortran
1502 install-html-target: maybe-install-html-target-libobjc
1503 install-html-target: maybe-install-html-target-libtermcap
1504 install-html-target: maybe-install-html-target-winsup
1505 install-html-target: maybe-install-html-target-libgloss
1506 install-html-target: maybe-install-html-target-libiberty
1507 install-html-target: maybe-install-html-target-gperf
1508 install-html-target: maybe-install-html-target-examples
1509 install-html-target: maybe-install-html-target-libffi
1510 install-html-target: maybe-install-html-target-libjava
1511 install-html-target: maybe-install-html-target-zlib
1512 install-html-target: maybe-install-html-target-boehm-gc
1513 install-html-target: maybe-install-html-target-qthreads
1514 install-html-target: maybe-install-html-target-rda
1515 install-html-target: maybe-install-html-target-libada
1516 install-html-target: maybe-install-html-target-libgomp
1518 .PHONY: do-installcheck
1519 do-installcheck:
1520 @: $(MAKE); $(unstage)
1521 @r=`${PWD_COMMAND}`; export r; \
1522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1523 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1524 installcheck-target
1527 .PHONY: installcheck-host
1529 installcheck-host: maybe-installcheck-ash
1530 installcheck-host: maybe-installcheck-autoconf
1531 installcheck-host: maybe-installcheck-automake
1532 installcheck-host: maybe-installcheck-bash
1533 installcheck-host: maybe-installcheck-bfd
1534 installcheck-host: maybe-installcheck-opcodes
1535 installcheck-host: maybe-installcheck-binutils
1536 installcheck-host: maybe-installcheck-bison
1537 installcheck-host: maybe-installcheck-byacc
1538 installcheck-host: maybe-installcheck-bzip2
1539 installcheck-host: maybe-installcheck-dejagnu
1540 installcheck-host: maybe-installcheck-diff
1541 installcheck-host: maybe-installcheck-dosutils
1542 installcheck-host: maybe-installcheck-etc
1543 installcheck-host: maybe-installcheck-fastjar
1544 installcheck-host: maybe-installcheck-fileutils
1545 installcheck-host: maybe-installcheck-findutils
1546 installcheck-host: maybe-installcheck-find
1547 installcheck-host: maybe-installcheck-fixincludes
1548 installcheck-host: maybe-installcheck-flex
1549 installcheck-host: maybe-installcheck-gas
1550 installcheck-host: maybe-installcheck-gcc
1551 installcheck-host: maybe-installcheck-gawk
1552 installcheck-host: maybe-installcheck-gettext
1553 installcheck-host: maybe-installcheck-gnuserv
1554 installcheck-host: maybe-installcheck-gprof
1555 installcheck-host: maybe-installcheck-gzip
1556 installcheck-host: maybe-installcheck-hello
1557 installcheck-host: maybe-installcheck-indent
1558 installcheck-host: maybe-installcheck-intl
1559 installcheck-host: maybe-installcheck-tcl
1560 installcheck-host: maybe-installcheck-itcl
1561 installcheck-host: maybe-installcheck-ld
1562 installcheck-host: maybe-installcheck-libcpp
1563 installcheck-host: maybe-installcheck-libdecnumber
1564 installcheck-host: maybe-installcheck-libgui
1565 installcheck-host: maybe-installcheck-libiberty
1566 installcheck-host: maybe-installcheck-libtool
1567 installcheck-host: maybe-installcheck-m4
1568 installcheck-host: maybe-installcheck-make
1569 installcheck-host: maybe-installcheck-mmalloc
1570 installcheck-host: maybe-installcheck-patch
1571 installcheck-host: maybe-installcheck-perl
1572 installcheck-host: maybe-installcheck-prms
1573 installcheck-host: maybe-installcheck-rcs
1574 installcheck-host: maybe-installcheck-readline
1575 installcheck-host: maybe-installcheck-release
1576 installcheck-host: maybe-installcheck-recode
1577 installcheck-host: maybe-installcheck-sed
1578 installcheck-host: maybe-installcheck-send-pr
1579 installcheck-host: maybe-installcheck-shellutils
1580 installcheck-host: maybe-installcheck-sid
1581 installcheck-host: maybe-installcheck-sim
1582 installcheck-host: maybe-installcheck-tar
1583 installcheck-host: maybe-installcheck-texinfo
1584 installcheck-host: maybe-installcheck-textutils
1585 installcheck-host: maybe-installcheck-time
1586 installcheck-host: maybe-installcheck-uudecode
1587 installcheck-host: maybe-installcheck-wdiff
1588 installcheck-host: maybe-installcheck-zip
1589 installcheck-host: maybe-installcheck-zlib
1590 installcheck-host: maybe-installcheck-gdb
1591 installcheck-host: maybe-installcheck-expect
1592 installcheck-host: maybe-installcheck-guile
1593 installcheck-host: maybe-installcheck-tk
1594 installcheck-host: maybe-installcheck-libtermcap
1595 installcheck-host: maybe-installcheck-utils
1596 installcheck-host: maybe-installcheck-gnattools
1598 .PHONY: installcheck-target
1600 installcheck-target: maybe-installcheck-target-libstdc++-v3
1601 installcheck-target: maybe-installcheck-target-libmudflap
1602 installcheck-target: maybe-installcheck-target-libssp
1603 installcheck-target: maybe-installcheck-target-newlib
1604 installcheck-target: maybe-installcheck-target-libgfortran
1605 installcheck-target: maybe-installcheck-target-libobjc
1606 installcheck-target: maybe-installcheck-target-libtermcap
1607 installcheck-target: maybe-installcheck-target-winsup
1608 installcheck-target: maybe-installcheck-target-libgloss
1609 installcheck-target: maybe-installcheck-target-libiberty
1610 installcheck-target: maybe-installcheck-target-gperf
1611 installcheck-target: maybe-installcheck-target-examples
1612 installcheck-target: maybe-installcheck-target-libffi
1613 installcheck-target: maybe-installcheck-target-libjava
1614 installcheck-target: maybe-installcheck-target-zlib
1615 installcheck-target: maybe-installcheck-target-boehm-gc
1616 installcheck-target: maybe-installcheck-target-qthreads
1617 installcheck-target: maybe-installcheck-target-rda
1618 installcheck-target: maybe-installcheck-target-libada
1619 installcheck-target: maybe-installcheck-target-libgomp
1621 .PHONY: do-mostlyclean
1622 do-mostlyclean:
1623 @: $(MAKE); $(unstage)
1624 @r=`${PWD_COMMAND}`; export r; \
1625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1627 mostlyclean-target
1630 .PHONY: mostlyclean-host
1632 mostlyclean-host: maybe-mostlyclean-ash
1633 mostlyclean-host: maybe-mostlyclean-autoconf
1634 mostlyclean-host: maybe-mostlyclean-automake
1635 mostlyclean-host: maybe-mostlyclean-bash
1636 mostlyclean-host: maybe-mostlyclean-bfd
1637 mostlyclean-host: maybe-mostlyclean-opcodes
1638 mostlyclean-host: maybe-mostlyclean-binutils
1639 mostlyclean-host: maybe-mostlyclean-bison
1640 mostlyclean-host: maybe-mostlyclean-byacc
1641 mostlyclean-host: maybe-mostlyclean-bzip2
1642 mostlyclean-host: maybe-mostlyclean-dejagnu
1643 mostlyclean-host: maybe-mostlyclean-diff
1644 mostlyclean-host: maybe-mostlyclean-dosutils
1645 mostlyclean-host: maybe-mostlyclean-etc
1646 mostlyclean-host: maybe-mostlyclean-fastjar
1647 mostlyclean-host: maybe-mostlyclean-fileutils
1648 mostlyclean-host: maybe-mostlyclean-findutils
1649 mostlyclean-host: maybe-mostlyclean-find
1650 mostlyclean-host: maybe-mostlyclean-fixincludes
1651 mostlyclean-host: maybe-mostlyclean-flex
1652 mostlyclean-host: maybe-mostlyclean-gas
1653 mostlyclean-host: maybe-mostlyclean-gcc
1654 mostlyclean-host: maybe-mostlyclean-gawk
1655 mostlyclean-host: maybe-mostlyclean-gettext
1656 mostlyclean-host: maybe-mostlyclean-gnuserv
1657 mostlyclean-host: maybe-mostlyclean-gprof
1658 mostlyclean-host: maybe-mostlyclean-gzip
1659 mostlyclean-host: maybe-mostlyclean-hello
1660 mostlyclean-host: maybe-mostlyclean-indent
1661 mostlyclean-host: maybe-mostlyclean-intl
1662 mostlyclean-host: maybe-mostlyclean-tcl
1663 mostlyclean-host: maybe-mostlyclean-itcl
1664 mostlyclean-host: maybe-mostlyclean-ld
1665 mostlyclean-host: maybe-mostlyclean-libcpp
1666 mostlyclean-host: maybe-mostlyclean-libdecnumber
1667 mostlyclean-host: maybe-mostlyclean-libgui
1668 mostlyclean-host: maybe-mostlyclean-libiberty
1669 mostlyclean-host: maybe-mostlyclean-libtool
1670 mostlyclean-host: maybe-mostlyclean-m4
1671 mostlyclean-host: maybe-mostlyclean-make
1672 mostlyclean-host: maybe-mostlyclean-mmalloc
1673 mostlyclean-host: maybe-mostlyclean-patch
1674 mostlyclean-host: maybe-mostlyclean-perl
1675 mostlyclean-host: maybe-mostlyclean-prms
1676 mostlyclean-host: maybe-mostlyclean-rcs
1677 mostlyclean-host: maybe-mostlyclean-readline
1678 mostlyclean-host: maybe-mostlyclean-release
1679 mostlyclean-host: maybe-mostlyclean-recode
1680 mostlyclean-host: maybe-mostlyclean-sed
1681 mostlyclean-host: maybe-mostlyclean-send-pr
1682 mostlyclean-host: maybe-mostlyclean-shellutils
1683 mostlyclean-host: maybe-mostlyclean-sid
1684 mostlyclean-host: maybe-mostlyclean-sim
1685 mostlyclean-host: maybe-mostlyclean-tar
1686 mostlyclean-host: maybe-mostlyclean-texinfo
1687 mostlyclean-host: maybe-mostlyclean-textutils
1688 mostlyclean-host: maybe-mostlyclean-time
1689 mostlyclean-host: maybe-mostlyclean-uudecode
1690 mostlyclean-host: maybe-mostlyclean-wdiff
1691 mostlyclean-host: maybe-mostlyclean-zip
1692 mostlyclean-host: maybe-mostlyclean-zlib
1693 mostlyclean-host: maybe-mostlyclean-gdb
1694 mostlyclean-host: maybe-mostlyclean-expect
1695 mostlyclean-host: maybe-mostlyclean-guile
1696 mostlyclean-host: maybe-mostlyclean-tk
1697 mostlyclean-host: maybe-mostlyclean-libtermcap
1698 mostlyclean-host: maybe-mostlyclean-utils
1699 mostlyclean-host: maybe-mostlyclean-gnattools
1701 .PHONY: mostlyclean-target
1703 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1704 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1705 mostlyclean-target: maybe-mostlyclean-target-libssp
1706 mostlyclean-target: maybe-mostlyclean-target-newlib
1707 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1708 mostlyclean-target: maybe-mostlyclean-target-libobjc
1709 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1710 mostlyclean-target: maybe-mostlyclean-target-winsup
1711 mostlyclean-target: maybe-mostlyclean-target-libgloss
1712 mostlyclean-target: maybe-mostlyclean-target-libiberty
1713 mostlyclean-target: maybe-mostlyclean-target-gperf
1714 mostlyclean-target: maybe-mostlyclean-target-examples
1715 mostlyclean-target: maybe-mostlyclean-target-libffi
1716 mostlyclean-target: maybe-mostlyclean-target-libjava
1717 mostlyclean-target: maybe-mostlyclean-target-zlib
1718 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1719 mostlyclean-target: maybe-mostlyclean-target-qthreads
1720 mostlyclean-target: maybe-mostlyclean-target-rda
1721 mostlyclean-target: maybe-mostlyclean-target-libada
1722 mostlyclean-target: maybe-mostlyclean-target-libgomp
1724 .PHONY: do-clean
1725 do-clean:
1726 @: $(MAKE); $(unstage)
1727 @r=`${PWD_COMMAND}`; export r; \
1728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1729 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1730 clean-target
1733 .PHONY: clean-host
1735 clean-host: maybe-clean-ash
1736 clean-host: maybe-clean-autoconf
1737 clean-host: maybe-clean-automake
1738 clean-host: maybe-clean-bash
1739 clean-host: maybe-clean-bfd
1740 clean-host: maybe-clean-opcodes
1741 clean-host: maybe-clean-binutils
1742 clean-host: maybe-clean-bison
1743 clean-host: maybe-clean-byacc
1744 clean-host: maybe-clean-bzip2
1745 clean-host: maybe-clean-dejagnu
1746 clean-host: maybe-clean-diff
1747 clean-host: maybe-clean-dosutils
1748 clean-host: maybe-clean-etc
1749 clean-host: maybe-clean-fastjar
1750 clean-host: maybe-clean-fileutils
1751 clean-host: maybe-clean-findutils
1752 clean-host: maybe-clean-find
1753 clean-host: maybe-clean-fixincludes
1754 clean-host: maybe-clean-flex
1755 clean-host: maybe-clean-gas
1756 clean-host: maybe-clean-gcc
1757 clean-host: maybe-clean-gawk
1758 clean-host: maybe-clean-gettext
1759 clean-host: maybe-clean-gnuserv
1760 clean-host: maybe-clean-gprof
1761 clean-host: maybe-clean-gzip
1762 clean-host: maybe-clean-hello
1763 clean-host: maybe-clean-indent
1764 clean-host: maybe-clean-intl
1765 clean-host: maybe-clean-tcl
1766 clean-host: maybe-clean-itcl
1767 clean-host: maybe-clean-ld
1768 clean-host: maybe-clean-libcpp
1769 clean-host: maybe-clean-libdecnumber
1770 clean-host: maybe-clean-libgui
1771 clean-host: maybe-clean-libiberty
1772 clean-host: maybe-clean-libtool
1773 clean-host: maybe-clean-m4
1774 clean-host: maybe-clean-make
1775 clean-host: maybe-clean-mmalloc
1776 clean-host: maybe-clean-patch
1777 clean-host: maybe-clean-perl
1778 clean-host: maybe-clean-prms
1779 clean-host: maybe-clean-rcs
1780 clean-host: maybe-clean-readline
1781 clean-host: maybe-clean-release
1782 clean-host: maybe-clean-recode
1783 clean-host: maybe-clean-sed
1784 clean-host: maybe-clean-send-pr
1785 clean-host: maybe-clean-shellutils
1786 clean-host: maybe-clean-sid
1787 clean-host: maybe-clean-sim
1788 clean-host: maybe-clean-tar
1789 clean-host: maybe-clean-texinfo
1790 clean-host: maybe-clean-textutils
1791 clean-host: maybe-clean-time
1792 clean-host: maybe-clean-uudecode
1793 clean-host: maybe-clean-wdiff
1794 clean-host: maybe-clean-zip
1795 clean-host: maybe-clean-zlib
1796 clean-host: maybe-clean-gdb
1797 clean-host: maybe-clean-expect
1798 clean-host: maybe-clean-guile
1799 clean-host: maybe-clean-tk
1800 clean-host: maybe-clean-libtermcap
1801 clean-host: maybe-clean-utils
1802 clean-host: maybe-clean-gnattools
1804 .PHONY: clean-target
1806 clean-target: maybe-clean-target-libstdc++-v3
1807 clean-target: maybe-clean-target-libmudflap
1808 clean-target: maybe-clean-target-libssp
1809 clean-target: maybe-clean-target-newlib
1810 clean-target: maybe-clean-target-libgfortran
1811 clean-target: maybe-clean-target-libobjc
1812 clean-target: maybe-clean-target-libtermcap
1813 clean-target: maybe-clean-target-winsup
1814 clean-target: maybe-clean-target-libgloss
1815 clean-target: maybe-clean-target-libiberty
1816 clean-target: maybe-clean-target-gperf
1817 clean-target: maybe-clean-target-examples
1818 clean-target: maybe-clean-target-libffi
1819 clean-target: maybe-clean-target-libjava
1820 clean-target: maybe-clean-target-zlib
1821 clean-target: maybe-clean-target-boehm-gc
1822 clean-target: maybe-clean-target-qthreads
1823 clean-target: maybe-clean-target-rda
1824 clean-target: maybe-clean-target-libada
1825 clean-target: maybe-clean-target-libgomp
1827 .PHONY: do-distclean
1828 do-distclean:
1829 @: $(MAKE); $(unstage)
1830 @r=`${PWD_COMMAND}`; export r; \
1831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1832 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1833 distclean-target
1836 .PHONY: distclean-host
1838 distclean-host: maybe-distclean-ash
1839 distclean-host: maybe-distclean-autoconf
1840 distclean-host: maybe-distclean-automake
1841 distclean-host: maybe-distclean-bash
1842 distclean-host: maybe-distclean-bfd
1843 distclean-host: maybe-distclean-opcodes
1844 distclean-host: maybe-distclean-binutils
1845 distclean-host: maybe-distclean-bison
1846 distclean-host: maybe-distclean-byacc
1847 distclean-host: maybe-distclean-bzip2
1848 distclean-host: maybe-distclean-dejagnu
1849 distclean-host: maybe-distclean-diff
1850 distclean-host: maybe-distclean-dosutils
1851 distclean-host: maybe-distclean-etc
1852 distclean-host: maybe-distclean-fastjar
1853 distclean-host: maybe-distclean-fileutils
1854 distclean-host: maybe-distclean-findutils
1855 distclean-host: maybe-distclean-find
1856 distclean-host: maybe-distclean-fixincludes
1857 distclean-host: maybe-distclean-flex
1858 distclean-host: maybe-distclean-gas
1859 distclean-host: maybe-distclean-gcc
1860 distclean-host: maybe-distclean-gawk
1861 distclean-host: maybe-distclean-gettext
1862 distclean-host: maybe-distclean-gnuserv
1863 distclean-host: maybe-distclean-gprof
1864 distclean-host: maybe-distclean-gzip
1865 distclean-host: maybe-distclean-hello
1866 distclean-host: maybe-distclean-indent
1867 distclean-host: maybe-distclean-intl
1868 distclean-host: maybe-distclean-tcl
1869 distclean-host: maybe-distclean-itcl
1870 distclean-host: maybe-distclean-ld
1871 distclean-host: maybe-distclean-libcpp
1872 distclean-host: maybe-distclean-libdecnumber
1873 distclean-host: maybe-distclean-libgui
1874 distclean-host: maybe-distclean-libiberty
1875 distclean-host: maybe-distclean-libtool
1876 distclean-host: maybe-distclean-m4
1877 distclean-host: maybe-distclean-make
1878 distclean-host: maybe-distclean-mmalloc
1879 distclean-host: maybe-distclean-patch
1880 distclean-host: maybe-distclean-perl
1881 distclean-host: maybe-distclean-prms
1882 distclean-host: maybe-distclean-rcs
1883 distclean-host: maybe-distclean-readline
1884 distclean-host: maybe-distclean-release
1885 distclean-host: maybe-distclean-recode
1886 distclean-host: maybe-distclean-sed
1887 distclean-host: maybe-distclean-send-pr
1888 distclean-host: maybe-distclean-shellutils
1889 distclean-host: maybe-distclean-sid
1890 distclean-host: maybe-distclean-sim
1891 distclean-host: maybe-distclean-tar
1892 distclean-host: maybe-distclean-texinfo
1893 distclean-host: maybe-distclean-textutils
1894 distclean-host: maybe-distclean-time
1895 distclean-host: maybe-distclean-uudecode
1896 distclean-host: maybe-distclean-wdiff
1897 distclean-host: maybe-distclean-zip
1898 distclean-host: maybe-distclean-zlib
1899 distclean-host: maybe-distclean-gdb
1900 distclean-host: maybe-distclean-expect
1901 distclean-host: maybe-distclean-guile
1902 distclean-host: maybe-distclean-tk
1903 distclean-host: maybe-distclean-libtermcap
1904 distclean-host: maybe-distclean-utils
1905 distclean-host: maybe-distclean-gnattools
1907 .PHONY: distclean-target
1909 distclean-target: maybe-distclean-target-libstdc++-v3
1910 distclean-target: maybe-distclean-target-libmudflap
1911 distclean-target: maybe-distclean-target-libssp
1912 distclean-target: maybe-distclean-target-newlib
1913 distclean-target: maybe-distclean-target-libgfortran
1914 distclean-target: maybe-distclean-target-libobjc
1915 distclean-target: maybe-distclean-target-libtermcap
1916 distclean-target: maybe-distclean-target-winsup
1917 distclean-target: maybe-distclean-target-libgloss
1918 distclean-target: maybe-distclean-target-libiberty
1919 distclean-target: maybe-distclean-target-gperf
1920 distclean-target: maybe-distclean-target-examples
1921 distclean-target: maybe-distclean-target-libffi
1922 distclean-target: maybe-distclean-target-libjava
1923 distclean-target: maybe-distclean-target-zlib
1924 distclean-target: maybe-distclean-target-boehm-gc
1925 distclean-target: maybe-distclean-target-qthreads
1926 distclean-target: maybe-distclean-target-rda
1927 distclean-target: maybe-distclean-target-libada
1928 distclean-target: maybe-distclean-target-libgomp
1930 .PHONY: do-maintainer-clean
1931 do-maintainer-clean:
1932 @: $(MAKE); $(unstage)
1933 @r=`${PWD_COMMAND}`; export r; \
1934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1935 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1936 maintainer-clean-target
1939 .PHONY: maintainer-clean-host
1941 maintainer-clean-host: maybe-maintainer-clean-ash
1942 maintainer-clean-host: maybe-maintainer-clean-autoconf
1943 maintainer-clean-host: maybe-maintainer-clean-automake
1944 maintainer-clean-host: maybe-maintainer-clean-bash
1945 maintainer-clean-host: maybe-maintainer-clean-bfd
1946 maintainer-clean-host: maybe-maintainer-clean-opcodes
1947 maintainer-clean-host: maybe-maintainer-clean-binutils
1948 maintainer-clean-host: maybe-maintainer-clean-bison
1949 maintainer-clean-host: maybe-maintainer-clean-byacc
1950 maintainer-clean-host: maybe-maintainer-clean-bzip2
1951 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1952 maintainer-clean-host: maybe-maintainer-clean-diff
1953 maintainer-clean-host: maybe-maintainer-clean-dosutils
1954 maintainer-clean-host: maybe-maintainer-clean-etc
1955 maintainer-clean-host: maybe-maintainer-clean-fastjar
1956 maintainer-clean-host: maybe-maintainer-clean-fileutils
1957 maintainer-clean-host: maybe-maintainer-clean-findutils
1958 maintainer-clean-host: maybe-maintainer-clean-find
1959 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1960 maintainer-clean-host: maybe-maintainer-clean-flex
1961 maintainer-clean-host: maybe-maintainer-clean-gas
1962 maintainer-clean-host: maybe-maintainer-clean-gcc
1963 maintainer-clean-host: maybe-maintainer-clean-gawk
1964 maintainer-clean-host: maybe-maintainer-clean-gettext
1965 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1966 maintainer-clean-host: maybe-maintainer-clean-gprof
1967 maintainer-clean-host: maybe-maintainer-clean-gzip
1968 maintainer-clean-host: maybe-maintainer-clean-hello
1969 maintainer-clean-host: maybe-maintainer-clean-indent
1970 maintainer-clean-host: maybe-maintainer-clean-intl
1971 maintainer-clean-host: maybe-maintainer-clean-tcl
1972 maintainer-clean-host: maybe-maintainer-clean-itcl
1973 maintainer-clean-host: maybe-maintainer-clean-ld
1974 maintainer-clean-host: maybe-maintainer-clean-libcpp
1975 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1976 maintainer-clean-host: maybe-maintainer-clean-libgui
1977 maintainer-clean-host: maybe-maintainer-clean-libiberty
1978 maintainer-clean-host: maybe-maintainer-clean-libtool
1979 maintainer-clean-host: maybe-maintainer-clean-m4
1980 maintainer-clean-host: maybe-maintainer-clean-make
1981 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1982 maintainer-clean-host: maybe-maintainer-clean-patch
1983 maintainer-clean-host: maybe-maintainer-clean-perl
1984 maintainer-clean-host: maybe-maintainer-clean-prms
1985 maintainer-clean-host: maybe-maintainer-clean-rcs
1986 maintainer-clean-host: maybe-maintainer-clean-readline
1987 maintainer-clean-host: maybe-maintainer-clean-release
1988 maintainer-clean-host: maybe-maintainer-clean-recode
1989 maintainer-clean-host: maybe-maintainer-clean-sed
1990 maintainer-clean-host: maybe-maintainer-clean-send-pr
1991 maintainer-clean-host: maybe-maintainer-clean-shellutils
1992 maintainer-clean-host: maybe-maintainer-clean-sid
1993 maintainer-clean-host: maybe-maintainer-clean-sim
1994 maintainer-clean-host: maybe-maintainer-clean-tar
1995 maintainer-clean-host: maybe-maintainer-clean-texinfo
1996 maintainer-clean-host: maybe-maintainer-clean-textutils
1997 maintainer-clean-host: maybe-maintainer-clean-time
1998 maintainer-clean-host: maybe-maintainer-clean-uudecode
1999 maintainer-clean-host: maybe-maintainer-clean-wdiff
2000 maintainer-clean-host: maybe-maintainer-clean-zip
2001 maintainer-clean-host: maybe-maintainer-clean-zlib
2002 maintainer-clean-host: maybe-maintainer-clean-gdb
2003 maintainer-clean-host: maybe-maintainer-clean-expect
2004 maintainer-clean-host: maybe-maintainer-clean-guile
2005 maintainer-clean-host: maybe-maintainer-clean-tk
2006 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2007 maintainer-clean-host: maybe-maintainer-clean-utils
2008 maintainer-clean-host: maybe-maintainer-clean-gnattools
2010 .PHONY: maintainer-clean-target
2012 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2013 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2014 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2015 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2016 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2017 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2018 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2019 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2020 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2021 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2022 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2023 maintainer-clean-target: maybe-maintainer-clean-target-examples
2024 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2025 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2026 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2027 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2028 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2029 maintainer-clean-target: maybe-maintainer-clean-target-rda
2030 maintainer-clean-target: maybe-maintainer-clean-target-libada
2031 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2034 # Here are the targets which correspond to the do-X targets.
2036 .PHONY: info installcheck dvi pdf html install-info install-html
2037 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2038 .PHONY: local-clean local-distclean local-maintainer-clean
2039 info: do-info
2040 installcheck: do-installcheck
2041 dvi: do-dvi
2042 pdf: do-pdf
2043 html: do-html
2045 # Make sure makeinfo is built before we do a `make info', if we're
2046 # in fact building texinfo.
2047 do-info: maybe-all-texinfo
2049 install-info: do-install-info dir.info
2050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2051 if [ -f dir.info ] ; then \
2052 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2053 else true ; fi
2055 install-html: do-install-html
2057 local-clean:
2058 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2060 local-distclean:
2061 -rm -f Makefile config.status config.cache mh-frag mt-frag
2062 -rm -f maybedep.tmp serdep.tmp
2063 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2064 rm -rf $(TARGET_SUBDIR); \
2065 else true; fi
2066 -rm -rf $(BUILD_SUBDIR)
2067 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2068 rm -rf $(HOST_SUBDIR); \
2069 else true; fi
2070 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2071 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2072 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2073 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2074 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2076 local-maintainer-clean:
2077 @echo "This command is intended for maintainers to use;"
2078 @echo "it deletes files that may require special tools to rebuild."
2080 clean: do-clean local-clean
2081 mostlyclean: do-mostlyclean local-clean
2082 distclean: do-distclean local-clean local-distclean
2083 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2084 maintainer-clean: local-distclean
2085 realclean: maintainer-clean
2087 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2088 clean-target: clean-target-libgcc
2089 clean-target-libgcc:
2090 if test -f gcc/Makefile; then cd gcc && $(MAKE) $@; else :; fi
2092 # Check target.
2094 .PHONY: check do-check
2095 check: do-check
2097 # Only include modules actually being configured and built.
2098 .PHONY: check-host
2099 check-host: \
2100 maybe-check-ash \
2101 maybe-check-autoconf \
2102 maybe-check-automake \
2103 maybe-check-bash \
2104 maybe-check-bfd \
2105 maybe-check-opcodes \
2106 maybe-check-binutils \
2107 maybe-check-bison \
2108 maybe-check-byacc \
2109 maybe-check-bzip2 \
2110 maybe-check-dejagnu \
2111 maybe-check-diff \
2112 maybe-check-dosutils \
2113 maybe-check-etc \
2114 maybe-check-fastjar \
2115 maybe-check-fileutils \
2116 maybe-check-findutils \
2117 maybe-check-find \
2118 maybe-check-fixincludes \
2119 maybe-check-flex \
2120 maybe-check-gas \
2121 maybe-check-gcc \
2122 maybe-check-gawk \
2123 maybe-check-gettext \
2124 maybe-check-gnuserv \
2125 maybe-check-gprof \
2126 maybe-check-gzip \
2127 maybe-check-hello \
2128 maybe-check-indent \
2129 maybe-check-intl \
2130 maybe-check-tcl \
2131 maybe-check-itcl \
2132 maybe-check-ld \
2133 maybe-check-libcpp \
2134 maybe-check-libdecnumber \
2135 maybe-check-libgui \
2136 maybe-check-libiberty \
2137 maybe-check-libtool \
2138 maybe-check-m4 \
2139 maybe-check-make \
2140 maybe-check-mmalloc \
2141 maybe-check-patch \
2142 maybe-check-perl \
2143 maybe-check-prms \
2144 maybe-check-rcs \
2145 maybe-check-readline \
2146 maybe-check-release \
2147 maybe-check-recode \
2148 maybe-check-sed \
2149 maybe-check-send-pr \
2150 maybe-check-shellutils \
2151 maybe-check-sid \
2152 maybe-check-sim \
2153 maybe-check-tar \
2154 maybe-check-texinfo \
2155 maybe-check-textutils \
2156 maybe-check-time \
2157 maybe-check-uudecode \
2158 maybe-check-wdiff \
2159 maybe-check-zip \
2160 maybe-check-zlib \
2161 maybe-check-gdb \
2162 maybe-check-expect \
2163 maybe-check-guile \
2164 maybe-check-tk \
2165 maybe-check-libtermcap \
2166 maybe-check-utils \
2167 maybe-check-gnattools
2169 .PHONY: check-target
2170 check-target: \
2171 maybe-check-target-libstdc++-v3 \
2172 maybe-check-target-libmudflap \
2173 maybe-check-target-libssp \
2174 maybe-check-target-newlib \
2175 maybe-check-target-libgfortran \
2176 maybe-check-target-libobjc \
2177 maybe-check-target-libtermcap \
2178 maybe-check-target-winsup \
2179 maybe-check-target-libgloss \
2180 maybe-check-target-libiberty \
2181 maybe-check-target-gperf \
2182 maybe-check-target-examples \
2183 maybe-check-target-libffi \
2184 maybe-check-target-libjava \
2185 maybe-check-target-zlib \
2186 maybe-check-target-boehm-gc \
2187 maybe-check-target-qthreads \
2188 maybe-check-target-rda \
2189 maybe-check-target-libada \
2190 maybe-check-target-libgomp
2192 do-check:
2193 @: $(MAKE); $(unstage)
2194 @r=`${PWD_COMMAND}`; export r; \
2195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2196 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2198 # Automated reporting of test results.
2200 warning.log: build.log
2201 $(srcdir)/contrib/warn_summary build.log > $@
2203 mail-report.log:
2204 if test x'$(BOOT_CFLAGS)' != x''; then \
2205 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2206 fi; \
2207 $(srcdir)/contrib/test_summary -t >$@
2208 chmod +x $@
2209 echo If you really want to send e-mail, run ./$@ now
2211 mail-report-with-warnings.log: warning.log
2212 if test x'$(BOOT_CFLAGS)' != x''; then \
2213 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2214 fi; \
2215 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2216 chmod +x $@
2217 echo If you really want to send e-mail, run ./$@ now
2219 # Installation targets.
2221 .PHONY: install uninstall
2222 install:
2223 @: $(MAKE); $(unstage)
2224 @r=`${PWD_COMMAND}`; export r; \
2225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2226 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2228 .PHONY: install-host-nogcc
2229 install-host-nogcc: \
2230 maybe-install-ash \
2231 maybe-install-autoconf \
2232 maybe-install-automake \
2233 maybe-install-bash \
2234 maybe-install-bfd \
2235 maybe-install-opcodes \
2236 maybe-install-binutils \
2237 maybe-install-bison \
2238 maybe-install-byacc \
2239 maybe-install-bzip2 \
2240 maybe-install-dejagnu \
2241 maybe-install-diff \
2242 maybe-install-dosutils \
2243 maybe-install-etc \
2244 maybe-install-fastjar \
2245 maybe-install-fileutils \
2246 maybe-install-findutils \
2247 maybe-install-find \
2248 maybe-install-fixincludes \
2249 maybe-install-flex \
2250 maybe-install-gas \
2251 maybe-install-gawk \
2252 maybe-install-gettext \
2253 maybe-install-gnuserv \
2254 maybe-install-gprof \
2255 maybe-install-gzip \
2256 maybe-install-hello \
2257 maybe-install-indent \
2258 maybe-install-intl \
2259 maybe-install-tcl \
2260 maybe-install-itcl \
2261 maybe-install-ld \
2262 maybe-install-libcpp \
2263 maybe-install-libdecnumber \
2264 maybe-install-libgui \
2265 maybe-install-libiberty \
2266 maybe-install-libtool \
2267 maybe-install-m4 \
2268 maybe-install-make \
2269 maybe-install-mmalloc \
2270 maybe-install-patch \
2271 maybe-install-perl \
2272 maybe-install-prms \
2273 maybe-install-rcs \
2274 maybe-install-readline \
2275 maybe-install-release \
2276 maybe-install-recode \
2277 maybe-install-sed \
2278 maybe-install-send-pr \
2279 maybe-install-shellutils \
2280 maybe-install-sid \
2281 maybe-install-sim \
2282 maybe-install-tar \
2283 maybe-install-texinfo \
2284 maybe-install-textutils \
2285 maybe-install-time \
2286 maybe-install-uudecode \
2287 maybe-install-wdiff \
2288 maybe-install-zip \
2289 maybe-install-zlib \
2290 maybe-install-gdb \
2291 maybe-install-expect \
2292 maybe-install-guile \
2293 maybe-install-tk \
2294 maybe-install-libtermcap \
2295 maybe-install-utils \
2296 maybe-install-gnattools
2298 .PHONY: install-host
2299 install-host: \
2300 maybe-install-ash \
2301 maybe-install-autoconf \
2302 maybe-install-automake \
2303 maybe-install-bash \
2304 maybe-install-bfd \
2305 maybe-install-opcodes \
2306 maybe-install-binutils \
2307 maybe-install-bison \
2308 maybe-install-byacc \
2309 maybe-install-bzip2 \
2310 maybe-install-dejagnu \
2311 maybe-install-diff \
2312 maybe-install-dosutils \
2313 maybe-install-etc \
2314 maybe-install-fastjar \
2315 maybe-install-fileutils \
2316 maybe-install-findutils \
2317 maybe-install-find \
2318 maybe-install-fixincludes \
2319 maybe-install-flex \
2320 maybe-install-gas \
2321 maybe-install-gcc \
2322 maybe-install-gawk \
2323 maybe-install-gettext \
2324 maybe-install-gnuserv \
2325 maybe-install-gprof \
2326 maybe-install-gzip \
2327 maybe-install-hello \
2328 maybe-install-indent \
2329 maybe-install-intl \
2330 maybe-install-tcl \
2331 maybe-install-itcl \
2332 maybe-install-ld \
2333 maybe-install-libcpp \
2334 maybe-install-libdecnumber \
2335 maybe-install-libgui \
2336 maybe-install-libiberty \
2337 maybe-install-libtool \
2338 maybe-install-m4 \
2339 maybe-install-make \
2340 maybe-install-mmalloc \
2341 maybe-install-patch \
2342 maybe-install-perl \
2343 maybe-install-prms \
2344 maybe-install-rcs \
2345 maybe-install-readline \
2346 maybe-install-release \
2347 maybe-install-recode \
2348 maybe-install-sed \
2349 maybe-install-send-pr \
2350 maybe-install-shellutils \
2351 maybe-install-sid \
2352 maybe-install-sim \
2353 maybe-install-tar \
2354 maybe-install-texinfo \
2355 maybe-install-textutils \
2356 maybe-install-time \
2357 maybe-install-uudecode \
2358 maybe-install-wdiff \
2359 maybe-install-zip \
2360 maybe-install-zlib \
2361 maybe-install-gdb \
2362 maybe-install-expect \
2363 maybe-install-guile \
2364 maybe-install-tk \
2365 maybe-install-libtermcap \
2366 maybe-install-utils \
2367 maybe-install-gnattools
2369 .PHONY: install-target
2370 install-target: \
2371 maybe-install-target-libstdc++-v3 \
2372 maybe-install-target-libmudflap \
2373 maybe-install-target-libssp \
2374 maybe-install-target-newlib \
2375 maybe-install-target-libgfortran \
2376 maybe-install-target-libobjc \
2377 maybe-install-target-libtermcap \
2378 maybe-install-target-winsup \
2379 maybe-install-target-libgloss \
2380 maybe-install-target-libiberty \
2381 maybe-install-target-gperf \
2382 maybe-install-target-examples \
2383 maybe-install-target-libffi \
2384 maybe-install-target-libjava \
2385 maybe-install-target-zlib \
2386 maybe-install-target-boehm-gc \
2387 maybe-install-target-qthreads \
2388 maybe-install-target-rda \
2389 maybe-install-target-libada \
2390 maybe-install-target-libgomp
2392 uninstall:
2393 @echo "the uninstall target is not supported in this tree"
2395 .PHONY: install.all
2396 install.all: install-no-fixedincludes
2397 @if [ -f ./gcc/Makefile ] ; then \
2398 r=`${PWD_COMMAND}` ; export r ; \
2399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2400 $(HOST_EXPORTS) \
2401 (cd ./gcc && \
2402 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2403 else \
2404 true ; \
2407 # install-no-fixedincludes is used because Cygnus can not distribute
2408 # the fixed header files.
2409 .PHONY: install-no-fixedincludes
2410 install-no-fixedincludes: installdirs install-host-nogcc \
2411 install-target gcc-no-fixedincludes
2413 ### other supporting targets
2415 MAKEDIRS= \
2416 $(DESTDIR)$(prefix) \
2417 $(DESTDIR)$(exec_prefix)
2418 .PHONY: installdirs
2419 installdirs: mkinstalldirs
2420 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2422 dir.info: do-install-info
2423 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2424 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2425 mv -f dir.info.new dir.info ; \
2426 else true ; \
2429 dist:
2430 @echo "Building a full distribution of this tree isn't done"
2431 @echo "via 'make dist'. Check out the etc/ subdirectory"
2433 etags tags: TAGS
2435 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2436 # ability to use several tags files at once, so there is probably no need
2437 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2438 # (if we felt like it) have this Makefile write a piece of elisp which
2439 # the user could load to tell emacs19 where all the TAGS files we just
2440 # built are.
2441 TAGS: do-TAGS
2443 # ------------------------------------
2444 # Macros for configure and all targets
2445 # ------------------------------------
2451 # --------------------------------------
2452 # Modules which run on the build machine
2453 # --------------------------------------
2456 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2457 maybe-configure-build-libiberty:
2458 @if gcc-bootstrap
2459 configure-build-libiberty: stage_current
2460 @endif gcc-bootstrap
2461 @if build-libiberty
2462 maybe-configure-build-libiberty: configure-build-libiberty
2463 configure-build-libiberty:
2464 @: $(MAKE); $(unstage)
2465 @r=`${PWD_COMMAND}`; export r; \
2466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2467 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2468 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2469 $(BUILD_EXPORTS) \
2470 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2471 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2472 case $(srcdir) in \
2473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2474 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2476 esac; \
2477 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2478 libsrcdir="$$s/libiberty"; \
2479 rm -f no-such-file || : ; \
2480 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2481 $(BUILD_CONFIGARGS) $${srcdiroption} \
2482 || exit 1
2483 @endif build-libiberty
2489 .PHONY: all-build-libiberty maybe-all-build-libiberty
2490 maybe-all-build-libiberty:
2491 @if gcc-bootstrap
2492 all-build-libiberty: stage_current
2493 @endif gcc-bootstrap
2494 @if build-libiberty
2495 TARGET-build-libiberty=all
2496 maybe-all-build-libiberty: all-build-libiberty
2497 all-build-libiberty: configure-build-libiberty
2498 @: $(MAKE); $(unstage)
2499 @r=`${PWD_COMMAND}`; export r; \
2500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2501 $(BUILD_EXPORTS) \
2502 (cd $(BUILD_SUBDIR)/libiberty && \
2503 $(MAKE) $(TARGET-build-libiberty))
2504 @endif build-libiberty
2510 .PHONY: configure-build-bison maybe-configure-build-bison
2511 maybe-configure-build-bison:
2512 @if gcc-bootstrap
2513 configure-build-bison: stage_current
2514 @endif gcc-bootstrap
2515 @if build-bison
2516 maybe-configure-build-bison: configure-build-bison
2517 configure-build-bison:
2518 @: $(MAKE); $(unstage)
2519 @r=`${PWD_COMMAND}`; export r; \
2520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2521 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2522 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2523 $(BUILD_EXPORTS) \
2524 echo Configuring in $(BUILD_SUBDIR)/bison; \
2525 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2526 case $(srcdir) in \
2527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2528 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2530 esac; \
2531 srcdiroption="--srcdir=$${topdir}/bison"; \
2532 libsrcdir="$$s/bison"; \
2533 rm -f no-such-file || : ; \
2534 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2535 $(BUILD_CONFIGARGS) $${srcdiroption} \
2536 || exit 1
2537 @endif build-bison
2543 .PHONY: all-build-bison maybe-all-build-bison
2544 maybe-all-build-bison:
2545 @if gcc-bootstrap
2546 all-build-bison: stage_current
2547 @endif gcc-bootstrap
2548 @if build-bison
2549 TARGET-build-bison=all
2550 maybe-all-build-bison: all-build-bison
2551 all-build-bison: configure-build-bison
2552 @: $(MAKE); $(unstage)
2553 @r=`${PWD_COMMAND}`; export r; \
2554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 $(BUILD_EXPORTS) \
2556 (cd $(BUILD_SUBDIR)/bison && \
2557 $(MAKE) $(TARGET-build-bison))
2558 @endif build-bison
2564 .PHONY: configure-build-byacc maybe-configure-build-byacc
2565 maybe-configure-build-byacc:
2566 @if gcc-bootstrap
2567 configure-build-byacc: stage_current
2568 @endif gcc-bootstrap
2569 @if build-byacc
2570 maybe-configure-build-byacc: configure-build-byacc
2571 configure-build-byacc:
2572 @: $(MAKE); $(unstage)
2573 @r=`${PWD_COMMAND}`; export r; \
2574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2575 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2576 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2577 $(BUILD_EXPORTS) \
2578 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2579 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2580 case $(srcdir) in \
2581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2582 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2584 esac; \
2585 srcdiroption="--srcdir=$${topdir}/byacc"; \
2586 libsrcdir="$$s/byacc"; \
2587 rm -f no-such-file || : ; \
2588 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2589 $(BUILD_CONFIGARGS) $${srcdiroption} \
2590 || exit 1
2591 @endif build-byacc
2597 .PHONY: all-build-byacc maybe-all-build-byacc
2598 maybe-all-build-byacc:
2599 @if gcc-bootstrap
2600 all-build-byacc: stage_current
2601 @endif gcc-bootstrap
2602 @if build-byacc
2603 TARGET-build-byacc=all
2604 maybe-all-build-byacc: all-build-byacc
2605 all-build-byacc: configure-build-byacc
2606 @: $(MAKE); $(unstage)
2607 @r=`${PWD_COMMAND}`; export r; \
2608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2609 $(BUILD_EXPORTS) \
2610 (cd $(BUILD_SUBDIR)/byacc && \
2611 $(MAKE) $(TARGET-build-byacc))
2612 @endif build-byacc
2618 .PHONY: configure-build-flex maybe-configure-build-flex
2619 maybe-configure-build-flex:
2620 @if gcc-bootstrap
2621 configure-build-flex: stage_current
2622 @endif gcc-bootstrap
2623 @if build-flex
2624 maybe-configure-build-flex: configure-build-flex
2625 configure-build-flex:
2626 @: $(MAKE); $(unstage)
2627 @r=`${PWD_COMMAND}`; export r; \
2628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2629 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2630 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2631 $(BUILD_EXPORTS) \
2632 echo Configuring in $(BUILD_SUBDIR)/flex; \
2633 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2634 case $(srcdir) in \
2635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2636 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2638 esac; \
2639 srcdiroption="--srcdir=$${topdir}/flex"; \
2640 libsrcdir="$$s/flex"; \
2641 rm -f no-such-file || : ; \
2642 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2643 $(BUILD_CONFIGARGS) $${srcdiroption} \
2644 || exit 1
2645 @endif build-flex
2651 .PHONY: all-build-flex maybe-all-build-flex
2652 maybe-all-build-flex:
2653 @if gcc-bootstrap
2654 all-build-flex: stage_current
2655 @endif gcc-bootstrap
2656 @if build-flex
2657 TARGET-build-flex=all
2658 maybe-all-build-flex: all-build-flex
2659 all-build-flex: configure-build-flex
2660 @: $(MAKE); $(unstage)
2661 @r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 $(BUILD_EXPORTS) \
2664 (cd $(BUILD_SUBDIR)/flex && \
2665 $(MAKE) $(TARGET-build-flex))
2666 @endif build-flex
2672 .PHONY: configure-build-m4 maybe-configure-build-m4
2673 maybe-configure-build-m4:
2674 @if gcc-bootstrap
2675 configure-build-m4: stage_current
2676 @endif gcc-bootstrap
2677 @if build-m4
2678 maybe-configure-build-m4: configure-build-m4
2679 configure-build-m4:
2680 @: $(MAKE); $(unstage)
2681 @r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2683 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2684 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2685 $(BUILD_EXPORTS) \
2686 echo Configuring in $(BUILD_SUBDIR)/m4; \
2687 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2688 case $(srcdir) in \
2689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2690 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2692 esac; \
2693 srcdiroption="--srcdir=$${topdir}/m4"; \
2694 libsrcdir="$$s/m4"; \
2695 rm -f no-such-file || : ; \
2696 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2697 $(BUILD_CONFIGARGS) $${srcdiroption} \
2698 || exit 1
2699 @endif build-m4
2705 .PHONY: all-build-m4 maybe-all-build-m4
2706 maybe-all-build-m4:
2707 @if gcc-bootstrap
2708 all-build-m4: stage_current
2709 @endif gcc-bootstrap
2710 @if build-m4
2711 TARGET-build-m4=all
2712 maybe-all-build-m4: all-build-m4
2713 all-build-m4: configure-build-m4
2714 @: $(MAKE); $(unstage)
2715 @r=`${PWD_COMMAND}`; export r; \
2716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2717 $(BUILD_EXPORTS) \
2718 (cd $(BUILD_SUBDIR)/m4 && \
2719 $(MAKE) $(TARGET-build-m4))
2720 @endif build-m4
2726 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2727 maybe-configure-build-texinfo:
2728 @if gcc-bootstrap
2729 configure-build-texinfo: stage_current
2730 @endif gcc-bootstrap
2731 @if build-texinfo
2732 maybe-configure-build-texinfo: configure-build-texinfo
2733 configure-build-texinfo:
2734 @: $(MAKE); $(unstage)
2735 @r=`${PWD_COMMAND}`; export r; \
2736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2737 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2738 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2739 $(BUILD_EXPORTS) \
2740 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2741 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2742 case $(srcdir) in \
2743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2744 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2746 esac; \
2747 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2748 libsrcdir="$$s/texinfo"; \
2749 rm -f no-such-file || : ; \
2750 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2751 $(BUILD_CONFIGARGS) $${srcdiroption} \
2752 || exit 1
2753 @endif build-texinfo
2759 .PHONY: all-build-texinfo maybe-all-build-texinfo
2760 maybe-all-build-texinfo:
2761 @if gcc-bootstrap
2762 all-build-texinfo: stage_current
2763 @endif gcc-bootstrap
2764 @if build-texinfo
2765 TARGET-build-texinfo=all
2766 maybe-all-build-texinfo: all-build-texinfo
2767 all-build-texinfo: configure-build-texinfo
2768 @: $(MAKE); $(unstage)
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 $(BUILD_EXPORTS) \
2772 (cd $(BUILD_SUBDIR)/texinfo && \
2773 $(MAKE) $(TARGET-build-texinfo))
2774 @endif build-texinfo
2780 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2781 maybe-configure-build-fixincludes:
2782 @if gcc-bootstrap
2783 configure-build-fixincludes: stage_current
2784 @endif gcc-bootstrap
2785 @if build-fixincludes
2786 maybe-configure-build-fixincludes: configure-build-fixincludes
2787 configure-build-fixincludes:
2788 @: $(MAKE); $(unstage)
2789 @r=`${PWD_COMMAND}`; export r; \
2790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2791 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2792 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2793 $(BUILD_EXPORTS) \
2794 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2795 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2796 case $(srcdir) in \
2797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2798 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2800 esac; \
2801 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2802 libsrcdir="$$s/fixincludes"; \
2803 rm -f no-such-file || : ; \
2804 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2805 $(BUILD_CONFIGARGS) $${srcdiroption} \
2806 || exit 1
2807 @endif build-fixincludes
2813 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2814 maybe-all-build-fixincludes:
2815 @if gcc-bootstrap
2816 all-build-fixincludes: stage_current
2817 @endif gcc-bootstrap
2818 @if build-fixincludes
2819 TARGET-build-fixincludes=all
2820 maybe-all-build-fixincludes: all-build-fixincludes
2821 all-build-fixincludes: configure-build-fixincludes
2822 @: $(MAKE); $(unstage)
2823 @r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825 $(BUILD_EXPORTS) \
2826 (cd $(BUILD_SUBDIR)/fixincludes && \
2827 $(MAKE) $(TARGET-build-fixincludes))
2828 @endif build-fixincludes
2834 # --------------------------------------
2835 # Modules which run on the host machine
2836 # --------------------------------------
2839 .PHONY: configure-ash maybe-configure-ash
2840 maybe-configure-ash:
2841 @if gcc-bootstrap
2842 configure-ash: stage_current
2843 @endif gcc-bootstrap
2844 @if ash
2845 maybe-configure-ash: configure-ash
2846 configure-ash:
2847 @: $(MAKE); $(unstage)
2848 @r=`${PWD_COMMAND}`; export r; \
2849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2850 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2852 $(HOST_EXPORTS) \
2853 echo Configuring in $(HOST_SUBDIR)/ash; \
2854 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2855 case $(srcdir) in \
2856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2857 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2859 esac; \
2860 srcdiroption="--srcdir=$${topdir}/ash"; \
2861 libsrcdir="$$s/ash"; \
2862 $(SHELL) $${libsrcdir}/configure \
2863 $(HOST_CONFIGARGS) $${srcdiroption} \
2864 || exit 1
2865 @endif ash
2871 .PHONY: all-ash maybe-all-ash
2872 maybe-all-ash:
2873 @if gcc-bootstrap
2874 all-ash: stage_current
2875 @endif gcc-bootstrap
2876 @if ash
2877 TARGET-ash=all
2878 maybe-all-ash: all-ash
2879 all-ash: configure-ash
2880 @: $(MAKE); $(unstage)
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2883 $(HOST_EXPORTS) \
2884 (cd $(HOST_SUBDIR)/ash && \
2885 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2886 @endif ash
2891 .PHONY: check-ash maybe-check-ash
2892 maybe-check-ash:
2893 @if ash
2894 maybe-check-ash: check-ash
2896 check-ash:
2897 @: $(MAKE); $(unstage)
2898 @r=`${PWD_COMMAND}`; export r; \
2899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2900 $(HOST_EXPORTS) \
2901 (cd $(HOST_SUBDIR)/ash && \
2902 $(MAKE) $(FLAGS_TO_PASS) check)
2904 @endif ash
2906 .PHONY: install-ash maybe-install-ash
2907 maybe-install-ash:
2908 @if ash
2909 maybe-install-ash: install-ash
2911 install-ash: installdirs
2912 @: $(MAKE); $(unstage)
2913 @r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2915 $(HOST_EXPORTS) \
2916 (cd $(HOST_SUBDIR)/ash && \
2917 $(MAKE) $(FLAGS_TO_PASS) install)
2919 @endif ash
2921 # Other targets (info, dvi, pdf, etc.)
2923 .PHONY: maybe-info-ash info-ash
2924 maybe-info-ash:
2925 @if ash
2926 maybe-info-ash: info-ash
2928 info-ash: \
2929 configure-ash
2930 @: $(MAKE); $(unstage)
2931 @[ -f ./ash/Makefile ] || exit 0; \
2932 r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(HOST_EXPORTS) \
2935 for flag in $(EXTRA_HOST_FLAGS) ; do \
2936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2937 done; \
2938 echo "Doing info in ash" ; \
2939 (cd $(HOST_SUBDIR)/ash && \
2940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2942 "RANLIB=$${RANLIB}" \
2943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2944 info) \
2945 || exit 1
2947 @endif ash
2949 .PHONY: maybe-dvi-ash dvi-ash
2950 maybe-dvi-ash:
2951 @if ash
2952 maybe-dvi-ash: dvi-ash
2954 dvi-ash: \
2955 configure-ash
2956 @: $(MAKE); $(unstage)
2957 @[ -f ./ash/Makefile ] || exit 0; \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 $(HOST_EXPORTS) \
2961 for flag in $(EXTRA_HOST_FLAGS) ; do \
2962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963 done; \
2964 echo "Doing dvi in ash" ; \
2965 (cd $(HOST_SUBDIR)/ash && \
2966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968 "RANLIB=$${RANLIB}" \
2969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970 dvi) \
2971 || exit 1
2973 @endif ash
2975 .PHONY: maybe-pdf-ash pdf-ash
2976 maybe-pdf-ash:
2977 @if ash
2978 maybe-pdf-ash: pdf-ash
2980 pdf-ash: \
2981 configure-ash
2982 @: $(MAKE); $(unstage)
2983 @[ -f ./ash/Makefile ] || exit 0; \
2984 r=`${PWD_COMMAND}`; export r; \
2985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2986 $(HOST_EXPORTS) \
2987 for flag in $(EXTRA_HOST_FLAGS) ; do \
2988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2989 done; \
2990 echo "Doing pdf in ash" ; \
2991 (cd $(HOST_SUBDIR)/ash && \
2992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2994 "RANLIB=$${RANLIB}" \
2995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2996 pdf) \
2997 || exit 1
2999 @endif ash
3001 .PHONY: maybe-html-ash html-ash
3002 maybe-html-ash:
3003 @if ash
3004 maybe-html-ash: html-ash
3006 html-ash: \
3007 configure-ash
3008 @: $(MAKE); $(unstage)
3009 @[ -f ./ash/Makefile ] || exit 0; \
3010 r=`${PWD_COMMAND}`; export r; \
3011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3012 $(HOST_EXPORTS) \
3013 for flag in $(EXTRA_HOST_FLAGS) ; do \
3014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3015 done; \
3016 echo "Doing html in ash" ; \
3017 (cd $(HOST_SUBDIR)/ash && \
3018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3020 "RANLIB=$${RANLIB}" \
3021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3022 html) \
3023 || exit 1
3025 @endif ash
3027 .PHONY: maybe-TAGS-ash TAGS-ash
3028 maybe-TAGS-ash:
3029 @if ash
3030 maybe-TAGS-ash: TAGS-ash
3032 TAGS-ash: \
3033 configure-ash
3034 @: $(MAKE); $(unstage)
3035 @[ -f ./ash/Makefile ] || exit 0; \
3036 r=`${PWD_COMMAND}`; export r; \
3037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3038 $(HOST_EXPORTS) \
3039 for flag in $(EXTRA_HOST_FLAGS) ; do \
3040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3041 done; \
3042 echo "Doing TAGS in ash" ; \
3043 (cd $(HOST_SUBDIR)/ash && \
3044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3046 "RANLIB=$${RANLIB}" \
3047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3048 TAGS) \
3049 || exit 1
3051 @endif ash
3053 .PHONY: maybe-install-info-ash install-info-ash
3054 maybe-install-info-ash:
3055 @if ash
3056 maybe-install-info-ash: install-info-ash
3058 install-info-ash: \
3059 configure-ash \
3060 info-ash
3061 @: $(MAKE); $(unstage)
3062 @[ -f ./ash/Makefile ] || exit 0; \
3063 r=`${PWD_COMMAND}`; export r; \
3064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3065 $(HOST_EXPORTS) \
3066 for flag in $(EXTRA_HOST_FLAGS) ; do \
3067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3068 done; \
3069 echo "Doing install-info in ash" ; \
3070 (cd $(HOST_SUBDIR)/ash && \
3071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3073 "RANLIB=$${RANLIB}" \
3074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3075 install-info) \
3076 || exit 1
3078 @endif ash
3080 .PHONY: maybe-install-html-ash install-html-ash
3081 maybe-install-html-ash:
3082 @if ash
3083 maybe-install-html-ash: install-html-ash
3085 install-html-ash: \
3086 configure-ash \
3087 html-ash
3088 @: $(MAKE); $(unstage)
3089 @[ -f ./ash/Makefile ] || exit 0; \
3090 r=`${PWD_COMMAND}`; export r; \
3091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3092 $(HOST_EXPORTS) \
3093 for flag in $(EXTRA_HOST_FLAGS) ; do \
3094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3095 done; \
3096 echo "Doing install-html in ash" ; \
3097 (cd $(HOST_SUBDIR)/ash && \
3098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3100 "RANLIB=$${RANLIB}" \
3101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3102 install-html) \
3103 || exit 1
3105 @endif ash
3107 .PHONY: maybe-installcheck-ash installcheck-ash
3108 maybe-installcheck-ash:
3109 @if ash
3110 maybe-installcheck-ash: installcheck-ash
3112 installcheck-ash: \
3113 configure-ash
3114 @: $(MAKE); $(unstage)
3115 @[ -f ./ash/Makefile ] || exit 0; \
3116 r=`${PWD_COMMAND}`; export r; \
3117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118 $(HOST_EXPORTS) \
3119 for flag in $(EXTRA_HOST_FLAGS) ; do \
3120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3121 done; \
3122 echo "Doing installcheck in ash" ; \
3123 (cd $(HOST_SUBDIR)/ash && \
3124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3126 "RANLIB=$${RANLIB}" \
3127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3128 installcheck) \
3129 || exit 1
3131 @endif ash
3133 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3134 maybe-mostlyclean-ash:
3135 @if ash
3136 maybe-mostlyclean-ash: mostlyclean-ash
3138 mostlyclean-ash:
3139 @: $(MAKE); $(unstage)
3140 @[ -f ./ash/Makefile ] || exit 0; \
3141 r=`${PWD_COMMAND}`; export r; \
3142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3143 $(HOST_EXPORTS) \
3144 for flag in $(EXTRA_HOST_FLAGS) ; do \
3145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3146 done; \
3147 echo "Doing mostlyclean in ash" ; \
3148 (cd $(HOST_SUBDIR)/ash && \
3149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3151 "RANLIB=$${RANLIB}" \
3152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3153 mostlyclean) \
3154 || exit 1
3156 @endif ash
3158 .PHONY: maybe-clean-ash clean-ash
3159 maybe-clean-ash:
3160 @if ash
3161 maybe-clean-ash: clean-ash
3163 clean-ash:
3164 @: $(MAKE); $(unstage)
3165 @[ -f ./ash/Makefile ] || exit 0; \
3166 r=`${PWD_COMMAND}`; export r; \
3167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3168 $(HOST_EXPORTS) \
3169 for flag in $(EXTRA_HOST_FLAGS) ; do \
3170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3171 done; \
3172 echo "Doing clean in ash" ; \
3173 (cd $(HOST_SUBDIR)/ash && \
3174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3176 "RANLIB=$${RANLIB}" \
3177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3178 clean) \
3179 || exit 1
3181 @endif ash
3183 .PHONY: maybe-distclean-ash distclean-ash
3184 maybe-distclean-ash:
3185 @if ash
3186 maybe-distclean-ash: distclean-ash
3188 distclean-ash:
3189 @: $(MAKE); $(unstage)
3190 @[ -f ./ash/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 $(HOST_EXPORTS) \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3196 done; \
3197 echo "Doing distclean in ash" ; \
3198 (cd $(HOST_SUBDIR)/ash && \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203 distclean) \
3204 || exit 1
3206 @endif ash
3208 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3209 maybe-maintainer-clean-ash:
3210 @if ash
3211 maybe-maintainer-clean-ash: maintainer-clean-ash
3213 maintainer-clean-ash:
3214 @: $(MAKE); $(unstage)
3215 @[ -f ./ash/Makefile ] || exit 0; \
3216 r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3218 $(HOST_EXPORTS) \
3219 for flag in $(EXTRA_HOST_FLAGS) ; do \
3220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3221 done; \
3222 echo "Doing maintainer-clean in ash" ; \
3223 (cd $(HOST_SUBDIR)/ash && \
3224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3226 "RANLIB=$${RANLIB}" \
3227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3228 maintainer-clean) \
3229 || exit 1
3231 @endif ash
3235 .PHONY: configure-autoconf maybe-configure-autoconf
3236 maybe-configure-autoconf:
3237 @if gcc-bootstrap
3238 configure-autoconf: stage_current
3239 @endif gcc-bootstrap
3240 @if autoconf
3241 maybe-configure-autoconf: configure-autoconf
3242 configure-autoconf:
3243 @: $(MAKE); $(unstage)
3244 @r=`${PWD_COMMAND}`; export r; \
3245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3246 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3248 $(HOST_EXPORTS) \
3249 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3250 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3251 case $(srcdir) in \
3252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3253 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3255 esac; \
3256 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3257 libsrcdir="$$s/autoconf"; \
3258 $(SHELL) $${libsrcdir}/configure \
3259 $(HOST_CONFIGARGS) $${srcdiroption} \
3260 || exit 1
3261 @endif autoconf
3267 .PHONY: all-autoconf maybe-all-autoconf
3268 maybe-all-autoconf:
3269 @if gcc-bootstrap
3270 all-autoconf: stage_current
3271 @endif gcc-bootstrap
3272 @if autoconf
3273 TARGET-autoconf=all
3274 maybe-all-autoconf: all-autoconf
3275 all-autoconf: configure-autoconf
3276 @: $(MAKE); $(unstage)
3277 @r=`${PWD_COMMAND}`; export r; \
3278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3279 $(HOST_EXPORTS) \
3280 (cd $(HOST_SUBDIR)/autoconf && \
3281 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3282 @endif autoconf
3287 .PHONY: check-autoconf maybe-check-autoconf
3288 maybe-check-autoconf:
3289 @if autoconf
3290 maybe-check-autoconf: check-autoconf
3292 check-autoconf:
3293 @: $(MAKE); $(unstage)
3294 @r=`${PWD_COMMAND}`; export r; \
3295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3296 $(HOST_EXPORTS) \
3297 (cd $(HOST_SUBDIR)/autoconf && \
3298 $(MAKE) $(FLAGS_TO_PASS) check)
3300 @endif autoconf
3302 .PHONY: install-autoconf maybe-install-autoconf
3303 maybe-install-autoconf:
3304 @if autoconf
3305 maybe-install-autoconf: install-autoconf
3307 install-autoconf: installdirs
3308 @: $(MAKE); $(unstage)
3309 @r=`${PWD_COMMAND}`; export r; \
3310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3311 $(HOST_EXPORTS) \
3312 (cd $(HOST_SUBDIR)/autoconf && \
3313 $(MAKE) $(FLAGS_TO_PASS) install)
3315 @endif autoconf
3317 # Other targets (info, dvi, pdf, etc.)
3319 .PHONY: maybe-info-autoconf info-autoconf
3320 maybe-info-autoconf:
3321 @if autoconf
3322 maybe-info-autoconf: info-autoconf
3324 info-autoconf: \
3325 configure-autoconf
3326 @: $(MAKE); $(unstage)
3327 @[ -f ./autoconf/Makefile ] || exit 0; \
3328 r=`${PWD_COMMAND}`; export r; \
3329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3330 $(HOST_EXPORTS) \
3331 for flag in $(EXTRA_HOST_FLAGS) ; do \
3332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3333 done; \
3334 echo "Doing info in autoconf" ; \
3335 (cd $(HOST_SUBDIR)/autoconf && \
3336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3338 "RANLIB=$${RANLIB}" \
3339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3340 info) \
3341 || exit 1
3343 @endif autoconf
3345 .PHONY: maybe-dvi-autoconf dvi-autoconf
3346 maybe-dvi-autoconf:
3347 @if autoconf
3348 maybe-dvi-autoconf: dvi-autoconf
3350 dvi-autoconf: \
3351 configure-autoconf
3352 @: $(MAKE); $(unstage)
3353 @[ -f ./autoconf/Makefile ] || exit 0; \
3354 r=`${PWD_COMMAND}`; export r; \
3355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 $(HOST_EXPORTS) \
3357 for flag in $(EXTRA_HOST_FLAGS) ; do \
3358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3359 done; \
3360 echo "Doing dvi in autoconf" ; \
3361 (cd $(HOST_SUBDIR)/autoconf && \
3362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3364 "RANLIB=$${RANLIB}" \
3365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3366 dvi) \
3367 || exit 1
3369 @endif autoconf
3371 .PHONY: maybe-pdf-autoconf pdf-autoconf
3372 maybe-pdf-autoconf:
3373 @if autoconf
3374 maybe-pdf-autoconf: pdf-autoconf
3376 pdf-autoconf: \
3377 configure-autoconf
3378 @: $(MAKE); $(unstage)
3379 @[ -f ./autoconf/Makefile ] || exit 0; \
3380 r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 $(HOST_EXPORTS) \
3383 for flag in $(EXTRA_HOST_FLAGS) ; do \
3384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3385 done; \
3386 echo "Doing pdf in autoconf" ; \
3387 (cd $(HOST_SUBDIR)/autoconf && \
3388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3390 "RANLIB=$${RANLIB}" \
3391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3392 pdf) \
3393 || exit 1
3395 @endif autoconf
3397 .PHONY: maybe-html-autoconf html-autoconf
3398 maybe-html-autoconf:
3399 @if autoconf
3400 maybe-html-autoconf: html-autoconf
3402 html-autoconf: \
3403 configure-autoconf
3404 @: $(MAKE); $(unstage)
3405 @[ -f ./autoconf/Makefile ] || exit 0; \
3406 r=`${PWD_COMMAND}`; export r; \
3407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3408 $(HOST_EXPORTS) \
3409 for flag in $(EXTRA_HOST_FLAGS) ; do \
3410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3411 done; \
3412 echo "Doing html in autoconf" ; \
3413 (cd $(HOST_SUBDIR)/autoconf && \
3414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3416 "RANLIB=$${RANLIB}" \
3417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3418 html) \
3419 || exit 1
3421 @endif autoconf
3423 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3424 maybe-TAGS-autoconf:
3425 @if autoconf
3426 maybe-TAGS-autoconf: TAGS-autoconf
3428 TAGS-autoconf: \
3429 configure-autoconf
3430 @: $(MAKE); $(unstage)
3431 @[ -f ./autoconf/Makefile ] || exit 0; \
3432 r=`${PWD_COMMAND}`; export r; \
3433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3434 $(HOST_EXPORTS) \
3435 for flag in $(EXTRA_HOST_FLAGS) ; do \
3436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3437 done; \
3438 echo "Doing TAGS in autoconf" ; \
3439 (cd $(HOST_SUBDIR)/autoconf && \
3440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3442 "RANLIB=$${RANLIB}" \
3443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3444 TAGS) \
3445 || exit 1
3447 @endif autoconf
3449 .PHONY: maybe-install-info-autoconf install-info-autoconf
3450 maybe-install-info-autoconf:
3451 @if autoconf
3452 maybe-install-info-autoconf: install-info-autoconf
3454 install-info-autoconf: \
3455 configure-autoconf \
3456 info-autoconf
3457 @: $(MAKE); $(unstage)
3458 @[ -f ./autoconf/Makefile ] || exit 0; \
3459 r=`${PWD_COMMAND}`; export r; \
3460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3461 $(HOST_EXPORTS) \
3462 for flag in $(EXTRA_HOST_FLAGS) ; do \
3463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3464 done; \
3465 echo "Doing install-info in autoconf" ; \
3466 (cd $(HOST_SUBDIR)/autoconf && \
3467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3469 "RANLIB=$${RANLIB}" \
3470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3471 install-info) \
3472 || exit 1
3474 @endif autoconf
3476 .PHONY: maybe-install-html-autoconf install-html-autoconf
3477 maybe-install-html-autoconf:
3478 @if autoconf
3479 maybe-install-html-autoconf: install-html-autoconf
3481 install-html-autoconf: \
3482 configure-autoconf \
3483 html-autoconf
3484 @: $(MAKE); $(unstage)
3485 @[ -f ./autoconf/Makefile ] || exit 0; \
3486 r=`${PWD_COMMAND}`; export r; \
3487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3488 $(HOST_EXPORTS) \
3489 for flag in $(EXTRA_HOST_FLAGS) ; do \
3490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3491 done; \
3492 echo "Doing install-html in autoconf" ; \
3493 (cd $(HOST_SUBDIR)/autoconf && \
3494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3496 "RANLIB=$${RANLIB}" \
3497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3498 install-html) \
3499 || exit 1
3501 @endif autoconf
3503 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3504 maybe-installcheck-autoconf:
3505 @if autoconf
3506 maybe-installcheck-autoconf: installcheck-autoconf
3508 installcheck-autoconf: \
3509 configure-autoconf
3510 @: $(MAKE); $(unstage)
3511 @[ -f ./autoconf/Makefile ] || exit 0; \
3512 r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 $(HOST_EXPORTS) \
3515 for flag in $(EXTRA_HOST_FLAGS) ; do \
3516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3517 done; \
3518 echo "Doing installcheck in autoconf" ; \
3519 (cd $(HOST_SUBDIR)/autoconf && \
3520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3522 "RANLIB=$${RANLIB}" \
3523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3524 installcheck) \
3525 || exit 1
3527 @endif autoconf
3529 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3530 maybe-mostlyclean-autoconf:
3531 @if autoconf
3532 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3534 mostlyclean-autoconf:
3535 @: $(MAKE); $(unstage)
3536 @[ -f ./autoconf/Makefile ] || exit 0; \
3537 r=`${PWD_COMMAND}`; export r; \
3538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3539 $(HOST_EXPORTS) \
3540 for flag in $(EXTRA_HOST_FLAGS) ; do \
3541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3542 done; \
3543 echo "Doing mostlyclean in autoconf" ; \
3544 (cd $(HOST_SUBDIR)/autoconf && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3547 "RANLIB=$${RANLIB}" \
3548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3549 mostlyclean) \
3550 || exit 1
3552 @endif autoconf
3554 .PHONY: maybe-clean-autoconf clean-autoconf
3555 maybe-clean-autoconf:
3556 @if autoconf
3557 maybe-clean-autoconf: clean-autoconf
3559 clean-autoconf:
3560 @: $(MAKE); $(unstage)
3561 @[ -f ./autoconf/Makefile ] || exit 0; \
3562 r=`${PWD_COMMAND}`; export r; \
3563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 $(HOST_EXPORTS) \
3565 for flag in $(EXTRA_HOST_FLAGS) ; do \
3566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3567 done; \
3568 echo "Doing clean in autoconf" ; \
3569 (cd $(HOST_SUBDIR)/autoconf && \
3570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3572 "RANLIB=$${RANLIB}" \
3573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3574 clean) \
3575 || exit 1
3577 @endif autoconf
3579 .PHONY: maybe-distclean-autoconf distclean-autoconf
3580 maybe-distclean-autoconf:
3581 @if autoconf
3582 maybe-distclean-autoconf: distclean-autoconf
3584 distclean-autoconf:
3585 @: $(MAKE); $(unstage)
3586 @[ -f ./autoconf/Makefile ] || exit 0; \
3587 r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3589 $(HOST_EXPORTS) \
3590 for flag in $(EXTRA_HOST_FLAGS) ; do \
3591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3592 done; \
3593 echo "Doing distclean in autoconf" ; \
3594 (cd $(HOST_SUBDIR)/autoconf && \
3595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3597 "RANLIB=$${RANLIB}" \
3598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3599 distclean) \
3600 || exit 1
3602 @endif autoconf
3604 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3605 maybe-maintainer-clean-autoconf:
3606 @if autoconf
3607 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3609 maintainer-clean-autoconf:
3610 @: $(MAKE); $(unstage)
3611 @[ -f ./autoconf/Makefile ] || exit 0; \
3612 r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3614 $(HOST_EXPORTS) \
3615 for flag in $(EXTRA_HOST_FLAGS) ; do \
3616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3617 done; \
3618 echo "Doing maintainer-clean in autoconf" ; \
3619 (cd $(HOST_SUBDIR)/autoconf && \
3620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3622 "RANLIB=$${RANLIB}" \
3623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3624 maintainer-clean) \
3625 || exit 1
3627 @endif autoconf
3631 .PHONY: configure-automake maybe-configure-automake
3632 maybe-configure-automake:
3633 @if gcc-bootstrap
3634 configure-automake: stage_current
3635 @endif gcc-bootstrap
3636 @if automake
3637 maybe-configure-automake: configure-automake
3638 configure-automake:
3639 @: $(MAKE); $(unstage)
3640 @r=`${PWD_COMMAND}`; export r; \
3641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3644 $(HOST_EXPORTS) \
3645 echo Configuring in $(HOST_SUBDIR)/automake; \
3646 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3647 case $(srcdir) in \
3648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3649 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3651 esac; \
3652 srcdiroption="--srcdir=$${topdir}/automake"; \
3653 libsrcdir="$$s/automake"; \
3654 $(SHELL) $${libsrcdir}/configure \
3655 $(HOST_CONFIGARGS) $${srcdiroption} \
3656 || exit 1
3657 @endif automake
3663 .PHONY: all-automake maybe-all-automake
3664 maybe-all-automake:
3665 @if gcc-bootstrap
3666 all-automake: stage_current
3667 @endif gcc-bootstrap
3668 @if automake
3669 TARGET-automake=all
3670 maybe-all-automake: all-automake
3671 all-automake: configure-automake
3672 @: $(MAKE); $(unstage)
3673 @r=`${PWD_COMMAND}`; export r; \
3674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3675 $(HOST_EXPORTS) \
3676 (cd $(HOST_SUBDIR)/automake && \
3677 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3678 @endif automake
3683 .PHONY: check-automake maybe-check-automake
3684 maybe-check-automake:
3685 @if automake
3686 maybe-check-automake: check-automake
3688 check-automake:
3689 @: $(MAKE); $(unstage)
3690 @r=`${PWD_COMMAND}`; export r; \
3691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3692 $(HOST_EXPORTS) \
3693 (cd $(HOST_SUBDIR)/automake && \
3694 $(MAKE) $(FLAGS_TO_PASS) check)
3696 @endif automake
3698 .PHONY: install-automake maybe-install-automake
3699 maybe-install-automake:
3700 @if automake
3701 maybe-install-automake: install-automake
3703 install-automake: installdirs
3704 @: $(MAKE); $(unstage)
3705 @r=`${PWD_COMMAND}`; export r; \
3706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3707 $(HOST_EXPORTS) \
3708 (cd $(HOST_SUBDIR)/automake && \
3709 $(MAKE) $(FLAGS_TO_PASS) install)
3711 @endif automake
3713 # Other targets (info, dvi, pdf, etc.)
3715 .PHONY: maybe-info-automake info-automake
3716 maybe-info-automake:
3717 @if automake
3718 maybe-info-automake: info-automake
3720 info-automake: \
3721 configure-automake
3722 @: $(MAKE); $(unstage)
3723 @[ -f ./automake/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 done; \
3730 echo "Doing info in automake" ; \
3731 (cd $(HOST_SUBDIR)/automake && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3736 info) \
3737 || exit 1
3739 @endif automake
3741 .PHONY: maybe-dvi-automake dvi-automake
3742 maybe-dvi-automake:
3743 @if automake
3744 maybe-dvi-automake: dvi-automake
3746 dvi-automake: \
3747 configure-automake
3748 @: $(MAKE); $(unstage)
3749 @[ -f ./automake/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing dvi in automake" ; \
3757 (cd $(HOST_SUBDIR)/automake && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 dvi) \
3763 || exit 1
3765 @endif automake
3767 .PHONY: maybe-pdf-automake pdf-automake
3768 maybe-pdf-automake:
3769 @if automake
3770 maybe-pdf-automake: pdf-automake
3772 pdf-automake: \
3773 configure-automake
3774 @: $(MAKE); $(unstage)
3775 @[ -f ./automake/Makefile ] || exit 0; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 $(HOST_EXPORTS) \
3779 for flag in $(EXTRA_HOST_FLAGS) ; do \
3780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3781 done; \
3782 echo "Doing pdf in automake" ; \
3783 (cd $(HOST_SUBDIR)/automake && \
3784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3786 "RANLIB=$${RANLIB}" \
3787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3788 pdf) \
3789 || exit 1
3791 @endif automake
3793 .PHONY: maybe-html-automake html-automake
3794 maybe-html-automake:
3795 @if automake
3796 maybe-html-automake: html-automake
3798 html-automake: \
3799 configure-automake
3800 @: $(MAKE); $(unstage)
3801 @[ -f ./automake/Makefile ] || exit 0; \
3802 r=`${PWD_COMMAND}`; export r; \
3803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 $(HOST_EXPORTS) \
3805 for flag in $(EXTRA_HOST_FLAGS) ; do \
3806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3807 done; \
3808 echo "Doing html in automake" ; \
3809 (cd $(HOST_SUBDIR)/automake && \
3810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3812 "RANLIB=$${RANLIB}" \
3813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3814 html) \
3815 || exit 1
3817 @endif automake
3819 .PHONY: maybe-TAGS-automake TAGS-automake
3820 maybe-TAGS-automake:
3821 @if automake
3822 maybe-TAGS-automake: TAGS-automake
3824 TAGS-automake: \
3825 configure-automake
3826 @: $(MAKE); $(unstage)
3827 @[ -f ./automake/Makefile ] || exit 0; \
3828 r=`${PWD_COMMAND}`; export r; \
3829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3830 $(HOST_EXPORTS) \
3831 for flag in $(EXTRA_HOST_FLAGS) ; do \
3832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3833 done; \
3834 echo "Doing TAGS in automake" ; \
3835 (cd $(HOST_SUBDIR)/automake && \
3836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3838 "RANLIB=$${RANLIB}" \
3839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3840 TAGS) \
3841 || exit 1
3843 @endif automake
3845 .PHONY: maybe-install-info-automake install-info-automake
3846 maybe-install-info-automake:
3847 @if automake
3848 maybe-install-info-automake: install-info-automake
3850 install-info-automake: \
3851 configure-automake \
3852 info-automake
3853 @: $(MAKE); $(unstage)
3854 @[ -f ./automake/Makefile ] || exit 0; \
3855 r=`${PWD_COMMAND}`; export r; \
3856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3857 $(HOST_EXPORTS) \
3858 for flag in $(EXTRA_HOST_FLAGS) ; do \
3859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3860 done; \
3861 echo "Doing install-info in automake" ; \
3862 (cd $(HOST_SUBDIR)/automake && \
3863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3865 "RANLIB=$${RANLIB}" \
3866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3867 install-info) \
3868 || exit 1
3870 @endif automake
3872 .PHONY: maybe-install-html-automake install-html-automake
3873 maybe-install-html-automake:
3874 @if automake
3875 maybe-install-html-automake: install-html-automake
3877 install-html-automake: \
3878 configure-automake \
3879 html-automake
3880 @: $(MAKE); $(unstage)
3881 @[ -f ./automake/Makefile ] || exit 0; \
3882 r=`${PWD_COMMAND}`; export r; \
3883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3884 $(HOST_EXPORTS) \
3885 for flag in $(EXTRA_HOST_FLAGS) ; do \
3886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3887 done; \
3888 echo "Doing install-html in automake" ; \
3889 (cd $(HOST_SUBDIR)/automake && \
3890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3892 "RANLIB=$${RANLIB}" \
3893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3894 install-html) \
3895 || exit 1
3897 @endif automake
3899 .PHONY: maybe-installcheck-automake installcheck-automake
3900 maybe-installcheck-automake:
3901 @if automake
3902 maybe-installcheck-automake: installcheck-automake
3904 installcheck-automake: \
3905 configure-automake
3906 @: $(MAKE); $(unstage)
3907 @[ -f ./automake/Makefile ] || exit 0; \
3908 r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 $(HOST_EXPORTS) \
3911 for flag in $(EXTRA_HOST_FLAGS) ; do \
3912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3913 done; \
3914 echo "Doing installcheck in automake" ; \
3915 (cd $(HOST_SUBDIR)/automake && \
3916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3918 "RANLIB=$${RANLIB}" \
3919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3920 installcheck) \
3921 || exit 1
3923 @endif automake
3925 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3926 maybe-mostlyclean-automake:
3927 @if automake
3928 maybe-mostlyclean-automake: mostlyclean-automake
3930 mostlyclean-automake:
3931 @: $(MAKE); $(unstage)
3932 @[ -f ./automake/Makefile ] || exit 0; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 $(HOST_EXPORTS) \
3936 for flag in $(EXTRA_HOST_FLAGS) ; do \
3937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3938 done; \
3939 echo "Doing mostlyclean in automake" ; \
3940 (cd $(HOST_SUBDIR)/automake && \
3941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943 "RANLIB=$${RANLIB}" \
3944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3945 mostlyclean) \
3946 || exit 1
3948 @endif automake
3950 .PHONY: maybe-clean-automake clean-automake
3951 maybe-clean-automake:
3952 @if automake
3953 maybe-clean-automake: clean-automake
3955 clean-automake:
3956 @: $(MAKE); $(unstage)
3957 @[ -f ./automake/Makefile ] || exit 0; \
3958 r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 $(HOST_EXPORTS) \
3961 for flag in $(EXTRA_HOST_FLAGS) ; do \
3962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3963 done; \
3964 echo "Doing clean in automake" ; \
3965 (cd $(HOST_SUBDIR)/automake && \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3968 "RANLIB=$${RANLIB}" \
3969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3970 clean) \
3971 || exit 1
3973 @endif automake
3975 .PHONY: maybe-distclean-automake distclean-automake
3976 maybe-distclean-automake:
3977 @if automake
3978 maybe-distclean-automake: distclean-automake
3980 distclean-automake:
3981 @: $(MAKE); $(unstage)
3982 @[ -f ./automake/Makefile ] || exit 0; \
3983 r=`${PWD_COMMAND}`; export r; \
3984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 $(HOST_EXPORTS) \
3986 for flag in $(EXTRA_HOST_FLAGS) ; do \
3987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3988 done; \
3989 echo "Doing distclean in automake" ; \
3990 (cd $(HOST_SUBDIR)/automake && \
3991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3993 "RANLIB=$${RANLIB}" \
3994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3995 distclean) \
3996 || exit 1
3998 @endif automake
4000 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4001 maybe-maintainer-clean-automake:
4002 @if automake
4003 maybe-maintainer-clean-automake: maintainer-clean-automake
4005 maintainer-clean-automake:
4006 @: $(MAKE); $(unstage)
4007 @[ -f ./automake/Makefile ] || exit 0; \
4008 r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4010 $(HOST_EXPORTS) \
4011 for flag in $(EXTRA_HOST_FLAGS) ; do \
4012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4013 done; \
4014 echo "Doing maintainer-clean in automake" ; \
4015 (cd $(HOST_SUBDIR)/automake && \
4016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4018 "RANLIB=$${RANLIB}" \
4019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4020 maintainer-clean) \
4021 || exit 1
4023 @endif automake
4027 .PHONY: configure-bash maybe-configure-bash
4028 maybe-configure-bash:
4029 @if gcc-bootstrap
4030 configure-bash: stage_current
4031 @endif gcc-bootstrap
4032 @if bash
4033 maybe-configure-bash: configure-bash
4034 configure-bash:
4035 @: $(MAKE); $(unstage)
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4040 $(HOST_EXPORTS) \
4041 echo Configuring in $(HOST_SUBDIR)/bash; \
4042 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4043 case $(srcdir) in \
4044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4045 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4047 esac; \
4048 srcdiroption="--srcdir=$${topdir}/bash"; \
4049 libsrcdir="$$s/bash"; \
4050 $(SHELL) $${libsrcdir}/configure \
4051 $(HOST_CONFIGARGS) $${srcdiroption} \
4052 || exit 1
4053 @endif bash
4059 .PHONY: all-bash maybe-all-bash
4060 maybe-all-bash:
4061 @if gcc-bootstrap
4062 all-bash: stage_current
4063 @endif gcc-bootstrap
4064 @if bash
4065 TARGET-bash=all
4066 maybe-all-bash: all-bash
4067 all-bash: configure-bash
4068 @: $(MAKE); $(unstage)
4069 @r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071 $(HOST_EXPORTS) \
4072 (cd $(HOST_SUBDIR)/bash && \
4073 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4074 @endif bash
4079 .PHONY: check-bash maybe-check-bash
4080 maybe-check-bash:
4081 @if bash
4082 maybe-check-bash: check-bash
4084 check-bash:
4085 @: $(MAKE); $(unstage)
4086 @r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4088 $(HOST_EXPORTS) \
4089 (cd $(HOST_SUBDIR)/bash && \
4090 $(MAKE) $(FLAGS_TO_PASS) check)
4092 @endif bash
4094 .PHONY: install-bash maybe-install-bash
4095 maybe-install-bash:
4096 @if bash
4097 maybe-install-bash: install-bash
4099 install-bash: installdirs
4100 @: $(MAKE); $(unstage)
4101 @r=`${PWD_COMMAND}`; export r; \
4102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4103 $(HOST_EXPORTS) \
4104 (cd $(HOST_SUBDIR)/bash && \
4105 $(MAKE) $(FLAGS_TO_PASS) install)
4107 @endif bash
4109 # Other targets (info, dvi, pdf, etc.)
4111 .PHONY: maybe-info-bash info-bash
4112 maybe-info-bash:
4113 @if bash
4114 maybe-info-bash: info-bash
4116 info-bash: \
4117 configure-bash
4118 @: $(MAKE); $(unstage)
4119 @[ -f ./bash/Makefile ] || exit 0; \
4120 r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(HOST_EXPORTS) \
4123 for flag in $(EXTRA_HOST_FLAGS) ; do \
4124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4125 done; \
4126 echo "Doing info in bash" ; \
4127 (cd $(HOST_SUBDIR)/bash && \
4128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4130 "RANLIB=$${RANLIB}" \
4131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4132 info) \
4133 || exit 1
4135 @endif bash
4137 .PHONY: maybe-dvi-bash dvi-bash
4138 maybe-dvi-bash:
4139 @if bash
4140 maybe-dvi-bash: dvi-bash
4142 dvi-bash: \
4143 configure-bash
4144 @: $(MAKE); $(unstage)
4145 @[ -f ./bash/Makefile ] || exit 0; \
4146 r=`${PWD_COMMAND}`; export r; \
4147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4148 $(HOST_EXPORTS) \
4149 for flag in $(EXTRA_HOST_FLAGS) ; do \
4150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4151 done; \
4152 echo "Doing dvi in bash" ; \
4153 (cd $(HOST_SUBDIR)/bash && \
4154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4156 "RANLIB=$${RANLIB}" \
4157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4158 dvi) \
4159 || exit 1
4161 @endif bash
4163 .PHONY: maybe-pdf-bash pdf-bash
4164 maybe-pdf-bash:
4165 @if bash
4166 maybe-pdf-bash: pdf-bash
4168 pdf-bash: \
4169 configure-bash
4170 @: $(MAKE); $(unstage)
4171 @[ -f ./bash/Makefile ] || exit 0; \
4172 r=`${PWD_COMMAND}`; export r; \
4173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4174 $(HOST_EXPORTS) \
4175 for flag in $(EXTRA_HOST_FLAGS) ; do \
4176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4177 done; \
4178 echo "Doing pdf in bash" ; \
4179 (cd $(HOST_SUBDIR)/bash && \
4180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4182 "RANLIB=$${RANLIB}" \
4183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4184 pdf) \
4185 || exit 1
4187 @endif bash
4189 .PHONY: maybe-html-bash html-bash
4190 maybe-html-bash:
4191 @if bash
4192 maybe-html-bash: html-bash
4194 html-bash: \
4195 configure-bash
4196 @: $(MAKE); $(unstage)
4197 @[ -f ./bash/Makefile ] || exit 0; \
4198 r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 $(HOST_EXPORTS) \
4201 for flag in $(EXTRA_HOST_FLAGS) ; do \
4202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4203 done; \
4204 echo "Doing html in bash" ; \
4205 (cd $(HOST_SUBDIR)/bash && \
4206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4208 "RANLIB=$${RANLIB}" \
4209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4210 html) \
4211 || exit 1
4213 @endif bash
4215 .PHONY: maybe-TAGS-bash TAGS-bash
4216 maybe-TAGS-bash:
4217 @if bash
4218 maybe-TAGS-bash: TAGS-bash
4220 TAGS-bash: \
4221 configure-bash
4222 @: $(MAKE); $(unstage)
4223 @[ -f ./bash/Makefile ] || exit 0; \
4224 r=`${PWD_COMMAND}`; export r; \
4225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4226 $(HOST_EXPORTS) \
4227 for flag in $(EXTRA_HOST_FLAGS) ; do \
4228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4229 done; \
4230 echo "Doing TAGS in bash" ; \
4231 (cd $(HOST_SUBDIR)/bash && \
4232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4234 "RANLIB=$${RANLIB}" \
4235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4236 TAGS) \
4237 || exit 1
4239 @endif bash
4241 .PHONY: maybe-install-info-bash install-info-bash
4242 maybe-install-info-bash:
4243 @if bash
4244 maybe-install-info-bash: install-info-bash
4246 install-info-bash: \
4247 configure-bash \
4248 info-bash
4249 @: $(MAKE); $(unstage)
4250 @[ -f ./bash/Makefile ] || exit 0; \
4251 r=`${PWD_COMMAND}`; export r; \
4252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4253 $(HOST_EXPORTS) \
4254 for flag in $(EXTRA_HOST_FLAGS) ; do \
4255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4256 done; \
4257 echo "Doing install-info in bash" ; \
4258 (cd $(HOST_SUBDIR)/bash && \
4259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4261 "RANLIB=$${RANLIB}" \
4262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4263 install-info) \
4264 || exit 1
4266 @endif bash
4268 .PHONY: maybe-install-html-bash install-html-bash
4269 maybe-install-html-bash:
4270 @if bash
4271 maybe-install-html-bash: install-html-bash
4273 install-html-bash: \
4274 configure-bash \
4275 html-bash
4276 @: $(MAKE); $(unstage)
4277 @[ -f ./bash/Makefile ] || exit 0; \
4278 r=`${PWD_COMMAND}`; export r; \
4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4280 $(HOST_EXPORTS) \
4281 for flag in $(EXTRA_HOST_FLAGS) ; do \
4282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4283 done; \
4284 echo "Doing install-html in bash" ; \
4285 (cd $(HOST_SUBDIR)/bash && \
4286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4288 "RANLIB=$${RANLIB}" \
4289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4290 install-html) \
4291 || exit 1
4293 @endif bash
4295 .PHONY: maybe-installcheck-bash installcheck-bash
4296 maybe-installcheck-bash:
4297 @if bash
4298 maybe-installcheck-bash: installcheck-bash
4300 installcheck-bash: \
4301 configure-bash
4302 @: $(MAKE); $(unstage)
4303 @[ -f ./bash/Makefile ] || exit 0; \
4304 r=`${PWD_COMMAND}`; export r; \
4305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4306 $(HOST_EXPORTS) \
4307 for flag in $(EXTRA_HOST_FLAGS) ; do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 echo "Doing installcheck in bash" ; \
4311 (cd $(HOST_SUBDIR)/bash && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4316 installcheck) \
4317 || exit 1
4319 @endif bash
4321 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4322 maybe-mostlyclean-bash:
4323 @if bash
4324 maybe-mostlyclean-bash: mostlyclean-bash
4326 mostlyclean-bash:
4327 @: $(MAKE); $(unstage)
4328 @[ -f ./bash/Makefile ] || exit 0; \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(HOST_EXPORTS) \
4332 for flag in $(EXTRA_HOST_FLAGS) ; do \
4333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4334 done; \
4335 echo "Doing mostlyclean in bash" ; \
4336 (cd $(HOST_SUBDIR)/bash && \
4337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4339 "RANLIB=$${RANLIB}" \
4340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4341 mostlyclean) \
4342 || exit 1
4344 @endif bash
4346 .PHONY: maybe-clean-bash clean-bash
4347 maybe-clean-bash:
4348 @if bash
4349 maybe-clean-bash: clean-bash
4351 clean-bash:
4352 @: $(MAKE); $(unstage)
4353 @[ -f ./bash/Makefile ] || exit 0; \
4354 r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4356 $(HOST_EXPORTS) \
4357 for flag in $(EXTRA_HOST_FLAGS) ; do \
4358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4359 done; \
4360 echo "Doing clean in bash" ; \
4361 (cd $(HOST_SUBDIR)/bash && \
4362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4364 "RANLIB=$${RANLIB}" \
4365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4366 clean) \
4367 || exit 1
4369 @endif bash
4371 .PHONY: maybe-distclean-bash distclean-bash
4372 maybe-distclean-bash:
4373 @if bash
4374 maybe-distclean-bash: distclean-bash
4376 distclean-bash:
4377 @: $(MAKE); $(unstage)
4378 @[ -f ./bash/Makefile ] || exit 0; \
4379 r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 $(HOST_EXPORTS) \
4382 for flag in $(EXTRA_HOST_FLAGS) ; do \
4383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4384 done; \
4385 echo "Doing distclean in bash" ; \
4386 (cd $(HOST_SUBDIR)/bash && \
4387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4389 "RANLIB=$${RANLIB}" \
4390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4391 distclean) \
4392 || exit 1
4394 @endif bash
4396 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4397 maybe-maintainer-clean-bash:
4398 @if bash
4399 maybe-maintainer-clean-bash: maintainer-clean-bash
4401 maintainer-clean-bash:
4402 @: $(MAKE); $(unstage)
4403 @[ -f ./bash/Makefile ] || exit 0; \
4404 r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406 $(HOST_EXPORTS) \
4407 for flag in $(EXTRA_HOST_FLAGS) ; do \
4408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4409 done; \
4410 echo "Doing maintainer-clean in bash" ; \
4411 (cd $(HOST_SUBDIR)/bash && \
4412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4414 "RANLIB=$${RANLIB}" \
4415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4416 maintainer-clean) \
4417 || exit 1
4419 @endif bash
4423 .PHONY: configure-bfd maybe-configure-bfd
4424 maybe-configure-bfd:
4425 @if gcc-bootstrap
4426 configure-bfd: stage_current
4427 @endif gcc-bootstrap
4428 @if bfd
4429 maybe-configure-bfd: configure-bfd
4430 configure-bfd:
4431 @r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4435 $(HOST_EXPORTS) \
4436 echo Configuring in $(HOST_SUBDIR)/bfd; \
4437 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4438 case $(srcdir) in \
4439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4440 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4442 esac; \
4443 srcdiroption="--srcdir=$${topdir}/bfd"; \
4444 libsrcdir="$$s/bfd"; \
4445 $(SHELL) $${libsrcdir}/configure \
4446 $(HOST_CONFIGARGS) $${srcdiroption} \
4447 || exit 1
4448 @endif bfd
4452 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4453 maybe-configure-stage1-bfd:
4454 @if bfd-bootstrap
4455 maybe-configure-stage1-bfd: configure-stage1-bfd
4456 configure-stage1-bfd:
4457 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4459 @r=`${PWD_COMMAND}`; export r; \
4460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4461 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4462 $(HOST_EXPORTS) \
4463 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4465 cd $(HOST_SUBDIR)/bfd || exit 1; \
4466 case $(srcdir) in \
4467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4468 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4470 esac; \
4471 srcdiroption="--srcdir=$${topdir}/bfd"; \
4472 libsrcdir="$$s/bfd"; \
4473 $(SHELL) $${libsrcdir}/configure \
4474 $(HOST_CONFIGARGS) $${srcdiroption} \
4476 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4477 @endif bfd-bootstrap
4479 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4480 maybe-configure-stage2-bfd:
4481 @if bfd-bootstrap
4482 maybe-configure-stage2-bfd: configure-stage2-bfd
4483 configure-stage2-bfd:
4484 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4486 @r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4489 $(HOST_EXPORTS) \
4490 $(POSTSTAGE1_HOST_EXPORTS) \
4491 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4493 cd $(HOST_SUBDIR)/bfd || exit 1; \
4494 case $(srcdir) in \
4495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4496 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4498 esac; \
4499 srcdiroption="--srcdir=$${topdir}/bfd"; \
4500 libsrcdir="$$s/bfd"; \
4501 $(SHELL) $${libsrcdir}/configure \
4502 $(HOST_CONFIGARGS) $${srcdiroption} \
4503 --with-build-libsubdir=$(HOST_SUBDIR) \
4504 @stage2_werror_flag@
4505 @endif bfd-bootstrap
4507 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4508 maybe-configure-stage3-bfd:
4509 @if bfd-bootstrap
4510 maybe-configure-stage3-bfd: configure-stage3-bfd
4511 configure-stage3-bfd:
4512 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4513 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4514 @r=`${PWD_COMMAND}`; export r; \
4515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4516 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4517 $(HOST_EXPORTS) \
4518 $(POSTSTAGE1_HOST_EXPORTS) \
4519 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4521 cd $(HOST_SUBDIR)/bfd || exit 1; \
4522 case $(srcdir) in \
4523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4524 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4526 esac; \
4527 srcdiroption="--srcdir=$${topdir}/bfd"; \
4528 libsrcdir="$$s/bfd"; \
4529 $(SHELL) $${libsrcdir}/configure \
4530 $(HOST_CONFIGARGS) $${srcdiroption} \
4531 --with-build-libsubdir=$(HOST_SUBDIR) \
4532 @stage2_werror_flag@
4533 @endif bfd-bootstrap
4535 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4536 maybe-configure-stage4-bfd:
4537 @if bfd-bootstrap
4538 maybe-configure-stage4-bfd: configure-stage4-bfd
4539 configure-stage4-bfd:
4540 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4542 @r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4545 $(HOST_EXPORTS) \
4546 $(POSTSTAGE1_HOST_EXPORTS) \
4547 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4549 cd $(HOST_SUBDIR)/bfd || exit 1; \
4550 case $(srcdir) in \
4551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4552 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4554 esac; \
4555 srcdiroption="--srcdir=$${topdir}/bfd"; \
4556 libsrcdir="$$s/bfd"; \
4557 $(SHELL) $${libsrcdir}/configure \
4558 $(HOST_CONFIGARGS) $${srcdiroption} \
4559 --with-build-libsubdir=$(HOST_SUBDIR) \
4560 @stage2_werror_flag@
4561 @endif bfd-bootstrap
4563 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4564 maybe-configure-stageprofile-bfd:
4565 @if bfd-bootstrap
4566 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4567 configure-stageprofile-bfd:
4568 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4570 @r=`${PWD_COMMAND}`; export r; \
4571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4572 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4573 $(HOST_EXPORTS) \
4574 $(POSTSTAGE1_HOST_EXPORTS) \
4575 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4577 cd $(HOST_SUBDIR)/bfd || exit 1; \
4578 case $(srcdir) in \
4579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4580 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4582 esac; \
4583 srcdiroption="--srcdir=$${topdir}/bfd"; \
4584 libsrcdir="$$s/bfd"; \
4585 $(SHELL) $${libsrcdir}/configure \
4586 $(HOST_CONFIGARGS) $${srcdiroption} \
4587 --with-build-libsubdir=$(HOST_SUBDIR) \
4588 @stage2_werror_flag@
4589 @endif bfd-bootstrap
4591 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4592 maybe-configure-stagefeedback-bfd:
4593 @if bfd-bootstrap
4594 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4595 configure-stagefeedback-bfd:
4596 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4598 @r=`${PWD_COMMAND}`; export r; \
4599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4600 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4601 $(HOST_EXPORTS) \
4602 $(POSTSTAGE1_HOST_EXPORTS) \
4603 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4605 cd $(HOST_SUBDIR)/bfd || exit 1; \
4606 case $(srcdir) in \
4607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4608 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4610 esac; \
4611 srcdiroption="--srcdir=$${topdir}/bfd"; \
4612 libsrcdir="$$s/bfd"; \
4613 $(SHELL) $${libsrcdir}/configure \
4614 $(HOST_CONFIGARGS) $${srcdiroption} \
4615 --with-build-libsubdir=$(HOST_SUBDIR) \
4616 @stage2_werror_flag@
4617 @endif bfd-bootstrap
4623 .PHONY: all-bfd maybe-all-bfd
4624 maybe-all-bfd:
4625 @if gcc-bootstrap
4626 all-bfd: stage_current
4627 @endif gcc-bootstrap
4628 @if bfd
4629 TARGET-bfd=all
4630 maybe-all-bfd: all-bfd
4631 all-bfd: configure-bfd
4632 @r=`${PWD_COMMAND}`; export r; \
4633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 $(HOST_EXPORTS) \
4635 (cd $(HOST_SUBDIR)/bfd && \
4636 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4637 @endif bfd
4641 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4642 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4643 maybe-all-stage1-bfd:
4644 maybe-clean-stage1-bfd:
4645 @if bfd-bootstrap
4646 maybe-all-stage1-bfd: all-stage1-bfd
4647 all-stage1: all-stage1-bfd
4648 TARGET-stage1-bfd = $(TARGET-bfd)
4649 all-stage1-bfd: configure-stage1-bfd
4650 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4651 @r=`${PWD_COMMAND}`; export r; \
4652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653 $(HOST_EXPORTS) \
4654 cd $(HOST_SUBDIR)/bfd && \
4655 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4656 $(TARGET-stage1-bfd)
4658 maybe-clean-stage1-bfd: clean-stage1-bfd
4659 clean-stage1: clean-stage1-bfd
4660 clean-stage1-bfd:
4661 @if [ $(current_stage) = stage1 ]; then \
4662 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4663 else \
4664 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4665 $(MAKE) stage1-start; \
4666 fi; \
4667 cd $(HOST_SUBDIR)/bfd && \
4668 $(MAKE) $(FLAGS_TO_PASS) \
4669 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4670 @endif bfd-bootstrap
4673 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4674 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4675 maybe-all-stage2-bfd:
4676 maybe-clean-stage2-bfd:
4677 @if bfd-bootstrap
4678 maybe-all-stage2-bfd: all-stage2-bfd
4679 all-stage2: all-stage2-bfd
4680 TARGET-stage2-bfd = $(TARGET-bfd)
4681 all-stage2-bfd: configure-stage2-bfd
4682 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4683 @r=`${PWD_COMMAND}`; export r; \
4684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4685 $(HOST_EXPORTS) \
4686 $(POSTSTAGE1_HOST_EXPORTS) \
4687 cd $(HOST_SUBDIR)/bfd && \
4688 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4689 $(TARGET-stage2-bfd)
4691 maybe-clean-stage2-bfd: clean-stage2-bfd
4692 clean-stage2: clean-stage2-bfd
4693 clean-stage2-bfd:
4694 @if [ $(current_stage) = stage2 ]; then \
4695 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4696 else \
4697 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4698 $(MAKE) stage2-start; \
4699 fi; \
4700 cd $(HOST_SUBDIR)/bfd && \
4701 $(MAKE) $(FLAGS_TO_PASS) \
4702 $(POSTSTAGE1_FLAGS_TO_PASS) \
4703 clean
4704 @endif bfd-bootstrap
4707 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4708 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4709 maybe-all-stage3-bfd:
4710 maybe-clean-stage3-bfd:
4711 @if bfd-bootstrap
4712 maybe-all-stage3-bfd: all-stage3-bfd
4713 all-stage3: all-stage3-bfd
4714 TARGET-stage3-bfd = $(TARGET-bfd)
4715 all-stage3-bfd: configure-stage3-bfd
4716 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4717 @r=`${PWD_COMMAND}`; export r; \
4718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4719 $(HOST_EXPORTS) \
4720 $(POSTSTAGE1_HOST_EXPORTS) \
4721 cd $(HOST_SUBDIR)/bfd && \
4722 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4723 $(TARGET-stage3-bfd)
4725 maybe-clean-stage3-bfd: clean-stage3-bfd
4726 clean-stage3: clean-stage3-bfd
4727 clean-stage3-bfd:
4728 @if [ $(current_stage) = stage3 ]; then \
4729 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4730 else \
4731 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4732 $(MAKE) stage3-start; \
4733 fi; \
4734 cd $(HOST_SUBDIR)/bfd && \
4735 $(MAKE) $(FLAGS_TO_PASS) \
4736 $(POSTSTAGE1_FLAGS_TO_PASS) \
4737 clean
4738 @endif bfd-bootstrap
4741 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4742 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4743 maybe-all-stage4-bfd:
4744 maybe-clean-stage4-bfd:
4745 @if bfd-bootstrap
4746 maybe-all-stage4-bfd: all-stage4-bfd
4747 all-stage4: all-stage4-bfd
4748 TARGET-stage4-bfd = $(TARGET-bfd)
4749 all-stage4-bfd: configure-stage4-bfd
4750 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4751 @r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 $(HOST_EXPORTS) \
4754 $(POSTSTAGE1_HOST_EXPORTS) \
4755 cd $(HOST_SUBDIR)/bfd && \
4756 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4757 $(TARGET-stage4-bfd)
4759 maybe-clean-stage4-bfd: clean-stage4-bfd
4760 clean-stage4: clean-stage4-bfd
4761 clean-stage4-bfd:
4762 @if [ $(current_stage) = stage4 ]; then \
4763 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4764 else \
4765 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4766 $(MAKE) stage4-start; \
4767 fi; \
4768 cd $(HOST_SUBDIR)/bfd && \
4769 $(MAKE) $(FLAGS_TO_PASS) \
4770 $(POSTSTAGE1_FLAGS_TO_PASS) \
4771 clean
4772 @endif bfd-bootstrap
4775 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4776 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4777 maybe-all-stageprofile-bfd:
4778 maybe-clean-stageprofile-bfd:
4779 @if bfd-bootstrap
4780 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4781 all-stageprofile: all-stageprofile-bfd
4782 TARGET-stageprofile-bfd = $(TARGET-bfd)
4783 all-stageprofile-bfd: configure-stageprofile-bfd
4784 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4785 @r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 $(HOST_EXPORTS) \
4788 $(POSTSTAGE1_HOST_EXPORTS) \
4789 cd $(HOST_SUBDIR)/bfd && \
4790 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4791 $(TARGET-stageprofile-bfd)
4793 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4794 clean-stageprofile: clean-stageprofile-bfd
4795 clean-stageprofile-bfd:
4796 @if [ $(current_stage) = stageprofile ]; then \
4797 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4798 else \
4799 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4800 $(MAKE) stageprofile-start; \
4801 fi; \
4802 cd $(HOST_SUBDIR)/bfd && \
4803 $(MAKE) $(FLAGS_TO_PASS) \
4804 $(POSTSTAGE1_FLAGS_TO_PASS) \
4805 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4806 @endif bfd-bootstrap
4809 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4810 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4811 maybe-all-stagefeedback-bfd:
4812 maybe-clean-stagefeedback-bfd:
4813 @if bfd-bootstrap
4814 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4815 all-stagefeedback: all-stagefeedback-bfd
4816 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4817 all-stagefeedback-bfd: configure-stagefeedback-bfd
4818 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4819 @r=`${PWD_COMMAND}`; export r; \
4820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4821 $(HOST_EXPORTS) \
4822 $(POSTSTAGE1_HOST_EXPORTS) \
4823 cd $(HOST_SUBDIR)/bfd && \
4824 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4825 $(TARGET-stagefeedback-bfd)
4827 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4828 clean-stagefeedback: clean-stagefeedback-bfd
4829 clean-stagefeedback-bfd:
4830 @if [ $(current_stage) = stagefeedback ]; then \
4831 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4832 else \
4833 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4834 $(MAKE) stagefeedback-start; \
4835 fi; \
4836 cd $(HOST_SUBDIR)/bfd && \
4837 $(MAKE) $(FLAGS_TO_PASS) \
4838 $(POSTSTAGE1_FLAGS_TO_PASS) \
4839 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4840 @endif bfd-bootstrap
4846 .PHONY: check-bfd maybe-check-bfd
4847 maybe-check-bfd:
4848 @if bfd
4849 maybe-check-bfd: check-bfd
4851 check-bfd:
4852 @: $(MAKE); $(unstage)
4853 @r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 $(HOST_EXPORTS) \
4856 (cd $(HOST_SUBDIR)/bfd && \
4857 $(MAKE) $(FLAGS_TO_PASS) check)
4859 @endif bfd
4861 .PHONY: install-bfd maybe-install-bfd
4862 maybe-install-bfd:
4863 @if bfd
4864 maybe-install-bfd: install-bfd
4866 install-bfd: installdirs
4867 @: $(MAKE); $(unstage)
4868 @r=`${PWD_COMMAND}`; export r; \
4869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4870 $(HOST_EXPORTS) \
4871 (cd $(HOST_SUBDIR)/bfd && \
4872 $(MAKE) $(FLAGS_TO_PASS) install)
4874 @endif bfd
4876 # Other targets (info, dvi, pdf, etc.)
4878 .PHONY: maybe-info-bfd info-bfd
4879 maybe-info-bfd:
4880 @if bfd
4881 maybe-info-bfd: info-bfd
4883 info-bfd: \
4884 configure-bfd
4885 @[ -f ./bfd/Makefile ] || exit 0; \
4886 r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 $(HOST_EXPORTS) \
4889 for flag in $(EXTRA_HOST_FLAGS) ; do \
4890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4891 done; \
4892 echo "Doing info in bfd" ; \
4893 (cd $(HOST_SUBDIR)/bfd && \
4894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4896 "RANLIB=$${RANLIB}" \
4897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4898 info) \
4899 || exit 1
4901 @endif bfd
4903 .PHONY: maybe-dvi-bfd dvi-bfd
4904 maybe-dvi-bfd:
4905 @if bfd
4906 maybe-dvi-bfd: dvi-bfd
4908 dvi-bfd: \
4909 configure-bfd
4910 @[ -f ./bfd/Makefile ] || exit 0; \
4911 r=`${PWD_COMMAND}`; export r; \
4912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4913 $(HOST_EXPORTS) \
4914 for flag in $(EXTRA_HOST_FLAGS) ; do \
4915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4916 done; \
4917 echo "Doing dvi in bfd" ; \
4918 (cd $(HOST_SUBDIR)/bfd && \
4919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4921 "RANLIB=$${RANLIB}" \
4922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4923 dvi) \
4924 || exit 1
4926 @endif bfd
4928 .PHONY: maybe-pdf-bfd pdf-bfd
4929 maybe-pdf-bfd:
4930 @if bfd
4931 maybe-pdf-bfd: pdf-bfd
4933 pdf-bfd: \
4934 configure-bfd
4935 @[ -f ./bfd/Makefile ] || exit 0; \
4936 r=`${PWD_COMMAND}`; export r; \
4937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4938 $(HOST_EXPORTS) \
4939 for flag in $(EXTRA_HOST_FLAGS) ; do \
4940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4941 done; \
4942 echo "Doing pdf in bfd" ; \
4943 (cd $(HOST_SUBDIR)/bfd && \
4944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4946 "RANLIB=$${RANLIB}" \
4947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4948 pdf) \
4949 || exit 1
4951 @endif bfd
4953 .PHONY: maybe-html-bfd html-bfd
4954 maybe-html-bfd:
4955 @if bfd
4956 maybe-html-bfd: html-bfd
4958 html-bfd: \
4959 configure-bfd
4960 @[ -f ./bfd/Makefile ] || exit 0; \
4961 r=`${PWD_COMMAND}`; export r; \
4962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4963 $(HOST_EXPORTS) \
4964 for flag in $(EXTRA_HOST_FLAGS) ; do \
4965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4966 done; \
4967 echo "Doing html in bfd" ; \
4968 (cd $(HOST_SUBDIR)/bfd && \
4969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4971 "RANLIB=$${RANLIB}" \
4972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4973 html) \
4974 || exit 1
4976 @endif bfd
4978 .PHONY: maybe-TAGS-bfd TAGS-bfd
4979 maybe-TAGS-bfd:
4980 @if bfd
4981 maybe-TAGS-bfd: TAGS-bfd
4983 TAGS-bfd: \
4984 configure-bfd
4985 @[ -f ./bfd/Makefile ] || exit 0; \
4986 r=`${PWD_COMMAND}`; export r; \
4987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4988 $(HOST_EXPORTS) \
4989 for flag in $(EXTRA_HOST_FLAGS) ; do \
4990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4991 done; \
4992 echo "Doing TAGS in bfd" ; \
4993 (cd $(HOST_SUBDIR)/bfd && \
4994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4996 "RANLIB=$${RANLIB}" \
4997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4998 TAGS) \
4999 || exit 1
5001 @endif bfd
5003 .PHONY: maybe-install-info-bfd install-info-bfd
5004 maybe-install-info-bfd:
5005 @if bfd
5006 maybe-install-info-bfd: install-info-bfd
5008 install-info-bfd: \
5009 configure-bfd \
5010 info-bfd
5011 @[ -f ./bfd/Makefile ] || exit 0; \
5012 r=`${PWD_COMMAND}`; export r; \
5013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5014 $(HOST_EXPORTS) \
5015 for flag in $(EXTRA_HOST_FLAGS) ; do \
5016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5017 done; \
5018 echo "Doing install-info in bfd" ; \
5019 (cd $(HOST_SUBDIR)/bfd && \
5020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5022 "RANLIB=$${RANLIB}" \
5023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5024 install-info) \
5025 || exit 1
5027 @endif bfd
5029 .PHONY: maybe-install-html-bfd install-html-bfd
5030 maybe-install-html-bfd:
5031 @if bfd
5032 maybe-install-html-bfd: install-html-bfd
5034 install-html-bfd: \
5035 configure-bfd \
5036 html-bfd
5037 @[ -f ./bfd/Makefile ] || exit 0; \
5038 r=`${PWD_COMMAND}`; export r; \
5039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040 $(HOST_EXPORTS) \
5041 for flag in $(EXTRA_HOST_FLAGS) ; do \
5042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5043 done; \
5044 echo "Doing install-html in bfd" ; \
5045 (cd $(HOST_SUBDIR)/bfd && \
5046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5048 "RANLIB=$${RANLIB}" \
5049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5050 install-html) \
5051 || exit 1
5053 @endif bfd
5055 .PHONY: maybe-installcheck-bfd installcheck-bfd
5056 maybe-installcheck-bfd:
5057 @if bfd
5058 maybe-installcheck-bfd: installcheck-bfd
5060 installcheck-bfd: \
5061 configure-bfd
5062 @[ -f ./bfd/Makefile ] || exit 0; \
5063 r=`${PWD_COMMAND}`; export r; \
5064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5065 $(HOST_EXPORTS) \
5066 for flag in $(EXTRA_HOST_FLAGS) ; do \
5067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5068 done; \
5069 echo "Doing installcheck in bfd" ; \
5070 (cd $(HOST_SUBDIR)/bfd && \
5071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5073 "RANLIB=$${RANLIB}" \
5074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5075 installcheck) \
5076 || exit 1
5078 @endif bfd
5080 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5081 maybe-mostlyclean-bfd:
5082 @if bfd
5083 maybe-mostlyclean-bfd: mostlyclean-bfd
5085 mostlyclean-bfd:
5086 @[ -f ./bfd/Makefile ] || exit 0; \
5087 r=`${PWD_COMMAND}`; export r; \
5088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5089 $(HOST_EXPORTS) \
5090 for flag in $(EXTRA_HOST_FLAGS) ; do \
5091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5092 done; \
5093 echo "Doing mostlyclean in bfd" ; \
5094 (cd $(HOST_SUBDIR)/bfd && \
5095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5097 "RANLIB=$${RANLIB}" \
5098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5099 mostlyclean) \
5100 || exit 1
5102 @endif bfd
5104 .PHONY: maybe-clean-bfd clean-bfd
5105 maybe-clean-bfd:
5106 @if bfd
5107 maybe-clean-bfd: clean-bfd
5109 clean-bfd:
5110 @[ -f ./bfd/Makefile ] || exit 0; \
5111 r=`${PWD_COMMAND}`; export r; \
5112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5113 $(HOST_EXPORTS) \
5114 for flag in $(EXTRA_HOST_FLAGS) ; do \
5115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5116 done; \
5117 echo "Doing clean in bfd" ; \
5118 (cd $(HOST_SUBDIR)/bfd && \
5119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5121 "RANLIB=$${RANLIB}" \
5122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5123 clean) \
5124 || exit 1
5126 @endif bfd
5128 .PHONY: maybe-distclean-bfd distclean-bfd
5129 maybe-distclean-bfd:
5130 @if bfd
5131 maybe-distclean-bfd: distclean-bfd
5133 distclean-bfd:
5134 @[ -f ./bfd/Makefile ] || exit 0; \
5135 r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5137 $(HOST_EXPORTS) \
5138 for flag in $(EXTRA_HOST_FLAGS) ; do \
5139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5140 done; \
5141 echo "Doing distclean in bfd" ; \
5142 (cd $(HOST_SUBDIR)/bfd && \
5143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5145 "RANLIB=$${RANLIB}" \
5146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5147 distclean) \
5148 || exit 1
5150 @endif bfd
5152 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5153 maybe-maintainer-clean-bfd:
5154 @if bfd
5155 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5157 maintainer-clean-bfd:
5158 @[ -f ./bfd/Makefile ] || exit 0; \
5159 r=`${PWD_COMMAND}`; export r; \
5160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5161 $(HOST_EXPORTS) \
5162 for flag in $(EXTRA_HOST_FLAGS) ; do \
5163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5164 done; \
5165 echo "Doing maintainer-clean in bfd" ; \
5166 (cd $(HOST_SUBDIR)/bfd && \
5167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5169 "RANLIB=$${RANLIB}" \
5170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5171 maintainer-clean) \
5172 || exit 1
5174 @endif bfd
5178 .PHONY: configure-opcodes maybe-configure-opcodes
5179 maybe-configure-opcodes:
5180 @if gcc-bootstrap
5181 configure-opcodes: stage_current
5182 @endif gcc-bootstrap
5183 @if opcodes
5184 maybe-configure-opcodes: configure-opcodes
5185 configure-opcodes:
5186 @r=`${PWD_COMMAND}`; export r; \
5187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5188 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5190 $(HOST_EXPORTS) \
5191 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5192 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5193 case $(srcdir) in \
5194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5195 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5197 esac; \
5198 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5199 libsrcdir="$$s/opcodes"; \
5200 $(SHELL) $${libsrcdir}/configure \
5201 $(HOST_CONFIGARGS) $${srcdiroption} \
5202 || exit 1
5203 @endif opcodes
5207 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5208 maybe-configure-stage1-opcodes:
5209 @if opcodes-bootstrap
5210 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5211 configure-stage1-opcodes:
5212 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5214 @r=`${PWD_COMMAND}`; export r; \
5215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5216 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5217 $(HOST_EXPORTS) \
5218 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5220 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5221 case $(srcdir) in \
5222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5223 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5225 esac; \
5226 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5227 libsrcdir="$$s/opcodes"; \
5228 $(SHELL) $${libsrcdir}/configure \
5229 $(HOST_CONFIGARGS) $${srcdiroption} \
5231 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5232 @endif opcodes-bootstrap
5234 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5235 maybe-configure-stage2-opcodes:
5236 @if opcodes-bootstrap
5237 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5238 configure-stage2-opcodes:
5239 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5241 @r=`${PWD_COMMAND}`; export r; \
5242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5243 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5244 $(HOST_EXPORTS) \
5245 $(POSTSTAGE1_HOST_EXPORTS) \
5246 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5248 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5249 case $(srcdir) in \
5250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5251 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5253 esac; \
5254 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5255 libsrcdir="$$s/opcodes"; \
5256 $(SHELL) $${libsrcdir}/configure \
5257 $(HOST_CONFIGARGS) $${srcdiroption} \
5258 --with-build-libsubdir=$(HOST_SUBDIR) \
5259 @stage2_werror_flag@
5260 @endif opcodes-bootstrap
5262 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5263 maybe-configure-stage3-opcodes:
5264 @if opcodes-bootstrap
5265 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5266 configure-stage3-opcodes:
5267 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5268 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5269 @r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5271 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5272 $(HOST_EXPORTS) \
5273 $(POSTSTAGE1_HOST_EXPORTS) \
5274 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5276 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5277 case $(srcdir) in \
5278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5279 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5281 esac; \
5282 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5283 libsrcdir="$$s/opcodes"; \
5284 $(SHELL) $${libsrcdir}/configure \
5285 $(HOST_CONFIGARGS) $${srcdiroption} \
5286 --with-build-libsubdir=$(HOST_SUBDIR) \
5287 @stage2_werror_flag@
5288 @endif opcodes-bootstrap
5290 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5291 maybe-configure-stage4-opcodes:
5292 @if opcodes-bootstrap
5293 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5294 configure-stage4-opcodes:
5295 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5297 @r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5300 $(HOST_EXPORTS) \
5301 $(POSTSTAGE1_HOST_EXPORTS) \
5302 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5304 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5305 case $(srcdir) in \
5306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5307 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5309 esac; \
5310 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5311 libsrcdir="$$s/opcodes"; \
5312 $(SHELL) $${libsrcdir}/configure \
5313 $(HOST_CONFIGARGS) $${srcdiroption} \
5314 --with-build-libsubdir=$(HOST_SUBDIR) \
5315 @stage2_werror_flag@
5316 @endif opcodes-bootstrap
5318 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5319 maybe-configure-stageprofile-opcodes:
5320 @if opcodes-bootstrap
5321 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5322 configure-stageprofile-opcodes:
5323 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5325 @r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5328 $(HOST_EXPORTS) \
5329 $(POSTSTAGE1_HOST_EXPORTS) \
5330 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5332 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5333 case $(srcdir) in \
5334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5335 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5337 esac; \
5338 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5339 libsrcdir="$$s/opcodes"; \
5340 $(SHELL) $${libsrcdir}/configure \
5341 $(HOST_CONFIGARGS) $${srcdiroption} \
5342 --with-build-libsubdir=$(HOST_SUBDIR) \
5343 @stage2_werror_flag@
5344 @endif opcodes-bootstrap
5346 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5347 maybe-configure-stagefeedback-opcodes:
5348 @if opcodes-bootstrap
5349 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5350 configure-stagefeedback-opcodes:
5351 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5352 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5353 @r=`${PWD_COMMAND}`; export r; \
5354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5355 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5356 $(HOST_EXPORTS) \
5357 $(POSTSTAGE1_HOST_EXPORTS) \
5358 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5360 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5361 case $(srcdir) in \
5362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5363 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5365 esac; \
5366 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5367 libsrcdir="$$s/opcodes"; \
5368 $(SHELL) $${libsrcdir}/configure \
5369 $(HOST_CONFIGARGS) $${srcdiroption} \
5370 --with-build-libsubdir=$(HOST_SUBDIR) \
5371 @stage2_werror_flag@
5372 @endif opcodes-bootstrap
5378 .PHONY: all-opcodes maybe-all-opcodes
5379 maybe-all-opcodes:
5380 @if gcc-bootstrap
5381 all-opcodes: stage_current
5382 @endif gcc-bootstrap
5383 @if opcodes
5384 TARGET-opcodes=all
5385 maybe-all-opcodes: all-opcodes
5386 all-opcodes: configure-opcodes
5387 @r=`${PWD_COMMAND}`; export r; \
5388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5389 $(HOST_EXPORTS) \
5390 (cd $(HOST_SUBDIR)/opcodes && \
5391 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5392 @endif opcodes
5396 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5397 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5398 maybe-all-stage1-opcodes:
5399 maybe-clean-stage1-opcodes:
5400 @if opcodes-bootstrap
5401 maybe-all-stage1-opcodes: all-stage1-opcodes
5402 all-stage1: all-stage1-opcodes
5403 TARGET-stage1-opcodes = $(TARGET-opcodes)
5404 all-stage1-opcodes: configure-stage1-opcodes
5405 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5406 @r=`${PWD_COMMAND}`; export r; \
5407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5408 $(HOST_EXPORTS) \
5409 cd $(HOST_SUBDIR)/opcodes && \
5410 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5411 $(TARGET-stage1-opcodes)
5413 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5414 clean-stage1: clean-stage1-opcodes
5415 clean-stage1-opcodes:
5416 @if [ $(current_stage) = stage1 ]; then \
5417 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5418 else \
5419 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5420 $(MAKE) stage1-start; \
5421 fi; \
5422 cd $(HOST_SUBDIR)/opcodes && \
5423 $(MAKE) $(FLAGS_TO_PASS) \
5424 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5425 @endif opcodes-bootstrap
5428 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5429 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5430 maybe-all-stage2-opcodes:
5431 maybe-clean-stage2-opcodes:
5432 @if opcodes-bootstrap
5433 maybe-all-stage2-opcodes: all-stage2-opcodes
5434 all-stage2: all-stage2-opcodes
5435 TARGET-stage2-opcodes = $(TARGET-opcodes)
5436 all-stage2-opcodes: configure-stage2-opcodes
5437 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5438 @r=`${PWD_COMMAND}`; export r; \
5439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5440 $(HOST_EXPORTS) \
5441 $(POSTSTAGE1_HOST_EXPORTS) \
5442 cd $(HOST_SUBDIR)/opcodes && \
5443 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5444 $(TARGET-stage2-opcodes)
5446 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5447 clean-stage2: clean-stage2-opcodes
5448 clean-stage2-opcodes:
5449 @if [ $(current_stage) = stage2 ]; then \
5450 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5451 else \
5452 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5453 $(MAKE) stage2-start; \
5454 fi; \
5455 cd $(HOST_SUBDIR)/opcodes && \
5456 $(MAKE) $(FLAGS_TO_PASS) \
5457 $(POSTSTAGE1_FLAGS_TO_PASS) \
5458 clean
5459 @endif opcodes-bootstrap
5462 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5463 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5464 maybe-all-stage3-opcodes:
5465 maybe-clean-stage3-opcodes:
5466 @if opcodes-bootstrap
5467 maybe-all-stage3-opcodes: all-stage3-opcodes
5468 all-stage3: all-stage3-opcodes
5469 TARGET-stage3-opcodes = $(TARGET-opcodes)
5470 all-stage3-opcodes: configure-stage3-opcodes
5471 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5472 @r=`${PWD_COMMAND}`; export r; \
5473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5474 $(HOST_EXPORTS) \
5475 $(POSTSTAGE1_HOST_EXPORTS) \
5476 cd $(HOST_SUBDIR)/opcodes && \
5477 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5478 $(TARGET-stage3-opcodes)
5480 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5481 clean-stage3: clean-stage3-opcodes
5482 clean-stage3-opcodes:
5483 @if [ $(current_stage) = stage3 ]; then \
5484 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5485 else \
5486 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5487 $(MAKE) stage3-start; \
5488 fi; \
5489 cd $(HOST_SUBDIR)/opcodes && \
5490 $(MAKE) $(FLAGS_TO_PASS) \
5491 $(POSTSTAGE1_FLAGS_TO_PASS) \
5492 clean
5493 @endif opcodes-bootstrap
5496 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5497 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5498 maybe-all-stage4-opcodes:
5499 maybe-clean-stage4-opcodes:
5500 @if opcodes-bootstrap
5501 maybe-all-stage4-opcodes: all-stage4-opcodes
5502 all-stage4: all-stage4-opcodes
5503 TARGET-stage4-opcodes = $(TARGET-opcodes)
5504 all-stage4-opcodes: configure-stage4-opcodes
5505 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5506 @r=`${PWD_COMMAND}`; export r; \
5507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5508 $(HOST_EXPORTS) \
5509 $(POSTSTAGE1_HOST_EXPORTS) \
5510 cd $(HOST_SUBDIR)/opcodes && \
5511 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5512 $(TARGET-stage4-opcodes)
5514 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5515 clean-stage4: clean-stage4-opcodes
5516 clean-stage4-opcodes:
5517 @if [ $(current_stage) = stage4 ]; then \
5518 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5519 else \
5520 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5521 $(MAKE) stage4-start; \
5522 fi; \
5523 cd $(HOST_SUBDIR)/opcodes && \
5524 $(MAKE) $(FLAGS_TO_PASS) \
5525 $(POSTSTAGE1_FLAGS_TO_PASS) \
5526 clean
5527 @endif opcodes-bootstrap
5530 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5531 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5532 maybe-all-stageprofile-opcodes:
5533 maybe-clean-stageprofile-opcodes:
5534 @if opcodes-bootstrap
5535 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5536 all-stageprofile: all-stageprofile-opcodes
5537 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5538 all-stageprofile-opcodes: configure-stageprofile-opcodes
5539 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5540 @r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(HOST_EXPORTS) \
5543 $(POSTSTAGE1_HOST_EXPORTS) \
5544 cd $(HOST_SUBDIR)/opcodes && \
5545 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5546 $(TARGET-stageprofile-opcodes)
5548 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5549 clean-stageprofile: clean-stageprofile-opcodes
5550 clean-stageprofile-opcodes:
5551 @if [ $(current_stage) = stageprofile ]; then \
5552 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5553 else \
5554 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5555 $(MAKE) stageprofile-start; \
5556 fi; \
5557 cd $(HOST_SUBDIR)/opcodes && \
5558 $(MAKE) $(FLAGS_TO_PASS) \
5559 $(POSTSTAGE1_FLAGS_TO_PASS) \
5560 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5561 @endif opcodes-bootstrap
5564 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5565 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5566 maybe-all-stagefeedback-opcodes:
5567 maybe-clean-stagefeedback-opcodes:
5568 @if opcodes-bootstrap
5569 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5570 all-stagefeedback: all-stagefeedback-opcodes
5571 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5572 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5573 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5574 @r=`${PWD_COMMAND}`; export r; \
5575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5576 $(HOST_EXPORTS) \
5577 $(POSTSTAGE1_HOST_EXPORTS) \
5578 cd $(HOST_SUBDIR)/opcodes && \
5579 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5580 $(TARGET-stagefeedback-opcodes)
5582 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5583 clean-stagefeedback: clean-stagefeedback-opcodes
5584 clean-stagefeedback-opcodes:
5585 @if [ $(current_stage) = stagefeedback ]; then \
5586 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5587 else \
5588 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5589 $(MAKE) stagefeedback-start; \
5590 fi; \
5591 cd $(HOST_SUBDIR)/opcodes && \
5592 $(MAKE) $(FLAGS_TO_PASS) \
5593 $(POSTSTAGE1_FLAGS_TO_PASS) \
5594 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5595 @endif opcodes-bootstrap
5601 .PHONY: check-opcodes maybe-check-opcodes
5602 maybe-check-opcodes:
5603 @if opcodes
5604 maybe-check-opcodes: check-opcodes
5606 check-opcodes:
5607 @: $(MAKE); $(unstage)
5608 @r=`${PWD_COMMAND}`; export r; \
5609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5610 $(HOST_EXPORTS) \
5611 (cd $(HOST_SUBDIR)/opcodes && \
5612 $(MAKE) $(FLAGS_TO_PASS) check)
5614 @endif opcodes
5616 .PHONY: install-opcodes maybe-install-opcodes
5617 maybe-install-opcodes:
5618 @if opcodes
5619 maybe-install-opcodes: install-opcodes
5621 install-opcodes: installdirs
5622 @: $(MAKE); $(unstage)
5623 @r=`${PWD_COMMAND}`; export r; \
5624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5625 $(HOST_EXPORTS) \
5626 (cd $(HOST_SUBDIR)/opcodes && \
5627 $(MAKE) $(FLAGS_TO_PASS) install)
5629 @endif opcodes
5631 # Other targets (info, dvi, pdf, etc.)
5633 .PHONY: maybe-info-opcodes info-opcodes
5634 maybe-info-opcodes:
5635 @if opcodes
5636 maybe-info-opcodes: info-opcodes
5638 info-opcodes: \
5639 configure-opcodes
5640 @[ -f ./opcodes/Makefile ] || exit 0; \
5641 r=`${PWD_COMMAND}`; export r; \
5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5643 $(HOST_EXPORTS) \
5644 for flag in $(EXTRA_HOST_FLAGS) ; do \
5645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5646 done; \
5647 echo "Doing info in opcodes" ; \
5648 (cd $(HOST_SUBDIR)/opcodes && \
5649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5651 "RANLIB=$${RANLIB}" \
5652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5653 info) \
5654 || exit 1
5656 @endif opcodes
5658 .PHONY: maybe-dvi-opcodes dvi-opcodes
5659 maybe-dvi-opcodes:
5660 @if opcodes
5661 maybe-dvi-opcodes: dvi-opcodes
5663 dvi-opcodes: \
5664 configure-opcodes
5665 @[ -f ./opcodes/Makefile ] || exit 0; \
5666 r=`${PWD_COMMAND}`; export r; \
5667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5668 $(HOST_EXPORTS) \
5669 for flag in $(EXTRA_HOST_FLAGS) ; do \
5670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5671 done; \
5672 echo "Doing dvi in opcodes" ; \
5673 (cd $(HOST_SUBDIR)/opcodes && \
5674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5676 "RANLIB=$${RANLIB}" \
5677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5678 dvi) \
5679 || exit 1
5681 @endif opcodes
5683 .PHONY: maybe-pdf-opcodes pdf-opcodes
5684 maybe-pdf-opcodes:
5685 @if opcodes
5686 maybe-pdf-opcodes: pdf-opcodes
5688 pdf-opcodes: \
5689 configure-opcodes
5690 @[ -f ./opcodes/Makefile ] || exit 0; \
5691 r=`${PWD_COMMAND}`; export r; \
5692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5693 $(HOST_EXPORTS) \
5694 for flag in $(EXTRA_HOST_FLAGS) ; do \
5695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5696 done; \
5697 echo "Doing pdf in opcodes" ; \
5698 (cd $(HOST_SUBDIR)/opcodes && \
5699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5701 "RANLIB=$${RANLIB}" \
5702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5703 pdf) \
5704 || exit 1
5706 @endif opcodes
5708 .PHONY: maybe-html-opcodes html-opcodes
5709 maybe-html-opcodes:
5710 @if opcodes
5711 maybe-html-opcodes: html-opcodes
5713 html-opcodes: \
5714 configure-opcodes
5715 @[ -f ./opcodes/Makefile ] || exit 0; \
5716 r=`${PWD_COMMAND}`; export r; \
5717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5718 $(HOST_EXPORTS) \
5719 for flag in $(EXTRA_HOST_FLAGS) ; do \
5720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5721 done; \
5722 echo "Doing html in opcodes" ; \
5723 (cd $(HOST_SUBDIR)/opcodes && \
5724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5726 "RANLIB=$${RANLIB}" \
5727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5728 html) \
5729 || exit 1
5731 @endif opcodes
5733 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5734 maybe-TAGS-opcodes:
5735 @if opcodes
5736 maybe-TAGS-opcodes: TAGS-opcodes
5738 TAGS-opcodes: \
5739 configure-opcodes
5740 @[ -f ./opcodes/Makefile ] || exit 0; \
5741 r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(HOST_EXPORTS) \
5744 for flag in $(EXTRA_HOST_FLAGS) ; do \
5745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5746 done; \
5747 echo "Doing TAGS in opcodes" ; \
5748 (cd $(HOST_SUBDIR)/opcodes && \
5749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5751 "RANLIB=$${RANLIB}" \
5752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5753 TAGS) \
5754 || exit 1
5756 @endif opcodes
5758 .PHONY: maybe-install-info-opcodes install-info-opcodes
5759 maybe-install-info-opcodes:
5760 @if opcodes
5761 maybe-install-info-opcodes: install-info-opcodes
5763 install-info-opcodes: \
5764 configure-opcodes \
5765 info-opcodes
5766 @[ -f ./opcodes/Makefile ] || exit 0; \
5767 r=`${PWD_COMMAND}`; export r; \
5768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5769 $(HOST_EXPORTS) \
5770 for flag in $(EXTRA_HOST_FLAGS) ; do \
5771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5772 done; \
5773 echo "Doing install-info in opcodes" ; \
5774 (cd $(HOST_SUBDIR)/opcodes && \
5775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5777 "RANLIB=$${RANLIB}" \
5778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5779 install-info) \
5780 || exit 1
5782 @endif opcodes
5784 .PHONY: maybe-install-html-opcodes install-html-opcodes
5785 maybe-install-html-opcodes:
5786 @if opcodes
5787 maybe-install-html-opcodes: install-html-opcodes
5789 install-html-opcodes: \
5790 configure-opcodes \
5791 html-opcodes
5792 @[ -f ./opcodes/Makefile ] || exit 0; \
5793 r=`${PWD_COMMAND}`; export r; \
5794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5795 $(HOST_EXPORTS) \
5796 for flag in $(EXTRA_HOST_FLAGS) ; do \
5797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5798 done; \
5799 echo "Doing install-html in opcodes" ; \
5800 (cd $(HOST_SUBDIR)/opcodes && \
5801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5803 "RANLIB=$${RANLIB}" \
5804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5805 install-html) \
5806 || exit 1
5808 @endif opcodes
5810 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5811 maybe-installcheck-opcodes:
5812 @if opcodes
5813 maybe-installcheck-opcodes: installcheck-opcodes
5815 installcheck-opcodes: \
5816 configure-opcodes
5817 @[ -f ./opcodes/Makefile ] || exit 0; \
5818 r=`${PWD_COMMAND}`; export r; \
5819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5820 $(HOST_EXPORTS) \
5821 for flag in $(EXTRA_HOST_FLAGS) ; do \
5822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5823 done; \
5824 echo "Doing installcheck in opcodes" ; \
5825 (cd $(HOST_SUBDIR)/opcodes && \
5826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5828 "RANLIB=$${RANLIB}" \
5829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5830 installcheck) \
5831 || exit 1
5833 @endif opcodes
5835 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5836 maybe-mostlyclean-opcodes:
5837 @if opcodes
5838 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5840 mostlyclean-opcodes:
5841 @[ -f ./opcodes/Makefile ] || exit 0; \
5842 r=`${PWD_COMMAND}`; export r; \
5843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5844 $(HOST_EXPORTS) \
5845 for flag in $(EXTRA_HOST_FLAGS) ; do \
5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5847 done; \
5848 echo "Doing mostlyclean in opcodes" ; \
5849 (cd $(HOST_SUBDIR)/opcodes && \
5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5852 "RANLIB=$${RANLIB}" \
5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5854 mostlyclean) \
5855 || exit 1
5857 @endif opcodes
5859 .PHONY: maybe-clean-opcodes clean-opcodes
5860 maybe-clean-opcodes:
5861 @if opcodes
5862 maybe-clean-opcodes: clean-opcodes
5864 clean-opcodes:
5865 @[ -f ./opcodes/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868 $(HOST_EXPORTS) \
5869 for flag in $(EXTRA_HOST_FLAGS) ; do \
5870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5871 done; \
5872 echo "Doing clean in opcodes" ; \
5873 (cd $(HOST_SUBDIR)/opcodes && \
5874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5876 "RANLIB=$${RANLIB}" \
5877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5878 clean) \
5879 || exit 1
5881 @endif opcodes
5883 .PHONY: maybe-distclean-opcodes distclean-opcodes
5884 maybe-distclean-opcodes:
5885 @if opcodes
5886 maybe-distclean-opcodes: distclean-opcodes
5888 distclean-opcodes:
5889 @[ -f ./opcodes/Makefile ] || exit 0; \
5890 r=`${PWD_COMMAND}`; export r; \
5891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5892 $(HOST_EXPORTS) \
5893 for flag in $(EXTRA_HOST_FLAGS) ; do \
5894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5895 done; \
5896 echo "Doing distclean in opcodes" ; \
5897 (cd $(HOST_SUBDIR)/opcodes && \
5898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5900 "RANLIB=$${RANLIB}" \
5901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5902 distclean) \
5903 || exit 1
5905 @endif opcodes
5907 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5908 maybe-maintainer-clean-opcodes:
5909 @if opcodes
5910 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5912 maintainer-clean-opcodes:
5913 @[ -f ./opcodes/Makefile ] || exit 0; \
5914 r=`${PWD_COMMAND}`; export r; \
5915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5916 $(HOST_EXPORTS) \
5917 for flag in $(EXTRA_HOST_FLAGS) ; do \
5918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5919 done; \
5920 echo "Doing maintainer-clean in opcodes" ; \
5921 (cd $(HOST_SUBDIR)/opcodes && \
5922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5924 "RANLIB=$${RANLIB}" \
5925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5926 maintainer-clean) \
5927 || exit 1
5929 @endif opcodes
5933 .PHONY: configure-binutils maybe-configure-binutils
5934 maybe-configure-binutils:
5935 @if gcc-bootstrap
5936 configure-binutils: stage_current
5937 @endif gcc-bootstrap
5938 @if binutils
5939 maybe-configure-binutils: configure-binutils
5940 configure-binutils:
5941 @r=`${PWD_COMMAND}`; export r; \
5942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5943 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5945 $(HOST_EXPORTS) \
5946 echo Configuring in $(HOST_SUBDIR)/binutils; \
5947 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5948 case $(srcdir) in \
5949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5950 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5952 esac; \
5953 srcdiroption="--srcdir=$${topdir}/binutils"; \
5954 libsrcdir="$$s/binutils"; \
5955 $(SHELL) $${libsrcdir}/configure \
5956 $(HOST_CONFIGARGS) $${srcdiroption} \
5957 || exit 1
5958 @endif binutils
5962 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5963 maybe-configure-stage1-binutils:
5964 @if binutils-bootstrap
5965 maybe-configure-stage1-binutils: configure-stage1-binutils
5966 configure-stage1-binutils:
5967 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5969 @r=`${PWD_COMMAND}`; export r; \
5970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5971 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5972 $(HOST_EXPORTS) \
5973 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5975 cd $(HOST_SUBDIR)/binutils || exit 1; \
5976 case $(srcdir) in \
5977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5978 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5980 esac; \
5981 srcdiroption="--srcdir=$${topdir}/binutils"; \
5982 libsrcdir="$$s/binutils"; \
5983 $(SHELL) $${libsrcdir}/configure \
5984 $(HOST_CONFIGARGS) $${srcdiroption} \
5986 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5987 @endif binutils-bootstrap
5989 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5990 maybe-configure-stage2-binutils:
5991 @if binutils-bootstrap
5992 maybe-configure-stage2-binutils: configure-stage2-binutils
5993 configure-stage2-binutils:
5994 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5996 @r=`${PWD_COMMAND}`; export r; \
5997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5998 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5999 $(HOST_EXPORTS) \
6000 $(POSTSTAGE1_HOST_EXPORTS) \
6001 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6003 cd $(HOST_SUBDIR)/binutils || exit 1; \
6004 case $(srcdir) in \
6005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6006 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6008 esac; \
6009 srcdiroption="--srcdir=$${topdir}/binutils"; \
6010 libsrcdir="$$s/binutils"; \
6011 $(SHELL) $${libsrcdir}/configure \
6012 $(HOST_CONFIGARGS) $${srcdiroption} \
6013 --with-build-libsubdir=$(HOST_SUBDIR) \
6014 @stage2_werror_flag@
6015 @endif binutils-bootstrap
6017 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6018 maybe-configure-stage3-binutils:
6019 @if binutils-bootstrap
6020 maybe-configure-stage3-binutils: configure-stage3-binutils
6021 configure-stage3-binutils:
6022 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6024 @r=`${PWD_COMMAND}`; export r; \
6025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6026 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6027 $(HOST_EXPORTS) \
6028 $(POSTSTAGE1_HOST_EXPORTS) \
6029 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6031 cd $(HOST_SUBDIR)/binutils || exit 1; \
6032 case $(srcdir) in \
6033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6034 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6036 esac; \
6037 srcdiroption="--srcdir=$${topdir}/binutils"; \
6038 libsrcdir="$$s/binutils"; \
6039 $(SHELL) $${libsrcdir}/configure \
6040 $(HOST_CONFIGARGS) $${srcdiroption} \
6041 --with-build-libsubdir=$(HOST_SUBDIR) \
6042 @stage2_werror_flag@
6043 @endif binutils-bootstrap
6045 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6046 maybe-configure-stage4-binutils:
6047 @if binutils-bootstrap
6048 maybe-configure-stage4-binutils: configure-stage4-binutils
6049 configure-stage4-binutils:
6050 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6052 @r=`${PWD_COMMAND}`; export r; \
6053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6054 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6055 $(HOST_EXPORTS) \
6056 $(POSTSTAGE1_HOST_EXPORTS) \
6057 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6059 cd $(HOST_SUBDIR)/binutils || exit 1; \
6060 case $(srcdir) in \
6061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6062 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6064 esac; \
6065 srcdiroption="--srcdir=$${topdir}/binutils"; \
6066 libsrcdir="$$s/binutils"; \
6067 $(SHELL) $${libsrcdir}/configure \
6068 $(HOST_CONFIGARGS) $${srcdiroption} \
6069 --with-build-libsubdir=$(HOST_SUBDIR) \
6070 @stage2_werror_flag@
6071 @endif binutils-bootstrap
6073 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6074 maybe-configure-stageprofile-binutils:
6075 @if binutils-bootstrap
6076 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6077 configure-stageprofile-binutils:
6078 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6080 @r=`${PWD_COMMAND}`; export r; \
6081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6082 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6083 $(HOST_EXPORTS) \
6084 $(POSTSTAGE1_HOST_EXPORTS) \
6085 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6087 cd $(HOST_SUBDIR)/binutils || exit 1; \
6088 case $(srcdir) in \
6089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6090 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6092 esac; \
6093 srcdiroption="--srcdir=$${topdir}/binutils"; \
6094 libsrcdir="$$s/binutils"; \
6095 $(SHELL) $${libsrcdir}/configure \
6096 $(HOST_CONFIGARGS) $${srcdiroption} \
6097 --with-build-libsubdir=$(HOST_SUBDIR) \
6098 @stage2_werror_flag@
6099 @endif binutils-bootstrap
6101 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6102 maybe-configure-stagefeedback-binutils:
6103 @if binutils-bootstrap
6104 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6105 configure-stagefeedback-binutils:
6106 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6108 @r=`${PWD_COMMAND}`; export r; \
6109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6110 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6111 $(HOST_EXPORTS) \
6112 $(POSTSTAGE1_HOST_EXPORTS) \
6113 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6115 cd $(HOST_SUBDIR)/binutils || exit 1; \
6116 case $(srcdir) in \
6117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6118 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6120 esac; \
6121 srcdiroption="--srcdir=$${topdir}/binutils"; \
6122 libsrcdir="$$s/binutils"; \
6123 $(SHELL) $${libsrcdir}/configure \
6124 $(HOST_CONFIGARGS) $${srcdiroption} \
6125 --with-build-libsubdir=$(HOST_SUBDIR) \
6126 @stage2_werror_flag@
6127 @endif binutils-bootstrap
6133 .PHONY: all-binutils maybe-all-binutils
6134 maybe-all-binutils:
6135 @if gcc-bootstrap
6136 all-binutils: stage_current
6137 @endif gcc-bootstrap
6138 @if binutils
6139 TARGET-binutils=all
6140 maybe-all-binutils: all-binutils
6141 all-binutils: configure-binutils
6142 @r=`${PWD_COMMAND}`; export r; \
6143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144 $(HOST_EXPORTS) \
6145 (cd $(HOST_SUBDIR)/binutils && \
6146 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6147 @endif binutils
6151 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6152 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6153 maybe-all-stage1-binutils:
6154 maybe-clean-stage1-binutils:
6155 @if binutils-bootstrap
6156 maybe-all-stage1-binutils: all-stage1-binutils
6157 all-stage1: all-stage1-binutils
6158 TARGET-stage1-binutils = $(TARGET-binutils)
6159 all-stage1-binutils: configure-stage1-binutils
6160 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6161 @r=`${PWD_COMMAND}`; export r; \
6162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6163 $(HOST_EXPORTS) \
6164 cd $(HOST_SUBDIR)/binutils && \
6165 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6166 $(TARGET-stage1-binutils)
6168 maybe-clean-stage1-binutils: clean-stage1-binutils
6169 clean-stage1: clean-stage1-binutils
6170 clean-stage1-binutils:
6171 @if [ $(current_stage) = stage1 ]; then \
6172 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6173 else \
6174 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6175 $(MAKE) stage1-start; \
6176 fi; \
6177 cd $(HOST_SUBDIR)/binutils && \
6178 $(MAKE) $(FLAGS_TO_PASS) \
6179 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6180 @endif binutils-bootstrap
6183 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6184 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6185 maybe-all-stage2-binutils:
6186 maybe-clean-stage2-binutils:
6187 @if binutils-bootstrap
6188 maybe-all-stage2-binutils: all-stage2-binutils
6189 all-stage2: all-stage2-binutils
6190 TARGET-stage2-binutils = $(TARGET-binutils)
6191 all-stage2-binutils: configure-stage2-binutils
6192 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6193 @r=`${PWD_COMMAND}`; export r; \
6194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6195 $(HOST_EXPORTS) \
6196 $(POSTSTAGE1_HOST_EXPORTS) \
6197 cd $(HOST_SUBDIR)/binutils && \
6198 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6199 $(TARGET-stage2-binutils)
6201 maybe-clean-stage2-binutils: clean-stage2-binutils
6202 clean-stage2: clean-stage2-binutils
6203 clean-stage2-binutils:
6204 @if [ $(current_stage) = stage2 ]; then \
6205 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6206 else \
6207 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6208 $(MAKE) stage2-start; \
6209 fi; \
6210 cd $(HOST_SUBDIR)/binutils && \
6211 $(MAKE) $(FLAGS_TO_PASS) \
6212 $(POSTSTAGE1_FLAGS_TO_PASS) \
6213 clean
6214 @endif binutils-bootstrap
6217 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6218 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6219 maybe-all-stage3-binutils:
6220 maybe-clean-stage3-binutils:
6221 @if binutils-bootstrap
6222 maybe-all-stage3-binutils: all-stage3-binutils
6223 all-stage3: all-stage3-binutils
6224 TARGET-stage3-binutils = $(TARGET-binutils)
6225 all-stage3-binutils: configure-stage3-binutils
6226 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6227 @r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 $(HOST_EXPORTS) \
6230 $(POSTSTAGE1_HOST_EXPORTS) \
6231 cd $(HOST_SUBDIR)/binutils && \
6232 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6233 $(TARGET-stage3-binutils)
6235 maybe-clean-stage3-binutils: clean-stage3-binutils
6236 clean-stage3: clean-stage3-binutils
6237 clean-stage3-binutils:
6238 @if [ $(current_stage) = stage3 ]; then \
6239 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6240 else \
6241 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6242 $(MAKE) stage3-start; \
6243 fi; \
6244 cd $(HOST_SUBDIR)/binutils && \
6245 $(MAKE) $(FLAGS_TO_PASS) \
6246 $(POSTSTAGE1_FLAGS_TO_PASS) \
6247 clean
6248 @endif binutils-bootstrap
6251 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6252 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6253 maybe-all-stage4-binutils:
6254 maybe-clean-stage4-binutils:
6255 @if binutils-bootstrap
6256 maybe-all-stage4-binutils: all-stage4-binutils
6257 all-stage4: all-stage4-binutils
6258 TARGET-stage4-binutils = $(TARGET-binutils)
6259 all-stage4-binutils: configure-stage4-binutils
6260 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6261 @r=`${PWD_COMMAND}`; export r; \
6262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6263 $(HOST_EXPORTS) \
6264 $(POSTSTAGE1_HOST_EXPORTS) \
6265 cd $(HOST_SUBDIR)/binutils && \
6266 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6267 $(TARGET-stage4-binutils)
6269 maybe-clean-stage4-binutils: clean-stage4-binutils
6270 clean-stage4: clean-stage4-binutils
6271 clean-stage4-binutils:
6272 @if [ $(current_stage) = stage4 ]; then \
6273 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6274 else \
6275 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6276 $(MAKE) stage4-start; \
6277 fi; \
6278 cd $(HOST_SUBDIR)/binutils && \
6279 $(MAKE) $(FLAGS_TO_PASS) \
6280 $(POSTSTAGE1_FLAGS_TO_PASS) \
6281 clean
6282 @endif binutils-bootstrap
6285 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6286 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6287 maybe-all-stageprofile-binutils:
6288 maybe-clean-stageprofile-binutils:
6289 @if binutils-bootstrap
6290 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6291 all-stageprofile: all-stageprofile-binutils
6292 TARGET-stageprofile-binutils = $(TARGET-binutils)
6293 all-stageprofile-binutils: configure-stageprofile-binutils
6294 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6295 @r=`${PWD_COMMAND}`; export r; \
6296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6297 $(HOST_EXPORTS) \
6298 $(POSTSTAGE1_HOST_EXPORTS) \
6299 cd $(HOST_SUBDIR)/binutils && \
6300 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6301 $(TARGET-stageprofile-binutils)
6303 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6304 clean-stageprofile: clean-stageprofile-binutils
6305 clean-stageprofile-binutils:
6306 @if [ $(current_stage) = stageprofile ]; then \
6307 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6308 else \
6309 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6310 $(MAKE) stageprofile-start; \
6311 fi; \
6312 cd $(HOST_SUBDIR)/binutils && \
6313 $(MAKE) $(FLAGS_TO_PASS) \
6314 $(POSTSTAGE1_FLAGS_TO_PASS) \
6315 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6316 @endif binutils-bootstrap
6319 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6320 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6321 maybe-all-stagefeedback-binutils:
6322 maybe-clean-stagefeedback-binutils:
6323 @if binutils-bootstrap
6324 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6325 all-stagefeedback: all-stagefeedback-binutils
6326 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6327 all-stagefeedback-binutils: configure-stagefeedback-binutils
6328 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6329 @r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(HOST_EXPORTS) \
6332 $(POSTSTAGE1_HOST_EXPORTS) \
6333 cd $(HOST_SUBDIR)/binutils && \
6334 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6335 $(TARGET-stagefeedback-binutils)
6337 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6338 clean-stagefeedback: clean-stagefeedback-binutils
6339 clean-stagefeedback-binutils:
6340 @if [ $(current_stage) = stagefeedback ]; then \
6341 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6342 else \
6343 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6344 $(MAKE) stagefeedback-start; \
6345 fi; \
6346 cd $(HOST_SUBDIR)/binutils && \
6347 $(MAKE) $(FLAGS_TO_PASS) \
6348 $(POSTSTAGE1_FLAGS_TO_PASS) \
6349 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6350 @endif binutils-bootstrap
6356 .PHONY: check-binutils maybe-check-binutils
6357 maybe-check-binutils:
6358 @if binutils
6359 maybe-check-binutils: check-binutils
6361 check-binutils:
6362 @: $(MAKE); $(unstage)
6363 @r=`${PWD_COMMAND}`; export r; \
6364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6365 $(HOST_EXPORTS) \
6366 (cd $(HOST_SUBDIR)/binutils && \
6367 $(MAKE) $(FLAGS_TO_PASS) check)
6369 @endif binutils
6371 .PHONY: install-binutils maybe-install-binutils
6372 maybe-install-binutils:
6373 @if binutils
6374 maybe-install-binutils: install-binutils
6376 install-binutils: installdirs
6377 @: $(MAKE); $(unstage)
6378 @r=`${PWD_COMMAND}`; export r; \
6379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6380 $(HOST_EXPORTS) \
6381 (cd $(HOST_SUBDIR)/binutils && \
6382 $(MAKE) $(FLAGS_TO_PASS) install)
6384 @endif binutils
6386 # Other targets (info, dvi, pdf, etc.)
6388 .PHONY: maybe-info-binutils info-binutils
6389 maybe-info-binutils:
6390 @if binutils
6391 maybe-info-binutils: info-binutils
6393 info-binutils: \
6394 configure-binutils
6395 @[ -f ./binutils/Makefile ] || exit 0; \
6396 r=`${PWD_COMMAND}`; export r; \
6397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6398 $(HOST_EXPORTS) \
6399 for flag in $(EXTRA_HOST_FLAGS) ; do \
6400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6401 done; \
6402 echo "Doing info in binutils" ; \
6403 (cd $(HOST_SUBDIR)/binutils && \
6404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6406 "RANLIB=$${RANLIB}" \
6407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6408 info) \
6409 || exit 1
6411 @endif binutils
6413 .PHONY: maybe-dvi-binutils dvi-binutils
6414 maybe-dvi-binutils:
6415 @if binutils
6416 maybe-dvi-binutils: dvi-binutils
6418 dvi-binutils: \
6419 configure-binutils
6420 @[ -f ./binutils/Makefile ] || exit 0; \
6421 r=`${PWD_COMMAND}`; export r; \
6422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6423 $(HOST_EXPORTS) \
6424 for flag in $(EXTRA_HOST_FLAGS) ; do \
6425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6426 done; \
6427 echo "Doing dvi in binutils" ; \
6428 (cd $(HOST_SUBDIR)/binutils && \
6429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6431 "RANLIB=$${RANLIB}" \
6432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6433 dvi) \
6434 || exit 1
6436 @endif binutils
6438 .PHONY: maybe-pdf-binutils pdf-binutils
6439 maybe-pdf-binutils:
6440 @if binutils
6441 maybe-pdf-binutils: pdf-binutils
6443 pdf-binutils: \
6444 configure-binutils
6445 @[ -f ./binutils/Makefile ] || exit 0; \
6446 r=`${PWD_COMMAND}`; export r; \
6447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6448 $(HOST_EXPORTS) \
6449 for flag in $(EXTRA_HOST_FLAGS) ; do \
6450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6451 done; \
6452 echo "Doing pdf in binutils" ; \
6453 (cd $(HOST_SUBDIR)/binutils && \
6454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6456 "RANLIB=$${RANLIB}" \
6457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6458 pdf) \
6459 || exit 1
6461 @endif binutils
6463 .PHONY: maybe-html-binutils html-binutils
6464 maybe-html-binutils:
6465 @if binutils
6466 maybe-html-binutils: html-binutils
6468 html-binutils: \
6469 configure-binutils
6470 @[ -f ./binutils/Makefile ] || exit 0; \
6471 r=`${PWD_COMMAND}`; export r; \
6472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6473 $(HOST_EXPORTS) \
6474 for flag in $(EXTRA_HOST_FLAGS) ; do \
6475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6476 done; \
6477 echo "Doing html in binutils" ; \
6478 (cd $(HOST_SUBDIR)/binutils && \
6479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6481 "RANLIB=$${RANLIB}" \
6482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6483 html) \
6484 || exit 1
6486 @endif binutils
6488 .PHONY: maybe-TAGS-binutils TAGS-binutils
6489 maybe-TAGS-binutils:
6490 @if binutils
6491 maybe-TAGS-binutils: TAGS-binutils
6493 TAGS-binutils: \
6494 configure-binutils
6495 @[ -f ./binutils/Makefile ] || exit 0; \
6496 r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 $(HOST_EXPORTS) \
6499 for flag in $(EXTRA_HOST_FLAGS) ; do \
6500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6501 done; \
6502 echo "Doing TAGS in binutils" ; \
6503 (cd $(HOST_SUBDIR)/binutils && \
6504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6506 "RANLIB=$${RANLIB}" \
6507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6508 TAGS) \
6509 || exit 1
6511 @endif binutils
6513 .PHONY: maybe-install-info-binutils install-info-binutils
6514 maybe-install-info-binutils:
6515 @if binutils
6516 maybe-install-info-binutils: install-info-binutils
6518 install-info-binutils: \
6519 configure-binutils \
6520 info-binutils
6521 @[ -f ./binutils/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527 done; \
6528 echo "Doing install-info in binutils" ; \
6529 (cd $(HOST_SUBDIR)/binutils && \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6534 install-info) \
6535 || exit 1
6537 @endif binutils
6539 .PHONY: maybe-install-html-binutils install-html-binutils
6540 maybe-install-html-binutils:
6541 @if binutils
6542 maybe-install-html-binutils: install-html-binutils
6544 install-html-binutils: \
6545 configure-binutils \
6546 html-binutils
6547 @[ -f ./binutils/Makefile ] || exit 0; \
6548 r=`${PWD_COMMAND}`; export r; \
6549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6550 $(HOST_EXPORTS) \
6551 for flag in $(EXTRA_HOST_FLAGS) ; do \
6552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6553 done; \
6554 echo "Doing install-html in binutils" ; \
6555 (cd $(HOST_SUBDIR)/binutils && \
6556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558 "RANLIB=$${RANLIB}" \
6559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6560 install-html) \
6561 || exit 1
6563 @endif binutils
6565 .PHONY: maybe-installcheck-binutils installcheck-binutils
6566 maybe-installcheck-binutils:
6567 @if binutils
6568 maybe-installcheck-binutils: installcheck-binutils
6570 installcheck-binutils: \
6571 configure-binutils
6572 @[ -f ./binutils/Makefile ] || exit 0; \
6573 r=`${PWD_COMMAND}`; export r; \
6574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6575 $(HOST_EXPORTS) \
6576 for flag in $(EXTRA_HOST_FLAGS) ; do \
6577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6578 done; \
6579 echo "Doing installcheck in binutils" ; \
6580 (cd $(HOST_SUBDIR)/binutils && \
6581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6583 "RANLIB=$${RANLIB}" \
6584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6585 installcheck) \
6586 || exit 1
6588 @endif binutils
6590 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6591 maybe-mostlyclean-binutils:
6592 @if binutils
6593 maybe-mostlyclean-binutils: mostlyclean-binutils
6595 mostlyclean-binutils:
6596 @[ -f ./binutils/Makefile ] || exit 0; \
6597 r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 for flag in $(EXTRA_HOST_FLAGS) ; do \
6601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6602 done; \
6603 echo "Doing mostlyclean in binutils" ; \
6604 (cd $(HOST_SUBDIR)/binutils && \
6605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6607 "RANLIB=$${RANLIB}" \
6608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6609 mostlyclean) \
6610 || exit 1
6612 @endif binutils
6614 .PHONY: maybe-clean-binutils clean-binutils
6615 maybe-clean-binutils:
6616 @if binutils
6617 maybe-clean-binutils: clean-binutils
6619 clean-binutils:
6620 @[ -f ./binutils/Makefile ] || exit 0; \
6621 r=`${PWD_COMMAND}`; export r; \
6622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6623 $(HOST_EXPORTS) \
6624 for flag in $(EXTRA_HOST_FLAGS) ; do \
6625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6626 done; \
6627 echo "Doing clean in binutils" ; \
6628 (cd $(HOST_SUBDIR)/binutils && \
6629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6631 "RANLIB=$${RANLIB}" \
6632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6633 clean) \
6634 || exit 1
6636 @endif binutils
6638 .PHONY: maybe-distclean-binutils distclean-binutils
6639 maybe-distclean-binutils:
6640 @if binutils
6641 maybe-distclean-binutils: distclean-binutils
6643 distclean-binutils:
6644 @[ -f ./binutils/Makefile ] || exit 0; \
6645 r=`${PWD_COMMAND}`; export r; \
6646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6647 $(HOST_EXPORTS) \
6648 for flag in $(EXTRA_HOST_FLAGS) ; do \
6649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6650 done; \
6651 echo "Doing distclean in binutils" ; \
6652 (cd $(HOST_SUBDIR)/binutils && \
6653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6655 "RANLIB=$${RANLIB}" \
6656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6657 distclean) \
6658 || exit 1
6660 @endif binutils
6662 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6663 maybe-maintainer-clean-binutils:
6664 @if binutils
6665 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6667 maintainer-clean-binutils:
6668 @[ -f ./binutils/Makefile ] || exit 0; \
6669 r=`${PWD_COMMAND}`; export r; \
6670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6671 $(HOST_EXPORTS) \
6672 for flag in $(EXTRA_HOST_FLAGS) ; do \
6673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6674 done; \
6675 echo "Doing maintainer-clean in binutils" ; \
6676 (cd $(HOST_SUBDIR)/binutils && \
6677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6679 "RANLIB=$${RANLIB}" \
6680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6681 maintainer-clean) \
6682 || exit 1
6684 @endif binutils
6688 .PHONY: configure-bison maybe-configure-bison
6689 maybe-configure-bison:
6690 @if gcc-bootstrap
6691 configure-bison: stage_current
6692 @endif gcc-bootstrap
6693 @if bison
6694 maybe-configure-bison: configure-bison
6695 configure-bison:
6696 @: $(MAKE); $(unstage)
6697 @r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6701 $(HOST_EXPORTS) \
6702 echo Configuring in $(HOST_SUBDIR)/bison; \
6703 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6704 case $(srcdir) in \
6705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6706 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6708 esac; \
6709 srcdiroption="--srcdir=$${topdir}/bison"; \
6710 libsrcdir="$$s/bison"; \
6711 $(SHELL) $${libsrcdir}/configure \
6712 $(HOST_CONFIGARGS) $${srcdiroption} \
6713 || exit 1
6714 @endif bison
6720 .PHONY: all-bison maybe-all-bison
6721 maybe-all-bison:
6722 @if gcc-bootstrap
6723 all-bison: stage_current
6724 @endif gcc-bootstrap
6725 @if bison
6726 TARGET-bison=all
6727 maybe-all-bison: all-bison
6728 all-bison: configure-bison
6729 @: $(MAKE); $(unstage)
6730 @r=`${PWD_COMMAND}`; export r; \
6731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6732 $(HOST_EXPORTS) \
6733 (cd $(HOST_SUBDIR)/bison && \
6734 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6735 @endif bison
6740 .PHONY: check-bison maybe-check-bison
6741 maybe-check-bison:
6742 @if bison
6743 maybe-check-bison: check-bison
6745 # This module is only tested in a native toolchain.
6746 check-bison:
6747 @: $(MAKE); $(unstage)
6748 @if [ '$(host)' = '$(target)' ] ; then \
6749 r=`${PWD_COMMAND}`; export r; \
6750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6751 $(HOST_EXPORTS) \
6752 (cd $(HOST_SUBDIR)/bison && \
6753 $(MAKE) $(FLAGS_TO_PASS) check); \
6756 @endif bison
6758 .PHONY: install-bison maybe-install-bison
6759 maybe-install-bison:
6760 @if bison
6761 maybe-install-bison: install-bison
6763 install-bison: installdirs
6764 @: $(MAKE); $(unstage)
6765 @r=`${PWD_COMMAND}`; export r; \
6766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6767 $(HOST_EXPORTS) \
6768 (cd $(HOST_SUBDIR)/bison && \
6769 $(MAKE) $(FLAGS_TO_PASS) install)
6771 @endif bison
6773 # Other targets (info, dvi, pdf, etc.)
6775 .PHONY: maybe-info-bison info-bison
6776 maybe-info-bison:
6777 @if bison
6778 maybe-info-bison: info-bison
6780 info-bison: \
6781 configure-bison
6782 @: $(MAKE); $(unstage)
6783 @[ -f ./bison/Makefile ] || exit 0; \
6784 r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(HOST_EXPORTS) \
6787 for flag in $(EXTRA_HOST_FLAGS) ; do \
6788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6789 done; \
6790 echo "Doing info in bison" ; \
6791 (cd $(HOST_SUBDIR)/bison && \
6792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6794 "RANLIB=$${RANLIB}" \
6795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6796 info) \
6797 || exit 1
6799 @endif bison
6801 .PHONY: maybe-dvi-bison dvi-bison
6802 maybe-dvi-bison:
6803 @if bison
6804 maybe-dvi-bison: dvi-bison
6806 dvi-bison: \
6807 configure-bison
6808 @: $(MAKE); $(unstage)
6809 @[ -f ./bison/Makefile ] || exit 0; \
6810 r=`${PWD_COMMAND}`; export r; \
6811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6812 $(HOST_EXPORTS) \
6813 for flag in $(EXTRA_HOST_FLAGS) ; do \
6814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6815 done; \
6816 echo "Doing dvi in bison" ; \
6817 (cd $(HOST_SUBDIR)/bison && \
6818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6820 "RANLIB=$${RANLIB}" \
6821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6822 dvi) \
6823 || exit 1
6825 @endif bison
6827 .PHONY: maybe-pdf-bison pdf-bison
6828 maybe-pdf-bison:
6829 @if bison
6830 maybe-pdf-bison: pdf-bison
6832 pdf-bison: \
6833 configure-bison
6834 @: $(MAKE); $(unstage)
6835 @[ -f ./bison/Makefile ] || exit 0; \
6836 r=`${PWD_COMMAND}`; export r; \
6837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6838 $(HOST_EXPORTS) \
6839 for flag in $(EXTRA_HOST_FLAGS) ; do \
6840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6841 done; \
6842 echo "Doing pdf in bison" ; \
6843 (cd $(HOST_SUBDIR)/bison && \
6844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6846 "RANLIB=$${RANLIB}" \
6847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6848 pdf) \
6849 || exit 1
6851 @endif bison
6853 .PHONY: maybe-html-bison html-bison
6854 maybe-html-bison:
6855 @if bison
6856 maybe-html-bison: html-bison
6858 html-bison: \
6859 configure-bison
6860 @: $(MAKE); $(unstage)
6861 @[ -f ./bison/Makefile ] || exit 0; \
6862 r=`${PWD_COMMAND}`; export r; \
6863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6864 $(HOST_EXPORTS) \
6865 for flag in $(EXTRA_HOST_FLAGS) ; do \
6866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6867 done; \
6868 echo "Doing html in bison" ; \
6869 (cd $(HOST_SUBDIR)/bison && \
6870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6872 "RANLIB=$${RANLIB}" \
6873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6874 html) \
6875 || exit 1
6877 @endif bison
6879 .PHONY: maybe-TAGS-bison TAGS-bison
6880 maybe-TAGS-bison:
6881 @if bison
6882 maybe-TAGS-bison: TAGS-bison
6884 TAGS-bison: \
6885 configure-bison
6886 @: $(MAKE); $(unstage)
6887 @[ -f ./bison/Makefile ] || exit 0; \
6888 r=`${PWD_COMMAND}`; export r; \
6889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6890 $(HOST_EXPORTS) \
6891 for flag in $(EXTRA_HOST_FLAGS) ; do \
6892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6893 done; \
6894 echo "Doing TAGS in bison" ; \
6895 (cd $(HOST_SUBDIR)/bison && \
6896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6898 "RANLIB=$${RANLIB}" \
6899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6900 TAGS) \
6901 || exit 1
6903 @endif bison
6905 .PHONY: maybe-install-info-bison install-info-bison
6906 maybe-install-info-bison:
6907 @if bison
6908 maybe-install-info-bison: install-info-bison
6910 install-info-bison: \
6911 configure-bison \
6912 info-bison
6913 @: $(MAKE); $(unstage)
6914 @[ -f ./bison/Makefile ] || exit 0; \
6915 r=`${PWD_COMMAND}`; export r; \
6916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6917 $(HOST_EXPORTS) \
6918 for flag in $(EXTRA_HOST_FLAGS) ; do \
6919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6920 done; \
6921 echo "Doing install-info in bison" ; \
6922 (cd $(HOST_SUBDIR)/bison && \
6923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6925 "RANLIB=$${RANLIB}" \
6926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6927 install-info) \
6928 || exit 1
6930 @endif bison
6932 .PHONY: maybe-install-html-bison install-html-bison
6933 maybe-install-html-bison:
6934 @if bison
6935 maybe-install-html-bison: install-html-bison
6937 install-html-bison: \
6938 configure-bison \
6939 html-bison
6940 @: $(MAKE); $(unstage)
6941 @[ -f ./bison/Makefile ] || exit 0; \
6942 r=`${PWD_COMMAND}`; export r; \
6943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 $(HOST_EXPORTS) \
6945 for flag in $(EXTRA_HOST_FLAGS) ; do \
6946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6947 done; \
6948 echo "Doing install-html in bison" ; \
6949 (cd $(HOST_SUBDIR)/bison && \
6950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6952 "RANLIB=$${RANLIB}" \
6953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6954 install-html) \
6955 || exit 1
6957 @endif bison
6959 .PHONY: maybe-installcheck-bison installcheck-bison
6960 maybe-installcheck-bison:
6961 @if bison
6962 maybe-installcheck-bison: installcheck-bison
6964 installcheck-bison: \
6965 configure-bison
6966 @: $(MAKE); $(unstage)
6967 @[ -f ./bison/Makefile ] || exit 0; \
6968 r=`${PWD_COMMAND}`; export r; \
6969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6970 $(HOST_EXPORTS) \
6971 for flag in $(EXTRA_HOST_FLAGS) ; do \
6972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6973 done; \
6974 echo "Doing installcheck in bison" ; \
6975 (cd $(HOST_SUBDIR)/bison && \
6976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6978 "RANLIB=$${RANLIB}" \
6979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6980 installcheck) \
6981 || exit 1
6983 @endif bison
6985 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6986 maybe-mostlyclean-bison:
6987 @if bison
6988 maybe-mostlyclean-bison: mostlyclean-bison
6990 mostlyclean-bison:
6991 @: $(MAKE); $(unstage)
6992 @[ -f ./bison/Makefile ] || exit 0; \
6993 r=`${PWD_COMMAND}`; export r; \
6994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6995 $(HOST_EXPORTS) \
6996 for flag in $(EXTRA_HOST_FLAGS) ; do \
6997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6998 done; \
6999 echo "Doing mostlyclean in bison" ; \
7000 (cd $(HOST_SUBDIR)/bison && \
7001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7003 "RANLIB=$${RANLIB}" \
7004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7005 mostlyclean) \
7006 || exit 1
7008 @endif bison
7010 .PHONY: maybe-clean-bison clean-bison
7011 maybe-clean-bison:
7012 @if bison
7013 maybe-clean-bison: clean-bison
7015 clean-bison:
7016 @: $(MAKE); $(unstage)
7017 @[ -f ./bison/Makefile ] || exit 0; \
7018 r=`${PWD_COMMAND}`; export r; \
7019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7020 $(HOST_EXPORTS) \
7021 for flag in $(EXTRA_HOST_FLAGS) ; do \
7022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7023 done; \
7024 echo "Doing clean in bison" ; \
7025 (cd $(HOST_SUBDIR)/bison && \
7026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7028 "RANLIB=$${RANLIB}" \
7029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7030 clean) \
7031 || exit 1
7033 @endif bison
7035 .PHONY: maybe-distclean-bison distclean-bison
7036 maybe-distclean-bison:
7037 @if bison
7038 maybe-distclean-bison: distclean-bison
7040 distclean-bison:
7041 @: $(MAKE); $(unstage)
7042 @[ -f ./bison/Makefile ] || exit 0; \
7043 r=`${PWD_COMMAND}`; export r; \
7044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7045 $(HOST_EXPORTS) \
7046 for flag in $(EXTRA_HOST_FLAGS) ; do \
7047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7048 done; \
7049 echo "Doing distclean in bison" ; \
7050 (cd $(HOST_SUBDIR)/bison && \
7051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7053 "RANLIB=$${RANLIB}" \
7054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7055 distclean) \
7056 || exit 1
7058 @endif bison
7060 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7061 maybe-maintainer-clean-bison:
7062 @if bison
7063 maybe-maintainer-clean-bison: maintainer-clean-bison
7065 maintainer-clean-bison:
7066 @: $(MAKE); $(unstage)
7067 @[ -f ./bison/Makefile ] || exit 0; \
7068 r=`${PWD_COMMAND}`; export r; \
7069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 $(HOST_EXPORTS) \
7071 for flag in $(EXTRA_HOST_FLAGS) ; do \
7072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7073 done; \
7074 echo "Doing maintainer-clean in bison" ; \
7075 (cd $(HOST_SUBDIR)/bison && \
7076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7078 "RANLIB=$${RANLIB}" \
7079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7080 maintainer-clean) \
7081 || exit 1
7083 @endif bison
7087 .PHONY: configure-byacc maybe-configure-byacc
7088 maybe-configure-byacc:
7089 @if gcc-bootstrap
7090 configure-byacc: stage_current
7091 @endif gcc-bootstrap
7092 @if byacc
7093 maybe-configure-byacc: configure-byacc
7094 configure-byacc:
7095 @: $(MAKE); $(unstage)
7096 @r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7100 $(HOST_EXPORTS) \
7101 echo Configuring in $(HOST_SUBDIR)/byacc; \
7102 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7103 case $(srcdir) in \
7104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7105 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7107 esac; \
7108 srcdiroption="--srcdir=$${topdir}/byacc"; \
7109 libsrcdir="$$s/byacc"; \
7110 $(SHELL) $${libsrcdir}/configure \
7111 $(HOST_CONFIGARGS) $${srcdiroption} \
7112 || exit 1
7113 @endif byacc
7119 .PHONY: all-byacc maybe-all-byacc
7120 maybe-all-byacc:
7121 @if gcc-bootstrap
7122 all-byacc: stage_current
7123 @endif gcc-bootstrap
7124 @if byacc
7125 TARGET-byacc=all
7126 maybe-all-byacc: all-byacc
7127 all-byacc: configure-byacc
7128 @: $(MAKE); $(unstage)
7129 @r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(HOST_EXPORTS) \
7132 (cd $(HOST_SUBDIR)/byacc && \
7133 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7134 @endif byacc
7139 .PHONY: check-byacc maybe-check-byacc
7140 maybe-check-byacc:
7141 @if byacc
7142 maybe-check-byacc: check-byacc
7144 # This module is only tested in a native toolchain.
7145 check-byacc:
7146 @: $(MAKE); $(unstage)
7147 @if [ '$(host)' = '$(target)' ] ; then \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(HOST_EXPORTS) \
7151 (cd $(HOST_SUBDIR)/byacc && \
7152 $(MAKE) $(FLAGS_TO_PASS) check); \
7155 @endif byacc
7157 .PHONY: install-byacc maybe-install-byacc
7158 maybe-install-byacc:
7159 @if byacc
7160 maybe-install-byacc: install-byacc
7162 install-byacc: installdirs
7163 @: $(MAKE); $(unstage)
7164 @r=`${PWD_COMMAND}`; export r; \
7165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7166 $(HOST_EXPORTS) \
7167 (cd $(HOST_SUBDIR)/byacc && \
7168 $(MAKE) $(FLAGS_TO_PASS) install)
7170 @endif byacc
7172 # Other targets (info, dvi, pdf, etc.)
7174 .PHONY: maybe-info-byacc info-byacc
7175 maybe-info-byacc:
7176 @if byacc
7177 maybe-info-byacc: info-byacc
7179 info-byacc: \
7180 configure-byacc
7181 @: $(MAKE); $(unstage)
7182 @[ -f ./byacc/Makefile ] || exit 0; \
7183 r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(HOST_EXPORTS) \
7186 for flag in $(EXTRA_HOST_FLAGS) ; do \
7187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7188 done; \
7189 echo "Doing info in byacc" ; \
7190 (cd $(HOST_SUBDIR)/byacc && \
7191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7193 "RANLIB=$${RANLIB}" \
7194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7195 info) \
7196 || exit 1
7198 @endif byacc
7200 .PHONY: maybe-dvi-byacc dvi-byacc
7201 maybe-dvi-byacc:
7202 @if byacc
7203 maybe-dvi-byacc: dvi-byacc
7205 dvi-byacc: \
7206 configure-byacc
7207 @: $(MAKE); $(unstage)
7208 @[ -f ./byacc/Makefile ] || exit 0; \
7209 r=`${PWD_COMMAND}`; export r; \
7210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 $(HOST_EXPORTS) \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 done; \
7215 echo "Doing dvi in byacc" ; \
7216 (cd $(HOST_SUBDIR)/byacc && \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7221 dvi) \
7222 || exit 1
7224 @endif byacc
7226 .PHONY: maybe-pdf-byacc pdf-byacc
7227 maybe-pdf-byacc:
7228 @if byacc
7229 maybe-pdf-byacc: pdf-byacc
7231 pdf-byacc: \
7232 configure-byacc
7233 @: $(MAKE); $(unstage)
7234 @[ -f ./byacc/Makefile ] || exit 0; \
7235 r=`${PWD_COMMAND}`; export r; \
7236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237 $(HOST_EXPORTS) \
7238 for flag in $(EXTRA_HOST_FLAGS) ; do \
7239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7240 done; \
7241 echo "Doing pdf in byacc" ; \
7242 (cd $(HOST_SUBDIR)/byacc && \
7243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7245 "RANLIB=$${RANLIB}" \
7246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7247 pdf) \
7248 || exit 1
7250 @endif byacc
7252 .PHONY: maybe-html-byacc html-byacc
7253 maybe-html-byacc:
7254 @if byacc
7255 maybe-html-byacc: html-byacc
7257 html-byacc: \
7258 configure-byacc
7259 @: $(MAKE); $(unstage)
7260 @[ -f ./byacc/Makefile ] || exit 0; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(HOST_EXPORTS) \
7264 for flag in $(EXTRA_HOST_FLAGS) ; do \
7265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7266 done; \
7267 echo "Doing html in byacc" ; \
7268 (cd $(HOST_SUBDIR)/byacc && \
7269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7271 "RANLIB=$${RANLIB}" \
7272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7273 html) \
7274 || exit 1
7276 @endif byacc
7278 .PHONY: maybe-TAGS-byacc TAGS-byacc
7279 maybe-TAGS-byacc:
7280 @if byacc
7281 maybe-TAGS-byacc: TAGS-byacc
7283 TAGS-byacc: \
7284 configure-byacc
7285 @: $(MAKE); $(unstage)
7286 @[ -f ./byacc/Makefile ] || exit 0; \
7287 r=`${PWD_COMMAND}`; export r; \
7288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7289 $(HOST_EXPORTS) \
7290 for flag in $(EXTRA_HOST_FLAGS) ; do \
7291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7292 done; \
7293 echo "Doing TAGS in byacc" ; \
7294 (cd $(HOST_SUBDIR)/byacc && \
7295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7297 "RANLIB=$${RANLIB}" \
7298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7299 TAGS) \
7300 || exit 1
7302 @endif byacc
7304 .PHONY: maybe-install-info-byacc install-info-byacc
7305 maybe-install-info-byacc:
7306 @if byacc
7307 maybe-install-info-byacc: install-info-byacc
7309 install-info-byacc: \
7310 configure-byacc \
7311 info-byacc
7312 @: $(MAKE); $(unstage)
7313 @[ -f ./byacc/Makefile ] || exit 0; \
7314 r=`${PWD_COMMAND}`; export r; \
7315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7316 $(HOST_EXPORTS) \
7317 for flag in $(EXTRA_HOST_FLAGS) ; do \
7318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7319 done; \
7320 echo "Doing install-info in byacc" ; \
7321 (cd $(HOST_SUBDIR)/byacc && \
7322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7324 "RANLIB=$${RANLIB}" \
7325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7326 install-info) \
7327 || exit 1
7329 @endif byacc
7331 .PHONY: maybe-install-html-byacc install-html-byacc
7332 maybe-install-html-byacc:
7333 @if byacc
7334 maybe-install-html-byacc: install-html-byacc
7336 install-html-byacc: \
7337 configure-byacc \
7338 html-byacc
7339 @: $(MAKE); $(unstage)
7340 @[ -f ./byacc/Makefile ] || exit 0; \
7341 r=`${PWD_COMMAND}`; export r; \
7342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7343 $(HOST_EXPORTS) \
7344 for flag in $(EXTRA_HOST_FLAGS) ; do \
7345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7346 done; \
7347 echo "Doing install-html in byacc" ; \
7348 (cd $(HOST_SUBDIR)/byacc && \
7349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7351 "RANLIB=$${RANLIB}" \
7352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7353 install-html) \
7354 || exit 1
7356 @endif byacc
7358 .PHONY: maybe-installcheck-byacc installcheck-byacc
7359 maybe-installcheck-byacc:
7360 @if byacc
7361 maybe-installcheck-byacc: installcheck-byacc
7363 installcheck-byacc: \
7364 configure-byacc
7365 @: $(MAKE); $(unstage)
7366 @[ -f ./byacc/Makefile ] || exit 0; \
7367 r=`${PWD_COMMAND}`; export r; \
7368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7369 $(HOST_EXPORTS) \
7370 for flag in $(EXTRA_HOST_FLAGS) ; do \
7371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7372 done; \
7373 echo "Doing installcheck in byacc" ; \
7374 (cd $(HOST_SUBDIR)/byacc && \
7375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7377 "RANLIB=$${RANLIB}" \
7378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7379 installcheck) \
7380 || exit 1
7382 @endif byacc
7384 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7385 maybe-mostlyclean-byacc:
7386 @if byacc
7387 maybe-mostlyclean-byacc: mostlyclean-byacc
7389 mostlyclean-byacc:
7390 @: $(MAKE); $(unstage)
7391 @[ -f ./byacc/Makefile ] || exit 0; \
7392 r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(HOST_EXPORTS) \
7395 for flag in $(EXTRA_HOST_FLAGS) ; do \
7396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7397 done; \
7398 echo "Doing mostlyclean in byacc" ; \
7399 (cd $(HOST_SUBDIR)/byacc && \
7400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7402 "RANLIB=$${RANLIB}" \
7403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7404 mostlyclean) \
7405 || exit 1
7407 @endif byacc
7409 .PHONY: maybe-clean-byacc clean-byacc
7410 maybe-clean-byacc:
7411 @if byacc
7412 maybe-clean-byacc: clean-byacc
7414 clean-byacc:
7415 @: $(MAKE); $(unstage)
7416 @[ -f ./byacc/Makefile ] || exit 0; \
7417 r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 $(HOST_EXPORTS) \
7420 for flag in $(EXTRA_HOST_FLAGS) ; do \
7421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7422 done; \
7423 echo "Doing clean in byacc" ; \
7424 (cd $(HOST_SUBDIR)/byacc && \
7425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7427 "RANLIB=$${RANLIB}" \
7428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7429 clean) \
7430 || exit 1
7432 @endif byacc
7434 .PHONY: maybe-distclean-byacc distclean-byacc
7435 maybe-distclean-byacc:
7436 @if byacc
7437 maybe-distclean-byacc: distclean-byacc
7439 distclean-byacc:
7440 @: $(MAKE); $(unstage)
7441 @[ -f ./byacc/Makefile ] || exit 0; \
7442 r=`${PWD_COMMAND}`; export r; \
7443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7444 $(HOST_EXPORTS) \
7445 for flag in $(EXTRA_HOST_FLAGS) ; do \
7446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7447 done; \
7448 echo "Doing distclean in byacc" ; \
7449 (cd $(HOST_SUBDIR)/byacc && \
7450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7452 "RANLIB=$${RANLIB}" \
7453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7454 distclean) \
7455 || exit 1
7457 @endif byacc
7459 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7460 maybe-maintainer-clean-byacc:
7461 @if byacc
7462 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7464 maintainer-clean-byacc:
7465 @: $(MAKE); $(unstage)
7466 @[ -f ./byacc/Makefile ] || exit 0; \
7467 r=`${PWD_COMMAND}`; export r; \
7468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7469 $(HOST_EXPORTS) \
7470 for flag in $(EXTRA_HOST_FLAGS) ; do \
7471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7472 done; \
7473 echo "Doing maintainer-clean in byacc" ; \
7474 (cd $(HOST_SUBDIR)/byacc && \
7475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7477 "RANLIB=$${RANLIB}" \
7478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7479 maintainer-clean) \
7480 || exit 1
7482 @endif byacc
7486 .PHONY: configure-bzip2 maybe-configure-bzip2
7487 maybe-configure-bzip2:
7488 @if gcc-bootstrap
7489 configure-bzip2: stage_current
7490 @endif gcc-bootstrap
7491 @if bzip2
7492 maybe-configure-bzip2: configure-bzip2
7493 configure-bzip2:
7494 @: $(MAKE); $(unstage)
7495 @r=`${PWD_COMMAND}`; export r; \
7496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7497 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7499 $(HOST_EXPORTS) \
7500 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7501 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7502 case $(srcdir) in \
7503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7504 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7506 esac; \
7507 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7508 libsrcdir="$$s/bzip2"; \
7509 $(SHELL) $${libsrcdir}/configure \
7510 $(HOST_CONFIGARGS) $${srcdiroption} \
7511 || exit 1
7512 @endif bzip2
7518 .PHONY: all-bzip2 maybe-all-bzip2
7519 maybe-all-bzip2:
7520 @if gcc-bootstrap
7521 all-bzip2: stage_current
7522 @endif gcc-bootstrap
7523 @if bzip2
7524 TARGET-bzip2=all
7525 maybe-all-bzip2: all-bzip2
7526 all-bzip2: configure-bzip2
7527 @: $(MAKE); $(unstage)
7528 @r=`${PWD_COMMAND}`; export r; \
7529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7530 $(HOST_EXPORTS) \
7531 (cd $(HOST_SUBDIR)/bzip2 && \
7532 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7533 @endif bzip2
7538 .PHONY: check-bzip2 maybe-check-bzip2
7539 maybe-check-bzip2:
7540 @if bzip2
7541 maybe-check-bzip2: check-bzip2
7543 check-bzip2:
7544 @: $(MAKE); $(unstage)
7545 @r=`${PWD_COMMAND}`; export r; \
7546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7547 $(HOST_EXPORTS) \
7548 (cd $(HOST_SUBDIR)/bzip2 && \
7549 $(MAKE) $(FLAGS_TO_PASS) check)
7551 @endif bzip2
7553 .PHONY: install-bzip2 maybe-install-bzip2
7554 maybe-install-bzip2:
7555 @if bzip2
7556 maybe-install-bzip2: install-bzip2
7558 install-bzip2: installdirs
7559 @: $(MAKE); $(unstage)
7560 @r=`${PWD_COMMAND}`; export r; \
7561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7562 $(HOST_EXPORTS) \
7563 (cd $(HOST_SUBDIR)/bzip2 && \
7564 $(MAKE) $(FLAGS_TO_PASS) install)
7566 @endif bzip2
7568 # Other targets (info, dvi, pdf, etc.)
7570 .PHONY: maybe-info-bzip2 info-bzip2
7571 maybe-info-bzip2:
7572 @if bzip2
7573 maybe-info-bzip2: info-bzip2
7575 info-bzip2: \
7576 configure-bzip2
7577 @: $(MAKE); $(unstage)
7578 @[ -f ./bzip2/Makefile ] || exit 0; \
7579 r=`${PWD_COMMAND}`; export r; \
7580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7581 $(HOST_EXPORTS) \
7582 for flag in $(EXTRA_HOST_FLAGS) ; do \
7583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7584 done; \
7585 echo "Doing info in bzip2" ; \
7586 (cd $(HOST_SUBDIR)/bzip2 && \
7587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7589 "RANLIB=$${RANLIB}" \
7590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7591 info) \
7592 || exit 1
7594 @endif bzip2
7596 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7597 maybe-dvi-bzip2:
7598 @if bzip2
7599 maybe-dvi-bzip2: dvi-bzip2
7601 dvi-bzip2: \
7602 configure-bzip2
7603 @: $(MAKE); $(unstage)
7604 @[ -f ./bzip2/Makefile ] || exit 0; \
7605 r=`${PWD_COMMAND}`; export r; \
7606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7607 $(HOST_EXPORTS) \
7608 for flag in $(EXTRA_HOST_FLAGS) ; do \
7609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7610 done; \
7611 echo "Doing dvi in bzip2" ; \
7612 (cd $(HOST_SUBDIR)/bzip2 && \
7613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7615 "RANLIB=$${RANLIB}" \
7616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7617 dvi) \
7618 || exit 1
7620 @endif bzip2
7622 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7623 maybe-pdf-bzip2:
7624 @if bzip2
7625 maybe-pdf-bzip2: pdf-bzip2
7627 pdf-bzip2: \
7628 configure-bzip2
7629 @: $(MAKE); $(unstage)
7630 @[ -f ./bzip2/Makefile ] || exit 0; \
7631 r=`${PWD_COMMAND}`; export r; \
7632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7633 $(HOST_EXPORTS) \
7634 for flag in $(EXTRA_HOST_FLAGS) ; do \
7635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7636 done; \
7637 echo "Doing pdf in bzip2" ; \
7638 (cd $(HOST_SUBDIR)/bzip2 && \
7639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7641 "RANLIB=$${RANLIB}" \
7642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7643 pdf) \
7644 || exit 1
7646 @endif bzip2
7648 .PHONY: maybe-html-bzip2 html-bzip2
7649 maybe-html-bzip2:
7650 @if bzip2
7651 maybe-html-bzip2: html-bzip2
7653 html-bzip2: \
7654 configure-bzip2
7655 @: $(MAKE); $(unstage)
7656 @[ -f ./bzip2/Makefile ] || exit 0; \
7657 r=`${PWD_COMMAND}`; export r; \
7658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7659 $(HOST_EXPORTS) \
7660 for flag in $(EXTRA_HOST_FLAGS) ; do \
7661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7662 done; \
7663 echo "Doing html in bzip2" ; \
7664 (cd $(HOST_SUBDIR)/bzip2 && \
7665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7667 "RANLIB=$${RANLIB}" \
7668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7669 html) \
7670 || exit 1
7672 @endif bzip2
7674 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7675 maybe-TAGS-bzip2:
7676 @if bzip2
7677 maybe-TAGS-bzip2: TAGS-bzip2
7679 TAGS-bzip2: \
7680 configure-bzip2
7681 @: $(MAKE); $(unstage)
7682 @[ -f ./bzip2/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 for flag in $(EXTRA_HOST_FLAGS) ; do \
7687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7688 done; \
7689 echo "Doing TAGS in bzip2" ; \
7690 (cd $(HOST_SUBDIR)/bzip2 && \
7691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7693 "RANLIB=$${RANLIB}" \
7694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7695 TAGS) \
7696 || exit 1
7698 @endif bzip2
7700 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7701 maybe-install-info-bzip2:
7702 @if bzip2
7703 maybe-install-info-bzip2: install-info-bzip2
7705 install-info-bzip2: \
7706 configure-bzip2 \
7707 info-bzip2
7708 @: $(MAKE); $(unstage)
7709 @[ -f ./bzip2/Makefile ] || exit 0; \
7710 r=`${PWD_COMMAND}`; export r; \
7711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7712 $(HOST_EXPORTS) \
7713 for flag in $(EXTRA_HOST_FLAGS) ; do \
7714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7715 done; \
7716 echo "Doing install-info in bzip2" ; \
7717 (cd $(HOST_SUBDIR)/bzip2 && \
7718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7720 "RANLIB=$${RANLIB}" \
7721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7722 install-info) \
7723 || exit 1
7725 @endif bzip2
7727 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7728 maybe-install-html-bzip2:
7729 @if bzip2
7730 maybe-install-html-bzip2: install-html-bzip2
7732 install-html-bzip2: \
7733 configure-bzip2 \
7734 html-bzip2
7735 @: $(MAKE); $(unstage)
7736 @[ -f ./bzip2/Makefile ] || exit 0; \
7737 r=`${PWD_COMMAND}`; export r; \
7738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7739 $(HOST_EXPORTS) \
7740 for flag in $(EXTRA_HOST_FLAGS) ; do \
7741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7742 done; \
7743 echo "Doing install-html in bzip2" ; \
7744 (cd $(HOST_SUBDIR)/bzip2 && \
7745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7747 "RANLIB=$${RANLIB}" \
7748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7749 install-html) \
7750 || exit 1
7752 @endif bzip2
7754 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7755 maybe-installcheck-bzip2:
7756 @if bzip2
7757 maybe-installcheck-bzip2: installcheck-bzip2
7759 installcheck-bzip2: \
7760 configure-bzip2
7761 @: $(MAKE); $(unstage)
7762 @[ -f ./bzip2/Makefile ] || exit 0; \
7763 r=`${PWD_COMMAND}`; export r; \
7764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7765 $(HOST_EXPORTS) \
7766 for flag in $(EXTRA_HOST_FLAGS) ; do \
7767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7768 done; \
7769 echo "Doing installcheck in bzip2" ; \
7770 (cd $(HOST_SUBDIR)/bzip2 && \
7771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7773 "RANLIB=$${RANLIB}" \
7774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7775 installcheck) \
7776 || exit 1
7778 @endif bzip2
7780 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7781 maybe-mostlyclean-bzip2:
7782 @if bzip2
7783 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7785 mostlyclean-bzip2:
7786 @: $(MAKE); $(unstage)
7787 @[ -f ./bzip2/Makefile ] || exit 0; \
7788 r=`${PWD_COMMAND}`; export r; \
7789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7790 $(HOST_EXPORTS) \
7791 for flag in $(EXTRA_HOST_FLAGS) ; do \
7792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7793 done; \
7794 echo "Doing mostlyclean in bzip2" ; \
7795 (cd $(HOST_SUBDIR)/bzip2 && \
7796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7798 "RANLIB=$${RANLIB}" \
7799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7800 mostlyclean) \
7801 || exit 1
7803 @endif bzip2
7805 .PHONY: maybe-clean-bzip2 clean-bzip2
7806 maybe-clean-bzip2:
7807 @if bzip2
7808 maybe-clean-bzip2: clean-bzip2
7810 clean-bzip2:
7811 @: $(MAKE); $(unstage)
7812 @[ -f ./bzip2/Makefile ] || exit 0; \
7813 r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7815 $(HOST_EXPORTS) \
7816 for flag in $(EXTRA_HOST_FLAGS) ; do \
7817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7818 done; \
7819 echo "Doing clean in bzip2" ; \
7820 (cd $(HOST_SUBDIR)/bzip2 && \
7821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7823 "RANLIB=$${RANLIB}" \
7824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7825 clean) \
7826 || exit 1
7828 @endif bzip2
7830 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7831 maybe-distclean-bzip2:
7832 @if bzip2
7833 maybe-distclean-bzip2: distclean-bzip2
7835 distclean-bzip2:
7836 @: $(MAKE); $(unstage)
7837 @[ -f ./bzip2/Makefile ] || exit 0; \
7838 r=`${PWD_COMMAND}`; export r; \
7839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7840 $(HOST_EXPORTS) \
7841 for flag in $(EXTRA_HOST_FLAGS) ; do \
7842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7843 done; \
7844 echo "Doing distclean in bzip2" ; \
7845 (cd $(HOST_SUBDIR)/bzip2 && \
7846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7848 "RANLIB=$${RANLIB}" \
7849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7850 distclean) \
7851 || exit 1
7853 @endif bzip2
7855 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7856 maybe-maintainer-clean-bzip2:
7857 @if bzip2
7858 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7860 maintainer-clean-bzip2:
7861 @: $(MAKE); $(unstage)
7862 @[ -f ./bzip2/Makefile ] || exit 0; \
7863 r=`${PWD_COMMAND}`; export r; \
7864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 $(HOST_EXPORTS) \
7866 for flag in $(EXTRA_HOST_FLAGS) ; do \
7867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7868 done; \
7869 echo "Doing maintainer-clean in bzip2" ; \
7870 (cd $(HOST_SUBDIR)/bzip2 && \
7871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7873 "RANLIB=$${RANLIB}" \
7874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7875 maintainer-clean) \
7876 || exit 1
7878 @endif bzip2
7882 .PHONY: configure-dejagnu maybe-configure-dejagnu
7883 maybe-configure-dejagnu:
7884 @if gcc-bootstrap
7885 configure-dejagnu: stage_current
7886 @endif gcc-bootstrap
7887 @if dejagnu
7888 maybe-configure-dejagnu: configure-dejagnu
7889 configure-dejagnu:
7890 @: $(MAKE); $(unstage)
7891 @r=`${PWD_COMMAND}`; export r; \
7892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7893 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7895 $(HOST_EXPORTS) \
7896 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7897 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7898 case $(srcdir) in \
7899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7900 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7902 esac; \
7903 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7904 libsrcdir="$$s/dejagnu"; \
7905 $(SHELL) $${libsrcdir}/configure \
7906 $(HOST_CONFIGARGS) $${srcdiroption} \
7907 || exit 1
7908 @endif dejagnu
7914 .PHONY: all-dejagnu maybe-all-dejagnu
7915 maybe-all-dejagnu:
7916 @if gcc-bootstrap
7917 all-dejagnu: stage_current
7918 @endif gcc-bootstrap
7919 @if dejagnu
7920 TARGET-dejagnu=all
7921 maybe-all-dejagnu: all-dejagnu
7922 all-dejagnu: configure-dejagnu
7923 @: $(MAKE); $(unstage)
7924 @r=`${PWD_COMMAND}`; export r; \
7925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7926 $(HOST_EXPORTS) \
7927 (cd $(HOST_SUBDIR)/dejagnu && \
7928 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7929 @endif dejagnu
7934 .PHONY: check-dejagnu maybe-check-dejagnu
7935 maybe-check-dejagnu:
7936 @if dejagnu
7937 maybe-check-dejagnu: check-dejagnu
7939 check-dejagnu:
7940 @: $(MAKE); $(unstage)
7941 @r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(HOST_EXPORTS) \
7944 (cd $(HOST_SUBDIR)/dejagnu && \
7945 $(MAKE) $(FLAGS_TO_PASS) check)
7947 @endif dejagnu
7949 .PHONY: install-dejagnu maybe-install-dejagnu
7950 maybe-install-dejagnu:
7951 @if dejagnu
7952 maybe-install-dejagnu: install-dejagnu
7954 install-dejagnu: installdirs
7955 @: $(MAKE); $(unstage)
7956 @r=`${PWD_COMMAND}`; export r; \
7957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7958 $(HOST_EXPORTS) \
7959 (cd $(HOST_SUBDIR)/dejagnu && \
7960 $(MAKE) $(FLAGS_TO_PASS) install)
7962 @endif dejagnu
7964 # Other targets (info, dvi, pdf, etc.)
7966 .PHONY: maybe-info-dejagnu info-dejagnu
7967 maybe-info-dejagnu:
7968 @if dejagnu
7969 maybe-info-dejagnu: info-dejagnu
7971 info-dejagnu: \
7972 configure-dejagnu
7973 @: $(MAKE); $(unstage)
7974 @[ -f ./dejagnu/Makefile ] || exit 0; \
7975 r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(HOST_EXPORTS) \
7978 for flag in $(EXTRA_HOST_FLAGS) ; do \
7979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7980 done; \
7981 echo "Doing info in dejagnu" ; \
7982 (cd $(HOST_SUBDIR)/dejagnu && \
7983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7985 "RANLIB=$${RANLIB}" \
7986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7987 info) \
7988 || exit 1
7990 @endif dejagnu
7992 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7993 maybe-dvi-dejagnu:
7994 @if dejagnu
7995 maybe-dvi-dejagnu: dvi-dejagnu
7997 dvi-dejagnu: \
7998 configure-dejagnu
7999 @: $(MAKE); $(unstage)
8000 @[ -f ./dejagnu/Makefile ] || exit 0; \
8001 r=`${PWD_COMMAND}`; export r; \
8002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8003 $(HOST_EXPORTS) \
8004 for flag in $(EXTRA_HOST_FLAGS) ; do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8006 done; \
8007 echo "Doing dvi in dejagnu" ; \
8008 (cd $(HOST_SUBDIR)/dejagnu && \
8009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8011 "RANLIB=$${RANLIB}" \
8012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8013 dvi) \
8014 || exit 1
8016 @endif dejagnu
8018 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8019 maybe-pdf-dejagnu:
8020 @if dejagnu
8021 maybe-pdf-dejagnu: pdf-dejagnu
8023 pdf-dejagnu: \
8024 configure-dejagnu
8025 @: $(MAKE); $(unstage)
8026 @[ -f ./dejagnu/Makefile ] || exit 0; \
8027 r=`${PWD_COMMAND}`; export r; \
8028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8029 $(HOST_EXPORTS) \
8030 for flag in $(EXTRA_HOST_FLAGS) ; do \
8031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8032 done; \
8033 echo "Doing pdf in dejagnu" ; \
8034 (cd $(HOST_SUBDIR)/dejagnu && \
8035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8037 "RANLIB=$${RANLIB}" \
8038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8039 pdf) \
8040 || exit 1
8042 @endif dejagnu
8044 .PHONY: maybe-html-dejagnu html-dejagnu
8045 maybe-html-dejagnu:
8046 @if dejagnu
8047 maybe-html-dejagnu: html-dejagnu
8049 html-dejagnu: \
8050 configure-dejagnu
8051 @: $(MAKE); $(unstage)
8052 @[ -f ./dejagnu/Makefile ] || exit 0; \
8053 r=`${PWD_COMMAND}`; export r; \
8054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8055 $(HOST_EXPORTS) \
8056 for flag in $(EXTRA_HOST_FLAGS) ; do \
8057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8058 done; \
8059 echo "Doing html in dejagnu" ; \
8060 (cd $(HOST_SUBDIR)/dejagnu && \
8061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8063 "RANLIB=$${RANLIB}" \
8064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8065 html) \
8066 || exit 1
8068 @endif dejagnu
8070 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8071 maybe-TAGS-dejagnu:
8072 @if dejagnu
8073 maybe-TAGS-dejagnu: TAGS-dejagnu
8075 TAGS-dejagnu: \
8076 configure-dejagnu
8077 @: $(MAKE); $(unstage)
8078 @[ -f ./dejagnu/Makefile ] || exit 0; \
8079 r=`${PWD_COMMAND}`; export r; \
8080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8081 $(HOST_EXPORTS) \
8082 for flag in $(EXTRA_HOST_FLAGS) ; do \
8083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8084 done; \
8085 echo "Doing TAGS in dejagnu" ; \
8086 (cd $(HOST_SUBDIR)/dejagnu && \
8087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8089 "RANLIB=$${RANLIB}" \
8090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8091 TAGS) \
8092 || exit 1
8094 @endif dejagnu
8096 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8097 maybe-install-info-dejagnu:
8098 @if dejagnu
8099 maybe-install-info-dejagnu: install-info-dejagnu
8101 install-info-dejagnu: \
8102 configure-dejagnu \
8103 info-dejagnu
8104 @: $(MAKE); $(unstage)
8105 @[ -f ./dejagnu/Makefile ] || exit 0; \
8106 r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8108 $(HOST_EXPORTS) \
8109 for flag in $(EXTRA_HOST_FLAGS) ; do \
8110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8111 done; \
8112 echo "Doing install-info in dejagnu" ; \
8113 (cd $(HOST_SUBDIR)/dejagnu && \
8114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8116 "RANLIB=$${RANLIB}" \
8117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8118 install-info) \
8119 || exit 1
8121 @endif dejagnu
8123 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8124 maybe-install-html-dejagnu:
8125 @if dejagnu
8126 maybe-install-html-dejagnu: install-html-dejagnu
8128 install-html-dejagnu: \
8129 configure-dejagnu \
8130 html-dejagnu
8131 @: $(MAKE); $(unstage)
8132 @[ -f ./dejagnu/Makefile ] || exit 0; \
8133 r=`${PWD_COMMAND}`; export r; \
8134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8135 $(HOST_EXPORTS) \
8136 for flag in $(EXTRA_HOST_FLAGS) ; do \
8137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8138 done; \
8139 echo "Doing install-html in dejagnu" ; \
8140 (cd $(HOST_SUBDIR)/dejagnu && \
8141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8143 "RANLIB=$${RANLIB}" \
8144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8145 install-html) \
8146 || exit 1
8148 @endif dejagnu
8150 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8151 maybe-installcheck-dejagnu:
8152 @if dejagnu
8153 maybe-installcheck-dejagnu: installcheck-dejagnu
8155 installcheck-dejagnu: \
8156 configure-dejagnu
8157 @: $(MAKE); $(unstage)
8158 @[ -f ./dejagnu/Makefile ] || exit 0; \
8159 r=`${PWD_COMMAND}`; export r; \
8160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8161 $(HOST_EXPORTS) \
8162 for flag in $(EXTRA_HOST_FLAGS) ; do \
8163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8164 done; \
8165 echo "Doing installcheck in dejagnu" ; \
8166 (cd $(HOST_SUBDIR)/dejagnu && \
8167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8169 "RANLIB=$${RANLIB}" \
8170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8171 installcheck) \
8172 || exit 1
8174 @endif dejagnu
8176 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8177 maybe-mostlyclean-dejagnu:
8178 @if dejagnu
8179 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8181 mostlyclean-dejagnu:
8182 @: $(MAKE); $(unstage)
8183 @[ -f ./dejagnu/Makefile ] || exit 0; \
8184 r=`${PWD_COMMAND}`; export r; \
8185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8186 $(HOST_EXPORTS) \
8187 for flag in $(EXTRA_HOST_FLAGS) ; do \
8188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8189 done; \
8190 echo "Doing mostlyclean in dejagnu" ; \
8191 (cd $(HOST_SUBDIR)/dejagnu && \
8192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8194 "RANLIB=$${RANLIB}" \
8195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8196 mostlyclean) \
8197 || exit 1
8199 @endif dejagnu
8201 .PHONY: maybe-clean-dejagnu clean-dejagnu
8202 maybe-clean-dejagnu:
8203 @if dejagnu
8204 maybe-clean-dejagnu: clean-dejagnu
8206 clean-dejagnu:
8207 @: $(MAKE); $(unstage)
8208 @[ -f ./dejagnu/Makefile ] || exit 0; \
8209 r=`${PWD_COMMAND}`; export r; \
8210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 $(HOST_EXPORTS) \
8212 for flag in $(EXTRA_HOST_FLAGS) ; do \
8213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8214 done; \
8215 echo "Doing clean in dejagnu" ; \
8216 (cd $(HOST_SUBDIR)/dejagnu && \
8217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8219 "RANLIB=$${RANLIB}" \
8220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8221 clean) \
8222 || exit 1
8224 @endif dejagnu
8226 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8227 maybe-distclean-dejagnu:
8228 @if dejagnu
8229 maybe-distclean-dejagnu: distclean-dejagnu
8231 distclean-dejagnu:
8232 @: $(MAKE); $(unstage)
8233 @[ -f ./dejagnu/Makefile ] || exit 0; \
8234 r=`${PWD_COMMAND}`; export r; \
8235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8236 $(HOST_EXPORTS) \
8237 for flag in $(EXTRA_HOST_FLAGS) ; do \
8238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8239 done; \
8240 echo "Doing distclean in dejagnu" ; \
8241 (cd $(HOST_SUBDIR)/dejagnu && \
8242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8244 "RANLIB=$${RANLIB}" \
8245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8246 distclean) \
8247 || exit 1
8249 @endif dejagnu
8251 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8252 maybe-maintainer-clean-dejagnu:
8253 @if dejagnu
8254 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8256 maintainer-clean-dejagnu:
8257 @: $(MAKE); $(unstage)
8258 @[ -f ./dejagnu/Makefile ] || exit 0; \
8259 r=`${PWD_COMMAND}`; export r; \
8260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8261 $(HOST_EXPORTS) \
8262 for flag in $(EXTRA_HOST_FLAGS) ; do \
8263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8264 done; \
8265 echo "Doing maintainer-clean in dejagnu" ; \
8266 (cd $(HOST_SUBDIR)/dejagnu && \
8267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8269 "RANLIB=$${RANLIB}" \
8270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8271 maintainer-clean) \
8272 || exit 1
8274 @endif dejagnu
8278 .PHONY: configure-diff maybe-configure-diff
8279 maybe-configure-diff:
8280 @if gcc-bootstrap
8281 configure-diff: stage_current
8282 @endif gcc-bootstrap
8283 @if diff
8284 maybe-configure-diff: configure-diff
8285 configure-diff:
8286 @: $(MAKE); $(unstage)
8287 @r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8291 $(HOST_EXPORTS) \
8292 echo Configuring in $(HOST_SUBDIR)/diff; \
8293 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8294 case $(srcdir) in \
8295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8296 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8298 esac; \
8299 srcdiroption="--srcdir=$${topdir}/diff"; \
8300 libsrcdir="$$s/diff"; \
8301 $(SHELL) $${libsrcdir}/configure \
8302 $(HOST_CONFIGARGS) $${srcdiroption} \
8303 || exit 1
8304 @endif diff
8310 .PHONY: all-diff maybe-all-diff
8311 maybe-all-diff:
8312 @if gcc-bootstrap
8313 all-diff: stage_current
8314 @endif gcc-bootstrap
8315 @if diff
8316 TARGET-diff=all
8317 maybe-all-diff: all-diff
8318 all-diff: configure-diff
8319 @: $(MAKE); $(unstage)
8320 @r=`${PWD_COMMAND}`; export r; \
8321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8322 $(HOST_EXPORTS) \
8323 (cd $(HOST_SUBDIR)/diff && \
8324 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8325 @endif diff
8330 .PHONY: check-diff maybe-check-diff
8331 maybe-check-diff:
8332 @if diff
8333 maybe-check-diff: check-diff
8335 check-diff:
8336 @: $(MAKE); $(unstage)
8337 @r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(HOST_EXPORTS) \
8340 (cd $(HOST_SUBDIR)/diff && \
8341 $(MAKE) $(FLAGS_TO_PASS) check)
8343 @endif diff
8345 .PHONY: install-diff maybe-install-diff
8346 maybe-install-diff:
8347 @if diff
8348 maybe-install-diff: install-diff
8350 install-diff: installdirs
8351 @: $(MAKE); $(unstage)
8352 @r=`${PWD_COMMAND}`; export r; \
8353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8354 $(HOST_EXPORTS) \
8355 (cd $(HOST_SUBDIR)/diff && \
8356 $(MAKE) $(FLAGS_TO_PASS) install)
8358 @endif diff
8360 # Other targets (info, dvi, pdf, etc.)
8362 .PHONY: maybe-info-diff info-diff
8363 maybe-info-diff:
8364 @if diff
8365 maybe-info-diff: info-diff
8367 info-diff: \
8368 configure-diff
8369 @: $(MAKE); $(unstage)
8370 @[ -f ./diff/Makefile ] || exit 0; \
8371 r=`${PWD_COMMAND}`; export r; \
8372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8373 $(HOST_EXPORTS) \
8374 for flag in $(EXTRA_HOST_FLAGS) ; do \
8375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8376 done; \
8377 echo "Doing info in diff" ; \
8378 (cd $(HOST_SUBDIR)/diff && \
8379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8381 "RANLIB=$${RANLIB}" \
8382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8383 info) \
8384 || exit 1
8386 @endif diff
8388 .PHONY: maybe-dvi-diff dvi-diff
8389 maybe-dvi-diff:
8390 @if diff
8391 maybe-dvi-diff: dvi-diff
8393 dvi-diff: \
8394 configure-diff
8395 @: $(MAKE); $(unstage)
8396 @[ -f ./diff/Makefile ] || exit 0; \
8397 r=`${PWD_COMMAND}`; export r; \
8398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8399 $(HOST_EXPORTS) \
8400 for flag in $(EXTRA_HOST_FLAGS) ; do \
8401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8402 done; \
8403 echo "Doing dvi in diff" ; \
8404 (cd $(HOST_SUBDIR)/diff && \
8405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8407 "RANLIB=$${RANLIB}" \
8408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8409 dvi) \
8410 || exit 1
8412 @endif diff
8414 .PHONY: maybe-pdf-diff pdf-diff
8415 maybe-pdf-diff:
8416 @if diff
8417 maybe-pdf-diff: pdf-diff
8419 pdf-diff: \
8420 configure-diff
8421 @: $(MAKE); $(unstage)
8422 @[ -f ./diff/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing pdf in diff" ; \
8430 (cd $(HOST_SUBDIR)/diff && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 pdf) \
8436 || exit 1
8438 @endif diff
8440 .PHONY: maybe-html-diff html-diff
8441 maybe-html-diff:
8442 @if diff
8443 maybe-html-diff: html-diff
8445 html-diff: \
8446 configure-diff
8447 @: $(MAKE); $(unstage)
8448 @[ -f ./diff/Makefile ] || exit 0; \
8449 r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing html in diff" ; \
8456 (cd $(HOST_SUBDIR)/diff && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8461 html) \
8462 || exit 1
8464 @endif diff
8466 .PHONY: maybe-TAGS-diff TAGS-diff
8467 maybe-TAGS-diff:
8468 @if diff
8469 maybe-TAGS-diff: TAGS-diff
8471 TAGS-diff: \
8472 configure-diff
8473 @: $(MAKE); $(unstage)
8474 @[ -f ./diff/Makefile ] || exit 0; \
8475 r=`${PWD_COMMAND}`; export r; \
8476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8477 $(HOST_EXPORTS) \
8478 for flag in $(EXTRA_HOST_FLAGS) ; do \
8479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8480 done; \
8481 echo "Doing TAGS in diff" ; \
8482 (cd $(HOST_SUBDIR)/diff && \
8483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8485 "RANLIB=$${RANLIB}" \
8486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8487 TAGS) \
8488 || exit 1
8490 @endif diff
8492 .PHONY: maybe-install-info-diff install-info-diff
8493 maybe-install-info-diff:
8494 @if diff
8495 maybe-install-info-diff: install-info-diff
8497 install-info-diff: \
8498 configure-diff \
8499 info-diff
8500 @: $(MAKE); $(unstage)
8501 @[ -f ./diff/Makefile ] || exit 0; \
8502 r=`${PWD_COMMAND}`; export r; \
8503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8504 $(HOST_EXPORTS) \
8505 for flag in $(EXTRA_HOST_FLAGS) ; do \
8506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8507 done; \
8508 echo "Doing install-info in diff" ; \
8509 (cd $(HOST_SUBDIR)/diff && \
8510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8512 "RANLIB=$${RANLIB}" \
8513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8514 install-info) \
8515 || exit 1
8517 @endif diff
8519 .PHONY: maybe-install-html-diff install-html-diff
8520 maybe-install-html-diff:
8521 @if diff
8522 maybe-install-html-diff: install-html-diff
8524 install-html-diff: \
8525 configure-diff \
8526 html-diff
8527 @: $(MAKE); $(unstage)
8528 @[ -f ./diff/Makefile ] || exit 0; \
8529 r=`${PWD_COMMAND}`; export r; \
8530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8531 $(HOST_EXPORTS) \
8532 for flag in $(EXTRA_HOST_FLAGS) ; do \
8533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8534 done; \
8535 echo "Doing install-html in diff" ; \
8536 (cd $(HOST_SUBDIR)/diff && \
8537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8539 "RANLIB=$${RANLIB}" \
8540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8541 install-html) \
8542 || exit 1
8544 @endif diff
8546 .PHONY: maybe-installcheck-diff installcheck-diff
8547 maybe-installcheck-diff:
8548 @if diff
8549 maybe-installcheck-diff: installcheck-diff
8551 installcheck-diff: \
8552 configure-diff
8553 @: $(MAKE); $(unstage)
8554 @[ -f ./diff/Makefile ] || exit 0; \
8555 r=`${PWD_COMMAND}`; export r; \
8556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8557 $(HOST_EXPORTS) \
8558 for flag in $(EXTRA_HOST_FLAGS) ; do \
8559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8560 done; \
8561 echo "Doing installcheck in diff" ; \
8562 (cd $(HOST_SUBDIR)/diff && \
8563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8565 "RANLIB=$${RANLIB}" \
8566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8567 installcheck) \
8568 || exit 1
8570 @endif diff
8572 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8573 maybe-mostlyclean-diff:
8574 @if diff
8575 maybe-mostlyclean-diff: mostlyclean-diff
8577 mostlyclean-diff:
8578 @: $(MAKE); $(unstage)
8579 @[ -f ./diff/Makefile ] || exit 0; \
8580 r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(HOST_EXPORTS) \
8583 for flag in $(EXTRA_HOST_FLAGS) ; do \
8584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 done; \
8586 echo "Doing mostlyclean in diff" ; \
8587 (cd $(HOST_SUBDIR)/diff && \
8588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8590 "RANLIB=$${RANLIB}" \
8591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8592 mostlyclean) \
8593 || exit 1
8595 @endif diff
8597 .PHONY: maybe-clean-diff clean-diff
8598 maybe-clean-diff:
8599 @if diff
8600 maybe-clean-diff: clean-diff
8602 clean-diff:
8603 @: $(MAKE); $(unstage)
8604 @[ -f ./diff/Makefile ] || exit 0; \
8605 r=`${PWD_COMMAND}`; export r; \
8606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 $(HOST_EXPORTS) \
8608 for flag in $(EXTRA_HOST_FLAGS) ; do \
8609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8610 done; \
8611 echo "Doing clean in diff" ; \
8612 (cd $(HOST_SUBDIR)/diff && \
8613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8615 "RANLIB=$${RANLIB}" \
8616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8617 clean) \
8618 || exit 1
8620 @endif diff
8622 .PHONY: maybe-distclean-diff distclean-diff
8623 maybe-distclean-diff:
8624 @if diff
8625 maybe-distclean-diff: distclean-diff
8627 distclean-diff:
8628 @: $(MAKE); $(unstage)
8629 @[ -f ./diff/Makefile ] || exit 0; \
8630 r=`${PWD_COMMAND}`; export r; \
8631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8632 $(HOST_EXPORTS) \
8633 for flag in $(EXTRA_HOST_FLAGS) ; do \
8634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8635 done; \
8636 echo "Doing distclean in diff" ; \
8637 (cd $(HOST_SUBDIR)/diff && \
8638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8640 "RANLIB=$${RANLIB}" \
8641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8642 distclean) \
8643 || exit 1
8645 @endif diff
8647 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8648 maybe-maintainer-clean-diff:
8649 @if diff
8650 maybe-maintainer-clean-diff: maintainer-clean-diff
8652 maintainer-clean-diff:
8653 @: $(MAKE); $(unstage)
8654 @[ -f ./diff/Makefile ] || exit 0; \
8655 r=`${PWD_COMMAND}`; export r; \
8656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8657 $(HOST_EXPORTS) \
8658 for flag in $(EXTRA_HOST_FLAGS) ; do \
8659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8660 done; \
8661 echo "Doing maintainer-clean in diff" ; \
8662 (cd $(HOST_SUBDIR)/diff && \
8663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8665 "RANLIB=$${RANLIB}" \
8666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8667 maintainer-clean) \
8668 || exit 1
8670 @endif diff
8674 .PHONY: configure-dosutils maybe-configure-dosutils
8675 maybe-configure-dosutils:
8676 @if gcc-bootstrap
8677 configure-dosutils: stage_current
8678 @endif gcc-bootstrap
8679 @if dosutils
8680 maybe-configure-dosutils: configure-dosutils
8681 configure-dosutils:
8682 @: $(MAKE); $(unstage)
8683 @r=`${PWD_COMMAND}`; export r; \
8684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8685 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8687 $(HOST_EXPORTS) \
8688 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8689 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8690 case $(srcdir) in \
8691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8692 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8694 esac; \
8695 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8696 libsrcdir="$$s/dosutils"; \
8697 $(SHELL) $${libsrcdir}/configure \
8698 $(HOST_CONFIGARGS) $${srcdiroption} \
8699 || exit 1
8700 @endif dosutils
8706 .PHONY: all-dosutils maybe-all-dosutils
8707 maybe-all-dosutils:
8708 @if gcc-bootstrap
8709 all-dosutils: stage_current
8710 @endif gcc-bootstrap
8711 @if dosutils
8712 TARGET-dosutils=all
8713 maybe-all-dosutils: all-dosutils
8714 all-dosutils: configure-dosutils
8715 @: $(MAKE); $(unstage)
8716 @r=`${PWD_COMMAND}`; export r; \
8717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8718 $(HOST_EXPORTS) \
8719 (cd $(HOST_SUBDIR)/dosutils && \
8720 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8721 @endif dosutils
8726 .PHONY: check-dosutils maybe-check-dosutils
8727 maybe-check-dosutils:
8728 @if dosutils
8729 maybe-check-dosutils: check-dosutils
8731 check-dosutils:
8733 @endif dosutils
8735 .PHONY: install-dosutils maybe-install-dosutils
8736 maybe-install-dosutils:
8737 @if dosutils
8738 maybe-install-dosutils: install-dosutils
8740 install-dosutils: installdirs
8741 @: $(MAKE); $(unstage)
8742 @r=`${PWD_COMMAND}`; export r; \
8743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 $(HOST_EXPORTS) \
8745 (cd $(HOST_SUBDIR)/dosutils && \
8746 $(MAKE) $(FLAGS_TO_PASS) install)
8748 @endif dosutils
8750 # Other targets (info, dvi, pdf, etc.)
8752 .PHONY: maybe-info-dosutils info-dosutils
8753 maybe-info-dosutils:
8754 @if dosutils
8755 maybe-info-dosutils: info-dosutils
8757 info-dosutils: \
8758 configure-dosutils
8759 @: $(MAKE); $(unstage)
8760 @[ -f ./dosutils/Makefile ] || exit 0; \
8761 r=`${PWD_COMMAND}`; export r; \
8762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8763 $(HOST_EXPORTS) \
8764 for flag in $(EXTRA_HOST_FLAGS) ; do \
8765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8766 done; \
8767 echo "Doing info in dosutils" ; \
8768 (cd $(HOST_SUBDIR)/dosutils && \
8769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8771 "RANLIB=$${RANLIB}" \
8772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8773 info) \
8774 || exit 1
8776 @endif dosutils
8778 .PHONY: maybe-dvi-dosutils dvi-dosutils
8779 maybe-dvi-dosutils:
8780 @if dosutils
8781 maybe-dvi-dosutils: dvi-dosutils
8783 dvi-dosutils: \
8784 configure-dosutils
8785 @: $(MAKE); $(unstage)
8786 @[ -f ./dosutils/Makefile ] || exit 0; \
8787 r=`${PWD_COMMAND}`; export r; \
8788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8789 $(HOST_EXPORTS) \
8790 for flag in $(EXTRA_HOST_FLAGS) ; do \
8791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8792 done; \
8793 echo "Doing dvi in dosutils" ; \
8794 (cd $(HOST_SUBDIR)/dosutils && \
8795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8797 "RANLIB=$${RANLIB}" \
8798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8799 dvi) \
8800 || exit 1
8802 @endif dosutils
8804 .PHONY: maybe-pdf-dosutils pdf-dosutils
8805 maybe-pdf-dosutils:
8806 @if dosutils
8807 maybe-pdf-dosutils: pdf-dosutils
8809 pdf-dosutils: \
8810 configure-dosutils
8811 @: $(MAKE); $(unstage)
8812 @[ -f ./dosutils/Makefile ] || exit 0; \
8813 r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 $(HOST_EXPORTS) \
8816 for flag in $(EXTRA_HOST_FLAGS) ; do \
8817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8818 done; \
8819 echo "Doing pdf in dosutils" ; \
8820 (cd $(HOST_SUBDIR)/dosutils && \
8821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8823 "RANLIB=$${RANLIB}" \
8824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8825 pdf) \
8826 || exit 1
8828 @endif dosutils
8830 .PHONY: maybe-html-dosutils html-dosutils
8831 maybe-html-dosutils:
8832 @if dosutils
8833 maybe-html-dosutils: html-dosutils
8835 html-dosutils: \
8836 configure-dosutils
8837 @: $(MAKE); $(unstage)
8838 @[ -f ./dosutils/Makefile ] || exit 0; \
8839 r=`${PWD_COMMAND}`; export r; \
8840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8841 $(HOST_EXPORTS) \
8842 for flag in $(EXTRA_HOST_FLAGS) ; do \
8843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8844 done; \
8845 echo "Doing html in dosutils" ; \
8846 (cd $(HOST_SUBDIR)/dosutils && \
8847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8849 "RANLIB=$${RANLIB}" \
8850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8851 html) \
8852 || exit 1
8854 @endif dosutils
8856 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8857 maybe-TAGS-dosutils:
8858 @if dosutils
8859 maybe-TAGS-dosutils: TAGS-dosutils
8861 TAGS-dosutils: \
8862 configure-dosutils
8863 @: $(MAKE); $(unstage)
8864 @[ -f ./dosutils/Makefile ] || exit 0; \
8865 r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(HOST_EXPORTS) \
8868 for flag in $(EXTRA_HOST_FLAGS) ; do \
8869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8870 done; \
8871 echo "Doing TAGS in dosutils" ; \
8872 (cd $(HOST_SUBDIR)/dosutils && \
8873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8875 "RANLIB=$${RANLIB}" \
8876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8877 TAGS) \
8878 || exit 1
8880 @endif dosutils
8882 .PHONY: maybe-install-info-dosutils install-info-dosutils
8883 maybe-install-info-dosutils:
8884 @if dosutils
8885 maybe-install-info-dosutils: install-info-dosutils
8887 install-info-dosutils: \
8888 configure-dosutils \
8889 info-dosutils
8890 @: $(MAKE); $(unstage)
8891 @[ -f ./dosutils/Makefile ] || exit 0; \
8892 r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8894 $(HOST_EXPORTS) \
8895 for flag in $(EXTRA_HOST_FLAGS) ; do \
8896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8897 done; \
8898 echo "Doing install-info in dosutils" ; \
8899 (cd $(HOST_SUBDIR)/dosutils && \
8900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8902 "RANLIB=$${RANLIB}" \
8903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8904 install-info) \
8905 || exit 1
8907 @endif dosutils
8909 .PHONY: maybe-install-html-dosutils install-html-dosutils
8910 maybe-install-html-dosutils:
8911 @if dosutils
8912 maybe-install-html-dosutils: install-html-dosutils
8914 install-html-dosutils: \
8915 configure-dosutils \
8916 html-dosutils
8917 @: $(MAKE); $(unstage)
8918 @[ -f ./dosutils/Makefile ] || exit 0; \
8919 r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 $(HOST_EXPORTS) \
8922 for flag in $(EXTRA_HOST_FLAGS) ; do \
8923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8924 done; \
8925 echo "Doing install-html in dosutils" ; \
8926 (cd $(HOST_SUBDIR)/dosutils && \
8927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8929 "RANLIB=$${RANLIB}" \
8930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8931 install-html) \
8932 || exit 1
8934 @endif dosutils
8936 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8937 maybe-installcheck-dosutils:
8938 @if dosutils
8939 maybe-installcheck-dosutils: installcheck-dosutils
8941 installcheck-dosutils: \
8942 configure-dosutils
8943 @: $(MAKE); $(unstage)
8944 @[ -f ./dosutils/Makefile ] || exit 0; \
8945 r=`${PWD_COMMAND}`; export r; \
8946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8947 $(HOST_EXPORTS) \
8948 for flag in $(EXTRA_HOST_FLAGS) ; do \
8949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8950 done; \
8951 echo "Doing installcheck in dosutils" ; \
8952 (cd $(HOST_SUBDIR)/dosutils && \
8953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8955 "RANLIB=$${RANLIB}" \
8956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8957 installcheck) \
8958 || exit 1
8960 @endif dosutils
8962 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8963 maybe-mostlyclean-dosutils:
8964 @if dosutils
8965 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8967 mostlyclean-dosutils:
8968 @: $(MAKE); $(unstage)
8969 @[ -f ./dosutils/Makefile ] || exit 0; \
8970 r=`${PWD_COMMAND}`; export r; \
8971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8972 $(HOST_EXPORTS) \
8973 for flag in $(EXTRA_HOST_FLAGS) ; do \
8974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8975 done; \
8976 echo "Doing mostlyclean in dosutils" ; \
8977 (cd $(HOST_SUBDIR)/dosutils && \
8978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8980 "RANLIB=$${RANLIB}" \
8981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8982 mostlyclean) \
8983 || exit 1
8985 @endif dosutils
8987 .PHONY: maybe-clean-dosutils clean-dosutils
8988 maybe-clean-dosutils:
8989 @if dosutils
8990 maybe-clean-dosutils: clean-dosutils
8992 clean-dosutils:
8993 @: $(MAKE); $(unstage)
8994 @[ -f ./dosutils/Makefile ] || exit 0; \
8995 r=`${PWD_COMMAND}`; export r; \
8996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8997 $(HOST_EXPORTS) \
8998 for flag in $(EXTRA_HOST_FLAGS) ; do \
8999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9000 done; \
9001 echo "Doing clean in dosutils" ; \
9002 (cd $(HOST_SUBDIR)/dosutils && \
9003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9005 "RANLIB=$${RANLIB}" \
9006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9007 clean) \
9008 || exit 1
9010 @endif dosutils
9012 .PHONY: maybe-distclean-dosutils distclean-dosutils
9013 maybe-distclean-dosutils:
9014 @if dosutils
9015 maybe-distclean-dosutils: distclean-dosutils
9017 distclean-dosutils:
9018 @: $(MAKE); $(unstage)
9019 @[ -f ./dosutils/Makefile ] || exit 0; \
9020 r=`${PWD_COMMAND}`; export r; \
9021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9022 $(HOST_EXPORTS) \
9023 for flag in $(EXTRA_HOST_FLAGS) ; do \
9024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9025 done; \
9026 echo "Doing distclean in dosutils" ; \
9027 (cd $(HOST_SUBDIR)/dosutils && \
9028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9030 "RANLIB=$${RANLIB}" \
9031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9032 distclean) \
9033 || exit 1
9035 @endif dosutils
9037 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9038 maybe-maintainer-clean-dosutils:
9039 @if dosutils
9040 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9042 maintainer-clean-dosutils:
9043 @: $(MAKE); $(unstage)
9044 @[ -f ./dosutils/Makefile ] || exit 0; \
9045 r=`${PWD_COMMAND}`; export r; \
9046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9047 $(HOST_EXPORTS) \
9048 for flag in $(EXTRA_HOST_FLAGS) ; do \
9049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9050 done; \
9051 echo "Doing maintainer-clean in dosutils" ; \
9052 (cd $(HOST_SUBDIR)/dosutils && \
9053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9055 "RANLIB=$${RANLIB}" \
9056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9057 maintainer-clean) \
9058 || exit 1
9060 @endif dosutils
9064 .PHONY: configure-etc maybe-configure-etc
9065 maybe-configure-etc:
9066 @if gcc-bootstrap
9067 configure-etc: stage_current
9068 @endif gcc-bootstrap
9069 @if etc
9070 maybe-configure-etc: configure-etc
9071 configure-etc:
9072 @: $(MAKE); $(unstage)
9073 @r=`${PWD_COMMAND}`; export r; \
9074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9075 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9077 $(HOST_EXPORTS) \
9078 echo Configuring in $(HOST_SUBDIR)/etc; \
9079 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9080 case $(srcdir) in \
9081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9082 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9084 esac; \
9085 srcdiroption="--srcdir=$${topdir}/etc"; \
9086 libsrcdir="$$s/etc"; \
9087 $(SHELL) $${libsrcdir}/configure \
9088 $(HOST_CONFIGARGS) $${srcdiroption} \
9089 || exit 1
9090 @endif etc
9096 .PHONY: all-etc maybe-all-etc
9097 maybe-all-etc:
9098 @if gcc-bootstrap
9099 all-etc: stage_current
9100 @endif gcc-bootstrap
9101 @if etc
9102 TARGET-etc=all
9103 maybe-all-etc: all-etc
9104 all-etc: configure-etc
9105 @: $(MAKE); $(unstage)
9106 @r=`${PWD_COMMAND}`; export r; \
9107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9108 $(HOST_EXPORTS) \
9109 (cd $(HOST_SUBDIR)/etc && \
9110 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9111 @endif etc
9116 .PHONY: check-etc maybe-check-etc
9117 maybe-check-etc:
9118 @if etc
9119 maybe-check-etc: check-etc
9121 check-etc:
9122 @: $(MAKE); $(unstage)
9123 @r=`${PWD_COMMAND}`; export r; \
9124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9125 $(HOST_EXPORTS) \
9126 (cd $(HOST_SUBDIR)/etc && \
9127 $(MAKE) $(FLAGS_TO_PASS) check)
9129 @endif etc
9131 .PHONY: install-etc maybe-install-etc
9132 maybe-install-etc:
9133 @if etc
9134 maybe-install-etc: install-etc
9136 install-etc: installdirs
9137 @: $(MAKE); $(unstage)
9138 @r=`${PWD_COMMAND}`; export r; \
9139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9140 $(HOST_EXPORTS) \
9141 (cd $(HOST_SUBDIR)/etc && \
9142 $(MAKE) $(FLAGS_TO_PASS) install)
9144 @endif etc
9146 # Other targets (info, dvi, pdf, etc.)
9148 .PHONY: maybe-info-etc info-etc
9149 maybe-info-etc:
9150 @if etc
9151 maybe-info-etc: info-etc
9153 info-etc: \
9154 configure-etc
9155 @: $(MAKE); $(unstage)
9156 @[ -f ./etc/Makefile ] || exit 0; \
9157 r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 for flag in $(EXTRA_HOST_FLAGS) ; do \
9161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9162 done; \
9163 echo "Doing info in etc" ; \
9164 (cd $(HOST_SUBDIR)/etc && \
9165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9167 "RANLIB=$${RANLIB}" \
9168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9169 info) \
9170 || exit 1
9172 @endif etc
9174 .PHONY: maybe-dvi-etc dvi-etc
9175 maybe-dvi-etc:
9176 @if etc
9177 maybe-dvi-etc: dvi-etc
9179 dvi-etc: \
9180 configure-etc
9181 @: $(MAKE); $(unstage)
9182 @[ -f ./etc/Makefile ] || exit 0; \
9183 r=`${PWD_COMMAND}`; export r; \
9184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9185 $(HOST_EXPORTS) \
9186 for flag in $(EXTRA_HOST_FLAGS) ; do \
9187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9188 done; \
9189 echo "Doing dvi in etc" ; \
9190 (cd $(HOST_SUBDIR)/etc && \
9191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9193 "RANLIB=$${RANLIB}" \
9194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9195 dvi) \
9196 || exit 1
9198 @endif etc
9200 .PHONY: maybe-pdf-etc pdf-etc
9201 maybe-pdf-etc:
9202 @if etc
9203 maybe-pdf-etc: pdf-etc
9205 pdf-etc: \
9206 configure-etc
9207 @: $(MAKE); $(unstage)
9208 @[ -f ./etc/Makefile ] || exit 0; \
9209 r=`${PWD_COMMAND}`; export r; \
9210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211 $(HOST_EXPORTS) \
9212 for flag in $(EXTRA_HOST_FLAGS) ; do \
9213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9214 done; \
9215 echo "Doing pdf in etc" ; \
9216 (cd $(HOST_SUBDIR)/etc && \
9217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9219 "RANLIB=$${RANLIB}" \
9220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9221 pdf) \
9222 || exit 1
9224 @endif etc
9226 .PHONY: maybe-html-etc html-etc
9227 maybe-html-etc:
9228 @if etc
9229 maybe-html-etc: html-etc
9231 html-etc: \
9232 configure-etc
9233 @: $(MAKE); $(unstage)
9234 @[ -f ./etc/Makefile ] || exit 0; \
9235 r=`${PWD_COMMAND}`; export r; \
9236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9237 $(HOST_EXPORTS) \
9238 for flag in $(EXTRA_HOST_FLAGS) ; do \
9239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9240 done; \
9241 echo "Doing html in etc" ; \
9242 (cd $(HOST_SUBDIR)/etc && \
9243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9245 "RANLIB=$${RANLIB}" \
9246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9247 html) \
9248 || exit 1
9250 @endif etc
9252 .PHONY: maybe-TAGS-etc TAGS-etc
9253 maybe-TAGS-etc:
9254 @if etc
9255 maybe-TAGS-etc: TAGS-etc
9257 TAGS-etc: \
9258 configure-etc
9259 @: $(MAKE); $(unstage)
9260 @[ -f ./etc/Makefile ] || exit 0; \
9261 r=`${PWD_COMMAND}`; export r; \
9262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9263 $(HOST_EXPORTS) \
9264 for flag in $(EXTRA_HOST_FLAGS) ; do \
9265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9266 done; \
9267 echo "Doing TAGS in etc" ; \
9268 (cd $(HOST_SUBDIR)/etc && \
9269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9271 "RANLIB=$${RANLIB}" \
9272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9273 TAGS) \
9274 || exit 1
9276 @endif etc
9278 .PHONY: maybe-install-info-etc install-info-etc
9279 maybe-install-info-etc:
9280 @if etc
9281 maybe-install-info-etc: install-info-etc
9283 install-info-etc: \
9284 configure-etc \
9285 info-etc
9286 @: $(MAKE); $(unstage)
9287 @[ -f ./etc/Makefile ] || exit 0; \
9288 r=`${PWD_COMMAND}`; export r; \
9289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9290 $(HOST_EXPORTS) \
9291 for flag in $(EXTRA_HOST_FLAGS) ; do \
9292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9293 done; \
9294 echo "Doing install-info in etc" ; \
9295 (cd $(HOST_SUBDIR)/etc && \
9296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9298 "RANLIB=$${RANLIB}" \
9299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9300 install-info) \
9301 || exit 1
9303 @endif etc
9305 .PHONY: maybe-install-html-etc install-html-etc
9306 maybe-install-html-etc:
9307 @if etc
9308 maybe-install-html-etc: install-html-etc
9310 install-html-etc: \
9311 configure-etc \
9312 html-etc
9313 @: $(MAKE); $(unstage)
9314 @[ -f ./etc/Makefile ] || exit 0; \
9315 r=`${PWD_COMMAND}`; export r; \
9316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9317 $(HOST_EXPORTS) \
9318 for flag in $(EXTRA_HOST_FLAGS) ; do \
9319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9320 done; \
9321 echo "Doing install-html in etc" ; \
9322 (cd $(HOST_SUBDIR)/etc && \
9323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9325 "RANLIB=$${RANLIB}" \
9326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9327 install-html) \
9328 || exit 1
9330 @endif etc
9332 .PHONY: maybe-installcheck-etc installcheck-etc
9333 maybe-installcheck-etc:
9334 @if etc
9335 maybe-installcheck-etc: installcheck-etc
9337 installcheck-etc: \
9338 configure-etc
9339 @: $(MAKE); $(unstage)
9340 @[ -f ./etc/Makefile ] || exit 0; \
9341 r=`${PWD_COMMAND}`; export r; \
9342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9343 $(HOST_EXPORTS) \
9344 for flag in $(EXTRA_HOST_FLAGS) ; do \
9345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9346 done; \
9347 echo "Doing installcheck in etc" ; \
9348 (cd $(HOST_SUBDIR)/etc && \
9349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9351 "RANLIB=$${RANLIB}" \
9352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9353 installcheck) \
9354 || exit 1
9356 @endif etc
9358 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9359 maybe-mostlyclean-etc:
9360 @if etc
9361 maybe-mostlyclean-etc: mostlyclean-etc
9363 mostlyclean-etc:
9364 @: $(MAKE); $(unstage)
9365 @[ -f ./etc/Makefile ] || exit 0; \
9366 r=`${PWD_COMMAND}`; export r; \
9367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9368 $(HOST_EXPORTS) \
9369 for flag in $(EXTRA_HOST_FLAGS) ; do \
9370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9371 done; \
9372 echo "Doing mostlyclean in etc" ; \
9373 (cd $(HOST_SUBDIR)/etc && \
9374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9376 "RANLIB=$${RANLIB}" \
9377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9378 mostlyclean) \
9379 || exit 1
9381 @endif etc
9383 .PHONY: maybe-clean-etc clean-etc
9384 maybe-clean-etc:
9385 @if etc
9386 maybe-clean-etc: clean-etc
9388 clean-etc:
9389 @: $(MAKE); $(unstage)
9390 @[ -f ./etc/Makefile ] || exit 0; \
9391 r=`${PWD_COMMAND}`; export r; \
9392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9393 $(HOST_EXPORTS) \
9394 for flag in $(EXTRA_HOST_FLAGS) ; do \
9395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9396 done; \
9397 echo "Doing clean in etc" ; \
9398 (cd $(HOST_SUBDIR)/etc && \
9399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9401 "RANLIB=$${RANLIB}" \
9402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9403 clean) \
9404 || exit 1
9406 @endif etc
9408 .PHONY: maybe-distclean-etc distclean-etc
9409 maybe-distclean-etc:
9410 @if etc
9411 maybe-distclean-etc: distclean-etc
9413 distclean-etc:
9414 @: $(MAKE); $(unstage)
9415 @[ -f ./etc/Makefile ] || exit 0; \
9416 r=`${PWD_COMMAND}`; export r; \
9417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418 $(HOST_EXPORTS) \
9419 for flag in $(EXTRA_HOST_FLAGS) ; do \
9420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9421 done; \
9422 echo "Doing distclean in etc" ; \
9423 (cd $(HOST_SUBDIR)/etc && \
9424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426 "RANLIB=$${RANLIB}" \
9427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9428 distclean) \
9429 || exit 1
9431 @endif etc
9433 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9434 maybe-maintainer-clean-etc:
9435 @if etc
9436 maybe-maintainer-clean-etc: maintainer-clean-etc
9438 maintainer-clean-etc:
9439 @: $(MAKE); $(unstage)
9440 @[ -f ./etc/Makefile ] || exit 0; \
9441 r=`${PWD_COMMAND}`; export r; \
9442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443 $(HOST_EXPORTS) \
9444 for flag in $(EXTRA_HOST_FLAGS) ; do \
9445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9446 done; \
9447 echo "Doing maintainer-clean in etc" ; \
9448 (cd $(HOST_SUBDIR)/etc && \
9449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9451 "RANLIB=$${RANLIB}" \
9452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9453 maintainer-clean) \
9454 || exit 1
9456 @endif etc
9460 .PHONY: configure-fastjar maybe-configure-fastjar
9461 maybe-configure-fastjar:
9462 @if gcc-bootstrap
9463 configure-fastjar: stage_current
9464 @endif gcc-bootstrap
9465 @if fastjar
9466 maybe-configure-fastjar: configure-fastjar
9467 configure-fastjar:
9468 @: $(MAKE); $(unstage)
9469 @r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9473 $(HOST_EXPORTS) \
9474 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9475 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9476 case $(srcdir) in \
9477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9478 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9480 esac; \
9481 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9482 libsrcdir="$$s/fastjar"; \
9483 $(SHELL) $${libsrcdir}/configure \
9484 $(HOST_CONFIGARGS) $${srcdiroption} \
9485 || exit 1
9486 @endif fastjar
9492 .PHONY: all-fastjar maybe-all-fastjar
9493 maybe-all-fastjar:
9494 @if gcc-bootstrap
9495 all-fastjar: stage_current
9496 @endif gcc-bootstrap
9497 @if fastjar
9498 TARGET-fastjar=all
9499 maybe-all-fastjar: all-fastjar
9500 all-fastjar: configure-fastjar
9501 @: $(MAKE); $(unstage)
9502 @r=`${PWD_COMMAND}`; export r; \
9503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9504 $(HOST_EXPORTS) \
9505 (cd $(HOST_SUBDIR)/fastjar && \
9506 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9507 @endif fastjar
9512 .PHONY: check-fastjar maybe-check-fastjar
9513 maybe-check-fastjar:
9514 @if fastjar
9515 maybe-check-fastjar: check-fastjar
9517 # This module is only tested in a native toolchain.
9518 check-fastjar:
9519 @: $(MAKE); $(unstage)
9520 @if [ '$(host)' = '$(target)' ] ; then \
9521 r=`${PWD_COMMAND}`; export r; \
9522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9523 $(HOST_EXPORTS) \
9524 (cd $(HOST_SUBDIR)/fastjar && \
9525 $(MAKE) $(FLAGS_TO_PASS) check); \
9528 @endif fastjar
9530 .PHONY: install-fastjar maybe-install-fastjar
9531 maybe-install-fastjar:
9532 @if fastjar
9533 maybe-install-fastjar: install-fastjar
9535 install-fastjar: installdirs
9536 @: $(MAKE); $(unstage)
9537 @r=`${PWD_COMMAND}`; export r; \
9538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9539 $(HOST_EXPORTS) \
9540 (cd $(HOST_SUBDIR)/fastjar && \
9541 $(MAKE) $(FLAGS_TO_PASS) install)
9543 @endif fastjar
9545 # Other targets (info, dvi, pdf, etc.)
9547 .PHONY: maybe-info-fastjar info-fastjar
9548 maybe-info-fastjar:
9549 @if fastjar
9550 maybe-info-fastjar: info-fastjar
9552 info-fastjar: \
9553 configure-fastjar
9554 @: $(MAKE); $(unstage)
9555 @[ -f ./fastjar/Makefile ] || exit 0; \
9556 r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558 $(HOST_EXPORTS) \
9559 for flag in $(EXTRA_HOST_FLAGS) ; do \
9560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9561 done; \
9562 echo "Doing info in fastjar" ; \
9563 (cd $(HOST_SUBDIR)/fastjar && \
9564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9566 "RANLIB=$${RANLIB}" \
9567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9568 info) \
9569 || exit 1
9571 @endif fastjar
9573 .PHONY: maybe-dvi-fastjar dvi-fastjar
9574 maybe-dvi-fastjar:
9575 @if fastjar
9576 maybe-dvi-fastjar: dvi-fastjar
9578 dvi-fastjar: \
9579 configure-fastjar
9580 @: $(MAKE); $(unstage)
9581 @[ -f ./fastjar/Makefile ] || exit 0; \
9582 r=`${PWD_COMMAND}`; export r; \
9583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9584 $(HOST_EXPORTS) \
9585 for flag in $(EXTRA_HOST_FLAGS) ; do \
9586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9587 done; \
9588 echo "Doing dvi in fastjar" ; \
9589 (cd $(HOST_SUBDIR)/fastjar && \
9590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9592 "RANLIB=$${RANLIB}" \
9593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9594 dvi) \
9595 || exit 1
9597 @endif fastjar
9599 .PHONY: maybe-pdf-fastjar pdf-fastjar
9600 maybe-pdf-fastjar:
9601 @if fastjar
9602 maybe-pdf-fastjar: pdf-fastjar
9604 pdf-fastjar: \
9605 configure-fastjar
9606 @: $(MAKE); $(unstage)
9607 @[ -f ./fastjar/Makefile ] || exit 0; \
9608 r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9610 $(HOST_EXPORTS) \
9611 for flag in $(EXTRA_HOST_FLAGS) ; do \
9612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9613 done; \
9614 echo "Doing pdf in fastjar" ; \
9615 (cd $(HOST_SUBDIR)/fastjar && \
9616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9618 "RANLIB=$${RANLIB}" \
9619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9620 pdf) \
9621 || exit 1
9623 @endif fastjar
9625 .PHONY: maybe-html-fastjar html-fastjar
9626 maybe-html-fastjar:
9627 @if fastjar
9628 maybe-html-fastjar: html-fastjar
9630 html-fastjar: \
9631 configure-fastjar
9632 @: $(MAKE); $(unstage)
9633 @[ -f ./fastjar/Makefile ] || exit 0; \
9634 r=`${PWD_COMMAND}`; export r; \
9635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9636 $(HOST_EXPORTS) \
9637 for flag in $(EXTRA_HOST_FLAGS) ; do \
9638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9639 done; \
9640 echo "Doing html in fastjar" ; \
9641 (cd $(HOST_SUBDIR)/fastjar && \
9642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9644 "RANLIB=$${RANLIB}" \
9645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9646 html) \
9647 || exit 1
9649 @endif fastjar
9651 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9652 maybe-TAGS-fastjar:
9653 @if fastjar
9654 maybe-TAGS-fastjar: TAGS-fastjar
9656 TAGS-fastjar: \
9657 configure-fastjar
9658 @: $(MAKE); $(unstage)
9659 @[ -f ./fastjar/Makefile ] || exit 0; \
9660 r=`${PWD_COMMAND}`; export r; \
9661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9662 $(HOST_EXPORTS) \
9663 for flag in $(EXTRA_HOST_FLAGS) ; do \
9664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9665 done; \
9666 echo "Doing TAGS in fastjar" ; \
9667 (cd $(HOST_SUBDIR)/fastjar && \
9668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9670 "RANLIB=$${RANLIB}" \
9671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9672 TAGS) \
9673 || exit 1
9675 @endif fastjar
9677 .PHONY: maybe-install-info-fastjar install-info-fastjar
9678 maybe-install-info-fastjar:
9679 @if fastjar
9680 maybe-install-info-fastjar: install-info-fastjar
9682 install-info-fastjar: \
9683 configure-fastjar \
9684 info-fastjar
9685 @: $(MAKE); $(unstage)
9686 @[ -f ./fastjar/Makefile ] || exit 0; \
9687 r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 $(HOST_EXPORTS) \
9690 for flag in $(EXTRA_HOST_FLAGS) ; do \
9691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9692 done; \
9693 echo "Doing install-info in fastjar" ; \
9694 (cd $(HOST_SUBDIR)/fastjar && \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9697 "RANLIB=$${RANLIB}" \
9698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9699 install-info) \
9700 || exit 1
9702 @endif fastjar
9704 .PHONY: maybe-install-html-fastjar install-html-fastjar
9705 maybe-install-html-fastjar:
9706 @if fastjar
9707 maybe-install-html-fastjar: install-html-fastjar
9709 install-html-fastjar: \
9710 configure-fastjar \
9711 html-fastjar
9712 @: $(MAKE); $(unstage)
9713 @[ -f ./fastjar/Makefile ] || exit 0; \
9714 r=`${PWD_COMMAND}`; export r; \
9715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9716 $(HOST_EXPORTS) \
9717 for flag in $(EXTRA_HOST_FLAGS) ; do \
9718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9719 done; \
9720 echo "Doing install-html in fastjar" ; \
9721 (cd $(HOST_SUBDIR)/fastjar && \
9722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9724 "RANLIB=$${RANLIB}" \
9725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9726 install-html) \
9727 || exit 1
9729 @endif fastjar
9731 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9732 maybe-installcheck-fastjar:
9733 @if fastjar
9734 maybe-installcheck-fastjar: installcheck-fastjar
9736 installcheck-fastjar: \
9737 configure-fastjar
9738 @: $(MAKE); $(unstage)
9739 @[ -f ./fastjar/Makefile ] || exit 0; \
9740 r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742 $(HOST_EXPORTS) \
9743 for flag in $(EXTRA_HOST_FLAGS) ; do \
9744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9745 done; \
9746 echo "Doing installcheck in fastjar" ; \
9747 (cd $(HOST_SUBDIR)/fastjar && \
9748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9750 "RANLIB=$${RANLIB}" \
9751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9752 installcheck) \
9753 || exit 1
9755 @endif fastjar
9757 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9758 maybe-mostlyclean-fastjar:
9759 @if fastjar
9760 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9762 mostlyclean-fastjar:
9763 @: $(MAKE); $(unstage)
9764 @[ -f ./fastjar/Makefile ] || exit 0; \
9765 r=`${PWD_COMMAND}`; export r; \
9766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9767 $(HOST_EXPORTS) \
9768 for flag in $(EXTRA_HOST_FLAGS) ; do \
9769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9770 done; \
9771 echo "Doing mostlyclean in fastjar" ; \
9772 (cd $(HOST_SUBDIR)/fastjar && \
9773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9775 "RANLIB=$${RANLIB}" \
9776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9777 mostlyclean) \
9778 || exit 1
9780 @endif fastjar
9782 .PHONY: maybe-clean-fastjar clean-fastjar
9783 maybe-clean-fastjar:
9784 @if fastjar
9785 maybe-clean-fastjar: clean-fastjar
9787 clean-fastjar:
9788 @: $(MAKE); $(unstage)
9789 @[ -f ./fastjar/Makefile ] || exit 0; \
9790 r=`${PWD_COMMAND}`; export r; \
9791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9792 $(HOST_EXPORTS) \
9793 for flag in $(EXTRA_HOST_FLAGS) ; do \
9794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9795 done; \
9796 echo "Doing clean in fastjar" ; \
9797 (cd $(HOST_SUBDIR)/fastjar && \
9798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9800 "RANLIB=$${RANLIB}" \
9801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9802 clean) \
9803 || exit 1
9805 @endif fastjar
9807 .PHONY: maybe-distclean-fastjar distclean-fastjar
9808 maybe-distclean-fastjar:
9809 @if fastjar
9810 maybe-distclean-fastjar: distclean-fastjar
9812 distclean-fastjar:
9813 @: $(MAKE); $(unstage)
9814 @[ -f ./fastjar/Makefile ] || exit 0; \
9815 r=`${PWD_COMMAND}`; export r; \
9816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9817 $(HOST_EXPORTS) \
9818 for flag in $(EXTRA_HOST_FLAGS) ; do \
9819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9820 done; \
9821 echo "Doing distclean in fastjar" ; \
9822 (cd $(HOST_SUBDIR)/fastjar && \
9823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9825 "RANLIB=$${RANLIB}" \
9826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9827 distclean) \
9828 || exit 1
9830 @endif fastjar
9832 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9833 maybe-maintainer-clean-fastjar:
9834 @if fastjar
9835 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9837 maintainer-clean-fastjar:
9838 @: $(MAKE); $(unstage)
9839 @[ -f ./fastjar/Makefile ] || exit 0; \
9840 r=`${PWD_COMMAND}`; export r; \
9841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9842 $(HOST_EXPORTS) \
9843 for flag in $(EXTRA_HOST_FLAGS) ; do \
9844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9845 done; \
9846 echo "Doing maintainer-clean in fastjar" ; \
9847 (cd $(HOST_SUBDIR)/fastjar && \
9848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9850 "RANLIB=$${RANLIB}" \
9851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9852 maintainer-clean) \
9853 || exit 1
9855 @endif fastjar
9859 .PHONY: configure-fileutils maybe-configure-fileutils
9860 maybe-configure-fileutils:
9861 @if gcc-bootstrap
9862 configure-fileutils: stage_current
9863 @endif gcc-bootstrap
9864 @if fileutils
9865 maybe-configure-fileutils: configure-fileutils
9866 configure-fileutils:
9867 @: $(MAKE); $(unstage)
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9872 $(HOST_EXPORTS) \
9873 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9874 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9875 case $(srcdir) in \
9876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9877 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9879 esac; \
9880 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9881 libsrcdir="$$s/fileutils"; \
9882 $(SHELL) $${libsrcdir}/configure \
9883 $(HOST_CONFIGARGS) $${srcdiroption} \
9884 || exit 1
9885 @endif fileutils
9891 .PHONY: all-fileutils maybe-all-fileutils
9892 maybe-all-fileutils:
9893 @if gcc-bootstrap
9894 all-fileutils: stage_current
9895 @endif gcc-bootstrap
9896 @if fileutils
9897 TARGET-fileutils=all
9898 maybe-all-fileutils: all-fileutils
9899 all-fileutils: configure-fileutils
9900 @: $(MAKE); $(unstage)
9901 @r=`${PWD_COMMAND}`; export r; \
9902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9903 $(HOST_EXPORTS) \
9904 (cd $(HOST_SUBDIR)/fileutils && \
9905 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9906 @endif fileutils
9911 .PHONY: check-fileutils maybe-check-fileutils
9912 maybe-check-fileutils:
9913 @if fileutils
9914 maybe-check-fileutils: check-fileutils
9916 check-fileutils:
9917 @: $(MAKE); $(unstage)
9918 @r=`${PWD_COMMAND}`; export r; \
9919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9920 $(HOST_EXPORTS) \
9921 (cd $(HOST_SUBDIR)/fileutils && \
9922 $(MAKE) $(FLAGS_TO_PASS) check)
9924 @endif fileutils
9926 .PHONY: install-fileutils maybe-install-fileutils
9927 maybe-install-fileutils:
9928 @if fileutils
9929 maybe-install-fileutils: install-fileutils
9931 install-fileutils: installdirs
9932 @: $(MAKE); $(unstage)
9933 @r=`${PWD_COMMAND}`; export r; \
9934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9935 $(HOST_EXPORTS) \
9936 (cd $(HOST_SUBDIR)/fileutils && \
9937 $(MAKE) $(FLAGS_TO_PASS) install)
9939 @endif fileutils
9941 # Other targets (info, dvi, pdf, etc.)
9943 .PHONY: maybe-info-fileutils info-fileutils
9944 maybe-info-fileutils:
9945 @if fileutils
9946 maybe-info-fileutils: info-fileutils
9948 info-fileutils: \
9949 configure-fileutils
9950 @: $(MAKE); $(unstage)
9951 @[ -f ./fileutils/Makefile ] || exit 0; \
9952 r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9954 $(HOST_EXPORTS) \
9955 for flag in $(EXTRA_HOST_FLAGS) ; do \
9956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9957 done; \
9958 echo "Doing info in fileutils" ; \
9959 (cd $(HOST_SUBDIR)/fileutils && \
9960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9962 "RANLIB=$${RANLIB}" \
9963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9964 info) \
9965 || exit 1
9967 @endif fileutils
9969 .PHONY: maybe-dvi-fileutils dvi-fileutils
9970 maybe-dvi-fileutils:
9971 @if fileutils
9972 maybe-dvi-fileutils: dvi-fileutils
9974 dvi-fileutils: \
9975 configure-fileutils
9976 @: $(MAKE); $(unstage)
9977 @[ -f ./fileutils/Makefile ] || exit 0; \
9978 r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9980 $(HOST_EXPORTS) \
9981 for flag in $(EXTRA_HOST_FLAGS) ; do \
9982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9983 done; \
9984 echo "Doing dvi in fileutils" ; \
9985 (cd $(HOST_SUBDIR)/fileutils && \
9986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9988 "RANLIB=$${RANLIB}" \
9989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9990 dvi) \
9991 || exit 1
9993 @endif fileutils
9995 .PHONY: maybe-pdf-fileutils pdf-fileutils
9996 maybe-pdf-fileutils:
9997 @if fileutils
9998 maybe-pdf-fileutils: pdf-fileutils
10000 pdf-fileutils: \
10001 configure-fileutils
10002 @: $(MAKE); $(unstage)
10003 @[ -f ./fileutils/Makefile ] || exit 0; \
10004 r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(HOST_EXPORTS) \
10007 for flag in $(EXTRA_HOST_FLAGS) ; do \
10008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10009 done; \
10010 echo "Doing pdf in fileutils" ; \
10011 (cd $(HOST_SUBDIR)/fileutils && \
10012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10014 "RANLIB=$${RANLIB}" \
10015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10016 pdf) \
10017 || exit 1
10019 @endif fileutils
10021 .PHONY: maybe-html-fileutils html-fileutils
10022 maybe-html-fileutils:
10023 @if fileutils
10024 maybe-html-fileutils: html-fileutils
10026 html-fileutils: \
10027 configure-fileutils
10028 @: $(MAKE); $(unstage)
10029 @[ -f ./fileutils/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(HOST_EXPORTS) \
10033 for flag in $(EXTRA_HOST_FLAGS) ; do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035 done; \
10036 echo "Doing html in fileutils" ; \
10037 (cd $(HOST_SUBDIR)/fileutils && \
10038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040 "RANLIB=$${RANLIB}" \
10041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10042 html) \
10043 || exit 1
10045 @endif fileutils
10047 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10048 maybe-TAGS-fileutils:
10049 @if fileutils
10050 maybe-TAGS-fileutils: TAGS-fileutils
10052 TAGS-fileutils: \
10053 configure-fileutils
10054 @: $(MAKE); $(unstage)
10055 @[ -f ./fileutils/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(HOST_EXPORTS) \
10059 for flag in $(EXTRA_HOST_FLAGS) ; do \
10060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10061 done; \
10062 echo "Doing TAGS in fileutils" ; \
10063 (cd $(HOST_SUBDIR)/fileutils && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10068 TAGS) \
10069 || exit 1
10071 @endif fileutils
10073 .PHONY: maybe-install-info-fileutils install-info-fileutils
10074 maybe-install-info-fileutils:
10075 @if fileutils
10076 maybe-install-info-fileutils: install-info-fileutils
10078 install-info-fileutils: \
10079 configure-fileutils \
10080 info-fileutils
10081 @: $(MAKE); $(unstage)
10082 @[ -f ./fileutils/Makefile ] || exit 0; \
10083 r=`${PWD_COMMAND}`; export r; \
10084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10085 $(HOST_EXPORTS) \
10086 for flag in $(EXTRA_HOST_FLAGS) ; do \
10087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10088 done; \
10089 echo "Doing install-info in fileutils" ; \
10090 (cd $(HOST_SUBDIR)/fileutils && \
10091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10093 "RANLIB=$${RANLIB}" \
10094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10095 install-info) \
10096 || exit 1
10098 @endif fileutils
10100 .PHONY: maybe-install-html-fileutils install-html-fileutils
10101 maybe-install-html-fileutils:
10102 @if fileutils
10103 maybe-install-html-fileutils: install-html-fileutils
10105 install-html-fileutils: \
10106 configure-fileutils \
10107 html-fileutils
10108 @: $(MAKE); $(unstage)
10109 @[ -f ./fileutils/Makefile ] || exit 0; \
10110 r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112 $(HOST_EXPORTS) \
10113 for flag in $(EXTRA_HOST_FLAGS) ; do \
10114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10115 done; \
10116 echo "Doing install-html in fileutils" ; \
10117 (cd $(HOST_SUBDIR)/fileutils && \
10118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10120 "RANLIB=$${RANLIB}" \
10121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10122 install-html) \
10123 || exit 1
10125 @endif fileutils
10127 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10128 maybe-installcheck-fileutils:
10129 @if fileutils
10130 maybe-installcheck-fileutils: installcheck-fileutils
10132 installcheck-fileutils: \
10133 configure-fileutils
10134 @: $(MAKE); $(unstage)
10135 @[ -f ./fileutils/Makefile ] || exit 0; \
10136 r=`${PWD_COMMAND}`; export r; \
10137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10138 $(HOST_EXPORTS) \
10139 for flag in $(EXTRA_HOST_FLAGS) ; do \
10140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10141 done; \
10142 echo "Doing installcheck in fileutils" ; \
10143 (cd $(HOST_SUBDIR)/fileutils && \
10144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10146 "RANLIB=$${RANLIB}" \
10147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10148 installcheck) \
10149 || exit 1
10151 @endif fileutils
10153 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10154 maybe-mostlyclean-fileutils:
10155 @if fileutils
10156 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10158 mostlyclean-fileutils:
10159 @: $(MAKE); $(unstage)
10160 @[ -f ./fileutils/Makefile ] || exit 0; \
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163 $(HOST_EXPORTS) \
10164 for flag in $(EXTRA_HOST_FLAGS) ; do \
10165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10166 done; \
10167 echo "Doing mostlyclean in fileutils" ; \
10168 (cd $(HOST_SUBDIR)/fileutils && \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173 mostlyclean) \
10174 || exit 1
10176 @endif fileutils
10178 .PHONY: maybe-clean-fileutils clean-fileutils
10179 maybe-clean-fileutils:
10180 @if fileutils
10181 maybe-clean-fileutils: clean-fileutils
10183 clean-fileutils:
10184 @: $(MAKE); $(unstage)
10185 @[ -f ./fileutils/Makefile ] || exit 0; \
10186 r=`${PWD_COMMAND}`; export r; \
10187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10188 $(HOST_EXPORTS) \
10189 for flag in $(EXTRA_HOST_FLAGS) ; do \
10190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10191 done; \
10192 echo "Doing clean in fileutils" ; \
10193 (cd $(HOST_SUBDIR)/fileutils && \
10194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10196 "RANLIB=$${RANLIB}" \
10197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10198 clean) \
10199 || exit 1
10201 @endif fileutils
10203 .PHONY: maybe-distclean-fileutils distclean-fileutils
10204 maybe-distclean-fileutils:
10205 @if fileutils
10206 maybe-distclean-fileutils: distclean-fileutils
10208 distclean-fileutils:
10209 @: $(MAKE); $(unstage)
10210 @[ -f ./fileutils/Makefile ] || exit 0; \
10211 r=`${PWD_COMMAND}`; export r; \
10212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10213 $(HOST_EXPORTS) \
10214 for flag in $(EXTRA_HOST_FLAGS) ; do \
10215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10216 done; \
10217 echo "Doing distclean in fileutils" ; \
10218 (cd $(HOST_SUBDIR)/fileutils && \
10219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10221 "RANLIB=$${RANLIB}" \
10222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10223 distclean) \
10224 || exit 1
10226 @endif fileutils
10228 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10229 maybe-maintainer-clean-fileutils:
10230 @if fileutils
10231 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10233 maintainer-clean-fileutils:
10234 @: $(MAKE); $(unstage)
10235 @[ -f ./fileutils/Makefile ] || exit 0; \
10236 r=`${PWD_COMMAND}`; export r; \
10237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10238 $(HOST_EXPORTS) \
10239 for flag in $(EXTRA_HOST_FLAGS) ; do \
10240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10241 done; \
10242 echo "Doing maintainer-clean in fileutils" ; \
10243 (cd $(HOST_SUBDIR)/fileutils && \
10244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10246 "RANLIB=$${RANLIB}" \
10247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10248 maintainer-clean) \
10249 || exit 1
10251 @endif fileutils
10255 .PHONY: configure-findutils maybe-configure-findutils
10256 maybe-configure-findutils:
10257 @if gcc-bootstrap
10258 configure-findutils: stage_current
10259 @endif gcc-bootstrap
10260 @if findutils
10261 maybe-configure-findutils: configure-findutils
10262 configure-findutils:
10263 @: $(MAKE); $(unstage)
10264 @r=`${PWD_COMMAND}`; export r; \
10265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10266 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10268 $(HOST_EXPORTS) \
10269 echo Configuring in $(HOST_SUBDIR)/findutils; \
10270 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10271 case $(srcdir) in \
10272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10273 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10275 esac; \
10276 srcdiroption="--srcdir=$${topdir}/findutils"; \
10277 libsrcdir="$$s/findutils"; \
10278 $(SHELL) $${libsrcdir}/configure \
10279 $(HOST_CONFIGARGS) $${srcdiroption} \
10280 || exit 1
10281 @endif findutils
10287 .PHONY: all-findutils maybe-all-findutils
10288 maybe-all-findutils:
10289 @if gcc-bootstrap
10290 all-findutils: stage_current
10291 @endif gcc-bootstrap
10292 @if findutils
10293 TARGET-findutils=all
10294 maybe-all-findutils: all-findutils
10295 all-findutils: configure-findutils
10296 @: $(MAKE); $(unstage)
10297 @r=`${PWD_COMMAND}`; export r; \
10298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10299 $(HOST_EXPORTS) \
10300 (cd $(HOST_SUBDIR)/findutils && \
10301 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10302 @endif findutils
10307 .PHONY: check-findutils maybe-check-findutils
10308 maybe-check-findutils:
10309 @if findutils
10310 maybe-check-findutils: check-findutils
10312 check-findutils:
10313 @: $(MAKE); $(unstage)
10314 @r=`${PWD_COMMAND}`; export r; \
10315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10316 $(HOST_EXPORTS) \
10317 (cd $(HOST_SUBDIR)/findutils && \
10318 $(MAKE) $(FLAGS_TO_PASS) check)
10320 @endif findutils
10322 .PHONY: install-findutils maybe-install-findutils
10323 maybe-install-findutils:
10324 @if findutils
10325 maybe-install-findutils: install-findutils
10327 install-findutils: installdirs
10328 @: $(MAKE); $(unstage)
10329 @r=`${PWD_COMMAND}`; export r; \
10330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10331 $(HOST_EXPORTS) \
10332 (cd $(HOST_SUBDIR)/findutils && \
10333 $(MAKE) $(FLAGS_TO_PASS) install)
10335 @endif findutils
10337 # Other targets (info, dvi, pdf, etc.)
10339 .PHONY: maybe-info-findutils info-findutils
10340 maybe-info-findutils:
10341 @if findutils
10342 maybe-info-findutils: info-findutils
10344 info-findutils: \
10345 configure-findutils
10346 @: $(MAKE); $(unstage)
10347 @[ -f ./findutils/Makefile ] || exit 0; \
10348 r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 $(HOST_EXPORTS) \
10351 for flag in $(EXTRA_HOST_FLAGS) ; do \
10352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10353 done; \
10354 echo "Doing info in findutils" ; \
10355 (cd $(HOST_SUBDIR)/findutils && \
10356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10358 "RANLIB=$${RANLIB}" \
10359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10360 info) \
10361 || exit 1
10363 @endif findutils
10365 .PHONY: maybe-dvi-findutils dvi-findutils
10366 maybe-dvi-findutils:
10367 @if findutils
10368 maybe-dvi-findutils: dvi-findutils
10370 dvi-findutils: \
10371 configure-findutils
10372 @: $(MAKE); $(unstage)
10373 @[ -f ./findutils/Makefile ] || exit 0; \
10374 r=`${PWD_COMMAND}`; export r; \
10375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10376 $(HOST_EXPORTS) \
10377 for flag in $(EXTRA_HOST_FLAGS) ; do \
10378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10379 done; \
10380 echo "Doing dvi in findutils" ; \
10381 (cd $(HOST_SUBDIR)/findutils && \
10382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10384 "RANLIB=$${RANLIB}" \
10385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10386 dvi) \
10387 || exit 1
10389 @endif findutils
10391 .PHONY: maybe-pdf-findutils pdf-findutils
10392 maybe-pdf-findutils:
10393 @if findutils
10394 maybe-pdf-findutils: pdf-findutils
10396 pdf-findutils: \
10397 configure-findutils
10398 @: $(MAKE); $(unstage)
10399 @[ -f ./findutils/Makefile ] || exit 0; \
10400 r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 $(HOST_EXPORTS) \
10403 for flag in $(EXTRA_HOST_FLAGS) ; do \
10404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10405 done; \
10406 echo "Doing pdf in findutils" ; \
10407 (cd $(HOST_SUBDIR)/findutils && \
10408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10410 "RANLIB=$${RANLIB}" \
10411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10412 pdf) \
10413 || exit 1
10415 @endif findutils
10417 .PHONY: maybe-html-findutils html-findutils
10418 maybe-html-findutils:
10419 @if findutils
10420 maybe-html-findutils: html-findutils
10422 html-findutils: \
10423 configure-findutils
10424 @: $(MAKE); $(unstage)
10425 @[ -f ./findutils/Makefile ] || exit 0; \
10426 r=`${PWD_COMMAND}`; export r; \
10427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10428 $(HOST_EXPORTS) \
10429 for flag in $(EXTRA_HOST_FLAGS) ; do \
10430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10431 done; \
10432 echo "Doing html in findutils" ; \
10433 (cd $(HOST_SUBDIR)/findutils && \
10434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10436 "RANLIB=$${RANLIB}" \
10437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10438 html) \
10439 || exit 1
10441 @endif findutils
10443 .PHONY: maybe-TAGS-findutils TAGS-findutils
10444 maybe-TAGS-findutils:
10445 @if findutils
10446 maybe-TAGS-findutils: TAGS-findutils
10448 TAGS-findutils: \
10449 configure-findutils
10450 @: $(MAKE); $(unstage)
10451 @[ -f ./findutils/Makefile ] || exit 0; \
10452 r=`${PWD_COMMAND}`; export r; \
10453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10454 $(HOST_EXPORTS) \
10455 for flag in $(EXTRA_HOST_FLAGS) ; do \
10456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10457 done; \
10458 echo "Doing TAGS in findutils" ; \
10459 (cd $(HOST_SUBDIR)/findutils && \
10460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10462 "RANLIB=$${RANLIB}" \
10463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10464 TAGS) \
10465 || exit 1
10467 @endif findutils
10469 .PHONY: maybe-install-info-findutils install-info-findutils
10470 maybe-install-info-findutils:
10471 @if findutils
10472 maybe-install-info-findutils: install-info-findutils
10474 install-info-findutils: \
10475 configure-findutils \
10476 info-findutils
10477 @: $(MAKE); $(unstage)
10478 @[ -f ./findutils/Makefile ] || exit 0; \
10479 r=`${PWD_COMMAND}`; export r; \
10480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10481 $(HOST_EXPORTS) \
10482 for flag in $(EXTRA_HOST_FLAGS) ; do \
10483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10484 done; \
10485 echo "Doing install-info in findutils" ; \
10486 (cd $(HOST_SUBDIR)/findutils && \
10487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10489 "RANLIB=$${RANLIB}" \
10490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10491 install-info) \
10492 || exit 1
10494 @endif findutils
10496 .PHONY: maybe-install-html-findutils install-html-findutils
10497 maybe-install-html-findutils:
10498 @if findutils
10499 maybe-install-html-findutils: install-html-findutils
10501 install-html-findutils: \
10502 configure-findutils \
10503 html-findutils
10504 @: $(MAKE); $(unstage)
10505 @[ -f ./findutils/Makefile ] || exit 0; \
10506 r=`${PWD_COMMAND}`; export r; \
10507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10508 $(HOST_EXPORTS) \
10509 for flag in $(EXTRA_HOST_FLAGS) ; do \
10510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10511 done; \
10512 echo "Doing install-html in findutils" ; \
10513 (cd $(HOST_SUBDIR)/findutils && \
10514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10516 "RANLIB=$${RANLIB}" \
10517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10518 install-html) \
10519 || exit 1
10521 @endif findutils
10523 .PHONY: maybe-installcheck-findutils installcheck-findutils
10524 maybe-installcheck-findutils:
10525 @if findutils
10526 maybe-installcheck-findutils: installcheck-findutils
10528 installcheck-findutils: \
10529 configure-findutils
10530 @: $(MAKE); $(unstage)
10531 @[ -f ./findutils/Makefile ] || exit 0; \
10532 r=`${PWD_COMMAND}`; export r; \
10533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10534 $(HOST_EXPORTS) \
10535 for flag in $(EXTRA_HOST_FLAGS) ; do \
10536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10537 done; \
10538 echo "Doing installcheck in findutils" ; \
10539 (cd $(HOST_SUBDIR)/findutils && \
10540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10542 "RANLIB=$${RANLIB}" \
10543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10544 installcheck) \
10545 || exit 1
10547 @endif findutils
10549 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10550 maybe-mostlyclean-findutils:
10551 @if findutils
10552 maybe-mostlyclean-findutils: mostlyclean-findutils
10554 mostlyclean-findutils:
10555 @: $(MAKE); $(unstage)
10556 @[ -f ./findutils/Makefile ] || exit 0; \
10557 r=`${PWD_COMMAND}`; export r; \
10558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10559 $(HOST_EXPORTS) \
10560 for flag in $(EXTRA_HOST_FLAGS) ; do \
10561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10562 done; \
10563 echo "Doing mostlyclean in findutils" ; \
10564 (cd $(HOST_SUBDIR)/findutils && \
10565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10567 "RANLIB=$${RANLIB}" \
10568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10569 mostlyclean) \
10570 || exit 1
10572 @endif findutils
10574 .PHONY: maybe-clean-findutils clean-findutils
10575 maybe-clean-findutils:
10576 @if findutils
10577 maybe-clean-findutils: clean-findutils
10579 clean-findutils:
10580 @: $(MAKE); $(unstage)
10581 @[ -f ./findutils/Makefile ] || exit 0; \
10582 r=`${PWD_COMMAND}`; export r; \
10583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10584 $(HOST_EXPORTS) \
10585 for flag in $(EXTRA_HOST_FLAGS) ; do \
10586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10587 done; \
10588 echo "Doing clean in findutils" ; \
10589 (cd $(HOST_SUBDIR)/findutils && \
10590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10592 "RANLIB=$${RANLIB}" \
10593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10594 clean) \
10595 || exit 1
10597 @endif findutils
10599 .PHONY: maybe-distclean-findutils distclean-findutils
10600 maybe-distclean-findutils:
10601 @if findutils
10602 maybe-distclean-findutils: distclean-findutils
10604 distclean-findutils:
10605 @: $(MAKE); $(unstage)
10606 @[ -f ./findutils/Makefile ] || exit 0; \
10607 r=`${PWD_COMMAND}`; export r; \
10608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10609 $(HOST_EXPORTS) \
10610 for flag in $(EXTRA_HOST_FLAGS) ; do \
10611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10612 done; \
10613 echo "Doing distclean in findutils" ; \
10614 (cd $(HOST_SUBDIR)/findutils && \
10615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10617 "RANLIB=$${RANLIB}" \
10618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10619 distclean) \
10620 || exit 1
10622 @endif findutils
10624 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10625 maybe-maintainer-clean-findutils:
10626 @if findutils
10627 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10629 maintainer-clean-findutils:
10630 @: $(MAKE); $(unstage)
10631 @[ -f ./findutils/Makefile ] || exit 0; \
10632 r=`${PWD_COMMAND}`; export r; \
10633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10634 $(HOST_EXPORTS) \
10635 for flag in $(EXTRA_HOST_FLAGS) ; do \
10636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10637 done; \
10638 echo "Doing maintainer-clean in findutils" ; \
10639 (cd $(HOST_SUBDIR)/findutils && \
10640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10642 "RANLIB=$${RANLIB}" \
10643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10644 maintainer-clean) \
10645 || exit 1
10647 @endif findutils
10651 .PHONY: configure-find maybe-configure-find
10652 maybe-configure-find:
10653 @if gcc-bootstrap
10654 configure-find: stage_current
10655 @endif gcc-bootstrap
10656 @if find
10657 maybe-configure-find: configure-find
10658 configure-find:
10659 @: $(MAKE); $(unstage)
10660 @r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10662 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10664 $(HOST_EXPORTS) \
10665 echo Configuring in $(HOST_SUBDIR)/find; \
10666 cd "$(HOST_SUBDIR)/find" || exit 1; \
10667 case $(srcdir) in \
10668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10669 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10671 esac; \
10672 srcdiroption="--srcdir=$${topdir}/find"; \
10673 libsrcdir="$$s/find"; \
10674 $(SHELL) $${libsrcdir}/configure \
10675 $(HOST_CONFIGARGS) $${srcdiroption} \
10676 || exit 1
10677 @endif find
10683 .PHONY: all-find maybe-all-find
10684 maybe-all-find:
10685 @if gcc-bootstrap
10686 all-find: stage_current
10687 @endif gcc-bootstrap
10688 @if find
10689 TARGET-find=all
10690 maybe-all-find: all-find
10691 all-find: configure-find
10692 @: $(MAKE); $(unstage)
10693 @r=`${PWD_COMMAND}`; export r; \
10694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10695 $(HOST_EXPORTS) \
10696 (cd $(HOST_SUBDIR)/find && \
10697 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10698 @endif find
10703 .PHONY: check-find maybe-check-find
10704 maybe-check-find:
10705 @if find
10706 maybe-check-find: check-find
10708 check-find:
10709 @: $(MAKE); $(unstage)
10710 @r=`${PWD_COMMAND}`; export r; \
10711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10712 $(HOST_EXPORTS) \
10713 (cd $(HOST_SUBDIR)/find && \
10714 $(MAKE) $(FLAGS_TO_PASS) check)
10716 @endif find
10718 .PHONY: install-find maybe-install-find
10719 maybe-install-find:
10720 @if find
10721 maybe-install-find: install-find
10723 install-find: installdirs
10724 @: $(MAKE); $(unstage)
10725 @r=`${PWD_COMMAND}`; export r; \
10726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10727 $(HOST_EXPORTS) \
10728 (cd $(HOST_SUBDIR)/find && \
10729 $(MAKE) $(FLAGS_TO_PASS) install)
10731 @endif find
10733 # Other targets (info, dvi, pdf, etc.)
10735 .PHONY: maybe-info-find info-find
10736 maybe-info-find:
10737 @if find
10738 maybe-info-find: info-find
10740 info-find: \
10741 configure-find
10742 @: $(MAKE); $(unstage)
10743 @[ -f ./find/Makefile ] || exit 0; \
10744 r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 $(HOST_EXPORTS) \
10747 for flag in $(EXTRA_HOST_FLAGS) ; do \
10748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10749 done; \
10750 echo "Doing info in find" ; \
10751 (cd $(HOST_SUBDIR)/find && \
10752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10754 "RANLIB=$${RANLIB}" \
10755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10756 info) \
10757 || exit 1
10759 @endif find
10761 .PHONY: maybe-dvi-find dvi-find
10762 maybe-dvi-find:
10763 @if find
10764 maybe-dvi-find: dvi-find
10766 dvi-find: \
10767 configure-find
10768 @: $(MAKE); $(unstage)
10769 @[ -f ./find/Makefile ] || exit 0; \
10770 r=`${PWD_COMMAND}`; export r; \
10771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10772 $(HOST_EXPORTS) \
10773 for flag in $(EXTRA_HOST_FLAGS) ; do \
10774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10775 done; \
10776 echo "Doing dvi in find" ; \
10777 (cd $(HOST_SUBDIR)/find && \
10778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10780 "RANLIB=$${RANLIB}" \
10781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10782 dvi) \
10783 || exit 1
10785 @endif find
10787 .PHONY: maybe-pdf-find pdf-find
10788 maybe-pdf-find:
10789 @if find
10790 maybe-pdf-find: pdf-find
10792 pdf-find: \
10793 configure-find
10794 @: $(MAKE); $(unstage)
10795 @[ -f ./find/Makefile ] || exit 0; \
10796 r=`${PWD_COMMAND}`; export r; \
10797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10798 $(HOST_EXPORTS) \
10799 for flag in $(EXTRA_HOST_FLAGS) ; do \
10800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10801 done; \
10802 echo "Doing pdf in find" ; \
10803 (cd $(HOST_SUBDIR)/find && \
10804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10806 "RANLIB=$${RANLIB}" \
10807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10808 pdf) \
10809 || exit 1
10811 @endif find
10813 .PHONY: maybe-html-find html-find
10814 maybe-html-find:
10815 @if find
10816 maybe-html-find: html-find
10818 html-find: \
10819 configure-find
10820 @: $(MAKE); $(unstage)
10821 @[ -f ./find/Makefile ] || exit 0; \
10822 r=`${PWD_COMMAND}`; export r; \
10823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10824 $(HOST_EXPORTS) \
10825 for flag in $(EXTRA_HOST_FLAGS) ; do \
10826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10827 done; \
10828 echo "Doing html in find" ; \
10829 (cd $(HOST_SUBDIR)/find && \
10830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10832 "RANLIB=$${RANLIB}" \
10833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10834 html) \
10835 || exit 1
10837 @endif find
10839 .PHONY: maybe-TAGS-find TAGS-find
10840 maybe-TAGS-find:
10841 @if find
10842 maybe-TAGS-find: TAGS-find
10844 TAGS-find: \
10845 configure-find
10846 @: $(MAKE); $(unstage)
10847 @[ -f ./find/Makefile ] || exit 0; \
10848 r=`${PWD_COMMAND}`; export r; \
10849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10850 $(HOST_EXPORTS) \
10851 for flag in $(EXTRA_HOST_FLAGS) ; do \
10852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10853 done; \
10854 echo "Doing TAGS in find" ; \
10855 (cd $(HOST_SUBDIR)/find && \
10856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10858 "RANLIB=$${RANLIB}" \
10859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10860 TAGS) \
10861 || exit 1
10863 @endif find
10865 .PHONY: maybe-install-info-find install-info-find
10866 maybe-install-info-find:
10867 @if find
10868 maybe-install-info-find: install-info-find
10870 install-info-find: \
10871 configure-find \
10872 info-find
10873 @: $(MAKE); $(unstage)
10874 @[ -f ./find/Makefile ] || exit 0; \
10875 r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 $(HOST_EXPORTS) \
10878 for flag in $(EXTRA_HOST_FLAGS) ; do \
10879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10880 done; \
10881 echo "Doing install-info in find" ; \
10882 (cd $(HOST_SUBDIR)/find && \
10883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10885 "RANLIB=$${RANLIB}" \
10886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10887 install-info) \
10888 || exit 1
10890 @endif find
10892 .PHONY: maybe-install-html-find install-html-find
10893 maybe-install-html-find:
10894 @if find
10895 maybe-install-html-find: install-html-find
10897 install-html-find: \
10898 configure-find \
10899 html-find
10900 @: $(MAKE); $(unstage)
10901 @[ -f ./find/Makefile ] || exit 0; \
10902 r=`${PWD_COMMAND}`; export r; \
10903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10904 $(HOST_EXPORTS) \
10905 for flag in $(EXTRA_HOST_FLAGS) ; do \
10906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10907 done; \
10908 echo "Doing install-html in find" ; \
10909 (cd $(HOST_SUBDIR)/find && \
10910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10912 "RANLIB=$${RANLIB}" \
10913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10914 install-html) \
10915 || exit 1
10917 @endif find
10919 .PHONY: maybe-installcheck-find installcheck-find
10920 maybe-installcheck-find:
10921 @if find
10922 maybe-installcheck-find: installcheck-find
10924 installcheck-find: \
10925 configure-find
10926 @: $(MAKE); $(unstage)
10927 @[ -f ./find/Makefile ] || exit 0; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10930 $(HOST_EXPORTS) \
10931 for flag in $(EXTRA_HOST_FLAGS) ; do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10933 done; \
10934 echo "Doing installcheck in find" ; \
10935 (cd $(HOST_SUBDIR)/find && \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938 "RANLIB=$${RANLIB}" \
10939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10940 installcheck) \
10941 || exit 1
10943 @endif find
10945 .PHONY: maybe-mostlyclean-find mostlyclean-find
10946 maybe-mostlyclean-find:
10947 @if find
10948 maybe-mostlyclean-find: mostlyclean-find
10950 mostlyclean-find:
10951 @: $(MAKE); $(unstage)
10952 @[ -f ./find/Makefile ] || exit 0; \
10953 r=`${PWD_COMMAND}`; export r; \
10954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10955 $(HOST_EXPORTS) \
10956 for flag in $(EXTRA_HOST_FLAGS) ; do \
10957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10958 done; \
10959 echo "Doing mostlyclean in find" ; \
10960 (cd $(HOST_SUBDIR)/find && \
10961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10963 "RANLIB=$${RANLIB}" \
10964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10965 mostlyclean) \
10966 || exit 1
10968 @endif find
10970 .PHONY: maybe-clean-find clean-find
10971 maybe-clean-find:
10972 @if find
10973 maybe-clean-find: clean-find
10975 clean-find:
10976 @: $(MAKE); $(unstage)
10977 @[ -f ./find/Makefile ] || exit 0; \
10978 r=`${PWD_COMMAND}`; export r; \
10979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10980 $(HOST_EXPORTS) \
10981 for flag in $(EXTRA_HOST_FLAGS) ; do \
10982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10983 done; \
10984 echo "Doing clean in find" ; \
10985 (cd $(HOST_SUBDIR)/find && \
10986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10988 "RANLIB=$${RANLIB}" \
10989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10990 clean) \
10991 || exit 1
10993 @endif find
10995 .PHONY: maybe-distclean-find distclean-find
10996 maybe-distclean-find:
10997 @if find
10998 maybe-distclean-find: distclean-find
11000 distclean-find:
11001 @: $(MAKE); $(unstage)
11002 @[ -f ./find/Makefile ] || exit 0; \
11003 r=`${PWD_COMMAND}`; export r; \
11004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11005 $(HOST_EXPORTS) \
11006 for flag in $(EXTRA_HOST_FLAGS) ; do \
11007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11008 done; \
11009 echo "Doing distclean in find" ; \
11010 (cd $(HOST_SUBDIR)/find && \
11011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11013 "RANLIB=$${RANLIB}" \
11014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11015 distclean) \
11016 || exit 1
11018 @endif find
11020 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11021 maybe-maintainer-clean-find:
11022 @if find
11023 maybe-maintainer-clean-find: maintainer-clean-find
11025 maintainer-clean-find:
11026 @: $(MAKE); $(unstage)
11027 @[ -f ./find/Makefile ] || exit 0; \
11028 r=`${PWD_COMMAND}`; export r; \
11029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11030 $(HOST_EXPORTS) \
11031 for flag in $(EXTRA_HOST_FLAGS) ; do \
11032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11033 done; \
11034 echo "Doing maintainer-clean in find" ; \
11035 (cd $(HOST_SUBDIR)/find && \
11036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11038 "RANLIB=$${RANLIB}" \
11039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11040 maintainer-clean) \
11041 || exit 1
11043 @endif find
11047 .PHONY: configure-fixincludes maybe-configure-fixincludes
11048 maybe-configure-fixincludes:
11049 @if gcc-bootstrap
11050 configure-fixincludes: stage_current
11051 @endif gcc-bootstrap
11052 @if fixincludes
11053 maybe-configure-fixincludes: configure-fixincludes
11054 configure-fixincludes:
11055 @: $(MAKE); $(unstage)
11056 @r=`${PWD_COMMAND}`; export r; \
11057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11058 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11060 $(HOST_EXPORTS) \
11061 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11062 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11063 case $(srcdir) in \
11064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11065 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11067 esac; \
11068 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11069 libsrcdir="$$s/fixincludes"; \
11070 $(SHELL) $${libsrcdir}/configure \
11071 $(HOST_CONFIGARGS) $${srcdiroption} \
11072 || exit 1
11073 @endif fixincludes
11079 .PHONY: all-fixincludes maybe-all-fixincludes
11080 maybe-all-fixincludes:
11081 @if gcc-bootstrap
11082 all-fixincludes: stage_current
11083 @endif gcc-bootstrap
11084 @if fixincludes
11085 TARGET-fixincludes=all
11086 maybe-all-fixincludes: all-fixincludes
11087 all-fixincludes: configure-fixincludes
11088 @: $(MAKE); $(unstage)
11089 @r=`${PWD_COMMAND}`; export r; \
11090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11091 $(HOST_EXPORTS) \
11092 (cd $(HOST_SUBDIR)/fixincludes && \
11093 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11094 @endif fixincludes
11099 .PHONY: check-fixincludes maybe-check-fixincludes
11100 maybe-check-fixincludes:
11101 @if fixincludes
11102 maybe-check-fixincludes: check-fixincludes
11104 check-fixincludes:
11105 @: $(MAKE); $(unstage)
11106 @r=`${PWD_COMMAND}`; export r; \
11107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11108 $(HOST_EXPORTS) \
11109 (cd $(HOST_SUBDIR)/fixincludes && \
11110 $(MAKE) $(FLAGS_TO_PASS) check)
11112 @endif fixincludes
11114 .PHONY: install-fixincludes maybe-install-fixincludes
11115 maybe-install-fixincludes:
11116 @if fixincludes
11117 maybe-install-fixincludes: install-fixincludes
11119 install-fixincludes: installdirs
11120 @: $(MAKE); $(unstage)
11121 @r=`${PWD_COMMAND}`; export r; \
11122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11123 $(HOST_EXPORTS) \
11124 (cd $(HOST_SUBDIR)/fixincludes && \
11125 $(MAKE) $(FLAGS_TO_PASS) install)
11127 @endif fixincludes
11129 # Other targets (info, dvi, pdf, etc.)
11131 .PHONY: maybe-info-fixincludes info-fixincludes
11132 maybe-info-fixincludes:
11133 @if fixincludes
11134 maybe-info-fixincludes: info-fixincludes
11136 # fixincludes doesn't support info.
11137 info-fixincludes:
11139 @endif fixincludes
11141 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11142 maybe-dvi-fixincludes:
11143 @if fixincludes
11144 maybe-dvi-fixincludes: dvi-fixincludes
11146 # fixincludes doesn't support dvi.
11147 dvi-fixincludes:
11149 @endif fixincludes
11151 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11152 maybe-pdf-fixincludes:
11153 @if fixincludes
11154 maybe-pdf-fixincludes: pdf-fixincludes
11156 # fixincludes doesn't support pdf.
11157 pdf-fixincludes:
11159 @endif fixincludes
11161 .PHONY: maybe-html-fixincludes html-fixincludes
11162 maybe-html-fixincludes:
11163 @if fixincludes
11164 maybe-html-fixincludes: html-fixincludes
11166 html-fixincludes: \
11167 configure-fixincludes
11168 @: $(MAKE); $(unstage)
11169 @[ -f ./fixincludes/Makefile ] || exit 0; \
11170 r=`${PWD_COMMAND}`; export r; \
11171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11172 $(HOST_EXPORTS) \
11173 for flag in $(EXTRA_HOST_FLAGS) ; do \
11174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11175 done; \
11176 echo "Doing html in fixincludes" ; \
11177 (cd $(HOST_SUBDIR)/fixincludes && \
11178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11180 "RANLIB=$${RANLIB}" \
11181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11182 html) \
11183 || exit 1
11185 @endif fixincludes
11187 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11188 maybe-TAGS-fixincludes:
11189 @if fixincludes
11190 maybe-TAGS-fixincludes: TAGS-fixincludes
11192 # fixincludes doesn't support TAGS.
11193 TAGS-fixincludes:
11195 @endif fixincludes
11197 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11198 maybe-install-info-fixincludes:
11199 @if fixincludes
11200 maybe-install-info-fixincludes: install-info-fixincludes
11202 # fixincludes doesn't support install-info.
11203 install-info-fixincludes:
11205 @endif fixincludes
11207 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11208 maybe-install-html-fixincludes:
11209 @if fixincludes
11210 maybe-install-html-fixincludes: install-html-fixincludes
11212 install-html-fixincludes: \
11213 configure-fixincludes \
11214 html-fixincludes
11215 @: $(MAKE); $(unstage)
11216 @[ -f ./fixincludes/Makefile ] || exit 0; \
11217 r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 $(HOST_EXPORTS) \
11220 for flag in $(EXTRA_HOST_FLAGS) ; do \
11221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11222 done; \
11223 echo "Doing install-html in fixincludes" ; \
11224 (cd $(HOST_SUBDIR)/fixincludes && \
11225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11227 "RANLIB=$${RANLIB}" \
11228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11229 install-html) \
11230 || exit 1
11232 @endif fixincludes
11234 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11235 maybe-installcheck-fixincludes:
11236 @if fixincludes
11237 maybe-installcheck-fixincludes: installcheck-fixincludes
11239 # fixincludes doesn't support installcheck.
11240 installcheck-fixincludes:
11242 @endif fixincludes
11244 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11245 maybe-mostlyclean-fixincludes:
11246 @if fixincludes
11247 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11249 mostlyclean-fixincludes:
11250 @: $(MAKE); $(unstage)
11251 @[ -f ./fixincludes/Makefile ] || exit 0; \
11252 r=`${PWD_COMMAND}`; export r; \
11253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11254 $(HOST_EXPORTS) \
11255 for flag in $(EXTRA_HOST_FLAGS) ; do \
11256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11257 done; \
11258 echo "Doing mostlyclean in fixincludes" ; \
11259 (cd $(HOST_SUBDIR)/fixincludes && \
11260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11262 "RANLIB=$${RANLIB}" \
11263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11264 mostlyclean) \
11265 || exit 1
11267 @endif fixincludes
11269 .PHONY: maybe-clean-fixincludes clean-fixincludes
11270 maybe-clean-fixincludes:
11271 @if fixincludes
11272 maybe-clean-fixincludes: clean-fixincludes
11274 clean-fixincludes:
11275 @: $(MAKE); $(unstage)
11276 @[ -f ./fixincludes/Makefile ] || exit 0; \
11277 r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11279 $(HOST_EXPORTS) \
11280 for flag in $(EXTRA_HOST_FLAGS) ; do \
11281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11282 done; \
11283 echo "Doing clean in fixincludes" ; \
11284 (cd $(HOST_SUBDIR)/fixincludes && \
11285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11287 "RANLIB=$${RANLIB}" \
11288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11289 clean) \
11290 || exit 1
11292 @endif fixincludes
11294 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11295 maybe-distclean-fixincludes:
11296 @if fixincludes
11297 maybe-distclean-fixincludes: distclean-fixincludes
11299 distclean-fixincludes:
11300 @: $(MAKE); $(unstage)
11301 @[ -f ./fixincludes/Makefile ] || exit 0; \
11302 r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 $(HOST_EXPORTS) \
11305 for flag in $(EXTRA_HOST_FLAGS) ; do \
11306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11307 done; \
11308 echo "Doing distclean in fixincludes" ; \
11309 (cd $(HOST_SUBDIR)/fixincludes && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11312 "RANLIB=$${RANLIB}" \
11313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11314 distclean) \
11315 || exit 1
11317 @endif fixincludes
11319 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11320 maybe-maintainer-clean-fixincludes:
11321 @if fixincludes
11322 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11324 maintainer-clean-fixincludes:
11325 @: $(MAKE); $(unstage)
11326 @[ -f ./fixincludes/Makefile ] || exit 0; \
11327 r=`${PWD_COMMAND}`; export r; \
11328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 $(HOST_EXPORTS) \
11330 for flag in $(EXTRA_HOST_FLAGS) ; do \
11331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11332 done; \
11333 echo "Doing maintainer-clean in fixincludes" ; \
11334 (cd $(HOST_SUBDIR)/fixincludes && \
11335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11337 "RANLIB=$${RANLIB}" \
11338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11339 maintainer-clean) \
11340 || exit 1
11342 @endif fixincludes
11346 .PHONY: configure-flex maybe-configure-flex
11347 maybe-configure-flex:
11348 @if gcc-bootstrap
11349 configure-flex: stage_current
11350 @endif gcc-bootstrap
11351 @if flex
11352 maybe-configure-flex: configure-flex
11353 configure-flex:
11354 @: $(MAKE); $(unstage)
11355 @r=`${PWD_COMMAND}`; export r; \
11356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11357 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11359 $(HOST_EXPORTS) \
11360 echo Configuring in $(HOST_SUBDIR)/flex; \
11361 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11362 case $(srcdir) in \
11363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11364 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11366 esac; \
11367 srcdiroption="--srcdir=$${topdir}/flex"; \
11368 libsrcdir="$$s/flex"; \
11369 $(SHELL) $${libsrcdir}/configure \
11370 $(HOST_CONFIGARGS) $${srcdiroption} \
11371 || exit 1
11372 @endif flex
11378 .PHONY: all-flex maybe-all-flex
11379 maybe-all-flex:
11380 @if gcc-bootstrap
11381 all-flex: stage_current
11382 @endif gcc-bootstrap
11383 @if flex
11384 TARGET-flex=all
11385 maybe-all-flex: all-flex
11386 all-flex: configure-flex
11387 @: $(MAKE); $(unstage)
11388 @r=`${PWD_COMMAND}`; export r; \
11389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11390 $(HOST_EXPORTS) \
11391 (cd $(HOST_SUBDIR)/flex && \
11392 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11393 @endif flex
11398 .PHONY: check-flex maybe-check-flex
11399 maybe-check-flex:
11400 @if flex
11401 maybe-check-flex: check-flex
11403 # This module is only tested in a native toolchain.
11404 check-flex:
11405 @: $(MAKE); $(unstage)
11406 @if [ '$(host)' = '$(target)' ] ; then \
11407 r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 $(HOST_EXPORTS) \
11410 (cd $(HOST_SUBDIR)/flex && \
11411 $(MAKE) $(FLAGS_TO_PASS) check); \
11414 @endif flex
11416 .PHONY: install-flex maybe-install-flex
11417 maybe-install-flex:
11418 @if flex
11419 maybe-install-flex: install-flex
11421 install-flex: installdirs
11422 @: $(MAKE); $(unstage)
11423 @r=`${PWD_COMMAND}`; export r; \
11424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11425 $(HOST_EXPORTS) \
11426 (cd $(HOST_SUBDIR)/flex && \
11427 $(MAKE) $(FLAGS_TO_PASS) install)
11429 @endif flex
11431 # Other targets (info, dvi, pdf, etc.)
11433 .PHONY: maybe-info-flex info-flex
11434 maybe-info-flex:
11435 @if flex
11436 maybe-info-flex: info-flex
11438 info-flex: \
11439 configure-flex
11440 @: $(MAKE); $(unstage)
11441 @[ -f ./flex/Makefile ] || exit 0; \
11442 r=`${PWD_COMMAND}`; export r; \
11443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11444 $(HOST_EXPORTS) \
11445 for flag in $(EXTRA_HOST_FLAGS) ; do \
11446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11447 done; \
11448 echo "Doing info in flex" ; \
11449 (cd $(HOST_SUBDIR)/flex && \
11450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11452 "RANLIB=$${RANLIB}" \
11453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11454 info) \
11455 || exit 1
11457 @endif flex
11459 .PHONY: maybe-dvi-flex dvi-flex
11460 maybe-dvi-flex:
11461 @if flex
11462 maybe-dvi-flex: dvi-flex
11464 dvi-flex: \
11465 configure-flex
11466 @: $(MAKE); $(unstage)
11467 @[ -f ./flex/Makefile ] || exit 0; \
11468 r=`${PWD_COMMAND}`; export r; \
11469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11470 $(HOST_EXPORTS) \
11471 for flag in $(EXTRA_HOST_FLAGS) ; do \
11472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11473 done; \
11474 echo "Doing dvi in flex" ; \
11475 (cd $(HOST_SUBDIR)/flex && \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11478 "RANLIB=$${RANLIB}" \
11479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11480 dvi) \
11481 || exit 1
11483 @endif flex
11485 .PHONY: maybe-pdf-flex pdf-flex
11486 maybe-pdf-flex:
11487 @if flex
11488 maybe-pdf-flex: pdf-flex
11490 pdf-flex: \
11491 configure-flex
11492 @: $(MAKE); $(unstage)
11493 @[ -f ./flex/Makefile ] || exit 0; \
11494 r=`${PWD_COMMAND}`; export r; \
11495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11496 $(HOST_EXPORTS) \
11497 for flag in $(EXTRA_HOST_FLAGS) ; do \
11498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11499 done; \
11500 echo "Doing pdf in flex" ; \
11501 (cd $(HOST_SUBDIR)/flex && \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11504 "RANLIB=$${RANLIB}" \
11505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11506 pdf) \
11507 || exit 1
11509 @endif flex
11511 .PHONY: maybe-html-flex html-flex
11512 maybe-html-flex:
11513 @if flex
11514 maybe-html-flex: html-flex
11516 html-flex: \
11517 configure-flex
11518 @: $(MAKE); $(unstage)
11519 @[ -f ./flex/Makefile ] || exit 0; \
11520 r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(HOST_EXPORTS) \
11523 for flag in $(EXTRA_HOST_FLAGS) ; do \
11524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11525 done; \
11526 echo "Doing html in flex" ; \
11527 (cd $(HOST_SUBDIR)/flex && \
11528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11530 "RANLIB=$${RANLIB}" \
11531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11532 html) \
11533 || exit 1
11535 @endif flex
11537 .PHONY: maybe-TAGS-flex TAGS-flex
11538 maybe-TAGS-flex:
11539 @if flex
11540 maybe-TAGS-flex: TAGS-flex
11542 TAGS-flex: \
11543 configure-flex
11544 @: $(MAKE); $(unstage)
11545 @[ -f ./flex/Makefile ] || exit 0; \
11546 r=`${PWD_COMMAND}`; export r; \
11547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11548 $(HOST_EXPORTS) \
11549 for flag in $(EXTRA_HOST_FLAGS) ; do \
11550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11551 done; \
11552 echo "Doing TAGS in flex" ; \
11553 (cd $(HOST_SUBDIR)/flex && \
11554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11556 "RANLIB=$${RANLIB}" \
11557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11558 TAGS) \
11559 || exit 1
11561 @endif flex
11563 .PHONY: maybe-install-info-flex install-info-flex
11564 maybe-install-info-flex:
11565 @if flex
11566 maybe-install-info-flex: install-info-flex
11568 install-info-flex: \
11569 configure-flex \
11570 info-flex
11571 @: $(MAKE); $(unstage)
11572 @[ -f ./flex/Makefile ] || exit 0; \
11573 r=`${PWD_COMMAND}`; export r; \
11574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11575 $(HOST_EXPORTS) \
11576 for flag in $(EXTRA_HOST_FLAGS) ; do \
11577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11578 done; \
11579 echo "Doing install-info in flex" ; \
11580 (cd $(HOST_SUBDIR)/flex && \
11581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11583 "RANLIB=$${RANLIB}" \
11584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11585 install-info) \
11586 || exit 1
11588 @endif flex
11590 .PHONY: maybe-install-html-flex install-html-flex
11591 maybe-install-html-flex:
11592 @if flex
11593 maybe-install-html-flex: install-html-flex
11595 install-html-flex: \
11596 configure-flex \
11597 html-flex
11598 @: $(MAKE); $(unstage)
11599 @[ -f ./flex/Makefile ] || exit 0; \
11600 r=`${PWD_COMMAND}`; export r; \
11601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11602 $(HOST_EXPORTS) \
11603 for flag in $(EXTRA_HOST_FLAGS) ; do \
11604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11605 done; \
11606 echo "Doing install-html in flex" ; \
11607 (cd $(HOST_SUBDIR)/flex && \
11608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11610 "RANLIB=$${RANLIB}" \
11611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11612 install-html) \
11613 || exit 1
11615 @endif flex
11617 .PHONY: maybe-installcheck-flex installcheck-flex
11618 maybe-installcheck-flex:
11619 @if flex
11620 maybe-installcheck-flex: installcheck-flex
11622 installcheck-flex: \
11623 configure-flex
11624 @: $(MAKE); $(unstage)
11625 @[ -f ./flex/Makefile ] || exit 0; \
11626 r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(HOST_EXPORTS) \
11629 for flag in $(EXTRA_HOST_FLAGS) ; do \
11630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 done; \
11632 echo "Doing installcheck in flex" ; \
11633 (cd $(HOST_SUBDIR)/flex && \
11634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11636 "RANLIB=$${RANLIB}" \
11637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11638 installcheck) \
11639 || exit 1
11641 @endif flex
11643 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11644 maybe-mostlyclean-flex:
11645 @if flex
11646 maybe-mostlyclean-flex: mostlyclean-flex
11648 mostlyclean-flex:
11649 @: $(MAKE); $(unstage)
11650 @[ -f ./flex/Makefile ] || exit 0; \
11651 r=`${PWD_COMMAND}`; export r; \
11652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11653 $(HOST_EXPORTS) \
11654 for flag in $(EXTRA_HOST_FLAGS) ; do \
11655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11656 done; \
11657 echo "Doing mostlyclean in flex" ; \
11658 (cd $(HOST_SUBDIR)/flex && \
11659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11661 "RANLIB=$${RANLIB}" \
11662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11663 mostlyclean) \
11664 || exit 1
11666 @endif flex
11668 .PHONY: maybe-clean-flex clean-flex
11669 maybe-clean-flex:
11670 @if flex
11671 maybe-clean-flex: clean-flex
11673 clean-flex:
11674 @: $(MAKE); $(unstage)
11675 @[ -f ./flex/Makefile ] || exit 0; \
11676 r=`${PWD_COMMAND}`; export r; \
11677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11678 $(HOST_EXPORTS) \
11679 for flag in $(EXTRA_HOST_FLAGS) ; do \
11680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11681 done; \
11682 echo "Doing clean in flex" ; \
11683 (cd $(HOST_SUBDIR)/flex && \
11684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11686 "RANLIB=$${RANLIB}" \
11687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11688 clean) \
11689 || exit 1
11691 @endif flex
11693 .PHONY: maybe-distclean-flex distclean-flex
11694 maybe-distclean-flex:
11695 @if flex
11696 maybe-distclean-flex: distclean-flex
11698 distclean-flex:
11699 @: $(MAKE); $(unstage)
11700 @[ -f ./flex/Makefile ] || exit 0; \
11701 r=`${PWD_COMMAND}`; export r; \
11702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11703 $(HOST_EXPORTS) \
11704 for flag in $(EXTRA_HOST_FLAGS) ; do \
11705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11706 done; \
11707 echo "Doing distclean in flex" ; \
11708 (cd $(HOST_SUBDIR)/flex && \
11709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11711 "RANLIB=$${RANLIB}" \
11712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11713 distclean) \
11714 || exit 1
11716 @endif flex
11718 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11719 maybe-maintainer-clean-flex:
11720 @if flex
11721 maybe-maintainer-clean-flex: maintainer-clean-flex
11723 maintainer-clean-flex:
11724 @: $(MAKE); $(unstage)
11725 @[ -f ./flex/Makefile ] || exit 0; \
11726 r=`${PWD_COMMAND}`; export r; \
11727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11728 $(HOST_EXPORTS) \
11729 for flag in $(EXTRA_HOST_FLAGS) ; do \
11730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11731 done; \
11732 echo "Doing maintainer-clean in flex" ; \
11733 (cd $(HOST_SUBDIR)/flex && \
11734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11736 "RANLIB=$${RANLIB}" \
11737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11738 maintainer-clean) \
11739 || exit 1
11741 @endif flex
11745 .PHONY: configure-gas maybe-configure-gas
11746 maybe-configure-gas:
11747 @if gcc-bootstrap
11748 configure-gas: stage_current
11749 @endif gcc-bootstrap
11750 @if gas
11751 maybe-configure-gas: configure-gas
11752 configure-gas:
11753 @r=`${PWD_COMMAND}`; export r; \
11754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11755 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11757 $(HOST_EXPORTS) \
11758 echo Configuring in $(HOST_SUBDIR)/gas; \
11759 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11760 case $(srcdir) in \
11761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11762 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11764 esac; \
11765 srcdiroption="--srcdir=$${topdir}/gas"; \
11766 libsrcdir="$$s/gas"; \
11767 $(SHELL) $${libsrcdir}/configure \
11768 $(HOST_CONFIGARGS) $${srcdiroption} \
11769 || exit 1
11770 @endif gas
11774 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11775 maybe-configure-stage1-gas:
11776 @if gas-bootstrap
11777 maybe-configure-stage1-gas: configure-stage1-gas
11778 configure-stage1-gas:
11779 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11781 @r=`${PWD_COMMAND}`; export r; \
11782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11783 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11784 $(HOST_EXPORTS) \
11785 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11787 cd $(HOST_SUBDIR)/gas || exit 1; \
11788 case $(srcdir) in \
11789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11790 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11792 esac; \
11793 srcdiroption="--srcdir=$${topdir}/gas"; \
11794 libsrcdir="$$s/gas"; \
11795 $(SHELL) $${libsrcdir}/configure \
11796 $(HOST_CONFIGARGS) $${srcdiroption} \
11798 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11799 @endif gas-bootstrap
11801 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11802 maybe-configure-stage2-gas:
11803 @if gas-bootstrap
11804 maybe-configure-stage2-gas: configure-stage2-gas
11805 configure-stage2-gas:
11806 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11808 @r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11811 $(HOST_EXPORTS) \
11812 $(POSTSTAGE1_HOST_EXPORTS) \
11813 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11815 cd $(HOST_SUBDIR)/gas || exit 1; \
11816 case $(srcdir) in \
11817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11818 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11820 esac; \
11821 srcdiroption="--srcdir=$${topdir}/gas"; \
11822 libsrcdir="$$s/gas"; \
11823 $(SHELL) $${libsrcdir}/configure \
11824 $(HOST_CONFIGARGS) $${srcdiroption} \
11825 --with-build-libsubdir=$(HOST_SUBDIR) \
11826 @stage2_werror_flag@
11827 @endif gas-bootstrap
11829 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11830 maybe-configure-stage3-gas:
11831 @if gas-bootstrap
11832 maybe-configure-stage3-gas: configure-stage3-gas
11833 configure-stage3-gas:
11834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11836 @r=`${PWD_COMMAND}`; export r; \
11837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11838 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11839 $(HOST_EXPORTS) \
11840 $(POSTSTAGE1_HOST_EXPORTS) \
11841 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11843 cd $(HOST_SUBDIR)/gas || exit 1; \
11844 case $(srcdir) in \
11845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11846 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11848 esac; \
11849 srcdiroption="--srcdir=$${topdir}/gas"; \
11850 libsrcdir="$$s/gas"; \
11851 $(SHELL) $${libsrcdir}/configure \
11852 $(HOST_CONFIGARGS) $${srcdiroption} \
11853 --with-build-libsubdir=$(HOST_SUBDIR) \
11854 @stage2_werror_flag@
11855 @endif gas-bootstrap
11857 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11858 maybe-configure-stage4-gas:
11859 @if gas-bootstrap
11860 maybe-configure-stage4-gas: configure-stage4-gas
11861 configure-stage4-gas:
11862 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11864 @r=`${PWD_COMMAND}`; export r; \
11865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11866 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11867 $(HOST_EXPORTS) \
11868 $(POSTSTAGE1_HOST_EXPORTS) \
11869 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11871 cd $(HOST_SUBDIR)/gas || exit 1; \
11872 case $(srcdir) in \
11873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11874 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11876 esac; \
11877 srcdiroption="--srcdir=$${topdir}/gas"; \
11878 libsrcdir="$$s/gas"; \
11879 $(SHELL) $${libsrcdir}/configure \
11880 $(HOST_CONFIGARGS) $${srcdiroption} \
11881 --with-build-libsubdir=$(HOST_SUBDIR) \
11882 @stage2_werror_flag@
11883 @endif gas-bootstrap
11885 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11886 maybe-configure-stageprofile-gas:
11887 @if gas-bootstrap
11888 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11889 configure-stageprofile-gas:
11890 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11892 @r=`${PWD_COMMAND}`; export r; \
11893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11894 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11895 $(HOST_EXPORTS) \
11896 $(POSTSTAGE1_HOST_EXPORTS) \
11897 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11899 cd $(HOST_SUBDIR)/gas || exit 1; \
11900 case $(srcdir) in \
11901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11902 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11904 esac; \
11905 srcdiroption="--srcdir=$${topdir}/gas"; \
11906 libsrcdir="$$s/gas"; \
11907 $(SHELL) $${libsrcdir}/configure \
11908 $(HOST_CONFIGARGS) $${srcdiroption} \
11909 --with-build-libsubdir=$(HOST_SUBDIR) \
11910 @stage2_werror_flag@
11911 @endif gas-bootstrap
11913 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11914 maybe-configure-stagefeedback-gas:
11915 @if gas-bootstrap
11916 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11917 configure-stagefeedback-gas:
11918 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11920 @r=`${PWD_COMMAND}`; export r; \
11921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11922 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11923 $(HOST_EXPORTS) \
11924 $(POSTSTAGE1_HOST_EXPORTS) \
11925 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11927 cd $(HOST_SUBDIR)/gas || exit 1; \
11928 case $(srcdir) in \
11929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11930 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11932 esac; \
11933 srcdiroption="--srcdir=$${topdir}/gas"; \
11934 libsrcdir="$$s/gas"; \
11935 $(SHELL) $${libsrcdir}/configure \
11936 $(HOST_CONFIGARGS) $${srcdiroption} \
11937 --with-build-libsubdir=$(HOST_SUBDIR) \
11938 @stage2_werror_flag@
11939 @endif gas-bootstrap
11945 .PHONY: all-gas maybe-all-gas
11946 maybe-all-gas:
11947 @if gcc-bootstrap
11948 all-gas: stage_current
11949 @endif gcc-bootstrap
11950 @if gas
11951 TARGET-gas=all
11952 maybe-all-gas: all-gas
11953 all-gas: configure-gas
11954 @r=`${PWD_COMMAND}`; export r; \
11955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11956 $(HOST_EXPORTS) \
11957 (cd $(HOST_SUBDIR)/gas && \
11958 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11959 @endif gas
11963 .PHONY: all-stage1-gas maybe-all-stage1-gas
11964 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11965 maybe-all-stage1-gas:
11966 maybe-clean-stage1-gas:
11967 @if gas-bootstrap
11968 maybe-all-stage1-gas: all-stage1-gas
11969 all-stage1: all-stage1-gas
11970 TARGET-stage1-gas = $(TARGET-gas)
11971 all-stage1-gas: configure-stage1-gas
11972 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11973 @r=`${PWD_COMMAND}`; export r; \
11974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11975 $(HOST_EXPORTS) \
11976 cd $(HOST_SUBDIR)/gas && \
11977 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11978 $(TARGET-stage1-gas)
11980 maybe-clean-stage1-gas: clean-stage1-gas
11981 clean-stage1: clean-stage1-gas
11982 clean-stage1-gas:
11983 @if [ $(current_stage) = stage1 ]; then \
11984 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11985 else \
11986 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
11987 $(MAKE) stage1-start; \
11988 fi; \
11989 cd $(HOST_SUBDIR)/gas && \
11990 $(MAKE) $(FLAGS_TO_PASS) \
11991 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11992 @endif gas-bootstrap
11995 .PHONY: all-stage2-gas maybe-all-stage2-gas
11996 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11997 maybe-all-stage2-gas:
11998 maybe-clean-stage2-gas:
11999 @if gas-bootstrap
12000 maybe-all-stage2-gas: all-stage2-gas
12001 all-stage2: all-stage2-gas
12002 TARGET-stage2-gas = $(TARGET-gas)
12003 all-stage2-gas: configure-stage2-gas
12004 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12005 @r=`${PWD_COMMAND}`; export r; \
12006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12007 $(HOST_EXPORTS) \
12008 $(POSTSTAGE1_HOST_EXPORTS) \
12009 cd $(HOST_SUBDIR)/gas && \
12010 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12011 $(TARGET-stage2-gas)
12013 maybe-clean-stage2-gas: clean-stage2-gas
12014 clean-stage2: clean-stage2-gas
12015 clean-stage2-gas:
12016 @if [ $(current_stage) = stage2 ]; then \
12017 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12018 else \
12019 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12020 $(MAKE) stage2-start; \
12021 fi; \
12022 cd $(HOST_SUBDIR)/gas && \
12023 $(MAKE) $(FLAGS_TO_PASS) \
12024 $(POSTSTAGE1_FLAGS_TO_PASS) \
12025 clean
12026 @endif gas-bootstrap
12029 .PHONY: all-stage3-gas maybe-all-stage3-gas
12030 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12031 maybe-all-stage3-gas:
12032 maybe-clean-stage3-gas:
12033 @if gas-bootstrap
12034 maybe-all-stage3-gas: all-stage3-gas
12035 all-stage3: all-stage3-gas
12036 TARGET-stage3-gas = $(TARGET-gas)
12037 all-stage3-gas: configure-stage3-gas
12038 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12039 @r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 $(HOST_EXPORTS) \
12042 $(POSTSTAGE1_HOST_EXPORTS) \
12043 cd $(HOST_SUBDIR)/gas && \
12044 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12045 $(TARGET-stage3-gas)
12047 maybe-clean-stage3-gas: clean-stage3-gas
12048 clean-stage3: clean-stage3-gas
12049 clean-stage3-gas:
12050 @if [ $(current_stage) = stage3 ]; then \
12051 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12052 else \
12053 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12054 $(MAKE) stage3-start; \
12055 fi; \
12056 cd $(HOST_SUBDIR)/gas && \
12057 $(MAKE) $(FLAGS_TO_PASS) \
12058 $(POSTSTAGE1_FLAGS_TO_PASS) \
12059 clean
12060 @endif gas-bootstrap
12063 .PHONY: all-stage4-gas maybe-all-stage4-gas
12064 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12065 maybe-all-stage4-gas:
12066 maybe-clean-stage4-gas:
12067 @if gas-bootstrap
12068 maybe-all-stage4-gas: all-stage4-gas
12069 all-stage4: all-stage4-gas
12070 TARGET-stage4-gas = $(TARGET-gas)
12071 all-stage4-gas: configure-stage4-gas
12072 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12073 @r=`${PWD_COMMAND}`; export r; \
12074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12075 $(HOST_EXPORTS) \
12076 $(POSTSTAGE1_HOST_EXPORTS) \
12077 cd $(HOST_SUBDIR)/gas && \
12078 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12079 $(TARGET-stage4-gas)
12081 maybe-clean-stage4-gas: clean-stage4-gas
12082 clean-stage4: clean-stage4-gas
12083 clean-stage4-gas:
12084 @if [ $(current_stage) = stage4 ]; then \
12085 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12086 else \
12087 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12088 $(MAKE) stage4-start; \
12089 fi; \
12090 cd $(HOST_SUBDIR)/gas && \
12091 $(MAKE) $(FLAGS_TO_PASS) \
12092 $(POSTSTAGE1_FLAGS_TO_PASS) \
12093 clean
12094 @endif gas-bootstrap
12097 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12098 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12099 maybe-all-stageprofile-gas:
12100 maybe-clean-stageprofile-gas:
12101 @if gas-bootstrap
12102 maybe-all-stageprofile-gas: all-stageprofile-gas
12103 all-stageprofile: all-stageprofile-gas
12104 TARGET-stageprofile-gas = $(TARGET-gas)
12105 all-stageprofile-gas: configure-stageprofile-gas
12106 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12107 @r=`${PWD_COMMAND}`; export r; \
12108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12109 $(HOST_EXPORTS) \
12110 $(POSTSTAGE1_HOST_EXPORTS) \
12111 cd $(HOST_SUBDIR)/gas && \
12112 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12113 $(TARGET-stageprofile-gas)
12115 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12116 clean-stageprofile: clean-stageprofile-gas
12117 clean-stageprofile-gas:
12118 @if [ $(current_stage) = stageprofile ]; then \
12119 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12120 else \
12121 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12122 $(MAKE) stageprofile-start; \
12123 fi; \
12124 cd $(HOST_SUBDIR)/gas && \
12125 $(MAKE) $(FLAGS_TO_PASS) \
12126 $(POSTSTAGE1_FLAGS_TO_PASS) \
12127 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12128 @endif gas-bootstrap
12131 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12132 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12133 maybe-all-stagefeedback-gas:
12134 maybe-clean-stagefeedback-gas:
12135 @if gas-bootstrap
12136 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12137 all-stagefeedback: all-stagefeedback-gas
12138 TARGET-stagefeedback-gas = $(TARGET-gas)
12139 all-stagefeedback-gas: configure-stagefeedback-gas
12140 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12141 @r=`${PWD_COMMAND}`; export r; \
12142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 $(HOST_EXPORTS) \
12144 $(POSTSTAGE1_HOST_EXPORTS) \
12145 cd $(HOST_SUBDIR)/gas && \
12146 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12147 $(TARGET-stagefeedback-gas)
12149 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12150 clean-stagefeedback: clean-stagefeedback-gas
12151 clean-stagefeedback-gas:
12152 @if [ $(current_stage) = stagefeedback ]; then \
12153 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12154 else \
12155 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12156 $(MAKE) stagefeedback-start; \
12157 fi; \
12158 cd $(HOST_SUBDIR)/gas && \
12159 $(MAKE) $(FLAGS_TO_PASS) \
12160 $(POSTSTAGE1_FLAGS_TO_PASS) \
12161 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12162 @endif gas-bootstrap
12168 .PHONY: check-gas maybe-check-gas
12169 maybe-check-gas:
12170 @if gas
12171 maybe-check-gas: check-gas
12173 check-gas:
12174 @: $(MAKE); $(unstage)
12175 @r=`${PWD_COMMAND}`; export r; \
12176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12177 $(HOST_EXPORTS) \
12178 (cd $(HOST_SUBDIR)/gas && \
12179 $(MAKE) $(FLAGS_TO_PASS) check)
12181 @endif gas
12183 .PHONY: install-gas maybe-install-gas
12184 maybe-install-gas:
12185 @if gas
12186 maybe-install-gas: install-gas
12188 install-gas: installdirs
12189 @: $(MAKE); $(unstage)
12190 @r=`${PWD_COMMAND}`; export r; \
12191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12192 $(HOST_EXPORTS) \
12193 (cd $(HOST_SUBDIR)/gas && \
12194 $(MAKE) $(FLAGS_TO_PASS) install)
12196 @endif gas
12198 # Other targets (info, dvi, pdf, etc.)
12200 .PHONY: maybe-info-gas info-gas
12201 maybe-info-gas:
12202 @if gas
12203 maybe-info-gas: info-gas
12205 info-gas: \
12206 configure-gas
12207 @[ -f ./gas/Makefile ] || exit 0; \
12208 r=`${PWD_COMMAND}`; export r; \
12209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12210 $(HOST_EXPORTS) \
12211 for flag in $(EXTRA_HOST_FLAGS) ; do \
12212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12213 done; \
12214 echo "Doing info in gas" ; \
12215 (cd $(HOST_SUBDIR)/gas && \
12216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12218 "RANLIB=$${RANLIB}" \
12219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12220 info) \
12221 || exit 1
12223 @endif gas
12225 .PHONY: maybe-dvi-gas dvi-gas
12226 maybe-dvi-gas:
12227 @if gas
12228 maybe-dvi-gas: dvi-gas
12230 dvi-gas: \
12231 configure-gas
12232 @[ -f ./gas/Makefile ] || exit 0; \
12233 r=`${PWD_COMMAND}`; export r; \
12234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12235 $(HOST_EXPORTS) \
12236 for flag in $(EXTRA_HOST_FLAGS) ; do \
12237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12238 done; \
12239 echo "Doing dvi in gas" ; \
12240 (cd $(HOST_SUBDIR)/gas && \
12241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12243 "RANLIB=$${RANLIB}" \
12244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12245 dvi) \
12246 || exit 1
12248 @endif gas
12250 .PHONY: maybe-pdf-gas pdf-gas
12251 maybe-pdf-gas:
12252 @if gas
12253 maybe-pdf-gas: pdf-gas
12255 pdf-gas: \
12256 configure-gas
12257 @[ -f ./gas/Makefile ] || exit 0; \
12258 r=`${PWD_COMMAND}`; export r; \
12259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12260 $(HOST_EXPORTS) \
12261 for flag in $(EXTRA_HOST_FLAGS) ; do \
12262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12263 done; \
12264 echo "Doing pdf in gas" ; \
12265 (cd $(HOST_SUBDIR)/gas && \
12266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12268 "RANLIB=$${RANLIB}" \
12269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12270 pdf) \
12271 || exit 1
12273 @endif gas
12275 .PHONY: maybe-html-gas html-gas
12276 maybe-html-gas:
12277 @if gas
12278 maybe-html-gas: html-gas
12280 html-gas: \
12281 configure-gas
12282 @[ -f ./gas/Makefile ] || exit 0; \
12283 r=`${PWD_COMMAND}`; export r; \
12284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12285 $(HOST_EXPORTS) \
12286 for flag in $(EXTRA_HOST_FLAGS) ; do \
12287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12288 done; \
12289 echo "Doing html in gas" ; \
12290 (cd $(HOST_SUBDIR)/gas && \
12291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12293 "RANLIB=$${RANLIB}" \
12294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12295 html) \
12296 || exit 1
12298 @endif gas
12300 .PHONY: maybe-TAGS-gas TAGS-gas
12301 maybe-TAGS-gas:
12302 @if gas
12303 maybe-TAGS-gas: TAGS-gas
12305 TAGS-gas: \
12306 configure-gas
12307 @[ -f ./gas/Makefile ] || exit 0; \
12308 r=`${PWD_COMMAND}`; export r; \
12309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12310 $(HOST_EXPORTS) \
12311 for flag in $(EXTRA_HOST_FLAGS) ; do \
12312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12313 done; \
12314 echo "Doing TAGS in gas" ; \
12315 (cd $(HOST_SUBDIR)/gas && \
12316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12318 "RANLIB=$${RANLIB}" \
12319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12320 TAGS) \
12321 || exit 1
12323 @endif gas
12325 .PHONY: maybe-install-info-gas install-info-gas
12326 maybe-install-info-gas:
12327 @if gas
12328 maybe-install-info-gas: install-info-gas
12330 install-info-gas: \
12331 configure-gas \
12332 info-gas
12333 @[ -f ./gas/Makefile ] || exit 0; \
12334 r=`${PWD_COMMAND}`; export r; \
12335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12336 $(HOST_EXPORTS) \
12337 for flag in $(EXTRA_HOST_FLAGS) ; do \
12338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12339 done; \
12340 echo "Doing install-info in gas" ; \
12341 (cd $(HOST_SUBDIR)/gas && \
12342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12344 "RANLIB=$${RANLIB}" \
12345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12346 install-info) \
12347 || exit 1
12349 @endif gas
12351 .PHONY: maybe-install-html-gas install-html-gas
12352 maybe-install-html-gas:
12353 @if gas
12354 maybe-install-html-gas: install-html-gas
12356 install-html-gas: \
12357 configure-gas \
12358 html-gas
12359 @[ -f ./gas/Makefile ] || exit 0; \
12360 r=`${PWD_COMMAND}`; export r; \
12361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12362 $(HOST_EXPORTS) \
12363 for flag in $(EXTRA_HOST_FLAGS) ; do \
12364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12365 done; \
12366 echo "Doing install-html in gas" ; \
12367 (cd $(HOST_SUBDIR)/gas && \
12368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12370 "RANLIB=$${RANLIB}" \
12371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12372 install-html) \
12373 || exit 1
12375 @endif gas
12377 .PHONY: maybe-installcheck-gas installcheck-gas
12378 maybe-installcheck-gas:
12379 @if gas
12380 maybe-installcheck-gas: installcheck-gas
12382 installcheck-gas: \
12383 configure-gas
12384 @[ -f ./gas/Makefile ] || exit 0; \
12385 r=`${PWD_COMMAND}`; export r; \
12386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12387 $(HOST_EXPORTS) \
12388 for flag in $(EXTRA_HOST_FLAGS) ; do \
12389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12390 done; \
12391 echo "Doing installcheck in gas" ; \
12392 (cd $(HOST_SUBDIR)/gas && \
12393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12395 "RANLIB=$${RANLIB}" \
12396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12397 installcheck) \
12398 || exit 1
12400 @endif gas
12402 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12403 maybe-mostlyclean-gas:
12404 @if gas
12405 maybe-mostlyclean-gas: mostlyclean-gas
12407 mostlyclean-gas:
12408 @[ -f ./gas/Makefile ] || exit 0; \
12409 r=`${PWD_COMMAND}`; export r; \
12410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12411 $(HOST_EXPORTS) \
12412 for flag in $(EXTRA_HOST_FLAGS) ; do \
12413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12414 done; \
12415 echo "Doing mostlyclean in gas" ; \
12416 (cd $(HOST_SUBDIR)/gas && \
12417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12419 "RANLIB=$${RANLIB}" \
12420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12421 mostlyclean) \
12422 || exit 1
12424 @endif gas
12426 .PHONY: maybe-clean-gas clean-gas
12427 maybe-clean-gas:
12428 @if gas
12429 maybe-clean-gas: clean-gas
12431 clean-gas:
12432 @[ -f ./gas/Makefile ] || exit 0; \
12433 r=`${PWD_COMMAND}`; export r; \
12434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12435 $(HOST_EXPORTS) \
12436 for flag in $(EXTRA_HOST_FLAGS) ; do \
12437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12438 done; \
12439 echo "Doing clean in gas" ; \
12440 (cd $(HOST_SUBDIR)/gas && \
12441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12443 "RANLIB=$${RANLIB}" \
12444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12445 clean) \
12446 || exit 1
12448 @endif gas
12450 .PHONY: maybe-distclean-gas distclean-gas
12451 maybe-distclean-gas:
12452 @if gas
12453 maybe-distclean-gas: distclean-gas
12455 distclean-gas:
12456 @[ -f ./gas/Makefile ] || exit 0; \
12457 r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(HOST_EXPORTS) \
12460 for flag in $(EXTRA_HOST_FLAGS) ; do \
12461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12462 done; \
12463 echo "Doing distclean in gas" ; \
12464 (cd $(HOST_SUBDIR)/gas && \
12465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12467 "RANLIB=$${RANLIB}" \
12468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12469 distclean) \
12470 || exit 1
12472 @endif gas
12474 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12475 maybe-maintainer-clean-gas:
12476 @if gas
12477 maybe-maintainer-clean-gas: maintainer-clean-gas
12479 maintainer-clean-gas:
12480 @[ -f ./gas/Makefile ] || exit 0; \
12481 r=`${PWD_COMMAND}`; export r; \
12482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12483 $(HOST_EXPORTS) \
12484 for flag in $(EXTRA_HOST_FLAGS) ; do \
12485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12486 done; \
12487 echo "Doing maintainer-clean in gas" ; \
12488 (cd $(HOST_SUBDIR)/gas && \
12489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12491 "RANLIB=$${RANLIB}" \
12492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12493 maintainer-clean) \
12494 || exit 1
12496 @endif gas
12500 .PHONY: configure-gcc maybe-configure-gcc
12501 maybe-configure-gcc:
12502 @if gcc-bootstrap
12503 configure-gcc: stage_current
12504 @endif gcc-bootstrap
12505 @if gcc
12506 maybe-configure-gcc: configure-gcc
12507 configure-gcc:
12508 @r=`${PWD_COMMAND}`; export r; \
12509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12510 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12512 $(HOST_EXPORTS) \
12513 echo Configuring in $(HOST_SUBDIR)/gcc; \
12514 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12515 case $(srcdir) in \
12516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12517 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12519 esac; \
12520 srcdiroption="--srcdir=$${topdir}/gcc"; \
12521 libsrcdir="$$s/gcc"; \
12522 $(SHELL) $${libsrcdir}/configure \
12523 $(HOST_CONFIGARGS) $${srcdiroption} \
12524 || exit 1
12525 @endif gcc
12529 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12530 maybe-configure-stage1-gcc:
12531 @if gcc-bootstrap
12532 maybe-configure-stage1-gcc: configure-stage1-gcc
12533 configure-stage1-gcc:
12534 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12536 @r=`${PWD_COMMAND}`; export r; \
12537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12539 $(HOST_EXPORTS) \
12540 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12542 cd $(HOST_SUBDIR)/gcc || exit 1; \
12543 case $(srcdir) in \
12544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12545 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12547 esac; \
12548 srcdiroption="--srcdir=$${topdir}/gcc"; \
12549 libsrcdir="$$s/gcc"; \
12550 $(SHELL) $${libsrcdir}/configure \
12551 $(HOST_CONFIGARGS) $${srcdiroption} \
12553 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12554 @endif gcc-bootstrap
12556 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12557 maybe-configure-stage2-gcc:
12558 @if gcc-bootstrap
12559 maybe-configure-stage2-gcc: configure-stage2-gcc
12560 configure-stage2-gcc:
12561 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12562 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12563 @r=`${PWD_COMMAND}`; export r; \
12564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12565 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12566 $(HOST_EXPORTS) \
12567 $(POSTSTAGE1_HOST_EXPORTS) \
12568 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12570 cd $(HOST_SUBDIR)/gcc || exit 1; \
12571 case $(srcdir) in \
12572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12573 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12575 esac; \
12576 srcdiroption="--srcdir=$${topdir}/gcc"; \
12577 libsrcdir="$$s/gcc"; \
12578 $(SHELL) $${libsrcdir}/configure \
12579 $(HOST_CONFIGARGS) $${srcdiroption} \
12580 --with-build-libsubdir=$(HOST_SUBDIR) \
12581 @stage2_werror_flag@
12582 @endif gcc-bootstrap
12584 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12585 maybe-configure-stage3-gcc:
12586 @if gcc-bootstrap
12587 maybe-configure-stage3-gcc: configure-stage3-gcc
12588 configure-stage3-gcc:
12589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12591 @r=`${PWD_COMMAND}`; export r; \
12592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12594 $(HOST_EXPORTS) \
12595 $(POSTSTAGE1_HOST_EXPORTS) \
12596 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12598 cd $(HOST_SUBDIR)/gcc || exit 1; \
12599 case $(srcdir) in \
12600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12601 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12603 esac; \
12604 srcdiroption="--srcdir=$${topdir}/gcc"; \
12605 libsrcdir="$$s/gcc"; \
12606 $(SHELL) $${libsrcdir}/configure \
12607 $(HOST_CONFIGARGS) $${srcdiroption} \
12608 --with-build-libsubdir=$(HOST_SUBDIR) \
12609 @stage2_werror_flag@
12610 @endif gcc-bootstrap
12612 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12613 maybe-configure-stage4-gcc:
12614 @if gcc-bootstrap
12615 maybe-configure-stage4-gcc: configure-stage4-gcc
12616 configure-stage4-gcc:
12617 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12619 @r=`${PWD_COMMAND}`; export r; \
12620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12621 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12622 $(HOST_EXPORTS) \
12623 $(POSTSTAGE1_HOST_EXPORTS) \
12624 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12626 cd $(HOST_SUBDIR)/gcc || exit 1; \
12627 case $(srcdir) in \
12628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12629 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12631 esac; \
12632 srcdiroption="--srcdir=$${topdir}/gcc"; \
12633 libsrcdir="$$s/gcc"; \
12634 $(SHELL) $${libsrcdir}/configure \
12635 $(HOST_CONFIGARGS) $${srcdiroption} \
12636 --with-build-libsubdir=$(HOST_SUBDIR) \
12637 @stage2_werror_flag@
12638 @endif gcc-bootstrap
12640 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12641 maybe-configure-stageprofile-gcc:
12642 @if gcc-bootstrap
12643 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12644 configure-stageprofile-gcc:
12645 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12647 @r=`${PWD_COMMAND}`; export r; \
12648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12649 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12650 $(HOST_EXPORTS) \
12651 $(POSTSTAGE1_HOST_EXPORTS) \
12652 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12654 cd $(HOST_SUBDIR)/gcc || exit 1; \
12655 case $(srcdir) in \
12656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12657 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12659 esac; \
12660 srcdiroption="--srcdir=$${topdir}/gcc"; \
12661 libsrcdir="$$s/gcc"; \
12662 $(SHELL) $${libsrcdir}/configure \
12663 $(HOST_CONFIGARGS) $${srcdiroption} \
12664 --with-build-libsubdir=$(HOST_SUBDIR) \
12665 @stage2_werror_flag@
12666 @endif gcc-bootstrap
12668 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12669 maybe-configure-stagefeedback-gcc:
12670 @if gcc-bootstrap
12671 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12672 configure-stagefeedback-gcc:
12673 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12675 @r=`${PWD_COMMAND}`; export r; \
12676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12677 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12678 $(HOST_EXPORTS) \
12679 $(POSTSTAGE1_HOST_EXPORTS) \
12680 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12682 cd $(HOST_SUBDIR)/gcc || exit 1; \
12683 case $(srcdir) in \
12684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12685 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12687 esac; \
12688 srcdiroption="--srcdir=$${topdir}/gcc"; \
12689 libsrcdir="$$s/gcc"; \
12690 $(SHELL) $${libsrcdir}/configure \
12691 $(HOST_CONFIGARGS) $${srcdiroption} \
12692 --with-build-libsubdir=$(HOST_SUBDIR) \
12693 @stage2_werror_flag@
12694 @endif gcc-bootstrap
12700 .PHONY: all-gcc maybe-all-gcc
12701 maybe-all-gcc:
12702 @if gcc-bootstrap
12703 all-gcc: stage_current
12704 @endif gcc-bootstrap
12705 @if gcc
12706 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12707 maybe-all-gcc: all-gcc
12708 all-gcc: configure-gcc
12709 @r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 $(HOST_EXPORTS) \
12712 (cd $(HOST_SUBDIR)/gcc && \
12713 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12714 @endif gcc
12718 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12719 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12720 maybe-all-stage1-gcc:
12721 maybe-clean-stage1-gcc:
12722 @if gcc-bootstrap
12723 maybe-all-stage1-gcc: all-stage1-gcc
12724 all-stage1: all-stage1-gcc
12725 TARGET-stage1-gcc = $(TARGET-gcc)
12726 all-stage1-gcc: configure-stage1-gcc
12727 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12728 @r=`${PWD_COMMAND}`; export r; \
12729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12730 $(HOST_EXPORTS) \
12731 cd $(HOST_SUBDIR)/gcc && \
12732 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12733 $(TARGET-stage1-gcc)
12735 maybe-clean-stage1-gcc: clean-stage1-gcc
12736 clean-stage1: clean-stage1-gcc
12737 clean-stage1-gcc:
12738 @if [ $(current_stage) = stage1 ]; then \
12739 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12740 else \
12741 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12742 $(MAKE) stage1-start; \
12743 fi; \
12744 cd $(HOST_SUBDIR)/gcc && \
12745 $(MAKE) $(FLAGS_TO_PASS) \
12746 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12747 @endif gcc-bootstrap
12750 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12751 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12752 maybe-all-stage2-gcc:
12753 maybe-clean-stage2-gcc:
12754 @if gcc-bootstrap
12755 maybe-all-stage2-gcc: all-stage2-gcc
12756 all-stage2: all-stage2-gcc
12757 TARGET-stage2-gcc = $(TARGET-gcc)
12758 all-stage2-gcc: configure-stage2-gcc
12759 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12760 @r=`${PWD_COMMAND}`; export r; \
12761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12762 $(HOST_EXPORTS) \
12763 $(POSTSTAGE1_HOST_EXPORTS) \
12764 cd $(HOST_SUBDIR)/gcc && \
12765 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12766 $(TARGET-stage2-gcc)
12768 maybe-clean-stage2-gcc: clean-stage2-gcc
12769 clean-stage2: clean-stage2-gcc
12770 clean-stage2-gcc:
12771 @if [ $(current_stage) = stage2 ]; then \
12772 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12773 else \
12774 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12775 $(MAKE) stage2-start; \
12776 fi; \
12777 cd $(HOST_SUBDIR)/gcc && \
12778 $(MAKE) $(FLAGS_TO_PASS) \
12779 $(POSTSTAGE1_FLAGS_TO_PASS) \
12780 $(EXTRA_GCC_FLAGS) clean
12781 @endif gcc-bootstrap
12784 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12785 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12786 maybe-all-stage3-gcc:
12787 maybe-clean-stage3-gcc:
12788 @if gcc-bootstrap
12789 maybe-all-stage3-gcc: all-stage3-gcc
12790 all-stage3: all-stage3-gcc
12791 TARGET-stage3-gcc = $(TARGET-gcc)
12792 all-stage3-gcc: configure-stage3-gcc
12793 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12794 @r=`${PWD_COMMAND}`; export r; \
12795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 $(HOST_EXPORTS) \
12797 $(POSTSTAGE1_HOST_EXPORTS) \
12798 cd $(HOST_SUBDIR)/gcc && \
12799 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12800 $(TARGET-stage3-gcc)
12802 maybe-clean-stage3-gcc: clean-stage3-gcc
12803 clean-stage3: clean-stage3-gcc
12804 clean-stage3-gcc:
12805 @if [ $(current_stage) = stage3 ]; then \
12806 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12807 else \
12808 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12809 $(MAKE) stage3-start; \
12810 fi; \
12811 cd $(HOST_SUBDIR)/gcc && \
12812 $(MAKE) $(FLAGS_TO_PASS) \
12813 $(POSTSTAGE1_FLAGS_TO_PASS) \
12814 $(EXTRA_GCC_FLAGS) clean
12815 @endif gcc-bootstrap
12818 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12819 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12820 maybe-all-stage4-gcc:
12821 maybe-clean-stage4-gcc:
12822 @if gcc-bootstrap
12823 maybe-all-stage4-gcc: all-stage4-gcc
12824 all-stage4: all-stage4-gcc
12825 TARGET-stage4-gcc = $(TARGET-gcc)
12826 all-stage4-gcc: configure-stage4-gcc
12827 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12828 @r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(HOST_EXPORTS) \
12831 $(POSTSTAGE1_HOST_EXPORTS) \
12832 cd $(HOST_SUBDIR)/gcc && \
12833 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12834 $(TARGET-stage4-gcc)
12836 maybe-clean-stage4-gcc: clean-stage4-gcc
12837 clean-stage4: clean-stage4-gcc
12838 clean-stage4-gcc:
12839 @if [ $(current_stage) = stage4 ]; then \
12840 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12841 else \
12842 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12843 $(MAKE) stage4-start; \
12844 fi; \
12845 cd $(HOST_SUBDIR)/gcc && \
12846 $(MAKE) $(FLAGS_TO_PASS) \
12847 $(POSTSTAGE1_FLAGS_TO_PASS) \
12848 $(EXTRA_GCC_FLAGS) clean
12849 @endif gcc-bootstrap
12852 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12853 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12854 maybe-all-stageprofile-gcc:
12855 maybe-clean-stageprofile-gcc:
12856 @if gcc-bootstrap
12857 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12858 all-stageprofile: all-stageprofile-gcc
12859 TARGET-stageprofile-gcc = $(TARGET-gcc)
12860 all-stageprofile-gcc: configure-stageprofile-gcc
12861 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12862 @r=`${PWD_COMMAND}`; export r; \
12863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12864 $(HOST_EXPORTS) \
12865 $(POSTSTAGE1_HOST_EXPORTS) \
12866 cd $(HOST_SUBDIR)/gcc && \
12867 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12868 $(TARGET-stageprofile-gcc)
12870 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12871 clean-stageprofile: clean-stageprofile-gcc
12872 clean-stageprofile-gcc:
12873 @if [ $(current_stage) = stageprofile ]; then \
12874 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12875 else \
12876 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12877 $(MAKE) stageprofile-start; \
12878 fi; \
12879 cd $(HOST_SUBDIR)/gcc && \
12880 $(MAKE) $(FLAGS_TO_PASS) \
12881 $(POSTSTAGE1_FLAGS_TO_PASS) \
12882 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12883 @endif gcc-bootstrap
12886 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12887 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12888 maybe-all-stagefeedback-gcc:
12889 maybe-clean-stagefeedback-gcc:
12890 @if gcc-bootstrap
12891 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12892 all-stagefeedback: all-stagefeedback-gcc
12893 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12894 all-stagefeedback-gcc: configure-stagefeedback-gcc
12895 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12896 @r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 $(POSTSTAGE1_HOST_EXPORTS) \
12900 cd $(HOST_SUBDIR)/gcc && \
12901 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12902 $(TARGET-stagefeedback-gcc)
12904 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12905 clean-stagefeedback: clean-stagefeedback-gcc
12906 clean-stagefeedback-gcc:
12907 @if [ $(current_stage) = stagefeedback ]; then \
12908 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12909 else \
12910 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12911 $(MAKE) stagefeedback-start; \
12912 fi; \
12913 cd $(HOST_SUBDIR)/gcc && \
12914 $(MAKE) $(FLAGS_TO_PASS) \
12915 $(POSTSTAGE1_FLAGS_TO_PASS) \
12916 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12917 @endif gcc-bootstrap
12923 .PHONY: check-gcc maybe-check-gcc
12924 maybe-check-gcc:
12925 @if gcc
12926 maybe-check-gcc: check-gcc
12928 check-gcc:
12929 @: $(MAKE); $(unstage)
12930 @r=`${PWD_COMMAND}`; export r; \
12931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12932 $(HOST_EXPORTS) \
12933 (cd $(HOST_SUBDIR)/gcc && \
12934 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12936 @endif gcc
12938 .PHONY: install-gcc maybe-install-gcc
12939 maybe-install-gcc:
12940 @if gcc
12941 maybe-install-gcc: install-gcc
12943 install-gcc: installdirs
12944 @: $(MAKE); $(unstage)
12945 @r=`${PWD_COMMAND}`; export r; \
12946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12947 $(HOST_EXPORTS) \
12948 (cd $(HOST_SUBDIR)/gcc && \
12949 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12951 @endif gcc
12953 # Other targets (info, dvi, pdf, etc.)
12955 .PHONY: maybe-info-gcc info-gcc
12956 maybe-info-gcc:
12957 @if gcc
12958 maybe-info-gcc: info-gcc
12960 info-gcc: \
12961 configure-gcc
12962 @[ -f ./gcc/Makefile ] || exit 0; \
12963 r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12965 $(HOST_EXPORTS) \
12966 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12968 done; \
12969 echo "Doing info in gcc" ; \
12970 (cd $(HOST_SUBDIR)/gcc && \
12971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12973 "RANLIB=$${RANLIB}" \
12974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12975 info) \
12976 || exit 1
12978 @endif gcc
12980 .PHONY: maybe-dvi-gcc dvi-gcc
12981 maybe-dvi-gcc:
12982 @if gcc
12983 maybe-dvi-gcc: dvi-gcc
12985 dvi-gcc: \
12986 configure-gcc
12987 @[ -f ./gcc/Makefile ] || exit 0; \
12988 r=`${PWD_COMMAND}`; export r; \
12989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12990 $(HOST_EXPORTS) \
12991 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12993 done; \
12994 echo "Doing dvi in gcc" ; \
12995 (cd $(HOST_SUBDIR)/gcc && \
12996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12998 "RANLIB=$${RANLIB}" \
12999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13000 dvi) \
13001 || exit 1
13003 @endif gcc
13005 .PHONY: maybe-pdf-gcc pdf-gcc
13006 maybe-pdf-gcc:
13007 @if gcc
13008 maybe-pdf-gcc: pdf-gcc
13010 pdf-gcc: \
13011 configure-gcc
13012 @[ -f ./gcc/Makefile ] || exit 0; \
13013 r=`${PWD_COMMAND}`; export r; \
13014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13015 $(HOST_EXPORTS) \
13016 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13018 done; \
13019 echo "Doing pdf in gcc" ; \
13020 (cd $(HOST_SUBDIR)/gcc && \
13021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13023 "RANLIB=$${RANLIB}" \
13024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13025 pdf) \
13026 || exit 1
13028 @endif gcc
13030 .PHONY: maybe-html-gcc html-gcc
13031 maybe-html-gcc:
13032 @if gcc
13033 maybe-html-gcc: html-gcc
13035 html-gcc: \
13036 configure-gcc
13037 @[ -f ./gcc/Makefile ] || exit 0; \
13038 r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040 $(HOST_EXPORTS) \
13041 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13043 done; \
13044 echo "Doing html in gcc" ; \
13045 (cd $(HOST_SUBDIR)/gcc && \
13046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13048 "RANLIB=$${RANLIB}" \
13049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13050 html) \
13051 || exit 1
13053 @endif gcc
13055 .PHONY: maybe-TAGS-gcc TAGS-gcc
13056 maybe-TAGS-gcc:
13057 @if gcc
13058 maybe-TAGS-gcc: TAGS-gcc
13060 TAGS-gcc: \
13061 configure-gcc
13062 @[ -f ./gcc/Makefile ] || exit 0; \
13063 r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 $(HOST_EXPORTS) \
13066 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13068 done; \
13069 echo "Doing TAGS in gcc" ; \
13070 (cd $(HOST_SUBDIR)/gcc && \
13071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13073 "RANLIB=$${RANLIB}" \
13074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13075 TAGS) \
13076 || exit 1
13078 @endif gcc
13080 .PHONY: maybe-install-info-gcc install-info-gcc
13081 maybe-install-info-gcc:
13082 @if gcc
13083 maybe-install-info-gcc: install-info-gcc
13085 install-info-gcc: \
13086 configure-gcc \
13087 info-gcc
13088 @[ -f ./gcc/Makefile ] || exit 0; \
13089 r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13091 $(HOST_EXPORTS) \
13092 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13094 done; \
13095 echo "Doing install-info in gcc" ; \
13096 (cd $(HOST_SUBDIR)/gcc && \
13097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13099 "RANLIB=$${RANLIB}" \
13100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13101 install-info) \
13102 || exit 1
13104 @endif gcc
13106 .PHONY: maybe-install-html-gcc install-html-gcc
13107 maybe-install-html-gcc:
13108 @if gcc
13109 maybe-install-html-gcc: install-html-gcc
13111 install-html-gcc: \
13112 configure-gcc \
13113 html-gcc
13114 @[ -f ./gcc/Makefile ] || exit 0; \
13115 r=`${PWD_COMMAND}`; export r; \
13116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13117 $(HOST_EXPORTS) \
13118 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13120 done; \
13121 echo "Doing install-html in gcc" ; \
13122 (cd $(HOST_SUBDIR)/gcc && \
13123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13125 "RANLIB=$${RANLIB}" \
13126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13127 install-html) \
13128 || exit 1
13130 @endif gcc
13132 .PHONY: maybe-installcheck-gcc installcheck-gcc
13133 maybe-installcheck-gcc:
13134 @if gcc
13135 maybe-installcheck-gcc: installcheck-gcc
13137 installcheck-gcc: \
13138 configure-gcc
13139 @[ -f ./gcc/Makefile ] || exit 0; \
13140 r=`${PWD_COMMAND}`; export r; \
13141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13142 $(HOST_EXPORTS) \
13143 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13145 done; \
13146 echo "Doing installcheck in gcc" ; \
13147 (cd $(HOST_SUBDIR)/gcc && \
13148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13150 "RANLIB=$${RANLIB}" \
13151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13152 installcheck) \
13153 || exit 1
13155 @endif gcc
13157 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13158 maybe-mostlyclean-gcc:
13159 @if gcc
13160 maybe-mostlyclean-gcc: mostlyclean-gcc
13162 mostlyclean-gcc:
13163 @[ -f ./gcc/Makefile ] || exit 0; \
13164 r=`${PWD_COMMAND}`; export r; \
13165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13166 $(HOST_EXPORTS) \
13167 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13169 done; \
13170 echo "Doing mostlyclean in gcc" ; \
13171 (cd $(HOST_SUBDIR)/gcc && \
13172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13174 "RANLIB=$${RANLIB}" \
13175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13176 mostlyclean) \
13177 || exit 1
13179 @endif gcc
13181 .PHONY: maybe-clean-gcc clean-gcc
13182 maybe-clean-gcc:
13183 @if gcc
13184 maybe-clean-gcc: clean-gcc
13186 clean-gcc:
13187 @[ -f ./gcc/Makefile ] || exit 0; \
13188 r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190 $(HOST_EXPORTS) \
13191 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13193 done; \
13194 echo "Doing clean in gcc" ; \
13195 (cd $(HOST_SUBDIR)/gcc && \
13196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13198 "RANLIB=$${RANLIB}" \
13199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13200 clean) \
13201 || exit 1
13203 @endif gcc
13205 .PHONY: maybe-distclean-gcc distclean-gcc
13206 maybe-distclean-gcc:
13207 @if gcc
13208 maybe-distclean-gcc: distclean-gcc
13210 distclean-gcc:
13211 @[ -f ./gcc/Makefile ] || exit 0; \
13212 r=`${PWD_COMMAND}`; export r; \
13213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13214 $(HOST_EXPORTS) \
13215 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13217 done; \
13218 echo "Doing distclean in gcc" ; \
13219 (cd $(HOST_SUBDIR)/gcc && \
13220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13222 "RANLIB=$${RANLIB}" \
13223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13224 distclean) \
13225 || exit 1
13227 @endif gcc
13229 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13230 maybe-maintainer-clean-gcc:
13231 @if gcc
13232 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13234 maintainer-clean-gcc:
13235 @[ -f ./gcc/Makefile ] || exit 0; \
13236 r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13238 $(HOST_EXPORTS) \
13239 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13241 done; \
13242 echo "Doing maintainer-clean in gcc" ; \
13243 (cd $(HOST_SUBDIR)/gcc && \
13244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13246 "RANLIB=$${RANLIB}" \
13247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13248 maintainer-clean) \
13249 || exit 1
13251 @endif gcc
13255 .PHONY: configure-gawk maybe-configure-gawk
13256 maybe-configure-gawk:
13257 @if gcc-bootstrap
13258 configure-gawk: stage_current
13259 @endif gcc-bootstrap
13260 @if gawk
13261 maybe-configure-gawk: configure-gawk
13262 configure-gawk:
13263 @: $(MAKE); $(unstage)
13264 @r=`${PWD_COMMAND}`; export r; \
13265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13266 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13268 $(HOST_EXPORTS) \
13269 echo Configuring in $(HOST_SUBDIR)/gawk; \
13270 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13271 case $(srcdir) in \
13272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13273 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13275 esac; \
13276 srcdiroption="--srcdir=$${topdir}/gawk"; \
13277 libsrcdir="$$s/gawk"; \
13278 $(SHELL) $${libsrcdir}/configure \
13279 $(HOST_CONFIGARGS) $${srcdiroption} \
13280 || exit 1
13281 @endif gawk
13287 .PHONY: all-gawk maybe-all-gawk
13288 maybe-all-gawk:
13289 @if gcc-bootstrap
13290 all-gawk: stage_current
13291 @endif gcc-bootstrap
13292 @if gawk
13293 TARGET-gawk=all
13294 maybe-all-gawk: all-gawk
13295 all-gawk: configure-gawk
13296 @: $(MAKE); $(unstage)
13297 @r=`${PWD_COMMAND}`; export r; \
13298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13299 $(HOST_EXPORTS) \
13300 (cd $(HOST_SUBDIR)/gawk && \
13301 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13302 @endif gawk
13307 .PHONY: check-gawk maybe-check-gawk
13308 maybe-check-gawk:
13309 @if gawk
13310 maybe-check-gawk: check-gawk
13312 check-gawk:
13313 @: $(MAKE); $(unstage)
13314 @r=`${PWD_COMMAND}`; export r; \
13315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13316 $(HOST_EXPORTS) \
13317 (cd $(HOST_SUBDIR)/gawk && \
13318 $(MAKE) $(FLAGS_TO_PASS) check)
13320 @endif gawk
13322 .PHONY: install-gawk maybe-install-gawk
13323 maybe-install-gawk:
13324 @if gawk
13325 maybe-install-gawk: install-gawk
13327 install-gawk: installdirs
13328 @: $(MAKE); $(unstage)
13329 @r=`${PWD_COMMAND}`; export r; \
13330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13331 $(HOST_EXPORTS) \
13332 (cd $(HOST_SUBDIR)/gawk && \
13333 $(MAKE) $(FLAGS_TO_PASS) install)
13335 @endif gawk
13337 # Other targets (info, dvi, pdf, etc.)
13339 .PHONY: maybe-info-gawk info-gawk
13340 maybe-info-gawk:
13341 @if gawk
13342 maybe-info-gawk: info-gawk
13344 info-gawk: \
13345 configure-gawk
13346 @: $(MAKE); $(unstage)
13347 @[ -f ./gawk/Makefile ] || exit 0; \
13348 r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(HOST_EXPORTS) \
13351 for flag in $(EXTRA_HOST_FLAGS) ; do \
13352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13353 done; \
13354 echo "Doing info in gawk" ; \
13355 (cd $(HOST_SUBDIR)/gawk && \
13356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13358 "RANLIB=$${RANLIB}" \
13359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13360 info) \
13361 || exit 1
13363 @endif gawk
13365 .PHONY: maybe-dvi-gawk dvi-gawk
13366 maybe-dvi-gawk:
13367 @if gawk
13368 maybe-dvi-gawk: dvi-gawk
13370 dvi-gawk: \
13371 configure-gawk
13372 @: $(MAKE); $(unstage)
13373 @[ -f ./gawk/Makefile ] || exit 0; \
13374 r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 $(HOST_EXPORTS) \
13377 for flag in $(EXTRA_HOST_FLAGS) ; do \
13378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13379 done; \
13380 echo "Doing dvi in gawk" ; \
13381 (cd $(HOST_SUBDIR)/gawk && \
13382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13384 "RANLIB=$${RANLIB}" \
13385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13386 dvi) \
13387 || exit 1
13389 @endif gawk
13391 .PHONY: maybe-pdf-gawk pdf-gawk
13392 maybe-pdf-gawk:
13393 @if gawk
13394 maybe-pdf-gawk: pdf-gawk
13396 pdf-gawk: \
13397 configure-gawk
13398 @: $(MAKE); $(unstage)
13399 @[ -f ./gawk/Makefile ] || exit 0; \
13400 r=`${PWD_COMMAND}`; export r; \
13401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402 $(HOST_EXPORTS) \
13403 for flag in $(EXTRA_HOST_FLAGS) ; do \
13404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13405 done; \
13406 echo "Doing pdf in gawk" ; \
13407 (cd $(HOST_SUBDIR)/gawk && \
13408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13410 "RANLIB=$${RANLIB}" \
13411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13412 pdf) \
13413 || exit 1
13415 @endif gawk
13417 .PHONY: maybe-html-gawk html-gawk
13418 maybe-html-gawk:
13419 @if gawk
13420 maybe-html-gawk: html-gawk
13422 html-gawk: \
13423 configure-gawk
13424 @: $(MAKE); $(unstage)
13425 @[ -f ./gawk/Makefile ] || exit 0; \
13426 r=`${PWD_COMMAND}`; export r; \
13427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13428 $(HOST_EXPORTS) \
13429 for flag in $(EXTRA_HOST_FLAGS) ; do \
13430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13431 done; \
13432 echo "Doing html in gawk" ; \
13433 (cd $(HOST_SUBDIR)/gawk && \
13434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13436 "RANLIB=$${RANLIB}" \
13437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13438 html) \
13439 || exit 1
13441 @endif gawk
13443 .PHONY: maybe-TAGS-gawk TAGS-gawk
13444 maybe-TAGS-gawk:
13445 @if gawk
13446 maybe-TAGS-gawk: TAGS-gawk
13448 TAGS-gawk: \
13449 configure-gawk
13450 @: $(MAKE); $(unstage)
13451 @[ -f ./gawk/Makefile ] || exit 0; \
13452 r=`${PWD_COMMAND}`; export r; \
13453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13454 $(HOST_EXPORTS) \
13455 for flag in $(EXTRA_HOST_FLAGS) ; do \
13456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13457 done; \
13458 echo "Doing TAGS in gawk" ; \
13459 (cd $(HOST_SUBDIR)/gawk && \
13460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13462 "RANLIB=$${RANLIB}" \
13463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13464 TAGS) \
13465 || exit 1
13467 @endif gawk
13469 .PHONY: maybe-install-info-gawk install-info-gawk
13470 maybe-install-info-gawk:
13471 @if gawk
13472 maybe-install-info-gawk: install-info-gawk
13474 install-info-gawk: \
13475 configure-gawk \
13476 info-gawk
13477 @: $(MAKE); $(unstage)
13478 @[ -f ./gawk/Makefile ] || exit 0; \
13479 r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(HOST_EXPORTS) \
13482 for flag in $(EXTRA_HOST_FLAGS) ; do \
13483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13484 done; \
13485 echo "Doing install-info in gawk" ; \
13486 (cd $(HOST_SUBDIR)/gawk && \
13487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13489 "RANLIB=$${RANLIB}" \
13490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13491 install-info) \
13492 || exit 1
13494 @endif gawk
13496 .PHONY: maybe-install-html-gawk install-html-gawk
13497 maybe-install-html-gawk:
13498 @if gawk
13499 maybe-install-html-gawk: install-html-gawk
13501 install-html-gawk: \
13502 configure-gawk \
13503 html-gawk
13504 @: $(MAKE); $(unstage)
13505 @[ -f ./gawk/Makefile ] || exit 0; \
13506 r=`${PWD_COMMAND}`; export r; \
13507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13508 $(HOST_EXPORTS) \
13509 for flag in $(EXTRA_HOST_FLAGS) ; do \
13510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13511 done; \
13512 echo "Doing install-html in gawk" ; \
13513 (cd $(HOST_SUBDIR)/gawk && \
13514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13516 "RANLIB=$${RANLIB}" \
13517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13518 install-html) \
13519 || exit 1
13521 @endif gawk
13523 .PHONY: maybe-installcheck-gawk installcheck-gawk
13524 maybe-installcheck-gawk:
13525 @if gawk
13526 maybe-installcheck-gawk: installcheck-gawk
13528 installcheck-gawk: \
13529 configure-gawk
13530 @: $(MAKE); $(unstage)
13531 @[ -f ./gawk/Makefile ] || exit 0; \
13532 r=`${PWD_COMMAND}`; export r; \
13533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13534 $(HOST_EXPORTS) \
13535 for flag in $(EXTRA_HOST_FLAGS) ; do \
13536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13537 done; \
13538 echo "Doing installcheck in gawk" ; \
13539 (cd $(HOST_SUBDIR)/gawk && \
13540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13542 "RANLIB=$${RANLIB}" \
13543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13544 installcheck) \
13545 || exit 1
13547 @endif gawk
13549 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13550 maybe-mostlyclean-gawk:
13551 @if gawk
13552 maybe-mostlyclean-gawk: mostlyclean-gawk
13554 mostlyclean-gawk:
13555 @: $(MAKE); $(unstage)
13556 @[ -f ./gawk/Makefile ] || exit 0; \
13557 r=`${PWD_COMMAND}`; export r; \
13558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13559 $(HOST_EXPORTS) \
13560 for flag in $(EXTRA_HOST_FLAGS) ; do \
13561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13562 done; \
13563 echo "Doing mostlyclean in gawk" ; \
13564 (cd $(HOST_SUBDIR)/gawk && \
13565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13567 "RANLIB=$${RANLIB}" \
13568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13569 mostlyclean) \
13570 || exit 1
13572 @endif gawk
13574 .PHONY: maybe-clean-gawk clean-gawk
13575 maybe-clean-gawk:
13576 @if gawk
13577 maybe-clean-gawk: clean-gawk
13579 clean-gawk:
13580 @: $(MAKE); $(unstage)
13581 @[ -f ./gawk/Makefile ] || exit 0; \
13582 r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584 $(HOST_EXPORTS) \
13585 for flag in $(EXTRA_HOST_FLAGS) ; do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 echo "Doing clean in gawk" ; \
13589 (cd $(HOST_SUBDIR)/gawk && \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13594 clean) \
13595 || exit 1
13597 @endif gawk
13599 .PHONY: maybe-distclean-gawk distclean-gawk
13600 maybe-distclean-gawk:
13601 @if gawk
13602 maybe-distclean-gawk: distclean-gawk
13604 distclean-gawk:
13605 @: $(MAKE); $(unstage)
13606 @[ -f ./gawk/Makefile ] || exit 0; \
13607 r=`${PWD_COMMAND}`; export r; \
13608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13609 $(HOST_EXPORTS) \
13610 for flag in $(EXTRA_HOST_FLAGS) ; do \
13611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13612 done; \
13613 echo "Doing distclean in gawk" ; \
13614 (cd $(HOST_SUBDIR)/gawk && \
13615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13617 "RANLIB=$${RANLIB}" \
13618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13619 distclean) \
13620 || exit 1
13622 @endif gawk
13624 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13625 maybe-maintainer-clean-gawk:
13626 @if gawk
13627 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13629 maintainer-clean-gawk:
13630 @: $(MAKE); $(unstage)
13631 @[ -f ./gawk/Makefile ] || exit 0; \
13632 r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 $(HOST_EXPORTS) \
13635 for flag in $(EXTRA_HOST_FLAGS) ; do \
13636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13637 done; \
13638 echo "Doing maintainer-clean in gawk" ; \
13639 (cd $(HOST_SUBDIR)/gawk && \
13640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13642 "RANLIB=$${RANLIB}" \
13643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 maintainer-clean) \
13645 || exit 1
13647 @endif gawk
13651 .PHONY: configure-gettext maybe-configure-gettext
13652 maybe-configure-gettext:
13653 @if gcc-bootstrap
13654 configure-gettext: stage_current
13655 @endif gcc-bootstrap
13656 @if gettext
13657 maybe-configure-gettext: configure-gettext
13658 configure-gettext:
13659 @: $(MAKE); $(unstage)
13660 @r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13664 $(HOST_EXPORTS) \
13665 echo Configuring in $(HOST_SUBDIR)/gettext; \
13666 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13667 case $(srcdir) in \
13668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13669 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13671 esac; \
13672 srcdiroption="--srcdir=$${topdir}/gettext"; \
13673 libsrcdir="$$s/gettext"; \
13674 $(SHELL) $${libsrcdir}/configure \
13675 $(HOST_CONFIGARGS) $${srcdiroption} \
13676 || exit 1
13677 @endif gettext
13683 .PHONY: all-gettext maybe-all-gettext
13684 maybe-all-gettext:
13685 @if gcc-bootstrap
13686 all-gettext: stage_current
13687 @endif gcc-bootstrap
13688 @if gettext
13689 TARGET-gettext=all
13690 maybe-all-gettext: all-gettext
13691 all-gettext: configure-gettext
13692 @: $(MAKE); $(unstage)
13693 @r=`${PWD_COMMAND}`; export r; \
13694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13695 $(HOST_EXPORTS) \
13696 (cd $(HOST_SUBDIR)/gettext && \
13697 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13698 @endif gettext
13703 .PHONY: check-gettext maybe-check-gettext
13704 maybe-check-gettext:
13705 @if gettext
13706 maybe-check-gettext: check-gettext
13708 check-gettext:
13709 @: $(MAKE); $(unstage)
13710 @r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 $(HOST_EXPORTS) \
13713 (cd $(HOST_SUBDIR)/gettext && \
13714 $(MAKE) $(FLAGS_TO_PASS) check)
13716 @endif gettext
13718 .PHONY: install-gettext maybe-install-gettext
13719 maybe-install-gettext:
13720 @if gettext
13721 maybe-install-gettext: install-gettext
13723 install-gettext: installdirs
13724 @: $(MAKE); $(unstage)
13725 @r=`${PWD_COMMAND}`; export r; \
13726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13727 $(HOST_EXPORTS) \
13728 (cd $(HOST_SUBDIR)/gettext && \
13729 $(MAKE) $(FLAGS_TO_PASS) install)
13731 @endif gettext
13733 # Other targets (info, dvi, pdf, etc.)
13735 .PHONY: maybe-info-gettext info-gettext
13736 maybe-info-gettext:
13737 @if gettext
13738 maybe-info-gettext: info-gettext
13740 info-gettext: \
13741 configure-gettext
13742 @: $(MAKE); $(unstage)
13743 @[ -f ./gettext/Makefile ] || exit 0; \
13744 r=`${PWD_COMMAND}`; export r; \
13745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13746 $(HOST_EXPORTS) \
13747 for flag in $(EXTRA_HOST_FLAGS) ; do \
13748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13749 done; \
13750 echo "Doing info in gettext" ; \
13751 (cd $(HOST_SUBDIR)/gettext && \
13752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13754 "RANLIB=$${RANLIB}" \
13755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13756 info) \
13757 || exit 1
13759 @endif gettext
13761 .PHONY: maybe-dvi-gettext dvi-gettext
13762 maybe-dvi-gettext:
13763 @if gettext
13764 maybe-dvi-gettext: dvi-gettext
13766 dvi-gettext: \
13767 configure-gettext
13768 @: $(MAKE); $(unstage)
13769 @[ -f ./gettext/Makefile ] || exit 0; \
13770 r=`${PWD_COMMAND}`; export r; \
13771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13772 $(HOST_EXPORTS) \
13773 for flag in $(EXTRA_HOST_FLAGS) ; do \
13774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13775 done; \
13776 echo "Doing dvi in gettext" ; \
13777 (cd $(HOST_SUBDIR)/gettext && \
13778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13780 "RANLIB=$${RANLIB}" \
13781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13782 dvi) \
13783 || exit 1
13785 @endif gettext
13787 .PHONY: maybe-pdf-gettext pdf-gettext
13788 maybe-pdf-gettext:
13789 @if gettext
13790 maybe-pdf-gettext: pdf-gettext
13792 pdf-gettext: \
13793 configure-gettext
13794 @: $(MAKE); $(unstage)
13795 @[ -f ./gettext/Makefile ] || exit 0; \
13796 r=`${PWD_COMMAND}`; export r; \
13797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13798 $(HOST_EXPORTS) \
13799 for flag in $(EXTRA_HOST_FLAGS) ; do \
13800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13801 done; \
13802 echo "Doing pdf in gettext" ; \
13803 (cd $(HOST_SUBDIR)/gettext && \
13804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13806 "RANLIB=$${RANLIB}" \
13807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13808 pdf) \
13809 || exit 1
13811 @endif gettext
13813 .PHONY: maybe-html-gettext html-gettext
13814 maybe-html-gettext:
13815 @if gettext
13816 maybe-html-gettext: html-gettext
13818 html-gettext: \
13819 configure-gettext
13820 @: $(MAKE); $(unstage)
13821 @[ -f ./gettext/Makefile ] || exit 0; \
13822 r=`${PWD_COMMAND}`; export r; \
13823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13824 $(HOST_EXPORTS) \
13825 for flag in $(EXTRA_HOST_FLAGS) ; do \
13826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13827 done; \
13828 echo "Doing html in gettext" ; \
13829 (cd $(HOST_SUBDIR)/gettext && \
13830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13832 "RANLIB=$${RANLIB}" \
13833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13834 html) \
13835 || exit 1
13837 @endif gettext
13839 .PHONY: maybe-TAGS-gettext TAGS-gettext
13840 maybe-TAGS-gettext:
13841 @if gettext
13842 maybe-TAGS-gettext: TAGS-gettext
13844 TAGS-gettext: \
13845 configure-gettext
13846 @: $(MAKE); $(unstage)
13847 @[ -f ./gettext/Makefile ] || exit 0; \
13848 r=`${PWD_COMMAND}`; export r; \
13849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13850 $(HOST_EXPORTS) \
13851 for flag in $(EXTRA_HOST_FLAGS) ; do \
13852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13853 done; \
13854 echo "Doing TAGS in gettext" ; \
13855 (cd $(HOST_SUBDIR)/gettext && \
13856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13858 "RANLIB=$${RANLIB}" \
13859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13860 TAGS) \
13861 || exit 1
13863 @endif gettext
13865 .PHONY: maybe-install-info-gettext install-info-gettext
13866 maybe-install-info-gettext:
13867 @if gettext
13868 maybe-install-info-gettext: install-info-gettext
13870 install-info-gettext: \
13871 configure-gettext \
13872 info-gettext
13873 @: $(MAKE); $(unstage)
13874 @[ -f ./gettext/Makefile ] || exit 0; \
13875 r=`${PWD_COMMAND}`; export r; \
13876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13877 $(HOST_EXPORTS) \
13878 for flag in $(EXTRA_HOST_FLAGS) ; do \
13879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13880 done; \
13881 echo "Doing install-info in gettext" ; \
13882 (cd $(HOST_SUBDIR)/gettext && \
13883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13885 "RANLIB=$${RANLIB}" \
13886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13887 install-info) \
13888 || exit 1
13890 @endif gettext
13892 .PHONY: maybe-install-html-gettext install-html-gettext
13893 maybe-install-html-gettext:
13894 @if gettext
13895 maybe-install-html-gettext: install-html-gettext
13897 install-html-gettext: \
13898 configure-gettext \
13899 html-gettext
13900 @: $(MAKE); $(unstage)
13901 @[ -f ./gettext/Makefile ] || exit 0; \
13902 r=`${PWD_COMMAND}`; export r; \
13903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13904 $(HOST_EXPORTS) \
13905 for flag in $(EXTRA_HOST_FLAGS) ; do \
13906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13907 done; \
13908 echo "Doing install-html in gettext" ; \
13909 (cd $(HOST_SUBDIR)/gettext && \
13910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13912 "RANLIB=$${RANLIB}" \
13913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13914 install-html) \
13915 || exit 1
13917 @endif gettext
13919 .PHONY: maybe-installcheck-gettext installcheck-gettext
13920 maybe-installcheck-gettext:
13921 @if gettext
13922 maybe-installcheck-gettext: installcheck-gettext
13924 installcheck-gettext: \
13925 configure-gettext
13926 @: $(MAKE); $(unstage)
13927 @[ -f ./gettext/Makefile ] || exit 0; \
13928 r=`${PWD_COMMAND}`; export r; \
13929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13930 $(HOST_EXPORTS) \
13931 for flag in $(EXTRA_HOST_FLAGS) ; do \
13932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13933 done; \
13934 echo "Doing installcheck in gettext" ; \
13935 (cd $(HOST_SUBDIR)/gettext && \
13936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13938 "RANLIB=$${RANLIB}" \
13939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13940 installcheck) \
13941 || exit 1
13943 @endif gettext
13945 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13946 maybe-mostlyclean-gettext:
13947 @if gettext
13948 maybe-mostlyclean-gettext: mostlyclean-gettext
13950 mostlyclean-gettext:
13951 @: $(MAKE); $(unstage)
13952 @[ -f ./gettext/Makefile ] || exit 0; \
13953 r=`${PWD_COMMAND}`; export r; \
13954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13955 $(HOST_EXPORTS) \
13956 for flag in $(EXTRA_HOST_FLAGS) ; do \
13957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13958 done; \
13959 echo "Doing mostlyclean in gettext" ; \
13960 (cd $(HOST_SUBDIR)/gettext && \
13961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13963 "RANLIB=$${RANLIB}" \
13964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13965 mostlyclean) \
13966 || exit 1
13968 @endif gettext
13970 .PHONY: maybe-clean-gettext clean-gettext
13971 maybe-clean-gettext:
13972 @if gettext
13973 maybe-clean-gettext: clean-gettext
13975 clean-gettext:
13976 @: $(MAKE); $(unstage)
13977 @[ -f ./gettext/Makefile ] || exit 0; \
13978 r=`${PWD_COMMAND}`; export r; \
13979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13980 $(HOST_EXPORTS) \
13981 for flag in $(EXTRA_HOST_FLAGS) ; do \
13982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13983 done; \
13984 echo "Doing clean in gettext" ; \
13985 (cd $(HOST_SUBDIR)/gettext && \
13986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13988 "RANLIB=$${RANLIB}" \
13989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13990 clean) \
13991 || exit 1
13993 @endif gettext
13995 .PHONY: maybe-distclean-gettext distclean-gettext
13996 maybe-distclean-gettext:
13997 @if gettext
13998 maybe-distclean-gettext: distclean-gettext
14000 distclean-gettext:
14001 @: $(MAKE); $(unstage)
14002 @[ -f ./gettext/Makefile ] || exit 0; \
14003 r=`${PWD_COMMAND}`; export r; \
14004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14005 $(HOST_EXPORTS) \
14006 for flag in $(EXTRA_HOST_FLAGS) ; do \
14007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14008 done; \
14009 echo "Doing distclean in gettext" ; \
14010 (cd $(HOST_SUBDIR)/gettext && \
14011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14013 "RANLIB=$${RANLIB}" \
14014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14015 distclean) \
14016 || exit 1
14018 @endif gettext
14020 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14021 maybe-maintainer-clean-gettext:
14022 @if gettext
14023 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14025 maintainer-clean-gettext:
14026 @: $(MAKE); $(unstage)
14027 @[ -f ./gettext/Makefile ] || exit 0; \
14028 r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030 $(HOST_EXPORTS) \
14031 for flag in $(EXTRA_HOST_FLAGS) ; do \
14032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14033 done; \
14034 echo "Doing maintainer-clean in gettext" ; \
14035 (cd $(HOST_SUBDIR)/gettext && \
14036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14038 "RANLIB=$${RANLIB}" \
14039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14040 maintainer-clean) \
14041 || exit 1
14043 @endif gettext
14047 .PHONY: configure-gnuserv maybe-configure-gnuserv
14048 maybe-configure-gnuserv:
14049 @if gcc-bootstrap
14050 configure-gnuserv: stage_current
14051 @endif gcc-bootstrap
14052 @if gnuserv
14053 maybe-configure-gnuserv: configure-gnuserv
14054 configure-gnuserv:
14055 @: $(MAKE); $(unstage)
14056 @r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
14059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
14060 $(HOST_EXPORTS) \
14061 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
14062 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
14063 case $(srcdir) in \
14064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14065 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
14066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14067 esac; \
14068 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
14069 libsrcdir="$$s/gnuserv"; \
14070 $(SHELL) $${libsrcdir}/configure \
14071 $(HOST_CONFIGARGS) $${srcdiroption} \
14072 || exit 1
14073 @endif gnuserv
14079 .PHONY: all-gnuserv maybe-all-gnuserv
14080 maybe-all-gnuserv:
14081 @if gcc-bootstrap
14082 all-gnuserv: stage_current
14083 @endif gcc-bootstrap
14084 @if gnuserv
14085 TARGET-gnuserv=all
14086 maybe-all-gnuserv: all-gnuserv
14087 all-gnuserv: configure-gnuserv
14088 @: $(MAKE); $(unstage)
14089 @r=`${PWD_COMMAND}`; export r; \
14090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14091 $(HOST_EXPORTS) \
14092 (cd $(HOST_SUBDIR)/gnuserv && \
14093 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14094 @endif gnuserv
14099 .PHONY: check-gnuserv maybe-check-gnuserv
14100 maybe-check-gnuserv:
14101 @if gnuserv
14102 maybe-check-gnuserv: check-gnuserv
14104 check-gnuserv:
14105 @: $(MAKE); $(unstage)
14106 @r=`${PWD_COMMAND}`; export r; \
14107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14108 $(HOST_EXPORTS) \
14109 (cd $(HOST_SUBDIR)/gnuserv && \
14110 $(MAKE) $(FLAGS_TO_PASS) check)
14112 @endif gnuserv
14114 .PHONY: install-gnuserv maybe-install-gnuserv
14115 maybe-install-gnuserv:
14116 @if gnuserv
14117 maybe-install-gnuserv: install-gnuserv
14119 install-gnuserv: installdirs
14120 @: $(MAKE); $(unstage)
14121 @r=`${PWD_COMMAND}`; export r; \
14122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14123 $(HOST_EXPORTS) \
14124 (cd $(HOST_SUBDIR)/gnuserv && \
14125 $(MAKE) $(FLAGS_TO_PASS) install)
14127 @endif gnuserv
14129 # Other targets (info, dvi, pdf, etc.)
14131 .PHONY: maybe-info-gnuserv info-gnuserv
14132 maybe-info-gnuserv:
14133 @if gnuserv
14134 maybe-info-gnuserv: info-gnuserv
14136 info-gnuserv: \
14137 configure-gnuserv
14138 @: $(MAKE); $(unstage)
14139 @[ -f ./gnuserv/Makefile ] || exit 0; \
14140 r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 $(HOST_EXPORTS) \
14143 for flag in $(EXTRA_HOST_FLAGS) ; do \
14144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14145 done; \
14146 echo "Doing info in gnuserv" ; \
14147 (cd $(HOST_SUBDIR)/gnuserv && \
14148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14150 "RANLIB=$${RANLIB}" \
14151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14152 info) \
14153 || exit 1
14155 @endif gnuserv
14157 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14158 maybe-dvi-gnuserv:
14159 @if gnuserv
14160 maybe-dvi-gnuserv: dvi-gnuserv
14162 dvi-gnuserv: \
14163 configure-gnuserv
14164 @: $(MAKE); $(unstage)
14165 @[ -f ./gnuserv/Makefile ] || exit 0; \
14166 r=`${PWD_COMMAND}`; export r; \
14167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14168 $(HOST_EXPORTS) \
14169 for flag in $(EXTRA_HOST_FLAGS) ; do \
14170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14171 done; \
14172 echo "Doing dvi in gnuserv" ; \
14173 (cd $(HOST_SUBDIR)/gnuserv && \
14174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14176 "RANLIB=$${RANLIB}" \
14177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14178 dvi) \
14179 || exit 1
14181 @endif gnuserv
14183 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14184 maybe-pdf-gnuserv:
14185 @if gnuserv
14186 maybe-pdf-gnuserv: pdf-gnuserv
14188 pdf-gnuserv: \
14189 configure-gnuserv
14190 @: $(MAKE); $(unstage)
14191 @[ -f ./gnuserv/Makefile ] || exit 0; \
14192 r=`${PWD_COMMAND}`; export r; \
14193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14194 $(HOST_EXPORTS) \
14195 for flag in $(EXTRA_HOST_FLAGS) ; do \
14196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14197 done; \
14198 echo "Doing pdf in gnuserv" ; \
14199 (cd $(HOST_SUBDIR)/gnuserv && \
14200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14202 "RANLIB=$${RANLIB}" \
14203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14204 pdf) \
14205 || exit 1
14207 @endif gnuserv
14209 .PHONY: maybe-html-gnuserv html-gnuserv
14210 maybe-html-gnuserv:
14211 @if gnuserv
14212 maybe-html-gnuserv: html-gnuserv
14214 html-gnuserv: \
14215 configure-gnuserv
14216 @: $(MAKE); $(unstage)
14217 @[ -f ./gnuserv/Makefile ] || exit 0; \
14218 r=`${PWD_COMMAND}`; export r; \
14219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14220 $(HOST_EXPORTS) \
14221 for flag in $(EXTRA_HOST_FLAGS) ; do \
14222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14223 done; \
14224 echo "Doing html in gnuserv" ; \
14225 (cd $(HOST_SUBDIR)/gnuserv && \
14226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14228 "RANLIB=$${RANLIB}" \
14229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14230 html) \
14231 || exit 1
14233 @endif gnuserv
14235 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14236 maybe-TAGS-gnuserv:
14237 @if gnuserv
14238 maybe-TAGS-gnuserv: TAGS-gnuserv
14240 TAGS-gnuserv: \
14241 configure-gnuserv
14242 @: $(MAKE); $(unstage)
14243 @[ -f ./gnuserv/Makefile ] || exit 0; \
14244 r=`${PWD_COMMAND}`; export r; \
14245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14246 $(HOST_EXPORTS) \
14247 for flag in $(EXTRA_HOST_FLAGS) ; do \
14248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14249 done; \
14250 echo "Doing TAGS in gnuserv" ; \
14251 (cd $(HOST_SUBDIR)/gnuserv && \
14252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14254 "RANLIB=$${RANLIB}" \
14255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14256 TAGS) \
14257 || exit 1
14259 @endif gnuserv
14261 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14262 maybe-install-info-gnuserv:
14263 @if gnuserv
14264 maybe-install-info-gnuserv: install-info-gnuserv
14266 install-info-gnuserv: \
14267 configure-gnuserv \
14268 info-gnuserv
14269 @: $(MAKE); $(unstage)
14270 @[ -f ./gnuserv/Makefile ] || exit 0; \
14271 r=`${PWD_COMMAND}`; export r; \
14272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14273 $(HOST_EXPORTS) \
14274 for flag in $(EXTRA_HOST_FLAGS) ; do \
14275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14276 done; \
14277 echo "Doing install-info in gnuserv" ; \
14278 (cd $(HOST_SUBDIR)/gnuserv && \
14279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14281 "RANLIB=$${RANLIB}" \
14282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14283 install-info) \
14284 || exit 1
14286 @endif gnuserv
14288 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14289 maybe-install-html-gnuserv:
14290 @if gnuserv
14291 maybe-install-html-gnuserv: install-html-gnuserv
14293 install-html-gnuserv: \
14294 configure-gnuserv \
14295 html-gnuserv
14296 @: $(MAKE); $(unstage)
14297 @[ -f ./gnuserv/Makefile ] || exit 0; \
14298 r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 $(HOST_EXPORTS) \
14301 for flag in $(EXTRA_HOST_FLAGS) ; do \
14302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14303 done; \
14304 echo "Doing install-html in gnuserv" ; \
14305 (cd $(HOST_SUBDIR)/gnuserv && \
14306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14308 "RANLIB=$${RANLIB}" \
14309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14310 install-html) \
14311 || exit 1
14313 @endif gnuserv
14315 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14316 maybe-installcheck-gnuserv:
14317 @if gnuserv
14318 maybe-installcheck-gnuserv: installcheck-gnuserv
14320 installcheck-gnuserv: \
14321 configure-gnuserv
14322 @: $(MAKE); $(unstage)
14323 @[ -f ./gnuserv/Makefile ] || exit 0; \
14324 r=`${PWD_COMMAND}`; export r; \
14325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14326 $(HOST_EXPORTS) \
14327 for flag in $(EXTRA_HOST_FLAGS) ; do \
14328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14329 done; \
14330 echo "Doing installcheck in gnuserv" ; \
14331 (cd $(HOST_SUBDIR)/gnuserv && \
14332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14334 "RANLIB=$${RANLIB}" \
14335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14336 installcheck) \
14337 || exit 1
14339 @endif gnuserv
14341 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14342 maybe-mostlyclean-gnuserv:
14343 @if gnuserv
14344 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14346 mostlyclean-gnuserv:
14347 @: $(MAKE); $(unstage)
14348 @[ -f ./gnuserv/Makefile ] || exit 0; \
14349 r=`${PWD_COMMAND}`; export r; \
14350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14351 $(HOST_EXPORTS) \
14352 for flag in $(EXTRA_HOST_FLAGS) ; do \
14353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14354 done; \
14355 echo "Doing mostlyclean in gnuserv" ; \
14356 (cd $(HOST_SUBDIR)/gnuserv && \
14357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14359 "RANLIB=$${RANLIB}" \
14360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14361 mostlyclean) \
14362 || exit 1
14364 @endif gnuserv
14366 .PHONY: maybe-clean-gnuserv clean-gnuserv
14367 maybe-clean-gnuserv:
14368 @if gnuserv
14369 maybe-clean-gnuserv: clean-gnuserv
14371 clean-gnuserv:
14372 @: $(MAKE); $(unstage)
14373 @[ -f ./gnuserv/Makefile ] || exit 0; \
14374 r=`${PWD_COMMAND}`; export r; \
14375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14376 $(HOST_EXPORTS) \
14377 for flag in $(EXTRA_HOST_FLAGS) ; do \
14378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14379 done; \
14380 echo "Doing clean in gnuserv" ; \
14381 (cd $(HOST_SUBDIR)/gnuserv && \
14382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14384 "RANLIB=$${RANLIB}" \
14385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14386 clean) \
14387 || exit 1
14389 @endif gnuserv
14391 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14392 maybe-distclean-gnuserv:
14393 @if gnuserv
14394 maybe-distclean-gnuserv: distclean-gnuserv
14396 distclean-gnuserv:
14397 @: $(MAKE); $(unstage)
14398 @[ -f ./gnuserv/Makefile ] || exit 0; \
14399 r=`${PWD_COMMAND}`; export r; \
14400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14401 $(HOST_EXPORTS) \
14402 for flag in $(EXTRA_HOST_FLAGS) ; do \
14403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14404 done; \
14405 echo "Doing distclean in gnuserv" ; \
14406 (cd $(HOST_SUBDIR)/gnuserv && \
14407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14409 "RANLIB=$${RANLIB}" \
14410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14411 distclean) \
14412 || exit 1
14414 @endif gnuserv
14416 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14417 maybe-maintainer-clean-gnuserv:
14418 @if gnuserv
14419 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14421 maintainer-clean-gnuserv:
14422 @: $(MAKE); $(unstage)
14423 @[ -f ./gnuserv/Makefile ] || exit 0; \
14424 r=`${PWD_COMMAND}`; export r; \
14425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14426 $(HOST_EXPORTS) \
14427 for flag in $(EXTRA_HOST_FLAGS) ; do \
14428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14429 done; \
14430 echo "Doing maintainer-clean in gnuserv" ; \
14431 (cd $(HOST_SUBDIR)/gnuserv && \
14432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14434 "RANLIB=$${RANLIB}" \
14435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14436 maintainer-clean) \
14437 || exit 1
14439 @endif gnuserv
14443 .PHONY: configure-gprof maybe-configure-gprof
14444 maybe-configure-gprof:
14445 @if gcc-bootstrap
14446 configure-gprof: stage_current
14447 @endif gcc-bootstrap
14448 @if gprof
14449 maybe-configure-gprof: configure-gprof
14450 configure-gprof:
14451 @: $(MAKE); $(unstage)
14452 @r=`${PWD_COMMAND}`; export r; \
14453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14454 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14456 $(HOST_EXPORTS) \
14457 echo Configuring in $(HOST_SUBDIR)/gprof; \
14458 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14459 case $(srcdir) in \
14460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14461 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14463 esac; \
14464 srcdiroption="--srcdir=$${topdir}/gprof"; \
14465 libsrcdir="$$s/gprof"; \
14466 $(SHELL) $${libsrcdir}/configure \
14467 $(HOST_CONFIGARGS) $${srcdiroption} \
14468 || exit 1
14469 @endif gprof
14475 .PHONY: all-gprof maybe-all-gprof
14476 maybe-all-gprof:
14477 @if gcc-bootstrap
14478 all-gprof: stage_current
14479 @endif gcc-bootstrap
14480 @if gprof
14481 TARGET-gprof=all
14482 maybe-all-gprof: all-gprof
14483 all-gprof: configure-gprof
14484 @: $(MAKE); $(unstage)
14485 @r=`${PWD_COMMAND}`; export r; \
14486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14487 $(HOST_EXPORTS) \
14488 (cd $(HOST_SUBDIR)/gprof && \
14489 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14490 @endif gprof
14495 .PHONY: check-gprof maybe-check-gprof
14496 maybe-check-gprof:
14497 @if gprof
14498 maybe-check-gprof: check-gprof
14500 check-gprof:
14501 @: $(MAKE); $(unstage)
14502 @r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 (cd $(HOST_SUBDIR)/gprof && \
14506 $(MAKE) $(FLAGS_TO_PASS) check)
14508 @endif gprof
14510 .PHONY: install-gprof maybe-install-gprof
14511 maybe-install-gprof:
14512 @if gprof
14513 maybe-install-gprof: install-gprof
14515 install-gprof: installdirs
14516 @: $(MAKE); $(unstage)
14517 @r=`${PWD_COMMAND}`; export r; \
14518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14519 $(HOST_EXPORTS) \
14520 (cd $(HOST_SUBDIR)/gprof && \
14521 $(MAKE) $(FLAGS_TO_PASS) install)
14523 @endif gprof
14525 # Other targets (info, dvi, pdf, etc.)
14527 .PHONY: maybe-info-gprof info-gprof
14528 maybe-info-gprof:
14529 @if gprof
14530 maybe-info-gprof: info-gprof
14532 info-gprof: \
14533 configure-gprof
14534 @: $(MAKE); $(unstage)
14535 @[ -f ./gprof/Makefile ] || exit 0; \
14536 r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(HOST_EXPORTS) \
14539 for flag in $(EXTRA_HOST_FLAGS) ; do \
14540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14541 done; \
14542 echo "Doing info in gprof" ; \
14543 (cd $(HOST_SUBDIR)/gprof && \
14544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14546 "RANLIB=$${RANLIB}" \
14547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14548 info) \
14549 || exit 1
14551 @endif gprof
14553 .PHONY: maybe-dvi-gprof dvi-gprof
14554 maybe-dvi-gprof:
14555 @if gprof
14556 maybe-dvi-gprof: dvi-gprof
14558 dvi-gprof: \
14559 configure-gprof
14560 @: $(MAKE); $(unstage)
14561 @[ -f ./gprof/Makefile ] || exit 0; \
14562 r=`${PWD_COMMAND}`; export r; \
14563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14564 $(HOST_EXPORTS) \
14565 for flag in $(EXTRA_HOST_FLAGS) ; do \
14566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14567 done; \
14568 echo "Doing dvi in gprof" ; \
14569 (cd $(HOST_SUBDIR)/gprof && \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572 "RANLIB=$${RANLIB}" \
14573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14574 dvi) \
14575 || exit 1
14577 @endif gprof
14579 .PHONY: maybe-pdf-gprof pdf-gprof
14580 maybe-pdf-gprof:
14581 @if gprof
14582 maybe-pdf-gprof: pdf-gprof
14584 pdf-gprof: \
14585 configure-gprof
14586 @: $(MAKE); $(unstage)
14587 @[ -f ./gprof/Makefile ] || exit 0; \
14588 r=`${PWD_COMMAND}`; export r; \
14589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14590 $(HOST_EXPORTS) \
14591 for flag in $(EXTRA_HOST_FLAGS) ; do \
14592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14593 done; \
14594 echo "Doing pdf in gprof" ; \
14595 (cd $(HOST_SUBDIR)/gprof && \
14596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14598 "RANLIB=$${RANLIB}" \
14599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14600 pdf) \
14601 || exit 1
14603 @endif gprof
14605 .PHONY: maybe-html-gprof html-gprof
14606 maybe-html-gprof:
14607 @if gprof
14608 maybe-html-gprof: html-gprof
14610 html-gprof: \
14611 configure-gprof
14612 @: $(MAKE); $(unstage)
14613 @[ -f ./gprof/Makefile ] || exit 0; \
14614 r=`${PWD_COMMAND}`; export r; \
14615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14616 $(HOST_EXPORTS) \
14617 for flag in $(EXTRA_HOST_FLAGS) ; do \
14618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14619 done; \
14620 echo "Doing html in gprof" ; \
14621 (cd $(HOST_SUBDIR)/gprof && \
14622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14624 "RANLIB=$${RANLIB}" \
14625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14626 html) \
14627 || exit 1
14629 @endif gprof
14631 .PHONY: maybe-TAGS-gprof TAGS-gprof
14632 maybe-TAGS-gprof:
14633 @if gprof
14634 maybe-TAGS-gprof: TAGS-gprof
14636 TAGS-gprof: \
14637 configure-gprof
14638 @: $(MAKE); $(unstage)
14639 @[ -f ./gprof/Makefile ] || exit 0; \
14640 r=`${PWD_COMMAND}`; export r; \
14641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642 $(HOST_EXPORTS) \
14643 for flag in $(EXTRA_HOST_FLAGS) ; do \
14644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14645 done; \
14646 echo "Doing TAGS in gprof" ; \
14647 (cd $(HOST_SUBDIR)/gprof && \
14648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14650 "RANLIB=$${RANLIB}" \
14651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14652 TAGS) \
14653 || exit 1
14655 @endif gprof
14657 .PHONY: maybe-install-info-gprof install-info-gprof
14658 maybe-install-info-gprof:
14659 @if gprof
14660 maybe-install-info-gprof: install-info-gprof
14662 install-info-gprof: \
14663 configure-gprof \
14664 info-gprof
14665 @: $(MAKE); $(unstage)
14666 @[ -f ./gprof/Makefile ] || exit 0; \
14667 r=`${PWD_COMMAND}`; export r; \
14668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14669 $(HOST_EXPORTS) \
14670 for flag in $(EXTRA_HOST_FLAGS) ; do \
14671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14672 done; \
14673 echo "Doing install-info in gprof" ; \
14674 (cd $(HOST_SUBDIR)/gprof && \
14675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14677 "RANLIB=$${RANLIB}" \
14678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14679 install-info) \
14680 || exit 1
14682 @endif gprof
14684 .PHONY: maybe-install-html-gprof install-html-gprof
14685 maybe-install-html-gprof:
14686 @if gprof
14687 maybe-install-html-gprof: install-html-gprof
14689 install-html-gprof: \
14690 configure-gprof \
14691 html-gprof
14692 @: $(MAKE); $(unstage)
14693 @[ -f ./gprof/Makefile ] || exit 0; \
14694 r=`${PWD_COMMAND}`; export r; \
14695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14696 $(HOST_EXPORTS) \
14697 for flag in $(EXTRA_HOST_FLAGS) ; do \
14698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14699 done; \
14700 echo "Doing install-html in gprof" ; \
14701 (cd $(HOST_SUBDIR)/gprof && \
14702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14704 "RANLIB=$${RANLIB}" \
14705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14706 install-html) \
14707 || exit 1
14709 @endif gprof
14711 .PHONY: maybe-installcheck-gprof installcheck-gprof
14712 maybe-installcheck-gprof:
14713 @if gprof
14714 maybe-installcheck-gprof: installcheck-gprof
14716 installcheck-gprof: \
14717 configure-gprof
14718 @: $(MAKE); $(unstage)
14719 @[ -f ./gprof/Makefile ] || exit 0; \
14720 r=`${PWD_COMMAND}`; export r; \
14721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14722 $(HOST_EXPORTS) \
14723 for flag in $(EXTRA_HOST_FLAGS) ; do \
14724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14725 done; \
14726 echo "Doing installcheck in gprof" ; \
14727 (cd $(HOST_SUBDIR)/gprof && \
14728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14730 "RANLIB=$${RANLIB}" \
14731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14732 installcheck) \
14733 || exit 1
14735 @endif gprof
14737 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14738 maybe-mostlyclean-gprof:
14739 @if gprof
14740 maybe-mostlyclean-gprof: mostlyclean-gprof
14742 mostlyclean-gprof:
14743 @: $(MAKE); $(unstage)
14744 @[ -f ./gprof/Makefile ] || exit 0; \
14745 r=`${PWD_COMMAND}`; export r; \
14746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14747 $(HOST_EXPORTS) \
14748 for flag in $(EXTRA_HOST_FLAGS) ; do \
14749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14750 done; \
14751 echo "Doing mostlyclean in gprof" ; \
14752 (cd $(HOST_SUBDIR)/gprof && \
14753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14755 "RANLIB=$${RANLIB}" \
14756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14757 mostlyclean) \
14758 || exit 1
14760 @endif gprof
14762 .PHONY: maybe-clean-gprof clean-gprof
14763 maybe-clean-gprof:
14764 @if gprof
14765 maybe-clean-gprof: clean-gprof
14767 clean-gprof:
14768 @: $(MAKE); $(unstage)
14769 @[ -f ./gprof/Makefile ] || exit 0; \
14770 r=`${PWD_COMMAND}`; export r; \
14771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14772 $(HOST_EXPORTS) \
14773 for flag in $(EXTRA_HOST_FLAGS) ; do \
14774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14775 done; \
14776 echo "Doing clean in gprof" ; \
14777 (cd $(HOST_SUBDIR)/gprof && \
14778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14780 "RANLIB=$${RANLIB}" \
14781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14782 clean) \
14783 || exit 1
14785 @endif gprof
14787 .PHONY: maybe-distclean-gprof distclean-gprof
14788 maybe-distclean-gprof:
14789 @if gprof
14790 maybe-distclean-gprof: distclean-gprof
14792 distclean-gprof:
14793 @: $(MAKE); $(unstage)
14794 @[ -f ./gprof/Makefile ] || exit 0; \
14795 r=`${PWD_COMMAND}`; export r; \
14796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14797 $(HOST_EXPORTS) \
14798 for flag in $(EXTRA_HOST_FLAGS) ; do \
14799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14800 done; \
14801 echo "Doing distclean in gprof" ; \
14802 (cd $(HOST_SUBDIR)/gprof && \
14803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14805 "RANLIB=$${RANLIB}" \
14806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14807 distclean) \
14808 || exit 1
14810 @endif gprof
14812 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14813 maybe-maintainer-clean-gprof:
14814 @if gprof
14815 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14817 maintainer-clean-gprof:
14818 @: $(MAKE); $(unstage)
14819 @[ -f ./gprof/Makefile ] || exit 0; \
14820 r=`${PWD_COMMAND}`; export r; \
14821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14822 $(HOST_EXPORTS) \
14823 for flag in $(EXTRA_HOST_FLAGS) ; do \
14824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14825 done; \
14826 echo "Doing maintainer-clean in gprof" ; \
14827 (cd $(HOST_SUBDIR)/gprof && \
14828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14830 "RANLIB=$${RANLIB}" \
14831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14832 maintainer-clean) \
14833 || exit 1
14835 @endif gprof
14839 .PHONY: configure-gzip maybe-configure-gzip
14840 maybe-configure-gzip:
14841 @if gcc-bootstrap
14842 configure-gzip: stage_current
14843 @endif gcc-bootstrap
14844 @if gzip
14845 maybe-configure-gzip: configure-gzip
14846 configure-gzip:
14847 @: $(MAKE); $(unstage)
14848 @r=`${PWD_COMMAND}`; export r; \
14849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14850 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14852 $(HOST_EXPORTS) \
14853 echo Configuring in $(HOST_SUBDIR)/gzip; \
14854 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14855 case $(srcdir) in \
14856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14857 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14859 esac; \
14860 srcdiroption="--srcdir=$${topdir}/gzip"; \
14861 libsrcdir="$$s/gzip"; \
14862 $(SHELL) $${libsrcdir}/configure \
14863 $(HOST_CONFIGARGS) $${srcdiroption} \
14864 || exit 1
14865 @endif gzip
14871 .PHONY: all-gzip maybe-all-gzip
14872 maybe-all-gzip:
14873 @if gcc-bootstrap
14874 all-gzip: stage_current
14875 @endif gcc-bootstrap
14876 @if gzip
14877 TARGET-gzip=all
14878 maybe-all-gzip: all-gzip
14879 all-gzip: configure-gzip
14880 @: $(MAKE); $(unstage)
14881 @r=`${PWD_COMMAND}`; export r; \
14882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14883 $(HOST_EXPORTS) \
14884 (cd $(HOST_SUBDIR)/gzip && \
14885 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14886 @endif gzip
14891 .PHONY: check-gzip maybe-check-gzip
14892 maybe-check-gzip:
14893 @if gzip
14894 maybe-check-gzip: check-gzip
14896 check-gzip:
14897 @: $(MAKE); $(unstage)
14898 @r=`${PWD_COMMAND}`; export r; \
14899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 $(HOST_EXPORTS) \
14901 (cd $(HOST_SUBDIR)/gzip && \
14902 $(MAKE) $(FLAGS_TO_PASS) check)
14904 @endif gzip
14906 .PHONY: install-gzip maybe-install-gzip
14907 maybe-install-gzip:
14908 @if gzip
14909 maybe-install-gzip: install-gzip
14911 install-gzip: installdirs
14912 @: $(MAKE); $(unstage)
14913 @r=`${PWD_COMMAND}`; export r; \
14914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14915 $(HOST_EXPORTS) \
14916 (cd $(HOST_SUBDIR)/gzip && \
14917 $(MAKE) $(FLAGS_TO_PASS) install)
14919 @endif gzip
14921 # Other targets (info, dvi, pdf, etc.)
14923 .PHONY: maybe-info-gzip info-gzip
14924 maybe-info-gzip:
14925 @if gzip
14926 maybe-info-gzip: info-gzip
14928 info-gzip: \
14929 configure-gzip
14930 @: $(MAKE); $(unstage)
14931 @[ -f ./gzip/Makefile ] || exit 0; \
14932 r=`${PWD_COMMAND}`; export r; \
14933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14934 $(HOST_EXPORTS) \
14935 for flag in $(EXTRA_HOST_FLAGS) ; do \
14936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14937 done; \
14938 echo "Doing info in gzip" ; \
14939 (cd $(HOST_SUBDIR)/gzip && \
14940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14942 "RANLIB=$${RANLIB}" \
14943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14944 info) \
14945 || exit 1
14947 @endif gzip
14949 .PHONY: maybe-dvi-gzip dvi-gzip
14950 maybe-dvi-gzip:
14951 @if gzip
14952 maybe-dvi-gzip: dvi-gzip
14954 dvi-gzip: \
14955 configure-gzip
14956 @: $(MAKE); $(unstage)
14957 @[ -f ./gzip/Makefile ] || exit 0; \
14958 r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960 $(HOST_EXPORTS) \
14961 for flag in $(EXTRA_HOST_FLAGS) ; do \
14962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14963 done; \
14964 echo "Doing dvi in gzip" ; \
14965 (cd $(HOST_SUBDIR)/gzip && \
14966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14968 "RANLIB=$${RANLIB}" \
14969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14970 dvi) \
14971 || exit 1
14973 @endif gzip
14975 .PHONY: maybe-pdf-gzip pdf-gzip
14976 maybe-pdf-gzip:
14977 @if gzip
14978 maybe-pdf-gzip: pdf-gzip
14980 pdf-gzip: \
14981 configure-gzip
14982 @: $(MAKE); $(unstage)
14983 @[ -f ./gzip/Makefile ] || exit 0; \
14984 r=`${PWD_COMMAND}`; export r; \
14985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14986 $(HOST_EXPORTS) \
14987 for flag in $(EXTRA_HOST_FLAGS) ; do \
14988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14989 done; \
14990 echo "Doing pdf in gzip" ; \
14991 (cd $(HOST_SUBDIR)/gzip && \
14992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14994 "RANLIB=$${RANLIB}" \
14995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14996 pdf) \
14997 || exit 1
14999 @endif gzip
15001 .PHONY: maybe-html-gzip html-gzip
15002 maybe-html-gzip:
15003 @if gzip
15004 maybe-html-gzip: html-gzip
15006 html-gzip: \
15007 configure-gzip
15008 @: $(MAKE); $(unstage)
15009 @[ -f ./gzip/Makefile ] || exit 0; \
15010 r=`${PWD_COMMAND}`; export r; \
15011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15012 $(HOST_EXPORTS) \
15013 for flag in $(EXTRA_HOST_FLAGS) ; do \
15014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15015 done; \
15016 echo "Doing html in gzip" ; \
15017 (cd $(HOST_SUBDIR)/gzip && \
15018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15020 "RANLIB=$${RANLIB}" \
15021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15022 html) \
15023 || exit 1
15025 @endif gzip
15027 .PHONY: maybe-TAGS-gzip TAGS-gzip
15028 maybe-TAGS-gzip:
15029 @if gzip
15030 maybe-TAGS-gzip: TAGS-gzip
15032 TAGS-gzip: \
15033 configure-gzip
15034 @: $(MAKE); $(unstage)
15035 @[ -f ./gzip/Makefile ] || exit 0; \
15036 r=`${PWD_COMMAND}`; export r; \
15037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15038 $(HOST_EXPORTS) \
15039 for flag in $(EXTRA_HOST_FLAGS) ; do \
15040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15041 done; \
15042 echo "Doing TAGS in gzip" ; \
15043 (cd $(HOST_SUBDIR)/gzip && \
15044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15046 "RANLIB=$${RANLIB}" \
15047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15048 TAGS) \
15049 || exit 1
15051 @endif gzip
15053 .PHONY: maybe-install-info-gzip install-info-gzip
15054 maybe-install-info-gzip:
15055 @if gzip
15056 maybe-install-info-gzip: install-info-gzip
15058 install-info-gzip: \
15059 configure-gzip \
15060 info-gzip
15061 @: $(MAKE); $(unstage)
15062 @[ -f ./gzip/Makefile ] || exit 0; \
15063 r=`${PWD_COMMAND}`; export r; \
15064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15065 $(HOST_EXPORTS) \
15066 for flag in $(EXTRA_HOST_FLAGS) ; do \
15067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15068 done; \
15069 echo "Doing install-info in gzip" ; \
15070 (cd $(HOST_SUBDIR)/gzip && \
15071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15073 "RANLIB=$${RANLIB}" \
15074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15075 install-info) \
15076 || exit 1
15078 @endif gzip
15080 .PHONY: maybe-install-html-gzip install-html-gzip
15081 maybe-install-html-gzip:
15082 @if gzip
15083 maybe-install-html-gzip: install-html-gzip
15085 install-html-gzip: \
15086 configure-gzip \
15087 html-gzip
15088 @: $(MAKE); $(unstage)
15089 @[ -f ./gzip/Makefile ] || exit 0; \
15090 r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 $(HOST_EXPORTS) \
15093 for flag in $(EXTRA_HOST_FLAGS) ; do \
15094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15095 done; \
15096 echo "Doing install-html in gzip" ; \
15097 (cd $(HOST_SUBDIR)/gzip && \
15098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15100 "RANLIB=$${RANLIB}" \
15101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15102 install-html) \
15103 || exit 1
15105 @endif gzip
15107 .PHONY: maybe-installcheck-gzip installcheck-gzip
15108 maybe-installcheck-gzip:
15109 @if gzip
15110 maybe-installcheck-gzip: installcheck-gzip
15112 installcheck-gzip: \
15113 configure-gzip
15114 @: $(MAKE); $(unstage)
15115 @[ -f ./gzip/Makefile ] || exit 0; \
15116 r=`${PWD_COMMAND}`; export r; \
15117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15118 $(HOST_EXPORTS) \
15119 for flag in $(EXTRA_HOST_FLAGS) ; do \
15120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15121 done; \
15122 echo "Doing installcheck in gzip" ; \
15123 (cd $(HOST_SUBDIR)/gzip && \
15124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15126 "RANLIB=$${RANLIB}" \
15127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15128 installcheck) \
15129 || exit 1
15131 @endif gzip
15133 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15134 maybe-mostlyclean-gzip:
15135 @if gzip
15136 maybe-mostlyclean-gzip: mostlyclean-gzip
15138 mostlyclean-gzip:
15139 @: $(MAKE); $(unstage)
15140 @[ -f ./gzip/Makefile ] || exit 0; \
15141 r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15143 $(HOST_EXPORTS) \
15144 for flag in $(EXTRA_HOST_FLAGS) ; do \
15145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15146 done; \
15147 echo "Doing mostlyclean in gzip" ; \
15148 (cd $(HOST_SUBDIR)/gzip && \
15149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15151 "RANLIB=$${RANLIB}" \
15152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15153 mostlyclean) \
15154 || exit 1
15156 @endif gzip
15158 .PHONY: maybe-clean-gzip clean-gzip
15159 maybe-clean-gzip:
15160 @if gzip
15161 maybe-clean-gzip: clean-gzip
15163 clean-gzip:
15164 @: $(MAKE); $(unstage)
15165 @[ -f ./gzip/Makefile ] || exit 0; \
15166 r=`${PWD_COMMAND}`; export r; \
15167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15168 $(HOST_EXPORTS) \
15169 for flag in $(EXTRA_HOST_FLAGS) ; do \
15170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15171 done; \
15172 echo "Doing clean in gzip" ; \
15173 (cd $(HOST_SUBDIR)/gzip && \
15174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15176 "RANLIB=$${RANLIB}" \
15177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15178 clean) \
15179 || exit 1
15181 @endif gzip
15183 .PHONY: maybe-distclean-gzip distclean-gzip
15184 maybe-distclean-gzip:
15185 @if gzip
15186 maybe-distclean-gzip: distclean-gzip
15188 distclean-gzip:
15189 @: $(MAKE); $(unstage)
15190 @[ -f ./gzip/Makefile ] || exit 0; \
15191 r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15193 $(HOST_EXPORTS) \
15194 for flag in $(EXTRA_HOST_FLAGS) ; do \
15195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15196 done; \
15197 echo "Doing distclean in gzip" ; \
15198 (cd $(HOST_SUBDIR)/gzip && \
15199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15201 "RANLIB=$${RANLIB}" \
15202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15203 distclean) \
15204 || exit 1
15206 @endif gzip
15208 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15209 maybe-maintainer-clean-gzip:
15210 @if gzip
15211 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15213 maintainer-clean-gzip:
15214 @: $(MAKE); $(unstage)
15215 @[ -f ./gzip/Makefile ] || exit 0; \
15216 r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 $(HOST_EXPORTS) \
15219 for flag in $(EXTRA_HOST_FLAGS) ; do \
15220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15221 done; \
15222 echo "Doing maintainer-clean in gzip" ; \
15223 (cd $(HOST_SUBDIR)/gzip && \
15224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15226 "RANLIB=$${RANLIB}" \
15227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15228 maintainer-clean) \
15229 || exit 1
15231 @endif gzip
15235 .PHONY: configure-hello maybe-configure-hello
15236 maybe-configure-hello:
15237 @if gcc-bootstrap
15238 configure-hello: stage_current
15239 @endif gcc-bootstrap
15240 @if hello
15241 maybe-configure-hello: configure-hello
15242 configure-hello:
15243 @: $(MAKE); $(unstage)
15244 @r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15248 $(HOST_EXPORTS) \
15249 echo Configuring in $(HOST_SUBDIR)/hello; \
15250 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15251 case $(srcdir) in \
15252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15253 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15255 esac; \
15256 srcdiroption="--srcdir=$${topdir}/hello"; \
15257 libsrcdir="$$s/hello"; \
15258 $(SHELL) $${libsrcdir}/configure \
15259 $(HOST_CONFIGARGS) $${srcdiroption} \
15260 || exit 1
15261 @endif hello
15267 .PHONY: all-hello maybe-all-hello
15268 maybe-all-hello:
15269 @if gcc-bootstrap
15270 all-hello: stage_current
15271 @endif gcc-bootstrap
15272 @if hello
15273 TARGET-hello=all
15274 maybe-all-hello: all-hello
15275 all-hello: configure-hello
15276 @: $(MAKE); $(unstage)
15277 @r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(HOST_EXPORTS) \
15280 (cd $(HOST_SUBDIR)/hello && \
15281 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15282 @endif hello
15287 .PHONY: check-hello maybe-check-hello
15288 maybe-check-hello:
15289 @if hello
15290 maybe-check-hello: check-hello
15292 check-hello:
15293 @: $(MAKE); $(unstage)
15294 @r=`${PWD_COMMAND}`; export r; \
15295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15296 $(HOST_EXPORTS) \
15297 (cd $(HOST_SUBDIR)/hello && \
15298 $(MAKE) $(FLAGS_TO_PASS) check)
15300 @endif hello
15302 .PHONY: install-hello maybe-install-hello
15303 maybe-install-hello:
15304 @if hello
15305 maybe-install-hello: install-hello
15307 install-hello: installdirs
15308 @: $(MAKE); $(unstage)
15309 @r=`${PWD_COMMAND}`; export r; \
15310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15311 $(HOST_EXPORTS) \
15312 (cd $(HOST_SUBDIR)/hello && \
15313 $(MAKE) $(FLAGS_TO_PASS) install)
15315 @endif hello
15317 # Other targets (info, dvi, pdf, etc.)
15319 .PHONY: maybe-info-hello info-hello
15320 maybe-info-hello:
15321 @if hello
15322 maybe-info-hello: info-hello
15324 info-hello: \
15325 configure-hello
15326 @: $(MAKE); $(unstage)
15327 @[ -f ./hello/Makefile ] || exit 0; \
15328 r=`${PWD_COMMAND}`; export r; \
15329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 $(HOST_EXPORTS) \
15331 for flag in $(EXTRA_HOST_FLAGS) ; do \
15332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15333 done; \
15334 echo "Doing info in hello" ; \
15335 (cd $(HOST_SUBDIR)/hello && \
15336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15338 "RANLIB=$${RANLIB}" \
15339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15340 info) \
15341 || exit 1
15343 @endif hello
15345 .PHONY: maybe-dvi-hello dvi-hello
15346 maybe-dvi-hello:
15347 @if hello
15348 maybe-dvi-hello: dvi-hello
15350 dvi-hello: \
15351 configure-hello
15352 @: $(MAKE); $(unstage)
15353 @[ -f ./hello/Makefile ] || exit 0; \
15354 r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing dvi in hello" ; \
15361 (cd $(HOST_SUBDIR)/hello && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15366 dvi) \
15367 || exit 1
15369 @endif hello
15371 .PHONY: maybe-pdf-hello pdf-hello
15372 maybe-pdf-hello:
15373 @if hello
15374 maybe-pdf-hello: pdf-hello
15376 pdf-hello: \
15377 configure-hello
15378 @: $(MAKE); $(unstage)
15379 @[ -f ./hello/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(HOST_EXPORTS) \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385 done; \
15386 echo "Doing pdf in hello" ; \
15387 (cd $(HOST_SUBDIR)/hello && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15392 pdf) \
15393 || exit 1
15395 @endif hello
15397 .PHONY: maybe-html-hello html-hello
15398 maybe-html-hello:
15399 @if hello
15400 maybe-html-hello: html-hello
15402 html-hello: \
15403 configure-hello
15404 @: $(MAKE); $(unstage)
15405 @[ -f ./hello/Makefile ] || exit 0; \
15406 r=`${PWD_COMMAND}`; export r; \
15407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 $(HOST_EXPORTS) \
15409 for flag in $(EXTRA_HOST_FLAGS) ; do \
15410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15411 done; \
15412 echo "Doing html in hello" ; \
15413 (cd $(HOST_SUBDIR)/hello && \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15416 "RANLIB=$${RANLIB}" \
15417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15418 html) \
15419 || exit 1
15421 @endif hello
15423 .PHONY: maybe-TAGS-hello TAGS-hello
15424 maybe-TAGS-hello:
15425 @if hello
15426 maybe-TAGS-hello: TAGS-hello
15428 TAGS-hello: \
15429 configure-hello
15430 @: $(MAKE); $(unstage)
15431 @[ -f ./hello/Makefile ] || exit 0; \
15432 r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 $(HOST_EXPORTS) \
15435 for flag in $(EXTRA_HOST_FLAGS) ; do \
15436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15437 done; \
15438 echo "Doing TAGS in hello" ; \
15439 (cd $(HOST_SUBDIR)/hello && \
15440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15442 "RANLIB=$${RANLIB}" \
15443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15444 TAGS) \
15445 || exit 1
15447 @endif hello
15449 .PHONY: maybe-install-info-hello install-info-hello
15450 maybe-install-info-hello:
15451 @if hello
15452 maybe-install-info-hello: install-info-hello
15454 install-info-hello: \
15455 configure-hello \
15456 info-hello
15457 @: $(MAKE); $(unstage)
15458 @[ -f ./hello/Makefile ] || exit 0; \
15459 r=`${PWD_COMMAND}`; export r; \
15460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15461 $(HOST_EXPORTS) \
15462 for flag in $(EXTRA_HOST_FLAGS) ; do \
15463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15464 done; \
15465 echo "Doing install-info in hello" ; \
15466 (cd $(HOST_SUBDIR)/hello && \
15467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15469 "RANLIB=$${RANLIB}" \
15470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15471 install-info) \
15472 || exit 1
15474 @endif hello
15476 .PHONY: maybe-install-html-hello install-html-hello
15477 maybe-install-html-hello:
15478 @if hello
15479 maybe-install-html-hello: install-html-hello
15481 install-html-hello: \
15482 configure-hello \
15483 html-hello
15484 @: $(MAKE); $(unstage)
15485 @[ -f ./hello/Makefile ] || exit 0; \
15486 r=`${PWD_COMMAND}`; export r; \
15487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15488 $(HOST_EXPORTS) \
15489 for flag in $(EXTRA_HOST_FLAGS) ; do \
15490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15491 done; \
15492 echo "Doing install-html in hello" ; \
15493 (cd $(HOST_SUBDIR)/hello && \
15494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15496 "RANLIB=$${RANLIB}" \
15497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15498 install-html) \
15499 || exit 1
15501 @endif hello
15503 .PHONY: maybe-installcheck-hello installcheck-hello
15504 maybe-installcheck-hello:
15505 @if hello
15506 maybe-installcheck-hello: installcheck-hello
15508 installcheck-hello: \
15509 configure-hello
15510 @: $(MAKE); $(unstage)
15511 @[ -f ./hello/Makefile ] || exit 0; \
15512 r=`${PWD_COMMAND}`; export r; \
15513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15514 $(HOST_EXPORTS) \
15515 for flag in $(EXTRA_HOST_FLAGS) ; do \
15516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15517 done; \
15518 echo "Doing installcheck in hello" ; \
15519 (cd $(HOST_SUBDIR)/hello && \
15520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15522 "RANLIB=$${RANLIB}" \
15523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15524 installcheck) \
15525 || exit 1
15527 @endif hello
15529 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15530 maybe-mostlyclean-hello:
15531 @if hello
15532 maybe-mostlyclean-hello: mostlyclean-hello
15534 mostlyclean-hello:
15535 @: $(MAKE); $(unstage)
15536 @[ -f ./hello/Makefile ] || exit 0; \
15537 r=`${PWD_COMMAND}`; export r; \
15538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15539 $(HOST_EXPORTS) \
15540 for flag in $(EXTRA_HOST_FLAGS) ; do \
15541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15542 done; \
15543 echo "Doing mostlyclean in hello" ; \
15544 (cd $(HOST_SUBDIR)/hello && \
15545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15547 "RANLIB=$${RANLIB}" \
15548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15549 mostlyclean) \
15550 || exit 1
15552 @endif hello
15554 .PHONY: maybe-clean-hello clean-hello
15555 maybe-clean-hello:
15556 @if hello
15557 maybe-clean-hello: clean-hello
15559 clean-hello:
15560 @: $(MAKE); $(unstage)
15561 @[ -f ./hello/Makefile ] || exit 0; \
15562 r=`${PWD_COMMAND}`; export r; \
15563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15564 $(HOST_EXPORTS) \
15565 for flag in $(EXTRA_HOST_FLAGS) ; do \
15566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15567 done; \
15568 echo "Doing clean in hello" ; \
15569 (cd $(HOST_SUBDIR)/hello && \
15570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15572 "RANLIB=$${RANLIB}" \
15573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15574 clean) \
15575 || exit 1
15577 @endif hello
15579 .PHONY: maybe-distclean-hello distclean-hello
15580 maybe-distclean-hello:
15581 @if hello
15582 maybe-distclean-hello: distclean-hello
15584 distclean-hello:
15585 @: $(MAKE); $(unstage)
15586 @[ -f ./hello/Makefile ] || exit 0; \
15587 r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 $(HOST_EXPORTS) \
15590 for flag in $(EXTRA_HOST_FLAGS) ; do \
15591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15592 done; \
15593 echo "Doing distclean in hello" ; \
15594 (cd $(HOST_SUBDIR)/hello && \
15595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15597 "RANLIB=$${RANLIB}" \
15598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15599 distclean) \
15600 || exit 1
15602 @endif hello
15604 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15605 maybe-maintainer-clean-hello:
15606 @if hello
15607 maybe-maintainer-clean-hello: maintainer-clean-hello
15609 maintainer-clean-hello:
15610 @: $(MAKE); $(unstage)
15611 @[ -f ./hello/Makefile ] || exit 0; \
15612 r=`${PWD_COMMAND}`; export r; \
15613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614 $(HOST_EXPORTS) \
15615 for flag in $(EXTRA_HOST_FLAGS) ; do \
15616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617 done; \
15618 echo "Doing maintainer-clean in hello" ; \
15619 (cd $(HOST_SUBDIR)/hello && \
15620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622 "RANLIB=$${RANLIB}" \
15623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624 maintainer-clean) \
15625 || exit 1
15627 @endif hello
15631 .PHONY: configure-indent maybe-configure-indent
15632 maybe-configure-indent:
15633 @if gcc-bootstrap
15634 configure-indent: stage_current
15635 @endif gcc-bootstrap
15636 @if indent
15637 maybe-configure-indent: configure-indent
15638 configure-indent:
15639 @: $(MAKE); $(unstage)
15640 @r=`${PWD_COMMAND}`; export r; \
15641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15642 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15644 $(HOST_EXPORTS) \
15645 echo Configuring in $(HOST_SUBDIR)/indent; \
15646 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15647 case $(srcdir) in \
15648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15649 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15651 esac; \
15652 srcdiroption="--srcdir=$${topdir}/indent"; \
15653 libsrcdir="$$s/indent"; \
15654 $(SHELL) $${libsrcdir}/configure \
15655 $(HOST_CONFIGARGS) $${srcdiroption} \
15656 || exit 1
15657 @endif indent
15663 .PHONY: all-indent maybe-all-indent
15664 maybe-all-indent:
15665 @if gcc-bootstrap
15666 all-indent: stage_current
15667 @endif gcc-bootstrap
15668 @if indent
15669 TARGET-indent=all
15670 maybe-all-indent: all-indent
15671 all-indent: configure-indent
15672 @: $(MAKE); $(unstage)
15673 @r=`${PWD_COMMAND}`; export r; \
15674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15675 $(HOST_EXPORTS) \
15676 (cd $(HOST_SUBDIR)/indent && \
15677 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15678 @endif indent
15683 .PHONY: check-indent maybe-check-indent
15684 maybe-check-indent:
15685 @if indent
15686 maybe-check-indent: check-indent
15688 check-indent:
15689 @: $(MAKE); $(unstage)
15690 @r=`${PWD_COMMAND}`; export r; \
15691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15692 $(HOST_EXPORTS) \
15693 (cd $(HOST_SUBDIR)/indent && \
15694 $(MAKE) $(FLAGS_TO_PASS) check)
15696 @endif indent
15698 .PHONY: install-indent maybe-install-indent
15699 maybe-install-indent:
15700 @if indent
15701 maybe-install-indent: install-indent
15703 install-indent: installdirs
15704 @: $(MAKE); $(unstage)
15705 @r=`${PWD_COMMAND}`; export r; \
15706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15707 $(HOST_EXPORTS) \
15708 (cd $(HOST_SUBDIR)/indent && \
15709 $(MAKE) $(FLAGS_TO_PASS) install)
15711 @endif indent
15713 # Other targets (info, dvi, pdf, etc.)
15715 .PHONY: maybe-info-indent info-indent
15716 maybe-info-indent:
15717 @if indent
15718 maybe-info-indent: info-indent
15720 info-indent: \
15721 configure-indent
15722 @: $(MAKE); $(unstage)
15723 @[ -f ./indent/Makefile ] || exit 0; \
15724 r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726 $(HOST_EXPORTS) \
15727 for flag in $(EXTRA_HOST_FLAGS) ; do \
15728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15729 done; \
15730 echo "Doing info in indent" ; \
15731 (cd $(HOST_SUBDIR)/indent && \
15732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15734 "RANLIB=$${RANLIB}" \
15735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15736 info) \
15737 || exit 1
15739 @endif indent
15741 .PHONY: maybe-dvi-indent dvi-indent
15742 maybe-dvi-indent:
15743 @if indent
15744 maybe-dvi-indent: dvi-indent
15746 dvi-indent: \
15747 configure-indent
15748 @: $(MAKE); $(unstage)
15749 @[ -f ./indent/Makefile ] || exit 0; \
15750 r=`${PWD_COMMAND}`; export r; \
15751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15752 $(HOST_EXPORTS) \
15753 for flag in $(EXTRA_HOST_FLAGS) ; do \
15754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15755 done; \
15756 echo "Doing dvi in indent" ; \
15757 (cd $(HOST_SUBDIR)/indent && \
15758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15760 "RANLIB=$${RANLIB}" \
15761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15762 dvi) \
15763 || exit 1
15765 @endif indent
15767 .PHONY: maybe-pdf-indent pdf-indent
15768 maybe-pdf-indent:
15769 @if indent
15770 maybe-pdf-indent: pdf-indent
15772 pdf-indent: \
15773 configure-indent
15774 @: $(MAKE); $(unstage)
15775 @[ -f ./indent/Makefile ] || exit 0; \
15776 r=`${PWD_COMMAND}`; export r; \
15777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15778 $(HOST_EXPORTS) \
15779 for flag in $(EXTRA_HOST_FLAGS) ; do \
15780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15781 done; \
15782 echo "Doing pdf in indent" ; \
15783 (cd $(HOST_SUBDIR)/indent && \
15784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15786 "RANLIB=$${RANLIB}" \
15787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15788 pdf) \
15789 || exit 1
15791 @endif indent
15793 .PHONY: maybe-html-indent html-indent
15794 maybe-html-indent:
15795 @if indent
15796 maybe-html-indent: html-indent
15798 html-indent: \
15799 configure-indent
15800 @: $(MAKE); $(unstage)
15801 @[ -f ./indent/Makefile ] || exit 0; \
15802 r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 $(HOST_EXPORTS) \
15805 for flag in $(EXTRA_HOST_FLAGS) ; do \
15806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15807 done; \
15808 echo "Doing html in indent" ; \
15809 (cd $(HOST_SUBDIR)/indent && \
15810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15812 "RANLIB=$${RANLIB}" \
15813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15814 html) \
15815 || exit 1
15817 @endif indent
15819 .PHONY: maybe-TAGS-indent TAGS-indent
15820 maybe-TAGS-indent:
15821 @if indent
15822 maybe-TAGS-indent: TAGS-indent
15824 TAGS-indent: \
15825 configure-indent
15826 @: $(MAKE); $(unstage)
15827 @[ -f ./indent/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833 done; \
15834 echo "Doing TAGS in indent" ; \
15835 (cd $(HOST_SUBDIR)/indent && \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15840 TAGS) \
15841 || exit 1
15843 @endif indent
15845 .PHONY: maybe-install-info-indent install-info-indent
15846 maybe-install-info-indent:
15847 @if indent
15848 maybe-install-info-indent: install-info-indent
15850 install-info-indent: \
15851 configure-indent \
15852 info-indent
15853 @: $(MAKE); $(unstage)
15854 @[ -f ./indent/Makefile ] || exit 0; \
15855 r=`${PWD_COMMAND}`; export r; \
15856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15857 $(HOST_EXPORTS) \
15858 for flag in $(EXTRA_HOST_FLAGS) ; do \
15859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15860 done; \
15861 echo "Doing install-info in indent" ; \
15862 (cd $(HOST_SUBDIR)/indent && \
15863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15865 "RANLIB=$${RANLIB}" \
15866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15867 install-info) \
15868 || exit 1
15870 @endif indent
15872 .PHONY: maybe-install-html-indent install-html-indent
15873 maybe-install-html-indent:
15874 @if indent
15875 maybe-install-html-indent: install-html-indent
15877 install-html-indent: \
15878 configure-indent \
15879 html-indent
15880 @: $(MAKE); $(unstage)
15881 @[ -f ./indent/Makefile ] || exit 0; \
15882 r=`${PWD_COMMAND}`; export r; \
15883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15884 $(HOST_EXPORTS) \
15885 for flag in $(EXTRA_HOST_FLAGS) ; do \
15886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15887 done; \
15888 echo "Doing install-html in indent" ; \
15889 (cd $(HOST_SUBDIR)/indent && \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15892 "RANLIB=$${RANLIB}" \
15893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15894 install-html) \
15895 || exit 1
15897 @endif indent
15899 .PHONY: maybe-installcheck-indent installcheck-indent
15900 maybe-installcheck-indent:
15901 @if indent
15902 maybe-installcheck-indent: installcheck-indent
15904 installcheck-indent: \
15905 configure-indent
15906 @: $(MAKE); $(unstage)
15907 @[ -f ./indent/Makefile ] || exit 0; \
15908 r=`${PWD_COMMAND}`; export r; \
15909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15910 $(HOST_EXPORTS) \
15911 for flag in $(EXTRA_HOST_FLAGS) ; do \
15912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15913 done; \
15914 echo "Doing installcheck in indent" ; \
15915 (cd $(HOST_SUBDIR)/indent && \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15918 "RANLIB=$${RANLIB}" \
15919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15920 installcheck) \
15921 || exit 1
15923 @endif indent
15925 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15926 maybe-mostlyclean-indent:
15927 @if indent
15928 maybe-mostlyclean-indent: mostlyclean-indent
15930 mostlyclean-indent:
15931 @: $(MAKE); $(unstage)
15932 @[ -f ./indent/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 $(HOST_EXPORTS) \
15936 for flag in $(EXTRA_HOST_FLAGS) ; do \
15937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938 done; \
15939 echo "Doing mostlyclean in indent" ; \
15940 (cd $(HOST_SUBDIR)/indent && \
15941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943 "RANLIB=$${RANLIB}" \
15944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945 mostlyclean) \
15946 || exit 1
15948 @endif indent
15950 .PHONY: maybe-clean-indent clean-indent
15951 maybe-clean-indent:
15952 @if indent
15953 maybe-clean-indent: clean-indent
15955 clean-indent:
15956 @: $(MAKE); $(unstage)
15957 @[ -f ./indent/Makefile ] || exit 0; \
15958 r=`${PWD_COMMAND}`; export r; \
15959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15960 $(HOST_EXPORTS) \
15961 for flag in $(EXTRA_HOST_FLAGS) ; do \
15962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15963 done; \
15964 echo "Doing clean in indent" ; \
15965 (cd $(HOST_SUBDIR)/indent && \
15966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15968 "RANLIB=$${RANLIB}" \
15969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15970 clean) \
15971 || exit 1
15973 @endif indent
15975 .PHONY: maybe-distclean-indent distclean-indent
15976 maybe-distclean-indent:
15977 @if indent
15978 maybe-distclean-indent: distclean-indent
15980 distclean-indent:
15981 @: $(MAKE); $(unstage)
15982 @[ -f ./indent/Makefile ] || exit 0; \
15983 r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 $(HOST_EXPORTS) \
15986 for flag in $(EXTRA_HOST_FLAGS) ; do \
15987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15988 done; \
15989 echo "Doing distclean in indent" ; \
15990 (cd $(HOST_SUBDIR)/indent && \
15991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15993 "RANLIB=$${RANLIB}" \
15994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15995 distclean) \
15996 || exit 1
15998 @endif indent
16000 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16001 maybe-maintainer-clean-indent:
16002 @if indent
16003 maybe-maintainer-clean-indent: maintainer-clean-indent
16005 maintainer-clean-indent:
16006 @: $(MAKE); $(unstage)
16007 @[ -f ./indent/Makefile ] || exit 0; \
16008 r=`${PWD_COMMAND}`; export r; \
16009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16010 $(HOST_EXPORTS) \
16011 for flag in $(EXTRA_HOST_FLAGS) ; do \
16012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16013 done; \
16014 echo "Doing maintainer-clean in indent" ; \
16015 (cd $(HOST_SUBDIR)/indent && \
16016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16018 "RANLIB=$${RANLIB}" \
16019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16020 maintainer-clean) \
16021 || exit 1
16023 @endif indent
16027 .PHONY: configure-intl maybe-configure-intl
16028 maybe-configure-intl:
16029 @if gcc-bootstrap
16030 configure-intl: stage_current
16031 @endif gcc-bootstrap
16032 @if intl
16033 maybe-configure-intl: configure-intl
16034 configure-intl:
16035 @r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16039 $(HOST_EXPORTS) \
16040 echo Configuring in $(HOST_SUBDIR)/intl; \
16041 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16042 case $(srcdir) in \
16043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16044 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16046 esac; \
16047 srcdiroption="--srcdir=$${topdir}/intl"; \
16048 libsrcdir="$$s/intl"; \
16049 $(SHELL) $${libsrcdir}/configure \
16050 $(HOST_CONFIGARGS) $${srcdiroption} \
16051 || exit 1
16052 @endif intl
16056 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16057 maybe-configure-stage1-intl:
16058 @if intl-bootstrap
16059 maybe-configure-stage1-intl: configure-stage1-intl
16060 configure-stage1-intl:
16061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16063 @r=`${PWD_COMMAND}`; export r; \
16064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16066 $(HOST_EXPORTS) \
16067 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16069 cd $(HOST_SUBDIR)/intl || exit 1; \
16070 case $(srcdir) in \
16071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16072 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16074 esac; \
16075 srcdiroption="--srcdir=$${topdir}/intl"; \
16076 libsrcdir="$$s/intl"; \
16077 $(SHELL) $${libsrcdir}/configure \
16078 $(HOST_CONFIGARGS) $${srcdiroption} \
16080 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16081 @endif intl-bootstrap
16083 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16084 maybe-configure-stage2-intl:
16085 @if intl-bootstrap
16086 maybe-configure-stage2-intl: configure-stage2-intl
16087 configure-stage2-intl:
16088 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16090 @r=`${PWD_COMMAND}`; export r; \
16091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16092 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16093 $(HOST_EXPORTS) \
16094 $(POSTSTAGE1_HOST_EXPORTS) \
16095 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16097 cd $(HOST_SUBDIR)/intl || exit 1; \
16098 case $(srcdir) in \
16099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16100 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16102 esac; \
16103 srcdiroption="--srcdir=$${topdir}/intl"; \
16104 libsrcdir="$$s/intl"; \
16105 $(SHELL) $${libsrcdir}/configure \
16106 $(HOST_CONFIGARGS) $${srcdiroption} \
16107 --with-build-libsubdir=$(HOST_SUBDIR) \
16108 @stage2_werror_flag@
16109 @endif intl-bootstrap
16111 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16112 maybe-configure-stage3-intl:
16113 @if intl-bootstrap
16114 maybe-configure-stage3-intl: configure-stage3-intl
16115 configure-stage3-intl:
16116 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16118 @r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16120 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16121 $(HOST_EXPORTS) \
16122 $(POSTSTAGE1_HOST_EXPORTS) \
16123 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16125 cd $(HOST_SUBDIR)/intl || exit 1; \
16126 case $(srcdir) in \
16127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16128 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16130 esac; \
16131 srcdiroption="--srcdir=$${topdir}/intl"; \
16132 libsrcdir="$$s/intl"; \
16133 $(SHELL) $${libsrcdir}/configure \
16134 $(HOST_CONFIGARGS) $${srcdiroption} \
16135 --with-build-libsubdir=$(HOST_SUBDIR) \
16136 @stage2_werror_flag@
16137 @endif intl-bootstrap
16139 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16140 maybe-configure-stage4-intl:
16141 @if intl-bootstrap
16142 maybe-configure-stage4-intl: configure-stage4-intl
16143 configure-stage4-intl:
16144 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16146 @r=`${PWD_COMMAND}`; export r; \
16147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16148 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16149 $(HOST_EXPORTS) \
16150 $(POSTSTAGE1_HOST_EXPORTS) \
16151 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16153 cd $(HOST_SUBDIR)/intl || exit 1; \
16154 case $(srcdir) in \
16155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16156 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16158 esac; \
16159 srcdiroption="--srcdir=$${topdir}/intl"; \
16160 libsrcdir="$$s/intl"; \
16161 $(SHELL) $${libsrcdir}/configure \
16162 $(HOST_CONFIGARGS) $${srcdiroption} \
16163 --with-build-libsubdir=$(HOST_SUBDIR) \
16164 @stage2_werror_flag@
16165 @endif intl-bootstrap
16167 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16168 maybe-configure-stageprofile-intl:
16169 @if intl-bootstrap
16170 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16171 configure-stageprofile-intl:
16172 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16174 @r=`${PWD_COMMAND}`; export r; \
16175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16176 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16177 $(HOST_EXPORTS) \
16178 $(POSTSTAGE1_HOST_EXPORTS) \
16179 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16181 cd $(HOST_SUBDIR)/intl || exit 1; \
16182 case $(srcdir) in \
16183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16184 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16186 esac; \
16187 srcdiroption="--srcdir=$${topdir}/intl"; \
16188 libsrcdir="$$s/intl"; \
16189 $(SHELL) $${libsrcdir}/configure \
16190 $(HOST_CONFIGARGS) $${srcdiroption} \
16191 --with-build-libsubdir=$(HOST_SUBDIR) \
16192 @stage2_werror_flag@
16193 @endif intl-bootstrap
16195 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16196 maybe-configure-stagefeedback-intl:
16197 @if intl-bootstrap
16198 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16199 configure-stagefeedback-intl:
16200 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16202 @r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16205 $(HOST_EXPORTS) \
16206 $(POSTSTAGE1_HOST_EXPORTS) \
16207 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16209 cd $(HOST_SUBDIR)/intl || exit 1; \
16210 case $(srcdir) in \
16211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16212 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16214 esac; \
16215 srcdiroption="--srcdir=$${topdir}/intl"; \
16216 libsrcdir="$$s/intl"; \
16217 $(SHELL) $${libsrcdir}/configure \
16218 $(HOST_CONFIGARGS) $${srcdiroption} \
16219 --with-build-libsubdir=$(HOST_SUBDIR) \
16220 @stage2_werror_flag@
16221 @endif intl-bootstrap
16227 .PHONY: all-intl maybe-all-intl
16228 maybe-all-intl:
16229 @if gcc-bootstrap
16230 all-intl: stage_current
16231 @endif gcc-bootstrap
16232 @if intl
16233 TARGET-intl=all
16234 maybe-all-intl: all-intl
16235 all-intl: configure-intl
16236 @r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16238 $(HOST_EXPORTS) \
16239 (cd $(HOST_SUBDIR)/intl && \
16240 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16241 @endif intl
16245 .PHONY: all-stage1-intl maybe-all-stage1-intl
16246 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16247 maybe-all-stage1-intl:
16248 maybe-clean-stage1-intl:
16249 @if intl-bootstrap
16250 maybe-all-stage1-intl: all-stage1-intl
16251 all-stage1: all-stage1-intl
16252 TARGET-stage1-intl = $(TARGET-intl)
16253 all-stage1-intl: configure-stage1-intl
16254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16255 @r=`${PWD_COMMAND}`; export r; \
16256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 $(HOST_EXPORTS) \
16258 cd $(HOST_SUBDIR)/intl && \
16259 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16260 $(TARGET-stage1-intl)
16262 maybe-clean-stage1-intl: clean-stage1-intl
16263 clean-stage1: clean-stage1-intl
16264 clean-stage1-intl:
16265 @if [ $(current_stage) = stage1 ]; then \
16266 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16267 else \
16268 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16269 $(MAKE) stage1-start; \
16270 fi; \
16271 cd $(HOST_SUBDIR)/intl && \
16272 $(MAKE) $(FLAGS_TO_PASS) \
16273 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16274 @endif intl-bootstrap
16277 .PHONY: all-stage2-intl maybe-all-stage2-intl
16278 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16279 maybe-all-stage2-intl:
16280 maybe-clean-stage2-intl:
16281 @if intl-bootstrap
16282 maybe-all-stage2-intl: all-stage2-intl
16283 all-stage2: all-stage2-intl
16284 TARGET-stage2-intl = $(TARGET-intl)
16285 all-stage2-intl: configure-stage2-intl
16286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16287 @r=`${PWD_COMMAND}`; export r; \
16288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16289 $(HOST_EXPORTS) \
16290 $(POSTSTAGE1_HOST_EXPORTS) \
16291 cd $(HOST_SUBDIR)/intl && \
16292 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16293 $(TARGET-stage2-intl)
16295 maybe-clean-stage2-intl: clean-stage2-intl
16296 clean-stage2: clean-stage2-intl
16297 clean-stage2-intl:
16298 @if [ $(current_stage) = stage2 ]; then \
16299 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16300 else \
16301 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16302 $(MAKE) stage2-start; \
16303 fi; \
16304 cd $(HOST_SUBDIR)/intl && \
16305 $(MAKE) $(FLAGS_TO_PASS) \
16306 $(POSTSTAGE1_FLAGS_TO_PASS) \
16307 clean
16308 @endif intl-bootstrap
16311 .PHONY: all-stage3-intl maybe-all-stage3-intl
16312 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16313 maybe-all-stage3-intl:
16314 maybe-clean-stage3-intl:
16315 @if intl-bootstrap
16316 maybe-all-stage3-intl: all-stage3-intl
16317 all-stage3: all-stage3-intl
16318 TARGET-stage3-intl = $(TARGET-intl)
16319 all-stage3-intl: configure-stage3-intl
16320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16321 @r=`${PWD_COMMAND}`; export r; \
16322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16323 $(HOST_EXPORTS) \
16324 $(POSTSTAGE1_HOST_EXPORTS) \
16325 cd $(HOST_SUBDIR)/intl && \
16326 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16327 $(TARGET-stage3-intl)
16329 maybe-clean-stage3-intl: clean-stage3-intl
16330 clean-stage3: clean-stage3-intl
16331 clean-stage3-intl:
16332 @if [ $(current_stage) = stage3 ]; then \
16333 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16334 else \
16335 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16336 $(MAKE) stage3-start; \
16337 fi; \
16338 cd $(HOST_SUBDIR)/intl && \
16339 $(MAKE) $(FLAGS_TO_PASS) \
16340 $(POSTSTAGE1_FLAGS_TO_PASS) \
16341 clean
16342 @endif intl-bootstrap
16345 .PHONY: all-stage4-intl maybe-all-stage4-intl
16346 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16347 maybe-all-stage4-intl:
16348 maybe-clean-stage4-intl:
16349 @if intl-bootstrap
16350 maybe-all-stage4-intl: all-stage4-intl
16351 all-stage4: all-stage4-intl
16352 TARGET-stage4-intl = $(TARGET-intl)
16353 all-stage4-intl: configure-stage4-intl
16354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16355 @r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(HOST_EXPORTS) \
16358 $(POSTSTAGE1_HOST_EXPORTS) \
16359 cd $(HOST_SUBDIR)/intl && \
16360 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16361 $(TARGET-stage4-intl)
16363 maybe-clean-stage4-intl: clean-stage4-intl
16364 clean-stage4: clean-stage4-intl
16365 clean-stage4-intl:
16366 @if [ $(current_stage) = stage4 ]; then \
16367 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16368 else \
16369 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
16370 $(MAKE) stage4-start; \
16371 fi; \
16372 cd $(HOST_SUBDIR)/intl && \
16373 $(MAKE) $(FLAGS_TO_PASS) \
16374 $(POSTSTAGE1_FLAGS_TO_PASS) \
16375 clean
16376 @endif intl-bootstrap
16379 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16380 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16381 maybe-all-stageprofile-intl:
16382 maybe-clean-stageprofile-intl:
16383 @if intl-bootstrap
16384 maybe-all-stageprofile-intl: all-stageprofile-intl
16385 all-stageprofile: all-stageprofile-intl
16386 TARGET-stageprofile-intl = $(TARGET-intl)
16387 all-stageprofile-intl: configure-stageprofile-intl
16388 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16389 @r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(HOST_EXPORTS) \
16392 $(POSTSTAGE1_HOST_EXPORTS) \
16393 cd $(HOST_SUBDIR)/intl && \
16394 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16395 $(TARGET-stageprofile-intl)
16397 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16398 clean-stageprofile: clean-stageprofile-intl
16399 clean-stageprofile-intl:
16400 @if [ $(current_stage) = stageprofile ]; then \
16401 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16402 else \
16403 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
16404 $(MAKE) stageprofile-start; \
16405 fi; \
16406 cd $(HOST_SUBDIR)/intl && \
16407 $(MAKE) $(FLAGS_TO_PASS) \
16408 $(POSTSTAGE1_FLAGS_TO_PASS) \
16409 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16410 @endif intl-bootstrap
16413 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16414 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16415 maybe-all-stagefeedback-intl:
16416 maybe-clean-stagefeedback-intl:
16417 @if intl-bootstrap
16418 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16419 all-stagefeedback: all-stagefeedback-intl
16420 TARGET-stagefeedback-intl = $(TARGET-intl)
16421 all-stagefeedback-intl: configure-stagefeedback-intl
16422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16423 @r=`${PWD_COMMAND}`; export r; \
16424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16425 $(HOST_EXPORTS) \
16426 $(POSTSTAGE1_HOST_EXPORTS) \
16427 cd $(HOST_SUBDIR)/intl && \
16428 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16429 $(TARGET-stagefeedback-intl)
16431 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16432 clean-stagefeedback: clean-stagefeedback-intl
16433 clean-stagefeedback-intl:
16434 @if [ $(current_stage) = stagefeedback ]; then \
16435 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16436 else \
16437 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
16438 $(MAKE) stagefeedback-start; \
16439 fi; \
16440 cd $(HOST_SUBDIR)/intl && \
16441 $(MAKE) $(FLAGS_TO_PASS) \
16442 $(POSTSTAGE1_FLAGS_TO_PASS) \
16443 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16444 @endif intl-bootstrap
16450 .PHONY: check-intl maybe-check-intl
16451 maybe-check-intl:
16452 @if intl
16453 maybe-check-intl: check-intl
16455 check-intl:
16456 @: $(MAKE); $(unstage)
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459 $(HOST_EXPORTS) \
16460 (cd $(HOST_SUBDIR)/intl && \
16461 $(MAKE) $(FLAGS_TO_PASS) check)
16463 @endif intl
16465 .PHONY: install-intl maybe-install-intl
16466 maybe-install-intl:
16467 @if intl
16468 maybe-install-intl: install-intl
16470 install-intl: installdirs
16471 @: $(MAKE); $(unstage)
16472 @r=`${PWD_COMMAND}`; export r; \
16473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16474 $(HOST_EXPORTS) \
16475 (cd $(HOST_SUBDIR)/intl && \
16476 $(MAKE) $(FLAGS_TO_PASS) install)
16478 @endif intl
16480 # Other targets (info, dvi, pdf, etc.)
16482 .PHONY: maybe-info-intl info-intl
16483 maybe-info-intl:
16484 @if intl
16485 maybe-info-intl: info-intl
16487 info-intl: \
16488 configure-intl
16489 @[ -f ./intl/Makefile ] || exit 0; \
16490 r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 $(HOST_EXPORTS) \
16493 for flag in $(EXTRA_HOST_FLAGS) ; do \
16494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16495 done; \
16496 echo "Doing info in intl" ; \
16497 (cd $(HOST_SUBDIR)/intl && \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16500 "RANLIB=$${RANLIB}" \
16501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16502 info) \
16503 || exit 1
16505 @endif intl
16507 .PHONY: maybe-dvi-intl dvi-intl
16508 maybe-dvi-intl:
16509 @if intl
16510 maybe-dvi-intl: dvi-intl
16512 dvi-intl: \
16513 configure-intl
16514 @[ -f ./intl/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(HOST_EXPORTS) \
16518 for flag in $(EXTRA_HOST_FLAGS) ; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16520 done; \
16521 echo "Doing dvi in intl" ; \
16522 (cd $(HOST_SUBDIR)/intl && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16527 dvi) \
16528 || exit 1
16530 @endif intl
16532 .PHONY: maybe-pdf-intl pdf-intl
16533 maybe-pdf-intl:
16534 @if intl
16535 maybe-pdf-intl: pdf-intl
16537 pdf-intl: \
16538 configure-intl
16539 @[ -f ./intl/Makefile ] || exit 0; \
16540 r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(HOST_EXPORTS) \
16543 for flag in $(EXTRA_HOST_FLAGS) ; do \
16544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16545 done; \
16546 echo "Doing pdf in intl" ; \
16547 (cd $(HOST_SUBDIR)/intl && \
16548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16550 "RANLIB=$${RANLIB}" \
16551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16552 pdf) \
16553 || exit 1
16555 @endif intl
16557 .PHONY: maybe-html-intl html-intl
16558 maybe-html-intl:
16559 @if intl
16560 maybe-html-intl: html-intl
16562 html-intl: \
16563 configure-intl
16564 @[ -f ./intl/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(HOST_EXPORTS) \
16568 for flag in $(EXTRA_HOST_FLAGS) ; do \
16569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16570 done; \
16571 echo "Doing html in intl" ; \
16572 (cd $(HOST_SUBDIR)/intl && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575 "RANLIB=$${RANLIB}" \
16576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16577 html) \
16578 || exit 1
16580 @endif intl
16582 .PHONY: maybe-TAGS-intl TAGS-intl
16583 maybe-TAGS-intl:
16584 @if intl
16585 maybe-TAGS-intl: TAGS-intl
16587 TAGS-intl: \
16588 configure-intl
16589 @[ -f ./intl/Makefile ] || exit 0; \
16590 r=`${PWD_COMMAND}`; export r; \
16591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16592 $(HOST_EXPORTS) \
16593 for flag in $(EXTRA_HOST_FLAGS) ; do \
16594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16595 done; \
16596 echo "Doing TAGS in intl" ; \
16597 (cd $(HOST_SUBDIR)/intl && \
16598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16600 "RANLIB=$${RANLIB}" \
16601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16602 TAGS) \
16603 || exit 1
16605 @endif intl
16607 .PHONY: maybe-install-info-intl install-info-intl
16608 maybe-install-info-intl:
16609 @if intl
16610 maybe-install-info-intl: install-info-intl
16612 install-info-intl: \
16613 configure-intl \
16614 info-intl
16615 @[ -f ./intl/Makefile ] || exit 0; \
16616 r=`${PWD_COMMAND}`; export r; \
16617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16618 $(HOST_EXPORTS) \
16619 for flag in $(EXTRA_HOST_FLAGS) ; do \
16620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16621 done; \
16622 echo "Doing install-info in intl" ; \
16623 (cd $(HOST_SUBDIR)/intl && \
16624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16626 "RANLIB=$${RANLIB}" \
16627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16628 install-info) \
16629 || exit 1
16631 @endif intl
16633 .PHONY: maybe-install-html-intl install-html-intl
16634 maybe-install-html-intl:
16635 @if intl
16636 maybe-install-html-intl: install-html-intl
16638 install-html-intl: \
16639 configure-intl \
16640 html-intl
16641 @[ -f ./intl/Makefile ] || exit 0; \
16642 r=`${PWD_COMMAND}`; export r; \
16643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16644 $(HOST_EXPORTS) \
16645 for flag in $(EXTRA_HOST_FLAGS) ; do \
16646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16647 done; \
16648 echo "Doing install-html in intl" ; \
16649 (cd $(HOST_SUBDIR)/intl && \
16650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16652 "RANLIB=$${RANLIB}" \
16653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16654 install-html) \
16655 || exit 1
16657 @endif intl
16659 .PHONY: maybe-installcheck-intl installcheck-intl
16660 maybe-installcheck-intl:
16661 @if intl
16662 maybe-installcheck-intl: installcheck-intl
16664 installcheck-intl: \
16665 configure-intl
16666 @[ -f ./intl/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(HOST_EXPORTS) \
16670 for flag in $(EXTRA_HOST_FLAGS) ; do \
16671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672 done; \
16673 echo "Doing installcheck in intl" ; \
16674 (cd $(HOST_SUBDIR)/intl && \
16675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677 "RANLIB=$${RANLIB}" \
16678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16679 installcheck) \
16680 || exit 1
16682 @endif intl
16684 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16685 maybe-mostlyclean-intl:
16686 @if intl
16687 maybe-mostlyclean-intl: mostlyclean-intl
16689 mostlyclean-intl:
16690 @[ -f ./intl/Makefile ] || exit 0; \
16691 r=`${PWD_COMMAND}`; export r; \
16692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16693 $(HOST_EXPORTS) \
16694 for flag in $(EXTRA_HOST_FLAGS) ; do \
16695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16696 done; \
16697 echo "Doing mostlyclean in intl" ; \
16698 (cd $(HOST_SUBDIR)/intl && \
16699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16701 "RANLIB=$${RANLIB}" \
16702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16703 mostlyclean) \
16704 || exit 1
16706 @endif intl
16708 .PHONY: maybe-clean-intl clean-intl
16709 maybe-clean-intl:
16710 @if intl
16711 maybe-clean-intl: clean-intl
16713 clean-intl:
16714 @[ -f ./intl/Makefile ] || exit 0; \
16715 r=`${PWD_COMMAND}`; export r; \
16716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16717 $(HOST_EXPORTS) \
16718 for flag in $(EXTRA_HOST_FLAGS) ; do \
16719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16720 done; \
16721 echo "Doing clean in intl" ; \
16722 (cd $(HOST_SUBDIR)/intl && \
16723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16725 "RANLIB=$${RANLIB}" \
16726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16727 clean) \
16728 || exit 1
16730 @endif intl
16732 .PHONY: maybe-distclean-intl distclean-intl
16733 maybe-distclean-intl:
16734 @if intl
16735 maybe-distclean-intl: distclean-intl
16737 distclean-intl:
16738 @[ -f ./intl/Makefile ] || exit 0; \
16739 r=`${PWD_COMMAND}`; export r; \
16740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16741 $(HOST_EXPORTS) \
16742 for flag in $(EXTRA_HOST_FLAGS) ; do \
16743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16744 done; \
16745 echo "Doing distclean in intl" ; \
16746 (cd $(HOST_SUBDIR)/intl && \
16747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16749 "RANLIB=$${RANLIB}" \
16750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16751 distclean) \
16752 || exit 1
16754 @endif intl
16756 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16757 maybe-maintainer-clean-intl:
16758 @if intl
16759 maybe-maintainer-clean-intl: maintainer-clean-intl
16761 maintainer-clean-intl:
16762 @[ -f ./intl/Makefile ] || exit 0; \
16763 r=`${PWD_COMMAND}`; export r; \
16764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16765 $(HOST_EXPORTS) \
16766 for flag in $(EXTRA_HOST_FLAGS) ; do \
16767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16768 done; \
16769 echo "Doing maintainer-clean in intl" ; \
16770 (cd $(HOST_SUBDIR)/intl && \
16771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16773 "RANLIB=$${RANLIB}" \
16774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16775 maintainer-clean) \
16776 || exit 1
16778 @endif intl
16782 .PHONY: configure-tcl maybe-configure-tcl
16783 maybe-configure-tcl:
16784 @if gcc-bootstrap
16785 configure-tcl: stage_current
16786 @endif gcc-bootstrap
16787 @if tcl
16788 maybe-configure-tcl: configure-tcl
16789 configure-tcl:
16790 @: $(MAKE); $(unstage)
16791 @r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16795 $(HOST_EXPORTS) \
16796 echo Configuring in $(HOST_SUBDIR)/tcl; \
16797 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16798 case $(srcdir) in \
16799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16800 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16802 esac; \
16803 srcdiroption="--srcdir=$${topdir}/tcl"; \
16804 libsrcdir="$$s/tcl"; \
16805 $(SHELL) $${libsrcdir}/configure \
16806 $(HOST_CONFIGARGS) $${srcdiroption} \
16807 || exit 1
16808 @endif tcl
16814 .PHONY: all-tcl maybe-all-tcl
16815 maybe-all-tcl:
16816 @if gcc-bootstrap
16817 all-tcl: stage_current
16818 @endif gcc-bootstrap
16819 @if tcl
16820 TARGET-tcl=all
16821 maybe-all-tcl: all-tcl
16822 all-tcl: configure-tcl
16823 @: $(MAKE); $(unstage)
16824 @r=`${PWD_COMMAND}`; export r; \
16825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16826 $(HOST_EXPORTS) \
16827 (cd $(HOST_SUBDIR)/tcl && \
16828 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16829 @endif tcl
16834 .PHONY: check-tcl maybe-check-tcl
16835 maybe-check-tcl:
16836 @if tcl
16837 maybe-check-tcl: check-tcl
16839 check-tcl:
16840 @: $(MAKE); $(unstage)
16841 @r=`${PWD_COMMAND}`; export r; \
16842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16843 $(HOST_EXPORTS) \
16844 (cd $(HOST_SUBDIR)/tcl && \
16845 $(MAKE) $(FLAGS_TO_PASS) check)
16847 @endif tcl
16849 .PHONY: install-tcl maybe-install-tcl
16850 maybe-install-tcl:
16851 @if tcl
16852 maybe-install-tcl: install-tcl
16854 install-tcl: installdirs
16855 @: $(MAKE); $(unstage)
16856 @r=`${PWD_COMMAND}`; export r; \
16857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16858 $(HOST_EXPORTS) \
16859 (cd $(HOST_SUBDIR)/tcl && \
16860 $(MAKE) $(FLAGS_TO_PASS) install)
16862 @endif tcl
16864 # Other targets (info, dvi, pdf, etc.)
16866 .PHONY: maybe-info-tcl info-tcl
16867 maybe-info-tcl:
16868 @if tcl
16869 maybe-info-tcl: info-tcl
16871 info-tcl: \
16872 configure-tcl
16873 @: $(MAKE); $(unstage)
16874 @[ -f ./tcl/Makefile ] || exit 0; \
16875 r=`${PWD_COMMAND}`; export r; \
16876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16877 $(HOST_EXPORTS) \
16878 for flag in $(EXTRA_HOST_FLAGS) ; do \
16879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16880 done; \
16881 echo "Doing info in tcl" ; \
16882 (cd $(HOST_SUBDIR)/tcl && \
16883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16885 "RANLIB=$${RANLIB}" \
16886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16887 info) \
16888 || exit 1
16890 @endif tcl
16892 .PHONY: maybe-dvi-tcl dvi-tcl
16893 maybe-dvi-tcl:
16894 @if tcl
16895 maybe-dvi-tcl: dvi-tcl
16897 dvi-tcl: \
16898 configure-tcl
16899 @: $(MAKE); $(unstage)
16900 @[ -f ./tcl/Makefile ] || exit 0; \
16901 r=`${PWD_COMMAND}`; export r; \
16902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16903 $(HOST_EXPORTS) \
16904 for flag in $(EXTRA_HOST_FLAGS) ; do \
16905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16906 done; \
16907 echo "Doing dvi in tcl" ; \
16908 (cd $(HOST_SUBDIR)/tcl && \
16909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16911 "RANLIB=$${RANLIB}" \
16912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16913 dvi) \
16914 || exit 1
16916 @endif tcl
16918 .PHONY: maybe-pdf-tcl pdf-tcl
16919 maybe-pdf-tcl:
16920 @if tcl
16921 maybe-pdf-tcl: pdf-tcl
16923 pdf-tcl: \
16924 configure-tcl
16925 @: $(MAKE); $(unstage)
16926 @[ -f ./tcl/Makefile ] || exit 0; \
16927 r=`${PWD_COMMAND}`; export r; \
16928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16929 $(HOST_EXPORTS) \
16930 for flag in $(EXTRA_HOST_FLAGS) ; do \
16931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16932 done; \
16933 echo "Doing pdf in tcl" ; \
16934 (cd $(HOST_SUBDIR)/tcl && \
16935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16937 "RANLIB=$${RANLIB}" \
16938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16939 pdf) \
16940 || exit 1
16942 @endif tcl
16944 .PHONY: maybe-html-tcl html-tcl
16945 maybe-html-tcl:
16946 @if tcl
16947 maybe-html-tcl: html-tcl
16949 html-tcl: \
16950 configure-tcl
16951 @: $(MAKE); $(unstage)
16952 @[ -f ./tcl/Makefile ] || exit 0; \
16953 r=`${PWD_COMMAND}`; export r; \
16954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16955 $(HOST_EXPORTS) \
16956 for flag in $(EXTRA_HOST_FLAGS) ; do \
16957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16958 done; \
16959 echo "Doing html in tcl" ; \
16960 (cd $(HOST_SUBDIR)/tcl && \
16961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16963 "RANLIB=$${RANLIB}" \
16964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16965 html) \
16966 || exit 1
16968 @endif tcl
16970 .PHONY: maybe-TAGS-tcl TAGS-tcl
16971 maybe-TAGS-tcl:
16972 @if tcl
16973 maybe-TAGS-tcl: TAGS-tcl
16975 TAGS-tcl: \
16976 configure-tcl
16977 @: $(MAKE); $(unstage)
16978 @[ -f ./tcl/Makefile ] || exit 0; \
16979 r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 $(HOST_EXPORTS) \
16982 for flag in $(EXTRA_HOST_FLAGS) ; do \
16983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16984 done; \
16985 echo "Doing TAGS in tcl" ; \
16986 (cd $(HOST_SUBDIR)/tcl && \
16987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16989 "RANLIB=$${RANLIB}" \
16990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16991 TAGS) \
16992 || exit 1
16994 @endif tcl
16996 .PHONY: maybe-install-info-tcl install-info-tcl
16997 maybe-install-info-tcl:
16998 @if tcl
16999 maybe-install-info-tcl: install-info-tcl
17001 install-info-tcl: \
17002 configure-tcl \
17003 info-tcl
17004 @: $(MAKE); $(unstage)
17005 @[ -f ./tcl/Makefile ] || exit 0; \
17006 r=`${PWD_COMMAND}`; export r; \
17007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17008 $(HOST_EXPORTS) \
17009 for flag in $(EXTRA_HOST_FLAGS) ; do \
17010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17011 done; \
17012 echo "Doing install-info in tcl" ; \
17013 (cd $(HOST_SUBDIR)/tcl && \
17014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17016 "RANLIB=$${RANLIB}" \
17017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17018 install-info) \
17019 || exit 1
17021 @endif tcl
17023 .PHONY: maybe-install-html-tcl install-html-tcl
17024 maybe-install-html-tcl:
17025 @if tcl
17026 maybe-install-html-tcl: install-html-tcl
17028 install-html-tcl: \
17029 configure-tcl \
17030 html-tcl
17031 @: $(MAKE); $(unstage)
17032 @[ -f ./tcl/Makefile ] || exit 0; \
17033 r=`${PWD_COMMAND}`; export r; \
17034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035 $(HOST_EXPORTS) \
17036 for flag in $(EXTRA_HOST_FLAGS) ; do \
17037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17038 done; \
17039 echo "Doing install-html in tcl" ; \
17040 (cd $(HOST_SUBDIR)/tcl && \
17041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17043 "RANLIB=$${RANLIB}" \
17044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17045 install-html) \
17046 || exit 1
17048 @endif tcl
17050 .PHONY: maybe-installcheck-tcl installcheck-tcl
17051 maybe-installcheck-tcl:
17052 @if tcl
17053 maybe-installcheck-tcl: installcheck-tcl
17055 installcheck-tcl: \
17056 configure-tcl
17057 @: $(MAKE); $(unstage)
17058 @[ -f ./tcl/Makefile ] || exit 0; \
17059 r=`${PWD_COMMAND}`; export r; \
17060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17061 $(HOST_EXPORTS) \
17062 for flag in $(EXTRA_HOST_FLAGS) ; do \
17063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17064 done; \
17065 echo "Doing installcheck in tcl" ; \
17066 (cd $(HOST_SUBDIR)/tcl && \
17067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17069 "RANLIB=$${RANLIB}" \
17070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17071 installcheck) \
17072 || exit 1
17074 @endif tcl
17076 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17077 maybe-mostlyclean-tcl:
17078 @if tcl
17079 maybe-mostlyclean-tcl: mostlyclean-tcl
17081 # tcl doesn't support mostlyclean.
17082 mostlyclean-tcl:
17084 @endif tcl
17086 .PHONY: maybe-clean-tcl clean-tcl
17087 maybe-clean-tcl:
17088 @if tcl
17089 maybe-clean-tcl: clean-tcl
17091 clean-tcl:
17092 @: $(MAKE); $(unstage)
17093 @[ -f ./tcl/Makefile ] || exit 0; \
17094 r=`${PWD_COMMAND}`; export r; \
17095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17096 $(HOST_EXPORTS) \
17097 for flag in $(EXTRA_HOST_FLAGS) ; do \
17098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17099 done; \
17100 echo "Doing clean in tcl" ; \
17101 (cd $(HOST_SUBDIR)/tcl && \
17102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17104 "RANLIB=$${RANLIB}" \
17105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17106 clean) \
17107 || exit 1
17109 @endif tcl
17111 .PHONY: maybe-distclean-tcl distclean-tcl
17112 maybe-distclean-tcl:
17113 @if tcl
17114 maybe-distclean-tcl: distclean-tcl
17116 distclean-tcl:
17117 @: $(MAKE); $(unstage)
17118 @[ -f ./tcl/Makefile ] || exit 0; \
17119 r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 $(HOST_EXPORTS) \
17122 for flag in $(EXTRA_HOST_FLAGS) ; do \
17123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17124 done; \
17125 echo "Doing distclean in tcl" ; \
17126 (cd $(HOST_SUBDIR)/tcl && \
17127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17129 "RANLIB=$${RANLIB}" \
17130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17131 distclean) \
17132 || exit 1
17134 @endif tcl
17136 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17137 maybe-maintainer-clean-tcl:
17138 @if tcl
17139 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17141 maintainer-clean-tcl:
17142 @: $(MAKE); $(unstage)
17143 @[ -f ./tcl/Makefile ] || exit 0; \
17144 r=`${PWD_COMMAND}`; export r; \
17145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17146 $(HOST_EXPORTS) \
17147 for flag in $(EXTRA_HOST_FLAGS) ; do \
17148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17149 done; \
17150 echo "Doing maintainer-clean in tcl" ; \
17151 (cd $(HOST_SUBDIR)/tcl && \
17152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17154 "RANLIB=$${RANLIB}" \
17155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17156 maintainer-clean) \
17157 || exit 1
17159 @endif tcl
17163 .PHONY: configure-itcl maybe-configure-itcl
17164 maybe-configure-itcl:
17165 @if gcc-bootstrap
17166 configure-itcl: stage_current
17167 @endif gcc-bootstrap
17168 @if itcl
17169 maybe-configure-itcl: configure-itcl
17170 configure-itcl:
17171 @: $(MAKE); $(unstage)
17172 @r=`${PWD_COMMAND}`; export r; \
17173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17174 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17176 $(HOST_EXPORTS) \
17177 echo Configuring in $(HOST_SUBDIR)/itcl; \
17178 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17179 case $(srcdir) in \
17180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17181 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17183 esac; \
17184 srcdiroption="--srcdir=$${topdir}/itcl"; \
17185 libsrcdir="$$s/itcl"; \
17186 $(SHELL) $${libsrcdir}/configure \
17187 $(HOST_CONFIGARGS) $${srcdiroption} \
17188 || exit 1
17189 @endif itcl
17195 .PHONY: all-itcl maybe-all-itcl
17196 maybe-all-itcl:
17197 @if gcc-bootstrap
17198 all-itcl: stage_current
17199 @endif gcc-bootstrap
17200 @if itcl
17201 TARGET-itcl=all
17202 maybe-all-itcl: all-itcl
17203 all-itcl: configure-itcl
17204 @: $(MAKE); $(unstage)
17205 @r=`${PWD_COMMAND}`; export r; \
17206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17207 $(HOST_EXPORTS) \
17208 (cd $(HOST_SUBDIR)/itcl && \
17209 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17210 @endif itcl
17215 .PHONY: check-itcl maybe-check-itcl
17216 maybe-check-itcl:
17217 @if itcl
17218 maybe-check-itcl: check-itcl
17220 check-itcl:
17221 @: $(MAKE); $(unstage)
17222 @r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17224 $(HOST_EXPORTS) \
17225 (cd $(HOST_SUBDIR)/itcl && \
17226 $(MAKE) $(FLAGS_TO_PASS) check)
17228 @endif itcl
17230 .PHONY: install-itcl maybe-install-itcl
17231 maybe-install-itcl:
17232 @if itcl
17233 maybe-install-itcl: install-itcl
17235 install-itcl: installdirs
17236 @: $(MAKE); $(unstage)
17237 @r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 $(HOST_EXPORTS) \
17240 (cd $(HOST_SUBDIR)/itcl && \
17241 $(MAKE) $(FLAGS_TO_PASS) install)
17243 @endif itcl
17245 # Other targets (info, dvi, pdf, etc.)
17247 .PHONY: maybe-info-itcl info-itcl
17248 maybe-info-itcl:
17249 @if itcl
17250 maybe-info-itcl: info-itcl
17252 info-itcl: \
17253 configure-itcl
17254 @: $(MAKE); $(unstage)
17255 @[ -f ./itcl/Makefile ] || exit 0; \
17256 r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(HOST_EXPORTS) \
17259 for flag in $(EXTRA_HOST_FLAGS) ; do \
17260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17261 done; \
17262 echo "Doing info in itcl" ; \
17263 (cd $(HOST_SUBDIR)/itcl && \
17264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17266 "RANLIB=$${RANLIB}" \
17267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17268 info) \
17269 || exit 1
17271 @endif itcl
17273 .PHONY: maybe-dvi-itcl dvi-itcl
17274 maybe-dvi-itcl:
17275 @if itcl
17276 maybe-dvi-itcl: dvi-itcl
17278 dvi-itcl: \
17279 configure-itcl
17280 @: $(MAKE); $(unstage)
17281 @[ -f ./itcl/Makefile ] || exit 0; \
17282 r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284 $(HOST_EXPORTS) \
17285 for flag in $(EXTRA_HOST_FLAGS) ; do \
17286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17287 done; \
17288 echo "Doing dvi in itcl" ; \
17289 (cd $(HOST_SUBDIR)/itcl && \
17290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17292 "RANLIB=$${RANLIB}" \
17293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17294 dvi) \
17295 || exit 1
17297 @endif itcl
17299 .PHONY: maybe-pdf-itcl pdf-itcl
17300 maybe-pdf-itcl:
17301 @if itcl
17302 maybe-pdf-itcl: pdf-itcl
17304 pdf-itcl: \
17305 configure-itcl
17306 @: $(MAKE); $(unstage)
17307 @[ -f ./itcl/Makefile ] || exit 0; \
17308 r=`${PWD_COMMAND}`; export r; \
17309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17310 $(HOST_EXPORTS) \
17311 for flag in $(EXTRA_HOST_FLAGS) ; do \
17312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17313 done; \
17314 echo "Doing pdf in itcl" ; \
17315 (cd $(HOST_SUBDIR)/itcl && \
17316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17318 "RANLIB=$${RANLIB}" \
17319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17320 pdf) \
17321 || exit 1
17323 @endif itcl
17325 .PHONY: maybe-html-itcl html-itcl
17326 maybe-html-itcl:
17327 @if itcl
17328 maybe-html-itcl: html-itcl
17330 html-itcl: \
17331 configure-itcl
17332 @: $(MAKE); $(unstage)
17333 @[ -f ./itcl/Makefile ] || exit 0; \
17334 r=`${PWD_COMMAND}`; export r; \
17335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17336 $(HOST_EXPORTS) \
17337 for flag in $(EXTRA_HOST_FLAGS) ; do \
17338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17339 done; \
17340 echo "Doing html in itcl" ; \
17341 (cd $(HOST_SUBDIR)/itcl && \
17342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17344 "RANLIB=$${RANLIB}" \
17345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17346 html) \
17347 || exit 1
17349 @endif itcl
17351 .PHONY: maybe-TAGS-itcl TAGS-itcl
17352 maybe-TAGS-itcl:
17353 @if itcl
17354 maybe-TAGS-itcl: TAGS-itcl
17356 TAGS-itcl: \
17357 configure-itcl
17358 @: $(MAKE); $(unstage)
17359 @[ -f ./itcl/Makefile ] || exit 0; \
17360 r=`${PWD_COMMAND}`; export r; \
17361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17362 $(HOST_EXPORTS) \
17363 for flag in $(EXTRA_HOST_FLAGS) ; do \
17364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17365 done; \
17366 echo "Doing TAGS in itcl" ; \
17367 (cd $(HOST_SUBDIR)/itcl && \
17368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17370 "RANLIB=$${RANLIB}" \
17371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17372 TAGS) \
17373 || exit 1
17375 @endif itcl
17377 .PHONY: maybe-install-info-itcl install-info-itcl
17378 maybe-install-info-itcl:
17379 @if itcl
17380 maybe-install-info-itcl: install-info-itcl
17382 install-info-itcl: \
17383 configure-itcl \
17384 info-itcl
17385 @: $(MAKE); $(unstage)
17386 @[ -f ./itcl/Makefile ] || exit 0; \
17387 r=`${PWD_COMMAND}`; export r; \
17388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17389 $(HOST_EXPORTS) \
17390 for flag in $(EXTRA_HOST_FLAGS) ; do \
17391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17392 done; \
17393 echo "Doing install-info in itcl" ; \
17394 (cd $(HOST_SUBDIR)/itcl && \
17395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17397 "RANLIB=$${RANLIB}" \
17398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17399 install-info) \
17400 || exit 1
17402 @endif itcl
17404 .PHONY: maybe-install-html-itcl install-html-itcl
17405 maybe-install-html-itcl:
17406 @if itcl
17407 maybe-install-html-itcl: install-html-itcl
17409 install-html-itcl: \
17410 configure-itcl \
17411 html-itcl
17412 @: $(MAKE); $(unstage)
17413 @[ -f ./itcl/Makefile ] || exit 0; \
17414 r=`${PWD_COMMAND}`; export r; \
17415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17416 $(HOST_EXPORTS) \
17417 for flag in $(EXTRA_HOST_FLAGS) ; do \
17418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17419 done; \
17420 echo "Doing install-html in itcl" ; \
17421 (cd $(HOST_SUBDIR)/itcl && \
17422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424 "RANLIB=$${RANLIB}" \
17425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17426 install-html) \
17427 || exit 1
17429 @endif itcl
17431 .PHONY: maybe-installcheck-itcl installcheck-itcl
17432 maybe-installcheck-itcl:
17433 @if itcl
17434 maybe-installcheck-itcl: installcheck-itcl
17436 installcheck-itcl: \
17437 configure-itcl
17438 @: $(MAKE); $(unstage)
17439 @[ -f ./itcl/Makefile ] || exit 0; \
17440 r=`${PWD_COMMAND}`; export r; \
17441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17442 $(HOST_EXPORTS) \
17443 for flag in $(EXTRA_HOST_FLAGS) ; do \
17444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17445 done; \
17446 echo "Doing installcheck in itcl" ; \
17447 (cd $(HOST_SUBDIR)/itcl && \
17448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17450 "RANLIB=$${RANLIB}" \
17451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17452 installcheck) \
17453 || exit 1
17455 @endif itcl
17457 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17458 maybe-mostlyclean-itcl:
17459 @if itcl
17460 maybe-mostlyclean-itcl: mostlyclean-itcl
17462 mostlyclean-itcl:
17463 @: $(MAKE); $(unstage)
17464 @[ -f ./itcl/Makefile ] || exit 0; \
17465 r=`${PWD_COMMAND}`; export r; \
17466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17467 $(HOST_EXPORTS) \
17468 for flag in $(EXTRA_HOST_FLAGS) ; do \
17469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17470 done; \
17471 echo "Doing mostlyclean in itcl" ; \
17472 (cd $(HOST_SUBDIR)/itcl && \
17473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17475 "RANLIB=$${RANLIB}" \
17476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17477 mostlyclean) \
17478 || exit 1
17480 @endif itcl
17482 .PHONY: maybe-clean-itcl clean-itcl
17483 maybe-clean-itcl:
17484 @if itcl
17485 maybe-clean-itcl: clean-itcl
17487 clean-itcl:
17488 @: $(MAKE); $(unstage)
17489 @[ -f ./itcl/Makefile ] || exit 0; \
17490 r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 $(HOST_EXPORTS) \
17493 for flag in $(EXTRA_HOST_FLAGS) ; do \
17494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17495 done; \
17496 echo "Doing clean in itcl" ; \
17497 (cd $(HOST_SUBDIR)/itcl && \
17498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17500 "RANLIB=$${RANLIB}" \
17501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17502 clean) \
17503 || exit 1
17505 @endif itcl
17507 .PHONY: maybe-distclean-itcl distclean-itcl
17508 maybe-distclean-itcl:
17509 @if itcl
17510 maybe-distclean-itcl: distclean-itcl
17512 distclean-itcl:
17513 @: $(MAKE); $(unstage)
17514 @[ -f ./itcl/Makefile ] || exit 0; \
17515 r=`${PWD_COMMAND}`; export r; \
17516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517 $(HOST_EXPORTS) \
17518 for flag in $(EXTRA_HOST_FLAGS) ; do \
17519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17520 done; \
17521 echo "Doing distclean in itcl" ; \
17522 (cd $(HOST_SUBDIR)/itcl && \
17523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17525 "RANLIB=$${RANLIB}" \
17526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17527 distclean) \
17528 || exit 1
17530 @endif itcl
17532 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17533 maybe-maintainer-clean-itcl:
17534 @if itcl
17535 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17537 maintainer-clean-itcl:
17538 @: $(MAKE); $(unstage)
17539 @[ -f ./itcl/Makefile ] || exit 0; \
17540 r=`${PWD_COMMAND}`; export r; \
17541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542 $(HOST_EXPORTS) \
17543 for flag in $(EXTRA_HOST_FLAGS) ; do \
17544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 done; \
17546 echo "Doing maintainer-clean in itcl" ; \
17547 (cd $(HOST_SUBDIR)/itcl && \
17548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17550 "RANLIB=$${RANLIB}" \
17551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17552 maintainer-clean) \
17553 || exit 1
17555 @endif itcl
17559 .PHONY: configure-ld maybe-configure-ld
17560 maybe-configure-ld:
17561 @if gcc-bootstrap
17562 configure-ld: stage_current
17563 @endif gcc-bootstrap
17564 @if ld
17565 maybe-configure-ld: configure-ld
17566 configure-ld:
17567 @r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17571 $(HOST_EXPORTS) \
17572 echo Configuring in $(HOST_SUBDIR)/ld; \
17573 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17574 case $(srcdir) in \
17575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17576 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17578 esac; \
17579 srcdiroption="--srcdir=$${topdir}/ld"; \
17580 libsrcdir="$$s/ld"; \
17581 $(SHELL) $${libsrcdir}/configure \
17582 $(HOST_CONFIGARGS) $${srcdiroption} \
17583 || exit 1
17584 @endif ld
17588 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17589 maybe-configure-stage1-ld:
17590 @if ld-bootstrap
17591 maybe-configure-stage1-ld: configure-stage1-ld
17592 configure-stage1-ld:
17593 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17595 @r=`${PWD_COMMAND}`; export r; \
17596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17597 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17598 $(HOST_EXPORTS) \
17599 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17600 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17601 cd $(HOST_SUBDIR)/ld || exit 1; \
17602 case $(srcdir) in \
17603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17604 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17606 esac; \
17607 srcdiroption="--srcdir=$${topdir}/ld"; \
17608 libsrcdir="$$s/ld"; \
17609 $(SHELL) $${libsrcdir}/configure \
17610 $(HOST_CONFIGARGS) $${srcdiroption} \
17612 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17613 @endif ld-bootstrap
17615 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17616 maybe-configure-stage2-ld:
17617 @if ld-bootstrap
17618 maybe-configure-stage2-ld: configure-stage2-ld
17619 configure-stage2-ld:
17620 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17622 @r=`${PWD_COMMAND}`; export r; \
17623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17624 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17625 $(HOST_EXPORTS) \
17626 $(POSTSTAGE1_HOST_EXPORTS) \
17627 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17629 cd $(HOST_SUBDIR)/ld || exit 1; \
17630 case $(srcdir) in \
17631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17632 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17634 esac; \
17635 srcdiroption="--srcdir=$${topdir}/ld"; \
17636 libsrcdir="$$s/ld"; \
17637 $(SHELL) $${libsrcdir}/configure \
17638 $(HOST_CONFIGARGS) $${srcdiroption} \
17639 --with-build-libsubdir=$(HOST_SUBDIR) \
17640 @stage2_werror_flag@
17641 @endif ld-bootstrap
17643 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17644 maybe-configure-stage3-ld:
17645 @if ld-bootstrap
17646 maybe-configure-stage3-ld: configure-stage3-ld
17647 configure-stage3-ld:
17648 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17650 @r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17653 $(HOST_EXPORTS) \
17654 $(POSTSTAGE1_HOST_EXPORTS) \
17655 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17657 cd $(HOST_SUBDIR)/ld || exit 1; \
17658 case $(srcdir) in \
17659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17660 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17662 esac; \
17663 srcdiroption="--srcdir=$${topdir}/ld"; \
17664 libsrcdir="$$s/ld"; \
17665 $(SHELL) $${libsrcdir}/configure \
17666 $(HOST_CONFIGARGS) $${srcdiroption} \
17667 --with-build-libsubdir=$(HOST_SUBDIR) \
17668 @stage2_werror_flag@
17669 @endif ld-bootstrap
17671 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17672 maybe-configure-stage4-ld:
17673 @if ld-bootstrap
17674 maybe-configure-stage4-ld: configure-stage4-ld
17675 configure-stage4-ld:
17676 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17678 @r=`${PWD_COMMAND}`; export r; \
17679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17680 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17681 $(HOST_EXPORTS) \
17682 $(POSTSTAGE1_HOST_EXPORTS) \
17683 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17685 cd $(HOST_SUBDIR)/ld || exit 1; \
17686 case $(srcdir) in \
17687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17688 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17690 esac; \
17691 srcdiroption="--srcdir=$${topdir}/ld"; \
17692 libsrcdir="$$s/ld"; \
17693 $(SHELL) $${libsrcdir}/configure \
17694 $(HOST_CONFIGARGS) $${srcdiroption} \
17695 --with-build-libsubdir=$(HOST_SUBDIR) \
17696 @stage2_werror_flag@
17697 @endif ld-bootstrap
17699 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17700 maybe-configure-stageprofile-ld:
17701 @if ld-bootstrap
17702 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17703 configure-stageprofile-ld:
17704 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17706 @r=`${PWD_COMMAND}`; export r; \
17707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17708 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17709 $(HOST_EXPORTS) \
17710 $(POSTSTAGE1_HOST_EXPORTS) \
17711 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17713 cd $(HOST_SUBDIR)/ld || exit 1; \
17714 case $(srcdir) in \
17715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17716 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17718 esac; \
17719 srcdiroption="--srcdir=$${topdir}/ld"; \
17720 libsrcdir="$$s/ld"; \
17721 $(SHELL) $${libsrcdir}/configure \
17722 $(HOST_CONFIGARGS) $${srcdiroption} \
17723 --with-build-libsubdir=$(HOST_SUBDIR) \
17724 @stage2_werror_flag@
17725 @endif ld-bootstrap
17727 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17728 maybe-configure-stagefeedback-ld:
17729 @if ld-bootstrap
17730 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17731 configure-stagefeedback-ld:
17732 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17734 @r=`${PWD_COMMAND}`; export r; \
17735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17736 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17737 $(HOST_EXPORTS) \
17738 $(POSTSTAGE1_HOST_EXPORTS) \
17739 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17741 cd $(HOST_SUBDIR)/ld || exit 1; \
17742 case $(srcdir) in \
17743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17744 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17746 esac; \
17747 srcdiroption="--srcdir=$${topdir}/ld"; \
17748 libsrcdir="$$s/ld"; \
17749 $(SHELL) $${libsrcdir}/configure \
17750 $(HOST_CONFIGARGS) $${srcdiroption} \
17751 --with-build-libsubdir=$(HOST_SUBDIR) \
17752 @stage2_werror_flag@
17753 @endif ld-bootstrap
17759 .PHONY: all-ld maybe-all-ld
17760 maybe-all-ld:
17761 @if gcc-bootstrap
17762 all-ld: stage_current
17763 @endif gcc-bootstrap
17764 @if ld
17765 TARGET-ld=all
17766 maybe-all-ld: all-ld
17767 all-ld: configure-ld
17768 @r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(HOST_EXPORTS) \
17771 (cd $(HOST_SUBDIR)/ld && \
17772 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17773 @endif ld
17777 .PHONY: all-stage1-ld maybe-all-stage1-ld
17778 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17779 maybe-all-stage1-ld:
17780 maybe-clean-stage1-ld:
17781 @if ld-bootstrap
17782 maybe-all-stage1-ld: all-stage1-ld
17783 all-stage1: all-stage1-ld
17784 TARGET-stage1-ld = $(TARGET-ld)
17785 all-stage1-ld: configure-stage1-ld
17786 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17787 @r=`${PWD_COMMAND}`; export r; \
17788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789 $(HOST_EXPORTS) \
17790 cd $(HOST_SUBDIR)/ld && \
17791 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17792 $(TARGET-stage1-ld)
17794 maybe-clean-stage1-ld: clean-stage1-ld
17795 clean-stage1: clean-stage1-ld
17796 clean-stage1-ld:
17797 @if [ $(current_stage) = stage1 ]; then \
17798 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17799 else \
17800 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
17801 $(MAKE) stage1-start; \
17802 fi; \
17803 cd $(HOST_SUBDIR)/ld && \
17804 $(MAKE) $(FLAGS_TO_PASS) \
17805 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17806 @endif ld-bootstrap
17809 .PHONY: all-stage2-ld maybe-all-stage2-ld
17810 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17811 maybe-all-stage2-ld:
17812 maybe-clean-stage2-ld:
17813 @if ld-bootstrap
17814 maybe-all-stage2-ld: all-stage2-ld
17815 all-stage2: all-stage2-ld
17816 TARGET-stage2-ld = $(TARGET-ld)
17817 all-stage2-ld: configure-stage2-ld
17818 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17819 @r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) \
17822 $(POSTSTAGE1_HOST_EXPORTS) \
17823 cd $(HOST_SUBDIR)/ld && \
17824 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17825 $(TARGET-stage2-ld)
17827 maybe-clean-stage2-ld: clean-stage2-ld
17828 clean-stage2: clean-stage2-ld
17829 clean-stage2-ld:
17830 @if [ $(current_stage) = stage2 ]; then \
17831 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17832 else \
17833 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
17834 $(MAKE) stage2-start; \
17835 fi; \
17836 cd $(HOST_SUBDIR)/ld && \
17837 $(MAKE) $(FLAGS_TO_PASS) \
17838 $(POSTSTAGE1_FLAGS_TO_PASS) \
17839 clean
17840 @endif ld-bootstrap
17843 .PHONY: all-stage3-ld maybe-all-stage3-ld
17844 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17845 maybe-all-stage3-ld:
17846 maybe-clean-stage3-ld:
17847 @if ld-bootstrap
17848 maybe-all-stage3-ld: all-stage3-ld
17849 all-stage3: all-stage3-ld
17850 TARGET-stage3-ld = $(TARGET-ld)
17851 all-stage3-ld: configure-stage3-ld
17852 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17853 @r=`${PWD_COMMAND}`; export r; \
17854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17855 $(HOST_EXPORTS) \
17856 $(POSTSTAGE1_HOST_EXPORTS) \
17857 cd $(HOST_SUBDIR)/ld && \
17858 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17859 $(TARGET-stage3-ld)
17861 maybe-clean-stage3-ld: clean-stage3-ld
17862 clean-stage3: clean-stage3-ld
17863 clean-stage3-ld:
17864 @if [ $(current_stage) = stage3 ]; then \
17865 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17866 else \
17867 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
17868 $(MAKE) stage3-start; \
17869 fi; \
17870 cd $(HOST_SUBDIR)/ld && \
17871 $(MAKE) $(FLAGS_TO_PASS) \
17872 $(POSTSTAGE1_FLAGS_TO_PASS) \
17873 clean
17874 @endif ld-bootstrap
17877 .PHONY: all-stage4-ld maybe-all-stage4-ld
17878 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17879 maybe-all-stage4-ld:
17880 maybe-clean-stage4-ld:
17881 @if ld-bootstrap
17882 maybe-all-stage4-ld: all-stage4-ld
17883 all-stage4: all-stage4-ld
17884 TARGET-stage4-ld = $(TARGET-ld)
17885 all-stage4-ld: configure-stage4-ld
17886 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17887 @r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 $(HOST_EXPORTS) \
17890 $(POSTSTAGE1_HOST_EXPORTS) \
17891 cd $(HOST_SUBDIR)/ld && \
17892 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17893 $(TARGET-stage4-ld)
17895 maybe-clean-stage4-ld: clean-stage4-ld
17896 clean-stage4: clean-stage4-ld
17897 clean-stage4-ld:
17898 @if [ $(current_stage) = stage4 ]; then \
17899 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17900 else \
17901 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
17902 $(MAKE) stage4-start; \
17903 fi; \
17904 cd $(HOST_SUBDIR)/ld && \
17905 $(MAKE) $(FLAGS_TO_PASS) \
17906 $(POSTSTAGE1_FLAGS_TO_PASS) \
17907 clean
17908 @endif ld-bootstrap
17911 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17912 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17913 maybe-all-stageprofile-ld:
17914 maybe-clean-stageprofile-ld:
17915 @if ld-bootstrap
17916 maybe-all-stageprofile-ld: all-stageprofile-ld
17917 all-stageprofile: all-stageprofile-ld
17918 TARGET-stageprofile-ld = $(TARGET-ld)
17919 all-stageprofile-ld: configure-stageprofile-ld
17920 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17921 @r=`${PWD_COMMAND}`; export r; \
17922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17923 $(HOST_EXPORTS) \
17924 $(POSTSTAGE1_HOST_EXPORTS) \
17925 cd $(HOST_SUBDIR)/ld && \
17926 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17927 $(TARGET-stageprofile-ld)
17929 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17930 clean-stageprofile: clean-stageprofile-ld
17931 clean-stageprofile-ld:
17932 @if [ $(current_stage) = stageprofile ]; then \
17933 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17934 else \
17935 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
17936 $(MAKE) stageprofile-start; \
17937 fi; \
17938 cd $(HOST_SUBDIR)/ld && \
17939 $(MAKE) $(FLAGS_TO_PASS) \
17940 $(POSTSTAGE1_FLAGS_TO_PASS) \
17941 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17942 @endif ld-bootstrap
17945 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17946 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17947 maybe-all-stagefeedback-ld:
17948 maybe-clean-stagefeedback-ld:
17949 @if ld-bootstrap
17950 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17951 all-stagefeedback: all-stagefeedback-ld
17952 TARGET-stagefeedback-ld = $(TARGET-ld)
17953 all-stagefeedback-ld: configure-stagefeedback-ld
17954 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17955 @r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17957 $(HOST_EXPORTS) \
17958 $(POSTSTAGE1_HOST_EXPORTS) \
17959 cd $(HOST_SUBDIR)/ld && \
17960 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17961 $(TARGET-stagefeedback-ld)
17963 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17964 clean-stagefeedback: clean-stagefeedback-ld
17965 clean-stagefeedback-ld:
17966 @if [ $(current_stage) = stagefeedback ]; then \
17967 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17968 else \
17969 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
17970 $(MAKE) stagefeedback-start; \
17971 fi; \
17972 cd $(HOST_SUBDIR)/ld && \
17973 $(MAKE) $(FLAGS_TO_PASS) \
17974 $(POSTSTAGE1_FLAGS_TO_PASS) \
17975 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17976 @endif ld-bootstrap
17982 .PHONY: check-ld maybe-check-ld
17983 maybe-check-ld:
17984 @if ld
17985 maybe-check-ld: check-ld
17987 check-ld:
17988 @: $(MAKE); $(unstage)
17989 @r=`${PWD_COMMAND}`; export r; \
17990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17991 $(HOST_EXPORTS) \
17992 (cd $(HOST_SUBDIR)/ld && \
17993 $(MAKE) $(FLAGS_TO_PASS) check)
17995 @endif ld
17997 .PHONY: install-ld maybe-install-ld
17998 maybe-install-ld:
17999 @if ld
18000 maybe-install-ld: install-ld
18002 install-ld: installdirs
18003 @: $(MAKE); $(unstage)
18004 @r=`${PWD_COMMAND}`; export r; \
18005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18006 $(HOST_EXPORTS) \
18007 (cd $(HOST_SUBDIR)/ld && \
18008 $(MAKE) $(FLAGS_TO_PASS) install)
18010 @endif ld
18012 # Other targets (info, dvi, pdf, etc.)
18014 .PHONY: maybe-info-ld info-ld
18015 maybe-info-ld:
18016 @if ld
18017 maybe-info-ld: info-ld
18019 info-ld: \
18020 configure-ld
18021 @[ -f ./ld/Makefile ] || exit 0; \
18022 r=`${PWD_COMMAND}`; export r; \
18023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 $(HOST_EXPORTS) \
18025 for flag in $(EXTRA_HOST_FLAGS) ; do \
18026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18027 done; \
18028 echo "Doing info in ld" ; \
18029 (cd $(HOST_SUBDIR)/ld && \
18030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18032 "RANLIB=$${RANLIB}" \
18033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18034 info) \
18035 || exit 1
18037 @endif ld
18039 .PHONY: maybe-dvi-ld dvi-ld
18040 maybe-dvi-ld:
18041 @if ld
18042 maybe-dvi-ld: dvi-ld
18044 dvi-ld: \
18045 configure-ld
18046 @[ -f ./ld/Makefile ] || exit 0; \
18047 r=`${PWD_COMMAND}`; export r; \
18048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18049 $(HOST_EXPORTS) \
18050 for flag in $(EXTRA_HOST_FLAGS) ; do \
18051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18052 done; \
18053 echo "Doing dvi in ld" ; \
18054 (cd $(HOST_SUBDIR)/ld && \
18055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18057 "RANLIB=$${RANLIB}" \
18058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18059 dvi) \
18060 || exit 1
18062 @endif ld
18064 .PHONY: maybe-pdf-ld pdf-ld
18065 maybe-pdf-ld:
18066 @if ld
18067 maybe-pdf-ld: pdf-ld
18069 pdf-ld: \
18070 configure-ld
18071 @[ -f ./ld/Makefile ] || exit 0; \
18072 r=`${PWD_COMMAND}`; export r; \
18073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18074 $(HOST_EXPORTS) \
18075 for flag in $(EXTRA_HOST_FLAGS) ; do \
18076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18077 done; \
18078 echo "Doing pdf in ld" ; \
18079 (cd $(HOST_SUBDIR)/ld && \
18080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18082 "RANLIB=$${RANLIB}" \
18083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18084 pdf) \
18085 || exit 1
18087 @endif ld
18089 .PHONY: maybe-html-ld html-ld
18090 maybe-html-ld:
18091 @if ld
18092 maybe-html-ld: html-ld
18094 html-ld: \
18095 configure-ld
18096 @[ -f ./ld/Makefile ] || exit 0; \
18097 r=`${PWD_COMMAND}`; export r; \
18098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18099 $(HOST_EXPORTS) \
18100 for flag in $(EXTRA_HOST_FLAGS) ; do \
18101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18102 done; \
18103 echo "Doing html in ld" ; \
18104 (cd $(HOST_SUBDIR)/ld && \
18105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18107 "RANLIB=$${RANLIB}" \
18108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18109 html) \
18110 || exit 1
18112 @endif ld
18114 .PHONY: maybe-TAGS-ld TAGS-ld
18115 maybe-TAGS-ld:
18116 @if ld
18117 maybe-TAGS-ld: TAGS-ld
18119 TAGS-ld: \
18120 configure-ld
18121 @[ -f ./ld/Makefile ] || exit 0; \
18122 r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 $(HOST_EXPORTS) \
18125 for flag in $(EXTRA_HOST_FLAGS) ; do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 done; \
18128 echo "Doing TAGS in ld" ; \
18129 (cd $(HOST_SUBDIR)/ld && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134 TAGS) \
18135 || exit 1
18137 @endif ld
18139 .PHONY: maybe-install-info-ld install-info-ld
18140 maybe-install-info-ld:
18141 @if ld
18142 maybe-install-info-ld: install-info-ld
18144 install-info-ld: \
18145 configure-ld \
18146 info-ld
18147 @[ -f ./ld/Makefile ] || exit 0; \
18148 r=`${PWD_COMMAND}`; export r; \
18149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 $(HOST_EXPORTS) \
18151 for flag in $(EXTRA_HOST_FLAGS) ; do \
18152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18153 done; \
18154 echo "Doing install-info in ld" ; \
18155 (cd $(HOST_SUBDIR)/ld && \
18156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18158 "RANLIB=$${RANLIB}" \
18159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18160 install-info) \
18161 || exit 1
18163 @endif ld
18165 .PHONY: maybe-install-html-ld install-html-ld
18166 maybe-install-html-ld:
18167 @if ld
18168 maybe-install-html-ld: install-html-ld
18170 install-html-ld: \
18171 configure-ld \
18172 html-ld
18173 @[ -f ./ld/Makefile ] || exit 0; \
18174 r=`${PWD_COMMAND}`; export r; \
18175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 $(HOST_EXPORTS) \
18177 for flag in $(EXTRA_HOST_FLAGS) ; do \
18178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18179 done; \
18180 echo "Doing install-html in ld" ; \
18181 (cd $(HOST_SUBDIR)/ld && \
18182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18184 "RANLIB=$${RANLIB}" \
18185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18186 install-html) \
18187 || exit 1
18189 @endif ld
18191 .PHONY: maybe-installcheck-ld installcheck-ld
18192 maybe-installcheck-ld:
18193 @if ld
18194 maybe-installcheck-ld: installcheck-ld
18196 installcheck-ld: \
18197 configure-ld
18198 @[ -f ./ld/Makefile ] || exit 0; \
18199 r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201 $(HOST_EXPORTS) \
18202 for flag in $(EXTRA_HOST_FLAGS) ; do \
18203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18204 done; \
18205 echo "Doing installcheck in ld" ; \
18206 (cd $(HOST_SUBDIR)/ld && \
18207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18209 "RANLIB=$${RANLIB}" \
18210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18211 installcheck) \
18212 || exit 1
18214 @endif ld
18216 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18217 maybe-mostlyclean-ld:
18218 @if ld
18219 maybe-mostlyclean-ld: mostlyclean-ld
18221 mostlyclean-ld:
18222 @[ -f ./ld/Makefile ] || exit 0; \
18223 r=`${PWD_COMMAND}`; export r; \
18224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 $(HOST_EXPORTS) \
18226 for flag in $(EXTRA_HOST_FLAGS) ; do \
18227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18228 done; \
18229 echo "Doing mostlyclean in ld" ; \
18230 (cd $(HOST_SUBDIR)/ld && \
18231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18233 "RANLIB=$${RANLIB}" \
18234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18235 mostlyclean) \
18236 || exit 1
18238 @endif ld
18240 .PHONY: maybe-clean-ld clean-ld
18241 maybe-clean-ld:
18242 @if ld
18243 maybe-clean-ld: clean-ld
18245 clean-ld:
18246 @[ -f ./ld/Makefile ] || exit 0; \
18247 r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18249 $(HOST_EXPORTS) \
18250 for flag in $(EXTRA_HOST_FLAGS) ; do \
18251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18252 done; \
18253 echo "Doing clean in ld" ; \
18254 (cd $(HOST_SUBDIR)/ld && \
18255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18257 "RANLIB=$${RANLIB}" \
18258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18259 clean) \
18260 || exit 1
18262 @endif ld
18264 .PHONY: maybe-distclean-ld distclean-ld
18265 maybe-distclean-ld:
18266 @if ld
18267 maybe-distclean-ld: distclean-ld
18269 distclean-ld:
18270 @[ -f ./ld/Makefile ] || exit 0; \
18271 r=`${PWD_COMMAND}`; export r; \
18272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18273 $(HOST_EXPORTS) \
18274 for flag in $(EXTRA_HOST_FLAGS) ; do \
18275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18276 done; \
18277 echo "Doing distclean in ld" ; \
18278 (cd $(HOST_SUBDIR)/ld && \
18279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18281 "RANLIB=$${RANLIB}" \
18282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18283 distclean) \
18284 || exit 1
18286 @endif ld
18288 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18289 maybe-maintainer-clean-ld:
18290 @if ld
18291 maybe-maintainer-clean-ld: maintainer-clean-ld
18293 maintainer-clean-ld:
18294 @[ -f ./ld/Makefile ] || exit 0; \
18295 r=`${PWD_COMMAND}`; export r; \
18296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18297 $(HOST_EXPORTS) \
18298 for flag in $(EXTRA_HOST_FLAGS) ; do \
18299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18300 done; \
18301 echo "Doing maintainer-clean in ld" ; \
18302 (cd $(HOST_SUBDIR)/ld && \
18303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18305 "RANLIB=$${RANLIB}" \
18306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18307 maintainer-clean) \
18308 || exit 1
18310 @endif ld
18314 .PHONY: configure-libcpp maybe-configure-libcpp
18315 maybe-configure-libcpp:
18316 @if gcc-bootstrap
18317 configure-libcpp: stage_current
18318 @endif gcc-bootstrap
18319 @if libcpp
18320 maybe-configure-libcpp: configure-libcpp
18321 configure-libcpp:
18322 @r=`${PWD_COMMAND}`; export r; \
18323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18324 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18326 $(HOST_EXPORTS) \
18327 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18328 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18329 case $(srcdir) in \
18330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18331 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18333 esac; \
18334 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18335 libsrcdir="$$s/libcpp"; \
18336 $(SHELL) $${libsrcdir}/configure \
18337 $(HOST_CONFIGARGS) $${srcdiroption} \
18338 || exit 1
18339 @endif libcpp
18343 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18344 maybe-configure-stage1-libcpp:
18345 @if libcpp-bootstrap
18346 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18347 configure-stage1-libcpp:
18348 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18350 @r=`${PWD_COMMAND}`; export r; \
18351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18352 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18353 $(HOST_EXPORTS) \
18354 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18356 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18357 case $(srcdir) in \
18358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18359 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18361 esac; \
18362 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18363 libsrcdir="$$s/libcpp"; \
18364 $(SHELL) $${libsrcdir}/configure \
18365 $(HOST_CONFIGARGS) $${srcdiroption} \
18367 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18368 @endif libcpp-bootstrap
18370 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18371 maybe-configure-stage2-libcpp:
18372 @if libcpp-bootstrap
18373 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18374 configure-stage2-libcpp:
18375 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18377 @r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18380 $(HOST_EXPORTS) \
18381 $(POSTSTAGE1_HOST_EXPORTS) \
18382 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18384 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18385 case $(srcdir) in \
18386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18387 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18389 esac; \
18390 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18391 libsrcdir="$$s/libcpp"; \
18392 $(SHELL) $${libsrcdir}/configure \
18393 $(HOST_CONFIGARGS) $${srcdiroption} \
18394 --with-build-libsubdir=$(HOST_SUBDIR) \
18395 @stage2_werror_flag@
18396 @endif libcpp-bootstrap
18398 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18399 maybe-configure-stage3-libcpp:
18400 @if libcpp-bootstrap
18401 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18402 configure-stage3-libcpp:
18403 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18405 @r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18408 $(HOST_EXPORTS) \
18409 $(POSTSTAGE1_HOST_EXPORTS) \
18410 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18412 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18413 case $(srcdir) in \
18414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18415 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18417 esac; \
18418 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18419 libsrcdir="$$s/libcpp"; \
18420 $(SHELL) $${libsrcdir}/configure \
18421 $(HOST_CONFIGARGS) $${srcdiroption} \
18422 --with-build-libsubdir=$(HOST_SUBDIR) \
18423 @stage2_werror_flag@
18424 @endif libcpp-bootstrap
18426 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18427 maybe-configure-stage4-libcpp:
18428 @if libcpp-bootstrap
18429 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18430 configure-stage4-libcpp:
18431 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18432 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18433 @r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18436 $(HOST_EXPORTS) \
18437 $(POSTSTAGE1_HOST_EXPORTS) \
18438 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18440 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18441 case $(srcdir) in \
18442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18443 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18445 esac; \
18446 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18447 libsrcdir="$$s/libcpp"; \
18448 $(SHELL) $${libsrcdir}/configure \
18449 $(HOST_CONFIGARGS) $${srcdiroption} \
18450 --with-build-libsubdir=$(HOST_SUBDIR) \
18451 @stage2_werror_flag@
18452 @endif libcpp-bootstrap
18454 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18455 maybe-configure-stageprofile-libcpp:
18456 @if libcpp-bootstrap
18457 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18458 configure-stageprofile-libcpp:
18459 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18460 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18461 @r=`${PWD_COMMAND}`; export r; \
18462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18464 $(HOST_EXPORTS) \
18465 $(POSTSTAGE1_HOST_EXPORTS) \
18466 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18468 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18469 case $(srcdir) in \
18470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18471 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18473 esac; \
18474 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18475 libsrcdir="$$s/libcpp"; \
18476 $(SHELL) $${libsrcdir}/configure \
18477 $(HOST_CONFIGARGS) $${srcdiroption} \
18478 --with-build-libsubdir=$(HOST_SUBDIR) \
18479 @stage2_werror_flag@
18480 @endif libcpp-bootstrap
18482 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18483 maybe-configure-stagefeedback-libcpp:
18484 @if libcpp-bootstrap
18485 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18486 configure-stagefeedback-libcpp:
18487 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18489 @r=`${PWD_COMMAND}`; export r; \
18490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18491 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18492 $(HOST_EXPORTS) \
18493 $(POSTSTAGE1_HOST_EXPORTS) \
18494 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18496 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18497 case $(srcdir) in \
18498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18499 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18501 esac; \
18502 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18503 libsrcdir="$$s/libcpp"; \
18504 $(SHELL) $${libsrcdir}/configure \
18505 $(HOST_CONFIGARGS) $${srcdiroption} \
18506 --with-build-libsubdir=$(HOST_SUBDIR) \
18507 @stage2_werror_flag@
18508 @endif libcpp-bootstrap
18514 .PHONY: all-libcpp maybe-all-libcpp
18515 maybe-all-libcpp:
18516 @if gcc-bootstrap
18517 all-libcpp: stage_current
18518 @endif gcc-bootstrap
18519 @if libcpp
18520 TARGET-libcpp=all
18521 maybe-all-libcpp: all-libcpp
18522 all-libcpp: configure-libcpp
18523 @r=`${PWD_COMMAND}`; export r; \
18524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18525 $(HOST_EXPORTS) \
18526 (cd $(HOST_SUBDIR)/libcpp && \
18527 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18528 @endif libcpp
18532 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18533 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18534 maybe-all-stage1-libcpp:
18535 maybe-clean-stage1-libcpp:
18536 @if libcpp-bootstrap
18537 maybe-all-stage1-libcpp: all-stage1-libcpp
18538 all-stage1: all-stage1-libcpp
18539 TARGET-stage1-libcpp = $(TARGET-libcpp)
18540 all-stage1-libcpp: configure-stage1-libcpp
18541 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18542 @r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(HOST_EXPORTS) \
18545 cd $(HOST_SUBDIR)/libcpp && \
18546 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18547 $(TARGET-stage1-libcpp)
18549 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18550 clean-stage1: clean-stage1-libcpp
18551 clean-stage1-libcpp:
18552 @if [ $(current_stage) = stage1 ]; then \
18553 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18554 else \
18555 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
18556 $(MAKE) stage1-start; \
18557 fi; \
18558 cd $(HOST_SUBDIR)/libcpp && \
18559 $(MAKE) $(FLAGS_TO_PASS) \
18560 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18561 @endif libcpp-bootstrap
18564 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18565 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18566 maybe-all-stage2-libcpp:
18567 maybe-clean-stage2-libcpp:
18568 @if libcpp-bootstrap
18569 maybe-all-stage2-libcpp: all-stage2-libcpp
18570 all-stage2: all-stage2-libcpp
18571 TARGET-stage2-libcpp = $(TARGET-libcpp)
18572 all-stage2-libcpp: configure-stage2-libcpp
18573 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18574 @r=`${PWD_COMMAND}`; export r; \
18575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18576 $(HOST_EXPORTS) \
18577 $(POSTSTAGE1_HOST_EXPORTS) \
18578 cd $(HOST_SUBDIR)/libcpp && \
18579 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18580 $(TARGET-stage2-libcpp)
18582 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18583 clean-stage2: clean-stage2-libcpp
18584 clean-stage2-libcpp:
18585 @if [ $(current_stage) = stage2 ]; then \
18586 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18587 else \
18588 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
18589 $(MAKE) stage2-start; \
18590 fi; \
18591 cd $(HOST_SUBDIR)/libcpp && \
18592 $(MAKE) $(FLAGS_TO_PASS) \
18593 $(POSTSTAGE1_FLAGS_TO_PASS) \
18594 clean
18595 @endif libcpp-bootstrap
18598 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18599 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18600 maybe-all-stage3-libcpp:
18601 maybe-clean-stage3-libcpp:
18602 @if libcpp-bootstrap
18603 maybe-all-stage3-libcpp: all-stage3-libcpp
18604 all-stage3: all-stage3-libcpp
18605 TARGET-stage3-libcpp = $(TARGET-libcpp)
18606 all-stage3-libcpp: configure-stage3-libcpp
18607 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18608 @r=`${PWD_COMMAND}`; export r; \
18609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18610 $(HOST_EXPORTS) \
18611 $(POSTSTAGE1_HOST_EXPORTS) \
18612 cd $(HOST_SUBDIR)/libcpp && \
18613 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18614 $(TARGET-stage3-libcpp)
18616 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18617 clean-stage3: clean-stage3-libcpp
18618 clean-stage3-libcpp:
18619 @if [ $(current_stage) = stage3 ]; then \
18620 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18621 else \
18622 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
18623 $(MAKE) stage3-start; \
18624 fi; \
18625 cd $(HOST_SUBDIR)/libcpp && \
18626 $(MAKE) $(FLAGS_TO_PASS) \
18627 $(POSTSTAGE1_FLAGS_TO_PASS) \
18628 clean
18629 @endif libcpp-bootstrap
18632 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18633 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18634 maybe-all-stage4-libcpp:
18635 maybe-clean-stage4-libcpp:
18636 @if libcpp-bootstrap
18637 maybe-all-stage4-libcpp: all-stage4-libcpp
18638 all-stage4: all-stage4-libcpp
18639 TARGET-stage4-libcpp = $(TARGET-libcpp)
18640 all-stage4-libcpp: configure-stage4-libcpp
18641 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18642 @r=`${PWD_COMMAND}`; export r; \
18643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 $(HOST_EXPORTS) \
18645 $(POSTSTAGE1_HOST_EXPORTS) \
18646 cd $(HOST_SUBDIR)/libcpp && \
18647 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18648 $(TARGET-stage4-libcpp)
18650 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18651 clean-stage4: clean-stage4-libcpp
18652 clean-stage4-libcpp:
18653 @if [ $(current_stage) = stage4 ]; then \
18654 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18655 else \
18656 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
18657 $(MAKE) stage4-start; \
18658 fi; \
18659 cd $(HOST_SUBDIR)/libcpp && \
18660 $(MAKE) $(FLAGS_TO_PASS) \
18661 $(POSTSTAGE1_FLAGS_TO_PASS) \
18662 clean
18663 @endif libcpp-bootstrap
18666 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18667 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18668 maybe-all-stageprofile-libcpp:
18669 maybe-clean-stageprofile-libcpp:
18670 @if libcpp-bootstrap
18671 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18672 all-stageprofile: all-stageprofile-libcpp
18673 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18674 all-stageprofile-libcpp: configure-stageprofile-libcpp
18675 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18676 @r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 $(HOST_EXPORTS) \
18679 $(POSTSTAGE1_HOST_EXPORTS) \
18680 cd $(HOST_SUBDIR)/libcpp && \
18681 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18682 $(TARGET-stageprofile-libcpp)
18684 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18685 clean-stageprofile: clean-stageprofile-libcpp
18686 clean-stageprofile-libcpp:
18687 @if [ $(current_stage) = stageprofile ]; then \
18688 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18689 else \
18690 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
18691 $(MAKE) stageprofile-start; \
18692 fi; \
18693 cd $(HOST_SUBDIR)/libcpp && \
18694 $(MAKE) $(FLAGS_TO_PASS) \
18695 $(POSTSTAGE1_FLAGS_TO_PASS) \
18696 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18697 @endif libcpp-bootstrap
18700 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18701 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18702 maybe-all-stagefeedback-libcpp:
18703 maybe-clean-stagefeedback-libcpp:
18704 @if libcpp-bootstrap
18705 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18706 all-stagefeedback: all-stagefeedback-libcpp
18707 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18708 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18709 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18710 @r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) \
18713 $(POSTSTAGE1_HOST_EXPORTS) \
18714 cd $(HOST_SUBDIR)/libcpp && \
18715 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18716 $(TARGET-stagefeedback-libcpp)
18718 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18719 clean-stagefeedback: clean-stagefeedback-libcpp
18720 clean-stagefeedback-libcpp:
18721 @if [ $(current_stage) = stagefeedback ]; then \
18722 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18723 else \
18724 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
18725 $(MAKE) stagefeedback-start; \
18726 fi; \
18727 cd $(HOST_SUBDIR)/libcpp && \
18728 $(MAKE) $(FLAGS_TO_PASS) \
18729 $(POSTSTAGE1_FLAGS_TO_PASS) \
18730 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18731 @endif libcpp-bootstrap
18737 .PHONY: check-libcpp maybe-check-libcpp
18738 maybe-check-libcpp:
18739 @if libcpp
18740 maybe-check-libcpp: check-libcpp
18742 check-libcpp:
18743 @: $(MAKE); $(unstage)
18744 @r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 $(HOST_EXPORTS) \
18747 (cd $(HOST_SUBDIR)/libcpp && \
18748 $(MAKE) $(FLAGS_TO_PASS) check)
18750 @endif libcpp
18752 .PHONY: install-libcpp maybe-install-libcpp
18753 maybe-install-libcpp:
18754 @if libcpp
18755 maybe-install-libcpp: install-libcpp
18757 install-libcpp: installdirs
18758 @: $(MAKE); $(unstage)
18759 @r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 $(HOST_EXPORTS) \
18762 (cd $(HOST_SUBDIR)/libcpp && \
18763 $(MAKE) $(FLAGS_TO_PASS) install)
18765 @endif libcpp
18767 # Other targets (info, dvi, pdf, etc.)
18769 .PHONY: maybe-info-libcpp info-libcpp
18770 maybe-info-libcpp:
18771 @if libcpp
18772 maybe-info-libcpp: info-libcpp
18774 info-libcpp: \
18775 configure-libcpp
18776 @[ -f ./libcpp/Makefile ] || exit 0; \
18777 r=`${PWD_COMMAND}`; export r; \
18778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18779 $(HOST_EXPORTS) \
18780 for flag in $(EXTRA_HOST_FLAGS) ; do \
18781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18782 done; \
18783 echo "Doing info in libcpp" ; \
18784 (cd $(HOST_SUBDIR)/libcpp && \
18785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18787 "RANLIB=$${RANLIB}" \
18788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18789 info) \
18790 || exit 1
18792 @endif libcpp
18794 .PHONY: maybe-dvi-libcpp dvi-libcpp
18795 maybe-dvi-libcpp:
18796 @if libcpp
18797 maybe-dvi-libcpp: dvi-libcpp
18799 dvi-libcpp: \
18800 configure-libcpp
18801 @[ -f ./libcpp/Makefile ] || exit 0; \
18802 r=`${PWD_COMMAND}`; export r; \
18803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18804 $(HOST_EXPORTS) \
18805 for flag in $(EXTRA_HOST_FLAGS) ; do \
18806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18807 done; \
18808 echo "Doing dvi in libcpp" ; \
18809 (cd $(HOST_SUBDIR)/libcpp && \
18810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18812 "RANLIB=$${RANLIB}" \
18813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18814 dvi) \
18815 || exit 1
18817 @endif libcpp
18819 .PHONY: maybe-pdf-libcpp pdf-libcpp
18820 maybe-pdf-libcpp:
18821 @if libcpp
18822 maybe-pdf-libcpp: pdf-libcpp
18824 pdf-libcpp: \
18825 configure-libcpp
18826 @[ -f ./libcpp/Makefile ] || exit 0; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 $(HOST_EXPORTS) \
18830 for flag in $(EXTRA_HOST_FLAGS) ; do \
18831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18832 done; \
18833 echo "Doing pdf in libcpp" ; \
18834 (cd $(HOST_SUBDIR)/libcpp && \
18835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837 "RANLIB=$${RANLIB}" \
18838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18839 pdf) \
18840 || exit 1
18842 @endif libcpp
18844 .PHONY: maybe-html-libcpp html-libcpp
18845 maybe-html-libcpp:
18846 @if libcpp
18847 maybe-html-libcpp: html-libcpp
18849 html-libcpp: \
18850 configure-libcpp
18851 @[ -f ./libcpp/Makefile ] || exit 0; \
18852 r=`${PWD_COMMAND}`; export r; \
18853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854 $(HOST_EXPORTS) \
18855 for flag in $(EXTRA_HOST_FLAGS) ; do \
18856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18857 done; \
18858 echo "Doing html in libcpp" ; \
18859 (cd $(HOST_SUBDIR)/libcpp && \
18860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18862 "RANLIB=$${RANLIB}" \
18863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18864 html) \
18865 || exit 1
18867 @endif libcpp
18869 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18870 maybe-TAGS-libcpp:
18871 @if libcpp
18872 maybe-TAGS-libcpp: TAGS-libcpp
18874 TAGS-libcpp: \
18875 configure-libcpp
18876 @[ -f ./libcpp/Makefile ] || exit 0; \
18877 r=`${PWD_COMMAND}`; export r; \
18878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18879 $(HOST_EXPORTS) \
18880 for flag in $(EXTRA_HOST_FLAGS) ; do \
18881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18882 done; \
18883 echo "Doing TAGS in libcpp" ; \
18884 (cd $(HOST_SUBDIR)/libcpp && \
18885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18887 "RANLIB=$${RANLIB}" \
18888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18889 TAGS) \
18890 || exit 1
18892 @endif libcpp
18894 .PHONY: maybe-install-info-libcpp install-info-libcpp
18895 maybe-install-info-libcpp:
18896 @if libcpp
18897 maybe-install-info-libcpp: install-info-libcpp
18899 install-info-libcpp: \
18900 configure-libcpp \
18901 info-libcpp
18902 @[ -f ./libcpp/Makefile ] || exit 0; \
18903 r=`${PWD_COMMAND}`; export r; \
18904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18905 $(HOST_EXPORTS) \
18906 for flag in $(EXTRA_HOST_FLAGS) ; do \
18907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18908 done; \
18909 echo "Doing install-info in libcpp" ; \
18910 (cd $(HOST_SUBDIR)/libcpp && \
18911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18913 "RANLIB=$${RANLIB}" \
18914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18915 install-info) \
18916 || exit 1
18918 @endif libcpp
18920 .PHONY: maybe-install-html-libcpp install-html-libcpp
18921 maybe-install-html-libcpp:
18922 @if libcpp
18923 maybe-install-html-libcpp: install-html-libcpp
18925 install-html-libcpp: \
18926 configure-libcpp \
18927 html-libcpp
18928 @[ -f ./libcpp/Makefile ] || exit 0; \
18929 r=`${PWD_COMMAND}`; export r; \
18930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18931 $(HOST_EXPORTS) \
18932 for flag in $(EXTRA_HOST_FLAGS) ; do \
18933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18934 done; \
18935 echo "Doing install-html in libcpp" ; \
18936 (cd $(HOST_SUBDIR)/libcpp && \
18937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18939 "RANLIB=$${RANLIB}" \
18940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18941 install-html) \
18942 || exit 1
18944 @endif libcpp
18946 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18947 maybe-installcheck-libcpp:
18948 @if libcpp
18949 maybe-installcheck-libcpp: installcheck-libcpp
18951 installcheck-libcpp: \
18952 configure-libcpp
18953 @[ -f ./libcpp/Makefile ] || exit 0; \
18954 r=`${PWD_COMMAND}`; export r; \
18955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18956 $(HOST_EXPORTS) \
18957 for flag in $(EXTRA_HOST_FLAGS) ; do \
18958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18959 done; \
18960 echo "Doing installcheck in libcpp" ; \
18961 (cd $(HOST_SUBDIR)/libcpp && \
18962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18964 "RANLIB=$${RANLIB}" \
18965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18966 installcheck) \
18967 || exit 1
18969 @endif libcpp
18971 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
18972 maybe-mostlyclean-libcpp:
18973 @if libcpp
18974 maybe-mostlyclean-libcpp: mostlyclean-libcpp
18976 mostlyclean-libcpp:
18977 @[ -f ./libcpp/Makefile ] || exit 0; \
18978 r=`${PWD_COMMAND}`; export r; \
18979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS) ; do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing mostlyclean in libcpp" ; \
18985 (cd $(HOST_SUBDIR)/libcpp && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18990 mostlyclean) \
18991 || exit 1
18993 @endif libcpp
18995 .PHONY: maybe-clean-libcpp clean-libcpp
18996 maybe-clean-libcpp:
18997 @if libcpp
18998 maybe-clean-libcpp: clean-libcpp
19000 clean-libcpp:
19001 @[ -f ./libcpp/Makefile ] || exit 0; \
19002 r=`${PWD_COMMAND}`; export r; \
19003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19004 $(HOST_EXPORTS) \
19005 for flag in $(EXTRA_HOST_FLAGS) ; do \
19006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19007 done; \
19008 echo "Doing clean in libcpp" ; \
19009 (cd $(HOST_SUBDIR)/libcpp && \
19010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19012 "RANLIB=$${RANLIB}" \
19013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19014 clean) \
19015 || exit 1
19017 @endif libcpp
19019 .PHONY: maybe-distclean-libcpp distclean-libcpp
19020 maybe-distclean-libcpp:
19021 @if libcpp
19022 maybe-distclean-libcpp: distclean-libcpp
19024 distclean-libcpp:
19025 @[ -f ./libcpp/Makefile ] || exit 0; \
19026 r=`${PWD_COMMAND}`; export r; \
19027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19028 $(HOST_EXPORTS) \
19029 for flag in $(EXTRA_HOST_FLAGS) ; do \
19030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19031 done; \
19032 echo "Doing distclean in libcpp" ; \
19033 (cd $(HOST_SUBDIR)/libcpp && \
19034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19036 "RANLIB=$${RANLIB}" \
19037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19038 distclean) \
19039 || exit 1
19041 @endif libcpp
19043 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
19044 maybe-maintainer-clean-libcpp:
19045 @if libcpp
19046 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
19048 maintainer-clean-libcpp:
19049 @[ -f ./libcpp/Makefile ] || exit 0; \
19050 r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 $(HOST_EXPORTS) \
19053 for flag in $(EXTRA_HOST_FLAGS) ; do \
19054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19055 done; \
19056 echo "Doing maintainer-clean in libcpp" ; \
19057 (cd $(HOST_SUBDIR)/libcpp && \
19058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19060 "RANLIB=$${RANLIB}" \
19061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19062 maintainer-clean) \
19063 || exit 1
19065 @endif libcpp
19069 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
19070 maybe-configure-libdecnumber:
19071 @if gcc-bootstrap
19072 configure-libdecnumber: stage_current
19073 @endif gcc-bootstrap
19074 @if libdecnumber
19075 maybe-configure-libdecnumber: configure-libdecnumber
19076 configure-libdecnumber:
19077 @r=`${PWD_COMMAND}`; export r; \
19078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19079 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19081 $(HOST_EXPORTS) \
19082 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
19083 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
19084 case $(srcdir) in \
19085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19086 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19088 esac; \
19089 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19090 libsrcdir="$$s/libdecnumber"; \
19091 $(SHELL) $${libsrcdir}/configure \
19092 $(HOST_CONFIGARGS) $${srcdiroption} \
19093 || exit 1
19094 @endif libdecnumber
19098 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
19099 maybe-configure-stage1-libdecnumber:
19100 @if libdecnumber-bootstrap
19101 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
19102 configure-stage1-libdecnumber:
19103 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19105 @r=`${PWD_COMMAND}`; export r; \
19106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19107 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19108 $(HOST_EXPORTS) \
19109 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
19110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19111 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19112 case $(srcdir) in \
19113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19114 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19116 esac; \
19117 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19118 libsrcdir="$$s/libdecnumber"; \
19119 $(SHELL) $${libsrcdir}/configure \
19120 $(HOST_CONFIGARGS) $${srcdiroption} \
19122 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19123 @endif libdecnumber-bootstrap
19125 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
19126 maybe-configure-stage2-libdecnumber:
19127 @if libdecnumber-bootstrap
19128 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
19129 configure-stage2-libdecnumber:
19130 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19132 @r=`${PWD_COMMAND}`; export r; \
19133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19134 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19135 $(HOST_EXPORTS) \
19136 $(POSTSTAGE1_HOST_EXPORTS) \
19137 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
19138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19139 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19140 case $(srcdir) in \
19141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19142 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19144 esac; \
19145 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19146 libsrcdir="$$s/libdecnumber"; \
19147 $(SHELL) $${libsrcdir}/configure \
19148 $(HOST_CONFIGARGS) $${srcdiroption} \
19149 --with-build-libsubdir=$(HOST_SUBDIR) \
19150 @stage2_werror_flag@
19151 @endif libdecnumber-bootstrap
19153 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19154 maybe-configure-stage3-libdecnumber:
19155 @if libdecnumber-bootstrap
19156 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19157 configure-stage3-libdecnumber:
19158 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19160 @r=`${PWD_COMMAND}`; export r; \
19161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19162 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19163 $(HOST_EXPORTS) \
19164 $(POSTSTAGE1_HOST_EXPORTS) \
19165 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19167 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19168 case $(srcdir) in \
19169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19170 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19172 esac; \
19173 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19174 libsrcdir="$$s/libdecnumber"; \
19175 $(SHELL) $${libsrcdir}/configure \
19176 $(HOST_CONFIGARGS) $${srcdiroption} \
19177 --with-build-libsubdir=$(HOST_SUBDIR) \
19178 @stage2_werror_flag@
19179 @endif libdecnumber-bootstrap
19181 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19182 maybe-configure-stage4-libdecnumber:
19183 @if libdecnumber-bootstrap
19184 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19185 configure-stage4-libdecnumber:
19186 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19188 @r=`${PWD_COMMAND}`; export r; \
19189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19190 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19191 $(HOST_EXPORTS) \
19192 $(POSTSTAGE1_HOST_EXPORTS) \
19193 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19195 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19196 case $(srcdir) in \
19197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19198 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19200 esac; \
19201 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19202 libsrcdir="$$s/libdecnumber"; \
19203 $(SHELL) $${libsrcdir}/configure \
19204 $(HOST_CONFIGARGS) $${srcdiroption} \
19205 --with-build-libsubdir=$(HOST_SUBDIR) \
19206 @stage2_werror_flag@
19207 @endif libdecnumber-bootstrap
19209 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19210 maybe-configure-stageprofile-libdecnumber:
19211 @if libdecnumber-bootstrap
19212 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19213 configure-stageprofile-libdecnumber:
19214 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19216 @r=`${PWD_COMMAND}`; export r; \
19217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19218 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19219 $(HOST_EXPORTS) \
19220 $(POSTSTAGE1_HOST_EXPORTS) \
19221 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19223 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19224 case $(srcdir) in \
19225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19226 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19228 esac; \
19229 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19230 libsrcdir="$$s/libdecnumber"; \
19231 $(SHELL) $${libsrcdir}/configure \
19232 $(HOST_CONFIGARGS) $${srcdiroption} \
19233 --with-build-libsubdir=$(HOST_SUBDIR) \
19234 @stage2_werror_flag@
19235 @endif libdecnumber-bootstrap
19237 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19238 maybe-configure-stagefeedback-libdecnumber:
19239 @if libdecnumber-bootstrap
19240 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19241 configure-stagefeedback-libdecnumber:
19242 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19243 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19244 @r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19247 $(HOST_EXPORTS) \
19248 $(POSTSTAGE1_HOST_EXPORTS) \
19249 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19251 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19252 case $(srcdir) in \
19253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19254 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19256 esac; \
19257 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19258 libsrcdir="$$s/libdecnumber"; \
19259 $(SHELL) $${libsrcdir}/configure \
19260 $(HOST_CONFIGARGS) $${srcdiroption} \
19261 --with-build-libsubdir=$(HOST_SUBDIR) \
19262 @stage2_werror_flag@
19263 @endif libdecnumber-bootstrap
19269 .PHONY: all-libdecnumber maybe-all-libdecnumber
19270 maybe-all-libdecnumber:
19271 @if gcc-bootstrap
19272 all-libdecnumber: stage_current
19273 @endif gcc-bootstrap
19274 @if libdecnumber
19275 TARGET-libdecnumber=all
19276 maybe-all-libdecnumber: all-libdecnumber
19277 all-libdecnumber: configure-libdecnumber
19278 @r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 $(HOST_EXPORTS) \
19281 (cd $(HOST_SUBDIR)/libdecnumber && \
19282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19283 @endif libdecnumber
19287 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19288 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19289 maybe-all-stage1-libdecnumber:
19290 maybe-clean-stage1-libdecnumber:
19291 @if libdecnumber-bootstrap
19292 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19293 all-stage1: all-stage1-libdecnumber
19294 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19295 all-stage1-libdecnumber: configure-stage1-libdecnumber
19296 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19297 @r=`${PWD_COMMAND}`; export r; \
19298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 $(HOST_EXPORTS) \
19300 cd $(HOST_SUBDIR)/libdecnumber && \
19301 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19302 $(TARGET-stage1-libdecnumber)
19304 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19305 clean-stage1: clean-stage1-libdecnumber
19306 clean-stage1-libdecnumber:
19307 @if [ $(current_stage) = stage1 ]; then \
19308 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19309 else \
19310 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
19311 $(MAKE) stage1-start; \
19312 fi; \
19313 cd $(HOST_SUBDIR)/libdecnumber && \
19314 $(MAKE) $(FLAGS_TO_PASS) \
19315 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19316 @endif libdecnumber-bootstrap
19319 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19320 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19321 maybe-all-stage2-libdecnumber:
19322 maybe-clean-stage2-libdecnumber:
19323 @if libdecnumber-bootstrap
19324 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19325 all-stage2: all-stage2-libdecnumber
19326 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19327 all-stage2-libdecnumber: configure-stage2-libdecnumber
19328 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19329 @r=`${PWD_COMMAND}`; export r; \
19330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331 $(HOST_EXPORTS) \
19332 $(POSTSTAGE1_HOST_EXPORTS) \
19333 cd $(HOST_SUBDIR)/libdecnumber && \
19334 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19335 $(TARGET-stage2-libdecnumber)
19337 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19338 clean-stage2: clean-stage2-libdecnumber
19339 clean-stage2-libdecnumber:
19340 @if [ $(current_stage) = stage2 ]; then \
19341 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19342 else \
19343 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
19344 $(MAKE) stage2-start; \
19345 fi; \
19346 cd $(HOST_SUBDIR)/libdecnumber && \
19347 $(MAKE) $(FLAGS_TO_PASS) \
19348 $(POSTSTAGE1_FLAGS_TO_PASS) \
19349 clean
19350 @endif libdecnumber-bootstrap
19353 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19354 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19355 maybe-all-stage3-libdecnumber:
19356 maybe-clean-stage3-libdecnumber:
19357 @if libdecnumber-bootstrap
19358 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19359 all-stage3: all-stage3-libdecnumber
19360 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19361 all-stage3-libdecnumber: configure-stage3-libdecnumber
19362 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19363 @r=`${PWD_COMMAND}`; export r; \
19364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19365 $(HOST_EXPORTS) \
19366 $(POSTSTAGE1_HOST_EXPORTS) \
19367 cd $(HOST_SUBDIR)/libdecnumber && \
19368 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19369 $(TARGET-stage3-libdecnumber)
19371 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19372 clean-stage3: clean-stage3-libdecnumber
19373 clean-stage3-libdecnumber:
19374 @if [ $(current_stage) = stage3 ]; then \
19375 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19376 else \
19377 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
19378 $(MAKE) stage3-start; \
19379 fi; \
19380 cd $(HOST_SUBDIR)/libdecnumber && \
19381 $(MAKE) $(FLAGS_TO_PASS) \
19382 $(POSTSTAGE1_FLAGS_TO_PASS) \
19383 clean
19384 @endif libdecnumber-bootstrap
19387 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19388 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19389 maybe-all-stage4-libdecnumber:
19390 maybe-clean-stage4-libdecnumber:
19391 @if libdecnumber-bootstrap
19392 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19393 all-stage4: all-stage4-libdecnumber
19394 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19395 all-stage4-libdecnumber: configure-stage4-libdecnumber
19396 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19397 @r=`${PWD_COMMAND}`; export r; \
19398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 $(HOST_EXPORTS) \
19400 $(POSTSTAGE1_HOST_EXPORTS) \
19401 cd $(HOST_SUBDIR)/libdecnumber && \
19402 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19403 $(TARGET-stage4-libdecnumber)
19405 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19406 clean-stage4: clean-stage4-libdecnumber
19407 clean-stage4-libdecnumber:
19408 @if [ $(current_stage) = stage4 ]; then \
19409 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19410 else \
19411 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
19412 $(MAKE) stage4-start; \
19413 fi; \
19414 cd $(HOST_SUBDIR)/libdecnumber && \
19415 $(MAKE) $(FLAGS_TO_PASS) \
19416 $(POSTSTAGE1_FLAGS_TO_PASS) \
19417 clean
19418 @endif libdecnumber-bootstrap
19421 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19422 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19423 maybe-all-stageprofile-libdecnumber:
19424 maybe-clean-stageprofile-libdecnumber:
19425 @if libdecnumber-bootstrap
19426 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19427 all-stageprofile: all-stageprofile-libdecnumber
19428 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19429 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19430 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19431 @r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(HOST_EXPORTS) \
19434 $(POSTSTAGE1_HOST_EXPORTS) \
19435 cd $(HOST_SUBDIR)/libdecnumber && \
19436 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19437 $(TARGET-stageprofile-libdecnumber)
19439 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19440 clean-stageprofile: clean-stageprofile-libdecnumber
19441 clean-stageprofile-libdecnumber:
19442 @if [ $(current_stage) = stageprofile ]; then \
19443 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19444 else \
19445 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
19446 $(MAKE) stageprofile-start; \
19447 fi; \
19448 cd $(HOST_SUBDIR)/libdecnumber && \
19449 $(MAKE) $(FLAGS_TO_PASS) \
19450 $(POSTSTAGE1_FLAGS_TO_PASS) \
19451 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19452 @endif libdecnumber-bootstrap
19455 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19456 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19457 maybe-all-stagefeedback-libdecnumber:
19458 maybe-clean-stagefeedback-libdecnumber:
19459 @if libdecnumber-bootstrap
19460 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19461 all-stagefeedback: all-stagefeedback-libdecnumber
19462 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19463 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19464 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19465 @r=`${PWD_COMMAND}`; export r; \
19466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19467 $(HOST_EXPORTS) \
19468 $(POSTSTAGE1_HOST_EXPORTS) \
19469 cd $(HOST_SUBDIR)/libdecnumber && \
19470 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19471 $(TARGET-stagefeedback-libdecnumber)
19473 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19474 clean-stagefeedback: clean-stagefeedback-libdecnumber
19475 clean-stagefeedback-libdecnumber:
19476 @if [ $(current_stage) = stagefeedback ]; then \
19477 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19478 else \
19479 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
19480 $(MAKE) stagefeedback-start; \
19481 fi; \
19482 cd $(HOST_SUBDIR)/libdecnumber && \
19483 $(MAKE) $(FLAGS_TO_PASS) \
19484 $(POSTSTAGE1_FLAGS_TO_PASS) \
19485 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19486 @endif libdecnumber-bootstrap
19492 .PHONY: check-libdecnumber maybe-check-libdecnumber
19493 maybe-check-libdecnumber:
19494 @if libdecnumber
19495 maybe-check-libdecnumber: check-libdecnumber
19497 check-libdecnumber:
19498 @: $(MAKE); $(unstage)
19499 @r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19501 $(HOST_EXPORTS) \
19502 (cd $(HOST_SUBDIR)/libdecnumber && \
19503 $(MAKE) $(FLAGS_TO_PASS) check)
19505 @endif libdecnumber
19507 .PHONY: install-libdecnumber maybe-install-libdecnumber
19508 maybe-install-libdecnumber:
19509 @if libdecnumber
19510 maybe-install-libdecnumber: install-libdecnumber
19512 install-libdecnumber: installdirs
19513 @: $(MAKE); $(unstage)
19514 @r=`${PWD_COMMAND}`; export r; \
19515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19516 $(HOST_EXPORTS) \
19517 (cd $(HOST_SUBDIR)/libdecnumber && \
19518 $(MAKE) $(FLAGS_TO_PASS) install)
19520 @endif libdecnumber
19522 # Other targets (info, dvi, pdf, etc.)
19524 .PHONY: maybe-info-libdecnumber info-libdecnumber
19525 maybe-info-libdecnumber:
19526 @if libdecnumber
19527 maybe-info-libdecnumber: info-libdecnumber
19529 info-libdecnumber: \
19530 configure-libdecnumber
19531 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19532 r=`${PWD_COMMAND}`; export r; \
19533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19534 $(HOST_EXPORTS) \
19535 for flag in $(EXTRA_HOST_FLAGS) ; do \
19536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19537 done; \
19538 echo "Doing info in libdecnumber" ; \
19539 (cd $(HOST_SUBDIR)/libdecnumber && \
19540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19542 "RANLIB=$${RANLIB}" \
19543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19544 info) \
19545 || exit 1
19547 @endif libdecnumber
19549 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19550 maybe-dvi-libdecnumber:
19551 @if libdecnumber
19552 maybe-dvi-libdecnumber: dvi-libdecnumber
19554 dvi-libdecnumber: \
19555 configure-libdecnumber
19556 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19557 r=`${PWD_COMMAND}`; export r; \
19558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19559 $(HOST_EXPORTS) \
19560 for flag in $(EXTRA_HOST_FLAGS) ; do \
19561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19562 done; \
19563 echo "Doing dvi in libdecnumber" ; \
19564 (cd $(HOST_SUBDIR)/libdecnumber && \
19565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19567 "RANLIB=$${RANLIB}" \
19568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19569 dvi) \
19570 || exit 1
19572 @endif libdecnumber
19574 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19575 maybe-pdf-libdecnumber:
19576 @if libdecnumber
19577 maybe-pdf-libdecnumber: pdf-libdecnumber
19579 pdf-libdecnumber: \
19580 configure-libdecnumber
19581 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19582 r=`${PWD_COMMAND}`; export r; \
19583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19584 $(HOST_EXPORTS) \
19585 for flag in $(EXTRA_HOST_FLAGS) ; do \
19586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19587 done; \
19588 echo "Doing pdf in libdecnumber" ; \
19589 (cd $(HOST_SUBDIR)/libdecnumber && \
19590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19592 "RANLIB=$${RANLIB}" \
19593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19594 pdf) \
19595 || exit 1
19597 @endif libdecnumber
19599 .PHONY: maybe-html-libdecnumber html-libdecnumber
19600 maybe-html-libdecnumber:
19601 @if libdecnumber
19602 maybe-html-libdecnumber: html-libdecnumber
19604 html-libdecnumber: \
19605 configure-libdecnumber
19606 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19607 r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 $(HOST_EXPORTS) \
19610 for flag in $(EXTRA_HOST_FLAGS) ; do \
19611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19612 done; \
19613 echo "Doing html in libdecnumber" ; \
19614 (cd $(HOST_SUBDIR)/libdecnumber && \
19615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19617 "RANLIB=$${RANLIB}" \
19618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19619 html) \
19620 || exit 1
19622 @endif libdecnumber
19624 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19625 maybe-TAGS-libdecnumber:
19626 @if libdecnumber
19627 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19629 TAGS-libdecnumber: \
19630 configure-libdecnumber
19631 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19632 r=`${PWD_COMMAND}`; export r; \
19633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 $(HOST_EXPORTS) \
19635 for flag in $(EXTRA_HOST_FLAGS) ; do \
19636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19637 done; \
19638 echo "Doing TAGS in libdecnumber" ; \
19639 (cd $(HOST_SUBDIR)/libdecnumber && \
19640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19642 "RANLIB=$${RANLIB}" \
19643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19644 TAGS) \
19645 || exit 1
19647 @endif libdecnumber
19649 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19650 maybe-install-info-libdecnumber:
19651 @if libdecnumber
19652 maybe-install-info-libdecnumber: install-info-libdecnumber
19654 install-info-libdecnumber: \
19655 configure-libdecnumber \
19656 info-libdecnumber
19657 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19658 r=`${PWD_COMMAND}`; export r; \
19659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19660 $(HOST_EXPORTS) \
19661 for flag in $(EXTRA_HOST_FLAGS) ; do \
19662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19663 done; \
19664 echo "Doing install-info in libdecnumber" ; \
19665 (cd $(HOST_SUBDIR)/libdecnumber && \
19666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19668 "RANLIB=$${RANLIB}" \
19669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19670 install-info) \
19671 || exit 1
19673 @endif libdecnumber
19675 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19676 maybe-install-html-libdecnumber:
19677 @if libdecnumber
19678 maybe-install-html-libdecnumber: install-html-libdecnumber
19680 install-html-libdecnumber: \
19681 configure-libdecnumber \
19682 html-libdecnumber
19683 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19684 r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 $(HOST_EXPORTS) \
19687 for flag in $(EXTRA_HOST_FLAGS) ; do \
19688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19689 done; \
19690 echo "Doing install-html in libdecnumber" ; \
19691 (cd $(HOST_SUBDIR)/libdecnumber && \
19692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19694 "RANLIB=$${RANLIB}" \
19695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19696 install-html) \
19697 || exit 1
19699 @endif libdecnumber
19701 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19702 maybe-installcheck-libdecnumber:
19703 @if libdecnumber
19704 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19706 installcheck-libdecnumber: \
19707 configure-libdecnumber
19708 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19709 r=`${PWD_COMMAND}`; export r; \
19710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19711 $(HOST_EXPORTS) \
19712 for flag in $(EXTRA_HOST_FLAGS) ; do \
19713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19714 done; \
19715 echo "Doing installcheck in libdecnumber" ; \
19716 (cd $(HOST_SUBDIR)/libdecnumber && \
19717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19719 "RANLIB=$${RANLIB}" \
19720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19721 installcheck) \
19722 || exit 1
19724 @endif libdecnumber
19726 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19727 maybe-mostlyclean-libdecnumber:
19728 @if libdecnumber
19729 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19731 mostlyclean-libdecnumber:
19732 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19733 r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 for flag in $(EXTRA_HOST_FLAGS) ; do \
19737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19738 done; \
19739 echo "Doing mostlyclean in libdecnumber" ; \
19740 (cd $(HOST_SUBDIR)/libdecnumber && \
19741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19743 "RANLIB=$${RANLIB}" \
19744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19745 mostlyclean) \
19746 || exit 1
19748 @endif libdecnumber
19750 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19751 maybe-clean-libdecnumber:
19752 @if libdecnumber
19753 maybe-clean-libdecnumber: clean-libdecnumber
19755 clean-libdecnumber:
19756 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19757 r=`${PWD_COMMAND}`; export r; \
19758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19759 $(HOST_EXPORTS) \
19760 for flag in $(EXTRA_HOST_FLAGS) ; do \
19761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19762 done; \
19763 echo "Doing clean in libdecnumber" ; \
19764 (cd $(HOST_SUBDIR)/libdecnumber && \
19765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19767 "RANLIB=$${RANLIB}" \
19768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19769 clean) \
19770 || exit 1
19772 @endif libdecnumber
19774 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19775 maybe-distclean-libdecnumber:
19776 @if libdecnumber
19777 maybe-distclean-libdecnumber: distclean-libdecnumber
19779 distclean-libdecnumber:
19780 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19781 r=`${PWD_COMMAND}`; export r; \
19782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19783 $(HOST_EXPORTS) \
19784 for flag in $(EXTRA_HOST_FLAGS) ; do \
19785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19786 done; \
19787 echo "Doing distclean in libdecnumber" ; \
19788 (cd $(HOST_SUBDIR)/libdecnumber && \
19789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19791 "RANLIB=$${RANLIB}" \
19792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19793 distclean) \
19794 || exit 1
19796 @endif libdecnumber
19798 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19799 maybe-maintainer-clean-libdecnumber:
19800 @if libdecnumber
19801 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19803 maintainer-clean-libdecnumber:
19804 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19805 r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807 $(HOST_EXPORTS) \
19808 for flag in $(EXTRA_HOST_FLAGS) ; do \
19809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19810 done; \
19811 echo "Doing maintainer-clean in libdecnumber" ; \
19812 (cd $(HOST_SUBDIR)/libdecnumber && \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19817 maintainer-clean) \
19818 || exit 1
19820 @endif libdecnumber
19824 .PHONY: configure-libgui maybe-configure-libgui
19825 maybe-configure-libgui:
19826 @if gcc-bootstrap
19827 configure-libgui: stage_current
19828 @endif gcc-bootstrap
19829 @if libgui
19830 maybe-configure-libgui: configure-libgui
19831 configure-libgui:
19832 @: $(MAKE); $(unstage)
19833 @r=`${PWD_COMMAND}`; export r; \
19834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19835 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19837 $(HOST_EXPORTS) \
19838 echo Configuring in $(HOST_SUBDIR)/libgui; \
19839 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19840 case $(srcdir) in \
19841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19842 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19844 esac; \
19845 srcdiroption="--srcdir=$${topdir}/libgui"; \
19846 libsrcdir="$$s/libgui"; \
19847 $(SHELL) $${libsrcdir}/configure \
19848 $(HOST_CONFIGARGS) $${srcdiroption} \
19849 || exit 1
19850 @endif libgui
19856 .PHONY: all-libgui maybe-all-libgui
19857 maybe-all-libgui:
19858 @if gcc-bootstrap
19859 all-libgui: stage_current
19860 @endif gcc-bootstrap
19861 @if libgui
19862 TARGET-libgui=all
19863 maybe-all-libgui: all-libgui
19864 all-libgui: configure-libgui
19865 @: $(MAKE); $(unstage)
19866 @r=`${PWD_COMMAND}`; export r; \
19867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19868 $(HOST_EXPORTS) \
19869 (cd $(HOST_SUBDIR)/libgui && \
19870 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19871 @endif libgui
19876 .PHONY: check-libgui maybe-check-libgui
19877 maybe-check-libgui:
19878 @if libgui
19879 maybe-check-libgui: check-libgui
19881 check-libgui:
19882 @: $(MAKE); $(unstage)
19883 @r=`${PWD_COMMAND}`; export r; \
19884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19885 $(HOST_EXPORTS) \
19886 (cd $(HOST_SUBDIR)/libgui && \
19887 $(MAKE) $(FLAGS_TO_PASS) check)
19889 @endif libgui
19891 .PHONY: install-libgui maybe-install-libgui
19892 maybe-install-libgui:
19893 @if libgui
19894 maybe-install-libgui: install-libgui
19896 install-libgui: installdirs
19897 @: $(MAKE); $(unstage)
19898 @r=`${PWD_COMMAND}`; export r; \
19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19900 $(HOST_EXPORTS) \
19901 (cd $(HOST_SUBDIR)/libgui && \
19902 $(MAKE) $(FLAGS_TO_PASS) install)
19904 @endif libgui
19906 # Other targets (info, dvi, pdf, etc.)
19908 .PHONY: maybe-info-libgui info-libgui
19909 maybe-info-libgui:
19910 @if libgui
19911 maybe-info-libgui: info-libgui
19913 info-libgui: \
19914 configure-libgui
19915 @: $(MAKE); $(unstage)
19916 @[ -f ./libgui/Makefile ] || exit 0; \
19917 r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 $(HOST_EXPORTS) \
19920 for flag in $(EXTRA_HOST_FLAGS) ; do \
19921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19922 done; \
19923 echo "Doing info in libgui" ; \
19924 (cd $(HOST_SUBDIR)/libgui && \
19925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19927 "RANLIB=$${RANLIB}" \
19928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19929 info) \
19930 || exit 1
19932 @endif libgui
19934 .PHONY: maybe-dvi-libgui dvi-libgui
19935 maybe-dvi-libgui:
19936 @if libgui
19937 maybe-dvi-libgui: dvi-libgui
19939 dvi-libgui: \
19940 configure-libgui
19941 @: $(MAKE); $(unstage)
19942 @[ -f ./libgui/Makefile ] || exit 0; \
19943 r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19945 $(HOST_EXPORTS) \
19946 for flag in $(EXTRA_HOST_FLAGS) ; do \
19947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19948 done; \
19949 echo "Doing dvi in libgui" ; \
19950 (cd $(HOST_SUBDIR)/libgui && \
19951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19953 "RANLIB=$${RANLIB}" \
19954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19955 dvi) \
19956 || exit 1
19958 @endif libgui
19960 .PHONY: maybe-pdf-libgui pdf-libgui
19961 maybe-pdf-libgui:
19962 @if libgui
19963 maybe-pdf-libgui: pdf-libgui
19965 pdf-libgui: \
19966 configure-libgui
19967 @: $(MAKE); $(unstage)
19968 @[ -f ./libgui/Makefile ] || exit 0; \
19969 r=`${PWD_COMMAND}`; export r; \
19970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19971 $(HOST_EXPORTS) \
19972 for flag in $(EXTRA_HOST_FLAGS) ; do \
19973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19974 done; \
19975 echo "Doing pdf in libgui" ; \
19976 (cd $(HOST_SUBDIR)/libgui && \
19977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19979 "RANLIB=$${RANLIB}" \
19980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19981 pdf) \
19982 || exit 1
19984 @endif libgui
19986 .PHONY: maybe-html-libgui html-libgui
19987 maybe-html-libgui:
19988 @if libgui
19989 maybe-html-libgui: html-libgui
19991 html-libgui: \
19992 configure-libgui
19993 @: $(MAKE); $(unstage)
19994 @[ -f ./libgui/Makefile ] || exit 0; \
19995 r=`${PWD_COMMAND}`; export r; \
19996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19997 $(HOST_EXPORTS) \
19998 for flag in $(EXTRA_HOST_FLAGS) ; do \
19999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20000 done; \
20001 echo "Doing html in libgui" ; \
20002 (cd $(HOST_SUBDIR)/libgui && \
20003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20005 "RANLIB=$${RANLIB}" \
20006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20007 html) \
20008 || exit 1
20010 @endif libgui
20012 .PHONY: maybe-TAGS-libgui TAGS-libgui
20013 maybe-TAGS-libgui:
20014 @if libgui
20015 maybe-TAGS-libgui: TAGS-libgui
20017 TAGS-libgui: \
20018 configure-libgui
20019 @: $(MAKE); $(unstage)
20020 @[ -f ./libgui/Makefile ] || exit 0; \
20021 r=`${PWD_COMMAND}`; export r; \
20022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20023 $(HOST_EXPORTS) \
20024 for flag in $(EXTRA_HOST_FLAGS) ; do \
20025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20026 done; \
20027 echo "Doing TAGS in libgui" ; \
20028 (cd $(HOST_SUBDIR)/libgui && \
20029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20031 "RANLIB=$${RANLIB}" \
20032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20033 TAGS) \
20034 || exit 1
20036 @endif libgui
20038 .PHONY: maybe-install-info-libgui install-info-libgui
20039 maybe-install-info-libgui:
20040 @if libgui
20041 maybe-install-info-libgui: install-info-libgui
20043 install-info-libgui: \
20044 configure-libgui \
20045 info-libgui
20046 @: $(MAKE); $(unstage)
20047 @[ -f ./libgui/Makefile ] || exit 0; \
20048 r=`${PWD_COMMAND}`; export r; \
20049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20050 $(HOST_EXPORTS) \
20051 for flag in $(EXTRA_HOST_FLAGS) ; do \
20052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20053 done; \
20054 echo "Doing install-info in libgui" ; \
20055 (cd $(HOST_SUBDIR)/libgui && \
20056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20058 "RANLIB=$${RANLIB}" \
20059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20060 install-info) \
20061 || exit 1
20063 @endif libgui
20065 .PHONY: maybe-install-html-libgui install-html-libgui
20066 maybe-install-html-libgui:
20067 @if libgui
20068 maybe-install-html-libgui: install-html-libgui
20070 install-html-libgui: \
20071 configure-libgui \
20072 html-libgui
20073 @: $(MAKE); $(unstage)
20074 @[ -f ./libgui/Makefile ] || exit 0; \
20075 r=`${PWD_COMMAND}`; export r; \
20076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20077 $(HOST_EXPORTS) \
20078 for flag in $(EXTRA_HOST_FLAGS) ; do \
20079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20080 done; \
20081 echo "Doing install-html in libgui" ; \
20082 (cd $(HOST_SUBDIR)/libgui && \
20083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20085 "RANLIB=$${RANLIB}" \
20086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20087 install-html) \
20088 || exit 1
20090 @endif libgui
20092 .PHONY: maybe-installcheck-libgui installcheck-libgui
20093 maybe-installcheck-libgui:
20094 @if libgui
20095 maybe-installcheck-libgui: installcheck-libgui
20097 installcheck-libgui: \
20098 configure-libgui
20099 @: $(MAKE); $(unstage)
20100 @[ -f ./libgui/Makefile ] || exit 0; \
20101 r=`${PWD_COMMAND}`; export r; \
20102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 $(HOST_EXPORTS) \
20104 for flag in $(EXTRA_HOST_FLAGS) ; do \
20105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20106 done; \
20107 echo "Doing installcheck in libgui" ; \
20108 (cd $(HOST_SUBDIR)/libgui && \
20109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20111 "RANLIB=$${RANLIB}" \
20112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20113 installcheck) \
20114 || exit 1
20116 @endif libgui
20118 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
20119 maybe-mostlyclean-libgui:
20120 @if libgui
20121 maybe-mostlyclean-libgui: mostlyclean-libgui
20123 mostlyclean-libgui:
20124 @: $(MAKE); $(unstage)
20125 @[ -f ./libgui/Makefile ] || exit 0; \
20126 r=`${PWD_COMMAND}`; export r; \
20127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20128 $(HOST_EXPORTS) \
20129 for flag in $(EXTRA_HOST_FLAGS) ; do \
20130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20131 done; \
20132 echo "Doing mostlyclean in libgui" ; \
20133 (cd $(HOST_SUBDIR)/libgui && \
20134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20136 "RANLIB=$${RANLIB}" \
20137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20138 mostlyclean) \
20139 || exit 1
20141 @endif libgui
20143 .PHONY: maybe-clean-libgui clean-libgui
20144 maybe-clean-libgui:
20145 @if libgui
20146 maybe-clean-libgui: clean-libgui
20148 clean-libgui:
20149 @: $(MAKE); $(unstage)
20150 @[ -f ./libgui/Makefile ] || exit 0; \
20151 r=`${PWD_COMMAND}`; export r; \
20152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20153 $(HOST_EXPORTS) \
20154 for flag in $(EXTRA_HOST_FLAGS) ; do \
20155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20156 done; \
20157 echo "Doing clean in libgui" ; \
20158 (cd $(HOST_SUBDIR)/libgui && \
20159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20161 "RANLIB=$${RANLIB}" \
20162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20163 clean) \
20164 || exit 1
20166 @endif libgui
20168 .PHONY: maybe-distclean-libgui distclean-libgui
20169 maybe-distclean-libgui:
20170 @if libgui
20171 maybe-distclean-libgui: distclean-libgui
20173 distclean-libgui:
20174 @: $(MAKE); $(unstage)
20175 @[ -f ./libgui/Makefile ] || exit 0; \
20176 r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 $(HOST_EXPORTS) \
20179 for flag in $(EXTRA_HOST_FLAGS) ; do \
20180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20181 done; \
20182 echo "Doing distclean in libgui" ; \
20183 (cd $(HOST_SUBDIR)/libgui && \
20184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20186 "RANLIB=$${RANLIB}" \
20187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20188 distclean) \
20189 || exit 1
20191 @endif libgui
20193 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20194 maybe-maintainer-clean-libgui:
20195 @if libgui
20196 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20198 maintainer-clean-libgui:
20199 @: $(MAKE); $(unstage)
20200 @[ -f ./libgui/Makefile ] || exit 0; \
20201 r=`${PWD_COMMAND}`; export r; \
20202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20203 $(HOST_EXPORTS) \
20204 for flag in $(EXTRA_HOST_FLAGS) ; do \
20205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20206 done; \
20207 echo "Doing maintainer-clean in libgui" ; \
20208 (cd $(HOST_SUBDIR)/libgui && \
20209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20211 "RANLIB=$${RANLIB}" \
20212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20213 maintainer-clean) \
20214 || exit 1
20216 @endif libgui
20220 .PHONY: configure-libiberty maybe-configure-libiberty
20221 maybe-configure-libiberty:
20222 @if gcc-bootstrap
20223 configure-libiberty: stage_current
20224 @endif gcc-bootstrap
20225 @if libiberty
20226 maybe-configure-libiberty: configure-libiberty
20227 configure-libiberty:
20228 @r=`${PWD_COMMAND}`; export r; \
20229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20230 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20232 $(HOST_EXPORTS) \
20233 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20234 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20235 case $(srcdir) in \
20236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20237 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20239 esac; \
20240 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20241 libsrcdir="$$s/libiberty"; \
20242 $(SHELL) $${libsrcdir}/configure \
20243 $(HOST_CONFIGARGS) $${srcdiroption} \
20244 || exit 1
20245 @endif libiberty
20249 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20250 maybe-configure-stage1-libiberty:
20251 @if libiberty-bootstrap
20252 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20253 configure-stage1-libiberty:
20254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20256 @r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20259 $(HOST_EXPORTS) \
20260 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20262 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20263 case $(srcdir) in \
20264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20265 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20267 esac; \
20268 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20269 libsrcdir="$$s/libiberty"; \
20270 $(SHELL) $${libsrcdir}/configure \
20271 $(HOST_CONFIGARGS) $${srcdiroption} \
20273 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20274 @endif libiberty-bootstrap
20276 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20277 maybe-configure-stage2-libiberty:
20278 @if libiberty-bootstrap
20279 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20280 configure-stage2-libiberty:
20281 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20283 @r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20286 $(HOST_EXPORTS) \
20287 $(POSTSTAGE1_HOST_EXPORTS) \
20288 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20289 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20290 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20291 case $(srcdir) in \
20292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20293 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20295 esac; \
20296 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20297 libsrcdir="$$s/libiberty"; \
20298 $(SHELL) $${libsrcdir}/configure \
20299 $(HOST_CONFIGARGS) $${srcdiroption} \
20300 --with-build-libsubdir=$(HOST_SUBDIR) \
20301 @stage2_werror_flag@
20302 @endif libiberty-bootstrap
20304 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20305 maybe-configure-stage3-libiberty:
20306 @if libiberty-bootstrap
20307 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20308 configure-stage3-libiberty:
20309 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20311 @r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20314 $(HOST_EXPORTS) \
20315 $(POSTSTAGE1_HOST_EXPORTS) \
20316 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20318 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20319 case $(srcdir) in \
20320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20321 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20323 esac; \
20324 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20325 libsrcdir="$$s/libiberty"; \
20326 $(SHELL) $${libsrcdir}/configure \
20327 $(HOST_CONFIGARGS) $${srcdiroption} \
20328 --with-build-libsubdir=$(HOST_SUBDIR) \
20329 @stage2_werror_flag@
20330 @endif libiberty-bootstrap
20332 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20333 maybe-configure-stage4-libiberty:
20334 @if libiberty-bootstrap
20335 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20336 configure-stage4-libiberty:
20337 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20339 @r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20341 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20342 $(HOST_EXPORTS) \
20343 $(POSTSTAGE1_HOST_EXPORTS) \
20344 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20346 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20347 case $(srcdir) in \
20348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20349 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20351 esac; \
20352 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20353 libsrcdir="$$s/libiberty"; \
20354 $(SHELL) $${libsrcdir}/configure \
20355 $(HOST_CONFIGARGS) $${srcdiroption} \
20356 --with-build-libsubdir=$(HOST_SUBDIR) \
20357 @stage2_werror_flag@
20358 @endif libiberty-bootstrap
20360 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20361 maybe-configure-stageprofile-libiberty:
20362 @if libiberty-bootstrap
20363 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20364 configure-stageprofile-libiberty:
20365 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20367 @r=`${PWD_COMMAND}`; export r; \
20368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20369 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20370 $(HOST_EXPORTS) \
20371 $(POSTSTAGE1_HOST_EXPORTS) \
20372 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20374 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20375 case $(srcdir) in \
20376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20377 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20379 esac; \
20380 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20381 libsrcdir="$$s/libiberty"; \
20382 $(SHELL) $${libsrcdir}/configure \
20383 $(HOST_CONFIGARGS) $${srcdiroption} \
20384 --with-build-libsubdir=$(HOST_SUBDIR) \
20385 @stage2_werror_flag@
20386 @endif libiberty-bootstrap
20388 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20389 maybe-configure-stagefeedback-libiberty:
20390 @if libiberty-bootstrap
20391 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20392 configure-stagefeedback-libiberty:
20393 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20394 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20395 @r=`${PWD_COMMAND}`; export r; \
20396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20397 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20398 $(HOST_EXPORTS) \
20399 $(POSTSTAGE1_HOST_EXPORTS) \
20400 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20402 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20403 case $(srcdir) in \
20404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20405 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20407 esac; \
20408 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20409 libsrcdir="$$s/libiberty"; \
20410 $(SHELL) $${libsrcdir}/configure \
20411 $(HOST_CONFIGARGS) $${srcdiroption} \
20412 --with-build-libsubdir=$(HOST_SUBDIR) \
20413 @stage2_werror_flag@
20414 @endif libiberty-bootstrap
20420 .PHONY: all-libiberty maybe-all-libiberty
20421 maybe-all-libiberty:
20422 @if gcc-bootstrap
20423 all-libiberty: stage_current
20424 @endif gcc-bootstrap
20425 @if libiberty
20426 TARGET-libiberty=all
20427 maybe-all-libiberty: all-libiberty
20428 all-libiberty: configure-libiberty
20429 @r=`${PWD_COMMAND}`; export r; \
20430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20431 $(HOST_EXPORTS) \
20432 (cd $(HOST_SUBDIR)/libiberty && \
20433 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20434 @endif libiberty
20438 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20439 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20440 maybe-all-stage1-libiberty:
20441 maybe-clean-stage1-libiberty:
20442 @if libiberty-bootstrap
20443 maybe-all-stage1-libiberty: all-stage1-libiberty
20444 all-stage1: all-stage1-libiberty
20445 TARGET-stage1-libiberty = $(TARGET-libiberty)
20446 all-stage1-libiberty: configure-stage1-libiberty
20447 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20448 @r=`${PWD_COMMAND}`; export r; \
20449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450 $(HOST_EXPORTS) \
20451 cd $(HOST_SUBDIR)/libiberty && \
20452 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20453 $(TARGET-stage1-libiberty)
20455 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20456 clean-stage1: clean-stage1-libiberty
20457 clean-stage1-libiberty:
20458 @if [ $(current_stage) = stage1 ]; then \
20459 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20460 else \
20461 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
20462 $(MAKE) stage1-start; \
20463 fi; \
20464 cd $(HOST_SUBDIR)/libiberty && \
20465 $(MAKE) $(FLAGS_TO_PASS) \
20466 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20467 @endif libiberty-bootstrap
20470 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20471 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20472 maybe-all-stage2-libiberty:
20473 maybe-clean-stage2-libiberty:
20474 @if libiberty-bootstrap
20475 maybe-all-stage2-libiberty: all-stage2-libiberty
20476 all-stage2: all-stage2-libiberty
20477 TARGET-stage2-libiberty = $(TARGET-libiberty)
20478 all-stage2-libiberty: configure-stage2-libiberty
20479 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20480 @r=`${PWD_COMMAND}`; export r; \
20481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20482 $(HOST_EXPORTS) \
20483 $(POSTSTAGE1_HOST_EXPORTS) \
20484 cd $(HOST_SUBDIR)/libiberty && \
20485 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20486 $(TARGET-stage2-libiberty)
20488 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20489 clean-stage2: clean-stage2-libiberty
20490 clean-stage2-libiberty:
20491 @if [ $(current_stage) = stage2 ]; then \
20492 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20493 else \
20494 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
20495 $(MAKE) stage2-start; \
20496 fi; \
20497 cd $(HOST_SUBDIR)/libiberty && \
20498 $(MAKE) $(FLAGS_TO_PASS) \
20499 $(POSTSTAGE1_FLAGS_TO_PASS) \
20500 clean
20501 @endif libiberty-bootstrap
20504 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20505 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20506 maybe-all-stage3-libiberty:
20507 maybe-clean-stage3-libiberty:
20508 @if libiberty-bootstrap
20509 maybe-all-stage3-libiberty: all-stage3-libiberty
20510 all-stage3: all-stage3-libiberty
20511 TARGET-stage3-libiberty = $(TARGET-libiberty)
20512 all-stage3-libiberty: configure-stage3-libiberty
20513 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20514 @r=`${PWD_COMMAND}`; export r; \
20515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20516 $(HOST_EXPORTS) \
20517 $(POSTSTAGE1_HOST_EXPORTS) \
20518 cd $(HOST_SUBDIR)/libiberty && \
20519 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20520 $(TARGET-stage3-libiberty)
20522 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20523 clean-stage3: clean-stage3-libiberty
20524 clean-stage3-libiberty:
20525 @if [ $(current_stage) = stage3 ]; then \
20526 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20527 else \
20528 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
20529 $(MAKE) stage3-start; \
20530 fi; \
20531 cd $(HOST_SUBDIR)/libiberty && \
20532 $(MAKE) $(FLAGS_TO_PASS) \
20533 $(POSTSTAGE1_FLAGS_TO_PASS) \
20534 clean
20535 @endif libiberty-bootstrap
20538 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20539 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20540 maybe-all-stage4-libiberty:
20541 maybe-clean-stage4-libiberty:
20542 @if libiberty-bootstrap
20543 maybe-all-stage4-libiberty: all-stage4-libiberty
20544 all-stage4: all-stage4-libiberty
20545 TARGET-stage4-libiberty = $(TARGET-libiberty)
20546 all-stage4-libiberty: configure-stage4-libiberty
20547 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20548 @r=`${PWD_COMMAND}`; export r; \
20549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 $(HOST_EXPORTS) \
20551 $(POSTSTAGE1_HOST_EXPORTS) \
20552 cd $(HOST_SUBDIR)/libiberty && \
20553 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20554 $(TARGET-stage4-libiberty)
20556 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20557 clean-stage4: clean-stage4-libiberty
20558 clean-stage4-libiberty:
20559 @if [ $(current_stage) = stage4 ]; then \
20560 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20561 else \
20562 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
20563 $(MAKE) stage4-start; \
20564 fi; \
20565 cd $(HOST_SUBDIR)/libiberty && \
20566 $(MAKE) $(FLAGS_TO_PASS) \
20567 $(POSTSTAGE1_FLAGS_TO_PASS) \
20568 clean
20569 @endif libiberty-bootstrap
20572 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20573 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20574 maybe-all-stageprofile-libiberty:
20575 maybe-clean-stageprofile-libiberty:
20576 @if libiberty-bootstrap
20577 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20578 all-stageprofile: all-stageprofile-libiberty
20579 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20580 all-stageprofile-libiberty: configure-stageprofile-libiberty
20581 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20582 @r=`${PWD_COMMAND}`; export r; \
20583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20584 $(HOST_EXPORTS) \
20585 $(POSTSTAGE1_HOST_EXPORTS) \
20586 cd $(HOST_SUBDIR)/libiberty && \
20587 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20588 $(TARGET-stageprofile-libiberty)
20590 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20591 clean-stageprofile: clean-stageprofile-libiberty
20592 clean-stageprofile-libiberty:
20593 @if [ $(current_stage) = stageprofile ]; then \
20594 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20595 else \
20596 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
20597 $(MAKE) stageprofile-start; \
20598 fi; \
20599 cd $(HOST_SUBDIR)/libiberty && \
20600 $(MAKE) $(FLAGS_TO_PASS) \
20601 $(POSTSTAGE1_FLAGS_TO_PASS) \
20602 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20603 @endif libiberty-bootstrap
20606 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20607 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20608 maybe-all-stagefeedback-libiberty:
20609 maybe-clean-stagefeedback-libiberty:
20610 @if libiberty-bootstrap
20611 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20612 all-stagefeedback: all-stagefeedback-libiberty
20613 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20614 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20615 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20616 @r=`${PWD_COMMAND}`; export r; \
20617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 $(HOST_EXPORTS) \
20619 $(POSTSTAGE1_HOST_EXPORTS) \
20620 cd $(HOST_SUBDIR)/libiberty && \
20621 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20622 $(TARGET-stagefeedback-libiberty)
20624 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20625 clean-stagefeedback: clean-stagefeedback-libiberty
20626 clean-stagefeedback-libiberty:
20627 @if [ $(current_stage) = stagefeedback ]; then \
20628 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20629 else \
20630 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
20631 $(MAKE) stagefeedback-start; \
20632 fi; \
20633 cd $(HOST_SUBDIR)/libiberty && \
20634 $(MAKE) $(FLAGS_TO_PASS) \
20635 $(POSTSTAGE1_FLAGS_TO_PASS) \
20636 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20637 @endif libiberty-bootstrap
20643 .PHONY: check-libiberty maybe-check-libiberty
20644 maybe-check-libiberty:
20645 @if libiberty
20646 maybe-check-libiberty: check-libiberty
20648 check-libiberty:
20649 @: $(MAKE); $(unstage)
20650 @r=`${PWD_COMMAND}`; export r; \
20651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20652 $(HOST_EXPORTS) \
20653 (cd $(HOST_SUBDIR)/libiberty && \
20654 $(MAKE) $(FLAGS_TO_PASS) check)
20656 @endif libiberty
20658 .PHONY: install-libiberty maybe-install-libiberty
20659 maybe-install-libiberty:
20660 @if libiberty
20661 maybe-install-libiberty: install-libiberty
20663 install-libiberty: installdirs
20664 @: $(MAKE); $(unstage)
20665 @r=`${PWD_COMMAND}`; export r; \
20666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20667 $(HOST_EXPORTS) \
20668 (cd $(HOST_SUBDIR)/libiberty && \
20669 $(MAKE) $(FLAGS_TO_PASS) install)
20671 @endif libiberty
20673 # Other targets (info, dvi, pdf, etc.)
20675 .PHONY: maybe-info-libiberty info-libiberty
20676 maybe-info-libiberty:
20677 @if libiberty
20678 maybe-info-libiberty: info-libiberty
20680 info-libiberty: \
20681 configure-libiberty
20682 @[ -f ./libiberty/Makefile ] || exit 0; \
20683 r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(HOST_EXPORTS) \
20686 for flag in $(EXTRA_HOST_FLAGS) ; do \
20687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20688 done; \
20689 echo "Doing info in libiberty" ; \
20690 (cd $(HOST_SUBDIR)/libiberty && \
20691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20693 "RANLIB=$${RANLIB}" \
20694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20695 info) \
20696 || exit 1
20698 @endif libiberty
20700 .PHONY: maybe-dvi-libiberty dvi-libiberty
20701 maybe-dvi-libiberty:
20702 @if libiberty
20703 maybe-dvi-libiberty: dvi-libiberty
20705 dvi-libiberty: \
20706 configure-libiberty
20707 @[ -f ./libiberty/Makefile ] || exit 0; \
20708 r=`${PWD_COMMAND}`; export r; \
20709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20710 $(HOST_EXPORTS) \
20711 for flag in $(EXTRA_HOST_FLAGS) ; do \
20712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20713 done; \
20714 echo "Doing dvi in libiberty" ; \
20715 (cd $(HOST_SUBDIR)/libiberty && \
20716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20718 "RANLIB=$${RANLIB}" \
20719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20720 dvi) \
20721 || exit 1
20723 @endif libiberty
20725 .PHONY: maybe-pdf-libiberty pdf-libiberty
20726 maybe-pdf-libiberty:
20727 @if libiberty
20728 maybe-pdf-libiberty: pdf-libiberty
20730 pdf-libiberty: \
20731 configure-libiberty
20732 @[ -f ./libiberty/Makefile ] || exit 0; \
20733 r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 $(HOST_EXPORTS) \
20736 for flag in $(EXTRA_HOST_FLAGS) ; do \
20737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20738 done; \
20739 echo "Doing pdf in libiberty" ; \
20740 (cd $(HOST_SUBDIR)/libiberty && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743 "RANLIB=$${RANLIB}" \
20744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20745 pdf) \
20746 || exit 1
20748 @endif libiberty
20750 .PHONY: maybe-html-libiberty html-libiberty
20751 maybe-html-libiberty:
20752 @if libiberty
20753 maybe-html-libiberty: html-libiberty
20755 html-libiberty: \
20756 configure-libiberty
20757 @[ -f ./libiberty/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS) ; do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing html in libiberty" ; \
20765 (cd $(HOST_SUBDIR)/libiberty && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 html) \
20771 || exit 1
20773 @endif libiberty
20775 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20776 maybe-TAGS-libiberty:
20777 @if libiberty
20778 maybe-TAGS-libiberty: TAGS-libiberty
20780 TAGS-libiberty: \
20781 configure-libiberty
20782 @[ -f ./libiberty/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing TAGS in libiberty" ; \
20790 (cd $(HOST_SUBDIR)/libiberty && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 TAGS) \
20796 || exit 1
20798 @endif libiberty
20800 .PHONY: maybe-install-info-libiberty install-info-libiberty
20801 maybe-install-info-libiberty:
20802 @if libiberty
20803 maybe-install-info-libiberty: install-info-libiberty
20805 install-info-libiberty: \
20806 configure-libiberty \
20807 info-libiberty
20808 @[ -f ./libiberty/Makefile ] || exit 0; \
20809 r=`${PWD_COMMAND}`; export r; \
20810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20811 $(HOST_EXPORTS) \
20812 for flag in $(EXTRA_HOST_FLAGS) ; do \
20813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20814 done; \
20815 echo "Doing install-info in libiberty" ; \
20816 (cd $(HOST_SUBDIR)/libiberty && \
20817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20819 "RANLIB=$${RANLIB}" \
20820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20821 install-info) \
20822 || exit 1
20824 @endif libiberty
20826 .PHONY: maybe-install-html-libiberty install-html-libiberty
20827 maybe-install-html-libiberty:
20828 @if libiberty
20829 maybe-install-html-libiberty: install-html-libiberty
20831 install-html-libiberty: \
20832 configure-libiberty \
20833 html-libiberty
20834 @[ -f ./libiberty/Makefile ] || exit 0; \
20835 r=`${PWD_COMMAND}`; export r; \
20836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20837 $(HOST_EXPORTS) \
20838 for flag in $(EXTRA_HOST_FLAGS) ; do \
20839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20840 done; \
20841 echo "Doing install-html in libiberty" ; \
20842 (cd $(HOST_SUBDIR)/libiberty && \
20843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20845 "RANLIB=$${RANLIB}" \
20846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20847 install-html) \
20848 || exit 1
20850 @endif libiberty
20852 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20853 maybe-installcheck-libiberty:
20854 @if libiberty
20855 maybe-installcheck-libiberty: installcheck-libiberty
20857 installcheck-libiberty: \
20858 configure-libiberty
20859 @[ -f ./libiberty/Makefile ] || exit 0; \
20860 r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 $(HOST_EXPORTS) \
20863 for flag in $(EXTRA_HOST_FLAGS) ; do \
20864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20865 done; \
20866 echo "Doing installcheck in libiberty" ; \
20867 (cd $(HOST_SUBDIR)/libiberty && \
20868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20870 "RANLIB=$${RANLIB}" \
20871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20872 installcheck) \
20873 || exit 1
20875 @endif libiberty
20877 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20878 maybe-mostlyclean-libiberty:
20879 @if libiberty
20880 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20882 mostlyclean-libiberty:
20883 @[ -f ./libiberty/Makefile ] || exit 0; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(HOST_EXPORTS) \
20887 for flag in $(EXTRA_HOST_FLAGS) ; do \
20888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20889 done; \
20890 echo "Doing mostlyclean in libiberty" ; \
20891 (cd $(HOST_SUBDIR)/libiberty && \
20892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20894 "RANLIB=$${RANLIB}" \
20895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20896 mostlyclean) \
20897 || exit 1
20899 @endif libiberty
20901 .PHONY: maybe-clean-libiberty clean-libiberty
20902 maybe-clean-libiberty:
20903 @if libiberty
20904 maybe-clean-libiberty: clean-libiberty
20906 clean-libiberty:
20907 @[ -f ./libiberty/Makefile ] || exit 0; \
20908 r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(HOST_EXPORTS) \
20911 for flag in $(EXTRA_HOST_FLAGS) ; do \
20912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20913 done; \
20914 echo "Doing clean in libiberty" ; \
20915 (cd $(HOST_SUBDIR)/libiberty && \
20916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20918 "RANLIB=$${RANLIB}" \
20919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20920 clean) \
20921 || exit 1
20923 @endif libiberty
20925 .PHONY: maybe-distclean-libiberty distclean-libiberty
20926 maybe-distclean-libiberty:
20927 @if libiberty
20928 maybe-distclean-libiberty: distclean-libiberty
20930 distclean-libiberty:
20931 @[ -f ./libiberty/Makefile ] || exit 0; \
20932 r=`${PWD_COMMAND}`; export r; \
20933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 $(HOST_EXPORTS) \
20935 for flag in $(EXTRA_HOST_FLAGS) ; do \
20936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20937 done; \
20938 echo "Doing distclean in libiberty" ; \
20939 (cd $(HOST_SUBDIR)/libiberty && \
20940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20942 "RANLIB=$${RANLIB}" \
20943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20944 distclean) \
20945 || exit 1
20947 @endif libiberty
20949 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20950 maybe-maintainer-clean-libiberty:
20951 @if libiberty
20952 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20954 maintainer-clean-libiberty:
20955 @[ -f ./libiberty/Makefile ] || exit 0; \
20956 r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(HOST_EXPORTS) \
20959 for flag in $(EXTRA_HOST_FLAGS) ; do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 done; \
20962 echo "Doing maintainer-clean in libiberty" ; \
20963 (cd $(HOST_SUBDIR)/libiberty && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20966 "RANLIB=$${RANLIB}" \
20967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20968 maintainer-clean) \
20969 || exit 1
20971 @endif libiberty
20975 .PHONY: configure-libtool maybe-configure-libtool
20976 maybe-configure-libtool:
20977 @if gcc-bootstrap
20978 configure-libtool: stage_current
20979 @endif gcc-bootstrap
20980 @if libtool
20981 maybe-configure-libtool: configure-libtool
20982 configure-libtool:
20983 @: $(MAKE); $(unstage)
20984 @r=`${PWD_COMMAND}`; export r; \
20985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20986 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
20987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
20988 $(HOST_EXPORTS) \
20989 echo Configuring in $(HOST_SUBDIR)/libtool; \
20990 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
20991 case $(srcdir) in \
20992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20993 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
20994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20995 esac; \
20996 srcdiroption="--srcdir=$${topdir}/libtool"; \
20997 libsrcdir="$$s/libtool"; \
20998 $(SHELL) $${libsrcdir}/configure \
20999 $(HOST_CONFIGARGS) $${srcdiroption} \
21000 || exit 1
21001 @endif libtool
21007 .PHONY: all-libtool maybe-all-libtool
21008 maybe-all-libtool:
21009 @if gcc-bootstrap
21010 all-libtool: stage_current
21011 @endif gcc-bootstrap
21012 @if libtool
21013 TARGET-libtool=all
21014 maybe-all-libtool: all-libtool
21015 all-libtool: configure-libtool
21016 @: $(MAKE); $(unstage)
21017 @r=`${PWD_COMMAND}`; export r; \
21018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21019 $(HOST_EXPORTS) \
21020 (cd $(HOST_SUBDIR)/libtool && \
21021 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
21022 @endif libtool
21027 .PHONY: check-libtool maybe-check-libtool
21028 maybe-check-libtool:
21029 @if libtool
21030 maybe-check-libtool: check-libtool
21032 check-libtool:
21033 @: $(MAKE); $(unstage)
21034 @r=`${PWD_COMMAND}`; export r; \
21035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21036 $(HOST_EXPORTS) \
21037 (cd $(HOST_SUBDIR)/libtool && \
21038 $(MAKE) $(FLAGS_TO_PASS) check)
21040 @endif libtool
21042 .PHONY: install-libtool maybe-install-libtool
21043 maybe-install-libtool:
21044 @if libtool
21045 maybe-install-libtool: install-libtool
21047 install-libtool: installdirs
21048 @: $(MAKE); $(unstage)
21049 @r=`${PWD_COMMAND}`; export r; \
21050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21051 $(HOST_EXPORTS) \
21052 (cd $(HOST_SUBDIR)/libtool && \
21053 $(MAKE) $(FLAGS_TO_PASS) install)
21055 @endif libtool
21057 # Other targets (info, dvi, pdf, etc.)
21059 .PHONY: maybe-info-libtool info-libtool
21060 maybe-info-libtool:
21061 @if libtool
21062 maybe-info-libtool: info-libtool
21064 info-libtool: \
21065 configure-libtool
21066 @: $(MAKE); $(unstage)
21067 @[ -f ./libtool/Makefile ] || exit 0; \
21068 r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 $(HOST_EXPORTS) \
21071 for flag in $(EXTRA_HOST_FLAGS) ; do \
21072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21073 done; \
21074 echo "Doing info in libtool" ; \
21075 (cd $(HOST_SUBDIR)/libtool && \
21076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21078 "RANLIB=$${RANLIB}" \
21079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21080 info) \
21081 || exit 1
21083 @endif libtool
21085 .PHONY: maybe-dvi-libtool dvi-libtool
21086 maybe-dvi-libtool:
21087 @if libtool
21088 maybe-dvi-libtool: dvi-libtool
21090 dvi-libtool: \
21091 configure-libtool
21092 @: $(MAKE); $(unstage)
21093 @[ -f ./libtool/Makefile ] || exit 0; \
21094 r=`${PWD_COMMAND}`; export r; \
21095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 $(HOST_EXPORTS) \
21097 for flag in $(EXTRA_HOST_FLAGS) ; do \
21098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21099 done; \
21100 echo "Doing dvi in libtool" ; \
21101 (cd $(HOST_SUBDIR)/libtool && \
21102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21104 "RANLIB=$${RANLIB}" \
21105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21106 dvi) \
21107 || exit 1
21109 @endif libtool
21111 .PHONY: maybe-pdf-libtool pdf-libtool
21112 maybe-pdf-libtool:
21113 @if libtool
21114 maybe-pdf-libtool: pdf-libtool
21116 pdf-libtool: \
21117 configure-libtool
21118 @: $(MAKE); $(unstage)
21119 @[ -f ./libtool/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122 $(HOST_EXPORTS) \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21125 done; \
21126 echo "Doing pdf in libtool" ; \
21127 (cd $(HOST_SUBDIR)/libtool && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 pdf) \
21133 || exit 1
21135 @endif libtool
21137 .PHONY: maybe-html-libtool html-libtool
21138 maybe-html-libtool:
21139 @if libtool
21140 maybe-html-libtool: html-libtool
21142 html-libtool: \
21143 configure-libtool
21144 @: $(MAKE); $(unstage)
21145 @[ -f ./libtool/Makefile ] || exit 0; \
21146 r=`${PWD_COMMAND}`; export r; \
21147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21148 $(HOST_EXPORTS) \
21149 for flag in $(EXTRA_HOST_FLAGS) ; do \
21150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21151 done; \
21152 echo "Doing html in libtool" ; \
21153 (cd $(HOST_SUBDIR)/libtool && \
21154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21156 "RANLIB=$${RANLIB}" \
21157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21158 html) \
21159 || exit 1
21161 @endif libtool
21163 .PHONY: maybe-TAGS-libtool TAGS-libtool
21164 maybe-TAGS-libtool:
21165 @if libtool
21166 maybe-TAGS-libtool: TAGS-libtool
21168 TAGS-libtool: \
21169 configure-libtool
21170 @: $(MAKE); $(unstage)
21171 @[ -f ./libtool/Makefile ] || exit 0; \
21172 r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(HOST_EXPORTS) \
21175 for flag in $(EXTRA_HOST_FLAGS) ; do \
21176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21177 done; \
21178 echo "Doing TAGS in libtool" ; \
21179 (cd $(HOST_SUBDIR)/libtool && \
21180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21182 "RANLIB=$${RANLIB}" \
21183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21184 TAGS) \
21185 || exit 1
21187 @endif libtool
21189 .PHONY: maybe-install-info-libtool install-info-libtool
21190 maybe-install-info-libtool:
21191 @if libtool
21192 maybe-install-info-libtool: install-info-libtool
21194 install-info-libtool: \
21195 configure-libtool \
21196 info-libtool
21197 @: $(MAKE); $(unstage)
21198 @[ -f ./libtool/Makefile ] || exit 0; \
21199 r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21201 $(HOST_EXPORTS) \
21202 for flag in $(EXTRA_HOST_FLAGS) ; do \
21203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21204 done; \
21205 echo "Doing install-info in libtool" ; \
21206 (cd $(HOST_SUBDIR)/libtool && \
21207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21209 "RANLIB=$${RANLIB}" \
21210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21211 install-info) \
21212 || exit 1
21214 @endif libtool
21216 .PHONY: maybe-install-html-libtool install-html-libtool
21217 maybe-install-html-libtool:
21218 @if libtool
21219 maybe-install-html-libtool: install-html-libtool
21221 install-html-libtool: \
21222 configure-libtool \
21223 html-libtool
21224 @: $(MAKE); $(unstage)
21225 @[ -f ./libtool/Makefile ] || exit 0; \
21226 r=`${PWD_COMMAND}`; export r; \
21227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21228 $(HOST_EXPORTS) \
21229 for flag in $(EXTRA_HOST_FLAGS) ; do \
21230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21231 done; \
21232 echo "Doing install-html in libtool" ; \
21233 (cd $(HOST_SUBDIR)/libtool && \
21234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21236 "RANLIB=$${RANLIB}" \
21237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21238 install-html) \
21239 || exit 1
21241 @endif libtool
21243 .PHONY: maybe-installcheck-libtool installcheck-libtool
21244 maybe-installcheck-libtool:
21245 @if libtool
21246 maybe-installcheck-libtool: installcheck-libtool
21248 installcheck-libtool: \
21249 configure-libtool
21250 @: $(MAKE); $(unstage)
21251 @[ -f ./libtool/Makefile ] || exit 0; \
21252 r=`${PWD_COMMAND}`; export r; \
21253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21254 $(HOST_EXPORTS) \
21255 for flag in $(EXTRA_HOST_FLAGS) ; do \
21256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21257 done; \
21258 echo "Doing installcheck in libtool" ; \
21259 (cd $(HOST_SUBDIR)/libtool && \
21260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21262 "RANLIB=$${RANLIB}" \
21263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21264 installcheck) \
21265 || exit 1
21267 @endif libtool
21269 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21270 maybe-mostlyclean-libtool:
21271 @if libtool
21272 maybe-mostlyclean-libtool: mostlyclean-libtool
21274 mostlyclean-libtool:
21275 @: $(MAKE); $(unstage)
21276 @[ -f ./libtool/Makefile ] || exit 0; \
21277 r=`${PWD_COMMAND}`; export r; \
21278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21279 $(HOST_EXPORTS) \
21280 for flag in $(EXTRA_HOST_FLAGS) ; do \
21281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21282 done; \
21283 echo "Doing mostlyclean in libtool" ; \
21284 (cd $(HOST_SUBDIR)/libtool && \
21285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21287 "RANLIB=$${RANLIB}" \
21288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21289 mostlyclean) \
21290 || exit 1
21292 @endif libtool
21294 .PHONY: maybe-clean-libtool clean-libtool
21295 maybe-clean-libtool:
21296 @if libtool
21297 maybe-clean-libtool: clean-libtool
21299 clean-libtool:
21300 @: $(MAKE); $(unstage)
21301 @[ -f ./libtool/Makefile ] || exit 0; \
21302 r=`${PWD_COMMAND}`; export r; \
21303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21304 $(HOST_EXPORTS) \
21305 for flag in $(EXTRA_HOST_FLAGS) ; do \
21306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21307 done; \
21308 echo "Doing clean in libtool" ; \
21309 (cd $(HOST_SUBDIR)/libtool && \
21310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21312 "RANLIB=$${RANLIB}" \
21313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21314 clean) \
21315 || exit 1
21317 @endif libtool
21319 .PHONY: maybe-distclean-libtool distclean-libtool
21320 maybe-distclean-libtool:
21321 @if libtool
21322 maybe-distclean-libtool: distclean-libtool
21324 distclean-libtool:
21325 @: $(MAKE); $(unstage)
21326 @[ -f ./libtool/Makefile ] || exit 0; \
21327 r=`${PWD_COMMAND}`; export r; \
21328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21329 $(HOST_EXPORTS) \
21330 for flag in $(EXTRA_HOST_FLAGS) ; do \
21331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21332 done; \
21333 echo "Doing distclean in libtool" ; \
21334 (cd $(HOST_SUBDIR)/libtool && \
21335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21337 "RANLIB=$${RANLIB}" \
21338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21339 distclean) \
21340 || exit 1
21342 @endif libtool
21344 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21345 maybe-maintainer-clean-libtool:
21346 @if libtool
21347 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21349 maintainer-clean-libtool:
21350 @: $(MAKE); $(unstage)
21351 @[ -f ./libtool/Makefile ] || exit 0; \
21352 r=`${PWD_COMMAND}`; export r; \
21353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21354 $(HOST_EXPORTS) \
21355 for flag in $(EXTRA_HOST_FLAGS) ; do \
21356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21357 done; \
21358 echo "Doing maintainer-clean in libtool" ; \
21359 (cd $(HOST_SUBDIR)/libtool && \
21360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21362 "RANLIB=$${RANLIB}" \
21363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21364 maintainer-clean) \
21365 || exit 1
21367 @endif libtool
21371 .PHONY: configure-m4 maybe-configure-m4
21372 maybe-configure-m4:
21373 @if gcc-bootstrap
21374 configure-m4: stage_current
21375 @endif gcc-bootstrap
21376 @if m4
21377 maybe-configure-m4: configure-m4
21378 configure-m4:
21379 @: $(MAKE); $(unstage)
21380 @r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21384 $(HOST_EXPORTS) \
21385 echo Configuring in $(HOST_SUBDIR)/m4; \
21386 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21387 case $(srcdir) in \
21388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21389 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21391 esac; \
21392 srcdiroption="--srcdir=$${topdir}/m4"; \
21393 libsrcdir="$$s/m4"; \
21394 $(SHELL) $${libsrcdir}/configure \
21395 $(HOST_CONFIGARGS) $${srcdiroption} \
21396 || exit 1
21397 @endif m4
21403 .PHONY: all-m4 maybe-all-m4
21404 maybe-all-m4:
21405 @if gcc-bootstrap
21406 all-m4: stage_current
21407 @endif gcc-bootstrap
21408 @if m4
21409 TARGET-m4=all
21410 maybe-all-m4: all-m4
21411 all-m4: configure-m4
21412 @: $(MAKE); $(unstage)
21413 @r=`${PWD_COMMAND}`; export r; \
21414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21415 $(HOST_EXPORTS) \
21416 (cd $(HOST_SUBDIR)/m4 && \
21417 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21418 @endif m4
21423 .PHONY: check-m4 maybe-check-m4
21424 maybe-check-m4:
21425 @if m4
21426 maybe-check-m4: check-m4
21428 check-m4:
21429 @: $(MAKE); $(unstage)
21430 @r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 $(HOST_EXPORTS) \
21433 (cd $(HOST_SUBDIR)/m4 && \
21434 $(MAKE) $(FLAGS_TO_PASS) check)
21436 @endif m4
21438 .PHONY: install-m4 maybe-install-m4
21439 maybe-install-m4:
21440 @if m4
21441 maybe-install-m4: install-m4
21443 install-m4: installdirs
21444 @: $(MAKE); $(unstage)
21445 @r=`${PWD_COMMAND}`; export r; \
21446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21447 $(HOST_EXPORTS) \
21448 (cd $(HOST_SUBDIR)/m4 && \
21449 $(MAKE) $(FLAGS_TO_PASS) install)
21451 @endif m4
21453 # Other targets (info, dvi, pdf, etc.)
21455 .PHONY: maybe-info-m4 info-m4
21456 maybe-info-m4:
21457 @if m4
21458 maybe-info-m4: info-m4
21460 info-m4: \
21461 configure-m4
21462 @: $(MAKE); $(unstage)
21463 @[ -f ./m4/Makefile ] || exit 0; \
21464 r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 $(HOST_EXPORTS) \
21467 for flag in $(EXTRA_HOST_FLAGS) ; do \
21468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21469 done; \
21470 echo "Doing info in m4" ; \
21471 (cd $(HOST_SUBDIR)/m4 && \
21472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21474 "RANLIB=$${RANLIB}" \
21475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21476 info) \
21477 || exit 1
21479 @endif m4
21481 .PHONY: maybe-dvi-m4 dvi-m4
21482 maybe-dvi-m4:
21483 @if m4
21484 maybe-dvi-m4: dvi-m4
21486 dvi-m4: \
21487 configure-m4
21488 @: $(MAKE); $(unstage)
21489 @[ -f ./m4/Makefile ] || exit 0; \
21490 r=`${PWD_COMMAND}`; export r; \
21491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21492 $(HOST_EXPORTS) \
21493 for flag in $(EXTRA_HOST_FLAGS) ; do \
21494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21495 done; \
21496 echo "Doing dvi in m4" ; \
21497 (cd $(HOST_SUBDIR)/m4 && \
21498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21500 "RANLIB=$${RANLIB}" \
21501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21502 dvi) \
21503 || exit 1
21505 @endif m4
21507 .PHONY: maybe-pdf-m4 pdf-m4
21508 maybe-pdf-m4:
21509 @if m4
21510 maybe-pdf-m4: pdf-m4
21512 pdf-m4: \
21513 configure-m4
21514 @: $(MAKE); $(unstage)
21515 @[ -f ./m4/Makefile ] || exit 0; \
21516 r=`${PWD_COMMAND}`; export r; \
21517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21518 $(HOST_EXPORTS) \
21519 for flag in $(EXTRA_HOST_FLAGS) ; do \
21520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21521 done; \
21522 echo "Doing pdf in m4" ; \
21523 (cd $(HOST_SUBDIR)/m4 && \
21524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21526 "RANLIB=$${RANLIB}" \
21527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21528 pdf) \
21529 || exit 1
21531 @endif m4
21533 .PHONY: maybe-html-m4 html-m4
21534 maybe-html-m4:
21535 @if m4
21536 maybe-html-m4: html-m4
21538 html-m4: \
21539 configure-m4
21540 @: $(MAKE); $(unstage)
21541 @[ -f ./m4/Makefile ] || exit 0; \
21542 r=`${PWD_COMMAND}`; export r; \
21543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21544 $(HOST_EXPORTS) \
21545 for flag in $(EXTRA_HOST_FLAGS) ; do \
21546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21547 done; \
21548 echo "Doing html in m4" ; \
21549 (cd $(HOST_SUBDIR)/m4 && \
21550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21552 "RANLIB=$${RANLIB}" \
21553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21554 html) \
21555 || exit 1
21557 @endif m4
21559 .PHONY: maybe-TAGS-m4 TAGS-m4
21560 maybe-TAGS-m4:
21561 @if m4
21562 maybe-TAGS-m4: TAGS-m4
21564 TAGS-m4: \
21565 configure-m4
21566 @: $(MAKE); $(unstage)
21567 @[ -f ./m4/Makefile ] || exit 0; \
21568 r=`${PWD_COMMAND}`; export r; \
21569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21570 $(HOST_EXPORTS) \
21571 for flag in $(EXTRA_HOST_FLAGS) ; do \
21572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21573 done; \
21574 echo "Doing TAGS in m4" ; \
21575 (cd $(HOST_SUBDIR)/m4 && \
21576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21578 "RANLIB=$${RANLIB}" \
21579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21580 TAGS) \
21581 || exit 1
21583 @endif m4
21585 .PHONY: maybe-install-info-m4 install-info-m4
21586 maybe-install-info-m4:
21587 @if m4
21588 maybe-install-info-m4: install-info-m4
21590 install-info-m4: \
21591 configure-m4 \
21592 info-m4
21593 @: $(MAKE); $(unstage)
21594 @[ -f ./m4/Makefile ] || exit 0; \
21595 r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(HOST_EXPORTS) \
21598 for flag in $(EXTRA_HOST_FLAGS) ; do \
21599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21600 done; \
21601 echo "Doing install-info in m4" ; \
21602 (cd $(HOST_SUBDIR)/m4 && \
21603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21605 "RANLIB=$${RANLIB}" \
21606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21607 install-info) \
21608 || exit 1
21610 @endif m4
21612 .PHONY: maybe-install-html-m4 install-html-m4
21613 maybe-install-html-m4:
21614 @if m4
21615 maybe-install-html-m4: install-html-m4
21617 install-html-m4: \
21618 configure-m4 \
21619 html-m4
21620 @: $(MAKE); $(unstage)
21621 @[ -f ./m4/Makefile ] || exit 0; \
21622 r=`${PWD_COMMAND}`; export r; \
21623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21624 $(HOST_EXPORTS) \
21625 for flag in $(EXTRA_HOST_FLAGS) ; do \
21626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21627 done; \
21628 echo "Doing install-html in m4" ; \
21629 (cd $(HOST_SUBDIR)/m4 && \
21630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21632 "RANLIB=$${RANLIB}" \
21633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21634 install-html) \
21635 || exit 1
21637 @endif m4
21639 .PHONY: maybe-installcheck-m4 installcheck-m4
21640 maybe-installcheck-m4:
21641 @if m4
21642 maybe-installcheck-m4: installcheck-m4
21644 installcheck-m4: \
21645 configure-m4
21646 @: $(MAKE); $(unstage)
21647 @[ -f ./m4/Makefile ] || exit 0; \
21648 r=`${PWD_COMMAND}`; export r; \
21649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21650 $(HOST_EXPORTS) \
21651 for flag in $(EXTRA_HOST_FLAGS) ; do \
21652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21653 done; \
21654 echo "Doing installcheck in m4" ; \
21655 (cd $(HOST_SUBDIR)/m4 && \
21656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21658 "RANLIB=$${RANLIB}" \
21659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21660 installcheck) \
21661 || exit 1
21663 @endif m4
21665 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21666 maybe-mostlyclean-m4:
21667 @if m4
21668 maybe-mostlyclean-m4: mostlyclean-m4
21670 mostlyclean-m4:
21671 @: $(MAKE); $(unstage)
21672 @[ -f ./m4/Makefile ] || exit 0; \
21673 r=`${PWD_COMMAND}`; export r; \
21674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21675 $(HOST_EXPORTS) \
21676 for flag in $(EXTRA_HOST_FLAGS) ; do \
21677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21678 done; \
21679 echo "Doing mostlyclean in m4" ; \
21680 (cd $(HOST_SUBDIR)/m4 && \
21681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21683 "RANLIB=$${RANLIB}" \
21684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21685 mostlyclean) \
21686 || exit 1
21688 @endif m4
21690 .PHONY: maybe-clean-m4 clean-m4
21691 maybe-clean-m4:
21692 @if m4
21693 maybe-clean-m4: clean-m4
21695 clean-m4:
21696 @: $(MAKE); $(unstage)
21697 @[ -f ./m4/Makefile ] || exit 0; \
21698 r=`${PWD_COMMAND}`; export r; \
21699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21700 $(HOST_EXPORTS) \
21701 for flag in $(EXTRA_HOST_FLAGS) ; do \
21702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21703 done; \
21704 echo "Doing clean in m4" ; \
21705 (cd $(HOST_SUBDIR)/m4 && \
21706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21708 "RANLIB=$${RANLIB}" \
21709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21710 clean) \
21711 || exit 1
21713 @endif m4
21715 .PHONY: maybe-distclean-m4 distclean-m4
21716 maybe-distclean-m4:
21717 @if m4
21718 maybe-distclean-m4: distclean-m4
21720 distclean-m4:
21721 @: $(MAKE); $(unstage)
21722 @[ -f ./m4/Makefile ] || exit 0; \
21723 r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21725 $(HOST_EXPORTS) \
21726 for flag in $(EXTRA_HOST_FLAGS) ; do \
21727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21728 done; \
21729 echo "Doing distclean in m4" ; \
21730 (cd $(HOST_SUBDIR)/m4 && \
21731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21733 "RANLIB=$${RANLIB}" \
21734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21735 distclean) \
21736 || exit 1
21738 @endif m4
21740 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21741 maybe-maintainer-clean-m4:
21742 @if m4
21743 maybe-maintainer-clean-m4: maintainer-clean-m4
21745 maintainer-clean-m4:
21746 @: $(MAKE); $(unstage)
21747 @[ -f ./m4/Makefile ] || exit 0; \
21748 r=`${PWD_COMMAND}`; export r; \
21749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21750 $(HOST_EXPORTS) \
21751 for flag in $(EXTRA_HOST_FLAGS) ; do \
21752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21753 done; \
21754 echo "Doing maintainer-clean in m4" ; \
21755 (cd $(HOST_SUBDIR)/m4 && \
21756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21758 "RANLIB=$${RANLIB}" \
21759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21760 maintainer-clean) \
21761 || exit 1
21763 @endif m4
21767 .PHONY: configure-make maybe-configure-make
21768 maybe-configure-make:
21769 @if gcc-bootstrap
21770 configure-make: stage_current
21771 @endif gcc-bootstrap
21772 @if make
21773 maybe-configure-make: configure-make
21774 configure-make:
21775 @: $(MAKE); $(unstage)
21776 @r=`${PWD_COMMAND}`; export r; \
21777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21780 $(HOST_EXPORTS) \
21781 echo Configuring in $(HOST_SUBDIR)/make; \
21782 cd "$(HOST_SUBDIR)/make" || exit 1; \
21783 case $(srcdir) in \
21784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21785 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21787 esac; \
21788 srcdiroption="--srcdir=$${topdir}/make"; \
21789 libsrcdir="$$s/make"; \
21790 $(SHELL) $${libsrcdir}/configure \
21791 $(HOST_CONFIGARGS) $${srcdiroption} \
21792 || exit 1
21793 @endif make
21799 .PHONY: all-make maybe-all-make
21800 maybe-all-make:
21801 @if gcc-bootstrap
21802 all-make: stage_current
21803 @endif gcc-bootstrap
21804 @if make
21805 TARGET-make=all
21806 maybe-all-make: all-make
21807 all-make: configure-make
21808 @: $(MAKE); $(unstage)
21809 @r=`${PWD_COMMAND}`; export r; \
21810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21811 $(HOST_EXPORTS) \
21812 (cd $(HOST_SUBDIR)/make && \
21813 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21814 @endif make
21819 .PHONY: check-make maybe-check-make
21820 maybe-check-make:
21821 @if make
21822 maybe-check-make: check-make
21824 check-make:
21825 @: $(MAKE); $(unstage)
21826 @r=`${PWD_COMMAND}`; export r; \
21827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21828 $(HOST_EXPORTS) \
21829 (cd $(HOST_SUBDIR)/make && \
21830 $(MAKE) $(FLAGS_TO_PASS) check)
21832 @endif make
21834 .PHONY: install-make maybe-install-make
21835 maybe-install-make:
21836 @if make
21837 maybe-install-make: install-make
21839 install-make: installdirs
21840 @: $(MAKE); $(unstage)
21841 @r=`${PWD_COMMAND}`; export r; \
21842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21843 $(HOST_EXPORTS) \
21844 (cd $(HOST_SUBDIR)/make && \
21845 $(MAKE) $(FLAGS_TO_PASS) install)
21847 @endif make
21849 # Other targets (info, dvi, pdf, etc.)
21851 .PHONY: maybe-info-make info-make
21852 maybe-info-make:
21853 @if make
21854 maybe-info-make: info-make
21856 info-make: \
21857 configure-make
21858 @: $(MAKE); $(unstage)
21859 @[ -f ./make/Makefile ] || exit 0; \
21860 r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(HOST_EXPORTS) \
21863 for flag in $(EXTRA_HOST_FLAGS) ; do \
21864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21865 done; \
21866 echo "Doing info in make" ; \
21867 (cd $(HOST_SUBDIR)/make && \
21868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21870 "RANLIB=$${RANLIB}" \
21871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21872 info) \
21873 || exit 1
21875 @endif make
21877 .PHONY: maybe-dvi-make dvi-make
21878 maybe-dvi-make:
21879 @if make
21880 maybe-dvi-make: dvi-make
21882 dvi-make: \
21883 configure-make
21884 @: $(MAKE); $(unstage)
21885 @[ -f ./make/Makefile ] || exit 0; \
21886 r=`${PWD_COMMAND}`; export r; \
21887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21888 $(HOST_EXPORTS) \
21889 for flag in $(EXTRA_HOST_FLAGS) ; do \
21890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21891 done; \
21892 echo "Doing dvi in make" ; \
21893 (cd $(HOST_SUBDIR)/make && \
21894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21896 "RANLIB=$${RANLIB}" \
21897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21898 dvi) \
21899 || exit 1
21901 @endif make
21903 .PHONY: maybe-pdf-make pdf-make
21904 maybe-pdf-make:
21905 @if make
21906 maybe-pdf-make: pdf-make
21908 pdf-make: \
21909 configure-make
21910 @: $(MAKE); $(unstage)
21911 @[ -f ./make/Makefile ] || exit 0; \
21912 r=`${PWD_COMMAND}`; export r; \
21913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21914 $(HOST_EXPORTS) \
21915 for flag in $(EXTRA_HOST_FLAGS) ; do \
21916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21917 done; \
21918 echo "Doing pdf in make" ; \
21919 (cd $(HOST_SUBDIR)/make && \
21920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21922 "RANLIB=$${RANLIB}" \
21923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21924 pdf) \
21925 || exit 1
21927 @endif make
21929 .PHONY: maybe-html-make html-make
21930 maybe-html-make:
21931 @if make
21932 maybe-html-make: html-make
21934 html-make: \
21935 configure-make
21936 @: $(MAKE); $(unstage)
21937 @[ -f ./make/Makefile ] || exit 0; \
21938 r=`${PWD_COMMAND}`; export r; \
21939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21940 $(HOST_EXPORTS) \
21941 for flag in $(EXTRA_HOST_FLAGS) ; do \
21942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21943 done; \
21944 echo "Doing html in make" ; \
21945 (cd $(HOST_SUBDIR)/make && \
21946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21948 "RANLIB=$${RANLIB}" \
21949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21950 html) \
21951 || exit 1
21953 @endif make
21955 .PHONY: maybe-TAGS-make TAGS-make
21956 maybe-TAGS-make:
21957 @if make
21958 maybe-TAGS-make: TAGS-make
21960 TAGS-make: \
21961 configure-make
21962 @: $(MAKE); $(unstage)
21963 @[ -f ./make/Makefile ] || exit 0; \
21964 r=`${PWD_COMMAND}`; export r; \
21965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 $(HOST_EXPORTS) \
21967 for flag in $(EXTRA_HOST_FLAGS) ; do \
21968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21969 done; \
21970 echo "Doing TAGS in make" ; \
21971 (cd $(HOST_SUBDIR)/make && \
21972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21974 "RANLIB=$${RANLIB}" \
21975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21976 TAGS) \
21977 || exit 1
21979 @endif make
21981 .PHONY: maybe-install-info-make install-info-make
21982 maybe-install-info-make:
21983 @if make
21984 maybe-install-info-make: install-info-make
21986 install-info-make: \
21987 configure-make \
21988 info-make
21989 @: $(MAKE); $(unstage)
21990 @[ -f ./make/Makefile ] || exit 0; \
21991 r=`${PWD_COMMAND}`; export r; \
21992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21993 $(HOST_EXPORTS) \
21994 for flag in $(EXTRA_HOST_FLAGS) ; do \
21995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21996 done; \
21997 echo "Doing install-info in make" ; \
21998 (cd $(HOST_SUBDIR)/make && \
21999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22001 "RANLIB=$${RANLIB}" \
22002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22003 install-info) \
22004 || exit 1
22006 @endif make
22008 .PHONY: maybe-install-html-make install-html-make
22009 maybe-install-html-make:
22010 @if make
22011 maybe-install-html-make: install-html-make
22013 install-html-make: \
22014 configure-make \
22015 html-make
22016 @: $(MAKE); $(unstage)
22017 @[ -f ./make/Makefile ] || exit 0; \
22018 r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020 $(HOST_EXPORTS) \
22021 for flag in $(EXTRA_HOST_FLAGS) ; do \
22022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22023 done; \
22024 echo "Doing install-html in make" ; \
22025 (cd $(HOST_SUBDIR)/make && \
22026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22028 "RANLIB=$${RANLIB}" \
22029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22030 install-html) \
22031 || exit 1
22033 @endif make
22035 .PHONY: maybe-installcheck-make installcheck-make
22036 maybe-installcheck-make:
22037 @if make
22038 maybe-installcheck-make: installcheck-make
22040 installcheck-make: \
22041 configure-make
22042 @: $(MAKE); $(unstage)
22043 @[ -f ./make/Makefile ] || exit 0; \
22044 r=`${PWD_COMMAND}`; export r; \
22045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 $(HOST_EXPORTS) \
22047 for flag in $(EXTRA_HOST_FLAGS) ; do \
22048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22049 done; \
22050 echo "Doing installcheck in make" ; \
22051 (cd $(HOST_SUBDIR)/make && \
22052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22054 "RANLIB=$${RANLIB}" \
22055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22056 installcheck) \
22057 || exit 1
22059 @endif make
22061 .PHONY: maybe-mostlyclean-make mostlyclean-make
22062 maybe-mostlyclean-make:
22063 @if make
22064 maybe-mostlyclean-make: mostlyclean-make
22066 mostlyclean-make:
22067 @: $(MAKE); $(unstage)
22068 @[ -f ./make/Makefile ] || exit 0; \
22069 r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 $(HOST_EXPORTS) \
22072 for flag in $(EXTRA_HOST_FLAGS) ; do \
22073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22074 done; \
22075 echo "Doing mostlyclean in make" ; \
22076 (cd $(HOST_SUBDIR)/make && \
22077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22079 "RANLIB=$${RANLIB}" \
22080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22081 mostlyclean) \
22082 || exit 1
22084 @endif make
22086 .PHONY: maybe-clean-make clean-make
22087 maybe-clean-make:
22088 @if make
22089 maybe-clean-make: clean-make
22091 clean-make:
22092 @: $(MAKE); $(unstage)
22093 @[ -f ./make/Makefile ] || exit 0; \
22094 r=`${PWD_COMMAND}`; export r; \
22095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22096 $(HOST_EXPORTS) \
22097 for flag in $(EXTRA_HOST_FLAGS) ; do \
22098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22099 done; \
22100 echo "Doing clean in make" ; \
22101 (cd $(HOST_SUBDIR)/make && \
22102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22104 "RANLIB=$${RANLIB}" \
22105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22106 clean) \
22107 || exit 1
22109 @endif make
22111 .PHONY: maybe-distclean-make distclean-make
22112 maybe-distclean-make:
22113 @if make
22114 maybe-distclean-make: distclean-make
22116 distclean-make:
22117 @: $(MAKE); $(unstage)
22118 @[ -f ./make/Makefile ] || exit 0; \
22119 r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121 $(HOST_EXPORTS) \
22122 for flag in $(EXTRA_HOST_FLAGS) ; do \
22123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22124 done; \
22125 echo "Doing distclean in make" ; \
22126 (cd $(HOST_SUBDIR)/make && \
22127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22129 "RANLIB=$${RANLIB}" \
22130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22131 distclean) \
22132 || exit 1
22134 @endif make
22136 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
22137 maybe-maintainer-clean-make:
22138 @if make
22139 maybe-maintainer-clean-make: maintainer-clean-make
22141 maintainer-clean-make:
22142 @: $(MAKE); $(unstage)
22143 @[ -f ./make/Makefile ] || exit 0; \
22144 r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 $(HOST_EXPORTS) \
22147 for flag in $(EXTRA_HOST_FLAGS) ; do \
22148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22149 done; \
22150 echo "Doing maintainer-clean in make" ; \
22151 (cd $(HOST_SUBDIR)/make && \
22152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22154 "RANLIB=$${RANLIB}" \
22155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22156 maintainer-clean) \
22157 || exit 1
22159 @endif make
22163 .PHONY: configure-mmalloc maybe-configure-mmalloc
22164 maybe-configure-mmalloc:
22165 @if gcc-bootstrap
22166 configure-mmalloc: stage_current
22167 @endif gcc-bootstrap
22168 @if mmalloc
22169 maybe-configure-mmalloc: configure-mmalloc
22170 configure-mmalloc:
22171 @: $(MAKE); $(unstage)
22172 @r=`${PWD_COMMAND}`; export r; \
22173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22174 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
22175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
22176 $(HOST_EXPORTS) \
22177 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
22178 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
22179 case $(srcdir) in \
22180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22181 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
22182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22183 esac; \
22184 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22185 libsrcdir="$$s/mmalloc"; \
22186 $(SHELL) $${libsrcdir}/configure \
22187 $(HOST_CONFIGARGS) $${srcdiroption} \
22188 || exit 1
22189 @endif mmalloc
22195 .PHONY: all-mmalloc maybe-all-mmalloc
22196 maybe-all-mmalloc:
22197 @if gcc-bootstrap
22198 all-mmalloc: stage_current
22199 @endif gcc-bootstrap
22200 @if mmalloc
22201 TARGET-mmalloc=all
22202 maybe-all-mmalloc: all-mmalloc
22203 all-mmalloc: configure-mmalloc
22204 @: $(MAKE); $(unstage)
22205 @r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 $(HOST_EXPORTS) \
22208 (cd $(HOST_SUBDIR)/mmalloc && \
22209 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22210 @endif mmalloc
22215 .PHONY: check-mmalloc maybe-check-mmalloc
22216 maybe-check-mmalloc:
22217 @if mmalloc
22218 maybe-check-mmalloc: check-mmalloc
22220 check-mmalloc:
22222 @endif mmalloc
22224 .PHONY: install-mmalloc maybe-install-mmalloc
22225 maybe-install-mmalloc:
22226 @if mmalloc
22227 maybe-install-mmalloc: install-mmalloc
22229 install-mmalloc: installdirs
22230 @: $(MAKE); $(unstage)
22231 @r=`${PWD_COMMAND}`; export r; \
22232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 $(HOST_EXPORTS) \
22234 (cd $(HOST_SUBDIR)/mmalloc && \
22235 $(MAKE) $(FLAGS_TO_PASS) install)
22237 @endif mmalloc
22239 # Other targets (info, dvi, pdf, etc.)
22241 .PHONY: maybe-info-mmalloc info-mmalloc
22242 maybe-info-mmalloc:
22243 @if mmalloc
22244 maybe-info-mmalloc: info-mmalloc
22246 info-mmalloc: \
22247 configure-mmalloc
22248 @: $(MAKE); $(unstage)
22249 @[ -f ./mmalloc/Makefile ] || exit 0; \
22250 r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 $(HOST_EXPORTS) \
22253 for flag in $(EXTRA_HOST_FLAGS) ; do \
22254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22255 done; \
22256 echo "Doing info in mmalloc" ; \
22257 (cd $(HOST_SUBDIR)/mmalloc && \
22258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22260 "RANLIB=$${RANLIB}" \
22261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22262 info) \
22263 || exit 1
22265 @endif mmalloc
22267 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22268 maybe-dvi-mmalloc:
22269 @if mmalloc
22270 maybe-dvi-mmalloc: dvi-mmalloc
22272 dvi-mmalloc: \
22273 configure-mmalloc
22274 @: $(MAKE); $(unstage)
22275 @[ -f ./mmalloc/Makefile ] || exit 0; \
22276 r=`${PWD_COMMAND}`; export r; \
22277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing dvi in mmalloc" ; \
22283 (cd $(HOST_SUBDIR)/mmalloc && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22288 dvi) \
22289 || exit 1
22291 @endif mmalloc
22293 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22294 maybe-pdf-mmalloc:
22295 @if mmalloc
22296 maybe-pdf-mmalloc: pdf-mmalloc
22298 pdf-mmalloc: \
22299 configure-mmalloc
22300 @: $(MAKE); $(unstage)
22301 @[ -f ./mmalloc/Makefile ] || exit 0; \
22302 r=`${PWD_COMMAND}`; export r; \
22303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 $(HOST_EXPORTS) \
22305 for flag in $(EXTRA_HOST_FLAGS) ; do \
22306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22307 done; \
22308 echo "Doing pdf in mmalloc" ; \
22309 (cd $(HOST_SUBDIR)/mmalloc && \
22310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22312 "RANLIB=$${RANLIB}" \
22313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22314 pdf) \
22315 || exit 1
22317 @endif mmalloc
22319 .PHONY: maybe-html-mmalloc html-mmalloc
22320 maybe-html-mmalloc:
22321 @if mmalloc
22322 maybe-html-mmalloc: html-mmalloc
22324 html-mmalloc: \
22325 configure-mmalloc
22326 @: $(MAKE); $(unstage)
22327 @[ -f ./mmalloc/Makefile ] || exit 0; \
22328 r=`${PWD_COMMAND}`; export r; \
22329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22330 $(HOST_EXPORTS) \
22331 for flag in $(EXTRA_HOST_FLAGS) ; do \
22332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22333 done; \
22334 echo "Doing html in mmalloc" ; \
22335 (cd $(HOST_SUBDIR)/mmalloc && \
22336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22338 "RANLIB=$${RANLIB}" \
22339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22340 html) \
22341 || exit 1
22343 @endif mmalloc
22345 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22346 maybe-TAGS-mmalloc:
22347 @if mmalloc
22348 maybe-TAGS-mmalloc: TAGS-mmalloc
22350 TAGS-mmalloc: \
22351 configure-mmalloc
22352 @: $(MAKE); $(unstage)
22353 @[ -f ./mmalloc/Makefile ] || exit 0; \
22354 r=`${PWD_COMMAND}`; export r; \
22355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22356 $(HOST_EXPORTS) \
22357 for flag in $(EXTRA_HOST_FLAGS) ; do \
22358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22359 done; \
22360 echo "Doing TAGS in mmalloc" ; \
22361 (cd $(HOST_SUBDIR)/mmalloc && \
22362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22364 "RANLIB=$${RANLIB}" \
22365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22366 TAGS) \
22367 || exit 1
22369 @endif mmalloc
22371 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22372 maybe-install-info-mmalloc:
22373 @if mmalloc
22374 maybe-install-info-mmalloc: install-info-mmalloc
22376 install-info-mmalloc: \
22377 configure-mmalloc \
22378 info-mmalloc
22379 @: $(MAKE); $(unstage)
22380 @[ -f ./mmalloc/Makefile ] || exit 0; \
22381 r=`${PWD_COMMAND}`; export r; \
22382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22383 $(HOST_EXPORTS) \
22384 for flag in $(EXTRA_HOST_FLAGS) ; do \
22385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22386 done; \
22387 echo "Doing install-info in mmalloc" ; \
22388 (cd $(HOST_SUBDIR)/mmalloc && \
22389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22391 "RANLIB=$${RANLIB}" \
22392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22393 install-info) \
22394 || exit 1
22396 @endif mmalloc
22398 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22399 maybe-install-html-mmalloc:
22400 @if mmalloc
22401 maybe-install-html-mmalloc: install-html-mmalloc
22403 install-html-mmalloc: \
22404 configure-mmalloc \
22405 html-mmalloc
22406 @: $(MAKE); $(unstage)
22407 @[ -f ./mmalloc/Makefile ] || exit 0; \
22408 r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22410 $(HOST_EXPORTS) \
22411 for flag in $(EXTRA_HOST_FLAGS) ; do \
22412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22413 done; \
22414 echo "Doing install-html in mmalloc" ; \
22415 (cd $(HOST_SUBDIR)/mmalloc && \
22416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22418 "RANLIB=$${RANLIB}" \
22419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22420 install-html) \
22421 || exit 1
22423 @endif mmalloc
22425 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22426 maybe-installcheck-mmalloc:
22427 @if mmalloc
22428 maybe-installcheck-mmalloc: installcheck-mmalloc
22430 installcheck-mmalloc: \
22431 configure-mmalloc
22432 @: $(MAKE); $(unstage)
22433 @[ -f ./mmalloc/Makefile ] || exit 0; \
22434 r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22436 $(HOST_EXPORTS) \
22437 for flag in $(EXTRA_HOST_FLAGS) ; do \
22438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22439 done; \
22440 echo "Doing installcheck in mmalloc" ; \
22441 (cd $(HOST_SUBDIR)/mmalloc && \
22442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22444 "RANLIB=$${RANLIB}" \
22445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22446 installcheck) \
22447 || exit 1
22449 @endif mmalloc
22451 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22452 maybe-mostlyclean-mmalloc:
22453 @if mmalloc
22454 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22456 mostlyclean-mmalloc:
22457 @: $(MAKE); $(unstage)
22458 @[ -f ./mmalloc/Makefile ] || exit 0; \
22459 r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(HOST_EXPORTS) \
22462 for flag in $(EXTRA_HOST_FLAGS) ; do \
22463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22464 done; \
22465 echo "Doing mostlyclean in mmalloc" ; \
22466 (cd $(HOST_SUBDIR)/mmalloc && \
22467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22469 "RANLIB=$${RANLIB}" \
22470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22471 mostlyclean) \
22472 || exit 1
22474 @endif mmalloc
22476 .PHONY: maybe-clean-mmalloc clean-mmalloc
22477 maybe-clean-mmalloc:
22478 @if mmalloc
22479 maybe-clean-mmalloc: clean-mmalloc
22481 clean-mmalloc:
22482 @: $(MAKE); $(unstage)
22483 @[ -f ./mmalloc/Makefile ] || exit 0; \
22484 r=`${PWD_COMMAND}`; export r; \
22485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22486 $(HOST_EXPORTS) \
22487 for flag in $(EXTRA_HOST_FLAGS) ; do \
22488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22489 done; \
22490 echo "Doing clean in mmalloc" ; \
22491 (cd $(HOST_SUBDIR)/mmalloc && \
22492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22494 "RANLIB=$${RANLIB}" \
22495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22496 clean) \
22497 || exit 1
22499 @endif mmalloc
22501 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22502 maybe-distclean-mmalloc:
22503 @if mmalloc
22504 maybe-distclean-mmalloc: distclean-mmalloc
22506 distclean-mmalloc:
22507 @: $(MAKE); $(unstage)
22508 @[ -f ./mmalloc/Makefile ] || exit 0; \
22509 r=`${PWD_COMMAND}`; export r; \
22510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22511 $(HOST_EXPORTS) \
22512 for flag in $(EXTRA_HOST_FLAGS) ; do \
22513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22514 done; \
22515 echo "Doing distclean in mmalloc" ; \
22516 (cd $(HOST_SUBDIR)/mmalloc && \
22517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22519 "RANLIB=$${RANLIB}" \
22520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22521 distclean) \
22522 || exit 1
22524 @endif mmalloc
22526 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22527 maybe-maintainer-clean-mmalloc:
22528 @if mmalloc
22529 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22531 maintainer-clean-mmalloc:
22532 @: $(MAKE); $(unstage)
22533 @[ -f ./mmalloc/Makefile ] || exit 0; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(HOST_EXPORTS) \
22537 for flag in $(EXTRA_HOST_FLAGS) ; do \
22538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22539 done; \
22540 echo "Doing maintainer-clean in mmalloc" ; \
22541 (cd $(HOST_SUBDIR)/mmalloc && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22546 maintainer-clean) \
22547 || exit 1
22549 @endif mmalloc
22553 .PHONY: configure-patch maybe-configure-patch
22554 maybe-configure-patch:
22555 @if gcc-bootstrap
22556 configure-patch: stage_current
22557 @endif gcc-bootstrap
22558 @if patch
22559 maybe-configure-patch: configure-patch
22560 configure-patch:
22561 @: $(MAKE); $(unstage)
22562 @r=`${PWD_COMMAND}`; export r; \
22563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22564 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22566 $(HOST_EXPORTS) \
22567 echo Configuring in $(HOST_SUBDIR)/patch; \
22568 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22569 case $(srcdir) in \
22570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22571 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22573 esac; \
22574 srcdiroption="--srcdir=$${topdir}/patch"; \
22575 libsrcdir="$$s/patch"; \
22576 $(SHELL) $${libsrcdir}/configure \
22577 $(HOST_CONFIGARGS) $${srcdiroption} \
22578 || exit 1
22579 @endif patch
22585 .PHONY: all-patch maybe-all-patch
22586 maybe-all-patch:
22587 @if gcc-bootstrap
22588 all-patch: stage_current
22589 @endif gcc-bootstrap
22590 @if patch
22591 TARGET-patch=all
22592 maybe-all-patch: all-patch
22593 all-patch: configure-patch
22594 @: $(MAKE); $(unstage)
22595 @r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597 $(HOST_EXPORTS) \
22598 (cd $(HOST_SUBDIR)/patch && \
22599 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22600 @endif patch
22605 .PHONY: check-patch maybe-check-patch
22606 maybe-check-patch:
22607 @if patch
22608 maybe-check-patch: check-patch
22610 check-patch:
22611 @: $(MAKE); $(unstage)
22612 @r=`${PWD_COMMAND}`; export r; \
22613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614 $(HOST_EXPORTS) \
22615 (cd $(HOST_SUBDIR)/patch && \
22616 $(MAKE) $(FLAGS_TO_PASS) check)
22618 @endif patch
22620 .PHONY: install-patch maybe-install-patch
22621 maybe-install-patch:
22622 @if patch
22623 maybe-install-patch: install-patch
22625 install-patch: installdirs
22626 @: $(MAKE); $(unstage)
22627 @r=`${PWD_COMMAND}`; export r; \
22628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22629 $(HOST_EXPORTS) \
22630 (cd $(HOST_SUBDIR)/patch && \
22631 $(MAKE) $(FLAGS_TO_PASS) install)
22633 @endif patch
22635 # Other targets (info, dvi, pdf, etc.)
22637 .PHONY: maybe-info-patch info-patch
22638 maybe-info-patch:
22639 @if patch
22640 maybe-info-patch: info-patch
22642 info-patch: \
22643 configure-patch
22644 @: $(MAKE); $(unstage)
22645 @[ -f ./patch/Makefile ] || exit 0; \
22646 r=`${PWD_COMMAND}`; export r; \
22647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22648 $(HOST_EXPORTS) \
22649 for flag in $(EXTRA_HOST_FLAGS) ; do \
22650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22651 done; \
22652 echo "Doing info in patch" ; \
22653 (cd $(HOST_SUBDIR)/patch && \
22654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22656 "RANLIB=$${RANLIB}" \
22657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22658 info) \
22659 || exit 1
22661 @endif patch
22663 .PHONY: maybe-dvi-patch dvi-patch
22664 maybe-dvi-patch:
22665 @if patch
22666 maybe-dvi-patch: dvi-patch
22668 dvi-patch: \
22669 configure-patch
22670 @: $(MAKE); $(unstage)
22671 @[ -f ./patch/Makefile ] || exit 0; \
22672 r=`${PWD_COMMAND}`; export r; \
22673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22674 $(HOST_EXPORTS) \
22675 for flag in $(EXTRA_HOST_FLAGS) ; do \
22676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22677 done; \
22678 echo "Doing dvi in patch" ; \
22679 (cd $(HOST_SUBDIR)/patch && \
22680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22682 "RANLIB=$${RANLIB}" \
22683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22684 dvi) \
22685 || exit 1
22687 @endif patch
22689 .PHONY: maybe-pdf-patch pdf-patch
22690 maybe-pdf-patch:
22691 @if patch
22692 maybe-pdf-patch: pdf-patch
22694 pdf-patch: \
22695 configure-patch
22696 @: $(MAKE); $(unstage)
22697 @[ -f ./patch/Makefile ] || exit 0; \
22698 r=`${PWD_COMMAND}`; export r; \
22699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22700 $(HOST_EXPORTS) \
22701 for flag in $(EXTRA_HOST_FLAGS) ; do \
22702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22703 done; \
22704 echo "Doing pdf in patch" ; \
22705 (cd $(HOST_SUBDIR)/patch && \
22706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22708 "RANLIB=$${RANLIB}" \
22709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22710 pdf) \
22711 || exit 1
22713 @endif patch
22715 .PHONY: maybe-html-patch html-patch
22716 maybe-html-patch:
22717 @if patch
22718 maybe-html-patch: html-patch
22720 html-patch: \
22721 configure-patch
22722 @: $(MAKE); $(unstage)
22723 @[ -f ./patch/Makefile ] || exit 0; \
22724 r=`${PWD_COMMAND}`; export r; \
22725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22726 $(HOST_EXPORTS) \
22727 for flag in $(EXTRA_HOST_FLAGS) ; do \
22728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22729 done; \
22730 echo "Doing html in patch" ; \
22731 (cd $(HOST_SUBDIR)/patch && \
22732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22734 "RANLIB=$${RANLIB}" \
22735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22736 html) \
22737 || exit 1
22739 @endif patch
22741 .PHONY: maybe-TAGS-patch TAGS-patch
22742 maybe-TAGS-patch:
22743 @if patch
22744 maybe-TAGS-patch: TAGS-patch
22746 TAGS-patch: \
22747 configure-patch
22748 @: $(MAKE); $(unstage)
22749 @[ -f ./patch/Makefile ] || exit 0; \
22750 r=`${PWD_COMMAND}`; export r; \
22751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22752 $(HOST_EXPORTS) \
22753 for flag in $(EXTRA_HOST_FLAGS) ; do \
22754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22755 done; \
22756 echo "Doing TAGS in patch" ; \
22757 (cd $(HOST_SUBDIR)/patch && \
22758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22760 "RANLIB=$${RANLIB}" \
22761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22762 TAGS) \
22763 || exit 1
22765 @endif patch
22767 .PHONY: maybe-install-info-patch install-info-patch
22768 maybe-install-info-patch:
22769 @if patch
22770 maybe-install-info-patch: install-info-patch
22772 install-info-patch: \
22773 configure-patch \
22774 info-patch
22775 @: $(MAKE); $(unstage)
22776 @[ -f ./patch/Makefile ] || exit 0; \
22777 r=`${PWD_COMMAND}`; export r; \
22778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22779 $(HOST_EXPORTS) \
22780 for flag in $(EXTRA_HOST_FLAGS) ; do \
22781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22782 done; \
22783 echo "Doing install-info in patch" ; \
22784 (cd $(HOST_SUBDIR)/patch && \
22785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22787 "RANLIB=$${RANLIB}" \
22788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22789 install-info) \
22790 || exit 1
22792 @endif patch
22794 .PHONY: maybe-install-html-patch install-html-patch
22795 maybe-install-html-patch:
22796 @if patch
22797 maybe-install-html-patch: install-html-patch
22799 install-html-patch: \
22800 configure-patch \
22801 html-patch
22802 @: $(MAKE); $(unstage)
22803 @[ -f ./patch/Makefile ] || exit 0; \
22804 r=`${PWD_COMMAND}`; export r; \
22805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22806 $(HOST_EXPORTS) \
22807 for flag in $(EXTRA_HOST_FLAGS) ; do \
22808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22809 done; \
22810 echo "Doing install-html in patch" ; \
22811 (cd $(HOST_SUBDIR)/patch && \
22812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22814 "RANLIB=$${RANLIB}" \
22815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22816 install-html) \
22817 || exit 1
22819 @endif patch
22821 .PHONY: maybe-installcheck-patch installcheck-patch
22822 maybe-installcheck-patch:
22823 @if patch
22824 maybe-installcheck-patch: installcheck-patch
22826 installcheck-patch: \
22827 configure-patch
22828 @: $(MAKE); $(unstage)
22829 @[ -f ./patch/Makefile ] || exit 0; \
22830 r=`${PWD_COMMAND}`; export r; \
22831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22832 $(HOST_EXPORTS) \
22833 for flag in $(EXTRA_HOST_FLAGS) ; do \
22834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22835 done; \
22836 echo "Doing installcheck in patch" ; \
22837 (cd $(HOST_SUBDIR)/patch && \
22838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22840 "RANLIB=$${RANLIB}" \
22841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22842 installcheck) \
22843 || exit 1
22845 @endif patch
22847 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22848 maybe-mostlyclean-patch:
22849 @if patch
22850 maybe-mostlyclean-patch: mostlyclean-patch
22852 mostlyclean-patch:
22853 @: $(MAKE); $(unstage)
22854 @[ -f ./patch/Makefile ] || exit 0; \
22855 r=`${PWD_COMMAND}`; export r; \
22856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22857 $(HOST_EXPORTS) \
22858 for flag in $(EXTRA_HOST_FLAGS) ; do \
22859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22860 done; \
22861 echo "Doing mostlyclean in patch" ; \
22862 (cd $(HOST_SUBDIR)/patch && \
22863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22865 "RANLIB=$${RANLIB}" \
22866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22867 mostlyclean) \
22868 || exit 1
22870 @endif patch
22872 .PHONY: maybe-clean-patch clean-patch
22873 maybe-clean-patch:
22874 @if patch
22875 maybe-clean-patch: clean-patch
22877 clean-patch:
22878 @: $(MAKE); $(unstage)
22879 @[ -f ./patch/Makefile ] || exit 0; \
22880 r=`${PWD_COMMAND}`; export r; \
22881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22882 $(HOST_EXPORTS) \
22883 for flag in $(EXTRA_HOST_FLAGS) ; do \
22884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22885 done; \
22886 echo "Doing clean in patch" ; \
22887 (cd $(HOST_SUBDIR)/patch && \
22888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22890 "RANLIB=$${RANLIB}" \
22891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22892 clean) \
22893 || exit 1
22895 @endif patch
22897 .PHONY: maybe-distclean-patch distclean-patch
22898 maybe-distclean-patch:
22899 @if patch
22900 maybe-distclean-patch: distclean-patch
22902 distclean-patch:
22903 @: $(MAKE); $(unstage)
22904 @[ -f ./patch/Makefile ] || exit 0; \
22905 r=`${PWD_COMMAND}`; export r; \
22906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22907 $(HOST_EXPORTS) \
22908 for flag in $(EXTRA_HOST_FLAGS) ; do \
22909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22910 done; \
22911 echo "Doing distclean in patch" ; \
22912 (cd $(HOST_SUBDIR)/patch && \
22913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22915 "RANLIB=$${RANLIB}" \
22916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22917 distclean) \
22918 || exit 1
22920 @endif patch
22922 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22923 maybe-maintainer-clean-patch:
22924 @if patch
22925 maybe-maintainer-clean-patch: maintainer-clean-patch
22927 maintainer-clean-patch:
22928 @: $(MAKE); $(unstage)
22929 @[ -f ./patch/Makefile ] || exit 0; \
22930 r=`${PWD_COMMAND}`; export r; \
22931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22932 $(HOST_EXPORTS) \
22933 for flag in $(EXTRA_HOST_FLAGS) ; do \
22934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22935 done; \
22936 echo "Doing maintainer-clean in patch" ; \
22937 (cd $(HOST_SUBDIR)/patch && \
22938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22940 "RANLIB=$${RANLIB}" \
22941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22942 maintainer-clean) \
22943 || exit 1
22945 @endif patch
22949 .PHONY: configure-perl maybe-configure-perl
22950 maybe-configure-perl:
22951 @if gcc-bootstrap
22952 configure-perl: stage_current
22953 @endif gcc-bootstrap
22954 @if perl
22955 maybe-configure-perl: configure-perl
22956 configure-perl:
22957 @: $(MAKE); $(unstage)
22958 @r=`${PWD_COMMAND}`; export r; \
22959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22960 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22962 $(HOST_EXPORTS) \
22963 echo Configuring in $(HOST_SUBDIR)/perl; \
22964 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22965 case $(srcdir) in \
22966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22967 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
22968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22969 esac; \
22970 srcdiroption="--srcdir=$${topdir}/perl"; \
22971 libsrcdir="$$s/perl"; \
22972 $(SHELL) $${libsrcdir}/configure \
22973 $(HOST_CONFIGARGS) $${srcdiroption} \
22974 || exit 1
22975 @endif perl
22981 .PHONY: all-perl maybe-all-perl
22982 maybe-all-perl:
22983 @if gcc-bootstrap
22984 all-perl: stage_current
22985 @endif gcc-bootstrap
22986 @if perl
22987 TARGET-perl=all
22988 maybe-all-perl: all-perl
22989 all-perl: configure-perl
22990 @: $(MAKE); $(unstage)
22991 @r=`${PWD_COMMAND}`; export r; \
22992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22993 $(HOST_EXPORTS) \
22994 (cd $(HOST_SUBDIR)/perl && \
22995 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
22996 @endif perl
23001 .PHONY: check-perl maybe-check-perl
23002 maybe-check-perl:
23003 @if perl
23004 maybe-check-perl: check-perl
23006 check-perl:
23007 @: $(MAKE); $(unstage)
23008 @r=`${PWD_COMMAND}`; export r; \
23009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23010 $(HOST_EXPORTS) \
23011 (cd $(HOST_SUBDIR)/perl && \
23012 $(MAKE) $(FLAGS_TO_PASS) check)
23014 @endif perl
23016 .PHONY: install-perl maybe-install-perl
23017 maybe-install-perl:
23018 @if perl
23019 maybe-install-perl: install-perl
23021 install-perl: installdirs
23022 @: $(MAKE); $(unstage)
23023 @r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 $(HOST_EXPORTS) \
23026 (cd $(HOST_SUBDIR)/perl && \
23027 $(MAKE) $(FLAGS_TO_PASS) install)
23029 @endif perl
23031 # Other targets (info, dvi, pdf, etc.)
23033 .PHONY: maybe-info-perl info-perl
23034 maybe-info-perl:
23035 @if perl
23036 maybe-info-perl: info-perl
23038 info-perl: \
23039 configure-perl
23040 @: $(MAKE); $(unstage)
23041 @[ -f ./perl/Makefile ] || exit 0; \
23042 r=`${PWD_COMMAND}`; export r; \
23043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 $(HOST_EXPORTS) \
23045 for flag in $(EXTRA_HOST_FLAGS) ; do \
23046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23047 done; \
23048 echo "Doing info in perl" ; \
23049 (cd $(HOST_SUBDIR)/perl && \
23050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23052 "RANLIB=$${RANLIB}" \
23053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23054 info) \
23055 || exit 1
23057 @endif perl
23059 .PHONY: maybe-dvi-perl dvi-perl
23060 maybe-dvi-perl:
23061 @if perl
23062 maybe-dvi-perl: dvi-perl
23064 dvi-perl: \
23065 configure-perl
23066 @: $(MAKE); $(unstage)
23067 @[ -f ./perl/Makefile ] || exit 0; \
23068 r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 $(HOST_EXPORTS) \
23071 for flag in $(EXTRA_HOST_FLAGS) ; do \
23072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23073 done; \
23074 echo "Doing dvi in perl" ; \
23075 (cd $(HOST_SUBDIR)/perl && \
23076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23078 "RANLIB=$${RANLIB}" \
23079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23080 dvi) \
23081 || exit 1
23083 @endif perl
23085 .PHONY: maybe-pdf-perl pdf-perl
23086 maybe-pdf-perl:
23087 @if perl
23088 maybe-pdf-perl: pdf-perl
23090 pdf-perl: \
23091 configure-perl
23092 @: $(MAKE); $(unstage)
23093 @[ -f ./perl/Makefile ] || exit 0; \
23094 r=`${PWD_COMMAND}`; export r; \
23095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23096 $(HOST_EXPORTS) \
23097 for flag in $(EXTRA_HOST_FLAGS) ; do \
23098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23099 done; \
23100 echo "Doing pdf in perl" ; \
23101 (cd $(HOST_SUBDIR)/perl && \
23102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23104 "RANLIB=$${RANLIB}" \
23105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23106 pdf) \
23107 || exit 1
23109 @endif perl
23111 .PHONY: maybe-html-perl html-perl
23112 maybe-html-perl:
23113 @if perl
23114 maybe-html-perl: html-perl
23116 html-perl: \
23117 configure-perl
23118 @: $(MAKE); $(unstage)
23119 @[ -f ./perl/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(HOST_EXPORTS) \
23123 for flag in $(EXTRA_HOST_FLAGS) ; do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23125 done; \
23126 echo "Doing html in perl" ; \
23127 (cd $(HOST_SUBDIR)/perl && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130 "RANLIB=$${RANLIB}" \
23131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23132 html) \
23133 || exit 1
23135 @endif perl
23137 .PHONY: maybe-TAGS-perl TAGS-perl
23138 maybe-TAGS-perl:
23139 @if perl
23140 maybe-TAGS-perl: TAGS-perl
23142 TAGS-perl: \
23143 configure-perl
23144 @: $(MAKE); $(unstage)
23145 @[ -f ./perl/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 $(HOST_EXPORTS) \
23149 for flag in $(EXTRA_HOST_FLAGS) ; do \
23150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23151 done; \
23152 echo "Doing TAGS in perl" ; \
23153 (cd $(HOST_SUBDIR)/perl && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23158 TAGS) \
23159 || exit 1
23161 @endif perl
23163 .PHONY: maybe-install-info-perl install-info-perl
23164 maybe-install-info-perl:
23165 @if perl
23166 maybe-install-info-perl: install-info-perl
23168 install-info-perl: \
23169 configure-perl \
23170 info-perl
23171 @: $(MAKE); $(unstage)
23172 @[ -f ./perl/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(HOST_EXPORTS) \
23176 for flag in $(EXTRA_HOST_FLAGS) ; do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 echo "Doing install-info in perl" ; \
23180 (cd $(HOST_SUBDIR)/perl && \
23181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183 "RANLIB=$${RANLIB}" \
23184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23185 install-info) \
23186 || exit 1
23188 @endif perl
23190 .PHONY: maybe-install-html-perl install-html-perl
23191 maybe-install-html-perl:
23192 @if perl
23193 maybe-install-html-perl: install-html-perl
23195 install-html-perl: \
23196 configure-perl \
23197 html-perl
23198 @: $(MAKE); $(unstage)
23199 @[ -f ./perl/Makefile ] || exit 0; \
23200 r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23202 $(HOST_EXPORTS) \
23203 for flag in $(EXTRA_HOST_FLAGS) ; do \
23204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23205 done; \
23206 echo "Doing install-html in perl" ; \
23207 (cd $(HOST_SUBDIR)/perl && \
23208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23210 "RANLIB=$${RANLIB}" \
23211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23212 install-html) \
23213 || exit 1
23215 @endif perl
23217 .PHONY: maybe-installcheck-perl installcheck-perl
23218 maybe-installcheck-perl:
23219 @if perl
23220 maybe-installcheck-perl: installcheck-perl
23222 installcheck-perl: \
23223 configure-perl
23224 @: $(MAKE); $(unstage)
23225 @[ -f ./perl/Makefile ] || exit 0; \
23226 r=`${PWD_COMMAND}`; export r; \
23227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23228 $(HOST_EXPORTS) \
23229 for flag in $(EXTRA_HOST_FLAGS) ; do \
23230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23231 done; \
23232 echo "Doing installcheck in perl" ; \
23233 (cd $(HOST_SUBDIR)/perl && \
23234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23236 "RANLIB=$${RANLIB}" \
23237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23238 installcheck) \
23239 || exit 1
23241 @endif perl
23243 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23244 maybe-mostlyclean-perl:
23245 @if perl
23246 maybe-mostlyclean-perl: mostlyclean-perl
23248 mostlyclean-perl:
23249 @: $(MAKE); $(unstage)
23250 @[ -f ./perl/Makefile ] || exit 0; \
23251 r=`${PWD_COMMAND}`; export r; \
23252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23253 $(HOST_EXPORTS) \
23254 for flag in $(EXTRA_HOST_FLAGS) ; do \
23255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23256 done; \
23257 echo "Doing mostlyclean in perl" ; \
23258 (cd $(HOST_SUBDIR)/perl && \
23259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23261 "RANLIB=$${RANLIB}" \
23262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23263 mostlyclean) \
23264 || exit 1
23266 @endif perl
23268 .PHONY: maybe-clean-perl clean-perl
23269 maybe-clean-perl:
23270 @if perl
23271 maybe-clean-perl: clean-perl
23273 clean-perl:
23274 @: $(MAKE); $(unstage)
23275 @[ -f ./perl/Makefile ] || exit 0; \
23276 r=`${PWD_COMMAND}`; export r; \
23277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23278 $(HOST_EXPORTS) \
23279 for flag in $(EXTRA_HOST_FLAGS) ; do \
23280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23281 done; \
23282 echo "Doing clean in perl" ; \
23283 (cd $(HOST_SUBDIR)/perl && \
23284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23286 "RANLIB=$${RANLIB}" \
23287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23288 clean) \
23289 || exit 1
23291 @endif perl
23293 .PHONY: maybe-distclean-perl distclean-perl
23294 maybe-distclean-perl:
23295 @if perl
23296 maybe-distclean-perl: distclean-perl
23298 distclean-perl:
23299 @: $(MAKE); $(unstage)
23300 @[ -f ./perl/Makefile ] || exit 0; \
23301 r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 $(HOST_EXPORTS) \
23304 for flag in $(EXTRA_HOST_FLAGS) ; do \
23305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23306 done; \
23307 echo "Doing distclean in perl" ; \
23308 (cd $(HOST_SUBDIR)/perl && \
23309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23311 "RANLIB=$${RANLIB}" \
23312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23313 distclean) \
23314 || exit 1
23316 @endif perl
23318 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23319 maybe-maintainer-clean-perl:
23320 @if perl
23321 maybe-maintainer-clean-perl: maintainer-clean-perl
23323 maintainer-clean-perl:
23324 @: $(MAKE); $(unstage)
23325 @[ -f ./perl/Makefile ] || exit 0; \
23326 r=`${PWD_COMMAND}`; export r; \
23327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23328 $(HOST_EXPORTS) \
23329 for flag in $(EXTRA_HOST_FLAGS) ; do \
23330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23331 done; \
23332 echo "Doing maintainer-clean in perl" ; \
23333 (cd $(HOST_SUBDIR)/perl && \
23334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23336 "RANLIB=$${RANLIB}" \
23337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23338 maintainer-clean) \
23339 || exit 1
23341 @endif perl
23345 .PHONY: configure-prms maybe-configure-prms
23346 maybe-configure-prms:
23347 @if gcc-bootstrap
23348 configure-prms: stage_current
23349 @endif gcc-bootstrap
23350 @if prms
23351 maybe-configure-prms: configure-prms
23352 configure-prms:
23353 @: $(MAKE); $(unstage)
23354 @r=`${PWD_COMMAND}`; export r; \
23355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23356 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23358 $(HOST_EXPORTS) \
23359 echo Configuring in $(HOST_SUBDIR)/prms; \
23360 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23361 case $(srcdir) in \
23362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23363 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23365 esac; \
23366 srcdiroption="--srcdir=$${topdir}/prms"; \
23367 libsrcdir="$$s/prms"; \
23368 $(SHELL) $${libsrcdir}/configure \
23369 $(HOST_CONFIGARGS) $${srcdiroption} \
23370 || exit 1
23371 @endif prms
23377 .PHONY: all-prms maybe-all-prms
23378 maybe-all-prms:
23379 @if gcc-bootstrap
23380 all-prms: stage_current
23381 @endif gcc-bootstrap
23382 @if prms
23383 TARGET-prms=all
23384 maybe-all-prms: all-prms
23385 all-prms: configure-prms
23386 @: $(MAKE); $(unstage)
23387 @r=`${PWD_COMMAND}`; export r; \
23388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23389 $(HOST_EXPORTS) \
23390 (cd $(HOST_SUBDIR)/prms && \
23391 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23392 @endif prms
23397 .PHONY: check-prms maybe-check-prms
23398 maybe-check-prms:
23399 @if prms
23400 maybe-check-prms: check-prms
23402 check-prms:
23403 @: $(MAKE); $(unstage)
23404 @r=`${PWD_COMMAND}`; export r; \
23405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23406 $(HOST_EXPORTS) \
23407 (cd $(HOST_SUBDIR)/prms && \
23408 $(MAKE) $(FLAGS_TO_PASS) check)
23410 @endif prms
23412 .PHONY: install-prms maybe-install-prms
23413 maybe-install-prms:
23414 @if prms
23415 maybe-install-prms: install-prms
23417 install-prms: installdirs
23418 @: $(MAKE); $(unstage)
23419 @r=`${PWD_COMMAND}`; export r; \
23420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23421 $(HOST_EXPORTS) \
23422 (cd $(HOST_SUBDIR)/prms && \
23423 $(MAKE) $(FLAGS_TO_PASS) install)
23425 @endif prms
23427 # Other targets (info, dvi, pdf, etc.)
23429 .PHONY: maybe-info-prms info-prms
23430 maybe-info-prms:
23431 @if prms
23432 maybe-info-prms: info-prms
23434 info-prms: \
23435 configure-prms
23436 @: $(MAKE); $(unstage)
23437 @[ -f ./prms/Makefile ] || exit 0; \
23438 r=`${PWD_COMMAND}`; export r; \
23439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440 $(HOST_EXPORTS) \
23441 for flag in $(EXTRA_HOST_FLAGS) ; do \
23442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23443 done; \
23444 echo "Doing info in prms" ; \
23445 (cd $(HOST_SUBDIR)/prms && \
23446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23448 "RANLIB=$${RANLIB}" \
23449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23450 info) \
23451 || exit 1
23453 @endif prms
23455 .PHONY: maybe-dvi-prms dvi-prms
23456 maybe-dvi-prms:
23457 @if prms
23458 maybe-dvi-prms: dvi-prms
23460 dvi-prms: \
23461 configure-prms
23462 @: $(MAKE); $(unstage)
23463 @[ -f ./prms/Makefile ] || exit 0; \
23464 r=`${PWD_COMMAND}`; export r; \
23465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23466 $(HOST_EXPORTS) \
23467 for flag in $(EXTRA_HOST_FLAGS) ; do \
23468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23469 done; \
23470 echo "Doing dvi in prms" ; \
23471 (cd $(HOST_SUBDIR)/prms && \
23472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23474 "RANLIB=$${RANLIB}" \
23475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23476 dvi) \
23477 || exit 1
23479 @endif prms
23481 .PHONY: maybe-pdf-prms pdf-prms
23482 maybe-pdf-prms:
23483 @if prms
23484 maybe-pdf-prms: pdf-prms
23486 pdf-prms: \
23487 configure-prms
23488 @: $(MAKE); $(unstage)
23489 @[ -f ./prms/Makefile ] || exit 0; \
23490 r=`${PWD_COMMAND}`; export r; \
23491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23492 $(HOST_EXPORTS) \
23493 for flag in $(EXTRA_HOST_FLAGS) ; do \
23494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23495 done; \
23496 echo "Doing pdf in prms" ; \
23497 (cd $(HOST_SUBDIR)/prms && \
23498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23500 "RANLIB=$${RANLIB}" \
23501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23502 pdf) \
23503 || exit 1
23505 @endif prms
23507 .PHONY: maybe-html-prms html-prms
23508 maybe-html-prms:
23509 @if prms
23510 maybe-html-prms: html-prms
23512 html-prms: \
23513 configure-prms
23514 @: $(MAKE); $(unstage)
23515 @[ -f ./prms/Makefile ] || exit 0; \
23516 r=`${PWD_COMMAND}`; export r; \
23517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23518 $(HOST_EXPORTS) \
23519 for flag in $(EXTRA_HOST_FLAGS) ; do \
23520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23521 done; \
23522 echo "Doing html in prms" ; \
23523 (cd $(HOST_SUBDIR)/prms && \
23524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23526 "RANLIB=$${RANLIB}" \
23527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23528 html) \
23529 || exit 1
23531 @endif prms
23533 .PHONY: maybe-TAGS-prms TAGS-prms
23534 maybe-TAGS-prms:
23535 @if prms
23536 maybe-TAGS-prms: TAGS-prms
23538 TAGS-prms: \
23539 configure-prms
23540 @: $(MAKE); $(unstage)
23541 @[ -f ./prms/Makefile ] || exit 0; \
23542 r=`${PWD_COMMAND}`; export r; \
23543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23544 $(HOST_EXPORTS) \
23545 for flag in $(EXTRA_HOST_FLAGS) ; do \
23546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23547 done; \
23548 echo "Doing TAGS in prms" ; \
23549 (cd $(HOST_SUBDIR)/prms && \
23550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23552 "RANLIB=$${RANLIB}" \
23553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23554 TAGS) \
23555 || exit 1
23557 @endif prms
23559 .PHONY: maybe-install-info-prms install-info-prms
23560 maybe-install-info-prms:
23561 @if prms
23562 maybe-install-info-prms: install-info-prms
23564 install-info-prms: \
23565 configure-prms \
23566 info-prms
23567 @: $(MAKE); $(unstage)
23568 @[ -f ./prms/Makefile ] || exit 0; \
23569 r=`${PWD_COMMAND}`; export r; \
23570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 $(HOST_EXPORTS) \
23572 for flag in $(EXTRA_HOST_FLAGS) ; do \
23573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23574 done; \
23575 echo "Doing install-info in prms" ; \
23576 (cd $(HOST_SUBDIR)/prms && \
23577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23579 "RANLIB=$${RANLIB}" \
23580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23581 install-info) \
23582 || exit 1
23584 @endif prms
23586 .PHONY: maybe-install-html-prms install-html-prms
23587 maybe-install-html-prms:
23588 @if prms
23589 maybe-install-html-prms: install-html-prms
23591 install-html-prms: \
23592 configure-prms \
23593 html-prms
23594 @: $(MAKE); $(unstage)
23595 @[ -f ./prms/Makefile ] || exit 0; \
23596 r=`${PWD_COMMAND}`; export r; \
23597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23598 $(HOST_EXPORTS) \
23599 for flag in $(EXTRA_HOST_FLAGS) ; do \
23600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23601 done; \
23602 echo "Doing install-html in prms" ; \
23603 (cd $(HOST_SUBDIR)/prms && \
23604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23606 "RANLIB=$${RANLIB}" \
23607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23608 install-html) \
23609 || exit 1
23611 @endif prms
23613 .PHONY: maybe-installcheck-prms installcheck-prms
23614 maybe-installcheck-prms:
23615 @if prms
23616 maybe-installcheck-prms: installcheck-prms
23618 installcheck-prms: \
23619 configure-prms
23620 @: $(MAKE); $(unstage)
23621 @[ -f ./prms/Makefile ] || exit 0; \
23622 r=`${PWD_COMMAND}`; export r; \
23623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23624 $(HOST_EXPORTS) \
23625 for flag in $(EXTRA_HOST_FLAGS) ; do \
23626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23627 done; \
23628 echo "Doing installcheck in prms" ; \
23629 (cd $(HOST_SUBDIR)/prms && \
23630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23632 "RANLIB=$${RANLIB}" \
23633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23634 installcheck) \
23635 || exit 1
23637 @endif prms
23639 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23640 maybe-mostlyclean-prms:
23641 @if prms
23642 maybe-mostlyclean-prms: mostlyclean-prms
23644 mostlyclean-prms:
23645 @: $(MAKE); $(unstage)
23646 @[ -f ./prms/Makefile ] || exit 0; \
23647 r=`${PWD_COMMAND}`; export r; \
23648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23649 $(HOST_EXPORTS) \
23650 for flag in $(EXTRA_HOST_FLAGS) ; do \
23651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23652 done; \
23653 echo "Doing mostlyclean in prms" ; \
23654 (cd $(HOST_SUBDIR)/prms && \
23655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23657 "RANLIB=$${RANLIB}" \
23658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23659 mostlyclean) \
23660 || exit 1
23662 @endif prms
23664 .PHONY: maybe-clean-prms clean-prms
23665 maybe-clean-prms:
23666 @if prms
23667 maybe-clean-prms: clean-prms
23669 clean-prms:
23670 @: $(MAKE); $(unstage)
23671 @[ -f ./prms/Makefile ] || exit 0; \
23672 r=`${PWD_COMMAND}`; export r; \
23673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23674 $(HOST_EXPORTS) \
23675 for flag in $(EXTRA_HOST_FLAGS) ; do \
23676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23677 done; \
23678 echo "Doing clean in prms" ; \
23679 (cd $(HOST_SUBDIR)/prms && \
23680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23682 "RANLIB=$${RANLIB}" \
23683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23684 clean) \
23685 || exit 1
23687 @endif prms
23689 .PHONY: maybe-distclean-prms distclean-prms
23690 maybe-distclean-prms:
23691 @if prms
23692 maybe-distclean-prms: distclean-prms
23694 distclean-prms:
23695 @: $(MAKE); $(unstage)
23696 @[ -f ./prms/Makefile ] || exit 0; \
23697 r=`${PWD_COMMAND}`; export r; \
23698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699 $(HOST_EXPORTS) \
23700 for flag in $(EXTRA_HOST_FLAGS) ; do \
23701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23702 done; \
23703 echo "Doing distclean in prms" ; \
23704 (cd $(HOST_SUBDIR)/prms && \
23705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23707 "RANLIB=$${RANLIB}" \
23708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23709 distclean) \
23710 || exit 1
23712 @endif prms
23714 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23715 maybe-maintainer-clean-prms:
23716 @if prms
23717 maybe-maintainer-clean-prms: maintainer-clean-prms
23719 maintainer-clean-prms:
23720 @: $(MAKE); $(unstage)
23721 @[ -f ./prms/Makefile ] || exit 0; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(HOST_EXPORTS) \
23725 for flag in $(EXTRA_HOST_FLAGS) ; do \
23726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23727 done; \
23728 echo "Doing maintainer-clean in prms" ; \
23729 (cd $(HOST_SUBDIR)/prms && \
23730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23732 "RANLIB=$${RANLIB}" \
23733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23734 maintainer-clean) \
23735 || exit 1
23737 @endif prms
23741 .PHONY: configure-rcs maybe-configure-rcs
23742 maybe-configure-rcs:
23743 @if gcc-bootstrap
23744 configure-rcs: stage_current
23745 @endif gcc-bootstrap
23746 @if rcs
23747 maybe-configure-rcs: configure-rcs
23748 configure-rcs:
23749 @: $(MAKE); $(unstage)
23750 @r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23754 $(HOST_EXPORTS) \
23755 echo Configuring in $(HOST_SUBDIR)/rcs; \
23756 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23757 case $(srcdir) in \
23758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23759 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23761 esac; \
23762 srcdiroption="--srcdir=$${topdir}/rcs"; \
23763 libsrcdir="$$s/rcs"; \
23764 $(SHELL) $${libsrcdir}/configure \
23765 $(HOST_CONFIGARGS) $${srcdiroption} \
23766 || exit 1
23767 @endif rcs
23773 .PHONY: all-rcs maybe-all-rcs
23774 maybe-all-rcs:
23775 @if gcc-bootstrap
23776 all-rcs: stage_current
23777 @endif gcc-bootstrap
23778 @if rcs
23779 TARGET-rcs=all
23780 maybe-all-rcs: all-rcs
23781 all-rcs: configure-rcs
23782 @: $(MAKE); $(unstage)
23783 @r=`${PWD_COMMAND}`; export r; \
23784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23785 $(HOST_EXPORTS) \
23786 (cd $(HOST_SUBDIR)/rcs && \
23787 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23788 @endif rcs
23793 .PHONY: check-rcs maybe-check-rcs
23794 maybe-check-rcs:
23795 @if rcs
23796 maybe-check-rcs: check-rcs
23798 check-rcs:
23799 @: $(MAKE); $(unstage)
23800 @r=`${PWD_COMMAND}`; export r; \
23801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802 $(HOST_EXPORTS) \
23803 (cd $(HOST_SUBDIR)/rcs && \
23804 $(MAKE) $(FLAGS_TO_PASS) check)
23806 @endif rcs
23808 .PHONY: install-rcs maybe-install-rcs
23809 maybe-install-rcs:
23810 @if rcs
23811 maybe-install-rcs: install-rcs
23813 install-rcs: installdirs
23814 @: $(MAKE); $(unstage)
23815 @r=`${PWD_COMMAND}`; export r; \
23816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23817 $(HOST_EXPORTS) \
23818 (cd $(HOST_SUBDIR)/rcs && \
23819 $(MAKE) $(FLAGS_TO_PASS) install)
23821 @endif rcs
23823 # Other targets (info, dvi, pdf, etc.)
23825 .PHONY: maybe-info-rcs info-rcs
23826 maybe-info-rcs:
23827 @if rcs
23828 maybe-info-rcs: info-rcs
23830 info-rcs: \
23831 configure-rcs
23832 @: $(MAKE); $(unstage)
23833 @[ -f ./rcs/Makefile ] || exit 0; \
23834 r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 for flag in $(EXTRA_HOST_FLAGS) ; do \
23838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839 done; \
23840 echo "Doing info in rcs" ; \
23841 (cd $(HOST_SUBDIR)/rcs && \
23842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23844 "RANLIB=$${RANLIB}" \
23845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23846 info) \
23847 || exit 1
23849 @endif rcs
23851 .PHONY: maybe-dvi-rcs dvi-rcs
23852 maybe-dvi-rcs:
23853 @if rcs
23854 maybe-dvi-rcs: dvi-rcs
23856 dvi-rcs: \
23857 configure-rcs
23858 @: $(MAKE); $(unstage)
23859 @[ -f ./rcs/Makefile ] || exit 0; \
23860 r=`${PWD_COMMAND}`; export r; \
23861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23862 $(HOST_EXPORTS) \
23863 for flag in $(EXTRA_HOST_FLAGS) ; do \
23864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23865 done; \
23866 echo "Doing dvi in rcs" ; \
23867 (cd $(HOST_SUBDIR)/rcs && \
23868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23870 "RANLIB=$${RANLIB}" \
23871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23872 dvi) \
23873 || exit 1
23875 @endif rcs
23877 .PHONY: maybe-pdf-rcs pdf-rcs
23878 maybe-pdf-rcs:
23879 @if rcs
23880 maybe-pdf-rcs: pdf-rcs
23882 pdf-rcs: \
23883 configure-rcs
23884 @: $(MAKE); $(unstage)
23885 @[ -f ./rcs/Makefile ] || exit 0; \
23886 r=`${PWD_COMMAND}`; export r; \
23887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23888 $(HOST_EXPORTS) \
23889 for flag in $(EXTRA_HOST_FLAGS) ; do \
23890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23891 done; \
23892 echo "Doing pdf in rcs" ; \
23893 (cd $(HOST_SUBDIR)/rcs && \
23894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23896 "RANLIB=$${RANLIB}" \
23897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23898 pdf) \
23899 || exit 1
23901 @endif rcs
23903 .PHONY: maybe-html-rcs html-rcs
23904 maybe-html-rcs:
23905 @if rcs
23906 maybe-html-rcs: html-rcs
23908 html-rcs: \
23909 configure-rcs
23910 @: $(MAKE); $(unstage)
23911 @[ -f ./rcs/Makefile ] || exit 0; \
23912 r=`${PWD_COMMAND}`; export r; \
23913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23914 $(HOST_EXPORTS) \
23915 for flag in $(EXTRA_HOST_FLAGS) ; do \
23916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23917 done; \
23918 echo "Doing html in rcs" ; \
23919 (cd $(HOST_SUBDIR)/rcs && \
23920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23922 "RANLIB=$${RANLIB}" \
23923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23924 html) \
23925 || exit 1
23927 @endif rcs
23929 .PHONY: maybe-TAGS-rcs TAGS-rcs
23930 maybe-TAGS-rcs:
23931 @if rcs
23932 maybe-TAGS-rcs: TAGS-rcs
23934 TAGS-rcs: \
23935 configure-rcs
23936 @: $(MAKE); $(unstage)
23937 @[ -f ./rcs/Makefile ] || exit 0; \
23938 r=`${PWD_COMMAND}`; export r; \
23939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23940 $(HOST_EXPORTS) \
23941 for flag in $(EXTRA_HOST_FLAGS) ; do \
23942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23943 done; \
23944 echo "Doing TAGS in rcs" ; \
23945 (cd $(HOST_SUBDIR)/rcs && \
23946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23948 "RANLIB=$${RANLIB}" \
23949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23950 TAGS) \
23951 || exit 1
23953 @endif rcs
23955 .PHONY: maybe-install-info-rcs install-info-rcs
23956 maybe-install-info-rcs:
23957 @if rcs
23958 maybe-install-info-rcs: install-info-rcs
23960 install-info-rcs: \
23961 configure-rcs \
23962 info-rcs
23963 @: $(MAKE); $(unstage)
23964 @[ -f ./rcs/Makefile ] || exit 0; \
23965 r=`${PWD_COMMAND}`; export r; \
23966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23967 $(HOST_EXPORTS) \
23968 for flag in $(EXTRA_HOST_FLAGS) ; do \
23969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23970 done; \
23971 echo "Doing install-info in rcs" ; \
23972 (cd $(HOST_SUBDIR)/rcs && \
23973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23975 "RANLIB=$${RANLIB}" \
23976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23977 install-info) \
23978 || exit 1
23980 @endif rcs
23982 .PHONY: maybe-install-html-rcs install-html-rcs
23983 maybe-install-html-rcs:
23984 @if rcs
23985 maybe-install-html-rcs: install-html-rcs
23987 install-html-rcs: \
23988 configure-rcs \
23989 html-rcs
23990 @: $(MAKE); $(unstage)
23991 @[ -f ./rcs/Makefile ] || exit 0; \
23992 r=`${PWD_COMMAND}`; export r; \
23993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23994 $(HOST_EXPORTS) \
23995 for flag in $(EXTRA_HOST_FLAGS) ; do \
23996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23997 done; \
23998 echo "Doing install-html in rcs" ; \
23999 (cd $(HOST_SUBDIR)/rcs && \
24000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24002 "RANLIB=$${RANLIB}" \
24003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24004 install-html) \
24005 || exit 1
24007 @endif rcs
24009 .PHONY: maybe-installcheck-rcs installcheck-rcs
24010 maybe-installcheck-rcs:
24011 @if rcs
24012 maybe-installcheck-rcs: installcheck-rcs
24014 installcheck-rcs: \
24015 configure-rcs
24016 @: $(MAKE); $(unstage)
24017 @[ -f ./rcs/Makefile ] || exit 0; \
24018 r=`${PWD_COMMAND}`; export r; \
24019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing installcheck in rcs" ; \
24025 (cd $(HOST_SUBDIR)/rcs && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24030 installcheck) \
24031 || exit 1
24033 @endif rcs
24035 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
24036 maybe-mostlyclean-rcs:
24037 @if rcs
24038 maybe-mostlyclean-rcs: mostlyclean-rcs
24040 mostlyclean-rcs:
24041 @: $(MAKE); $(unstage)
24042 @[ -f ./rcs/Makefile ] || exit 0; \
24043 r=`${PWD_COMMAND}`; export r; \
24044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24045 $(HOST_EXPORTS) \
24046 for flag in $(EXTRA_HOST_FLAGS) ; do \
24047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24048 done; \
24049 echo "Doing mostlyclean in rcs" ; \
24050 (cd $(HOST_SUBDIR)/rcs && \
24051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24053 "RANLIB=$${RANLIB}" \
24054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24055 mostlyclean) \
24056 || exit 1
24058 @endif rcs
24060 .PHONY: maybe-clean-rcs clean-rcs
24061 maybe-clean-rcs:
24062 @if rcs
24063 maybe-clean-rcs: clean-rcs
24065 clean-rcs:
24066 @: $(MAKE); $(unstage)
24067 @[ -f ./rcs/Makefile ] || exit 0; \
24068 r=`${PWD_COMMAND}`; export r; \
24069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24070 $(HOST_EXPORTS) \
24071 for flag in $(EXTRA_HOST_FLAGS) ; do \
24072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24073 done; \
24074 echo "Doing clean in rcs" ; \
24075 (cd $(HOST_SUBDIR)/rcs && \
24076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24078 "RANLIB=$${RANLIB}" \
24079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24080 clean) \
24081 || exit 1
24083 @endif rcs
24085 .PHONY: maybe-distclean-rcs distclean-rcs
24086 maybe-distclean-rcs:
24087 @if rcs
24088 maybe-distclean-rcs: distclean-rcs
24090 distclean-rcs:
24091 @: $(MAKE); $(unstage)
24092 @[ -f ./rcs/Makefile ] || exit 0; \
24093 r=`${PWD_COMMAND}`; export r; \
24094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24095 $(HOST_EXPORTS) \
24096 for flag in $(EXTRA_HOST_FLAGS) ; do \
24097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24098 done; \
24099 echo "Doing distclean in rcs" ; \
24100 (cd $(HOST_SUBDIR)/rcs && \
24101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24103 "RANLIB=$${RANLIB}" \
24104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24105 distclean) \
24106 || exit 1
24108 @endif rcs
24110 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
24111 maybe-maintainer-clean-rcs:
24112 @if rcs
24113 maybe-maintainer-clean-rcs: maintainer-clean-rcs
24115 maintainer-clean-rcs:
24116 @: $(MAKE); $(unstage)
24117 @[ -f ./rcs/Makefile ] || exit 0; \
24118 r=`${PWD_COMMAND}`; export r; \
24119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24120 $(HOST_EXPORTS) \
24121 for flag in $(EXTRA_HOST_FLAGS) ; do \
24122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24123 done; \
24124 echo "Doing maintainer-clean in rcs" ; \
24125 (cd $(HOST_SUBDIR)/rcs && \
24126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24128 "RANLIB=$${RANLIB}" \
24129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24130 maintainer-clean) \
24131 || exit 1
24133 @endif rcs
24137 .PHONY: configure-readline maybe-configure-readline
24138 maybe-configure-readline:
24139 @if gcc-bootstrap
24140 configure-readline: stage_current
24141 @endif gcc-bootstrap
24142 @if readline
24143 maybe-configure-readline: configure-readline
24144 configure-readline:
24145 @: $(MAKE); $(unstage)
24146 @r=`${PWD_COMMAND}`; export r; \
24147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24148 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24150 $(HOST_EXPORTS) \
24151 echo Configuring in $(HOST_SUBDIR)/readline; \
24152 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24153 case $(srcdir) in \
24154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24155 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24157 esac; \
24158 srcdiroption="--srcdir=$${topdir}/readline"; \
24159 libsrcdir="$$s/readline"; \
24160 $(SHELL) $${libsrcdir}/configure \
24161 $(HOST_CONFIGARGS) $${srcdiroption} \
24162 || exit 1
24163 @endif readline
24169 .PHONY: all-readline maybe-all-readline
24170 maybe-all-readline:
24171 @if gcc-bootstrap
24172 all-readline: stage_current
24173 @endif gcc-bootstrap
24174 @if readline
24175 TARGET-readline=all
24176 maybe-all-readline: all-readline
24177 all-readline: configure-readline
24178 @: $(MAKE); $(unstage)
24179 @r=`${PWD_COMMAND}`; export r; \
24180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24181 $(HOST_EXPORTS) \
24182 (cd $(HOST_SUBDIR)/readline && \
24183 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24184 @endif readline
24189 .PHONY: check-readline maybe-check-readline
24190 maybe-check-readline:
24191 @if readline
24192 maybe-check-readline: check-readline
24194 check-readline:
24195 @: $(MAKE); $(unstage)
24196 @r=`${PWD_COMMAND}`; export r; \
24197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 $(HOST_EXPORTS) \
24199 (cd $(HOST_SUBDIR)/readline && \
24200 $(MAKE) $(FLAGS_TO_PASS) check)
24202 @endif readline
24204 .PHONY: install-readline maybe-install-readline
24205 maybe-install-readline:
24206 @if readline
24207 maybe-install-readline: install-readline
24209 install-readline: installdirs
24210 @: $(MAKE); $(unstage)
24211 @r=`${PWD_COMMAND}`; export r; \
24212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24213 $(HOST_EXPORTS) \
24214 (cd $(HOST_SUBDIR)/readline && \
24215 $(MAKE) $(FLAGS_TO_PASS) install)
24217 @endif readline
24219 # Other targets (info, dvi, pdf, etc.)
24221 .PHONY: maybe-info-readline info-readline
24222 maybe-info-readline:
24223 @if readline
24224 maybe-info-readline: info-readline
24226 info-readline: \
24227 configure-readline
24228 @: $(MAKE); $(unstage)
24229 @[ -f ./readline/Makefile ] || exit 0; \
24230 r=`${PWD_COMMAND}`; export r; \
24231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24232 $(HOST_EXPORTS) \
24233 for flag in $(EXTRA_HOST_FLAGS) ; do \
24234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24235 done; \
24236 echo "Doing info in readline" ; \
24237 (cd $(HOST_SUBDIR)/readline && \
24238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24240 "RANLIB=$${RANLIB}" \
24241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24242 info) \
24243 || exit 1
24245 @endif readline
24247 .PHONY: maybe-dvi-readline dvi-readline
24248 maybe-dvi-readline:
24249 @if readline
24250 maybe-dvi-readline: dvi-readline
24252 dvi-readline: \
24253 configure-readline
24254 @: $(MAKE); $(unstage)
24255 @[ -f ./readline/Makefile ] || exit 0; \
24256 r=`${PWD_COMMAND}`; export r; \
24257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24258 $(HOST_EXPORTS) \
24259 for flag in $(EXTRA_HOST_FLAGS) ; do \
24260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24261 done; \
24262 echo "Doing dvi in readline" ; \
24263 (cd $(HOST_SUBDIR)/readline && \
24264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24266 "RANLIB=$${RANLIB}" \
24267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24268 dvi) \
24269 || exit 1
24271 @endif readline
24273 .PHONY: maybe-pdf-readline pdf-readline
24274 maybe-pdf-readline:
24275 @if readline
24276 maybe-pdf-readline: pdf-readline
24278 pdf-readline: \
24279 configure-readline
24280 @: $(MAKE); $(unstage)
24281 @[ -f ./readline/Makefile ] || exit 0; \
24282 r=`${PWD_COMMAND}`; export r; \
24283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24284 $(HOST_EXPORTS) \
24285 for flag in $(EXTRA_HOST_FLAGS) ; do \
24286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24287 done; \
24288 echo "Doing pdf in readline" ; \
24289 (cd $(HOST_SUBDIR)/readline && \
24290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24292 "RANLIB=$${RANLIB}" \
24293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24294 pdf) \
24295 || exit 1
24297 @endif readline
24299 .PHONY: maybe-html-readline html-readline
24300 maybe-html-readline:
24301 @if readline
24302 maybe-html-readline: html-readline
24304 html-readline: \
24305 configure-readline
24306 @: $(MAKE); $(unstage)
24307 @[ -f ./readline/Makefile ] || exit 0; \
24308 r=`${PWD_COMMAND}`; export r; \
24309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24310 $(HOST_EXPORTS) \
24311 for flag in $(EXTRA_HOST_FLAGS) ; do \
24312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24313 done; \
24314 echo "Doing html in readline" ; \
24315 (cd $(HOST_SUBDIR)/readline && \
24316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24318 "RANLIB=$${RANLIB}" \
24319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24320 html) \
24321 || exit 1
24323 @endif readline
24325 .PHONY: maybe-TAGS-readline TAGS-readline
24326 maybe-TAGS-readline:
24327 @if readline
24328 maybe-TAGS-readline: TAGS-readline
24330 TAGS-readline: \
24331 configure-readline
24332 @: $(MAKE); $(unstage)
24333 @[ -f ./readline/Makefile ] || exit 0; \
24334 r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(HOST_EXPORTS) \
24337 for flag in $(EXTRA_HOST_FLAGS) ; do \
24338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24339 done; \
24340 echo "Doing TAGS in readline" ; \
24341 (cd $(HOST_SUBDIR)/readline && \
24342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24344 "RANLIB=$${RANLIB}" \
24345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24346 TAGS) \
24347 || exit 1
24349 @endif readline
24351 .PHONY: maybe-install-info-readline install-info-readline
24352 maybe-install-info-readline:
24353 @if readline
24354 maybe-install-info-readline: install-info-readline
24356 install-info-readline: \
24357 configure-readline \
24358 info-readline
24359 @: $(MAKE); $(unstage)
24360 @[ -f ./readline/Makefile ] || exit 0; \
24361 r=`${PWD_COMMAND}`; export r; \
24362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24363 $(HOST_EXPORTS) \
24364 for flag in $(EXTRA_HOST_FLAGS) ; do \
24365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24366 done; \
24367 echo "Doing install-info in readline" ; \
24368 (cd $(HOST_SUBDIR)/readline && \
24369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24371 "RANLIB=$${RANLIB}" \
24372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24373 install-info) \
24374 || exit 1
24376 @endif readline
24378 .PHONY: maybe-install-html-readline install-html-readline
24379 maybe-install-html-readline:
24380 @if readline
24381 maybe-install-html-readline: install-html-readline
24383 install-html-readline: \
24384 configure-readline \
24385 html-readline
24386 @: $(MAKE); $(unstage)
24387 @[ -f ./readline/Makefile ] || exit 0; \
24388 r=`${PWD_COMMAND}`; export r; \
24389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24390 $(HOST_EXPORTS) \
24391 for flag in $(EXTRA_HOST_FLAGS) ; do \
24392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24393 done; \
24394 echo "Doing install-html in readline" ; \
24395 (cd $(HOST_SUBDIR)/readline && \
24396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24398 "RANLIB=$${RANLIB}" \
24399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24400 install-html) \
24401 || exit 1
24403 @endif readline
24405 .PHONY: maybe-installcheck-readline installcheck-readline
24406 maybe-installcheck-readline:
24407 @if readline
24408 maybe-installcheck-readline: installcheck-readline
24410 installcheck-readline: \
24411 configure-readline
24412 @: $(MAKE); $(unstage)
24413 @[ -f ./readline/Makefile ] || exit 0; \
24414 r=`${PWD_COMMAND}`; export r; \
24415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24416 $(HOST_EXPORTS) \
24417 for flag in $(EXTRA_HOST_FLAGS) ; do \
24418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24419 done; \
24420 echo "Doing installcheck in readline" ; \
24421 (cd $(HOST_SUBDIR)/readline && \
24422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24424 "RANLIB=$${RANLIB}" \
24425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24426 installcheck) \
24427 || exit 1
24429 @endif readline
24431 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24432 maybe-mostlyclean-readline:
24433 @if readline
24434 maybe-mostlyclean-readline: mostlyclean-readline
24436 mostlyclean-readline:
24437 @: $(MAKE); $(unstage)
24438 @[ -f ./readline/Makefile ] || exit 0; \
24439 r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24441 $(HOST_EXPORTS) \
24442 for flag in $(EXTRA_HOST_FLAGS) ; do \
24443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24444 done; \
24445 echo "Doing mostlyclean in readline" ; \
24446 (cd $(HOST_SUBDIR)/readline && \
24447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24449 "RANLIB=$${RANLIB}" \
24450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24451 mostlyclean) \
24452 || exit 1
24454 @endif readline
24456 .PHONY: maybe-clean-readline clean-readline
24457 maybe-clean-readline:
24458 @if readline
24459 maybe-clean-readline: clean-readline
24461 clean-readline:
24462 @: $(MAKE); $(unstage)
24463 @[ -f ./readline/Makefile ] || exit 0; \
24464 r=`${PWD_COMMAND}`; export r; \
24465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24466 $(HOST_EXPORTS) \
24467 for flag in $(EXTRA_HOST_FLAGS) ; do \
24468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24469 done; \
24470 echo "Doing clean in readline" ; \
24471 (cd $(HOST_SUBDIR)/readline && \
24472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24474 "RANLIB=$${RANLIB}" \
24475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24476 clean) \
24477 || exit 1
24479 @endif readline
24481 .PHONY: maybe-distclean-readline distclean-readline
24482 maybe-distclean-readline:
24483 @if readline
24484 maybe-distclean-readline: distclean-readline
24486 distclean-readline:
24487 @: $(MAKE); $(unstage)
24488 @[ -f ./readline/Makefile ] || exit 0; \
24489 r=`${PWD_COMMAND}`; export r; \
24490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24491 $(HOST_EXPORTS) \
24492 for flag in $(EXTRA_HOST_FLAGS) ; do \
24493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24494 done; \
24495 echo "Doing distclean in readline" ; \
24496 (cd $(HOST_SUBDIR)/readline && \
24497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24499 "RANLIB=$${RANLIB}" \
24500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24501 distclean) \
24502 || exit 1
24504 @endif readline
24506 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24507 maybe-maintainer-clean-readline:
24508 @if readline
24509 maybe-maintainer-clean-readline: maintainer-clean-readline
24511 maintainer-clean-readline:
24512 @: $(MAKE); $(unstage)
24513 @[ -f ./readline/Makefile ] || exit 0; \
24514 r=`${PWD_COMMAND}`; export r; \
24515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24516 $(HOST_EXPORTS) \
24517 for flag in $(EXTRA_HOST_FLAGS) ; do \
24518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24519 done; \
24520 echo "Doing maintainer-clean in readline" ; \
24521 (cd $(HOST_SUBDIR)/readline && \
24522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24524 "RANLIB=$${RANLIB}" \
24525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24526 maintainer-clean) \
24527 || exit 1
24529 @endif readline
24533 .PHONY: configure-release maybe-configure-release
24534 maybe-configure-release:
24535 @if gcc-bootstrap
24536 configure-release: stage_current
24537 @endif gcc-bootstrap
24538 @if release
24539 maybe-configure-release: configure-release
24540 configure-release:
24541 @: $(MAKE); $(unstage)
24542 @r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24546 $(HOST_EXPORTS) \
24547 echo Configuring in $(HOST_SUBDIR)/release; \
24548 cd "$(HOST_SUBDIR)/release" || exit 1; \
24549 case $(srcdir) in \
24550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24551 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24553 esac; \
24554 srcdiroption="--srcdir=$${topdir}/release"; \
24555 libsrcdir="$$s/release"; \
24556 $(SHELL) $${libsrcdir}/configure \
24557 $(HOST_CONFIGARGS) $${srcdiroption} \
24558 || exit 1
24559 @endif release
24565 .PHONY: all-release maybe-all-release
24566 maybe-all-release:
24567 @if gcc-bootstrap
24568 all-release: stage_current
24569 @endif gcc-bootstrap
24570 @if release
24571 TARGET-release=all
24572 maybe-all-release: all-release
24573 all-release: configure-release
24574 @: $(MAKE); $(unstage)
24575 @r=`${PWD_COMMAND}`; export r; \
24576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24577 $(HOST_EXPORTS) \
24578 (cd $(HOST_SUBDIR)/release && \
24579 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24580 @endif release
24585 .PHONY: check-release maybe-check-release
24586 maybe-check-release:
24587 @if release
24588 maybe-check-release: check-release
24590 check-release:
24592 @endif release
24594 .PHONY: install-release maybe-install-release
24595 maybe-install-release:
24596 @if release
24597 maybe-install-release: install-release
24599 install-release:
24601 @endif release
24603 # Other targets (info, dvi, pdf, etc.)
24605 .PHONY: maybe-info-release info-release
24606 maybe-info-release:
24607 @if release
24608 maybe-info-release: info-release
24610 info-release: \
24611 configure-release
24612 @: $(MAKE); $(unstage)
24613 @[ -f ./release/Makefile ] || exit 0; \
24614 r=`${PWD_COMMAND}`; export r; \
24615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24616 $(HOST_EXPORTS) \
24617 for flag in $(EXTRA_HOST_FLAGS) ; do \
24618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24619 done; \
24620 echo "Doing info in release" ; \
24621 (cd $(HOST_SUBDIR)/release && \
24622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24624 "RANLIB=$${RANLIB}" \
24625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24626 info) \
24627 || exit 1
24629 @endif release
24631 .PHONY: maybe-dvi-release dvi-release
24632 maybe-dvi-release:
24633 @if release
24634 maybe-dvi-release: dvi-release
24636 dvi-release: \
24637 configure-release
24638 @: $(MAKE); $(unstage)
24639 @[ -f ./release/Makefile ] || exit 0; \
24640 r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(HOST_EXPORTS) \
24643 for flag in $(EXTRA_HOST_FLAGS) ; do \
24644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24645 done; \
24646 echo "Doing dvi in release" ; \
24647 (cd $(HOST_SUBDIR)/release && \
24648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24650 "RANLIB=$${RANLIB}" \
24651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24652 dvi) \
24653 || exit 1
24655 @endif release
24657 .PHONY: maybe-pdf-release pdf-release
24658 maybe-pdf-release:
24659 @if release
24660 maybe-pdf-release: pdf-release
24662 pdf-release: \
24663 configure-release
24664 @: $(MAKE); $(unstage)
24665 @[ -f ./release/Makefile ] || exit 0; \
24666 r=`${PWD_COMMAND}`; export r; \
24667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24668 $(HOST_EXPORTS) \
24669 for flag in $(EXTRA_HOST_FLAGS) ; do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 done; \
24672 echo "Doing pdf in release" ; \
24673 (cd $(HOST_SUBDIR)/release && \
24674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24676 "RANLIB=$${RANLIB}" \
24677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24678 pdf) \
24679 || exit 1
24681 @endif release
24683 .PHONY: maybe-html-release html-release
24684 maybe-html-release:
24685 @if release
24686 maybe-html-release: html-release
24688 html-release: \
24689 configure-release
24690 @: $(MAKE); $(unstage)
24691 @[ -f ./release/Makefile ] || exit 0; \
24692 r=`${PWD_COMMAND}`; export r; \
24693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24694 $(HOST_EXPORTS) \
24695 for flag in $(EXTRA_HOST_FLAGS) ; do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 echo "Doing html in release" ; \
24699 (cd $(HOST_SUBDIR)/release && \
24700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24702 "RANLIB=$${RANLIB}" \
24703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24704 html) \
24705 || exit 1
24707 @endif release
24709 .PHONY: maybe-TAGS-release TAGS-release
24710 maybe-TAGS-release:
24711 @if release
24712 maybe-TAGS-release: TAGS-release
24714 TAGS-release: \
24715 configure-release
24716 @: $(MAKE); $(unstage)
24717 @[ -f ./release/Makefile ] || exit 0; \
24718 r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 for flag in $(EXTRA_HOST_FLAGS) ; do \
24722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 done; \
24724 echo "Doing TAGS in release" ; \
24725 (cd $(HOST_SUBDIR)/release && \
24726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24728 "RANLIB=$${RANLIB}" \
24729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24730 TAGS) \
24731 || exit 1
24733 @endif release
24735 .PHONY: maybe-install-info-release install-info-release
24736 maybe-install-info-release:
24737 @if release
24738 maybe-install-info-release: install-info-release
24740 install-info-release: \
24741 configure-release \
24742 info-release
24743 @: $(MAKE); $(unstage)
24744 @[ -f ./release/Makefile ] || exit 0; \
24745 r=`${PWD_COMMAND}`; export r; \
24746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24747 $(HOST_EXPORTS) \
24748 for flag in $(EXTRA_HOST_FLAGS) ; do \
24749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24750 done; \
24751 echo "Doing install-info in release" ; \
24752 (cd $(HOST_SUBDIR)/release && \
24753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24755 "RANLIB=$${RANLIB}" \
24756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24757 install-info) \
24758 || exit 1
24760 @endif release
24762 .PHONY: maybe-install-html-release install-html-release
24763 maybe-install-html-release:
24764 @if release
24765 maybe-install-html-release: install-html-release
24767 install-html-release: \
24768 configure-release \
24769 html-release
24770 @: $(MAKE); $(unstage)
24771 @[ -f ./release/Makefile ] || exit 0; \
24772 r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 $(HOST_EXPORTS) \
24775 for flag in $(EXTRA_HOST_FLAGS) ; do \
24776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24777 done; \
24778 echo "Doing install-html in release" ; \
24779 (cd $(HOST_SUBDIR)/release && \
24780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24782 "RANLIB=$${RANLIB}" \
24783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24784 install-html) \
24785 || exit 1
24787 @endif release
24789 .PHONY: maybe-installcheck-release installcheck-release
24790 maybe-installcheck-release:
24791 @if release
24792 maybe-installcheck-release: installcheck-release
24794 installcheck-release: \
24795 configure-release
24796 @: $(MAKE); $(unstage)
24797 @[ -f ./release/Makefile ] || exit 0; \
24798 r=`${PWD_COMMAND}`; export r; \
24799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24800 $(HOST_EXPORTS) \
24801 for flag in $(EXTRA_HOST_FLAGS) ; do \
24802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24803 done; \
24804 echo "Doing installcheck in release" ; \
24805 (cd $(HOST_SUBDIR)/release && \
24806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24808 "RANLIB=$${RANLIB}" \
24809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24810 installcheck) \
24811 || exit 1
24813 @endif release
24815 .PHONY: maybe-mostlyclean-release mostlyclean-release
24816 maybe-mostlyclean-release:
24817 @if release
24818 maybe-mostlyclean-release: mostlyclean-release
24820 mostlyclean-release:
24821 @: $(MAKE); $(unstage)
24822 @[ -f ./release/Makefile ] || exit 0; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(HOST_EXPORTS) \
24826 for flag in $(EXTRA_HOST_FLAGS) ; do \
24827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24828 done; \
24829 echo "Doing mostlyclean in release" ; \
24830 (cd $(HOST_SUBDIR)/release && \
24831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24833 "RANLIB=$${RANLIB}" \
24834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24835 mostlyclean) \
24836 || exit 1
24838 @endif release
24840 .PHONY: maybe-clean-release clean-release
24841 maybe-clean-release:
24842 @if release
24843 maybe-clean-release: clean-release
24845 clean-release:
24846 @: $(MAKE); $(unstage)
24847 @[ -f ./release/Makefile ] || exit 0; \
24848 r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24850 $(HOST_EXPORTS) \
24851 for flag in $(EXTRA_HOST_FLAGS) ; do \
24852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24853 done; \
24854 echo "Doing clean in release" ; \
24855 (cd $(HOST_SUBDIR)/release && \
24856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24858 "RANLIB=$${RANLIB}" \
24859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24860 clean) \
24861 || exit 1
24863 @endif release
24865 .PHONY: maybe-distclean-release distclean-release
24866 maybe-distclean-release:
24867 @if release
24868 maybe-distclean-release: distclean-release
24870 distclean-release:
24871 @: $(MAKE); $(unstage)
24872 @[ -f ./release/Makefile ] || exit 0; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(HOST_EXPORTS) \
24876 for flag in $(EXTRA_HOST_FLAGS) ; do \
24877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24878 done; \
24879 echo "Doing distclean in release" ; \
24880 (cd $(HOST_SUBDIR)/release && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24885 distclean) \
24886 || exit 1
24888 @endif release
24890 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24891 maybe-maintainer-clean-release:
24892 @if release
24893 maybe-maintainer-clean-release: maintainer-clean-release
24895 maintainer-clean-release:
24896 @: $(MAKE); $(unstage)
24897 @[ -f ./release/Makefile ] || exit 0; \
24898 r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(HOST_EXPORTS) \
24901 for flag in $(EXTRA_HOST_FLAGS) ; do \
24902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24903 done; \
24904 echo "Doing maintainer-clean in release" ; \
24905 (cd $(HOST_SUBDIR)/release && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908 "RANLIB=$${RANLIB}" \
24909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24910 maintainer-clean) \
24911 || exit 1
24913 @endif release
24917 .PHONY: configure-recode maybe-configure-recode
24918 maybe-configure-recode:
24919 @if gcc-bootstrap
24920 configure-recode: stage_current
24921 @endif gcc-bootstrap
24922 @if recode
24923 maybe-configure-recode: configure-recode
24924 configure-recode:
24925 @: $(MAKE); $(unstage)
24926 @r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24928 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24930 $(HOST_EXPORTS) \
24931 echo Configuring in $(HOST_SUBDIR)/recode; \
24932 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24933 case $(srcdir) in \
24934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24935 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24937 esac; \
24938 srcdiroption="--srcdir=$${topdir}/recode"; \
24939 libsrcdir="$$s/recode"; \
24940 $(SHELL) $${libsrcdir}/configure \
24941 $(HOST_CONFIGARGS) $${srcdiroption} \
24942 || exit 1
24943 @endif recode
24949 .PHONY: all-recode maybe-all-recode
24950 maybe-all-recode:
24951 @if gcc-bootstrap
24952 all-recode: stage_current
24953 @endif gcc-bootstrap
24954 @if recode
24955 TARGET-recode=all
24956 maybe-all-recode: all-recode
24957 all-recode: configure-recode
24958 @: $(MAKE); $(unstage)
24959 @r=`${PWD_COMMAND}`; export r; \
24960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24961 $(HOST_EXPORTS) \
24962 (cd $(HOST_SUBDIR)/recode && \
24963 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24964 @endif recode
24969 .PHONY: check-recode maybe-check-recode
24970 maybe-check-recode:
24971 @if recode
24972 maybe-check-recode: check-recode
24974 check-recode:
24975 @: $(MAKE); $(unstage)
24976 @r=`${PWD_COMMAND}`; export r; \
24977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24978 $(HOST_EXPORTS) \
24979 (cd $(HOST_SUBDIR)/recode && \
24980 $(MAKE) $(FLAGS_TO_PASS) check)
24982 @endif recode
24984 .PHONY: install-recode maybe-install-recode
24985 maybe-install-recode:
24986 @if recode
24987 maybe-install-recode: install-recode
24989 install-recode: installdirs
24990 @: $(MAKE); $(unstage)
24991 @r=`${PWD_COMMAND}`; export r; \
24992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24993 $(HOST_EXPORTS) \
24994 (cd $(HOST_SUBDIR)/recode && \
24995 $(MAKE) $(FLAGS_TO_PASS) install)
24997 @endif recode
24999 # Other targets (info, dvi, pdf, etc.)
25001 .PHONY: maybe-info-recode info-recode
25002 maybe-info-recode:
25003 @if recode
25004 maybe-info-recode: info-recode
25006 info-recode: \
25007 configure-recode
25008 @: $(MAKE); $(unstage)
25009 @[ -f ./recode/Makefile ] || exit 0; \
25010 r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 for flag in $(EXTRA_HOST_FLAGS) ; do \
25014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25015 done; \
25016 echo "Doing info in recode" ; \
25017 (cd $(HOST_SUBDIR)/recode && \
25018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25020 "RANLIB=$${RANLIB}" \
25021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25022 info) \
25023 || exit 1
25025 @endif recode
25027 .PHONY: maybe-dvi-recode dvi-recode
25028 maybe-dvi-recode:
25029 @if recode
25030 maybe-dvi-recode: dvi-recode
25032 dvi-recode: \
25033 configure-recode
25034 @: $(MAKE); $(unstage)
25035 @[ -f ./recode/Makefile ] || exit 0; \
25036 r=`${PWD_COMMAND}`; export r; \
25037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25038 $(HOST_EXPORTS) \
25039 for flag in $(EXTRA_HOST_FLAGS) ; do \
25040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25041 done; \
25042 echo "Doing dvi in recode" ; \
25043 (cd $(HOST_SUBDIR)/recode && \
25044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25046 "RANLIB=$${RANLIB}" \
25047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25048 dvi) \
25049 || exit 1
25051 @endif recode
25053 .PHONY: maybe-pdf-recode pdf-recode
25054 maybe-pdf-recode:
25055 @if recode
25056 maybe-pdf-recode: pdf-recode
25058 pdf-recode: \
25059 configure-recode
25060 @: $(MAKE); $(unstage)
25061 @[ -f ./recode/Makefile ] || exit 0; \
25062 r=`${PWD_COMMAND}`; export r; \
25063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25064 $(HOST_EXPORTS) \
25065 for flag in $(EXTRA_HOST_FLAGS) ; do \
25066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25067 done; \
25068 echo "Doing pdf in recode" ; \
25069 (cd $(HOST_SUBDIR)/recode && \
25070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25072 "RANLIB=$${RANLIB}" \
25073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25074 pdf) \
25075 || exit 1
25077 @endif recode
25079 .PHONY: maybe-html-recode html-recode
25080 maybe-html-recode:
25081 @if recode
25082 maybe-html-recode: html-recode
25084 html-recode: \
25085 configure-recode
25086 @: $(MAKE); $(unstage)
25087 @[ -f ./recode/Makefile ] || exit 0; \
25088 r=`${PWD_COMMAND}`; export r; \
25089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25090 $(HOST_EXPORTS) \
25091 for flag in $(EXTRA_HOST_FLAGS) ; do \
25092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25093 done; \
25094 echo "Doing html in recode" ; \
25095 (cd $(HOST_SUBDIR)/recode && \
25096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25098 "RANLIB=$${RANLIB}" \
25099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25100 html) \
25101 || exit 1
25103 @endif recode
25105 .PHONY: maybe-TAGS-recode TAGS-recode
25106 maybe-TAGS-recode:
25107 @if recode
25108 maybe-TAGS-recode: TAGS-recode
25110 TAGS-recode: \
25111 configure-recode
25112 @: $(MAKE); $(unstage)
25113 @[ -f ./recode/Makefile ] || exit 0; \
25114 r=`${PWD_COMMAND}`; export r; \
25115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25116 $(HOST_EXPORTS) \
25117 for flag in $(EXTRA_HOST_FLAGS) ; do \
25118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25119 done; \
25120 echo "Doing TAGS in recode" ; \
25121 (cd $(HOST_SUBDIR)/recode && \
25122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25124 "RANLIB=$${RANLIB}" \
25125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25126 TAGS) \
25127 || exit 1
25129 @endif recode
25131 .PHONY: maybe-install-info-recode install-info-recode
25132 maybe-install-info-recode:
25133 @if recode
25134 maybe-install-info-recode: install-info-recode
25136 install-info-recode: \
25137 configure-recode \
25138 info-recode
25139 @: $(MAKE); $(unstage)
25140 @[ -f ./recode/Makefile ] || exit 0; \
25141 r=`${PWD_COMMAND}`; export r; \
25142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25143 $(HOST_EXPORTS) \
25144 for flag in $(EXTRA_HOST_FLAGS) ; do \
25145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25146 done; \
25147 echo "Doing install-info in recode" ; \
25148 (cd $(HOST_SUBDIR)/recode && \
25149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25151 "RANLIB=$${RANLIB}" \
25152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25153 install-info) \
25154 || exit 1
25156 @endif recode
25158 .PHONY: maybe-install-html-recode install-html-recode
25159 maybe-install-html-recode:
25160 @if recode
25161 maybe-install-html-recode: install-html-recode
25163 install-html-recode: \
25164 configure-recode \
25165 html-recode
25166 @: $(MAKE); $(unstage)
25167 @[ -f ./recode/Makefile ] || exit 0; \
25168 r=`${PWD_COMMAND}`; export r; \
25169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25170 $(HOST_EXPORTS) \
25171 for flag in $(EXTRA_HOST_FLAGS) ; do \
25172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25173 done; \
25174 echo "Doing install-html in recode" ; \
25175 (cd $(HOST_SUBDIR)/recode && \
25176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25178 "RANLIB=$${RANLIB}" \
25179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25180 install-html) \
25181 || exit 1
25183 @endif recode
25185 .PHONY: maybe-installcheck-recode installcheck-recode
25186 maybe-installcheck-recode:
25187 @if recode
25188 maybe-installcheck-recode: installcheck-recode
25190 installcheck-recode: \
25191 configure-recode
25192 @: $(MAKE); $(unstage)
25193 @[ -f ./recode/Makefile ] || exit 0; \
25194 r=`${PWD_COMMAND}`; export r; \
25195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25196 $(HOST_EXPORTS) \
25197 for flag in $(EXTRA_HOST_FLAGS) ; do \
25198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25199 done; \
25200 echo "Doing installcheck in recode" ; \
25201 (cd $(HOST_SUBDIR)/recode && \
25202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25204 "RANLIB=$${RANLIB}" \
25205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25206 installcheck) \
25207 || exit 1
25209 @endif recode
25211 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25212 maybe-mostlyclean-recode:
25213 @if recode
25214 maybe-mostlyclean-recode: mostlyclean-recode
25216 mostlyclean-recode:
25217 @: $(MAKE); $(unstage)
25218 @[ -f ./recode/Makefile ] || exit 0; \
25219 r=`${PWD_COMMAND}`; export r; \
25220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25221 $(HOST_EXPORTS) \
25222 for flag in $(EXTRA_HOST_FLAGS) ; do \
25223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25224 done; \
25225 echo "Doing mostlyclean in recode" ; \
25226 (cd $(HOST_SUBDIR)/recode && \
25227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25229 "RANLIB=$${RANLIB}" \
25230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25231 mostlyclean) \
25232 || exit 1
25234 @endif recode
25236 .PHONY: maybe-clean-recode clean-recode
25237 maybe-clean-recode:
25238 @if recode
25239 maybe-clean-recode: clean-recode
25241 clean-recode:
25242 @: $(MAKE); $(unstage)
25243 @[ -f ./recode/Makefile ] || exit 0; \
25244 r=`${PWD_COMMAND}`; export r; \
25245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25246 $(HOST_EXPORTS) \
25247 for flag in $(EXTRA_HOST_FLAGS) ; do \
25248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25249 done; \
25250 echo "Doing clean in recode" ; \
25251 (cd $(HOST_SUBDIR)/recode && \
25252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25254 "RANLIB=$${RANLIB}" \
25255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25256 clean) \
25257 || exit 1
25259 @endif recode
25261 .PHONY: maybe-distclean-recode distclean-recode
25262 maybe-distclean-recode:
25263 @if recode
25264 maybe-distclean-recode: distclean-recode
25266 distclean-recode:
25267 @: $(MAKE); $(unstage)
25268 @[ -f ./recode/Makefile ] || exit 0; \
25269 r=`${PWD_COMMAND}`; export r; \
25270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25271 $(HOST_EXPORTS) \
25272 for flag in $(EXTRA_HOST_FLAGS) ; do \
25273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25274 done; \
25275 echo "Doing distclean in recode" ; \
25276 (cd $(HOST_SUBDIR)/recode && \
25277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25279 "RANLIB=$${RANLIB}" \
25280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25281 distclean) \
25282 || exit 1
25284 @endif recode
25286 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25287 maybe-maintainer-clean-recode:
25288 @if recode
25289 maybe-maintainer-clean-recode: maintainer-clean-recode
25291 maintainer-clean-recode:
25292 @: $(MAKE); $(unstage)
25293 @[ -f ./recode/Makefile ] || exit 0; \
25294 r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296 $(HOST_EXPORTS) \
25297 for flag in $(EXTRA_HOST_FLAGS) ; do \
25298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25299 done; \
25300 echo "Doing maintainer-clean in recode" ; \
25301 (cd $(HOST_SUBDIR)/recode && \
25302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25304 "RANLIB=$${RANLIB}" \
25305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25306 maintainer-clean) \
25307 || exit 1
25309 @endif recode
25313 .PHONY: configure-sed maybe-configure-sed
25314 maybe-configure-sed:
25315 @if gcc-bootstrap
25316 configure-sed: stage_current
25317 @endif gcc-bootstrap
25318 @if sed
25319 maybe-configure-sed: configure-sed
25320 configure-sed:
25321 @: $(MAKE); $(unstage)
25322 @r=`${PWD_COMMAND}`; export r; \
25323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25324 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25326 $(HOST_EXPORTS) \
25327 echo Configuring in $(HOST_SUBDIR)/sed; \
25328 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25329 case $(srcdir) in \
25330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25331 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25333 esac; \
25334 srcdiroption="--srcdir=$${topdir}/sed"; \
25335 libsrcdir="$$s/sed"; \
25336 $(SHELL) $${libsrcdir}/configure \
25337 $(HOST_CONFIGARGS) $${srcdiroption} \
25338 || exit 1
25339 @endif sed
25345 .PHONY: all-sed maybe-all-sed
25346 maybe-all-sed:
25347 @if gcc-bootstrap
25348 all-sed: stage_current
25349 @endif gcc-bootstrap
25350 @if sed
25351 TARGET-sed=all
25352 maybe-all-sed: all-sed
25353 all-sed: configure-sed
25354 @: $(MAKE); $(unstage)
25355 @r=`${PWD_COMMAND}`; export r; \
25356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25357 $(HOST_EXPORTS) \
25358 (cd $(HOST_SUBDIR)/sed && \
25359 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25360 @endif sed
25365 .PHONY: check-sed maybe-check-sed
25366 maybe-check-sed:
25367 @if sed
25368 maybe-check-sed: check-sed
25370 check-sed:
25371 @: $(MAKE); $(unstage)
25372 @r=`${PWD_COMMAND}`; export r; \
25373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25374 $(HOST_EXPORTS) \
25375 (cd $(HOST_SUBDIR)/sed && \
25376 $(MAKE) $(FLAGS_TO_PASS) check)
25378 @endif sed
25380 .PHONY: install-sed maybe-install-sed
25381 maybe-install-sed:
25382 @if sed
25383 maybe-install-sed: install-sed
25385 install-sed: installdirs
25386 @: $(MAKE); $(unstage)
25387 @r=`${PWD_COMMAND}`; export r; \
25388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25389 $(HOST_EXPORTS) \
25390 (cd $(HOST_SUBDIR)/sed && \
25391 $(MAKE) $(FLAGS_TO_PASS) install)
25393 @endif sed
25395 # Other targets (info, dvi, pdf, etc.)
25397 .PHONY: maybe-info-sed info-sed
25398 maybe-info-sed:
25399 @if sed
25400 maybe-info-sed: info-sed
25402 info-sed: \
25403 configure-sed
25404 @: $(MAKE); $(unstage)
25405 @[ -f ./sed/Makefile ] || exit 0; \
25406 r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25408 $(HOST_EXPORTS) \
25409 for flag in $(EXTRA_HOST_FLAGS) ; do \
25410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25411 done; \
25412 echo "Doing info in sed" ; \
25413 (cd $(HOST_SUBDIR)/sed && \
25414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25416 "RANLIB=$${RANLIB}" \
25417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25418 info) \
25419 || exit 1
25421 @endif sed
25423 .PHONY: maybe-dvi-sed dvi-sed
25424 maybe-dvi-sed:
25425 @if sed
25426 maybe-dvi-sed: dvi-sed
25428 dvi-sed: \
25429 configure-sed
25430 @: $(MAKE); $(unstage)
25431 @[ -f ./sed/Makefile ] || exit 0; \
25432 r=`${PWD_COMMAND}`; export r; \
25433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25434 $(HOST_EXPORTS) \
25435 for flag in $(EXTRA_HOST_FLAGS) ; do \
25436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25437 done; \
25438 echo "Doing dvi in sed" ; \
25439 (cd $(HOST_SUBDIR)/sed && \
25440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25442 "RANLIB=$${RANLIB}" \
25443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25444 dvi) \
25445 || exit 1
25447 @endif sed
25449 .PHONY: maybe-pdf-sed pdf-sed
25450 maybe-pdf-sed:
25451 @if sed
25452 maybe-pdf-sed: pdf-sed
25454 pdf-sed: \
25455 configure-sed
25456 @: $(MAKE); $(unstage)
25457 @[ -f ./sed/Makefile ] || exit 0; \
25458 r=`${PWD_COMMAND}`; export r; \
25459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 $(HOST_EXPORTS) \
25461 for flag in $(EXTRA_HOST_FLAGS) ; do \
25462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25463 done; \
25464 echo "Doing pdf in sed" ; \
25465 (cd $(HOST_SUBDIR)/sed && \
25466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25468 "RANLIB=$${RANLIB}" \
25469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25470 pdf) \
25471 || exit 1
25473 @endif sed
25475 .PHONY: maybe-html-sed html-sed
25476 maybe-html-sed:
25477 @if sed
25478 maybe-html-sed: html-sed
25480 html-sed: \
25481 configure-sed
25482 @: $(MAKE); $(unstage)
25483 @[ -f ./sed/Makefile ] || exit 0; \
25484 r=`${PWD_COMMAND}`; export r; \
25485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25486 $(HOST_EXPORTS) \
25487 for flag in $(EXTRA_HOST_FLAGS) ; do \
25488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25489 done; \
25490 echo "Doing html in sed" ; \
25491 (cd $(HOST_SUBDIR)/sed && \
25492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25494 "RANLIB=$${RANLIB}" \
25495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25496 html) \
25497 || exit 1
25499 @endif sed
25501 .PHONY: maybe-TAGS-sed TAGS-sed
25502 maybe-TAGS-sed:
25503 @if sed
25504 maybe-TAGS-sed: TAGS-sed
25506 TAGS-sed: \
25507 configure-sed
25508 @: $(MAKE); $(unstage)
25509 @[ -f ./sed/Makefile ] || exit 0; \
25510 r=`${PWD_COMMAND}`; export r; \
25511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25512 $(HOST_EXPORTS) \
25513 for flag in $(EXTRA_HOST_FLAGS) ; do \
25514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25515 done; \
25516 echo "Doing TAGS in sed" ; \
25517 (cd $(HOST_SUBDIR)/sed && \
25518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25520 "RANLIB=$${RANLIB}" \
25521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25522 TAGS) \
25523 || exit 1
25525 @endif sed
25527 .PHONY: maybe-install-info-sed install-info-sed
25528 maybe-install-info-sed:
25529 @if sed
25530 maybe-install-info-sed: install-info-sed
25532 install-info-sed: \
25533 configure-sed \
25534 info-sed
25535 @: $(MAKE); $(unstage)
25536 @[ -f ./sed/Makefile ] || exit 0; \
25537 r=`${PWD_COMMAND}`; export r; \
25538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25539 $(HOST_EXPORTS) \
25540 for flag in $(EXTRA_HOST_FLAGS) ; do \
25541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25542 done; \
25543 echo "Doing install-info in sed" ; \
25544 (cd $(HOST_SUBDIR)/sed && \
25545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25547 "RANLIB=$${RANLIB}" \
25548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25549 install-info) \
25550 || exit 1
25552 @endif sed
25554 .PHONY: maybe-install-html-sed install-html-sed
25555 maybe-install-html-sed:
25556 @if sed
25557 maybe-install-html-sed: install-html-sed
25559 install-html-sed: \
25560 configure-sed \
25561 html-sed
25562 @: $(MAKE); $(unstage)
25563 @[ -f ./sed/Makefile ] || exit 0; \
25564 r=`${PWD_COMMAND}`; export r; \
25565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25566 $(HOST_EXPORTS) \
25567 for flag in $(EXTRA_HOST_FLAGS) ; do \
25568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25569 done; \
25570 echo "Doing install-html in sed" ; \
25571 (cd $(HOST_SUBDIR)/sed && \
25572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25574 "RANLIB=$${RANLIB}" \
25575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25576 install-html) \
25577 || exit 1
25579 @endif sed
25581 .PHONY: maybe-installcheck-sed installcheck-sed
25582 maybe-installcheck-sed:
25583 @if sed
25584 maybe-installcheck-sed: installcheck-sed
25586 installcheck-sed: \
25587 configure-sed
25588 @: $(MAKE); $(unstage)
25589 @[ -f ./sed/Makefile ] || exit 0; \
25590 r=`${PWD_COMMAND}`; export r; \
25591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592 $(HOST_EXPORTS) \
25593 for flag in $(EXTRA_HOST_FLAGS) ; do \
25594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25595 done; \
25596 echo "Doing installcheck in sed" ; \
25597 (cd $(HOST_SUBDIR)/sed && \
25598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25600 "RANLIB=$${RANLIB}" \
25601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25602 installcheck) \
25603 || exit 1
25605 @endif sed
25607 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25608 maybe-mostlyclean-sed:
25609 @if sed
25610 maybe-mostlyclean-sed: mostlyclean-sed
25612 mostlyclean-sed:
25613 @: $(MAKE); $(unstage)
25614 @[ -f ./sed/Makefile ] || exit 0; \
25615 r=`${PWD_COMMAND}`; export r; \
25616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25617 $(HOST_EXPORTS) \
25618 for flag in $(EXTRA_HOST_FLAGS) ; do \
25619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25620 done; \
25621 echo "Doing mostlyclean in sed" ; \
25622 (cd $(HOST_SUBDIR)/sed && \
25623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25625 "RANLIB=$${RANLIB}" \
25626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25627 mostlyclean) \
25628 || exit 1
25630 @endif sed
25632 .PHONY: maybe-clean-sed clean-sed
25633 maybe-clean-sed:
25634 @if sed
25635 maybe-clean-sed: clean-sed
25637 clean-sed:
25638 @: $(MAKE); $(unstage)
25639 @[ -f ./sed/Makefile ] || exit 0; \
25640 r=`${PWD_COMMAND}`; export r; \
25641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25642 $(HOST_EXPORTS) \
25643 for flag in $(EXTRA_HOST_FLAGS) ; do \
25644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25645 done; \
25646 echo "Doing clean in sed" ; \
25647 (cd $(HOST_SUBDIR)/sed && \
25648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25650 "RANLIB=$${RANLIB}" \
25651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25652 clean) \
25653 || exit 1
25655 @endif sed
25657 .PHONY: maybe-distclean-sed distclean-sed
25658 maybe-distclean-sed:
25659 @if sed
25660 maybe-distclean-sed: distclean-sed
25662 distclean-sed:
25663 @: $(MAKE); $(unstage)
25664 @[ -f ./sed/Makefile ] || exit 0; \
25665 r=`${PWD_COMMAND}`; export r; \
25666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25667 $(HOST_EXPORTS) \
25668 for flag in $(EXTRA_HOST_FLAGS) ; do \
25669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25670 done; \
25671 echo "Doing distclean in sed" ; \
25672 (cd $(HOST_SUBDIR)/sed && \
25673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25675 "RANLIB=$${RANLIB}" \
25676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25677 distclean) \
25678 || exit 1
25680 @endif sed
25682 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25683 maybe-maintainer-clean-sed:
25684 @if sed
25685 maybe-maintainer-clean-sed: maintainer-clean-sed
25687 maintainer-clean-sed:
25688 @: $(MAKE); $(unstage)
25689 @[ -f ./sed/Makefile ] || exit 0; \
25690 r=`${PWD_COMMAND}`; export r; \
25691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25692 $(HOST_EXPORTS) \
25693 for flag in $(EXTRA_HOST_FLAGS) ; do \
25694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25695 done; \
25696 echo "Doing maintainer-clean in sed" ; \
25697 (cd $(HOST_SUBDIR)/sed && \
25698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25700 "RANLIB=$${RANLIB}" \
25701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25702 maintainer-clean) \
25703 || exit 1
25705 @endif sed
25709 .PHONY: configure-send-pr maybe-configure-send-pr
25710 maybe-configure-send-pr:
25711 @if gcc-bootstrap
25712 configure-send-pr: stage_current
25713 @endif gcc-bootstrap
25714 @if send-pr
25715 maybe-configure-send-pr: configure-send-pr
25716 configure-send-pr:
25717 @: $(MAKE); $(unstage)
25718 @r=`${PWD_COMMAND}`; export r; \
25719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25720 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25722 $(HOST_EXPORTS) \
25723 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25724 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25725 case $(srcdir) in \
25726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25727 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25729 esac; \
25730 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25731 libsrcdir="$$s/send-pr"; \
25732 $(SHELL) $${libsrcdir}/configure \
25733 $(HOST_CONFIGARGS) $${srcdiroption} \
25734 || exit 1
25735 @endif send-pr
25741 .PHONY: all-send-pr maybe-all-send-pr
25742 maybe-all-send-pr:
25743 @if gcc-bootstrap
25744 all-send-pr: stage_current
25745 @endif gcc-bootstrap
25746 @if send-pr
25747 TARGET-send-pr=all
25748 maybe-all-send-pr: all-send-pr
25749 all-send-pr: configure-send-pr
25750 @: $(MAKE); $(unstage)
25751 @r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753 $(HOST_EXPORTS) \
25754 (cd $(HOST_SUBDIR)/send-pr && \
25755 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25756 @endif send-pr
25761 .PHONY: check-send-pr maybe-check-send-pr
25762 maybe-check-send-pr:
25763 @if send-pr
25764 maybe-check-send-pr: check-send-pr
25766 check-send-pr:
25767 @: $(MAKE); $(unstage)
25768 @r=`${PWD_COMMAND}`; export r; \
25769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25770 $(HOST_EXPORTS) \
25771 (cd $(HOST_SUBDIR)/send-pr && \
25772 $(MAKE) $(FLAGS_TO_PASS) check)
25774 @endif send-pr
25776 .PHONY: install-send-pr maybe-install-send-pr
25777 maybe-install-send-pr:
25778 @if send-pr
25779 maybe-install-send-pr: install-send-pr
25781 install-send-pr: installdirs
25782 @: $(MAKE); $(unstage)
25783 @r=`${PWD_COMMAND}`; export r; \
25784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25785 $(HOST_EXPORTS) \
25786 (cd $(HOST_SUBDIR)/send-pr && \
25787 $(MAKE) $(FLAGS_TO_PASS) install)
25789 @endif send-pr
25791 # Other targets (info, dvi, pdf, etc.)
25793 .PHONY: maybe-info-send-pr info-send-pr
25794 maybe-info-send-pr:
25795 @if send-pr
25796 maybe-info-send-pr: info-send-pr
25798 info-send-pr: \
25799 configure-send-pr
25800 @: $(MAKE); $(unstage)
25801 @[ -f ./send-pr/Makefile ] || exit 0; \
25802 r=`${PWD_COMMAND}`; export r; \
25803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25804 $(HOST_EXPORTS) \
25805 for flag in $(EXTRA_HOST_FLAGS) ; do \
25806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25807 done; \
25808 echo "Doing info in send-pr" ; \
25809 (cd $(HOST_SUBDIR)/send-pr && \
25810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25812 "RANLIB=$${RANLIB}" \
25813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25814 info) \
25815 || exit 1
25817 @endif send-pr
25819 .PHONY: maybe-dvi-send-pr dvi-send-pr
25820 maybe-dvi-send-pr:
25821 @if send-pr
25822 maybe-dvi-send-pr: dvi-send-pr
25824 dvi-send-pr: \
25825 configure-send-pr
25826 @: $(MAKE); $(unstage)
25827 @[ -f ./send-pr/Makefile ] || exit 0; \
25828 r=`${PWD_COMMAND}`; export r; \
25829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25830 $(HOST_EXPORTS) \
25831 for flag in $(EXTRA_HOST_FLAGS) ; do \
25832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25833 done; \
25834 echo "Doing dvi in send-pr" ; \
25835 (cd $(HOST_SUBDIR)/send-pr && \
25836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25838 "RANLIB=$${RANLIB}" \
25839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25840 dvi) \
25841 || exit 1
25843 @endif send-pr
25845 .PHONY: maybe-pdf-send-pr pdf-send-pr
25846 maybe-pdf-send-pr:
25847 @if send-pr
25848 maybe-pdf-send-pr: pdf-send-pr
25850 pdf-send-pr: \
25851 configure-send-pr
25852 @: $(MAKE); $(unstage)
25853 @[ -f ./send-pr/Makefile ] || exit 0; \
25854 r=`${PWD_COMMAND}`; export r; \
25855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25856 $(HOST_EXPORTS) \
25857 for flag in $(EXTRA_HOST_FLAGS) ; do \
25858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25859 done; \
25860 echo "Doing pdf in send-pr" ; \
25861 (cd $(HOST_SUBDIR)/send-pr && \
25862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25864 "RANLIB=$${RANLIB}" \
25865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25866 pdf) \
25867 || exit 1
25869 @endif send-pr
25871 .PHONY: maybe-html-send-pr html-send-pr
25872 maybe-html-send-pr:
25873 @if send-pr
25874 maybe-html-send-pr: html-send-pr
25876 html-send-pr: \
25877 configure-send-pr
25878 @: $(MAKE); $(unstage)
25879 @[ -f ./send-pr/Makefile ] || exit 0; \
25880 r=`${PWD_COMMAND}`; export r; \
25881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25882 $(HOST_EXPORTS) \
25883 for flag in $(EXTRA_HOST_FLAGS) ; do \
25884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25885 done; \
25886 echo "Doing html in send-pr" ; \
25887 (cd $(HOST_SUBDIR)/send-pr && \
25888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25890 "RANLIB=$${RANLIB}" \
25891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25892 html) \
25893 || exit 1
25895 @endif send-pr
25897 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25898 maybe-TAGS-send-pr:
25899 @if send-pr
25900 maybe-TAGS-send-pr: TAGS-send-pr
25902 TAGS-send-pr: \
25903 configure-send-pr
25904 @: $(MAKE); $(unstage)
25905 @[ -f ./send-pr/Makefile ] || exit 0; \
25906 r=`${PWD_COMMAND}`; export r; \
25907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25908 $(HOST_EXPORTS) \
25909 for flag in $(EXTRA_HOST_FLAGS) ; do \
25910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25911 done; \
25912 echo "Doing TAGS in send-pr" ; \
25913 (cd $(HOST_SUBDIR)/send-pr && \
25914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25916 "RANLIB=$${RANLIB}" \
25917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25918 TAGS) \
25919 || exit 1
25921 @endif send-pr
25923 .PHONY: maybe-install-info-send-pr install-info-send-pr
25924 maybe-install-info-send-pr:
25925 @if send-pr
25926 maybe-install-info-send-pr: install-info-send-pr
25928 install-info-send-pr: \
25929 configure-send-pr \
25930 info-send-pr
25931 @: $(MAKE); $(unstage)
25932 @[ -f ./send-pr/Makefile ] || exit 0; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(HOST_EXPORTS) \
25936 for flag in $(EXTRA_HOST_FLAGS) ; do \
25937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25938 done; \
25939 echo "Doing install-info in send-pr" ; \
25940 (cd $(HOST_SUBDIR)/send-pr && \
25941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25943 "RANLIB=$${RANLIB}" \
25944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25945 install-info) \
25946 || exit 1
25948 @endif send-pr
25950 .PHONY: maybe-install-html-send-pr install-html-send-pr
25951 maybe-install-html-send-pr:
25952 @if send-pr
25953 maybe-install-html-send-pr: install-html-send-pr
25955 install-html-send-pr: \
25956 configure-send-pr \
25957 html-send-pr
25958 @: $(MAKE); $(unstage)
25959 @[ -f ./send-pr/Makefile ] || exit 0; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25962 $(HOST_EXPORTS) \
25963 for flag in $(EXTRA_HOST_FLAGS) ; do \
25964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25965 done; \
25966 echo "Doing install-html in send-pr" ; \
25967 (cd $(HOST_SUBDIR)/send-pr && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25970 "RANLIB=$${RANLIB}" \
25971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25972 install-html) \
25973 || exit 1
25975 @endif send-pr
25977 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
25978 maybe-installcheck-send-pr:
25979 @if send-pr
25980 maybe-installcheck-send-pr: installcheck-send-pr
25982 installcheck-send-pr: \
25983 configure-send-pr
25984 @: $(MAKE); $(unstage)
25985 @[ -f ./send-pr/Makefile ] || exit 0; \
25986 r=`${PWD_COMMAND}`; export r; \
25987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25988 $(HOST_EXPORTS) \
25989 for flag in $(EXTRA_HOST_FLAGS) ; do \
25990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25991 done; \
25992 echo "Doing installcheck in send-pr" ; \
25993 (cd $(HOST_SUBDIR)/send-pr && \
25994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25996 "RANLIB=$${RANLIB}" \
25997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25998 installcheck) \
25999 || exit 1
26001 @endif send-pr
26003 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
26004 maybe-mostlyclean-send-pr:
26005 @if send-pr
26006 maybe-mostlyclean-send-pr: mostlyclean-send-pr
26008 mostlyclean-send-pr:
26009 @: $(MAKE); $(unstage)
26010 @[ -f ./send-pr/Makefile ] || exit 0; \
26011 r=`${PWD_COMMAND}`; export r; \
26012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26013 $(HOST_EXPORTS) \
26014 for flag in $(EXTRA_HOST_FLAGS) ; do \
26015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26016 done; \
26017 echo "Doing mostlyclean in send-pr" ; \
26018 (cd $(HOST_SUBDIR)/send-pr && \
26019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26021 "RANLIB=$${RANLIB}" \
26022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26023 mostlyclean) \
26024 || exit 1
26026 @endif send-pr
26028 .PHONY: maybe-clean-send-pr clean-send-pr
26029 maybe-clean-send-pr:
26030 @if send-pr
26031 maybe-clean-send-pr: clean-send-pr
26033 clean-send-pr:
26034 @: $(MAKE); $(unstage)
26035 @[ -f ./send-pr/Makefile ] || exit 0; \
26036 r=`${PWD_COMMAND}`; export r; \
26037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26038 $(HOST_EXPORTS) \
26039 for flag in $(EXTRA_HOST_FLAGS) ; do \
26040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26041 done; \
26042 echo "Doing clean in send-pr" ; \
26043 (cd $(HOST_SUBDIR)/send-pr && \
26044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046 "RANLIB=$${RANLIB}" \
26047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26048 clean) \
26049 || exit 1
26051 @endif send-pr
26053 .PHONY: maybe-distclean-send-pr distclean-send-pr
26054 maybe-distclean-send-pr:
26055 @if send-pr
26056 maybe-distclean-send-pr: distclean-send-pr
26058 distclean-send-pr:
26059 @: $(MAKE); $(unstage)
26060 @[ -f ./send-pr/Makefile ] || exit 0; \
26061 r=`${PWD_COMMAND}`; export r; \
26062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26063 $(HOST_EXPORTS) \
26064 for flag in $(EXTRA_HOST_FLAGS) ; do \
26065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26066 done; \
26067 echo "Doing distclean in send-pr" ; \
26068 (cd $(HOST_SUBDIR)/send-pr && \
26069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26071 "RANLIB=$${RANLIB}" \
26072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26073 distclean) \
26074 || exit 1
26076 @endif send-pr
26078 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
26079 maybe-maintainer-clean-send-pr:
26080 @if send-pr
26081 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
26083 maintainer-clean-send-pr:
26084 @: $(MAKE); $(unstage)
26085 @[ -f ./send-pr/Makefile ] || exit 0; \
26086 r=`${PWD_COMMAND}`; export r; \
26087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088 $(HOST_EXPORTS) \
26089 for flag in $(EXTRA_HOST_FLAGS) ; do \
26090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26091 done; \
26092 echo "Doing maintainer-clean in send-pr" ; \
26093 (cd $(HOST_SUBDIR)/send-pr && \
26094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26096 "RANLIB=$${RANLIB}" \
26097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26098 maintainer-clean) \
26099 || exit 1
26101 @endif send-pr
26105 .PHONY: configure-shellutils maybe-configure-shellutils
26106 maybe-configure-shellutils:
26107 @if gcc-bootstrap
26108 configure-shellutils: stage_current
26109 @endif gcc-bootstrap
26110 @if shellutils
26111 maybe-configure-shellutils: configure-shellutils
26112 configure-shellutils:
26113 @: $(MAKE); $(unstage)
26114 @r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
26117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
26118 $(HOST_EXPORTS) \
26119 echo Configuring in $(HOST_SUBDIR)/shellutils; \
26120 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
26121 case $(srcdir) in \
26122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26123 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
26124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26125 esac; \
26126 srcdiroption="--srcdir=$${topdir}/shellutils"; \
26127 libsrcdir="$$s/shellutils"; \
26128 $(SHELL) $${libsrcdir}/configure \
26129 $(HOST_CONFIGARGS) $${srcdiroption} \
26130 || exit 1
26131 @endif shellutils
26137 .PHONY: all-shellutils maybe-all-shellutils
26138 maybe-all-shellutils:
26139 @if gcc-bootstrap
26140 all-shellutils: stage_current
26141 @endif gcc-bootstrap
26142 @if shellutils
26143 TARGET-shellutils=all
26144 maybe-all-shellutils: all-shellutils
26145 all-shellutils: configure-shellutils
26146 @: $(MAKE); $(unstage)
26147 @r=`${PWD_COMMAND}`; export r; \
26148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26149 $(HOST_EXPORTS) \
26150 (cd $(HOST_SUBDIR)/shellutils && \
26151 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
26152 @endif shellutils
26157 .PHONY: check-shellutils maybe-check-shellutils
26158 maybe-check-shellutils:
26159 @if shellutils
26160 maybe-check-shellutils: check-shellutils
26162 check-shellutils:
26163 @: $(MAKE); $(unstage)
26164 @r=`${PWD_COMMAND}`; export r; \
26165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26166 $(HOST_EXPORTS) \
26167 (cd $(HOST_SUBDIR)/shellutils && \
26168 $(MAKE) $(FLAGS_TO_PASS) check)
26170 @endif shellutils
26172 .PHONY: install-shellutils maybe-install-shellutils
26173 maybe-install-shellutils:
26174 @if shellutils
26175 maybe-install-shellutils: install-shellutils
26177 install-shellutils: installdirs
26178 @: $(MAKE); $(unstage)
26179 @r=`${PWD_COMMAND}`; export r; \
26180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26181 $(HOST_EXPORTS) \
26182 (cd $(HOST_SUBDIR)/shellutils && \
26183 $(MAKE) $(FLAGS_TO_PASS) install)
26185 @endif shellutils
26187 # Other targets (info, dvi, pdf, etc.)
26189 .PHONY: maybe-info-shellutils info-shellutils
26190 maybe-info-shellutils:
26191 @if shellutils
26192 maybe-info-shellutils: info-shellutils
26194 info-shellutils: \
26195 configure-shellutils
26196 @: $(MAKE); $(unstage)
26197 @[ -f ./shellutils/Makefile ] || exit 0; \
26198 r=`${PWD_COMMAND}`; export r; \
26199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26200 $(HOST_EXPORTS) \
26201 for flag in $(EXTRA_HOST_FLAGS) ; do \
26202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26203 done; \
26204 echo "Doing info in shellutils" ; \
26205 (cd $(HOST_SUBDIR)/shellutils && \
26206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26208 "RANLIB=$${RANLIB}" \
26209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26210 info) \
26211 || exit 1
26213 @endif shellutils
26215 .PHONY: maybe-dvi-shellutils dvi-shellutils
26216 maybe-dvi-shellutils:
26217 @if shellutils
26218 maybe-dvi-shellutils: dvi-shellutils
26220 dvi-shellutils: \
26221 configure-shellutils
26222 @: $(MAKE); $(unstage)
26223 @[ -f ./shellutils/Makefile ] || exit 0; \
26224 r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(HOST_EXPORTS) \
26227 for flag in $(EXTRA_HOST_FLAGS) ; do \
26228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26229 done; \
26230 echo "Doing dvi in shellutils" ; \
26231 (cd $(HOST_SUBDIR)/shellutils && \
26232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26234 "RANLIB=$${RANLIB}" \
26235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26236 dvi) \
26237 || exit 1
26239 @endif shellutils
26241 .PHONY: maybe-pdf-shellutils pdf-shellutils
26242 maybe-pdf-shellutils:
26243 @if shellutils
26244 maybe-pdf-shellutils: pdf-shellutils
26246 pdf-shellutils: \
26247 configure-shellutils
26248 @: $(MAKE); $(unstage)
26249 @[ -f ./shellutils/Makefile ] || exit 0; \
26250 r=`${PWD_COMMAND}`; export r; \
26251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26252 $(HOST_EXPORTS) \
26253 for flag in $(EXTRA_HOST_FLAGS) ; do \
26254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26255 done; \
26256 echo "Doing pdf in shellutils" ; \
26257 (cd $(HOST_SUBDIR)/shellutils && \
26258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26260 "RANLIB=$${RANLIB}" \
26261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26262 pdf) \
26263 || exit 1
26265 @endif shellutils
26267 .PHONY: maybe-html-shellutils html-shellutils
26268 maybe-html-shellutils:
26269 @if shellutils
26270 maybe-html-shellutils: html-shellutils
26272 html-shellutils: \
26273 configure-shellutils
26274 @: $(MAKE); $(unstage)
26275 @[ -f ./shellutils/Makefile ] || exit 0; \
26276 r=`${PWD_COMMAND}`; export r; \
26277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26278 $(HOST_EXPORTS) \
26279 for flag in $(EXTRA_HOST_FLAGS) ; do \
26280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26281 done; \
26282 echo "Doing html in shellutils" ; \
26283 (cd $(HOST_SUBDIR)/shellutils && \
26284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26286 "RANLIB=$${RANLIB}" \
26287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26288 html) \
26289 || exit 1
26291 @endif shellutils
26293 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26294 maybe-TAGS-shellutils:
26295 @if shellutils
26296 maybe-TAGS-shellutils: TAGS-shellutils
26298 TAGS-shellutils: \
26299 configure-shellutils
26300 @: $(MAKE); $(unstage)
26301 @[ -f ./shellutils/Makefile ] || exit 0; \
26302 r=`${PWD_COMMAND}`; export r; \
26303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26304 $(HOST_EXPORTS) \
26305 for flag in $(EXTRA_HOST_FLAGS) ; do \
26306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26307 done; \
26308 echo "Doing TAGS in shellutils" ; \
26309 (cd $(HOST_SUBDIR)/shellutils && \
26310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26312 "RANLIB=$${RANLIB}" \
26313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26314 TAGS) \
26315 || exit 1
26317 @endif shellutils
26319 .PHONY: maybe-install-info-shellutils install-info-shellutils
26320 maybe-install-info-shellutils:
26321 @if shellutils
26322 maybe-install-info-shellutils: install-info-shellutils
26324 install-info-shellutils: \
26325 configure-shellutils \
26326 info-shellutils
26327 @: $(MAKE); $(unstage)
26328 @[ -f ./shellutils/Makefile ] || exit 0; \
26329 r=`${PWD_COMMAND}`; export r; \
26330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26331 $(HOST_EXPORTS) \
26332 for flag in $(EXTRA_HOST_FLAGS) ; do \
26333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26334 done; \
26335 echo "Doing install-info in shellutils" ; \
26336 (cd $(HOST_SUBDIR)/shellutils && \
26337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26339 "RANLIB=$${RANLIB}" \
26340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26341 install-info) \
26342 || exit 1
26344 @endif shellutils
26346 .PHONY: maybe-install-html-shellutils install-html-shellutils
26347 maybe-install-html-shellutils:
26348 @if shellutils
26349 maybe-install-html-shellutils: install-html-shellutils
26351 install-html-shellutils: \
26352 configure-shellutils \
26353 html-shellutils
26354 @: $(MAKE); $(unstage)
26355 @[ -f ./shellutils/Makefile ] || exit 0; \
26356 r=`${PWD_COMMAND}`; export r; \
26357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(HOST_EXPORTS) \
26359 for flag in $(EXTRA_HOST_FLAGS) ; do \
26360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26361 done; \
26362 echo "Doing install-html in shellutils" ; \
26363 (cd $(HOST_SUBDIR)/shellutils && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26368 install-html) \
26369 || exit 1
26371 @endif shellutils
26373 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26374 maybe-installcheck-shellutils:
26375 @if shellutils
26376 maybe-installcheck-shellutils: installcheck-shellutils
26378 installcheck-shellutils: \
26379 configure-shellutils
26380 @: $(MAKE); $(unstage)
26381 @[ -f ./shellutils/Makefile ] || exit 0; \
26382 r=`${PWD_COMMAND}`; export r; \
26383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26384 $(HOST_EXPORTS) \
26385 for flag in $(EXTRA_HOST_FLAGS) ; do \
26386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26387 done; \
26388 echo "Doing installcheck in shellutils" ; \
26389 (cd $(HOST_SUBDIR)/shellutils && \
26390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26392 "RANLIB=$${RANLIB}" \
26393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26394 installcheck) \
26395 || exit 1
26397 @endif shellutils
26399 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26400 maybe-mostlyclean-shellutils:
26401 @if shellutils
26402 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26404 mostlyclean-shellutils:
26405 @: $(MAKE); $(unstage)
26406 @[ -f ./shellutils/Makefile ] || exit 0; \
26407 r=`${PWD_COMMAND}`; export r; \
26408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26409 $(HOST_EXPORTS) \
26410 for flag in $(EXTRA_HOST_FLAGS) ; do \
26411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26412 done; \
26413 echo "Doing mostlyclean in shellutils" ; \
26414 (cd $(HOST_SUBDIR)/shellutils && \
26415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26417 "RANLIB=$${RANLIB}" \
26418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26419 mostlyclean) \
26420 || exit 1
26422 @endif shellutils
26424 .PHONY: maybe-clean-shellutils clean-shellutils
26425 maybe-clean-shellutils:
26426 @if shellutils
26427 maybe-clean-shellutils: clean-shellutils
26429 clean-shellutils:
26430 @: $(MAKE); $(unstage)
26431 @[ -f ./shellutils/Makefile ] || exit 0; \
26432 r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 $(HOST_EXPORTS) \
26435 for flag in $(EXTRA_HOST_FLAGS) ; do \
26436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26437 done; \
26438 echo "Doing clean in shellutils" ; \
26439 (cd $(HOST_SUBDIR)/shellutils && \
26440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26442 "RANLIB=$${RANLIB}" \
26443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26444 clean) \
26445 || exit 1
26447 @endif shellutils
26449 .PHONY: maybe-distclean-shellutils distclean-shellutils
26450 maybe-distclean-shellutils:
26451 @if shellutils
26452 maybe-distclean-shellutils: distclean-shellutils
26454 distclean-shellutils:
26455 @: $(MAKE); $(unstage)
26456 @[ -f ./shellutils/Makefile ] || exit 0; \
26457 r=`${PWD_COMMAND}`; export r; \
26458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26459 $(HOST_EXPORTS) \
26460 for flag in $(EXTRA_HOST_FLAGS) ; do \
26461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26462 done; \
26463 echo "Doing distclean in shellutils" ; \
26464 (cd $(HOST_SUBDIR)/shellutils && \
26465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26467 "RANLIB=$${RANLIB}" \
26468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26469 distclean) \
26470 || exit 1
26472 @endif shellutils
26474 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26475 maybe-maintainer-clean-shellutils:
26476 @if shellutils
26477 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26479 maintainer-clean-shellutils:
26480 @: $(MAKE); $(unstage)
26481 @[ -f ./shellutils/Makefile ] || exit 0; \
26482 r=`${PWD_COMMAND}`; export r; \
26483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26484 $(HOST_EXPORTS) \
26485 for flag in $(EXTRA_HOST_FLAGS) ; do \
26486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26487 done; \
26488 echo "Doing maintainer-clean in shellutils" ; \
26489 (cd $(HOST_SUBDIR)/shellutils && \
26490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26492 "RANLIB=$${RANLIB}" \
26493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26494 maintainer-clean) \
26495 || exit 1
26497 @endif shellutils
26501 .PHONY: configure-sid maybe-configure-sid
26502 maybe-configure-sid:
26503 @if gcc-bootstrap
26504 configure-sid: stage_current
26505 @endif gcc-bootstrap
26506 @if sid
26507 maybe-configure-sid: configure-sid
26508 configure-sid:
26509 @: $(MAKE); $(unstage)
26510 @r=`${PWD_COMMAND}`; export r; \
26511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26512 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26514 $(HOST_EXPORTS) \
26515 echo Configuring in $(HOST_SUBDIR)/sid; \
26516 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26517 case $(srcdir) in \
26518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26519 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26521 esac; \
26522 srcdiroption="--srcdir=$${topdir}/sid"; \
26523 libsrcdir="$$s/sid"; \
26524 $(SHELL) $${libsrcdir}/configure \
26525 $(HOST_CONFIGARGS) $${srcdiroption} \
26526 || exit 1
26527 @endif sid
26533 .PHONY: all-sid maybe-all-sid
26534 maybe-all-sid:
26535 @if gcc-bootstrap
26536 all-sid: stage_current
26537 @endif gcc-bootstrap
26538 @if sid
26539 TARGET-sid=all
26540 maybe-all-sid: all-sid
26541 all-sid: configure-sid
26542 @: $(MAKE); $(unstage)
26543 @r=`${PWD_COMMAND}`; export r; \
26544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26545 $(HOST_EXPORTS) \
26546 (cd $(HOST_SUBDIR)/sid && \
26547 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26548 @endif sid
26553 .PHONY: check-sid maybe-check-sid
26554 maybe-check-sid:
26555 @if sid
26556 maybe-check-sid: check-sid
26558 check-sid:
26559 @: $(MAKE); $(unstage)
26560 @r=`${PWD_COMMAND}`; export r; \
26561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26562 $(HOST_EXPORTS) \
26563 (cd $(HOST_SUBDIR)/sid && \
26564 $(MAKE) $(FLAGS_TO_PASS) check)
26566 @endif sid
26568 .PHONY: install-sid maybe-install-sid
26569 maybe-install-sid:
26570 @if sid
26571 maybe-install-sid: install-sid
26573 install-sid: installdirs
26574 @: $(MAKE); $(unstage)
26575 @r=`${PWD_COMMAND}`; export r; \
26576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26577 $(HOST_EXPORTS) \
26578 (cd $(HOST_SUBDIR)/sid && \
26579 $(MAKE) $(FLAGS_TO_PASS) install)
26581 @endif sid
26583 # Other targets (info, dvi, pdf, etc.)
26585 .PHONY: maybe-info-sid info-sid
26586 maybe-info-sid:
26587 @if sid
26588 maybe-info-sid: info-sid
26590 info-sid: \
26591 configure-sid
26592 @: $(MAKE); $(unstage)
26593 @[ -f ./sid/Makefile ] || exit 0; \
26594 r=`${PWD_COMMAND}`; export r; \
26595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26596 $(HOST_EXPORTS) \
26597 for flag in $(EXTRA_HOST_FLAGS) ; do \
26598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26599 done; \
26600 echo "Doing info in sid" ; \
26601 (cd $(HOST_SUBDIR)/sid && \
26602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26604 "RANLIB=$${RANLIB}" \
26605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26606 info) \
26607 || exit 1
26609 @endif sid
26611 .PHONY: maybe-dvi-sid dvi-sid
26612 maybe-dvi-sid:
26613 @if sid
26614 maybe-dvi-sid: dvi-sid
26616 dvi-sid: \
26617 configure-sid
26618 @: $(MAKE); $(unstage)
26619 @[ -f ./sid/Makefile ] || exit 0; \
26620 r=`${PWD_COMMAND}`; export r; \
26621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26622 $(HOST_EXPORTS) \
26623 for flag in $(EXTRA_HOST_FLAGS) ; do \
26624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26625 done; \
26626 echo "Doing dvi in sid" ; \
26627 (cd $(HOST_SUBDIR)/sid && \
26628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26630 "RANLIB=$${RANLIB}" \
26631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26632 dvi) \
26633 || exit 1
26635 @endif sid
26637 .PHONY: maybe-pdf-sid pdf-sid
26638 maybe-pdf-sid:
26639 @if sid
26640 maybe-pdf-sid: pdf-sid
26642 pdf-sid: \
26643 configure-sid
26644 @: $(MAKE); $(unstage)
26645 @[ -f ./sid/Makefile ] || exit 0; \
26646 r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648 $(HOST_EXPORTS) \
26649 for flag in $(EXTRA_HOST_FLAGS) ; do \
26650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26651 done; \
26652 echo "Doing pdf in sid" ; \
26653 (cd $(HOST_SUBDIR)/sid && \
26654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26656 "RANLIB=$${RANLIB}" \
26657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26658 pdf) \
26659 || exit 1
26661 @endif sid
26663 .PHONY: maybe-html-sid html-sid
26664 maybe-html-sid:
26665 @if sid
26666 maybe-html-sid: html-sid
26668 html-sid: \
26669 configure-sid
26670 @: $(MAKE); $(unstage)
26671 @[ -f ./sid/Makefile ] || exit 0; \
26672 r=`${PWD_COMMAND}`; export r; \
26673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26674 $(HOST_EXPORTS) \
26675 for flag in $(EXTRA_HOST_FLAGS) ; do \
26676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26677 done; \
26678 echo "Doing html in sid" ; \
26679 (cd $(HOST_SUBDIR)/sid && \
26680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26682 "RANLIB=$${RANLIB}" \
26683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26684 html) \
26685 || exit 1
26687 @endif sid
26689 .PHONY: maybe-TAGS-sid TAGS-sid
26690 maybe-TAGS-sid:
26691 @if sid
26692 maybe-TAGS-sid: TAGS-sid
26694 TAGS-sid: \
26695 configure-sid
26696 @: $(MAKE); $(unstage)
26697 @[ -f ./sid/Makefile ] || exit 0; \
26698 r=`${PWD_COMMAND}`; export r; \
26699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26700 $(HOST_EXPORTS) \
26701 for flag in $(EXTRA_HOST_FLAGS) ; do \
26702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26703 done; \
26704 echo "Doing TAGS in sid" ; \
26705 (cd $(HOST_SUBDIR)/sid && \
26706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26708 "RANLIB=$${RANLIB}" \
26709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26710 TAGS) \
26711 || exit 1
26713 @endif sid
26715 .PHONY: maybe-install-info-sid install-info-sid
26716 maybe-install-info-sid:
26717 @if sid
26718 maybe-install-info-sid: install-info-sid
26720 install-info-sid: \
26721 configure-sid \
26722 info-sid
26723 @: $(MAKE); $(unstage)
26724 @[ -f ./sid/Makefile ] || exit 0; \
26725 r=`${PWD_COMMAND}`; export r; \
26726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26727 $(HOST_EXPORTS) \
26728 for flag in $(EXTRA_HOST_FLAGS) ; do \
26729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26730 done; \
26731 echo "Doing install-info in sid" ; \
26732 (cd $(HOST_SUBDIR)/sid && \
26733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26735 "RANLIB=$${RANLIB}" \
26736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26737 install-info) \
26738 || exit 1
26740 @endif sid
26742 .PHONY: maybe-install-html-sid install-html-sid
26743 maybe-install-html-sid:
26744 @if sid
26745 maybe-install-html-sid: install-html-sid
26747 install-html-sid: \
26748 configure-sid \
26749 html-sid
26750 @: $(MAKE); $(unstage)
26751 @[ -f ./sid/Makefile ] || exit 0; \
26752 r=`${PWD_COMMAND}`; export r; \
26753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26754 $(HOST_EXPORTS) \
26755 for flag in $(EXTRA_HOST_FLAGS) ; do \
26756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26757 done; \
26758 echo "Doing install-html in sid" ; \
26759 (cd $(HOST_SUBDIR)/sid && \
26760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26762 "RANLIB=$${RANLIB}" \
26763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26764 install-html) \
26765 || exit 1
26767 @endif sid
26769 .PHONY: maybe-installcheck-sid installcheck-sid
26770 maybe-installcheck-sid:
26771 @if sid
26772 maybe-installcheck-sid: installcheck-sid
26774 installcheck-sid: \
26775 configure-sid
26776 @: $(MAKE); $(unstage)
26777 @[ -f ./sid/Makefile ] || exit 0; \
26778 r=`${PWD_COMMAND}`; export r; \
26779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26780 $(HOST_EXPORTS) \
26781 for flag in $(EXTRA_HOST_FLAGS) ; do \
26782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26783 done; \
26784 echo "Doing installcheck in sid" ; \
26785 (cd $(HOST_SUBDIR)/sid && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26788 "RANLIB=$${RANLIB}" \
26789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26790 installcheck) \
26791 || exit 1
26793 @endif sid
26795 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26796 maybe-mostlyclean-sid:
26797 @if sid
26798 maybe-mostlyclean-sid: mostlyclean-sid
26800 mostlyclean-sid:
26801 @: $(MAKE); $(unstage)
26802 @[ -f ./sid/Makefile ] || exit 0; \
26803 r=`${PWD_COMMAND}`; export r; \
26804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(HOST_EXPORTS) \
26806 for flag in $(EXTRA_HOST_FLAGS) ; do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 echo "Doing mostlyclean in sid" ; \
26810 (cd $(HOST_SUBDIR)/sid && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26815 mostlyclean) \
26816 || exit 1
26818 @endif sid
26820 .PHONY: maybe-clean-sid clean-sid
26821 maybe-clean-sid:
26822 @if sid
26823 maybe-clean-sid: clean-sid
26825 clean-sid:
26826 @: $(MAKE); $(unstage)
26827 @[ -f ./sid/Makefile ] || exit 0; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(HOST_EXPORTS) \
26831 for flag in $(EXTRA_HOST_FLAGS) ; do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 done; \
26834 echo "Doing clean in sid" ; \
26835 (cd $(HOST_SUBDIR)/sid && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26840 clean) \
26841 || exit 1
26843 @endif sid
26845 .PHONY: maybe-distclean-sid distclean-sid
26846 maybe-distclean-sid:
26847 @if sid
26848 maybe-distclean-sid: distclean-sid
26850 distclean-sid:
26851 @: $(MAKE); $(unstage)
26852 @[ -f ./sid/Makefile ] || exit 0; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(HOST_EXPORTS) \
26856 for flag in $(EXTRA_HOST_FLAGS) ; do \
26857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 done; \
26859 echo "Doing distclean in sid" ; \
26860 (cd $(HOST_SUBDIR)/sid && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26865 distclean) \
26866 || exit 1
26868 @endif sid
26870 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26871 maybe-maintainer-clean-sid:
26872 @if sid
26873 maybe-maintainer-clean-sid: maintainer-clean-sid
26875 maintainer-clean-sid:
26876 @: $(MAKE); $(unstage)
26877 @[ -f ./sid/Makefile ] || exit 0; \
26878 r=`${PWD_COMMAND}`; export r; \
26879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26880 $(HOST_EXPORTS) \
26881 for flag in $(EXTRA_HOST_FLAGS) ; do \
26882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26883 done; \
26884 echo "Doing maintainer-clean in sid" ; \
26885 (cd $(HOST_SUBDIR)/sid && \
26886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26888 "RANLIB=$${RANLIB}" \
26889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26890 maintainer-clean) \
26891 || exit 1
26893 @endif sid
26897 .PHONY: configure-sim maybe-configure-sim
26898 maybe-configure-sim:
26899 @if gcc-bootstrap
26900 configure-sim: stage_current
26901 @endif gcc-bootstrap
26902 @if sim
26903 maybe-configure-sim: configure-sim
26904 configure-sim:
26905 @: $(MAKE); $(unstage)
26906 @r=`${PWD_COMMAND}`; export r; \
26907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26908 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26910 $(HOST_EXPORTS) \
26911 echo Configuring in $(HOST_SUBDIR)/sim; \
26912 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26913 case $(srcdir) in \
26914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26915 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26917 esac; \
26918 srcdiroption="--srcdir=$${topdir}/sim"; \
26919 libsrcdir="$$s/sim"; \
26920 $(SHELL) $${libsrcdir}/configure \
26921 $(HOST_CONFIGARGS) $${srcdiroption} \
26922 || exit 1
26923 @endif sim
26929 .PHONY: all-sim maybe-all-sim
26930 maybe-all-sim:
26931 @if gcc-bootstrap
26932 all-sim: stage_current
26933 @endif gcc-bootstrap
26934 @if sim
26935 TARGET-sim=all
26936 maybe-all-sim: all-sim
26937 all-sim: configure-sim
26938 @: $(MAKE); $(unstage)
26939 @r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26941 $(HOST_EXPORTS) \
26942 (cd $(HOST_SUBDIR)/sim && \
26943 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26944 @endif sim
26949 .PHONY: check-sim maybe-check-sim
26950 maybe-check-sim:
26951 @if sim
26952 maybe-check-sim: check-sim
26954 check-sim:
26955 @: $(MAKE); $(unstage)
26956 @r=`${PWD_COMMAND}`; export r; \
26957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26958 $(HOST_EXPORTS) \
26959 (cd $(HOST_SUBDIR)/sim && \
26960 $(MAKE) $(FLAGS_TO_PASS) check)
26962 @endif sim
26964 .PHONY: install-sim maybe-install-sim
26965 maybe-install-sim:
26966 @if sim
26967 maybe-install-sim: install-sim
26969 install-sim: installdirs
26970 @: $(MAKE); $(unstage)
26971 @r=`${PWD_COMMAND}`; export r; \
26972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26973 $(HOST_EXPORTS) \
26974 (cd $(HOST_SUBDIR)/sim && \
26975 $(MAKE) $(FLAGS_TO_PASS) install)
26977 @endif sim
26979 # Other targets (info, dvi, pdf, etc.)
26981 .PHONY: maybe-info-sim info-sim
26982 maybe-info-sim:
26983 @if sim
26984 maybe-info-sim: info-sim
26986 info-sim: \
26987 configure-sim
26988 @: $(MAKE); $(unstage)
26989 @[ -f ./sim/Makefile ] || exit 0; \
26990 r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 for flag in $(EXTRA_HOST_FLAGS) ; do \
26994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26995 done; \
26996 echo "Doing info in sim" ; \
26997 (cd $(HOST_SUBDIR)/sim && \
26998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27000 "RANLIB=$${RANLIB}" \
27001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27002 info) \
27003 || exit 1
27005 @endif sim
27007 .PHONY: maybe-dvi-sim dvi-sim
27008 maybe-dvi-sim:
27009 @if sim
27010 maybe-dvi-sim: dvi-sim
27012 dvi-sim: \
27013 configure-sim
27014 @: $(MAKE); $(unstage)
27015 @[ -f ./sim/Makefile ] || exit 0; \
27016 r=`${PWD_COMMAND}`; export r; \
27017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27018 $(HOST_EXPORTS) \
27019 for flag in $(EXTRA_HOST_FLAGS) ; do \
27020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27021 done; \
27022 echo "Doing dvi in sim" ; \
27023 (cd $(HOST_SUBDIR)/sim && \
27024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27026 "RANLIB=$${RANLIB}" \
27027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27028 dvi) \
27029 || exit 1
27031 @endif sim
27033 .PHONY: maybe-pdf-sim pdf-sim
27034 maybe-pdf-sim:
27035 @if sim
27036 maybe-pdf-sim: pdf-sim
27038 pdf-sim: \
27039 configure-sim
27040 @: $(MAKE); $(unstage)
27041 @[ -f ./sim/Makefile ] || exit 0; \
27042 r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 $(HOST_EXPORTS) \
27045 for flag in $(EXTRA_HOST_FLAGS) ; do \
27046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27047 done; \
27048 echo "Doing pdf in sim" ; \
27049 (cd $(HOST_SUBDIR)/sim && \
27050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27052 "RANLIB=$${RANLIB}" \
27053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27054 pdf) \
27055 || exit 1
27057 @endif sim
27059 .PHONY: maybe-html-sim html-sim
27060 maybe-html-sim:
27061 @if sim
27062 maybe-html-sim: html-sim
27064 html-sim: \
27065 configure-sim
27066 @: $(MAKE); $(unstage)
27067 @[ -f ./sim/Makefile ] || exit 0; \
27068 r=`${PWD_COMMAND}`; export r; \
27069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27070 $(HOST_EXPORTS) \
27071 for flag in $(EXTRA_HOST_FLAGS) ; do \
27072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27073 done; \
27074 echo "Doing html in sim" ; \
27075 (cd $(HOST_SUBDIR)/sim && \
27076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27078 "RANLIB=$${RANLIB}" \
27079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27080 html) \
27081 || exit 1
27083 @endif sim
27085 .PHONY: maybe-TAGS-sim TAGS-sim
27086 maybe-TAGS-sim:
27087 @if sim
27088 maybe-TAGS-sim: TAGS-sim
27090 TAGS-sim: \
27091 configure-sim
27092 @: $(MAKE); $(unstage)
27093 @[ -f ./sim/Makefile ] || exit 0; \
27094 r=`${PWD_COMMAND}`; export r; \
27095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27096 $(HOST_EXPORTS) \
27097 for flag in $(EXTRA_HOST_FLAGS) ; do \
27098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27099 done; \
27100 echo "Doing TAGS in sim" ; \
27101 (cd $(HOST_SUBDIR)/sim && \
27102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27104 "RANLIB=$${RANLIB}" \
27105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27106 TAGS) \
27107 || exit 1
27109 @endif sim
27111 .PHONY: maybe-install-info-sim install-info-sim
27112 maybe-install-info-sim:
27113 @if sim
27114 maybe-install-info-sim: install-info-sim
27116 install-info-sim: \
27117 configure-sim \
27118 info-sim
27119 @: $(MAKE); $(unstage)
27120 @[ -f ./sim/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) ; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing install-info in sim" ; \
27128 (cd $(HOST_SUBDIR)/sim && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27133 install-info) \
27134 || exit 1
27136 @endif sim
27138 .PHONY: maybe-install-html-sim install-html-sim
27139 maybe-install-html-sim:
27140 @if sim
27141 maybe-install-html-sim: install-html-sim
27143 install-html-sim: \
27144 configure-sim \
27145 html-sim
27146 @: $(MAKE); $(unstage)
27147 @[ -f ./sim/Makefile ] || exit 0; \
27148 r=`${PWD_COMMAND}`; export r; \
27149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27150 $(HOST_EXPORTS) \
27151 for flag in $(EXTRA_HOST_FLAGS) ; do \
27152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27153 done; \
27154 echo "Doing install-html in sim" ; \
27155 (cd $(HOST_SUBDIR)/sim && \
27156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27158 "RANLIB=$${RANLIB}" \
27159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27160 install-html) \
27161 || exit 1
27163 @endif sim
27165 .PHONY: maybe-installcheck-sim installcheck-sim
27166 maybe-installcheck-sim:
27167 @if sim
27168 maybe-installcheck-sim: installcheck-sim
27170 installcheck-sim: \
27171 configure-sim
27172 @: $(MAKE); $(unstage)
27173 @[ -f ./sim/Makefile ] || exit 0; \
27174 r=`${PWD_COMMAND}`; export r; \
27175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(HOST_EXPORTS) \
27177 for flag in $(EXTRA_HOST_FLAGS) ; do \
27178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27179 done; \
27180 echo "Doing installcheck in sim" ; \
27181 (cd $(HOST_SUBDIR)/sim && \
27182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184 "RANLIB=$${RANLIB}" \
27185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27186 installcheck) \
27187 || exit 1
27189 @endif sim
27191 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27192 maybe-mostlyclean-sim:
27193 @if sim
27194 maybe-mostlyclean-sim: mostlyclean-sim
27196 mostlyclean-sim:
27197 @: $(MAKE); $(unstage)
27198 @[ -f ./sim/Makefile ] || exit 0; \
27199 r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(HOST_EXPORTS) \
27202 for flag in $(EXTRA_HOST_FLAGS) ; do \
27203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 done; \
27205 echo "Doing mostlyclean in sim" ; \
27206 (cd $(HOST_SUBDIR)/sim && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27211 mostlyclean) \
27212 || exit 1
27214 @endif sim
27216 .PHONY: maybe-clean-sim clean-sim
27217 maybe-clean-sim:
27218 @if sim
27219 maybe-clean-sim: clean-sim
27221 clean-sim:
27222 @: $(MAKE); $(unstage)
27223 @[ -f ./sim/Makefile ] || exit 0; \
27224 r=`${PWD_COMMAND}`; export r; \
27225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27226 $(HOST_EXPORTS) \
27227 for flag in $(EXTRA_HOST_FLAGS) ; do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27229 done; \
27230 echo "Doing clean in sim" ; \
27231 (cd $(HOST_SUBDIR)/sim && \
27232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27234 "RANLIB=$${RANLIB}" \
27235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27236 clean) \
27237 || exit 1
27239 @endif sim
27241 .PHONY: maybe-distclean-sim distclean-sim
27242 maybe-distclean-sim:
27243 @if sim
27244 maybe-distclean-sim: distclean-sim
27246 distclean-sim:
27247 @: $(MAKE); $(unstage)
27248 @[ -f ./sim/Makefile ] || exit 0; \
27249 r=`${PWD_COMMAND}`; export r; \
27250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27251 $(HOST_EXPORTS) \
27252 for flag in $(EXTRA_HOST_FLAGS) ; do \
27253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27254 done; \
27255 echo "Doing distclean in sim" ; \
27256 (cd $(HOST_SUBDIR)/sim && \
27257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27259 "RANLIB=$${RANLIB}" \
27260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27261 distclean) \
27262 || exit 1
27264 @endif sim
27266 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27267 maybe-maintainer-clean-sim:
27268 @if sim
27269 maybe-maintainer-clean-sim: maintainer-clean-sim
27271 maintainer-clean-sim:
27272 @: $(MAKE); $(unstage)
27273 @[ -f ./sim/Makefile ] || exit 0; \
27274 r=`${PWD_COMMAND}`; export r; \
27275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27276 $(HOST_EXPORTS) \
27277 for flag in $(EXTRA_HOST_FLAGS) ; do \
27278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27279 done; \
27280 echo "Doing maintainer-clean in sim" ; \
27281 (cd $(HOST_SUBDIR)/sim && \
27282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27284 "RANLIB=$${RANLIB}" \
27285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27286 maintainer-clean) \
27287 || exit 1
27289 @endif sim
27293 .PHONY: configure-tar maybe-configure-tar
27294 maybe-configure-tar:
27295 @if gcc-bootstrap
27296 configure-tar: stage_current
27297 @endif gcc-bootstrap
27298 @if tar
27299 maybe-configure-tar: configure-tar
27300 configure-tar:
27301 @: $(MAKE); $(unstage)
27302 @r=`${PWD_COMMAND}`; export r; \
27303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27304 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27306 $(HOST_EXPORTS) \
27307 echo Configuring in $(HOST_SUBDIR)/tar; \
27308 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27309 case $(srcdir) in \
27310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27311 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27313 esac; \
27314 srcdiroption="--srcdir=$${topdir}/tar"; \
27315 libsrcdir="$$s/tar"; \
27316 $(SHELL) $${libsrcdir}/configure \
27317 $(HOST_CONFIGARGS) $${srcdiroption} \
27318 || exit 1
27319 @endif tar
27325 .PHONY: all-tar maybe-all-tar
27326 maybe-all-tar:
27327 @if gcc-bootstrap
27328 all-tar: stage_current
27329 @endif gcc-bootstrap
27330 @if tar
27331 TARGET-tar=all
27332 maybe-all-tar: all-tar
27333 all-tar: configure-tar
27334 @: $(MAKE); $(unstage)
27335 @r=`${PWD_COMMAND}`; export r; \
27336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27337 $(HOST_EXPORTS) \
27338 (cd $(HOST_SUBDIR)/tar && \
27339 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27340 @endif tar
27345 .PHONY: check-tar maybe-check-tar
27346 maybe-check-tar:
27347 @if tar
27348 maybe-check-tar: check-tar
27350 check-tar:
27351 @: $(MAKE); $(unstage)
27352 @r=`${PWD_COMMAND}`; export r; \
27353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27354 $(HOST_EXPORTS) \
27355 (cd $(HOST_SUBDIR)/tar && \
27356 $(MAKE) $(FLAGS_TO_PASS) check)
27358 @endif tar
27360 .PHONY: install-tar maybe-install-tar
27361 maybe-install-tar:
27362 @if tar
27363 maybe-install-tar: install-tar
27365 install-tar: installdirs
27366 @: $(MAKE); $(unstage)
27367 @r=`${PWD_COMMAND}`; export r; \
27368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27369 $(HOST_EXPORTS) \
27370 (cd $(HOST_SUBDIR)/tar && \
27371 $(MAKE) $(FLAGS_TO_PASS) install)
27373 @endif tar
27375 # Other targets (info, dvi, pdf, etc.)
27377 .PHONY: maybe-info-tar info-tar
27378 maybe-info-tar:
27379 @if tar
27380 maybe-info-tar: info-tar
27382 info-tar: \
27383 configure-tar
27384 @: $(MAKE); $(unstage)
27385 @[ -f ./tar/Makefile ] || exit 0; \
27386 r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(HOST_EXPORTS) \
27389 for flag in $(EXTRA_HOST_FLAGS) ; do \
27390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27391 done; \
27392 echo "Doing info in tar" ; \
27393 (cd $(HOST_SUBDIR)/tar && \
27394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27396 "RANLIB=$${RANLIB}" \
27397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27398 info) \
27399 || exit 1
27401 @endif tar
27403 .PHONY: maybe-dvi-tar dvi-tar
27404 maybe-dvi-tar:
27405 @if tar
27406 maybe-dvi-tar: dvi-tar
27408 dvi-tar: \
27409 configure-tar
27410 @: $(MAKE); $(unstage)
27411 @[ -f ./tar/Makefile ] || exit 0; \
27412 r=`${PWD_COMMAND}`; export r; \
27413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27414 $(HOST_EXPORTS) \
27415 for flag in $(EXTRA_HOST_FLAGS) ; do \
27416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27417 done; \
27418 echo "Doing dvi in tar" ; \
27419 (cd $(HOST_SUBDIR)/tar && \
27420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27422 "RANLIB=$${RANLIB}" \
27423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27424 dvi) \
27425 || exit 1
27427 @endif tar
27429 .PHONY: maybe-pdf-tar pdf-tar
27430 maybe-pdf-tar:
27431 @if tar
27432 maybe-pdf-tar: pdf-tar
27434 pdf-tar: \
27435 configure-tar
27436 @: $(MAKE); $(unstage)
27437 @[ -f ./tar/Makefile ] || exit 0; \
27438 r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(HOST_EXPORTS) \
27441 for flag in $(EXTRA_HOST_FLAGS) ; do \
27442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27443 done; \
27444 echo "Doing pdf in tar" ; \
27445 (cd $(HOST_SUBDIR)/tar && \
27446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27448 "RANLIB=$${RANLIB}" \
27449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27450 pdf) \
27451 || exit 1
27453 @endif tar
27455 .PHONY: maybe-html-tar html-tar
27456 maybe-html-tar:
27457 @if tar
27458 maybe-html-tar: html-tar
27460 html-tar: \
27461 configure-tar
27462 @: $(MAKE); $(unstage)
27463 @[ -f ./tar/Makefile ] || exit 0; \
27464 r=`${PWD_COMMAND}`; export r; \
27465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27466 $(HOST_EXPORTS) \
27467 for flag in $(EXTRA_HOST_FLAGS) ; do \
27468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27469 done; \
27470 echo "Doing html in tar" ; \
27471 (cd $(HOST_SUBDIR)/tar && \
27472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27474 "RANLIB=$${RANLIB}" \
27475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27476 html) \
27477 || exit 1
27479 @endif tar
27481 .PHONY: maybe-TAGS-tar TAGS-tar
27482 maybe-TAGS-tar:
27483 @if tar
27484 maybe-TAGS-tar: TAGS-tar
27486 TAGS-tar: \
27487 configure-tar
27488 @: $(MAKE); $(unstage)
27489 @[ -f ./tar/Makefile ] || exit 0; \
27490 r=`${PWD_COMMAND}`; export r; \
27491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 $(HOST_EXPORTS) \
27493 for flag in $(EXTRA_HOST_FLAGS) ; do \
27494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27495 done; \
27496 echo "Doing TAGS in tar" ; \
27497 (cd $(HOST_SUBDIR)/tar && \
27498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27500 "RANLIB=$${RANLIB}" \
27501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27502 TAGS) \
27503 || exit 1
27505 @endif tar
27507 .PHONY: maybe-install-info-tar install-info-tar
27508 maybe-install-info-tar:
27509 @if tar
27510 maybe-install-info-tar: install-info-tar
27512 install-info-tar: \
27513 configure-tar \
27514 info-tar
27515 @: $(MAKE); $(unstage)
27516 @[ -f ./tar/Makefile ] || exit 0; \
27517 r=`${PWD_COMMAND}`; export r; \
27518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27519 $(HOST_EXPORTS) \
27520 for flag in $(EXTRA_HOST_FLAGS) ; do \
27521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27522 done; \
27523 echo "Doing install-info in tar" ; \
27524 (cd $(HOST_SUBDIR)/tar && \
27525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27527 "RANLIB=$${RANLIB}" \
27528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27529 install-info) \
27530 || exit 1
27532 @endif tar
27534 .PHONY: maybe-install-html-tar install-html-tar
27535 maybe-install-html-tar:
27536 @if tar
27537 maybe-install-html-tar: install-html-tar
27539 install-html-tar: \
27540 configure-tar \
27541 html-tar
27542 @: $(MAKE); $(unstage)
27543 @[ -f ./tar/Makefile ] || exit 0; \
27544 r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(HOST_EXPORTS) \
27547 for flag in $(EXTRA_HOST_FLAGS) ; do \
27548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 done; \
27550 echo "Doing install-html in tar" ; \
27551 (cd $(HOST_SUBDIR)/tar && \
27552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27554 "RANLIB=$${RANLIB}" \
27555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27556 install-html) \
27557 || exit 1
27559 @endif tar
27561 .PHONY: maybe-installcheck-tar installcheck-tar
27562 maybe-installcheck-tar:
27563 @if tar
27564 maybe-installcheck-tar: installcheck-tar
27566 installcheck-tar: \
27567 configure-tar
27568 @: $(MAKE); $(unstage)
27569 @[ -f ./tar/Makefile ] || exit 0; \
27570 r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 $(HOST_EXPORTS) \
27573 for flag in $(EXTRA_HOST_FLAGS) ; do \
27574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27575 done; \
27576 echo "Doing installcheck in tar" ; \
27577 (cd $(HOST_SUBDIR)/tar && \
27578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27580 "RANLIB=$${RANLIB}" \
27581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27582 installcheck) \
27583 || exit 1
27585 @endif tar
27587 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27588 maybe-mostlyclean-tar:
27589 @if tar
27590 maybe-mostlyclean-tar: mostlyclean-tar
27592 mostlyclean-tar:
27593 @: $(MAKE); $(unstage)
27594 @[ -f ./tar/Makefile ] || exit 0; \
27595 r=`${PWD_COMMAND}`; export r; \
27596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27597 $(HOST_EXPORTS) \
27598 for flag in $(EXTRA_HOST_FLAGS) ; do \
27599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27600 done; \
27601 echo "Doing mostlyclean in tar" ; \
27602 (cd $(HOST_SUBDIR)/tar && \
27603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27605 "RANLIB=$${RANLIB}" \
27606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27607 mostlyclean) \
27608 || exit 1
27610 @endif tar
27612 .PHONY: maybe-clean-tar clean-tar
27613 maybe-clean-tar:
27614 @if tar
27615 maybe-clean-tar: clean-tar
27617 clean-tar:
27618 @: $(MAKE); $(unstage)
27619 @[ -f ./tar/Makefile ] || exit 0; \
27620 r=`${PWD_COMMAND}`; export r; \
27621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 $(HOST_EXPORTS) \
27623 for flag in $(EXTRA_HOST_FLAGS) ; do \
27624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27625 done; \
27626 echo "Doing clean in tar" ; \
27627 (cd $(HOST_SUBDIR)/tar && \
27628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27630 "RANLIB=$${RANLIB}" \
27631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27632 clean) \
27633 || exit 1
27635 @endif tar
27637 .PHONY: maybe-distclean-tar distclean-tar
27638 maybe-distclean-tar:
27639 @if tar
27640 maybe-distclean-tar: distclean-tar
27642 distclean-tar:
27643 @: $(MAKE); $(unstage)
27644 @[ -f ./tar/Makefile ] || exit 0; \
27645 r=`${PWD_COMMAND}`; export r; \
27646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27647 $(HOST_EXPORTS) \
27648 for flag in $(EXTRA_HOST_FLAGS) ; do \
27649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27650 done; \
27651 echo "Doing distclean in tar" ; \
27652 (cd $(HOST_SUBDIR)/tar && \
27653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27655 "RANLIB=$${RANLIB}" \
27656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27657 distclean) \
27658 || exit 1
27660 @endif tar
27662 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27663 maybe-maintainer-clean-tar:
27664 @if tar
27665 maybe-maintainer-clean-tar: maintainer-clean-tar
27667 maintainer-clean-tar:
27668 @: $(MAKE); $(unstage)
27669 @[ -f ./tar/Makefile ] || exit 0; \
27670 r=`${PWD_COMMAND}`; export r; \
27671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27672 $(HOST_EXPORTS) \
27673 for flag in $(EXTRA_HOST_FLAGS) ; do \
27674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27675 done; \
27676 echo "Doing maintainer-clean in tar" ; \
27677 (cd $(HOST_SUBDIR)/tar && \
27678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27680 "RANLIB=$${RANLIB}" \
27681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27682 maintainer-clean) \
27683 || exit 1
27685 @endif tar
27689 .PHONY: configure-texinfo maybe-configure-texinfo
27690 maybe-configure-texinfo:
27691 @if gcc-bootstrap
27692 configure-texinfo: stage_current
27693 @endif gcc-bootstrap
27694 @if texinfo
27695 maybe-configure-texinfo: configure-texinfo
27696 configure-texinfo:
27697 @: $(MAKE); $(unstage)
27698 @r=`${PWD_COMMAND}`; export r; \
27699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27700 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27702 $(HOST_EXPORTS) \
27703 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27704 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27705 case $(srcdir) in \
27706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27707 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27709 esac; \
27710 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27711 libsrcdir="$$s/texinfo"; \
27712 $(SHELL) $${libsrcdir}/configure \
27713 $(HOST_CONFIGARGS) $${srcdiroption} \
27714 || exit 1
27715 @endif texinfo
27721 .PHONY: all-texinfo maybe-all-texinfo
27722 maybe-all-texinfo:
27723 @if gcc-bootstrap
27724 all-texinfo: stage_current
27725 @endif gcc-bootstrap
27726 @if texinfo
27727 TARGET-texinfo=all
27728 maybe-all-texinfo: all-texinfo
27729 all-texinfo: configure-texinfo
27730 @: $(MAKE); $(unstage)
27731 @r=`${PWD_COMMAND}`; export r; \
27732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27733 $(HOST_EXPORTS) \
27734 (cd $(HOST_SUBDIR)/texinfo && \
27735 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27736 @endif texinfo
27741 .PHONY: check-texinfo maybe-check-texinfo
27742 maybe-check-texinfo:
27743 @if texinfo
27744 maybe-check-texinfo: check-texinfo
27746 check-texinfo:
27747 @: $(MAKE); $(unstage)
27748 @r=`${PWD_COMMAND}`; export r; \
27749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27750 $(HOST_EXPORTS) \
27751 (cd $(HOST_SUBDIR)/texinfo && \
27752 $(MAKE) $(FLAGS_TO_PASS) check)
27754 @endif texinfo
27756 .PHONY: install-texinfo maybe-install-texinfo
27757 maybe-install-texinfo:
27758 @if texinfo
27759 maybe-install-texinfo: install-texinfo
27761 install-texinfo:
27763 @endif texinfo
27765 # Other targets (info, dvi, pdf, etc.)
27767 .PHONY: maybe-info-texinfo info-texinfo
27768 maybe-info-texinfo:
27769 @if texinfo
27770 maybe-info-texinfo: info-texinfo
27772 info-texinfo: \
27773 configure-texinfo
27774 @: $(MAKE); $(unstage)
27775 @[ -f ./texinfo/Makefile ] || exit 0; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(HOST_EXPORTS) \
27779 for flag in $(EXTRA_HOST_FLAGS) ; do \
27780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 done; \
27782 echo "Doing info in texinfo" ; \
27783 (cd $(HOST_SUBDIR)/texinfo && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27786 "RANLIB=$${RANLIB}" \
27787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27788 info) \
27789 || exit 1
27791 @endif texinfo
27793 .PHONY: maybe-dvi-texinfo dvi-texinfo
27794 maybe-dvi-texinfo:
27795 @if texinfo
27796 maybe-dvi-texinfo: dvi-texinfo
27798 dvi-texinfo: \
27799 configure-texinfo
27800 @: $(MAKE); $(unstage)
27801 @[ -f ./texinfo/Makefile ] || exit 0; \
27802 r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 $(HOST_EXPORTS) \
27805 for flag in $(EXTRA_HOST_FLAGS) ; do \
27806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27807 done; \
27808 echo "Doing dvi in texinfo" ; \
27809 (cd $(HOST_SUBDIR)/texinfo && \
27810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27812 "RANLIB=$${RANLIB}" \
27813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27814 dvi) \
27815 || exit 1
27817 @endif texinfo
27819 .PHONY: maybe-pdf-texinfo pdf-texinfo
27820 maybe-pdf-texinfo:
27821 @if texinfo
27822 maybe-pdf-texinfo: pdf-texinfo
27824 pdf-texinfo: \
27825 configure-texinfo
27826 @: $(MAKE); $(unstage)
27827 @[ -f ./texinfo/Makefile ] || exit 0; \
27828 r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830 $(HOST_EXPORTS) \
27831 for flag in $(EXTRA_HOST_FLAGS) ; do \
27832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27833 done; \
27834 echo "Doing pdf in texinfo" ; \
27835 (cd $(HOST_SUBDIR)/texinfo && \
27836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27838 "RANLIB=$${RANLIB}" \
27839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27840 pdf) \
27841 || exit 1
27843 @endif texinfo
27845 .PHONY: maybe-html-texinfo html-texinfo
27846 maybe-html-texinfo:
27847 @if texinfo
27848 maybe-html-texinfo: html-texinfo
27850 html-texinfo: \
27851 configure-texinfo
27852 @: $(MAKE); $(unstage)
27853 @[ -f ./texinfo/Makefile ] || exit 0; \
27854 r=`${PWD_COMMAND}`; export r; \
27855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27856 $(HOST_EXPORTS) \
27857 for flag in $(EXTRA_HOST_FLAGS) ; do \
27858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27859 done; \
27860 echo "Doing html in texinfo" ; \
27861 (cd $(HOST_SUBDIR)/texinfo && \
27862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27864 "RANLIB=$${RANLIB}" \
27865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27866 html) \
27867 || exit 1
27869 @endif texinfo
27871 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27872 maybe-TAGS-texinfo:
27873 @if texinfo
27874 maybe-TAGS-texinfo: TAGS-texinfo
27876 TAGS-texinfo: \
27877 configure-texinfo
27878 @: $(MAKE); $(unstage)
27879 @[ -f ./texinfo/Makefile ] || exit 0; \
27880 r=`${PWD_COMMAND}`; export r; \
27881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27882 $(HOST_EXPORTS) \
27883 for flag in $(EXTRA_HOST_FLAGS) ; do \
27884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27885 done; \
27886 echo "Doing TAGS in texinfo" ; \
27887 (cd $(HOST_SUBDIR)/texinfo && \
27888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27890 "RANLIB=$${RANLIB}" \
27891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27892 TAGS) \
27893 || exit 1
27895 @endif texinfo
27897 .PHONY: maybe-install-info-texinfo install-info-texinfo
27898 maybe-install-info-texinfo:
27899 @if texinfo
27900 maybe-install-info-texinfo: install-info-texinfo
27902 install-info-texinfo: \
27903 configure-texinfo \
27904 info-texinfo
27905 @: $(MAKE); $(unstage)
27906 @[ -f ./texinfo/Makefile ] || exit 0; \
27907 r=`${PWD_COMMAND}`; export r; \
27908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27909 $(HOST_EXPORTS) \
27910 for flag in $(EXTRA_HOST_FLAGS) ; do \
27911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27912 done; \
27913 echo "Doing install-info in texinfo" ; \
27914 (cd $(HOST_SUBDIR)/texinfo && \
27915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27917 "RANLIB=$${RANLIB}" \
27918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27919 install-info) \
27920 || exit 1
27922 @endif texinfo
27924 .PHONY: maybe-install-html-texinfo install-html-texinfo
27925 maybe-install-html-texinfo:
27926 @if texinfo
27927 maybe-install-html-texinfo: install-html-texinfo
27929 install-html-texinfo: \
27930 configure-texinfo \
27931 html-texinfo
27932 @: $(MAKE); $(unstage)
27933 @[ -f ./texinfo/Makefile ] || exit 0; \
27934 r=`${PWD_COMMAND}`; export r; \
27935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27936 $(HOST_EXPORTS) \
27937 for flag in $(EXTRA_HOST_FLAGS) ; do \
27938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27939 done; \
27940 echo "Doing install-html in texinfo" ; \
27941 (cd $(HOST_SUBDIR)/texinfo && \
27942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27944 "RANLIB=$${RANLIB}" \
27945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27946 install-html) \
27947 || exit 1
27949 @endif texinfo
27951 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27952 maybe-installcheck-texinfo:
27953 @if texinfo
27954 maybe-installcheck-texinfo: installcheck-texinfo
27956 installcheck-texinfo: \
27957 configure-texinfo
27958 @: $(MAKE); $(unstage)
27959 @[ -f ./texinfo/Makefile ] || exit 0; \
27960 r=`${PWD_COMMAND}`; export r; \
27961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27962 $(HOST_EXPORTS) \
27963 for flag in $(EXTRA_HOST_FLAGS) ; do \
27964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27965 done; \
27966 echo "Doing installcheck in texinfo" ; \
27967 (cd $(HOST_SUBDIR)/texinfo && \
27968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27970 "RANLIB=$${RANLIB}" \
27971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27972 installcheck) \
27973 || exit 1
27975 @endif texinfo
27977 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27978 maybe-mostlyclean-texinfo:
27979 @if texinfo
27980 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27982 mostlyclean-texinfo:
27983 @: $(MAKE); $(unstage)
27984 @[ -f ./texinfo/Makefile ] || exit 0; \
27985 r=`${PWD_COMMAND}`; export r; \
27986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27987 $(HOST_EXPORTS) \
27988 for flag in $(EXTRA_HOST_FLAGS) ; do \
27989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27990 done; \
27991 echo "Doing mostlyclean in texinfo" ; \
27992 (cd $(HOST_SUBDIR)/texinfo && \
27993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27995 "RANLIB=$${RANLIB}" \
27996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27997 mostlyclean) \
27998 || exit 1
28000 @endif texinfo
28002 .PHONY: maybe-clean-texinfo clean-texinfo
28003 maybe-clean-texinfo:
28004 @if texinfo
28005 maybe-clean-texinfo: clean-texinfo
28007 clean-texinfo:
28008 @: $(MAKE); $(unstage)
28009 @[ -f ./texinfo/Makefile ] || exit 0; \
28010 r=`${PWD_COMMAND}`; export r; \
28011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28012 $(HOST_EXPORTS) \
28013 for flag in $(EXTRA_HOST_FLAGS) ; do \
28014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28015 done; \
28016 echo "Doing clean in texinfo" ; \
28017 (cd $(HOST_SUBDIR)/texinfo && \
28018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28020 "RANLIB=$${RANLIB}" \
28021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28022 clean) \
28023 || exit 1
28025 @endif texinfo
28027 .PHONY: maybe-distclean-texinfo distclean-texinfo
28028 maybe-distclean-texinfo:
28029 @if texinfo
28030 maybe-distclean-texinfo: distclean-texinfo
28032 distclean-texinfo:
28033 @: $(MAKE); $(unstage)
28034 @[ -f ./texinfo/Makefile ] || exit 0; \
28035 r=`${PWD_COMMAND}`; export r; \
28036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28037 $(HOST_EXPORTS) \
28038 for flag in $(EXTRA_HOST_FLAGS) ; do \
28039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28040 done; \
28041 echo "Doing distclean in texinfo" ; \
28042 (cd $(HOST_SUBDIR)/texinfo && \
28043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28045 "RANLIB=$${RANLIB}" \
28046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28047 distclean) \
28048 || exit 1
28050 @endif texinfo
28052 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
28053 maybe-maintainer-clean-texinfo:
28054 @if texinfo
28055 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
28057 maintainer-clean-texinfo:
28058 @: $(MAKE); $(unstage)
28059 @[ -f ./texinfo/Makefile ] || exit 0; \
28060 r=`${PWD_COMMAND}`; export r; \
28061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28062 $(HOST_EXPORTS) \
28063 for flag in $(EXTRA_HOST_FLAGS) ; do \
28064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28065 done; \
28066 echo "Doing maintainer-clean in texinfo" ; \
28067 (cd $(HOST_SUBDIR)/texinfo && \
28068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28070 "RANLIB=$${RANLIB}" \
28071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28072 maintainer-clean) \
28073 || exit 1
28075 @endif texinfo
28079 .PHONY: configure-textutils maybe-configure-textutils
28080 maybe-configure-textutils:
28081 @if gcc-bootstrap
28082 configure-textutils: stage_current
28083 @endif gcc-bootstrap
28084 @if textutils
28085 maybe-configure-textutils: configure-textutils
28086 configure-textutils:
28087 @: $(MAKE); $(unstage)
28088 @r=`${PWD_COMMAND}`; export r; \
28089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28090 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
28091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
28092 $(HOST_EXPORTS) \
28093 echo Configuring in $(HOST_SUBDIR)/textutils; \
28094 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
28095 case $(srcdir) in \
28096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28097 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
28098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28099 esac; \
28100 srcdiroption="--srcdir=$${topdir}/textutils"; \
28101 libsrcdir="$$s/textutils"; \
28102 $(SHELL) $${libsrcdir}/configure \
28103 $(HOST_CONFIGARGS) $${srcdiroption} \
28104 || exit 1
28105 @endif textutils
28111 .PHONY: all-textutils maybe-all-textutils
28112 maybe-all-textutils:
28113 @if gcc-bootstrap
28114 all-textutils: stage_current
28115 @endif gcc-bootstrap
28116 @if textutils
28117 TARGET-textutils=all
28118 maybe-all-textutils: all-textutils
28119 all-textutils: configure-textutils
28120 @: $(MAKE); $(unstage)
28121 @r=`${PWD_COMMAND}`; export r; \
28122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28123 $(HOST_EXPORTS) \
28124 (cd $(HOST_SUBDIR)/textutils && \
28125 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
28126 @endif textutils
28131 .PHONY: check-textutils maybe-check-textutils
28132 maybe-check-textutils:
28133 @if textutils
28134 maybe-check-textutils: check-textutils
28136 check-textutils:
28137 @: $(MAKE); $(unstage)
28138 @r=`${PWD_COMMAND}`; export r; \
28139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28140 $(HOST_EXPORTS) \
28141 (cd $(HOST_SUBDIR)/textutils && \
28142 $(MAKE) $(FLAGS_TO_PASS) check)
28144 @endif textutils
28146 .PHONY: install-textutils maybe-install-textutils
28147 maybe-install-textutils:
28148 @if textutils
28149 maybe-install-textutils: install-textutils
28151 install-textutils: installdirs
28152 @: $(MAKE); $(unstage)
28153 @r=`${PWD_COMMAND}`; export r; \
28154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28155 $(HOST_EXPORTS) \
28156 (cd $(HOST_SUBDIR)/textutils && \
28157 $(MAKE) $(FLAGS_TO_PASS) install)
28159 @endif textutils
28161 # Other targets (info, dvi, pdf, etc.)
28163 .PHONY: maybe-info-textutils info-textutils
28164 maybe-info-textutils:
28165 @if textutils
28166 maybe-info-textutils: info-textutils
28168 info-textutils: \
28169 configure-textutils
28170 @: $(MAKE); $(unstage)
28171 @[ -f ./textutils/Makefile ] || exit 0; \
28172 r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 $(HOST_EXPORTS) \
28175 for flag in $(EXTRA_HOST_FLAGS) ; do \
28176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28177 done; \
28178 echo "Doing info in textutils" ; \
28179 (cd $(HOST_SUBDIR)/textutils && \
28180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28182 "RANLIB=$${RANLIB}" \
28183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28184 info) \
28185 || exit 1
28187 @endif textutils
28189 .PHONY: maybe-dvi-textutils dvi-textutils
28190 maybe-dvi-textutils:
28191 @if textutils
28192 maybe-dvi-textutils: dvi-textutils
28194 dvi-textutils: \
28195 configure-textutils
28196 @: $(MAKE); $(unstage)
28197 @[ -f ./textutils/Makefile ] || exit 0; \
28198 r=`${PWD_COMMAND}`; export r; \
28199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28200 $(HOST_EXPORTS) \
28201 for flag in $(EXTRA_HOST_FLAGS) ; do \
28202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28203 done; \
28204 echo "Doing dvi in textutils" ; \
28205 (cd $(HOST_SUBDIR)/textutils && \
28206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28208 "RANLIB=$${RANLIB}" \
28209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28210 dvi) \
28211 || exit 1
28213 @endif textutils
28215 .PHONY: maybe-pdf-textutils pdf-textutils
28216 maybe-pdf-textutils:
28217 @if textutils
28218 maybe-pdf-textutils: pdf-textutils
28220 pdf-textutils: \
28221 configure-textutils
28222 @: $(MAKE); $(unstage)
28223 @[ -f ./textutils/Makefile ] || exit 0; \
28224 r=`${PWD_COMMAND}`; export r; \
28225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28226 $(HOST_EXPORTS) \
28227 for flag in $(EXTRA_HOST_FLAGS) ; do \
28228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28229 done; \
28230 echo "Doing pdf in textutils" ; \
28231 (cd $(HOST_SUBDIR)/textutils && \
28232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28234 "RANLIB=$${RANLIB}" \
28235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28236 pdf) \
28237 || exit 1
28239 @endif textutils
28241 .PHONY: maybe-html-textutils html-textutils
28242 maybe-html-textutils:
28243 @if textutils
28244 maybe-html-textutils: html-textutils
28246 html-textutils: \
28247 configure-textutils
28248 @: $(MAKE); $(unstage)
28249 @[ -f ./textutils/Makefile ] || exit 0; \
28250 r=`${PWD_COMMAND}`; export r; \
28251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28252 $(HOST_EXPORTS) \
28253 for flag in $(EXTRA_HOST_FLAGS) ; do \
28254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28255 done; \
28256 echo "Doing html in textutils" ; \
28257 (cd $(HOST_SUBDIR)/textutils && \
28258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28260 "RANLIB=$${RANLIB}" \
28261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28262 html) \
28263 || exit 1
28265 @endif textutils
28267 .PHONY: maybe-TAGS-textutils TAGS-textutils
28268 maybe-TAGS-textutils:
28269 @if textutils
28270 maybe-TAGS-textutils: TAGS-textutils
28272 TAGS-textutils: \
28273 configure-textutils
28274 @: $(MAKE); $(unstage)
28275 @[ -f ./textutils/Makefile ] || exit 0; \
28276 r=`${PWD_COMMAND}`; export r; \
28277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28278 $(HOST_EXPORTS) \
28279 for flag in $(EXTRA_HOST_FLAGS) ; do \
28280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28281 done; \
28282 echo "Doing TAGS in textutils" ; \
28283 (cd $(HOST_SUBDIR)/textutils && \
28284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28286 "RANLIB=$${RANLIB}" \
28287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28288 TAGS) \
28289 || exit 1
28291 @endif textutils
28293 .PHONY: maybe-install-info-textutils install-info-textutils
28294 maybe-install-info-textutils:
28295 @if textutils
28296 maybe-install-info-textutils: install-info-textutils
28298 install-info-textutils: \
28299 configure-textutils \
28300 info-textutils
28301 @: $(MAKE); $(unstage)
28302 @[ -f ./textutils/Makefile ] || exit 0; \
28303 r=`${PWD_COMMAND}`; export r; \
28304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28305 $(HOST_EXPORTS) \
28306 for flag in $(EXTRA_HOST_FLAGS) ; do \
28307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28308 done; \
28309 echo "Doing install-info in textutils" ; \
28310 (cd $(HOST_SUBDIR)/textutils && \
28311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28313 "RANLIB=$${RANLIB}" \
28314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28315 install-info) \
28316 || exit 1
28318 @endif textutils
28320 .PHONY: maybe-install-html-textutils install-html-textutils
28321 maybe-install-html-textutils:
28322 @if textutils
28323 maybe-install-html-textutils: install-html-textutils
28325 install-html-textutils: \
28326 configure-textutils \
28327 html-textutils
28328 @: $(MAKE); $(unstage)
28329 @[ -f ./textutils/Makefile ] || exit 0; \
28330 r=`${PWD_COMMAND}`; export r; \
28331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28332 $(HOST_EXPORTS) \
28333 for flag in $(EXTRA_HOST_FLAGS) ; do \
28334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28335 done; \
28336 echo "Doing install-html in textutils" ; \
28337 (cd $(HOST_SUBDIR)/textutils && \
28338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28340 "RANLIB=$${RANLIB}" \
28341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28342 install-html) \
28343 || exit 1
28345 @endif textutils
28347 .PHONY: maybe-installcheck-textutils installcheck-textutils
28348 maybe-installcheck-textutils:
28349 @if textutils
28350 maybe-installcheck-textutils: installcheck-textutils
28352 installcheck-textutils: \
28353 configure-textutils
28354 @: $(MAKE); $(unstage)
28355 @[ -f ./textutils/Makefile ] || exit 0; \
28356 r=`${PWD_COMMAND}`; export r; \
28357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28358 $(HOST_EXPORTS) \
28359 for flag in $(EXTRA_HOST_FLAGS) ; do \
28360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28361 done; \
28362 echo "Doing installcheck in textutils" ; \
28363 (cd $(HOST_SUBDIR)/textutils && \
28364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28366 "RANLIB=$${RANLIB}" \
28367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28368 installcheck) \
28369 || exit 1
28371 @endif textutils
28373 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28374 maybe-mostlyclean-textutils:
28375 @if textutils
28376 maybe-mostlyclean-textutils: mostlyclean-textutils
28378 mostlyclean-textutils:
28379 @: $(MAKE); $(unstage)
28380 @[ -f ./textutils/Makefile ] || exit 0; \
28381 r=`${PWD_COMMAND}`; export r; \
28382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28383 $(HOST_EXPORTS) \
28384 for flag in $(EXTRA_HOST_FLAGS) ; do \
28385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28386 done; \
28387 echo "Doing mostlyclean in textutils" ; \
28388 (cd $(HOST_SUBDIR)/textutils && \
28389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28391 "RANLIB=$${RANLIB}" \
28392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28393 mostlyclean) \
28394 || exit 1
28396 @endif textutils
28398 .PHONY: maybe-clean-textutils clean-textutils
28399 maybe-clean-textutils:
28400 @if textutils
28401 maybe-clean-textutils: clean-textutils
28403 clean-textutils:
28404 @: $(MAKE); $(unstage)
28405 @[ -f ./textutils/Makefile ] || exit 0; \
28406 r=`${PWD_COMMAND}`; export r; \
28407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28408 $(HOST_EXPORTS) \
28409 for flag in $(EXTRA_HOST_FLAGS) ; do \
28410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28411 done; \
28412 echo "Doing clean in textutils" ; \
28413 (cd $(HOST_SUBDIR)/textutils && \
28414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28416 "RANLIB=$${RANLIB}" \
28417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28418 clean) \
28419 || exit 1
28421 @endif textutils
28423 .PHONY: maybe-distclean-textutils distclean-textutils
28424 maybe-distclean-textutils:
28425 @if textutils
28426 maybe-distclean-textutils: distclean-textutils
28428 distclean-textutils:
28429 @: $(MAKE); $(unstage)
28430 @[ -f ./textutils/Makefile ] || exit 0; \
28431 r=`${PWD_COMMAND}`; export r; \
28432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28433 $(HOST_EXPORTS) \
28434 for flag in $(EXTRA_HOST_FLAGS) ; do \
28435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28436 done; \
28437 echo "Doing distclean in textutils" ; \
28438 (cd $(HOST_SUBDIR)/textutils && \
28439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28441 "RANLIB=$${RANLIB}" \
28442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28443 distclean) \
28444 || exit 1
28446 @endif textutils
28448 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28449 maybe-maintainer-clean-textutils:
28450 @if textutils
28451 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28453 maintainer-clean-textutils:
28454 @: $(MAKE); $(unstage)
28455 @[ -f ./textutils/Makefile ] || exit 0; \
28456 r=`${PWD_COMMAND}`; export r; \
28457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28458 $(HOST_EXPORTS) \
28459 for flag in $(EXTRA_HOST_FLAGS) ; do \
28460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28461 done; \
28462 echo "Doing maintainer-clean in textutils" ; \
28463 (cd $(HOST_SUBDIR)/textutils && \
28464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28466 "RANLIB=$${RANLIB}" \
28467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28468 maintainer-clean) \
28469 || exit 1
28471 @endif textutils
28475 .PHONY: configure-time maybe-configure-time
28476 maybe-configure-time:
28477 @if gcc-bootstrap
28478 configure-time: stage_current
28479 @endif gcc-bootstrap
28480 @if time
28481 maybe-configure-time: configure-time
28482 configure-time:
28483 @: $(MAKE); $(unstage)
28484 @r=`${PWD_COMMAND}`; export r; \
28485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28486 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28488 $(HOST_EXPORTS) \
28489 echo Configuring in $(HOST_SUBDIR)/time; \
28490 cd "$(HOST_SUBDIR)/time" || exit 1; \
28491 case $(srcdir) in \
28492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28493 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28495 esac; \
28496 srcdiroption="--srcdir=$${topdir}/time"; \
28497 libsrcdir="$$s/time"; \
28498 $(SHELL) $${libsrcdir}/configure \
28499 $(HOST_CONFIGARGS) $${srcdiroption} \
28500 || exit 1
28501 @endif time
28507 .PHONY: all-time maybe-all-time
28508 maybe-all-time:
28509 @if gcc-bootstrap
28510 all-time: stage_current
28511 @endif gcc-bootstrap
28512 @if time
28513 TARGET-time=all
28514 maybe-all-time: all-time
28515 all-time: configure-time
28516 @: $(MAKE); $(unstage)
28517 @r=`${PWD_COMMAND}`; export r; \
28518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28519 $(HOST_EXPORTS) \
28520 (cd $(HOST_SUBDIR)/time && \
28521 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28522 @endif time
28527 .PHONY: check-time maybe-check-time
28528 maybe-check-time:
28529 @if time
28530 maybe-check-time: check-time
28532 check-time:
28533 @: $(MAKE); $(unstage)
28534 @r=`${PWD_COMMAND}`; export r; \
28535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28536 $(HOST_EXPORTS) \
28537 (cd $(HOST_SUBDIR)/time && \
28538 $(MAKE) $(FLAGS_TO_PASS) check)
28540 @endif time
28542 .PHONY: install-time maybe-install-time
28543 maybe-install-time:
28544 @if time
28545 maybe-install-time: install-time
28547 install-time: installdirs
28548 @: $(MAKE); $(unstage)
28549 @r=`${PWD_COMMAND}`; export r; \
28550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28551 $(HOST_EXPORTS) \
28552 (cd $(HOST_SUBDIR)/time && \
28553 $(MAKE) $(FLAGS_TO_PASS) install)
28555 @endif time
28557 # Other targets (info, dvi, pdf, etc.)
28559 .PHONY: maybe-info-time info-time
28560 maybe-info-time:
28561 @if time
28562 maybe-info-time: info-time
28564 info-time: \
28565 configure-time
28566 @: $(MAKE); $(unstage)
28567 @[ -f ./time/Makefile ] || exit 0; \
28568 r=`${PWD_COMMAND}`; export r; \
28569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28570 $(HOST_EXPORTS) \
28571 for flag in $(EXTRA_HOST_FLAGS) ; do \
28572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28573 done; \
28574 echo "Doing info in time" ; \
28575 (cd $(HOST_SUBDIR)/time && \
28576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28578 "RANLIB=$${RANLIB}" \
28579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28580 info) \
28581 || exit 1
28583 @endif time
28585 .PHONY: maybe-dvi-time dvi-time
28586 maybe-dvi-time:
28587 @if time
28588 maybe-dvi-time: dvi-time
28590 dvi-time: \
28591 configure-time
28592 @: $(MAKE); $(unstage)
28593 @[ -f ./time/Makefile ] || exit 0; \
28594 r=`${PWD_COMMAND}`; export r; \
28595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28596 $(HOST_EXPORTS) \
28597 for flag in $(EXTRA_HOST_FLAGS) ; do \
28598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28599 done; \
28600 echo "Doing dvi in time" ; \
28601 (cd $(HOST_SUBDIR)/time && \
28602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28604 "RANLIB=$${RANLIB}" \
28605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28606 dvi) \
28607 || exit 1
28609 @endif time
28611 .PHONY: maybe-pdf-time pdf-time
28612 maybe-pdf-time:
28613 @if time
28614 maybe-pdf-time: pdf-time
28616 pdf-time: \
28617 configure-time
28618 @: $(MAKE); $(unstage)
28619 @[ -f ./time/Makefile ] || exit 0; \
28620 r=`${PWD_COMMAND}`; export r; \
28621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28622 $(HOST_EXPORTS) \
28623 for flag in $(EXTRA_HOST_FLAGS) ; do \
28624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28625 done; \
28626 echo "Doing pdf in time" ; \
28627 (cd $(HOST_SUBDIR)/time && \
28628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28630 "RANLIB=$${RANLIB}" \
28631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28632 pdf) \
28633 || exit 1
28635 @endif time
28637 .PHONY: maybe-html-time html-time
28638 maybe-html-time:
28639 @if time
28640 maybe-html-time: html-time
28642 html-time: \
28643 configure-time
28644 @: $(MAKE); $(unstage)
28645 @[ -f ./time/Makefile ] || exit 0; \
28646 r=`${PWD_COMMAND}`; export r; \
28647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(HOST_EXPORTS) \
28649 for flag in $(EXTRA_HOST_FLAGS) ; do \
28650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28651 done; \
28652 echo "Doing html in time" ; \
28653 (cd $(HOST_SUBDIR)/time && \
28654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28656 "RANLIB=$${RANLIB}" \
28657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28658 html) \
28659 || exit 1
28661 @endif time
28663 .PHONY: maybe-TAGS-time TAGS-time
28664 maybe-TAGS-time:
28665 @if time
28666 maybe-TAGS-time: TAGS-time
28668 TAGS-time: \
28669 configure-time
28670 @: $(MAKE); $(unstage)
28671 @[ -f ./time/Makefile ] || exit 0; \
28672 r=`${PWD_COMMAND}`; export r; \
28673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28674 $(HOST_EXPORTS) \
28675 for flag in $(EXTRA_HOST_FLAGS) ; do \
28676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28677 done; \
28678 echo "Doing TAGS in time" ; \
28679 (cd $(HOST_SUBDIR)/time && \
28680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28682 "RANLIB=$${RANLIB}" \
28683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28684 TAGS) \
28685 || exit 1
28687 @endif time
28689 .PHONY: maybe-install-info-time install-info-time
28690 maybe-install-info-time:
28691 @if time
28692 maybe-install-info-time: install-info-time
28694 install-info-time: \
28695 configure-time \
28696 info-time
28697 @: $(MAKE); $(unstage)
28698 @[ -f ./time/Makefile ] || exit 0; \
28699 r=`${PWD_COMMAND}`; export r; \
28700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28701 $(HOST_EXPORTS) \
28702 for flag in $(EXTRA_HOST_FLAGS) ; do \
28703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28704 done; \
28705 echo "Doing install-info in time" ; \
28706 (cd $(HOST_SUBDIR)/time && \
28707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28709 "RANLIB=$${RANLIB}" \
28710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28711 install-info) \
28712 || exit 1
28714 @endif time
28716 .PHONY: maybe-install-html-time install-html-time
28717 maybe-install-html-time:
28718 @if time
28719 maybe-install-html-time: install-html-time
28721 install-html-time: \
28722 configure-time \
28723 html-time
28724 @: $(MAKE); $(unstage)
28725 @[ -f ./time/Makefile ] || exit 0; \
28726 r=`${PWD_COMMAND}`; export r; \
28727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28728 $(HOST_EXPORTS) \
28729 for flag in $(EXTRA_HOST_FLAGS) ; do \
28730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28731 done; \
28732 echo "Doing install-html in time" ; \
28733 (cd $(HOST_SUBDIR)/time && \
28734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28736 "RANLIB=$${RANLIB}" \
28737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28738 install-html) \
28739 || exit 1
28741 @endif time
28743 .PHONY: maybe-installcheck-time installcheck-time
28744 maybe-installcheck-time:
28745 @if time
28746 maybe-installcheck-time: installcheck-time
28748 installcheck-time: \
28749 configure-time
28750 @: $(MAKE); $(unstage)
28751 @[ -f ./time/Makefile ] || exit 0; \
28752 r=`${PWD_COMMAND}`; export r; \
28753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28754 $(HOST_EXPORTS) \
28755 for flag in $(EXTRA_HOST_FLAGS) ; do \
28756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28757 done; \
28758 echo "Doing installcheck in time" ; \
28759 (cd $(HOST_SUBDIR)/time && \
28760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28762 "RANLIB=$${RANLIB}" \
28763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28764 installcheck) \
28765 || exit 1
28767 @endif time
28769 .PHONY: maybe-mostlyclean-time mostlyclean-time
28770 maybe-mostlyclean-time:
28771 @if time
28772 maybe-mostlyclean-time: mostlyclean-time
28774 mostlyclean-time:
28775 @: $(MAKE); $(unstage)
28776 @[ -f ./time/Makefile ] || exit 0; \
28777 r=`${PWD_COMMAND}`; export r; \
28778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28779 $(HOST_EXPORTS) \
28780 for flag in $(EXTRA_HOST_FLAGS) ; do \
28781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28782 done; \
28783 echo "Doing mostlyclean in time" ; \
28784 (cd $(HOST_SUBDIR)/time && \
28785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28787 "RANLIB=$${RANLIB}" \
28788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28789 mostlyclean) \
28790 || exit 1
28792 @endif time
28794 .PHONY: maybe-clean-time clean-time
28795 maybe-clean-time:
28796 @if time
28797 maybe-clean-time: clean-time
28799 clean-time:
28800 @: $(MAKE); $(unstage)
28801 @[ -f ./time/Makefile ] || exit 0; \
28802 r=`${PWD_COMMAND}`; export r; \
28803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28804 $(HOST_EXPORTS) \
28805 for flag in $(EXTRA_HOST_FLAGS) ; do \
28806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28807 done; \
28808 echo "Doing clean in time" ; \
28809 (cd $(HOST_SUBDIR)/time && \
28810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28812 "RANLIB=$${RANLIB}" \
28813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28814 clean) \
28815 || exit 1
28817 @endif time
28819 .PHONY: maybe-distclean-time distclean-time
28820 maybe-distclean-time:
28821 @if time
28822 maybe-distclean-time: distclean-time
28824 distclean-time:
28825 @: $(MAKE); $(unstage)
28826 @[ -f ./time/Makefile ] || exit 0; \
28827 r=`${PWD_COMMAND}`; export r; \
28828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28829 $(HOST_EXPORTS) \
28830 for flag in $(EXTRA_HOST_FLAGS) ; do \
28831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28832 done; \
28833 echo "Doing distclean in time" ; \
28834 (cd $(HOST_SUBDIR)/time && \
28835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28837 "RANLIB=$${RANLIB}" \
28838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28839 distclean) \
28840 || exit 1
28842 @endif time
28844 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28845 maybe-maintainer-clean-time:
28846 @if time
28847 maybe-maintainer-clean-time: maintainer-clean-time
28849 maintainer-clean-time:
28850 @: $(MAKE); $(unstage)
28851 @[ -f ./time/Makefile ] || exit 0; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(HOST_EXPORTS) \
28855 for flag in $(EXTRA_HOST_FLAGS) ; do \
28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28857 done; \
28858 echo "Doing maintainer-clean in time" ; \
28859 (cd $(HOST_SUBDIR)/time && \
28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28862 "RANLIB=$${RANLIB}" \
28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28864 maintainer-clean) \
28865 || exit 1
28867 @endif time
28871 .PHONY: configure-uudecode maybe-configure-uudecode
28872 maybe-configure-uudecode:
28873 @if gcc-bootstrap
28874 configure-uudecode: stage_current
28875 @endif gcc-bootstrap
28876 @if uudecode
28877 maybe-configure-uudecode: configure-uudecode
28878 configure-uudecode:
28879 @: $(MAKE); $(unstage)
28880 @r=`${PWD_COMMAND}`; export r; \
28881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28882 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28884 $(HOST_EXPORTS) \
28885 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28886 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28887 case $(srcdir) in \
28888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28889 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28891 esac; \
28892 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28893 libsrcdir="$$s/uudecode"; \
28894 $(SHELL) $${libsrcdir}/configure \
28895 $(HOST_CONFIGARGS) $${srcdiroption} \
28896 || exit 1
28897 @endif uudecode
28903 .PHONY: all-uudecode maybe-all-uudecode
28904 maybe-all-uudecode:
28905 @if gcc-bootstrap
28906 all-uudecode: stage_current
28907 @endif gcc-bootstrap
28908 @if uudecode
28909 TARGET-uudecode=all
28910 maybe-all-uudecode: all-uudecode
28911 all-uudecode: configure-uudecode
28912 @: $(MAKE); $(unstage)
28913 @r=`${PWD_COMMAND}`; export r; \
28914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28915 $(HOST_EXPORTS) \
28916 (cd $(HOST_SUBDIR)/uudecode && \
28917 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28918 @endif uudecode
28923 .PHONY: check-uudecode maybe-check-uudecode
28924 maybe-check-uudecode:
28925 @if uudecode
28926 maybe-check-uudecode: check-uudecode
28928 check-uudecode:
28929 @: $(MAKE); $(unstage)
28930 @r=`${PWD_COMMAND}`; export r; \
28931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28932 $(HOST_EXPORTS) \
28933 (cd $(HOST_SUBDIR)/uudecode && \
28934 $(MAKE) $(FLAGS_TO_PASS) check)
28936 @endif uudecode
28938 .PHONY: install-uudecode maybe-install-uudecode
28939 maybe-install-uudecode:
28940 @if uudecode
28941 maybe-install-uudecode: install-uudecode
28943 install-uudecode: installdirs
28944 @: $(MAKE); $(unstage)
28945 @r=`${PWD_COMMAND}`; export r; \
28946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28947 $(HOST_EXPORTS) \
28948 (cd $(HOST_SUBDIR)/uudecode && \
28949 $(MAKE) $(FLAGS_TO_PASS) install)
28951 @endif uudecode
28953 # Other targets (info, dvi, pdf, etc.)
28955 .PHONY: maybe-info-uudecode info-uudecode
28956 maybe-info-uudecode:
28957 @if uudecode
28958 maybe-info-uudecode: info-uudecode
28960 info-uudecode: \
28961 configure-uudecode
28962 @: $(MAKE); $(unstage)
28963 @[ -f ./uudecode/Makefile ] || exit 0; \
28964 r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(HOST_EXPORTS) \
28967 for flag in $(EXTRA_HOST_FLAGS) ; do \
28968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28969 done; \
28970 echo "Doing info in uudecode" ; \
28971 (cd $(HOST_SUBDIR)/uudecode && \
28972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28974 "RANLIB=$${RANLIB}" \
28975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28976 info) \
28977 || exit 1
28979 @endif uudecode
28981 .PHONY: maybe-dvi-uudecode dvi-uudecode
28982 maybe-dvi-uudecode:
28983 @if uudecode
28984 maybe-dvi-uudecode: dvi-uudecode
28986 dvi-uudecode: \
28987 configure-uudecode
28988 @: $(MAKE); $(unstage)
28989 @[ -f ./uudecode/Makefile ] || exit 0; \
28990 r=`${PWD_COMMAND}`; export r; \
28991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28992 $(HOST_EXPORTS) \
28993 for flag in $(EXTRA_HOST_FLAGS) ; do \
28994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28995 done; \
28996 echo "Doing dvi in uudecode" ; \
28997 (cd $(HOST_SUBDIR)/uudecode && \
28998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29000 "RANLIB=$${RANLIB}" \
29001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29002 dvi) \
29003 || exit 1
29005 @endif uudecode
29007 .PHONY: maybe-pdf-uudecode pdf-uudecode
29008 maybe-pdf-uudecode:
29009 @if uudecode
29010 maybe-pdf-uudecode: pdf-uudecode
29012 pdf-uudecode: \
29013 configure-uudecode
29014 @: $(MAKE); $(unstage)
29015 @[ -f ./uudecode/Makefile ] || exit 0; \
29016 r=`${PWD_COMMAND}`; export r; \
29017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29018 $(HOST_EXPORTS) \
29019 for flag in $(EXTRA_HOST_FLAGS) ; do \
29020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29021 done; \
29022 echo "Doing pdf in uudecode" ; \
29023 (cd $(HOST_SUBDIR)/uudecode && \
29024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29026 "RANLIB=$${RANLIB}" \
29027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29028 pdf) \
29029 || exit 1
29031 @endif uudecode
29033 .PHONY: maybe-html-uudecode html-uudecode
29034 maybe-html-uudecode:
29035 @if uudecode
29036 maybe-html-uudecode: html-uudecode
29038 html-uudecode: \
29039 configure-uudecode
29040 @: $(MAKE); $(unstage)
29041 @[ -f ./uudecode/Makefile ] || exit 0; \
29042 r=`${PWD_COMMAND}`; export r; \
29043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29044 $(HOST_EXPORTS) \
29045 for flag in $(EXTRA_HOST_FLAGS) ; do \
29046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29047 done; \
29048 echo "Doing html in uudecode" ; \
29049 (cd $(HOST_SUBDIR)/uudecode && \
29050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29052 "RANLIB=$${RANLIB}" \
29053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29054 html) \
29055 || exit 1
29057 @endif uudecode
29059 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
29060 maybe-TAGS-uudecode:
29061 @if uudecode
29062 maybe-TAGS-uudecode: TAGS-uudecode
29064 TAGS-uudecode: \
29065 configure-uudecode
29066 @: $(MAKE); $(unstage)
29067 @[ -f ./uudecode/Makefile ] || exit 0; \
29068 r=`${PWD_COMMAND}`; export r; \
29069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29070 $(HOST_EXPORTS) \
29071 for flag in $(EXTRA_HOST_FLAGS) ; do \
29072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29073 done; \
29074 echo "Doing TAGS in uudecode" ; \
29075 (cd $(HOST_SUBDIR)/uudecode && \
29076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29078 "RANLIB=$${RANLIB}" \
29079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29080 TAGS) \
29081 || exit 1
29083 @endif uudecode
29085 .PHONY: maybe-install-info-uudecode install-info-uudecode
29086 maybe-install-info-uudecode:
29087 @if uudecode
29088 maybe-install-info-uudecode: install-info-uudecode
29090 install-info-uudecode: \
29091 configure-uudecode \
29092 info-uudecode
29093 @: $(MAKE); $(unstage)
29094 @[ -f ./uudecode/Makefile ] || exit 0; \
29095 r=`${PWD_COMMAND}`; export r; \
29096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29097 $(HOST_EXPORTS) \
29098 for flag in $(EXTRA_HOST_FLAGS) ; do \
29099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29100 done; \
29101 echo "Doing install-info in uudecode" ; \
29102 (cd $(HOST_SUBDIR)/uudecode && \
29103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29105 "RANLIB=$${RANLIB}" \
29106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29107 install-info) \
29108 || exit 1
29110 @endif uudecode
29112 .PHONY: maybe-install-html-uudecode install-html-uudecode
29113 maybe-install-html-uudecode:
29114 @if uudecode
29115 maybe-install-html-uudecode: install-html-uudecode
29117 install-html-uudecode: \
29118 configure-uudecode \
29119 html-uudecode
29120 @: $(MAKE); $(unstage)
29121 @[ -f ./uudecode/Makefile ] || exit 0; \
29122 r=`${PWD_COMMAND}`; export r; \
29123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29124 $(HOST_EXPORTS) \
29125 for flag in $(EXTRA_HOST_FLAGS) ; do \
29126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29127 done; \
29128 echo "Doing install-html in uudecode" ; \
29129 (cd $(HOST_SUBDIR)/uudecode && \
29130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29132 "RANLIB=$${RANLIB}" \
29133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29134 install-html) \
29135 || exit 1
29137 @endif uudecode
29139 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
29140 maybe-installcheck-uudecode:
29141 @if uudecode
29142 maybe-installcheck-uudecode: installcheck-uudecode
29144 installcheck-uudecode: \
29145 configure-uudecode
29146 @: $(MAKE); $(unstage)
29147 @[ -f ./uudecode/Makefile ] || exit 0; \
29148 r=`${PWD_COMMAND}`; export r; \
29149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29150 $(HOST_EXPORTS) \
29151 for flag in $(EXTRA_HOST_FLAGS) ; do \
29152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29153 done; \
29154 echo "Doing installcheck in uudecode" ; \
29155 (cd $(HOST_SUBDIR)/uudecode && \
29156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29158 "RANLIB=$${RANLIB}" \
29159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29160 installcheck) \
29161 || exit 1
29163 @endif uudecode
29165 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
29166 maybe-mostlyclean-uudecode:
29167 @if uudecode
29168 maybe-mostlyclean-uudecode: mostlyclean-uudecode
29170 mostlyclean-uudecode:
29171 @: $(MAKE); $(unstage)
29172 @[ -f ./uudecode/Makefile ] || exit 0; \
29173 r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29175 $(HOST_EXPORTS) \
29176 for flag in $(EXTRA_HOST_FLAGS) ; do \
29177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29178 done; \
29179 echo "Doing mostlyclean in uudecode" ; \
29180 (cd $(HOST_SUBDIR)/uudecode && \
29181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29183 "RANLIB=$${RANLIB}" \
29184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29185 mostlyclean) \
29186 || exit 1
29188 @endif uudecode
29190 .PHONY: maybe-clean-uudecode clean-uudecode
29191 maybe-clean-uudecode:
29192 @if uudecode
29193 maybe-clean-uudecode: clean-uudecode
29195 clean-uudecode:
29196 @: $(MAKE); $(unstage)
29197 @[ -f ./uudecode/Makefile ] || exit 0; \
29198 r=`${PWD_COMMAND}`; export r; \
29199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29200 $(HOST_EXPORTS) \
29201 for flag in $(EXTRA_HOST_FLAGS) ; do \
29202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29203 done; \
29204 echo "Doing clean in uudecode" ; \
29205 (cd $(HOST_SUBDIR)/uudecode && \
29206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29208 "RANLIB=$${RANLIB}" \
29209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29210 clean) \
29211 || exit 1
29213 @endif uudecode
29215 .PHONY: maybe-distclean-uudecode distclean-uudecode
29216 maybe-distclean-uudecode:
29217 @if uudecode
29218 maybe-distclean-uudecode: distclean-uudecode
29220 distclean-uudecode:
29221 @: $(MAKE); $(unstage)
29222 @[ -f ./uudecode/Makefile ] || exit 0; \
29223 r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 $(HOST_EXPORTS) \
29226 for flag in $(EXTRA_HOST_FLAGS) ; do \
29227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29228 done; \
29229 echo "Doing distclean in uudecode" ; \
29230 (cd $(HOST_SUBDIR)/uudecode && \
29231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29233 "RANLIB=$${RANLIB}" \
29234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29235 distclean) \
29236 || exit 1
29238 @endif uudecode
29240 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29241 maybe-maintainer-clean-uudecode:
29242 @if uudecode
29243 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29245 maintainer-clean-uudecode:
29246 @: $(MAKE); $(unstage)
29247 @[ -f ./uudecode/Makefile ] || exit 0; \
29248 r=`${PWD_COMMAND}`; export r; \
29249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29250 $(HOST_EXPORTS) \
29251 for flag in $(EXTRA_HOST_FLAGS) ; do \
29252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29253 done; \
29254 echo "Doing maintainer-clean in uudecode" ; \
29255 (cd $(HOST_SUBDIR)/uudecode && \
29256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29258 "RANLIB=$${RANLIB}" \
29259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29260 maintainer-clean) \
29261 || exit 1
29263 @endif uudecode
29267 .PHONY: configure-wdiff maybe-configure-wdiff
29268 maybe-configure-wdiff:
29269 @if gcc-bootstrap
29270 configure-wdiff: stage_current
29271 @endif gcc-bootstrap
29272 @if wdiff
29273 maybe-configure-wdiff: configure-wdiff
29274 configure-wdiff:
29275 @: $(MAKE); $(unstage)
29276 @r=`${PWD_COMMAND}`; export r; \
29277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29278 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29280 $(HOST_EXPORTS) \
29281 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29282 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29283 case $(srcdir) in \
29284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29285 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29287 esac; \
29288 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29289 libsrcdir="$$s/wdiff"; \
29290 $(SHELL) $${libsrcdir}/configure \
29291 $(HOST_CONFIGARGS) $${srcdiroption} \
29292 || exit 1
29293 @endif wdiff
29299 .PHONY: all-wdiff maybe-all-wdiff
29300 maybe-all-wdiff:
29301 @if gcc-bootstrap
29302 all-wdiff: stage_current
29303 @endif gcc-bootstrap
29304 @if wdiff
29305 TARGET-wdiff=all
29306 maybe-all-wdiff: all-wdiff
29307 all-wdiff: configure-wdiff
29308 @: $(MAKE); $(unstage)
29309 @r=`${PWD_COMMAND}`; export r; \
29310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29311 $(HOST_EXPORTS) \
29312 (cd $(HOST_SUBDIR)/wdiff && \
29313 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29314 @endif wdiff
29319 .PHONY: check-wdiff maybe-check-wdiff
29320 maybe-check-wdiff:
29321 @if wdiff
29322 maybe-check-wdiff: check-wdiff
29324 check-wdiff:
29325 @: $(MAKE); $(unstage)
29326 @r=`${PWD_COMMAND}`; export r; \
29327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29328 $(HOST_EXPORTS) \
29329 (cd $(HOST_SUBDIR)/wdiff && \
29330 $(MAKE) $(FLAGS_TO_PASS) check)
29332 @endif wdiff
29334 .PHONY: install-wdiff maybe-install-wdiff
29335 maybe-install-wdiff:
29336 @if wdiff
29337 maybe-install-wdiff: install-wdiff
29339 install-wdiff: installdirs
29340 @: $(MAKE); $(unstage)
29341 @r=`${PWD_COMMAND}`; export r; \
29342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29343 $(HOST_EXPORTS) \
29344 (cd $(HOST_SUBDIR)/wdiff && \
29345 $(MAKE) $(FLAGS_TO_PASS) install)
29347 @endif wdiff
29349 # Other targets (info, dvi, pdf, etc.)
29351 .PHONY: maybe-info-wdiff info-wdiff
29352 maybe-info-wdiff:
29353 @if wdiff
29354 maybe-info-wdiff: info-wdiff
29356 info-wdiff: \
29357 configure-wdiff
29358 @: $(MAKE); $(unstage)
29359 @[ -f ./wdiff/Makefile ] || exit 0; \
29360 r=`${PWD_COMMAND}`; export r; \
29361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29362 $(HOST_EXPORTS) \
29363 for flag in $(EXTRA_HOST_FLAGS) ; do \
29364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29365 done; \
29366 echo "Doing info in wdiff" ; \
29367 (cd $(HOST_SUBDIR)/wdiff && \
29368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29370 "RANLIB=$${RANLIB}" \
29371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29372 info) \
29373 || exit 1
29375 @endif wdiff
29377 .PHONY: maybe-dvi-wdiff dvi-wdiff
29378 maybe-dvi-wdiff:
29379 @if wdiff
29380 maybe-dvi-wdiff: dvi-wdiff
29382 dvi-wdiff: \
29383 configure-wdiff
29384 @: $(MAKE); $(unstage)
29385 @[ -f ./wdiff/Makefile ] || exit 0; \
29386 r=`${PWD_COMMAND}`; export r; \
29387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29388 $(HOST_EXPORTS) \
29389 for flag in $(EXTRA_HOST_FLAGS) ; do \
29390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29391 done; \
29392 echo "Doing dvi in wdiff" ; \
29393 (cd $(HOST_SUBDIR)/wdiff && \
29394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29396 "RANLIB=$${RANLIB}" \
29397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29398 dvi) \
29399 || exit 1
29401 @endif wdiff
29403 .PHONY: maybe-pdf-wdiff pdf-wdiff
29404 maybe-pdf-wdiff:
29405 @if wdiff
29406 maybe-pdf-wdiff: pdf-wdiff
29408 pdf-wdiff: \
29409 configure-wdiff
29410 @: $(MAKE); $(unstage)
29411 @[ -f ./wdiff/Makefile ] || exit 0; \
29412 r=`${PWD_COMMAND}`; export r; \
29413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29414 $(HOST_EXPORTS) \
29415 for flag in $(EXTRA_HOST_FLAGS) ; do \
29416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29417 done; \
29418 echo "Doing pdf in wdiff" ; \
29419 (cd $(HOST_SUBDIR)/wdiff && \
29420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29422 "RANLIB=$${RANLIB}" \
29423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29424 pdf) \
29425 || exit 1
29427 @endif wdiff
29429 .PHONY: maybe-html-wdiff html-wdiff
29430 maybe-html-wdiff:
29431 @if wdiff
29432 maybe-html-wdiff: html-wdiff
29434 html-wdiff: \
29435 configure-wdiff
29436 @: $(MAKE); $(unstage)
29437 @[ -f ./wdiff/Makefile ] || exit 0; \
29438 r=`${PWD_COMMAND}`; export r; \
29439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29440 $(HOST_EXPORTS) \
29441 for flag in $(EXTRA_HOST_FLAGS) ; do \
29442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29443 done; \
29444 echo "Doing html in wdiff" ; \
29445 (cd $(HOST_SUBDIR)/wdiff && \
29446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29448 "RANLIB=$${RANLIB}" \
29449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29450 html) \
29451 || exit 1
29453 @endif wdiff
29455 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29456 maybe-TAGS-wdiff:
29457 @if wdiff
29458 maybe-TAGS-wdiff: TAGS-wdiff
29460 TAGS-wdiff: \
29461 configure-wdiff
29462 @: $(MAKE); $(unstage)
29463 @[ -f ./wdiff/Makefile ] || exit 0; \
29464 r=`${PWD_COMMAND}`; export r; \
29465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29466 $(HOST_EXPORTS) \
29467 for flag in $(EXTRA_HOST_FLAGS) ; do \
29468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29469 done; \
29470 echo "Doing TAGS in wdiff" ; \
29471 (cd $(HOST_SUBDIR)/wdiff && \
29472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29474 "RANLIB=$${RANLIB}" \
29475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29476 TAGS) \
29477 || exit 1
29479 @endif wdiff
29481 .PHONY: maybe-install-info-wdiff install-info-wdiff
29482 maybe-install-info-wdiff:
29483 @if wdiff
29484 maybe-install-info-wdiff: install-info-wdiff
29486 install-info-wdiff: \
29487 configure-wdiff \
29488 info-wdiff
29489 @: $(MAKE); $(unstage)
29490 @[ -f ./wdiff/Makefile ] || exit 0; \
29491 r=`${PWD_COMMAND}`; export r; \
29492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29493 $(HOST_EXPORTS) \
29494 for flag in $(EXTRA_HOST_FLAGS) ; do \
29495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29496 done; \
29497 echo "Doing install-info in wdiff" ; \
29498 (cd $(HOST_SUBDIR)/wdiff && \
29499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29501 "RANLIB=$${RANLIB}" \
29502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29503 install-info) \
29504 || exit 1
29506 @endif wdiff
29508 .PHONY: maybe-install-html-wdiff install-html-wdiff
29509 maybe-install-html-wdiff:
29510 @if wdiff
29511 maybe-install-html-wdiff: install-html-wdiff
29513 install-html-wdiff: \
29514 configure-wdiff \
29515 html-wdiff
29516 @: $(MAKE); $(unstage)
29517 @[ -f ./wdiff/Makefile ] || exit 0; \
29518 r=`${PWD_COMMAND}`; export r; \
29519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29520 $(HOST_EXPORTS) \
29521 for flag in $(EXTRA_HOST_FLAGS) ; do \
29522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29523 done; \
29524 echo "Doing install-html in wdiff" ; \
29525 (cd $(HOST_SUBDIR)/wdiff && \
29526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29528 "RANLIB=$${RANLIB}" \
29529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29530 install-html) \
29531 || exit 1
29533 @endif wdiff
29535 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29536 maybe-installcheck-wdiff:
29537 @if wdiff
29538 maybe-installcheck-wdiff: installcheck-wdiff
29540 installcheck-wdiff: \
29541 configure-wdiff
29542 @: $(MAKE); $(unstage)
29543 @[ -f ./wdiff/Makefile ] || exit 0; \
29544 r=`${PWD_COMMAND}`; export r; \
29545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29546 $(HOST_EXPORTS) \
29547 for flag in $(EXTRA_HOST_FLAGS) ; do \
29548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29549 done; \
29550 echo "Doing installcheck in wdiff" ; \
29551 (cd $(HOST_SUBDIR)/wdiff && \
29552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29554 "RANLIB=$${RANLIB}" \
29555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29556 installcheck) \
29557 || exit 1
29559 @endif wdiff
29561 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29562 maybe-mostlyclean-wdiff:
29563 @if wdiff
29564 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29566 mostlyclean-wdiff:
29567 @: $(MAKE); $(unstage)
29568 @[ -f ./wdiff/Makefile ] || exit 0; \
29569 r=`${PWD_COMMAND}`; export r; \
29570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29571 $(HOST_EXPORTS) \
29572 for flag in $(EXTRA_HOST_FLAGS) ; do \
29573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29574 done; \
29575 echo "Doing mostlyclean in wdiff" ; \
29576 (cd $(HOST_SUBDIR)/wdiff && \
29577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29579 "RANLIB=$${RANLIB}" \
29580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29581 mostlyclean) \
29582 || exit 1
29584 @endif wdiff
29586 .PHONY: maybe-clean-wdiff clean-wdiff
29587 maybe-clean-wdiff:
29588 @if wdiff
29589 maybe-clean-wdiff: clean-wdiff
29591 clean-wdiff:
29592 @: $(MAKE); $(unstage)
29593 @[ -f ./wdiff/Makefile ] || exit 0; \
29594 r=`${PWD_COMMAND}`; export r; \
29595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29596 $(HOST_EXPORTS) \
29597 for flag in $(EXTRA_HOST_FLAGS) ; do \
29598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29599 done; \
29600 echo "Doing clean in wdiff" ; \
29601 (cd $(HOST_SUBDIR)/wdiff && \
29602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29604 "RANLIB=$${RANLIB}" \
29605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29606 clean) \
29607 || exit 1
29609 @endif wdiff
29611 .PHONY: maybe-distclean-wdiff distclean-wdiff
29612 maybe-distclean-wdiff:
29613 @if wdiff
29614 maybe-distclean-wdiff: distclean-wdiff
29616 distclean-wdiff:
29617 @: $(MAKE); $(unstage)
29618 @[ -f ./wdiff/Makefile ] || exit 0; \
29619 r=`${PWD_COMMAND}`; export r; \
29620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29621 $(HOST_EXPORTS) \
29622 for flag in $(EXTRA_HOST_FLAGS) ; do \
29623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29624 done; \
29625 echo "Doing distclean in wdiff" ; \
29626 (cd $(HOST_SUBDIR)/wdiff && \
29627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29629 "RANLIB=$${RANLIB}" \
29630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29631 distclean) \
29632 || exit 1
29634 @endif wdiff
29636 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29637 maybe-maintainer-clean-wdiff:
29638 @if wdiff
29639 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29641 maintainer-clean-wdiff:
29642 @: $(MAKE); $(unstage)
29643 @[ -f ./wdiff/Makefile ] || exit 0; \
29644 r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 $(HOST_EXPORTS) \
29647 for flag in $(EXTRA_HOST_FLAGS) ; do \
29648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29649 done; \
29650 echo "Doing maintainer-clean in wdiff" ; \
29651 (cd $(HOST_SUBDIR)/wdiff && \
29652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29654 "RANLIB=$${RANLIB}" \
29655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29656 maintainer-clean) \
29657 || exit 1
29659 @endif wdiff
29663 .PHONY: configure-zip maybe-configure-zip
29664 maybe-configure-zip:
29665 @if gcc-bootstrap
29666 configure-zip: stage_current
29667 @endif gcc-bootstrap
29668 @if zip
29669 maybe-configure-zip: configure-zip
29670 configure-zip:
29671 @: $(MAKE); $(unstage)
29672 @r=`${PWD_COMMAND}`; export r; \
29673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29674 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29676 $(HOST_EXPORTS) \
29677 echo Configuring in $(HOST_SUBDIR)/zip; \
29678 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29679 case $(srcdir) in \
29680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29681 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29683 esac; \
29684 srcdiroption="--srcdir=$${topdir}/zip"; \
29685 libsrcdir="$$s/zip"; \
29686 $(SHELL) $${libsrcdir}/configure \
29687 $(HOST_CONFIGARGS) $${srcdiroption} \
29688 || exit 1
29689 @endif zip
29695 .PHONY: all-zip maybe-all-zip
29696 maybe-all-zip:
29697 @if gcc-bootstrap
29698 all-zip: stage_current
29699 @endif gcc-bootstrap
29700 @if zip
29701 TARGET-zip=all
29702 maybe-all-zip: all-zip
29703 all-zip: configure-zip
29704 @: $(MAKE); $(unstage)
29705 @r=`${PWD_COMMAND}`; export r; \
29706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29707 $(HOST_EXPORTS) \
29708 (cd $(HOST_SUBDIR)/zip && \
29709 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29710 @endif zip
29715 .PHONY: check-zip maybe-check-zip
29716 maybe-check-zip:
29717 @if zip
29718 maybe-check-zip: check-zip
29720 # This module is only tested in a native toolchain.
29721 check-zip:
29722 @: $(MAKE); $(unstage)
29723 @if [ '$(host)' = '$(target)' ] ; then \
29724 r=`${PWD_COMMAND}`; export r; \
29725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29726 $(HOST_EXPORTS) \
29727 (cd $(HOST_SUBDIR)/zip && \
29728 $(MAKE) $(FLAGS_TO_PASS) check); \
29731 @endif zip
29733 .PHONY: install-zip maybe-install-zip
29734 maybe-install-zip:
29735 @if zip
29736 maybe-install-zip: install-zip
29738 install-zip: installdirs
29739 @: $(MAKE); $(unstage)
29740 @r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(HOST_EXPORTS) \
29743 (cd $(HOST_SUBDIR)/zip && \
29744 $(MAKE) $(FLAGS_TO_PASS) install)
29746 @endif zip
29748 # Other targets (info, dvi, pdf, etc.)
29750 .PHONY: maybe-info-zip info-zip
29751 maybe-info-zip:
29752 @if zip
29753 maybe-info-zip: info-zip
29755 info-zip: \
29756 configure-zip
29757 @: $(MAKE); $(unstage)
29758 @[ -f ./zip/Makefile ] || exit 0; \
29759 r=`${PWD_COMMAND}`; export r; \
29760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29761 $(HOST_EXPORTS) \
29762 for flag in $(EXTRA_HOST_FLAGS) ; do \
29763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29764 done; \
29765 echo "Doing info in zip" ; \
29766 (cd $(HOST_SUBDIR)/zip && \
29767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29769 "RANLIB=$${RANLIB}" \
29770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29771 info) \
29772 || exit 1
29774 @endif zip
29776 .PHONY: maybe-dvi-zip dvi-zip
29777 maybe-dvi-zip:
29778 @if zip
29779 maybe-dvi-zip: dvi-zip
29781 dvi-zip: \
29782 configure-zip
29783 @: $(MAKE); $(unstage)
29784 @[ -f ./zip/Makefile ] || exit 0; \
29785 r=`${PWD_COMMAND}`; export r; \
29786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29787 $(HOST_EXPORTS) \
29788 for flag in $(EXTRA_HOST_FLAGS) ; do \
29789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29790 done; \
29791 echo "Doing dvi in zip" ; \
29792 (cd $(HOST_SUBDIR)/zip && \
29793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29795 "RANLIB=$${RANLIB}" \
29796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29797 dvi) \
29798 || exit 1
29800 @endif zip
29802 .PHONY: maybe-pdf-zip pdf-zip
29803 maybe-pdf-zip:
29804 @if zip
29805 maybe-pdf-zip: pdf-zip
29807 pdf-zip: \
29808 configure-zip
29809 @: $(MAKE); $(unstage)
29810 @[ -f ./zip/Makefile ] || exit 0; \
29811 r=`${PWD_COMMAND}`; export r; \
29812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29813 $(HOST_EXPORTS) \
29814 for flag in $(EXTRA_HOST_FLAGS) ; do \
29815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29816 done; \
29817 echo "Doing pdf in zip" ; \
29818 (cd $(HOST_SUBDIR)/zip && \
29819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29821 "RANLIB=$${RANLIB}" \
29822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29823 pdf) \
29824 || exit 1
29826 @endif zip
29828 .PHONY: maybe-html-zip html-zip
29829 maybe-html-zip:
29830 @if zip
29831 maybe-html-zip: html-zip
29833 html-zip: \
29834 configure-zip
29835 @: $(MAKE); $(unstage)
29836 @[ -f ./zip/Makefile ] || exit 0; \
29837 r=`${PWD_COMMAND}`; export r; \
29838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29839 $(HOST_EXPORTS) \
29840 for flag in $(EXTRA_HOST_FLAGS) ; do \
29841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29842 done; \
29843 echo "Doing html in zip" ; \
29844 (cd $(HOST_SUBDIR)/zip && \
29845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29847 "RANLIB=$${RANLIB}" \
29848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29849 html) \
29850 || exit 1
29852 @endif zip
29854 .PHONY: maybe-TAGS-zip TAGS-zip
29855 maybe-TAGS-zip:
29856 @if zip
29857 maybe-TAGS-zip: TAGS-zip
29859 TAGS-zip: \
29860 configure-zip
29861 @: $(MAKE); $(unstage)
29862 @[ -f ./zip/Makefile ] || exit 0; \
29863 r=`${PWD_COMMAND}`; export r; \
29864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29865 $(HOST_EXPORTS) \
29866 for flag in $(EXTRA_HOST_FLAGS) ; do \
29867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29868 done; \
29869 echo "Doing TAGS in zip" ; \
29870 (cd $(HOST_SUBDIR)/zip && \
29871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29873 "RANLIB=$${RANLIB}" \
29874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29875 TAGS) \
29876 || exit 1
29878 @endif zip
29880 .PHONY: maybe-install-info-zip install-info-zip
29881 maybe-install-info-zip:
29882 @if zip
29883 maybe-install-info-zip: install-info-zip
29885 install-info-zip: \
29886 configure-zip \
29887 info-zip
29888 @: $(MAKE); $(unstage)
29889 @[ -f ./zip/Makefile ] || exit 0; \
29890 r=`${PWD_COMMAND}`; export r; \
29891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29892 $(HOST_EXPORTS) \
29893 for flag in $(EXTRA_HOST_FLAGS) ; do \
29894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29895 done; \
29896 echo "Doing install-info in zip" ; \
29897 (cd $(HOST_SUBDIR)/zip && \
29898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29900 "RANLIB=$${RANLIB}" \
29901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29902 install-info) \
29903 || exit 1
29905 @endif zip
29907 .PHONY: maybe-install-html-zip install-html-zip
29908 maybe-install-html-zip:
29909 @if zip
29910 maybe-install-html-zip: install-html-zip
29912 install-html-zip: \
29913 configure-zip \
29914 html-zip
29915 @: $(MAKE); $(unstage)
29916 @[ -f ./zip/Makefile ] || exit 0; \
29917 r=`${PWD_COMMAND}`; export r; \
29918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29919 $(HOST_EXPORTS) \
29920 for flag in $(EXTRA_HOST_FLAGS) ; do \
29921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29922 done; \
29923 echo "Doing install-html in zip" ; \
29924 (cd $(HOST_SUBDIR)/zip && \
29925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29927 "RANLIB=$${RANLIB}" \
29928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29929 install-html) \
29930 || exit 1
29932 @endif zip
29934 .PHONY: maybe-installcheck-zip installcheck-zip
29935 maybe-installcheck-zip:
29936 @if zip
29937 maybe-installcheck-zip: installcheck-zip
29939 installcheck-zip: \
29940 configure-zip
29941 @: $(MAKE); $(unstage)
29942 @[ -f ./zip/Makefile ] || exit 0; \
29943 r=`${PWD_COMMAND}`; export r; \
29944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29945 $(HOST_EXPORTS) \
29946 for flag in $(EXTRA_HOST_FLAGS) ; do \
29947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29948 done; \
29949 echo "Doing installcheck in zip" ; \
29950 (cd $(HOST_SUBDIR)/zip && \
29951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29953 "RANLIB=$${RANLIB}" \
29954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29955 installcheck) \
29956 || exit 1
29958 @endif zip
29960 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29961 maybe-mostlyclean-zip:
29962 @if zip
29963 maybe-mostlyclean-zip: mostlyclean-zip
29965 mostlyclean-zip:
29966 @: $(MAKE); $(unstage)
29967 @[ -f ./zip/Makefile ] || exit 0; \
29968 r=`${PWD_COMMAND}`; export r; \
29969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29970 $(HOST_EXPORTS) \
29971 for flag in $(EXTRA_HOST_FLAGS) ; do \
29972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29973 done; \
29974 echo "Doing mostlyclean in zip" ; \
29975 (cd $(HOST_SUBDIR)/zip && \
29976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29978 "RANLIB=$${RANLIB}" \
29979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29980 mostlyclean) \
29981 || exit 1
29983 @endif zip
29985 .PHONY: maybe-clean-zip clean-zip
29986 maybe-clean-zip:
29987 @if zip
29988 maybe-clean-zip: clean-zip
29990 clean-zip:
29991 @: $(MAKE); $(unstage)
29992 @[ -f ./zip/Makefile ] || exit 0; \
29993 r=`${PWD_COMMAND}`; export r; \
29994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29995 $(HOST_EXPORTS) \
29996 for flag in $(EXTRA_HOST_FLAGS) ; do \
29997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29998 done; \
29999 echo "Doing clean in zip" ; \
30000 (cd $(HOST_SUBDIR)/zip && \
30001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30003 "RANLIB=$${RANLIB}" \
30004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30005 clean) \
30006 || exit 1
30008 @endif zip
30010 .PHONY: maybe-distclean-zip distclean-zip
30011 maybe-distclean-zip:
30012 @if zip
30013 maybe-distclean-zip: distclean-zip
30015 distclean-zip:
30016 @: $(MAKE); $(unstage)
30017 @[ -f ./zip/Makefile ] || exit 0; \
30018 r=`${PWD_COMMAND}`; export r; \
30019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30020 $(HOST_EXPORTS) \
30021 for flag in $(EXTRA_HOST_FLAGS) ; do \
30022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30023 done; \
30024 echo "Doing distclean in zip" ; \
30025 (cd $(HOST_SUBDIR)/zip && \
30026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30028 "RANLIB=$${RANLIB}" \
30029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30030 distclean) \
30031 || exit 1
30033 @endif zip
30035 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
30036 maybe-maintainer-clean-zip:
30037 @if zip
30038 maybe-maintainer-clean-zip: maintainer-clean-zip
30040 maintainer-clean-zip:
30041 @: $(MAKE); $(unstage)
30042 @[ -f ./zip/Makefile ] || exit 0; \
30043 r=`${PWD_COMMAND}`; export r; \
30044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(HOST_EXPORTS) \
30046 for flag in $(EXTRA_HOST_FLAGS) ; do \
30047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30048 done; \
30049 echo "Doing maintainer-clean in zip" ; \
30050 (cd $(HOST_SUBDIR)/zip && \
30051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30053 "RANLIB=$${RANLIB}" \
30054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30055 maintainer-clean) \
30056 || exit 1
30058 @endif zip
30062 .PHONY: configure-zlib maybe-configure-zlib
30063 maybe-configure-zlib:
30064 @if gcc-bootstrap
30065 configure-zlib: stage_current
30066 @endif gcc-bootstrap
30067 @if zlib
30068 maybe-configure-zlib: configure-zlib
30069 configure-zlib:
30070 @r=`${PWD_COMMAND}`; export r; \
30071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30072 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30074 $(HOST_EXPORTS) \
30075 echo Configuring in $(HOST_SUBDIR)/zlib; \
30076 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30077 case $(srcdir) in \
30078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30079 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30081 esac; \
30082 srcdiroption="--srcdir=$${topdir}/zlib"; \
30083 libsrcdir="$$s/zlib"; \
30084 $(SHELL) $${libsrcdir}/configure \
30085 $(HOST_CONFIGARGS) $${srcdiroption} \
30086 || exit 1
30087 @endif zlib
30091 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30092 maybe-configure-stage1-zlib:
30093 @if zlib-bootstrap
30094 maybe-configure-stage1-zlib: configure-stage1-zlib
30095 configure-stage1-zlib:
30096 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30098 @r=`${PWD_COMMAND}`; export r; \
30099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30100 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30101 $(HOST_EXPORTS) \
30102 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
30103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30104 cd $(HOST_SUBDIR)/zlib || exit 1; \
30105 case $(srcdir) in \
30106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30107 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30109 esac; \
30110 srcdiroption="--srcdir=$${topdir}/zlib"; \
30111 libsrcdir="$$s/zlib"; \
30112 $(SHELL) $${libsrcdir}/configure \
30113 $(HOST_CONFIGARGS) $${srcdiroption} \
30115 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30116 @endif zlib-bootstrap
30118 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30119 maybe-configure-stage2-zlib:
30120 @if zlib-bootstrap
30121 maybe-configure-stage2-zlib: configure-stage2-zlib
30122 configure-stage2-zlib:
30123 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30125 @r=`${PWD_COMMAND}`; export r; \
30126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30127 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30128 $(HOST_EXPORTS) \
30129 $(POSTSTAGE1_HOST_EXPORTS) \
30130 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
30131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30132 cd $(HOST_SUBDIR)/zlib || exit 1; \
30133 case $(srcdir) in \
30134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30135 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30137 esac; \
30138 srcdiroption="--srcdir=$${topdir}/zlib"; \
30139 libsrcdir="$$s/zlib"; \
30140 $(SHELL) $${libsrcdir}/configure \
30141 $(HOST_CONFIGARGS) $${srcdiroption} \
30142 --with-build-libsubdir=$(HOST_SUBDIR) \
30143 @stage2_werror_flag@
30144 @endif zlib-bootstrap
30146 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30147 maybe-configure-stage3-zlib:
30148 @if zlib-bootstrap
30149 maybe-configure-stage3-zlib: configure-stage3-zlib
30150 configure-stage3-zlib:
30151 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30153 @r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30156 $(HOST_EXPORTS) \
30157 $(POSTSTAGE1_HOST_EXPORTS) \
30158 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
30159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30160 cd $(HOST_SUBDIR)/zlib || exit 1; \
30161 case $(srcdir) in \
30162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30163 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30165 esac; \
30166 srcdiroption="--srcdir=$${topdir}/zlib"; \
30167 libsrcdir="$$s/zlib"; \
30168 $(SHELL) $${libsrcdir}/configure \
30169 $(HOST_CONFIGARGS) $${srcdiroption} \
30170 --with-build-libsubdir=$(HOST_SUBDIR) \
30171 @stage2_werror_flag@
30172 @endif zlib-bootstrap
30174 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30175 maybe-configure-stage4-zlib:
30176 @if zlib-bootstrap
30177 maybe-configure-stage4-zlib: configure-stage4-zlib
30178 configure-stage4-zlib:
30179 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30181 @r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30184 $(HOST_EXPORTS) \
30185 $(POSTSTAGE1_HOST_EXPORTS) \
30186 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30188 cd $(HOST_SUBDIR)/zlib || exit 1; \
30189 case $(srcdir) in \
30190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30191 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30193 esac; \
30194 srcdiroption="--srcdir=$${topdir}/zlib"; \
30195 libsrcdir="$$s/zlib"; \
30196 $(SHELL) $${libsrcdir}/configure \
30197 $(HOST_CONFIGARGS) $${srcdiroption} \
30198 --with-build-libsubdir=$(HOST_SUBDIR) \
30199 @stage2_werror_flag@
30200 @endif zlib-bootstrap
30202 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30203 maybe-configure-stageprofile-zlib:
30204 @if zlib-bootstrap
30205 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30206 configure-stageprofile-zlib:
30207 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30209 @r=`${PWD_COMMAND}`; export r; \
30210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30211 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30212 $(HOST_EXPORTS) \
30213 $(POSTSTAGE1_HOST_EXPORTS) \
30214 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30216 cd $(HOST_SUBDIR)/zlib || exit 1; \
30217 case $(srcdir) in \
30218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30219 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30221 esac; \
30222 srcdiroption="--srcdir=$${topdir}/zlib"; \
30223 libsrcdir="$$s/zlib"; \
30224 $(SHELL) $${libsrcdir}/configure \
30225 $(HOST_CONFIGARGS) $${srcdiroption} \
30226 --with-build-libsubdir=$(HOST_SUBDIR) \
30227 @stage2_werror_flag@
30228 @endif zlib-bootstrap
30230 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30231 maybe-configure-stagefeedback-zlib:
30232 @if zlib-bootstrap
30233 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30234 configure-stagefeedback-zlib:
30235 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30237 @r=`${PWD_COMMAND}`; export r; \
30238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30239 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30240 $(HOST_EXPORTS) \
30241 $(POSTSTAGE1_HOST_EXPORTS) \
30242 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30244 cd $(HOST_SUBDIR)/zlib || exit 1; \
30245 case $(srcdir) in \
30246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30247 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30249 esac; \
30250 srcdiroption="--srcdir=$${topdir}/zlib"; \
30251 libsrcdir="$$s/zlib"; \
30252 $(SHELL) $${libsrcdir}/configure \
30253 $(HOST_CONFIGARGS) $${srcdiroption} \
30254 --with-build-libsubdir=$(HOST_SUBDIR) \
30255 @stage2_werror_flag@
30256 @endif zlib-bootstrap
30262 .PHONY: all-zlib maybe-all-zlib
30263 maybe-all-zlib:
30264 @if gcc-bootstrap
30265 all-zlib: stage_current
30266 @endif gcc-bootstrap
30267 @if zlib
30268 TARGET-zlib=all
30269 maybe-all-zlib: all-zlib
30270 all-zlib: configure-zlib
30271 @r=`${PWD_COMMAND}`; export r; \
30272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30273 $(HOST_EXPORTS) \
30274 (cd $(HOST_SUBDIR)/zlib && \
30275 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30276 @endif zlib
30280 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30281 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30282 maybe-all-stage1-zlib:
30283 maybe-clean-stage1-zlib:
30284 @if zlib-bootstrap
30285 maybe-all-stage1-zlib: all-stage1-zlib
30286 all-stage1: all-stage1-zlib
30287 TARGET-stage1-zlib = $(TARGET-zlib)
30288 all-stage1-zlib: configure-stage1-zlib
30289 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30290 @r=`${PWD_COMMAND}`; export r; \
30291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30292 $(HOST_EXPORTS) \
30293 cd $(HOST_SUBDIR)/zlib && \
30294 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30295 $(TARGET-stage1-zlib)
30297 maybe-clean-stage1-zlib: clean-stage1-zlib
30298 clean-stage1: clean-stage1-zlib
30299 clean-stage1-zlib:
30300 @if [ $(current_stage) = stage1 ]; then \
30301 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30302 else \
30303 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30304 $(MAKE) stage1-start; \
30305 fi; \
30306 cd $(HOST_SUBDIR)/zlib && \
30307 $(MAKE) $(FLAGS_TO_PASS) \
30308 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30309 @endif zlib-bootstrap
30312 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30313 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30314 maybe-all-stage2-zlib:
30315 maybe-clean-stage2-zlib:
30316 @if zlib-bootstrap
30317 maybe-all-stage2-zlib: all-stage2-zlib
30318 all-stage2: all-stage2-zlib
30319 TARGET-stage2-zlib = $(TARGET-zlib)
30320 all-stage2-zlib: configure-stage2-zlib
30321 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30322 @r=`${PWD_COMMAND}`; export r; \
30323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30324 $(HOST_EXPORTS) \
30325 $(POSTSTAGE1_HOST_EXPORTS) \
30326 cd $(HOST_SUBDIR)/zlib && \
30327 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30328 $(TARGET-stage2-zlib)
30330 maybe-clean-stage2-zlib: clean-stage2-zlib
30331 clean-stage2: clean-stage2-zlib
30332 clean-stage2-zlib:
30333 @if [ $(current_stage) = stage2 ]; then \
30334 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30335 else \
30336 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30337 $(MAKE) stage2-start; \
30338 fi; \
30339 cd $(HOST_SUBDIR)/zlib && \
30340 $(MAKE) $(FLAGS_TO_PASS) \
30341 $(POSTSTAGE1_FLAGS_TO_PASS) \
30342 clean
30343 @endif zlib-bootstrap
30346 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30347 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30348 maybe-all-stage3-zlib:
30349 maybe-clean-stage3-zlib:
30350 @if zlib-bootstrap
30351 maybe-all-stage3-zlib: all-stage3-zlib
30352 all-stage3: all-stage3-zlib
30353 TARGET-stage3-zlib = $(TARGET-zlib)
30354 all-stage3-zlib: configure-stage3-zlib
30355 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30356 @r=`${PWD_COMMAND}`; export r; \
30357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30358 $(HOST_EXPORTS) \
30359 $(POSTSTAGE1_HOST_EXPORTS) \
30360 cd $(HOST_SUBDIR)/zlib && \
30361 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30362 $(TARGET-stage3-zlib)
30364 maybe-clean-stage3-zlib: clean-stage3-zlib
30365 clean-stage3: clean-stage3-zlib
30366 clean-stage3-zlib:
30367 @if [ $(current_stage) = stage3 ]; then \
30368 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30369 else \
30370 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30371 $(MAKE) stage3-start; \
30372 fi; \
30373 cd $(HOST_SUBDIR)/zlib && \
30374 $(MAKE) $(FLAGS_TO_PASS) \
30375 $(POSTSTAGE1_FLAGS_TO_PASS) \
30376 clean
30377 @endif zlib-bootstrap
30380 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30381 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30382 maybe-all-stage4-zlib:
30383 maybe-clean-stage4-zlib:
30384 @if zlib-bootstrap
30385 maybe-all-stage4-zlib: all-stage4-zlib
30386 all-stage4: all-stage4-zlib
30387 TARGET-stage4-zlib = $(TARGET-zlib)
30388 all-stage4-zlib: configure-stage4-zlib
30389 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30390 @r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(HOST_EXPORTS) \
30393 $(POSTSTAGE1_HOST_EXPORTS) \
30394 cd $(HOST_SUBDIR)/zlib && \
30395 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30396 $(TARGET-stage4-zlib)
30398 maybe-clean-stage4-zlib: clean-stage4-zlib
30399 clean-stage4: clean-stage4-zlib
30400 clean-stage4-zlib:
30401 @if [ $(current_stage) = stage4 ]; then \
30402 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30403 else \
30404 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30405 $(MAKE) stage4-start; \
30406 fi; \
30407 cd $(HOST_SUBDIR)/zlib && \
30408 $(MAKE) $(FLAGS_TO_PASS) \
30409 $(POSTSTAGE1_FLAGS_TO_PASS) \
30410 clean
30411 @endif zlib-bootstrap
30414 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30415 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30416 maybe-all-stageprofile-zlib:
30417 maybe-clean-stageprofile-zlib:
30418 @if zlib-bootstrap
30419 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30420 all-stageprofile: all-stageprofile-zlib
30421 TARGET-stageprofile-zlib = $(TARGET-zlib)
30422 all-stageprofile-zlib: configure-stageprofile-zlib
30423 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30424 @r=`${PWD_COMMAND}`; export r; \
30425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30426 $(HOST_EXPORTS) \
30427 $(POSTSTAGE1_HOST_EXPORTS) \
30428 cd $(HOST_SUBDIR)/zlib && \
30429 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30430 $(TARGET-stageprofile-zlib)
30432 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30433 clean-stageprofile: clean-stageprofile-zlib
30434 clean-stageprofile-zlib:
30435 @if [ $(current_stage) = stageprofile ]; then \
30436 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30437 else \
30438 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30439 $(MAKE) stageprofile-start; \
30440 fi; \
30441 cd $(HOST_SUBDIR)/zlib && \
30442 $(MAKE) $(FLAGS_TO_PASS) \
30443 $(POSTSTAGE1_FLAGS_TO_PASS) \
30444 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30445 @endif zlib-bootstrap
30448 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30449 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30450 maybe-all-stagefeedback-zlib:
30451 maybe-clean-stagefeedback-zlib:
30452 @if zlib-bootstrap
30453 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30454 all-stagefeedback: all-stagefeedback-zlib
30455 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30456 all-stagefeedback-zlib: configure-stagefeedback-zlib
30457 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30458 @r=`${PWD_COMMAND}`; export r; \
30459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30460 $(HOST_EXPORTS) \
30461 $(POSTSTAGE1_HOST_EXPORTS) \
30462 cd $(HOST_SUBDIR)/zlib && \
30463 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30464 $(TARGET-stagefeedback-zlib)
30466 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30467 clean-stagefeedback: clean-stagefeedback-zlib
30468 clean-stagefeedback-zlib:
30469 @if [ $(current_stage) = stagefeedback ]; then \
30470 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30471 else \
30472 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30473 $(MAKE) stagefeedback-start; \
30474 fi; \
30475 cd $(HOST_SUBDIR)/zlib && \
30476 $(MAKE) $(FLAGS_TO_PASS) \
30477 $(POSTSTAGE1_FLAGS_TO_PASS) \
30478 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30479 @endif zlib-bootstrap
30485 .PHONY: check-zlib maybe-check-zlib
30486 maybe-check-zlib:
30487 @if zlib
30488 maybe-check-zlib: check-zlib
30490 check-zlib:
30492 @endif zlib
30494 .PHONY: install-zlib maybe-install-zlib
30495 maybe-install-zlib:
30496 @if zlib
30497 maybe-install-zlib: install-zlib
30499 install-zlib:
30501 @endif zlib
30503 # Other targets (info, dvi, pdf, etc.)
30505 .PHONY: maybe-info-zlib info-zlib
30506 maybe-info-zlib:
30507 @if zlib
30508 maybe-info-zlib: info-zlib
30510 info-zlib: \
30511 configure-zlib
30512 @[ -f ./zlib/Makefile ] || exit 0; \
30513 r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 $(HOST_EXPORTS) \
30516 for flag in $(EXTRA_HOST_FLAGS) ; do \
30517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30518 done; \
30519 echo "Doing info in zlib" ; \
30520 (cd $(HOST_SUBDIR)/zlib && \
30521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30523 "RANLIB=$${RANLIB}" \
30524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30525 info) \
30526 || exit 1
30528 @endif zlib
30530 .PHONY: maybe-dvi-zlib dvi-zlib
30531 maybe-dvi-zlib:
30532 @if zlib
30533 maybe-dvi-zlib: dvi-zlib
30535 dvi-zlib: \
30536 configure-zlib
30537 @[ -f ./zlib/Makefile ] || exit 0; \
30538 r=`${PWD_COMMAND}`; export r; \
30539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30540 $(HOST_EXPORTS) \
30541 for flag in $(EXTRA_HOST_FLAGS) ; do \
30542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30543 done; \
30544 echo "Doing dvi in zlib" ; \
30545 (cd $(HOST_SUBDIR)/zlib && \
30546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30548 "RANLIB=$${RANLIB}" \
30549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30550 dvi) \
30551 || exit 1
30553 @endif zlib
30555 .PHONY: maybe-pdf-zlib pdf-zlib
30556 maybe-pdf-zlib:
30557 @if zlib
30558 maybe-pdf-zlib: pdf-zlib
30560 pdf-zlib: \
30561 configure-zlib
30562 @[ -f ./zlib/Makefile ] || exit 0; \
30563 r=`${PWD_COMMAND}`; export r; \
30564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30565 $(HOST_EXPORTS) \
30566 for flag in $(EXTRA_HOST_FLAGS) ; do \
30567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30568 done; \
30569 echo "Doing pdf in zlib" ; \
30570 (cd $(HOST_SUBDIR)/zlib && \
30571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30573 "RANLIB=$${RANLIB}" \
30574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30575 pdf) \
30576 || exit 1
30578 @endif zlib
30580 .PHONY: maybe-html-zlib html-zlib
30581 maybe-html-zlib:
30582 @if zlib
30583 maybe-html-zlib: html-zlib
30585 html-zlib: \
30586 configure-zlib
30587 @[ -f ./zlib/Makefile ] || exit 0; \
30588 r=`${PWD_COMMAND}`; export r; \
30589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30590 $(HOST_EXPORTS) \
30591 for flag in $(EXTRA_HOST_FLAGS) ; do \
30592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30593 done; \
30594 echo "Doing html in zlib" ; \
30595 (cd $(HOST_SUBDIR)/zlib && \
30596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30598 "RANLIB=$${RANLIB}" \
30599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30600 html) \
30601 || exit 1
30603 @endif zlib
30605 .PHONY: maybe-TAGS-zlib TAGS-zlib
30606 maybe-TAGS-zlib:
30607 @if zlib
30608 maybe-TAGS-zlib: TAGS-zlib
30610 TAGS-zlib: \
30611 configure-zlib
30612 @[ -f ./zlib/Makefile ] || exit 0; \
30613 r=`${PWD_COMMAND}`; export r; \
30614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30615 $(HOST_EXPORTS) \
30616 for flag in $(EXTRA_HOST_FLAGS) ; do \
30617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30618 done; \
30619 echo "Doing TAGS in zlib" ; \
30620 (cd $(HOST_SUBDIR)/zlib && \
30621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30623 "RANLIB=$${RANLIB}" \
30624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30625 TAGS) \
30626 || exit 1
30628 @endif zlib
30630 .PHONY: maybe-install-info-zlib install-info-zlib
30631 maybe-install-info-zlib:
30632 @if zlib
30633 maybe-install-info-zlib: install-info-zlib
30635 install-info-zlib: \
30636 configure-zlib \
30637 info-zlib
30638 @[ -f ./zlib/Makefile ] || exit 0; \
30639 r=`${PWD_COMMAND}`; export r; \
30640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30641 $(HOST_EXPORTS) \
30642 for flag in $(EXTRA_HOST_FLAGS) ; do \
30643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30644 done; \
30645 echo "Doing install-info in zlib" ; \
30646 (cd $(HOST_SUBDIR)/zlib && \
30647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30649 "RANLIB=$${RANLIB}" \
30650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30651 install-info) \
30652 || exit 1
30654 @endif zlib
30656 .PHONY: maybe-install-html-zlib install-html-zlib
30657 maybe-install-html-zlib:
30658 @if zlib
30659 maybe-install-html-zlib: install-html-zlib
30661 install-html-zlib: \
30662 configure-zlib \
30663 html-zlib
30664 @[ -f ./zlib/Makefile ] || exit 0; \
30665 r=`${PWD_COMMAND}`; export r; \
30666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30667 $(HOST_EXPORTS) \
30668 for flag in $(EXTRA_HOST_FLAGS) ; do \
30669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30670 done; \
30671 echo "Doing install-html in zlib" ; \
30672 (cd $(HOST_SUBDIR)/zlib && \
30673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30675 "RANLIB=$${RANLIB}" \
30676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30677 install-html) \
30678 || exit 1
30680 @endif zlib
30682 .PHONY: maybe-installcheck-zlib installcheck-zlib
30683 maybe-installcheck-zlib:
30684 @if zlib
30685 maybe-installcheck-zlib: installcheck-zlib
30687 installcheck-zlib: \
30688 configure-zlib
30689 @[ -f ./zlib/Makefile ] || exit 0; \
30690 r=`${PWD_COMMAND}`; export r; \
30691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30692 $(HOST_EXPORTS) \
30693 for flag in $(EXTRA_HOST_FLAGS) ; do \
30694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30695 done; \
30696 echo "Doing installcheck in zlib" ; \
30697 (cd $(HOST_SUBDIR)/zlib && \
30698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30700 "RANLIB=$${RANLIB}" \
30701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30702 installcheck) \
30703 || exit 1
30705 @endif zlib
30707 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30708 maybe-mostlyclean-zlib:
30709 @if zlib
30710 maybe-mostlyclean-zlib: mostlyclean-zlib
30712 mostlyclean-zlib:
30713 @[ -f ./zlib/Makefile ] || exit 0; \
30714 r=`${PWD_COMMAND}`; export r; \
30715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30716 $(HOST_EXPORTS) \
30717 for flag in $(EXTRA_HOST_FLAGS) ; do \
30718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30719 done; \
30720 echo "Doing mostlyclean in zlib" ; \
30721 (cd $(HOST_SUBDIR)/zlib && \
30722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30724 "RANLIB=$${RANLIB}" \
30725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30726 mostlyclean) \
30727 || exit 1
30729 @endif zlib
30731 .PHONY: maybe-clean-zlib clean-zlib
30732 maybe-clean-zlib:
30733 @if zlib
30734 maybe-clean-zlib: clean-zlib
30736 clean-zlib:
30737 @[ -f ./zlib/Makefile ] || exit 0; \
30738 r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(HOST_EXPORTS) \
30741 for flag in $(EXTRA_HOST_FLAGS) ; do \
30742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30743 done; \
30744 echo "Doing clean in zlib" ; \
30745 (cd $(HOST_SUBDIR)/zlib && \
30746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30748 "RANLIB=$${RANLIB}" \
30749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30750 clean) \
30751 || exit 1
30753 @endif zlib
30755 .PHONY: maybe-distclean-zlib distclean-zlib
30756 maybe-distclean-zlib:
30757 @if zlib
30758 maybe-distclean-zlib: distclean-zlib
30760 distclean-zlib:
30761 @[ -f ./zlib/Makefile ] || exit 0; \
30762 r=`${PWD_COMMAND}`; export r; \
30763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30764 $(HOST_EXPORTS) \
30765 for flag in $(EXTRA_HOST_FLAGS) ; do \
30766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30767 done; \
30768 echo "Doing distclean in zlib" ; \
30769 (cd $(HOST_SUBDIR)/zlib && \
30770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30772 "RANLIB=$${RANLIB}" \
30773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30774 distclean) \
30775 || exit 1
30777 @endif zlib
30779 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30780 maybe-maintainer-clean-zlib:
30781 @if zlib
30782 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30784 maintainer-clean-zlib:
30785 @[ -f ./zlib/Makefile ] || exit 0; \
30786 r=`${PWD_COMMAND}`; export r; \
30787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30788 $(HOST_EXPORTS) \
30789 for flag in $(EXTRA_HOST_FLAGS) ; do \
30790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30791 done; \
30792 echo "Doing maintainer-clean in zlib" ; \
30793 (cd $(HOST_SUBDIR)/zlib && \
30794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30796 "RANLIB=$${RANLIB}" \
30797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30798 maintainer-clean) \
30799 || exit 1
30801 @endif zlib
30805 .PHONY: configure-gdb maybe-configure-gdb
30806 maybe-configure-gdb:
30807 @if gcc-bootstrap
30808 configure-gdb: stage_current
30809 @endif gcc-bootstrap
30810 @if gdb
30811 maybe-configure-gdb: configure-gdb
30812 configure-gdb:
30813 @: $(MAKE); $(unstage)
30814 @r=`${PWD_COMMAND}`; export r; \
30815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30816 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30818 $(HOST_EXPORTS) \
30819 echo Configuring in $(HOST_SUBDIR)/gdb; \
30820 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30821 case $(srcdir) in \
30822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30823 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30825 esac; \
30826 srcdiroption="--srcdir=$${topdir}/gdb"; \
30827 libsrcdir="$$s/gdb"; \
30828 $(SHELL) $${libsrcdir}/configure \
30829 $(HOST_CONFIGARGS) $${srcdiroption} \
30830 || exit 1
30831 @endif gdb
30837 .PHONY: all-gdb maybe-all-gdb
30838 maybe-all-gdb:
30839 @if gcc-bootstrap
30840 all-gdb: stage_current
30841 @endif gcc-bootstrap
30842 @if gdb
30843 TARGET-gdb=all
30844 maybe-all-gdb: all-gdb
30845 all-gdb: configure-gdb
30846 @: $(MAKE); $(unstage)
30847 @r=`${PWD_COMMAND}`; export r; \
30848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30849 $(HOST_EXPORTS) \
30850 (cd $(HOST_SUBDIR)/gdb && \
30851 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30852 @endif gdb
30857 .PHONY: check-gdb maybe-check-gdb
30858 maybe-check-gdb:
30859 @if gdb
30860 maybe-check-gdb: check-gdb
30862 check-gdb:
30863 @: $(MAKE); $(unstage)
30864 @r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(HOST_EXPORTS) \
30867 (cd $(HOST_SUBDIR)/gdb && \
30868 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30870 @endif gdb
30872 .PHONY: install-gdb maybe-install-gdb
30873 maybe-install-gdb:
30874 @if gdb
30875 maybe-install-gdb: install-gdb
30877 install-gdb: installdirs
30878 @: $(MAKE); $(unstage)
30879 @r=`${PWD_COMMAND}`; export r; \
30880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30881 $(HOST_EXPORTS) \
30882 (cd $(HOST_SUBDIR)/gdb && \
30883 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30885 @endif gdb
30887 # Other targets (info, dvi, pdf, etc.)
30889 .PHONY: maybe-info-gdb info-gdb
30890 maybe-info-gdb:
30891 @if gdb
30892 maybe-info-gdb: info-gdb
30894 info-gdb: \
30895 configure-gdb
30896 @: $(MAKE); $(unstage)
30897 @[ -f ./gdb/Makefile ] || exit 0; \
30898 r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(HOST_EXPORTS) \
30901 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30903 done; \
30904 echo "Doing info in gdb" ; \
30905 (cd $(HOST_SUBDIR)/gdb && \
30906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30908 "RANLIB=$${RANLIB}" \
30909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30910 info) \
30911 || exit 1
30913 @endif gdb
30915 .PHONY: maybe-dvi-gdb dvi-gdb
30916 maybe-dvi-gdb:
30917 @if gdb
30918 maybe-dvi-gdb: dvi-gdb
30920 dvi-gdb: \
30921 configure-gdb
30922 @: $(MAKE); $(unstage)
30923 @[ -f ./gdb/Makefile ] || exit 0; \
30924 r=`${PWD_COMMAND}`; export r; \
30925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30926 $(HOST_EXPORTS) \
30927 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30929 done; \
30930 echo "Doing dvi in gdb" ; \
30931 (cd $(HOST_SUBDIR)/gdb && \
30932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30934 "RANLIB=$${RANLIB}" \
30935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30936 dvi) \
30937 || exit 1
30939 @endif gdb
30941 .PHONY: maybe-pdf-gdb pdf-gdb
30942 maybe-pdf-gdb:
30943 @if gdb
30944 maybe-pdf-gdb: pdf-gdb
30946 pdf-gdb: \
30947 configure-gdb
30948 @: $(MAKE); $(unstage)
30949 @[ -f ./gdb/Makefile ] || exit 0; \
30950 r=`${PWD_COMMAND}`; export r; \
30951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30952 $(HOST_EXPORTS) \
30953 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30955 done; \
30956 echo "Doing pdf in gdb" ; \
30957 (cd $(HOST_SUBDIR)/gdb && \
30958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30960 "RANLIB=$${RANLIB}" \
30961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30962 pdf) \
30963 || exit 1
30965 @endif gdb
30967 .PHONY: maybe-html-gdb html-gdb
30968 maybe-html-gdb:
30969 @if gdb
30970 maybe-html-gdb: html-gdb
30972 html-gdb: \
30973 configure-gdb
30974 @: $(MAKE); $(unstage)
30975 @[ -f ./gdb/Makefile ] || exit 0; \
30976 r=`${PWD_COMMAND}`; export r; \
30977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30978 $(HOST_EXPORTS) \
30979 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30981 done; \
30982 echo "Doing html in gdb" ; \
30983 (cd $(HOST_SUBDIR)/gdb && \
30984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30986 "RANLIB=$${RANLIB}" \
30987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30988 html) \
30989 || exit 1
30991 @endif gdb
30993 .PHONY: maybe-TAGS-gdb TAGS-gdb
30994 maybe-TAGS-gdb:
30995 @if gdb
30996 maybe-TAGS-gdb: TAGS-gdb
30998 TAGS-gdb: \
30999 configure-gdb
31000 @: $(MAKE); $(unstage)
31001 @[ -f ./gdb/Makefile ] || exit 0; \
31002 r=`${PWD_COMMAND}`; export r; \
31003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31004 $(HOST_EXPORTS) \
31005 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31007 done; \
31008 echo "Doing TAGS in gdb" ; \
31009 (cd $(HOST_SUBDIR)/gdb && \
31010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31012 "RANLIB=$${RANLIB}" \
31013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31014 TAGS) \
31015 || exit 1
31017 @endif gdb
31019 .PHONY: maybe-install-info-gdb install-info-gdb
31020 maybe-install-info-gdb:
31021 @if gdb
31022 maybe-install-info-gdb: install-info-gdb
31024 install-info-gdb: \
31025 configure-gdb \
31026 info-gdb
31027 @: $(MAKE); $(unstage)
31028 @[ -f ./gdb/Makefile ] || exit 0; \
31029 r=`${PWD_COMMAND}`; export r; \
31030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31031 $(HOST_EXPORTS) \
31032 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31034 done; \
31035 echo "Doing install-info in gdb" ; \
31036 (cd $(HOST_SUBDIR)/gdb && \
31037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31039 "RANLIB=$${RANLIB}" \
31040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31041 install-info) \
31042 || exit 1
31044 @endif gdb
31046 .PHONY: maybe-install-html-gdb install-html-gdb
31047 maybe-install-html-gdb:
31048 @if gdb
31049 maybe-install-html-gdb: install-html-gdb
31051 install-html-gdb: \
31052 configure-gdb \
31053 html-gdb
31054 @: $(MAKE); $(unstage)
31055 @[ -f ./gdb/Makefile ] || exit 0; \
31056 r=`${PWD_COMMAND}`; export r; \
31057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31058 $(HOST_EXPORTS) \
31059 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31061 done; \
31062 echo "Doing install-html in gdb" ; \
31063 (cd $(HOST_SUBDIR)/gdb && \
31064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31066 "RANLIB=$${RANLIB}" \
31067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31068 install-html) \
31069 || exit 1
31071 @endif gdb
31073 .PHONY: maybe-installcheck-gdb installcheck-gdb
31074 maybe-installcheck-gdb:
31075 @if gdb
31076 maybe-installcheck-gdb: installcheck-gdb
31078 installcheck-gdb: \
31079 configure-gdb
31080 @: $(MAKE); $(unstage)
31081 @[ -f ./gdb/Makefile ] || exit 0; \
31082 r=`${PWD_COMMAND}`; export r; \
31083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31084 $(HOST_EXPORTS) \
31085 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31087 done; \
31088 echo "Doing installcheck in gdb" ; \
31089 (cd $(HOST_SUBDIR)/gdb && \
31090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31092 "RANLIB=$${RANLIB}" \
31093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31094 installcheck) \
31095 || exit 1
31097 @endif gdb
31099 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31100 maybe-mostlyclean-gdb:
31101 @if gdb
31102 maybe-mostlyclean-gdb: mostlyclean-gdb
31104 mostlyclean-gdb:
31105 @: $(MAKE); $(unstage)
31106 @[ -f ./gdb/Makefile ] || exit 0; \
31107 r=`${PWD_COMMAND}`; export r; \
31108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31109 $(HOST_EXPORTS) \
31110 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31112 done; \
31113 echo "Doing mostlyclean in gdb" ; \
31114 (cd $(HOST_SUBDIR)/gdb && \
31115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31117 "RANLIB=$${RANLIB}" \
31118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31119 mostlyclean) \
31120 || exit 1
31122 @endif gdb
31124 .PHONY: maybe-clean-gdb clean-gdb
31125 maybe-clean-gdb:
31126 @if gdb
31127 maybe-clean-gdb: clean-gdb
31129 clean-gdb:
31130 @: $(MAKE); $(unstage)
31131 @[ -f ./gdb/Makefile ] || exit 0; \
31132 r=`${PWD_COMMAND}`; export r; \
31133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31134 $(HOST_EXPORTS) \
31135 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31137 done; \
31138 echo "Doing clean in gdb" ; \
31139 (cd $(HOST_SUBDIR)/gdb && \
31140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31142 "RANLIB=$${RANLIB}" \
31143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31144 clean) \
31145 || exit 1
31147 @endif gdb
31149 .PHONY: maybe-distclean-gdb distclean-gdb
31150 maybe-distclean-gdb:
31151 @if gdb
31152 maybe-distclean-gdb: distclean-gdb
31154 distclean-gdb:
31155 @: $(MAKE); $(unstage)
31156 @[ -f ./gdb/Makefile ] || exit 0; \
31157 r=`${PWD_COMMAND}`; export r; \
31158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31159 $(HOST_EXPORTS) \
31160 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31162 done; \
31163 echo "Doing distclean in gdb" ; \
31164 (cd $(HOST_SUBDIR)/gdb && \
31165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31167 "RANLIB=$${RANLIB}" \
31168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31169 distclean) \
31170 || exit 1
31172 @endif gdb
31174 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31175 maybe-maintainer-clean-gdb:
31176 @if gdb
31177 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31179 maintainer-clean-gdb:
31180 @: $(MAKE); $(unstage)
31181 @[ -f ./gdb/Makefile ] || exit 0; \
31182 r=`${PWD_COMMAND}`; export r; \
31183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31184 $(HOST_EXPORTS) \
31185 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31187 done; \
31188 echo "Doing maintainer-clean in gdb" ; \
31189 (cd $(HOST_SUBDIR)/gdb && \
31190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31192 "RANLIB=$${RANLIB}" \
31193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31194 maintainer-clean) \
31195 || exit 1
31197 @endif gdb
31201 .PHONY: configure-expect maybe-configure-expect
31202 maybe-configure-expect:
31203 @if gcc-bootstrap
31204 configure-expect: stage_current
31205 @endif gcc-bootstrap
31206 @if expect
31207 maybe-configure-expect: configure-expect
31208 configure-expect:
31209 @: $(MAKE); $(unstage)
31210 @r=`${PWD_COMMAND}`; export r; \
31211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31212 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31214 $(HOST_EXPORTS) \
31215 echo Configuring in $(HOST_SUBDIR)/expect; \
31216 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31217 case $(srcdir) in \
31218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31219 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31221 esac; \
31222 srcdiroption="--srcdir=$${topdir}/expect"; \
31223 libsrcdir="$$s/expect"; \
31224 $(SHELL) $${libsrcdir}/configure \
31225 $(HOST_CONFIGARGS) $${srcdiroption} \
31226 || exit 1
31227 @endif expect
31233 .PHONY: all-expect maybe-all-expect
31234 maybe-all-expect:
31235 @if gcc-bootstrap
31236 all-expect: stage_current
31237 @endif gcc-bootstrap
31238 @if expect
31239 TARGET-expect=all
31240 maybe-all-expect: all-expect
31241 all-expect: configure-expect
31242 @: $(MAKE); $(unstage)
31243 @r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 $(HOST_EXPORTS) \
31246 (cd $(HOST_SUBDIR)/expect && \
31247 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31248 @endif expect
31253 .PHONY: check-expect maybe-check-expect
31254 maybe-check-expect:
31255 @if expect
31256 maybe-check-expect: check-expect
31258 check-expect:
31259 @: $(MAKE); $(unstage)
31260 @r=`${PWD_COMMAND}`; export r; \
31261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31262 $(HOST_EXPORTS) \
31263 (cd $(HOST_SUBDIR)/expect && \
31264 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31266 @endif expect
31268 .PHONY: install-expect maybe-install-expect
31269 maybe-install-expect:
31270 @if expect
31271 maybe-install-expect: install-expect
31273 install-expect: installdirs
31274 @: $(MAKE); $(unstage)
31275 @r=`${PWD_COMMAND}`; export r; \
31276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31277 $(HOST_EXPORTS) \
31278 (cd $(HOST_SUBDIR)/expect && \
31279 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31281 @endif expect
31283 # Other targets (info, dvi, pdf, etc.)
31285 .PHONY: maybe-info-expect info-expect
31286 maybe-info-expect:
31287 @if expect
31288 maybe-info-expect: info-expect
31290 info-expect: \
31291 configure-expect
31292 @: $(MAKE); $(unstage)
31293 @[ -f ./expect/Makefile ] || exit 0; \
31294 r=`${PWD_COMMAND}`; export r; \
31295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31296 $(HOST_EXPORTS) \
31297 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31299 done; \
31300 echo "Doing info in expect" ; \
31301 (cd $(HOST_SUBDIR)/expect && \
31302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31304 "RANLIB=$${RANLIB}" \
31305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31306 info) \
31307 || exit 1
31309 @endif expect
31311 .PHONY: maybe-dvi-expect dvi-expect
31312 maybe-dvi-expect:
31313 @if expect
31314 maybe-dvi-expect: dvi-expect
31316 dvi-expect: \
31317 configure-expect
31318 @: $(MAKE); $(unstage)
31319 @[ -f ./expect/Makefile ] || exit 0; \
31320 r=`${PWD_COMMAND}`; export r; \
31321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31322 $(HOST_EXPORTS) \
31323 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31325 done; \
31326 echo "Doing dvi in expect" ; \
31327 (cd $(HOST_SUBDIR)/expect && \
31328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31330 "RANLIB=$${RANLIB}" \
31331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31332 dvi) \
31333 || exit 1
31335 @endif expect
31337 .PHONY: maybe-pdf-expect pdf-expect
31338 maybe-pdf-expect:
31339 @if expect
31340 maybe-pdf-expect: pdf-expect
31342 pdf-expect: \
31343 configure-expect
31344 @: $(MAKE); $(unstage)
31345 @[ -f ./expect/Makefile ] || exit 0; \
31346 r=`${PWD_COMMAND}`; export r; \
31347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31348 $(HOST_EXPORTS) \
31349 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31351 done; \
31352 echo "Doing pdf in expect" ; \
31353 (cd $(HOST_SUBDIR)/expect && \
31354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31356 "RANLIB=$${RANLIB}" \
31357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31358 pdf) \
31359 || exit 1
31361 @endif expect
31363 .PHONY: maybe-html-expect html-expect
31364 maybe-html-expect:
31365 @if expect
31366 maybe-html-expect: html-expect
31368 html-expect: \
31369 configure-expect
31370 @: $(MAKE); $(unstage)
31371 @[ -f ./expect/Makefile ] || exit 0; \
31372 r=`${PWD_COMMAND}`; export r; \
31373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31374 $(HOST_EXPORTS) \
31375 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31377 done; \
31378 echo "Doing html in expect" ; \
31379 (cd $(HOST_SUBDIR)/expect && \
31380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31382 "RANLIB=$${RANLIB}" \
31383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31384 html) \
31385 || exit 1
31387 @endif expect
31389 .PHONY: maybe-TAGS-expect TAGS-expect
31390 maybe-TAGS-expect:
31391 @if expect
31392 maybe-TAGS-expect: TAGS-expect
31394 TAGS-expect: \
31395 configure-expect
31396 @: $(MAKE); $(unstage)
31397 @[ -f ./expect/Makefile ] || exit 0; \
31398 r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 $(HOST_EXPORTS) \
31401 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31403 done; \
31404 echo "Doing TAGS in expect" ; \
31405 (cd $(HOST_SUBDIR)/expect && \
31406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31408 "RANLIB=$${RANLIB}" \
31409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31410 TAGS) \
31411 || exit 1
31413 @endif expect
31415 .PHONY: maybe-install-info-expect install-info-expect
31416 maybe-install-info-expect:
31417 @if expect
31418 maybe-install-info-expect: install-info-expect
31420 install-info-expect: \
31421 configure-expect \
31422 info-expect
31423 @: $(MAKE); $(unstage)
31424 @[ -f ./expect/Makefile ] || exit 0; \
31425 r=`${PWD_COMMAND}`; export r; \
31426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31427 $(HOST_EXPORTS) \
31428 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31430 done; \
31431 echo "Doing install-info in expect" ; \
31432 (cd $(HOST_SUBDIR)/expect && \
31433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31435 "RANLIB=$${RANLIB}" \
31436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31437 install-info) \
31438 || exit 1
31440 @endif expect
31442 .PHONY: maybe-install-html-expect install-html-expect
31443 maybe-install-html-expect:
31444 @if expect
31445 maybe-install-html-expect: install-html-expect
31447 install-html-expect: \
31448 configure-expect \
31449 html-expect
31450 @: $(MAKE); $(unstage)
31451 @[ -f ./expect/Makefile ] || exit 0; \
31452 r=`${PWD_COMMAND}`; export r; \
31453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31454 $(HOST_EXPORTS) \
31455 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31457 done; \
31458 echo "Doing install-html in expect" ; \
31459 (cd $(HOST_SUBDIR)/expect && \
31460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31462 "RANLIB=$${RANLIB}" \
31463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31464 install-html) \
31465 || exit 1
31467 @endif expect
31469 .PHONY: maybe-installcheck-expect installcheck-expect
31470 maybe-installcheck-expect:
31471 @if expect
31472 maybe-installcheck-expect: installcheck-expect
31474 installcheck-expect: \
31475 configure-expect
31476 @: $(MAKE); $(unstage)
31477 @[ -f ./expect/Makefile ] || exit 0; \
31478 r=`${PWD_COMMAND}`; export r; \
31479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31480 $(HOST_EXPORTS) \
31481 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31483 done; \
31484 echo "Doing installcheck in expect" ; \
31485 (cd $(HOST_SUBDIR)/expect && \
31486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31488 "RANLIB=$${RANLIB}" \
31489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31490 installcheck) \
31491 || exit 1
31493 @endif expect
31495 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31496 maybe-mostlyclean-expect:
31497 @if expect
31498 maybe-mostlyclean-expect: mostlyclean-expect
31500 mostlyclean-expect:
31501 @: $(MAKE); $(unstage)
31502 @[ -f ./expect/Makefile ] || exit 0; \
31503 r=`${PWD_COMMAND}`; export r; \
31504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31505 $(HOST_EXPORTS) \
31506 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 echo "Doing mostlyclean in expect" ; \
31510 (cd $(HOST_SUBDIR)/expect && \
31511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31513 "RANLIB=$${RANLIB}" \
31514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31515 mostlyclean) \
31516 || exit 1
31518 @endif expect
31520 .PHONY: maybe-clean-expect clean-expect
31521 maybe-clean-expect:
31522 @if expect
31523 maybe-clean-expect: clean-expect
31525 clean-expect:
31526 @: $(MAKE); $(unstage)
31527 @[ -f ./expect/Makefile ] || exit 0; \
31528 r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(HOST_EXPORTS) \
31531 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 done; \
31534 echo "Doing clean in expect" ; \
31535 (cd $(HOST_SUBDIR)/expect && \
31536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31538 "RANLIB=$${RANLIB}" \
31539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31540 clean) \
31541 || exit 1
31543 @endif expect
31545 .PHONY: maybe-distclean-expect distclean-expect
31546 maybe-distclean-expect:
31547 @if expect
31548 maybe-distclean-expect: distclean-expect
31550 distclean-expect:
31551 @: $(MAKE); $(unstage)
31552 @[ -f ./expect/Makefile ] || exit 0; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(HOST_EXPORTS) \
31556 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31558 done; \
31559 echo "Doing distclean in expect" ; \
31560 (cd $(HOST_SUBDIR)/expect && \
31561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31563 "RANLIB=$${RANLIB}" \
31564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31565 distclean) \
31566 || exit 1
31568 @endif expect
31570 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31571 maybe-maintainer-clean-expect:
31572 @if expect
31573 maybe-maintainer-clean-expect: maintainer-clean-expect
31575 maintainer-clean-expect:
31576 @: $(MAKE); $(unstage)
31577 @[ -f ./expect/Makefile ] || exit 0; \
31578 r=`${PWD_COMMAND}`; export r; \
31579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31580 $(HOST_EXPORTS) \
31581 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 echo "Doing maintainer-clean in expect" ; \
31585 (cd $(HOST_SUBDIR)/expect && \
31586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31588 "RANLIB=$${RANLIB}" \
31589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31590 maintainer-clean) \
31591 || exit 1
31593 @endif expect
31597 .PHONY: configure-guile maybe-configure-guile
31598 maybe-configure-guile:
31599 @if gcc-bootstrap
31600 configure-guile: stage_current
31601 @endif gcc-bootstrap
31602 @if guile
31603 maybe-configure-guile: configure-guile
31604 configure-guile:
31605 @: $(MAKE); $(unstage)
31606 @r=`${PWD_COMMAND}`; export r; \
31607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31608 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31610 $(HOST_EXPORTS) \
31611 echo Configuring in $(HOST_SUBDIR)/guile; \
31612 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31613 case $(srcdir) in \
31614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31615 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31617 esac; \
31618 srcdiroption="--srcdir=$${topdir}/guile"; \
31619 libsrcdir="$$s/guile"; \
31620 $(SHELL) $${libsrcdir}/configure \
31621 $(HOST_CONFIGARGS) $${srcdiroption} \
31622 || exit 1
31623 @endif guile
31629 .PHONY: all-guile maybe-all-guile
31630 maybe-all-guile:
31631 @if gcc-bootstrap
31632 all-guile: stage_current
31633 @endif gcc-bootstrap
31634 @if guile
31635 TARGET-guile=all
31636 maybe-all-guile: all-guile
31637 all-guile: configure-guile
31638 @: $(MAKE); $(unstage)
31639 @r=`${PWD_COMMAND}`; export r; \
31640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31641 $(HOST_EXPORTS) \
31642 (cd $(HOST_SUBDIR)/guile && \
31643 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31644 @endif guile
31649 .PHONY: check-guile maybe-check-guile
31650 maybe-check-guile:
31651 @if guile
31652 maybe-check-guile: check-guile
31654 check-guile:
31655 @: $(MAKE); $(unstage)
31656 @r=`${PWD_COMMAND}`; export r; \
31657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31658 $(HOST_EXPORTS) \
31659 (cd $(HOST_SUBDIR)/guile && \
31660 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31662 @endif guile
31664 .PHONY: install-guile maybe-install-guile
31665 maybe-install-guile:
31666 @if guile
31667 maybe-install-guile: install-guile
31669 install-guile: installdirs
31670 @: $(MAKE); $(unstage)
31671 @r=`${PWD_COMMAND}`; export r; \
31672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31673 $(HOST_EXPORTS) \
31674 (cd $(HOST_SUBDIR)/guile && \
31675 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31677 @endif guile
31679 # Other targets (info, dvi, pdf, etc.)
31681 .PHONY: maybe-info-guile info-guile
31682 maybe-info-guile:
31683 @if guile
31684 maybe-info-guile: info-guile
31686 info-guile: \
31687 configure-guile
31688 @: $(MAKE); $(unstage)
31689 @[ -f ./guile/Makefile ] || exit 0; \
31690 r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(HOST_EXPORTS) \
31693 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31695 done; \
31696 echo "Doing info in guile" ; \
31697 (cd $(HOST_SUBDIR)/guile && \
31698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31700 "RANLIB=$${RANLIB}" \
31701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31702 info) \
31703 || exit 1
31705 @endif guile
31707 .PHONY: maybe-dvi-guile dvi-guile
31708 maybe-dvi-guile:
31709 @if guile
31710 maybe-dvi-guile: dvi-guile
31712 dvi-guile: \
31713 configure-guile
31714 @: $(MAKE); $(unstage)
31715 @[ -f ./guile/Makefile ] || exit 0; \
31716 r=`${PWD_COMMAND}`; export r; \
31717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31718 $(HOST_EXPORTS) \
31719 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31721 done; \
31722 echo "Doing dvi in guile" ; \
31723 (cd $(HOST_SUBDIR)/guile && \
31724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31726 "RANLIB=$${RANLIB}" \
31727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31728 dvi) \
31729 || exit 1
31731 @endif guile
31733 .PHONY: maybe-pdf-guile pdf-guile
31734 maybe-pdf-guile:
31735 @if guile
31736 maybe-pdf-guile: pdf-guile
31738 pdf-guile: \
31739 configure-guile
31740 @: $(MAKE); $(unstage)
31741 @[ -f ./guile/Makefile ] || exit 0; \
31742 r=`${PWD_COMMAND}`; export r; \
31743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31744 $(HOST_EXPORTS) \
31745 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31747 done; \
31748 echo "Doing pdf in guile" ; \
31749 (cd $(HOST_SUBDIR)/guile && \
31750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31752 "RANLIB=$${RANLIB}" \
31753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31754 pdf) \
31755 || exit 1
31757 @endif guile
31759 .PHONY: maybe-html-guile html-guile
31760 maybe-html-guile:
31761 @if guile
31762 maybe-html-guile: html-guile
31764 html-guile: \
31765 configure-guile
31766 @: $(MAKE); $(unstage)
31767 @[ -f ./guile/Makefile ] || exit 0; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(HOST_EXPORTS) \
31771 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31773 done; \
31774 echo "Doing html in guile" ; \
31775 (cd $(HOST_SUBDIR)/guile && \
31776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31778 "RANLIB=$${RANLIB}" \
31779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31780 html) \
31781 || exit 1
31783 @endif guile
31785 .PHONY: maybe-TAGS-guile TAGS-guile
31786 maybe-TAGS-guile:
31787 @if guile
31788 maybe-TAGS-guile: TAGS-guile
31790 TAGS-guile: \
31791 configure-guile
31792 @: $(MAKE); $(unstage)
31793 @[ -f ./guile/Makefile ] || exit 0; \
31794 r=`${PWD_COMMAND}`; export r; \
31795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31796 $(HOST_EXPORTS) \
31797 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31799 done; \
31800 echo "Doing TAGS in guile" ; \
31801 (cd $(HOST_SUBDIR)/guile && \
31802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31804 "RANLIB=$${RANLIB}" \
31805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31806 TAGS) \
31807 || exit 1
31809 @endif guile
31811 .PHONY: maybe-install-info-guile install-info-guile
31812 maybe-install-info-guile:
31813 @if guile
31814 maybe-install-info-guile: install-info-guile
31816 install-info-guile: \
31817 configure-guile \
31818 info-guile
31819 @: $(MAKE); $(unstage)
31820 @[ -f ./guile/Makefile ] || exit 0; \
31821 r=`${PWD_COMMAND}`; export r; \
31822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31823 $(HOST_EXPORTS) \
31824 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31826 done; \
31827 echo "Doing install-info in guile" ; \
31828 (cd $(HOST_SUBDIR)/guile && \
31829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31831 "RANLIB=$${RANLIB}" \
31832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31833 install-info) \
31834 || exit 1
31836 @endif guile
31838 .PHONY: maybe-install-html-guile install-html-guile
31839 maybe-install-html-guile:
31840 @if guile
31841 maybe-install-html-guile: install-html-guile
31843 install-html-guile: \
31844 configure-guile \
31845 html-guile
31846 @: $(MAKE); $(unstage)
31847 @[ -f ./guile/Makefile ] || exit 0; \
31848 r=`${PWD_COMMAND}`; export r; \
31849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31850 $(HOST_EXPORTS) \
31851 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31853 done; \
31854 echo "Doing install-html in guile" ; \
31855 (cd $(HOST_SUBDIR)/guile && \
31856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31858 "RANLIB=$${RANLIB}" \
31859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31860 install-html) \
31861 || exit 1
31863 @endif guile
31865 .PHONY: maybe-installcheck-guile installcheck-guile
31866 maybe-installcheck-guile:
31867 @if guile
31868 maybe-installcheck-guile: installcheck-guile
31870 installcheck-guile: \
31871 configure-guile
31872 @: $(MAKE); $(unstage)
31873 @[ -f ./guile/Makefile ] || exit 0; \
31874 r=`${PWD_COMMAND}`; export r; \
31875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31876 $(HOST_EXPORTS) \
31877 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31879 done; \
31880 echo "Doing installcheck in guile" ; \
31881 (cd $(HOST_SUBDIR)/guile && \
31882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31884 "RANLIB=$${RANLIB}" \
31885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31886 installcheck) \
31887 || exit 1
31889 @endif guile
31891 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31892 maybe-mostlyclean-guile:
31893 @if guile
31894 maybe-mostlyclean-guile: mostlyclean-guile
31896 mostlyclean-guile:
31897 @: $(MAKE); $(unstage)
31898 @[ -f ./guile/Makefile ] || exit 0; \
31899 r=`${PWD_COMMAND}`; export r; \
31900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31901 $(HOST_EXPORTS) \
31902 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31904 done; \
31905 echo "Doing mostlyclean in guile" ; \
31906 (cd $(HOST_SUBDIR)/guile && \
31907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31909 "RANLIB=$${RANLIB}" \
31910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31911 mostlyclean) \
31912 || exit 1
31914 @endif guile
31916 .PHONY: maybe-clean-guile clean-guile
31917 maybe-clean-guile:
31918 @if guile
31919 maybe-clean-guile: clean-guile
31921 clean-guile:
31922 @: $(MAKE); $(unstage)
31923 @[ -f ./guile/Makefile ] || exit 0; \
31924 r=`${PWD_COMMAND}`; export r; \
31925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31926 $(HOST_EXPORTS) \
31927 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31929 done; \
31930 echo "Doing clean in guile" ; \
31931 (cd $(HOST_SUBDIR)/guile && \
31932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31934 "RANLIB=$${RANLIB}" \
31935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31936 clean) \
31937 || exit 1
31939 @endif guile
31941 .PHONY: maybe-distclean-guile distclean-guile
31942 maybe-distclean-guile:
31943 @if guile
31944 maybe-distclean-guile: distclean-guile
31946 distclean-guile:
31947 @: $(MAKE); $(unstage)
31948 @[ -f ./guile/Makefile ] || exit 0; \
31949 r=`${PWD_COMMAND}`; export r; \
31950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31951 $(HOST_EXPORTS) \
31952 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31954 done; \
31955 echo "Doing distclean in guile" ; \
31956 (cd $(HOST_SUBDIR)/guile && \
31957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31959 "RANLIB=$${RANLIB}" \
31960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31961 distclean) \
31962 || exit 1
31964 @endif guile
31966 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
31967 maybe-maintainer-clean-guile:
31968 @if guile
31969 maybe-maintainer-clean-guile: maintainer-clean-guile
31971 maintainer-clean-guile:
31972 @: $(MAKE); $(unstage)
31973 @[ -f ./guile/Makefile ] || exit 0; \
31974 r=`${PWD_COMMAND}`; export r; \
31975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31976 $(HOST_EXPORTS) \
31977 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31979 done; \
31980 echo "Doing maintainer-clean in guile" ; \
31981 (cd $(HOST_SUBDIR)/guile && \
31982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31984 "RANLIB=$${RANLIB}" \
31985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31986 maintainer-clean) \
31987 || exit 1
31989 @endif guile
31993 .PHONY: configure-tk maybe-configure-tk
31994 maybe-configure-tk:
31995 @if gcc-bootstrap
31996 configure-tk: stage_current
31997 @endif gcc-bootstrap
31998 @if tk
31999 maybe-configure-tk: configure-tk
32000 configure-tk:
32001 @: $(MAKE); $(unstage)
32002 @r=`${PWD_COMMAND}`; export r; \
32003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32004 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
32006 $(HOST_EXPORTS) \
32007 echo Configuring in $(HOST_SUBDIR)/tk; \
32008 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32009 case $(srcdir) in \
32010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32011 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32013 esac; \
32014 srcdiroption="--srcdir=$${topdir}/tk"; \
32015 libsrcdir="$$s/tk"; \
32016 $(SHELL) $${libsrcdir}/configure \
32017 $(HOST_CONFIGARGS) $${srcdiroption} \
32018 || exit 1
32019 @endif tk
32025 .PHONY: all-tk maybe-all-tk
32026 maybe-all-tk:
32027 @if gcc-bootstrap
32028 all-tk: stage_current
32029 @endif gcc-bootstrap
32030 @if tk
32031 TARGET-tk=all
32032 maybe-all-tk: all-tk
32033 all-tk: configure-tk
32034 @: $(MAKE); $(unstage)
32035 @r=`${PWD_COMMAND}`; export r; \
32036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32037 $(HOST_EXPORTS) \
32038 (cd $(HOST_SUBDIR)/tk && \
32039 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
32040 @endif tk
32045 .PHONY: check-tk maybe-check-tk
32046 maybe-check-tk:
32047 @if tk
32048 maybe-check-tk: check-tk
32050 check-tk:
32051 @: $(MAKE); $(unstage)
32052 @r=`${PWD_COMMAND}`; export r; \
32053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32054 $(HOST_EXPORTS) \
32055 (cd $(HOST_SUBDIR)/tk && \
32056 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32058 @endif tk
32060 .PHONY: install-tk maybe-install-tk
32061 maybe-install-tk:
32062 @if tk
32063 maybe-install-tk: install-tk
32065 install-tk: installdirs
32066 @: $(MAKE); $(unstage)
32067 @r=`${PWD_COMMAND}`; export r; \
32068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32069 $(HOST_EXPORTS) \
32070 (cd $(HOST_SUBDIR)/tk && \
32071 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32073 @endif tk
32075 # Other targets (info, dvi, pdf, etc.)
32077 .PHONY: maybe-info-tk info-tk
32078 maybe-info-tk:
32079 @if tk
32080 maybe-info-tk: info-tk
32082 info-tk: \
32083 configure-tk
32084 @: $(MAKE); $(unstage)
32085 @[ -f ./tk/Makefile ] || exit 0; \
32086 r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(HOST_EXPORTS) \
32089 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32091 done; \
32092 echo "Doing info in tk" ; \
32093 (cd $(HOST_SUBDIR)/tk && \
32094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32096 "RANLIB=$${RANLIB}" \
32097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32098 info) \
32099 || exit 1
32101 @endif tk
32103 .PHONY: maybe-dvi-tk dvi-tk
32104 maybe-dvi-tk:
32105 @if tk
32106 maybe-dvi-tk: dvi-tk
32108 dvi-tk: \
32109 configure-tk
32110 @: $(MAKE); $(unstage)
32111 @[ -f ./tk/Makefile ] || exit 0; \
32112 r=`${PWD_COMMAND}`; export r; \
32113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32114 $(HOST_EXPORTS) \
32115 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32117 done; \
32118 echo "Doing dvi in tk" ; \
32119 (cd $(HOST_SUBDIR)/tk && \
32120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32122 "RANLIB=$${RANLIB}" \
32123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32124 dvi) \
32125 || exit 1
32127 @endif tk
32129 .PHONY: maybe-pdf-tk pdf-tk
32130 maybe-pdf-tk:
32131 @if tk
32132 maybe-pdf-tk: pdf-tk
32134 pdf-tk: \
32135 configure-tk
32136 @: $(MAKE); $(unstage)
32137 @[ -f ./tk/Makefile ] || exit 0; \
32138 r=`${PWD_COMMAND}`; export r; \
32139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32140 $(HOST_EXPORTS) \
32141 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32143 done; \
32144 echo "Doing pdf in tk" ; \
32145 (cd $(HOST_SUBDIR)/tk && \
32146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32148 "RANLIB=$${RANLIB}" \
32149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32150 pdf) \
32151 || exit 1
32153 @endif tk
32155 .PHONY: maybe-html-tk html-tk
32156 maybe-html-tk:
32157 @if tk
32158 maybe-html-tk: html-tk
32160 html-tk: \
32161 configure-tk
32162 @: $(MAKE); $(unstage)
32163 @[ -f ./tk/Makefile ] || exit 0; \
32164 r=`${PWD_COMMAND}`; export r; \
32165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32166 $(HOST_EXPORTS) \
32167 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32169 done; \
32170 echo "Doing html in tk" ; \
32171 (cd $(HOST_SUBDIR)/tk && \
32172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32174 "RANLIB=$${RANLIB}" \
32175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32176 html) \
32177 || exit 1
32179 @endif tk
32181 .PHONY: maybe-TAGS-tk TAGS-tk
32182 maybe-TAGS-tk:
32183 @if tk
32184 maybe-TAGS-tk: TAGS-tk
32186 TAGS-tk: \
32187 configure-tk
32188 @: $(MAKE); $(unstage)
32189 @[ -f ./tk/Makefile ] || exit 0; \
32190 r=`${PWD_COMMAND}`; export r; \
32191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32192 $(HOST_EXPORTS) \
32193 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32195 done; \
32196 echo "Doing TAGS in tk" ; \
32197 (cd $(HOST_SUBDIR)/tk && \
32198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32200 "RANLIB=$${RANLIB}" \
32201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32202 TAGS) \
32203 || exit 1
32205 @endif tk
32207 .PHONY: maybe-install-info-tk install-info-tk
32208 maybe-install-info-tk:
32209 @if tk
32210 maybe-install-info-tk: install-info-tk
32212 install-info-tk: \
32213 configure-tk \
32214 info-tk
32215 @: $(MAKE); $(unstage)
32216 @[ -f ./tk/Makefile ] || exit 0; \
32217 r=`${PWD_COMMAND}`; export r; \
32218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32219 $(HOST_EXPORTS) \
32220 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32222 done; \
32223 echo "Doing install-info in tk" ; \
32224 (cd $(HOST_SUBDIR)/tk && \
32225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32227 "RANLIB=$${RANLIB}" \
32228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32229 install-info) \
32230 || exit 1
32232 @endif tk
32234 .PHONY: maybe-install-html-tk install-html-tk
32235 maybe-install-html-tk:
32236 @if tk
32237 maybe-install-html-tk: install-html-tk
32239 install-html-tk: \
32240 configure-tk \
32241 html-tk
32242 @: $(MAKE); $(unstage)
32243 @[ -f ./tk/Makefile ] || exit 0; \
32244 r=`${PWD_COMMAND}`; export r; \
32245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32246 $(HOST_EXPORTS) \
32247 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32249 done; \
32250 echo "Doing install-html in tk" ; \
32251 (cd $(HOST_SUBDIR)/tk && \
32252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32254 "RANLIB=$${RANLIB}" \
32255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32256 install-html) \
32257 || exit 1
32259 @endif tk
32261 .PHONY: maybe-installcheck-tk installcheck-tk
32262 maybe-installcheck-tk:
32263 @if tk
32264 maybe-installcheck-tk: installcheck-tk
32266 installcheck-tk: \
32267 configure-tk
32268 @: $(MAKE); $(unstage)
32269 @[ -f ./tk/Makefile ] || exit 0; \
32270 r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(HOST_EXPORTS) \
32273 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32275 done; \
32276 echo "Doing installcheck in tk" ; \
32277 (cd $(HOST_SUBDIR)/tk && \
32278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32280 "RANLIB=$${RANLIB}" \
32281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32282 installcheck) \
32283 || exit 1
32285 @endif tk
32287 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32288 maybe-mostlyclean-tk:
32289 @if tk
32290 maybe-mostlyclean-tk: mostlyclean-tk
32292 mostlyclean-tk:
32293 @: $(MAKE); $(unstage)
32294 @[ -f ./tk/Makefile ] || exit 0; \
32295 r=`${PWD_COMMAND}`; export r; \
32296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32297 $(HOST_EXPORTS) \
32298 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32300 done; \
32301 echo "Doing mostlyclean in tk" ; \
32302 (cd $(HOST_SUBDIR)/tk && \
32303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32305 "RANLIB=$${RANLIB}" \
32306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32307 mostlyclean) \
32308 || exit 1
32310 @endif tk
32312 .PHONY: maybe-clean-tk clean-tk
32313 maybe-clean-tk:
32314 @if tk
32315 maybe-clean-tk: clean-tk
32317 clean-tk:
32318 @: $(MAKE); $(unstage)
32319 @[ -f ./tk/Makefile ] || exit 0; \
32320 r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 $(HOST_EXPORTS) \
32323 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32325 done; \
32326 echo "Doing clean in tk" ; \
32327 (cd $(HOST_SUBDIR)/tk && \
32328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32330 "RANLIB=$${RANLIB}" \
32331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32332 clean) \
32333 || exit 1
32335 @endif tk
32337 .PHONY: maybe-distclean-tk distclean-tk
32338 maybe-distclean-tk:
32339 @if tk
32340 maybe-distclean-tk: distclean-tk
32342 distclean-tk:
32343 @: $(MAKE); $(unstage)
32344 @[ -f ./tk/Makefile ] || exit 0; \
32345 r=`${PWD_COMMAND}`; export r; \
32346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32347 $(HOST_EXPORTS) \
32348 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32350 done; \
32351 echo "Doing distclean in tk" ; \
32352 (cd $(HOST_SUBDIR)/tk && \
32353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32355 "RANLIB=$${RANLIB}" \
32356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32357 distclean) \
32358 || exit 1
32360 @endif tk
32362 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32363 maybe-maintainer-clean-tk:
32364 @if tk
32365 maybe-maintainer-clean-tk: maintainer-clean-tk
32367 maintainer-clean-tk:
32368 @: $(MAKE); $(unstage)
32369 @[ -f ./tk/Makefile ] || exit 0; \
32370 r=`${PWD_COMMAND}`; export r; \
32371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32372 $(HOST_EXPORTS) \
32373 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32375 done; \
32376 echo "Doing maintainer-clean in tk" ; \
32377 (cd $(HOST_SUBDIR)/tk && \
32378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32380 "RANLIB=$${RANLIB}" \
32381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32382 maintainer-clean) \
32383 || exit 1
32385 @endif tk
32389 .PHONY: configure-libtermcap maybe-configure-libtermcap
32390 maybe-configure-libtermcap:
32391 @if gcc-bootstrap
32392 configure-libtermcap: stage_current
32393 @endif gcc-bootstrap
32394 @if libtermcap
32395 maybe-configure-libtermcap: configure-libtermcap
32396 configure-libtermcap:
32397 @: $(MAKE); $(unstage)
32398 @r=`${PWD_COMMAND}`; export r; \
32399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32400 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32402 $(HOST_EXPORTS) \
32403 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32404 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32405 case $(srcdir) in \
32406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32407 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32409 esac; \
32410 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32411 libsrcdir="$$s/libtermcap"; \
32412 $(SHELL) $${libsrcdir}/configure \
32413 $(HOST_CONFIGARGS) $${srcdiroption} \
32414 || exit 1
32415 @endif libtermcap
32421 .PHONY: all-libtermcap maybe-all-libtermcap
32422 maybe-all-libtermcap:
32423 @if gcc-bootstrap
32424 all-libtermcap: stage_current
32425 @endif gcc-bootstrap
32426 @if libtermcap
32427 TARGET-libtermcap=all
32428 maybe-all-libtermcap: all-libtermcap
32429 all-libtermcap: configure-libtermcap
32430 @: $(MAKE); $(unstage)
32431 @r=`${PWD_COMMAND}`; export r; \
32432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32433 $(HOST_EXPORTS) \
32434 (cd $(HOST_SUBDIR)/libtermcap && \
32435 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32436 @endif libtermcap
32441 .PHONY: check-libtermcap maybe-check-libtermcap
32442 maybe-check-libtermcap:
32443 @if libtermcap
32444 maybe-check-libtermcap: check-libtermcap
32446 check-libtermcap:
32448 @endif libtermcap
32450 .PHONY: install-libtermcap maybe-install-libtermcap
32451 maybe-install-libtermcap:
32452 @if libtermcap
32453 maybe-install-libtermcap: install-libtermcap
32455 install-libtermcap: installdirs
32456 @: $(MAKE); $(unstage)
32457 @r=`${PWD_COMMAND}`; export r; \
32458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32459 $(HOST_EXPORTS) \
32460 (cd $(HOST_SUBDIR)/libtermcap && \
32461 $(MAKE) $(FLAGS_TO_PASS) install)
32463 @endif libtermcap
32465 # Other targets (info, dvi, pdf, etc.)
32467 .PHONY: maybe-info-libtermcap info-libtermcap
32468 maybe-info-libtermcap:
32469 @if libtermcap
32470 maybe-info-libtermcap: info-libtermcap
32472 info-libtermcap: \
32473 configure-libtermcap
32474 @: $(MAKE); $(unstage)
32475 @[ -f ./libtermcap/Makefile ] || exit 0; \
32476 r=`${PWD_COMMAND}`; export r; \
32477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32478 $(HOST_EXPORTS) \
32479 for flag in $(EXTRA_HOST_FLAGS) ; do \
32480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32481 done; \
32482 echo "Doing info in libtermcap" ; \
32483 (cd $(HOST_SUBDIR)/libtermcap && \
32484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32486 "RANLIB=$${RANLIB}" \
32487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32488 info) \
32489 || exit 1
32491 @endif libtermcap
32493 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32494 maybe-dvi-libtermcap:
32495 @if libtermcap
32496 maybe-dvi-libtermcap: dvi-libtermcap
32498 dvi-libtermcap: \
32499 configure-libtermcap
32500 @: $(MAKE); $(unstage)
32501 @[ -f ./libtermcap/Makefile ] || exit 0; \
32502 r=`${PWD_COMMAND}`; export r; \
32503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32504 $(HOST_EXPORTS) \
32505 for flag in $(EXTRA_HOST_FLAGS) ; do \
32506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32507 done; \
32508 echo "Doing dvi in libtermcap" ; \
32509 (cd $(HOST_SUBDIR)/libtermcap && \
32510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32512 "RANLIB=$${RANLIB}" \
32513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32514 dvi) \
32515 || exit 1
32517 @endif libtermcap
32519 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32520 maybe-pdf-libtermcap:
32521 @if libtermcap
32522 maybe-pdf-libtermcap: pdf-libtermcap
32524 pdf-libtermcap: \
32525 configure-libtermcap
32526 @: $(MAKE); $(unstage)
32527 @[ -f ./libtermcap/Makefile ] || exit 0; \
32528 r=`${PWD_COMMAND}`; export r; \
32529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32530 $(HOST_EXPORTS) \
32531 for flag in $(EXTRA_HOST_FLAGS) ; do \
32532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32533 done; \
32534 echo "Doing pdf in libtermcap" ; \
32535 (cd $(HOST_SUBDIR)/libtermcap && \
32536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32538 "RANLIB=$${RANLIB}" \
32539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32540 pdf) \
32541 || exit 1
32543 @endif libtermcap
32545 .PHONY: maybe-html-libtermcap html-libtermcap
32546 maybe-html-libtermcap:
32547 @if libtermcap
32548 maybe-html-libtermcap: html-libtermcap
32550 html-libtermcap: \
32551 configure-libtermcap
32552 @: $(MAKE); $(unstage)
32553 @[ -f ./libtermcap/Makefile ] || exit 0; \
32554 r=`${PWD_COMMAND}`; export r; \
32555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32556 $(HOST_EXPORTS) \
32557 for flag in $(EXTRA_HOST_FLAGS) ; do \
32558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32559 done; \
32560 echo "Doing html in libtermcap" ; \
32561 (cd $(HOST_SUBDIR)/libtermcap && \
32562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32564 "RANLIB=$${RANLIB}" \
32565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32566 html) \
32567 || exit 1
32569 @endif libtermcap
32571 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32572 maybe-TAGS-libtermcap:
32573 @if libtermcap
32574 maybe-TAGS-libtermcap: TAGS-libtermcap
32576 TAGS-libtermcap: \
32577 configure-libtermcap
32578 @: $(MAKE); $(unstage)
32579 @[ -f ./libtermcap/Makefile ] || exit 0; \
32580 r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(HOST_EXPORTS) \
32583 for flag in $(EXTRA_HOST_FLAGS) ; do \
32584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32585 done; \
32586 echo "Doing TAGS in libtermcap" ; \
32587 (cd $(HOST_SUBDIR)/libtermcap && \
32588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32590 "RANLIB=$${RANLIB}" \
32591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32592 TAGS) \
32593 || exit 1
32595 @endif libtermcap
32597 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32598 maybe-install-info-libtermcap:
32599 @if libtermcap
32600 maybe-install-info-libtermcap: install-info-libtermcap
32602 install-info-libtermcap: \
32603 configure-libtermcap \
32604 info-libtermcap
32605 @: $(MAKE); $(unstage)
32606 @[ -f ./libtermcap/Makefile ] || exit 0; \
32607 r=`${PWD_COMMAND}`; export r; \
32608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32609 $(HOST_EXPORTS) \
32610 for flag in $(EXTRA_HOST_FLAGS) ; do \
32611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32612 done; \
32613 echo "Doing install-info in libtermcap" ; \
32614 (cd $(HOST_SUBDIR)/libtermcap && \
32615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32617 "RANLIB=$${RANLIB}" \
32618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32619 install-info) \
32620 || exit 1
32622 @endif libtermcap
32624 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32625 maybe-install-html-libtermcap:
32626 @if libtermcap
32627 maybe-install-html-libtermcap: install-html-libtermcap
32629 install-html-libtermcap: \
32630 configure-libtermcap \
32631 html-libtermcap
32632 @: $(MAKE); $(unstage)
32633 @[ -f ./libtermcap/Makefile ] || exit 0; \
32634 r=`${PWD_COMMAND}`; export r; \
32635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32636 $(HOST_EXPORTS) \
32637 for flag in $(EXTRA_HOST_FLAGS) ; do \
32638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32639 done; \
32640 echo "Doing install-html in libtermcap" ; \
32641 (cd $(HOST_SUBDIR)/libtermcap && \
32642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32644 "RANLIB=$${RANLIB}" \
32645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32646 install-html) \
32647 || exit 1
32649 @endif libtermcap
32651 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32652 maybe-installcheck-libtermcap:
32653 @if libtermcap
32654 maybe-installcheck-libtermcap: installcheck-libtermcap
32656 installcheck-libtermcap: \
32657 configure-libtermcap
32658 @: $(MAKE); $(unstage)
32659 @[ -f ./libtermcap/Makefile ] || exit 0; \
32660 r=`${PWD_COMMAND}`; export r; \
32661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32662 $(HOST_EXPORTS) \
32663 for flag in $(EXTRA_HOST_FLAGS) ; do \
32664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32665 done; \
32666 echo "Doing installcheck in libtermcap" ; \
32667 (cd $(HOST_SUBDIR)/libtermcap && \
32668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32670 "RANLIB=$${RANLIB}" \
32671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32672 installcheck) \
32673 || exit 1
32675 @endif libtermcap
32677 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32678 maybe-mostlyclean-libtermcap:
32679 @if libtermcap
32680 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32682 # libtermcap doesn't support mostlyclean.
32683 mostlyclean-libtermcap:
32685 @endif libtermcap
32687 .PHONY: maybe-clean-libtermcap clean-libtermcap
32688 maybe-clean-libtermcap:
32689 @if libtermcap
32690 maybe-clean-libtermcap: clean-libtermcap
32692 # libtermcap doesn't support clean.
32693 clean-libtermcap:
32695 @endif libtermcap
32697 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32698 maybe-distclean-libtermcap:
32699 @if libtermcap
32700 maybe-distclean-libtermcap: distclean-libtermcap
32702 # libtermcap doesn't support distclean.
32703 distclean-libtermcap:
32705 @endif libtermcap
32707 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32708 maybe-maintainer-clean-libtermcap:
32709 @if libtermcap
32710 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32712 # libtermcap doesn't support maintainer-clean.
32713 maintainer-clean-libtermcap:
32715 @endif libtermcap
32719 .PHONY: configure-utils maybe-configure-utils
32720 maybe-configure-utils:
32721 @if gcc-bootstrap
32722 configure-utils: stage_current
32723 @endif gcc-bootstrap
32724 @if utils
32725 maybe-configure-utils: configure-utils
32726 configure-utils:
32727 @: $(MAKE); $(unstage)
32728 @r=`${PWD_COMMAND}`; export r; \
32729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32730 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32732 $(HOST_EXPORTS) \
32733 echo Configuring in $(HOST_SUBDIR)/utils; \
32734 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32735 case $(srcdir) in \
32736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32737 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32739 esac; \
32740 srcdiroption="--srcdir=$${topdir}/utils"; \
32741 libsrcdir="$$s/utils"; \
32742 $(SHELL) $${libsrcdir}/configure \
32743 $(HOST_CONFIGARGS) $${srcdiroption} \
32744 || exit 1
32745 @endif utils
32751 .PHONY: all-utils maybe-all-utils
32752 maybe-all-utils:
32753 @if gcc-bootstrap
32754 all-utils: stage_current
32755 @endif gcc-bootstrap
32756 @if utils
32757 TARGET-utils=all
32758 maybe-all-utils: all-utils
32759 all-utils: configure-utils
32760 @: $(MAKE); $(unstage)
32761 @r=`${PWD_COMMAND}`; export r; \
32762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32763 $(HOST_EXPORTS) \
32764 (cd $(HOST_SUBDIR)/utils && \
32765 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32766 @endif utils
32771 .PHONY: check-utils maybe-check-utils
32772 maybe-check-utils:
32773 @if utils
32774 maybe-check-utils: check-utils
32776 check-utils:
32778 @endif utils
32780 .PHONY: install-utils maybe-install-utils
32781 maybe-install-utils:
32782 @if utils
32783 maybe-install-utils: install-utils
32785 install-utils: installdirs
32786 @: $(MAKE); $(unstage)
32787 @r=`${PWD_COMMAND}`; export r; \
32788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32789 $(HOST_EXPORTS) \
32790 (cd $(HOST_SUBDIR)/utils && \
32791 $(MAKE) $(FLAGS_TO_PASS) install)
32793 @endif utils
32795 # Other targets (info, dvi, pdf, etc.)
32797 .PHONY: maybe-info-utils info-utils
32798 maybe-info-utils:
32799 @if utils
32800 maybe-info-utils: info-utils
32802 info-utils: \
32803 configure-utils
32804 @: $(MAKE); $(unstage)
32805 @[ -f ./utils/Makefile ] || exit 0; \
32806 r=`${PWD_COMMAND}`; export r; \
32807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32808 $(HOST_EXPORTS) \
32809 for flag in $(EXTRA_HOST_FLAGS) ; do \
32810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32811 done; \
32812 echo "Doing info in utils" ; \
32813 (cd $(HOST_SUBDIR)/utils && \
32814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32816 "RANLIB=$${RANLIB}" \
32817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32818 info) \
32819 || exit 1
32821 @endif utils
32823 .PHONY: maybe-dvi-utils dvi-utils
32824 maybe-dvi-utils:
32825 @if utils
32826 maybe-dvi-utils: dvi-utils
32828 dvi-utils: \
32829 configure-utils
32830 @: $(MAKE); $(unstage)
32831 @[ -f ./utils/Makefile ] || exit 0; \
32832 r=`${PWD_COMMAND}`; export r; \
32833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32834 $(HOST_EXPORTS) \
32835 for flag in $(EXTRA_HOST_FLAGS) ; do \
32836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32837 done; \
32838 echo "Doing dvi in utils" ; \
32839 (cd $(HOST_SUBDIR)/utils && \
32840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32842 "RANLIB=$${RANLIB}" \
32843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32844 dvi) \
32845 || exit 1
32847 @endif utils
32849 .PHONY: maybe-pdf-utils pdf-utils
32850 maybe-pdf-utils:
32851 @if utils
32852 maybe-pdf-utils: pdf-utils
32854 pdf-utils: \
32855 configure-utils
32856 @: $(MAKE); $(unstage)
32857 @[ -f ./utils/Makefile ] || exit 0; \
32858 r=`${PWD_COMMAND}`; export r; \
32859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32860 $(HOST_EXPORTS) \
32861 for flag in $(EXTRA_HOST_FLAGS) ; do \
32862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32863 done; \
32864 echo "Doing pdf in utils" ; \
32865 (cd $(HOST_SUBDIR)/utils && \
32866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32868 "RANLIB=$${RANLIB}" \
32869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32870 pdf) \
32871 || exit 1
32873 @endif utils
32875 .PHONY: maybe-html-utils html-utils
32876 maybe-html-utils:
32877 @if utils
32878 maybe-html-utils: html-utils
32880 html-utils: \
32881 configure-utils
32882 @: $(MAKE); $(unstage)
32883 @[ -f ./utils/Makefile ] || exit 0; \
32884 r=`${PWD_COMMAND}`; export r; \
32885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32886 $(HOST_EXPORTS) \
32887 for flag in $(EXTRA_HOST_FLAGS) ; do \
32888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32889 done; \
32890 echo "Doing html in utils" ; \
32891 (cd $(HOST_SUBDIR)/utils && \
32892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32894 "RANLIB=$${RANLIB}" \
32895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32896 html) \
32897 || exit 1
32899 @endif utils
32901 .PHONY: maybe-TAGS-utils TAGS-utils
32902 maybe-TAGS-utils:
32903 @if utils
32904 maybe-TAGS-utils: TAGS-utils
32906 TAGS-utils: \
32907 configure-utils
32908 @: $(MAKE); $(unstage)
32909 @[ -f ./utils/Makefile ] || exit 0; \
32910 r=`${PWD_COMMAND}`; export r; \
32911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32912 $(HOST_EXPORTS) \
32913 for flag in $(EXTRA_HOST_FLAGS) ; do \
32914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32915 done; \
32916 echo "Doing TAGS in utils" ; \
32917 (cd $(HOST_SUBDIR)/utils && \
32918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32920 "RANLIB=$${RANLIB}" \
32921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32922 TAGS) \
32923 || exit 1
32925 @endif utils
32927 .PHONY: maybe-install-info-utils install-info-utils
32928 maybe-install-info-utils:
32929 @if utils
32930 maybe-install-info-utils: install-info-utils
32932 install-info-utils: \
32933 configure-utils \
32934 info-utils
32935 @: $(MAKE); $(unstage)
32936 @[ -f ./utils/Makefile ] || exit 0; \
32937 r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(HOST_EXPORTS) \
32940 for flag in $(EXTRA_HOST_FLAGS) ; do \
32941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32942 done; \
32943 echo "Doing install-info in utils" ; \
32944 (cd $(HOST_SUBDIR)/utils && \
32945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32947 "RANLIB=$${RANLIB}" \
32948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32949 install-info) \
32950 || exit 1
32952 @endif utils
32954 .PHONY: maybe-install-html-utils install-html-utils
32955 maybe-install-html-utils:
32956 @if utils
32957 maybe-install-html-utils: install-html-utils
32959 install-html-utils: \
32960 configure-utils \
32961 html-utils
32962 @: $(MAKE); $(unstage)
32963 @[ -f ./utils/Makefile ] || exit 0; \
32964 r=`${PWD_COMMAND}`; export r; \
32965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32966 $(HOST_EXPORTS) \
32967 for flag in $(EXTRA_HOST_FLAGS) ; do \
32968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32969 done; \
32970 echo "Doing install-html in utils" ; \
32971 (cd $(HOST_SUBDIR)/utils && \
32972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32974 "RANLIB=$${RANLIB}" \
32975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32976 install-html) \
32977 || exit 1
32979 @endif utils
32981 .PHONY: maybe-installcheck-utils installcheck-utils
32982 maybe-installcheck-utils:
32983 @if utils
32984 maybe-installcheck-utils: installcheck-utils
32986 installcheck-utils: \
32987 configure-utils
32988 @: $(MAKE); $(unstage)
32989 @[ -f ./utils/Makefile ] || exit 0; \
32990 r=`${PWD_COMMAND}`; export r; \
32991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32992 $(HOST_EXPORTS) \
32993 for flag in $(EXTRA_HOST_FLAGS) ; do \
32994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32995 done; \
32996 echo "Doing installcheck in utils" ; \
32997 (cd $(HOST_SUBDIR)/utils && \
32998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33000 "RANLIB=$${RANLIB}" \
33001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33002 installcheck) \
33003 || exit 1
33005 @endif utils
33007 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33008 maybe-mostlyclean-utils:
33009 @if utils
33010 maybe-mostlyclean-utils: mostlyclean-utils
33012 mostlyclean-utils:
33013 @: $(MAKE); $(unstage)
33014 @[ -f ./utils/Makefile ] || exit 0; \
33015 r=`${PWD_COMMAND}`; export r; \
33016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33017 $(HOST_EXPORTS) \
33018 for flag in $(EXTRA_HOST_FLAGS) ; do \
33019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33020 done; \
33021 echo "Doing mostlyclean in utils" ; \
33022 (cd $(HOST_SUBDIR)/utils && \
33023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33025 "RANLIB=$${RANLIB}" \
33026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33027 mostlyclean) \
33028 || exit 1
33030 @endif utils
33032 .PHONY: maybe-clean-utils clean-utils
33033 maybe-clean-utils:
33034 @if utils
33035 maybe-clean-utils: clean-utils
33037 clean-utils:
33038 @: $(MAKE); $(unstage)
33039 @[ -f ./utils/Makefile ] || exit 0; \
33040 r=`${PWD_COMMAND}`; export r; \
33041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33042 $(HOST_EXPORTS) \
33043 for flag in $(EXTRA_HOST_FLAGS) ; do \
33044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33045 done; \
33046 echo "Doing clean in utils" ; \
33047 (cd $(HOST_SUBDIR)/utils && \
33048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33050 "RANLIB=$${RANLIB}" \
33051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33052 clean) \
33053 || exit 1
33055 @endif utils
33057 .PHONY: maybe-distclean-utils distclean-utils
33058 maybe-distclean-utils:
33059 @if utils
33060 maybe-distclean-utils: distclean-utils
33062 distclean-utils:
33063 @: $(MAKE); $(unstage)
33064 @[ -f ./utils/Makefile ] || exit 0; \
33065 r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(HOST_EXPORTS) \
33068 for flag in $(EXTRA_HOST_FLAGS) ; do \
33069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33070 done; \
33071 echo "Doing distclean in utils" ; \
33072 (cd $(HOST_SUBDIR)/utils && \
33073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33075 "RANLIB=$${RANLIB}" \
33076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33077 distclean) \
33078 || exit 1
33080 @endif utils
33082 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33083 maybe-maintainer-clean-utils:
33084 @if utils
33085 maybe-maintainer-clean-utils: maintainer-clean-utils
33087 maintainer-clean-utils:
33088 @: $(MAKE); $(unstage)
33089 @[ -f ./utils/Makefile ] || exit 0; \
33090 r=`${PWD_COMMAND}`; export r; \
33091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33092 $(HOST_EXPORTS) \
33093 for flag in $(EXTRA_HOST_FLAGS) ; do \
33094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33095 done; \
33096 echo "Doing maintainer-clean in utils" ; \
33097 (cd $(HOST_SUBDIR)/utils && \
33098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33100 "RANLIB=$${RANLIB}" \
33101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33102 maintainer-clean) \
33103 || exit 1
33105 @endif utils
33109 .PHONY: configure-gnattools maybe-configure-gnattools
33110 maybe-configure-gnattools:
33111 @if gcc-bootstrap
33112 configure-gnattools: stage_current
33113 @endif gcc-bootstrap
33114 @if gnattools
33115 maybe-configure-gnattools: configure-gnattools
33116 configure-gnattools:
33117 @: $(MAKE); $(unstage)
33118 @r=`${PWD_COMMAND}`; export r; \
33119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33120 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
33122 $(HOST_EXPORTS) \
33123 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33124 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33125 case $(srcdir) in \
33126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33127 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33129 esac; \
33130 srcdiroption="--srcdir=$${topdir}/gnattools"; \
33131 libsrcdir="$$s/gnattools"; \
33132 $(SHELL) $${libsrcdir}/configure \
33133 $(HOST_CONFIGARGS) $${srcdiroption} \
33134 || exit 1
33135 @endif gnattools
33141 .PHONY: all-gnattools maybe-all-gnattools
33142 maybe-all-gnattools:
33143 @if gcc-bootstrap
33144 all-gnattools: stage_current
33145 @endif gcc-bootstrap
33146 @if gnattools
33147 TARGET-gnattools=all
33148 maybe-all-gnattools: all-gnattools
33149 all-gnattools: configure-gnattools
33150 @: $(MAKE); $(unstage)
33151 @r=`${PWD_COMMAND}`; export r; \
33152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33153 $(HOST_EXPORTS) \
33154 (cd $(HOST_SUBDIR)/gnattools && \
33155 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
33156 @endif gnattools
33161 .PHONY: check-gnattools maybe-check-gnattools
33162 maybe-check-gnattools:
33163 @if gnattools
33164 maybe-check-gnattools: check-gnattools
33166 check-gnattools:
33167 @: $(MAKE); $(unstage)
33168 @r=`${PWD_COMMAND}`; export r; \
33169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33170 $(HOST_EXPORTS) \
33171 (cd $(HOST_SUBDIR)/gnattools && \
33172 $(MAKE) $(FLAGS_TO_PASS) check)
33174 @endif gnattools
33176 .PHONY: install-gnattools maybe-install-gnattools
33177 maybe-install-gnattools:
33178 @if gnattools
33179 maybe-install-gnattools: install-gnattools
33181 install-gnattools: installdirs
33182 @: $(MAKE); $(unstage)
33183 @r=`${PWD_COMMAND}`; export r; \
33184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33185 $(HOST_EXPORTS) \
33186 (cd $(HOST_SUBDIR)/gnattools && \
33187 $(MAKE) $(FLAGS_TO_PASS) install)
33189 @endif gnattools
33191 # Other targets (info, dvi, pdf, etc.)
33193 .PHONY: maybe-info-gnattools info-gnattools
33194 maybe-info-gnattools:
33195 @if gnattools
33196 maybe-info-gnattools: info-gnattools
33198 info-gnattools: \
33199 configure-gnattools
33200 @: $(MAKE); $(unstage)
33201 @[ -f ./gnattools/Makefile ] || exit 0; \
33202 r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(HOST_EXPORTS) \
33205 for flag in $(EXTRA_HOST_FLAGS) ; do \
33206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33207 done; \
33208 echo "Doing info in gnattools" ; \
33209 (cd $(HOST_SUBDIR)/gnattools && \
33210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33212 "RANLIB=$${RANLIB}" \
33213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33214 info) \
33215 || exit 1
33217 @endif gnattools
33219 .PHONY: maybe-dvi-gnattools dvi-gnattools
33220 maybe-dvi-gnattools:
33221 @if gnattools
33222 maybe-dvi-gnattools: dvi-gnattools
33224 dvi-gnattools: \
33225 configure-gnattools
33226 @: $(MAKE); $(unstage)
33227 @[ -f ./gnattools/Makefile ] || exit 0; \
33228 r=`${PWD_COMMAND}`; export r; \
33229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33230 $(HOST_EXPORTS) \
33231 for flag in $(EXTRA_HOST_FLAGS) ; do \
33232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33233 done; \
33234 echo "Doing dvi in gnattools" ; \
33235 (cd $(HOST_SUBDIR)/gnattools && \
33236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33238 "RANLIB=$${RANLIB}" \
33239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33240 dvi) \
33241 || exit 1
33243 @endif gnattools
33245 .PHONY: maybe-pdf-gnattools pdf-gnattools
33246 maybe-pdf-gnattools:
33247 @if gnattools
33248 maybe-pdf-gnattools: pdf-gnattools
33250 pdf-gnattools: \
33251 configure-gnattools
33252 @: $(MAKE); $(unstage)
33253 @[ -f ./gnattools/Makefile ] || exit 0; \
33254 r=`${PWD_COMMAND}`; export r; \
33255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33256 $(HOST_EXPORTS) \
33257 for flag in $(EXTRA_HOST_FLAGS) ; do \
33258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33259 done; \
33260 echo "Doing pdf in gnattools" ; \
33261 (cd $(HOST_SUBDIR)/gnattools && \
33262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33264 "RANLIB=$${RANLIB}" \
33265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33266 pdf) \
33267 || exit 1
33269 @endif gnattools
33271 .PHONY: maybe-html-gnattools html-gnattools
33272 maybe-html-gnattools:
33273 @if gnattools
33274 maybe-html-gnattools: html-gnattools
33276 html-gnattools: \
33277 configure-gnattools
33278 @: $(MAKE); $(unstage)
33279 @[ -f ./gnattools/Makefile ] || exit 0; \
33280 r=`${PWD_COMMAND}`; export r; \
33281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33282 $(HOST_EXPORTS) \
33283 for flag in $(EXTRA_HOST_FLAGS) ; do \
33284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33285 done; \
33286 echo "Doing html in gnattools" ; \
33287 (cd $(HOST_SUBDIR)/gnattools && \
33288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33290 "RANLIB=$${RANLIB}" \
33291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33292 html) \
33293 || exit 1
33295 @endif gnattools
33297 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33298 maybe-TAGS-gnattools:
33299 @if gnattools
33300 maybe-TAGS-gnattools: TAGS-gnattools
33302 TAGS-gnattools: \
33303 configure-gnattools
33304 @: $(MAKE); $(unstage)
33305 @[ -f ./gnattools/Makefile ] || exit 0; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(HOST_EXPORTS) \
33309 for flag in $(EXTRA_HOST_FLAGS) ; do \
33310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33311 done; \
33312 echo "Doing TAGS in gnattools" ; \
33313 (cd $(HOST_SUBDIR)/gnattools && \
33314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33316 "RANLIB=$${RANLIB}" \
33317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33318 TAGS) \
33319 || exit 1
33321 @endif gnattools
33323 .PHONY: maybe-install-info-gnattools install-info-gnattools
33324 maybe-install-info-gnattools:
33325 @if gnattools
33326 maybe-install-info-gnattools: install-info-gnattools
33328 install-info-gnattools: \
33329 configure-gnattools \
33330 info-gnattools
33331 @: $(MAKE); $(unstage)
33332 @[ -f ./gnattools/Makefile ] || exit 0; \
33333 r=`${PWD_COMMAND}`; export r; \
33334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33335 $(HOST_EXPORTS) \
33336 for flag in $(EXTRA_HOST_FLAGS) ; do \
33337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33338 done; \
33339 echo "Doing install-info in gnattools" ; \
33340 (cd $(HOST_SUBDIR)/gnattools && \
33341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33343 "RANLIB=$${RANLIB}" \
33344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33345 install-info) \
33346 || exit 1
33348 @endif gnattools
33350 .PHONY: maybe-install-html-gnattools install-html-gnattools
33351 maybe-install-html-gnattools:
33352 @if gnattools
33353 maybe-install-html-gnattools: install-html-gnattools
33355 install-html-gnattools: \
33356 configure-gnattools \
33357 html-gnattools
33358 @: $(MAKE); $(unstage)
33359 @[ -f ./gnattools/Makefile ] || exit 0; \
33360 r=`${PWD_COMMAND}`; export r; \
33361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33362 $(HOST_EXPORTS) \
33363 for flag in $(EXTRA_HOST_FLAGS) ; do \
33364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33365 done; \
33366 echo "Doing install-html in gnattools" ; \
33367 (cd $(HOST_SUBDIR)/gnattools && \
33368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33370 "RANLIB=$${RANLIB}" \
33371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33372 install-html) \
33373 || exit 1
33375 @endif gnattools
33377 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33378 maybe-installcheck-gnattools:
33379 @if gnattools
33380 maybe-installcheck-gnattools: installcheck-gnattools
33382 installcheck-gnattools: \
33383 configure-gnattools
33384 @: $(MAKE); $(unstage)
33385 @[ -f ./gnattools/Makefile ] || exit 0; \
33386 r=`${PWD_COMMAND}`; export r; \
33387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33388 $(HOST_EXPORTS) \
33389 for flag in $(EXTRA_HOST_FLAGS) ; do \
33390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33391 done; \
33392 echo "Doing installcheck in gnattools" ; \
33393 (cd $(HOST_SUBDIR)/gnattools && \
33394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33396 "RANLIB=$${RANLIB}" \
33397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33398 installcheck) \
33399 || exit 1
33401 @endif gnattools
33403 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33404 maybe-mostlyclean-gnattools:
33405 @if gnattools
33406 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33408 mostlyclean-gnattools:
33409 @: $(MAKE); $(unstage)
33410 @[ -f ./gnattools/Makefile ] || exit 0; \
33411 r=`${PWD_COMMAND}`; export r; \
33412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33413 $(HOST_EXPORTS) \
33414 for flag in $(EXTRA_HOST_FLAGS) ; do \
33415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33416 done; \
33417 echo "Doing mostlyclean in gnattools" ; \
33418 (cd $(HOST_SUBDIR)/gnattools && \
33419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33421 "RANLIB=$${RANLIB}" \
33422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33423 mostlyclean) \
33424 || exit 1
33426 @endif gnattools
33428 .PHONY: maybe-clean-gnattools clean-gnattools
33429 maybe-clean-gnattools:
33430 @if gnattools
33431 maybe-clean-gnattools: clean-gnattools
33433 clean-gnattools:
33434 @: $(MAKE); $(unstage)
33435 @[ -f ./gnattools/Makefile ] || exit 0; \
33436 r=`${PWD_COMMAND}`; export r; \
33437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33438 $(HOST_EXPORTS) \
33439 for flag in $(EXTRA_HOST_FLAGS) ; do \
33440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33441 done; \
33442 echo "Doing clean in gnattools" ; \
33443 (cd $(HOST_SUBDIR)/gnattools && \
33444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33446 "RANLIB=$${RANLIB}" \
33447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33448 clean) \
33449 || exit 1
33451 @endif gnattools
33453 .PHONY: maybe-distclean-gnattools distclean-gnattools
33454 maybe-distclean-gnattools:
33455 @if gnattools
33456 maybe-distclean-gnattools: distclean-gnattools
33458 distclean-gnattools:
33459 @: $(MAKE); $(unstage)
33460 @[ -f ./gnattools/Makefile ] || exit 0; \
33461 r=`${PWD_COMMAND}`; export r; \
33462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33463 $(HOST_EXPORTS) \
33464 for flag in $(EXTRA_HOST_FLAGS) ; do \
33465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33466 done; \
33467 echo "Doing distclean in gnattools" ; \
33468 (cd $(HOST_SUBDIR)/gnattools && \
33469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33471 "RANLIB=$${RANLIB}" \
33472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33473 distclean) \
33474 || exit 1
33476 @endif gnattools
33478 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33479 maybe-maintainer-clean-gnattools:
33480 @if gnattools
33481 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33483 maintainer-clean-gnattools:
33484 @: $(MAKE); $(unstage)
33485 @[ -f ./gnattools/Makefile ] || exit 0; \
33486 r=`${PWD_COMMAND}`; export r; \
33487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33488 $(HOST_EXPORTS) \
33489 for flag in $(EXTRA_HOST_FLAGS) ; do \
33490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33491 done; \
33492 echo "Doing maintainer-clean in gnattools" ; \
33493 (cd $(HOST_SUBDIR)/gnattools && \
33494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33496 "RANLIB=$${RANLIB}" \
33497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33498 maintainer-clean) \
33499 || exit 1
33501 @endif gnattools
33505 # ---------------------------------------
33506 # Modules which run on the target machine
33507 # ---------------------------------------
33512 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33513 maybe-configure-target-libstdc++-v3:
33514 @if gcc-bootstrap
33515 configure-target-libstdc++-v3: stage_current
33516 @endif gcc-bootstrap
33517 @if target-libstdc++-v3
33518 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33519 configure-target-libstdc++-v3:
33520 @: $(MAKE); $(unstage)
33521 @r=`${PWD_COMMAND}`; export r; \
33522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33523 echo "Checking multilib configuration for libstdc++-v3..."; \
33524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33525 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33526 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33527 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33528 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33529 else \
33530 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33531 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33532 fi; \
33533 else \
33534 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33535 fi; \
33536 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33537 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33538 $(RAW_CXX_TARGET_EXPORTS) \
33539 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33540 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33541 case $(srcdir) in \
33542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33543 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33545 esac; \
33546 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33547 libsrcdir="$$s/libstdc++-v3"; \
33548 rm -f no-such-file || : ; \
33549 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33550 $(TARGET_CONFIGARGS) $${srcdiroption} \
33551 || exit 1
33552 @endif target-libstdc++-v3
33558 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33559 maybe-all-target-libstdc++-v3:
33560 @if gcc-bootstrap
33561 all-target-libstdc++-v3: stage_current
33562 @endif gcc-bootstrap
33563 @if target-libstdc++-v3
33564 TARGET-target-libstdc++-v3=all
33565 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33566 all-target-libstdc++-v3: configure-target-libstdc++-v3
33567 @: $(MAKE); $(unstage)
33568 @r=`${PWD_COMMAND}`; export r; \
33569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33570 $(RAW_CXX_TARGET_EXPORTS) \
33571 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33572 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33573 @endif target-libstdc++-v3
33579 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33580 maybe-check-target-libstdc++-v3:
33581 @if target-libstdc++-v3
33582 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33584 check-target-libstdc++-v3:
33585 @: $(MAKE); $(unstage)
33586 @r=`${PWD_COMMAND}`; export r; \
33587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33588 $(RAW_CXX_TARGET_EXPORTS) \
33589 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33590 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33592 @endif target-libstdc++-v3
33594 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33595 maybe-install-target-libstdc++-v3:
33596 @if target-libstdc++-v3
33597 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33599 install-target-libstdc++-v3: installdirs
33600 @: $(MAKE); $(unstage)
33601 @r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(RAW_CXX_TARGET_EXPORTS) \
33604 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33607 @endif target-libstdc++-v3
33609 # Other targets (info, dvi, pdf, etc.)
33611 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33612 maybe-info-target-libstdc++-v3:
33613 @if target-libstdc++-v3
33614 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33616 info-target-libstdc++-v3: \
33617 configure-target-libstdc++-v3
33618 @: $(MAKE); $(unstage)
33619 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33620 r=`${PWD_COMMAND}`; export r; \
33621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33622 $(RAW_CXX_TARGET_EXPORTS) \
33623 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33624 for flag in $(EXTRA_TARGET_FLAGS); do \
33625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33626 done; \
33627 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33630 "RANLIB=$${RANLIB}" \
33631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33632 info) \
33633 || exit 1
33635 @endif target-libstdc++-v3
33637 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33638 maybe-dvi-target-libstdc++-v3:
33639 @if target-libstdc++-v3
33640 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33642 dvi-target-libstdc++-v3: \
33643 configure-target-libstdc++-v3
33644 @: $(MAKE); $(unstage)
33645 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33646 r=`${PWD_COMMAND}`; export r; \
33647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33648 $(RAW_CXX_TARGET_EXPORTS) \
33649 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33650 for flag in $(EXTRA_TARGET_FLAGS); do \
33651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33652 done; \
33653 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33656 "RANLIB=$${RANLIB}" \
33657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33658 dvi) \
33659 || exit 1
33661 @endif target-libstdc++-v3
33663 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33664 maybe-pdf-target-libstdc++-v3:
33665 @if target-libstdc++-v3
33666 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33668 pdf-target-libstdc++-v3: \
33669 configure-target-libstdc++-v3
33670 @: $(MAKE); $(unstage)
33671 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33672 r=`${PWD_COMMAND}`; export r; \
33673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33674 $(RAW_CXX_TARGET_EXPORTS) \
33675 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33676 for flag in $(EXTRA_TARGET_FLAGS); do \
33677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33678 done; \
33679 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33682 "RANLIB=$${RANLIB}" \
33683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33684 pdf) \
33685 || exit 1
33687 @endif target-libstdc++-v3
33689 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33690 maybe-html-target-libstdc++-v3:
33691 @if target-libstdc++-v3
33692 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33694 html-target-libstdc++-v3: \
33695 configure-target-libstdc++-v3
33696 @: $(MAKE); $(unstage)
33697 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33698 r=`${PWD_COMMAND}`; export r; \
33699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33700 $(RAW_CXX_TARGET_EXPORTS) \
33701 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33702 for flag in $(EXTRA_TARGET_FLAGS); do \
33703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33704 done; \
33705 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33708 "RANLIB=$${RANLIB}" \
33709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33710 html) \
33711 || exit 1
33713 @endif target-libstdc++-v3
33715 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33716 maybe-TAGS-target-libstdc++-v3:
33717 @if target-libstdc++-v3
33718 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33720 TAGS-target-libstdc++-v3: \
33721 configure-target-libstdc++-v3
33722 @: $(MAKE); $(unstage)
33723 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33724 r=`${PWD_COMMAND}`; export r; \
33725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33726 $(RAW_CXX_TARGET_EXPORTS) \
33727 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33728 for flag in $(EXTRA_TARGET_FLAGS); do \
33729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33730 done; \
33731 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33734 "RANLIB=$${RANLIB}" \
33735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33736 TAGS) \
33737 || exit 1
33739 @endif target-libstdc++-v3
33741 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33742 maybe-install-info-target-libstdc++-v3:
33743 @if target-libstdc++-v3
33744 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33746 install-info-target-libstdc++-v3: \
33747 configure-target-libstdc++-v3 \
33748 info-target-libstdc++-v3
33749 @: $(MAKE); $(unstage)
33750 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33751 r=`${PWD_COMMAND}`; export r; \
33752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33753 $(RAW_CXX_TARGET_EXPORTS) \
33754 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33755 for flag in $(EXTRA_TARGET_FLAGS); do \
33756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33757 done; \
33758 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33761 "RANLIB=$${RANLIB}" \
33762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33763 install-info) \
33764 || exit 1
33766 @endif target-libstdc++-v3
33768 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33769 maybe-install-html-target-libstdc++-v3:
33770 @if target-libstdc++-v3
33771 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33773 install-html-target-libstdc++-v3: \
33774 configure-target-libstdc++-v3 \
33775 html-target-libstdc++-v3
33776 @: $(MAKE); $(unstage)
33777 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33778 r=`${PWD_COMMAND}`; export r; \
33779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33780 $(RAW_CXX_TARGET_EXPORTS) \
33781 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33782 for flag in $(EXTRA_TARGET_FLAGS); do \
33783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33784 done; \
33785 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33788 "RANLIB=$${RANLIB}" \
33789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33790 install-html) \
33791 || exit 1
33793 @endif target-libstdc++-v3
33795 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33796 maybe-installcheck-target-libstdc++-v3:
33797 @if target-libstdc++-v3
33798 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33800 installcheck-target-libstdc++-v3: \
33801 configure-target-libstdc++-v3
33802 @: $(MAKE); $(unstage)
33803 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33804 r=`${PWD_COMMAND}`; export r; \
33805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33806 $(RAW_CXX_TARGET_EXPORTS) \
33807 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33808 for flag in $(EXTRA_TARGET_FLAGS); do \
33809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33810 done; \
33811 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33814 "RANLIB=$${RANLIB}" \
33815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33816 installcheck) \
33817 || exit 1
33819 @endif target-libstdc++-v3
33821 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33822 maybe-mostlyclean-target-libstdc++-v3:
33823 @if target-libstdc++-v3
33824 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33826 mostlyclean-target-libstdc++-v3:
33827 @: $(MAKE); $(unstage)
33828 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33829 r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(RAW_CXX_TARGET_EXPORTS) \
33832 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33833 for flag in $(EXTRA_TARGET_FLAGS); do \
33834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33835 done; \
33836 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33839 "RANLIB=$${RANLIB}" \
33840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33841 mostlyclean) \
33842 || exit 1
33844 @endif target-libstdc++-v3
33846 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33847 maybe-clean-target-libstdc++-v3:
33848 @if target-libstdc++-v3
33849 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33851 clean-target-libstdc++-v3:
33852 @: $(MAKE); $(unstage)
33853 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33854 r=`${PWD_COMMAND}`; export r; \
33855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33856 $(RAW_CXX_TARGET_EXPORTS) \
33857 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33858 for flag in $(EXTRA_TARGET_FLAGS); do \
33859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33860 done; \
33861 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33864 "RANLIB=$${RANLIB}" \
33865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33866 clean) \
33867 || exit 1
33869 @endif target-libstdc++-v3
33871 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33872 maybe-distclean-target-libstdc++-v3:
33873 @if target-libstdc++-v3
33874 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33876 distclean-target-libstdc++-v3:
33877 @: $(MAKE); $(unstage)
33878 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33879 r=`${PWD_COMMAND}`; export r; \
33880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33881 $(RAW_CXX_TARGET_EXPORTS) \
33882 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33883 for flag in $(EXTRA_TARGET_FLAGS); do \
33884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33885 done; \
33886 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33889 "RANLIB=$${RANLIB}" \
33890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33891 distclean) \
33892 || exit 1
33894 @endif target-libstdc++-v3
33896 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33897 maybe-maintainer-clean-target-libstdc++-v3:
33898 @if target-libstdc++-v3
33899 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33901 maintainer-clean-target-libstdc++-v3:
33902 @: $(MAKE); $(unstage)
33903 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33904 r=`${PWD_COMMAND}`; export r; \
33905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33906 $(RAW_CXX_TARGET_EXPORTS) \
33907 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33908 for flag in $(EXTRA_TARGET_FLAGS); do \
33909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33910 done; \
33911 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33914 "RANLIB=$${RANLIB}" \
33915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33916 maintainer-clean) \
33917 || exit 1
33919 @endif target-libstdc++-v3
33925 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33926 maybe-configure-target-libmudflap:
33927 @if gcc-bootstrap
33928 configure-target-libmudflap: stage_current
33929 @endif gcc-bootstrap
33930 @if target-libmudflap
33931 maybe-configure-target-libmudflap: configure-target-libmudflap
33932 configure-target-libmudflap:
33933 @: $(MAKE); $(unstage)
33934 @r=`${PWD_COMMAND}`; export r; \
33935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33936 echo "Checking multilib configuration for libmudflap..."; \
33937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33939 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33940 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33941 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33942 else \
33943 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33944 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33945 fi; \
33946 else \
33947 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33948 fi; \
33949 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33951 $(NORMAL_TARGET_EXPORTS) \
33952 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33953 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33954 case $(srcdir) in \
33955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33956 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33958 esac; \
33959 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33960 libsrcdir="$$s/libmudflap"; \
33961 rm -f no-such-file || : ; \
33962 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33963 $(TARGET_CONFIGARGS) $${srcdiroption} \
33964 || exit 1
33965 @endif target-libmudflap
33971 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
33972 maybe-all-target-libmudflap:
33973 @if gcc-bootstrap
33974 all-target-libmudflap: stage_current
33975 @endif gcc-bootstrap
33976 @if target-libmudflap
33977 TARGET-target-libmudflap=all
33978 maybe-all-target-libmudflap: all-target-libmudflap
33979 all-target-libmudflap: configure-target-libmudflap
33980 @: $(MAKE); $(unstage)
33981 @r=`${PWD_COMMAND}`; export r; \
33982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33983 $(NORMAL_TARGET_EXPORTS) \
33984 (cd $(TARGET_SUBDIR)/libmudflap && \
33985 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
33986 @endif target-libmudflap
33992 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
33993 maybe-check-target-libmudflap:
33994 @if target-libmudflap
33995 maybe-check-target-libmudflap: check-target-libmudflap
33997 check-target-libmudflap:
33998 @: $(MAKE); $(unstage)
33999 @r=`${PWD_COMMAND}`; export r; \
34000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34001 $(NORMAL_TARGET_EXPORTS) \
34002 (cd $(TARGET_SUBDIR)/libmudflap && \
34003 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34005 @endif target-libmudflap
34007 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
34008 maybe-install-target-libmudflap:
34009 @if target-libmudflap
34010 maybe-install-target-libmudflap: install-target-libmudflap
34012 install-target-libmudflap: installdirs
34013 @: $(MAKE); $(unstage)
34014 @r=`${PWD_COMMAND}`; export r; \
34015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34016 $(NORMAL_TARGET_EXPORTS) \
34017 (cd $(TARGET_SUBDIR)/libmudflap && \
34018 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34020 @endif target-libmudflap
34022 # Other targets (info, dvi, pdf, etc.)
34024 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
34025 maybe-info-target-libmudflap:
34026 @if target-libmudflap
34027 maybe-info-target-libmudflap: info-target-libmudflap
34029 info-target-libmudflap: \
34030 configure-target-libmudflap
34031 @: $(MAKE); $(unstage)
34032 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34033 r=`${PWD_COMMAND}`; export r; \
34034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34035 $(NORMAL_TARGET_EXPORTS) \
34036 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
34037 for flag in $(EXTRA_TARGET_FLAGS); do \
34038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34039 done; \
34040 (cd $(TARGET_SUBDIR)/libmudflap && \
34041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34043 "RANLIB=$${RANLIB}" \
34044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34045 info) \
34046 || exit 1
34048 @endif target-libmudflap
34050 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
34051 maybe-dvi-target-libmudflap:
34052 @if target-libmudflap
34053 maybe-dvi-target-libmudflap: dvi-target-libmudflap
34055 dvi-target-libmudflap: \
34056 configure-target-libmudflap
34057 @: $(MAKE); $(unstage)
34058 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34059 r=`${PWD_COMMAND}`; export r; \
34060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34061 $(NORMAL_TARGET_EXPORTS) \
34062 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
34063 for flag in $(EXTRA_TARGET_FLAGS); do \
34064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34065 done; \
34066 (cd $(TARGET_SUBDIR)/libmudflap && \
34067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34069 "RANLIB=$${RANLIB}" \
34070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34071 dvi) \
34072 || exit 1
34074 @endif target-libmudflap
34076 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
34077 maybe-pdf-target-libmudflap:
34078 @if target-libmudflap
34079 maybe-pdf-target-libmudflap: pdf-target-libmudflap
34081 pdf-target-libmudflap: \
34082 configure-target-libmudflap
34083 @: $(MAKE); $(unstage)
34084 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34085 r=`${PWD_COMMAND}`; export r; \
34086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34087 $(NORMAL_TARGET_EXPORTS) \
34088 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
34089 for flag in $(EXTRA_TARGET_FLAGS); do \
34090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34091 done; \
34092 (cd $(TARGET_SUBDIR)/libmudflap && \
34093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34095 "RANLIB=$${RANLIB}" \
34096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34097 pdf) \
34098 || exit 1
34100 @endif target-libmudflap
34102 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
34103 maybe-html-target-libmudflap:
34104 @if target-libmudflap
34105 maybe-html-target-libmudflap: html-target-libmudflap
34107 html-target-libmudflap: \
34108 configure-target-libmudflap
34109 @: $(MAKE); $(unstage)
34110 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34111 r=`${PWD_COMMAND}`; export r; \
34112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34113 $(NORMAL_TARGET_EXPORTS) \
34114 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
34115 for flag in $(EXTRA_TARGET_FLAGS); do \
34116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34117 done; \
34118 (cd $(TARGET_SUBDIR)/libmudflap && \
34119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34121 "RANLIB=$${RANLIB}" \
34122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34123 html) \
34124 || exit 1
34126 @endif target-libmudflap
34128 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
34129 maybe-TAGS-target-libmudflap:
34130 @if target-libmudflap
34131 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
34133 TAGS-target-libmudflap: \
34134 configure-target-libmudflap
34135 @: $(MAKE); $(unstage)
34136 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34137 r=`${PWD_COMMAND}`; export r; \
34138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34139 $(NORMAL_TARGET_EXPORTS) \
34140 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
34141 for flag in $(EXTRA_TARGET_FLAGS); do \
34142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34143 done; \
34144 (cd $(TARGET_SUBDIR)/libmudflap && \
34145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34147 "RANLIB=$${RANLIB}" \
34148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34149 TAGS) \
34150 || exit 1
34152 @endif target-libmudflap
34154 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
34155 maybe-install-info-target-libmudflap:
34156 @if target-libmudflap
34157 maybe-install-info-target-libmudflap: install-info-target-libmudflap
34159 install-info-target-libmudflap: \
34160 configure-target-libmudflap \
34161 info-target-libmudflap
34162 @: $(MAKE); $(unstage)
34163 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34164 r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 $(NORMAL_TARGET_EXPORTS) \
34167 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
34168 for flag in $(EXTRA_TARGET_FLAGS); do \
34169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34170 done; \
34171 (cd $(TARGET_SUBDIR)/libmudflap && \
34172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34174 "RANLIB=$${RANLIB}" \
34175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34176 install-info) \
34177 || exit 1
34179 @endif target-libmudflap
34181 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
34182 maybe-install-html-target-libmudflap:
34183 @if target-libmudflap
34184 maybe-install-html-target-libmudflap: install-html-target-libmudflap
34186 install-html-target-libmudflap: \
34187 configure-target-libmudflap \
34188 html-target-libmudflap
34189 @: $(MAKE); $(unstage)
34190 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34191 r=`${PWD_COMMAND}`; export r; \
34192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34193 $(NORMAL_TARGET_EXPORTS) \
34194 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
34195 for flag in $(EXTRA_TARGET_FLAGS); do \
34196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34197 done; \
34198 (cd $(TARGET_SUBDIR)/libmudflap && \
34199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34201 "RANLIB=$${RANLIB}" \
34202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34203 install-html) \
34204 || exit 1
34206 @endif target-libmudflap
34208 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34209 maybe-installcheck-target-libmudflap:
34210 @if target-libmudflap
34211 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34213 installcheck-target-libmudflap: \
34214 configure-target-libmudflap
34215 @: $(MAKE); $(unstage)
34216 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34217 r=`${PWD_COMMAND}`; export r; \
34218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34219 $(NORMAL_TARGET_EXPORTS) \
34220 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34221 for flag in $(EXTRA_TARGET_FLAGS); do \
34222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34223 done; \
34224 (cd $(TARGET_SUBDIR)/libmudflap && \
34225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34227 "RANLIB=$${RANLIB}" \
34228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34229 installcheck) \
34230 || exit 1
34232 @endif target-libmudflap
34234 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34235 maybe-mostlyclean-target-libmudflap:
34236 @if target-libmudflap
34237 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34239 mostlyclean-target-libmudflap:
34240 @: $(MAKE); $(unstage)
34241 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34242 r=`${PWD_COMMAND}`; export r; \
34243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34244 $(NORMAL_TARGET_EXPORTS) \
34245 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34246 for flag in $(EXTRA_TARGET_FLAGS); do \
34247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34248 done; \
34249 (cd $(TARGET_SUBDIR)/libmudflap && \
34250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34252 "RANLIB=$${RANLIB}" \
34253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34254 mostlyclean) \
34255 || exit 1
34257 @endif target-libmudflap
34259 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34260 maybe-clean-target-libmudflap:
34261 @if target-libmudflap
34262 maybe-clean-target-libmudflap: clean-target-libmudflap
34264 clean-target-libmudflap:
34265 @: $(MAKE); $(unstage)
34266 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34267 r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 $(NORMAL_TARGET_EXPORTS) \
34270 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34271 for flag in $(EXTRA_TARGET_FLAGS); do \
34272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34273 done; \
34274 (cd $(TARGET_SUBDIR)/libmudflap && \
34275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34277 "RANLIB=$${RANLIB}" \
34278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34279 clean) \
34280 || exit 1
34282 @endif target-libmudflap
34284 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34285 maybe-distclean-target-libmudflap:
34286 @if target-libmudflap
34287 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34289 distclean-target-libmudflap:
34290 @: $(MAKE); $(unstage)
34291 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34292 r=`${PWD_COMMAND}`; export r; \
34293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34294 $(NORMAL_TARGET_EXPORTS) \
34295 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34296 for flag in $(EXTRA_TARGET_FLAGS); do \
34297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34298 done; \
34299 (cd $(TARGET_SUBDIR)/libmudflap && \
34300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34302 "RANLIB=$${RANLIB}" \
34303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34304 distclean) \
34305 || exit 1
34307 @endif target-libmudflap
34309 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34310 maybe-maintainer-clean-target-libmudflap:
34311 @if target-libmudflap
34312 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34314 maintainer-clean-target-libmudflap:
34315 @: $(MAKE); $(unstage)
34316 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34317 r=`${PWD_COMMAND}`; export r; \
34318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34319 $(NORMAL_TARGET_EXPORTS) \
34320 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34321 for flag in $(EXTRA_TARGET_FLAGS); do \
34322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34323 done; \
34324 (cd $(TARGET_SUBDIR)/libmudflap && \
34325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34327 "RANLIB=$${RANLIB}" \
34328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34329 maintainer-clean) \
34330 || exit 1
34332 @endif target-libmudflap
34338 .PHONY: configure-target-libssp maybe-configure-target-libssp
34339 maybe-configure-target-libssp:
34340 @if gcc-bootstrap
34341 configure-target-libssp: stage_current
34342 @endif gcc-bootstrap
34343 @if target-libssp
34344 maybe-configure-target-libssp: configure-target-libssp
34345 configure-target-libssp:
34346 @: $(MAKE); $(unstage)
34347 @r=`${PWD_COMMAND}`; export r; \
34348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34349 echo "Checking multilib configuration for libssp..."; \
34350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34351 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34352 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34353 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34354 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34355 else \
34356 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34357 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34358 fi; \
34359 else \
34360 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34361 fi; \
34362 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34364 $(NORMAL_TARGET_EXPORTS) \
34365 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34366 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34367 case $(srcdir) in \
34368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34369 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34371 esac; \
34372 srcdiroption="--srcdir=$${topdir}/libssp"; \
34373 libsrcdir="$$s/libssp"; \
34374 rm -f no-such-file || : ; \
34375 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34376 $(TARGET_CONFIGARGS) $${srcdiroption} \
34377 || exit 1
34378 @endif target-libssp
34384 .PHONY: all-target-libssp maybe-all-target-libssp
34385 maybe-all-target-libssp:
34386 @if gcc-bootstrap
34387 all-target-libssp: stage_current
34388 @endif gcc-bootstrap
34389 @if target-libssp
34390 TARGET-target-libssp=all
34391 maybe-all-target-libssp: all-target-libssp
34392 all-target-libssp: configure-target-libssp
34393 @: $(MAKE); $(unstage)
34394 @r=`${PWD_COMMAND}`; export r; \
34395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34396 $(NORMAL_TARGET_EXPORTS) \
34397 (cd $(TARGET_SUBDIR)/libssp && \
34398 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34399 @endif target-libssp
34405 .PHONY: check-target-libssp maybe-check-target-libssp
34406 maybe-check-target-libssp:
34407 @if target-libssp
34408 maybe-check-target-libssp: check-target-libssp
34410 check-target-libssp:
34411 @: $(MAKE); $(unstage)
34412 @r=`${PWD_COMMAND}`; export r; \
34413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34414 $(NORMAL_TARGET_EXPORTS) \
34415 (cd $(TARGET_SUBDIR)/libssp && \
34416 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34418 @endif target-libssp
34420 .PHONY: install-target-libssp maybe-install-target-libssp
34421 maybe-install-target-libssp:
34422 @if target-libssp
34423 maybe-install-target-libssp: install-target-libssp
34425 install-target-libssp: installdirs
34426 @: $(MAKE); $(unstage)
34427 @r=`${PWD_COMMAND}`; export r; \
34428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34429 $(NORMAL_TARGET_EXPORTS) \
34430 (cd $(TARGET_SUBDIR)/libssp && \
34431 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34433 @endif target-libssp
34435 # Other targets (info, dvi, pdf, etc.)
34437 .PHONY: maybe-info-target-libssp info-target-libssp
34438 maybe-info-target-libssp:
34439 @if target-libssp
34440 maybe-info-target-libssp: info-target-libssp
34442 info-target-libssp: \
34443 configure-target-libssp
34444 @: $(MAKE); $(unstage)
34445 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34446 r=`${PWD_COMMAND}`; export r; \
34447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34448 $(NORMAL_TARGET_EXPORTS) \
34449 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34450 for flag in $(EXTRA_TARGET_FLAGS); do \
34451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34452 done; \
34453 (cd $(TARGET_SUBDIR)/libssp && \
34454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34456 "RANLIB=$${RANLIB}" \
34457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34458 info) \
34459 || exit 1
34461 @endif target-libssp
34463 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34464 maybe-dvi-target-libssp:
34465 @if target-libssp
34466 maybe-dvi-target-libssp: dvi-target-libssp
34468 dvi-target-libssp: \
34469 configure-target-libssp
34470 @: $(MAKE); $(unstage)
34471 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34472 r=`${PWD_COMMAND}`; export r; \
34473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34474 $(NORMAL_TARGET_EXPORTS) \
34475 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34476 for flag in $(EXTRA_TARGET_FLAGS); do \
34477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34478 done; \
34479 (cd $(TARGET_SUBDIR)/libssp && \
34480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34482 "RANLIB=$${RANLIB}" \
34483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34484 dvi) \
34485 || exit 1
34487 @endif target-libssp
34489 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34490 maybe-pdf-target-libssp:
34491 @if target-libssp
34492 maybe-pdf-target-libssp: pdf-target-libssp
34494 pdf-target-libssp: \
34495 configure-target-libssp
34496 @: $(MAKE); $(unstage)
34497 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(NORMAL_TARGET_EXPORTS) \
34501 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34502 for flag in $(EXTRA_TARGET_FLAGS); do \
34503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34504 done; \
34505 (cd $(TARGET_SUBDIR)/libssp && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34510 pdf) \
34511 || exit 1
34513 @endif target-libssp
34515 .PHONY: maybe-html-target-libssp html-target-libssp
34516 maybe-html-target-libssp:
34517 @if target-libssp
34518 maybe-html-target-libssp: html-target-libssp
34520 html-target-libssp: \
34521 configure-target-libssp
34522 @: $(MAKE); $(unstage)
34523 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34524 r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 $(NORMAL_TARGET_EXPORTS) \
34527 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34528 for flag in $(EXTRA_TARGET_FLAGS); do \
34529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34530 done; \
34531 (cd $(TARGET_SUBDIR)/libssp && \
34532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34534 "RANLIB=$${RANLIB}" \
34535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34536 html) \
34537 || exit 1
34539 @endif target-libssp
34541 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34542 maybe-TAGS-target-libssp:
34543 @if target-libssp
34544 maybe-TAGS-target-libssp: TAGS-target-libssp
34546 TAGS-target-libssp: \
34547 configure-target-libssp
34548 @: $(MAKE); $(unstage)
34549 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34550 r=`${PWD_COMMAND}`; export r; \
34551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34552 $(NORMAL_TARGET_EXPORTS) \
34553 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34554 for flag in $(EXTRA_TARGET_FLAGS); do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 (cd $(TARGET_SUBDIR)/libssp && \
34558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34560 "RANLIB=$${RANLIB}" \
34561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34562 TAGS) \
34563 || exit 1
34565 @endif target-libssp
34567 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34568 maybe-install-info-target-libssp:
34569 @if target-libssp
34570 maybe-install-info-target-libssp: install-info-target-libssp
34572 install-info-target-libssp: \
34573 configure-target-libssp \
34574 info-target-libssp
34575 @: $(MAKE); $(unstage)
34576 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34577 r=`${PWD_COMMAND}`; export r; \
34578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34579 $(NORMAL_TARGET_EXPORTS) \
34580 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34581 for flag in $(EXTRA_TARGET_FLAGS); do \
34582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34583 done; \
34584 (cd $(TARGET_SUBDIR)/libssp && \
34585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34587 "RANLIB=$${RANLIB}" \
34588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34589 install-info) \
34590 || exit 1
34592 @endif target-libssp
34594 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34595 maybe-install-html-target-libssp:
34596 @if target-libssp
34597 maybe-install-html-target-libssp: install-html-target-libssp
34599 install-html-target-libssp: \
34600 configure-target-libssp \
34601 html-target-libssp
34602 @: $(MAKE); $(unstage)
34603 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34604 r=`${PWD_COMMAND}`; export r; \
34605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34606 $(NORMAL_TARGET_EXPORTS) \
34607 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34608 for flag in $(EXTRA_TARGET_FLAGS); do \
34609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34610 done; \
34611 (cd $(TARGET_SUBDIR)/libssp && \
34612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34614 "RANLIB=$${RANLIB}" \
34615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34616 install-html) \
34617 || exit 1
34619 @endif target-libssp
34621 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34622 maybe-installcheck-target-libssp:
34623 @if target-libssp
34624 maybe-installcheck-target-libssp: installcheck-target-libssp
34626 installcheck-target-libssp: \
34627 configure-target-libssp
34628 @: $(MAKE); $(unstage)
34629 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34630 r=`${PWD_COMMAND}`; export r; \
34631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34632 $(NORMAL_TARGET_EXPORTS) \
34633 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34634 for flag in $(EXTRA_TARGET_FLAGS); do \
34635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34636 done; \
34637 (cd $(TARGET_SUBDIR)/libssp && \
34638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34640 "RANLIB=$${RANLIB}" \
34641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34642 installcheck) \
34643 || exit 1
34645 @endif target-libssp
34647 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34648 maybe-mostlyclean-target-libssp:
34649 @if target-libssp
34650 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34652 mostlyclean-target-libssp:
34653 @: $(MAKE); $(unstage)
34654 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34655 r=`${PWD_COMMAND}`; export r; \
34656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34657 $(NORMAL_TARGET_EXPORTS) \
34658 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34659 for flag in $(EXTRA_TARGET_FLAGS); do \
34660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34661 done; \
34662 (cd $(TARGET_SUBDIR)/libssp && \
34663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34665 "RANLIB=$${RANLIB}" \
34666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34667 mostlyclean) \
34668 || exit 1
34670 @endif target-libssp
34672 .PHONY: maybe-clean-target-libssp clean-target-libssp
34673 maybe-clean-target-libssp:
34674 @if target-libssp
34675 maybe-clean-target-libssp: clean-target-libssp
34677 clean-target-libssp:
34678 @: $(MAKE); $(unstage)
34679 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34680 r=`${PWD_COMMAND}`; export r; \
34681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34682 $(NORMAL_TARGET_EXPORTS) \
34683 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34684 for flag in $(EXTRA_TARGET_FLAGS); do \
34685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34686 done; \
34687 (cd $(TARGET_SUBDIR)/libssp && \
34688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34690 "RANLIB=$${RANLIB}" \
34691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34692 clean) \
34693 || exit 1
34695 @endif target-libssp
34697 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34698 maybe-distclean-target-libssp:
34699 @if target-libssp
34700 maybe-distclean-target-libssp: distclean-target-libssp
34702 distclean-target-libssp:
34703 @: $(MAKE); $(unstage)
34704 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34705 r=`${PWD_COMMAND}`; export r; \
34706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34707 $(NORMAL_TARGET_EXPORTS) \
34708 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34709 for flag in $(EXTRA_TARGET_FLAGS); do \
34710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34711 done; \
34712 (cd $(TARGET_SUBDIR)/libssp && \
34713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34715 "RANLIB=$${RANLIB}" \
34716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34717 distclean) \
34718 || exit 1
34720 @endif target-libssp
34722 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34723 maybe-maintainer-clean-target-libssp:
34724 @if target-libssp
34725 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34727 maintainer-clean-target-libssp:
34728 @: $(MAKE); $(unstage)
34729 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34730 r=`${PWD_COMMAND}`; export r; \
34731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34732 $(NORMAL_TARGET_EXPORTS) \
34733 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34734 for flag in $(EXTRA_TARGET_FLAGS); do \
34735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34736 done; \
34737 (cd $(TARGET_SUBDIR)/libssp && \
34738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34740 "RANLIB=$${RANLIB}" \
34741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34742 maintainer-clean) \
34743 || exit 1
34745 @endif target-libssp
34751 .PHONY: configure-target-newlib maybe-configure-target-newlib
34752 maybe-configure-target-newlib:
34753 @if gcc-bootstrap
34754 configure-target-newlib: stage_current
34755 @endif gcc-bootstrap
34756 @if target-newlib
34757 maybe-configure-target-newlib: configure-target-newlib
34758 configure-target-newlib:
34759 @: $(MAKE); $(unstage)
34760 @r=`${PWD_COMMAND}`; export r; \
34761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34762 echo "Checking multilib configuration for newlib..."; \
34763 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34764 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34765 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34766 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34767 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34768 else \
34769 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34770 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34771 fi; \
34772 else \
34773 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34774 fi; \
34775 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34777 $(NORMAL_TARGET_EXPORTS) \
34778 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34779 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34780 case $(srcdir) in \
34781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34782 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34784 esac; \
34785 srcdiroption="--srcdir=$${topdir}/newlib"; \
34786 libsrcdir="$$s/newlib"; \
34787 rm -f no-such-file || : ; \
34788 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34789 $(TARGET_CONFIGARGS) $${srcdiroption} \
34790 || exit 1
34791 @endif target-newlib
34797 .PHONY: all-target-newlib maybe-all-target-newlib
34798 maybe-all-target-newlib:
34799 @if gcc-bootstrap
34800 all-target-newlib: stage_current
34801 @endif gcc-bootstrap
34802 @if target-newlib
34803 TARGET-target-newlib=all
34804 maybe-all-target-newlib: all-target-newlib
34805 all-target-newlib: configure-target-newlib
34806 @: $(MAKE); $(unstage)
34807 @r=`${PWD_COMMAND}`; export r; \
34808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34809 $(NORMAL_TARGET_EXPORTS) \
34810 (cd $(TARGET_SUBDIR)/newlib && \
34811 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34812 @endif target-newlib
34818 .PHONY: check-target-newlib maybe-check-target-newlib
34819 maybe-check-target-newlib:
34820 @if target-newlib
34821 maybe-check-target-newlib: check-target-newlib
34823 check-target-newlib:
34824 @: $(MAKE); $(unstage)
34825 @r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(NORMAL_TARGET_EXPORTS) \
34828 (cd $(TARGET_SUBDIR)/newlib && \
34829 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34831 @endif target-newlib
34833 .PHONY: install-target-newlib maybe-install-target-newlib
34834 maybe-install-target-newlib:
34835 @if target-newlib
34836 maybe-install-target-newlib: install-target-newlib
34838 install-target-newlib: installdirs
34839 @: $(MAKE); $(unstage)
34840 @r=`${PWD_COMMAND}`; export r; \
34841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34842 $(NORMAL_TARGET_EXPORTS) \
34843 (cd $(TARGET_SUBDIR)/newlib && \
34844 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34846 @endif target-newlib
34848 # Other targets (info, dvi, pdf, etc.)
34850 .PHONY: maybe-info-target-newlib info-target-newlib
34851 maybe-info-target-newlib:
34852 @if target-newlib
34853 maybe-info-target-newlib: info-target-newlib
34855 info-target-newlib: \
34856 configure-target-newlib
34857 @: $(MAKE); $(unstage)
34858 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34859 r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(NORMAL_TARGET_EXPORTS) \
34862 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34863 for flag in $(EXTRA_TARGET_FLAGS); do \
34864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34865 done; \
34866 (cd $(TARGET_SUBDIR)/newlib && \
34867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34869 "RANLIB=$${RANLIB}" \
34870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34871 info) \
34872 || exit 1
34874 @endif target-newlib
34876 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34877 maybe-dvi-target-newlib:
34878 @if target-newlib
34879 maybe-dvi-target-newlib: dvi-target-newlib
34881 dvi-target-newlib: \
34882 configure-target-newlib
34883 @: $(MAKE); $(unstage)
34884 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34885 r=`${PWD_COMMAND}`; export r; \
34886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34887 $(NORMAL_TARGET_EXPORTS) \
34888 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34889 for flag in $(EXTRA_TARGET_FLAGS); do \
34890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34891 done; \
34892 (cd $(TARGET_SUBDIR)/newlib && \
34893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34895 "RANLIB=$${RANLIB}" \
34896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34897 dvi) \
34898 || exit 1
34900 @endif target-newlib
34902 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34903 maybe-pdf-target-newlib:
34904 @if target-newlib
34905 maybe-pdf-target-newlib: pdf-target-newlib
34907 pdf-target-newlib: \
34908 configure-target-newlib
34909 @: $(MAKE); $(unstage)
34910 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34911 r=`${PWD_COMMAND}`; export r; \
34912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34913 $(NORMAL_TARGET_EXPORTS) \
34914 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34915 for flag in $(EXTRA_TARGET_FLAGS); do \
34916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34917 done; \
34918 (cd $(TARGET_SUBDIR)/newlib && \
34919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34921 "RANLIB=$${RANLIB}" \
34922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34923 pdf) \
34924 || exit 1
34926 @endif target-newlib
34928 .PHONY: maybe-html-target-newlib html-target-newlib
34929 maybe-html-target-newlib:
34930 @if target-newlib
34931 maybe-html-target-newlib: html-target-newlib
34933 html-target-newlib: \
34934 configure-target-newlib
34935 @: $(MAKE); $(unstage)
34936 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34937 r=`${PWD_COMMAND}`; export r; \
34938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34939 $(NORMAL_TARGET_EXPORTS) \
34940 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34941 for flag in $(EXTRA_TARGET_FLAGS); do \
34942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34943 done; \
34944 (cd $(TARGET_SUBDIR)/newlib && \
34945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34947 "RANLIB=$${RANLIB}" \
34948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34949 html) \
34950 || exit 1
34952 @endif target-newlib
34954 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34955 maybe-TAGS-target-newlib:
34956 @if target-newlib
34957 maybe-TAGS-target-newlib: TAGS-target-newlib
34959 TAGS-target-newlib: \
34960 configure-target-newlib
34961 @: $(MAKE); $(unstage)
34962 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34963 r=`${PWD_COMMAND}`; export r; \
34964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34965 $(NORMAL_TARGET_EXPORTS) \
34966 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34967 for flag in $(EXTRA_TARGET_FLAGS); do \
34968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34969 done; \
34970 (cd $(TARGET_SUBDIR)/newlib && \
34971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34973 "RANLIB=$${RANLIB}" \
34974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34975 TAGS) \
34976 || exit 1
34978 @endif target-newlib
34980 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34981 maybe-install-info-target-newlib:
34982 @if target-newlib
34983 maybe-install-info-target-newlib: install-info-target-newlib
34985 install-info-target-newlib: \
34986 configure-target-newlib \
34987 info-target-newlib
34988 @: $(MAKE); $(unstage)
34989 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34990 r=`${PWD_COMMAND}`; export r; \
34991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34992 $(NORMAL_TARGET_EXPORTS) \
34993 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34994 for flag in $(EXTRA_TARGET_FLAGS); do \
34995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34996 done; \
34997 (cd $(TARGET_SUBDIR)/newlib && \
34998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35000 "RANLIB=$${RANLIB}" \
35001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35002 install-info) \
35003 || exit 1
35005 @endif target-newlib
35007 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
35008 maybe-install-html-target-newlib:
35009 @if target-newlib
35010 maybe-install-html-target-newlib: install-html-target-newlib
35012 install-html-target-newlib: \
35013 configure-target-newlib \
35014 html-target-newlib
35015 @: $(MAKE); $(unstage)
35016 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35017 r=`${PWD_COMMAND}`; export r; \
35018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35019 $(NORMAL_TARGET_EXPORTS) \
35020 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
35021 for flag in $(EXTRA_TARGET_FLAGS); do \
35022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35023 done; \
35024 (cd $(TARGET_SUBDIR)/newlib && \
35025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35027 "RANLIB=$${RANLIB}" \
35028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35029 install-html) \
35030 || exit 1
35032 @endif target-newlib
35034 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
35035 maybe-installcheck-target-newlib:
35036 @if target-newlib
35037 maybe-installcheck-target-newlib: installcheck-target-newlib
35039 installcheck-target-newlib: \
35040 configure-target-newlib
35041 @: $(MAKE); $(unstage)
35042 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35043 r=`${PWD_COMMAND}`; export r; \
35044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35045 $(NORMAL_TARGET_EXPORTS) \
35046 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
35047 for flag in $(EXTRA_TARGET_FLAGS); do \
35048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35049 done; \
35050 (cd $(TARGET_SUBDIR)/newlib && \
35051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35053 "RANLIB=$${RANLIB}" \
35054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35055 installcheck) \
35056 || exit 1
35058 @endif target-newlib
35060 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
35061 maybe-mostlyclean-target-newlib:
35062 @if target-newlib
35063 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
35065 mostlyclean-target-newlib:
35066 @: $(MAKE); $(unstage)
35067 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35068 r=`${PWD_COMMAND}`; export r; \
35069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35070 $(NORMAL_TARGET_EXPORTS) \
35071 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
35072 for flag in $(EXTRA_TARGET_FLAGS); do \
35073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35074 done; \
35075 (cd $(TARGET_SUBDIR)/newlib && \
35076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35078 "RANLIB=$${RANLIB}" \
35079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35080 mostlyclean) \
35081 || exit 1
35083 @endif target-newlib
35085 .PHONY: maybe-clean-target-newlib clean-target-newlib
35086 maybe-clean-target-newlib:
35087 @if target-newlib
35088 maybe-clean-target-newlib: clean-target-newlib
35090 clean-target-newlib:
35091 @: $(MAKE); $(unstage)
35092 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35093 r=`${PWD_COMMAND}`; export r; \
35094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35095 $(NORMAL_TARGET_EXPORTS) \
35096 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35097 for flag in $(EXTRA_TARGET_FLAGS); do \
35098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35099 done; \
35100 (cd $(TARGET_SUBDIR)/newlib && \
35101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35103 "RANLIB=$${RANLIB}" \
35104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35105 clean) \
35106 || exit 1
35108 @endif target-newlib
35110 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35111 maybe-distclean-target-newlib:
35112 @if target-newlib
35113 maybe-distclean-target-newlib: distclean-target-newlib
35115 distclean-target-newlib:
35116 @: $(MAKE); $(unstage)
35117 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35118 r=`${PWD_COMMAND}`; export r; \
35119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35120 $(NORMAL_TARGET_EXPORTS) \
35121 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35122 for flag in $(EXTRA_TARGET_FLAGS); do \
35123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35124 done; \
35125 (cd $(TARGET_SUBDIR)/newlib && \
35126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35128 "RANLIB=$${RANLIB}" \
35129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35130 distclean) \
35131 || exit 1
35133 @endif target-newlib
35135 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35136 maybe-maintainer-clean-target-newlib:
35137 @if target-newlib
35138 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35140 maintainer-clean-target-newlib:
35141 @: $(MAKE); $(unstage)
35142 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35143 r=`${PWD_COMMAND}`; export r; \
35144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35145 $(NORMAL_TARGET_EXPORTS) \
35146 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35147 for flag in $(EXTRA_TARGET_FLAGS); do \
35148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35149 done; \
35150 (cd $(TARGET_SUBDIR)/newlib && \
35151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35153 "RANLIB=$${RANLIB}" \
35154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35155 maintainer-clean) \
35156 || exit 1
35158 @endif target-newlib
35164 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35165 maybe-configure-target-libgfortran:
35166 @if gcc-bootstrap
35167 configure-target-libgfortran: stage_current
35168 @endif gcc-bootstrap
35169 @if target-libgfortran
35170 maybe-configure-target-libgfortran: configure-target-libgfortran
35171 configure-target-libgfortran:
35172 @: $(MAKE); $(unstage)
35173 @r=`${PWD_COMMAND}`; export r; \
35174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35175 echo "Checking multilib configuration for libgfortran..."; \
35176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35177 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35178 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35179 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35180 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35181 else \
35182 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35183 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35184 fi; \
35185 else \
35186 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35187 fi; \
35188 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35190 $(NORMAL_TARGET_EXPORTS) \
35191 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35192 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35193 case $(srcdir) in \
35194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35195 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35197 esac; \
35198 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35199 libsrcdir="$$s/libgfortran"; \
35200 rm -f no-such-file || : ; \
35201 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35202 $(TARGET_CONFIGARGS) $${srcdiroption} \
35203 || exit 1
35204 @endif target-libgfortran
35210 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35211 maybe-all-target-libgfortran:
35212 @if gcc-bootstrap
35213 all-target-libgfortran: stage_current
35214 @endif gcc-bootstrap
35215 @if target-libgfortran
35216 TARGET-target-libgfortran=all
35217 maybe-all-target-libgfortran: all-target-libgfortran
35218 all-target-libgfortran: configure-target-libgfortran
35219 @: $(MAKE); $(unstage)
35220 @r=`${PWD_COMMAND}`; export r; \
35221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35222 $(NORMAL_TARGET_EXPORTS) \
35223 (cd $(TARGET_SUBDIR)/libgfortran && \
35224 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
35225 @endif target-libgfortran
35231 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35232 maybe-check-target-libgfortran:
35233 @if target-libgfortran
35234 maybe-check-target-libgfortran: check-target-libgfortran
35236 check-target-libgfortran:
35237 @: $(MAKE); $(unstage)
35238 @r=`${PWD_COMMAND}`; export r; \
35239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35240 $(NORMAL_TARGET_EXPORTS) \
35241 (cd $(TARGET_SUBDIR)/libgfortran && \
35242 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35244 @endif target-libgfortran
35246 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35247 maybe-install-target-libgfortran:
35248 @if target-libgfortran
35249 maybe-install-target-libgfortran: install-target-libgfortran
35251 install-target-libgfortran: installdirs
35252 @: $(MAKE); $(unstage)
35253 @r=`${PWD_COMMAND}`; export r; \
35254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35255 $(NORMAL_TARGET_EXPORTS) \
35256 (cd $(TARGET_SUBDIR)/libgfortran && \
35257 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35259 @endif target-libgfortran
35261 # Other targets (info, dvi, pdf, etc.)
35263 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35264 maybe-info-target-libgfortran:
35265 @if target-libgfortran
35266 maybe-info-target-libgfortran: info-target-libgfortran
35268 info-target-libgfortran: \
35269 configure-target-libgfortran
35270 @: $(MAKE); $(unstage)
35271 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35272 r=`${PWD_COMMAND}`; export r; \
35273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35274 $(NORMAL_TARGET_EXPORTS) \
35275 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35276 for flag in $(EXTRA_TARGET_FLAGS); do \
35277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35278 done; \
35279 (cd $(TARGET_SUBDIR)/libgfortran && \
35280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35282 "RANLIB=$${RANLIB}" \
35283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35284 info) \
35285 || exit 1
35287 @endif target-libgfortran
35289 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35290 maybe-dvi-target-libgfortran:
35291 @if target-libgfortran
35292 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35294 dvi-target-libgfortran: \
35295 configure-target-libgfortran
35296 @: $(MAKE); $(unstage)
35297 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35298 r=`${PWD_COMMAND}`; export r; \
35299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35300 $(NORMAL_TARGET_EXPORTS) \
35301 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35302 for flag in $(EXTRA_TARGET_FLAGS); do \
35303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35304 done; \
35305 (cd $(TARGET_SUBDIR)/libgfortran && \
35306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35308 "RANLIB=$${RANLIB}" \
35309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35310 dvi) \
35311 || exit 1
35313 @endif target-libgfortran
35315 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35316 maybe-pdf-target-libgfortran:
35317 @if target-libgfortran
35318 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35320 pdf-target-libgfortran: \
35321 configure-target-libgfortran
35322 @: $(MAKE); $(unstage)
35323 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35324 r=`${PWD_COMMAND}`; export r; \
35325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35326 $(NORMAL_TARGET_EXPORTS) \
35327 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35328 for flag in $(EXTRA_TARGET_FLAGS); do \
35329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35330 done; \
35331 (cd $(TARGET_SUBDIR)/libgfortran && \
35332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35334 "RANLIB=$${RANLIB}" \
35335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35336 pdf) \
35337 || exit 1
35339 @endif target-libgfortran
35341 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35342 maybe-html-target-libgfortran:
35343 @if target-libgfortran
35344 maybe-html-target-libgfortran: html-target-libgfortran
35346 html-target-libgfortran: \
35347 configure-target-libgfortran
35348 @: $(MAKE); $(unstage)
35349 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35350 r=`${PWD_COMMAND}`; export r; \
35351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35352 $(NORMAL_TARGET_EXPORTS) \
35353 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35354 for flag in $(EXTRA_TARGET_FLAGS); do \
35355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35356 done; \
35357 (cd $(TARGET_SUBDIR)/libgfortran && \
35358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35360 "RANLIB=$${RANLIB}" \
35361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35362 html) \
35363 || exit 1
35365 @endif target-libgfortran
35367 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35368 maybe-TAGS-target-libgfortran:
35369 @if target-libgfortran
35370 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35372 TAGS-target-libgfortran: \
35373 configure-target-libgfortran
35374 @: $(MAKE); $(unstage)
35375 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35376 r=`${PWD_COMMAND}`; export r; \
35377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35378 $(NORMAL_TARGET_EXPORTS) \
35379 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35380 for flag in $(EXTRA_TARGET_FLAGS); do \
35381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35382 done; \
35383 (cd $(TARGET_SUBDIR)/libgfortran && \
35384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35386 "RANLIB=$${RANLIB}" \
35387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35388 TAGS) \
35389 || exit 1
35391 @endif target-libgfortran
35393 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35394 maybe-install-info-target-libgfortran:
35395 @if target-libgfortran
35396 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35398 install-info-target-libgfortran: \
35399 configure-target-libgfortran \
35400 info-target-libgfortran
35401 @: $(MAKE); $(unstage)
35402 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35403 r=`${PWD_COMMAND}`; export r; \
35404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35405 $(NORMAL_TARGET_EXPORTS) \
35406 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35407 for flag in $(EXTRA_TARGET_FLAGS); do \
35408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35409 done; \
35410 (cd $(TARGET_SUBDIR)/libgfortran && \
35411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35413 "RANLIB=$${RANLIB}" \
35414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35415 install-info) \
35416 || exit 1
35418 @endif target-libgfortran
35420 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35421 maybe-install-html-target-libgfortran:
35422 @if target-libgfortran
35423 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35425 install-html-target-libgfortran: \
35426 configure-target-libgfortran \
35427 html-target-libgfortran
35428 @: $(MAKE); $(unstage)
35429 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35430 r=`${PWD_COMMAND}`; export r; \
35431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35432 $(NORMAL_TARGET_EXPORTS) \
35433 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35434 for flag in $(EXTRA_TARGET_FLAGS); do \
35435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35436 done; \
35437 (cd $(TARGET_SUBDIR)/libgfortran && \
35438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35440 "RANLIB=$${RANLIB}" \
35441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35442 install-html) \
35443 || exit 1
35445 @endif target-libgfortran
35447 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35448 maybe-installcheck-target-libgfortran:
35449 @if target-libgfortran
35450 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35452 installcheck-target-libgfortran: \
35453 configure-target-libgfortran
35454 @: $(MAKE); $(unstage)
35455 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35456 r=`${PWD_COMMAND}`; export r; \
35457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35458 $(NORMAL_TARGET_EXPORTS) \
35459 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35460 for flag in $(EXTRA_TARGET_FLAGS); do \
35461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35462 done; \
35463 (cd $(TARGET_SUBDIR)/libgfortran && \
35464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35466 "RANLIB=$${RANLIB}" \
35467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35468 installcheck) \
35469 || exit 1
35471 @endif target-libgfortran
35473 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35474 maybe-mostlyclean-target-libgfortran:
35475 @if target-libgfortran
35476 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35478 mostlyclean-target-libgfortran:
35479 @: $(MAKE); $(unstage)
35480 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35481 r=`${PWD_COMMAND}`; export r; \
35482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35483 $(NORMAL_TARGET_EXPORTS) \
35484 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35485 for flag in $(EXTRA_TARGET_FLAGS); do \
35486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35487 done; \
35488 (cd $(TARGET_SUBDIR)/libgfortran && \
35489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35491 "RANLIB=$${RANLIB}" \
35492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35493 mostlyclean) \
35494 || exit 1
35496 @endif target-libgfortran
35498 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35499 maybe-clean-target-libgfortran:
35500 @if target-libgfortran
35501 maybe-clean-target-libgfortran: clean-target-libgfortran
35503 clean-target-libgfortran:
35504 @: $(MAKE); $(unstage)
35505 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35506 r=`${PWD_COMMAND}`; export r; \
35507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35508 $(NORMAL_TARGET_EXPORTS) \
35509 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35510 for flag in $(EXTRA_TARGET_FLAGS); do \
35511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35512 done; \
35513 (cd $(TARGET_SUBDIR)/libgfortran && \
35514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35516 "RANLIB=$${RANLIB}" \
35517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35518 clean) \
35519 || exit 1
35521 @endif target-libgfortran
35523 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35524 maybe-distclean-target-libgfortran:
35525 @if target-libgfortran
35526 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35528 distclean-target-libgfortran:
35529 @: $(MAKE); $(unstage)
35530 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35531 r=`${PWD_COMMAND}`; export r; \
35532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35533 $(NORMAL_TARGET_EXPORTS) \
35534 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35535 for flag in $(EXTRA_TARGET_FLAGS); do \
35536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35537 done; \
35538 (cd $(TARGET_SUBDIR)/libgfortran && \
35539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35541 "RANLIB=$${RANLIB}" \
35542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35543 distclean) \
35544 || exit 1
35546 @endif target-libgfortran
35548 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35549 maybe-maintainer-clean-target-libgfortran:
35550 @if target-libgfortran
35551 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35553 maintainer-clean-target-libgfortran:
35554 @: $(MAKE); $(unstage)
35555 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35556 r=`${PWD_COMMAND}`; export r; \
35557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35558 $(NORMAL_TARGET_EXPORTS) \
35559 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35560 for flag in $(EXTRA_TARGET_FLAGS); do \
35561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35562 done; \
35563 (cd $(TARGET_SUBDIR)/libgfortran && \
35564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35566 "RANLIB=$${RANLIB}" \
35567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35568 maintainer-clean) \
35569 || exit 1
35571 @endif target-libgfortran
35577 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35578 maybe-configure-target-libobjc:
35579 @if gcc-bootstrap
35580 configure-target-libobjc: stage_current
35581 @endif gcc-bootstrap
35582 @if target-libobjc
35583 maybe-configure-target-libobjc: configure-target-libobjc
35584 configure-target-libobjc:
35585 @: $(MAKE); $(unstage)
35586 @r=`${PWD_COMMAND}`; export r; \
35587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35588 echo "Checking multilib configuration for libobjc..."; \
35589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35590 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35591 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35592 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35593 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35594 else \
35595 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35596 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35597 fi; \
35598 else \
35599 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35600 fi; \
35601 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35603 $(NORMAL_TARGET_EXPORTS) \
35604 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35605 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35606 case $(srcdir) in \
35607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35608 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35610 esac; \
35611 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35612 libsrcdir="$$s/libobjc"; \
35613 rm -f no-such-file || : ; \
35614 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35615 $(TARGET_CONFIGARGS) $${srcdiroption} \
35616 || exit 1
35617 @endif target-libobjc
35623 .PHONY: all-target-libobjc maybe-all-target-libobjc
35624 maybe-all-target-libobjc:
35625 @if gcc-bootstrap
35626 all-target-libobjc: stage_current
35627 @endif gcc-bootstrap
35628 @if target-libobjc
35629 TARGET-target-libobjc=all
35630 maybe-all-target-libobjc: all-target-libobjc
35631 all-target-libobjc: configure-target-libobjc
35632 @: $(MAKE); $(unstage)
35633 @r=`${PWD_COMMAND}`; export r; \
35634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35635 $(NORMAL_TARGET_EXPORTS) \
35636 (cd $(TARGET_SUBDIR)/libobjc && \
35637 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
35638 @endif target-libobjc
35644 .PHONY: check-target-libobjc maybe-check-target-libobjc
35645 maybe-check-target-libobjc:
35646 @if target-libobjc
35647 maybe-check-target-libobjc: check-target-libobjc
35649 check-target-libobjc:
35650 @: $(MAKE); $(unstage)
35651 @r=`${PWD_COMMAND}`; export r; \
35652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35653 $(NORMAL_TARGET_EXPORTS) \
35654 (cd $(TARGET_SUBDIR)/libobjc && \
35655 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35657 @endif target-libobjc
35659 .PHONY: install-target-libobjc maybe-install-target-libobjc
35660 maybe-install-target-libobjc:
35661 @if target-libobjc
35662 maybe-install-target-libobjc: install-target-libobjc
35664 install-target-libobjc: installdirs
35665 @: $(MAKE); $(unstage)
35666 @r=`${PWD_COMMAND}`; export r; \
35667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35668 $(NORMAL_TARGET_EXPORTS) \
35669 (cd $(TARGET_SUBDIR)/libobjc && \
35670 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35672 @endif target-libobjc
35674 # Other targets (info, dvi, pdf, etc.)
35676 .PHONY: maybe-info-target-libobjc info-target-libobjc
35677 maybe-info-target-libobjc:
35678 @if target-libobjc
35679 maybe-info-target-libobjc: info-target-libobjc
35681 info-target-libobjc: \
35682 configure-target-libobjc
35683 @: $(MAKE); $(unstage)
35684 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35685 r=`${PWD_COMMAND}`; export r; \
35686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35687 $(NORMAL_TARGET_EXPORTS) \
35688 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35689 for flag in $(EXTRA_TARGET_FLAGS); do \
35690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35691 done; \
35692 (cd $(TARGET_SUBDIR)/libobjc && \
35693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35695 "RANLIB=$${RANLIB}" \
35696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35697 info) \
35698 || exit 1
35700 @endif target-libobjc
35702 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35703 maybe-dvi-target-libobjc:
35704 @if target-libobjc
35705 maybe-dvi-target-libobjc: dvi-target-libobjc
35707 dvi-target-libobjc: \
35708 configure-target-libobjc
35709 @: $(MAKE); $(unstage)
35710 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35711 r=`${PWD_COMMAND}`; export r; \
35712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35713 $(NORMAL_TARGET_EXPORTS) \
35714 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35715 for flag in $(EXTRA_TARGET_FLAGS); do \
35716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35717 done; \
35718 (cd $(TARGET_SUBDIR)/libobjc && \
35719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35721 "RANLIB=$${RANLIB}" \
35722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35723 dvi) \
35724 || exit 1
35726 @endif target-libobjc
35728 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35729 maybe-pdf-target-libobjc:
35730 @if target-libobjc
35731 maybe-pdf-target-libobjc: pdf-target-libobjc
35733 pdf-target-libobjc: \
35734 configure-target-libobjc
35735 @: $(MAKE); $(unstage)
35736 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35737 r=`${PWD_COMMAND}`; export r; \
35738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35739 $(NORMAL_TARGET_EXPORTS) \
35740 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35741 for flag in $(EXTRA_TARGET_FLAGS); do \
35742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35743 done; \
35744 (cd $(TARGET_SUBDIR)/libobjc && \
35745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35747 "RANLIB=$${RANLIB}" \
35748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35749 pdf) \
35750 || exit 1
35752 @endif target-libobjc
35754 .PHONY: maybe-html-target-libobjc html-target-libobjc
35755 maybe-html-target-libobjc:
35756 @if target-libobjc
35757 maybe-html-target-libobjc: html-target-libobjc
35759 html-target-libobjc: \
35760 configure-target-libobjc
35761 @: $(MAKE); $(unstage)
35762 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35763 r=`${PWD_COMMAND}`; export r; \
35764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35765 $(NORMAL_TARGET_EXPORTS) \
35766 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35767 for flag in $(EXTRA_TARGET_FLAGS); do \
35768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35769 done; \
35770 (cd $(TARGET_SUBDIR)/libobjc && \
35771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35773 "RANLIB=$${RANLIB}" \
35774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35775 html) \
35776 || exit 1
35778 @endif target-libobjc
35780 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35781 maybe-TAGS-target-libobjc:
35782 @if target-libobjc
35783 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35785 TAGS-target-libobjc: \
35786 configure-target-libobjc
35787 @: $(MAKE); $(unstage)
35788 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35789 r=`${PWD_COMMAND}`; export r; \
35790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35791 $(NORMAL_TARGET_EXPORTS) \
35792 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35793 for flag in $(EXTRA_TARGET_FLAGS); do \
35794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35795 done; \
35796 (cd $(TARGET_SUBDIR)/libobjc && \
35797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35799 "RANLIB=$${RANLIB}" \
35800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35801 TAGS) \
35802 || exit 1
35804 @endif target-libobjc
35806 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35807 maybe-install-info-target-libobjc:
35808 @if target-libobjc
35809 maybe-install-info-target-libobjc: install-info-target-libobjc
35811 install-info-target-libobjc: \
35812 configure-target-libobjc \
35813 info-target-libobjc
35814 @: $(MAKE); $(unstage)
35815 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35816 r=`${PWD_COMMAND}`; export r; \
35817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35818 $(NORMAL_TARGET_EXPORTS) \
35819 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35820 for flag in $(EXTRA_TARGET_FLAGS); do \
35821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35822 done; \
35823 (cd $(TARGET_SUBDIR)/libobjc && \
35824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35826 "RANLIB=$${RANLIB}" \
35827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35828 install-info) \
35829 || exit 1
35831 @endif target-libobjc
35833 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35834 maybe-install-html-target-libobjc:
35835 @if target-libobjc
35836 maybe-install-html-target-libobjc: install-html-target-libobjc
35838 install-html-target-libobjc: \
35839 configure-target-libobjc \
35840 html-target-libobjc
35841 @: $(MAKE); $(unstage)
35842 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35843 r=`${PWD_COMMAND}`; export r; \
35844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35845 $(NORMAL_TARGET_EXPORTS) \
35846 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35847 for flag in $(EXTRA_TARGET_FLAGS); do \
35848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35849 done; \
35850 (cd $(TARGET_SUBDIR)/libobjc && \
35851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35853 "RANLIB=$${RANLIB}" \
35854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35855 install-html) \
35856 || exit 1
35858 @endif target-libobjc
35860 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35861 maybe-installcheck-target-libobjc:
35862 @if target-libobjc
35863 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35865 installcheck-target-libobjc: \
35866 configure-target-libobjc
35867 @: $(MAKE); $(unstage)
35868 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35869 r=`${PWD_COMMAND}`; export r; \
35870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35871 $(NORMAL_TARGET_EXPORTS) \
35872 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35873 for flag in $(EXTRA_TARGET_FLAGS); do \
35874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35875 done; \
35876 (cd $(TARGET_SUBDIR)/libobjc && \
35877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35879 "RANLIB=$${RANLIB}" \
35880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35881 installcheck) \
35882 || exit 1
35884 @endif target-libobjc
35886 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35887 maybe-mostlyclean-target-libobjc:
35888 @if target-libobjc
35889 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35891 mostlyclean-target-libobjc:
35892 @: $(MAKE); $(unstage)
35893 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35894 r=`${PWD_COMMAND}`; export r; \
35895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35896 $(NORMAL_TARGET_EXPORTS) \
35897 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35898 for flag in $(EXTRA_TARGET_FLAGS); do \
35899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35900 done; \
35901 (cd $(TARGET_SUBDIR)/libobjc && \
35902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35904 "RANLIB=$${RANLIB}" \
35905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35906 mostlyclean) \
35907 || exit 1
35909 @endif target-libobjc
35911 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35912 maybe-clean-target-libobjc:
35913 @if target-libobjc
35914 maybe-clean-target-libobjc: clean-target-libobjc
35916 clean-target-libobjc:
35917 @: $(MAKE); $(unstage)
35918 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35919 r=`${PWD_COMMAND}`; export r; \
35920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35921 $(NORMAL_TARGET_EXPORTS) \
35922 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35923 for flag in $(EXTRA_TARGET_FLAGS); do \
35924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35925 done; \
35926 (cd $(TARGET_SUBDIR)/libobjc && \
35927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35929 "RANLIB=$${RANLIB}" \
35930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35931 clean) \
35932 || exit 1
35934 @endif target-libobjc
35936 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35937 maybe-distclean-target-libobjc:
35938 @if target-libobjc
35939 maybe-distclean-target-libobjc: distclean-target-libobjc
35941 distclean-target-libobjc:
35942 @: $(MAKE); $(unstage)
35943 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35944 r=`${PWD_COMMAND}`; export r; \
35945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35946 $(NORMAL_TARGET_EXPORTS) \
35947 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35948 for flag in $(EXTRA_TARGET_FLAGS); do \
35949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35950 done; \
35951 (cd $(TARGET_SUBDIR)/libobjc && \
35952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35954 "RANLIB=$${RANLIB}" \
35955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35956 distclean) \
35957 || exit 1
35959 @endif target-libobjc
35961 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35962 maybe-maintainer-clean-target-libobjc:
35963 @if target-libobjc
35964 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35966 maintainer-clean-target-libobjc:
35967 @: $(MAKE); $(unstage)
35968 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35969 r=`${PWD_COMMAND}`; export r; \
35970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35971 $(NORMAL_TARGET_EXPORTS) \
35972 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35973 for flag in $(EXTRA_TARGET_FLAGS); do \
35974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35975 done; \
35976 (cd $(TARGET_SUBDIR)/libobjc && \
35977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35979 "RANLIB=$${RANLIB}" \
35980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35981 maintainer-clean) \
35982 || exit 1
35984 @endif target-libobjc
35990 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35991 maybe-configure-target-libtermcap:
35992 @if gcc-bootstrap
35993 configure-target-libtermcap: stage_current
35994 @endif gcc-bootstrap
35995 @if target-libtermcap
35996 maybe-configure-target-libtermcap: configure-target-libtermcap
35997 configure-target-libtermcap:
35998 @: $(MAKE); $(unstage)
35999 @r=`${PWD_COMMAND}`; export r; \
36000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36001 echo "Checking multilib configuration for libtermcap..."; \
36002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36003 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36004 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36005 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36006 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36007 else \
36008 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36009 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36010 fi; \
36011 else \
36012 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36013 fi; \
36014 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36016 $(NORMAL_TARGET_EXPORTS) \
36017 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36018 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36019 case $(srcdir) in \
36020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36021 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36023 esac; \
36024 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36025 libsrcdir="$$s/libtermcap"; \
36026 rm -f no-such-file || : ; \
36027 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36028 $(TARGET_CONFIGARGS) $${srcdiroption} \
36029 || exit 1
36030 @endif target-libtermcap
36036 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36037 maybe-all-target-libtermcap:
36038 @if gcc-bootstrap
36039 all-target-libtermcap: stage_current
36040 @endif gcc-bootstrap
36041 @if target-libtermcap
36042 TARGET-target-libtermcap=all
36043 maybe-all-target-libtermcap: all-target-libtermcap
36044 all-target-libtermcap: configure-target-libtermcap
36045 @: $(MAKE); $(unstage)
36046 @r=`${PWD_COMMAND}`; export r; \
36047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36048 $(NORMAL_TARGET_EXPORTS) \
36049 (cd $(TARGET_SUBDIR)/libtermcap && \
36050 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
36051 @endif target-libtermcap
36057 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36058 maybe-check-target-libtermcap:
36059 @if target-libtermcap
36060 maybe-check-target-libtermcap: check-target-libtermcap
36062 # Dummy target for uncheckable module.
36063 check-target-libtermcap:
36065 @endif target-libtermcap
36067 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36068 maybe-install-target-libtermcap:
36069 @if target-libtermcap
36070 maybe-install-target-libtermcap: install-target-libtermcap
36072 install-target-libtermcap: installdirs
36073 @: $(MAKE); $(unstage)
36074 @r=`${PWD_COMMAND}`; export r; \
36075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36076 $(NORMAL_TARGET_EXPORTS) \
36077 (cd $(TARGET_SUBDIR)/libtermcap && \
36078 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36080 @endif target-libtermcap
36082 # Other targets (info, dvi, pdf, etc.)
36084 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36085 maybe-info-target-libtermcap:
36086 @if target-libtermcap
36087 maybe-info-target-libtermcap: info-target-libtermcap
36089 info-target-libtermcap: \
36090 configure-target-libtermcap
36091 @: $(MAKE); $(unstage)
36092 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36093 r=`${PWD_COMMAND}`; export r; \
36094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36095 $(NORMAL_TARGET_EXPORTS) \
36096 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36097 for flag in $(EXTRA_TARGET_FLAGS); do \
36098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36099 done; \
36100 (cd $(TARGET_SUBDIR)/libtermcap && \
36101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36103 "RANLIB=$${RANLIB}" \
36104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36105 info) \
36106 || exit 1
36108 @endif target-libtermcap
36110 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36111 maybe-dvi-target-libtermcap:
36112 @if target-libtermcap
36113 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36115 dvi-target-libtermcap: \
36116 configure-target-libtermcap
36117 @: $(MAKE); $(unstage)
36118 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36119 r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36123 for flag in $(EXTRA_TARGET_FLAGS); do \
36124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36125 done; \
36126 (cd $(TARGET_SUBDIR)/libtermcap && \
36127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36129 "RANLIB=$${RANLIB}" \
36130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36131 dvi) \
36132 || exit 1
36134 @endif target-libtermcap
36136 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36137 maybe-pdf-target-libtermcap:
36138 @if target-libtermcap
36139 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36141 pdf-target-libtermcap: \
36142 configure-target-libtermcap
36143 @: $(MAKE); $(unstage)
36144 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36145 r=`${PWD_COMMAND}`; export r; \
36146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36147 $(NORMAL_TARGET_EXPORTS) \
36148 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36149 for flag in $(EXTRA_TARGET_FLAGS); do \
36150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36151 done; \
36152 (cd $(TARGET_SUBDIR)/libtermcap && \
36153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36155 "RANLIB=$${RANLIB}" \
36156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36157 pdf) \
36158 || exit 1
36160 @endif target-libtermcap
36162 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36163 maybe-html-target-libtermcap:
36164 @if target-libtermcap
36165 maybe-html-target-libtermcap: html-target-libtermcap
36167 html-target-libtermcap: \
36168 configure-target-libtermcap
36169 @: $(MAKE); $(unstage)
36170 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36171 r=`${PWD_COMMAND}`; export r; \
36172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36173 $(NORMAL_TARGET_EXPORTS) \
36174 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36175 for flag in $(EXTRA_TARGET_FLAGS); do \
36176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36177 done; \
36178 (cd $(TARGET_SUBDIR)/libtermcap && \
36179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36181 "RANLIB=$${RANLIB}" \
36182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36183 html) \
36184 || exit 1
36186 @endif target-libtermcap
36188 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36189 maybe-TAGS-target-libtermcap:
36190 @if target-libtermcap
36191 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36193 TAGS-target-libtermcap: \
36194 configure-target-libtermcap
36195 @: $(MAKE); $(unstage)
36196 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36197 r=`${PWD_COMMAND}`; export r; \
36198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36199 $(NORMAL_TARGET_EXPORTS) \
36200 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36201 for flag in $(EXTRA_TARGET_FLAGS); do \
36202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36203 done; \
36204 (cd $(TARGET_SUBDIR)/libtermcap && \
36205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36207 "RANLIB=$${RANLIB}" \
36208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36209 TAGS) \
36210 || exit 1
36212 @endif target-libtermcap
36214 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36215 maybe-install-info-target-libtermcap:
36216 @if target-libtermcap
36217 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36219 install-info-target-libtermcap: \
36220 configure-target-libtermcap \
36221 info-target-libtermcap
36222 @: $(MAKE); $(unstage)
36223 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36224 r=`${PWD_COMMAND}`; export r; \
36225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36226 $(NORMAL_TARGET_EXPORTS) \
36227 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36228 for flag in $(EXTRA_TARGET_FLAGS); do \
36229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36230 done; \
36231 (cd $(TARGET_SUBDIR)/libtermcap && \
36232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36234 "RANLIB=$${RANLIB}" \
36235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36236 install-info) \
36237 || exit 1
36239 @endif target-libtermcap
36241 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36242 maybe-install-html-target-libtermcap:
36243 @if target-libtermcap
36244 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36246 install-html-target-libtermcap: \
36247 configure-target-libtermcap \
36248 html-target-libtermcap
36249 @: $(MAKE); $(unstage)
36250 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36251 r=`${PWD_COMMAND}`; export r; \
36252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36253 $(NORMAL_TARGET_EXPORTS) \
36254 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36255 for flag in $(EXTRA_TARGET_FLAGS); do \
36256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36257 done; \
36258 (cd $(TARGET_SUBDIR)/libtermcap && \
36259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36261 "RANLIB=$${RANLIB}" \
36262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36263 install-html) \
36264 || exit 1
36266 @endif target-libtermcap
36268 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36269 maybe-installcheck-target-libtermcap:
36270 @if target-libtermcap
36271 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36273 installcheck-target-libtermcap: \
36274 configure-target-libtermcap
36275 @: $(MAKE); $(unstage)
36276 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36277 r=`${PWD_COMMAND}`; export r; \
36278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36279 $(NORMAL_TARGET_EXPORTS) \
36280 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36281 for flag in $(EXTRA_TARGET_FLAGS); do \
36282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36283 done; \
36284 (cd $(TARGET_SUBDIR)/libtermcap && \
36285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36287 "RANLIB=$${RANLIB}" \
36288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36289 installcheck) \
36290 || exit 1
36292 @endif target-libtermcap
36294 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36295 maybe-mostlyclean-target-libtermcap:
36296 @if target-libtermcap
36297 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36299 # libtermcap doesn't support mostlyclean.
36300 mostlyclean-target-libtermcap:
36302 @endif target-libtermcap
36304 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36305 maybe-clean-target-libtermcap:
36306 @if target-libtermcap
36307 maybe-clean-target-libtermcap: clean-target-libtermcap
36309 # libtermcap doesn't support clean.
36310 clean-target-libtermcap:
36312 @endif target-libtermcap
36314 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36315 maybe-distclean-target-libtermcap:
36316 @if target-libtermcap
36317 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36319 # libtermcap doesn't support distclean.
36320 distclean-target-libtermcap:
36322 @endif target-libtermcap
36324 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36325 maybe-maintainer-clean-target-libtermcap:
36326 @if target-libtermcap
36327 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36329 # libtermcap doesn't support maintainer-clean.
36330 maintainer-clean-target-libtermcap:
36332 @endif target-libtermcap
36338 .PHONY: configure-target-winsup maybe-configure-target-winsup
36339 maybe-configure-target-winsup:
36340 @if gcc-bootstrap
36341 configure-target-winsup: stage_current
36342 @endif gcc-bootstrap
36343 @if target-winsup
36344 maybe-configure-target-winsup: configure-target-winsup
36345 configure-target-winsup:
36346 @: $(MAKE); $(unstage)
36347 @r=`${PWD_COMMAND}`; export r; \
36348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36349 echo "Checking multilib configuration for winsup..."; \
36350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36351 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36352 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36353 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36354 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36355 else \
36356 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36357 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36358 fi; \
36359 else \
36360 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36361 fi; \
36362 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36364 $(NORMAL_TARGET_EXPORTS) \
36365 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36366 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36367 case $(srcdir) in \
36368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36369 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36371 esac; \
36372 srcdiroption="--srcdir=$${topdir}/winsup"; \
36373 libsrcdir="$$s/winsup"; \
36374 rm -f no-such-file || : ; \
36375 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36376 $(TARGET_CONFIGARGS) $${srcdiroption} \
36377 || exit 1
36378 @endif target-winsup
36384 .PHONY: all-target-winsup maybe-all-target-winsup
36385 maybe-all-target-winsup:
36386 @if gcc-bootstrap
36387 all-target-winsup: stage_current
36388 @endif gcc-bootstrap
36389 @if target-winsup
36390 TARGET-target-winsup=all
36391 maybe-all-target-winsup: all-target-winsup
36392 all-target-winsup: configure-target-winsup
36393 @: $(MAKE); $(unstage)
36394 @r=`${PWD_COMMAND}`; export r; \
36395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36396 $(NORMAL_TARGET_EXPORTS) \
36397 (cd $(TARGET_SUBDIR)/winsup && \
36398 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
36399 @endif target-winsup
36405 .PHONY: check-target-winsup maybe-check-target-winsup
36406 maybe-check-target-winsup:
36407 @if target-winsup
36408 maybe-check-target-winsup: check-target-winsup
36410 check-target-winsup:
36411 @: $(MAKE); $(unstage)
36412 @r=`${PWD_COMMAND}`; export r; \
36413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36414 $(NORMAL_TARGET_EXPORTS) \
36415 (cd $(TARGET_SUBDIR)/winsup && \
36416 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36418 @endif target-winsup
36420 .PHONY: install-target-winsup maybe-install-target-winsup
36421 maybe-install-target-winsup:
36422 @if target-winsup
36423 maybe-install-target-winsup: install-target-winsup
36425 install-target-winsup: installdirs
36426 @: $(MAKE); $(unstage)
36427 @r=`${PWD_COMMAND}`; export r; \
36428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36429 $(NORMAL_TARGET_EXPORTS) \
36430 (cd $(TARGET_SUBDIR)/winsup && \
36431 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36433 @endif target-winsup
36435 # Other targets (info, dvi, pdf, etc.)
36437 .PHONY: maybe-info-target-winsup info-target-winsup
36438 maybe-info-target-winsup:
36439 @if target-winsup
36440 maybe-info-target-winsup: info-target-winsup
36442 info-target-winsup: \
36443 configure-target-winsup
36444 @: $(MAKE); $(unstage)
36445 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36446 r=`${PWD_COMMAND}`; export r; \
36447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36448 $(NORMAL_TARGET_EXPORTS) \
36449 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36450 for flag in $(EXTRA_TARGET_FLAGS); do \
36451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36452 done; \
36453 (cd $(TARGET_SUBDIR)/winsup && \
36454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36456 "RANLIB=$${RANLIB}" \
36457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36458 info) \
36459 || exit 1
36461 @endif target-winsup
36463 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36464 maybe-dvi-target-winsup:
36465 @if target-winsup
36466 maybe-dvi-target-winsup: dvi-target-winsup
36468 dvi-target-winsup: \
36469 configure-target-winsup
36470 @: $(MAKE); $(unstage)
36471 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36472 r=`${PWD_COMMAND}`; export r; \
36473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36474 $(NORMAL_TARGET_EXPORTS) \
36475 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36476 for flag in $(EXTRA_TARGET_FLAGS); do \
36477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36478 done; \
36479 (cd $(TARGET_SUBDIR)/winsup && \
36480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36482 "RANLIB=$${RANLIB}" \
36483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36484 dvi) \
36485 || exit 1
36487 @endif target-winsup
36489 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36490 maybe-pdf-target-winsup:
36491 @if target-winsup
36492 maybe-pdf-target-winsup: pdf-target-winsup
36494 pdf-target-winsup: \
36495 configure-target-winsup
36496 @: $(MAKE); $(unstage)
36497 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36498 r=`${PWD_COMMAND}`; export r; \
36499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36500 $(NORMAL_TARGET_EXPORTS) \
36501 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36502 for flag in $(EXTRA_TARGET_FLAGS); do \
36503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36504 done; \
36505 (cd $(TARGET_SUBDIR)/winsup && \
36506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36508 "RANLIB=$${RANLIB}" \
36509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36510 pdf) \
36511 || exit 1
36513 @endif target-winsup
36515 .PHONY: maybe-html-target-winsup html-target-winsup
36516 maybe-html-target-winsup:
36517 @if target-winsup
36518 maybe-html-target-winsup: html-target-winsup
36520 html-target-winsup: \
36521 configure-target-winsup
36522 @: $(MAKE); $(unstage)
36523 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36524 r=`${PWD_COMMAND}`; export r; \
36525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36526 $(NORMAL_TARGET_EXPORTS) \
36527 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36528 for flag in $(EXTRA_TARGET_FLAGS); do \
36529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36530 done; \
36531 (cd $(TARGET_SUBDIR)/winsup && \
36532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36534 "RANLIB=$${RANLIB}" \
36535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36536 html) \
36537 || exit 1
36539 @endif target-winsup
36541 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36542 maybe-TAGS-target-winsup:
36543 @if target-winsup
36544 maybe-TAGS-target-winsup: TAGS-target-winsup
36546 TAGS-target-winsup: \
36547 configure-target-winsup
36548 @: $(MAKE); $(unstage)
36549 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36550 r=`${PWD_COMMAND}`; export r; \
36551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36552 $(NORMAL_TARGET_EXPORTS) \
36553 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36554 for flag in $(EXTRA_TARGET_FLAGS); do \
36555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36556 done; \
36557 (cd $(TARGET_SUBDIR)/winsup && \
36558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36560 "RANLIB=$${RANLIB}" \
36561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36562 TAGS) \
36563 || exit 1
36565 @endif target-winsup
36567 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36568 maybe-install-info-target-winsup:
36569 @if target-winsup
36570 maybe-install-info-target-winsup: install-info-target-winsup
36572 install-info-target-winsup: \
36573 configure-target-winsup \
36574 info-target-winsup
36575 @: $(MAKE); $(unstage)
36576 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36577 r=`${PWD_COMMAND}`; export r; \
36578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36579 $(NORMAL_TARGET_EXPORTS) \
36580 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36581 for flag in $(EXTRA_TARGET_FLAGS); do \
36582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36583 done; \
36584 (cd $(TARGET_SUBDIR)/winsup && \
36585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36587 "RANLIB=$${RANLIB}" \
36588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36589 install-info) \
36590 || exit 1
36592 @endif target-winsup
36594 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36595 maybe-install-html-target-winsup:
36596 @if target-winsup
36597 maybe-install-html-target-winsup: install-html-target-winsup
36599 install-html-target-winsup: \
36600 configure-target-winsup \
36601 html-target-winsup
36602 @: $(MAKE); $(unstage)
36603 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36604 r=`${PWD_COMMAND}`; export r; \
36605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36606 $(NORMAL_TARGET_EXPORTS) \
36607 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36608 for flag in $(EXTRA_TARGET_FLAGS); do \
36609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36610 done; \
36611 (cd $(TARGET_SUBDIR)/winsup && \
36612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36614 "RANLIB=$${RANLIB}" \
36615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36616 install-html) \
36617 || exit 1
36619 @endif target-winsup
36621 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36622 maybe-installcheck-target-winsup:
36623 @if target-winsup
36624 maybe-installcheck-target-winsup: installcheck-target-winsup
36626 installcheck-target-winsup: \
36627 configure-target-winsup
36628 @: $(MAKE); $(unstage)
36629 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36630 r=`${PWD_COMMAND}`; export r; \
36631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36632 $(NORMAL_TARGET_EXPORTS) \
36633 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36634 for flag in $(EXTRA_TARGET_FLAGS); do \
36635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36636 done; \
36637 (cd $(TARGET_SUBDIR)/winsup && \
36638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36640 "RANLIB=$${RANLIB}" \
36641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36642 installcheck) \
36643 || exit 1
36645 @endif target-winsup
36647 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36648 maybe-mostlyclean-target-winsup:
36649 @if target-winsup
36650 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36652 mostlyclean-target-winsup:
36653 @: $(MAKE); $(unstage)
36654 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36655 r=`${PWD_COMMAND}`; export r; \
36656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36657 $(NORMAL_TARGET_EXPORTS) \
36658 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36659 for flag in $(EXTRA_TARGET_FLAGS); do \
36660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36661 done; \
36662 (cd $(TARGET_SUBDIR)/winsup && \
36663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36665 "RANLIB=$${RANLIB}" \
36666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36667 mostlyclean) \
36668 || exit 1
36670 @endif target-winsup
36672 .PHONY: maybe-clean-target-winsup clean-target-winsup
36673 maybe-clean-target-winsup:
36674 @if target-winsup
36675 maybe-clean-target-winsup: clean-target-winsup
36677 clean-target-winsup:
36678 @: $(MAKE); $(unstage)
36679 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36680 r=`${PWD_COMMAND}`; export r; \
36681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36682 $(NORMAL_TARGET_EXPORTS) \
36683 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36684 for flag in $(EXTRA_TARGET_FLAGS); do \
36685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36686 done; \
36687 (cd $(TARGET_SUBDIR)/winsup && \
36688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36690 "RANLIB=$${RANLIB}" \
36691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36692 clean) \
36693 || exit 1
36695 @endif target-winsup
36697 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36698 maybe-distclean-target-winsup:
36699 @if target-winsup
36700 maybe-distclean-target-winsup: distclean-target-winsup
36702 distclean-target-winsup:
36703 @: $(MAKE); $(unstage)
36704 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36705 r=`${PWD_COMMAND}`; export r; \
36706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36707 $(NORMAL_TARGET_EXPORTS) \
36708 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36709 for flag in $(EXTRA_TARGET_FLAGS); do \
36710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36711 done; \
36712 (cd $(TARGET_SUBDIR)/winsup && \
36713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36715 "RANLIB=$${RANLIB}" \
36716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36717 distclean) \
36718 || exit 1
36720 @endif target-winsup
36722 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36723 maybe-maintainer-clean-target-winsup:
36724 @if target-winsup
36725 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36727 maintainer-clean-target-winsup:
36728 @: $(MAKE); $(unstage)
36729 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36730 r=`${PWD_COMMAND}`; export r; \
36731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36732 $(NORMAL_TARGET_EXPORTS) \
36733 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36734 for flag in $(EXTRA_TARGET_FLAGS); do \
36735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36736 done; \
36737 (cd $(TARGET_SUBDIR)/winsup && \
36738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36740 "RANLIB=$${RANLIB}" \
36741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36742 maintainer-clean) \
36743 || exit 1
36745 @endif target-winsup
36751 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36752 maybe-configure-target-libgloss:
36753 @if gcc-bootstrap
36754 configure-target-libgloss: stage_current
36755 @endif gcc-bootstrap
36756 @if target-libgloss
36757 maybe-configure-target-libgloss: configure-target-libgloss
36758 configure-target-libgloss:
36759 @: $(MAKE); $(unstage)
36760 @r=`${PWD_COMMAND}`; export r; \
36761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36762 echo "Checking multilib configuration for libgloss..."; \
36763 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36764 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36765 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36766 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36767 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36768 else \
36769 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36770 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36771 fi; \
36772 else \
36773 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36774 fi; \
36775 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36777 $(NORMAL_TARGET_EXPORTS) \
36778 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36779 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36780 case $(srcdir) in \
36781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36782 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36784 esac; \
36785 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36786 libsrcdir="$$s/libgloss"; \
36787 rm -f no-such-file || : ; \
36788 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36789 $(TARGET_CONFIGARGS) $${srcdiroption} \
36790 || exit 1
36791 @endif target-libgloss
36797 .PHONY: all-target-libgloss maybe-all-target-libgloss
36798 maybe-all-target-libgloss:
36799 @if gcc-bootstrap
36800 all-target-libgloss: stage_current
36801 @endif gcc-bootstrap
36802 @if target-libgloss
36803 TARGET-target-libgloss=all
36804 maybe-all-target-libgloss: all-target-libgloss
36805 all-target-libgloss: configure-target-libgloss
36806 @: $(MAKE); $(unstage)
36807 @r=`${PWD_COMMAND}`; export r; \
36808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36809 $(NORMAL_TARGET_EXPORTS) \
36810 (cd $(TARGET_SUBDIR)/libgloss && \
36811 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
36812 @endif target-libgloss
36818 .PHONY: check-target-libgloss maybe-check-target-libgloss
36819 maybe-check-target-libgloss:
36820 @if target-libgloss
36821 maybe-check-target-libgloss: check-target-libgloss
36823 # Dummy target for uncheckable module.
36824 check-target-libgloss:
36826 @endif target-libgloss
36828 .PHONY: install-target-libgloss maybe-install-target-libgloss
36829 maybe-install-target-libgloss:
36830 @if target-libgloss
36831 maybe-install-target-libgloss: install-target-libgloss
36833 install-target-libgloss: installdirs
36834 @: $(MAKE); $(unstage)
36835 @r=`${PWD_COMMAND}`; export r; \
36836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36837 $(NORMAL_TARGET_EXPORTS) \
36838 (cd $(TARGET_SUBDIR)/libgloss && \
36839 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36841 @endif target-libgloss
36843 # Other targets (info, dvi, pdf, etc.)
36845 .PHONY: maybe-info-target-libgloss info-target-libgloss
36846 maybe-info-target-libgloss:
36847 @if target-libgloss
36848 maybe-info-target-libgloss: info-target-libgloss
36850 info-target-libgloss: \
36851 configure-target-libgloss
36852 @: $(MAKE); $(unstage)
36853 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36854 r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 $(NORMAL_TARGET_EXPORTS) \
36857 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36858 for flag in $(EXTRA_TARGET_FLAGS); do \
36859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36860 done; \
36861 (cd $(TARGET_SUBDIR)/libgloss && \
36862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36864 "RANLIB=$${RANLIB}" \
36865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36866 info) \
36867 || exit 1
36869 @endif target-libgloss
36871 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36872 maybe-dvi-target-libgloss:
36873 @if target-libgloss
36874 maybe-dvi-target-libgloss: dvi-target-libgloss
36876 dvi-target-libgloss: \
36877 configure-target-libgloss
36878 @: $(MAKE); $(unstage)
36879 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36880 r=`${PWD_COMMAND}`; export r; \
36881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36882 $(NORMAL_TARGET_EXPORTS) \
36883 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36884 for flag in $(EXTRA_TARGET_FLAGS); do \
36885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36886 done; \
36887 (cd $(TARGET_SUBDIR)/libgloss && \
36888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36890 "RANLIB=$${RANLIB}" \
36891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36892 dvi) \
36893 || exit 1
36895 @endif target-libgloss
36897 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36898 maybe-pdf-target-libgloss:
36899 @if target-libgloss
36900 maybe-pdf-target-libgloss: pdf-target-libgloss
36902 pdf-target-libgloss: \
36903 configure-target-libgloss
36904 @: $(MAKE); $(unstage)
36905 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36906 r=`${PWD_COMMAND}`; export r; \
36907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36908 $(NORMAL_TARGET_EXPORTS) \
36909 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36910 for flag in $(EXTRA_TARGET_FLAGS); do \
36911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36912 done; \
36913 (cd $(TARGET_SUBDIR)/libgloss && \
36914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36916 "RANLIB=$${RANLIB}" \
36917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36918 pdf) \
36919 || exit 1
36921 @endif target-libgloss
36923 .PHONY: maybe-html-target-libgloss html-target-libgloss
36924 maybe-html-target-libgloss:
36925 @if target-libgloss
36926 maybe-html-target-libgloss: html-target-libgloss
36928 html-target-libgloss: \
36929 configure-target-libgloss
36930 @: $(MAKE); $(unstage)
36931 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36932 r=`${PWD_COMMAND}`; export r; \
36933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36934 $(NORMAL_TARGET_EXPORTS) \
36935 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36936 for flag in $(EXTRA_TARGET_FLAGS); do \
36937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36938 done; \
36939 (cd $(TARGET_SUBDIR)/libgloss && \
36940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36942 "RANLIB=$${RANLIB}" \
36943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36944 html) \
36945 || exit 1
36947 @endif target-libgloss
36949 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36950 maybe-TAGS-target-libgloss:
36951 @if target-libgloss
36952 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36954 TAGS-target-libgloss: \
36955 configure-target-libgloss
36956 @: $(MAKE); $(unstage)
36957 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36958 r=`${PWD_COMMAND}`; export r; \
36959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36960 $(NORMAL_TARGET_EXPORTS) \
36961 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36962 for flag in $(EXTRA_TARGET_FLAGS); do \
36963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36964 done; \
36965 (cd $(TARGET_SUBDIR)/libgloss && \
36966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36968 "RANLIB=$${RANLIB}" \
36969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36970 TAGS) \
36971 || exit 1
36973 @endif target-libgloss
36975 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36976 maybe-install-info-target-libgloss:
36977 @if target-libgloss
36978 maybe-install-info-target-libgloss: install-info-target-libgloss
36980 install-info-target-libgloss: \
36981 configure-target-libgloss \
36982 info-target-libgloss
36983 @: $(MAKE); $(unstage)
36984 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36985 r=`${PWD_COMMAND}`; export r; \
36986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36987 $(NORMAL_TARGET_EXPORTS) \
36988 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36989 for flag in $(EXTRA_TARGET_FLAGS); do \
36990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36991 done; \
36992 (cd $(TARGET_SUBDIR)/libgloss && \
36993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36995 "RANLIB=$${RANLIB}" \
36996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36997 install-info) \
36998 || exit 1
37000 @endif target-libgloss
37002 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37003 maybe-install-html-target-libgloss:
37004 @if target-libgloss
37005 maybe-install-html-target-libgloss: install-html-target-libgloss
37007 install-html-target-libgloss: \
37008 configure-target-libgloss \
37009 html-target-libgloss
37010 @: $(MAKE); $(unstage)
37011 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37012 r=`${PWD_COMMAND}`; export r; \
37013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37014 $(NORMAL_TARGET_EXPORTS) \
37015 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37016 for flag in $(EXTRA_TARGET_FLAGS); do \
37017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37018 done; \
37019 (cd $(TARGET_SUBDIR)/libgloss && \
37020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37022 "RANLIB=$${RANLIB}" \
37023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37024 install-html) \
37025 || exit 1
37027 @endif target-libgloss
37029 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37030 maybe-installcheck-target-libgloss:
37031 @if target-libgloss
37032 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37034 installcheck-target-libgloss: \
37035 configure-target-libgloss
37036 @: $(MAKE); $(unstage)
37037 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37038 r=`${PWD_COMMAND}`; export r; \
37039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37040 $(NORMAL_TARGET_EXPORTS) \
37041 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37042 for flag in $(EXTRA_TARGET_FLAGS); do \
37043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37044 done; \
37045 (cd $(TARGET_SUBDIR)/libgloss && \
37046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37048 "RANLIB=$${RANLIB}" \
37049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37050 installcheck) \
37051 || exit 1
37053 @endif target-libgloss
37055 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37056 maybe-mostlyclean-target-libgloss:
37057 @if target-libgloss
37058 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37060 mostlyclean-target-libgloss:
37061 @: $(MAKE); $(unstage)
37062 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37063 r=`${PWD_COMMAND}`; export r; \
37064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37065 $(NORMAL_TARGET_EXPORTS) \
37066 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37067 for flag in $(EXTRA_TARGET_FLAGS); do \
37068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37069 done; \
37070 (cd $(TARGET_SUBDIR)/libgloss && \
37071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37073 "RANLIB=$${RANLIB}" \
37074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37075 mostlyclean) \
37076 || exit 1
37078 @endif target-libgloss
37080 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37081 maybe-clean-target-libgloss:
37082 @if target-libgloss
37083 maybe-clean-target-libgloss: clean-target-libgloss
37085 clean-target-libgloss:
37086 @: $(MAKE); $(unstage)
37087 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37088 r=`${PWD_COMMAND}`; export r; \
37089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37090 $(NORMAL_TARGET_EXPORTS) \
37091 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37092 for flag in $(EXTRA_TARGET_FLAGS); do \
37093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37094 done; \
37095 (cd $(TARGET_SUBDIR)/libgloss && \
37096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37098 "RANLIB=$${RANLIB}" \
37099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37100 clean) \
37101 || exit 1
37103 @endif target-libgloss
37105 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37106 maybe-distclean-target-libgloss:
37107 @if target-libgloss
37108 maybe-distclean-target-libgloss: distclean-target-libgloss
37110 distclean-target-libgloss:
37111 @: $(MAKE); $(unstage)
37112 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37113 r=`${PWD_COMMAND}`; export r; \
37114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37115 $(NORMAL_TARGET_EXPORTS) \
37116 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37117 for flag in $(EXTRA_TARGET_FLAGS); do \
37118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37119 done; \
37120 (cd $(TARGET_SUBDIR)/libgloss && \
37121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37123 "RANLIB=$${RANLIB}" \
37124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37125 distclean) \
37126 || exit 1
37128 @endif target-libgloss
37130 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37131 maybe-maintainer-clean-target-libgloss:
37132 @if target-libgloss
37133 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37135 maintainer-clean-target-libgloss:
37136 @: $(MAKE); $(unstage)
37137 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37138 r=`${PWD_COMMAND}`; export r; \
37139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37140 $(NORMAL_TARGET_EXPORTS) \
37141 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37142 for flag in $(EXTRA_TARGET_FLAGS); do \
37143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37144 done; \
37145 (cd $(TARGET_SUBDIR)/libgloss && \
37146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37148 "RANLIB=$${RANLIB}" \
37149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37150 maintainer-clean) \
37151 || exit 1
37153 @endif target-libgloss
37159 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
37160 maybe-configure-target-libiberty:
37161 @if gcc-bootstrap
37162 configure-target-libiberty: stage_current
37163 @endif gcc-bootstrap
37164 @if target-libiberty
37165 maybe-configure-target-libiberty: configure-target-libiberty
37166 configure-target-libiberty:
37167 @: $(MAKE); $(unstage)
37168 @r=`${PWD_COMMAND}`; export r; \
37169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37170 echo "Checking multilib configuration for libiberty..."; \
37171 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37172 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
37173 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37174 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
37175 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
37176 else \
37177 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
37178 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37179 fi; \
37180 else \
37181 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
37182 fi; \
37183 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
37184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
37185 $(NORMAL_TARGET_EXPORTS) \
37186 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
37187 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
37188 case $(srcdir) in \
37189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37190 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
37191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37192 esac; \
37193 srcdiroption="--srcdir=$${topdir}/libiberty"; \
37194 libsrcdir="$$s/libiberty"; \
37195 rm -f no-such-file || : ; \
37196 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37197 $(TARGET_CONFIGARGS) $${srcdiroption} \
37198 || exit 1
37199 @endif target-libiberty
37205 .PHONY: all-target-libiberty maybe-all-target-libiberty
37206 maybe-all-target-libiberty:
37207 @if gcc-bootstrap
37208 all-target-libiberty: stage_current
37209 @endif gcc-bootstrap
37210 @if target-libiberty
37211 TARGET-target-libiberty=all
37212 maybe-all-target-libiberty: all-target-libiberty
37213 all-target-libiberty: configure-target-libiberty
37214 @: $(MAKE); $(unstage)
37215 @r=`${PWD_COMMAND}`; export r; \
37216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37217 $(NORMAL_TARGET_EXPORTS) \
37218 (cd $(TARGET_SUBDIR)/libiberty && \
37219 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
37220 @endif target-libiberty
37226 .PHONY: check-target-libiberty maybe-check-target-libiberty
37227 maybe-check-target-libiberty:
37228 @if target-libiberty
37229 maybe-check-target-libiberty: check-target-libiberty
37231 check-target-libiberty:
37232 @: $(MAKE); $(unstage)
37233 @r=`${PWD_COMMAND}`; export r; \
37234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37235 $(NORMAL_TARGET_EXPORTS) \
37236 (cd $(TARGET_SUBDIR)/libiberty && \
37237 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37239 @endif target-libiberty
37241 .PHONY: install-target-libiberty maybe-install-target-libiberty
37242 maybe-install-target-libiberty:
37243 @if target-libiberty
37244 maybe-install-target-libiberty: install-target-libiberty
37246 install-target-libiberty: installdirs
37247 @: $(MAKE); $(unstage)
37248 @r=`${PWD_COMMAND}`; export r; \
37249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37250 $(NORMAL_TARGET_EXPORTS) \
37251 (cd $(TARGET_SUBDIR)/libiberty && \
37252 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37254 @endif target-libiberty
37256 # Other targets (info, dvi, pdf, etc.)
37258 .PHONY: maybe-info-target-libiberty info-target-libiberty
37259 maybe-info-target-libiberty:
37260 @if target-libiberty
37261 maybe-info-target-libiberty: info-target-libiberty
37263 info-target-libiberty: \
37264 configure-target-libiberty
37265 @: $(MAKE); $(unstage)
37266 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37267 r=`${PWD_COMMAND}`; export r; \
37268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37269 $(NORMAL_TARGET_EXPORTS) \
37270 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
37271 for flag in $(EXTRA_TARGET_FLAGS); do \
37272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37273 done; \
37274 (cd $(TARGET_SUBDIR)/libiberty && \
37275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37277 "RANLIB=$${RANLIB}" \
37278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37279 info) \
37280 || exit 1
37282 @endif target-libiberty
37284 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
37285 maybe-dvi-target-libiberty:
37286 @if target-libiberty
37287 maybe-dvi-target-libiberty: dvi-target-libiberty
37289 dvi-target-libiberty: \
37290 configure-target-libiberty
37291 @: $(MAKE); $(unstage)
37292 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37293 r=`${PWD_COMMAND}`; export r; \
37294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37295 $(NORMAL_TARGET_EXPORTS) \
37296 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
37297 for flag in $(EXTRA_TARGET_FLAGS); do \
37298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37299 done; \
37300 (cd $(TARGET_SUBDIR)/libiberty && \
37301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37303 "RANLIB=$${RANLIB}" \
37304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37305 dvi) \
37306 || exit 1
37308 @endif target-libiberty
37310 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
37311 maybe-pdf-target-libiberty:
37312 @if target-libiberty
37313 maybe-pdf-target-libiberty: pdf-target-libiberty
37315 pdf-target-libiberty: \
37316 configure-target-libiberty
37317 @: $(MAKE); $(unstage)
37318 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37319 r=`${PWD_COMMAND}`; export r; \
37320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37321 $(NORMAL_TARGET_EXPORTS) \
37322 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
37323 for flag in $(EXTRA_TARGET_FLAGS); do \
37324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37325 done; \
37326 (cd $(TARGET_SUBDIR)/libiberty && \
37327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37329 "RANLIB=$${RANLIB}" \
37330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37331 pdf) \
37332 || exit 1
37334 @endif target-libiberty
37336 .PHONY: maybe-html-target-libiberty html-target-libiberty
37337 maybe-html-target-libiberty:
37338 @if target-libiberty
37339 maybe-html-target-libiberty: html-target-libiberty
37341 html-target-libiberty: \
37342 configure-target-libiberty
37343 @: $(MAKE); $(unstage)
37344 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37345 r=`${PWD_COMMAND}`; export r; \
37346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37347 $(NORMAL_TARGET_EXPORTS) \
37348 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
37349 for flag in $(EXTRA_TARGET_FLAGS); do \
37350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37351 done; \
37352 (cd $(TARGET_SUBDIR)/libiberty && \
37353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37355 "RANLIB=$${RANLIB}" \
37356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37357 html) \
37358 || exit 1
37360 @endif target-libiberty
37362 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
37363 maybe-TAGS-target-libiberty:
37364 @if target-libiberty
37365 maybe-TAGS-target-libiberty: TAGS-target-libiberty
37367 TAGS-target-libiberty: \
37368 configure-target-libiberty
37369 @: $(MAKE); $(unstage)
37370 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37371 r=`${PWD_COMMAND}`; export r; \
37372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37373 $(NORMAL_TARGET_EXPORTS) \
37374 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
37375 for flag in $(EXTRA_TARGET_FLAGS); do \
37376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37377 done; \
37378 (cd $(TARGET_SUBDIR)/libiberty && \
37379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37381 "RANLIB=$${RANLIB}" \
37382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37383 TAGS) \
37384 || exit 1
37386 @endif target-libiberty
37388 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
37389 maybe-install-info-target-libiberty:
37390 @if target-libiberty
37391 maybe-install-info-target-libiberty: install-info-target-libiberty
37393 install-info-target-libiberty: \
37394 configure-target-libiberty \
37395 info-target-libiberty
37396 @: $(MAKE); $(unstage)
37397 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37398 r=`${PWD_COMMAND}`; export r; \
37399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37400 $(NORMAL_TARGET_EXPORTS) \
37401 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
37402 for flag in $(EXTRA_TARGET_FLAGS); do \
37403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37404 done; \
37405 (cd $(TARGET_SUBDIR)/libiberty && \
37406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37408 "RANLIB=$${RANLIB}" \
37409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37410 install-info) \
37411 || exit 1
37413 @endif target-libiberty
37415 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
37416 maybe-install-html-target-libiberty:
37417 @if target-libiberty
37418 maybe-install-html-target-libiberty: install-html-target-libiberty
37420 install-html-target-libiberty: \
37421 configure-target-libiberty \
37422 html-target-libiberty
37423 @: $(MAKE); $(unstage)
37424 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37425 r=`${PWD_COMMAND}`; export r; \
37426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37427 $(NORMAL_TARGET_EXPORTS) \
37428 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
37429 for flag in $(EXTRA_TARGET_FLAGS); do \
37430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37431 done; \
37432 (cd $(TARGET_SUBDIR)/libiberty && \
37433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37435 "RANLIB=$${RANLIB}" \
37436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37437 install-html) \
37438 || exit 1
37440 @endif target-libiberty
37442 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
37443 maybe-installcheck-target-libiberty:
37444 @if target-libiberty
37445 maybe-installcheck-target-libiberty: installcheck-target-libiberty
37447 installcheck-target-libiberty: \
37448 configure-target-libiberty
37449 @: $(MAKE); $(unstage)
37450 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37451 r=`${PWD_COMMAND}`; export r; \
37452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37453 $(NORMAL_TARGET_EXPORTS) \
37454 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
37455 for flag in $(EXTRA_TARGET_FLAGS); do \
37456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37457 done; \
37458 (cd $(TARGET_SUBDIR)/libiberty && \
37459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37461 "RANLIB=$${RANLIB}" \
37462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37463 installcheck) \
37464 || exit 1
37466 @endif target-libiberty
37468 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
37469 maybe-mostlyclean-target-libiberty:
37470 @if target-libiberty
37471 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
37473 mostlyclean-target-libiberty:
37474 @: $(MAKE); $(unstage)
37475 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37476 r=`${PWD_COMMAND}`; export r; \
37477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37478 $(NORMAL_TARGET_EXPORTS) \
37479 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
37480 for flag in $(EXTRA_TARGET_FLAGS); do \
37481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37482 done; \
37483 (cd $(TARGET_SUBDIR)/libiberty && \
37484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37486 "RANLIB=$${RANLIB}" \
37487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37488 mostlyclean) \
37489 || exit 1
37491 @endif target-libiberty
37493 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
37494 maybe-clean-target-libiberty:
37495 @if target-libiberty
37496 maybe-clean-target-libiberty: clean-target-libiberty
37498 clean-target-libiberty:
37499 @: $(MAKE); $(unstage)
37500 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37501 r=`${PWD_COMMAND}`; export r; \
37502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37503 $(NORMAL_TARGET_EXPORTS) \
37504 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
37505 for flag in $(EXTRA_TARGET_FLAGS); do \
37506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37507 done; \
37508 (cd $(TARGET_SUBDIR)/libiberty && \
37509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37511 "RANLIB=$${RANLIB}" \
37512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37513 clean) \
37514 || exit 1
37516 @endif target-libiberty
37518 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
37519 maybe-distclean-target-libiberty:
37520 @if target-libiberty
37521 maybe-distclean-target-libiberty: distclean-target-libiberty
37523 distclean-target-libiberty:
37524 @: $(MAKE); $(unstage)
37525 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37526 r=`${PWD_COMMAND}`; export r; \
37527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37528 $(NORMAL_TARGET_EXPORTS) \
37529 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
37530 for flag in $(EXTRA_TARGET_FLAGS); do \
37531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37532 done; \
37533 (cd $(TARGET_SUBDIR)/libiberty && \
37534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37536 "RANLIB=$${RANLIB}" \
37537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37538 distclean) \
37539 || exit 1
37541 @endif target-libiberty
37543 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
37544 maybe-maintainer-clean-target-libiberty:
37545 @if target-libiberty
37546 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
37548 maintainer-clean-target-libiberty:
37549 @: $(MAKE); $(unstage)
37550 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
37551 r=`${PWD_COMMAND}`; export r; \
37552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37553 $(NORMAL_TARGET_EXPORTS) \
37554 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
37555 for flag in $(EXTRA_TARGET_FLAGS); do \
37556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37557 done; \
37558 (cd $(TARGET_SUBDIR)/libiberty && \
37559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37561 "RANLIB=$${RANLIB}" \
37562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37563 maintainer-clean) \
37564 || exit 1
37566 @endif target-libiberty
37572 .PHONY: configure-target-gperf maybe-configure-target-gperf
37573 maybe-configure-target-gperf:
37574 @if gcc-bootstrap
37575 configure-target-gperf: stage_current
37576 @endif gcc-bootstrap
37577 @if target-gperf
37578 maybe-configure-target-gperf: configure-target-gperf
37579 configure-target-gperf:
37580 @: $(MAKE); $(unstage)
37581 @r=`${PWD_COMMAND}`; export r; \
37582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37583 echo "Checking multilib configuration for gperf..."; \
37584 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37585 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
37586 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
37587 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
37588 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
37589 else \
37590 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
37591 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37592 fi; \
37593 else \
37594 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
37595 fi; \
37596 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
37597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
37598 $(NORMAL_TARGET_EXPORTS) \
37599 echo Configuring in $(TARGET_SUBDIR)/gperf; \
37600 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
37601 case $(srcdir) in \
37602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37603 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
37604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37605 esac; \
37606 srcdiroption="--srcdir=$${topdir}/gperf"; \
37607 libsrcdir="$$s/gperf"; \
37608 rm -f no-such-file || : ; \
37609 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37610 $(TARGET_CONFIGARGS) $${srcdiroption} \
37611 || exit 1
37612 @endif target-gperf
37618 .PHONY: all-target-gperf maybe-all-target-gperf
37619 maybe-all-target-gperf:
37620 @if gcc-bootstrap
37621 all-target-gperf: stage_current
37622 @endif gcc-bootstrap
37623 @if target-gperf
37624 TARGET-target-gperf=all
37625 maybe-all-target-gperf: all-target-gperf
37626 all-target-gperf: configure-target-gperf
37627 @: $(MAKE); $(unstage)
37628 @r=`${PWD_COMMAND}`; export r; \
37629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37630 $(NORMAL_TARGET_EXPORTS) \
37631 (cd $(TARGET_SUBDIR)/gperf && \
37632 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
37633 @endif target-gperf
37639 .PHONY: check-target-gperf maybe-check-target-gperf
37640 maybe-check-target-gperf:
37641 @if target-gperf
37642 maybe-check-target-gperf: check-target-gperf
37644 check-target-gperf:
37645 @: $(MAKE); $(unstage)
37646 @r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(NORMAL_TARGET_EXPORTS) \
37649 (cd $(TARGET_SUBDIR)/gperf && \
37650 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37652 @endif target-gperf
37654 .PHONY: install-target-gperf maybe-install-target-gperf
37655 maybe-install-target-gperf:
37656 @if target-gperf
37657 maybe-install-target-gperf: install-target-gperf
37659 install-target-gperf: installdirs
37660 @: $(MAKE); $(unstage)
37661 @r=`${PWD_COMMAND}`; export r; \
37662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37663 $(NORMAL_TARGET_EXPORTS) \
37664 (cd $(TARGET_SUBDIR)/gperf && \
37665 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37667 @endif target-gperf
37669 # Other targets (info, dvi, pdf, etc.)
37671 .PHONY: maybe-info-target-gperf info-target-gperf
37672 maybe-info-target-gperf:
37673 @if target-gperf
37674 maybe-info-target-gperf: info-target-gperf
37676 info-target-gperf: \
37677 configure-target-gperf
37678 @: $(MAKE); $(unstage)
37679 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37680 r=`${PWD_COMMAND}`; export r; \
37681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37682 $(NORMAL_TARGET_EXPORTS) \
37683 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
37684 for flag in $(EXTRA_TARGET_FLAGS); do \
37685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37686 done; \
37687 (cd $(TARGET_SUBDIR)/gperf && \
37688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37690 "RANLIB=$${RANLIB}" \
37691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37692 info) \
37693 || exit 1
37695 @endif target-gperf
37697 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
37698 maybe-dvi-target-gperf:
37699 @if target-gperf
37700 maybe-dvi-target-gperf: dvi-target-gperf
37702 dvi-target-gperf: \
37703 configure-target-gperf
37704 @: $(MAKE); $(unstage)
37705 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37706 r=`${PWD_COMMAND}`; export r; \
37707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37708 $(NORMAL_TARGET_EXPORTS) \
37709 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
37710 for flag in $(EXTRA_TARGET_FLAGS); do \
37711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37712 done; \
37713 (cd $(TARGET_SUBDIR)/gperf && \
37714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37716 "RANLIB=$${RANLIB}" \
37717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37718 dvi) \
37719 || exit 1
37721 @endif target-gperf
37723 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
37724 maybe-pdf-target-gperf:
37725 @if target-gperf
37726 maybe-pdf-target-gperf: pdf-target-gperf
37728 pdf-target-gperf: \
37729 configure-target-gperf
37730 @: $(MAKE); $(unstage)
37731 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37732 r=`${PWD_COMMAND}`; export r; \
37733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37734 $(NORMAL_TARGET_EXPORTS) \
37735 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
37736 for flag in $(EXTRA_TARGET_FLAGS); do \
37737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37738 done; \
37739 (cd $(TARGET_SUBDIR)/gperf && \
37740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37742 "RANLIB=$${RANLIB}" \
37743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37744 pdf) \
37745 || exit 1
37747 @endif target-gperf
37749 .PHONY: maybe-html-target-gperf html-target-gperf
37750 maybe-html-target-gperf:
37751 @if target-gperf
37752 maybe-html-target-gperf: html-target-gperf
37754 html-target-gperf: \
37755 configure-target-gperf
37756 @: $(MAKE); $(unstage)
37757 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37758 r=`${PWD_COMMAND}`; export r; \
37759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37760 $(NORMAL_TARGET_EXPORTS) \
37761 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
37762 for flag in $(EXTRA_TARGET_FLAGS); do \
37763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37764 done; \
37765 (cd $(TARGET_SUBDIR)/gperf && \
37766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37768 "RANLIB=$${RANLIB}" \
37769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37770 html) \
37771 || exit 1
37773 @endif target-gperf
37775 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
37776 maybe-TAGS-target-gperf:
37777 @if target-gperf
37778 maybe-TAGS-target-gperf: TAGS-target-gperf
37780 TAGS-target-gperf: \
37781 configure-target-gperf
37782 @: $(MAKE); $(unstage)
37783 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37784 r=`${PWD_COMMAND}`; export r; \
37785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37786 $(NORMAL_TARGET_EXPORTS) \
37787 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
37788 for flag in $(EXTRA_TARGET_FLAGS); do \
37789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37790 done; \
37791 (cd $(TARGET_SUBDIR)/gperf && \
37792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37794 "RANLIB=$${RANLIB}" \
37795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37796 TAGS) \
37797 || exit 1
37799 @endif target-gperf
37801 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
37802 maybe-install-info-target-gperf:
37803 @if target-gperf
37804 maybe-install-info-target-gperf: install-info-target-gperf
37806 install-info-target-gperf: \
37807 configure-target-gperf \
37808 info-target-gperf
37809 @: $(MAKE); $(unstage)
37810 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37811 r=`${PWD_COMMAND}`; export r; \
37812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37813 $(NORMAL_TARGET_EXPORTS) \
37814 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
37815 for flag in $(EXTRA_TARGET_FLAGS); do \
37816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37817 done; \
37818 (cd $(TARGET_SUBDIR)/gperf && \
37819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37821 "RANLIB=$${RANLIB}" \
37822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37823 install-info) \
37824 || exit 1
37826 @endif target-gperf
37828 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
37829 maybe-install-html-target-gperf:
37830 @if target-gperf
37831 maybe-install-html-target-gperf: install-html-target-gperf
37833 install-html-target-gperf: \
37834 configure-target-gperf \
37835 html-target-gperf
37836 @: $(MAKE); $(unstage)
37837 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37838 r=`${PWD_COMMAND}`; export r; \
37839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37840 $(NORMAL_TARGET_EXPORTS) \
37841 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
37842 for flag in $(EXTRA_TARGET_FLAGS); do \
37843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37844 done; \
37845 (cd $(TARGET_SUBDIR)/gperf && \
37846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37848 "RANLIB=$${RANLIB}" \
37849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37850 install-html) \
37851 || exit 1
37853 @endif target-gperf
37855 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
37856 maybe-installcheck-target-gperf:
37857 @if target-gperf
37858 maybe-installcheck-target-gperf: installcheck-target-gperf
37860 installcheck-target-gperf: \
37861 configure-target-gperf
37862 @: $(MAKE); $(unstage)
37863 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37864 r=`${PWD_COMMAND}`; export r; \
37865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37866 $(NORMAL_TARGET_EXPORTS) \
37867 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
37868 for flag in $(EXTRA_TARGET_FLAGS); do \
37869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37870 done; \
37871 (cd $(TARGET_SUBDIR)/gperf && \
37872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37874 "RANLIB=$${RANLIB}" \
37875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37876 installcheck) \
37877 || exit 1
37879 @endif target-gperf
37881 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
37882 maybe-mostlyclean-target-gperf:
37883 @if target-gperf
37884 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
37886 mostlyclean-target-gperf:
37887 @: $(MAKE); $(unstage)
37888 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37889 r=`${PWD_COMMAND}`; export r; \
37890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37891 $(NORMAL_TARGET_EXPORTS) \
37892 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
37893 for flag in $(EXTRA_TARGET_FLAGS); do \
37894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37895 done; \
37896 (cd $(TARGET_SUBDIR)/gperf && \
37897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37899 "RANLIB=$${RANLIB}" \
37900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37901 mostlyclean) \
37902 || exit 1
37904 @endif target-gperf
37906 .PHONY: maybe-clean-target-gperf clean-target-gperf
37907 maybe-clean-target-gperf:
37908 @if target-gperf
37909 maybe-clean-target-gperf: clean-target-gperf
37911 clean-target-gperf:
37912 @: $(MAKE); $(unstage)
37913 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37914 r=`${PWD_COMMAND}`; export r; \
37915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37916 $(NORMAL_TARGET_EXPORTS) \
37917 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
37918 for flag in $(EXTRA_TARGET_FLAGS); do \
37919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37920 done; \
37921 (cd $(TARGET_SUBDIR)/gperf && \
37922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37924 "RANLIB=$${RANLIB}" \
37925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37926 clean) \
37927 || exit 1
37929 @endif target-gperf
37931 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
37932 maybe-distclean-target-gperf:
37933 @if target-gperf
37934 maybe-distclean-target-gperf: distclean-target-gperf
37936 distclean-target-gperf:
37937 @: $(MAKE); $(unstage)
37938 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37939 r=`${PWD_COMMAND}`; export r; \
37940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37941 $(NORMAL_TARGET_EXPORTS) \
37942 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
37943 for flag in $(EXTRA_TARGET_FLAGS); do \
37944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37945 done; \
37946 (cd $(TARGET_SUBDIR)/gperf && \
37947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37949 "RANLIB=$${RANLIB}" \
37950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37951 distclean) \
37952 || exit 1
37954 @endif target-gperf
37956 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
37957 maybe-maintainer-clean-target-gperf:
37958 @if target-gperf
37959 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
37961 maintainer-clean-target-gperf:
37962 @: $(MAKE); $(unstage)
37963 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
37964 r=`${PWD_COMMAND}`; export r; \
37965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37966 $(NORMAL_TARGET_EXPORTS) \
37967 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
37968 for flag in $(EXTRA_TARGET_FLAGS); do \
37969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37970 done; \
37971 (cd $(TARGET_SUBDIR)/gperf && \
37972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37974 "RANLIB=$${RANLIB}" \
37975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37976 maintainer-clean) \
37977 || exit 1
37979 @endif target-gperf
37985 .PHONY: configure-target-examples maybe-configure-target-examples
37986 maybe-configure-target-examples:
37987 @if gcc-bootstrap
37988 configure-target-examples: stage_current
37989 @endif gcc-bootstrap
37990 @if target-examples
37991 maybe-configure-target-examples: configure-target-examples
37992 configure-target-examples:
37993 @: $(MAKE); $(unstage)
37994 @r=`${PWD_COMMAND}`; export r; \
37995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37996 echo "Checking multilib configuration for examples..."; \
37997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
37998 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
37999 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
38000 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
38001 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
38002 else \
38003 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
38004 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38005 fi; \
38006 else \
38007 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38008 fi; \
38009 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
38010 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38011 $(NORMAL_TARGET_EXPORTS) \
38012 echo Configuring in $(TARGET_SUBDIR)/examples; \
38013 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
38014 case $(srcdir) in \
38015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38016 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
38017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38018 esac; \
38019 srcdiroption="--srcdir=$${topdir}/examples"; \
38020 libsrcdir="$$s/examples"; \
38021 rm -f no-such-file || : ; \
38022 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38023 $(TARGET_CONFIGARGS) $${srcdiroption} \
38024 || exit 1
38025 @endif target-examples
38031 .PHONY: all-target-examples maybe-all-target-examples
38032 maybe-all-target-examples:
38033 @if gcc-bootstrap
38034 all-target-examples: stage_current
38035 @endif gcc-bootstrap
38036 @if target-examples
38037 TARGET-target-examples=all
38038 maybe-all-target-examples: all-target-examples
38039 all-target-examples: configure-target-examples
38040 @: $(MAKE); $(unstage)
38041 @r=`${PWD_COMMAND}`; export r; \
38042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38043 $(NORMAL_TARGET_EXPORTS) \
38044 (cd $(TARGET_SUBDIR)/examples && \
38045 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
38046 @endif target-examples
38052 .PHONY: check-target-examples maybe-check-target-examples
38053 maybe-check-target-examples:
38054 @if target-examples
38055 maybe-check-target-examples: check-target-examples
38057 # Dummy target for uncheckable module.
38058 check-target-examples:
38060 @endif target-examples
38062 .PHONY: install-target-examples maybe-install-target-examples
38063 maybe-install-target-examples:
38064 @if target-examples
38065 maybe-install-target-examples: install-target-examples
38067 # Dummy target for uninstallable.
38068 install-target-examples:
38070 @endif target-examples
38072 # Other targets (info, dvi, pdf, etc.)
38074 .PHONY: maybe-info-target-examples info-target-examples
38075 maybe-info-target-examples:
38076 @if target-examples
38077 maybe-info-target-examples: info-target-examples
38079 info-target-examples: \
38080 configure-target-examples
38081 @: $(MAKE); $(unstage)
38082 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38083 r=`${PWD_COMMAND}`; export r; \
38084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38085 $(NORMAL_TARGET_EXPORTS) \
38086 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
38087 for flag in $(EXTRA_TARGET_FLAGS); do \
38088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38089 done; \
38090 (cd $(TARGET_SUBDIR)/examples && \
38091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38093 "RANLIB=$${RANLIB}" \
38094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38095 info) \
38096 || exit 1
38098 @endif target-examples
38100 .PHONY: maybe-dvi-target-examples dvi-target-examples
38101 maybe-dvi-target-examples:
38102 @if target-examples
38103 maybe-dvi-target-examples: dvi-target-examples
38105 dvi-target-examples: \
38106 configure-target-examples
38107 @: $(MAKE); $(unstage)
38108 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38109 r=`${PWD_COMMAND}`; export r; \
38110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38111 $(NORMAL_TARGET_EXPORTS) \
38112 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
38113 for flag in $(EXTRA_TARGET_FLAGS); do \
38114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38115 done; \
38116 (cd $(TARGET_SUBDIR)/examples && \
38117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38119 "RANLIB=$${RANLIB}" \
38120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38121 dvi) \
38122 || exit 1
38124 @endif target-examples
38126 .PHONY: maybe-pdf-target-examples pdf-target-examples
38127 maybe-pdf-target-examples:
38128 @if target-examples
38129 maybe-pdf-target-examples: pdf-target-examples
38131 pdf-target-examples: \
38132 configure-target-examples
38133 @: $(MAKE); $(unstage)
38134 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38135 r=`${PWD_COMMAND}`; export r; \
38136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38137 $(NORMAL_TARGET_EXPORTS) \
38138 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
38139 for flag in $(EXTRA_TARGET_FLAGS); do \
38140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38141 done; \
38142 (cd $(TARGET_SUBDIR)/examples && \
38143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38145 "RANLIB=$${RANLIB}" \
38146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38147 pdf) \
38148 || exit 1
38150 @endif target-examples
38152 .PHONY: maybe-html-target-examples html-target-examples
38153 maybe-html-target-examples:
38154 @if target-examples
38155 maybe-html-target-examples: html-target-examples
38157 html-target-examples: \
38158 configure-target-examples
38159 @: $(MAKE); $(unstage)
38160 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38161 r=`${PWD_COMMAND}`; export r; \
38162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38163 $(NORMAL_TARGET_EXPORTS) \
38164 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
38165 for flag in $(EXTRA_TARGET_FLAGS); do \
38166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38167 done; \
38168 (cd $(TARGET_SUBDIR)/examples && \
38169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38171 "RANLIB=$${RANLIB}" \
38172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38173 html) \
38174 || exit 1
38176 @endif target-examples
38178 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
38179 maybe-TAGS-target-examples:
38180 @if target-examples
38181 maybe-TAGS-target-examples: TAGS-target-examples
38183 TAGS-target-examples: \
38184 configure-target-examples
38185 @: $(MAKE); $(unstage)
38186 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38187 r=`${PWD_COMMAND}`; export r; \
38188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38189 $(NORMAL_TARGET_EXPORTS) \
38190 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
38191 for flag in $(EXTRA_TARGET_FLAGS); do \
38192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38193 done; \
38194 (cd $(TARGET_SUBDIR)/examples && \
38195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38197 "RANLIB=$${RANLIB}" \
38198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38199 TAGS) \
38200 || exit 1
38202 @endif target-examples
38204 .PHONY: maybe-install-info-target-examples install-info-target-examples
38205 maybe-install-info-target-examples:
38206 @if target-examples
38207 maybe-install-info-target-examples: install-info-target-examples
38209 install-info-target-examples: \
38210 configure-target-examples \
38211 info-target-examples
38212 @: $(MAKE); $(unstage)
38213 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38214 r=`${PWD_COMMAND}`; export r; \
38215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38216 $(NORMAL_TARGET_EXPORTS) \
38217 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
38218 for flag in $(EXTRA_TARGET_FLAGS); do \
38219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38220 done; \
38221 (cd $(TARGET_SUBDIR)/examples && \
38222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38224 "RANLIB=$${RANLIB}" \
38225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38226 install-info) \
38227 || exit 1
38229 @endif target-examples
38231 .PHONY: maybe-install-html-target-examples install-html-target-examples
38232 maybe-install-html-target-examples:
38233 @if target-examples
38234 maybe-install-html-target-examples: install-html-target-examples
38236 install-html-target-examples: \
38237 configure-target-examples \
38238 html-target-examples
38239 @: $(MAKE); $(unstage)
38240 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38241 r=`${PWD_COMMAND}`; export r; \
38242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38243 $(NORMAL_TARGET_EXPORTS) \
38244 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
38245 for flag in $(EXTRA_TARGET_FLAGS); do \
38246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38247 done; \
38248 (cd $(TARGET_SUBDIR)/examples && \
38249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38251 "RANLIB=$${RANLIB}" \
38252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38253 install-html) \
38254 || exit 1
38256 @endif target-examples
38258 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
38259 maybe-installcheck-target-examples:
38260 @if target-examples
38261 maybe-installcheck-target-examples: installcheck-target-examples
38263 installcheck-target-examples: \
38264 configure-target-examples
38265 @: $(MAKE); $(unstage)
38266 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38267 r=`${PWD_COMMAND}`; export r; \
38268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38269 $(NORMAL_TARGET_EXPORTS) \
38270 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
38271 for flag in $(EXTRA_TARGET_FLAGS); do \
38272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38273 done; \
38274 (cd $(TARGET_SUBDIR)/examples && \
38275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38277 "RANLIB=$${RANLIB}" \
38278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38279 installcheck) \
38280 || exit 1
38282 @endif target-examples
38284 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
38285 maybe-mostlyclean-target-examples:
38286 @if target-examples
38287 maybe-mostlyclean-target-examples: mostlyclean-target-examples
38289 mostlyclean-target-examples:
38290 @: $(MAKE); $(unstage)
38291 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38292 r=`${PWD_COMMAND}`; export r; \
38293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38294 $(NORMAL_TARGET_EXPORTS) \
38295 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
38296 for flag in $(EXTRA_TARGET_FLAGS); do \
38297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38298 done; \
38299 (cd $(TARGET_SUBDIR)/examples && \
38300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38302 "RANLIB=$${RANLIB}" \
38303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38304 mostlyclean) \
38305 || exit 1
38307 @endif target-examples
38309 .PHONY: maybe-clean-target-examples clean-target-examples
38310 maybe-clean-target-examples:
38311 @if target-examples
38312 maybe-clean-target-examples: clean-target-examples
38314 clean-target-examples:
38315 @: $(MAKE); $(unstage)
38316 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38317 r=`${PWD_COMMAND}`; export r; \
38318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38319 $(NORMAL_TARGET_EXPORTS) \
38320 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
38321 for flag in $(EXTRA_TARGET_FLAGS); do \
38322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38323 done; \
38324 (cd $(TARGET_SUBDIR)/examples && \
38325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38327 "RANLIB=$${RANLIB}" \
38328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38329 clean) \
38330 || exit 1
38332 @endif target-examples
38334 .PHONY: maybe-distclean-target-examples distclean-target-examples
38335 maybe-distclean-target-examples:
38336 @if target-examples
38337 maybe-distclean-target-examples: distclean-target-examples
38339 distclean-target-examples:
38340 @: $(MAKE); $(unstage)
38341 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38342 r=`${PWD_COMMAND}`; export r; \
38343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38344 $(NORMAL_TARGET_EXPORTS) \
38345 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
38346 for flag in $(EXTRA_TARGET_FLAGS); do \
38347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38348 done; \
38349 (cd $(TARGET_SUBDIR)/examples && \
38350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38352 "RANLIB=$${RANLIB}" \
38353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38354 distclean) \
38355 || exit 1
38357 @endif target-examples
38359 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
38360 maybe-maintainer-clean-target-examples:
38361 @if target-examples
38362 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
38364 maintainer-clean-target-examples:
38365 @: $(MAKE); $(unstage)
38366 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38367 r=`${PWD_COMMAND}`; export r; \
38368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38369 $(NORMAL_TARGET_EXPORTS) \
38370 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
38371 for flag in $(EXTRA_TARGET_FLAGS); do \
38372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38373 done; \
38374 (cd $(TARGET_SUBDIR)/examples && \
38375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38377 "RANLIB=$${RANLIB}" \
38378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38379 maintainer-clean) \
38380 || exit 1
38382 @endif target-examples
38388 .PHONY: configure-target-libffi maybe-configure-target-libffi
38389 maybe-configure-target-libffi:
38390 @if gcc-bootstrap
38391 configure-target-libffi: stage_current
38392 @endif gcc-bootstrap
38393 @if target-libffi
38394 maybe-configure-target-libffi: configure-target-libffi
38395 configure-target-libffi:
38396 @: $(MAKE); $(unstage)
38397 @r=`${PWD_COMMAND}`; export r; \
38398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38399 echo "Checking multilib configuration for libffi..."; \
38400 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38401 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38402 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38403 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38404 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38405 else \
38406 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38407 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38408 fi; \
38409 else \
38410 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38411 fi; \
38412 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38413 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38414 $(NORMAL_TARGET_EXPORTS) \
38415 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38416 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38417 case $(srcdir) in \
38418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38419 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38421 esac; \
38422 srcdiroption="--srcdir=$${topdir}/libffi"; \
38423 libsrcdir="$$s/libffi"; \
38424 rm -f no-such-file || : ; \
38425 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38426 $(TARGET_CONFIGARGS) $${srcdiroption} \
38427 || exit 1
38428 @endif target-libffi
38434 .PHONY: all-target-libffi maybe-all-target-libffi
38435 maybe-all-target-libffi:
38436 @if gcc-bootstrap
38437 all-target-libffi: stage_current
38438 @endif gcc-bootstrap
38439 @if target-libffi
38440 TARGET-target-libffi=all
38441 maybe-all-target-libffi: all-target-libffi
38442 all-target-libffi: configure-target-libffi
38443 @: $(MAKE); $(unstage)
38444 @r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(NORMAL_TARGET_EXPORTS) \
38447 (cd $(TARGET_SUBDIR)/libffi && \
38448 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
38449 @endif target-libffi
38455 .PHONY: check-target-libffi maybe-check-target-libffi
38456 maybe-check-target-libffi:
38457 @if target-libffi
38458 maybe-check-target-libffi: check-target-libffi
38460 check-target-libffi:
38461 @: $(MAKE); $(unstage)
38462 @r=`${PWD_COMMAND}`; export r; \
38463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38464 $(NORMAL_TARGET_EXPORTS) \
38465 (cd $(TARGET_SUBDIR)/libffi && \
38466 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38468 @endif target-libffi
38470 .PHONY: install-target-libffi maybe-install-target-libffi
38471 maybe-install-target-libffi:
38472 @if target-libffi
38473 maybe-install-target-libffi: install-target-libffi
38475 install-target-libffi: installdirs
38476 @: $(MAKE); $(unstage)
38477 @r=`${PWD_COMMAND}`; export r; \
38478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38479 $(NORMAL_TARGET_EXPORTS) \
38480 (cd $(TARGET_SUBDIR)/libffi && \
38481 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38483 @endif target-libffi
38485 # Other targets (info, dvi, pdf, etc.)
38487 .PHONY: maybe-info-target-libffi info-target-libffi
38488 maybe-info-target-libffi:
38489 @if target-libffi
38490 maybe-info-target-libffi: info-target-libffi
38492 info-target-libffi: \
38493 configure-target-libffi
38494 @: $(MAKE); $(unstage)
38495 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38496 r=`${PWD_COMMAND}`; export r; \
38497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38498 $(NORMAL_TARGET_EXPORTS) \
38499 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38500 for flag in $(EXTRA_TARGET_FLAGS); do \
38501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38502 done; \
38503 (cd $(TARGET_SUBDIR)/libffi && \
38504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38506 "RANLIB=$${RANLIB}" \
38507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38508 info) \
38509 || exit 1
38511 @endif target-libffi
38513 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38514 maybe-dvi-target-libffi:
38515 @if target-libffi
38516 maybe-dvi-target-libffi: dvi-target-libffi
38518 dvi-target-libffi: \
38519 configure-target-libffi
38520 @: $(MAKE); $(unstage)
38521 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38522 r=`${PWD_COMMAND}`; export r; \
38523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38524 $(NORMAL_TARGET_EXPORTS) \
38525 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38526 for flag in $(EXTRA_TARGET_FLAGS); do \
38527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38528 done; \
38529 (cd $(TARGET_SUBDIR)/libffi && \
38530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38532 "RANLIB=$${RANLIB}" \
38533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38534 dvi) \
38535 || exit 1
38537 @endif target-libffi
38539 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38540 maybe-pdf-target-libffi:
38541 @if target-libffi
38542 maybe-pdf-target-libffi: pdf-target-libffi
38544 pdf-target-libffi: \
38545 configure-target-libffi
38546 @: $(MAKE); $(unstage)
38547 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38548 r=`${PWD_COMMAND}`; export r; \
38549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38550 $(NORMAL_TARGET_EXPORTS) \
38551 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38552 for flag in $(EXTRA_TARGET_FLAGS); do \
38553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38554 done; \
38555 (cd $(TARGET_SUBDIR)/libffi && \
38556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38558 "RANLIB=$${RANLIB}" \
38559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38560 pdf) \
38561 || exit 1
38563 @endif target-libffi
38565 .PHONY: maybe-html-target-libffi html-target-libffi
38566 maybe-html-target-libffi:
38567 @if target-libffi
38568 maybe-html-target-libffi: html-target-libffi
38570 html-target-libffi: \
38571 configure-target-libffi
38572 @: $(MAKE); $(unstage)
38573 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38574 r=`${PWD_COMMAND}`; export r; \
38575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38576 $(NORMAL_TARGET_EXPORTS) \
38577 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38578 for flag in $(EXTRA_TARGET_FLAGS); do \
38579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38580 done; \
38581 (cd $(TARGET_SUBDIR)/libffi && \
38582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38584 "RANLIB=$${RANLIB}" \
38585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38586 html) \
38587 || exit 1
38589 @endif target-libffi
38591 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38592 maybe-TAGS-target-libffi:
38593 @if target-libffi
38594 maybe-TAGS-target-libffi: TAGS-target-libffi
38596 TAGS-target-libffi: \
38597 configure-target-libffi
38598 @: $(MAKE); $(unstage)
38599 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38600 r=`${PWD_COMMAND}`; export r; \
38601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38602 $(NORMAL_TARGET_EXPORTS) \
38603 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38604 for flag in $(EXTRA_TARGET_FLAGS); do \
38605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38606 done; \
38607 (cd $(TARGET_SUBDIR)/libffi && \
38608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38610 "RANLIB=$${RANLIB}" \
38611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38612 TAGS) \
38613 || exit 1
38615 @endif target-libffi
38617 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38618 maybe-install-info-target-libffi:
38619 @if target-libffi
38620 maybe-install-info-target-libffi: install-info-target-libffi
38622 install-info-target-libffi: \
38623 configure-target-libffi \
38624 info-target-libffi
38625 @: $(MAKE); $(unstage)
38626 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38627 r=`${PWD_COMMAND}`; export r; \
38628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38629 $(NORMAL_TARGET_EXPORTS) \
38630 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38631 for flag in $(EXTRA_TARGET_FLAGS); do \
38632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38633 done; \
38634 (cd $(TARGET_SUBDIR)/libffi && \
38635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38637 "RANLIB=$${RANLIB}" \
38638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38639 install-info) \
38640 || exit 1
38642 @endif target-libffi
38644 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38645 maybe-install-html-target-libffi:
38646 @if target-libffi
38647 maybe-install-html-target-libffi: install-html-target-libffi
38649 install-html-target-libffi: \
38650 configure-target-libffi \
38651 html-target-libffi
38652 @: $(MAKE); $(unstage)
38653 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38654 r=`${PWD_COMMAND}`; export r; \
38655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38656 $(NORMAL_TARGET_EXPORTS) \
38657 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38658 for flag in $(EXTRA_TARGET_FLAGS); do \
38659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38660 done; \
38661 (cd $(TARGET_SUBDIR)/libffi && \
38662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38664 "RANLIB=$${RANLIB}" \
38665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38666 install-html) \
38667 || exit 1
38669 @endif target-libffi
38671 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38672 maybe-installcheck-target-libffi:
38673 @if target-libffi
38674 maybe-installcheck-target-libffi: installcheck-target-libffi
38676 installcheck-target-libffi: \
38677 configure-target-libffi
38678 @: $(MAKE); $(unstage)
38679 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38680 r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(NORMAL_TARGET_EXPORTS) \
38683 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38684 for flag in $(EXTRA_TARGET_FLAGS); do \
38685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38686 done; \
38687 (cd $(TARGET_SUBDIR)/libffi && \
38688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38690 "RANLIB=$${RANLIB}" \
38691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38692 installcheck) \
38693 || exit 1
38695 @endif target-libffi
38697 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38698 maybe-mostlyclean-target-libffi:
38699 @if target-libffi
38700 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38702 mostlyclean-target-libffi:
38703 @: $(MAKE); $(unstage)
38704 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38705 r=`${PWD_COMMAND}`; export r; \
38706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38707 $(NORMAL_TARGET_EXPORTS) \
38708 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38709 for flag in $(EXTRA_TARGET_FLAGS); do \
38710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38711 done; \
38712 (cd $(TARGET_SUBDIR)/libffi && \
38713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38715 "RANLIB=$${RANLIB}" \
38716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38717 mostlyclean) \
38718 || exit 1
38720 @endif target-libffi
38722 .PHONY: maybe-clean-target-libffi clean-target-libffi
38723 maybe-clean-target-libffi:
38724 @if target-libffi
38725 maybe-clean-target-libffi: clean-target-libffi
38727 clean-target-libffi:
38728 @: $(MAKE); $(unstage)
38729 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38730 r=`${PWD_COMMAND}`; export r; \
38731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38732 $(NORMAL_TARGET_EXPORTS) \
38733 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38734 for flag in $(EXTRA_TARGET_FLAGS); do \
38735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38736 done; \
38737 (cd $(TARGET_SUBDIR)/libffi && \
38738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38740 "RANLIB=$${RANLIB}" \
38741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38742 clean) \
38743 || exit 1
38745 @endif target-libffi
38747 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38748 maybe-distclean-target-libffi:
38749 @if target-libffi
38750 maybe-distclean-target-libffi: distclean-target-libffi
38752 distclean-target-libffi:
38753 @: $(MAKE); $(unstage)
38754 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38755 r=`${PWD_COMMAND}`; export r; \
38756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38757 $(NORMAL_TARGET_EXPORTS) \
38758 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38759 for flag in $(EXTRA_TARGET_FLAGS); do \
38760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38761 done; \
38762 (cd $(TARGET_SUBDIR)/libffi && \
38763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38765 "RANLIB=$${RANLIB}" \
38766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38767 distclean) \
38768 || exit 1
38770 @endif target-libffi
38772 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38773 maybe-maintainer-clean-target-libffi:
38774 @if target-libffi
38775 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38777 maintainer-clean-target-libffi:
38778 @: $(MAKE); $(unstage)
38779 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38780 r=`${PWD_COMMAND}`; export r; \
38781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38782 $(NORMAL_TARGET_EXPORTS) \
38783 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38784 for flag in $(EXTRA_TARGET_FLAGS); do \
38785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38786 done; \
38787 (cd $(TARGET_SUBDIR)/libffi && \
38788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38790 "RANLIB=$${RANLIB}" \
38791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38792 maintainer-clean) \
38793 || exit 1
38795 @endif target-libffi
38801 .PHONY: configure-target-libjava maybe-configure-target-libjava
38802 maybe-configure-target-libjava:
38803 @if gcc-bootstrap
38804 configure-target-libjava: stage_current
38805 @endif gcc-bootstrap
38806 @if target-libjava
38807 maybe-configure-target-libjava: configure-target-libjava
38808 configure-target-libjava:
38809 @: $(MAKE); $(unstage)
38810 @r=`${PWD_COMMAND}`; export r; \
38811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38812 echo "Checking multilib configuration for libjava..."; \
38813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38814 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38815 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38816 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38817 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38818 else \
38819 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38820 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38821 fi; \
38822 else \
38823 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38824 fi; \
38825 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38826 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38827 $(RAW_CXX_TARGET_EXPORTS) \
38828 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38829 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38830 case $(srcdir) in \
38831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38832 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38834 esac; \
38835 srcdiroption="--srcdir=$${topdir}/libjava"; \
38836 libsrcdir="$$s/libjava"; \
38837 rm -f no-such-file || : ; \
38838 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38839 $(TARGET_CONFIGARGS) $${srcdiroption} \
38840 || exit 1
38841 @endif target-libjava
38847 .PHONY: all-target-libjava maybe-all-target-libjava
38848 maybe-all-target-libjava:
38849 @if gcc-bootstrap
38850 all-target-libjava: stage_current
38851 @endif gcc-bootstrap
38852 @if target-libjava
38853 TARGET-target-libjava=all
38854 maybe-all-target-libjava: all-target-libjava
38855 all-target-libjava: configure-target-libjava
38856 @: $(MAKE); $(unstage)
38857 @r=`${PWD_COMMAND}`; export r; \
38858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38859 $(RAW_CXX_TARGET_EXPORTS) \
38860 (cd $(TARGET_SUBDIR)/libjava && \
38861 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
38862 @endif target-libjava
38868 .PHONY: check-target-libjava maybe-check-target-libjava
38869 maybe-check-target-libjava:
38870 @if target-libjava
38871 maybe-check-target-libjava: check-target-libjava
38873 check-target-libjava:
38874 @: $(MAKE); $(unstage)
38875 @r=`${PWD_COMMAND}`; export r; \
38876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38877 $(RAW_CXX_TARGET_EXPORTS) \
38878 (cd $(TARGET_SUBDIR)/libjava && \
38879 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38881 @endif target-libjava
38883 .PHONY: install-target-libjava maybe-install-target-libjava
38884 maybe-install-target-libjava:
38885 @if target-libjava
38886 maybe-install-target-libjava: install-target-libjava
38888 install-target-libjava: installdirs
38889 @: $(MAKE); $(unstage)
38890 @r=`${PWD_COMMAND}`; export r; \
38891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38892 $(RAW_CXX_TARGET_EXPORTS) \
38893 (cd $(TARGET_SUBDIR)/libjava && \
38894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38896 @endif target-libjava
38898 # Other targets (info, dvi, pdf, etc.)
38900 .PHONY: maybe-info-target-libjava info-target-libjava
38901 maybe-info-target-libjava:
38902 @if target-libjava
38903 maybe-info-target-libjava: info-target-libjava
38905 info-target-libjava: \
38906 configure-target-libjava
38907 @: $(MAKE); $(unstage)
38908 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38909 r=`${PWD_COMMAND}`; export r; \
38910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38911 $(RAW_CXX_TARGET_EXPORTS) \
38912 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38913 for flag in $(EXTRA_TARGET_FLAGS); do \
38914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38915 done; \
38916 (cd $(TARGET_SUBDIR)/libjava && \
38917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38919 "RANLIB=$${RANLIB}" \
38920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38921 info) \
38922 || exit 1
38924 @endif target-libjava
38926 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38927 maybe-dvi-target-libjava:
38928 @if target-libjava
38929 maybe-dvi-target-libjava: dvi-target-libjava
38931 dvi-target-libjava: \
38932 configure-target-libjava
38933 @: $(MAKE); $(unstage)
38934 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38935 r=`${PWD_COMMAND}`; export r; \
38936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38937 $(RAW_CXX_TARGET_EXPORTS) \
38938 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38939 for flag in $(EXTRA_TARGET_FLAGS); do \
38940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38941 done; \
38942 (cd $(TARGET_SUBDIR)/libjava && \
38943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38945 "RANLIB=$${RANLIB}" \
38946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38947 dvi) \
38948 || exit 1
38950 @endif target-libjava
38952 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38953 maybe-pdf-target-libjava:
38954 @if target-libjava
38955 maybe-pdf-target-libjava: pdf-target-libjava
38957 pdf-target-libjava: \
38958 configure-target-libjava
38959 @: $(MAKE); $(unstage)
38960 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38961 r=`${PWD_COMMAND}`; export r; \
38962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38963 $(RAW_CXX_TARGET_EXPORTS) \
38964 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38965 for flag in $(EXTRA_TARGET_FLAGS); do \
38966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38967 done; \
38968 (cd $(TARGET_SUBDIR)/libjava && \
38969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38971 "RANLIB=$${RANLIB}" \
38972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38973 pdf) \
38974 || exit 1
38976 @endif target-libjava
38978 .PHONY: maybe-html-target-libjava html-target-libjava
38979 maybe-html-target-libjava:
38980 @if target-libjava
38981 maybe-html-target-libjava: html-target-libjava
38983 html-target-libjava: \
38984 configure-target-libjava
38985 @: $(MAKE); $(unstage)
38986 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38987 r=`${PWD_COMMAND}`; export r; \
38988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38989 $(RAW_CXX_TARGET_EXPORTS) \
38990 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
38991 for flag in $(EXTRA_TARGET_FLAGS); do \
38992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38993 done; \
38994 (cd $(TARGET_SUBDIR)/libjava && \
38995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38997 "RANLIB=$${RANLIB}" \
38998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38999 html) \
39000 || exit 1
39002 @endif target-libjava
39004 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39005 maybe-TAGS-target-libjava:
39006 @if target-libjava
39007 maybe-TAGS-target-libjava: TAGS-target-libjava
39009 TAGS-target-libjava: \
39010 configure-target-libjava
39011 @: $(MAKE); $(unstage)
39012 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39013 r=`${PWD_COMMAND}`; export r; \
39014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39015 $(RAW_CXX_TARGET_EXPORTS) \
39016 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39017 for flag in $(EXTRA_TARGET_FLAGS); do \
39018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39019 done; \
39020 (cd $(TARGET_SUBDIR)/libjava && \
39021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39023 "RANLIB=$${RANLIB}" \
39024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39025 TAGS) \
39026 || exit 1
39028 @endif target-libjava
39030 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39031 maybe-install-info-target-libjava:
39032 @if target-libjava
39033 maybe-install-info-target-libjava: install-info-target-libjava
39035 install-info-target-libjava: \
39036 configure-target-libjava \
39037 info-target-libjava
39038 @: $(MAKE); $(unstage)
39039 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39040 r=`${PWD_COMMAND}`; export r; \
39041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39042 $(RAW_CXX_TARGET_EXPORTS) \
39043 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39044 for flag in $(EXTRA_TARGET_FLAGS); do \
39045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39046 done; \
39047 (cd $(TARGET_SUBDIR)/libjava && \
39048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39050 "RANLIB=$${RANLIB}" \
39051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39052 install-info) \
39053 || exit 1
39055 @endif target-libjava
39057 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39058 maybe-install-html-target-libjava:
39059 @if target-libjava
39060 maybe-install-html-target-libjava: install-html-target-libjava
39062 install-html-target-libjava: \
39063 configure-target-libjava \
39064 html-target-libjava
39065 @: $(MAKE); $(unstage)
39066 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39067 r=`${PWD_COMMAND}`; export r; \
39068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39069 $(RAW_CXX_TARGET_EXPORTS) \
39070 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39071 for flag in $(EXTRA_TARGET_FLAGS); do \
39072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39073 done; \
39074 (cd $(TARGET_SUBDIR)/libjava && \
39075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39077 "RANLIB=$${RANLIB}" \
39078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39079 install-html) \
39080 || exit 1
39082 @endif target-libjava
39084 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39085 maybe-installcheck-target-libjava:
39086 @if target-libjava
39087 maybe-installcheck-target-libjava: installcheck-target-libjava
39089 installcheck-target-libjava: \
39090 configure-target-libjava
39091 @: $(MAKE); $(unstage)
39092 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39093 r=`${PWD_COMMAND}`; export r; \
39094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39095 $(RAW_CXX_TARGET_EXPORTS) \
39096 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39097 for flag in $(EXTRA_TARGET_FLAGS); do \
39098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39099 done; \
39100 (cd $(TARGET_SUBDIR)/libjava && \
39101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39103 "RANLIB=$${RANLIB}" \
39104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39105 installcheck) \
39106 || exit 1
39108 @endif target-libjava
39110 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39111 maybe-mostlyclean-target-libjava:
39112 @if target-libjava
39113 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39115 mostlyclean-target-libjava:
39116 @: $(MAKE); $(unstage)
39117 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39118 r=`${PWD_COMMAND}`; export r; \
39119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39120 $(RAW_CXX_TARGET_EXPORTS) \
39121 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39122 for flag in $(EXTRA_TARGET_FLAGS); do \
39123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39124 done; \
39125 (cd $(TARGET_SUBDIR)/libjava && \
39126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39128 "RANLIB=$${RANLIB}" \
39129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39130 mostlyclean) \
39131 || exit 1
39133 @endif target-libjava
39135 .PHONY: maybe-clean-target-libjava clean-target-libjava
39136 maybe-clean-target-libjava:
39137 @if target-libjava
39138 maybe-clean-target-libjava: clean-target-libjava
39140 clean-target-libjava:
39141 @: $(MAKE); $(unstage)
39142 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39143 r=`${PWD_COMMAND}`; export r; \
39144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39145 $(RAW_CXX_TARGET_EXPORTS) \
39146 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39147 for flag in $(EXTRA_TARGET_FLAGS); do \
39148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39149 done; \
39150 (cd $(TARGET_SUBDIR)/libjava && \
39151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39153 "RANLIB=$${RANLIB}" \
39154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39155 clean) \
39156 || exit 1
39158 @endif target-libjava
39160 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39161 maybe-distclean-target-libjava:
39162 @if target-libjava
39163 maybe-distclean-target-libjava: distclean-target-libjava
39165 distclean-target-libjava:
39166 @: $(MAKE); $(unstage)
39167 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39168 r=`${PWD_COMMAND}`; export r; \
39169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39170 $(RAW_CXX_TARGET_EXPORTS) \
39171 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39172 for flag in $(EXTRA_TARGET_FLAGS); do \
39173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39174 done; \
39175 (cd $(TARGET_SUBDIR)/libjava && \
39176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39178 "RANLIB=$${RANLIB}" \
39179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39180 distclean) \
39181 || exit 1
39183 @endif target-libjava
39185 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39186 maybe-maintainer-clean-target-libjava:
39187 @if target-libjava
39188 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39190 maintainer-clean-target-libjava:
39191 @: $(MAKE); $(unstage)
39192 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39193 r=`${PWD_COMMAND}`; export r; \
39194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39195 $(RAW_CXX_TARGET_EXPORTS) \
39196 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39197 for flag in $(EXTRA_TARGET_FLAGS); do \
39198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39199 done; \
39200 (cd $(TARGET_SUBDIR)/libjava && \
39201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39203 "RANLIB=$${RANLIB}" \
39204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39205 maintainer-clean) \
39206 || exit 1
39208 @endif target-libjava
39214 .PHONY: configure-target-zlib maybe-configure-target-zlib
39215 maybe-configure-target-zlib:
39216 @if gcc-bootstrap
39217 configure-target-zlib: stage_current
39218 @endif gcc-bootstrap
39219 @if target-zlib
39220 maybe-configure-target-zlib: configure-target-zlib
39221 configure-target-zlib:
39222 @: $(MAKE); $(unstage)
39223 @r=`${PWD_COMMAND}`; export r; \
39224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39225 echo "Checking multilib configuration for zlib..."; \
39226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39227 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39228 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39229 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39230 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39231 else \
39232 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39233 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39234 fi; \
39235 else \
39236 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39237 fi; \
39238 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39240 $(NORMAL_TARGET_EXPORTS) \
39241 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39242 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39243 case $(srcdir) in \
39244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39245 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39247 esac; \
39248 srcdiroption="--srcdir=$${topdir}/zlib"; \
39249 libsrcdir="$$s/zlib"; \
39250 rm -f no-such-file || : ; \
39251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39252 $(TARGET_CONFIGARGS) $${srcdiroption} \
39253 || exit 1
39254 @endif target-zlib
39260 .PHONY: all-target-zlib maybe-all-target-zlib
39261 maybe-all-target-zlib:
39262 @if gcc-bootstrap
39263 all-target-zlib: stage_current
39264 @endif gcc-bootstrap
39265 @if target-zlib
39266 TARGET-target-zlib=all
39267 maybe-all-target-zlib: all-target-zlib
39268 all-target-zlib: configure-target-zlib
39269 @: $(MAKE); $(unstage)
39270 @r=`${PWD_COMMAND}`; export r; \
39271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39272 $(NORMAL_TARGET_EXPORTS) \
39273 (cd $(TARGET_SUBDIR)/zlib && \
39274 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
39275 @endif target-zlib
39281 .PHONY: check-target-zlib maybe-check-target-zlib
39282 maybe-check-target-zlib:
39283 @if target-zlib
39284 maybe-check-target-zlib: check-target-zlib
39286 check-target-zlib:
39287 @: $(MAKE); $(unstage)
39288 @r=`${PWD_COMMAND}`; export r; \
39289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39290 $(NORMAL_TARGET_EXPORTS) \
39291 (cd $(TARGET_SUBDIR)/zlib && \
39292 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39294 @endif target-zlib
39296 .PHONY: install-target-zlib maybe-install-target-zlib
39297 maybe-install-target-zlib:
39298 @if target-zlib
39299 maybe-install-target-zlib: install-target-zlib
39301 install-target-zlib: installdirs
39302 @: $(MAKE); $(unstage)
39303 @r=`${PWD_COMMAND}`; export r; \
39304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39305 $(NORMAL_TARGET_EXPORTS) \
39306 (cd $(TARGET_SUBDIR)/zlib && \
39307 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39309 @endif target-zlib
39311 # Other targets (info, dvi, pdf, etc.)
39313 .PHONY: maybe-info-target-zlib info-target-zlib
39314 maybe-info-target-zlib:
39315 @if target-zlib
39316 maybe-info-target-zlib: info-target-zlib
39318 info-target-zlib: \
39319 configure-target-zlib
39320 @: $(MAKE); $(unstage)
39321 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39322 r=`${PWD_COMMAND}`; export r; \
39323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39324 $(NORMAL_TARGET_EXPORTS) \
39325 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39326 for flag in $(EXTRA_TARGET_FLAGS); do \
39327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39328 done; \
39329 (cd $(TARGET_SUBDIR)/zlib && \
39330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39332 "RANLIB=$${RANLIB}" \
39333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39334 info) \
39335 || exit 1
39337 @endif target-zlib
39339 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39340 maybe-dvi-target-zlib:
39341 @if target-zlib
39342 maybe-dvi-target-zlib: dvi-target-zlib
39344 dvi-target-zlib: \
39345 configure-target-zlib
39346 @: $(MAKE); $(unstage)
39347 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39348 r=`${PWD_COMMAND}`; export r; \
39349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39350 $(NORMAL_TARGET_EXPORTS) \
39351 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39352 for flag in $(EXTRA_TARGET_FLAGS); do \
39353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39354 done; \
39355 (cd $(TARGET_SUBDIR)/zlib && \
39356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39358 "RANLIB=$${RANLIB}" \
39359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39360 dvi) \
39361 || exit 1
39363 @endif target-zlib
39365 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39366 maybe-pdf-target-zlib:
39367 @if target-zlib
39368 maybe-pdf-target-zlib: pdf-target-zlib
39370 pdf-target-zlib: \
39371 configure-target-zlib
39372 @: $(MAKE); $(unstage)
39373 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39374 r=`${PWD_COMMAND}`; export r; \
39375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39376 $(NORMAL_TARGET_EXPORTS) \
39377 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39378 for flag in $(EXTRA_TARGET_FLAGS); do \
39379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39380 done; \
39381 (cd $(TARGET_SUBDIR)/zlib && \
39382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39384 "RANLIB=$${RANLIB}" \
39385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39386 pdf) \
39387 || exit 1
39389 @endif target-zlib
39391 .PHONY: maybe-html-target-zlib html-target-zlib
39392 maybe-html-target-zlib:
39393 @if target-zlib
39394 maybe-html-target-zlib: html-target-zlib
39396 html-target-zlib: \
39397 configure-target-zlib
39398 @: $(MAKE); $(unstage)
39399 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39400 r=`${PWD_COMMAND}`; export r; \
39401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39402 $(NORMAL_TARGET_EXPORTS) \
39403 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39404 for flag in $(EXTRA_TARGET_FLAGS); do \
39405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39406 done; \
39407 (cd $(TARGET_SUBDIR)/zlib && \
39408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39410 "RANLIB=$${RANLIB}" \
39411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39412 html) \
39413 || exit 1
39415 @endif target-zlib
39417 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39418 maybe-TAGS-target-zlib:
39419 @if target-zlib
39420 maybe-TAGS-target-zlib: TAGS-target-zlib
39422 TAGS-target-zlib: \
39423 configure-target-zlib
39424 @: $(MAKE); $(unstage)
39425 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39426 r=`${PWD_COMMAND}`; export r; \
39427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39428 $(NORMAL_TARGET_EXPORTS) \
39429 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39430 for flag in $(EXTRA_TARGET_FLAGS); do \
39431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39432 done; \
39433 (cd $(TARGET_SUBDIR)/zlib && \
39434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39436 "RANLIB=$${RANLIB}" \
39437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39438 TAGS) \
39439 || exit 1
39441 @endif target-zlib
39443 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39444 maybe-install-info-target-zlib:
39445 @if target-zlib
39446 maybe-install-info-target-zlib: install-info-target-zlib
39448 install-info-target-zlib: \
39449 configure-target-zlib \
39450 info-target-zlib
39451 @: $(MAKE); $(unstage)
39452 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39453 r=`${PWD_COMMAND}`; export r; \
39454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39455 $(NORMAL_TARGET_EXPORTS) \
39456 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39457 for flag in $(EXTRA_TARGET_FLAGS); do \
39458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39459 done; \
39460 (cd $(TARGET_SUBDIR)/zlib && \
39461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39463 "RANLIB=$${RANLIB}" \
39464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39465 install-info) \
39466 || exit 1
39468 @endif target-zlib
39470 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39471 maybe-install-html-target-zlib:
39472 @if target-zlib
39473 maybe-install-html-target-zlib: install-html-target-zlib
39475 install-html-target-zlib: \
39476 configure-target-zlib \
39477 html-target-zlib
39478 @: $(MAKE); $(unstage)
39479 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39480 r=`${PWD_COMMAND}`; export r; \
39481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39482 $(NORMAL_TARGET_EXPORTS) \
39483 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39484 for flag in $(EXTRA_TARGET_FLAGS); do \
39485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39486 done; \
39487 (cd $(TARGET_SUBDIR)/zlib && \
39488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39490 "RANLIB=$${RANLIB}" \
39491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39492 install-html) \
39493 || exit 1
39495 @endif target-zlib
39497 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39498 maybe-installcheck-target-zlib:
39499 @if target-zlib
39500 maybe-installcheck-target-zlib: installcheck-target-zlib
39502 installcheck-target-zlib: \
39503 configure-target-zlib
39504 @: $(MAKE); $(unstage)
39505 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39506 r=`${PWD_COMMAND}`; export r; \
39507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39508 $(NORMAL_TARGET_EXPORTS) \
39509 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39510 for flag in $(EXTRA_TARGET_FLAGS); do \
39511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39512 done; \
39513 (cd $(TARGET_SUBDIR)/zlib && \
39514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39516 "RANLIB=$${RANLIB}" \
39517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39518 installcheck) \
39519 || exit 1
39521 @endif target-zlib
39523 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39524 maybe-mostlyclean-target-zlib:
39525 @if target-zlib
39526 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39528 mostlyclean-target-zlib:
39529 @: $(MAKE); $(unstage)
39530 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39531 r=`${PWD_COMMAND}`; export r; \
39532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39533 $(NORMAL_TARGET_EXPORTS) \
39534 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39535 for flag in $(EXTRA_TARGET_FLAGS); do \
39536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39537 done; \
39538 (cd $(TARGET_SUBDIR)/zlib && \
39539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39541 "RANLIB=$${RANLIB}" \
39542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39543 mostlyclean) \
39544 || exit 1
39546 @endif target-zlib
39548 .PHONY: maybe-clean-target-zlib clean-target-zlib
39549 maybe-clean-target-zlib:
39550 @if target-zlib
39551 maybe-clean-target-zlib: clean-target-zlib
39553 clean-target-zlib:
39554 @: $(MAKE); $(unstage)
39555 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39556 r=`${PWD_COMMAND}`; export r; \
39557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39558 $(NORMAL_TARGET_EXPORTS) \
39559 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39560 for flag in $(EXTRA_TARGET_FLAGS); do \
39561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39562 done; \
39563 (cd $(TARGET_SUBDIR)/zlib && \
39564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39566 "RANLIB=$${RANLIB}" \
39567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39568 clean) \
39569 || exit 1
39571 @endif target-zlib
39573 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39574 maybe-distclean-target-zlib:
39575 @if target-zlib
39576 maybe-distclean-target-zlib: distclean-target-zlib
39578 distclean-target-zlib:
39579 @: $(MAKE); $(unstage)
39580 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39581 r=`${PWD_COMMAND}`; export r; \
39582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39583 $(NORMAL_TARGET_EXPORTS) \
39584 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39585 for flag in $(EXTRA_TARGET_FLAGS); do \
39586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39587 done; \
39588 (cd $(TARGET_SUBDIR)/zlib && \
39589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39591 "RANLIB=$${RANLIB}" \
39592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39593 distclean) \
39594 || exit 1
39596 @endif target-zlib
39598 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39599 maybe-maintainer-clean-target-zlib:
39600 @if target-zlib
39601 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39603 maintainer-clean-target-zlib:
39604 @: $(MAKE); $(unstage)
39605 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39606 r=`${PWD_COMMAND}`; export r; \
39607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39608 $(NORMAL_TARGET_EXPORTS) \
39609 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39610 for flag in $(EXTRA_TARGET_FLAGS); do \
39611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39612 done; \
39613 (cd $(TARGET_SUBDIR)/zlib && \
39614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39616 "RANLIB=$${RANLIB}" \
39617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39618 maintainer-clean) \
39619 || exit 1
39621 @endif target-zlib
39627 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39628 maybe-configure-target-boehm-gc:
39629 @if gcc-bootstrap
39630 configure-target-boehm-gc: stage_current
39631 @endif gcc-bootstrap
39632 @if target-boehm-gc
39633 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39634 configure-target-boehm-gc:
39635 @: $(MAKE); $(unstage)
39636 @r=`${PWD_COMMAND}`; export r; \
39637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39638 echo "Checking multilib configuration for boehm-gc..."; \
39639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39640 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39641 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39642 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39643 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39644 else \
39645 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39646 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39647 fi; \
39648 else \
39649 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39650 fi; \
39651 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39653 $(NORMAL_TARGET_EXPORTS) \
39654 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39655 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39656 case $(srcdir) in \
39657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39658 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39660 esac; \
39661 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39662 libsrcdir="$$s/boehm-gc"; \
39663 rm -f no-such-file || : ; \
39664 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39665 $(TARGET_CONFIGARGS) $${srcdiroption} \
39666 || exit 1
39667 @endif target-boehm-gc
39673 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39674 maybe-all-target-boehm-gc:
39675 @if gcc-bootstrap
39676 all-target-boehm-gc: stage_current
39677 @endif gcc-bootstrap
39678 @if target-boehm-gc
39679 TARGET-target-boehm-gc=all
39680 maybe-all-target-boehm-gc: all-target-boehm-gc
39681 all-target-boehm-gc: configure-target-boehm-gc
39682 @: $(MAKE); $(unstage)
39683 @r=`${PWD_COMMAND}`; export r; \
39684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39685 $(NORMAL_TARGET_EXPORTS) \
39686 (cd $(TARGET_SUBDIR)/boehm-gc && \
39687 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
39688 @endif target-boehm-gc
39694 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39695 maybe-check-target-boehm-gc:
39696 @if target-boehm-gc
39697 maybe-check-target-boehm-gc: check-target-boehm-gc
39699 check-target-boehm-gc:
39700 @: $(MAKE); $(unstage)
39701 @r=`${PWD_COMMAND}`; export r; \
39702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39703 $(NORMAL_TARGET_EXPORTS) \
39704 (cd $(TARGET_SUBDIR)/boehm-gc && \
39705 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39707 @endif target-boehm-gc
39709 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39710 maybe-install-target-boehm-gc:
39711 @if target-boehm-gc
39712 maybe-install-target-boehm-gc: install-target-boehm-gc
39714 install-target-boehm-gc: installdirs
39715 @: $(MAKE); $(unstage)
39716 @r=`${PWD_COMMAND}`; export r; \
39717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39718 $(NORMAL_TARGET_EXPORTS) \
39719 (cd $(TARGET_SUBDIR)/boehm-gc && \
39720 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39722 @endif target-boehm-gc
39724 # Other targets (info, dvi, pdf, etc.)
39726 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39727 maybe-info-target-boehm-gc:
39728 @if target-boehm-gc
39729 maybe-info-target-boehm-gc: info-target-boehm-gc
39731 info-target-boehm-gc: \
39732 configure-target-boehm-gc
39733 @: $(MAKE); $(unstage)
39734 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39735 r=`${PWD_COMMAND}`; export r; \
39736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39737 $(NORMAL_TARGET_EXPORTS) \
39738 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39739 for flag in $(EXTRA_TARGET_FLAGS); do \
39740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39741 done; \
39742 (cd $(TARGET_SUBDIR)/boehm-gc && \
39743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39745 "RANLIB=$${RANLIB}" \
39746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39747 info) \
39748 || exit 1
39750 @endif target-boehm-gc
39752 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39753 maybe-dvi-target-boehm-gc:
39754 @if target-boehm-gc
39755 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39757 dvi-target-boehm-gc: \
39758 configure-target-boehm-gc
39759 @: $(MAKE); $(unstage)
39760 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39761 r=`${PWD_COMMAND}`; export r; \
39762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39763 $(NORMAL_TARGET_EXPORTS) \
39764 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39765 for flag in $(EXTRA_TARGET_FLAGS); do \
39766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39767 done; \
39768 (cd $(TARGET_SUBDIR)/boehm-gc && \
39769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39771 "RANLIB=$${RANLIB}" \
39772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39773 dvi) \
39774 || exit 1
39776 @endif target-boehm-gc
39778 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39779 maybe-pdf-target-boehm-gc:
39780 @if target-boehm-gc
39781 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39783 pdf-target-boehm-gc: \
39784 configure-target-boehm-gc
39785 @: $(MAKE); $(unstage)
39786 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39787 r=`${PWD_COMMAND}`; export r; \
39788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39789 $(NORMAL_TARGET_EXPORTS) \
39790 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39791 for flag in $(EXTRA_TARGET_FLAGS); do \
39792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39793 done; \
39794 (cd $(TARGET_SUBDIR)/boehm-gc && \
39795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39797 "RANLIB=$${RANLIB}" \
39798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39799 pdf) \
39800 || exit 1
39802 @endif target-boehm-gc
39804 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39805 maybe-html-target-boehm-gc:
39806 @if target-boehm-gc
39807 maybe-html-target-boehm-gc: html-target-boehm-gc
39809 html-target-boehm-gc: \
39810 configure-target-boehm-gc
39811 @: $(MAKE); $(unstage)
39812 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39813 r=`${PWD_COMMAND}`; export r; \
39814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39815 $(NORMAL_TARGET_EXPORTS) \
39816 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39817 for flag in $(EXTRA_TARGET_FLAGS); do \
39818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39819 done; \
39820 (cd $(TARGET_SUBDIR)/boehm-gc && \
39821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39823 "RANLIB=$${RANLIB}" \
39824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39825 html) \
39826 || exit 1
39828 @endif target-boehm-gc
39830 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39831 maybe-TAGS-target-boehm-gc:
39832 @if target-boehm-gc
39833 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39835 TAGS-target-boehm-gc: \
39836 configure-target-boehm-gc
39837 @: $(MAKE); $(unstage)
39838 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39839 r=`${PWD_COMMAND}`; export r; \
39840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39841 $(NORMAL_TARGET_EXPORTS) \
39842 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39843 for flag in $(EXTRA_TARGET_FLAGS); do \
39844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39845 done; \
39846 (cd $(TARGET_SUBDIR)/boehm-gc && \
39847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39849 "RANLIB=$${RANLIB}" \
39850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39851 TAGS) \
39852 || exit 1
39854 @endif target-boehm-gc
39856 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39857 maybe-install-info-target-boehm-gc:
39858 @if target-boehm-gc
39859 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39861 install-info-target-boehm-gc: \
39862 configure-target-boehm-gc \
39863 info-target-boehm-gc
39864 @: $(MAKE); $(unstage)
39865 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39866 r=`${PWD_COMMAND}`; export r; \
39867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39868 $(NORMAL_TARGET_EXPORTS) \
39869 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39870 for flag in $(EXTRA_TARGET_FLAGS); do \
39871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39872 done; \
39873 (cd $(TARGET_SUBDIR)/boehm-gc && \
39874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39876 "RANLIB=$${RANLIB}" \
39877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39878 install-info) \
39879 || exit 1
39881 @endif target-boehm-gc
39883 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39884 maybe-install-html-target-boehm-gc:
39885 @if target-boehm-gc
39886 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39888 install-html-target-boehm-gc: \
39889 configure-target-boehm-gc \
39890 html-target-boehm-gc
39891 @: $(MAKE); $(unstage)
39892 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39893 r=`${PWD_COMMAND}`; export r; \
39894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39895 $(NORMAL_TARGET_EXPORTS) \
39896 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39897 for flag in $(EXTRA_TARGET_FLAGS); do \
39898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39899 done; \
39900 (cd $(TARGET_SUBDIR)/boehm-gc && \
39901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39903 "RANLIB=$${RANLIB}" \
39904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39905 install-html) \
39906 || exit 1
39908 @endif target-boehm-gc
39910 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39911 maybe-installcheck-target-boehm-gc:
39912 @if target-boehm-gc
39913 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39915 installcheck-target-boehm-gc: \
39916 configure-target-boehm-gc
39917 @: $(MAKE); $(unstage)
39918 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39919 r=`${PWD_COMMAND}`; export r; \
39920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39921 $(NORMAL_TARGET_EXPORTS) \
39922 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39923 for flag in $(EXTRA_TARGET_FLAGS); do \
39924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39925 done; \
39926 (cd $(TARGET_SUBDIR)/boehm-gc && \
39927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39929 "RANLIB=$${RANLIB}" \
39930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39931 installcheck) \
39932 || exit 1
39934 @endif target-boehm-gc
39936 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39937 maybe-mostlyclean-target-boehm-gc:
39938 @if target-boehm-gc
39939 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39941 mostlyclean-target-boehm-gc:
39942 @: $(MAKE); $(unstage)
39943 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39944 r=`${PWD_COMMAND}`; export r; \
39945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39946 $(NORMAL_TARGET_EXPORTS) \
39947 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39948 for flag in $(EXTRA_TARGET_FLAGS); do \
39949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39950 done; \
39951 (cd $(TARGET_SUBDIR)/boehm-gc && \
39952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39954 "RANLIB=$${RANLIB}" \
39955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39956 mostlyclean) \
39957 || exit 1
39959 @endif target-boehm-gc
39961 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39962 maybe-clean-target-boehm-gc:
39963 @if target-boehm-gc
39964 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39966 clean-target-boehm-gc:
39967 @: $(MAKE); $(unstage)
39968 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39969 r=`${PWD_COMMAND}`; export r; \
39970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39971 $(NORMAL_TARGET_EXPORTS) \
39972 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39973 for flag in $(EXTRA_TARGET_FLAGS); do \
39974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39975 done; \
39976 (cd $(TARGET_SUBDIR)/boehm-gc && \
39977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39979 "RANLIB=$${RANLIB}" \
39980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39981 clean) \
39982 || exit 1
39984 @endif target-boehm-gc
39986 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
39987 maybe-distclean-target-boehm-gc:
39988 @if target-boehm-gc
39989 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
39991 distclean-target-boehm-gc:
39992 @: $(MAKE); $(unstage)
39993 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39994 r=`${PWD_COMMAND}`; export r; \
39995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39996 $(NORMAL_TARGET_EXPORTS) \
39997 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39998 for flag in $(EXTRA_TARGET_FLAGS); do \
39999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40000 done; \
40001 (cd $(TARGET_SUBDIR)/boehm-gc && \
40002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40004 "RANLIB=$${RANLIB}" \
40005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40006 distclean) \
40007 || exit 1
40009 @endif target-boehm-gc
40011 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40012 maybe-maintainer-clean-target-boehm-gc:
40013 @if target-boehm-gc
40014 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40016 maintainer-clean-target-boehm-gc:
40017 @: $(MAKE); $(unstage)
40018 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40019 r=`${PWD_COMMAND}`; export r; \
40020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40021 $(NORMAL_TARGET_EXPORTS) \
40022 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40023 for flag in $(EXTRA_TARGET_FLAGS); do \
40024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40025 done; \
40026 (cd $(TARGET_SUBDIR)/boehm-gc && \
40027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40029 "RANLIB=$${RANLIB}" \
40030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40031 maintainer-clean) \
40032 || exit 1
40034 @endif target-boehm-gc
40040 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
40041 maybe-configure-target-qthreads:
40042 @if gcc-bootstrap
40043 configure-target-qthreads: stage_current
40044 @endif gcc-bootstrap
40045 @if target-qthreads
40046 maybe-configure-target-qthreads: configure-target-qthreads
40047 configure-target-qthreads:
40048 @: $(MAKE); $(unstage)
40049 @r=`${PWD_COMMAND}`; export r; \
40050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40051 echo "Checking multilib configuration for qthreads..."; \
40052 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40053 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
40054 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40055 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40056 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
40057 else \
40058 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
40059 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40060 fi; \
40061 else \
40062 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40063 fi; \
40064 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
40065 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40066 $(NORMAL_TARGET_EXPORTS) \
40067 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
40068 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
40069 case $(srcdir) in \
40070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40071 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
40072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40073 esac; \
40074 srcdiroption="--srcdir=$${topdir}/qthreads"; \
40075 libsrcdir="$$s/qthreads"; \
40076 rm -f no-such-file || : ; \
40077 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40078 $(TARGET_CONFIGARGS) $${srcdiroption} \
40079 || exit 1
40080 @endif target-qthreads
40086 .PHONY: all-target-qthreads maybe-all-target-qthreads
40087 maybe-all-target-qthreads:
40088 @if gcc-bootstrap
40089 all-target-qthreads: stage_current
40090 @endif gcc-bootstrap
40091 @if target-qthreads
40092 TARGET-target-qthreads=all
40093 maybe-all-target-qthreads: all-target-qthreads
40094 all-target-qthreads: configure-target-qthreads
40095 @: $(MAKE); $(unstage)
40096 @r=`${PWD_COMMAND}`; export r; \
40097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40098 $(NORMAL_TARGET_EXPORTS) \
40099 (cd $(TARGET_SUBDIR)/qthreads && \
40100 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
40101 @endif target-qthreads
40107 .PHONY: check-target-qthreads maybe-check-target-qthreads
40108 maybe-check-target-qthreads:
40109 @if target-qthreads
40110 maybe-check-target-qthreads: check-target-qthreads
40112 check-target-qthreads:
40113 @: $(MAKE); $(unstage)
40114 @r=`${PWD_COMMAND}`; export r; \
40115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40116 $(NORMAL_TARGET_EXPORTS) \
40117 (cd $(TARGET_SUBDIR)/qthreads && \
40118 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40120 @endif target-qthreads
40122 .PHONY: install-target-qthreads maybe-install-target-qthreads
40123 maybe-install-target-qthreads:
40124 @if target-qthreads
40125 maybe-install-target-qthreads: install-target-qthreads
40127 install-target-qthreads: installdirs
40128 @: $(MAKE); $(unstage)
40129 @r=`${PWD_COMMAND}`; export r; \
40130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40131 $(NORMAL_TARGET_EXPORTS) \
40132 (cd $(TARGET_SUBDIR)/qthreads && \
40133 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40135 @endif target-qthreads
40137 # Other targets (info, dvi, pdf, etc.)
40139 .PHONY: maybe-info-target-qthreads info-target-qthreads
40140 maybe-info-target-qthreads:
40141 @if target-qthreads
40142 maybe-info-target-qthreads: info-target-qthreads
40144 info-target-qthreads: \
40145 configure-target-qthreads
40146 @: $(MAKE); $(unstage)
40147 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40148 r=`${PWD_COMMAND}`; export r; \
40149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40150 $(NORMAL_TARGET_EXPORTS) \
40151 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
40152 for flag in $(EXTRA_TARGET_FLAGS); do \
40153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40154 done; \
40155 (cd $(TARGET_SUBDIR)/qthreads && \
40156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40158 "RANLIB=$${RANLIB}" \
40159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40160 info) \
40161 || exit 1
40163 @endif target-qthreads
40165 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
40166 maybe-dvi-target-qthreads:
40167 @if target-qthreads
40168 maybe-dvi-target-qthreads: dvi-target-qthreads
40170 dvi-target-qthreads: \
40171 configure-target-qthreads
40172 @: $(MAKE); $(unstage)
40173 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40174 r=`${PWD_COMMAND}`; export r; \
40175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40176 $(NORMAL_TARGET_EXPORTS) \
40177 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
40178 for flag in $(EXTRA_TARGET_FLAGS); do \
40179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40180 done; \
40181 (cd $(TARGET_SUBDIR)/qthreads && \
40182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40184 "RANLIB=$${RANLIB}" \
40185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40186 dvi) \
40187 || exit 1
40189 @endif target-qthreads
40191 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
40192 maybe-pdf-target-qthreads:
40193 @if target-qthreads
40194 maybe-pdf-target-qthreads: pdf-target-qthreads
40196 pdf-target-qthreads: \
40197 configure-target-qthreads
40198 @: $(MAKE); $(unstage)
40199 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40200 r=`${PWD_COMMAND}`; export r; \
40201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40202 $(NORMAL_TARGET_EXPORTS) \
40203 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
40204 for flag in $(EXTRA_TARGET_FLAGS); do \
40205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40206 done; \
40207 (cd $(TARGET_SUBDIR)/qthreads && \
40208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40210 "RANLIB=$${RANLIB}" \
40211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40212 pdf) \
40213 || exit 1
40215 @endif target-qthreads
40217 .PHONY: maybe-html-target-qthreads html-target-qthreads
40218 maybe-html-target-qthreads:
40219 @if target-qthreads
40220 maybe-html-target-qthreads: html-target-qthreads
40222 html-target-qthreads: \
40223 configure-target-qthreads
40224 @: $(MAKE); $(unstage)
40225 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40226 r=`${PWD_COMMAND}`; export r; \
40227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40228 $(NORMAL_TARGET_EXPORTS) \
40229 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
40230 for flag in $(EXTRA_TARGET_FLAGS); do \
40231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40232 done; \
40233 (cd $(TARGET_SUBDIR)/qthreads && \
40234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40236 "RANLIB=$${RANLIB}" \
40237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40238 html) \
40239 || exit 1
40241 @endif target-qthreads
40243 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
40244 maybe-TAGS-target-qthreads:
40245 @if target-qthreads
40246 maybe-TAGS-target-qthreads: TAGS-target-qthreads
40248 TAGS-target-qthreads: \
40249 configure-target-qthreads
40250 @: $(MAKE); $(unstage)
40251 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40252 r=`${PWD_COMMAND}`; export r; \
40253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40254 $(NORMAL_TARGET_EXPORTS) \
40255 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
40256 for flag in $(EXTRA_TARGET_FLAGS); do \
40257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40258 done; \
40259 (cd $(TARGET_SUBDIR)/qthreads && \
40260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40262 "RANLIB=$${RANLIB}" \
40263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40264 TAGS) \
40265 || exit 1
40267 @endif target-qthreads
40269 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
40270 maybe-install-info-target-qthreads:
40271 @if target-qthreads
40272 maybe-install-info-target-qthreads: install-info-target-qthreads
40274 install-info-target-qthreads: \
40275 configure-target-qthreads \
40276 info-target-qthreads
40277 @: $(MAKE); $(unstage)
40278 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40279 r=`${PWD_COMMAND}`; export r; \
40280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40281 $(NORMAL_TARGET_EXPORTS) \
40282 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
40283 for flag in $(EXTRA_TARGET_FLAGS); do \
40284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40285 done; \
40286 (cd $(TARGET_SUBDIR)/qthreads && \
40287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40289 "RANLIB=$${RANLIB}" \
40290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40291 install-info) \
40292 || exit 1
40294 @endif target-qthreads
40296 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
40297 maybe-install-html-target-qthreads:
40298 @if target-qthreads
40299 maybe-install-html-target-qthreads: install-html-target-qthreads
40301 install-html-target-qthreads: \
40302 configure-target-qthreads \
40303 html-target-qthreads
40304 @: $(MAKE); $(unstage)
40305 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40306 r=`${PWD_COMMAND}`; export r; \
40307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40308 $(NORMAL_TARGET_EXPORTS) \
40309 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
40310 for flag in $(EXTRA_TARGET_FLAGS); do \
40311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40312 done; \
40313 (cd $(TARGET_SUBDIR)/qthreads && \
40314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40316 "RANLIB=$${RANLIB}" \
40317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40318 install-html) \
40319 || exit 1
40321 @endif target-qthreads
40323 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
40324 maybe-installcheck-target-qthreads:
40325 @if target-qthreads
40326 maybe-installcheck-target-qthreads: installcheck-target-qthreads
40328 installcheck-target-qthreads: \
40329 configure-target-qthreads
40330 @: $(MAKE); $(unstage)
40331 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40332 r=`${PWD_COMMAND}`; export r; \
40333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40334 $(NORMAL_TARGET_EXPORTS) \
40335 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
40336 for flag in $(EXTRA_TARGET_FLAGS); do \
40337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40338 done; \
40339 (cd $(TARGET_SUBDIR)/qthreads && \
40340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40342 "RANLIB=$${RANLIB}" \
40343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40344 installcheck) \
40345 || exit 1
40347 @endif target-qthreads
40349 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
40350 maybe-mostlyclean-target-qthreads:
40351 @if target-qthreads
40352 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
40354 mostlyclean-target-qthreads:
40355 @: $(MAKE); $(unstage)
40356 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40357 r=`${PWD_COMMAND}`; export r; \
40358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40359 $(NORMAL_TARGET_EXPORTS) \
40360 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
40361 for flag in $(EXTRA_TARGET_FLAGS); do \
40362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40363 done; \
40364 (cd $(TARGET_SUBDIR)/qthreads && \
40365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40367 "RANLIB=$${RANLIB}" \
40368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40369 mostlyclean) \
40370 || exit 1
40372 @endif target-qthreads
40374 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
40375 maybe-clean-target-qthreads:
40376 @if target-qthreads
40377 maybe-clean-target-qthreads: clean-target-qthreads
40379 clean-target-qthreads:
40380 @: $(MAKE); $(unstage)
40381 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40382 r=`${PWD_COMMAND}`; export r; \
40383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40384 $(NORMAL_TARGET_EXPORTS) \
40385 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
40386 for flag in $(EXTRA_TARGET_FLAGS); do \
40387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40388 done; \
40389 (cd $(TARGET_SUBDIR)/qthreads && \
40390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40392 "RANLIB=$${RANLIB}" \
40393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40394 clean) \
40395 || exit 1
40397 @endif target-qthreads
40399 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
40400 maybe-distclean-target-qthreads:
40401 @if target-qthreads
40402 maybe-distclean-target-qthreads: distclean-target-qthreads
40404 distclean-target-qthreads:
40405 @: $(MAKE); $(unstage)
40406 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40407 r=`${PWD_COMMAND}`; export r; \
40408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40409 $(NORMAL_TARGET_EXPORTS) \
40410 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
40411 for flag in $(EXTRA_TARGET_FLAGS); do \
40412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40413 done; \
40414 (cd $(TARGET_SUBDIR)/qthreads && \
40415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40417 "RANLIB=$${RANLIB}" \
40418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40419 distclean) \
40420 || exit 1
40422 @endif target-qthreads
40424 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
40425 maybe-maintainer-clean-target-qthreads:
40426 @if target-qthreads
40427 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
40429 maintainer-clean-target-qthreads:
40430 @: $(MAKE); $(unstage)
40431 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
40432 r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 $(NORMAL_TARGET_EXPORTS) \
40435 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
40436 for flag in $(EXTRA_TARGET_FLAGS); do \
40437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40438 done; \
40439 (cd $(TARGET_SUBDIR)/qthreads && \
40440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40442 "RANLIB=$${RANLIB}" \
40443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40444 maintainer-clean) \
40445 || exit 1
40447 @endif target-qthreads
40453 .PHONY: configure-target-rda maybe-configure-target-rda
40454 maybe-configure-target-rda:
40455 @if gcc-bootstrap
40456 configure-target-rda: stage_current
40457 @endif gcc-bootstrap
40458 @if target-rda
40459 maybe-configure-target-rda: configure-target-rda
40460 configure-target-rda:
40461 @: $(MAKE); $(unstage)
40462 @r=`${PWD_COMMAND}`; export r; \
40463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40464 echo "Checking multilib configuration for rda..."; \
40465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40467 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40468 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40469 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40470 else \
40471 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40472 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40473 fi; \
40474 else \
40475 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40476 fi; \
40477 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40479 $(NORMAL_TARGET_EXPORTS) \
40480 echo Configuring in $(TARGET_SUBDIR)/rda; \
40481 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40482 case $(srcdir) in \
40483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40484 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40486 esac; \
40487 srcdiroption="--srcdir=$${topdir}/rda"; \
40488 libsrcdir="$$s/rda"; \
40489 rm -f no-such-file || : ; \
40490 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40491 $(TARGET_CONFIGARGS) $${srcdiroption} \
40492 || exit 1
40493 @endif target-rda
40499 .PHONY: all-target-rda maybe-all-target-rda
40500 maybe-all-target-rda:
40501 @if gcc-bootstrap
40502 all-target-rda: stage_current
40503 @endif gcc-bootstrap
40504 @if target-rda
40505 TARGET-target-rda=all
40506 maybe-all-target-rda: all-target-rda
40507 all-target-rda: configure-target-rda
40508 @: $(MAKE); $(unstage)
40509 @r=`${PWD_COMMAND}`; export r; \
40510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40511 $(NORMAL_TARGET_EXPORTS) \
40512 (cd $(TARGET_SUBDIR)/rda && \
40513 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
40514 @endif target-rda
40520 .PHONY: check-target-rda maybe-check-target-rda
40521 maybe-check-target-rda:
40522 @if target-rda
40523 maybe-check-target-rda: check-target-rda
40525 check-target-rda:
40526 @: $(MAKE); $(unstage)
40527 @r=`${PWD_COMMAND}`; export r; \
40528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40529 $(NORMAL_TARGET_EXPORTS) \
40530 (cd $(TARGET_SUBDIR)/rda && \
40531 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40533 @endif target-rda
40535 .PHONY: install-target-rda maybe-install-target-rda
40536 maybe-install-target-rda:
40537 @if target-rda
40538 maybe-install-target-rda: install-target-rda
40540 install-target-rda: installdirs
40541 @: $(MAKE); $(unstage)
40542 @r=`${PWD_COMMAND}`; export r; \
40543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40544 $(NORMAL_TARGET_EXPORTS) \
40545 (cd $(TARGET_SUBDIR)/rda && \
40546 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40548 @endif target-rda
40550 # Other targets (info, dvi, pdf, etc.)
40552 .PHONY: maybe-info-target-rda info-target-rda
40553 maybe-info-target-rda:
40554 @if target-rda
40555 maybe-info-target-rda: info-target-rda
40557 info-target-rda: \
40558 configure-target-rda
40559 @: $(MAKE); $(unstage)
40560 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40561 r=`${PWD_COMMAND}`; export r; \
40562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40563 $(NORMAL_TARGET_EXPORTS) \
40564 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40565 for flag in $(EXTRA_TARGET_FLAGS); do \
40566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40567 done; \
40568 (cd $(TARGET_SUBDIR)/rda && \
40569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40571 "RANLIB=$${RANLIB}" \
40572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40573 info) \
40574 || exit 1
40576 @endif target-rda
40578 .PHONY: maybe-dvi-target-rda dvi-target-rda
40579 maybe-dvi-target-rda:
40580 @if target-rda
40581 maybe-dvi-target-rda: dvi-target-rda
40583 dvi-target-rda: \
40584 configure-target-rda
40585 @: $(MAKE); $(unstage)
40586 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40587 r=`${PWD_COMMAND}`; export r; \
40588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40589 $(NORMAL_TARGET_EXPORTS) \
40590 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40591 for flag in $(EXTRA_TARGET_FLAGS); do \
40592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40593 done; \
40594 (cd $(TARGET_SUBDIR)/rda && \
40595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40597 "RANLIB=$${RANLIB}" \
40598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40599 dvi) \
40600 || exit 1
40602 @endif target-rda
40604 .PHONY: maybe-pdf-target-rda pdf-target-rda
40605 maybe-pdf-target-rda:
40606 @if target-rda
40607 maybe-pdf-target-rda: pdf-target-rda
40609 pdf-target-rda: \
40610 configure-target-rda
40611 @: $(MAKE); $(unstage)
40612 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40613 r=`${PWD_COMMAND}`; export r; \
40614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40615 $(NORMAL_TARGET_EXPORTS) \
40616 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40617 for flag in $(EXTRA_TARGET_FLAGS); do \
40618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40619 done; \
40620 (cd $(TARGET_SUBDIR)/rda && \
40621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40623 "RANLIB=$${RANLIB}" \
40624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40625 pdf) \
40626 || exit 1
40628 @endif target-rda
40630 .PHONY: maybe-html-target-rda html-target-rda
40631 maybe-html-target-rda:
40632 @if target-rda
40633 maybe-html-target-rda: html-target-rda
40635 html-target-rda: \
40636 configure-target-rda
40637 @: $(MAKE); $(unstage)
40638 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40639 r=`${PWD_COMMAND}`; export r; \
40640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40641 $(NORMAL_TARGET_EXPORTS) \
40642 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40643 for flag in $(EXTRA_TARGET_FLAGS); do \
40644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40645 done; \
40646 (cd $(TARGET_SUBDIR)/rda && \
40647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40649 "RANLIB=$${RANLIB}" \
40650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40651 html) \
40652 || exit 1
40654 @endif target-rda
40656 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40657 maybe-TAGS-target-rda:
40658 @if target-rda
40659 maybe-TAGS-target-rda: TAGS-target-rda
40661 TAGS-target-rda: \
40662 configure-target-rda
40663 @: $(MAKE); $(unstage)
40664 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40665 r=`${PWD_COMMAND}`; export r; \
40666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40667 $(NORMAL_TARGET_EXPORTS) \
40668 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40669 for flag in $(EXTRA_TARGET_FLAGS); do \
40670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40671 done; \
40672 (cd $(TARGET_SUBDIR)/rda && \
40673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40675 "RANLIB=$${RANLIB}" \
40676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40677 TAGS) \
40678 || exit 1
40680 @endif target-rda
40682 .PHONY: maybe-install-info-target-rda install-info-target-rda
40683 maybe-install-info-target-rda:
40684 @if target-rda
40685 maybe-install-info-target-rda: install-info-target-rda
40687 install-info-target-rda: \
40688 configure-target-rda \
40689 info-target-rda
40690 @: $(MAKE); $(unstage)
40691 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40692 r=`${PWD_COMMAND}`; export r; \
40693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40694 $(NORMAL_TARGET_EXPORTS) \
40695 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40696 for flag in $(EXTRA_TARGET_FLAGS); do \
40697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40698 done; \
40699 (cd $(TARGET_SUBDIR)/rda && \
40700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40702 "RANLIB=$${RANLIB}" \
40703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40704 install-info) \
40705 || exit 1
40707 @endif target-rda
40709 .PHONY: maybe-install-html-target-rda install-html-target-rda
40710 maybe-install-html-target-rda:
40711 @if target-rda
40712 maybe-install-html-target-rda: install-html-target-rda
40714 install-html-target-rda: \
40715 configure-target-rda \
40716 html-target-rda
40717 @: $(MAKE); $(unstage)
40718 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40719 r=`${PWD_COMMAND}`; export r; \
40720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40721 $(NORMAL_TARGET_EXPORTS) \
40722 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40723 for flag in $(EXTRA_TARGET_FLAGS); do \
40724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40725 done; \
40726 (cd $(TARGET_SUBDIR)/rda && \
40727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40729 "RANLIB=$${RANLIB}" \
40730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40731 install-html) \
40732 || exit 1
40734 @endif target-rda
40736 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40737 maybe-installcheck-target-rda:
40738 @if target-rda
40739 maybe-installcheck-target-rda: installcheck-target-rda
40741 installcheck-target-rda: \
40742 configure-target-rda
40743 @: $(MAKE); $(unstage)
40744 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40745 r=`${PWD_COMMAND}`; export r; \
40746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40747 $(NORMAL_TARGET_EXPORTS) \
40748 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40749 for flag in $(EXTRA_TARGET_FLAGS); do \
40750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40751 done; \
40752 (cd $(TARGET_SUBDIR)/rda && \
40753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40755 "RANLIB=$${RANLIB}" \
40756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40757 installcheck) \
40758 || exit 1
40760 @endif target-rda
40762 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40763 maybe-mostlyclean-target-rda:
40764 @if target-rda
40765 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40767 mostlyclean-target-rda:
40768 @: $(MAKE); $(unstage)
40769 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40770 r=`${PWD_COMMAND}`; export r; \
40771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40772 $(NORMAL_TARGET_EXPORTS) \
40773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40774 for flag in $(EXTRA_TARGET_FLAGS); do \
40775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40776 done; \
40777 (cd $(TARGET_SUBDIR)/rda && \
40778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40780 "RANLIB=$${RANLIB}" \
40781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40782 mostlyclean) \
40783 || exit 1
40785 @endif target-rda
40787 .PHONY: maybe-clean-target-rda clean-target-rda
40788 maybe-clean-target-rda:
40789 @if target-rda
40790 maybe-clean-target-rda: clean-target-rda
40792 clean-target-rda:
40793 @: $(MAKE); $(unstage)
40794 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40795 r=`${PWD_COMMAND}`; export r; \
40796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40797 $(NORMAL_TARGET_EXPORTS) \
40798 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40799 for flag in $(EXTRA_TARGET_FLAGS); do \
40800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40801 done; \
40802 (cd $(TARGET_SUBDIR)/rda && \
40803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40805 "RANLIB=$${RANLIB}" \
40806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40807 clean) \
40808 || exit 1
40810 @endif target-rda
40812 .PHONY: maybe-distclean-target-rda distclean-target-rda
40813 maybe-distclean-target-rda:
40814 @if target-rda
40815 maybe-distclean-target-rda: distclean-target-rda
40817 distclean-target-rda:
40818 @: $(MAKE); $(unstage)
40819 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40820 r=`${PWD_COMMAND}`; export r; \
40821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40822 $(NORMAL_TARGET_EXPORTS) \
40823 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40824 for flag in $(EXTRA_TARGET_FLAGS); do \
40825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40826 done; \
40827 (cd $(TARGET_SUBDIR)/rda && \
40828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40830 "RANLIB=$${RANLIB}" \
40831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40832 distclean) \
40833 || exit 1
40835 @endif target-rda
40837 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40838 maybe-maintainer-clean-target-rda:
40839 @if target-rda
40840 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40842 maintainer-clean-target-rda:
40843 @: $(MAKE); $(unstage)
40844 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40845 r=`${PWD_COMMAND}`; export r; \
40846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40847 $(NORMAL_TARGET_EXPORTS) \
40848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40849 for flag in $(EXTRA_TARGET_FLAGS); do \
40850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40851 done; \
40852 (cd $(TARGET_SUBDIR)/rda && \
40853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40855 "RANLIB=$${RANLIB}" \
40856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40857 maintainer-clean) \
40858 || exit 1
40860 @endif target-rda
40866 .PHONY: configure-target-libada maybe-configure-target-libada
40867 maybe-configure-target-libada:
40868 @if gcc-bootstrap
40869 configure-target-libada: stage_current
40870 @endif gcc-bootstrap
40871 @if target-libada
40872 maybe-configure-target-libada: configure-target-libada
40873 configure-target-libada:
40874 @: $(MAKE); $(unstage)
40875 @r=`${PWD_COMMAND}`; export r; \
40876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40877 echo "Checking multilib configuration for libada..."; \
40878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40880 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40881 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40882 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40883 else \
40884 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40885 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40886 fi; \
40887 else \
40888 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40889 fi; \
40890 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40892 $(NORMAL_TARGET_EXPORTS) \
40893 echo Configuring in $(TARGET_SUBDIR)/libada; \
40894 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40895 case $(srcdir) in \
40896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40897 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40899 esac; \
40900 srcdiroption="--srcdir=$${topdir}/libada"; \
40901 libsrcdir="$$s/libada"; \
40902 rm -f no-such-file || : ; \
40903 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40904 $(TARGET_CONFIGARGS) $${srcdiroption} \
40905 || exit 1
40906 @endif target-libada
40912 .PHONY: all-target-libada maybe-all-target-libada
40913 maybe-all-target-libada:
40914 @if gcc-bootstrap
40915 all-target-libada: stage_current
40916 @endif gcc-bootstrap
40917 @if target-libada
40918 TARGET-target-libada=all
40919 maybe-all-target-libada: all-target-libada
40920 all-target-libada: configure-target-libada
40921 @: $(MAKE); $(unstage)
40922 @r=`${PWD_COMMAND}`; export r; \
40923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40924 $(NORMAL_TARGET_EXPORTS) \
40925 (cd $(TARGET_SUBDIR)/libada && \
40926 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
40927 @endif target-libada
40933 .PHONY: check-target-libada maybe-check-target-libada
40934 maybe-check-target-libada:
40935 @if target-libada
40936 maybe-check-target-libada: check-target-libada
40938 check-target-libada:
40939 @: $(MAKE); $(unstage)
40940 @r=`${PWD_COMMAND}`; export r; \
40941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40942 $(NORMAL_TARGET_EXPORTS) \
40943 (cd $(TARGET_SUBDIR)/libada && \
40944 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40946 @endif target-libada
40948 .PHONY: install-target-libada maybe-install-target-libada
40949 maybe-install-target-libada:
40950 @if target-libada
40951 maybe-install-target-libada: install-target-libada
40953 install-target-libada: installdirs
40954 @: $(MAKE); $(unstage)
40955 @r=`${PWD_COMMAND}`; export r; \
40956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40957 $(NORMAL_TARGET_EXPORTS) \
40958 (cd $(TARGET_SUBDIR)/libada && \
40959 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40961 @endif target-libada
40963 # Other targets (info, dvi, pdf, etc.)
40965 .PHONY: maybe-info-target-libada info-target-libada
40966 maybe-info-target-libada:
40967 @if target-libada
40968 maybe-info-target-libada: info-target-libada
40970 info-target-libada: \
40971 configure-target-libada
40972 @: $(MAKE); $(unstage)
40973 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40974 r=`${PWD_COMMAND}`; export r; \
40975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40976 $(NORMAL_TARGET_EXPORTS) \
40977 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40978 for flag in $(EXTRA_TARGET_FLAGS); do \
40979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40980 done; \
40981 (cd $(TARGET_SUBDIR)/libada && \
40982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40984 "RANLIB=$${RANLIB}" \
40985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40986 info) \
40987 || exit 1
40989 @endif target-libada
40991 .PHONY: maybe-dvi-target-libada dvi-target-libada
40992 maybe-dvi-target-libada:
40993 @if target-libada
40994 maybe-dvi-target-libada: dvi-target-libada
40996 dvi-target-libada: \
40997 configure-target-libada
40998 @: $(MAKE); $(unstage)
40999 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41000 r=`${PWD_COMMAND}`; export r; \
41001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41002 $(NORMAL_TARGET_EXPORTS) \
41003 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41004 for flag in $(EXTRA_TARGET_FLAGS); do \
41005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41006 done; \
41007 (cd $(TARGET_SUBDIR)/libada && \
41008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41010 "RANLIB=$${RANLIB}" \
41011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41012 dvi) \
41013 || exit 1
41015 @endif target-libada
41017 .PHONY: maybe-pdf-target-libada pdf-target-libada
41018 maybe-pdf-target-libada:
41019 @if target-libada
41020 maybe-pdf-target-libada: pdf-target-libada
41022 pdf-target-libada: \
41023 configure-target-libada
41024 @: $(MAKE); $(unstage)
41025 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41026 r=`${PWD_COMMAND}`; export r; \
41027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41028 $(NORMAL_TARGET_EXPORTS) \
41029 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41030 for flag in $(EXTRA_TARGET_FLAGS); do \
41031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41032 done; \
41033 (cd $(TARGET_SUBDIR)/libada && \
41034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41036 "RANLIB=$${RANLIB}" \
41037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41038 pdf) \
41039 || exit 1
41041 @endif target-libada
41043 .PHONY: maybe-html-target-libada html-target-libada
41044 maybe-html-target-libada:
41045 @if target-libada
41046 maybe-html-target-libada: html-target-libada
41048 html-target-libada: \
41049 configure-target-libada
41050 @: $(MAKE); $(unstage)
41051 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41052 r=`${PWD_COMMAND}`; export r; \
41053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41054 $(NORMAL_TARGET_EXPORTS) \
41055 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41056 for flag in $(EXTRA_TARGET_FLAGS); do \
41057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41058 done; \
41059 (cd $(TARGET_SUBDIR)/libada && \
41060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41062 "RANLIB=$${RANLIB}" \
41063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41064 html) \
41065 || exit 1
41067 @endif target-libada
41069 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41070 maybe-TAGS-target-libada:
41071 @if target-libada
41072 maybe-TAGS-target-libada: TAGS-target-libada
41074 TAGS-target-libada: \
41075 configure-target-libada
41076 @: $(MAKE); $(unstage)
41077 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41078 r=`${PWD_COMMAND}`; export r; \
41079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41080 $(NORMAL_TARGET_EXPORTS) \
41081 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41082 for flag in $(EXTRA_TARGET_FLAGS); do \
41083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41084 done; \
41085 (cd $(TARGET_SUBDIR)/libada && \
41086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41088 "RANLIB=$${RANLIB}" \
41089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41090 TAGS) \
41091 || exit 1
41093 @endif target-libada
41095 .PHONY: maybe-install-info-target-libada install-info-target-libada
41096 maybe-install-info-target-libada:
41097 @if target-libada
41098 maybe-install-info-target-libada: install-info-target-libada
41100 install-info-target-libada: \
41101 configure-target-libada \
41102 info-target-libada
41103 @: $(MAKE); $(unstage)
41104 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41105 r=`${PWD_COMMAND}`; export r; \
41106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41107 $(NORMAL_TARGET_EXPORTS) \
41108 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41109 for flag in $(EXTRA_TARGET_FLAGS); do \
41110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41111 done; \
41112 (cd $(TARGET_SUBDIR)/libada && \
41113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41115 "RANLIB=$${RANLIB}" \
41116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41117 install-info) \
41118 || exit 1
41120 @endif target-libada
41122 .PHONY: maybe-install-html-target-libada install-html-target-libada
41123 maybe-install-html-target-libada:
41124 @if target-libada
41125 maybe-install-html-target-libada: install-html-target-libada
41127 install-html-target-libada: \
41128 configure-target-libada \
41129 html-target-libada
41130 @: $(MAKE); $(unstage)
41131 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41132 r=`${PWD_COMMAND}`; export r; \
41133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41134 $(NORMAL_TARGET_EXPORTS) \
41135 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41136 for flag in $(EXTRA_TARGET_FLAGS); do \
41137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41138 done; \
41139 (cd $(TARGET_SUBDIR)/libada && \
41140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41142 "RANLIB=$${RANLIB}" \
41143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41144 install-html) \
41145 || exit 1
41147 @endif target-libada
41149 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41150 maybe-installcheck-target-libada:
41151 @if target-libada
41152 maybe-installcheck-target-libada: installcheck-target-libada
41154 installcheck-target-libada: \
41155 configure-target-libada
41156 @: $(MAKE); $(unstage)
41157 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41158 r=`${PWD_COMMAND}`; export r; \
41159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41160 $(NORMAL_TARGET_EXPORTS) \
41161 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41162 for flag in $(EXTRA_TARGET_FLAGS); do \
41163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41164 done; \
41165 (cd $(TARGET_SUBDIR)/libada && \
41166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41168 "RANLIB=$${RANLIB}" \
41169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41170 installcheck) \
41171 || exit 1
41173 @endif target-libada
41175 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41176 maybe-mostlyclean-target-libada:
41177 @if target-libada
41178 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41180 mostlyclean-target-libada:
41181 @: $(MAKE); $(unstage)
41182 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41183 r=`${PWD_COMMAND}`; export r; \
41184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41185 $(NORMAL_TARGET_EXPORTS) \
41186 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41187 for flag in $(EXTRA_TARGET_FLAGS); do \
41188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41189 done; \
41190 (cd $(TARGET_SUBDIR)/libada && \
41191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41193 "RANLIB=$${RANLIB}" \
41194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41195 mostlyclean) \
41196 || exit 1
41198 @endif target-libada
41200 .PHONY: maybe-clean-target-libada clean-target-libada
41201 maybe-clean-target-libada:
41202 @if target-libada
41203 maybe-clean-target-libada: clean-target-libada
41205 clean-target-libada:
41206 @: $(MAKE); $(unstage)
41207 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41208 r=`${PWD_COMMAND}`; export r; \
41209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41210 $(NORMAL_TARGET_EXPORTS) \
41211 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41212 for flag in $(EXTRA_TARGET_FLAGS); do \
41213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41214 done; \
41215 (cd $(TARGET_SUBDIR)/libada && \
41216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41218 "RANLIB=$${RANLIB}" \
41219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41220 clean) \
41221 || exit 1
41223 @endif target-libada
41225 .PHONY: maybe-distclean-target-libada distclean-target-libada
41226 maybe-distclean-target-libada:
41227 @if target-libada
41228 maybe-distclean-target-libada: distclean-target-libada
41230 distclean-target-libada:
41231 @: $(MAKE); $(unstage)
41232 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41233 r=`${PWD_COMMAND}`; export r; \
41234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41235 $(NORMAL_TARGET_EXPORTS) \
41236 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41237 for flag in $(EXTRA_TARGET_FLAGS); do \
41238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41239 done; \
41240 (cd $(TARGET_SUBDIR)/libada && \
41241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41243 "RANLIB=$${RANLIB}" \
41244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41245 distclean) \
41246 || exit 1
41248 @endif target-libada
41250 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41251 maybe-maintainer-clean-target-libada:
41252 @if target-libada
41253 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41255 maintainer-clean-target-libada:
41256 @: $(MAKE); $(unstage)
41257 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41258 r=`${PWD_COMMAND}`; export r; \
41259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41260 $(NORMAL_TARGET_EXPORTS) \
41261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41262 for flag in $(EXTRA_TARGET_FLAGS); do \
41263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41264 done; \
41265 (cd $(TARGET_SUBDIR)/libada && \
41266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41268 "RANLIB=$${RANLIB}" \
41269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41270 maintainer-clean) \
41271 || exit 1
41273 @endif target-libada
41279 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41280 maybe-configure-target-libgomp:
41281 @if gcc-bootstrap
41282 configure-target-libgomp: stage_current
41283 @endif gcc-bootstrap
41284 @if target-libgomp
41285 maybe-configure-target-libgomp: configure-target-libgomp
41286 configure-target-libgomp:
41287 @: $(MAKE); $(unstage)
41288 @r=`${PWD_COMMAND}`; export r; \
41289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41290 echo "Checking multilib configuration for libgomp..."; \
41291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41293 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41294 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41295 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41296 else \
41297 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41298 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41299 fi; \
41300 else \
41301 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41302 fi; \
41303 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41304 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41305 $(NORMAL_TARGET_EXPORTS) \
41306 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41307 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41308 case $(srcdir) in \
41309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41310 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41312 esac; \
41313 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41314 libsrcdir="$$s/libgomp"; \
41315 rm -f no-such-file || : ; \
41316 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41317 $(TARGET_CONFIGARGS) $${srcdiroption} \
41318 || exit 1
41319 @endif target-libgomp
41325 .PHONY: all-target-libgomp maybe-all-target-libgomp
41326 maybe-all-target-libgomp:
41327 @if gcc-bootstrap
41328 all-target-libgomp: stage_current
41329 @endif gcc-bootstrap
41330 @if target-libgomp
41331 TARGET-target-libgomp=all
41332 maybe-all-target-libgomp: all-target-libgomp
41333 all-target-libgomp: configure-target-libgomp
41334 @: $(MAKE); $(unstage)
41335 @r=`${PWD_COMMAND}`; export r; \
41336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41337 $(NORMAL_TARGET_EXPORTS) \
41338 (cd $(TARGET_SUBDIR)/libgomp && \
41339 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
41340 @endif target-libgomp
41346 .PHONY: check-target-libgomp maybe-check-target-libgomp
41347 maybe-check-target-libgomp:
41348 @if target-libgomp
41349 maybe-check-target-libgomp: check-target-libgomp
41351 check-target-libgomp:
41352 @: $(MAKE); $(unstage)
41353 @r=`${PWD_COMMAND}`; export r; \
41354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41355 $(NORMAL_TARGET_EXPORTS) \
41356 (cd $(TARGET_SUBDIR)/libgomp && \
41357 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41359 @endif target-libgomp
41361 .PHONY: install-target-libgomp maybe-install-target-libgomp
41362 maybe-install-target-libgomp:
41363 @if target-libgomp
41364 maybe-install-target-libgomp: install-target-libgomp
41366 install-target-libgomp: installdirs
41367 @: $(MAKE); $(unstage)
41368 @r=`${PWD_COMMAND}`; export r; \
41369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41370 $(NORMAL_TARGET_EXPORTS) \
41371 (cd $(TARGET_SUBDIR)/libgomp && \
41372 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41374 @endif target-libgomp
41376 # Other targets (info, dvi, pdf, etc.)
41378 .PHONY: maybe-info-target-libgomp info-target-libgomp
41379 maybe-info-target-libgomp:
41380 @if target-libgomp
41381 maybe-info-target-libgomp: info-target-libgomp
41383 info-target-libgomp: \
41384 configure-target-libgomp
41385 @: $(MAKE); $(unstage)
41386 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41387 r=`${PWD_COMMAND}`; export r; \
41388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41389 $(NORMAL_TARGET_EXPORTS) \
41390 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41391 for flag in $(EXTRA_TARGET_FLAGS); do \
41392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41393 done; \
41394 (cd $(TARGET_SUBDIR)/libgomp && \
41395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41397 "RANLIB=$${RANLIB}" \
41398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41399 info) \
41400 || exit 1
41402 @endif target-libgomp
41404 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41405 maybe-dvi-target-libgomp:
41406 @if target-libgomp
41407 maybe-dvi-target-libgomp: dvi-target-libgomp
41409 dvi-target-libgomp: \
41410 configure-target-libgomp
41411 @: $(MAKE); $(unstage)
41412 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41413 r=`${PWD_COMMAND}`; export r; \
41414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41415 $(NORMAL_TARGET_EXPORTS) \
41416 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41417 for flag in $(EXTRA_TARGET_FLAGS); do \
41418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41419 done; \
41420 (cd $(TARGET_SUBDIR)/libgomp && \
41421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41423 "RANLIB=$${RANLIB}" \
41424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41425 dvi) \
41426 || exit 1
41428 @endif target-libgomp
41430 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41431 maybe-pdf-target-libgomp:
41432 @if target-libgomp
41433 maybe-pdf-target-libgomp: pdf-target-libgomp
41435 pdf-target-libgomp: \
41436 configure-target-libgomp
41437 @: $(MAKE); $(unstage)
41438 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41439 r=`${PWD_COMMAND}`; export r; \
41440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41441 $(NORMAL_TARGET_EXPORTS) \
41442 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41443 for flag in $(EXTRA_TARGET_FLAGS); do \
41444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41445 done; \
41446 (cd $(TARGET_SUBDIR)/libgomp && \
41447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41449 "RANLIB=$${RANLIB}" \
41450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41451 pdf) \
41452 || exit 1
41454 @endif target-libgomp
41456 .PHONY: maybe-html-target-libgomp html-target-libgomp
41457 maybe-html-target-libgomp:
41458 @if target-libgomp
41459 maybe-html-target-libgomp: html-target-libgomp
41461 html-target-libgomp: \
41462 configure-target-libgomp
41463 @: $(MAKE); $(unstage)
41464 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41465 r=`${PWD_COMMAND}`; export r; \
41466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41467 $(NORMAL_TARGET_EXPORTS) \
41468 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41469 for flag in $(EXTRA_TARGET_FLAGS); do \
41470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41471 done; \
41472 (cd $(TARGET_SUBDIR)/libgomp && \
41473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41475 "RANLIB=$${RANLIB}" \
41476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41477 html) \
41478 || exit 1
41480 @endif target-libgomp
41482 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41483 maybe-TAGS-target-libgomp:
41484 @if target-libgomp
41485 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41487 TAGS-target-libgomp: \
41488 configure-target-libgomp
41489 @: $(MAKE); $(unstage)
41490 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41491 r=`${PWD_COMMAND}`; export r; \
41492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41493 $(NORMAL_TARGET_EXPORTS) \
41494 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41495 for flag in $(EXTRA_TARGET_FLAGS); do \
41496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41497 done; \
41498 (cd $(TARGET_SUBDIR)/libgomp && \
41499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41501 "RANLIB=$${RANLIB}" \
41502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41503 TAGS) \
41504 || exit 1
41506 @endif target-libgomp
41508 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41509 maybe-install-info-target-libgomp:
41510 @if target-libgomp
41511 maybe-install-info-target-libgomp: install-info-target-libgomp
41513 install-info-target-libgomp: \
41514 configure-target-libgomp \
41515 info-target-libgomp
41516 @: $(MAKE); $(unstage)
41517 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41518 r=`${PWD_COMMAND}`; export r; \
41519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41520 $(NORMAL_TARGET_EXPORTS) \
41521 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41522 for flag in $(EXTRA_TARGET_FLAGS); do \
41523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41524 done; \
41525 (cd $(TARGET_SUBDIR)/libgomp && \
41526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41528 "RANLIB=$${RANLIB}" \
41529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41530 install-info) \
41531 || exit 1
41533 @endif target-libgomp
41535 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41536 maybe-install-html-target-libgomp:
41537 @if target-libgomp
41538 maybe-install-html-target-libgomp: install-html-target-libgomp
41540 install-html-target-libgomp: \
41541 configure-target-libgomp \
41542 html-target-libgomp
41543 @: $(MAKE); $(unstage)
41544 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41545 r=`${PWD_COMMAND}`; export r; \
41546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41547 $(NORMAL_TARGET_EXPORTS) \
41548 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41549 for flag in $(EXTRA_TARGET_FLAGS); do \
41550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41551 done; \
41552 (cd $(TARGET_SUBDIR)/libgomp && \
41553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41555 "RANLIB=$${RANLIB}" \
41556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41557 install-html) \
41558 || exit 1
41560 @endif target-libgomp
41562 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41563 maybe-installcheck-target-libgomp:
41564 @if target-libgomp
41565 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41567 installcheck-target-libgomp: \
41568 configure-target-libgomp
41569 @: $(MAKE); $(unstage)
41570 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41571 r=`${PWD_COMMAND}`; export r; \
41572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41573 $(NORMAL_TARGET_EXPORTS) \
41574 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41575 for flag in $(EXTRA_TARGET_FLAGS); do \
41576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41577 done; \
41578 (cd $(TARGET_SUBDIR)/libgomp && \
41579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41581 "RANLIB=$${RANLIB}" \
41582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41583 installcheck) \
41584 || exit 1
41586 @endif target-libgomp
41588 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41589 maybe-mostlyclean-target-libgomp:
41590 @if target-libgomp
41591 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41593 mostlyclean-target-libgomp:
41594 @: $(MAKE); $(unstage)
41595 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41596 r=`${PWD_COMMAND}`; export r; \
41597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41598 $(NORMAL_TARGET_EXPORTS) \
41599 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41600 for flag in $(EXTRA_TARGET_FLAGS); do \
41601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41602 done; \
41603 (cd $(TARGET_SUBDIR)/libgomp && \
41604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41606 "RANLIB=$${RANLIB}" \
41607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41608 mostlyclean) \
41609 || exit 1
41611 @endif target-libgomp
41613 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41614 maybe-clean-target-libgomp:
41615 @if target-libgomp
41616 maybe-clean-target-libgomp: clean-target-libgomp
41618 clean-target-libgomp:
41619 @: $(MAKE); $(unstage)
41620 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41621 r=`${PWD_COMMAND}`; export r; \
41622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41623 $(NORMAL_TARGET_EXPORTS) \
41624 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41625 for flag in $(EXTRA_TARGET_FLAGS); do \
41626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41627 done; \
41628 (cd $(TARGET_SUBDIR)/libgomp && \
41629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41631 "RANLIB=$${RANLIB}" \
41632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41633 clean) \
41634 || exit 1
41636 @endif target-libgomp
41638 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41639 maybe-distclean-target-libgomp:
41640 @if target-libgomp
41641 maybe-distclean-target-libgomp: distclean-target-libgomp
41643 distclean-target-libgomp:
41644 @: $(MAKE); $(unstage)
41645 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41646 r=`${PWD_COMMAND}`; export r; \
41647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41648 $(NORMAL_TARGET_EXPORTS) \
41649 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41650 for flag in $(EXTRA_TARGET_FLAGS); do \
41651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41652 done; \
41653 (cd $(TARGET_SUBDIR)/libgomp && \
41654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41656 "RANLIB=$${RANLIB}" \
41657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41658 distclean) \
41659 || exit 1
41661 @endif target-libgomp
41663 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41664 maybe-maintainer-clean-target-libgomp:
41665 @if target-libgomp
41666 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41668 maintainer-clean-target-libgomp:
41669 @: $(MAKE); $(unstage)
41670 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41671 r=`${PWD_COMMAND}`; export r; \
41672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41673 $(NORMAL_TARGET_EXPORTS) \
41674 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41675 for flag in $(EXTRA_TARGET_FLAGS); do \
41676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41677 done; \
41678 (cd $(TARGET_SUBDIR)/libgomp && \
41679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41681 "RANLIB=$${RANLIB}" \
41682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41683 maintainer-clean) \
41684 || exit 1
41686 @endif target-libgomp
41690 # ----------
41691 # GCC module
41692 # ----------
41694 @if gcc-no-bootstrap
41695 # GCC has some more recursive targets, which trigger the old
41696 # (but still current, until the toplevel bootstrap project
41697 # is finished) compiler bootstrapping rules.
41699 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
41700 .PHONY: $(GCC_STRAP_TARGETS)
41701 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
41702 @r=`${PWD_COMMAND}`; export r; \
41703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41704 $(HOST_EXPORTS) \
41705 echo "Bootstrapping the compiler"; \
41706 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41707 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
41708 @r=`${PWD_COMMAND}`; export r; \
41709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41710 case "$@" in \
41711 *bootstrap4-lean ) \
41712 msg="Comparing stage3 and stage4 of the compiler"; \
41713 compare=compare3-lean ;; \
41714 *bootstrap4 ) \
41715 msg="Comparing stage3 and stage4 of the compiler"; \
41716 compare=compare3 ;; \
41717 *-lean ) \
41718 msg="Comparing stage2 and stage3 of the compiler"; \
41719 compare=compare-lean ;; \
41720 * ) \
41721 msg="Comparing stage2 and stage3 of the compiler"; \
41722 compare=compare ;; \
41723 esac; \
41724 $(HOST_EXPORTS) \
41725 echo "$$msg"; \
41726 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
41727 @r=`${PWD_COMMAND}`; export r; \
41728 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41729 echo "Building runtime libraries"; \
41730 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41732 profiledbootstrap: all-prebootstrap configure-gcc
41733 @r=`${PWD_COMMAND}`; export r; \
41734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41735 $(HOST_EXPORTS) \
41736 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
41737 echo "Bootstrapping training compiler"; \
41738 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
41739 @r=`${PWD_COMMAND}`; export r; \
41740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41741 $(HOST_EXPORTS) \
41742 echo "Building feedback based compiler"; \
41743 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
41744 @r=`${PWD_COMMAND}`; export r; \
41745 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41746 echo "Building runtime libraries"; \
41747 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
41749 .PHONY: cross
41750 cross: all-build all-gas all-ld
41751 @r=`${PWD_COMMAND}`; export r; \
41752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41753 $(HOST_EXPORTS) \
41754 echo "Building the C and C++ compiler"; \
41755 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41756 @r=`${PWD_COMMAND}`; export r; \
41757 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41758 echo "Building runtime libraries"; \
41759 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41760 @endif gcc-no-bootstrap
41762 @if gcc
41763 .PHONY: check-gcc-c++
41764 check-gcc-c++:
41765 @if [ -f ./gcc/Makefile ] ; then \
41766 r=`${PWD_COMMAND}`; export r; \
41767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41768 $(HOST_EXPORTS) \
41769 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
41770 else \
41771 true; \
41774 .PHONY: check-c++
41775 check-c++: check-target-libstdc++-v3 check-gcc-c++
41777 # Install the gcc headers files, but not the fixed include files,
41778 # which Cygnus is not allowed to distribute. This rule is very
41779 # dependent on the workings of the gcc Makefile.in.
41780 .PHONY: gcc-no-fixedincludes
41781 gcc-no-fixedincludes:
41782 @if [ -f ./gcc/Makefile ]; then \
41783 rm -rf gcc/tmp-include; \
41784 mv gcc/include gcc/tmp-include 2>/dev/null; \
41785 mkdir gcc/include; \
41786 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
41787 touch gcc/stmp-fixinc gcc/include/fixed; \
41788 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
41789 r=`${PWD_COMMAND}`; export r; \
41790 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41791 $(HOST_EXPORTS) \
41792 (cd ./gcc && \
41793 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
41794 rm -rf gcc/include; \
41795 mv gcc/tmp-include gcc/include 2>/dev/null; \
41796 else true; fi
41797 @endif gcc
41799 # ---------------------
41800 # GCC bootstrap support
41801 # ---------------------
41803 # We track the current stage (the one in 'gcc') in the stage_current file.
41804 # stage_last instead tracks the stage that was built last. These targets
41805 # are dummy when toplevel bootstrap is not active.
41807 # While making host and target tools, symlinks to the final stage must be
41808 # there, so $(unstage) should be run at various points. To avoid excessive
41809 # recursive invocations of make, we "inline" them using a variable. These
41810 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41811 # to avoid warnings from the GNU Make job server.
41813 unstage = :
41814 stage = :
41815 current_stage = ""
41817 @if gcc-bootstrap
41818 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41819 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41820 current_stage = "`cat stage_current 2> /dev/null`"
41821 @endif gcc-bootstrap
41823 .PHONY: unstage stage
41824 unstage:
41825 @: $(MAKE); $(unstage)
41826 stage:
41827 @: $(MAKE); $(stage)
41829 # Disable commands for lean bootstrap.
41830 LEAN = false
41832 # We name the build directories for the various stages "stage1-gcc",
41833 # "stage2-gcc","stage3-gcc", etc.
41835 # Since the 'compare' process will fail (on debugging information) if any
41836 # directory names are different, we need to link the gcc directory for
41837 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41838 # the build directories constant as well. For the latter, we use naked names
41839 # like 'gcc', because the scripts in that directory assume it. We use
41840 # mv on platforms where symlinks to directories do not work or are not
41841 # reliable.
41843 # 'touch' doesn't work right on some platforms.
41844 STAMP = echo timestamp >
41846 # Only build the C compiler for stage1, because that is the only one that
41847 # we can guarantee will build with the native compiler, and also it is the
41848 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
41849 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
41850 # overrideable (for a bootstrap build stage1 also builds gcc.info).
41852 STAGE1_CFLAGS=@stage1_cflags@
41853 STAGE1_LANGUAGES=@stage1_languages@
41855 # We only want to compare .o files, so set this!
41856 objext = .o
41858 # Flags to pass to stage2 and later makes.
41859 POSTSTAGE1_FLAGS_TO_PASS = \
41860 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
41861 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
41862 CFLAGS="$(BOOT_CFLAGS)" \
41863 LIBCFLAGS="$(BOOT_CFLAGS)" \
41864 LDFLAGS="$(BOOT_LDFLAGS)" \
41865 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
41867 # For stage 1:
41868 # * We force-disable intermodule optimizations, even if
41869 # --enable-intermodule was passed, since the installed compiler probably
41870 # can't handle them. Luckily, autoconf always respects
41871 # the last argument when conflicting --enable arguments are passed.
41872 # * Likewise, we force-disable coverage flags, since the installed compiler
41873 # probably has never heard of them.
41874 # * We build only C (and possibly Ada).
41877 .PHONY: stage1-start stage1-end
41879 stage1-start::
41880 @: $(MAKE); $(stage); \
41881 echo stage1 > stage_current ; \
41882 echo stage1 > stage_last; \
41883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41884 @if bfd
41885 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41886 mkdir stage1-bfd; \
41887 mv stage1-bfd bfd
41888 @endif bfd
41889 @if opcodes
41890 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41891 mkdir stage1-opcodes; \
41892 mv stage1-opcodes opcodes
41893 @endif opcodes
41894 @if binutils
41895 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41896 mkdir stage1-binutils; \
41897 mv stage1-binutils binutils
41898 @endif binutils
41899 @if gas
41900 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41901 mkdir stage1-gas; \
41902 mv stage1-gas gas
41903 @endif gas
41904 @if gcc
41905 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41906 mkdir stage1-gcc; \
41907 mv stage1-gcc gcc
41908 @endif gcc
41909 @if intl
41910 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41911 mkdir stage1-intl; \
41912 mv stage1-intl intl
41913 @endif intl
41914 @if ld
41915 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41916 mkdir stage1-ld; \
41917 mv stage1-ld ld
41918 @endif ld
41919 @if libcpp
41920 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41921 mkdir stage1-libcpp; \
41922 mv stage1-libcpp libcpp
41923 @endif libcpp
41924 @if libdecnumber
41925 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41926 mkdir stage1-libdecnumber; \
41927 mv stage1-libdecnumber libdecnumber
41928 @endif libdecnumber
41929 @if libiberty
41930 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41931 mkdir stage1-libiberty; \
41932 mv stage1-libiberty libiberty
41933 @endif libiberty
41934 @if zlib
41935 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41936 mkdir stage1-zlib; \
41937 mv stage1-zlib zlib
41938 @endif zlib
41939 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41940 mkdir stage1-$(TARGET_SUBDIR); \
41941 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41943 stage1-end::
41944 @if bfd
41945 @if test -d $(HOST_SUBDIR)/bfd ; then \
41946 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41948 @endif bfd
41949 @if opcodes
41950 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41951 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41953 @endif opcodes
41954 @if binutils
41955 @if test -d $(HOST_SUBDIR)/binutils ; then \
41956 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41958 @endif binutils
41959 @if gas
41960 @if test -d $(HOST_SUBDIR)/gas ; then \
41961 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41963 @endif gas
41964 @if gcc
41965 @if test -d $(HOST_SUBDIR)/gcc ; then \
41966 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41968 @endif gcc
41969 @if intl
41970 @if test -d $(HOST_SUBDIR)/intl ; then \
41971 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41973 @endif intl
41974 @if ld
41975 @if test -d $(HOST_SUBDIR)/ld ; then \
41976 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41978 @endif ld
41979 @if libcpp
41980 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41981 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41983 @endif libcpp
41984 @if libdecnumber
41985 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41986 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41988 @endif libdecnumber
41989 @if libiberty
41990 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41991 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41993 @endif libiberty
41994 @if zlib
41995 @if test -d $(HOST_SUBDIR)/zlib ; then \
41996 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41998 @endif zlib
41999 @if test -d $(TARGET_SUBDIR) ; then \
42000 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
42002 rm -f stage_current
42004 # Bubble a bugfix through all the stages up to stage 1. They are
42005 # remade, but not reconfigured. The next stage (if any) will not be
42006 # reconfigured as well.
42007 .PHONY: stage1-bubble
42008 stage1-bubble::
42009 @r=`${PWD_COMMAND}`; export r; \
42010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42011 if test -f stage1-lean ; then \
42012 echo Skipping rebuild of stage1 ; \
42013 else \
42014 $(MAKE) stage1-start; \
42015 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
42018 .PHONY: all-stage1 clean-stage1
42019 do-clean: clean-stage1
42021 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42022 # only possibility, but now it conflicts with no-bootstrap rules
42023 @if gcc-bootstrap
42028 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42030 .PHONY: distclean-stage1
42031 distclean-stage1::
42032 @: $(MAKE); $(stage)
42033 rm -rf stage1-*
42036 @endif gcc-bootstrap
42039 .PHONY: stage2-start stage2-end
42041 stage2-start::
42042 @: $(MAKE); $(stage); \
42043 echo stage2 > stage_current ; \
42044 echo stage2 > stage_last; \
42045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42046 @if bfd
42047 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
42048 mkdir stage2-bfd; \
42049 mv stage2-bfd bfd ; \
42050 mv stage1-bfd prev-bfd || test -f stage1-lean
42051 @endif bfd
42052 @if opcodes
42053 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
42054 mkdir stage2-opcodes; \
42055 mv stage2-opcodes opcodes ; \
42056 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42057 @endif opcodes
42058 @if binutils
42059 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42060 mkdir stage2-binutils; \
42061 mv stage2-binutils binutils ; \
42062 mv stage1-binutils prev-binutils || test -f stage1-lean
42063 @endif binutils
42064 @if gas
42065 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42066 mkdir stage2-gas; \
42067 mv stage2-gas gas ; \
42068 mv stage1-gas prev-gas || test -f stage1-lean
42069 @endif gas
42070 @if gcc
42071 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42072 mkdir stage2-gcc; \
42073 mv stage2-gcc gcc ; \
42074 mv stage1-gcc prev-gcc || test -f stage1-lean
42075 @endif gcc
42076 @if intl
42077 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42078 mkdir stage2-intl; \
42079 mv stage2-intl intl ; \
42080 mv stage1-intl prev-intl || test -f stage1-lean
42081 @endif intl
42082 @if ld
42083 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42084 mkdir stage2-ld; \
42085 mv stage2-ld ld ; \
42086 mv stage1-ld prev-ld || test -f stage1-lean
42087 @endif ld
42088 @if libcpp
42089 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42090 mkdir stage2-libcpp; \
42091 mv stage2-libcpp libcpp ; \
42092 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42093 @endif libcpp
42094 @if libdecnumber
42095 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42096 mkdir stage2-libdecnumber; \
42097 mv stage2-libdecnumber libdecnumber ; \
42098 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42099 @endif libdecnumber
42100 @if libiberty
42101 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42102 mkdir stage2-libiberty; \
42103 mv stage2-libiberty libiberty ; \
42104 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42105 @endif libiberty
42106 @if zlib
42107 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42108 mkdir stage2-zlib; \
42109 mv stage2-zlib zlib ; \
42110 mv stage1-zlib prev-zlib || test -f stage1-lean
42111 @endif zlib
42112 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42113 mkdir stage2-$(TARGET_SUBDIR); \
42114 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42115 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42117 stage2-end::
42118 @if bfd
42119 @if test -d $(HOST_SUBDIR)/bfd ; then \
42120 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42121 mv prev-bfd stage1-bfd ; : ; \
42123 @endif bfd
42124 @if opcodes
42125 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42126 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42127 mv prev-opcodes stage1-opcodes ; : ; \
42129 @endif opcodes
42130 @if binutils
42131 @if test -d $(HOST_SUBDIR)/binutils ; then \
42132 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42133 mv prev-binutils stage1-binutils ; : ; \
42135 @endif binutils
42136 @if gas
42137 @if test -d $(HOST_SUBDIR)/gas ; then \
42138 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42139 mv prev-gas stage1-gas ; : ; \
42141 @endif gas
42142 @if gcc
42143 @if test -d $(HOST_SUBDIR)/gcc ; then \
42144 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42145 mv prev-gcc stage1-gcc ; : ; \
42147 @endif gcc
42148 @if intl
42149 @if test -d $(HOST_SUBDIR)/intl ; then \
42150 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42151 mv prev-intl stage1-intl ; : ; \
42153 @endif intl
42154 @if ld
42155 @if test -d $(HOST_SUBDIR)/ld ; then \
42156 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42157 mv prev-ld stage1-ld ; : ; \
42159 @endif ld
42160 @if libcpp
42161 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42162 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42163 mv prev-libcpp stage1-libcpp ; : ; \
42165 @endif libcpp
42166 @if libdecnumber
42167 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42168 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42169 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42171 @endif libdecnumber
42172 @if libiberty
42173 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42174 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42175 mv prev-libiberty stage1-libiberty ; : ; \
42177 @endif libiberty
42178 @if zlib
42179 @if test -d $(HOST_SUBDIR)/zlib ; then \
42180 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42181 mv prev-zlib stage1-zlib ; : ; \
42183 @endif zlib
42184 @if test -d $(TARGET_SUBDIR) ; then \
42185 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42186 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42188 rm -f stage_current
42190 # Bubble a bugfix through all the stages up to stage 2. They are
42191 # remade, but not reconfigured. The next stage (if any) will not be
42192 # reconfigured as well.
42193 .PHONY: stage2-bubble
42194 stage2-bubble:: stage1-bubble
42195 @r=`${PWD_COMMAND}`; export r; \
42196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42197 if test -f stage2-lean || test -f stage1-lean ; then \
42198 echo Skipping rebuild of stage2 ; \
42199 else \
42200 $(MAKE) stage2-start; \
42201 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42204 .PHONY: all-stage2 clean-stage2
42205 do-clean: clean-stage2
42207 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42208 # only possibility, but now it conflicts with no-bootstrap rules
42209 @if gcc-bootstrap
42213 .PHONY: bootstrap2 bootstrap2-lean
42214 bootstrap2:
42215 echo stage2 > stage_final
42216 @r=`${PWD_COMMAND}`; export r; \
42217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42218 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42219 @: $(MAKE); $(unstage)
42220 @r=`${PWD_COMMAND}`; export r; \
42221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42222 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42224 bootstrap2-lean:
42225 echo stage2 > stage_final
42226 @r=`${PWD_COMMAND}`; export r; \
42227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42228 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42229 @: $(MAKE); $(unstage)
42230 @r=`${PWD_COMMAND}`; export r; \
42231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42232 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42235 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42236 distclean-stage1:: distclean-stage2
42237 .PHONY: distclean-stage2
42238 distclean-stage2::
42239 @: $(MAKE); $(stage)
42240 rm -rf stage2-*
42243 @endif gcc-bootstrap
42246 .PHONY: stage3-start stage3-end
42248 stage3-start::
42249 @: $(MAKE); $(stage); \
42250 echo stage3 > stage_current ; \
42251 echo stage3 > stage_last; \
42252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42253 @if bfd
42254 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42255 mkdir stage3-bfd; \
42256 mv stage3-bfd bfd ; \
42257 mv stage2-bfd prev-bfd || test -f stage2-lean
42258 @endif bfd
42259 @if opcodes
42260 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42261 mkdir stage3-opcodes; \
42262 mv stage3-opcodes opcodes ; \
42263 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42264 @endif opcodes
42265 @if binutils
42266 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42267 mkdir stage3-binutils; \
42268 mv stage3-binutils binutils ; \
42269 mv stage2-binutils prev-binutils || test -f stage2-lean
42270 @endif binutils
42271 @if gas
42272 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42273 mkdir stage3-gas; \
42274 mv stage3-gas gas ; \
42275 mv stage2-gas prev-gas || test -f stage2-lean
42276 @endif gas
42277 @if gcc
42278 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42279 mkdir stage3-gcc; \
42280 mv stage3-gcc gcc ; \
42281 mv stage2-gcc prev-gcc || test -f stage2-lean
42282 @endif gcc
42283 @if intl
42284 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42285 mkdir stage3-intl; \
42286 mv stage3-intl intl ; \
42287 mv stage2-intl prev-intl || test -f stage2-lean
42288 @endif intl
42289 @if ld
42290 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42291 mkdir stage3-ld; \
42292 mv stage3-ld ld ; \
42293 mv stage2-ld prev-ld || test -f stage2-lean
42294 @endif ld
42295 @if libcpp
42296 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42297 mkdir stage3-libcpp; \
42298 mv stage3-libcpp libcpp ; \
42299 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42300 @endif libcpp
42301 @if libdecnumber
42302 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42303 mkdir stage3-libdecnumber; \
42304 mv stage3-libdecnumber libdecnumber ; \
42305 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42306 @endif libdecnumber
42307 @if libiberty
42308 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42309 mkdir stage3-libiberty; \
42310 mv stage3-libiberty libiberty ; \
42311 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42312 @endif libiberty
42313 @if zlib
42314 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42315 mkdir stage3-zlib; \
42316 mv stage3-zlib zlib ; \
42317 mv stage2-zlib prev-zlib || test -f stage2-lean
42318 @endif zlib
42319 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42320 mkdir stage3-$(TARGET_SUBDIR); \
42321 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42322 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42324 stage3-end::
42325 @if bfd
42326 @if test -d $(HOST_SUBDIR)/bfd ; then \
42327 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42328 mv prev-bfd stage2-bfd ; : ; \
42330 @endif bfd
42331 @if opcodes
42332 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42333 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42334 mv prev-opcodes stage2-opcodes ; : ; \
42336 @endif opcodes
42337 @if binutils
42338 @if test -d $(HOST_SUBDIR)/binutils ; then \
42339 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42340 mv prev-binutils stage2-binutils ; : ; \
42342 @endif binutils
42343 @if gas
42344 @if test -d $(HOST_SUBDIR)/gas ; then \
42345 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42346 mv prev-gas stage2-gas ; : ; \
42348 @endif gas
42349 @if gcc
42350 @if test -d $(HOST_SUBDIR)/gcc ; then \
42351 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42352 mv prev-gcc stage2-gcc ; : ; \
42354 @endif gcc
42355 @if intl
42356 @if test -d $(HOST_SUBDIR)/intl ; then \
42357 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42358 mv prev-intl stage2-intl ; : ; \
42360 @endif intl
42361 @if ld
42362 @if test -d $(HOST_SUBDIR)/ld ; then \
42363 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42364 mv prev-ld stage2-ld ; : ; \
42366 @endif ld
42367 @if libcpp
42368 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42369 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42370 mv prev-libcpp stage2-libcpp ; : ; \
42372 @endif libcpp
42373 @if libdecnumber
42374 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42375 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42376 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42378 @endif libdecnumber
42379 @if libiberty
42380 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42381 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42382 mv prev-libiberty stage2-libiberty ; : ; \
42384 @endif libiberty
42385 @if zlib
42386 @if test -d $(HOST_SUBDIR)/zlib ; then \
42387 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42388 mv prev-zlib stage2-zlib ; : ; \
42390 @endif zlib
42391 @if test -d $(TARGET_SUBDIR) ; then \
42392 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42393 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42395 rm -f stage_current
42397 # Bubble a bugfix through all the stages up to stage 3. They are
42398 # remade, but not reconfigured. The next stage (if any) will not be
42399 # reconfigured as well.
42400 .PHONY: stage3-bubble
42401 stage3-bubble:: stage2-bubble
42402 @r=`${PWD_COMMAND}`; export r; \
42403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42404 if test -f stage3-lean || test -f stage2-lean ; then \
42405 echo Skipping rebuild of stage3 ; \
42406 else \
42407 $(MAKE) stage3-start; \
42408 if $(LEAN); then \
42409 rm -rf stage1-* ; \
42410 $(STAMP) stage1-lean ; \
42411 fi; \
42412 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42414 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42416 .PHONY: all-stage3 clean-stage3
42417 do-clean: clean-stage3
42419 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42420 # only possibility, but now it conflicts with no-bootstrap rules
42421 @if gcc-bootstrap
42423 compare:
42424 @r=`${PWD_COMMAND}`; export r; \
42425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42426 if test -f stage2-lean; then \
42427 echo Cannot compare object files as stage 2 was deleted. ; \
42428 exit 0 ; \
42429 fi; \
42430 : $(MAKE); $(stage); \
42431 rm -f .bad_compare ; \
42432 echo Comparing stages 2 and 3 ; \
42433 cd stage3-gcc; \
42434 files=`find . -name "*$(objext)" -print` ; \
42435 cd .. ; \
42436 for file in $${files} ; do \
42437 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
42438 @do_compare@ > /dev/null 2>&1; \
42439 if test $$? -eq 1; then \
42440 case $$file in \
42441 ./cc*-checksum$(objext) | ./libgcc/* ) \
42442 echo warning: $$file differs ;; \
42443 *) \
42444 echo $$file differs >> .bad_compare ;; \
42445 esac ; \
42446 fi ; \
42447 done ; \
42448 if [ -f .bad_compare ]; then \
42449 echo "Bootstrap comparison failure!"; \
42450 cat .bad_compare; \
42451 exit 1; \
42452 else \
42453 echo Comparison successful.; \
42454 fi ; \
42455 $(STAMP) compare
42456 if $(LEAN); then \
42457 rm -rf stage2-*; \
42458 $(STAMP) stage2-lean; \
42463 .PHONY: bootstrap bootstrap-lean
42464 bootstrap:
42465 echo stage3 > stage_final
42466 @r=`${PWD_COMMAND}`; export r; \
42467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42468 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42469 @: $(MAKE); $(unstage)
42470 @r=`${PWD_COMMAND}`; export r; \
42471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42472 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42474 bootstrap-lean:
42475 echo stage3 > stage_final
42476 @r=`${PWD_COMMAND}`; export r; \
42477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42479 @: $(MAKE); $(unstage)
42480 @r=`${PWD_COMMAND}`; export r; \
42481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42482 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42485 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42486 distclean-stage2:: distclean-stage3
42487 .PHONY: distclean-stage3
42488 distclean-stage3::
42489 @: $(MAKE); $(stage)
42490 rm -rf stage3-* compare
42493 .PHONY: cleanstrap
42494 cleanstrap: distclean bootstrap
42496 @endif gcc-bootstrap
42499 .PHONY: stage4-start stage4-end
42501 stage4-start::
42502 @: $(MAKE); $(stage); \
42503 echo stage4 > stage_current ; \
42504 echo stage4 > stage_last; \
42505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42506 @if bfd
42507 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42508 mkdir stage4-bfd; \
42509 mv stage4-bfd bfd ; \
42510 mv stage3-bfd prev-bfd || test -f stage3-lean
42511 @endif bfd
42512 @if opcodes
42513 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42514 mkdir stage4-opcodes; \
42515 mv stage4-opcodes opcodes ; \
42516 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42517 @endif opcodes
42518 @if binutils
42519 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42520 mkdir stage4-binutils; \
42521 mv stage4-binutils binutils ; \
42522 mv stage3-binutils prev-binutils || test -f stage3-lean
42523 @endif binutils
42524 @if gas
42525 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42526 mkdir stage4-gas; \
42527 mv stage4-gas gas ; \
42528 mv stage3-gas prev-gas || test -f stage3-lean
42529 @endif gas
42530 @if gcc
42531 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42532 mkdir stage4-gcc; \
42533 mv stage4-gcc gcc ; \
42534 mv stage3-gcc prev-gcc || test -f stage3-lean
42535 @endif gcc
42536 @if intl
42537 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42538 mkdir stage4-intl; \
42539 mv stage4-intl intl ; \
42540 mv stage3-intl prev-intl || test -f stage3-lean
42541 @endif intl
42542 @if ld
42543 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42544 mkdir stage4-ld; \
42545 mv stage4-ld ld ; \
42546 mv stage3-ld prev-ld || test -f stage3-lean
42547 @endif ld
42548 @if libcpp
42549 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42550 mkdir stage4-libcpp; \
42551 mv stage4-libcpp libcpp ; \
42552 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42553 @endif libcpp
42554 @if libdecnumber
42555 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42556 mkdir stage4-libdecnumber; \
42557 mv stage4-libdecnumber libdecnumber ; \
42558 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42559 @endif libdecnumber
42560 @if libiberty
42561 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42562 mkdir stage4-libiberty; \
42563 mv stage4-libiberty libiberty ; \
42564 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42565 @endif libiberty
42566 @if zlib
42567 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42568 mkdir stage4-zlib; \
42569 mv stage4-zlib zlib ; \
42570 mv stage3-zlib prev-zlib || test -f stage3-lean
42571 @endif zlib
42572 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42573 mkdir stage4-$(TARGET_SUBDIR); \
42574 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42575 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42577 stage4-end::
42578 @if bfd
42579 @if test -d $(HOST_SUBDIR)/bfd ; then \
42580 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42581 mv prev-bfd stage3-bfd ; : ; \
42583 @endif bfd
42584 @if opcodes
42585 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42586 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42587 mv prev-opcodes stage3-opcodes ; : ; \
42589 @endif opcodes
42590 @if binutils
42591 @if test -d $(HOST_SUBDIR)/binutils ; then \
42592 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42593 mv prev-binutils stage3-binutils ; : ; \
42595 @endif binutils
42596 @if gas
42597 @if test -d $(HOST_SUBDIR)/gas ; then \
42598 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42599 mv prev-gas stage3-gas ; : ; \
42601 @endif gas
42602 @if gcc
42603 @if test -d $(HOST_SUBDIR)/gcc ; then \
42604 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42605 mv prev-gcc stage3-gcc ; : ; \
42607 @endif gcc
42608 @if intl
42609 @if test -d $(HOST_SUBDIR)/intl ; then \
42610 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42611 mv prev-intl stage3-intl ; : ; \
42613 @endif intl
42614 @if ld
42615 @if test -d $(HOST_SUBDIR)/ld ; then \
42616 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42617 mv prev-ld stage3-ld ; : ; \
42619 @endif ld
42620 @if libcpp
42621 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42622 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42623 mv prev-libcpp stage3-libcpp ; : ; \
42625 @endif libcpp
42626 @if libdecnumber
42627 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42628 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42629 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42631 @endif libdecnumber
42632 @if libiberty
42633 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42634 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42635 mv prev-libiberty stage3-libiberty ; : ; \
42637 @endif libiberty
42638 @if zlib
42639 @if test -d $(HOST_SUBDIR)/zlib ; then \
42640 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42641 mv prev-zlib stage3-zlib ; : ; \
42643 @endif zlib
42644 @if test -d $(TARGET_SUBDIR) ; then \
42645 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42646 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42648 rm -f stage_current
42650 # Bubble a bugfix through all the stages up to stage 4. They are
42651 # remade, but not reconfigured. The next stage (if any) will not be
42652 # reconfigured as well.
42653 .PHONY: stage4-bubble
42654 stage4-bubble:: stage3-bubble
42655 @r=`${PWD_COMMAND}`; export r; \
42656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42657 if test -f stage4-lean || test -f stage3-lean ; then \
42658 echo Skipping rebuild of stage4 ; \
42659 else \
42660 $(MAKE) stage4-start; \
42661 if $(LEAN); then \
42662 rm -rf stage2-* ; \
42663 $(STAMP) stage2-lean ; \
42664 fi; \
42665 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42667 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42669 .PHONY: all-stage4 clean-stage4
42670 do-clean: clean-stage4
42672 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42673 # only possibility, but now it conflicts with no-bootstrap rules
42674 @if gcc-bootstrap
42676 compare3:
42677 @r=`${PWD_COMMAND}`; export r; \
42678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42679 if test -f stage3-lean; then \
42680 echo Cannot compare object files as stage 3 was deleted. ; \
42681 exit 0 ; \
42682 fi; \
42683 : $(MAKE); $(stage); \
42684 rm -f .bad_compare ; \
42685 echo Comparing stages 3 and 4 ; \
42686 cd stage4-gcc; \
42687 files=`find . -name "*$(objext)" -print` ; \
42688 cd .. ; \
42689 for file in $${files} ; do \
42690 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
42691 @do_compare@ > /dev/null 2>&1; \
42692 if test $$? -eq 1; then \
42693 case $$file in \
42694 ./cc*-checksum$(objext) | ./libgcc/* ) \
42695 echo warning: $$file differs ;; \
42696 *) \
42697 echo $$file differs >> .bad_compare ;; \
42698 esac ; \
42699 fi ; \
42700 done ; \
42701 if [ -f .bad_compare ]; then \
42702 echo "Bootstrap comparison failure!"; \
42703 cat .bad_compare; \
42704 exit 1; \
42705 else \
42706 echo Comparison successful.; \
42707 fi ; \
42708 $(STAMP) compare3
42709 if $(LEAN); then \
42710 rm -rf stage3-*; \
42711 $(STAMP) stage3-lean; \
42716 .PHONY: bootstrap4 bootstrap4-lean
42717 bootstrap4:
42718 echo stage4 > stage_final
42719 @r=`${PWD_COMMAND}`; export r; \
42720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42721 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42722 @: $(MAKE); $(unstage)
42723 @r=`${PWD_COMMAND}`; export r; \
42724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42725 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42727 bootstrap4-lean:
42728 echo stage4 > stage_final
42729 @r=`${PWD_COMMAND}`; export r; \
42730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42731 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42732 @: $(MAKE); $(unstage)
42733 @r=`${PWD_COMMAND}`; export r; \
42734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42735 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42738 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42739 distclean-stage3:: distclean-stage4
42740 .PHONY: distclean-stage4
42741 distclean-stage4::
42742 @: $(MAKE); $(stage)
42743 rm -rf stage4-* compare3
42746 @endif gcc-bootstrap
42749 .PHONY: stageprofile-start stageprofile-end
42751 stageprofile-start::
42752 @: $(MAKE); $(stage); \
42753 echo stageprofile > stage_current ; \
42754 echo stageprofile > stage_last; \
42755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42756 @if bfd
42757 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42758 mkdir stageprofile-bfd; \
42759 mv stageprofile-bfd bfd ; \
42760 mv stage1-bfd prev-bfd || test -f stage1-lean
42761 @endif bfd
42762 @if opcodes
42763 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42764 mkdir stageprofile-opcodes; \
42765 mv stageprofile-opcodes opcodes ; \
42766 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42767 @endif opcodes
42768 @if binutils
42769 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42770 mkdir stageprofile-binutils; \
42771 mv stageprofile-binutils binutils ; \
42772 mv stage1-binutils prev-binutils || test -f stage1-lean
42773 @endif binutils
42774 @if gas
42775 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42776 mkdir stageprofile-gas; \
42777 mv stageprofile-gas gas ; \
42778 mv stage1-gas prev-gas || test -f stage1-lean
42779 @endif gas
42780 @if gcc
42781 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42782 mkdir stageprofile-gcc; \
42783 mv stageprofile-gcc gcc ; \
42784 mv stage1-gcc prev-gcc || test -f stage1-lean
42785 @endif gcc
42786 @if intl
42787 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42788 mkdir stageprofile-intl; \
42789 mv stageprofile-intl intl ; \
42790 mv stage1-intl prev-intl || test -f stage1-lean
42791 @endif intl
42792 @if ld
42793 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42794 mkdir stageprofile-ld; \
42795 mv stageprofile-ld ld ; \
42796 mv stage1-ld prev-ld || test -f stage1-lean
42797 @endif ld
42798 @if libcpp
42799 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42800 mkdir stageprofile-libcpp; \
42801 mv stageprofile-libcpp libcpp ; \
42802 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42803 @endif libcpp
42804 @if libdecnumber
42805 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42806 mkdir stageprofile-libdecnumber; \
42807 mv stageprofile-libdecnumber libdecnumber ; \
42808 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42809 @endif libdecnumber
42810 @if libiberty
42811 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42812 mkdir stageprofile-libiberty; \
42813 mv stageprofile-libiberty libiberty ; \
42814 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42815 @endif libiberty
42816 @if zlib
42817 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42818 mkdir stageprofile-zlib; \
42819 mv stageprofile-zlib zlib ; \
42820 mv stage1-zlib prev-zlib || test -f stage1-lean
42821 @endif zlib
42822 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42823 mkdir stageprofile-$(TARGET_SUBDIR); \
42824 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42825 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42827 stageprofile-end::
42828 @if bfd
42829 @if test -d $(HOST_SUBDIR)/bfd ; then \
42830 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42831 mv prev-bfd stage1-bfd ; : ; \
42833 @endif bfd
42834 @if opcodes
42835 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42836 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42837 mv prev-opcodes stage1-opcodes ; : ; \
42839 @endif opcodes
42840 @if binutils
42841 @if test -d $(HOST_SUBDIR)/binutils ; then \
42842 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42843 mv prev-binutils stage1-binutils ; : ; \
42845 @endif binutils
42846 @if gas
42847 @if test -d $(HOST_SUBDIR)/gas ; then \
42848 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42849 mv prev-gas stage1-gas ; : ; \
42851 @endif gas
42852 @if gcc
42853 @if test -d $(HOST_SUBDIR)/gcc ; then \
42854 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42855 mv prev-gcc stage1-gcc ; : ; \
42857 @endif gcc
42858 @if intl
42859 @if test -d $(HOST_SUBDIR)/intl ; then \
42860 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42861 mv prev-intl stage1-intl ; : ; \
42863 @endif intl
42864 @if ld
42865 @if test -d $(HOST_SUBDIR)/ld ; then \
42866 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42867 mv prev-ld stage1-ld ; : ; \
42869 @endif ld
42870 @if libcpp
42871 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42872 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42873 mv prev-libcpp stage1-libcpp ; : ; \
42875 @endif libcpp
42876 @if libdecnumber
42877 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42878 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42879 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42881 @endif libdecnumber
42882 @if libiberty
42883 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42884 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42885 mv prev-libiberty stage1-libiberty ; : ; \
42887 @endif libiberty
42888 @if zlib
42889 @if test -d $(HOST_SUBDIR)/zlib ; then \
42890 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42891 mv prev-zlib stage1-zlib ; : ; \
42893 @endif zlib
42894 @if test -d $(TARGET_SUBDIR) ; then \
42895 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42896 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42898 rm -f stage_current
42900 # Bubble a bugfix through all the stages up to stage profile. They are
42901 # remade, but not reconfigured. The next stage (if any) will not be
42902 # reconfigured as well.
42903 .PHONY: stageprofile-bubble
42904 stageprofile-bubble:: stage1-bubble
42905 @r=`${PWD_COMMAND}`; export r; \
42906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42907 if test -f stageprofile-lean || test -f stage1-lean ; then \
42908 echo Skipping rebuild of stageprofile ; \
42909 else \
42910 $(MAKE) stageprofile-start; \
42911 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42914 .PHONY: all-stageprofile clean-stageprofile
42915 do-clean: clean-stageprofile
42917 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42918 # only possibility, but now it conflicts with no-bootstrap rules
42919 @if gcc-bootstrap
42924 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42925 distclean-stage1:: distclean-stageprofile
42926 .PHONY: distclean-stageprofile
42927 distclean-stageprofile::
42928 @: $(MAKE); $(stage)
42929 rm -rf stageprofile-*
42932 @endif gcc-bootstrap
42935 .PHONY: stagefeedback-start stagefeedback-end
42937 stagefeedback-start::
42938 @: $(MAKE); $(stage); \
42939 echo stagefeedback > stage_current ; \
42940 echo stagefeedback > stage_last; \
42941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42942 @if bfd
42943 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42944 mkdir stagefeedback-bfd; \
42945 mv stagefeedback-bfd bfd ; \
42946 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42947 @endif bfd
42948 @if opcodes
42949 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42950 mkdir stagefeedback-opcodes; \
42951 mv stagefeedback-opcodes opcodes ; \
42952 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42953 @endif opcodes
42954 @if binutils
42955 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42956 mkdir stagefeedback-binutils; \
42957 mv stagefeedback-binutils binutils ; \
42958 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42959 @endif binutils
42960 @if gas
42961 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42962 mkdir stagefeedback-gas; \
42963 mv stagefeedback-gas gas ; \
42964 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42965 @endif gas
42966 @if gcc
42967 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42968 mkdir stagefeedback-gcc; \
42969 mv stagefeedback-gcc gcc ; \
42970 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42971 @endif gcc
42972 @if intl
42973 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42974 mkdir stagefeedback-intl; \
42975 mv stagefeedback-intl intl ; \
42976 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42977 @endif intl
42978 @if ld
42979 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42980 mkdir stagefeedback-ld; \
42981 mv stagefeedback-ld ld ; \
42982 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42983 @endif ld
42984 @if libcpp
42985 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42986 mkdir stagefeedback-libcpp; \
42987 mv stagefeedback-libcpp libcpp ; \
42988 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42989 @endif libcpp
42990 @if libdecnumber
42991 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42992 mkdir stagefeedback-libdecnumber; \
42993 mv stagefeedback-libdecnumber libdecnumber ; \
42994 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42995 @endif libdecnumber
42996 @if libiberty
42997 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42998 mkdir stagefeedback-libiberty; \
42999 mv stagefeedback-libiberty libiberty ; \
43000 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
43001 @endif libiberty
43002 @if zlib
43003 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
43004 mkdir stagefeedback-zlib; \
43005 mv stagefeedback-zlib zlib ; \
43006 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
43007 @endif zlib
43008 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
43009 mkdir stagefeedback-$(TARGET_SUBDIR); \
43010 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43011 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
43013 stagefeedback-end::
43014 @if bfd
43015 @if test -d $(HOST_SUBDIR)/bfd ; then \
43016 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
43017 mv prev-bfd stageprofile-bfd ; : ; \
43019 @endif bfd
43020 @if opcodes
43021 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43022 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
43023 mv prev-opcodes stageprofile-opcodes ; : ; \
43025 @endif opcodes
43026 @if binutils
43027 @if test -d $(HOST_SUBDIR)/binutils ; then \
43028 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
43029 mv prev-binutils stageprofile-binutils ; : ; \
43031 @endif binutils
43032 @if gas
43033 @if test -d $(HOST_SUBDIR)/gas ; then \
43034 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
43035 mv prev-gas stageprofile-gas ; : ; \
43037 @endif gas
43038 @if gcc
43039 @if test -d $(HOST_SUBDIR)/gcc ; then \
43040 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
43041 mv prev-gcc stageprofile-gcc ; : ; \
43043 @endif gcc
43044 @if intl
43045 @if test -d $(HOST_SUBDIR)/intl ; then \
43046 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43047 mv prev-intl stageprofile-intl ; : ; \
43049 @endif intl
43050 @if ld
43051 @if test -d $(HOST_SUBDIR)/ld ; then \
43052 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43053 mv prev-ld stageprofile-ld ; : ; \
43055 @endif ld
43056 @if libcpp
43057 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43058 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43059 mv prev-libcpp stageprofile-libcpp ; : ; \
43061 @endif libcpp
43062 @if libdecnumber
43063 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43064 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43065 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43067 @endif libdecnumber
43068 @if libiberty
43069 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43070 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43071 mv prev-libiberty stageprofile-libiberty ; : ; \
43073 @endif libiberty
43074 @if zlib
43075 @if test -d $(HOST_SUBDIR)/zlib ; then \
43076 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43077 mv prev-zlib stageprofile-zlib ; : ; \
43079 @endif zlib
43080 @if test -d $(TARGET_SUBDIR) ; then \
43081 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43082 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43084 rm -f stage_current
43086 # Bubble a bugfix through all the stages up to stage feedback. They are
43087 # remade, but not reconfigured. The next stage (if any) will not be
43088 # reconfigured as well.
43089 .PHONY: stagefeedback-bubble
43090 stagefeedback-bubble:: stageprofile-bubble
43091 @r=`${PWD_COMMAND}`; export r; \
43092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43093 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43094 echo Skipping rebuild of stagefeedback ; \
43095 else \
43096 $(MAKE) stagefeedback-start; \
43097 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43100 .PHONY: all-stagefeedback clean-stagefeedback
43101 do-clean: clean-stagefeedback
43103 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43104 # only possibility, but now it conflicts with no-bootstrap rules
43105 @if gcc-bootstrap
43109 .PHONY: profiledbootstrap profiledbootstrap-lean
43110 profiledbootstrap:
43111 echo stagefeedback > stage_final
43112 @r=`${PWD_COMMAND}`; export r; \
43113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43115 @: $(MAKE); $(unstage)
43116 @r=`${PWD_COMMAND}`; export r; \
43117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43118 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43120 profiledbootstrap-lean:
43121 echo stagefeedback > stage_final
43122 @r=`${PWD_COMMAND}`; export r; \
43123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43125 @: $(MAKE); $(unstage)
43126 @r=`${PWD_COMMAND}`; export r; \
43127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43128 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43131 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43132 distclean-stageprofile:: distclean-stagefeedback
43133 .PHONY: distclean-stagefeedback
43134 distclean-stagefeedback::
43135 @: $(MAKE); $(stage)
43136 rm -rf stagefeedback-*
43139 @endif gcc-bootstrap
43143 stageprofile-end::
43144 $(MAKE) distclean-stagefeedback
43146 stagefeedback-start::
43147 @r=`${PWD_COMMAND}`; export r; \
43148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43149 for i in prev-*; do \
43150 j=`echo $$i | sed s/^prev-//` ; \
43151 cd $$r/$$i && \
43152 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43153 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43154 done
43156 @if gcc-bootstrap
43157 do-distclean: distclean-stage1
43159 # Provide a GCC build when we're building target libraries. This does
43160 # not work as a dependency, just as the minimum necessary to avoid errors.
43161 stage_last:
43162 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43164 # Same as unstage, but not phony and defaulting to stage1-start. We place
43165 # it in the dependency so that for example `make -j3 all-gcc' works.
43166 stage_current:
43167 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43169 .PHONY: restrap
43170 restrap:
43171 @: $(MAKE); $(stage)
43172 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43173 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
43174 @endif gcc-bootstrap
43176 # --------------------------------------
43177 # Dependencies between different modules
43178 # --------------------------------------
43180 # Generic dependencies for target modules on host stuff, especially gcc
43181 @if gcc-bootstrap
43182 configure-target-libstdc++-v3: stage_last
43183 configure-target-libmudflap: stage_last
43184 configure-target-libssp: stage_last
43185 configure-target-newlib: stage_last
43186 configure-target-libgfortran: stage_last
43187 configure-target-libobjc: stage_last
43188 configure-target-libtermcap: stage_last
43189 configure-target-winsup: stage_last
43190 configure-target-libgloss: stage_last
43191 configure-target-libiberty: stage_last
43192 configure-target-gperf: stage_last
43193 configure-target-examples: stage_last
43194 configure-target-libffi: stage_last
43195 configure-target-libjava: stage_last
43196 configure-target-zlib: stage_last
43197 configure-target-boehm-gc: stage_last
43198 configure-target-qthreads: stage_last
43199 configure-target-rda: stage_last
43200 configure-target-libada: stage_last
43201 configure-target-libgomp: stage_last
43202 @endif gcc-bootstrap
43204 @if gcc-no-bootstrap
43205 configure-target-libstdc++-v3: maybe-all-gcc
43206 configure-target-libmudflap: maybe-all-gcc
43207 configure-target-libssp: maybe-all-gcc
43208 configure-target-newlib: maybe-all-gcc
43209 configure-target-libgfortran: maybe-all-gcc
43210 configure-target-libobjc: maybe-all-gcc
43211 configure-target-libtermcap: maybe-all-gcc
43212 configure-target-winsup: maybe-all-gcc
43213 configure-target-libgloss: maybe-all-gcc
43214 configure-target-libiberty: maybe-all-gcc
43215 configure-target-gperf: maybe-all-gcc
43216 configure-target-examples: maybe-all-gcc
43217 configure-target-libffi: maybe-all-gcc
43218 configure-target-libjava: maybe-all-gcc
43219 configure-target-zlib: maybe-all-gcc
43220 configure-target-boehm-gc: maybe-all-gcc
43221 configure-target-qthreads: maybe-all-gcc
43222 configure-target-rda: maybe-all-gcc
43223 configure-target-libada: maybe-all-gcc
43224 configure-target-libgomp: maybe-all-gcc
43225 @endif gcc-no-bootstrap
43229 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43231 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
43232 configure-target-gperf: maybe-all-target-libstdc++-v3
43234 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43236 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43238 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43240 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43241 configure-target-libjava: maybe-all-target-libstdc++-v3
43243 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43245 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43247 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43249 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43251 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43253 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
43255 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43257 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43259 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43261 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
43264 # There are two types of dependencies here: 'hard' dependencies, where one
43265 # module simply won't build without the other; and 'soft' dependencies, where
43266 # if the depended-on module is missing, the depending module will do without
43267 # or find a substitute somewhere (perhaps installed). Soft dependencies
43268 # are made here to depend on a 'maybe-' target. If you're not sure,
43269 # it's safer to use a soft dependency.
43276 # With all the machinery above in place, it is pretty easy to generate
43277 # dependencies. Host dependencies are a bit more complex because we have
43278 # to check for bootstrap/prebootstrap dependencies. To resolve
43279 # prebootstrap dependencies, prebootstrap modules are gathered in
43280 # a hash table.
43281 all-build-bison: maybe-all-build-texinfo
43282 all-build-byacc: maybe-all-build-texinfo
43283 all-build-flex: maybe-all-build-texinfo
43284 all-build-flex: maybe-all-build-bison
43285 all-build-flex: maybe-all-build-byacc
43286 all-build-flex: maybe-all-build-m4
43287 all-build-libiberty: maybe-all-build-texinfo
43288 all-build-m4: maybe-all-build-texinfo
43289 all-build-fixincludes: maybe-all-build-libiberty
43290 configure-gcc: maybe-configure-intl
43292 configure-stage1-gcc: maybe-configure-stage1-intl
43293 configure-stage2-gcc: maybe-configure-stage2-intl
43294 configure-stage3-gcc: maybe-configure-stage3-intl
43295 configure-stage4-gcc: maybe-configure-stage4-intl
43296 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43297 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43298 configure-gcc: maybe-all-binutils
43300 configure-stage1-gcc: maybe-all-stage1-binutils
43301 configure-stage2-gcc: maybe-all-stage2-binutils
43302 configure-stage3-gcc: maybe-all-stage3-binutils
43303 configure-stage4-gcc: maybe-all-stage4-binutils
43304 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43305 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43306 configure-gcc: maybe-all-gas
43308 configure-stage1-gcc: maybe-all-stage1-gas
43309 configure-stage2-gcc: maybe-all-stage2-gas
43310 configure-stage3-gcc: maybe-all-stage3-gas
43311 configure-stage4-gcc: maybe-all-stage4-gas
43312 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43313 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43314 configure-gcc: maybe-all-ld
43316 configure-stage1-gcc: maybe-all-stage1-ld
43317 configure-stage2-gcc: maybe-all-stage2-ld
43318 configure-stage3-gcc: maybe-all-stage3-ld
43319 configure-stage4-gcc: maybe-all-stage4-ld
43320 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43321 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43322 all-gcc: all-libiberty
43324 all-stage1-gcc: all-stage1-libiberty
43325 all-stage2-gcc: all-stage2-libiberty
43326 all-stage3-gcc: all-stage3-libiberty
43327 all-stage4-gcc: all-stage4-libiberty
43328 all-stageprofile-gcc: all-stageprofile-libiberty
43329 all-stagefeedback-gcc: all-stagefeedback-libiberty
43330 all-gcc: maybe-all-intl
43332 all-stage1-gcc: maybe-all-stage1-intl
43333 all-stage2-gcc: maybe-all-stage2-intl
43334 all-stage3-gcc: maybe-all-stage3-intl
43335 all-stage4-gcc: maybe-all-stage4-intl
43336 all-stageprofile-gcc: maybe-all-stageprofile-intl
43337 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43338 all-gcc: maybe-all-build-texinfo
43340 all-stage1-gcc: maybe-all-build-texinfo
43341 all-stage2-gcc: maybe-all-build-texinfo
43342 all-stage3-gcc: maybe-all-build-texinfo
43343 all-stage4-gcc: maybe-all-build-texinfo
43344 all-stageprofile-gcc: maybe-all-build-texinfo
43345 all-stagefeedback-gcc: maybe-all-build-texinfo
43346 all-prebootstrap: maybe-all-build-texinfo
43347 all-gcc: maybe-all-build-bison
43349 all-stage1-gcc: maybe-all-build-bison
43350 all-stage2-gcc: maybe-all-build-bison
43351 all-stage3-gcc: maybe-all-build-bison
43352 all-stage4-gcc: maybe-all-build-bison
43353 all-stageprofile-gcc: maybe-all-build-bison
43354 all-stagefeedback-gcc: maybe-all-build-bison
43355 all-prebootstrap: maybe-all-build-bison
43356 all-gcc: maybe-all-build-byacc
43358 all-stage1-gcc: maybe-all-build-byacc
43359 all-stage2-gcc: maybe-all-build-byacc
43360 all-stage3-gcc: maybe-all-build-byacc
43361 all-stage4-gcc: maybe-all-build-byacc
43362 all-stageprofile-gcc: maybe-all-build-byacc
43363 all-stagefeedback-gcc: maybe-all-build-byacc
43364 all-prebootstrap: maybe-all-build-byacc
43365 all-gcc: maybe-all-build-flex
43367 all-stage1-gcc: maybe-all-build-flex
43368 all-stage2-gcc: maybe-all-build-flex
43369 all-stage3-gcc: maybe-all-build-flex
43370 all-stage4-gcc: maybe-all-build-flex
43371 all-stageprofile-gcc: maybe-all-build-flex
43372 all-stagefeedback-gcc: maybe-all-build-flex
43373 all-prebootstrap: maybe-all-build-flex
43374 all-gcc: maybe-all-build-libiberty
43376 all-stage1-gcc: maybe-all-build-libiberty
43377 all-stage2-gcc: maybe-all-build-libiberty
43378 all-stage3-gcc: maybe-all-build-libiberty
43379 all-stage4-gcc: maybe-all-build-libiberty
43380 all-stageprofile-gcc: maybe-all-build-libiberty
43381 all-stagefeedback-gcc: maybe-all-build-libiberty
43382 all-prebootstrap: maybe-all-build-libiberty
43383 all-gcc: maybe-all-build-fixincludes
43385 all-stage1-gcc: maybe-all-build-fixincludes
43386 all-stage2-gcc: maybe-all-build-fixincludes
43387 all-stage3-gcc: maybe-all-build-fixincludes
43388 all-stage4-gcc: maybe-all-build-fixincludes
43389 all-stageprofile-gcc: maybe-all-build-fixincludes
43390 all-stagefeedback-gcc: maybe-all-build-fixincludes
43391 all-prebootstrap: maybe-all-build-fixincludes
43392 all-gcc: maybe-all-zlib
43394 all-stage1-gcc: maybe-all-stage1-zlib
43395 all-stage2-gcc: maybe-all-stage2-zlib
43396 all-stage3-gcc: maybe-all-stage3-zlib
43397 all-stage4-gcc: maybe-all-stage4-zlib
43398 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43399 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43400 all-gcc: all-libcpp
43402 all-stage1-gcc: all-stage1-libcpp
43403 all-stage2-gcc: all-stage2-libcpp
43404 all-stage3-gcc: all-stage3-libcpp
43405 all-stage4-gcc: all-stage4-libcpp
43406 all-stageprofile-gcc: all-stageprofile-libcpp
43407 all-stagefeedback-gcc: all-stagefeedback-libcpp
43408 all-gcc: all-libdecnumber
43410 all-stage1-gcc: all-stage1-libdecnumber
43411 all-stage2-gcc: all-stage2-libdecnumber
43412 all-stage3-gcc: all-stage3-libdecnumber
43413 all-stage4-gcc: all-stage4-libdecnumber
43414 all-stageprofile-gcc: all-stageprofile-libdecnumber
43415 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43416 all-gcc: maybe-all-libiberty
43418 all-stage1-gcc: maybe-all-stage1-libiberty
43419 all-stage2-gcc: maybe-all-stage2-libiberty
43420 all-stage3-gcc: maybe-all-stage3-libiberty
43421 all-stage4-gcc: maybe-all-stage4-libiberty
43422 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43423 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43424 all-gcc: maybe-all-fixincludes
43425 install-gcc: maybe-install-fixincludes
43426 configure-libcpp: configure-libiberty
43428 configure-stage1-libcpp: configure-stage1-libiberty
43429 configure-stage2-libcpp: configure-stage2-libiberty
43430 configure-stage3-libcpp: configure-stage3-libiberty
43431 configure-stage4-libcpp: configure-stage4-libiberty
43432 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43433 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43434 configure-libcpp: maybe-configure-intl
43436 configure-stage1-libcpp: maybe-configure-stage1-intl
43437 configure-stage2-libcpp: maybe-configure-stage2-intl
43438 configure-stage3-libcpp: maybe-configure-stage3-intl
43439 configure-stage4-libcpp: maybe-configure-stage4-intl
43440 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43441 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43442 all-libcpp: all-libiberty
43444 all-stage1-libcpp: all-stage1-libiberty
43445 all-stage2-libcpp: all-stage2-libiberty
43446 all-stage3-libcpp: all-stage3-libiberty
43447 all-stage4-libcpp: all-stage4-libiberty
43448 all-stageprofile-libcpp: all-stageprofile-libiberty
43449 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43450 all-libcpp: maybe-all-intl
43452 all-stage1-libcpp: maybe-all-stage1-intl
43453 all-stage2-libcpp: maybe-all-stage2-intl
43454 all-stage3-libcpp: maybe-all-stage3-intl
43455 all-stage4-libcpp: maybe-all-stage4-intl
43456 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43457 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43458 all-fixincludes: maybe-all-libiberty
43459 all-gnattools: maybe-all-target-libada
43460 configure-gdb: maybe-configure-intl
43461 configure-gdb: maybe-configure-sim
43462 all-gdb: maybe-all-intl
43463 all-gdb: maybe-all-libiberty
43464 all-gdb: maybe-all-opcodes
43465 all-gdb: maybe-all-bfd
43466 all-gdb: maybe-all-readline
43467 all-gdb: maybe-all-build-bison
43468 all-gdb: maybe-all-build-byacc
43469 all-gdb: maybe-all-sim
43470 configure-libgui: maybe-configure-tcl
43471 configure-libgui: maybe-configure-tk
43472 all-libgui: maybe-all-tcl
43473 all-libgui: maybe-all-tk
43474 all-libgui: maybe-all-itcl
43475 configure-bfd: configure-libiberty
43477 configure-stage1-bfd: configure-stage1-libiberty
43478 configure-stage2-bfd: configure-stage2-libiberty
43479 configure-stage3-bfd: configure-stage3-libiberty
43480 configure-stage4-bfd: configure-stage4-libiberty
43481 configure-stageprofile-bfd: configure-stageprofile-libiberty
43482 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43483 configure-bfd: maybe-configure-intl
43485 configure-stage1-bfd: maybe-configure-stage1-intl
43486 configure-stage2-bfd: maybe-configure-stage2-intl
43487 configure-stage3-bfd: maybe-configure-stage3-intl
43488 configure-stage4-bfd: maybe-configure-stage4-intl
43489 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43490 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43491 all-bfd: maybe-all-libiberty
43493 all-stage1-bfd: maybe-all-stage1-libiberty
43494 all-stage2-bfd: maybe-all-stage2-libiberty
43495 all-stage3-bfd: maybe-all-stage3-libiberty
43496 all-stage4-bfd: maybe-all-stage4-libiberty
43497 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43498 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43499 all-bfd: maybe-all-intl
43501 all-stage1-bfd: maybe-all-stage1-intl
43502 all-stage2-bfd: maybe-all-stage2-intl
43503 all-stage3-bfd: maybe-all-stage3-intl
43504 all-stage4-bfd: maybe-all-stage4-intl
43505 all-stageprofile-bfd: maybe-all-stageprofile-intl
43506 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43507 configure-binutils: maybe-configure-intl
43509 configure-stage1-binutils: maybe-configure-stage1-intl
43510 configure-stage2-binutils: maybe-configure-stage2-intl
43511 configure-stage3-binutils: maybe-configure-stage3-intl
43512 configure-stage4-binutils: maybe-configure-stage4-intl
43513 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43514 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43515 all-binutils: maybe-all-libiberty
43517 all-stage1-binutils: maybe-all-stage1-libiberty
43518 all-stage2-binutils: maybe-all-stage2-libiberty
43519 all-stage3-binutils: maybe-all-stage3-libiberty
43520 all-stage4-binutils: maybe-all-stage4-libiberty
43521 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43522 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43523 all-binutils: maybe-all-opcodes
43525 all-stage1-binutils: maybe-all-stage1-opcodes
43526 all-stage2-binutils: maybe-all-stage2-opcodes
43527 all-stage3-binutils: maybe-all-stage3-opcodes
43528 all-stage4-binutils: maybe-all-stage4-opcodes
43529 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43530 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43531 all-binutils: maybe-all-bfd
43533 all-stage1-binutils: maybe-all-stage1-bfd
43534 all-stage2-binutils: maybe-all-stage2-bfd
43535 all-stage3-binutils: maybe-all-stage3-bfd
43536 all-stage4-binutils: maybe-all-stage4-bfd
43537 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43538 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43539 all-binutils: maybe-all-build-flex
43541 all-stage1-binutils: maybe-all-build-flex
43542 all-stage2-binutils: maybe-all-build-flex
43543 all-stage3-binutils: maybe-all-build-flex
43544 all-stage4-binutils: maybe-all-build-flex
43545 all-stageprofile-binutils: maybe-all-build-flex
43546 all-stagefeedback-binutils: maybe-all-build-flex
43547 all-prebootstrap: maybe-all-build-flex
43548 all-binutils: maybe-all-build-bison
43550 all-stage1-binutils: maybe-all-build-bison
43551 all-stage2-binutils: maybe-all-build-bison
43552 all-stage3-binutils: maybe-all-build-bison
43553 all-stage4-binutils: maybe-all-build-bison
43554 all-stageprofile-binutils: maybe-all-build-bison
43555 all-stagefeedback-binutils: maybe-all-build-bison
43556 all-prebootstrap: maybe-all-build-bison
43557 all-binutils: maybe-all-build-byacc
43559 all-stage1-binutils: maybe-all-build-byacc
43560 all-stage2-binutils: maybe-all-build-byacc
43561 all-stage3-binutils: maybe-all-build-byacc
43562 all-stage4-binutils: maybe-all-build-byacc
43563 all-stageprofile-binutils: maybe-all-build-byacc
43564 all-stagefeedback-binutils: maybe-all-build-byacc
43565 all-prebootstrap: maybe-all-build-byacc
43566 all-binutils: maybe-all-intl
43568 all-stage1-binutils: maybe-all-stage1-intl
43569 all-stage2-binutils: maybe-all-stage2-intl
43570 all-stage3-binutils: maybe-all-stage3-intl
43571 all-stage4-binutils: maybe-all-stage4-intl
43572 all-stageprofile-binutils: maybe-all-stageprofile-intl
43573 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43574 install-binutils: maybe-install-opcodes
43575 install-opcodes: maybe-install-bfd
43576 configure-gas: maybe-configure-intl
43578 configure-stage1-gas: maybe-configure-stage1-intl
43579 configure-stage2-gas: maybe-configure-stage2-intl
43580 configure-stage3-gas: maybe-configure-stage3-intl
43581 configure-stage4-gas: maybe-configure-stage4-intl
43582 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43583 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43584 all-gas: maybe-all-libiberty
43586 all-stage1-gas: maybe-all-stage1-libiberty
43587 all-stage2-gas: maybe-all-stage2-libiberty
43588 all-stage3-gas: maybe-all-stage3-libiberty
43589 all-stage4-gas: maybe-all-stage4-libiberty
43590 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43591 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43592 all-gas: maybe-all-opcodes
43594 all-stage1-gas: maybe-all-stage1-opcodes
43595 all-stage2-gas: maybe-all-stage2-opcodes
43596 all-stage3-gas: maybe-all-stage3-opcodes
43597 all-stage4-gas: maybe-all-stage4-opcodes
43598 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43599 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43600 all-gas: maybe-all-bfd
43602 all-stage1-gas: maybe-all-stage1-bfd
43603 all-stage2-gas: maybe-all-stage2-bfd
43604 all-stage3-gas: maybe-all-stage3-bfd
43605 all-stage4-gas: maybe-all-stage4-bfd
43606 all-stageprofile-gas: maybe-all-stageprofile-bfd
43607 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43608 all-gas: maybe-all-intl
43610 all-stage1-gas: maybe-all-stage1-intl
43611 all-stage2-gas: maybe-all-stage2-intl
43612 all-stage3-gas: maybe-all-stage3-intl
43613 all-stage4-gas: maybe-all-stage4-intl
43614 all-stageprofile-gas: maybe-all-stageprofile-intl
43615 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43616 configure-gprof: maybe-configure-intl
43617 all-gprof: maybe-all-libiberty
43618 all-gprof: maybe-all-bfd
43619 all-gprof: maybe-all-opcodes
43620 all-gprof: maybe-all-intl
43621 configure-ld: maybe-configure-intl
43623 configure-stage1-ld: maybe-configure-stage1-intl
43624 configure-stage2-ld: maybe-configure-stage2-intl
43625 configure-stage3-ld: maybe-configure-stage3-intl
43626 configure-stage4-ld: maybe-configure-stage4-intl
43627 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43628 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43629 all-ld: maybe-all-libiberty
43631 all-stage1-ld: maybe-all-stage1-libiberty
43632 all-stage2-ld: maybe-all-stage2-libiberty
43633 all-stage3-ld: maybe-all-stage3-libiberty
43634 all-stage4-ld: maybe-all-stage4-libiberty
43635 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43636 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43637 all-ld: maybe-all-bfd
43639 all-stage1-ld: maybe-all-stage1-bfd
43640 all-stage2-ld: maybe-all-stage2-bfd
43641 all-stage3-ld: maybe-all-stage3-bfd
43642 all-stage4-ld: maybe-all-stage4-bfd
43643 all-stageprofile-ld: maybe-all-stageprofile-bfd
43644 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43645 all-ld: maybe-all-opcodes
43647 all-stage1-ld: maybe-all-stage1-opcodes
43648 all-stage2-ld: maybe-all-stage2-opcodes
43649 all-stage3-ld: maybe-all-stage3-opcodes
43650 all-stage4-ld: maybe-all-stage4-opcodes
43651 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43652 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43653 all-ld: maybe-all-build-bison
43655 all-stage1-ld: maybe-all-build-bison
43656 all-stage2-ld: maybe-all-build-bison
43657 all-stage3-ld: maybe-all-build-bison
43658 all-stage4-ld: maybe-all-build-bison
43659 all-stageprofile-ld: maybe-all-build-bison
43660 all-stagefeedback-ld: maybe-all-build-bison
43661 all-prebootstrap: maybe-all-build-bison
43662 all-ld: maybe-all-build-byacc
43664 all-stage1-ld: maybe-all-build-byacc
43665 all-stage2-ld: maybe-all-build-byacc
43666 all-stage3-ld: maybe-all-build-byacc
43667 all-stage4-ld: maybe-all-build-byacc
43668 all-stageprofile-ld: maybe-all-build-byacc
43669 all-stagefeedback-ld: maybe-all-build-byacc
43670 all-prebootstrap: maybe-all-build-byacc
43671 all-ld: maybe-all-build-flex
43673 all-stage1-ld: maybe-all-build-flex
43674 all-stage2-ld: maybe-all-build-flex
43675 all-stage3-ld: maybe-all-build-flex
43676 all-stage4-ld: maybe-all-build-flex
43677 all-stageprofile-ld: maybe-all-build-flex
43678 all-stagefeedback-ld: maybe-all-build-flex
43679 all-prebootstrap: maybe-all-build-flex
43680 all-ld: maybe-all-intl
43682 all-stage1-ld: maybe-all-stage1-intl
43683 all-stage2-ld: maybe-all-stage2-intl
43684 all-stage3-ld: maybe-all-stage3-intl
43685 all-stage4-ld: maybe-all-stage4-intl
43686 all-stageprofile-ld: maybe-all-stageprofile-intl
43687 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43688 configure-opcodes: maybe-configure-intl
43690 configure-stage1-opcodes: maybe-configure-stage1-intl
43691 configure-stage2-opcodes: maybe-configure-stage2-intl
43692 configure-stage3-opcodes: maybe-configure-stage3-intl
43693 configure-stage4-opcodes: maybe-configure-stage4-intl
43694 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43695 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43696 all-opcodes: maybe-all-bfd
43698 all-stage1-opcodes: maybe-all-stage1-bfd
43699 all-stage2-opcodes: maybe-all-stage2-bfd
43700 all-stage3-opcodes: maybe-all-stage3-bfd
43701 all-stage4-opcodes: maybe-all-stage4-bfd
43702 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43703 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43704 all-opcodes: maybe-all-libiberty
43706 all-stage1-opcodes: maybe-all-stage1-libiberty
43707 all-stage2-opcodes: maybe-all-stage2-libiberty
43708 all-stage3-opcodes: maybe-all-stage3-libiberty
43709 all-stage4-opcodes: maybe-all-stage4-libiberty
43710 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43711 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43712 all-opcodes: maybe-all-intl
43714 all-stage1-opcodes: maybe-all-stage1-intl
43715 all-stage2-opcodes: maybe-all-stage2-intl
43716 all-stage3-opcodes: maybe-all-stage3-intl
43717 all-stage4-opcodes: maybe-all-stage4-intl
43718 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43719 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43720 all-dejagnu: maybe-all-tcl
43721 all-dejagnu: maybe-all-expect
43722 all-dejagnu: maybe-all-tk
43723 configure-expect: maybe-configure-tcl
43724 configure-expect: maybe-configure-tk
43725 all-expect: maybe-all-tcl
43726 all-expect: maybe-all-tk
43727 configure-itcl: maybe-configure-tcl
43728 configure-itcl: maybe-configure-tk
43729 all-itcl: maybe-all-tcl
43730 all-itcl: maybe-all-tk
43731 install-itcl: maybe-install-tcl
43732 configure-tk: maybe-configure-tcl
43733 all-tk: maybe-all-tcl
43734 all-sid: maybe-all-libiberty
43735 all-sid: maybe-all-bfd
43736 all-sid: maybe-all-opcodes
43737 all-sid: maybe-all-tcl
43738 all-sid: maybe-all-tk
43739 install-sid: maybe-install-tcl
43740 install-sid: maybe-install-tk
43741 configure-sim: maybe-configure-intl
43742 all-sim: maybe-all-intl
43743 all-sim: maybe-all-libiberty
43744 all-sim: maybe-all-bfd
43745 all-sim: maybe-all-opcodes
43746 all-sim: maybe-all-readline
43747 all-sim: maybe-configure-gdb
43748 all-fastjar: maybe-all-zlib
43749 all-fastjar: maybe-all-build-texinfo
43750 all-fastjar: maybe-all-libiberty
43751 all-autoconf: maybe-all-m4
43752 all-autoconf: maybe-all-build-texinfo
43753 all-automake: maybe-all-m4
43754 all-automake: maybe-all-build-texinfo
43755 all-automake: maybe-all-autoconf
43756 all-bison: maybe-all-intl
43757 all-bison: maybe-all-build-texinfo
43758 all-diff: maybe-all-intl
43759 all-diff: maybe-all-build-texinfo
43760 all-fileutils: maybe-all-intl
43761 all-fileutils: maybe-all-build-texinfo
43762 all-flex: maybe-all-build-bison
43763 all-flex: maybe-all-build-byacc
43764 all-flex: maybe-all-intl
43765 all-flex: maybe-all-m4
43766 all-flex: maybe-all-build-texinfo
43767 all-gzip: maybe-all-intl
43768 all-gzip: maybe-all-zlib
43769 all-gzip: maybe-all-build-texinfo
43770 all-hello: maybe-all-intl
43771 all-hello: maybe-all-build-texinfo
43772 all-m4: maybe-all-intl
43773 all-m4: maybe-all-build-texinfo
43774 all-make: maybe-all-intl
43775 all-make: maybe-all-build-texinfo
43776 all-patch: maybe-all-build-texinfo
43777 all-make: maybe-all-build-texinfo
43778 all-prms: maybe-all-libiberty
43779 all-recode: maybe-all-build-texinfo
43780 all-sed: maybe-all-build-texinfo
43781 all-send-pr: maybe-all-prms
43782 all-tar: maybe-all-build-texinfo
43783 all-uudecode: maybe-all-build-texinfo
43784 configure-target-boehm-gc: maybe-configure-target-qthreads
43785 configure-target-fastjar: maybe-configure-target-zlib
43786 all-target-fastjar: maybe-all-target-zlib
43787 all-target-fastjar: maybe-all-target-libiberty
43788 configure-target-libjava: maybe-configure-target-zlib
43789 configure-target-libjava: maybe-configure-target-boehm-gc
43790 configure-target-libjava: maybe-configure-target-qthreads
43791 configure-target-libjava: maybe-configure-target-libffi
43792 all-target-libjava: maybe-all-fastjar
43793 all-target-libjava: maybe-all-target-zlib
43794 all-target-libjava: maybe-all-target-boehm-gc
43795 all-target-libjava: maybe-all-target-qthreads
43796 all-target-libjava: maybe-all-target-libffi
43797 configure-target-libobjc: maybe-configure-target-boehm-gc
43798 all-target-libobjc: maybe-all-target-libiberty
43799 all-target-libobjc: maybe-all-target-boehm-gc
43800 all-target-libstdc++-v3: maybe-all-target-libiberty
43801 install-target-libssp: maybe-install-gcc
43802 install-target-libgomp: maybe-install-gcc
43803 all-target-libgloss: maybe-configure-target-newlib
43804 all-target-winsup: maybe-all-target-libiberty
43805 all-target-winsup: maybe-all-target-libtermcap
43808 # Non-toplevel bootstrap rules must depend on several packages, to be built
43809 # before gcc. Another wart that will go away, hopefully soon.
43810 @if gcc-no-bootstrap
43812 all-prebootstrap: maybe-all-bfd
43813 all-prebootstrap: maybe-all-opcodes
43814 all-prebootstrap: maybe-all-binutils
43815 all-prebootstrap: maybe-all-gas
43816 all-prebootstrap: maybe-all-intl
43817 all-prebootstrap: maybe-all-ld
43818 all-prebootstrap: maybe-all-libcpp
43819 all-prebootstrap: maybe-all-libdecnumber
43820 all-prebootstrap: maybe-all-libiberty
43821 all-prebootstrap: maybe-all-zlib
43822 @endif gcc-no-bootstrap
43824 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43825 GDB_TK = @GDB_TK@
43826 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43827 configure-gdb: $(CONFIGURE_GDB_TK)
43828 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43829 install-gdb: $(INSTALL_GDB_TK)
43831 # Serialization dependencies. Host configures don't work well in parallel to
43832 # each other, due to contention over config.cache. Target configures and
43833 # build configures are similar.
43834 @serialization_dependencies@
43836 # --------------------------------
43837 # Regenerating top level configury
43838 # --------------------------------
43840 # Rebuilding Makefile.in, using autogen.
43841 AUTOGEN = autogen
43842 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43843 cd $(srcdir) && $(AUTOGEN) Makefile.def
43845 # Rebuilding Makefile.
43846 Makefile: $(srcdir)/Makefile.in config.status
43847 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43849 config.status: configure
43850 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43852 # Rebuilding configure.
43853 AUTOCONF = autoconf
43854 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
43855 cd $(srcdir) && $(AUTOCONF)
43857 # ------------------------------
43858 # Special directives to GNU Make
43859 # ------------------------------
43861 # Don't pass command-line variables to submakes.
43862 .NOEXPORT:
43863 MAKEOVERRIDES=
43865 # end of Makefile.in